JPH0554139A - Contour tracking system for binary image - Google Patents

Contour tracking system for binary image

Info

Publication number
JPH0554139A
JPH0554139A JP3244619A JP24461991A JPH0554139A JP H0554139 A JPH0554139 A JP H0554139A JP 3244619 A JP3244619 A JP 3244619A JP 24461991 A JP24461991 A JP 24461991A JP H0554139 A JPH0554139 A JP H0554139A
Authority
JP
Japan
Prior art keywords
tracking
pixel
tracking direction
pattern
pixels
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
JP3244619A
Other languages
Japanese (ja)
Inventor
Yoshiko Hozumi
芳子 穂積
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP3244619A priority Critical patent/JPH0554139A/en
Publication of JPH0554139A publication Critical patent/JPH0554139A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessitate a large capacity memory and to shorten processing time without retrieving a tracking direction each time of longitudinally and laterally enlarging a picture element double by tracking a contour picture element only by fitting the previously defined tracking direction to an inputted image. CONSTITUTION:The number of a central picture element is set as '9' and numbers from '1' to '8' are respectively attached to eight peripheral picture elements. When each picture element is black, a flag is turned to '1', when it is white, the flag is turned to '0' and each number attached to the picture element is expressed with the binary number of 9 bits as the digit of each bit. A number turning this number to a decimal number is defined as the pattern number of each pattern. Further, the flag of the picture element defining the tracking direction among the eight peripheral picture elements is turned to '1', and the respective picture element numbers are expressed with the binary number and hexadecimal number of 8 bits. A ROM or the like stores a table showing the tracking direction corresponding to these pattern numbers. Thus, since the tracking direction is defined for each pattern, the contour tracking of the image can be accelerated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画素の集合(ドットパ
ターン)として構成された画像(文字パターン)の輪郭
を抽出してベクトル化を自動的に行う2値画像の輪郭追
跡方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contour tracing method for a binary image in which contours of an image (character pattern) formed as a set of pixels (dot pattern) are extracted and vectorized automatically. is there.

【0002】[0002]

【従来の技術】従来より、スキャナ等により読取った文
字をアウトラインデータに変換して使用したり、ROM
等の記憶装置に格納されたドットパターンとして構成さ
れた文字パターンを拡大・縮小して使用するために、文
字パターンの輪郭をベクトル化処理している。このベク
トル化を自動的に行う2値画像の輪郭追跡方式は、従来
から種々のものが考えられている。例えば、特開昭62-1
31382 号及び特開昭64-91176号には、入力された2値画
像を縦横各2倍に拡大してから、画素が黒(1)か白
(0)かを判別して、輪郭を追跡するための起点を検索
し、さらに、この起点となる画素に接する上下左右斜め
の8画素を時計回りに調べて、画素が0から1に変化し
た方向に移動することにより、輪郭となる境界画素の中
心を追跡する方式が開示されている。
2. Description of the Related Art Conventionally, a character read by a scanner or the like is converted into outline data for use, or a ROM is used.
In order to enlarge / reduce and use a character pattern formed as a dot pattern stored in a storage device such as the above, the contour of the character pattern is vectorized. Conventionally, various types of binary image contour tracking methods for automatically vectorizing have been considered. For example, JP-A-62-1
No. 31382 and Japanese Unexamined Patent Publication No. 64-91176, the input binary image is magnified twice in the vertical and horizontal directions and then the pixel is determined to be black (1) or white (0) to trace the contour. To search for the starting point for further movement, and further, in the clockwise, downward, leftward, rightward, and diagonally eight pixels in contact with the starting point pixel, and in the direction in which the pixel changes from 0 to 1, the boundary pixel forming the contour is detected. A method of tracking the center of the is disclosed.

【0003】[0003]

