comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » reclass in ENVI or IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reclass in ENVI or IDL [message #30620 is a reply to message #30543] Mon, 06 May 2002 04:23 Go to previous message
cjengo is currently offline  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
[Message index]
 
Read Message
Read Message
Previous Topic: Re: weighted least squares fit with error in both y and x
Next Topic: Mac OS X

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:17:34 PDT 2025

Total time taken to generate the page: 1.04214 seconds