JPS62114077A - Picture element feature extracting device - Google Patents

Picture element feature extracting device

Info

Publication number
JPS62114077A
JPS62114077A JP60253682A JP25368285A JPS62114077A JP S62114077 A JPS62114077 A JP S62114077A JP 60253682 A JP60253682 A JP 60253682A JP 25368285 A JP25368285 A JP 25368285A JP S62114077 A JPS62114077 A JP S62114077A
Authority
JP
Japan
Prior art keywords
pixel
interest
area
pixels
region
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
Application number
JP60253682A
Other languages
Japanese (ja)
Inventor
Masahisa Yano
矢野 雅久
Kenichiro Uchimura
内村 憲一朗
Yoshiyuki Yamashita
山下 義征
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP60253682A priority Critical patent/JPS62114077A/en
Publication of JPS62114077A publication Critical patent/JPS62114077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To extract a feature without being influenced by various deformations of a graphic and a noise, by deciding a notice area or plural sensitive areas to be white or black, and outputting a result of decision, as a picture element feature code to a notice picture element. CONSTITUTION:An image which has been converted to a binary signal by an image input device 1 is stored in a binary image buffer memory 3. A picture element feature extractor 4 reads out a picture element in a notice area 8 containing a notice picture element 7 from the binary image buffer memory 3, and a picture element in plural sensitive areas 10a-10h provided on the periphery of a dead zone area 9 which is in the periphery of the notice area 8 and also not related to a picture element feature code, compares the number of black picture elements contained in each area, and a prescribed threshold value which has been set to a threshold value setting device 5, at every area of the notice area 8 and the sensitive areas 10a-10h, decides '1' or '0' at every area, and its result is arranged in order of the areas 10a, 10b, 10c, 10d, 8, 10e, 10f, 10g, and 10h, and outputted as a picture element feature code.

Description

【発明の詳細な説明】 (産業」の利用分野》 本発明t,1文字,図形を認識対象とする装置における
画素特徴抽出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Application in Industry) The present invention relates to a pixel feature extraction device for a device that recognizes characters and figures.

(従来の技術) 従来、この種の装置は図形を細線化し、該細線化した図
形に対し、第2図(a)〜(d)に示ずような着目画素
とイの周囲の8画素とで定めたマスクによって特徴の抽
出を行なっていた。また、細線化を施さない場合におい
ては、第2図(e)に示すような広い視野を持ったマス
クによって特徴の抽出を行なっていた。
(Prior art) Conventionally, this type of device thins a figure, and then divides the thinned figure into eight pixels around the pixel of interest and A as shown in FIGS. 2(a) to (d). Features were extracted using a mask defined by . Furthermore, when line thinning is not performed, features are extracted using a mask with a wide field of view as shown in FIG. 2(e).

(発明が解決しようとする問題点) しかしながら細線化を行なった場合には、これに伴って
発生ずるヒゲ等により、必ずしも安定に特徴を抽出する
ことができず、細線化を施さない場合であっても、線分
の切れ、はみだし、凹凸等を含む図形の各種の変形や雑
音により、必ずしも十分な特徴抽出が行なうことができ
なかった。さらにまた、大きさの異なる図形が混在りる
図面等を認識対象とする場合、同一の方法で特徴抽出覆
ることが困難であるという問題点があった。
(Problem to be solved by the invention) However, when line thinning is performed, it is not always possible to extract features stably due to whiskers, etc. that occur along with this, and there are cases where line thinning is not performed. However, it has not always been possible to perform sufficient feature extraction due to various deformations of the figure, including broken line segments, protrusion, unevenness, etc., and noise. Furthermore, when a drawing or the like in which figures of different sizes coexist is to be recognized, there is a problem in that it is difficult to extract and cover features using the same method.

