X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Nov 2013 11:12 AM by  anon
ROI Region Intersect in IDL/ENVI API
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
07 Nov 2013 11:12 AM
    Greetings, I have a multi-band image, that I would like to mask based on criteria from each band of the image. I use the ROI_THRESH_DOIT to create the ROI for each band separately. Now I would like to intersect the regions for all the bands of the images to create the mask. How can I do so programmatically?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    11 Nov 2013 05:43 AM
    There is no routine to do this in ENVI. You could create an image of the same dimensions as your multiband file and then set the pixel values to 0 or 1 using a series of WHERE statements.
    You are not authorized to post a reply.