Parameters
- page
- The page used to construct the ROI mask. Binary (1-bit) pages are not supported.
- maskColor
- Mask color.
- invertSelection
- Set to true to build mask according to area not filled with MaskColor.
page
that is filled with maskColor
. If invertSelection
is true, the mask is created for the area that is not filled with maskColor
.
The ImGearPixel passed as maskColor
should correspond to page's number of channels and bit depth.
This constructor can be used to create an ROI Mask based on the DICOM Pixel Padding Value.