| Table of Contents / Regions / Tests | Operators |
test_region_point — Test if the region consists of the given point.
test_region_point tests if at least one input region of Regions consists of the test point (Row,Column). Is this the case, IsInside is set to TRUE, else to FALSE
In case of empty input (= no region) and set_system('no_object_result','true') IsInside is set to FALSE (no region contains the pixel).
The test pixel is not contained in an empty region (no pixel of the region corresponds to the pixel). If all regions are empty IsInside is set to FALSE , i.e., an empty region behaves as if it did not exist.
Region(s) to be examined.
Line index of the test pixel.
Default value: 100
Typical range of values: 0 ≤ Row ≤ 512 (lin)
Minimum increment: 1
Recommended increment: 1
Column index of the test pixel.
Default value: 100
Typical range of values: 0 ≤ Column ≤ 512 (lin)
Minimum increment: 1
Recommended increment: 1
boolean result value.
If F is the area of one region and N is the number of regions, the runtime complexity is O(ln(sqrt(F)) * N).
The operator test_region_point returns the value 2 (H_MSG_TRUE) if the parameters are correct. The behavior in case of empty input (no input regions available) is set via the operator set_system('no_object_result',<Result>). If necessary an exception is raised.
threshold, regiongrowing, connection
union1, intersection, area_center
Foundation
| Table of Contents / Regions / Tests | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |