Masking Constructor#
Definition#
Namespace: P1.ImageSdk
Creates a new instance of the Masking class from a mask file. The mask file must use the format defined by the SDK. You can use GainMaskGenerator to generate a compatible mask file from a reference image.
public Masking (String path)
Parameters:
path |
The file path to the gain mask file. |
IOException |
Thrown if the file is not exist. |
Thrown if the file format is invalid or unreadable. |