3.5   Name Conventions for Procedures

To ease the interpretation of program code, HALCON introduces some conventions for procedure names. The most important ones are summarized in the following section.

The names of action procedures typically begin with “IP” (image processing procedure), “IO” (input/output procedure), or “DB” (data base procedure). The rest of the name describes the task performed by the procedure (in English language, beginning with a capital letter). In case of filters an additional token might be inserted between these two parts of the name encoding the pixel type(s) of images to be processed, e.g., “B” (HBYTE), “I4” (INT4) or “F” (float).

Examples:
       IPBLowpas
       IPI4Threshold
       IODispRegion
       DBGetTuple

Basic routines performing a small task that might be used by many other routines should start with “H” (for Help). The leading “H” should be followed by a string encoding the data the routine works on, e.g., “RL” for an auxiliary routine processing region data, or “XLD” for routines working on XLDs.

Examples:
       HRLUnion
       HXLDContLen
       HXLDContRegress

Names of supply procedures start with “C” (this stands for Core). The rest is determined by the name of the underlying action procedure (if there is only one). If there are several action procedures with names differing only by the symbols for different pixel types, the pixel type is left out in the name of the supply procedure.

Examples:
       CIPLowpas
       CIPThreshold
       CIOOpenWindow