OpenDroneMap / FIELDimageR

FIELDimageR: A R package to analyze orthomosaic images from agricultural field trials. This package is a compilation of functions to analyze pos-mosaicking images from research fields, and allows to: crop the image; remove soil effect; build vegetation indices; rotate the image; build the plot shapefile; extract information for each plot; and evaluate stand count, canopy percentage, and plant height.
GNU General Public License v2.0
230 stars 89 forks source link

Convert FieldImageR from R to Python #34

Open baoduydinh1710 opened 2 years ago

baoduydinh1710 commented 2 years ago

Hello everyone, I'm want to convert FieldImageR from R to python, you can help me? Thanks

sumodnandanwar commented 2 years ago

Hi, Have you progressed further with this conversion? I'm interested in it as well.

Small-Samori commented 1 year ago

Hello,

I tried to do the conversion from R to python for computing the vegetation indexes. I extracted the individual color channels (Red, Green, and Blue) from an image array using their corresponding index (0, 1, or 2). Then I implemented the equations of the vegetation indices. However, when I plot the resulting array/matrix, the visualizations I get do not correspond with the ones I generated in R using the fieldImageR library. Any help with implementing the vegetation indexes in python?

Thanks for your time and response.

mismart-ai commented 1 year ago

Hello,

I tried to do the conversion from R to python for computing the vegetation indexes. I extracted the individual color channels (Red, Green, and Blue) from an image array using their corresponding index (0, 1, or 2). Then I implemented the equations of the vegetation indices. However, when I plot the resulting array/matrix, the visualizations I get do not correspond with the ones I generated in R using the fieldImageR library. Any help with implementing the vegetation indexes in python?

Thanks for your time and response.

Hello Small-Samori, you can using cmap of matplotlib for visualize

dzar-aker commented 1 year ago

Might want to look here: https://appsilon.com/use-r-and-python-together/