I have a large raster (42212 x 232880, unsigned integer pansharpened WV-3 image strip, saved as an ENVI .dat file) that I would like to convert to byte data with a square root stretch. When I choose "stretch data" and choose "equalize" or "square root", by percent, with output values from 0-255, I get an error: "stretch_doit: An error has occurred during processing Error: "attempt to subscript IN_HIST with LOC is out of range" The result may be invalid". If I select ok, the process ends and no output is produced. However, if I select a subset of the raster, even a fairly large one, the stretch works fine. Is ENVI not able to produce the histogram that it needs for the stretch from such a large image?
|