本発明は、前述した線分の切れ、凹凸等を含む図形の各
種の変形や雑音に左右されない基本的2(特徴を抽出す
ることができ、認識対象が限定されない画素特徴抽出装
置を提供することを目的とする。
The present invention provides a pixel feature extraction device that is capable of extracting basic features that are not affected by noise or various deformations of figures including line segment breaks, unevenness, etc., and is not limited to recognition targets. With the goal.

(問題点を解決するための手段) 本発明では前記問題点を解決するため、2値化された画
像内の個々の画素(着目画素)に対し、該着目画素およ
びその周囲の画素の状態を検出することにより、画素単
位の特徴を抽出する画素特徴抽出装置において、2値化
された画像を一時的に格納する2個画像バッファメモリ
と、前記2個画像バッフ7メモリより、予め設定された
少なくと−b前ii1着目画素を含む着目領域内の画素
と、該着目領域の周囲に特徴抽出に関与しない不感帯領
域を隔てて予め設定された複数の少なくとも1個の画素
を含む感知領域内の画素とを選択的に読出す手段、並び
に前記着目領域又は複数の感知領域より読出lノIこ画
゛素の白黒の状態に応じて、該着目領域又は複数の感知
領域を白あるいは黒と判定し、着目領域おJ:び全での
感知領域に対する判定結果を着目画素に対する画素特徴
コードとして出力する手段を右する画素特徴抽出器とを
備えた。
(Means for Solving the Problems) In order to solve the above problems, the present invention analyzes the states of each pixel (target pixel) in a binarized image and the surrounding pixels. In a pixel feature extraction device that extracts the feature of each pixel by detecting it, two image buffer memories for temporarily storing the binarized image and the two image buffer 7 memories set in advance are used. A sensing region including at least a pixel in a region of interest including the pixel of interest before -b and at least one pixel set in advance with a dead zone region not involved in feature extraction surrounding the region of interest. means for selectively reading out pixels, and determining that the region of interest or the plurality of sensing regions is white or black depending on the black and white state of the pixel read from the region of interest or the plurality of sensing regions; and a pixel feature extractor serving as a means for outputting determination results for the region of interest and the entire sensing region as a pixel feature code for the pixel of interest.

(作用) 本発明にJ:れば、線幅の大きい線分は不感帯領域によ
りその幅方向の画素が打消され、線幅の小さい線分と同
様な特徴が抽出され、また、切れのある線分は、該切れ
が着目領域又は感知領域に属した時にはとぎれて検出さ
れ、該切れが不感帯領域に属した時には繋って検出され
るが、線分の終端の場合にはいずれの場合にもとぎれて
検出され、これにより線分の切れか、そうでないかが判
定される。
(Function) According to the present invention, the pixels in the width direction of a line segment with a large line width are canceled by the dead zone area, the same features as those of a line segment with a small line width are extracted, and the lines with breaks are When the break belongs to the region of interest or the sensing area, the break is detected as being interrupted, and when the break belongs to the dead zone area, it is detected as being continuous, but in the case of the end of the line segment, in either case, A break is detected, and it is determined whether the line segment is broken or not.

(実施例) 第1図は本発明の一実施例を示J−機能ブロック図であ
る。図中、1は画像入力装置、2は画素特徴抽出装置で
あり、画素特徴抽出装置2は2個画像バッファメモリ3
と、画素特徴抽出器4と、閾値設定器5とからなってい
る。
(Embodiment) FIG. 1 is a functional block diagram showing an embodiment of the present invention. In the figure, 1 is an image input device, 2 is a pixel feature extraction device, and the pixel feature extraction device 2 has two image buffer memories 3.
, a pixel feature extractor 4, and a threshold value setter 5.

画像入力装置1は、例えば光源、光電変換素子等を備え
た周知の光学的読取り装置であって、文字や図形等の認
識すべき画像を2個化号に変換する。2個画像バッファ
メモリ3は、前記2個化号に変換された画像(以下、2
個画像と称す。)を配憶するために必要な容量を有し、
前記画像入力装置1より出力される2IIT]画像を一
時的に格納する。画素特徴抽出器4は、2個画像バッフ
ァメモリ3より、予め設定された少なくとも着目画素を
含む着目領域内の画素と、該着目領域の周囲に特=  
4 − 徴抽出に関与しない不感帯領域を隔てて予め設定された
複数の少なくとも1個の画素を含む感知領域内の画素と
を選択的に読出す手段、並びに前記着[1領域又は複数
の感知領域より読出した画素の白黒の状態に応じて、該
着目領域又は複数の感知領域を白あるいは黒と判定し、
着目領域および全1の感知領域に対する判定結果を着目
画素に対する画素特lI3]−ドとして出力する手段を
構成するもので、具体的には後述する本発明のマスクに
従って画素を読出し、予め設定した閾値設定器50閾値
に応じて白あるいは黒の判定を行ない、画素特徴コード
を1画素単位に出力するものである。
The image input device 1 is a well-known optical reading device equipped with, for example, a light source, a photoelectric conversion element, etc., and converts images to be recognized, such as characters and figures, into binary symbols. The 2-image buffer memory 3 stores the image converted into the 2-digit code (hereinafter referred to as 2).
It is called an individual image. ) has the necessary capacity to store
2IIT] image output from the image input device 1 is temporarily stored. The pixel feature extractor 4 extracts from the two image buffer memories 3 pixels in a region of interest including at least a preset pixel of interest, and special features around the region of interest.
4 - means for selectively reading out pixels in a plurality of sensing regions including at least one pixel set in advance across a dead zone region not involved in feature extraction; Determining the region of interest or the plurality of sensing regions as white or black according to the black and white state of the pixels read out,
This constitutes a means for outputting the determination results for the region of interest and all 1 sensing regions as a pixel characteristic for the pixel of interest. Specifically, the pixel is read out according to the mask of the present invention, which will be described later, and a preset threshold value is output. The setting device 50 determines whether the pixel is white or black according to the threshold value, and outputs a pixel characteristic code for each pixel.