【発明が解決しようとする課題】従来の2値画像の輪郭
追跡方式において、2値画像を縦横各2倍に拡大してか
ら、輪郭を追跡している場合には、4倍の画像データ量
を処理しなければならず、大容量のメモリと処理時間と
を必要としていた。そして、境界画素を追跡する際に、
追跡方向に境界画素が複数あると、どちらの方向に追跡
すれば良いか迷うことがあった。また、起点を検索した
り、境界画素を追跡する際に、毎回画素が0から1に変
化する方向を調べているので、処理量が多くなり、時間
がかかるという課題があった。そこで本発明は、データ
量を少なくして処理時間を短くした2値画像の輪郭追跡
方式を提供することを目的とする。
In the conventional contour tracking method for binary images, when the contour is traced after the binary image is enlarged vertically and horizontally twice, the image data amount is quadrupled. Had to be processed, which required a large amount of memory and processing time. And when tracking the border pixels,
When there are a plurality of boundary pixels in the tracking direction, it may be difficult to decide in which direction the tracking should be performed. In addition, when searching for a starting point or tracking a boundary pixel, since the direction in which the pixel changes from 0 to 1 is checked every time, there is a problem that the processing amount increases and it takes time. Therefore, an object of the present invention is to provide a contour tracking method for a binary image in which the amount of data is reduced and the processing time is shortened.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
の手段として、2値画像の輪郭となる境界画素のいくつ
かを抽出してベクトル化を行う2値画像の輪郭追跡方式
において、周囲の画素に対応した追跡コードを前記2値
画像の画素に付し、この追跡コードを追跡することによ
り得られる前記境界画素を用いてベクトル化を行うこと
を特徴とする2値画像の輪郭追跡方式を提供しようとす
るものである。
As means for achieving the above object, in a contour tracing method of a binary image, which extracts some of boundary pixels which are contours of the binary image and vectorizes them, A contour tracking method for a binary image, wherein a tracking code corresponding to a pixel is attached to a pixel of the binary image, and vectorization is performed using the boundary pixels obtained by tracking the tracking code. It is the one we are trying to provide.

【0005】[0005]

【作用】本発明は、2値画像において、画素の周囲8画
素の有無(白黒の判別)による追跡方向のフラグを定義
し、全ての画素にこのフラグを付与して、境界画素か否
かを判別し、この境界画素に付された追跡方向フラグに
沿って追跡するものである。
According to the present invention, in a binary image, a flag for the tracking direction is defined by the presence or absence of 8 pixels surrounding a pixel (black and white discrimination), and this flag is added to all pixels to determine whether or not it is a boundary pixel. It discriminates and tracks along the tracking direction flag attached to this boundary pixel.

【0006】[0006]

【実施例】本発明の2値画像の輪郭追跡方式の一実施例
を図面と共に説明する。まず、黒画素の周囲8画素の白
/黒各画素を判別することによって、その黒画素から隣
接する黒画素への追跡方向を定義する。その際、追跡方
向は2方向(後述する共有点のときは4方向、境界画素
とならないときは0方向)とし、黒画素の塊の内側へは
追跡せず、かつ、1点のみで接している斜め方向の黒画
素へは追跡しないようにして、隣接する黒画素への追跡
方向を定める。即ち、図1(A)に示すような黒画素か
らなる画像がある場合に、境界画素aの追跡方向は、境
界画素aとその周囲8画素とを示した同図(B)におい
て、方向a1,a2 となるよう定義し、黒画素の塊の内側へ
の方向であるa3〜a5の方向及び白画素への方向には追跡
しないようにする。同様に、図1(A)の境界画素bの
追跡方向は、境界画素bとその周囲8画素とを示した同
図(C)において、方向b1,b2 となるよう定義し、1点
のみで接している斜め方向の黒画素(方向b3)には追跡
しないようにする。この様にして、例えば、図2(A)
〜(F)に示すように画素の周囲8画素の白/黒各画素
の全てのパターンについて境界画素を追跡するように各
々2つづつの追跡方向を定義する。このとき、図2
(A),(C)に示すパターンを反時計回りに90゜回
転させたものと、図2(F),(D)に示すパターンと
が一致するので、追跡方向も一致するように、回転対象
となるパターン同志が回転して同じパターンとなったと
きに同じ追跡方向となるように定義する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the contour tracking system for binary images of the present invention will be described with reference to the drawings. First, the tracking direction from the black pixel to the adjacent black pixel is defined by discriminating each of the eight white / black pixels around the black pixel. At that time, the tracking direction is set to 2 directions (4 directions at the common point described later, 0 direction when the pixel does not become a boundary pixel), the inside of the block of black pixels is not tracked, and only one point is touched. The black pixel in the diagonal direction is not tracked, and the tracking direction to the adjacent black pixel is determined. That is, when there is an image composed of black pixels as shown in FIG. 1A, the tracking direction of the boundary pixel a is the direction a1 in FIG. , a2, and do not trace in the direction of a3 to a5, which is the direction toward the inside of the block of black pixels, and the direction to the white pixels. Similarly, the tracking direction of the boundary pixel b in FIG. 1A is defined as the directions b1 and b2 in FIG. 1C showing the boundary pixel b and the eight surrounding pixels, and only one point is defined. Do not trace the diagonal black pixels (direction b3) that are in contact with each other. In this way, for example, FIG.
As shown in (F), two tracking directions are defined so that the boundary pixels are tracked for all the patterns of the white / black pixels of the eight pixels surrounding the pixel. At this time,
The patterns shown in (A) and (C) rotated 90 ° counterclockwise and the patterns shown in (F) and (D) of FIG. 2 match, so that the tracking directions also match. The target patterns are defined to have the same tracking direction when they rotate and become the same pattern.

