| Table of Contents / Regions / Access | Operators |
get_region_points — Access the pixels of a region.
The operator get_region_points returns the region data in the form of coordinate lists. The coordinates are sorted in the following order:
(r1,c1) <= (r2,c2) := r1 < r2 or r1 = r2 and c1 <= c2
get_region_points returns the coordinates in the form of tuples. An empty region is passed as empty tuple.
Only one region may be passed.
This region is accessed.
Line numbers of the pixels in the region
Column numbers of the pixels in the region.
Number of elements: Columns == Rows
The operator get_region_points normally returns the value 2 (H_MSG_TRUE). If more than one connection component is passed an exception is raised. The behavior in case of empty input (no input regions available) is set via the operator set_system('no_object_result',<Result>).
sobel_amp, threshold, connection
Foundation
| Table of Contents / Regions / Access | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |