Click or drag to resize
Accord.NET (logo)

ApplyMaskProcessFilter Method

Process the filter on the specified image.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
protected override void ProcessFilter(
	UnmanagedImage image,
	Rectangle rect
)
Request Example View Source

Parameters

image
Type: Accord.ImagingUnmanagedImage
Source image data.
rect
Type: System.DrawingRectangle
Image rectangle for processing by the filter.
Exceptions
ExceptionCondition
NullReferenceExceptionNone of the possible mask properties were set. Need to provide mask before applying the filter.
ArgumentExceptionInvalid size of provided mask. Its size must be the same as the size of the image to mask.
See Also