JPH064705A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPH064705A JPH064705A JP4156871A JP15687192A JPH064705A JP H064705 A JPH064705 A JP H064705A JP 4156871 A JP4156871 A JP 4156871A JP 15687192 A JP15687192 A JP 15687192A JP H064705 A JPH064705 A JP H064705A
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- image
- character frame
- processing apparatus
- character
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Character Input (AREA)
- Image Processing (AREA)
Abstract
(57)【要約】
【目的】 入力帳票の印刷色に制限を加えることなく文
字枠を検出でき、中間調の印刷色で印刷された文字枠の
線分切れがあっても切れた線分をつないで文字枠を正確
に認識できる画像処理装置を得る。
【構成】 読取走査部41により読み取られた画像デー
タを量子化回路が整数×整数個の升目に分割した多値の
量子化パターンに変換し、その量子化パターンのx方向
またはy方向の結合性を強調する濃度値テーブル44を
用いて濃度処理部45が各画素の濃度値を決定する。
(57) [Summary] [Purpose] A character frame can be detected without limiting the print color of the input form, and even if there is a line segment break in the character frame printed in the halftone print color, the broken line segment (EN) An image processing device that can be connected to accurately recognize a character frame. A quantization circuit converts image data read by a reading scanning unit 41 into a multi-valued quantization pattern divided into an integer × integer number of cells, and the connectivity of the quantization pattern in the x direction or the y direction. The density processing unit 45 determines the density value of each pixel by using the density value table 44 that emphasizes.
Description
【0001】[0001]
【産業上の利用分野】本発明は画像処理装置、特に文字
枠を有する帳票に記入された文字を正確に読み取ること
のできる画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus capable of accurately reading characters written on a form having a character frame.
【0002】[0002]
【従来の技術】従来の画像を光学的に読取る画像処理装
置においては、帳票上の文字を1文字ずつ正確に切り出
すために、帳票上に画像処理装置では検出されないドロ
ップアウトカラーで文字枠を印刷していた。すなわち、
画像処理装置では検出されないドロップアウトカラーの
文字枠を帳票上に予め印刷しておき、帳票を記入する場
合にはそのドロップアウトカラーで印刷された文字枠を
参考に文字を記入する。画像処理装置では検出されない
ドロップアウトカラーの文字枠も人に対しては可視的で
あるので、記入者はドロップアウトカラーで印刷された
文字枠を参考に文字を記入することができるのである。
このような画像処理装置において取り扱うことのできる
ドロップアウトカラーの文字枠は、そのカラー種類が豊
富である方が帳票の印刷上の制限や管理上の制限も少な
くなるので望ましいといえる。そこで、画像処理装置の
取り扱えるドロップアウトカラー種類を増やすために、
例えば、図8に示すような画像処理装置が提案されてい
る。2. Description of the Related Art In a conventional image processing apparatus for optically reading an image, a character frame is printed on a form in a dropout color that is not detected by the image processing apparatus in order to accurately cut out characters on the form one by one. Was. That is,
A character frame of a dropout color that is not detected by the image processing apparatus is printed in advance on the form, and when the form is filled, characters are written with reference to the character frame printed with the dropout color. Since the character frame of the dropout color that is not detected by the image processing apparatus is also visible to the person, the writer can write characters with reference to the character frame printed in the dropout color.
It is preferable that the character frame of the dropout color that can be handled in such an image processing apparatus be rich in the color types because restrictions on printing and management of the form are reduced. Therefore, in order to increase the types of dropout colors that the image processing device can handle,
For example, an image processing device as shown in FIG. 8 has been proposed.
【0003】すなわち、図8は、従来の第1の画像処理
装置、例えば、特開平3−214381号公報に記載さ
れた画像処理装置の概念的な構成を示すブロック図であ
る。また、図9は、図8に示す画像処理装置の文字読み
取り原理を説明するための図である。That is, FIG. 8 is a block diagram showing a conceptual configuration of a first conventional image processing apparatus, for example, the image processing apparatus described in Japanese Patent Laid-Open No. 3-214381. Further, FIG. 9 is a diagram for explaining the character reading principle of the image processing apparatus shown in FIG.
【0004】図8において、従来の第1の画像処理装置
は、印刷色の異なる複数の入力帳票について記入されて
いる文字・数字などを読み取り電気信号に変換する読取
部11と、読取部11の複数の光源の内から1つを選択
する光源選択部12と、読取部11の読み取った入力帳
票のデータの内から印刷パターンの部分のデータの有無
を判定する印刷判定部13と、読み取る必要のない印刷
パターンについては複数の光源の色系のいずれか1つの
同じ色系の印刷色で印刷されている入力帳票14と、複
数の光源、例えば、赤系光源16と青系光源17とから
なる光源部15とから構成されている。In FIG. 8, the first conventional image processing apparatus includes a reading unit 11 for reading characters and numbers written on a plurality of input forms of different printing colors and converting them into an electric signal. A light source selection unit 12 that selects one of a plurality of light sources, a print determination unit 13 that determines the presence or absence of data of a print pattern portion from the data of the input form read by the reading unit 11, and the need for reading For the non-printing pattern, the input form 14 is printed in a printing color of one of the color systems of a plurality of light sources and a plurality of light sources, for example, a red light source 16 and a blue light source 17. It is composed of a light source unit 15.
【0005】上記の通り構成される従来の第1の画像処
理装置の動作について、画像処理装置の文字読み取り原
理を示すための図9を用いて説明する。The operation of the first conventional image processing apparatus configured as described above will be described with reference to FIG. 9 showing the character reading principle of the image processing apparatus.
【0006】図9において、入力帳票14の文字読み取
り領域を示す文字枠の印刷パターン21は、入力帳票1
4上に読取部11のいずれかの光源と同じ色系で印刷さ
れている。読み取り結果22は、文字枠の印刷色と光源
の色系が同じため文字枠部分は読み取られず、文字読み
取り領域に記載されている文字が読み取られることを示
している。読み取り結果23は、文字枠の印刷色と色系
の異なる光源により入力帳票14を読み取った結果、入
力帳票14に記載されている文字と一緒に文字枠部分も
読み取られることを示している。In FIG. 9, the print pattern 21 of the character frame showing the character reading area of the input form 14 is the input form 1
4 is printed in the same color system as one of the light sources of the reading unit 11. The reading result 22 indicates that the character frame portion is not read and the character described in the character reading area is read because the printing color of the character frame and the color system of the light source are the same. The reading result 23 indicates that, as a result of reading the input form 14 using a light source having a different color and printing system of the character frame, the character frame portion is also read together with the characters written on the input form 14.
【0007】上記の読取り処理を図8に示す第1の画像
処理装置の具体的な動作と合わせて説明する。すなわ
ち、図8に示すように、従来の第1の画像処理装置は光
源部15に赤系光源16、青系光源17等の複数の光源
を備えており、印刷判定部13は読取部11が電気信号
に変換したデータに基づいて文字枠データを判定し、光
源選択部12はそれら複数の光源を切り換えるように制
御していた。The above-mentioned reading process will be described together with the specific operation of the first image processing apparatus shown in FIG. That is, as shown in FIG. 8, the first conventional image processing apparatus includes a light source unit 15 including a plurality of light sources such as a red light source 16 and a blue light source 17, and the print determination unit 13 includes a reading unit 11. The character frame data is determined based on the data converted into the electric signal, and the light source selection unit 12 controls to switch the plurality of light sources.
【0008】図10は、第1の画像処理装置による読取
り処理での文字及び文字枠に対する走査と光電変換出力
信号を示す図である。図10(a)に示すように、走査
線30が赤枠31と文字32を走査すると、図10
(b)に示すように、青系光源17では文字と文字枠を
含む出力信号(1)が出力され、赤系光源16では文字
の出力信号(2)が出力される。これらの信号の差を求
めることにより文字枠に対応した出力信号(3)を得る
ことができ、文字枠の位置を正確に検出できる。従っ
て、従来の第1の画像処理装置では、文字部分の出力信
号(2)から文字の切り出しを高精度に行うことができ
ることがわかる。FIG. 10 is a diagram showing scanning and photoelectric conversion output signals for a character and a character frame in the reading process by the first image processing apparatus. When the scanning line 30 scans the red frame 31 and the character 32 as shown in FIG.
As shown in (b), the blue light source 17 outputs an output signal (1) including a character and a character frame, and the red light source 16 outputs a character output signal (2). By calculating the difference between these signals, the output signal (3) corresponding to the character frame can be obtained, and the position of the character frame can be accurately detected. Therefore, it is understood that the first conventional image processing apparatus can highly accurately cut out a character from the output signal (2) of the character portion.
【0009】しかし、図8に示す画像処理装置では、上
述したように文字枠の印刷色が画像処理装置固有のドロ
ップアウトカラーに制限されるために(例えば、赤系光
源16、青系光源17に対応する赤、及び青)、入力帳
票設計の自由度が小さくなると言う問題点があり、また
画像処理装置が取り扱うことのできるドロップアウトカ
ラーの種類数を増やすためには、入力帳票の印刷色に対
応する色の光源を備える必要があるので、どうしても構
成が複雑となりハードウエアが増加すると言う問題点が
あった。そこで、文字枠を検出する別の手段として例え
ば、図12に示すようなイメージの輪郭追跡を行う方式
が提案されるようになった。However, in the image processing apparatus shown in FIG. 8, the printing color of the character frame is limited to the dropout color unique to the image processing apparatus as described above (for example, the red light source 16 and the blue light source 17). There is a problem that the degree of freedom in designing the input form becomes small, and in order to increase the number of types of dropout colors that the image processing device can handle, the print color of the input form must be increased. Since it is necessary to provide a light source of a color corresponding to, there is a problem that the configuration is complicated and the hardware is increased. Therefore, as another means for detecting the character frame, for example, a method of performing contour tracing of an image as shown in FIG. 12 has been proposed.
【0010】すなわち、図11は、従来の第2の画像処
理装置、例えば、特開昭59−119484号公報に記
載された画像処理装置の読取り処理を説明するための、
文字及び文字枠を含む帳票イメージと、文字枠を抜き出
した文字イメージを示す図である。また、図12は、従
来の第2の画像処理装置による読取り処理において、読
み取られる文字及び文字枠のイメージの輪郭と、文字枠
部分のみの輪郭追跡結果を示す図である。That is, FIG. 11 is a view for explaining a reading process of a second conventional image processing apparatus, for example, the image processing apparatus disclosed in Japanese Patent Laid-Open No. 59-119484.
It is a figure which shows the form image containing a character and a character frame, and the character image which extracted the character frame. FIG. 12 is a diagram showing the contours of the images of the characters and the character frames to be read and the contour tracing results of only the character frame portion in the reading process by the second conventional image processing apparatus.
【0011】図11(a)では、文字枠34と文字33
の重複したイメージを示してある。文字枠34は入力帳
票の4辺に対し平行な直線の帯をなしており、また帳票
のカット精度、伸縮等を考慮してもおよその位置は予め
知ることができる。ここで、問題となるのは文字枠34
のエッジを追跡検出することにより文字33との重複部
分35を抽出し、図11(b)に示すように、文字部分
と文字枠重複部分35を補填した文字イメージを得るこ
とである。In FIG. 11A, the character frame 34 and the character 33 are
Duplicate images of are shown. The character frame 34 forms a straight band parallel to the four sides of the input form, and the approximate position can be known in advance even when the cutting accuracy, expansion and contraction of the form are taken into consideration. Here, the problem is the character frame 34.
By tracing and detecting the edge of, the overlapping portion 35 with the character 33 is extracted, and as shown in FIG. 11B, a character image in which the character portion and the character frame overlapping portion 35 are complemented is obtained.
【0012】第2の画像処理装置のイメージの輪郭追跡
方式では、文字枠の直線方向に2値化イメージの輪郭を
所定ピッチで1ステップづつ逐次検出していく。その
際、文字枠の直線方向と垂直な方向における輪郭位置の
変位をステップ毎に記憶し、次のステップ以降に新たに
追跡して得られた変位と先に記憶された既知の変位との
差分を求め、予め決められたしきい値と比較してこの結
果により輪郭位置を修正して、文字枠の位置を高精度に
行うことができるようにしていた。つまり、文字及び文
字枠を含む2値化イメージの輪郭を追跡した結果が、図
12に示される文字及び文字枠のイメージの輪郭36で
あり、文字枠部分のみの輪郭追跡結果37を検出して文
字枠と文字の重複部分38の箇所を得ようとするもので
ある。In the image contour tracing method of the second image processing apparatus, the contours of the binarized image are sequentially detected at a predetermined pitch step by step in the linear direction of the character frame. At that time, the displacement of the contour position in the direction perpendicular to the linear direction of the character frame is stored for each step, and the difference between the displacement newly obtained after the next step and the previously stored known displacement is stored. Was calculated, and the contour position was corrected based on this result by comparing with a predetermined threshold value so that the position of the character frame can be accurately determined. That is, the result of tracing the contour of the binarized image including the character and the character frame is the contour 36 of the image of the character and the character frame shown in FIG. 12, and the contour tracing result 37 of only the character frame portion is detected. It is intended to obtain the overlapping portion 38 of the character frame and the character.
【0013】[0013]
【発明が解決しようとする課題】従来の第2の画像処理
装置は上述したような構成となっているので、イメージ
の輪郭追跡方式による文字枠検出においては、入力帳票
のドロップアウトカラー文字枠は画像処理装置固有の特
性を考慮した上で十分に検出可能な印刷色である必要が
あり、文字枠の線分切れが生じた場合には文字枠の検出
ができなくなったり、あるいは文字枠の検出自体を誤る
などの問題点があった。Since the second conventional image processing apparatus has the above-described configuration, the dropout color character frame of the input form is not detected in the character frame detection by the image contour tracking method. The print color must be sufficiently detectable in consideration of the characteristics peculiar to the image processing device, and if the line break of the character frame occurs, the character frame cannot be detected or the character frame is detected. There was a problem such as making a mistake in itself.
【0014】本発明は上記のような問題点を解消するた
めになされたもので、入力帳票印刷色に制限を加えるこ
となく文字枠を検出すると共に、中間調の印刷色で印刷
された文字枠の線分切れがあっても切れた線分をつない
で文字枠を正確に切り出すことのできる画像処理装置を
得ることを目的としている。The present invention has been made to solve the above problems, and detects a character frame without limiting the printing color of an input form and a character frame printed in a halftone printing color. It is an object of the present invention to provide an image processing apparatus capable of accurately cutting out a character frame by connecting broken line segments even if the line segment is broken.
【0015】[0015]
【課題を解決するための手段】上記目的を達成するため
に、本発明に係る画像処理装置は、画像が描かれた原稿
面を既定の走査ラインに沿って光を照射し、原稿面から
の反射光を画像読取手段の感光素子に結像させて、画像
を光学的に読取る画像処理装置であって、画像データを
整数×整数個の升目に分割した多値の量子化パターンに
変換する量子化回路と、x方向またはy方向の結合性を
強調する結合テーブルと、結合テーブルを用いて各画素
の濃度値を決定する濃度処理部を備え、線分切れを起こ
した文字枠を正確に結線するようにしたものである。In order to achieve the above object, an image processing apparatus according to the present invention irradiates a document surface on which an image is drawn with light along a predetermined scanning line so that the surface of the document is scanned. An image processing device that forms an image of reflected light on a photosensitive element of an image reading unit to optically read an image, and converts an image data into a multi-valued quantization pattern divided into integer × integer cells. A combination circuit, a combination table that emphasizes the connectivity in the x direction or the y direction, and a density processing unit that determines the density value of each pixel using the connection table, and accurately connects a character frame with a line segment breakage. It is something that is done.
【0016】[0016]
【作用】従って、本発明の画像処理装置によれば、読取
走査部により読み取られた画像データを量子化回路が整
数×整数個の升目に分割した多値の量子化パターンに変
換し、その量子化パターンのx方向またはy方向の結合
性を強調する結合テーブルを用いて濃度処理部が各画素
の濃度値を決定するので、中間調の印刷色で印刷された
文字枠の線分切れがあっても切れた線分をつないで文字
枠を正確に認識することができる。Therefore, according to the image processing apparatus of the present invention, the quantization circuit converts the image data read by the reading scanning unit into a multi-valued quantization pattern divided into an integer × integer number of cells, and the quantum Since the density processing unit determines the density value of each pixel by using the combination table that emphasizes the connectivity in the x-direction or the y-direction of the digitized pattern, there is a break in the line segment of the character frame printed in the halftone print color. Even if the broken line segments are connected, the character frame can be accurately recognized.
【0017】[0017]
【実施例】以下、本発明の好適な実施例を図に基づいて
説明する。図1は本実施例に係る画像処理装置の機能ブ
ロックの構成を示すブロック図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of functional blocks of the image processing apparatus according to this embodiment.
【0018】図1において、本実施例の画像処理装置
は、画像が描かれた原稿面を既定の走査ラインに沿って
光を照射し、原稿面からの反射光を感光素子に結像させ
て、画像を光学的に読取り、光信号を電気信号に変換す
る読取走査部41と、読み取った電気信号を量子化する
A/D変換部42と、量子化された電気信号を格納する
多値バッファ43と、x方向またはy方向の結合性を強
調する濃度値テーブル44と、濃度値テーブル44を用
いて各画素の濃度値を決定する濃度パターン処理部45
と、濃度パターン処理部45で決定された濃度パターン
を2値化する2値化処理部46と、予めメモリに格納さ
れたフォーマットデータ及び文字枠データ47と、フォ
ーマットデータ及び文字枠データ47に基づいて、例え
ば、x方向またはy方向のヒストグラムにより、あるい
は輪郭追跡により、原稿面に印刷された文字枠の位置を
検出する文字枠検出部48と、文字枠位置より文字部分
の切り出しを高精度に行う文字切り出し部49と、予め
メモリに格納された認識辞書50と、認識辞書50に格
納された標準パターンに基づいて、例えば、マッチング
方式による認識処理を行ってその結果を入力画像の読取
り結果として出力する認識部51とから構成されてい
る。In FIG. 1, the image processing apparatus according to the present embodiment irradiates the surface of a document on which an image is drawn with light along a predetermined scanning line, and forms light reflected from the surface of the document on a photosensitive element. A scanning unit 41 for optically reading an image and converting an optical signal into an electric signal, an A / D converter 42 for quantizing the read electric signal, and a multi-valued buffer for storing the quantized electric signal 43, a density value table 44 that emphasizes connectivity in the x direction or the y direction, and a density pattern processing unit 45 that determines the density value of each pixel using the density value table 44.
Based on the binarization processing unit 46 that binarizes the density pattern determined by the density pattern processing unit 45, the format data and the character frame data 47 stored in advance in the memory, and the format data and the character frame data 47. For example, a character frame detection unit 48 for detecting the position of the character frame printed on the document surface by a histogram in the x direction or the y direction or by contour tracing, and a character portion cut out from the character frame position with high accuracy. Based on the character cutout unit 49, the recognition dictionary 50 stored in advance in the memory, and the standard pattern stored in the recognition dictionary 50, for example, recognition processing by a matching method is performed, and the result is used as the read result of the input image. It is composed of a recognition unit 51 for outputting.
【0019】次に、上記の通り構成される本実施例の画
像処理装置の動作について、図2〜図7を用いて説明す
る。なお、図2は、本実施例に係る画像処理装置の量子
化パターンの一実施例を示す図であり、図3は濃度値テ
ーブルの一実施例を示す図であり、図4は読み取りパタ
ーンの一実施例を示す図であり、図5は読み取りイメー
ジの一実施例を示す図である。Next, the operation of the image processing apparatus of the present embodiment configured as described above will be described with reference to FIGS. 2 is a diagram showing an example of the quantization pattern of the image processing apparatus according to the present embodiment, FIG. 3 is a diagram showing an example of the density value table, and FIG. 4 is a diagram showing the reading pattern. It is a figure which shows one Example, and FIG. 5 is a figure which shows one Example of a read image.
【0020】図1において、本実施例の画像処理装置の
読取走査部41は、入力帳票の画像が描かれた原稿面を
既定の走査ラインに沿って光を照射し、原稿面からの反
射光を感光素子に結像させて、画像を光学的に読取り、
光信号を電気信号に変換する。読取走査部41が読み取
った電気信号は、A/D変換部42により量子化され、
量子化された電気信号は多値バッファ43に格納され
る。この量子化された電気信号を格納する多値バッファ
43は、読み取られた画像の各画素に対応した整数×整
数個の升目と考えることができる。このようなマトリク
ス化された多値バッファ43の一実施例を図2に示す。In FIG. 1, the reading scanning section 41 of the image processing apparatus of the present embodiment irradiates the document surface on which the image of the input form is drawn with light along a predetermined scanning line, and reflects light from the document surface. Image on the photosensitive element to read the image optically,
Converts optical signals into electrical signals. The electric signal read by the reading scanning unit 41 is quantized by the A / D conversion unit 42,
The quantized electric signal is stored in the multilevel buffer 43. The multi-valued buffer 43 that stores the quantized electric signal can be considered as an integer × integer number of cells corresponding to each pixel of the read image. FIG. 2 shows an embodiment of such a multi-valued buffer 43 which is matrixed.
【0021】図2は、量子化パターンの具体的な例示と
して、画素は3×3のパターンを用いて示してあり、以
下の説明は3×3のパターンを用いて行う。図2におい
て、P,P0 ,P1 ,P2 ,P3 は各画素に対応した濃
度を示すものであり、その濃度は0〜7(0:白〜7:
黒)の値をとるものとする。As a concrete example of the quantization pattern, FIG. 2 shows a pixel using a 3 × 3 pattern, and the following description will be given using a 3 × 3 pattern. In FIG. 2, P, P0, P1, P2 and P3 indicate the densities corresponding to the respective pixels, and the densities are 0 to 7 (0: white to 7:
The value of (black) is taken.
【0022】今、“P”の値を、式(1)により求め
て、以後P点の濃度としてその値を用いることとする。 P=f(P0 +P2 ,P1 +P3 )・・・・・・(1) ここで、f(x,y)は、2つの引数を持つ関数であ
り、第1引数は対象画素の左右の画素の濃度和であり、
第2引数は対象画素の上下の画素の濃度和であって“0
〜14”の値をとる。Now, it is assumed that the value of "P" is obtained by the equation (1) and that value is used as the density at the point P thereafter. P = f (P0 + P2, P1 + P3) (1) where f (x, y) is a function with two arguments, and the first argument is the pixel on the left and right of the target pixel. Is the sum of the concentrations,
The second argument is the sum of the densities of the pixels above and below the target pixel and is "0".
It takes a value of ~ 14 ".
【0023】例えば、関数“f(x,y)”を、x方向
またはy方向の結合性を強調する図3に示すような濃度
値テーブルと定義する。また、本実施例の画像処理装置
の読み取った画像の読み取りイメージとして、図5に示
すような画像を考える。この場合、本実施例の画像処理
装置の読み取り量子化パターンは、図4(a)に示すよ
うなものとすると(読み取った値が、P0 =3,P1 =
0,P2 =4,P3 =0である)、“P”は式(2)に
示すようになる。 P=f(3+4,0+0)=f(7,0)・・・・・・(2) この値は、図3の濃度値テーブルより P=f(7,0)=4 となり、図4(b)に示すような濃度パターンとなる。For example, the function "f (x, y)" is defined as a density value table as shown in FIG. 3 which emphasizes connectivity in the x direction or the y direction. Further, an image as shown in FIG. 5 is considered as a read image of the image read by the image processing apparatus of this embodiment. In this case, assuming that the read quantization pattern of the image processing apparatus of this embodiment is as shown in FIG. 4A (the read values are P0 = 3 and P1 =
0, P2 = 4, P3 = 0), and "P" is as shown in equation (2). P = f (3 + 4,0 + 0) = f (7,0) ... (2) This value becomes P = f (7,0) = 4 from the density value table of FIG. The density pattern is as shown in b).
【0024】ここで、本実施例の量子化方式と、従来の
各画素の濃度を平均化する単純平滑方式とを比較する。
単純平滑方式による“P”算出式として、例えば、式
(3)のように定義する。 P=(P0 +P1 +P2 +P3 )/4・・・・・(3) この場合、画像処理装置の読み取りパターンが前記例と
同様に、図4(a)に示す量子化パターンとすると、式
(4)のようになる。 P=(3+0+4+0)/4=1・・・・(4) ここで、例えば、2値化処理部46の取るしきい値が
“3”とした場合、単純平滑方式による画素の色は
“白”となるが、本実施例の量子化方式による画素では
色は“黒”となる。従って、画像処理装置の文字枠読み
取りイメージを示す図5の線分において、図5(a)に
示すように文字枠53の線分切れが発生した画像が、図
5(b)の文字枠53に示すように、結果的に左右の線
分切れがつながったイメージで認識されることになるこ
とがわかる。Here, the quantization method of this embodiment is compared with the conventional simple smoothing method for averaging the density of each pixel.
As a “P” calculation formula based on the simple smoothing method, for example, formula (3) is defined. P = (P0 + P1 + P2 + P3) / 4 (3) In this case, if the read pattern of the image processing apparatus is the quantization pattern shown in FIG. )become that way. P = (3 + 0 + 4 + 0) / 4 = 1 ... (4) Here, for example, when the threshold value taken by the binarization processing unit 46 is “3”, the pixel color by the simple smoothing method is “white”. However, the color is “black” in the pixel by the quantization method of the present embodiment. Therefore, in the line segment of FIG. 5 showing the character frame reading image of the image processing apparatus, an image in which the line segment of the character frame 53 is broken as shown in FIG. 5A is the character frame 53 of FIG. 5B. As shown in, it can be seen that, as a result, the left and right line segment breaks are recognized in the connected image.
【0025】なお、上述した実施例の画像処理装置で
は、濃度値テーブル44がx方向またはy方向の結合性
を強調する濃度値テーブルとして説明したが、読取走査
部41の特徴としてx方向の線分切れは発生し易いが、
y方向の線分切れは発生し難いといった場合や、後処理
でx方向の結合性のみを強調する必要がある場合には、
例えば、図6に示すように、x方向の結合性のみを強調
する濃度値テーブルを用いて濃度値を決定し、以後の処
理を行い、文字枠の線分切れを結合するようにしても同
様の効果を期待することができる。In the image processing apparatus according to the above-described embodiment, the density value table 44 has been described as a density value table for emphasizing the connectivity in the x direction or the y direction. Fragmentation is likely to occur, but
When it is difficult to break the line segment in the y direction, or when it is necessary to emphasize only the connectivity in the x direction in the post-processing,
For example, as shown in FIG. 6, the density value is determined by using a density value table that emphasizes only the connectivity in the x direction, the subsequent processing is performed, and the line segment breaks in the character frame are combined. The effect of can be expected.
【0026】また、上記実施例の画像処理装置では、濃
度値テーブル44はx方向またはy方向の結合性を強調
する濃度値テーブルとして説明したが、必要に応じてy
方向の結合性のみを強調する濃度値テーブルを用いて濃
度値を決定するようにしてもよい。In the image processing apparatus of the above embodiment, the density value table 44 has been described as a density value table for emphasizing the connectivity in the x direction or the y direction.
The density value may be determined using a density value table that emphasizes only the connectivity in the directions.
【0027】また、上記実施例の画像処理装置では、関
数f(x,y)がx方向の画素及びy方向の画素のみを
用いた関数として説明したが、斜め方向の画素(例え
ば、本実施例に係る画像処理装置の第2の量子化パター
ンの一実施例を示す図7におけるP4 ,P5 ,P6 ,P
7 )を考慮した関数であってもよい。In the image processing apparatus of the above embodiment, the function f (x, y) has been described as a function using only pixels in the x direction and pixels in the y direction. P4, P5, P6, P in FIG. 7 showing one embodiment of the second quantization pattern of the image processing apparatus according to the example
It may be a function that considers 7).
【0028】さらに、上記実施例の画像処理装置では、
3×3の量子化パターンを用いた濃度値決定処理を説明
したが、さらにマトリクスを大きくした整数×整数個の
升目であってもよい。Further, in the image processing apparatus of the above embodiment,
Although the density value determination processing using a 3 × 3 quantization pattern has been described, the matrix may be an integer × an integer number of squares with a larger matrix.
【0029】[0029]
【発明の効果】以上説明したように、本発明の画像処理
装置によれば、読取走査部により読み取られた画像デー
タを量子化回路が整数×整数個の升目に分割した多値の
量子化パターンに変換し、その量子化パターンのx方向
またはy方向の結合性を強調する濃度値テーブルを用い
て濃度処理部が各画素の濃度値を決定するように構成し
たので、中間調の印刷色で印刷された文字枠の線分切れ
があっても切れた線分をつないで文字枠を正確に認識す
ることができるという効果がある。従って、また、入力
帳票を作成する上で特殊なドロップアウトカラーを用い
た印刷を不要とすることができ、帳票作成のためのコス
トを削減することができるというだけでなく、文字枠の
要求品質を一定緩和できるので画像処理装置が取り扱う
ことのできる帳票種類を増加させることができるという
効果がある。As described above, according to the image processing apparatus of the present invention, the quantization circuit divides the image data read by the reading / scanning unit into integer × integer cells and the multivalued quantization pattern. The density processing unit is configured to determine the density value of each pixel by using the density value table that emphasizes the connectivity of the quantization pattern in the x direction or the y direction. Even if a line segment of the printed character frame is broken, it is possible to connect the broken line segments and accurately recognize the character frame. Therefore, it is possible to eliminate the need for printing using a special dropout color when creating an input form and reduce the cost for creating a form, as well as the required quality of the character frame. Can be alleviated to a certain extent, so that there is an effect that it is possible to increase the types of forms that can be handled by the image processing apparatus.
【図1】本実施例に係る画像処理装置の機能ブロックの
構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of functional blocks of an image processing apparatus according to an embodiment.
【図2】本実施例に係る画像処理装置の第1の量子化パ
ターンの一実施例を示す図である。FIG. 2 is a diagram showing an example of a first quantization pattern of the image processing apparatus according to the present embodiment.
【図3】本実施例に係る画像処理装置の第1の濃度値テ
ーブルの一実施例を示す図である。FIG. 3 is a diagram showing an example of a first density value table of the image processing apparatus according to the present embodiment.
【図4】本実施例に係る画像処理装置における読み取り
画像データの量子化パターンを示す図である。FIG. 4 is a diagram showing a quantization pattern of read image data in the image processing apparatus according to the present embodiment.
【図5】本実施例に係る画像処理装置における画像デー
タの読み取りイメージを示す図である。FIG. 5 is a diagram showing a read image of image data in the image processing apparatus according to the present embodiment.
【図6】本実施例に係る画像処理装置の第2の濃度値テ
ーブルの一実施例を示す図である。FIG. 6 is a diagram showing an example of a second density value table of the image processing apparatus according to the present embodiment.
【図7】本実施例に係る画像処理装置の第2の量子化パ
ターンの一実施例を示す図である。FIG. 7 is a diagram showing an example of a second quantization pattern of the image processing apparatus according to the present embodiment.
【図8】従来の第1の画像処理装置の機能ブロックの概
念的な構成を示すブロック図である。FIG. 8 is a block diagram showing a conceptual configuration of functional blocks of a conventional first image processing apparatus.
【図9】従来の第1の画像処理装置の文字読み取り原理
を説明するための図である。FIG. 9 is a diagram for explaining a character reading principle of a conventional first image processing apparatus.
【図10】第1の画像処理装置による読取り処理での文
字及び文字枠に対する走査と光電変換出力信号を示す図
である。FIG. 10 is a diagram showing scanning and photoelectric conversion output signals for a character and a character frame in a reading process by the first image processing apparatus.
【図11】従来の第2の画像処理装置による読取り処理
を説明するための、文字及び文字枠を含む帳票イメージ
と、文字枠を抜き出した文字イメージを示す図である。FIG. 11 is a diagram illustrating a form image including characters and a character frame and a character image in which the character frame is extracted, for explaining the reading process by the second conventional image processing apparatus.
【図12】従来の第2の画像処理装置による読取り処理
において、読み取られる文字及び文字枠のイメージの輪
郭と、文字枠部分のみの輪郭追跡結果を示す図である。FIG. 12 is a diagram showing contours of an image of a character and a character frame to be read and a contour tracking result of only a character frame portion in a reading process by a second conventional image processing apparatus.
41 読取走査部 42 A/D変換部 43 多値バッファ 44 濃度値テーブル 45 濃度処理部 46 2値化処理部 47 フォーマットデータ及び文字枠データ 48 文字枠検出部 49 文字切り出し部 50 認識辞書 51 認識部 41 Reading / scanning unit 42 A / D conversion unit 43 Multi-valued buffer 44 Density value table 45 Density processing unit 46 Binarization processing unit 47 Format data and character frame data 48 Character frame detection unit 49 Character cutout unit 50 Recognition dictionary 51 Recognition unit
Claims (1)
ンに沿って光を照射し、原稿面からの反射光を画像読取
手段の感光素子に結像させて、画像を光学的に読取る画
像処理装置において、 画像データを整数×整数個の升目に分割した多値の量子
化パターンに変換する量子化回路と、x方向またはy方
向の結合性を強調する結合テーブルと、結合テーブルを
用いて各画素の濃度値を決定する濃度処理部を備え、 線分切れを起こした文字枠を結線することを特徴とする
画像処理装置。1. An image is optically read by irradiating the surface of the original on which an image is drawn with light along a predetermined scanning line, forming the reflected light from the original surface on a photosensitive element of the image reading means, and reading the image optically. In an image processing device, a quantization circuit for converting image data into a multi-valued quantization pattern divided into integer × integer boxes, a connection table for emphasizing connectivity in the x direction or the y direction, and a connection table are used. An image processing apparatus comprising a density processing unit that determines a density value of each pixel by connecting the character frames with broken line segments.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4156871A JPH064705A (en) | 1992-06-16 | 1992-06-16 | Picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4156871A JPH064705A (en) | 1992-06-16 | 1992-06-16 | Picture processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH064705A true JPH064705A (en) | 1994-01-14 |
Family
ID=15637216
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4156871A Pending JPH064705A (en) | 1992-06-16 | 1992-06-16 | Picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH064705A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8189921B2 (en) | 2008-03-31 | 2012-05-29 | Fujitsu Frontech Limited | Character recognition device |
-
1992
- 1992-06-16 JP JP4156871A patent/JPH064705A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8189921B2 (en) | 2008-03-31 | 2012-05-29 | Fujitsu Frontech Limited | Character recognition device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0187911B1 (en) | Method and apparatus for thresholding image data | |
| US6373981B1 (en) | Method and apparatus for segmenting data to create mixed raster content planes | |
| US7133559B2 (en) | Image processing device, image processing method, image processing program, and computer readable recording medium on which image processing program is recorded | |
| US5086486A (en) | Apparatus for reading a document and processing the image | |
| JPS58146973A (en) | Segmenting method of character line and character | |
| JPH064705A (en) | Picture processor | |
| JPH08123901A (en) | Character extraction device and character recognition device using this device | |
| JPH04287179A (en) | Method and device for processing image information and image information transmitter | |
| JP2760791B2 (en) | Image information processing device | |
| JP2853140B2 (en) | Image area identification device | |
| JP3792402B2 (en) | Image processing apparatus, binarization method, and machine-readable recording medium recording a program for causing a computer to execute the binarization method | |
| JPH0550187B2 (en) | ||
| JP2877548B2 (en) | Document image attribute discrimination method | |
| JP2881066B2 (en) | How to determine the attributes of text images | |
| JP3210378B2 (en) | Image input device | |
| JPS5949671A (en) | Optical character reader | |
| JP2964980B2 (en) | Linear component detection method and apparatus in optical character recognition | |
| JP3754721B2 (en) | Image processing apparatus and method | |
| JP2853141B2 (en) | Image area identification device | |
| JP2824991B2 (en) | Image identification method | |
| JPH0795397A (en) | Document reader | |
| JP2507948B2 (en) | Image area identification device | |
| JP3361905B2 (en) | Optical character reader | |
| JPS63116282A (en) | Ocr with image input | |
| JPH05344329A (en) | Picture area discriminating device |