JPS6188379A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPS6188379A
JPS6188379A JP59209403A JP20940384A JPS6188379A JP S6188379 A JPS6188379 A JP S6188379A JP 59209403 A JP59209403 A JP 59209403A JP 20940384 A JP20940384 A JP 20940384A JP S6188379 A JPS6188379 A JP S6188379A
Authority
JP
Japan
Prior art keywords
circuit
tracking direction
element data
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
JP59209403A
Other languages
Japanese (ja)
Inventor
Takao Hirata
平田 孝雄
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59209403A priority Critical patent/JPS6188379A/en
Publication of JPS6188379A publication Critical patent/JPS6188379A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To obtain new central coordinates based upon the output signal of a circuit and to make the operation of coordinate rows high speed by inputting three-line three- row picture element data to a tracking direction detecting circuit and detecting the direction of a point having the same picture element data which are viewed from the center. CONSTITUTION:The picture element data of a line picture are inputted to a picture input device 1, inputted picture elements are stored in a picture element data memory circuit 2, and from the circuit 2, 3X3 picture element data are read to a picture element data reading circuit 3 by the address of an address control circuit 5. The 3X3 picture element data from the circuit 3 are added to a tracking direction detecting circuit 7 and by the tracking direction determining circuit 9 of the circuit 7, the next point direction viewed from the center of the 3X3 picture element data is detected by the tracking direction determining circuit 9 of the circuit 7 and an old tracking direction memory circuit 10. The circuit 7 decisively adds a tracking direction to the adder subtracter signal generating circuit 11 of a coordinates row arithmetic circuit 8, generates the signal which decomposes, the signal showing the tracking direction to X and Y components, and by the output, new central coordinates are outputted from X and Y registers 12.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は線画像を構成する点列に対応した座標列を求
める画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that obtains a coordinate sequence corresponding to a sequence of points forming a line image.

〔従来の技術〕[Conventional technology]

第4図はこの種の従来装置の構成を示すブロック図で、
線画像の画素データを入力する画像入力装置(1)と、
入力された画素データを格納する画素データ記憶回路(
2)と、この画素データ記憶回路から、3行3列分の画
素データ(以下3×3画素データと言う)を読み出す画
素データ読出し回路(3)と、読み出された3X3画素
データの演算処理を汎用的に実行し得るプロセッサ(4
)と、このプロセッサの演算結果に基づいて画素データ
記憶回路(2)のアドレスを制御するアドレス制御回路
(5)と、画素データ記憶回路(2)に格納された画素
データに基づいて線画像を出力する画像出力装置(6)
とで構成されている。
FIG. 4 is a block diagram showing the configuration of this type of conventional device.
an image input device (1) for inputting pixel data of a line image;
Pixel data storage circuit that stores input pixel data (
2), a pixel data readout circuit (3) that reads out 3 rows and 3 columns of pixel data (hereinafter referred to as 3x3 pixel data) from this pixel data storage circuit, and arithmetic processing of the read 3x3 pixel data. A processor (4
), an address control circuit (5) that controls the address of the pixel data storage circuit (2) based on the calculation result of this processor, and a line image controller that controls the address of the pixel data storage circuit (2) based on the pixel data stored in the pixel data storage circuit (2). Image output device to output (6)
It is made up of.

ここで、画素データ記憶回路(2)には第5図(a) 
iC示すように多数の点に工〜に、でなる線画像の2値
化画素データが格納され、また、端点によの座標(Xよ
Here, the pixel data storage circuit (2) is shown in FIG. 5(a).
As shown in iC, the binarized pixel data of a line image consisting of .

y工)が予め判っているものとしたとき、座標列(kl
(ZlsYl)Ik2(”2+72) * ” ” ”
 k (X wY ) )はn   n   n 次のようにして求められる。
When it is assumed that the coordinate sequence (kl
(ZlsYl)Ik2(”2+72) * ” ” ”
k (X wY )) is obtained as n n n as follows.

先ず、プロセッサ(4)が端点に工の座標データをアド
レス制御回路(5)に“与えると、第4図(b)に示す
ように1端点に□を中心として3×3画素データが、画
素データ読出し回路(3)によって画素データ記憶回路
(2)から読出されてプロセッサ(4)に加えられる。
First, when the processor (4) gives the coordinate data of the end point to the address control circuit (5), as shown in FIG. The data is read out from the pixel data storage circuit (2) by the data readout circuit (3) and applied to the processor (4).

