JPS5941230B2 - Contour extraction method - Google Patents

Contour extraction method

Info

Publication number
JPS5941230B2
JPS5941230B2 JP54096606A JP9660679A JPS5941230B2 JP S5941230 B2 JPS5941230 B2 JP S5941230B2 JP 54096606 A JP54096606 A JP 54096606A JP 9660679 A JP9660679 A JP 9660679A JP S5941230 B2 JPS5941230 B2 JP S5941230B2
Authority
JP
Japan
Prior art keywords
point
edge
window
area
start point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP54096606A
Other languages
Japanese (ja)
Other versions
JPS5621278A (en
Inventor
慎一 清水
清 岩田
茂美 長田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP54096606A priority Critical patent/JPS5941230B2/en
Publication of JPS5621278A publication Critical patent/JPS5621278A/en
Publication of JPS5941230B2 publication Critical patent/JPS5941230B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は、図面上に書かれた平面図形の輪郭を一次元操
作のみで高速に抽出できるようにした輪郭抽出方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an outline extraction method that allows the outline of a planar figure drawn on a drawing to be extracted at high speed using only one-dimensional operations.

図形の輪郭抽出はかずかずの処理の中でも非常に重要な
要素の1つである。
Extracting the outline of a figure is one of the very important elements in Kazukazu processing.

従来の輪郭抽出方式は、先ず輪郭上の或る1点を選び出
し、その点から1定の向きで輪郭上を追跡し、一周した
時点で抽出を完了するものである。この種の従来方式は
メモリのランダム・アクセスを必要とし、ハードウェア
で構成することが難しく、また画面上に複数の輪郭が存
在する場合には非常な手数を要する。本発明は、上記の
考案に基づくものであつて、図面上に書かれた平面図形
の輪郭を一次元操作のみで高速に抽出できるようにした
輪郭抽出方式を提供することを目的としている。そして
そのため、本発明の輪郭抽出方式は、エッジ図形を一元
的に処理して輪郭線を抽出する輪郭抽出方式であつて、
前記エッジ図形を順次走査するウィンドウ回路と、前記
ウィンドウ回路内のパターンよりスタート点を検出する
スタート点検出回路と、前記ウィンドウ回路内のパター
ンより前記スタート点以外のエッジ点を検出するエッジ
点検出回路と、ドメイン・テーブルと、書込み回路とを
備え、前記書込み回路は、前記スタート点が検出された
場合、前記ドメイン・テーブル内に当該スタート点に連
なるレフト点及びライト点の座標を書込むための領域を
設定し、前記エッジ点が検出された場合、当該エッジ点
の座標を当該エッジ点と連なるスタート点に対して設定
された領域のレフト点或いはライト点のいずれかに書込
み処理を行うと共に、前記ドメイン・テーブル内におけ
る異なる2個の領域内に等しい座標が存在する場合には
、当該領域を1つの領域にまとめ、一致した座標値以外
の座標値をレフト・ポイント欄およびライト・ポイント
欄に書込む処理を行うことを特徴とするものである。以
下、本発明を図面を参照しつつ説明する。第1図は本発
明の1実帷例のプロツク図、第2図は第1図の輪郭抽出
方式の動作を示すフローチヤート、第3図はエツジ図形
抽出を示す図、第4図はイ、口はそれぞれウインドウ・
パターンを示す図、第5図はリジエクト・ポイント・ウ
インドウを説明する図、第6図はドメイン・テーブルを
示す図、第7図は優先順位決定論理を説明する図、第8
図は輪郭抽出例を示す図、第9図はドメイン・テーブル
を変更例を示す図である。第1図において、1はn−1
行バツフア、2はn行バツフア、3はn+1行バツフア
、4は3×3ウインドウ、5はリジエクト・ポイント・
テーブル、6はスタート・ポイント・テーブル、7は優
先順位決定テーブル、8はアドレス計算回路、9はテー
ブル書換回路、10はドメイン・テーブル、11は列ア
ドレス・コントローラをそれぞれ示している。
The conventional contour extraction method first selects a certain point on the contour, traces the contour from that point in a fixed direction, and completes the extraction when it has gone around the contour. This type of conventional method requires random access to memory, is difficult to implement in hardware, and requires a significant amount of effort when multiple contours are present on the screen. The present invention is based on the above-mentioned idea, and an object of the present invention is to provide a contour extraction method that enables high-speed extraction of the contour of a planar figure drawn on a drawing using only one-dimensional operations. Therefore, the contour extraction method of the present invention is a contour extraction method that extracts contour lines by processing edge figures in a unified manner.
a window circuit that sequentially scans the edge figure; a start point detection circuit that detects a start point from a pattern within the window circuit; and an edge point detection circuit that detects an edge point other than the start point from a pattern within the window circuit. , a domain table, and a write circuit, and the write circuit is configured to write coordinates of a left point and a right point connected to the start point in the domain table when the start point is detected. When an area is set and the edge point is detected, the coordinates of the edge point are written to either the left point or the right point of the area set for the start point connected to the edge point, and If the same coordinates exist in two different areas in the domain table, the areas are combined into one area and the coordinate values other than the matched coordinates are placed in the left point column and right point column. It is characterized by performing writing processing. Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of one practical example of the present invention, FIG. 2 is a flowchart showing the operation of the contour extraction method of FIG. 1, FIG. 3 is a diagram showing edge figure extraction, and FIG. Each mouth has a window.
Figure 5 is a diagram showing the reject point window, Figure 6 is a diagram showing the domain table, Figure 7 is a diagram explaining the priority determination logic, and Figure 8 is a diagram showing the pattern.
The figure shows an example of contour extraction, and FIG. 9 shows an example of changing the domain table. In Figure 1, 1 is n-1
Row buffer, 2 is n row buffer, 3 is n+1 row buffer, 4 is 3x3 window, 5 is reject point.
6 is a start point table, 7 is a priority determination table, 8 is an address calculation circuit, 9 is a table rewriting circuit, 10 is a domain table, and 11 is a column address controller.

本発明においては、2値又は多値の平面図形からエツジ
を抽出し、エツジ図形を基にして輪郭を抽出する。
In the present invention, edges are extracted from a binary or multivalued planar figure, and a contour is extracted based on the edge figure.

第3図はエツジ図形抽出を示すものであつて、エツジ抽
出は4方向のエツジのみを抽出し、*印で示すような1
エツジ幅の凹みでは、エツジ抽出を行わない。なお、エ
ツジ図形は△印を連ねたものである。また、以下の実施
例の説明においては、第3図に示すエツジ図形(Δ印で
示す輪郭点)を抽出した後の処理について説明する。n
−1行バツフア1にはエツジ図形の第n−1行の部分画
像情報が書き込まれ、n行バツフア2には第n行の部分
画像情報が書き込まれ、n+1行バツフア3には第n+
1行の部分画像情報が書き込まれる。n−1行バツフア
1、n行バツフア2およびn+1行バツフア3の内容は
逐次3×3ウインドウ4にシフト・インされる。3×3
ウインドウ4内の黒白パターンはアドレス情報に変換さ
れ、このアドレス情報がリジエクト・ポイント・テーブ
ル5、スタート・ポイント・テーブル6および優先順位
決定テーブル7に送られる。
Figure 3 shows edge figure extraction, in which only edges in four directions are extracted.
Edge extraction is not performed for edge-width depressions. Note that the edge figure is a series of △ marks. Further, in the following description of the embodiment, processing after extracting the edge figure (contour points indicated by Δ marks) shown in FIG. 3 will be explained. n
Partial image information of the n-1th row of the edge figure is written into the −1 row buffer 1, partial image information of the nth row is written into the n-row buffer 2, and n+1 row buffer 3 is written with the partial image information of the n-th row of the edge figure.
One line of partial image information is written. The contents of the n-1 row buffer 1, the n-row buffer 2, and the n+1 row buffer 3 are sequentially shifted into the 3.times.3 window 4. 3×3
The black and white pattern within window 4 is converted into address information, and this address information is sent to reject point table 5, start point table 6 and priority determination table 7.

リジエクト・ポイントテーブル(RejectPOin
tTable)5は、第4図イに示すようなパターンが
現れた時、その中心点を無視するものである。即ち、リ
ジエクト・ポイント・テーブル5は予め第4図イに示す
ようなパターンを保持しており、入力されてくる3×3
ウインドウ4内の黒白パターンが第4図イに示すパター
ンと同一の場合は、例えば3×3ウインドウの中心点の
黒を白に変換する等の処理を行う。リジエクト・ポイン
ト・テーブル5は、第5図のような2メツシユ幅の凹み
を無視するためのものである。即ち、第5図は、エツジ
図形に2メツシユ幅の凹みが存在する場合にこれを無視
する処理の説明図であつて、例えば、図の左から右へ3
×3のウインドウを走査させたときのウインドウ内の黒
白パターンが第4図イのパターンと同一のときは、ウイ
ンドウの中心点をリジエクトする処理を行うものである
。従つて、さきに述べたように、エツジ抽出の際に1メ
ツシユの横の凹みが無視されるが、これと合わせると、
本発明では2メツシユ幅までの凹みが無視されることに
なる。スタート・ポイント・テーブル6は3×3ウイン
ドウの中に第4図口に示すようなパターンが表れた時、
その中心点をスタート・ポイントとするものである。即
ち、スタート・ポイント・テーブル6は予め第4図口に
示すパターンを保持しており、入力されてくる3×3ウ
インドウ内の黒白パターンと同一の場合は、3×3ウイ
ンドウの中心点をスタート・ポイントする。優先順位決
定テーブル7は、3×3ウインドウ4の中心にエツジ点
が存在する場合、第7図イに示すメツシユ点1,2,3
,4が黒であるか否かを調べ、複数個存在する場合には
、それらの内の1個を優先順位に従つて選択するもので
ある。即ち、第7図は、3X3ウインドウの中心のエツ
ジ点がスタート・ポイントに連なる場合において、次に
3X3ウインドウの中心点を移動指せる点を決定する処
理の説明図である。3×3ウインドウの中心のエツジ点
がスタート・ポイントの左側に連なるものである場合に
は、第7図口に示すレフト・ポイント用優先順位にした
がつて1個の黒点が選択され、3×3ウインドウの中心
のエツジ点がスタート・ポイントの右側に連なるもので
ある場合には、第7図ハに示すライト・ポイント用優先
順位に従つて1個の黒点が選択される。
Reject point table (RejectPOin)
tTable) 5 is used to ignore the center point when a pattern as shown in FIG. 4A appears. That is, the reject point table 5 holds in advance a pattern as shown in FIG.
If the black and white pattern in the window 4 is the same as the pattern shown in FIG. 4A, a process such as converting black at the center of the 3×3 window to white is performed, for example. The reject point table 5 is for ignoring a recess having a width of two meshes as shown in FIG. That is, FIG. 5 is an explanatory diagram of the process of ignoring a concavity with a width of 2 meshes when it exists in an edge figure.
If the black and white pattern in the x3 window is the same as the pattern in FIG. 4A when the window is scanned, a process is performed to reject the center point of the window. Therefore, as mentioned earlier, the horizontal dent of one mesh is ignored when extracting edges, but when combined with this,
In the present invention, depressions up to two mesh widths are ignored. Start point table 6 is set when a pattern like the one shown in Figure 4 appears in the 3x3 window.
The center point is taken as the starting point. That is, the start point table 6 holds in advance the pattern shown at the beginning of Figure 4, and if it is the same as the black and white pattern in the input 3x3 window, the start point table 6 will start from the center point of the 3x3 window.・Point. In the priority order determination table 7, when an edge point exists at the center of the 3×3 window 4, the mesh points 1, 2, and 3 shown in FIG.
, 4 are black or not, and if there are a plurality of them, one of them is selected according to the priority order. That is, FIG. 7 is an explanatory diagram of the process of determining the next point to which the center point of the 3X3 window can be moved when the edge point at the center of the 3X3 window is connected to the start point. If the edge point at the center of the 3x3 window is connected to the left side of the start point, one black point is selected according to the priority order for the left point shown in Figure 7. If the edge point at the center of the three windows is connected to the right side of the start point, one black point is selected according to the priority order for write points shown in FIG. 7C.