【0007】そして、定義した追跡方向を各パターンご
とに記憶するために、全てのパターンに次のようなパタ
ーン番号を付与する。即ち、図3(A)に示すように、
中心画素の番号を9として、その周囲8画素にそれぞれ
1〜8の番号を付け、その番号の各画素が黒画素である
ときのフラグを「1」とし、白画素であるときのフラグ
を「0」として、画素に付けた各番号を各ビットのケタ
として9ビットの2進数で表現し、これを10進数に直
したものを各パターンのパターン番号とすると、全部で
0〜511の512種類のパターンが得られる(図3
(B)〜(D)に具体例を示す)。
Then, in order to store the defined tracking direction for each pattern, the following pattern numbers are given to all patterns. That is, as shown in FIG.
The number of the central pixel is set to 9, and the surrounding 8 pixels are numbered 1 to 8 respectively. 0 ”represents each number assigned to a pixel as a digit of each bit by a 9-bit binary number, and the number converted into a decimal number is a pattern number of each pattern. Is obtained (Fig. 3
Specific examples are shown in (B) to (D)).

【0008】さらに、1〜8の番号を付けた周囲8画素
のうち、上記各パターンごとに追跡方向を定義された画
素(境界画素)のフラグを「1」として、図4(A)に
示すように、画素に付けた各番号を各ビットのケタとし
て8ビットの2進数および16進数で表現する(図4
(B)〜(D)に図3(B)〜(D)に示した各パター
ン番号における具体例を示す)。このとき、白画素は境
界画素とはならないので追跡方向は存在せず、白画素が
中心となるパターン(パターン番号0〜255)の追跡
方向フラグは全て「00」となる。同様に、中心が黒画
素であっても、その黒画素が境界画素でないときは、追
跡方向フラグは「00」となる。そして、上記パターン
番号に対応させてこの追跡方向を示す図5にのようなテ
ーブルをROMなどに記憶させておく。
Further, among the eight surrounding pixels numbered 1 to 8, the flag of the pixel (boundary pixel) whose tracking direction is defined for each pattern is set to "1", and is shown in FIG. 4 (A). As described above, each number assigned to each pixel is represented by an 8-bit binary number and hexadecimal number as a digit of each bit (see FIG. 4).
3B to 3D show specific examples of the pattern numbers shown in FIGS. 3B to 3D). At this time, since the white pixel does not become a boundary pixel, there is no tracking direction, and the tracking direction flags of the pattern (pattern numbers 0 to 255) in which the white pixel is the center are all “00”. Similarly, even if the center is a black pixel, the tracking direction flag is "00" when the black pixel is not a boundary pixel. Then, a table as shown in FIG. 5 showing this tracking direction is stored in the ROM or the like in association with the pattern number.

