EdgePitchModel

Registers edge pitch model

int EdgePitchModel(
        const IMAGE             *image,
        const FIG_HEADER        *figure,
        BYTE                    *model
)

Parameters
*image
Image data structure address
*figure
Figure data structure address
*model
Model data

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

Description
Gets the model data of the edge pitch measurement.
When you call this library, you need to allocate the model data storage space in advance.
The required size of the model data storage space need to be calculated using the Edge pitch model size retrieval (see "refEdgePitchModelSize Edge pitch model size retrieval") in this library.
The figure passed by the FIGURE structure must be "wide straight line", "circumference", or "arc".

Notes