 | 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
Syntaxpublic static Bitmap DetectClickRegion(
Bitmap input,
Rectangle startRect,
out Rectangle result
)
Public Shared Function DetectClickRegion (
input As Bitmap,
startRect As Rectangle,
<OutAttribute> ByRef result As Rectangle
) As Bitmap
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:
BitmapThe resulting detected region. Returns a empty region if the information content in the region is too low.
See Also