JPH05258105A - Character segmenting device - Google Patents

Character segmenting device

Info

Publication number
JPH05258105A
JPH05258105A JP4052077A JP5207792A JPH05258105A JP H05258105 A JPH05258105 A JP H05258105A JP 4052077 A JP4052077 A JP 4052077A JP 5207792 A JP5207792 A JP 5207792A JP H05258105 A JPH05258105 A JP H05258105A
Authority
JP
Japan
Prior art keywords
character
circuit
area
closed
circumscribed rectangle
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.)
Withdrawn
Application number
JP4052077A
Other languages
Japanese (ja)
Inventor
Masahiko Nagao
政彦 長尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4052077A priority Critical patent/JPH05258105A/en
Publication of JPH05258105A publication Critical patent/JPH05258105A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To precisely segment a character from a blurred character string one by one. CONSTITUTION:A video signal (a) inputted from a camera l is AD-converted 2 and binarized 3. A closed area detection circuit 4 detects a circumscribed rectangle in a closed area more than a previously decided area. A character external form retrieval area generation circuit 5 sets a character external form retrieval range obtained by enlarging it by character interval data for right and left. The circumscribed rectangle including all the closed areas included in the character external retrieval range is set to be a character segmenting range even if it is one picture element.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文字認識等において対
象文字を切り出す文字切り出し装置、特に文字位置が不
定の複数の文字からなる文字群から各1文字ずつの文字
領域を検出する処理に適用する文字切り出し装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to a character slicing device for slicing a target character in character recognition or the like, and particularly to a process for detecting a character area of each character from a character group consisting of a plurality of characters whose character positions are indefinite. Character cutting device.

【0002】[0002]

【従来の技術】従来の文字切り出し装置は、規定面積よ
り小さい面積の“1”の閉領域はノイズとして除外し規
定面積以上の“1”の閉領域の外接矩形を1文字領域と
して画像切り出しを行う。
2. Description of the Related Art In a conventional character cutting device, a closed area of "1" having an area smaller than a specified area is excluded as noise, and an image is cut out using a circumscribed rectangle of a closed area of "1" having a specified area or more as one character area. To do.

【0003】図5は、従来の文字切り出し装置での文字
切り出し方法を説明するための図である。切り出し対象
文字がかすれなどにより1文字でありながら複数の閉領
域に分かれてしまうような文字においては、規定面積以
下の閉領域a2はノイズとして除外され、規定面積以上
の閉領域a1の外接矩形9が切り出される領域となる。
FIG. 5 is a diagram for explaining a character cutting method in a conventional character cutting device. In a character in which the character to be cut out is a single character and is divided into a plurality of closed areas due to faintness, the closed area a2 having a specified area or less is excluded as noise, and the circumscribed rectangle 9 of the closed area a1 having a specified area or more is Is the area to be cut out.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の文字切
り出し方法は、切り出し対象文字がかすれなどにより複
数の閉領域に分かれてしまう文字においては、規定面積
以下の閉領域はノイズとして除外されるため、規定面積
以上の閉領域により文字切り出し領域が決められてしま
い実際の文字領域より狭い領域が切り出されてしまうと
いう問題点があった。
In the above-described conventional character cutting method, in a character in which a character to be cut out is divided into a plurality of closed areas due to blurring or the like, a closed area having a predetermined area or less is excluded as noise. However, there is a problem that a character cutout area is determined by a closed area having a size equal to or more than a specified area, and an area narrower than an actual character area is cut out.

【0005】[0005]

