1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>PRCPrototypeDBParam</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">PRCPrototypeDBParam <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Definition</h2>
16<dl>
17  <dd><PRE><CODE>#include &lt;nitro/prc.h&gt;
18
19typedef struct PRCPrototypeDBParam
20{
21    int                     normalizeSize;
22    <A href="PRCResampleMethod.html">PRCResampleMethod</A>       resampleMethod;
23    int                     resampleThreshold;
24} PRCPrototypeDBParam;
25</CODE></PRE></dd>
26</dl>
27
28<h2>Elements</h2>
29<table border="1" width="100%">
30  <tbody>
31    <TR>
32      <TD width="13%"><EM><STRONG><FONT face="Courier New">normalizeSize</FONT></STRONG></EM></TD>
33      <TD width="87%">Length of the longer direction of a normalized line.</TD>
34    </TR>
35    <TR>
36      <TD width="13%"><EM><STRONG><FONT face="Courier New">resampleMethod</FONT></STRONG></EM></TD>
37      <TD width="87%">Specification of the algorithm used for resampling.</TD>
38    </TR>
39    <TR>
40      <TD width="13%"><EM><STRONG><FONT face="Courier New">resampleThreshold</FONT></STRONG></EM></TD>
41      <TD width="87%">Resampling parameter.</TD>
42    </TR>
43  </tbody>
44</table>
45
46<H2>Description</H2>
47<P><font color="red">The following features have not yet been implemented, but an implementation is planned. The <CODE><A href="PRC_InitPrototypeDB.html">PRC_InitPrototypeDBEx</A></CODE> function simply ignores this argument.</font></P>
48<P>This is an argument for the <CODE><A href="PRC_InitPrototypeDB.html">PRC_InitPrototypeDBEx</A></CODE> function.</P>
49<P>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 <CODE>normalizeSize</CODE>. At this time the shorter direction is centered.</P>
50<P>Normalization will not occur if <CODE>normalizeSize</CODE> is set to 0.</P>
51<P>For information on <CODE>resample*</CODE> see <CODE><A href="PRCResampleMethod.html">PRCResampleMethod</A></CODE>.</P>
52<h2>See Also</h2>
53<p><CODE><A href="PRCResampleMethod.html">PRCResampleMethod, </A><A href="PRC_InitPrototypeDB.html">PRC_InitPrototypeDB*</A><br></CODE></p>
54
55<H2>Revision History</H2>
56<P>
572004/10/28 Changed <i>regularize</i> to <i>normalize</i>.<br> 2004/06/23 Initial version.
58</P>
59<hr><p>CONFIDENTIAL</p></body>
60</html>
61