JPS6136880A - Contour tracking device - Google Patents

Contour tracking device

Info

Publication number
JPS6136880A
JPS6136880A JP16084284A JP16084284A JPS6136880A JP S6136880 A JPS6136880 A JP S6136880A JP 16084284 A JP16084284 A JP 16084284A JP 16084284 A JP16084284 A JP 16084284A JP S6136880 A JPS6136880 A JP S6136880A
Authority
JP
Japan
Prior art keywords
contour
data
black
pixel data
picture element
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
JP16084284A
Other languages
Japanese (ja)
Inventor
Toshimichi Masaki
俊道 政木
Atsushi Kuno
敦司 久野
Kazuhiko Saka
坂 和彦
Nobuo Nakatsuka
中塚 信雄
Mitsutaka Kato
加藤 充孝
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP16084284A priority Critical patent/JPS6136880A/en
Publication of JPS6136880A publication Critical patent/JPS6136880A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To produce a composite chain symbol picture by obtaining the binary coded picture element data and the peripheral 8-direction vicinity data to detect the contour black picture elements of an input pattern and obtaining and storing the direction of the next contour black picture element. CONSTITUTION:The binary coded picture element data free from noises is sent to a direction code generating circuit 4. Then shift registers 11-13 and direction code generating table memory 14 are used to show a specific code of the direction of the next contour point as well as whether or not a center picture element data D8 is equal to the black picture element data or to a contour point and whether the contour is already tracked or not. The center point is equal to a contour black picture element in case the data D8 is equal to the black picture element and peripheral data D0, D2, D4 and D6 are not equal to the white or black picture elements. The output of the memory 14 is stored to a picture memory 5 for production of HSM pictures.

Description

【発明の詳細な説明】 〈発明の技術分野〉 本発明は、文字、図形等の画像入力を白黒2値化して入
力パターンを求め、この人カッ寸ターンGF4aパター
ンと照合して、未知文字等をムは、前記パターン照合の
前処理段階等において、入力パタークの輪郭を高速度で
追跡する輪郭追跡装置を提供するものである。
[Detailed Description of the Invention] <Technical Field of the Invention> The present invention converts image input such as characters and figures into black and white binarization to obtain an input pattern, and compares it with this person's short turn GF4a pattern to identify unknown characters, etc. The present invention provides a contour tracking device that tracks the contour of an input pattern at high speed in the preprocessing stage of pattern matching and the like.

く廃明の背景〉 従来のこの種装置は、第13図に示す如く、文字、図形
等をCCD (Clurged −Coupled D
evice )より成るカメラ51にて画像化し、この
画像入力を2値化回路52で白黒2値化して入力パター
ンを求め、この入力パターンを画像メモリ53へ格納し
た後、画像メモリ53中の入力パターンにつき、輪郭追
跡回路54を動作させて、輪郭線の追跡処理を実行して
いる。この輪郭追跡処理は、画像メモリ53上に第14
図に示すマスク55を設定してこれを所定方向(図中、
矢印で示す)へ定歪し、各画素につきその画素データS
およびその周囲4方向近傍の画素データS、S3をチェ
ックし、そのデータ構成に基つき追跡開始点Aを求めた
後、入力パターンの輪郭黒画乏   素を所定方向−1
順次追跡してゆく。
Background of the Clustered Meiji Conventional devices of this kind, as shown in Fig.
The input pattern is converted into an image by a camera 51 consisting of a camera (device), and this image input is converted into black and white binarized by a binarization circuit 52 to obtain an input pattern. After storing this input pattern in the image memory 53, the input pattern in the image memory 53 is converted into an image. Accordingly, the contour tracing circuit 54 is operated to perform contour tracing processing. This contour tracking process is performed by storing the 14th image on the image memory 53.
The mask 55 shown in the figure is set and moved in a predetermined direction (in the figure,
), and the pixel data S for each pixel is
After checking the pixel data S and S3 in the surrounding four directions and finding the tracking start point A based on the data configuration, the outline black pixel of the input pattern is moved in a predetermined direction -1.
Follow up sequentially.