【課題を解決するための手段】本発明の文字切り出し装
置は、認識対象文字の画像を撮像するカメラと、前記カ
メラから入力した映像信号をAD変換し濃淡画像信号を
出力するAD変換回路と、前記濃淡画像信号を入力し予
め決められた値より明るい部分は“1”に、暗い部分は
“0”の二値化画像に変換する二値化回路と、前記二値
化回路より出力される二値化画像信号を入力し予め決め
られた値より面積の大きい“1”の閉領域の外接矩形の
外形座標を算出する閉領域検出回路と、文字間隔データ
を記憶する文字間隔データ記憶回路と、前記閉領域検出
回路より出力される外接矩形の外形座標に前記文字間隔
記憶回路から出力される文字間隔データ分だけ横方向に
広げた文字外形検索領域を発生させる文字外形検索領域
発生回路と、前記二値化画像信号を入力し前記文字外形
検索領域に1画素でも含まれる全ての“1”の閉領域の
文字外形座標を算出する文字外形検索回路と、前記二値
化回路より出力される二値化画像から前記文字外形検索
回路まで検索した全ての“1”の閉領域を含む外接矩形
を切り出す画像切り出し回路とを含んで構成される。
A character cutting device of the present invention includes a camera for picking up an image of a character to be recognized, an AD conversion circuit for AD-converting a video signal input from the camera and outputting a grayscale image signal. The binarization circuit for inputting the grayscale image signal and converting it into a binarized image of "1" for a portion brighter than a predetermined value and "0" for a dark portion is output from the binarizing circuit. A closed area detection circuit for inputting a binarized image signal and calculating the external coordinates of a circumscribed rectangle of a closed area of "1" having an area larger than a predetermined value, and a character interval data storage circuit for storing character interval data. A character contour search area generation circuit for generating a character contour search area laterally expanded by the character spacing data output from the character spacing storage circuit in the outer coordinates of the circumscribed rectangle output from the closed area detection circuit; The above A character outline search circuit for inputting a binarized image signal to calculate the character outline coordinates of all closed regions of "1" included in even one pixel in the character outline search region, and a binary output from the binarization circuit. And an image cutout circuit that cuts out a circumscribed rectangle including all closed areas of "1" searched from the characterized image to the character outline search circuit.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0007】図1は、本発明の一実施例を示すブロック
図である。カメラ1は認識対象文字を撮像し映像信号a
を出力する。AD変換回路2はカメラ1から入力した映
像信号aをAD変換し濃淡画像信号bを出力する。二値
化回路3は濃淡画像信号bを入力し予め決められた値よ
り明るい部分は“1”に、暗い部分は“0”の二値化画
像に変換し二値化画像信号cを出力する。二値化レベル
は文字部分は“1”に、背景部分は“0”になるように
予め決めておく。閉領域検出回路4は二値化回路3より
出力される二値化画像信号cを入力し、ノイズによる
“1”の閉領域を除くために予じめ決められた値より面
積の大きい“1”の閉領域のみを検索し、検索された閉
領域の外接矩形の外形座標を算出し、外接矩形の外形座
標信号dを出力する。
FIG. 1 is a block diagram showing an embodiment of the present invention. The camera 1 captures an image of a character to be recognized and captures a video signal a
Is output. The AD conversion circuit 2 AD-converts the video signal a input from the camera 1 and outputs a grayscale image signal b. The binarization circuit 3 inputs the grayscale image signal b, converts a lighter part to "1" than a predetermined value and a darker part to "0" and outputs a binarized image signal c. .. The binarization level is determined in advance so that the character portion is "1" and the background portion is "0". The closed area detection circuit 4 receives the binarized image signal c output from the binarization circuit 3, and has a larger area "1" than a predetermined value to eliminate the closed area "1" due to noise. Only the closed region of "" is searched, the external coordinates of the circumscribed rectangle of the searched closed region are calculated, and the external coordinate signal d of the circumscribed rectangle is output.

【0008】文字間隔データ記憶回路6には文字と文字
との間隔長データを予め記憶させておき、文字間隔デー
タ信号eを出力する。文字外形検索領域発生回路5は閉
領域検出回路4より出力される外接矩形の外形座標に文
字間隔記憶回路6から出力される文字間隔データ分だけ
右側と左側にそれぞれ広げた文字外形検索領域を発生さ
せ、文字外形検索領域信号fを出力する。文字外形検索
回路7は二値化画像信号cを入力し文字外形検索領域に
1画素でも含まれる全ての“1”の閉領域を検索し、検
索されて全ての閉領域を含む外接矩形を算出し文字外形
座標信号gを出力する。画像切り出し回路8は文字外形
座標信号gを入力し二値化回路より出力される二値化画
像データから文字外形座標内の画像を切り出す。
In the character interval data storage circuit 6, character length data between characters are stored in advance, and a character interval data signal e is output. The character outline search area generation circuit 5 generates a character outline search area expanded to the right and left sides by the character interval data output from the character interval storage circuit 6 at the external coordinates of the circumscribed rectangle output from the closed area detection circuit 4. Then, the character outline search area signal f is output. The character outline search circuit 7 inputs the binarized image signal c, searches for all "1" closed regions that include even one pixel in the character outline search region, and calculates a circumscribed rectangle including all closed regions that have been searched. Then, the character outline coordinate signal g is output. The image cutout circuit 8 receives the character outline coordinate signal g and cuts out an image within the character outline coordinates from the binarized image data output from the binarization circuit.

【0009】次に図2と図3を用いて本実施例の動作を
説明する。
Next, the operation of this embodiment will be described with reference to FIGS.

【0010】図2は認識対象文字を2値化し、予め切れ
られた面積以上の閉領域の外接矩形(X1 ,Y1 ),
(X2 ,Y2 )を検出した1例である。閉領域a2を除
外し閉領域a1だけを残して外接矩形を発生している。
FIG. 2 shows a case in which a character to be recognized is binarized, and a circumscribed rectangle (X 1 , Y 1 ) of a closed region having a size equal to or larger than a previously cut area is
This is an example of detecting (X 2 , Y 2 ). The circumscribed rectangle is generated by excluding the closed region a2 and leaving only the closed region a1.

