Home »
Public Forums »
archive »
Re: changing the pixel values in raster
Re: changing the pixel values in raster [message #66622] |
Mon, 01 June 2009 13:11 |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
copper wrote:
> Hi Everyone,
> I am trying to change the pixel value in a raster to assign new pixel
> values in ENVI. I understand that when importing a raster with grey
> scale values into ENVI they correspond to an integer 0-255. But is
> there a way to have the pixel value range changed to say 0-17? Pleae
> let me know. Thanks!
> Alexandra
It is fairly easy to program it. Read the image, scale the values, save
the image and update the header file.
Now, if you just have one image, you can do it within Envi. Use the math
band.. newMap = oldMap / 255 * 17
Jean
|
|
|
Current Time: Wed Oct 08 17:06:37 PDT 2025
Total time taken to generate the page: 0.00570 seconds