I am using a 8 bands multispectral image coming from Cessna acquisition. Google drive link here:
https://drive.google.com/file/d/1J7QxwtlZkWADgbbjMCGHu_T0oM42tmrO/view?usp=sharing
Ask me for access.
I am importing as an hyperstack bands 2, 3 and 4 (Green, Red and NIR), turning it into an RGB image (false color) so I can use photo monitoring tool to create NDVI from RED and NIR bands. I can do it manually. But my goal is to use the macro to do it.
When I record I get this output:
run(“Bio-Formats Importer”,“open=”+thermal_path +" color_mode=Default rois_import=[ROI manager] specify_range view=[Hyperstack] stack_order=Default c_begin=2 c_end=4 c_step=1");
run(“Enhance Contrast”, “saturated=0.35”);
rename(“temp_1”);
run(“Stack to RGB”);
rename(“for_NDVI”);
run(“Single image index processing from displayed image”, " select=[NDVI: (NIR-Vis)/(NIR+Vis)] display minimum=-0.50 maximum=0.80 saturation=2 channel=green channel_0=blue select_0=NDVI_VGYRM.lut");
But when running the macro I get a java error message. Exception.txt (2.0 KB)
Anyone has any suggestion on making the last step of this macro work.
Thanks