FineMatchModel

Registers fine matching model

int FineMatchModel(
        const IMAGE             *image,
        const FIG_HEADER        *figure,
        const int               edgeMode,
        const int               edgeLevel,
        const int               edgeThresh,
        BYTE                    *model
)

Parameters
*image
Image data structure address
*figure
Figure data structure address
edgeMode
Boundary inspection
0: OFF (default)
1: ON
edgeLevel
Boundary level (0 to 9: default is 3)
edgeThresh
Edge threshold value (-1 to 255: default is -1)
*model
Model data storage space address

Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion

Description
The processing item must allocate the memory space for the model data before the model is registered.
The size of the model data storage space can be obtained by "refFineMatchModelSize Gets the size of a fine matching model" in this library.

Notes