 | ImagingProcessingDetectEdgesSobel Method |
Converts the input images to a grayscale image that contains object edges from
the input image using the Sobel filtering algorithm.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static Bitmap DetectEdgesSobel(
Bitmap input
)
Public Shared Function DetectEdgesSobel (
input As Bitmap
) As Bitmap
Parameters
- input
- Type: System.DrawingBitmap
An image.
Return Value
Type:
BitmapA grayscale image containing object edges.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If input is null. |
| ArgumentException | If the input image is not
a grayscale image and cannot
be converted to Format24bppRgb pixel format (i.e. if
it is no color image in a 32 bit format). |
See Also