Character extracting apparatus, method, and program
First Claim
1. An apparatus for extracting each of a plurality of characters from a character string having the plurality of characters arranged in a first direction and included in an image, comprising:
- an integrating device integrating a plurality of pixel values along a second direction orthogonal to the first direction at each of a plurality of coordinate positions along the first direction over the image;
a setting device setting a section having a predetermined width at each of a plurality of different positions by shifting the section along the first direction over the image;
a first extracting device extracting a first point where a pixel value integrated by the integrating device is the minimum value in each of the sections set by the setting device;
a block setting device setting a plurality of blocks corresponding to sequences of the first points, wherein each distance between the adjacent first points in the sequence is not in excess of a predetermined threshold value;
a second extracting device extracting a second point where a pixel value integrated by the integrating device is the minimum value in each of the plurality of blocks of first points, extracted by the first extracting device, in sequence along the first direction;
an interpolating device calculating a base value at each of the plurality of coordinate positions along the first direction over the image from an interpolation based on the pixel values integrated by the integrating device at the second points extracted by the second extracting device;
a compensating device subtracting the base value from the pixel value integrated by the integrating device as a compensated value at each of the plurality of coordinate positions along the first direction over the image;
a recognition device recognizing an area having the compensated value compensated by the compensating device in excess of a predetermined threshold value as a character area; and
a display device including a character string display part for displaying a character string having a plurality of characters and a character area display part surrounding each character included in the character area recognized by the recognition device.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a technique of accurately extracting areas of characters included in a captured image. A character extracting device of the present invention extracts each character in an image with compensated pixel values. In more detail, the character extracting device integrates pixel values at each coordinate position in the image along a character extracting direction. Then, the character extracting device predicts the background area in the image based on the integrated pixel value. The compensated pixel values are compensated based on integrated pixel values at the predicted background area from integrated pixel values at each coordinate position.
-
Citations
19 Claims
-
1. An apparatus for extracting each of a plurality of characters from a character string having the plurality of characters arranged in a first direction and included in an image, comprising:
-
an integrating device integrating a plurality of pixel values along a second direction orthogonal to the first direction at each of a plurality of coordinate positions along the first direction over the image; a setting device setting a section having a predetermined width at each of a plurality of different positions by shifting the section along the first direction over the image; a first extracting device extracting a first point where a pixel value integrated by the integrating device is the minimum value in each of the sections set by the setting device; a block setting device setting a plurality of blocks corresponding to sequences of the first points, wherein each distance between the adjacent first points in the sequence is not in excess of a predetermined threshold value; a second extracting device extracting a second point where a pixel value integrated by the integrating device is the minimum value in each of the plurality of blocks of first points, extracted by the first extracting device, in sequence along the first direction; an interpolating device calculating a base value at each of the plurality of coordinate positions along the first direction over the image from an interpolation based on the pixel values integrated by the integrating device at the second points extracted by the second extracting device; a compensating device subtracting the base value from the pixel value integrated by the integrating device as a compensated value at each of the plurality of coordinate positions along the first direction over the image; a recognition device recognizing an area having the compensated value compensated by the compensating device in excess of a predetermined threshold value as a character area; and a display device including a character string display part for displaying a character string having a plurality of characters and a character area display part surrounding each character included in the character area recognized by the recognition device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for extracting each of a plurality of characters from a character string having the plurality of characters arranged in a first direction and included in an image, comprising:
-
an integrating device integrating a plurality of pixel values along a second direction orthogonal to the first direction at each of a plurality of coordinate positions along the first direction over the image; a first extracting device extracting a first point where a pixel value integrated by the integrating device is a local minimum value from the plurality of coordinate positions by shifting the section along the first direction over the image; a blocking setting device setting a plurality of blocks corresponding to sequences of the first points, wherein each distance between the neighbor first points in the sequence is not in excess of a predetermined threshold value; a setting device setting a section having a predetermined width corresponding to each of the plurality of blocks of first points extracted by the first extracting device; a second extracting device extracting the first point as a second point where a pixel value integrated by the integrating device is a minimum value in each of the sections corresponding to the first point; an interpolating device calculating a base value at each of the plurality of coordinate positions along the first direction over the image from an interpolation based on the pixel values integrated by the integrating device at the second points extracted by the second extracting device; a compensating device compensating the pixel value integrated by the integrating device as a compensated value at each coordinate position along the first direction over the image based on the base value; and a recognition device recognizing an area having the compensated value compensated by the compensating device in excess of a predetermined threshold value as a character area; and a display device including a character string display part for displaying a character string having a plurality of characters and a character area display part surrounding each character included in the character area recognized by the recognition device. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for extracting each of a plurality of characters from a character string having the plurality of characters arranged in a first direction and included in an image, comprising the steps of:
-
integrating a plurality of pixel values along a second direction orthogonal to the first direction at each of a plurality of coordinate positions along the first direction over the image; setting a section having a predetermined width at each of a plurality of different positions by shifting the section along the first direction over the image; setting a plurality of blocks corresponding to sequences of the first points, wherein each distance between the neighbor first points in the sequence is not in excess of a predetermined threshold value; extracting a first point where a pixel value integrated by the integrating step is a minimum value in each of the sections set by the setting step; extracting a second point where a pixel value integrated by the integrating step is a minimum value in each of the plurality of blocks of first points, extracted by the first extracting step, in sequence along the first direction; calculating a base value at each of the plurality of coordinate positions along the first direction over the image from an interpolation based on the pixel values integrated by the integrating step at the second points extracted by the second extracting step; subtracting the base value from the pixel value integrated by the integrating step as a compensated value at each coordinate position along the first direction over the image; and recognizing an area having the compensated value compensated by the compensating step in excess of a predetermined threshold value as a character area.
-
-
19. A non-transitory computer readable medium including a program for extracting each of a plurality of characters from a character string having the plurality of characters arranged in a first direction and included in an image, the program including:
-
an integrating device for integrating a plurality of pixel values along a second direction orthogonal to the first direction at each of a plurality of coordinate positions by shifting the section along the first direction over the image; a setting device setting a section having a predetermined width at each of a plurality of different positions along the first direction over the image; a first extracting device extracting a first point where a pixel value integrated by the integrating device is a minimum value in each of the sections set by the setting device; a blocking setting device setting a plurality of blocks corresponding to sequences of the first points, wherein each distance between the neighbor first points in the sequence is not in excess of a predetermined threshold value; a second extracting device extracting a second point where a pixel value integrated by the integrating device is a minimum value in each of the plurality of blocks of first points, extracted by the first extracting device, in sequence along the first direction; an interpolating device calculating a base value at each of the plurality of coordinate positions along the first direction over the image from an interpolation based on the pixel values integrated by the integrating device at the second points extracted by the second extracting device; a compensating device subtracting the base value from the pixel value integrated by the integrating device as a compensated value at each of the plurality of coordinate positions along the first direction over the image; and a recognition device recognizing an area having the compensated value compensated by the compensating device in excess of a predetermined threshold value as a character area.
-
Specification