Image Processing Toolbox    

Specifying a Region of Interest

A region of interest is a portion of an image that you want to filter or perform some other operation on. You define a region of interest by creating a binary mask, which is a binary image with the same size as the image you want to process. The mask contains 1's for all pixels that are part of the region of interest, and 0's everywhere else.

The following subsections discuss methods for creating binary masks:

For an interactive demonstration of region-based processing, try running roidemo.


  Terminology Selecting a Polygon