reclass in ENVI or IDL [message #30543] |
Fri, 03 May 2002 08:17  |
jdvona
Messages: 6 Registered: April 2002
|
Junior Member |
|
|
Hi,
Forgive the second posting as the first appeared to have been lost. I
need to reclass a single band scene to a binary image to use as a mask
on a Landsat TM scene. I'm not seeing widgets in ENVI that enable
user-defined reclassification of pixels; however, it appears that
using Band Math widget along with a custom function that I could
accomplish the task.
The reclass function requires very simple decision criteria. For
every pixel in the image < .15 assign it a 1, else it receives a 0.
Any suggestions or snippets would be helpful to this pilgrim in the
IDL world.
Cheers,
John
|
|
|
Re: reclass in ENVI or IDL [message #30620 is a reply to message #30543] |
Mon, 06 May 2002 04:23  |
cjengo
Messages: 28 Registered: June 1999
|
Junior Member |
|
|
jdvona@yahoo.com (John) wrote in message news:<844e4579.0205030717.50d4acd5@posting.google.com>...
> Hi,
> Forgive the second posting as the first appeared to have been lost. I
> need to reclass a single band scene to a binary image to use as a mask
> on a Landsat TM scene. I'm not seeing widgets in ENVI that enable
> user-defined reclassification of pixels; however, it appears that
> using Band Math widget along with a custom function that I could
> accomplish the task.
>
> The reclass function requires very simple decision criteria. For
> every pixel in the image < .15 assign it a 1, else it receives a 0.
> Any suggestions or snippets would be helpful to this pilgrim in the
> IDL world.
> Cheers,
>
> John
You can do this and much more with the masking tool (Basic Tools >
Masking > Build Mask).
Chris
|
|
|