FineMatching

Fine matching image difference

int FineMatching(
        const IMAGE     *srcImage,
        const BYTE      *model,
        const int       normalize,
        const int       search,
        const int       binaryThres,
        IMAGE           *destImage
)

Parameters
*image
Image data structure address
*model
Model data storage space address
normalize
Density normalization
0: OFF (default)
1: ON
search
Perturbation
0: OFF (default)
1: ON
binaryThres
Difference (0 to D_MAX: default is 50)
*destImage
Image data structure address

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

Description
Creates a difference image for the fine matching.
The upper limit of the range (D_MAX) of the difference is within one of the following ranges depending on the image type.
Color image: 0 to 442
Monochrome image: 0 to 255
For the fine matching image difference, the difference image is created for the area registered as a model, and nothing is done for the outside of the area. To fill the outside of the area black, you need to clear it in advance.

Notes