なお、第7図口、ハにおいて、書く枠内の数字は優先順
位を示している。例えば、3×3ウインドウの中心のエ
ツジ点がスタート・ポイントの左側に連なる場合、メツ
シユ点2と4とが黒点であると、メツシユ点2の黒点が
選択される。第7図二はレフト・ポイント用優先順位を
更に詳細に説明するものであり、第7図ホはライト・ポ
イント用優先順位を更に詳細に説明するものである。3
×3ウインドウの中心にエツジ点があり、メツシユ点1
,2,3,4に黒点が存在しない場合には、中心のエツ
ジ点は統合ポイントになる。
In addition, in Figure 7 (opening and c), the numbers within the writing frame indicate the priority order. For example, if the edge points at the center of a 3×3 window are connected to the left of the start point, and mesh points 2 and 4 are black points, the black point of mesh point 2 is selected. FIG. 7B explains the left point priority order in more detail, and FIG. 7E explains the right point priority order in more detail. 3
There is an edge point at the center of the ×3 window, and a mesh point is 1.
, 2, 3, and 4, the central edge point becomes the integration point.

統合ボイントについては後で詳細に説明する。アドレス
計算回路8は、優先順位決定テーブル7の選択した黒点
の座標値を計算するものである。テーブル書換回路9は
ドメイン・テーブル10を書換えるものである。ドメイ
ン・テーブル10は第6図に示すように複数の領域を有
しており、各領域に領域識別番号、レフト・ボイントの
座標、ライト・ポイントの座標および領域終了フラグを
書込む欄が設けられている。即ち、第6図は、スタート
・ポイントが検出された場合に、ドメイン・テーブル1
0内に、スタート・ポイントの座標情報(領域識別番号
)を付して設定される前記スタート・ボイントに連なる
レフト点及びライト点の座標を書き込むための領域の説
明図である。スタート・ポイント・テーブル6がスター
ト・ポイントを検出すると、スタート・ポイント・フラ
グがオンされ、これにより、そのスタート・ポイントに
対して新しい領域が準備される。列アドレス・コントロ
ーラ11は、n−1行バツフア1、n行バツフア2及び
n+1行バツフア3から読出されるデータの列を指定す
るものである。次に、第1図の装置の動作を第2図を参
照しつつ説明する。
The integrated point will be explained in detail later. The address calculation circuit 8 calculates the coordinate values of the selected black point in the priority order determination table 7. The table rewriting circuit 9 rewrites the domain table 10. The domain table 10 has a plurality of areas as shown in FIG. 6, and each area is provided with a column for writing an area identification number, left point coordinates, right point coordinates, and area end flag. ing. That is, FIG. 6 shows that when a start point is detected, domain table 1 is
FIG. 2 is an explanatory diagram of an area for writing the coordinates of a left point and a right point connected to the start point, which are set in 0 with coordinate information (area identification number) of the start point. When the start point table 6 detects a start point, the start point flag is turned on, thereby preparing a new area for that start point. The column address controller 11 specifies columns of data read from the n-1 row buffer 1, the n-row buffer 2, and the n+1 row buffer 3. Next, the operation of the apparatus shown in FIG. 1 will be explained with reference to FIG. 2.

