X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 29 May 2012 02:07 PM by  anon
Masking for n-D Visualizer Input
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
29 May 2012 02:07 PM
    Hello, I created a mask for an image from an ROI of the unwanted pixels. I would now like to view all of the pixels in the image, except for the masked ones, in the n-D visualizer. This seems like it should be pretty straightforward but I haven't been able to figure it out. I applied the mask I created to the original file and have been trying to use this new file as the input data for n-D, but it still shows me pixels from the entire image, including the unwanted ones. Can anyone advise? Thanks!

    Deleted User



    New Member


    Posts:
    New Member


    --
    29 May 2012 03:05 PM
    Yes, the n-D visualizer does not allow you to specify a mask for your input data. If you apply a mask to your data before you import it into the tool, then you've just changed the pixel values of the pixels under your mask. Those new values will still be part of the image, though. ENVI will not know that they are meant to be masked out. So, you'll see those pixel values in the n-D Visualizer. The NDV works with a region of interest (ROI) from the input file that you specify. So, it sounds like what you will want to do is create a region of interest that includes all of the pixel in your image, except the ones you were trying to mask out. If you need help figuring out how to create such an ROI, can you please let me know what logic you used to create your mask? You would probably need to use similar logic in ENVI's ROI Tool to define your ROI. - Peg

    Deleted User



    New Member


    Posts:
    New Member


    --
    30 May 2012 09:26 AM
    Thanks for the reply! The procedure that I followed to create the mask: I imported the full image into the n-D visualizer, selected endmembers of the unwanted materials and then merged these into one class/ROI. I then used this ROI to create the mask. When I created the mask, I chose Selected Areas Off and Selected Attributes [Logical OR]. I haven't been able to figure out how to create another ROI that includes all the pixels except what I want to mask, so any help would be greatly appreciated.
    You are not authorized to post a reply.