I am trying to use ENVI modeler to speed up my raster stretch process for many images. However, one aspect that slows me down is that I would like to perform a square root stretch in envi modeler. To do this I need to first calculate statistics for each file, and add in the min and max values as a vector for each band (e.g. [12,74,160,619,42,138,1293]). Is there a way to speed this up by specifying that I just want the module to use the minimum and maximum values for each band (e.g. [min(band1), min(band2),.....]? I don't have access to IDL, so the modeler is my only option for automation. Similarly, I have a file that has a nodata value of 0, but when I calculate band statistics I get minimum values of 0, shouldn't those be ignored in calculating the statistics? I am using ENVI 5.6, Windows 10.
|