JPS63204376A - Contour tracking method - Google Patents

Contour tracking method

Info

Publication number
JPS63204376A
JPS63204376A JP62035511A JP3551187A JPS63204376A JP S63204376 A JPS63204376 A JP S63204376A JP 62035511 A JP62035511 A JP 62035511A JP 3551187 A JP3551187 A JP 3551187A JP S63204376 A JPS63204376 A JP S63204376A
Authority
JP
Japan
Prior art keywords
line
image change
contour
code
basic shape
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.)
Granted
Application number
JP62035511A
Other languages
Japanese (ja)
Other versions
JP3014097B2 (en
Inventor
Takafumi Miyatake
孝文 宮武
Hitoshi Matsushima
整 松島
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62035511A priority Critical patent/JP3014097B2/en
Priority to GB8801483A priority patent/GB2201562B/en
Priority to US07/154,378 priority patent/US4956869A/en
Priority to KR1019880001313A priority patent/KR910005387B1/en
Priority to DE3804450A priority patent/DE3804450A1/en
Publication of JPS63204376A publication Critical patent/JPS63204376A/en
Application granted granted Critical
Publication of JP3014097B2 publication Critical patent/JP3014097B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00—Image coding
    • G06T9/20—Contour coding, e.g. using detection of edges
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00—Image analysis
    • G06T7/10—Segmentation; Edge detection
    • G06T7/12—Edge-based segmentation
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00—Arrangements for image or video recognition or understanding
    • G06V10/40—Extraction of image or video features
    • G06V10/46—Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00—Indexing scheme for image analysis or image enhancement
    • G06T2207/10—Image acquisition modality
    • G06T2207/10004—Still image; Photographic image
    • G06T2207/10008—Still image; Photographic image from scanner, fax or copier
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00—Indexing scheme for image analysis or image enhancement
    • G06T2207/30—Subject of image; Context of image processing
    • G06T2207/30176—Document

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は標本化された図形の輪郭追跡方法に係り、特に
圧縮符号化された図面や文書の画像から図形の輪郭座標
列を高速に得るのに好適な1輪郭追跡方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for tracing the outline of a sampled figure, and in particular to a method for rapidly obtaining a contour coordinate sequence of a figure from a compression-encoded image of a drawing or document. This invention relates to a contour tracking method suitable for.

〔従来の技術〕[Conventional technology]

従来、画像中の図形や物体の輪郭座標列の抽出を実行す
るための方法としては、特開昭57−111786号に
記載のように、画像に対して互いに直交する2方向より
走査した時のそれぞれの画像変化点の座標をまず求め、
次にこれらの座標値の連続性を調べて輪郭座標列を得る
ようになっていた。
Conventionally, as a method for extracting a contour coordinate string of a figure or an object in an image, as described in Japanese Patent Application Laid-Open No. 111786/1986, the method is based on scanning the image from two directions perpendicular to each other. First find the coordinates of each image change point,
Next, the continuity of these coordinate values was checked to obtain a contour coordinate sequence.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の従来技術では水平及び垂直方向のそれぞれの画像
変化点を抽出する必要があるが、この演算は画像全面に
亘る処理であるため処理量が多い。
In the above-mentioned conventional technology, it is necessary to extract image change points in each of the horizontal and vertical directions, but this calculation requires a large amount of processing because it involves processing over the entire image.

さらに画像変化点の座標を抽出した後は、座標テーブル
上で一種のマスクを用いた追跡を行なうため処理時間が
大きくなるなどの問題があった。
Furthermore, after the coordinates of image change points are extracted, tracking is performed using a type of mask on the coordinate table, which poses problems such as increased processing time.

本発明の目的は上記問題点を解決し、高速な輪郭追跡方
法を提供することにある。   ′〔問題点を解決する
ための手段〕 上記目的は、画像変化点を1ライン毎に入力し、現在の
ラインの画像変化点と該現在ラインの一つ前のラインの
両像変化点を記憶し、該記憶された現在ラインの画像変
化点と該記憶された1つ前のラインの画像変化点とを参
照して輪郭線の一部を構成する基本形状を抽出し、該抽
出された基本形状を統合して輪郭座標列に変換すること
により達成される。
An object of the present invention is to solve the above problems and provide a high-speed contour tracking method. [Means for solving the problem] The above purpose is to input the image change point for each line and to memorize the image change point of the current line and the image change point of the line immediately before the current line. Then, a basic shape constituting a part of the contour is extracted by referring to the stored image change point of the current line and the stored image change point of the previous line, and the extracted basic shape is extracted. This is achieved by integrating the shapes and converting them into a contour coordinate sequence.

【作用〕[Effect]

輪郭線の1部を構成する基本形状を抽出するために、記
憶された現在ラインの画像変化点と、このラインの1つ
前のラインの画像変化点(X座II)を参照する。この
時の位置関係から特定の基本形状を抽出するとともに、
−ライン前の処理で抽出した基本形状との間をポインタ
で連結しておく。
In order to extract the basic shape forming a part of the contour line, the stored image change point of the current line and the image change point (X position II) of the line immediately before this line are referred to. In addition to extracting a specific basic shape from the positional relationship at this time,
- Connect with the basic shape extracted in the process before the line using a pointer.

1ラインについて基本形状の抽出が済むと、現在ライン
の画像変化点を前ライン記憶部に転送し、新たなライン
の画像変化点を現在ライン記憶部に入力する0以上の処
理を全ラインについて行った後、ポインタで連結された
基本形状を統合し1輪郭座標列を得る。
Once the basic shape has been extracted for one line, 0 or more processes are performed for all lines, such as transferring the image change point of the current line to the previous line storage unit and inputting the image change point of the new line to the current line storage unit. After that, the basic shapes connected by pointers are integrated to obtain one contour coordinate string.

以上の方式により、1方向だけの画像変化点を用いて輪
郭追跡が実行できると共に、基本形状にポインタが付与
されているため、輪郭座標への変換が高速に実行できる
。
With the above method, contour tracking can be executed using image change points in only one direction, and since a pointer is attached to the basic shape, conversion to contour coordinates can be executed at high speed.

尚、現在ライン記憶部の内容を前ライン記憶部に転送す
る処理は、各ライン記憶手段のアドレスを交互に切替え
ることにより、実際のデータ転送を省くことができる。
Note that in the process of transferring the contents of the current line storage section to the previous line storage section, actual data transfer can be omitted by alternately switching the addresses of each line storage means.

〔実施例〕〔Example〕

以下本発明を図面を参照しながら説明する。第1図は本
発明の輪郭追跡方法の全体構成図である。
The present invention will be explained below with reference to the drawings. FIG. 1 is an overall configuration diagram of the contour tracking method of the present invention.

第1図において1は画像変化点ファイル、2は制御部、
3は画像変化点入力部、4は現在ラインバッファ、5は
前ラインバッファ、6は基本形状抽出部、7は基本形状
リンクテーブル、8は輪郭座標ファイルである0画像変
化点ファイル1にはライン毎の画像変化点の座標が格納
されており1画像変化点入力部3により、1ライン毎に
、l!在シラインバッファ4入力される。この際、現在
ラインバッファ4に既に格納されていた画像変化点は前
ラインバッファ5に移される1次に基本形状抽出部6に
より、ラインバッファ4,5の内容を1つづつ読出し、
それらの座標の大小比較に基づいて1輪郭線の1部を構
成する基本形状を抽出する。
In FIG. 1, 1 is an image change point file, 2 is a control unit,
3 is the image change point input section, 4 is the current line buffer, 5 is the previous line buffer, 6 is the basic shape extraction section, 7 is the basic shape link table, 8 is the contour coordinate file. 0 Image change point file 1 contains the line The coordinates of each image changing point are stored, and the 1 image changing point input unit 3 inputs l! Current line buffer 4 is input. At this time, the image change points that were already stored in the current line buffer 4 are transferred to the previous line buffer 5.The primary basic shape extraction unit 6 reads out the contents of the line buffers 4 and 5 one by one.
A basic shape constituting a part of one contour line is extracted based on a comparison of the magnitudes of these coordinates.

抽出した基本□形状は基本形状リンクテーブル7に格納
される。この際、1ライン前に抽出した基本形状との間
でポインタによるリンクを行なう、ラインバッファ4,
5の内容についてすべての基本形状の抽出が終えると1
次のラインの画像変化点を画像変化点ファイル1から読
出す0以上の処理が全ラインについて終えると、輪郭座
標変換部8は、基本形状リンクテーブル7の基本形状を
ポインタを辿りながら統合し1輪郭座標列を作成して、
輪郭座標ファイル9へ出力し、輪郭追跡を終える。
The extracted basic □ shape is stored in the basic shape link table 7. At this time, a line buffer 4, which performs a link using a pointer with the basic shape extracted one line before,
When all basic shapes have been extracted for the contents of 5, 1
When 0 or more processes for reading the image change point of the next line from the image change point file 1 are completed for all lines, the contour coordinate conversion unit 8 integrates the basic shapes in the basic shape link table 7 while following the pointer. Create a contour coordinate string,
Output to contour coordinate file 9 and finish contour tracking.

制御部2は以上の処理の全体を制御する。The control unit 2 controls the entire process described above.

第2図は基本形状抽出部6で抽出する基本形状10種類
について示したものである6輪郭線はこの基本形状の組
み合わせですべて表現できる。この基本形状に■〜[相
]までの番号を付し、これをRDコード(ラン型方向コ
ード)と呼ぶことにする。RDコードの先端の矢印部の
端点をI(sad、逆の端点をTa1lと呼ぶ1図中黒
丸の部分はRDコードの代表点位置であり1位置を特定
するために決めたものである6輪郭線をRDコードと呼
ぶ基本形状で記述する場合、RDコードのHeadは必
ず相手のTa1lにリンクするようにポインタを操作す
る。
FIG. 2 shows ten types of basic shapes extracted by the basic shape extraction section 6. All six contour lines can be expressed by combinations of these basic shapes. Numbers from ■ to [phase] are assigned to this basic shape, and this is called an RD code (run type direction code). The end point of the arrow at the tip of the RD code is called I(sad, and the opposite end point is called Ta1l. The black circle in the figure is the representative point position of the RD code, which was determined to specify the position. 6 Contour When a line is described in a basic shape called an RD code, the pointer is operated so that the Head of the RD code always links to the other party's Ta1l.

第3図は画一サイズが8×69画像中の図形をRDコー
ドを用いて、輪郭を記述した様子を示した例である0図
形50の輪郭は14個のRDコードを用いて(■■■・
・・@)と表現できる。このRDコード列を一般の輪郭
座標列に変換するのは容易である。RDコードの代表点
位置だけを輪郭線座標列とすると中間の座標が欠落する
が、これらは前後のRDコードの代表点位置を用いて補
間できる0例えば(■■・・・)において■の代表点位
置が(2,5,L、S)、■の代表点位置が(1,5゜
2.5)であれば、中間の座標は(2,5,2,5)と
なり、座標列は((2,5,1,5)(2,5゜2.5
 )(L、S、2.5)・・・)となる、尚ここで代表
点位置が0.5 の端数を持つのは、画素中心の座標を
基準としているからであり、端数を切り捨てて簡略化し
ても良いことは言うまでもない。
Figure 3 is an example of how the outline of a figure in an 8x69 image is described using RD codes.The outline of figure 50 is written using 14 RD codes (■■ ■・
...@) can be expressed. It is easy to convert this RD code string into a general contour coordinate string. If only the representative point position of the RD code is used as a contour line coordinate string, intermediate coordinates will be missing, but these can be interpolated using the representative point positions of the preceding and following RD codes.0 For example, in (■■...), the representative of ■ If the point position is (2,5,L,S) and the representative point position of ■ is (1,5°2.5), the intermediate coordinates are (2,5,2,5), and the coordinate string ((2,5,1,5)(2,5°2.5
)(L, S, 2.5)...), and the reason why the representative point position has a fraction of 0.5 is because it is based on the coordinates of the center of the pixel, and the fractions are rounded down. It goes without saying that it may be simplified.

第4図はラインバッファのデータ構造の1実施例を示し
たものであり、現在ラインバッファ4及び、前ラインバ
ッファ5には画像変化点のX座標列が格納されており、
データの最後には終了コードのが入っている。尚前ライ
ンバッファ5の読出しにはポインタP1、現在ラインバ
ッファ4の読出しにはポインタP2を用いる。
FIG. 4 shows an example of the data structure of the line buffer, in which the current line buffer 4 and the previous line buffer 5 store the X coordinate string of the image change point.
An exit code is included at the end of the data. Note that the pointer P1 is used to read out the previous line buffer 5, and the pointer P2 is used to read out the current line buffer 4.

第5図は基本形状抽出部6のRDコード抽出用オートマ
トンを示したものである1図において下のライン間のラ
ンの組み合わせを示したものである。上段は前ラインの
ランの種類、下段は現在ラインのランの種類であり、B
は黒ラン(画像上で1すなわち黒画素の連続)、Wは白
ラン(Oすなわち白画素の連続)であることを示す1図
中X1は前ラインバッファ5から読出した画像変化点位
置、x2は現在ラインバッファ4から読出した画像変化
点位置である。状態は全部で6つあり。
FIG. 5 shows the combination of runs between the lower lines in FIG. 1, which shows the RD code extraction automaton of the basic shape extraction section 6. The upper row is the run type of the previous line, the lower row is the run type of the current line, and B
indicates a black run (1, that is, a series of black pixels on the image), and W indicates a white run (O, that is, a series of white pixels). is the position of the image change point currently read out from the line buffer 4. There are six states in total.

各ライン単位での走査開始及び終了時は必ず状態1を経
由する。各状態ではxlとX2の比較結果によって3種
類の状態遷移があり、そのときRDコード■〜[相]が
抽出される。各ラインバッファ5゜4からの画像変化点
Xi、X2の読出しの規則は。
State 1 is always passed through when scanning starts and ends for each line. In each state, there are three types of state transition depending on the comparison result of xl and X2, and at that time, RD codes ① to [phase] are extracted. The rules for reading image change points Xi and X2 from each line buffer 5.4 are as follows.

比較した画像変化点の内、値の小さい方のラインバッフ
ァから読出すものとする。もし同じであれば両方のライ
ンバッファから読出す、このオートマトンによればたと
えばRDコード■の抽出条件は、状態1でXI>X2が
成立し、新たにX2を更新した後、状態3でXi>X2
が成立した場合と言える。これは図形的な解釈によれば
、現在着目しているラン(この例では黒ランである)の
上方が背景部分であったことを確認したことを意味する
。尚第4図で説明したようにラインバッファの最後には
ψコードが入っており、処理上これは左エツジBと見な
す、したがって全データの続出になる。
It is assumed that among the compared image change points, the line buffer with the smaller value is read out. If they are the same, they are read from both line buffers.According to this automaton, for example, the extraction condition for RD code ■ is that XI>X2 holds true in state 1, and after updating X2, in state 3 Xi> X2
This can be said to be the case when . According to a graphical interpretation, this means that it has been confirmed that the area above the currently focused run (in this example, the black run) is the background part. As explained with reference to FIG. 4, the ψ code is included at the end of the line buffer, and in processing this is regarded as the left edge B, so that all the data are successively output.

第6図は第5図のオートマトンに基づき、具体的に実行
する処理を状態別にまとめたものである。
FIG. 6 is a diagram illustrating the specific processes to be executed based on the automaton shown in FIG. 5, organized by state.

xlとX2の大小条件に基づいて、RDコードの代表点
位置のX座標の更新、RDコードの抽出。
Update the X coordinate of the representative point position of the RD code and extract the RD code based on the size conditions of xl and X2.

登録2次の状態への番号の更新2次の画像変化点の読出
しを行なう、尚RDコードの登録時にはすでにリンク待
ちになっているRDコードとのリンク処理がある。RD
コードには、 (1)リンク待ちにならないもの ■[相]・・・Head、 Ta1lがともに上向き(
2)リンク待ちになるもの ■■■■■■■■・・・Head 、またはTa1lが
下向きの2種類があり、(2)についてはRDコード抽
出時にリンク待ちリストとしてポインタで管理しておき
、現在抽出したRDコードとリンク待ちリストのRDコ
ードとを順次リンクしてゆく。
Updating the number to the registration secondary state Reading out the secondary image change point. When registering the RD code, there is a linking process with the RD code that is already waiting for linking. R.D.
The code includes: (1) Items that do not wait for a link■ [Phase]... Both Head and Ta1l are pointing upwards (
2) Items that are waiting for a link■■■■■■■■...There are two types with Head or Ta1 pointing downwards.For (2), manage it with a pointer as a link waiting list when extracting the RD code, The currently extracted RD code and the RD codes on the link waiting list are sequentially linked.

第7図は基本形状リンクテーブル7の一実施例である。FIG. 7 shows an example of the basic shape link table 7.

基本形状リンクテーブル7はRDコードの代表点位71
1X、Yとそのコード番号C0DEと、RDコード間を
リンクするLINKポインタと、RDコードのリンク待
ちになっているものを一時的にリスト化しておくW−L
INKポインタの5項からなるテーブルである。また基
本形状リンクテーブル7を操作するためのポインタとし
てA。
The basic shape link table 7 is the representative point 71 of the RD code.
1X, Y and their code numbers C0DE, a LINK pointer that links between RD codes, and W-L that temporarily lists the RD codes that are waiting to be linked.
This is a table consisting of five items of INK pointers. Also, A as a pointer for operating the basic shape link table 7.

B、Cの3つがある。Aポインタは新規のRDコードを
登録するアドレスを指すポインタである。
There are three, B and C. The A pointer is a pointer pointing to the address where a new RD code is registered.

Bポインタはリンク待ちRDコードリストの先頭アドレ
スを指すポインタであり、Cポインタはリンク待ちRD
コードリストの最終アドレスを指すポインタである。尚
第7図の値は第3図の画像を処理した例である。
The B pointer is a pointer pointing to the start address of the link waiting RD code list, and the C pointer is a pointer pointing to the start address of the link waiting RD code list.
This is a pointer to the final address of the code list. Note that the values in FIG. 7 are an example of processing the image in FIG. 3.

第8図は、第1図の制御部2の輪郭追跡処理手順を流れ
図(PAD)で示したものである。尚、流れ図中で使わ
れる変数名を定義しておく。
FIG. 8 is a flowchart (PAD) showing the contour tracking processing procedure of the control unit 2 shown in FIG. Also, define the variable names used in the flowchart.

C−Line −Boffor :現在ラインバッファ
4P −Line−Buffer S前ラインバッファ
5Status :状態番号(1〜6) A、B、C:ポインタ Flag:Bポインタの制御フラグ(0又は1)に:現
在走査中の画像のライン番号 N78画像の最大ライン数 RD −List :基本形状リンクテーブル7く輪郭
追跡処理の流れ〉 5topl:初期化 C−Llna−Buffer(1) =oo ;現在ラ
インバッファ4を「空」にする。
C-Line -Boffor: Current line buffer 4P -Line-Buffer S previous line buffer 5Status: Status number (1 to 6) A, B, C: Pointer Flag: B pointer control flag (0 or 1): Current scan Line number of inner image ”.

5tatus= 1 :オートマトンの初期状態を1に
する。
5tatus=1: Set the initial state of the automaton to 1.

A=O,B=1.C=1.Flag=O;各種変数の初
期化 5top2 : NY+1.回以下の処理を実行5to
p2.1 ニラインバッファのシフトここでバッファシ
フトは、実際にデータ転送は行なわず、Kの奇数、偶数
に基づいてラインバッファのアドレスを切り替える方式
である。
A=O, B=1. C=1. Flag=O; Initialization of various variables 5 top 2: NY+1. Execute the following process 5to
p2.1 Shifting the two-line buffer Here, the buffer shift is a method of switching the address of the line buffer based on the odd or even number of K without actually transferring data.

C−Line−Bofforの内容をP −Line 
−Bufferへ転送する(実際はC−Line−Bo
fforとP −Line−Bofforのアドレスを
切替える) Stap2 、2 : 1ライン分の画像変化点の読出
し、もしK>NYであれば、C−Line−Buffe
r(1)=ψそれ以外であれば1画像変化点ファイル1
かも1ライン分の画像変化点を読出し、C−Line−
Boffor ヘセットする。
The contents of C-Line-Boffor are converted to P-Line
- Transfer to Buffer (actually C-Line-Bo
(Switch the address of ffor and P-Line-Boffor) Step2, 2: Read image change point for one line, if K>NY, C-Line-Buffe
r (1) = ψ Otherwise, 1 image change point file 1
The image change points for one line are read out, and C-Line-
Boffor Heset.

5top2 、3 : 2ライン間での輪郭追跡のため
の初期化 Pz=1.Pz=1 ニラインバッファ5,4の読出し
ポインタの初期化 X 1 = P −Line−Boffor (P L
 )  :前ラインバッファ5の先頭データを変数X1
にセット X 2 = C−Line−Buffer (P 2 
)  ;現在ラインバッファ4の先頭データを変数x2
にセット 5top2 、4 : 2ライン間での輪郭追跡処理(
XI、X2が共にψコードになるまで以下の処理を実行
) Stap2.4.l : RDコード抽出、賛録、リン
ク処理 5top2.4.2 : Xi、X2+71データ更新
(注)Step2.4.1,2.4.2は第6図の表に
基づくものとする。
5top2,3: Initialization for contour tracking between two lines Pz=1. Pz=1 Initialization of read pointer of second line buffers 5, 4 X1=P-Line-Boffor (PL
): Set the first data of the previous line buffer 5 to variable X1
Set X 2 = C-Line-Buffer (P 2
) ;Set the first data of current line buffer 4 to variable x2
Set to 5top2, 4: Contour tracking processing between 2 lines (
(Execute the following process until both XI and X2 become ψ code) Step2.4. l: RD code extraction, endorsement, link processing 5top 2.4.2: Xi, X2+71 data update (Note) Steps 2.4.1 and 2.4.2 are based on the table in Figure 6.

5top 3 : 5top 2で求めたRDコードを
座標列へ変換する。
5top 3: Convert the RD code obtained in 5top 2 into a coordinate string.

以上本実施例によれば、輪郭追跡のための画像メモリは
2ライン分のラインバッファで済むため経済的であると
ともに、一方向の画像変化点位置しか輪郭追跡に利用し
ておらず、二方向の画像変化点位置を利用する方式に比
べると高速である。
As described above, according to this embodiment, the image memory for contour tracking is economical because it only requires a line buffer for two lines. This method is faster than the method that uses image change point positions.

また輪郭線を構成する10種類の基本形状は、あらゆる
図形に対して適用できる汎用的なものであり1図形の輪
郭を忠実に記述できる。又通常文書や図面の画像ファイ
ルはランレングス符号化されており、本発明の輪郭追跡
方式との整合性が良い。
Furthermore, the 10 types of basic shapes that make up the outline are general-purpose shapes that can be applied to any figure, and can faithfully describe the outline of a single figure. In addition, image files of documents and drawings are usually run-length encoded, and are compatible with the contour tracking method of the present invention.

さらに本実施例では特殊や演算器は用いておらず、通常
の汎用計算機を用いても高速性が保証される。
Furthermore, this embodiment does not use any special arithmetic unit, and high speed is guaranteed even if a normal general-purpose computer is used.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、1方向だけの画像変化点を用いて輪郭
追跡が実行できると共に、2ライン間の画像変化点の位
置比較から抽出した基本形状には。
According to the present invention, contour tracking can be performed using image change points in only one direction, and the basic shape extracted from position comparison of image change points between two lines.

ポインタが付与されているため、輪郭座標への変換に際
して余分なサーチが不要となり、したがって高速に輪郭
座標列を得られる効果がある。
Since a pointer is provided, there is no need for extra searching when converting to contour coordinates, which has the effect of obtaining a contour coordinate string at high speed.

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

第1図は本発明の一実施例の全体構成図、第2図は基本
形状の種類、第3図は第2図の基本形状を用いた図形の
輪郭記述例。、第4図はラインバッファのデータ構造、
第5図は第1図の基本形状抽出部のオートマトン、第6
図は第5図のオートマトンを状態別に表にした、画像変
化点解析衣、第7図は第1図の基本形状リンクテーブル
のデータ構造、第8図は、処理全体の流れ図(PAD)
である。 1・・・画像変化点ファイル、2・・・制御部、3・・
・画像変化点入力部、4・・・現在ラインバッファ、5
・・・前ラインバッファ、6・・・基本形状抽出部、7
・・・基本形状リンクテーブル、8・・・輪郭座標変換
部、9・・・輪郭座標ファイル、          
    、  、代理人 □よ 41,11□甲 。 ■ Z 図 ¥J 3 図       50図形部会 Nr((D■■■■■■■■■■■■O)不 4 図 4  彬巳在−ライ〉へ°ゾ々 5  哨ηラインハ“ン7r 篤 5 図 (a)オーシマトンの全体図 V:J 6 口 冨 7  図
FIG. 1 is an overall configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram of types of basic shapes, and FIG. 3 is an example of outline description of a figure using the basic shape of FIG. , Figure 4 shows the data structure of the line buffer,
Figure 5 shows the automaton of the basic shape extraction part in Figure 1, and the 6th
The figure shows the image change point analysis table showing the automaton in Figure 5 by state, Figure 7 shows the data structure of the basic shape link table in Figure 1, and Figure 8 shows the flowchart of the entire process (PAD).
It is. 1... Image change point file, 2... Control unit, 3...
・Image change point input section, 4...Current line buffer, 5
...Previous line buffer, 6...Basic shape extraction section, 7
...Basic shape link table, 8.Contour coordinate conversion section, 9..Contour coordinate file,
, , Agent □yo 41,11□A. ■ Z Figure ¥ J 3 Figure 50 Figure Section Nr ((D■■■■■■■■■■■■O) No 4 Figure 4 To Akimi Zai - Lai〉 °zo 5 Scenery η Line Han “n 7r Atsushi 5 Figure (a) Overall diagram of Oshimaton V:J 6 Kuchitomi 7 Figure

Claims (1)

【特許請求の範囲】[Claims] 1.画像変化点で記述された画像から図形の輪郭線を追
跡して輪郭座標列を作成する輪郭追跡方法において、 画像変化点を1ライン毎に入力し、 現在のラインの画像変化点と該現在ラインの一つ前のラ
インの画像変化点を記憶し、 該記憶された現在ラインの画像変化点と該記憶された1
つ前のラインの画像変化点とを参照して輪郭線の一部を
構成する基本形状を抽出し、該抽出された基本形状を統
合して輪郭座標列に変換することを特徴とする輪郭追跡
方法。
1. In a contour tracing method that creates a contour coordinate string by tracing the outline of a figure from an image described by image change points, the image change points are input line by line, and the image change points of the current line and the current line are input. The image change point of the previous line is stored, and the stored image change point of the current line and the stored 1
Contour tracking characterized by extracting a basic shape constituting a part of the contour by referring to the image change point of the previous line, and integrating the extracted basic shapes and converting them into a contour coordinate string. Method.
JP62035511A 1987-02-20 1987-02-20 Contour tracking method and system Expired - Lifetime JP3014097B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP62035511A JP3014097B2 (en) 1987-02-20 1987-02-20 Contour tracking method and system
GB8801483A GB2201562B (en) 1987-02-20 1988-01-22 Method of and system for contour tracing
US07/154,378 US4956869A (en) 1987-02-20 1988-02-10 Method of tracing contour and a system therefor
KR1019880001313A KR910005387B1 (en) 1987-02-20 1988-02-11 Contour tracking method and system
DE3804450A DE3804450A1 (en) 1987-02-20 1988-02-12 METHOD FOR CONTOUR SCANNING AND ARRANGEMENT THEREFOR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62035511A JP3014097B2 (en) 1987-02-20 1987-02-20 Contour tracking method and system

Publications (2)

Publication Number Publication Date
JPS63204376A true JPS63204376A (en) 1988-08-24
JP3014097B2 JP3014097B2 (en) 2000-02-28

Family

ID=12443783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62035511A Expired - Lifetime JP3014097B2 (en) 1987-02-20 1987-02-20 Contour tracking method and system

Country Status (5)

Country Link
US (1) US4956869A (en)
JP (1) JP3014097B2 (en)
KR (1) KR910005387B1 (en)
DE (1) DE3804450A1 (en)
GB (1) GB2201562B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5379350A (en) * 1992-02-27 1995-01-03 Dainippon Screen Mfg. Co., Ltd. Method and apparatus for extracting a contour of an image

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4982293A (en) * 1988-06-02 1991-01-01 Ricoh Company, Ltd. Method of compressing halftone image data
JP2833654B2 (en) * 1988-11-11 1998-12-09 キヤノン株式会社 Graphic processing unit
US5195147A (en) * 1989-05-02 1993-03-16 Ricoh Company, Ltd. Image forming apparatus
EP0415648B1 (en) * 1989-08-31 1998-05-20 Canon Kabushiki Kaisha Image processing apparatus
JP2521090Y2 (en) * 1990-07-25 1996-12-25 村田機械株式会社 Twill inspection device
JP2689179B2 (en) * 1990-09-03 1997-12-10 日立ソフトウェアエンジニアリング株式会社 Image end point re-tracking method
JP3026592B2 (en) 1990-10-22 2000-03-27 キヤノン株式会社 Outline extraction method and apparatus
US5666440A (en) * 1991-07-31 1997-09-09 Victor Company Of Japan, Ltd. Method and apparatus for extracting outline data from bi-level image data
CA2077969C (en) * 1991-11-19 1997-03-04 Daniel P. Huttenlocher Method of deriving wordshapes for subsequent comparison
US5321770A (en) * 1991-11-19 1994-06-14 Xerox Corporation Method for determining boundaries of words in text
CA2077970C (en) * 1991-11-19 1999-02-23 Daniel P. Huttenlocher Optical word recognition by examination of word shape
JP3576570B2 (en) * 1991-11-19 2004-10-13 ゼロックス コーポレイション Comparison method
JP3049672B2 (en) * 1991-12-26 2000-06-05 キヤノン株式会社 Image processing method and apparatus
DE69332918D1 (en) * 1992-01-24 2003-06-05 Canon Kk Device and method for extracting edge data and for encoding image data with this edge data
US5933528A (en) * 1992-01-27 1999-08-03 Canon Kabushiki Kaisha Image processing apparatus
DE69332283D1 (en) * 1992-06-11 2002-10-17 Canon Kk Process and device for image processing
JP2954426B2 (en) * 1992-06-26 1999-09-27 キヤノン株式会社 Image processing method and apparatus
DE69324874T2 (en) * 1992-09-24 1999-10-14 Canon K.K. Image processing method and device
ES2146205T3 (en) 1992-12-30 2000-08-01 Koninkl Kpn Nv PROCEDURE FOR DERIVING CHARACTERISTICS OF A CHARACTER IN A CHARACTER RECOGNITION SYSTEM.
JP2904671B2 (en) * 1993-03-03 1999-06-14 大日本スクリーン製造株式会社 Multi-tone image correction device
JP2710202B2 (en) * 1993-03-24 1998-02-10 インターナショナル・ビジネス・マシーンズ・コーポレイション Method and data processor for bordering closed contour image with convex polygon
DE69433603D1 (en) * 1993-10-26 2004-04-15 Canon Kk Image processing method and device
US5410611A (en) * 1993-12-17 1995-04-25 Xerox Corporation Method for identifying word bounding boxes in text
JP3445394B2 (en) * 1993-12-17 2003-09-08 ゼロックス・コーポレーション How to compare at least two image sections
US5577134A (en) * 1994-01-07 1996-11-19 Panasonic Technologies, Inc. Method and apparatus for encoding a segmented image without loss of information
JPH07222011A (en) 1994-01-31 1995-08-18 Canon Inc Color reproduction range expression method and image processing method and apparatus
US5724435A (en) * 1994-04-15 1998-03-03 Hewlett Packard Company Digital filter and method of tracking a structure extending in three spatial dimensions
US6166740A (en) * 1994-04-15 2000-12-26 Hewlett Packard Company Method and system for viewing three-dimensional data for a tracked structure
US6356656B1 (en) 1994-06-17 2002-03-12 Canon Kabushiki Kaisha Contour-information extraction apparatus and method
IL114475A0 (en) * 1995-07-06 1995-11-27 Grid Point Ltd Method for 2D and 3D image capturing representation processing and compression
US5835638A (en) * 1996-05-30 1998-11-10 Xerox Corporation Method and apparatus for comparing symbols extracted from binary images of text using topology preserved dilated representations of the symbols
US5956428A (en) * 1997-05-19 1999-09-21 Ausbeck, Jr.; Paul James Stroke code for image partitions
US7075681B1 (en) 1999-11-09 2006-07-11 Kodak Graphic Communications Canada Company System and method for reducing the data volume of images
JP4614487B2 (en) * 2000-01-25 2011-01-19 Juki株式会社 Component position detection method, component position detection device, component data storage method and device
US20040174361A1 (en) * 2000-10-13 2004-09-09 Yosef Yomdin Geometric and brightness modeling of images
US20050063596A1 (en) * 2001-11-23 2005-03-24 Yosef Yomdin Encoding of geometric modeled images

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56103773A (en) * 1980-01-21 1981-08-19 Agency Of Ind Science & Technol Feature extracing system of binary pattern
JPS6074092A (en) * 1983-09-30 1985-04-26 Yokogawa Hokushin Electric Corp Extracting circuit of contour shape information

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1180290A (en) * 1966-10-31 1970-02-04 Tokyo Shibaura Electric Co Apparatus for Recognising a Pattern
DE2017246C3 (en) * 1970-04-10 1975-11-06 Siemens Ag, 1000 Berlin Und 8000 Muenchen Method and device for determining the contour of a column-wise scanned step symbol
US3968475A (en) * 1974-11-11 1976-07-06 Sperry Rand Corporation Digital processor for extracting data from a binary image
JPS5215235A (en) * 1975-07-26 1977-02-04 Fujitsu Ltd Character recognition unit
DE2822458C2 (en) * 1977-05-23 1983-11-03 Sharp K.K., Osaka Device for recognizing characters
US4326190A (en) * 1978-08-30 1982-04-20 Borland David L Boundary trace slope feature detection system
US4270172A (en) * 1978-09-15 1981-05-26 Alphatype Corporation Ultrahigh resolution photocomposition system employing electronic character generation from magnetically stored data
US4646134A (en) * 1984-03-21 1987-02-24 Sony Corporation Apparatus for encoding image signal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56103773A (en) * 1980-01-21 1981-08-19 Agency Of Ind Science & Technol Feature extracing system of binary pattern
JPS6074092A (en) * 1983-09-30 1985-04-26 Yokogawa Hokushin Electric Corp Extracting circuit of contour shape information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5379350A (en) * 1992-02-27 1995-01-03 Dainippon Screen Mfg. Co., Ltd. Method and apparatus for extracting a contour of an image

Also Published As

Publication number Publication date
GB2201562B (en) 1991-10-16
JP3014097B2 (en) 2000-02-28
GB2201562A (en) 1988-09-01
DE3804450A1 (en) 1988-09-01
KR880010372A (en) 1988-10-08
DE3804450C2 (en) 1992-09-03
KR910005387B1 (en) 1991-07-29
US4956869A (en) 1990-09-11
GB8801483D0 (en) 1988-02-24

Similar Documents

Publication Publication Date Title
JP3014097B2 (en) Contour tracking method and system
JP2918383B2 (en) Image contour extraction method and apparatus
JPH0196771A (en) Recognizing system for circular arc part
JPH01307878A (en) Pattern recognizing device
JPS60113289A (en) Line smoothing circuit for graphic display unit
Miyatake et al. Contour representation of binary images using run-type direction codes
JP2716894B2 (en) Labeling circuit for image processing
CN117333502B (en) Data processing method, device, equipment and readable storage medium
JP3352761B2 (en) Image data position conversion method
JPS60163164A (en) Smear-out device of picture
JPS61195477A (en) Method for processing free curve line picture data of picture reader
JP2639414B2 (en) How to register figure data
JPH01161588A (en) Character recognizing device
JPH0594533A (en) Device for extracting run
EP0381794A1 (en) Method for registering image data
JPS58140866A (en) Storing method for mask information
JPS6117189A (en) Graphic processor
JPH0962845A (en) Image data labeling method
JPH05232945A (en) Information input device
JPS62102364A (en) Color code converting device
JPS6380369A (en) Input method for character and graphic information
JPH03269773A (en) Picture element/vector converter and converting method
JPH03223897A (en) Character pattern preparing device
JPH0146913B2 (en)
JPS62260279A (en) High-speed image processing circuit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term