そこで、プロセッサ(4)では各種の演算処理を行なっ
て点に2を追跡し、その座g (x2t y2)を求め
ると共に座標データをアドレス制御回路(5)に送る。
Therefore, the processor (4) performs various arithmetic operations to trace 2 to the point, determines its locus g (x2t y2), and sends the coordinate data to the address control circuit (5).

次に、アドレス制御回路(5)は点に2を新たな端点と
見做して画素データ記憶回路(2)のアドレスを制剤す
る。これによって点に2を中心として3×3画素データ
が読み出されると共に、上述したと全く同様な処理が繰
返されて点に2〜knの座標が全て求められる。
Next, the address control circuit (5) regards point 2 as a new end point and controls the address of the pixel data storage circuit (2). As a result, 3×3 pixel data is read out with point 2 as the center, and the same process as described above is repeated to obtain all coordinates of 2 to kn at the point.

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

上記のような従来の画像処理袋#【おいては点ks、の
座標から次の点k i+□の座標を求めるときに、各種
の演算処理を行なうプロセッサ(4)を用いることから
ファームウェア等のソフトウェアに従うので、線画像の
座標列を求めるに多くの処理時間が必要になるという問
題点があった。
When calculating the coordinates of the next point k i + □ from the coordinates of the point ks in the conventional image processing bag # [in the above case, the processor (4) that performs various arithmetic processing is used, so firmware etc. Since this method is based on software, there is a problem in that a lot of processing time is required to obtain the coordinate string of the line image.

この発明はかかる問題点を解決するためになされたもの
で、線画像の座標列を極めて高速で求めることのできる
画像処理装置を得ることを目的とする。
The present invention was made to solve this problem, and an object of the present invention is to provide an image processing device that can obtain a coordinate sequence of a line image at extremely high speed.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る画像処理装置は、3×6画素データを入
力し、これらの画素データの中心から見て同一の画素デ
ータを有する点の方向を検出する追跡方向検出回路と、
この追跡方向検出回路の出力に基づいて逐次新たな中心
となる点の座りおよび座標列を求める座標列演算回路と
を付加したものである。
The image processing device according to the present invention includes a tracking direction detection circuit that receives 3×6 pixel data and detects the direction of a point having the same pixel data when viewed from the center of the pixel data;
A coordinate string arithmetic circuit is added that sequentially calculates the location and coordinate string of a new center point based on the output of the tracking direction detection circuit.

〔作用〕[Effect]

この発明においては、追跡方向検出回路が3×3画素デ
ータのうち、中心と同一の画素データを有する点の方向
を検出して追跡方向信号を出力すると、座標列演算回路
がこの追跡方向信号に基づいてX+Y成分ごとの加減算
信号を作り、これによって画素データ読出し時の中心と
なる点の座標および座標列を求める。
In this invention, when the tracking direction detection circuit detects the direction of a point having the same pixel data as the center out of 3×3 pixel data and outputs a tracking direction signal, the coordinate string calculation circuit detects the direction of a point having the same pixel data as the center and outputs the tracking direction signal. Based on this, an addition/subtraction signal is created for each X+Y component, and from this, the coordinates and coordinate string of the center point when reading pixel data are determined.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示すブロック図であり、
第4図と同一の符号を付したものはそれぞれ同一または
同効の要素を示している0そしてこれら以外の(7)は
、3×3画素データを入力して次の点の追跡方向を求め
る追跡方向検出回路、(8)はこの追跡方向検出回路(
7)の追跡方向信号から次の点の座標および座標列を求
める座標列演算回路である。
FIG. 1 is a block diagram showing one embodiment of the present invention,
Items with the same reference numerals as in Figure 4 indicate elements that are the same or have the same effect.Other than these, (7) calculates the tracking direction of the next point by inputting 3 x 3 pixel data. Tracking direction detection circuit (8) is this tracking direction detection circuit (
7) is a coordinate string calculation circuit that calculates the coordinates and coordinate string of the next point from the tracking direction signal.

なお、追跡方向検出回路(7)ば、3×5画素データに
基づき中心から見た次の点の方向、すなわち、第2図の
0〜7で示される8つの方向の何れか1つを決定する追
跡方向決定回路(9)と、方向決定時の基準として1同
期だけ前の追跡方向を記憶する旧追跡方向記憶回路(1
01とで構成されている。
The tracking direction detection circuit (7) determines the direction of the next point as seen from the center based on the 3×5 pixel data, that is, any one of the eight directions indicated by 0 to 7 in FIG. A tracking direction determining circuit (9) for determining the direction, and an old tracking direction storage circuit (1) for storing the tracking direction one synchronization ago as a reference when determining the direction.
01.

また、座標列演算回路(8)は、上記追跡方向を示す信
号をX成分およびy成分に分解する加減算信号発生回路
Ql)と、上記線画作の端点を設定すると共に、その設
定値に加減算信号発生回路01)の出力を加えて各点に
、〜稲の座標を求めるxtYレジスタ(2)とで構成さ
れている。
The coordinate string calculation circuit (8) also includes an addition/subtraction signal generation circuit (Ql) that decomposes the signal indicating the tracking direction into an It consists of an xtY register (2) for adding the output of the generating circuit 01) to obtain the coordinates of ~rice at each point.