第1図の装置は第3図に示すようなエツジ図形を左から
右へ向かう走査線で上から下へ走査して輪郭抽出を行う
ものである。以下、第n行における輪郭抽出処理につい
て説明する。1バツフア1,2,3を用意し、それぞれ
にn一1行、n行、n+1行のデータを入れる。
The apparatus shown in FIG. 1 performs contour extraction by scanning an edge figure as shown in FIG. 3 from top to bottom using scanning lines running from left to right. The outline extraction process in the n-th row will be described below. One buffer 1, 2, and 3 are prepared, and data of n-1 row, n row, and n+1 row are input into each buffer.

2第n行1列より順にデータを取り出し、n行m列目が
エツジ点かどうかを調べる。
2. Extract data in order from the nth row and first column, and check whether the nth row and mth column is an edge point.

エツジ点でない場合は、m+1列目に進む。3n行m夕
1泪がエツジ点である場合には、3×3のウインドウ4
で見てリジエクト・ポイントか、スタート・ポイントか
を判別する。
If it is not an edge point, proceed to column m+1. If 3n rows m and 1 tears are edge points, a 3x3 window 4
Look at it to determine whether it is a reject point or a starting point.

4 リジエクト・ボイントの場合はm+1夕1泪に進み
、スタート・ポイントの場合は次の5の処理を行う。
4 In the case of Reject Point, proceed to m + 1 and 1 tears, and in the case of Start Point, perform the following step 5.