【0009】この様に、各パターンごとに追跡方向を定
義して記憶しておくことにより、画像の輪郭追跡を高速
に行うことができる。図6(A)のような画像が入力さ
れたとき、まず、この画像の全ての画素に対して記憶し
ている追跡方向フラグを付与し、追跡方向フラグが「0
0」である画素を無視すると、境界画素だけが残る(同
図(B))。そこで、この境界画素のうち一つを起点とし
て、2方向ある追跡方向のどちらか一方の方向に隣接す
る境界画素へ移動すると共に、起点となる境界画素の追
跡方向フラグを「00」に変更する。そして、この隣接
する境界画素では、2方向ある追跡方向の一方の側から
追跡されてきたことになるので、他の方向へ追跡すると
共に、追跡方向フラグを「00」に変更する。以下同様
にして、追跡方向フラグの示す方向にしたがって追跡し
ていくと共に、追跡し終わった境界画素の追跡方向フラ
グを「00」に変更していくと、全ての追跡方向フラグ
が「00」となったとき、全ての境界画素を追跡したこ
とになる(同図(C))。
By defining and storing the tracking direction for each pattern in this manner, the contour tracking of an image can be performed at high speed. When an image as shown in FIG. 6A is input, the stored tracking direction flag is first added to all the pixels of this image, and the tracking direction flag is set to "0".
If the pixels that are "0" are ignored, only the boundary pixels remain (FIG. 7B). Therefore, one of the boundary pixels is used as a starting point, and the tracking direction flag of the boundary pixel serving as the starting point is changed to “00” while moving to a boundary pixel adjacent in either one of two directions. .. Then, since the adjacent boundary pixels have been tracked from one side of the two tracking directions, the tracking is performed in the other direction and the tracking direction flag is changed to "00". Similarly, when the tracking direction flags of the boundary pixels which have been tracked are changed to “00” while tracking is performed according to the direction indicated by the tracking direction flags, all the tracking direction flags are set to “00”. When it becomes, it means that all the boundary pixels are tracked ((C) in the same figure).

【0010】そして、この追跡した境界画素から幾つか
を選んでベクトル化を行う。ベクトル化の方法として
は、図7(A)〜(C)に示すように、境界画素とベク
トルとの距離をdとし、その許容値をdmax として予め
設定しておき、その許容値dmax より距離dが大きくな
らないようにして、ベクトルの折れ曲り点となる境界画
素を決めていく。例えば、同図(A)のように画素cを
ベクトルの始点とし、画素fをベクトルの終点とする
と、画素cと画素fとの間の画素のうちで最もベクトル
からの距離がある画素eとベクトルとの距離dがd≦d
max であり、同図(B)のように画素fを終点としたと
きの距離dがd>dmax となるようなときには、画素f
をベクトルの終点とし、同図(C)に示すように画素f
を次のベクトルの始点として、ベクトルの終点となる画
素を検索していく。この方法では、許容値dmax の値を
変えることにより、データ量や要求される画像の品質に
合わせたベクトルの質を設定することができる。
Then, some of these tracked boundary pixels are selected and vectorized. As a vectorization method, as shown in FIGS. 7A to 7C, the distance between the boundary pixel and the vector is set as d, and its allowable value is set as dmax in advance, and the distance from the allowable value dmax is set. Boundary pixels that are the bending points of the vector are determined so that d does not become large. For example, when the pixel c is the start point of the vector and the pixel f is the end point of the vector as shown in FIG. 9A, the pixel e that is the distance from the vector among the pixels between the pixel c and the pixel f is The distance d to the vector is d ≦ d
If the distance d is d> dmax when the pixel f is the end point as shown in FIG.
Is set as the end point of the vector, and as shown in FIG.
The pixel which becomes the end point of the vector is searched with using as the start point of the next vector. In this method, the quality of the vector can be set in accordance with the data amount and the required image quality by changing the allowable value dmax.