大して示しである。同図において、今輪郭黒画素Boか
らつきの輪郭黒画素Bが追跡された段階を想定すると、
つきに続く輪郭黒画素は、まず追跡方向に対し左手90
度に位置する画素B6につきデータ内容がチェックされ
、これに続いて画素BS r B4 r B3の順で次
々にデータ内容がチェックされる。その結果、黒画素デ
ータ「1」をもつ画素B3か検出されると、これをっき
の輪郭黒画素と定め、更に同様の輪郭追跡処理を繰返し
実行するものである。従って上記の例においては、輪郭
黒画素B3を検出するのに、合計4画素アクセスするこ
とが必要となる。
This is a great indication. In the same figure, assuming that the next contour black pixel B has been tracked from the contour black pixel Bo,
The contour black pixels that follow are first 90 to the left in the tracking direction.
The data content is checked for the pixel B6 located at the same time, and then the data content is checked one after another in the order of pixels BS r B4 r B3. As a result, when a pixel B3 having black pixel data "1" is detected, this is determined as the previous contour black pixel, and the same contour tracking process is repeated. Therefore, in the above example, a total of four pixels need to be accessed to detect the black outline pixel B3.

かくしてこの従来方式によれば、追跡開始点を検出する
のに、マスクの各走査位置毎に5画素アクセスし、更に
隣接する輪郭黒画素を検出するのに、平均4画素(最゛
大8画素、最小1画素)アクセスする必要かあり、輪郭
追跡の処理時間か著しく長くなり、これがパターン認識
効率を低下させる原因となっている。
Thus, according to this conventional method, to detect the tracking start point, 5 pixels are accessed at each scanning position of the mask, and to detect the adjacent contour black pixels, an average of 4 pixels (maximum 8 pixels) is accessed. , at least one pixel), and the processing time for contour tracking becomes significantly longer, which causes a decrease in pattern recognition efficiency.

〈発明の目的〉 本発明は、入力パターンの輪郭追跡を高速化する新規装
置を提供し、もって輪郭処理時間の短縮、更にはパター
ン認識効率の向上をはかることを目的とする。    
   (以下余白)〈発明の構成および効果〉 上記目的を達成するため、本俗明では、文字7、図形等
の直像入力を白黒2値化して入力パターンを求め、この
入力パターンの各構成画素につきその周囲8方向近傍の
画素データを求めた後、この画素データ構成に基づき入
力パターンの輪郭黒画素を検出すると共につぎの輪郭黒
画素か位置する方向を求め、各輪郭黒画素に対応して前
記方向を規定する記号を順次格納して、第1図(3)に
示すような複合連鎖記号化画像を生成するようにした。
<Objective of the Invention> An object of the present invention is to provide a new device that speeds up contour tracing of an input pattern, thereby reducing contour processing time and further improving pattern recognition efficiency.
(Margins below) <Structure and Effects of the Invention> In order to achieve the above object, in the present invention, direct image input such as characters 7, figures, etc. is converted into black and white binarized to obtain an input pattern, and each constituent pixel of this input pattern is After obtaining the pixel data in the vicinity of the surrounding area in 8 directions, based on this pixel data structure, detect the outline black pixel of the input pattern, find the direction in which the next outline black pixel is located, and calculate the pixel data corresponding to each outline black pixel. The symbols defining the directions are sequentially stored to generate a composite chained symbol image as shown in FIG. 1(3).

本発明によれは、画像入力と同時に入力パターンにおけ
る輪郭黒画素の検出並ひに、つきの輪郭黒画素が位置す
る方向コードの検出か可能であると共に、複合連鎖記号
化画像の各方向コードをチェックするだけてつぎの輪郭
黒画素位置を簡単に把握できるようになった。従って輪
郭黒画素を追跡するのにその都度1回アクセスすれば足
り、従来方式に比較して、輪郭追跡のhn  コ] 此
 朋 オー 4− 価 +r  桝 像 1− 土  
  、−力    ・7 デ可 上山 t) 六本率向
