PRCInputPatternParam


Definitions

#include <nitro/prc.h>

typedef struct PRCInputPatternParam
{
    int                     normalizeSize;
    PRCResampleMethod       resampleMethod;
    int                     resampleThreshold;
} PRCInputPatternParam;
    

Description

This is an argument for PRC_InitInputPatternEx.

In the normalization process, first a bounding box is taken for the entire pattern that is to be normalized. Then, preserving the X Y ratio, it is scaled so that the longer direction becomes the size specified by normalizeSize. At this time the shorter direction is centered.

Normalization will not occur if normalizeSize is set to 0.

For information on resample* see PRCResampleMethod.

Elements

normalizeSize Length of the longer direction of a normalized line.
resampleMethod Specification of the algorithm used for resampling
resampleThreshold Resampling parameter

See Also

PRCResampleMethod, PRC_InitInputPattern*

Revision History

10/28/2004 Changed regularize to normalize.
06/23/2004 Initial version.