FilterScharr Method

CVB.Net Documentation
Applies a Scharr edge filter to the input image.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image Scharr(
	Image img,
	FilterOrientation orientation
)

Parameters

img
Type: Stemmer.CvbImage
Image to filter
orientation
Type: Stemmer.Cvb.FoundationFilterOrientation
Orientation of the filter

Return Value

Type: Image
filtered image
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed
Remarks

The Scharr filter's output, in case of an 8 bit monochrome input image, will be scaled to the range 0...255, with 128 corresponding to a filter result of zero.
See Also

Reference