Convert FieldImageR from R to Python
baoduydinh1710 opened this issue · 4 comments
Hello everyone, I'm want to convert FieldImageR from R to python, you can help me?
Thanks
Hi, Have you progressed further with this conversion? I'm interested in it as well.
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,
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
Might want to look here: https://appsilon.com/use-r-and-python-together/