り ドメイン・テーブル10の書換えを行う。Rewrite the domain table 10.

テーブル10の書換えは第7図イの斜線部分にエツジ点
が存在するかを調べ、エツジ点が複数個存在する場合に
は、さきに述べた優先順位決定論理を用いて1つに決定
する。決定されたエツジ点に対して現在のポイントN,
mより座標値を計算する。スタート・ポイントの場合に
は、ドメイン・テーブル10の最後に新しい欄を設け、
これにレフト・ポイントとライト・ポイントの座標値を
書き込む。54でその他の場合と判断されたら、現在の
ポイントN,mがドメイン・テーブル10内のどのポイ
ントと一致するが否かを調べ、レフト・ポイントならレ
フト用の優先順位決定論理を用い、ライト・ポイントな
らライト・ボイント用の優先順位決定論理を用い、次の
レフト・ポイント又はライト・ポイントを決定し、新た
に決定されたレフト・ポイント又はライト・ポートの座
標値を求め、ドメイン・テーブル10内のレフト・ポイ
ント又はライト・ポイントの座標値を新たな座標値で書
換える。
To rewrite table 10, it is checked whether an edge point exists in the shaded area in FIG. For the determined edge point, the current point N,
Calculate the coordinate value from m. In the case of a starting point, a new column is provided at the end of the domain table 10,
Write the coordinate values of the left point and right point here. If it is determined otherwise in step 54, check which point in the domain table 10 the current point N,m matches or not, and if it is a left point, use the priority determination logic for the left, and select the right point. If it is a point, use the right point priority determination logic to determine the next left point or right point, obtain the coordinate values of the newly determined left point or right port, and store them in the domain table 10. Rewrite the coordinate values of the left point or right point with new coordinate values.

