Herror ::get_obj_class (
    Hobject Object,
    char *Class
)
Herror ::get_obj_class (
    Hobject Object,
    HTuple *Class
)

Name of the class of an image object.

::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


Parameters

Object (input_object)
object(-array) -> Hobject: HObject(Array)
Image objects to be examined.

Class (output_control)
string(-array) -> (HTuple.) char *
Name of class.


Result

If the parameter values are correct the operator ::get_obj_class returns the value H_MSG_TRUE. Otherwise an exception is raised.


Possible Successors

::disp_image, ::disp_region, ::disp_xld


See also

::get_channel_info, ::count_relation


Module

Basic operators



Copyright © 1996-2002 MVTec Software GmbH