FIELDimageR icon indicating copy to clipboard operation
FIELDimageR copied to clipboard

Convert FieldImageR from R to Python

Open baoduydinh1710 opened this issue 4 years ago • 4 comments

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

baoduydinh1710 avatar Mar 29 '22 07:03 baoduydinh1710

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

sumodnandanwar avatar Jul 11 '22 10:07 sumodnandanwar

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.

Small-Samori avatar Sep 06 '22 15:09 Small-Samori

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

mismart-ai avatar Sep 07 '22 01:09 mismart-ai

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

dzar-aker avatar Oct 03 '22 21:10 dzar-aker