Regions Of Interest (ROI)#
This section describes how to manipulate Regions Of Interest (ROIs) for images in DataLab.
Screenshot of the âROIâ menu.#
The âROIâ menu allows you to manage Regions Of Interest (ROIs) associated with the current image.
See also
For more information about image metadata, see the Manipulate metadata and annotations section.
The Regions Of Interest (ROI) are image areas that are defined by the user to perform specific operations, processing, or analysis on them.
ROI are taken into account almost in all computing features in DataLab:
The âOperationsâ menu features are done only on the ROI if one is defined (except if the operation changes the data shape - like the resize operation - or the pixel size - like the binning operation).
The âProcessingâ menu actions are performed only on the ROI if one is defined (except if the destination signal data type is different from the sourceâs, like in the Fourier analysis features or like the thresholding operations).
The âAnalysisâ menu actions are done only on the ROI if one is defined.
Note
ROI are stored as metadata, and thus attached to image.
The âROIâ menu allows you to:
âEdit graphicallyâ
: open a dialog box to manage ROI associated with the selected image (add, remove, move, resize, etc.). The ROI definition dialog is exactly the same as ROI extraction (see below).
An image with an ROI.#
âEdit numericallyâ: open a dialog box to edit the parameters of the selected ROIs numerically (i.e. using a simple form). This allows you to define or modify ROIs based on numerical values.
âCreate ROI gridâ
: open a dialog box to create a grid of ROIs on the selected image. This allows you to define multiple ROIs distributed evenly across the image.
âExtractâ
: extract the defined ROI from the selected images. This will create a new image for each ROI (or a single image, if the âExtract all ROIs into a single imageâ option is selected in the dialog), with the same metadata as the original image, but with the data corresponding to the ROI only. The new images will be added to the current workspace.
âCopyâ
: copy the defined ROI from the selected images to the clipboard. This allows you to paste the ROI into another image or use it in other operations.
âPasteâ
: paste the copied ROI from the clipboard to the selected images. This will add the ROI to the images, allowing you to define or modify ROIs based on previously copied ones.
âImportâ
: import ROIs from a file. This allows you to load previously saved ROIs into the current image.
âExportâ
: export the defined ROIs to a file. This allows you to save the ROIs for later use or to share them with others.
âRemove allâ
: remove all defined ROI for the selected images.
ROI extraction dialog: the ROI is defined by moving the position and adjusting the size of a rectangle shape.#