Perform an open operation with a custom filter mask.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
Parameters
- img
- Type: Stemmer.CvbImage
Image on which the operation is to be executed. - mask
- Type: Stemmer.CvbImage
Custom filter mask to use.
The custom filter mask effective is a CVB image of up to 256x256 pixels where irrelevant pixels have been set to black and pixels that are part of the filter mask have been set to white (255)
- maskOffset
- Type: Stemmer.CvbPoint2D
Offset of the mask reference point relative to the top left pixel of the mask; must lie within the mask
Return Value
Type: ImageThe filtered image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img or mask is null |
ObjectDisposedException | If the input img or mask have been disposed |
See Also