| ImageGearJava Project > com.accusoft.imagegear.core Package > ImGearROIMask Class > ImGearROIMask Constructor : ImGearROIMask Constructor(ImGearPage,ImGearPixel,boolean) |
Creates an instance of ImGearROIMask object corresponding to area in the 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.
public ImGearROIMask( ImGearPage page, ImGearPixel maskColor, boolean invertSelection ) |
Creates an instance of ImGearROIMask object corresponding to area in the 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.