第3図(a)は、本実施例で用いるマスクを示すもので
、該マスク6は、2個画像の画素に対応した着目画素7
を含む着目領域8と、着目領域8の周囲にありnつ画素
特徴]−ドに関与しない不感帯領域9と、不感帯領域9
の周辺に設けられた複数の感知領1iJ110a、10
b、10c、10d。
FIG. 3(a) shows a mask used in this embodiment.
a region of interest 8 that includes n pixel features around the region of interest 8; a dead zone region 9 that does not involve the
A plurality of sensing areas 1iJ110a, 10 provided around the
b, 10c, 10d.

10e’、10f、100,10hとからなっている。It consists of 10e', 10f, 100, and 10h.

ここで、着目領域8および感知領域10a〜10hはそ
れぞれ3画素×3画素の9画素から構成し、また、不感
帯領181i9は3画素の幅で・構成し、マスク6全体
としては15画素×15画素の225画素から構成する
ようになした。
Here, the region of interest 8 and the sensing regions 10a to 10h each consist of 9 pixels (3 pixels x 3 pixels), and the dead zone area 181i9 has a width of 3 pixels, and the entire mask 6 has 15 pixels x 15 pixels. It is made up of 225 pixels.

前記画素特徴抽出器4は、前記マスク6の着目領域8お
よび感知領域10a〜10hの各領域毎に、前記各領域
毎に含まれる黒画素数と閾飴段定器5に設定された所定
の閾値とを比較し、前記各領域毎に「1」又は「0−1
と判定し、その結束を第3図(b)に示すように、領t
dlOa、10b。
The pixel feature extractor 4 extracts the number of black pixels included in each region and a predetermined value set in the threshold value setter 5 for each of the target region 8 of the mask 6 and the sensing regions 10a to 10h. Compare with the threshold value and set "1" or "0-1" for each area.
As shown in FIG. 3(b), the region t
dlOa, 10b.

10c、10d、8.10e、10f、100゜10h
の順に並べて、画素特徴]−ド11として出力する。
10c, 10d, 8.10e, 10f, 100°10h
The pixel features are arranged in the order of pixel features]-11.

第3図(C)は、前述した画素特徴抽出器4の各出力を
第3図(a)に示J位置関係に基づいて表示したもので
あるが、以下、これも第3図(b)に示す信号列と同様
、画素特徴コード12と称するものとする。
FIG. 3(C) shows each output of the pixel feature extractor 4 described above based on the positional relationship shown in FIG. 3(a), and below, this is also shown in FIG. 3(b). Similar to the signal string shown in , this is called a pixel feature code 12.

第4図は、前記マスク6により線幅の変動を吸収するよ
うすを示すものである。ここで、画像を8本/ mmの
分解能、即ち1画素当たりの面積を0125mm X 
0.125mとし、前記閾値を「3」とすると、線幅0
.125#の線分13が第4図(a)に示すにうに@[
I領域8.感知領域10dおよび感知領域10eと交差
する場合、該領域のそれぞれ3画素が黒画素となり、水
平線分を示ずrooolllooo」の画素特徴コード
14を得ることができる。また、線幅1.125mの線
分15が第4図(1))に示すように着目領域8.感知
領域10dおよび感知領域10eと交差する場合、該領
域はそれぞれ全ての画素、即ち9画素が黒画素となるが
、前記同様に水平線分を示す画素特徴]−ド14を1す
ることができる。
FIG. 4 shows how the mask 6 absorbs variations in line width. Here, the image has a resolution of 8 lines/mm, that is, the area per pixel is 0125 mm x
If it is 0.125m and the threshold value is "3", then the line width is 0.
.. The line segment 13 of 125# is shown in Figure 4(a).
I area 8. When intersecting the sensing region 10d and the sensing region 10e, three pixels in each of the regions become black pixels, and a pixel characteristic code 14 of "rooolloooo" without a horizontal line segment can be obtained. Also, as shown in FIG. 4 (1), a line segment 15 with a line width of 1.125 m is located in the area of interest 8. When intersecting the sensing region 10d and the sensing region 10e, all pixels, that is, 9 pixels, in each of the regions are black pixels, but the pixel feature representing a horizontal line segment can be set to 1 in the same manner as described above.

