Image processing apparatus, method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorsReiji Misawa, Koya Shimamura
Life of this patent
Estimating the term…
Abstract
A binary image of an input image is generated, and a character region within the binary image and a region surrounding each character are acquired as character segmentation rectangle information. A thinning process is executed on a region within the binary image which is identified based on the character segmentation rectangle information to acquire a thinned image. An edge detected image of the region identified based on the character segmentation rectangle information is acquired. Whether each character identified based on the character segmentation rectangle information is a character to be separated from a background by the binarization process or not is determined based on a result of a logical AND of the thinned image and the edge detected image.
Claims9
An image processing apparatus comprising:
- a binarizing unit configured to generate a binary image by executing a binarization process on an input image;
- a first determining unit configured to determine a character region within the binary image;
- a character segmenting unit configured to acquire a region surrounding a character contained in the character region as character segmentation rectangle information;
- a thinning unit configured to acquire a thinned image by executing a thinning process on a region within the binary image, the region being identified based on the character segmentation rectangle information;
- an edge detecting unit configured to acquire an edge detected image by executing an edge detection process on the region identified based on the character segmentation rectangle information;
- a logical operation unit configured to take a logical AND of the thinned image and the edge detected image;
- a second determining unit configured to determine, based on a result of the logical AND performed by the logical operation unit, whether the character identified based on the character segmentation rectangle information is a character to be separated from a background by the binarization process or not;
- and
- an image processing unit configured to perform a predetermined image process for a character on the region being identified based on the character segmentation rectangle information based on determination of the second determining unit that the character identified based on the character segmentation rectangle information is a character to be separated from a background by the binarization process,
- wherein the image processing unit does not perform the predetermined image process for a character on the region being identified based on the character segmentation rectangle information based on determination of the second determining unit that the character identified based on the character segmentation rectangle information is not a character to be separated from a background by the binarization process,
- wherein the units are implemented by one or more processors, a circuitry, or a combination thereof.
An image processing method executed by at least one processor, the image processing method comprising:
- generating a binary image by executing a binarization process on an input image;
- determining a character region within the binary image;
- acquiring a region surrounding a character contained in the character region as character segmentation rectangle information;
- acquiring a thinned image by executing a thinning process on a region within the binary image, the region being identified based on the character segmentation rectangle information;
- acquiring an edge detected image by executing an edge detection process on the region identified based on the character segmentation rectangle information;
- taking a logical AND of the thinned image and the edge detected image;
- determining, based on a result of the logical AND performed by the taking, whether the character identified based on the character segmentation rectangle information is a character to be separated from a background by the binarization process or not;
- and
- performing a predetermined image process for a character on the region being identified based on the character segmentation rectangle information based on determination of the determining that the character identified based on the character segmentation rectangle information is a character to be separated from a background by the binarization process,
- wherein the performing does not perform the predetermined image process for a character on the region being identified based on the character segmentation rectangle information based on determination of the determining that the character identified based on the character segmentation rectangle information is not a character to be separated from a background by the binarization process.
Dependencies are inferred from the claim text.