X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Dec 2013 03:35 AM by  anon
masking
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:16
New Member


--
02 Dec 2013 03:35 AM
    I'm using version 5.0 and would like to mask out some areas of cloud cover and ocean. I think I need to build a mask and then apply it to mask these pixels out of a set of bands worth of data (ASTER bands 1-3). I tried creating a vector, saving it as an ROI and then trying to build a mask but I didn't have any "selected attributes for mask". Thank you for any input

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Dec 2013 07:48 AM
    I haven't done a lot with ENVI 5 as several tools I use didn't make it into the conversion from Classic to 5, but I tried the masking process as a test and was able to complete it. But there were a couple of spots where the process was not intuitive. Just to confirm, you created the vector (polygon?) file in 5, converted it to a ROI using the "Convert Vector to ROI" tool, and then also did a "Save as" on the roi layer to create an actual .roi file? The Convert tool does not seem to actually create a .roi file which is needed if you are going to use the .roi to create the mask. You then need to do the Raster Management > Masking > Build Mask tool. Under Options > Import ROI select the .roi file you created. Also make sure you select whether you want the "Selected Areas" on or off. Name the mask file whatever you would like and create the mask. You then need to apply the mask to the image/bands that you want using the Raster Management > Masking > Apply Mask tool. If you have the bands open in 5 it should give you a dialog box where you can select the image/bands under the "Select Input File", and then you need to be sure you also use the "Select Mask Band" button near the bottom of this dialog box to designate your mask you just created. Name the file and you should be set. The easiest things to miss are the actually saving as a .roi file (as you would assume the tool would do that for you), importing the .roi, and the "Select Mask Band" button steps. If you did all of this and it still doesn't work can you give me/us a bit more detail on the steps you are doing exactly so I can try to figure out where it's going off? Good Luck.
    You are not authorized to post a reply.