5.1   Basic Access to Iconic Input Objects

Names

    HGetObj, HGetComp, HGetRL, HGetImage, HGetXLD

Synopsis

    #include "Halcon.h"

    HGetObj(   Hproc_handle  proc_handle,
               int           par_num,
               INT4_8        obj_num
               Hkey          *obj_key)

    HGetComp(  Hproc_handle  proc_handle,
               Hkey          obj_key,
               int           comp
               Hkey          *comp_key)

    HGetRL(    Hproc_handle  proc_handle,
               Hkey          region_key,
               Hrlregion     *region)

    HGetImage( Hproc_handle  proc_handle,
               Hkey          image_key,
               Himage        *image)

    HGetXLD(   Hproc_handle  proc_handle,
               Hkey          obj_key,
               int          xld_type,
               Hpoly|Hcont   **xld)

Figure 5.1: Basic routines for accessing iconic input objects.

This section introduces some basic routines for accessing iconic objects (regions, gray value channels, XLDs), see figure 5.1. They form a basic interface to the HALCON database of iconic objects. Figure 5.2 illustrates how they are used to read image and region data from input iconic parameters.

Figure 5.2: Direct access to input image objects.