第5図は、前記画素特徴抽出器4による画像の特徴抽出
の一例を示すもので、2画素分の線幅を有するアングル
形状の2値画像する−Lをマスク6が左方向に走査して
いくようJと、この際に得られる画素特徴]−ドを示し
ている。第5図(a)は2値画@するが着目領域8.感
知領域10d。
FIG. 5 shows an example of image feature extraction by the pixel feature extractor 4, in which the mask 6 scans an angled binary image -L having a line width of two pixels in the left direction. The following shows the pixel characteristics obtained at this time. FIG. 5(a) is a binary image @attention area 8. Sensing area 10d.

10e、および10fを交差する場合を示し、この時は
roool 11100Jの画素特徴コード17に変換
される。また、第5図(b)は走査位置を第5図(a)
に対して1画素移動した場合を示し、この時はI’0O
O011100Jの画素特徴]−ド18が得られ、さら
に第5図(C)は走査位置を第5図(b)に対してさら
に4画素移動ざ1士た場合を示し、この時はroo(’
)011010’lの画素特徴コード19が得られる。
10e and 10f, and in this case, the pixel feature code is converted to 17 of roool 11100J. In addition, Fig. 5(b) shows the scanning position as shown in Fig. 5(a).
This shows the case of moving one pixel to , in this case I'0O
Pixel characteristics of O011100J]-18 are obtained, and FIG. 5(C) shows the case where the scanning position is further moved by 4 pixels with respect to FIG. 5(b), and in this case roo('
)011010'l pixel feature code 19 is obtained.

第6図は、前記2画素分の線幅を有Jる2飴画像する上
を全てラスク走査した時に得られる画素特徴コードによ
るパタン20を示すもので、斜線部分21は着目領域が
黒画素と判定された部分を示す。該パタン20によれば
、略中央部にアングル形状を表わす画素特徴が抽出され
ていることがわかる。
FIG. 6 shows a pattern 20 based on the pixel characteristic code obtained when the entire top of the 2-candy image having a line width of 2 pixels is scanned, and the shaded area 21 indicates that the area of interest is a black pixel. Indicates the judged part. According to the pattern 20, it can be seen that a pixel feature representing an angle shape is extracted approximately at the center.

第7図は、画素特徴抽出器4による画像の特徴抽出の他
の例を示すものである。第7図(a)は入力図形を示し
、直径約2mの円の一端に約2rrvnの線分が連結さ
れた図形22を示ず。第7図(b)は着目領域8が黒画
素のみの画素特徴コードによるパタン23を示Jもので
あって、円と線分の連結部分に横Y形の3分岐を示す画
素特徴コード271が抽出されCいることがわかる。第
7図(C)は全画素の画素特徴コードによるパタン25
を承すものであって、2値画像上、白画素である部分に
周囲を黒画素で囲まれていることを示す画素特徴コード
26が抽出されていることがわかる。なお、第7図(b
)(c)において、画素特徴コードによるパタン23.
25が偏平状になっている理由は印刷機の性質ににるb
のである。
FIG. 7 shows another example of image feature extraction by the pixel feature extractor 4. FIG. 7(a) shows the input figure, and does not show the figure 22 in which a line segment of about 2rrvn is connected to one end of a circle with a diameter of about 2m. FIG. 7(b) shows a pattern 23 based on a pixel characteristic code in which the region of interest 8 is only black pixels, and a pixel characteristic code 271 indicating a horizontal Y-shaped three-branch is present at the connecting part of a circle and a line segment. It can be seen that C is extracted. FIG. 7(C) is a pattern 25 based on pixel characteristic codes of all pixels.
It can be seen that on the binary image, a pixel characteristic code 26 indicating that a white pixel is surrounded by black pixels is extracted. In addition, Fig. 7 (b
) (c), the pattern 23. is based on the pixel feature code.
The reason why 25 is flat is due to the nature of the printing press.
It is.

