All images are stored as grids in ENVI with a certain number of samples and lines. ROIs can be defined areas of any shape because they are created with polygons or other means. So lets say I have a diagonal, irregular shaped ROI that crosses my image area and I want to use to subset an image. The output still must a rectangular image but it will be the smallest bounding box you can make around the ROI. So, you could have areas outside of the ROI included in the output. The masking allows you to set these areas to a value you specify, such as 0 or -9999. ENVI doesn't really have a concept of 'No data' in an image, like you can have in ArcGIS. But if you saved that image from Arc to an image format such as TIFF, it would also be rectangular with 'background' set to some value.
|