Claims
- 1. A character recognition device, including an image scanner for optically scanning characters on a document, a single character isolator which isolates image data generated from the image scanner for a single character, a subdivider which divides the image data of this single character into plural subregions, a quantified feature calculator which calculates quantified features of each subregion and generates a feature pattern from the quantified features composing the single character, a degree of resemblance calculator which recognizes a character code corresponding to the character image data based on a degree of resemblance between this feature pattern and a standard pattern, and outputs that character code to an external device,
- wherein said degree of resemblance calculator calculates
- (1) a first degree of resemblance value between a subregion in the feature pattern and the corresponding subregion in a standard pattern,
- (2) a second degree of resemblance value between an offset subregion, said offset region being offset a specified distance in a specified direction from said subregion in the feature pattern, and said subregion in the standard pattern,
- (3) a third degree of resemblance value between an adjacent subregion in the feature pattern and the corresponding adjacent subregion in the standard pattern,
- (4) a fourth degree of resemblance value between an adjacent offset subregion in the feature pattern and said adjacent offset subregion in the standard pattern;
- a cost calculator which calculates a cost parameter associated with said adjacent subregion as a function of the sum of said third and fourth degree of resemblance values;
- means for determining a degree of resemblance for each subregion based on the first and second degree of resemblance values and said cost parameter; and
- means for selecting said character code based on said degree of resemblance determined for all said plural subregions.
- 2. The character recognition device according to claim 1, wherein said cost parameter determines the specified direction of the offset, if any.
- 3. The character recognition device according to claim 1, wherein said cost parameter is calculated by weighting each of the third and fourth degree of resemblance values with a corresponding preset weight and summing the weighted degree of resemblance values to obtain said cost parameter.
- 4. The character recognition device according to claim 1, wherein said cost parameter is calculated in accordance with the equation ##EQU8## where C(x) is said cost parameter associated with said subregion (x); Rn(y) is the degree of resemblance value associated with an adjacent subregion and W(x,y) is a preset weight value,
- and wherein the preset weight value has a relatively smaller value when the offset direction of the feature pattern from the standard pattern is the same as the offset direction of the subregion and the adjacent subregion and a relatively larger value when the offset direction of the feature pattern from the standard pattern is opposite the offset direction of the subregion from the adjacent subregion.
- 5. The character recognition device according to claim 4, wherein said means for determining a degree of resemblance for each subregion determines that degree of resemblance NR in accordance with the equation
- NR=max.sub.x [R(x)-C(x)]
- where R(x) is the degree of resemblance value calculated for subregion (x).
- 6. The character recognition device according to claim 1, wherein said degree of resemblance calculator calculates
- a fifth degree of resemblance value between another offset region, said another offset region being offset in a direction opposite from said specified direction, and said subregion in the standard pattern, and
- a sixth degree of resemblance value between another adjacent offset subregion in the feature pattern, said another adjacent offset subregion being offset in a direction opposite from said specified direction, and said adjacent offset subregion in the standard pattern.
- 7. The character recognition device according to claim 1, wherein said cost parameter increases when said degree of resemblance value for each subregion is offset in the same direction as the offset of said adjacent subregion in said feature pattern and decreases when said degree of resemblance of each subregion is offset in an opposite direction from the offset of said adjacent subregion in said feature pattern.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2-65055 |
Mar 1990 |
JPX |
|
2-70345 |
Mar 1990 |
JPX |
|
Parent Case Info
This is a division of application Ser. No. 07/667,340, filed 11 March 1991, now U.S. Pat. No. 5,151,951.
US Referenced Citations (7)
Divisions (1)
|
Number |
Date |
Country |
Parent |
667340 |
Mar 1991 |
|