Regions of Interest
- Updated2025-11-25
- 3 minute(s) read
A region of interest (ROI) is an area of an image in which you want to perform your image analysis. When to Use
Use ROIs to focus your processing and analysis on part of an image. You can define an ROI using standard contours, such as an oval or rectangle, or freehand contours. You also can perform any of the following options:
- Construct an ROI in an image display environment.
- Associate an ROI with an image display environment.
- Extract an ROI associated with an image display environment.
- Erase the current ROI from an image display environment.
- Transform an ROI into an image mask.
- Transform an image mask into an ROI.
Concepts
An ROI describes a region or multiple regions of an image in which you want to focus your processing and analysis. These regions are defined by specific contours. Vision supports the following contour types.
| Icon | Contour Name |
|---|---|
|
Point |
|
Line |
|
Rectangle |
|
Oval |
|
Polygon |
|
Freehand Region |
|
Annulus |
|
Broken Line |
|
Freehand Line |
|
Rotated Rectangle |
You can define an ROI interactively, programmatically, or with an image mask. Define an ROI interactively by using the tools from the tools palette to draw an ROI on a displayed image. For more information about defining ROIs programmatically or with an image mask, refer to your Vision user manual.