第8図は、画素特徴抽出器4による画像の特徴抽出のさ
らに他の例を示すしので、ここでは、切れのある線分2
7を走査した時のようずを示す。
FIG. 8 shows still another example of image feature extraction by the pixel feature extractor 4.
7 is shown when scanning.

第8図(a) tj線分27が感知領域10dおよび1
0eど交差している場合を示し、この時にはroool
 01000Jの画素特徴コード28が得られる。また
、第8図(11)は第8図(a)に対して1画素移動し
た場合を示し、この時には[0O0111000Jの画
素特徴コード29が得られる。ここで、線分の端部や別
の線分同士等では前配画素特徴]−ド28に続いて画素
時Wi]−ド29は1qられないから、画素特徴コード
28が得られた場合にその前後の画素特徴コードを参照
することにより、線分の切れかどうかを判定することが
可能である。
FIG. 8(a) The tj line segment 27 is the sensing area 10d and 1
Indicates the case where 0e intersects, in this case rool
A pixel feature code 28 of 01000J is obtained. Further, FIG. 8(11) shows a case where the pixel is moved by one pixel with respect to FIG. 8(a), and in this case, a pixel characteristic code 29 of [0O0111000J is obtained. Here, at the end of a line segment or between different line segments, the previous pixel feature ]-do 28 and the pixel time Wi]-do 29 cannot be 1q, so when the pixel feature code 28 is obtained, By referring to the pixel feature codes before and after the pixel feature code, it is possible to determine whether or not the line segment is broken.

第9図は、本発明の画素特徴抽出装置の具体的な実施例
(着目領13X3画素、不感帯領域幅3画素、感知領域
3×3画素)を示すものである。
FIG. 9 shows a specific embodiment of the pixel feature extraction device of the present invention (region of interest 13×3 pixels, dead zone width 3 pixels, sensing region 3×3 pixels).

画像入力装置1は1次元センサ110と、2値化器12
0と、入力図面130に対して1次元センサ110を主
走査方向Xおよび副走査方向Yに走査する走査回路(図
示せず)とからなっている。2個画像バッファメモリ3
は主走査方向Xのビット数と同等のビット数を有するシ
フトレジスタが着目領域と感知領域の副走査方向Yのビ
ット数と同一の列数分接続された入力バッファ310と
、ヨ1三走査方向×のビット数と同等のビット数を有す
るシフトレジスタが着目領域と不感帯領域と感知領域の
副走査方向Yのピッ1〜数と同一の列数分接続されたコ
ードバッファ320とからなっている。画素特徴抽出器
4は、着目領域と感知領域の大きさを有するシフ1へレ
ジスタ構成の白黒判定レジスタ410と、黒画素数計数
器420と、比較器430と、着目領域と不感帯領域と
感知領域の主走査方向Xのピッ1〜数と同等のビット数
を有する3個のシフトレジスタよりなる]−ド化レジス
タ440とから成っている。
The image input device 1 includes a one-dimensional sensor 110 and a binarizer 12
0, and a scanning circuit (not shown) that scans the one-dimensional sensor 110 in the main scanning direction X and the sub-scanning direction Y with respect to the input drawing 130. 2 image buffer memory 3
is an input buffer 310 in which shift registers having the same number of bits as the number of bits in the main scanning direction A shift register having the same number of bits as the number of bits of x is made up of a code buffer 320 connected to the target area, the dead zone area, and the same number of columns as the number of pips 1 to 1 in the sub-scanning direction Y of the sensing area. The pixel feature extractor 4 includes a black and white judgment register 410 having a shift 1 register configuration having the sizes of the region of interest and the sensing region, a black pixel number counter 420, a comparator 430, and the size of the region of interest, the dead zone region, and the sensing region. It consists of three shift registers having the same number of bits as the number of bits in the main scanning direction X.

