Hi,
I want to export an image stretch from an image to other images.
Suppose you have to tiling a large image, and save each tile as a separate file. Then, in ENVI 5.0 each tile is viewed as a single layer. So when apply a defalut stretch (such as a linear 2%) the statistics are calculated on the single tile, resulting in a different stretch for each tile. I'd like to apply the same stretch of the whole image (before tiling) to each generated tile.
How can I do it with IDL 8.2?
I tried to use envi_stats_doit and stretch_doit but it seems they don't work as I would.
|