Applies a 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 Sobel( 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: ImageFiltered image
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
Remarks
See Also