FilterSobel2nd Method

CVB.Net Documentation
Applies a 2nd order Sobel 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 Sobel2nd(
	Image img,
	FilterOrientation orientation,
	FixedFilterSize maskSize
)

Parameters

img
Type: Stemmer.CvbImage
Image to filter
orientation
Type: Stemmer.Cvb.FoundationFilterOrientation
Orientation of the filter
maskSize
Type: Stemmer.Cvb.FoundationFixedFilterSize
Mask size (3x3 or 5x5)

Return Value

Type: Image
Filtered image
Exceptions

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

The Sobel 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