integer_to_objπ
Short descriptionπ
integer_to_obj β Convert an βinteger numberβ into an iconic object.
Signatureπ
integer_to_obj( out object Objects, pointer SurrogateTuple )
Descriptionπ
integer_to_obj is the inverse operator to
obj_to_integer. All surrogates of objects passed in
SurrogateTuple are stored as objects. In contrast to
obj_to_integer, the objects are duplicated.
integer_to_obj is intended especially for use in
HALCON/C, because iconic objects and control parameters are treated
differently in C. Please note that if you pass the value 0 in
SurrogateTuple, the program will crash because 0 is no
valid pointer.
For a short description of the iconic objects that are available in HALCON see the introduction of chapter Object.
Attentionπ
The objects are duplicated in the database.
Execution informationπ
Execution information
-
Supports objects on compute devices.
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
Objects (output_object) object(-array) β object
Created objects.
SurrogateTuple (input_control) pointer(-array) β (integer)
Tuple of object surrogates.
Resultπ
integer_to_obj returns 2 (H_MSG_TRUE) if all parameters are
correct, i.e., if they are valid object keys. If the input is empty
the behavior can be set via
set_system(::'no_object_result',<Result>:).
If necessary, an exception is raised.
Combinations with other operatorsπ
Moduleπ
Foundation