RanorexRanorex Documentation
DetectEdgesSobel Method (input)
NamespacesRanorexImaging..::.ProcessingDetectEdgesSobel(Bitmap)
Converts the input images to a grayscale image that contains object edges from the input image using the Sobel filtering algorithm.
Declaration Syntax
C#Visual BasicVisual C++
public static Bitmap DetectEdgesSobel(
	Bitmap input
)
Public Shared Function DetectEdgesSobel ( _
	input As Bitmap _
) As Bitmap
public:
static Bitmap^ DetectEdgesSobel(
	Bitmap^ input
)
Parameters
input (Bitmap)
An image.
Return Value
A grayscale image containing object edges.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf input is null.
ArgumentExceptionIf 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).

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)