MorphologyErode Method (Image, Image)

CVB.Net Documentation
Performs an erosion 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

public static Image Erode(
	Image img,
	Image mask
)

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)

Return Value

Type: Image
The filtered image.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img or mask is null.
ObjectDisposedExceptionIf the input img or mask have been disposed.
See Also

Reference