JP3145265B2 - Character recognition device - Google Patents
Character recognition deviceInfo
- Publication number
- JP3145265B2 JP3145265B2 JP03103695A JP3103695A JP3145265B2 JP 3145265 B2 JP3145265 B2 JP 3145265B2 JP 03103695 A JP03103695 A JP 03103695A JP 3103695 A JP3103695 A JP 3103695A JP 3145265 B2 JP3145265 B2 JP 3145265B2
- Authority
- JP
- Japan
- Prior art keywords
- recognition processing
- area
- unit
- recognition
- priority
- 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.)
- Expired - Fee Related
Links
Landscapes
- Character Input (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、文字認識処理装置に
関する。特に、オペレータが文字認識装置に対して認識
処理させたい領域を指示する型の文字認識装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition processing device. In particular, the present invention relates to a character recognition device of a type in which an operator indicates an area to be recognized by the character recognition device.
【0002】[0002]
【従来の技術】従来の文字認識処理装置においては、オ
ペレータが、画像データのうちの認識処理させたい領域
(以下、この領域を認識処理領域とも称する)を指定す
ることにより、この領域の認識処理が実行される。この
ため、この種の文字認識装置は、媒体上の文字・図形の
画像データを格納する画像記憶部、画像データを表示す
る表示部、画像データのうちの認識処理領域を指定する
入力部および指定された認識処理領域から文字単位に画
像データを切り出して文字を認識する認識部を具えてい
た。2. Description of the Related Art In a conventional character recognition processing apparatus, an operator designates an area of image data to be subjected to recognition processing (hereinafter, this area is also referred to as a recognition processing area). Is executed. For this reason, this type of character recognition device includes an image storage unit that stores image data of characters and graphics on a medium, a display unit that displays image data, an input unit that specifies a recognition processing area of the image data, and a specification unit. And a recognition unit that recognizes characters by cutting out image data in character units from the recognized recognition processing area.
【0003】具体的には、入力部は、ライトペンやマウ
ス等のようなポインティングデバイスで構成され、表示
部は、CRT等の表示器で構成されていた。そして、C
RT上に表示された画像データの所望の位置をオペレー
タがポインティングデバイスを用いて指定することによ
り、認識処理領域が指定されていた。[0003] Specifically, the input unit is constituted by a pointing device such as a light pen or a mouse, and the display unit is constituted by a display such as a CRT. And C
An operator specifies a desired position of the image data displayed on the RT using a pointing device, thereby specifying a recognition processing area.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、従来の
文字認識処理装置においては、同一領域の重複認識によ
る認識速度の低下を防ぐために、2つ以上の領域に分か
れた部分を1つの認識処理領域として指定することな
く、個別に指定していた。また、大きさの互いに異なる
文字を含む領域や、文字行が部分的にずれた領域を含む
領域を指定する場合には、文字等の認識精度を考慮し
て、文字の大きさや文字行毎に領域を分割して指定する
必要があった。このため、特に、大きさの互いに異なる
文字等が複雑に入り組んだ画像から認識処理領域を指定
する場合には、認識しようとする領域を細かく分けて一
つ一つ指定しなければならなかった。その結果、指定す
る領域の数が増加して、オペレータの作業負担がしばし
ば増大してしまうという問題があった。However, in the conventional character recognition processing device, a portion divided into two or more regions is regarded as one recognition processing region in order to prevent a reduction in the recognition speed due to overlapping recognition of the same region. They were specified individually without being specified. In addition, when specifying an area including a character having a different size or an area including an area in which a character line is partially shifted, in consideration of the recognition accuracy of the character or the like, the size of the character or the character line is determined for each character line. The area had to be divided and specified. For this reason, in particular, when specifying a recognition processing area from an image in which characters and the like having different sizes are complicatedly complicated, the area to be recognized must be divided into small pieces and specified one by one. As a result, there is a problem that the number of designated areas increases and the work load of the operator often increases.
【0005】さらに、認識された文字の出力順序を考慮
して、領域を指定する順序の考慮が必要となる場合もあ
った。In some cases, it is necessary to consider the order in which the areas are specified in consideration of the output order of the recognized characters.
【0006】このため、認識処理領域の指定が容易な文
字認識処理装置の実現が望まれていた。For this reason, it has been desired to realize a character recognition processing device in which a recognition processing area can be easily specified.
【0007】[0007]
【課題を解決するための手段】この発明の文字認識装置
によれば、画像データを格納する画像記憶部、該画像デ
ータを表示する表示部、前記画像データのうちの認識処
理領域を指定する入力部、該認識処理領域から文字単位
に画像データを切り出して文字を認識する認識部を具え
た文字認識装置において、認識処理領域の優先順位を設
定する優先順位設定部を具え、複数の認識処理領域同士
の重なり領域がある場合に、優先順位が下位である認識
処理領域を、当該認識処理領域の範囲内であって、且
つ、重なり領域を除く、全ての当該認識処理領域の範囲
を含むように、新たな1つ以上の認識処理領域に変更す
る領域処理部を具えてなることを特徴とする。According to the character recognition apparatus of the present invention, an image storage section for storing image data, a display section for displaying the image data, and an input for designating a recognition processing area in the image data. A character recognition device having a recognition unit for recognizing a character by cutting out image data in character units from the recognition processing region, comprising a priority setting unit for setting a priority of the recognition processing region; When there is an overlapping area between the recognition processing areas, the recognition processing area having the lower priority is set so as to be within the range of the recognition processing area and to include the entire range of the recognition processing area excluding the overlapping area. , An area processing unit for changing to one or more new recognition processing areas.
【0008】また、好ましくは、優先順位設定部は、認
識処理領域の指定順序を、当該認識処理領域の優先順位
として設定する構成であると良い。[0008] Preferably, the priority setting unit sets the designation order of the recognition processing areas as the priority of the recognition processing areas.
【0009】また、好ましくは、領域処理部は、指定さ
れた認識処理領域同士の重なり領域を検出する領域重な
り検出部を具え、優先順位が下位である認識処理領域
を、優先順位が下位の当該認識処理領域の範囲内であっ
て、且つ、当該重なり領域を除く、全ての下位認識処理
領域の範囲を含むように、新たな1つ以上の認識処理領
域に変更する領域変更部を具えてなると良い。Preferably, the area processing section includes an area overlap detecting section for detecting an overlapping area between the specified recognition processing areas, and the recognition processing area having the lower priority is assigned to the area having the lower priority. An area change unit that changes to one or more new recognition processing areas so as to be within the range of the recognition processing area and to include the range of all lower recognition processing areas except for the overlapping area is provided. good.
【0010】また、好ましくは、領域処理部は、指定さ
れた認識処理領域の座標を、当該認識処理領域に所属す
る全ての画素の座標に変換する領域画素変換部を具え、
2つ以上の認識処理領域に所属することになる画素を、
優先順位が上位の認識処理領域に所属させ、かつ、各画
素の座標および各画素が所属する認識処理領域をそれぞ
れ記憶する画素所属記憶部を具えてなることが良い。Preferably, the area processing section includes an area pixel conversion section for converting coordinates of the designated recognition processing area into coordinates of all pixels belonging to the recognition processing area,
Pixels that belong to two or more recognition processing areas are
It is preferable to include a pixel belonging storage unit that belongs to the recognition processing area having a higher priority and stores the coordinates of each pixel and the recognition processing area to which each pixel belongs.
【0011】また、表示部を、優先順位が互いに異なる
複数の認識処理領域を、それぞれが視覚的に区別できる
形式で重ねて表示する構成とすることが望ましい。Further, it is desirable that the display unit is configured to display a plurality of recognition processing areas having different priorities in a manner that can be visually distinguished from each other.
【0012】[0012]
【作用】この発明の文字認識処理装置によれば、認識処
理領域の優先順位を設定する優先順位設定部を具え、複
数の認識処理領域同士の重なり領域がある場合に、優先
順位が下位である認識処理領域を、当該認識処理領域の
範囲内であって、且つ、重なり領域を除く、全ての当該
認識処理領域の範囲を含むように、新たな1つ以上の認
識処理領域に変更する領域処理部を具えている。このた
め、2つ以上の領域に分かれた部分を1つの認識処理領
域として1度に指定することができる。According to the character recognition processing device of the present invention, the character recognition processing device is provided with a priority order setting unit for setting the priority order of the recognition processing regions. Area processing for changing the recognition processing area to one or more new recognition processing areas so as to be within the range of the recognition processing area and to include the entire range of the recognition processing area except for the overlapping area. Department. Therefore, a portion divided into two or more regions can be designated at one time as one recognition processing region.
【0013】従って、認識処理領域を指定する際に、認
識処理領域の指定回数を少なくすることができる。その
結果、認識処理領域の指定を容易に行うことができるの
で、オペレータの作業負担を軽減することができる。Therefore, when designating a recognition processing area, the number of times the recognition processing area is designated can be reduced. As a result, the recognition processing area can be easily specified, so that the work load on the operator can be reduced.
【0014】また、優先順位設定部において、認識処理
領域の指定順序を優先順位として優先順位を設定すれ
ば、オペレータがいちいち指示しなくとも自動的に優先
順位を設定することができる。このため、その結果、認
識処理領域の指定を容易に行うことができるので、オペ
レータの作業負担をより軽減することができる。Further, if the priority order is set in the priority order setting section with the designation order of the recognition processing areas as the priority order, the priority order can be automatically set without the operator having to give each instruction. Therefore, as a result, the recognition processing area can be easily specified, so that the work load on the operator can be further reduced.
【0015】また、優先順位変更部を具えた場合、1度
設定された各認識処理領域の優先順位を変更することが
できる。その結果、例えば、文字が認識された順番で出
力される場合に、認識された文字の出力順序を考慮し
て、認識処理領域の優先順位を所望の順位に指定し直す
ことができる。従って、1回目の認識処理領域の指定時
に、出力順序を考慮しなくとも済む。その結果、認識処
理領域の指定を容易に行うことができるので、オペレー
タの作業負担をより軽減することができる。When a priority change unit is provided, the priority of each recognition processing area set once can be changed. As a result, for example, when the characters are output in the recognized order, the priority of the recognition processing area can be re-designated to a desired order in consideration of the output order of the recognized characters. Therefore, it is not necessary to consider the output order when specifying the first recognition processing area. As a result, the recognition processing area can be easily specified, so that the operator's work load can be further reduced.
【0016】また、領域画素変換部を設けて、指定され
た認識処理領域の座標を、当該認識処理領域に所属する
全ての画素の座標に変換し、さらに、画素所属記憶部に
おいて、2つ以上の認識処理領域に所属することになる
画素を、優先順位が上位の認識処理領域に所属させれ
ば、下位の認識処理領域を、重なり領域を除く、新たな
1つ以上の認識処理領域に変更することができる。この
場合、画素の所属に注目することにより、実質的に重な
り理領域を検出している。このため、この場合は、他に
重なり領域を検出する手段を設ける必要がない。An area pixel conversion unit is provided to convert the coordinates of the designated recognition processing area into the coordinates of all the pixels belonging to the recognition processing area. If the pixels that belong to the recognition processing area of the above belong to the recognition processing area of higher priority, the lower recognition processing area is changed to one or more new recognition processing areas excluding the overlapping area. can do. In this case, by paying attention to the affiliation of the pixel, the overlap region is substantially detected. Therefore, in this case, there is no need to provide another means for detecting the overlapping area.
【0017】また、表示部を、優先順位が互いに異なる
複数の認識処理領域を、それぞれが視覚的に区別できる
形式で重ねて表示する構成とすれば、認識処理領域の範
囲および優先順位がオペレータが意図したものであるか
否かの確認が容易にできるので、さらに好適である。Further, if the display unit is configured to display a plurality of recognition processing areas having different priorities in a form that can be visually distinguished from each other, the operator can determine the range and priority of the recognition processing areas. This is more preferable because it can be easily confirmed whether or not it is intended.
【0018】[0018]
【実施例】以下、図面を参照して、この発明の文字認識
装置の例について説明する。尚、参照する図面は、この
発明が理解できる程度に各構成成分の大きさ、形状およ
び配置関係を概略的に示してあるにすぎない。従って、
この発明は、図示例にのみ限定されるものでないことは
明らかである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an example of a character recognition device according to the present invention will be described with reference to the drawings. It should be noted that the drawings referred to merely schematically show the sizes, shapes, and arrangements of the components so that the present invention can be understood. Therefore,
It is clear that the invention is not limited only to the illustrated examples.
【0019】<第1実施例> (構成の説明)先ず、第1実施例の文字認識装置の構成
について説明する。図1は、第1実施例の文字認識装置
の構成を概略的に示したブロック図である。First Embodiment (Description of Configuration) First, the configuration of the character recognition device of the first embodiment will be described. FIG. 1 is a block diagram schematically showing the configuration of the character recognition device of the first embodiment.
【0020】第1実施例の文字認識処理装置90は、画
像データを格納する画像記憶部10、この画像データを
表示する表示部12、画像データのうちの認識処理領域
を指定する入力部14、および、この認識処理領域から
文字単位に画像データを切り出して文字を認識する認識
部16を具えている。The character recognition processing device 90 of the first embodiment includes an image storage unit 10 for storing image data, a display unit 12 for displaying the image data, an input unit 14 for designating a recognition processing area of the image data, A recognition unit 16 is provided for recognizing characters by cutting out image data in character units from the recognition processing area.
【0021】そして、この文字認識装置は、優先順位設
定部18と領域処理部20とを具えている。さらに、こ
の実施例では、これら各部は制御部22を介して繋がっ
ている。The character recognition device includes a priority setting section 18 and an area processing section 20. Further, in this embodiment, these units are connected via the control unit 22.
【0022】また、この実施例の認識部16は、行位置
検出部24、文字切り出し部26および識別部28を具
えている。この行位置検出部24は、画像記憶部10に
格納してある画像データのうちの指定された認識処理領
域から文字行データを切り出す。そして、文字切り出し
部26は、文字行データから1文字単位に文字パターン
データを切り出す。そして、識別部28は、切り出され
た文字パターンデータを例えば辞書と照合して識別す
る。The recognition section 16 of this embodiment includes a line position detection section 24, a character cutout section 26, and an identification section 28. The line position detection unit 24 cuts out character line data from a specified recognition processing area in the image data stored in the image storage unit 10. Then, the character extracting unit 26 extracts character pattern data from the character line data in units of one character. Then, the identification unit 28 identifies the cut-out character pattern data by comparing it with, for example, a dictionary.
【0023】また、この優先順位設定部18は、認識処
理領域の優先順位を設定する構成となっている。この実
施例では、優先順位設定部18は、認識処理領域の指定
順序を優先順位として優先順位を設定する構成としてあ
る。The priority setting section 18 is configured to set the priority of the recognition processing area. In this embodiment, the priority order setting unit 18 is configured to set the priority order based on the order in which the recognition processing areas are specified.
【0024】また、この領域処理部20は、複数の認識
処理領域同士の重なり領域がある場合に、優先順位が下
位である認識処理領域を、当該認識処理領域の範囲内で
あって、且つ、重なり領域を除く、全ての当該認識処理
領域の範囲を含むように、新たな1つ以上の認識処理領
域に変更する構成となっている。Further, when there is an overlapping area between a plurality of recognition processing areas, the area processing section 20 changes the recognition processing area having a lower priority within the range of the recognition processing area, and The configuration is changed to one or more new recognition processing areas so as to include the entire range of the recognition processing area except for the overlapping area.
【0025】この実施例では、認識処理部20は、領域
重なり検出部30および領域変更部32を具えている。
この領域重なり検出部30は、指定された認識処理領域
同士の重なり領域を検出する。そして、この領域変更部
32は、優先順位が下位である認識処理領域を、優先順
位が下位の当該認識処理領域の範囲内であって、且つ、
当該重なり領域を除く、全ての下位認識処理領域の範囲
を含むように、新たな1つ以上の認識処理領域に変更す
る。尚、新たな認識処理領域が2つ以上の場合は、新し
い認識処理領域同士は互いに重なり合わない領域に分か
れる。In this embodiment, the recognition processing section 20 includes an area overlap detection section 30 and an area change section 32.
The area overlap detection unit 30 detects an overlap area between the specified recognition processing areas. Then, the area changing unit 32 determines that the recognition processing area having the lower priority is within the range of the recognition processing area having the lower priority, and
The area is changed to one or more new recognition processing areas so as to include the range of all lower recognition processing areas excluding the overlapping area. If there are two or more new recognition processing areas, the new recognition processing areas are divided into areas that do not overlap with each other.
【0026】また、この実施例では、この表示部12
は、優先順位が互いに異なる複数の認識処理領域を、そ
れぞれが視覚的に区別できる形式で重ねて表示する構成
となっている。具体的には、たとえば、互いに異なる線
種、色または輝度を以って表示し、且つ、重ねて表示す
る構成となっている。In this embodiment, the display unit 12
Has a configuration in which a plurality of recognition processing areas having different priorities are superimposed and displayed in a format that can be visually distinguished from each other. Specifically, for example, it is configured to display with different line types, colors, or luminances, and to overlap and display.
【0027】(動作の説明)以下、この実施例の文字認
識装置の動作について説明する。(Description of Operation) The operation of the character recognition device of this embodiment will be described below.
【0028】図2の(A)〜(C)は、第1実施例にお
ける認識処理領域の説明に供する図である。この実施例
では、図2に示す文字群からなる画像データの文字認識
を行う。図2には、互いに大きさが異なる文字種からな
る文字群が示されている。この文字群は、中央部に、比
較的大きな文字種が縦書きで配置されており、この大き
な文字種を挟んでその両側に、比較的小さな文字種の文
字群が配置されている。FIGS. 2A to 2C are views for explaining the recognition processing area in the first embodiment. In this embodiment, character recognition of image data composed of the character group shown in FIG. 2 is performed. FIG. 2 shows a character group including character types having different sizes. In this character group, a relatively large character type is vertically arranged in the center, and a relatively small character type character group is arranged on both sides of the large character type.
【0029】・(認識処理領域の指定時の動作) 次に、図3および図4に示すフローチャートを参照し
て、第1実施例における、認識処理領域の指定時の文字
認識装置の動作について説明する。(Operation when Designating Recognition Processing Area) Next, the operation of the character recognition device when designating a recognition processing area in the first embodiment will be described with reference to the flowcharts shown in FIGS. I do.
【0030】先ず、画像記憶部10に画像データSを格
納する(1)。次に、制御部22に画像記憶部10内の
画像データSを読み込み、この画像データおよびこれを
表示させる際の色データを表示部12に転送する
(2)。次に、表示部12の表示器に制御部22より転
送された画像データを、制御部22より指示された色で
表示する(3)。この実施例では、図2に示す文字群が
表示される。尚、表示の際の色については、入力部によ
り任意に設定することができる。First, the image data S is stored in the image storage unit 10 (1). Next, the image data S in the image storage unit 10 is read into the control unit 22, and the image data and color data for displaying the image data are transferred to the display unit 12 (2). Next, the image data transferred from the control unit 22 is displayed on the display of the display unit 12 in the color designated by the control unit 22 (3). In this embodiment, the character group shown in FIG. 2 is displayed. The color at the time of display can be arbitrarily set by the input unit.
【0031】・・(1回目の指定) 次に、オペレータは、入力部14のポインティングデバ
イス等を用いて、表示部12に表示された画像データの
うちから認識処理領域を指定する(4)。ここでは、図
2の(A)に示す、点A、B、C、Dで囲まれた矩形の
認識処理領域100を指定する。(First designation) Next, the operator uses the pointing device or the like of the input unit 14 to designate a recognition processing area from the image data displayed on the display unit 12 (4). Here, a rectangular recognition processing area 100 surrounded by points A, B, C, and D shown in FIG.
【0032】次に、入力部14は、指定された認識処理
領域100の座標(点A、B、C、D)を制御部22に
出力する(5)。次に、優先順位設定部18は、指定さ
れた認識処理領域100に対して、制御部22を介し
て、認識処理領域の指定順序を優先順位として優先順位
を設定する(6)。従って、認識処理領域100は、1
回目に指定されたので優先順位は1番目となる。Next, the input unit 14 outputs the coordinates (points A, B, C, D) of the designated recognition processing area 100 to the control unit 22 (5). Next, the priority setting unit 18 sets a priority in the specified recognition processing area 100 via the control unit 22 with the specified order of the recognition processing areas as a priority (6). Therefore, the recognition processing area 100 is 1
Since it was specified the second time, it has the first priority.
【0033】次に、制御部22から、認識処理領域10
0の座標を領域処理部20中の領域重なり検出部30に
出力する(7)。次に、重なり領域検出部30におい
て、既に指定されている認識処理領域と新たに指定され
た認識処理領域との重なり領域を検出する(8)。ここ
では、1回目の指定なので重なり領域は無い。次に、重
なり領域が無い場合は、認識処理領域100の座標(点
A、B、C、D)のみを、領域処理部20中の領域変更
部32に出力する(9a)。Next, from the control unit 22, the recognition processing area 10
The coordinates of 0 are output to the area overlap detection section 30 in the area processing section 20 (7). Next, the overlapping area detecting unit 30 detects an overlapping area between the already specified recognition processing area and the newly specified recognition processing area (8). Here, there is no overlapping area since it is the first designation. Next, when there is no overlapping area, only the coordinates (points A, B, C, and D) of the recognition processing area 100 are output to the area changing unit 32 in the area processing unit 20 (9a).
【0034】次に、領域変更部32は、認識処理領域1
00の座標のみが入力された場合、即ち、重なり領域が
無い場合は、その座標(点A、B、C、D)をそのまま
制御部22に出力する(10a)。次に、制御部22
は、入力された認識処理領域100の座標(点A、B、
C、D)および、認識処理領域の境界線を表示させる際
の色データを表示部12に転送する(11)。Next, the area changing unit 32 executes the recognition processing area 1
When only the coordinates of 00 are input, that is, when there is no overlapping area, the coordinates (points A, B, C, and D) are output to the control unit 22 as they are (10a). Next, the control unit 22
Are the coordinates of the input recognition processing area 100 (points A, B,
C, D) and the color data for displaying the boundary of the recognition processing area are transferred to the display unit 12 (11).
【0035】次に、表示部12は、制御部22から転送
された認識処理領域100の座標(点A、B、C、D)
および色データに従って、認識処理領域100の境界線
を、既に表示されている画像データに重ねて、表示す
る。この表示の様子を図2の(A)に示す(12)。
尚、未指定の認識処理領域がなければ、ここで認識処理
領域の指定の動作は終了するが、ここでは、引き続き、
第2回目の認識処理領域の指定を行う。Next, the display unit 12 displays the coordinates (points A, B, C, and D) of the recognition processing area 100 transferred from the control unit 22.
The boundary line of the recognition processing area 100 is displayed so as to be superimposed on the already displayed image data according to the color data. This display is shown in FIG. 2A (12).
If there is no unspecified recognition processing area, the operation of specifying the recognition processing area ends here.
A second recognition processing area is specified.
【0036】・・(2回目の指定) 次に、1回目の指定と同様に、表示部12に表示された
画像データのうちから認識処理領域を指定する(4)。
2回目は、図2の(B)に示す、点E、F、G、Hで囲
まれた矩形の認識処理領域102を指定する。次に、入
力部14は、指定された認識処理領域102の座標(点
E、F、G、H)を制御部22に出力する(5)。(Second designation) Next, similarly to the first designation, a recognition processing area is designated from the image data displayed on the display unit 12 (4).
In the second time, a rectangular recognition processing area 102 surrounded by points E, F, G, and H shown in FIG. 2B is specified. Next, the input unit 14 outputs the coordinates (points E, F, G, H) of the specified recognition processing area 102 to the control unit 22 (5).
【0037】次に、優先順位設定部18は、指定された
認識処理用域102に対して、制御部22を介して、認
識処理領域の指定順序を優先順位として優先順位を設定
する(6)。従って、認識処理領域102は、2回目に
指定されたので優先順位は2番目なる。次に、制御部2
2から、認識処理領域100の座標を領域処理部20中
の領域重なり検出部30に出力する(7)。次に、重な
り領域検出部30において、既に指定されている認識処
理領域と新たに指定された認識処理領域との重なり領域
を検出する(8)。Next, the priority setting unit 18 sets the priority in the designated recognition processing area 102 through the control unit 22 with the specified order of the recognition processing areas as the priority (6). . Therefore, the recognition processing area 102 has the second priority since it has been designated for the second time. Next, the control unit 2
From step 2, the coordinates of the recognition processing area 100 are output to the area overlap detection section 30 in the area processing section 20 (7). Next, the overlapping area detecting unit 30 detects an overlapping area between the already specified recognition processing area and the newly specified recognition processing area (8).
【0038】重なり領域の検出にあたっては、例えば、
次にように検出すれば良い。先ず、認識処理領域内に、
既に指定された領域があるかどうか(他の領域が含まれ
ているか否か)を確認する。既に指定された領域がある
場合は、この含まれた領域が全て重なり領域となる。次
に、認識処理領域の境界線を仮想的に作成し、この境界
線が、他の領域の境界線と交わる点を確認する。これは
領域同士が交わるか否かの確認となる。ここでは、境界
線同士が交わっており、2回目に指定された認識処理領
域102と、1回目の指定された認識処理領域100と
は、点a、b、c、dで囲まれた領域(図2の(B)に
おいて、大きな文字の縦書き「いうえ」を含む領域)が
重なっている。従って、この領域が重なり領域として検
出される。In detecting the overlapping area, for example,
What is necessary is just to detect as follows. First, in the recognition processing area,
Check whether the specified area already exists (whether another area is included). If there is an already specified area, all of the included areas become overlapping areas. Next, a boundary line of the recognition processing region is virtually created, and a point at which this boundary line intersects with the boundary line of another region is confirmed. This is to confirm whether or not the regions intersect. Here, the boundary lines intersect with each other, and the recognition processing area 102 specified for the second time and the recognition processing area 100 specified for the first time are areas surrounded by points a, b, c, and d ( In FIG. 2 (B), large characters (areas including vertical writing "Iue") overlap. Therefore, this area is detected as an overlapping area.
【0039】次に、重なり領域が検出された場合は、重
なり領域の座標(点a、b、c、d)と、優先順位が下
位の認識処理領域、即ち、この場合2回目に指定された
認識処理領域102の座標(点E、F、G、H)とを領
域処理部20中の領域変更部32に出力する(9b)。Next, when an overlapping area is detected, the coordinates (points a, b, c, and d) of the overlapping area and the recognition processing area having a lower priority, that is, the second time are specified in this case. The coordinates (points E, F, G, H) of the recognition processing area 102 are output to the area change unit 32 in the area processing unit 20 (9b).
【0040】次に、領域変更部32は、重なり領域の座
標が入力された場合、即ち、重なり領域が検出された場
合は、優先順位が下位である認識処理領域を、優先順位
が下位の当該認識処理領域の範囲内であって、且つ、当
該重なり領域を除く、全ての下位認識処理領域の範囲を
含むように、新たな1つ以上の認識処理領域に変更す
る。Next, when the coordinates of the overlapping area are input, that is, when the overlapping area is detected, the area changing unit 32 replaces the recognition processing area having the lower priority with the corresponding lower priority processing area. One or more new recognition processing areas are changed so as to be within the range of the recognition processing area and to include the range of all the lower recognition processing areas excluding the overlapping area.
【0041】尚、ここで、全ての認識処理領域を含むと
は、指定された認識処理領域に含まれていた文字や図形
が、取りこぼしなく、変更後のいずれかの認識処理領域
に含まれるという意味である。従って、認識処理領域が
変更された結果、隣接する領域間に隙間が生じても差し
支えない。Here, "including all the recognition processing areas" means that the characters and figures included in the designated recognition processing area are included in any of the changed recognition processing areas without being missed. Meaning. Therefore, as a result of changing the recognition processing area, a gap may be generated between adjacent areas.
【0042】ここでは優先順位が下位の認識処理領域1
02を、点E、a、d、Hで囲まれた第1変更領域10
2aと、点b、F、G、cで囲まれた第2変更領域10
2bとに分ける。そして、変更された下位の認識処理領
域の座標(点E、a、d、H)および(点b、F、G、
c)をそれぞれ制御部22に出力する(10b)。Here, the recognition processing area 1 having a lower priority order
02 in the first change area 10 surrounded by points E, a, d, and H
2a and a second change area 10 surrounded by points b, F, G, and c
2b. Then, the coordinates (points E, a, d, and H) and (points b, F, G, and
c) is output to the control unit 22 (10b).
【0043】次に、制御部22は、変更された入力され
た認識処理領域102aの座標(点E、a、d、H)、
102bの座標(点b、F、G、c)、および、認識処
理領域102aおよび102bそれぞれの境界線を表示
させる際の色データを表示部12に転送する(11)。Next, the control unit 22 determines the coordinates (points E, a, d, and H) of the changed input recognition processing area 102a,
The coordinates (points b, F, G, and c) of 102b and the color data for displaying the boundaries of the recognition processing areas 102a and 102b are transferred to the display unit 12 (11).
【0044】次に、表示部12は、制御部22から転送
された第1変更領域の座標(点E、a、d、H)および
第2変更領域の座標(点b、F、G、c)それぞれの境
界線を、色データに従って、既に表示されている画像デ
ータに重ねて、表示する。この表示の様子を図2の
(C)に示す(12)。Next, the display unit 12 displays the coordinates of the first changed area (points E, a, d, H) and the coordinates of the second changed area (points b, F, G, c) transferred from the control unit 22. 3) Display each boundary line in accordance with the color data so as to overlap the already displayed image data. This display is shown in FIG. 2C (12).
【0045】この実施例では、2回の指定で、画像デー
タのうちの認識処理させたい領域全ての認識処理領域を
指定したので、認識処理領域の指定の動作はこれで終了
する。In this embodiment, since the recognition processing areas of all the areas to be subjected to the recognition processing in the image data are specified by the twice specification, the operation of specifying the recognition processing areas is completed.
【0046】・(優先順位の設定の変更時の動作) 次に、図5に示すフローチャートを参照して、第1実施
例における、認識処理領域の優先順位の変更時の文字認
識装置の動作について説明する。一旦指定した認識処理
領域の優先順位を変更する場合は、以下のように動作す
る。(Operation when Changing Priority Setting) Next, with reference to the flowchart shown in FIG. 5, the operation of the character recognition apparatus when changing the priority of the recognition processing area in the first embodiment. explain. When the priority of the designated recognition processing area is changed, the operation is performed as follows.
【0047】先ず、オペレータは、入力部14のポイン
ティングデバイス等を用いて、上述した認識処理領域の
指定の際と同様に、新たな優先順位に従って、順次に認
識処理領域を指定する(1)。これに応じて、優先順位
設定部18は、指定された認識処理用域に対して、制御
部22を介して、認識処理領域の指定順序を優先順位と
して優先順位を設定する(2)。First, the operator uses the pointing device or the like of the input unit 14 to sequentially specify the recognition processing areas in accordance with the new priority order in the same manner as when specifying the recognition processing areas (1). In response to this, the priority setting unit 18 sets the priority of the designated recognition processing area via the control unit 22 with the specified order of the recognition processing areas as the priority (2).
【0048】但し、優先順位を変更する場合は、既に表
示部に表示されている認識処理領域を消去するため、も
う一度、制御部22に画像記憶部10内の画像データS
を読み込み、この画像データおよびこれを表示させる際
の色データを表示部12に転送する(3)。次に、表示
部12の表示器に制御部22より転送された画像データ
を、制御部22より指示された色で表示する(4)。However, when the priority order is changed, the control unit 22 is again instructed to delete the image data S in the image storage unit 10 in order to delete the recognition processing area already displayed on the display unit.
Is read, and the image data and the color data for displaying the image data are transferred to the display unit 12 (3). Next, the image data transferred from the control unit 22 is displayed on the display of the display unit 12 in the color designated by the control unit 22 (4).
【0049】次に、制御部22から、新たに設定された
優先順位に従って、順次に認識処理領域の座標を領域処
理部20中の領域重なり検出部30に出力する(5)。
以下、上述した認識処理領域の指定時と同様の動作によ
り、変更された優先順位に応じた認識処理領域の指定を
行うことができる。図5中の※1は、図3中の※1に繋
がる。また、図3中のは、図5中にに繋がることに
なる。Next, the control section 22 sequentially outputs the coordinates of the recognition processing area to the area overlap detection section 30 in the area processing section 20 according to the newly set priority order (5).
Hereinafter, by the same operation as the above-described operation of specifying the recognition processing area, the recognition processing area can be specified according to the changed priority. * 1 in FIG. 5 is connected to * 1 in FIG. Also, the one in FIG. 3 is connected to the one in FIG.
【0050】・(文字認識時の動作) 次に、図6に示すフローチャートを参照して、第1実施
例における、認識処理領域の優先順位の変更時の文字認
識装置の動作について説明する。この実施例では、従来
周知の文字認識方法により文字認識を行う。(Operation at Character Recognition) Next, with reference to the flowchart shown in FIG. 6, the operation of the character recognition device in the first embodiment when the priority of the recognition processing area is changed will be described. In this embodiment, character recognition is performed by a conventionally well-known character recognition method.
【0051】先ず、制御部22から、認識処理領域の座
標を認識部16中の行位置検出部24に転送する
(1)。次に、行位置検出部24は、転送された認識処
理領域を予め定めた方向(この場合は、図2に示すよう
に縦書き文章を認識対象としているため、紙面の縦方
向)に走査し、行単位に黒画素の累積数を計測して、周
辺分布を抽出する。そして、この周辺分布に基づいて行
位置を検出し、この行位置を文字切り出し部26へ出力
する(2)。First, the coordinates of the recognition processing area are transferred from the control unit 22 to the row position detection unit 24 in the recognition unit 16 (1). Next, the line position detection unit 24 scans the transferred recognition processing area in a predetermined direction (in this case, the vertical direction on the paper surface because vertical writing is to be recognized as shown in FIG. 2). Then, the peripheral number is extracted by measuring the cumulative number of black pixels for each row. Then, a line position is detected based on the peripheral distribution, and the line position is output to the character cutout unit 26 (2).
【0052】次に、文字切り出し部26は、入力された
行位置に基づいて、行領域内を予め定めた方向(この場
合は、紙面の横方向)に走査して列単位に黒画素の累積
数を計算して周辺分布を抽出する。そして、この周辺分
布に基づいて1文字単位に文字パタンデータを切り出
し、この文字パタンデータを識別部28へ出力する
(3)。Next, the character cutout unit 26 scans the line area in a predetermined direction (in this case, the horizontal direction of the paper) based on the input line position, and accumulates black pixels in column units. Calculate the number and extract the marginal distribution. Then, character pattern data is cut out in units of one character based on this peripheral distribution, and the character pattern data is output to the identification unit 28 (3).
【0053】次に、識別部28は、文字切り出し部26
から入力された文字パターンデータの特徴を従来から用
いられている好適な方法により抽出し、この特徴を予め
用意した辞書と照合した識別結果を制御部22に出力す
る(4)。次に、制御部22は、入力された識別結果を
表示部12に出力する。表示部12は、表示器に識別結
果を表示する(5)。Next, the identification unit 28 is a character cutout unit 26
The feature of the character pattern data input from the above is extracted by a suitable method conventionally used, and the identification result obtained by comparing the feature with a dictionary prepared in advance is outputted to the control unit 22 (4). Next, the control unit 22 outputs the input identification result to the display unit 12. The display unit 12 displays the identification result on the display (5).
【0054】次に、オペレータは、表示された認識結果
を確認する。認識結果に誤読または読み落としがあった
場合は、必要に応じて入力部14により修正を行う
(6)。次に、確認の結果、識別が正確に行われていた
場合または修正が済んだ場合は、確認結果を文字名出力
として外部装置に出力する(7)。Next, the operator confirms the displayed recognition result. If there is an erroneous or missed reading in the recognition result, it is corrected by the input unit 14 as necessary (6). Next, as a result of the confirmation, if the identification has been correctly performed or the correction has been completed, the confirmation result is output to an external device as a character name output (7).
【0055】<第2実施例> (構成の説明)先ず、第2実施例の文字認識装置の構成
について説明する。図7は、第2実施例の文字認識装置
の構成を概略的に示したブロック図である。Second Embodiment (Description of Configuration) First, the configuration of a character recognition device according to a second embodiment will be described. FIG. 7 is a block diagram schematically showing the configuration of the character recognition device of the second embodiment.
【0056】第2実施例の文字認識処理装置90は、画
像データを格納する画像記憶部10、この画像データを
表示する表示部12、画像データのうちの認識処理領域
を指定する入力部14、および、この認識処理領域から
文字単位に画像データを切り出して文字を認識する認識
部16を具えている。そして、この文字認識装置は、優
先順位設定部18と領域処理部36とを具えている。さ
らに、この実施例では、これら各部は制御部22を介し
て繋がっている。The character recognition processing device 90 of the second embodiment includes an image storage unit 10 for storing image data, a display unit 12 for displaying the image data, an input unit 14 for designating a recognition processing area of the image data, A recognition unit 16 is provided for recognizing characters by cutting out image data in character units from the recognition processing area. The character recognition device includes a priority setting unit 18 and an area processing unit 36. Further, in this embodiment, these units are connected via the control unit 22.
【0057】また、この実施例の認識部16は、行位置
検出部24、文字切り出し部26および識別部28を具
えている。この行位置検出部24は、画像記憶部10に
格納してある画像データのうちの指定された認識処理領
域から文字行データを切り出す。そして、文字切り出し
部26は、文字行データから1文字単位に文字パターン
データを切り出す。そして、識別部28は、切り出され
た文字パターンデータを例えば辞書と照合して識別す
る。The recognition section 16 of this embodiment includes a line position detection section 24, a character cutout section 26, and an identification section 28. The line position detection unit 24 cuts out character line data from a specified recognition processing area in the image data stored in the image storage unit 10. Then, the character extracting unit 26 extracts character pattern data from the character line data in units of one character. Then, the identification unit 28 identifies the cut-out character pattern data by comparing it with, for example, a dictionary.
【0058】また、この優先順位設定部18は、認識処
理領域の優先順位を設定する構成となっている。この実
施例では、優先順位設定部18は、認識処理領域の指定
順序を優先順位として優先順位を設定する構成としてあ
る。The priority setting section 18 is configured to set the priority of the recognition processing area. In this embodiment, the priority order setting unit 18 is configured to set the priority order based on the order in which the recognition processing areas are specified.
【0059】また、この実施例では、領域処理部36
は、領域画素変換部38および画素所属記憶部40とを
具えてなる。この領域画素変換部38は、指定された認
識処理領域の座標を、当該認識処理領域に所属する全て
の画素の座標に変換する。そして、画素所属記憶部40
は、2つ以上の認識処理領域に所属することになる画素
を、優先順位が上位の認識処理領域に所属させ、かつ、
各画素の座標および各画素が所属する認識処理領域をそ
れぞれ記憶する。In this embodiment, the area processing unit 36
Comprises an area pixel conversion unit 38 and a pixel belonging storage unit 40. The area pixel conversion unit 38 converts the coordinates of the designated recognition processing area into the coordinates of all pixels belonging to the recognition processing area. Then, the pixel belonging storage unit 40
Assigns pixels that belong to two or more recognition processing areas to a recognition processing area having a higher priority, and
The coordinates of each pixel and the recognition processing area to which each pixel belongs are stored.
【0060】また、この実施例では、この表示部12
は、優先順位が互いに異なる複数の認識処理領域を、そ
れぞれが視覚的に区別できる形式で重ねて表示する構成
となっている。具体的には、たとえば、互いに異なる線
種、色または輝度を以って表示し、且つ、重ねて表示す
る構成となっている。In this embodiment, the display unit 12
Has a configuration in which a plurality of recognition processing areas having different priorities are superimposed and displayed in a format that can be visually distinguished from each other. Specifically, for example, it is configured to display with different line types, colors, or luminances, and to overlap and display.
【0061】(動作の説明)以下、この実施例の文字認
識装置の動作について説明する。第2実施例において
も、図2に示す文字群からなる画像データの文字認識を
行う。(Description of Operation) The operation of the character recognition device of this embodiment will be described below. Also in the second embodiment, character recognition of image data composed of the character group shown in FIG. 2 is performed.
【0062】・(認識処理領域の指定時の動作) 次に、図8および図9に示すフローチャートを参照し
て、第2実施例における、認識処理領域の指定時の文字
認識装置の動作について説明する。(Operation when Designating Recognition Processing Area) Next, the operation of the character recognition device when designating a recognition processing area in the second embodiment will be described with reference to the flowcharts shown in FIGS. I do.
【0063】先ず、画像記憶部10に画像データSを格
納する(1)。次に、制御部22に画像記憶部10内の
画像データSを読み込み、この画像データおよびこれを
表示させる際の色データを表示部12に転送する
(2)。次に、表示部12の表示器に制御部22より転
送された画像データを、制御部22より指示された色で
表示する(3)。この実施例では、図2に示す文字群が
表示される。尚、表示の際の色については、入力部によ
り任意に設定することができる。First, the image data S is stored in the image storage unit 10 (1). Next, the image data S in the image storage unit 10 is read into the control unit 22, and the image data and color data for displaying the image data are transferred to the display unit 12 (2). Next, the image data transferred from the control unit 22 is displayed on the display of the display unit 12 in the color designated by the control unit 22 (3). In this embodiment, the character group shown in FIG. 2 is displayed. The color at the time of display can be arbitrarily set by the input unit.
【0064】・・(1回目の指定) 次に、オペレータは、入力部14のポインティングデバ
イス等を用いて、表示部12に表示された画像データの
うちから認識処理領域を指定する(4)。ここでは、図
2の(A)に示す、点A、B、C、Dで囲まれた矩形の
認識処理領域100を指定する。(First designation) Next, the operator uses the pointing device or the like of the input unit 14 to designate a recognition processing area from the image data displayed on the display unit 12 (4). Here, a rectangular recognition processing area 100 surrounded by points A, B, C, and D shown in FIG.
【0065】次に、入力部14は、指定された認識処理
領域100の座標(点A、B、C、D)を制御部22に
出力する(5)。次に、優先順位設定部18は、指定さ
れた認識処理用域100に対して、制御部22を介し
て、認識処理領域の指定順序を優先順位として優先順位
を設定する(6)。従って、認識処理領域100は、1
回目に指定されたので優先順位は1番目なる。ここ迄
は、第1実施例での指定の動作と同一の動作である。Next, the input unit 14 outputs the coordinates (points A, B, C, D) of the designated recognition processing area 100 to the control unit 22 (5). Next, the priority setting unit 18 sets the priority of the specified recognition processing area 100 via the control unit 22 with the specified order of the recognition processing areas as the priority (6). Therefore, the recognition processing area 100 is 1
Since it was specified the second time, the priority is the first. The operation up to this point is the same as the specified operation in the first embodiment.
【0066】次に、制御部22から、認識処理領域10
0の座標を領域処理部36中の領域画素変換部38に転
送する(7)。次に、領域画素変換部38は、転送され
た認識処理領域100の座標を、当該認識処理領域に所
属する全ての画素の座標に変換する。そして、画素の座
標と、優先順位とを領域処理部36中の画素所属記憶部
40に出力する(8)。Next, the control unit 22 sends the recognition processing area 10
The coordinates of 0 are transferred to the area pixel conversion section 38 in the area processing section 36 (7). Next, the area pixel conversion unit 38 converts the transferred coordinates of the recognition processing area 100 into the coordinates of all pixels belonging to the recognition processing area. Then, the coordinates of the pixel and the priority are output to the pixel belonging storage unit 40 in the area processing unit 36 (8).
【0067】次に、画素所属記憶部40は、2つ以上の
認識処理領域に所属することになる画素を、優先順位が
上位の認識処理領域に所属させ、かつ、各画素の座標お
よび各画素が所属する認識処理領域をそれぞれ記憶す
る。そして、各画素毎の所属を制御部22に出力する
(9a)。この場合は、1回目の指定なので、認識処理
領域100内の画素の所属は全て認識処理領域100と
なる。Next, the pixel assignment storage unit 40 assigns the pixels belonging to two or more recognition processing areas to the recognition processing area having a higher priority, and stores the coordinates of each pixel and each pixel. Are respectively stored in the recognition processing areas to which. Then, the affiliation of each pixel is output to the control unit 22 (9a). In this case, since the first designation is made, all the pixels belonging to the recognition processing area 100 belong to the recognition processing area 100.
【0068】次に、制御部22は、画素毎に、各画素の
所属する認識処理領域部に対応する色データを表示部1
2に転送する。ここでは、全ての画素が認識処理領域に
対応する色で表示される(10)。次に、表示部12
は、制御部22から転送された各画素を、色データに従
って、既に表示されている画像データに重ねて表示する
(11)。尚、未指定の認識処理領域がなければ、ここ
で認識処理領域の指定の動作は終了するが、ここでは、
引き続き、第2回目の認識処理領域の指定を行う。Next, the control unit 22 displays, for each pixel, color data corresponding to the recognition processing area to which each pixel belongs, on the display unit 1.
Transfer to 2. Here, all the pixels are displayed in a color corresponding to the recognition processing area (10). Next, the display unit 12
Displays each pixel transferred from the control unit 22 on the already displayed image data according to the color data (11). If there is no unspecified recognition processing area, the operation of specifying the recognition processing area ends here.
Subsequently, a second recognition processing area is designated.
【0069】・・(2回目の指定) 次に、1回目の指定と同様に、表示部12に表示された
画像データのうちから認識処理領域を指定する(4)。
2回目は、図2の(B)に示す、点E、F、G、Hで囲
まれた矩形の認識処理領域102を指定する。(Second designation) Next, similarly to the first designation, a recognition processing area is designated from the image data displayed on the display unit 12 (4).
In the second time, a rectangular recognition processing area 102 surrounded by points E, F, G, and H shown in FIG. 2B is specified.
【0070】次に、入力部14は、指定された認識処理
領域102の座標(点E、F、G、H)を制御部22に
出力する(5)。次に、優先順位設定部18は、指定さ
れた認識処理用域102に対して、制御部22を介し
て、認識処理領域の指定順序を優先順位として優先順位
を設定する(6)。従って、認識処理領域102は、2
回目に指定されたので優先順位は2番目なる。Next, the input unit 14 outputs the coordinates (points E, F, G, H) of the designated recognition processing area 102 to the control unit 22 (5). Next, the priority setting unit 18 sets the priority of the specified recognition processing area 102 via the control unit 22 with the specified order of the recognition processing areas as the priority (6). Therefore, the recognition processing area 102
Since it was specified the second time, the priority is the second.
【0071】次に、制御部22から、認識処理領域10
2の座標を領域処理部36中の領域画素変換部38に出
力する(7)。次に、領域画素変換部38は、転送され
た認識処理領域102の座標を、当該認識処理領域に所
属する全ての画素の座標に変換する。そして、画素の座
標と、優先順位とを領域処理部36中の画素所属記憶部
40に出力する(8)。Next, from the control unit 22, the recognition processing area 10
The coordinates of 2 are output to the area pixel conversion section 38 in the area processing section 36 (7). Next, the area pixel conversion unit 38 converts the transferred coordinates of the recognition processing area 102 into the coordinates of all pixels belonging to the recognition processing area. Then, the coordinates of the pixel and the priority are output to the pixel belonging storage unit 40 in the area processing unit 36 (8).
【0072】次に、画素所属記憶部40は、2つ以上の
認識処理領域に所属することになる画素を、優先順位が
上位の認識処理領域に所属させ、かつ、各画素の座標お
よび各画素が所属する認識処理領域をそれぞれ記憶す
る。そして、各画素毎の所属を制御部22に出力する
(9b)。この場合は、2回目の指定なので、図2の
(B)において、点a、b、c、dで囲まれた領域内の
画素は、既に認識処理領域100に所属している。従っ
て、2回目に指定された認識処理領域102に所属する
画素は、図2の(B)において、点E、a、d、Hおよ
び点b、F、G、cで囲まれた領域内の画素のみとな
る。Next, the pixel assignment storage unit 40 assigns the pixels belonging to two or more recognition processing areas to the recognition processing area having a higher priority, and stores the coordinates of each pixel and each pixel. Are respectively stored in the recognition processing areas to which. Then, the affiliation of each pixel is output to the control unit 22 (9b). In this case, since the designation is the second time, in FIG. 2B, the pixels in the area surrounded by points a, b, c, and d already belong to the recognition processing area 100. Therefore, the pixels belonging to the recognition processing area 102 designated for the second time are located in the area surrounded by points E, a, d, and H and points b, F, G, and c in FIG. There are only pixels.
【0073】次に、制御部22は、画素毎に、各画素の
所属する認識処理領域部に対応する色データを表示部1
2に転送する(10)。次に、表示部12は、制御部2
2から転送された各画素を、色データに従って、既に表
示されている画像データに重ねて表示する(11)。こ
の実施例では、2回の指定で、画像データのうちの認識
処理させたい領域全ての認識処理領域を指定したので、
認識処理領域の指定の動作はこれで終了する。Next, the control unit 22 displays the color data corresponding to the recognition processing area to which each pixel belongs for each pixel.
2 (10). Next, the display unit 12 controls the control unit 2
Each pixel transferred from 2 is superimposed and displayed on the already displayed image data according to the color data (11). In this embodiment, the recognition processing areas of all the areas to be subjected to the recognition processing in the image data are specified by specifying twice.
The operation of designating the recognition processing area ends here.
【0074】尚、第2実施例においても、第1実施例と
同様に、一旦指定した認識処理領域の優先順位を変更す
ることができる。また、第2実施例において、文字認識
時の動作は、第1実施例における動作と同様なので、説
明を省略する。In the second embodiment, as in the first embodiment, it is possible to change the priority of the recognition processing area once designated. Further, in the second embodiment, the operation at the time of character recognition is the same as the operation in the first embodiment, and the description is omitted.
【0075】上述した各実施例では、この発明を特定の
条件で構成した例についてのみ説明したが、この発明は
多くの変更および変形を行うことができる。例えば、上
述した各実施例では、矩形の認識処理領域を指定した
が、この発明では、認識処理領域の輪郭を、任意の輪郭
としても良い。例えば、L字型の輪郭の認識処理領域を
指定することもできる。In each of the embodiments described above, only examples in which the present invention is configured under specific conditions have been described. However, the present invention can be subjected to many changes and modifications. For example, in each of the above-described embodiments, a rectangular recognition processing area is specified, but in the present invention, the outline of the recognition processing area may be an arbitrary outline. For example, an L-shaped contour recognition processing area can be specified.
【0076】[0076]
【発明の効果】この発明の文字認識処理装置によれば、
認識処理領域の優先順位を設定する優先順位設定部を具
え、複数の認識処理領域同士の重なり領域がある場合
に、優先順位が下位である認識処理領域を、当該認識処
理領域の範囲内であって、且つ、重なり領域を除く、全
ての当該認識処理領域の範囲を含むように、新たな1つ
以上の認識処理領域に変更する領域処理部を具えてい
る。このため、2つ以上の領域に分かれた部分を1つの
認識処理領域として1度に指定することができる。According to the character recognition processing device of the present invention,
A priority setting unit configured to set a priority of the recognition processing area; and when there is an overlapping area of a plurality of recognition processing areas, a recognition processing area having a lower priority is located within the range of the recognition processing area. And an area processing unit for changing to one or more new recognition processing areas so as to include the entire range of the recognition processing area except for the overlapping area. Therefore, a portion divided into two or more regions can be designated at one time as one recognition processing region.
【0077】従って、認識処理領域を指定する際に、認
識処理領域の指定回数を少なくすることができる。その
結果、認識処理領域の指定を容易に行うことができるの
で、オペレータの作業負担を軽減することができる。Therefore, when specifying the recognition processing area, the number of times the recognition processing area is specified can be reduced. As a result, the recognition processing area can be easily specified, so that the work load on the operator can be reduced.
【0078】また、優先順位設定部において、認識処理
領域の指定順序を優先順位として優先順位を設定すれ
ば、オペレータがいちいち指示しなくとも自動的に優先
順位を設定することができる。このため、その結果、認
識処理領域の指定を容易に行うことができるので、オペ
レータの作業負担をより軽減することができる。Further, if the priority order setting section sets the priority order based on the order in which the recognition processing areas are specified, the priority order can be automatically set without the operator having to specify each time. Therefore, as a result, the recognition processing area can be easily specified, so that the work load on the operator can be further reduced.
【0079】また、優先順位変更部を具えた場合、1度
設定された各認識処理領域の優先順位を変更することが
できる。その結果、例えば、文字が認識された順番で出
力される場合に、認識された文字の出力順序を考慮し
て、認識処理領域の優先順位を所望の順位に指定し直す
ことができる。従って、1回目の認識処理領域の指定時
に、出力順序を考慮しなくとも済む。その結果、認識処
理領域の指定を容易に行うことができるので、オペレー
タの作業負担をより軽減することができる。When a priority change unit is provided, the priority of each recognition processing area set once can be changed. As a result, for example, when the characters are output in the recognized order, the priority of the recognition processing area can be re-designated to a desired order in consideration of the output order of the recognized characters. Therefore, it is not necessary to consider the output order when specifying the first recognition processing area. As a result, the recognition processing area can be easily specified, so that the operator's work load can be further reduced.
【0080】また、領域画素変換部を設けて、指定され
た認識処理領域の座標を、当該認識処理領域に所属する
全ての画素の座標に変換し、さらに、画素所属記憶部に
おいて、2つ以上の認識処理領域に所属することになる
画素を、優先順位が上位の認識処理領域に所属させれ
ば、下位の認識処理領域を、重なり領域を除く、新たな
1つ以上の認識処理領域に変更することができる。この
場合、画素の所属に注目することにより、実質的に重な
り理領域を検出している。このため、この場合は、他に
重なり領域を検出する手段を設ける必要がない。An area pixel conversion unit is provided to convert the coordinates of the designated recognition processing area into the coordinates of all the pixels belonging to the recognition processing area. If the pixels that belong to the recognition processing area of the above belong to the recognition processing area of higher priority, the lower recognition processing area is changed to one or more new recognition processing areas excluding the overlapping area. can do. In this case, by paying attention to the affiliation of the pixel, the overlap region is substantially detected. Therefore, in this case, there is no need to provide another means for detecting the overlapping area.
【0081】また、表示部を、優先順位が互いに異なる
複数の認識処理領域を、それぞれが視覚的に区別できる
形式で重ねて表示する構成とすれば、認識処理領域の範
囲および優先順位がオペレータが意図したものであるか
否かの確認が容易にできるので、さらに好適である。If the display unit is configured to display a plurality of recognition processing areas having different priorities in a superimposed manner in a format in which each of the recognition processing areas can be visually distinguished, the operator can determine the range and priority of the recognition processing areas. This is more preferable because it can be easily confirmed whether or not it is intended.
【図1】第1実施例の文字認識装置の構成を概略的に示
したブロック図である。FIG. 1 is a block diagram schematically illustrating a configuration of a character recognition device according to a first embodiment.
【図2】(A)〜(C)は、第1実施例における認識処
理領域の説明に供する図である。FIGS. 2A to 2C are diagrams for explaining a recognition processing area in the first embodiment;
【図3】第1実施例における、認識処理領域の指定時の
文字認識装置の動作の説明に供するフローチャートであ
る。FIG. 3 is a flowchart for explaining the operation of the character recognition apparatus when a recognition processing area is specified in the first embodiment.
【図4】図3に繋がるフローチャートである。FIG. 4 is a flowchart leading to FIG. 3;
【図5】第1実施例における、認識処理領域の優先順位
の変更時の文字認識装置の動作の説明に供するフローチ
ャートである。FIG. 5 is a flowchart for explaining the operation of the character recognition device when the priority of the recognition processing area is changed in the first embodiment.
【図6】第1実施例における、文字認識処理時の文字認
識装置の動作の説明に供するフローチャートである。FIG. 6 is a flowchart for explaining the operation of the character recognition device during the character recognition processing in the first embodiment.
【図7】第2実施例の文字認識装置の構成を概略的に示
したブロック図である。FIG. 7 is a block diagram schematically illustrating a configuration of a character recognition device according to a second embodiment.
【図8】第2実施例における、認識処理領域の指定時の
文字認識装置の動作の説明に供するフローチャートであ
る。FIG. 8 is a flowchart for explaining the operation of the character recognition apparatus when a recognition processing area is specified in the second embodiment.
【図9】図8に繋がるフローチャートである。FIG. 9 is a flowchart leading to FIG. 8;
10:画像記憶部 12:表示部 14:入力部 16:認識部 18:優先順位設定部 20:領域処理部 22:制御部 24:行位置検出部 26:文字切り出し部 28:識別部 30:領域重なり検出部 32:領域変更部 36:領域処理部 38:領域画素変換部 40:画素所属記憶部 90:文字認識装置 10: Image storage unit 12: Display unit 14: Input unit 16: Recognition unit 18: Priority setting unit 20: Area processing unit 22: Control unit 24: Line position detection unit 26: Character cutout unit 28: Identification unit 30: Area Overlap detection unit 32: region change unit 36: region processing unit 38: region pixel conversion unit 40: pixel belonging storage unit 90: character recognition device
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06K 9/00 - 9/82 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06K 9/00-9/82
Claims (5)
像データを表示する表示部、前記画像データのうちの認
識処理領域を指定する入力部、該認識処理領域から文字
単位に画像データを切り出して文字を認識する認識部を
具えた文字認識装置において、 前記認識処理領域の優先順位を設定する優先順位設定部
を具え、 複数の前記認識処理領域同士の重なり領域がある場合
に、優先順位が下位である認識処理領域を、当該認識処
理領域の範囲内であって、且つ、重なり領域を除く、全
ての当該認識処理領域の範囲を含むように、新たな1つ
以上の認識処理領域に変更する領域処理部を具えてなる
ことを特徴とする文字認識装置。1. An image storage unit for storing image data, a display unit for displaying the image data, an input unit for designating a recognition processing area of the image data, and cutting out image data in character units from the recognition processing area A character recognition device comprising a recognition unit for recognizing characters by means of a priority setting unit for setting a priority of the recognition processing regions, wherein when there is an overlapping region between the plurality of recognition processing regions, the priority is Change the lower-order recognition processing area to one or more new recognition processing areas so as to be within the range of the recognition processing area and to include the entire range of the recognition processing area except for the overlapping area. A character recognition device comprising an area processing unit that performs the processing.
て、 前記優先順位設定部は、認識処理領域の指定順序を、当
該認識処理領域の優先順位として設定する構成であるこ
とを特徴とする文字認識装置。2. The character recognition device according to claim 1, wherein the priority order setting unit sets the designation order of the recognition processing areas as the priority order of the recognition processing areas. Recognition device.
て、 前記領域処理部は、指定された認識処理領域同士の重な
り領域を検出する領域重なり検出部を具え、 優先順位が下位である認識処理領域を、優先順位が下位
の当該認識処理領域の範囲内であって、且つ、当該重な
り領域を除く、全ての下位認識処理領域の範囲を含むよ
うに、新たな1つ以上の認識処理領域に変更する領域変
更部を具えてなることを特徴とする文字認識装置。3. The character recognition device according to claim 1, wherein the area processing unit includes an area overlap detection unit that detects an overlap area between the specified recognition processing areas, and the recognition processing having a lower priority. The region is added to one or more new recognition processing regions so that the priority is within the range of the recognition processing region having a lower priority and includes the range of all the lower recognition processing regions except the overlapping region. A character recognition device comprising an area changing unit for changing.
て、 前記領域処理部は、指定された認識処理領域の座標を、
当該認識処理領域に所属する全ての画素の座標に変換す
る領域画素変換部を具え、 2つ以上の認識処理領域に所属することになる画素を、
優先順位が上位の認識処理領域に所属させ、かつ、各画
素の座標および各画素が所属する認識処理領域をそれぞ
れ記憶する画素所属記憶部を具えてなることを特徴とす
る文字認識装置。4. The character recognition device according to claim 1, wherein the area processing unit calculates coordinates of a specified recognition processing area.
An area pixel conversion unit that converts the coordinates of all the pixels belonging to the recognition processing area into pixels is provided.
A character recognition device, comprising: a pixel belonging storage unit that is assigned to a recognition processing area having a higher priority and stores a coordinate of each pixel and a recognition processing area to which each pixel belongs.
て、 前記表示部を、優先順位が互いに異なる複数の前記認識
処理領域を、それぞれが視覚的に区別できる形式で重ね
て表示する構成としたことを特徴とする文字認識装置。5. The character recognition device according to claim 1, wherein the display unit is configured to display a plurality of the recognition processing areas having different priorities in a form in which each of the recognition processing areas can be visually distinguished. A character recognition device characterized in that:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03103695A JP3145265B2 (en) | 1995-02-20 | 1995-02-20 | Character recognition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03103695A JP3145265B2 (en) | 1995-02-20 | 1995-02-20 | Character recognition device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08227439A JPH08227439A (en) | 1996-09-03 |
| JP3145265B2 true JP3145265B2 (en) | 2001-03-12 |
Family
ID=12320277
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP03103695A Expired - Fee Related JP3145265B2 (en) | 1995-02-20 | 1995-02-20 | Character recognition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3145265B2 (en) |
-
1995
- 1995-02-20 JP JP03103695A patent/JP3145265B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08227439A (en) | 1996-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5123062A (en) | OCR for sequentially displaying document layout according to recognition process | |
| JP3113827B2 (en) | Method and apparatus for recognizing rectangular object | |
| US5757958A (en) | Document recognizing system and method | |
| JPH064206A (en) | Handwritten character input device | |
| JP3145265B2 (en) | Character recognition device | |
| JPH08329187A (en) | Document reader | |
| JPH0782530B2 (en) | Handwriting recognition device | |
| JPS6337487A (en) | character recognition device | |
| JP5361315B2 (en) | Information processing apparatus and information processing method | |
| JP2803736B2 (en) | Character recognition method | |
| JPH0388085A (en) | Optical character reader | |
| JPS59148975A (en) | Editing device of pattern | |
| JPH05290162A (en) | Diagram branch point connecting method for image input device | |
| JPS61198376A (en) | Optical character reader | |
| JPH0459669B2 (en) | ||
| JP2937607B2 (en) | Layout creation device | |
| JP2954218B2 (en) | Image processing method and apparatus | |
| JPH045779A (en) | Character recognizing device | |
| JP2962525B2 (en) | Text block recognition method | |
| JPH05242297A (en) | Character cutting method | |
| JPH0962778A (en) | Character recognizer | |
| JPH07281657A (en) | Image reduction method and image reduction device | |
| JPS63276682A (en) | Character reader | |
| JPS6031682A (en) | Method and apparatus for region extraction of printed document picture | |
| JPH0459668B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20001219 |
|
| LAPS | Cancellation because of no payment of annual fees |