I'm trying to read image data into a routine. I'm doing tile processing on these images, so I've been using ENVI_GET_DATA to load each tile. To do this I have to loop through every band of the image to build one tile, which is of dimensions [tileSize, tileSize, numBands]. As a result, my code is very slow.
If anyone knows of code that can read in image data what is basically a spatial image subset (not a single band or slice), I would be very grateful for information. Or, if someone knows where ENVI code is stored I could take a look at ENVI_GET_DATA and make a new editied program with the required changes.
|