◇ 第7図イの斜線部分にエツジ点が存在しなかつた場
合、現在のポイントN,mは統合ポイントと称される。
◇ If no edge point exists in the shaded area in Figure 7A, the current points N and m are called integration points.

統合ポイントとは、別々に追跡して来た輪郭が出合うポ
イントのことである。この統合ポイントのあつた行は、
1行の処理終了時に次の(7一a),(7一b)の処理
を行う。統合ポイントが存在しなかつた場合には次の行
に移る。(7一a) ドメイン・テーブル10内のレフ
ト・ポイントとライト・ボイントとを比較し、同じポイ
ントがあるかを探す。
An integration point is a point where contours tracked separately meet. The line with this integration point is
When the processing of one line is completed, the following processing (71a) and (71b) are performed. If there is no integration point, move to the next line. (71a) Compare the left point and right point in the domain table 10 and search for the same point.

同じポイントがあつたならば、2つの領域を1つにまと
め、同じポイントを新しいレフト・ポイント及びライト
・ポイントとして、ドメイン・テーブル10を書換える
。なお、同一領域内でレフト・ポイントとライト・ポイ
ントとが終了した場合にはその領域の追跡は完了したこ
とになるので、追跡終了フラグを立てる。(7一b)
同じ座標値を示すレフト・ポイントとライト・ポイント
が存在しない場合には、レフト・ポイントとライト・ポ
イントとを比較し、同じポイントがあつたならば2つの
領域を1つにまとめ、新しい領域のレフト・ポイント欄
に上位のレフトポイントの座標を書き、ライト・ポイン
ト欄に下位のレフト・ポイントの座標を書く。
If the same points are found, the two areas are combined into one, and the domain table 10 is rewritten with the same points as new left points and right points. Note that when the left point and right point are completed within the same area, it means that the tracking of that area has been completed, so a tracking end flag is set. (71b)
If there is no left point and right point that have the same coordinate values, compare the left point and right point, and if the same points are found, combine the two areas into one and create a new area. Write the coordinates of the upper left point in the left point column, and write the coordinates of the lower left point in the right point column.

8全ての行についての処理が終わつたら、画面について
の処理が終了したことになる。
When processing for all 8 lines is completed, processing for the screen is completed.

第8図は輪郭抽出例を示し、第9図はテーブル変更例を
示すものである。
FIG. 8 shows an example of contour extraction, and FIG. 9 shows an example of changing the table.

