X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Feb 2015 05:23 PM by  anon
Reclassify Cloudmask in ENVI
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
23 Feb 2015 05:23 PM
    All, What would be the easiest way to reclassify a slough of single band cloudmasks I have downloaded from the USGS High Level Data Product download? Pixels are currently assigned as follows: 0 clear 1 water 2 shadow 3 snow 4 cloud I'd like to designate "Clear" as "1" and everything else as "0". Any thoughts? I was considering Band Math but couldn't figure it out. Thanks in advance for any help.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    24 Feb 2015 10:16 AM
    You could use a logical statement in Band Math that will basically make a binary mask: b1 eq 0 which will return 'true' for values of 0 and 'false' for everything else.
    You are not authorized to post a reply.