count_obj — 元组中的对象数。
算子 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 one region consisting of
three parts that are not connected is 1.
For a short description of the iconic objects that are available in HALCON see the introduction of chapter 对象。
Objects (输入对象) object-array → object
Objects to be examined.
Number (输出控制) integer → (integer)
Number of objects in the tuple Objects。
Runtime complexity: O(|Objects|).
count_obj 返回值 2 ( H_MSG_TRUE )。
copy_obj,
obj_to_integer,
connection,
set_system
基础