Claims
- 1. A method of calculating the width of shift of a waveform representing a characteristic amount of a paper type, comprising:a first step of reading, from a plurality of portions in the direction of conveyance of a paper type to be examined, characteristic amounts of the paper type, to produce an input waveform representing the characteristic amount corresponding to a position in the direction of conveyance of said paper type; a second step of setting a plurality of widths of shift in the direction of conveyance of the input waveform from a reference waveform between a predetermined minimum width of shift and a predetermined maximum width of shift, to produce for each of the set widths of shift a plurality of waveforms for calculating the width of shift which are obtained by shifting the input waveform in the direction of conveyance; a third step of calculating for each of the produced waveforms for calculating the width of shift a value corresponding to the sum of the differences between the waveform for calculating the width of shift and a reference waveform previously produced at a plurality of predetermined positions where an operation is to be executed out of positions in the direction of conveyance; and a fourth step of determining that the width of shift corresponding to the waveform for calculating the width of shift in which the calculated value corresponding to the sum of the differences is the smallest is the width of shift in the direction of conveyance of said input waveform from said reference waveform.
- 2. The method according to claim 1, whereinthe value corresponding to the sum of the differences is the sum of the absolute values of the differences.
- 3. The method according to claim 1, whereinthe value corresponding to the sum of the differences is the sum of the squares of the differences.
- 4. The method according to any one of claims 1, 2 and 3, whereinthe plurality of positions where an operation is to be executed which are used in said third step are found by setting a plurality of widths of shift in the direction of conveyance of the input waveform from the reference waveform between the predetermined minimum width of shift and the predetermined maximum width of shift, producing for each of the set widths of shift a plurality of waveforms for calculating the positions where an operation is to be executed which are obtained by shifting said reference waveform in the direction of conveyance, calculating for each of the produced waveforms for calculating the positions where an operation is to be executed the absolute values of the differences from said reference waveform at the respective positions in the direction of conveyance, extracting for each of the positions in the direction of conveyance the minimum value out of the calculated absolute values of the differences with respect to the position, and selecting a predetermined number of positions in descending order of the extracted minimum values out of all the positions.
Priority Claims (7)
Number |
Date |
Country |
Kind |
7-339116 |
Dec 1995 |
JP |
|
8-010919 |
Jan 1996 |
JP |
|
8-011720 |
Jan 1996 |
JP |
|
8-052117 |
Mar 1996 |
JP |
|
8-056071 |
Mar 1996 |
JP |
|
8-228579 |
Aug 1996 |
JP |
|
8-228580 |
Aug 1996 |
JP |
|
Parent Case Info
This application is a divisional application filed under 37 CFR § 1.53(b) of parent application Ser. No. 09/101,299, filed Jul. 8, 1998 now U.S. Pat. No. 6,157,895.
US Referenced Citations (4)