上記のように構成された画像処理装置において、第5図
に示す画素データのうち端点にユの座標(X工。
In the image processing apparatus configured as described above, the end point of the pixel data shown in FIG. 5 has Y coordinates (X coordinates).

y工)は予め判っているので、この座標を工、yレジス
タ(−に設定する。このとき、アドレス制御回路(5)
がこの座標を中心として画素データ記憶回路(2)のア
ドレスを制御すると、第5図(b)に示す。
y) is known in advance, so set this coordinate to the y register (-).At this time, the address control circuit (5)
When the address of the pixel data storage circuit (2) is controlled around these coordinates, the result is shown in FIG. 5(b).

3×3画素データが読み出されて追跡方向決定回路(9
)に加えられる。
The 3×3 pixel data is read out and sent to the tracking direction determining circuit (9
).

追跡方向決定回路(9)は端点に工から見た点に2の方
向、すなわち、第2図に示す追跡方向を決定して追跡方
向信号を旧追跡方向記憶回路αO)と、加減算信号発生
回路(6)に加える。加減算信号発生回路α刀は追跡方
向信号に対応してそれぞれ第3図に示すようにX+V成
分がともに−1,0,+1の何れかで示される加減算信
号を発生する。
The tracking direction determining circuit (9) determines the direction 2 at the end point as seen from the machine, that is, the tracking direction shown in FIG. Add to (6). The addition/subtraction signal generating circuit α generates addition/subtraction signals whose X+V components are either −1, 0, or +1, as shown in FIG. 3, in response to the tracking direction signals.

次に、この加減算信号は”tYレジスタ(9)に加えら
れ、最初に設定した端点に工の座標(X工、y工)との
間で加減算することによって点に2の座標(x2.y2
)が求められる。また、この座標を画素データ読出しの
中心としてアドレス制御回路(5)が画素データ記憶回
路(2)のアドレスを制御する。
Next, this addition/subtraction signal is added to the "tY register (9), and by adding and subtracting between the end point set at the beginning and the coordinates (X-work, y-work), the point is given the coordinates of 2 (x2.y2
) is required. Further, the address control circuit (5) controls the address of the pixel data storage circuit (2) using these coordinates as the center of pixel data readout.

以下、同様の動作を繰返すことによって点に3〜knの
座標が順次求められる。
Thereafter, by repeating the same operation, coordinates of 3 to kn are sequentially obtained for the point.

この場合、追跡方向検出回路(7)および座標列演算回
路(8)は簡単な論理素子または記憶素子によって実現
し得るので、簡単な構成のままで座標列の演算が可能に
なる。
In this case, since the tracking direction detection circuit (7) and the coordinate string calculation circuit (8) can be realized by simple logic elements or storage elements, it is possible to calculate the coordinate string with a simple configuration.

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

この発明は以上説明した通り、3行3列分の画素データ
を入力し、その中心から見て同一の画素データを有する
点の方向を検出する追跡方向検出回路と、この追跡方向
検出回路の出力信号に基づいて新たな中心座標を求める
と共に、線画像の座標列を求める座標列演算回路とを備
えているので、従来装置と比較して座標列の演算を他め
て高速で行ない得るという効果が得られる。
As explained above, this invention includes a tracking direction detection circuit that receives pixel data for 3 rows and 3 columns and detects the direction of a point having the same pixel data when viewed from the center, and an output of this tracking direction detection circuit. Since it is equipped with a coordinate string calculation circuit that calculates new center coordinates based on the signal and also calculates the coordinate string of a line image, it has the advantage of being able to calculate coordinate strings at a different speed compared to conventional devices. is obtained.

また、これらの回路は安価な要素で構成し得るので、プ
ログラムによって高速演算する場合と比べれば、著しく
低コストでの画像処理が可能になっている。
Furthermore, since these circuits can be constructed from inexpensive elements, image processing can be performed at significantly lower cost than when high-speed calculations are performed using a program.

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