即ち、第8図は第3図に示すエツジ図形に対して前述し
た輪郭抽出の処理を帷した結果を示す図であつて、4は
スタートポイント、困は統合ボイント、xはリジエクト
・ポイントを表し、矢印は処理の方向を示す。第9図5
は第8図中記号8で示す第5行目までの処理が終了した
時点での統合前のドメイン・テーブル10の内容及び統
合後のドメイン・テーブル10の内容を示すものであり
、第9図8は、同様に第8図中記号で示す第13行目ま
での処理が終了した時点での統合前のドメイン・テーブ
ル10の内容及び統合後のドメイン・テーブル10の内
容を示すものであり、第9図9は第8図中記号6で示す
第16行目までの処理、即ち、全画面についての処理が
全て終了した時点での統合前のドメイン・テーブル10
の内容及び統合後のドメイン・テーブル10の内容を示
している。なお、輪郭追跡開始から終了までの過程にお
けるスタート・ボイント、レフト・ポイント、ライト・
ポイント及び統合ポイントの座標は、図示しない他のフ
アイルに逐次記録される。以上の説明から明らかなよう
に、本発明によれは、エツジ図形を一次元操作するのみ
で輪郭抽出を行うことが出来、且つ高速処理が可能であ
る。
That is, FIG. 8 is a diagram showing the result of performing the above-described contour extraction process on the edge figure shown in FIG. , arrows indicate the direction of processing. Figure 9 5
8 shows the contents of the domain table 10 before integration and the contents of the domain table 10 after integration at the time when processing up to the fifth line indicated by symbol 8 in FIG. 8 is completed, and FIG. 8 indicates the contents of the domain table 10 before integration and the contents of the domain table 10 after integration at the time when the processing up to the 13th line, which is similarly indicated by the symbol in FIG. 8, is completed, FIG. 9 shows the domain table 10 before integration when the processing up to the 16th line indicated by symbol 6 in FIG.
, and the contents of the domain table 10 after integration. In addition, the start point, left point, and right point in the process from the start to the end of contour tracing
The coordinates of the points and the integrated points are sequentially recorded in another file (not shown). As is clear from the above description, according to the present invention, contour extraction can be performed only by one-dimensionally manipulating edge figures, and high-speed processing is possible.

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

第1図は本発明の1実帷例のプロツク図、第2図は第1
図の輪郭抽出方式の動作を示すフローチヤート、第3図
はエツジ図形抽出を示す図、第4図はイ、口はそれぞれ
ウイント・パターンを示す図、第5図はリジエタト・ポ
イント・ウインドウを説明する図、第6図はドメイン・
テーブルを示す図、第7図は優先順位決定論理を説明す
る図、第8図は輪郭抽出例を示す図、第9図はドメイン
・テーブル変更例を示す図である。 1・・・・・・n−1行バツフア、2・・・・・・n行
バツフア、3・・・・・・n+1行バツフア、4・・・
・・・3×3ウインドウ、5・・・・・・リジエクト・
ポイント・テーブル、6・・・・・・スタート・ポイン
ト・テーブル、7・・・・・・優先順位決定テーブル、
8・・・・・・アドレス計算回路、9・・・・・・テー
ブル書換回路、10・・・・・・ドメイン・テーブル、
11・・・・・・列アドレス・コントローラ。
Fig. 1 is a block diagram of one practical example of the present invention, and Fig. 2 is a block diagram of one practical example of the present invention.
Flowchart showing the operation of the contour extraction method in Figure 3. Figure 3 is a diagram showing edge figure extraction. Figure 4 is a diagram showing the wint pattern for A and mouth. Figure 5 is for explaining the reset point window. Figure 6 shows the domain
FIG. 7 is a diagram illustrating the priority determination logic, FIG. 8 is a diagram illustrating an example of contour extraction, and FIG. 9 is a diagram illustrating an example of changing the domain table. 1...n-1 line buffer, 2...n line buffer, 3...n+1 line buffer, 4...
...3x3 window, 5...Reject...
Point table, 6...Start point table, 7...Priority determination table,
8...Address calculation circuit, 9...Table rewriting circuit, 10...Domain table,
11...Column address controller.

Claims (1)