上に貢献する等、発明目的を達成した顕著な効果を奏す
今。
According to the present invention, it is possible to simultaneously input an image, detect a contour black pixel in an input pattern, detect a direction code in which a contour black pixel is located, and check each direction code of a complex chain encoded image. Now you can easily determine the position of the next contour black pixel just by doing this. Therefore, it is sufficient to access the contour black pixels once each time, and compared to the conventional method, the contour tracking is much easier.
, -Power ・7 Deable Kamiyama t) Now that the invention has achieved the purpose of the invention and has had remarkable effects, such as contributing to an improvement in the six-point ratio.

〈実施例の説明〉 第2図は、本発明にかかる輪郭追跡装置の全体概略構成
を示す。図中、CCDより成るカメラ1は、文字、図形
等を光学的に読み取って画像入力を得る。2値化回路2
は画像入力信号を所定のスレシュホールドレベルに基つ
き2値化し、白黒画画素より成る入力パターンを求める
。第1図(1)は2値化された入力パターン(図中、斜
線部分か黒画素を示す)を2次元的に示したものであり
、この入力パターンは縦横各256ビツトの画素にて構
成されている。ノイズ除去回路3は、入力パターンに含
まれるノイズ部分(第1図fli中、符号nl + ’
2て示す)を除去するための回路であり、その結果、第
1図(2)に示す如く、ノイズ除去(破線部)された滑
らかな輪郭の入力パターンを得る。方向コード生成回路
4は、入力パターンの輪郭線が伸ひる方向を規定する方
向コードを生昨才るための回路であり−各輪郭黒画素に
対応してその方向コードを生成して、画像メモリ5に1
llli次格納してゆく。第1図(3)は、方向コード
(図中、数字で示す)が連鎖的に連なって形成された複
合連鎖記号化画像(Hibrid 5equence 
Marked Image ;以下「H5M画像」とい
う)を示している。上記の画像入力、2値化、ノイズ除
去、方向コードの生成、H5M画像の形成の一連の処理
はビデオ信号レートで実行され、しかる後に、輪郭追跡
部6か前記1−I S M画像を用いて、入力パターン
の輪郭追跡処理を実行する。
<Description of Embodiments> FIG. 2 shows an overall schematic configuration of a contour tracking device according to the present invention. In the figure, a camera 1 made of a CCD optically reads characters, figures, etc. to obtain image input. Binarization circuit 2
binarizes an image input signal based on a predetermined threshold level to obtain an input pattern consisting of black and white pixels. Figure 1 (1) is a two-dimensional representation of a binarized input pattern (hatched areas or black pixels are shown in the figure), and this input pattern is composed of 256-bit pixels each in the vertical and horizontal directions. has been done. The noise removal circuit 3 removes a noise portion (nl+' in FIG. 1 fli) included in the input pattern.
As a result, as shown in FIG. 1 (2), an input pattern with a smooth outline from which noise has been removed (shown by broken lines) is obtained. The direction code generation circuit 4 is a circuit for generating a direction code that defines the direction in which the outline of the input pattern extends, and generates the direction code corresponding to each outline black pixel and stores it in the image memory. 1 in 5
lli will be stored next. FIG. 1(3) shows a hybrid 5 sequence symbol image formed by chaining direction codes (indicated by numbers in the figure).
Marked Image (hereinafter referred to as "H5M image"). A series of the above-mentioned image input, binarization, noise removal, direction code generation, and H5M image formation are executed at the video signal rate, and then the contour tracking unit 6 uses the 1-ISM image. Then, contour tracking processing of the input pattern is executed.

第3図および第4図は、上記、ノイズ除去回路3および
方向コード生成回路4の詳細を示している。
3 and 4 show details of the noise removal circuit 3 and direction code generation circuit 4 described above.

ノイズ除去回路3は、3段に直列接続された夫々256
ビツトのシフトレジスタ7.8.9と、各シフトレジス
タ7.8.9の所定3ビツトの画素データ(N、 、 
N2. N3) (No、 N、、 N4)(N7 +
 N6 + NS )によってアドレス指定されるノイ
ズ除去テーブルが格納されたテーブルメモリ10とから
構成されている。このノイズ除去テーブルは、中心画素
データN8およびその周囲8方向近傍の画素データNo
、、−N7(以下、「周囲画素データ」という)が所定
の合法パターンを形成するか否か、或いはそれ以外のパ
ターン(例えば違法パターン)を形成するか否かを判別
して、中心画素データN8かノイズか否かを識別するた
めのものである。そして中心画素データN8がノイズで
あるとき、その黒画素データ「1」を消去すべくテーブ
ルメモリ10より白画素データrQJか出力される。尚
前記の合法パターンは、中心画素データN8か黒画素デ
ータrlJてあり且つ3個の周囲画素デ〜りN(、、N
、 、 N2、またはN2 + N3 、 N4、また
はN4 + N5 + N6、またはN6 + ”? 
+ ”8か黒画素データ「1」である場合のパターン構
成をいいまた違法パターンは、中   □小画素データ
N8が黒画素データ「1」であって、周囲画素データN
o、−、、N7が前記合法パターンにおけるデータ構成
をとらない場合のパターン構成をいう。
The noise removal circuit 3 has 256 circuits each connected in series in three stages.
bit shift registers 7.8.9 and predetermined 3-bit pixel data (N, , ,
N2. N3) (No, N,, N4) (N7 +
The table memory 10 stores a noise removal table addressed by N6 + NS). This noise removal table includes center pixel data N8 and surrounding pixel data No.
,, -N7 (hereinafter referred to as "surrounding pixel data") forms a predetermined legal pattern or another pattern (for example, an illegal pattern), and determines whether the central pixel data This is for identifying whether it is N8 or noise. When the center pixel data N8 is noise, white pixel data rQJ is output from the table memory 10 in order to erase the black pixel data "1". Note that the above legal pattern has center pixel data N8 or black pixel data rlJ, and three surrounding pixels D~N(,,N
, , N2, or N2 + N3, N4, or N4 + N5 + N6, or N6 + ”?
It refers to the pattern configuration when the black pixel data N8 is ``8'' or the black pixel data ``1'', and the illegal pattern is when the medium □small pixel data N8 is the black pixel data ``1'' and the surrounding pixel data N
o, -, , N7 refers to a pattern structure when the data structure does not take the data structure in the legal pattern.

第5図は上記ノイズ除去方法をフローチャートとして示
したものであり、まずステップ31において、シフトレ
ジスタ7.8.9に入力パターンの3行に亘る構成画素
データかセントされ、つぎのステップ32て各シフトレ
ジスタの所定ビットの画素データ”o−Nsかテーブル
メモリ10に入力される。そしてもし中心画素デ!き、
ステップ33か”NOsであ り、テーブルメモリ10から白画素データ「0」か出力
される(ステップ34)。−男中心画素データN8か黒
画素データ「1」のとき、ステップ33か“YES′″
となり、つきのステップ35において、中心画素データ
N8およびその周囲画素データNO’=N7が合法パタ
ーンを構成するか否かか判別される。その結果、合法パ
ターンであるとの判定(ステップ36かYES”)によ
り、テーブルメモU 10から黒画素データ「1」が出
力される(ステップ37)。一方ステップ36の「合法
パターンか」の判定が”NO”のとき、データ「0」が
出力される(ステップ38)。
FIG. 5 shows the above-mentioned noise removal method as a flowchart. First, in step 31, the constituent pixel data of three lines of the input pattern are sent to the shift register 7, 8, 9, and in the next step 32, each Pixel data of a predetermined bit of the shift register "o-Ns" is inputted to the table memory 10.If the center pixel is de!
In step 33, the answer is NO, and white pixel data "0" is output from the table memory 10 (step 34). - When the male center pixel data N8 or the black pixel data is "1", step 33 or "YES'"
Then, in step 35, it is determined whether the center pixel data N8 and its surrounding pixel data NO'=N7 constitute a legal pattern. As a result, if it is determined that the pattern is legal (step 36 or YES), black pixel data "1" is output from table memo U 10 (step 37). On the other hand, when the determination of "Is it a legal pattern" in step 36 is "NO", data "0" is output (step 38).

かくてステップ38におけるテーブルメモ1月0の出力
によって画素データが変換され、これにより入力パター
ンに含まれるノイズの除去か実行される(ステップ39
)。尚ステソゲ31〜39の処理フローは、シフトレジ
スタ7.8゜9のシフト動作と共に、入力パターンの全
画素データにつき実行される。
In this way, the pixel data is converted by the output of table memo January 0 in step 38, and noise included in the input pattern is thereby removed (step 39).
). The processing flow of the stethoscopes 31 to 39 is executed for all pixel data of the input pattern together with the shift operation of the shift register 7.8.9.

つぎに方向コード生成回路4は、上記ノイズ除去回路3
と同様の構成の3段のシフトレジスタ11,12.13
と、各シフトレジスタ11゜12.13の所定3ビツト
の画素データ(Dl。
Next, the direction code generation circuit 4 is connected to the noise removal circuit 3.
Three-stage shift registers 11, 12, and 13 with the same configuration as
and predetermined 3-bit pixel data (Dl.

D2 + D3 ) (DO+ DS + D4 ) 
CD? + D6 + DS )によってアドレス指定
される方向コード生成テーブルが格納されたテーブルメ
モリ14とかう構成されている。この方向コード生成テ
ーブルは、中心画素データD8および周囲画素データD
o〜D7のパターン構成に応じて、第6図に示すデータ
構成の8ビツトデータを出力する。この8画素データか
否か(第7ビツト目)、輪郭点であるか否か(第6ビツ
ト目)、輪郭点追跡部か否か(第5ビツト目)、つきの
輪郭点の方向を示す方向コードが何であるか(第0〜2
ビツト目)を示している。このうち方向コードは、第7
図に示す如く、中心の輪郭黒画素(*印で示すに対し、
隣接するつきの輪郭黒画素かいずれの方向に位置するか
をO〜7の数字コードで示したものであるが、この場合
、中心画素が輪郭黒画素以外のときは方向コードを示す
第0〜2ビツト目のデータは無視される。また第8図お
よび第9図に示すような、両隣りの周囲画素データが白
画素データ「0」であるビゲ状の黒画素a、bについて
は、これを無視して方向コードか生成されている。
D2 + D3) (DO+DS + D4)
CD? + D6 + DS) is configured as a table memory 14 in which a direction code generation table addressed by the direction code generation table is stored. This direction code generation table includes center pixel data D8 and surrounding pixel data D
According to the pattern configuration of o to D7, 8-bit data having the data configuration shown in FIG. 6 is output. Whether this is 8 pixel data (7th bit), whether it is a contour point (6th bit), whether it is a contour point tracking section (5th bit), and the direction indicating the direction of the contour point. What is the code (0-2
bit) is shown. Of these, the direction code is the 7th
As shown in the figure, the central outline black pixel (indicated by *)
The direction in which the adjacent black contour pixel is located is indicated by a numerical code from 0 to 7. In this case, when the center pixel is other than the black contour pixel, the direction code is 0 to 2 indicating the direction code. The bit-th data is ignored. Furthermore, as shown in FIGS. 8 and 9, for large black pixels a and b whose surrounding pixel data on both sides is white pixel data "0", a direction code is generated by ignoring this. ing.

尚中心の画素が輪郭黒画素であるための必要十分条件は
、中心画素データD8か黒画素データrlJてあり且つ
周囲画素データDO+ D2 r D4 +D6のいず
れもか白画素データ「0」若しくは黒画素データ「1」
でない場合をいい、従って前記テーブルメモリ14の出
力データの第6ビツト目は、画素データDo〜D8がこ
の条件を充足するか否かによってそのデータ内容か設定
される。
The necessary and sufficient conditions for the center pixel to be an outline black pixel are that the center pixel data D8 or black pixel data rlJ is present, and any of the surrounding pixel data DO+D2 r D4 +D6 is white pixel data "0" or a black pixel. Data “1”
Therefore, the sixth bit of the output data of the table memory 14 is set to the data content depending on whether or not the pixel data Do to D8 satisfy this condition.

上記テーブルメモリ14の出力データは、画像メモリ5
に順次格納され、その結果、画像メモリ5には第1図(
3)に示す85M画像が生成される。この85M画像は
、黒画素データの対象領域を右(または左)に見ながら
入力パターンの輪郭線を追跡するとき、つぎの境界黒画
素か位置する方向を示す方向コードを各輪郭黒画素位置
に対応させて連鎖状にデータ設定したものであり、前記
輪郭追跡部6は画像メモリ5中の85M画像を走査して
追跡開始点を検出した後、方向コードを手かかりに輪郭
線の追跡を実行する。
The output data of the table memory 14 is stored in the image memory 5.
As a result, the image memory 5 is stored in the image memory 5 as shown in FIG.
The 85M image shown in 3) is generated. In this 85M image, when tracing the contour of the input pattern while looking at the target area of black pixel data to the right (or left), a direction code indicating the direction in which the next boundary black pixel is located is placed at each contour black pixel position. The contour tracing section 6 scans the 85M images in the image memory 5 to detect the tracing start point, and then traces the contour using the direction code as a guide. do.