【0011】次に、境界画素が共有点である場合につい
て考える。図8(A)に示すような画像の境界画素を抽
出すると、同図(B)のようになり、画素hは、上側の
輪郭線αと下側の輪郭線βとの両方の輪郭線を共有する
共有点となる。このとき、この共有点の追跡方向を2方
向だけ定義すると、一方の輪郭線しか追従することがで
きないので、この共有点となる画素には、4方向の追跡
方向を定義する。このとき、画素hとその周囲の画素を
図9(A)に示し、その周囲の画素に図4(A)と同様
の番号をつけると、画素hの追跡方向は、画素の番号
1,2,4,5の4方向となる。よって、この番号のケ
タのフラグを「1」として8ビットの2進数および16
進数で表現すると「1B」(16進)となる。また、図
9(A)のパターン番号は、画素番号1,2,4,5,
9が黒画素であることから、「283」となる。したが
って、この場合、図5に示すテーブルのパターン番号2
83の欄に「1B」のフラグを記憶させておく。
Next, consider the case where the boundary pixel is a common point. When the boundary pixels of the image as shown in FIG. 8A are extracted, it becomes as shown in FIG. 8B, and the pixel h has both the upper contour line α and the lower contour line β. It becomes a common point to share. At this time, if the tracking directions of the common points are defined in only two directions, only one contour line can be followed. Therefore, four directions of tracking directions are defined for the pixel serving as the common point. At this time, the pixel h and the surrounding pixels are shown in FIG. 9A, and if the surrounding pixels are numbered in the same manner as in FIG. 4A, the tracking direction of the pixel h is pixel numbers 1 and 2. , 4, 5 in four directions. Therefore, the digit flag of this number is set to "1" and an 8-bit binary number and 16
When expressed in a decimal number, it becomes "1B" (hexadecimal). The pattern numbers in FIG. 9A are pixel numbers 1, 2, 4, 5,
Since 9 is a black pixel, it is “283”. Therefore, in this case, the pattern number 2 in the table shown in FIG.
The flag “1B” is stored in the column 83.

【0012】ところが、例えば、画素番号4の方向から
共有点である画素hに追跡されたとき、追跡していく方
向は、画素番号1,2,5の3方向があり、どの方向に
追跡すれば良いか特定することができないので、共有点
の場合は、このテーブルだけでは不十分である。特に、
追跡方向が交差してしまうと、ベクトル化が困難とな
る。したがって、輪郭線が交差しないように直前の追跡
方向を考慮して次の追跡方向を予め決定しておく必要が
ある。そこで、図10に示すようなテーブルを予め別に
記憶しておき、画素hが追跡されて、図5のテーブルに
よって、パターン番号283の欄の「1B」のフラグが
指定されたときは、図10のテーブルを参照して、追跡
方向を決定するようにする。この場合、画素番号1の方
向から追跡されてきたときには、画素番号5の方向へ追
跡し、画素番号2のときは画素番号4、画素番号4のと
きは画素番号2、画素番号5のときは画素番号1と追跡
することにより、追跡方向を図9(B)のように交差す
ることなく追跡することができる。なお、共有点では、
一度目の追跡では、追跡方向フラグを「00」に変換せ
ず、2度目の追跡のときに「00」に変換する。また、
共有点は、図11(A)〜(R)に示すように全部で1
8種類であり、この18種類の各々のパターンに対し
て、図10と同様のテーブルを作成しておき、図5のテ
ーブルから参照されるようにしておく。なお、図11
(A)〜(D),(E)〜(H),(I)〜(L),
(M)〜(P),(Q)と(R)に示すパターンは、そ
れぞれ回転対象であり、回転させて同じパターンとした
ときに、追跡方向も同じとなる(図11(A),
(E),(I),(M),(Q)のみ追跡方向を示
す)。以上説明した2値画像の輪郭追跡方式を用いて境
界画素を抽出し、追跡した結果の一例を図12(A)に
示し、この境界画素とベクトルとの距離の許容値dmax
を1.5ドット(画素)としてベクトル化した例を同図
(B)に示す。
However, for example, when the pixel h, which is a common point, is tracked from the direction of the pixel number 4, there are three directions of the pixel numbers 1, 2, and 5, and which direction is followed. In the case of shared points, this table alone is insufficient, because it is not possible to specify whether or not to do so. In particular,
If the tracking directions intersect, vectorization becomes difficult. Therefore, it is necessary to determine the next tracking direction in advance in consideration of the immediately preceding tracking direction so that the contour lines do not intersect. Therefore, when a table as shown in FIG. 10 is separately stored in advance and the pixel h is tracked and the flag of “1B” in the column of the pattern number 283 is designated by the table of FIG. Refer to the table in to determine the tracking direction. In this case, when the pixel is tracked from the direction of the pixel number 1, the pixel is tracked in the direction of the pixel number 5, the pixel number 4 is the pixel number 4, the pixel number 4 is the pixel number 2, and the pixel number 5 is the pixel number 4. By tracking with the pixel number 1, the tracking direction can be tracked without crossing as shown in FIG. 9 (B). In addition, at the common point,
The tracking direction flag is not converted to "00" in the first tracking, but is converted to "00" in the second tracking. Also,
The common point is 1 in total as shown in FIGS.
There are 8 types, and a table similar to that of FIG. 10 is created for each of the 18 types of patterns, and the table of FIG. 5 is referred to. Note that FIG.
(A) to (D), (E) to (H), (I) to (L),
The patterns shown in (M) to (P), (Q) and (R) are objects to be rotated, respectively, and when they are rotated to have the same pattern, the tracking directions are also the same (FIG. 11 (A),
Only (E), (I), (M), and (Q) indicate the tracking direction). FIG. 12A shows an example of the result of tracking the boundary pixels extracted by using the contour tracking method of the binary image described above, and FIG. 12A shows the allowable value dmax of the distance between the boundary pixels and the vector.
FIG. 2B shows an example of vectorization with 1.5 dots (pixels).