【特許請求の範囲】[Claims] 1 エッジ図形を一元的に処理して輪郭線を抽出する輪
郭抽出方式であつて、前記エッジ図形を順次走査するウ
ィンドウ回路と、前記ウィンドウ回路内のパターンより
スタート点を検出するスタート点検出回路と、前記ウィ
ンドウ回路内のパターンより前記スタート点以外のエッ
ジ点を検出するエッジ点検出回路と、ドメイン・テーブ
ルと、書込み回路とを備え、前記書込み回路は、前記ス
タート点が検出された場合、前記ドメイン・テーブル内
に当該スタート点に連なるレフト点及びライト点の座標
を書込むための領域を設定し、前記エッジ点が検出され
た場合、当該エッジ点の座標を当該エッジ点と連なるス
タート点に対して設定された領域のレフト点或いはライ
ト点のいずれかに書込み処理を行うと共に、前記ドメイ
ン・テーブル内における異なる2個の領域内に等しい座
標が存在する場合には、当該領域を1つの領域にまとめ
、一致した座標値以外の座標値をレフト・ポイント欄お
よびライト・ポイント欄に書込む処理を行うことを特徴
とする輪郭抽出方式。
1. A contour extraction method that extracts a contour line by processing an edge figure in a unified manner, which includes a window circuit that sequentially scans the edge figure, and a start point detection circuit that detects a start point from a pattern in the window circuit. , an edge point detection circuit for detecting an edge point other than the start point from a pattern in the window circuit, a domain table, and a write circuit; Set an area in the domain table to write the coordinates of the left point and right point connected to the start point, and when the edge point is detected, write the coordinates of the edge point to the start point connected to the edge point. Write processing is performed to either the left point or the right point of the area set for the area, and if the same coordinates exist in two different areas in the domain table, the area is merged into one area. A contour extraction method is characterized in that a process is performed in which coordinate values other than the matched coordinate values are written in a left point column and a right point column.
JP54096606A 1979-07-28 1979-07-28 Contour extraction method Expired JPS5941230B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54096606A JPS5941230B2 (en) 1979-07-28 1979-07-28 Contour extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54096606A JPS5941230B2 (en) 1979-07-28 1979-07-28 Contour extraction method

Publications (2)

Publication Number Publication Date
JPS5621278A JPS5621278A (en) 1981-02-27
JPS5941230B2 true JPS5941230B2 (en) 1984-10-05

Family

ID=14169520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54096606A Expired JPS5941230B2 (en) 1979-07-28 1979-07-28 Contour extraction method

Country Status (1)

Country Link
JP (1) JPS5941230B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61119942U (en) * 1985-01-11 1986-07-29

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57194669A (en) * 1981-05-26 1982-11-30 Canon Inc Picture processing system
JPS6215536A (en) * 1985-07-15 1987-01-23 Fuji Photo Film Co Ltd Determining method for readout condition of radiation image information
JPS6215541A (en) * 1985-07-15 1987-01-23 Fuji Photo Film Co Ltd Determining method for readout condition of radiation image information
JPS62115968A (en) * 1986-10-15 1987-05-27 Fuji Photo Film Co Ltd Radiation field recognizing method
JPS62104265A (en) * 1986-10-15 1987-05-14 Fuji Photo Film Co Ltd Method for recognizing irradiation field

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61119942U (en) * 1985-01-11 1986-07-29

Also Published As

Publication number Publication date
JPS5621278A (en) 1981-02-27

Similar Documents

Publication Publication Date Title
JPS6357831B2 (en)
CN112861736B (en) Document table content identification and information extraction method based on image processing
JP6353893B2 (en) Method, program, and apparatus for scraping articles from paper image taken by camera of portable terminal device
US5341465A (en) Method and apparatus for displaying and cutting out region of interest from picture
JPS5941230B2 (en) Contour extraction method
JPH05225394A (en) Candidate-character classifying method for character recognizing system
JPH05143733A (en) Contour extracting device
JP3371614B2 (en) Recognition device
JP2803736B2 (en) Character recognition method
JPS5847063B2 (en) Contour tracking method
JP3657725B2 (en) Line figure image processing method
JPS6019549B2 (en) Shape matching device
JP2838556B2 (en) Image processing device
JPS5952472B2 (en) Part identification method
JPS596419B2 (en) Character extraction method
JPH0310144B2 (en)
JPH0624019B2 (en) Circumscribing rectangular pattern arithmetic circuit
JP2522511B2 (en) Image contour tracking unit
JP2966448B2 (en) Image processing device
JPS63141190A (en) Method for extracting isolated drawing
JPH06119491A (en) Slip comprehension system
JPH04284581A (en) Processor for thinning line
JPH0452145B2 (en)
JPH057751B2 (en)
JPS5845746B2 (en) Contour tracking method