第1図は本発明の一実施例を示すブロック図、第2図お
よび第3図は同実施例の主要な要素の力作を説明するた
めの説明図および図表、第4図は従来装置の構成を示す
ブロック図、第5図(、)、(b!は従来装置の動作を
説明するための説明図である。 (2)・・画素データ記憶回路 (8)・・画素データ読出し回路 (4)・・プロセッサ (5)・−アドレス制御回路(
7)@・追跡方向検出回路 (8)・Φ座標列演算回路 なお、各図中、同一符号は同一または相当部分を示す。
Fig. 1 is a block diagram showing an embodiment of the present invention, Figs. 2 and 3 are explanatory diagrams and charts for explaining the performance of the main elements of the embodiment, and Fig. 4 is the configuration of a conventional device. 5(a) and (b!) are explanatory diagrams for explaining the operation of the conventional device. (2)...Pixel data storage circuit (8)...Pixel data readout circuit (4) )... Processor (5) - Address control circuit (
7) @・Tracking direction detection circuit (8)・Φ coordinate string calculation circuit Note that in each figure, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 線画像を構成する2値の画素データが格納された記憶手
段から、前記線画像の端点を中心とする3行3列分の画
素データを読み出すと共に、中心と同一の画素データを
有する点の座標を検出し、且つ、この点を新たな中心と
して3行3列分の画素データの読み出すことによつて前
記線画像の座標列を求める画像処理装置において、前記
3行3列分の画素データを入力し、中心から見て同一の
画素データを有する点の方向を検出する追跡方向検出回
路と、この追跡方向検出回路の出力信号に基づいて新た
な中心の座標を求めると共に、前記線画像の座標列を求
める座標列演算回路とを具備したことを特徴とする画像
処理装置。
From the storage means in which binary pixel data constituting a line image is stored, pixel data for 3 rows and 3 columns centered on the end point of the line image is read out, and the coordinates of a point having the same pixel data as the center are read out. In an image processing device that obtains the coordinate string of the line image by detecting this point and reading out the pixel data of 3 rows and 3 columns with this point as a new center, the pixel data of the 3 rows and 3 columns are A tracking direction detection circuit detects the direction of points having the same pixel data when viewed from the center, and calculates the coordinates of a new center based on the output signal of this tracking direction detection circuit, and calculates the coordinates of the line image. An image processing device comprising: a coordinate string arithmetic circuit for calculating a string.
JP59209403A 1984-10-05 1984-10-05 Picture processing device Pending JPS6188379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59209403A JPS6188379A (en) 1984-10-05 1984-10-05 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59209403A JPS6188379A (en) 1984-10-05 1984-10-05 Picture processing device

Publications (1)

Publication Number Publication Date
JPS6188379A true JPS6188379A (en) 1986-05-06

Family

ID=16572311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59209403A Pending JPS6188379A (en) 1984-10-05 1984-10-05 Picture processing device

Country Status (1)

Country Link
JP (1) JPS6188379A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126776A (en) * 1987-11-12 1989-05-18 Fujitsu Ltd Address generating circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126776A (en) * 1987-11-12 1989-05-18 Fujitsu Ltd Address generating circuit

Similar Documents

Publication Publication Date Title
JPH03294976A (en) Reference mark pattern detecting device
JPS6188379A (en) Picture processing device
JPS63166369A (en) Mobile vector detection circuit
JPH03206575A (en) Image processing device
JPH056431A (en) Detector for feature point of contour line
JPH05336432A (en) Camera shake detecting device for image
JPS5927374A (en) Boundary line tracking circuit
JPH06309421A (en) Picture processor
JPS60257655A (en) Picture processor
JPH0222419B2 (en)
JPS62177687A (en) Inclination detecting circuit for pattern outline
JPH0490078A (en) Centroid detector
JP3562871B2 (en) Image processing device
JP2861435B2 (en) Pipeline type arithmetic unit
JPS63163579A (en) Graphic boundary vector generating circuit
JPH07113975B2 (en) Center of gravity detector
JPS59197972A (en) Coordinate arithmetic circuit
JPH0133851B2 (en)
JPH05314256A (en) Image data processor
JPS6217847A (en) Scan-in system for parity formation
JPH01167648A (en) Dna pattern readout system
JPH02139799A (en) Two-dimensional shift register and dynamic vector detecting arithmetic circuit using the register
JPS63262745A (en) Address forming circuit
JPS5855548B2 (en) I'm not sure what to do.
JPH0750504B2 (en) Pattern recognition device