Patent ID: 6810147
Filing Date: 2004-10-26
Classification: G06F

Abstract:
A document image processing apparatus, comprising:a display portion for displaying a document image wherein the document image is a bitmap image; a line input portion for inputting a free curve line portion manually input along the image of an arbitrary character string in the document image displayed at said display portion; and a processing portion for processing the free curve line portion manually input by said line input portion, said processing portion, operating on the bitmap image, including at least one of a first processing portion and a second processing portion, said first processing portion including, direction determining means for determining the direction of the manually input free curve line portion, wherein the direction of the manually input free curve line portion may be horizontal or vertical; row extracting means based on a result of projecting said document image in a direction different from a direction of said horizontal or vertical directions, as determined by said direction determining means, to extract in the region of said document image the region of a row including the image of said arbitrary character string; and line correcting means for correcting said manually input free curve line portion into a normal line portion drawn along the region of said row extracted by said row extracting means, adjusting a distance between said free curve line portion corrected and said extracted row and displaying at said display portion of said free curve portion adjusted, said second processing portion including, direction determining means for determining the direction of the manually input free curve line portion, wherein the direction of the manually input free curve line portion may be horizontal or vertical; row extracting means extracting in the region of a document image the region of a row including the image of said arbitrary character string, as based on a direction determined by said direction determining means and an image of at least one character in said document image; means projecting said document image in a direction identical to the direction determined by said direction determining means, and based on a result of said projecting to extract a character respectively; and line correcting means for correcting said free curve line portion into a normal line portion drawn along the region of said row extracted by said row extracting means, determining start and end points of said free curve line portion corrected, as based on said extracted character respectively, and displaying said free curve line portion at said display portion, thereby displaying the normal line portion at said display portion, wherein said line correcting means has ruby row recognizing means for recognizing if the region of said row extracted by said row extracting means corresponds to a row of rubies including kana given alongside Chinese characters, and corrects said manually input free curve line portion into said normal line portion drawn along the region of said row of rubies when the region of said row is recognized as corresponding to said row of rubies by said ruby row recognizing means.