Flexible Masks in EasyImage
Source image (left) and mask variable (right)
Simple steps to use flexible masks in Easyimage
- Call the functions from EasyImage that take an input mask as an argument. For instance, one can evaluate the average value of the pixels in the white layer and after in the black layer.
- Display the results.
Resulting image
EasyImage Functions that support flexible masks
- EImageEncoder::.Encode has a flexible mask argument for BW1, BW8, BW16, and C24 source images.
- AutoThreshold.
- Histogram (function HistogramThreshold has no overload with mask argument).
- RmsNoise, SignalNoiseRatio.
- Overlay (no overload with mask argument for BW8 source images).
- ProjectOnAColumn, ProjectOnARow (Vector projection).
- ImageToLineSegment, ImageToPath (Vector profile).