第10図および第11図は輪郭追跡部6の回路構成例を
示し、第12図はその輪郭追跡動作を示す。図示例の輪
郭追跡部6は、プロクラムを格納するためのROM (
Read 0nly Memory )15と、入力パ
ターンの輪郭追跡結果を格納するためのRAM (Ra
ndom Access Memory ) l 5と
、・  85M画像の輪郭追跡開始点を検出するための
追跡開始点検出回路17と、隣接する追跡点を検出する
ための隣接追跡点検出回路18と、前記プログラムに基
つきRAM16に対するデータの読み書きを行ないつつ
各回路動作を一連に制御して85M画像の輪郭追跡処理
を実行するCPU (Central Process
ing Unit ) 19とから構成される。また前
記隣接追跡点検出回路18は、画象メモリ5における輪
郭追跡開始点アドレスるためのレジスタ21と、85M
画像の各方向コードを参照してレジスタ21の設定内容
をアドレス加算してつぎの追跡点アドレスTADRを算
出する加算回路22とを含む。
10 and 11 show an example of the circuit configuration of the contour tracing section 6, and FIG. 12 shows its contour tracing operation. The contour tracking unit 6 in the illustrated example has a ROM (ROM) for storing a program.
Read Memory ) 15 and RAM (Ra
a tracking start point detection circuit 17 for detecting the contour tracking start point of the 85M image, an adjacent tracking point detection circuit 18 for detecting adjacent tracking points, and a tracking start point detection circuit 18 for detecting an adjacent tracking point; The CPU (Central Process
ing Unit ) 19. The adjacent tracking point detection circuit 18 also includes a register 21 for addressing a contour tracking start point in the image memory 5, and an 85M
It includes an adder circuit 22 that refers to each direction code of the image and adds the settings of the register 21 to the address to calculate the next tracking point address TADR.

然して第12図のフローチャートにおいて、まずCPU
l9は輪郭追跡開始点検出アドレス回路17によって画
像メモリ5の走査を開始して、HS M画像の追跡開始
点アドレスS A D Rを検出する(ステップ41.
42)。そしてステップ43て画像メモリ5の全面が走
査されたか否かをチェックし、この場合、その判定は“
NO′となるから、ステップ44へ進み、隣接追跡点検
出回路18がf−I S M画像の方向コードを参照し
てつきの隣接追跡点アドレス゛rADRを検出する。そ
してつぎのステップ45ては、85M画像の対応画素デ
ータの追跡部フラグを「1」にセットした後、前記隣接
追跡点アドレスTADRをRAM15へ格納する。つぎ
のステップ47では、この隣接追跡点アドレスT A 
D Rが追跡開始点アドレスS A D Rと一致する
か否かを判定しており、“No″の判定でステップ44
へ戻り、同様の隣接追跡点アドレスTADRの検出処理
か繰返し実行される。かくてステップ47の判定が“Y
ES″となったとき、ステップ48へ進み、追跡開始点
アドレス5ADRに1して、つきの追跡開始点の検出動
作へ移行する(ステップ42)。
However, in the flowchart of Fig. 12, first the CPU
At step 19, the contour tracking start point detection address circuit 17 starts scanning the image memory 5, and detects the tracking start point address S ADR of the HSM image (step 41.
42). Then, in step 43, it is checked whether the entire surface of the image memory 5 has been scanned, and in this case, the determination is "
Since the result is NO', the process proceeds to step 44, where the adjacent tracking point detection circuit 18 detects the adjacent tracking point address rADR by referring to the direction code of the f-ISM image. In the next step 45, the tracking unit flag of the corresponding pixel data of the 85M image is set to "1", and then the adjacent tracking point address TADR is stored in the RAM 15. In the next step 47, this adjacent tracking point address T A
It is determined whether or not D R matches the tracking start point address S A D R, and if the determination is "No", step 44 is executed.
The process returns to , and the same process of detecting the adjacent tracking point address TADR is repeated. Thus, the determination in step 47 is “Y”.
ES'', the process advances to step 48, where the tracking start point address 5ADR is set to 1, and the process moves to the subsequent tracking start point detection operation (step 42).

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

第1図はH5M画像の生成過程を説明するための図、第
2図は輪郭追跡装置の全体概略構成を示すブロック図、
第3図はノイズ除去回路および方向コード生成回路を詳
細に示した輪郭追跡装置のブロック図、第4図はノイズ
除去回路および方向コード生成回路における画素データ
の流れを示す説明図、第5図はノイズ除去方法を示すフ
ローチャート、第6図は方向コード生成回路のテーブル
メモリの出力データ構成を説明するための図、第7図は
方向コードを説明するための図、第8図および第9図は
ヒゲ状黒画素をもつパターンについての方向コード生成
動作を説明するための図、第10図および第11図は輪
郭追跡部の回路構成例を示すブロック図、第12図は輪
郭追跡処理動作を示すフローチャート、第13図は従来
例の全体構成を示すブロック図、第14図および第15
図は従来例の輪郭追跡処理動作を説明するための図であ
る。 1・・・・・カメラ   2・・・・・・2値化回路4
・・・・・・方向コード生成回路 5・−・−・−画像メモリ 6・・・・・・輪郭追跡部
特許出願人  立石電機株式会社 テ 10 121 一7Jr l +3 (1ンC2) −A−2図 分6 図 牙72          牙i 図 テ92 叶6L21I
FIG. 1 is a diagram for explaining the H5M image generation process, and FIG. 2 is a block diagram showing the overall schematic configuration of the contour tracking device.
FIG. 3 is a block diagram of the contour tracking device showing details of the noise removal circuit and direction code generation circuit, FIG. 4 is an explanatory diagram showing the flow of pixel data in the noise removal circuit and direction code generation circuit, and FIG. Flowchart showing the noise removal method, FIG. 6 is a diagram to explain the output data structure of the table memory of the direction code generation circuit, FIG. 7 is a diagram to explain the direction code, and FIGS. 8 and 9 are A diagram for explaining the direction code generation operation for a pattern with whisker-like black pixels, FIGS. 10 and 11 are block diagrams showing an example of the circuit configuration of the contour tracking section, and FIG. 12 shows the contour tracking processing operation. Flowchart, FIG. 13 is a block diagram showing the overall configuration of the conventional example, FIGS. 14 and 15
The figure is a diagram for explaining the contour tracking processing operation of the conventional example. 1... Camera 2... Binarization circuit 4
...Direction code generation circuit 5 --- Image memory 6 ... Contour tracking unit Patent applicant Tateishi Electric Co., Ltd. -2 illustrations 6 illustrations 72 teeth i illustrations 92 leaves 6L21I

Claims (1)

【特許請求の範囲】 画像入力を白黒2値化して入力パターンを 得る手段と、入力パターンの各構成画素につきその周囲
8方向近傍の画素データを求める手段と、各構成画素デ
ータおよびその周囲8方向近傍の画素データに基づき入
力パターンにおける輪郭黒画素を検出すると共につぎの
輪郭黒画素が位置する方向を求める手段と、各輪郭黒画
素に対応して前記方向を規定する記号を順次格納して複
合連鎖記号化画像を生成する手段とを具備して成る輪郭
追跡装置。
[Scope of Claims] Means for obtaining an input pattern by converting image input into black and white binarization; means for obtaining pixel data in the vicinity of each constituent pixel in eight directions around it for each constituent pixel of the input pattern; means for detecting a black contour pixel in an input pattern based on neighboring pixel data and determining the direction in which the next black contour pixel is located; means for generating a chained symbol image.
JP16084284A 1984-07-30 1984-07-30 Contour tracking device Pending JPS6136880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16084284A JPS6136880A (en) 1984-07-30 1984-07-30 Contour tracking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16084284A JPS6136880A (en) 1984-07-30 1984-07-30 Contour tracking device

Publications (1)

Publication Number Publication Date
JPS6136880A true JPS6136880A (en) 1986-02-21

Family

ID=15723583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16084284A Pending JPS6136880A (en) 1984-07-30 1984-07-30 Contour tracking device

Country Status (1)

Country Link
JP (1) JPS6136880A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63116280A (en) * 1986-11-04 1988-05-20 Fuji Electric Co Ltd Boundary tracing system for two-dimensional image

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5582380A (en) * 1978-12-19 1980-06-21 Nec Corp Pattern processing unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5582380A (en) * 1978-12-19 1980-06-21 Nec Corp Pattern processing unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63116280A (en) * 1986-11-04 1988-05-20 Fuji Electric Co Ltd Boundary tracing system for two-dimensional image

Similar Documents

Publication Publication Date Title
JP2967014B2 (en) Image processing device
JPS6140684A (en) Contour tracking device
JP2000207489A (en) Character extracting method and device and record medium
JPH09270917A (en) Image processor
JPS6136880A (en) Contour tracking device
JP2894111B2 (en) Comprehensive judgment method of recognition result in optical type character recognition device
JP2506071B2 (en) Contour tracking device
JPS6136879A (en) Contour tracking device
JPS6341107B2 (en)
JPH0362177A (en) Picture processor
KR940004476A (en) Image Control
JPS6136877A (en) Noise eliminator of picture pattern
JP2853140B2 (en) Image area identification device
JP3756660B2 (en) Image recognition method, apparatus and recording medium
JP3759349B2 (en) Image analysis apparatus and image analysis method
JP2936766B2 (en) Image input device
JPH0330100A (en) Method for recognizing vehicle classification doce of number plate
KR100332753B1 (en) Image processing method of image processing system
JPS61206088A (en) Character reading device
JP3272381B2 (en) Region boundary point extraction method
JPS62247473A (en) Picture processor
JPS60258688A (en) Pattern recognizing method and device using the method
JPH05189610A (en) Method for binarizing image
JPS61188678A (en) Graphic recognition device
JPH0271379A (en) Picture processor