【0013】[0013]

【発明の効果】本発明の2値画像の輪郭追跡方式は、入
力された画像に予め定義した追跡方向を当てはめていく
だけで境界画素を追跡することができるので、毎回追跡
方向を検索する必要はなく、処理時間が速くなる。ま
た、画素を縦横各2倍に拡大する(4倍のデータ量を扱
う)ことなく追跡することができるので、大容量のメモ
リは不要であり、処理時間もさらに速くなるという効果
がある。
According to the contour tracking method for a binary image of the present invention, boundary pixels can be tracked by simply applying a predefined tracking direction to an input image, so that it is not necessary to search the tracking direction every time. No, the processing time becomes faster. In addition, since the pixels can be traced without expanding vertically and horizontally by 2 times (handling the data amount of 4 times), there is an effect that a large-capacity memory is unnecessary and the processing time is further shortened.

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

【図1】(A)は2値画像の一例を示す概念図であり、
(B)および(C)は本発明の2値画像の輪郭追跡方式
に使用する追跡コードの一実施例を示す概念図である。
FIG. 1A is a conceptual diagram showing an example of a binary image,
(B) And (C) is a conceptual diagram which shows one Example of the tracking code used for the outline tracking system of the binary image of this invention.

【図2】(A)〜(F)は図1に示した追跡コードの他
の実施例を示す概念図である。
2A to 2F are conceptual diagrams showing another embodiment of the tracking code shown in FIG.

【図3】(A)はパターン番号を示す概念図であり、
(B)〜(D)はその一例を示す概念図である。
FIG. 3A is a conceptual diagram showing pattern numbers,
(B)-(D) is a conceptual diagram which shows the example.

【図4】(A)は追跡方向をフラグ化するための概念図
であり、(B)〜(D)はその一例を示す概念図であ
る。
FIG. 4A is a conceptual diagram for flagging a tracking direction, and FIGS. 4B to 4D are conceptual diagrams showing an example thereof.

【図5】パターン番号と追跡方向フラグの対応関係を示
す図である。
FIG. 5 is a diagram showing a correspondence relationship between pattern numbers and tracking direction flags.

【図6】(A)は2値画像の一例を示す概念図であり、
(B)はその輪郭画素を示す概念図、(C)はその輪郭
画素を追跡したものを示す概念図である。
FIG. 6A is a conceptual diagram showing an example of a binary image,
(B) is a conceptual diagram showing the contour pixel, and (C) is a conceptual diagram showing the contour pixel traced.