前記構成において、入力図面130は前記1次元センサ
゛110によって主走査方向X、副走査方向Yに走査さ
れ、得られた電気信号は2値化器120にJ:つて2値
化され、入力バッファ310に入力される。人力バッフ
ァ310の内容は、副走査方向Y01列毎に独立に接続
されている白黒判定レジスタ410に送出され、該白黒
判定レジスタ410が入力図面130上をラスク走査す
るのと同等の効果を持つ。白黒判定レジスタ旧0の個々
のビット、即ち画素の白黒を表わすデータは黒画素数計
数器420に送出され、黒画素数が計数される。黒画素
数計数器420の出力は予め設定された所定の値を持つ
閾値設定器5の値ど比較器430で比較され、「1」又
は「0」の信号をコードバッファ320へ出力する。従
って、比較器430の出力は画素特徴]−ドの各ビット
が順次出力されることにイ【る。また、コードバッファ
320からは、着目領域および各感知領域の副走査方向
Yの中心位置に対応するシフトレジスタから画素特徴]
−ド化のための信号を]−ド化レジスタ440に出力す
る。]−ド化レジスタ440は、着目領域および各感知
領域の中心点に対応するビットを画素特徴]−ドとしτ
出力する。
In the above configuration, the input drawing 130 is scanned by the one-dimensional sensor 110 in the main scanning direction is input. The contents of the manual buffer 310 are sent to a black-and-white determination register 410 that is connected independently for each column Y01 in the sub-scanning direction, and has the same effect as when the black-and-white determination register 410 scans the input drawing 130. The individual bits of the black/white determination register old 0, ie, the data representing whether the pixel is black or white, are sent to the black pixel number counter 420, and the number of black pixels is counted. The output of the black pixel number counter 420 is compared with the value of the threshold value setter 5 having a predetermined value set in advance by a comparator 430, and a signal of “1” or “0” is outputted to the code buffer 320. Therefore, the output of the comparator 430 corresponds to each bit of the pixel feature code being output in sequence. Also, from the code buffer 320, pixel features are extracted from the shift register corresponding to the center position in the sub-scanning direction Y of the region of interest and each sensing region]
- outputs a signal for code conversion to the -code conversion register 440. ]- code conversion register 440 sets the bit corresponding to the center point of the region of interest and each sensing area as a pixel feature ]- code τ
Output.

第10図は、入力図面の部分図形と本発明の装置によっ
て抽出された部分図形の持つ特徴のみを表わす画素特徴
コードを図示したものである。第10図(a)は端点を
表わす図形30と、これに対応するrooool 10
00Jの画素特徴コード31を示している。第10図(
b)は屈折点を表わす図形32と、これに対応する「0
00011010」の画素特徴コード33およびMll
looloo」の画素特徴コード34を示している。
FIG. 10 illustrates pixel feature codes representing only the features of the partial figures of the input drawing and the partial figures extracted by the apparatus of the present invention. FIG. 10(a) shows a figure 30 representing an end point and the corresponding rooool 10
A pixel characteristic code 31 of 00J is shown. Figure 10 (
b) shows the figure 32 representing the refraction point and the corresponding “0”
00011010” pixel feature code 33 and Mll
The pixel feature code 34 of "LOOLOO" is shown.

第10図(C)は分岐点を表わす図形35と、これに対
応するrol 0011010Jの画素特徴コード36
、rl 00100111 Jの画素特徴コード37お
よびrl 11100100Jの画素特徴]−ド38を
示している。第10図(d)は他の分岐点を表わす図形
39と、これに対応する[100001100Jの画素
特徴コード40およびrl 00011100Jの画素
特徴コード41を示している。また、第10図(e)は
交差点を表わす図形42と、これに対応するro101
11010]の画素特徴コード43、rool 001
111」の画素特徴]−ド44、rl 0010011
1」の画素特徴コード45、rllloolool」の
画素特徴]−ド46、およびrl 11100100」
の画素特徴コード47を示している。
FIG. 10(C) shows a figure 35 representing a branch point and the corresponding pixel feature code 36 of rol 0011010J.
, pixel feature code 37 of rl 00100111J and pixel feature code 38 of rl 11100100J. FIG. 10(d) shows a figure 39 representing another branch point and the corresponding pixel characteristic code 40 of [100001100J and pixel characteristic code 41 of rl 00011100J. In addition, FIG. 10(e) shows a figure 42 representing an intersection and the corresponding ro101.
11010] pixel feature code 43, rool 001
111” pixel characteristics] -do 44, rl 0010011
1'' pixel feature code 45, rllloolool'' pixel feature code 46, and rl 11100100''
The pixel feature code 47 is shown.

