get_obj_class๐
Short description๐
get_obj_class โ Name of the class of an image object.
Signature๐
get_obj_class( object Object, out string Class )
Description๐
get_obj_class returns
the name of the corresponding class to each object.
The following classes are possible:
-
โimageโ Object with region (definition domain) and at least one channel.
-
โregionโ Object with a region without gray values.
-
โxld_contโ XLD object as contour
-
โxld_polyโ XLD object as polygon
-
โxld_parallelโ XLD object with parallel polygons
For a short description of the iconic objects that are available in HALCON see the introduction of chapter Object.
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๐
Object (input_object) object(-array) โ object
Image objects to be examined.
Class (output_control) string(-array) โ (string)
Name of class.
Result๐
If the parameter values are correct the operator get_obj_class
returns the value 2 (H_MSG_TRUE).
Otherwise an exception is raised.
Combinations with other operators๐
Module๐
Foundation