X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Oct 2012 07:29 AM by  anon
Cutting out ROI's
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
03 Oct 2012 07:29 AM
    I have an NDVI image and want to cut out a RIO's, ive tried spatial subset via ROI but that just cuts out a square region around the RIO but it like the image to be cut completely to the irregular shape of the Roi. Sure there is a simple solution iv'e missed, Thanks.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    03 Oct 2012 07:37 AM
    If your image is not a perfect rectangle, there is always additional background pixels when subsetting via an ROI. Images must always be rectangles with a specified number of samples and lines while ROIs can be any shape. So ENVI makes the smallest rectangle around your ROI boundary. What you can do is use the 'mask pixels outside of ROI' option from the Subset Data via ROIs tool, and set the background value you want to use for those areas.
    You are not authorized to post a reply.