5.2   Additional Routines for Accessing Input Image Objects

Names

    HGetDRL, HGetFDRL, HGetURL, HGetDImage, HGetObjNum

Synopsis

    #include "Halcon.h"

    HGetDRL(   Hproc_handle     proc_handle,
               Hkey             obj_key,
               Hrlregion        *region)

    HGetFDRL(  Hproc_handle     proc_handle,
               Hkey             obj_key,
               Hrlregion        **region)

    HGetURL(   Hproc_handle     proc_handle,
               int              par_num,
               Hrlregion        *region)

    HGetDImage(Hproc_handle     proc_handle,
               Hkey             obj_key,
               int              channel,
               Himage           *image)

    HGetObjNum(Hproc_handle     proc_handle,
               int              par_num,
               INT4_8           *num)

Figure 5.9: Additional routines for accessing input image objects.

This section introduces some routines that ease the programming of supply procedures in many applications, see figure 5.9. Basically they are combinations of the routines described in the previous section. These additional routines only require the database keys of the input iconic objects that can be extracted by using the routines HGetObj (see section “HGetObj”) or HAllObj (see section “HAllObj”). For HGetURL, even this step can be omitted.