Click or drag to resize
Ranorex

ImagingProcessingDetectClickRegion Method

Tries to find a region in the image containing useful information by iterative inflation of the start rectangle. The algorithm stops if no more information is gained through inflation.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static Bitmap DetectClickRegion(
	Bitmap input,
	Rectangle startRect,
	out Rectangle result
)

Parameters

input
Type: System.DrawingBitmap
The input image.
startRect
Type: System.DrawingRectangle
The start region.
result
Type: System.DrawingRectangle
The resulting region.

Return Value

Type: Bitmap
The resulting detected region. Returns a empty region if the information content in the region is too low.
See Also