Perform an open operation with a selectable filter mask.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static Image Open( Image img, MorphologyMask maskType, Size2D maskSize, Point2D maskOffset )
Parameters
- img
- Type: Stemmer.CvbImage
Image on which the operation is to be executed. - maskType
- Type: Stemmer.Cvb.FoundationMorphologyMask
Type of erosion mask to be used - maskSize
- Type: Stemmer.CvbSize2D
Size of the erosion mask - maskOffset
- Type: Stemmer.CvbPoint2D
Offset of the mask reference point relative to the top left pixel of the mask; must lie within the defined maskSize
Return Value
Type: ImageThe filtered image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
See Also