# PRCPrototypeDBParam

## Definition

      #include <nitro/prc.h>

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

## Elements

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

## Description

The following features have not yet been implemented, but an implementation is planned. The `PRC_InitPrototypeDBEx` function simply ignores this argument.

This is an argument for the `PRC_InitPrototypeDBEx` function.

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`.

## See Also

`PRCResampleMethod, PRC_InitPrototypeDB*
`

## Revision History

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

CONFIDENTIAL