【0011】図3は外接矩形の外形座標に文字間隔記憶
回路6から出力される文字間隔データ分だけ右側と左側
にそれぞれ広げた文字外形検索領域(X3 ,Y3 ),
(X4,Y4 )を発生させた一例である。予め文字間隔
データ記憶回路6に記憶させた文字間隔データLとする
と、文字外形検索領域(X3 ,Y3 ),(X4 ,Y4
は式(1),(2)により算出される。
FIG. 3 shows a character outline search area (X 3 , Y 3 ), which is expanded to the right and left by the character interval data output from the character interval storage circuit 6 on the external coordinates of the circumscribed rectangle.
This is an example of generating (X 4 , Y 4 ). Assuming that the character spacing data L is stored in the character spacing data storage circuit 6 in advance, the character contour search areas (X 3 , Y 3 ) and (X 4 , Y 4 )
Is calculated by the equations (1) and (2).

【0012】 (X3 ,Y3 )=(X1 −L,Y1 ) …式(1) (X4 ,Y4 )=(X2 +L,Y1 ) …式(2) 図4は文字外形検索領域に1画素でも含まれる全ての
“1”の閉領域を検索し、検索された全ての閉領域を含
む外接矩形(X5 ,Y5 ),(X6 ,Y6 )を発生して
いる。閉領域a1の他に閉領域a2も文字外形検索領域
に1画素でも含まれているため閉領域a1と閉領域a2
を含む外接矩形が発生される。また文字外形検索領域は
外接矩形(X1 ,Y1 ),(X2 ,Y2 )から文字間隔
データLだけ左右に広げて発生させるため隣接する別の
文字の“1”の閉領域a3を含むことはなく精度よく1
文字分だけの外接矩形を発生させることができる。
(X 3 , Y 3 ) = (X 1 −L, Y 1 ) ... Formula (1) (X 4 , Y 4 ) = (X 2 + L, Y 1 ) ... Formula (2) FIG. All the closed areas of “1” that include even one pixel in the outer shape search area are searched, and circumscribed rectangles (X 5 , Y 5 ), (X 6 , Y 6 ) including all the searched closed areas are generated. ing. In addition to the closed area a1, the closed area a2 is included in the character outline search area even for one pixel, so that the closed area a1 and the closed area a2 are included.
A circumscribed rectangle containing is generated. Further, since the character outline search area is generated by expanding the circumscribed rectangles (X 1 , Y 1 ) and (X 2 , Y 2 ) to the left and right by the character interval data L, a closed area a3 of "1" of another adjacent character is generated. Accurate 1 without including
It is possible to generate a circumscribing rectangle of only characters.

【0013】[0013]

【発明の効果】本発明の文字切り出し装置は、予め決め
られた面積以上の閉領域の他に、予め決められた面積以
上の閉領域から求められる外接矩形から文字間隔データ
分左右に広げたた文字外形検索範囲を設定し、1画素で
も文字外形検索範囲に含まれる全ての閉領域を検索する
ことにより、文字切り出し範囲を検出するためかすれた
文字の面積の小さい閉領域を含み尚かつ隣接する文字の
閉領域は含まないため精度よく文字切り出しができると
いう特徴がある。
According to the character cutting device of the present invention, in addition to the closed area having a predetermined area or more, the character circumscribing rectangle obtained from the closed area having a predetermined area or more is widened to the right or left by the character interval data. By setting a character outline search range and searching for all closed regions included in the character outline search range even with one pixel, a closed region with a small area of a faint character is included and adjacent to detect the character cutout range. Since it does not include the closed area of the character, it has the feature that the character can be cut out accurately.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1中の閉領域検出回路4が検出する外接矩形
を示す図である。
FIG. 2 is a diagram showing a circumscribed rectangle detected by a closed region detection circuit 4 in FIG.

【図3】図1中の文字外形検索領域発生回路5が発生す
る文字外形検索領域を示す図である。
FIG. 3 is a diagram showing a character contour search area generated by a character contour search area generation circuit 5 in FIG.

【図4】図1中の画像切り出し回路8により切り出した
画像を示す図である。
FIG. 4 is a diagram showing an image clipped by an image clipping circuit 8 in FIG.

【図5】従来の文字切り出し装置により切り出した画像
を示す図である。
FIG. 5 is a diagram showing an image clipped by a conventional character clipping device.

【符号の説明】[Explanation of symbols]

1 カメラ 2 AD変換回路 3 二値化回路 4 閉領域検出回路 5 文字外形検索領域発生回路 6 文字間隔データ記憶回路 7 文字外形検索回路 8 画像切り出し回路 9 外接矩形 a 映像信号 b 濃淡画像信号 c 二値化画像信号 d 外接矩形の外形座標信号 e 文字間隔データ信号 f 文字外形検索領域信号 g 文字外形座標信号 1 camera 2 AD conversion circuit 3 binarization circuit 4 closed area detection circuit 5 character outline search area generation circuit 6 character interval data storage circuit 7 character outline search circuit 8 image cutout circuit 9 circumscribed rectangle a video signal b grayscale image signal c 2 Quantized image signal d External rectangle coordinate signal e Character spacing data signal f Character outline search area signal g Character outline coordinate signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 認識対象文字の画像を撮像するカメラ
と、前記カメラから入力した映像信号をAD変換し濃淡
画像信号を出力するAD変換回路と、前記濃淡画像信号
を入力し予め決められた値より明るい部分は“1”に、
暗い部分は“0”の二値化画像に変換する二値化回路
と、前記二値化回路より出力される二値化画像信号を入
力し予め決められた値より面積の大きい“1”の閉領域
の外接矩形の外形座標を算出する閉領域検出回路と、文
字間隔データを記憶する文字間隔データ記憶回路と、前
記閉領域検出回路より出力される外接矩形の外形座標に
前記文字間隔記憶回路から出力される文字間隔データ分
だけ横方向に広げた文字外形検索領域を発生させる文字
外形検索領域発生回路と、前記二値化画像信号を入力し
前記文字外形検索領域に1画素でも含まれる全ての
“1”の閉領域の文字外形座標を算出する文字外形検索
回路と、前記二値化回路より出力される二値化画像から
前記文字外形検索回路まで検索した全ての“1”の閉領
域を含む外接矩形を切り出す画像切り出し回路とを含む
ことを特徴とする文字切り出し装置。
1. A camera for picking up an image of a character to be recognized, an AD conversion circuit for AD-converting a video signal input from the camera and outputting a grayscale image signal, and a predetermined value for inputting the grayscale image signal. The brighter part is "1",
The dark portion is a binarization circuit for converting it into a binarized image of "0", and a binarized image signal output from the binarization circuit is inputted and the area of "1" having a larger area than a predetermined value is inputted. A closed area detection circuit for calculating the outer shape coordinates of the circumscribed rectangle of the closed area, a character interval data storage circuit for storing character interval data, and the character interval storage circuit for the outer shape coordinates of the circumscribed rectangle output from the closed area detection circuit. A character contour search area generating circuit for generating a character contour search area expanded in the horizontal direction by the character interval data output from the character contour search area, and inputting the binarized image signal Character outline search circuit for calculating the character outline coordinates of the closed region of "1", and all closed regions of "1" searched from the binarized image output from the binarization circuit to the character outline search circuit Cut out a circumscribed rectangle containing Character segmentation apparatus which comprises a to the image extraction circuit.
JP4052077A 1992-03-11 1992-03-11 Character segmenting device Withdrawn JPH05258105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4052077A JPH05258105A (en) 1992-03-11 1992-03-11 Character segmenting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4052077A JPH05258105A (en) 1992-03-11 1992-03-11 Character segmenting device

Publications (1)

Publication Number Publication Date
JPH05258105A true JPH05258105A (en) 1993-10-08

Family

ID=12904759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4052077A Withdrawn JPH05258105A (en) 1992-03-11 1992-03-11 Character segmenting device

Country Status (1)

Country Link
JP (1) JPH05258105A (en)

Similar Documents

Publication Publication Date Title
JP2002208007A (en) Automatic detection of scanned document
CN106951831B (en) Pedestrian detection tracking method based on depth camera
JPH1125222A (en) Character extraction method and character extraction device
US7372994B2 (en) Image processing device for recognizing outline of moving target and method therefor
CN114639159A (en) Moving pedestrian detection method, electronic device and robot
JP2871601B2 (en) Character string detecting apparatus and method
JP3230509B2 (en) Moving image processing device
JP4565396B2 (en) Image processing apparatus and image processing program
JPH05258105A (en) Character segmenting device
JP4238323B2 (en) Image processing method and image processing apparatus
JP3331095B2 (en) In-vehicle image processing device
JP3517518B2 (en) Object detection device
JP2988994B2 (en) Positioning device
JP3267107B2 (en) Background image creation method and image processing apparatus
RU2697737C2 (en) Method of detecting and localizing text forms on images
Kim et al. Detection of moving edges based on the concept of entropy and cross-entropy
JPH06282684A (en) Character recognizing device
JPH0512441A (en) Edge image generator
JPH07230549A (en) Image processor and its method
JP2638147B2 (en) Magnetic head gap position recognition method
JPH06215181A (en) Character/character string segmenting method and character recognizing device
JPH05165950A (en) Method and device for generating outline image
JPH0935003A (en) Character recognition device
JPH05128260A (en) Picture feature information synthesizer
CN115115818A (en) Subtitle recognition method and system based on twin network and image feature matching

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518