【図7】(A)〜(C)はベクトル化を説明するための
概念図である。
7A to 7C are conceptual diagrams for explaining vectorization.

【図8】(A)は2値画像の一例を示す概念図、(B)
はその輪郭画素を示す概念図である。
FIG. 8A is a conceptual diagram showing an example of a binary image, and FIG.
Is a conceptual diagram showing the contour pixel.

【図9】(A),(B)は共有点の追跡方向を示す概念
図である。
9A and 9B are conceptual diagrams showing a tracking direction of a common point.

【図10】図9に示した共有点の追跡方向の対応関係を
示す図である。
10 is a diagram showing a correspondence relationship between tracking directions of common points shown in FIG. 9;

【図11】(A)〜(R)はそれぞれ共有点の例を示す
概念図である。
11A to 11R are conceptual diagrams showing examples of common points.

【図12】(A)は2値画像を本発明の2値画像の輪郭
追跡方式の一実施例によって抽出した全境界画素を追跡
したものを示す概念図、(B)はそれをベクトル化した
一実施例を示す概念図である。
FIG. 12A is a conceptual diagram showing a binary image in which all boundary pixels extracted by an embodiment of a binary image contour tracking system according to the present invention are tracked, and FIG. 12B is a vector diagram thereof. It is a conceptual diagram which shows one Example.

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

a〜c,e〜h 画素 a to c, e to h pixels

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】2値画像の輪郭となる境界画素のいくつか
を抽出してベクトル化を行う2値画像の輪郭追跡方式に
おいて、 周囲の画素に対応した追跡コードを前記2値画像の画素
に付し、この追跡コードを追跡することにより得られる
前記境界画素を用いてベクトル化を行うことを特徴とす
る2値画像の輪郭追跡方式。
1. A contour tracking method for a binary image, wherein some of boundary pixels which are contours of the binary image are extracted and vectorized, and a tracking code corresponding to surrounding pixels is set to pixels of the binary image. A contour tracking method for a binary image, characterized in that vectorization is performed using the boundary pixels obtained by tracking the tracking code.
JP3244619A 1991-08-29 1991-08-29 Contour tracking system for binary image Pending JPH0554139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3244619A JPH0554139A (en) 1991-08-29 1991-08-29 Contour tracking system for binary image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3244619A JPH0554139A (en) 1991-08-29 1991-08-29 Contour tracking system for binary image

Publications (1)

Publication Number Publication Date
JPH0554139A true JPH0554139A (en) 1993-03-05

Family

ID=17121440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3244619A Pending JPH0554139A (en) 1991-08-29 1991-08-29 Contour tracking system for binary image

Country Status (1)

Country Link
JP (1) JPH0554139A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219326A (en) * 2007-03-02 2008-09-18 Fuji Xerox Co Ltd Image processing device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219326A (en) * 2007-03-02 2008-09-18 Fuji Xerox Co Ltd Image processing device and program

Similar Documents

Publication Publication Date Title
JP3163215B2 (en) Line extraction Hough transform image processing device
JP3734549B2 (en) Divided area contour tracing device
JPS61249175A (en) Graphic processor
JPH0554139A (en) Contour tracking system for binary image
JPH0130180B2 (en)
JP2676116B2 (en) Image data processing method and apparatus
JP2967107B2 (en) Image processing method
JPS6341107B2 (en)
JPH0535872A (en) Contour tracing system for binary image
JPS59125470A (en) Processing method for variable magnification of picture data
JPH0529951B2 (en)
JP3133807B2 (en) Outline extraction method and apparatus
JP3037504B2 (en) Image processing method and apparatus
JP2598005B2 (en) Method for extracting closed areas in drawings
JPS6252911B2 (en)
JP2838556B2 (en) Image processing device
JP2606176B2 (en) Graphic processing unit
JP2954434B2 (en) Image processing method and apparatus
JPH01119873A (en) Approximating system for linear graphic
JPH03224070A (en) Image line thinning device
JPH04323782A (en) Graphic display device
JPH02101589A (en) Picture processor
JPH02267680A (en) Image area dividing system
JPH08160935A (en) Character pattern display device
JPH0418686A (en) Picture processing method