(発明の効果) 以上説明したように本発明によれば、着目領域の周囲に
不感帯領域を設定し、該不感帯領域の周囲に感知領域を
設定し、少ないビット数で部分図形の特徴を入力図面の
全画素に対応して抽出することができるようにしたので
、線の切れ、凹凸等に対しても安定であり、図形認識装
面等を実用ηるのにイ1効な特徴を抽出することができ
る。また、認識対象の図形に対応した部分図形の特徴の
みを用いることによって、目的どする屈折点1分岐点等
の特徴点の検出も可能となる。さらに、入力される画像
の性質に応じた着目領域、不感帯領域。
(Effects of the Invention) As explained above, according to the present invention, a dead zone area is set around a region of interest, a sensing area is set around the dead zone area, and features of a partial figure are inputted using a small number of bits. Since it is possible to extract corresponding to all pixels of the image, it is stable even against broken lines, unevenness, etc., and it is possible to extract features that are very effective for practical implementation of figure recognition devices, etc. be able to. Further, by using only the features of the partial figure corresponding to the figure to be recognized, it is also possible to detect a desired feature point such as a refraction point or one branch point. Furthermore, a region of interest and a dead zone region according to the nature of the input image.

感知領域、閾値等を設定ザることによって画像の識別、
解析装置にも適用可能となる等の利点がある。
Image identification by setting the sensing area, threshold, etc.
It has the advantage that it can also be applied to analysis equipment.

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

