| HALCON Reference Manual / Object / Information | Operators |
count_obj — Number of objects in a tuple.
count_obj(Objects : : : Number)
The operator count_obj determines for the object parameter Objects the number of objects it contains. In this connection it should be noted that object is not the same as connection component (see connection). For example, the number of objects of a region not consisting of three connected parts is 1.
| Objects (input_object) | object-array → object |
| Objects to be examined. | |
| Number (output_control) | integer → (integer) |
| Number of objects in the tuple Objects. | |
Runtime complexity: O(|Objects|).
count_obj returns the value 2 (H_MSG_TRUE).
count_obj is reentrant and processed without parallelization.
copy_obj, obj_to_integer, connection, set_system
Foundation
| HALCON Reference Manual / Object / Information | Operators |
| Version 9.0.2 | Copyright © 1996-2010 MVTec Software GmbH |