第1図は本発明の画素特徴抽出装置の一実施例を示す機
能ブロック図、第2(a)〜(e)は従来の特徴抽出用
のマスクを示す説明図、第3図(a)は本発明のマスク
の一例を示す説明図、第3図(b)(C) tま本発明
の画素特徴コードの内容を示す図、第4図(a) (b
)は線幅の異なる線分が同一の画素特徴コードで表わさ
れることを示す図、第5図(a) (b) (c)は特
徴抽出のよう寸の一例を示す図、第6図は画素特徴コー
ドによるパタンの一例を示す図、第7図(a) (bl
 (clは画素特徴コードによるパタンの他の例を示す
図、第8図は特徴抽出のようりの他の例を示す図、第9
図は画素特徴抽出装置の具体的構成の一例を示すブロッ
ク図、第10図(a)〜(0)は特徴抽出のようすのさ
らに他の例を示J図である。 2・・・画素特徴抽出装置、3・・・2値画素バッファ
メモリ、4・・・画素特徴抽出器、5・・・閾値設定器
、6・・・マスク。 特許出願人 沖電気工業株式会社 代即人弁理士 古  1) 精  孝  する一 本発明の一実売(vll !示すプロ、、り国策1図 (a)     (b)     (C)     (
d)(e) 従来の特cti由出マスクに示す図 第2図 (a) (b)     25 (C) バランのイセのイケ1にボす図 (a)(b) 特徴才出出のイセのイケ11示すl 第8図
FIG. 1 is a functional block diagram showing an embodiment of the pixel feature extraction device of the present invention, FIGS. 2(a) to (e) are explanatory diagrams showing conventional feature extraction masks, and FIG. 3(a) is Explanatory diagrams showing an example of the mask of the present invention, FIGS. 3(b) and (C); Figures 4(a) and 4(b) showing the contents of the pixel characteristic code of the present invention;
) is a diagram showing that line segments with different line widths are expressed by the same pixel feature code, Figures 5 (a), (b), and (c) are diagrams showing an example of dimensions for feature extraction, and Figure 6 is a diagram showing that line segments with different line widths are expressed by the same pixel feature code. A diagram showing an example of a pattern based on a pixel feature code, FIG. 7(a) (bl
(cl is a diagram showing another example of a pattern based on a pixel feature code, Figure 8 is a diagram showing another example of feature extraction, Figure 9 is a diagram showing another example of a pattern using pixel feature codes,
The figure is a block diagram showing an example of a specific configuration of the pixel feature extraction device, and FIGS. 10(a) to 10(0) are J diagrams showing still other examples of feature extraction. 2... Pixel feature extractor, 3... Binary pixel buffer memory, 4... Pixel feature extractor, 5... Threshold value setter, 6... Mask. Patent Applicant: Oki Electric Industry Co., Ltd. Patent Attorney Furu 1) Sei Takashi Is this invention actually sold?
d) (e) Figure 2 (a) (b) 25 (C) Diagram showing the conventional characteristic cti-derived mask (a) (b) Figure 1 of the balun's Ise (a) (b) Ike 11 shows l Figure 8

Claims (2)

【特許請求の範囲】[Claims] (1)2値化された画像内の個々の画素(着目画素)に
対し、該着目画素およびその周囲の画素の状態を検出す
ることにより、画素単位の特徴を抽出する画素特徴抽出
装置において、 2値化された画像を一時的に格納する2値画像バッファ
メモリと、 前記2値画像バッファメモリより、予め設定された少な
くとも前記着目画素を含む着目領域内の画素と、該着目
領域の周囲に特徴抽出に関与しない不感帯領域を隔てて
予め設定された複数の少なくとも1個の画素を含む感知
領域内の画素とを選択的に読出す手段、並びに前記着目
領域又は複数の感知領域より読出した画素の白黒の状態
に応じて、該着目領域又は複数の感知領域を白あるいは
黒と判定し、着目領域および全ての感知領域に対する判
定結果を着目画素に対する画素特徴コードとして出力す
る手段を有する画素特徴抽出器とを備えたことを特徴と
する 画素特徴抽出装置。
(1) In a pixel feature extraction device that extracts features for each pixel by detecting the states of the pixel of interest and its surrounding pixels for each pixel (pixel of interest) in a binarized image, a binary image buffer memory that temporarily stores a binarized image; means for selectively reading out pixels in a sensing area including at least one pixel set in advance across a dead zone area that is not involved in feature extraction, and pixels read out from the area of interest or the sensing area; Pixel feature extraction having means for determining the region of interest or a plurality of sensing regions as white or black according to the black and white state of the pixel of interest, and outputting the determination results for the region of interest and all sensing regions as a pixel feature code for the pixel of interest. A pixel feature extraction device comprising:
(2)着目領域又は複数の感知領域が2以上の画素から
なる場合は、該領域内の黒画素数(又は白画素数)と所
定の閾値とを比較し、その結果に基づいて白あるいは黒
と判定するようになしたことを特徴とする特許請求の範
囲第1項記載の画素特徴抽出装置。
(2) If the region of interest or multiple sensing regions consists of two or more pixels, compare the number of black pixels (or number of white pixels) in the region with a predetermined threshold, and based on the result, select white or black pixels. The pixel feature extraction device according to claim 1, characterized in that the pixel feature extraction device determines that.
JP60253682A 1985-11-14 1985-11-14 Picture element feature extracting device Pending JPS62114077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60253682A JPS62114077A (en) 1985-11-14 1985-11-14 Picture element feature extracting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60253682A JPS62114077A (en) 1985-11-14 1985-11-14 Picture element feature extracting device

Publications (1)

Publication Number Publication Date
JPS62114077A true JPS62114077A (en) 1987-05-25

Family

ID=17254686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60253682A Pending JPS62114077A (en) 1985-11-14 1985-11-14 Picture element feature extracting device

Country Status (1)

Country Link
JP (1) JPS62114077A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03245278A (en) * 1990-02-23 1991-10-31 Nec Corp Contrast extraction filter
JPH03245277A (en) * 1990-02-23 1991-10-31 Nec Corp Contrast extraction filter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03245278A (en) * 1990-02-23 1991-10-31 Nec Corp Contrast extraction filter
JPH03245277A (en) * 1990-02-23 1991-10-31 Nec Corp Contrast extraction filter

Similar Documents

Publication Publication Date Title
US20080018951A1 (en) Image processing apparatus and control method thereof
JPS63158678A (en) Inter-word space detecting method
US6367698B1 (en) Bar code reader for decoding a four state bar code
US5050229A (en) Method and apparatus for thinning alphanumeric characters for optical character recognition
JP4777024B2 (en) Image processing apparatus and image processing apparatus control method
JP2004280334A (en) Image reading device
JPS62114077A (en) Picture element feature extracting device
JPH0291789A (en) Character recognizing system
JP3234636B2 (en) Defect inspection equipment
JPH07160810A (en) Character recognizing device
JPS615383A (en) Character pattern separating device
JPH02250193A (en) Graphic/character separating system
JPH02187883A (en) Document reader
JP2925300B2 (en) Optical character reader
JP2925275B2 (en) Optical character reader
JPH0357507B2 (en)
JPH07107689B2 (en) Image signal processor
JPH08171609A (en) High-speed character string extracting device
JPH0478982A (en) Optical character reader
JP2007148719A (en) Image processing device, method and program
JPS62114078A (en) Feature extracting device
JPS62298889A (en) Extraction system for character string
JPH05274473A (en) Optical character reader
JPS63316563A (en) Picture reader
JPH04288773A (en) Attribute discriminating method