JPH03100775A - Spoke register generating circuit - Google Patents

Spoke register generating circuit

Info

Publication number
JPH03100775A
JPH03100775A JP23767389A JP23767389A JPH03100775A JP H03100775 A JPH03100775 A JP H03100775A JP 23767389 A JP23767389 A JP 23767389A JP 23767389 A JP23767389 A JP 23767389A JP H03100775 A JPH03100775 A JP H03100775A
Authority
JP
Japan
Prior art keywords
memory
spoke
address
register
generation circuit
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
JP23767389A
Other languages
Japanese (ja)
Other versions
JP2861105B2 (en
Inventor
Koichi Sasagawa
耕一 笹川
Shinichi Kuroda
伸一 黒田
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 JP23767389A priority Critical patent/JP2861105B2/en
Publication of JPH03100775A publication Critical patent/JPH03100775A/en
Application granted granted Critical
Publication of JP2861105B2 publication Critical patent/JP2861105B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the circuit scale by supplying the address different among respective bit planes from an address generating part to one of first and second memories. CONSTITUTION:Quantized edge directions of a close loop form of a picture are stored in a first 8-bit memory 1 where edge directions quantized to 8 directions are stored, and a local data extracting part 2 simultaneously reads out edge direction data of dot strings corresponding to quantized directions form the first memory 1. An arithmetic processing part 3 generates spoke register based on edge direction data, and contents of the spoke register are stored in a second memory 4, and an address generating part 5 supplies the address common to respective bit planes to one of first and second memories 1 and 4 and supplies the address different among respective bit planes to the other. Thus, the edge direction data area to be held in the local data extracting part is reduced, and a spoke register generating circuit which is smaller-sized than conventional is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は9画一から円・楕円等の形状を抽出するため
の一手法であるスポークフィルタを実行する回路に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a circuit that executes a spoke filter, which is a method for extracting shapes such as circles and ellipses from nine squares.

〔従来の技術〕[Conventional technology]

従来、fII淡画像画像円・楕円等の形状を抽出するた
めの一手法として、スポークフィルタという手法が知ら
れている。この手法は0例えば円の場合1円周上の点に
おけるエツジ方向が全て円の中心に向うことを利用した
ものであシ、エツジ方向に応じた点列から構成される線
要素(「スポーク」)を作成すると、その交差回数が円
の中心付近で増加することを利用して円全抽出するとい
うものでる。
Conventionally, a method called a spoke filter is known as a method for extracting shapes such as circles and ellipses from fII light images. This method takes advantage of the fact that, for example, in the case of a circle, all edge directions at points on the circumference point toward the center of the circle. ), the entire circle is extracted using the fact that the number of intersections increases near the center of the circle.

このスポークフィルタという処理は、参考文献のLew
ss G、 Minor and Jack 5kla
nskyrThe D6teC1iOn and Se
gmentation ofBlobs in Inf
rared ImagesJ  IEEE Trans
an−C1lOns Orl 5ystems、 Ma
rl、 and Cybernetlcs。
This spoke filter process is described in the reference document Le.
ss G, Minor and Jack 5kla
nskyrThe D6teC1iOn and Se
gmentation of Blobs in Inf
Rared ImagesJ IEEE Trans
an-C1lOns Orl 5systems, Ma
rl, and Cybernetlcs.

VOl、 SMC−H,No、 3. March 1
981 (1)り、 1!4−201)に開示されてい
るように次の3つのステップから構成される装 ■ スポークの交差状態を示す、スポークレジスタを生
成する処理 ■ スポークレジスタの内容に対して、3X3近傍にお
いて、OR演算を行った結果を表わすオアートスボーク
レジスタを生成する処理■ オアートスボークレジスタ
に表わされたスポークの交差状態によn、otたはIK
2値化し、スポークフィルタの結果を出力するためのマ
ツピング処理 このうち、■のオアートスボークレジスタの作成は3X
3の2値の論理フィルタ処理、tた■のマツピング処理
は、ルックアップテーブルによる変換処Jlを行う標準
的なハードウェアにょシ、リアルタイムでの実行が可能
である。
VOl, SMC-H, No, 3. March 1
As disclosed in 981 (1), 1!4-201), the system consists of the following three steps: ■ A process to generate a spoke register indicating the intersecting state of spokes; Processing to generate an ortosbork register representing the result of the OR operation in the 3X3 neighborhood ■ n, ot or IK depending on the intersecting state of the spokes represented in the ortosbork register
Mapping processing for binarizing and outputting the spoke filter results Among these, the creation of the ortosbork register in ■ is 3X
The binary logical filter processing of 3 and the mapping processing of t and 2 can be executed in real time using standard hardware that performs conversion processing using a lookup table.

一方、ステップ1のスポークレジスタの生成をリアルタ
イムで実行するためのスポークレジスタ生成回路がある
On the other hand, there is a spoke register generation circuit for executing the generation of spoke registers in step 1 in real time.

従来のスポークレジスタ生成回路のブロック図を示す第
6図において、(1)は、8方向に量子化され九エツジ
方向を記憶する8ビツト構成の第1メモリ、(2)は上
記第1メモリ(1)から、量子化方向1(i=Q、・・
・、7)K応じた点列のエツジ方向データを同時1fC
i!y!み出す虎めの局所データ抽出部。
In FIG. 6, which shows a block diagram of a conventional spoke register generation circuit, (1) is a first memory having an 8-bit configuration that is quantized in eight directions and stores nine edge directions; (2) is the first memory ( 1), the quantization direction 1 (i=Q,...
・, 7) Simultaneously 1fC edge direction data of point sequence according to K
i! Y! The local data extraction part of the protruding tiger.

+3)は上記局所データ抽出部(21から送られるエツ
ジ方向データをもとに、スポークレジスタを生成するた
めの演算を行う演算処理部、(4Iは上記演算処理部(
31で生成されるスポークレジスタの内容全記憶する8
ビツト構成の第2メモリ、(5)は8ビツト構成の第1
メモリ(1)及び第2メモリ(41のそれぞれに、@ビ
ット平面に共通のアドレスを供給するアドレス発生部で
ある。
+3) is a calculation processing unit that performs calculations to generate spoke registers based on the edge direction data sent from the local data extraction unit (21); (4I is the calculation processing unit (
8. Store all contents of the spoke registers generated in step 31.
The second memory has a bit configuration, and (5) the first memory has an 8-bit configuration.
This is an address generator that supplies a common address to the @bit plane to each of the memory (1) and the second memory (41).

そして、この「スポーク」内部のすべての点Xに対して
、aビット構成の第2メモリ(4に記憶されているスポ
ークレジスタR(x)のlビット目を1にするという操
作を、全画面のエツジ方向データに対して行うことによ
〕、その最終結果が、全画面に対するスポークレジスタ
の内容となる。
Then, for all points edge direction data], the final result is the contents of the spoke registers for the entire screen.

(ただし、初期状塾では、スポークレジスタのすべての
ビットはOとする。) いま、注目点Xに対するスポークレジスタR(xiのl
ビット目に1があるということは、逆に見れば、第14
図のように点x=(x、y)から、方向iと逆方向[8
画素だけ離れ九長さL画素の「逆スポークjを作成する
と、その内部の点U=(U。
(However, in the initial session, all bits of the spoke register are set to O.) Now, the spoke register R (l of xi) for the point of interest
If you look at it the other way around, the presence of 1 in the 14th bit means that there is a 1 in the 14th bit.
As shown in the figure, from point x = (x, y), direction i and the opposite direction [8
If we create an inverse spoke j of length L pixels nine pixels apart, then the point inside it is U=(U.

V ) の少なくとも1つに、エツジ方向It tである点が存
在するということである。
This means that there exists a point in at least one of V) whose edge direction is It t.

エツジ方向は、第12図に示すようにOから7までの8
方向に量子化されておシ、量子化方向が1のとき、lビ
ット目のみ1とし、他のビットはすべてOとする。第1
3図のような8ビット表現で、第1メモリ(1)に記憶
されているとする。この第1メモリ+1)上の点U=(
U、V)におけるエツジ方向がiのとき1点uK対して
、iの方向KS画素だけ離れた長さしの「スポーク」を
作成すると、その内部の点翼=(x、y)は のように表わされる。
The edge direction is 8 from O to 7 as shown in Figure 12.
When the quantization direction is 1, only the l-th bit is set to 1, and all other bits are set to O. 1st
Assume that the data is stored in the first memory (1) in 8-bit representation as shown in FIG. Point U on this first memory + 1) = (
When the edge direction in U, V) is i, if we create a "spoke" with a length of KS pixels in the i direction for one point uK, the internal point wing = (x, y) will be as follows. is expressed in

0立0.Δyo)=(−t−o)e  (AXl、Δy
1):(−1,−1)(N2.Δy2)=(0,−1)
、  (Δx3.Δys)=(L  1)(7□4.Δ
y4)=(1,0)、  (怠5.Δ)’5)=(Ll
)(N6.Δy6)=(Os1)−(越7.Δy7)=
(−1、1)すなわち、エツジ方向データを記憶する第
1メモリ(1)をアドレス発生部(5)が供給するアド
レスを用いて順次走置することによシ1局所データ抽出
部(21が注目点Xから量子化方向iに応じて伸びた8
種頌の「逆スポーク」内部の点のエツジ方向データを同
時に読み出す。そして、それぞれの量子化方向iに対し
て演算処理部(3)が量子化方向iに応じ九「逆スポー
ク」内部の、少なくとも1つに。
0 standing 0. Δyo)=(-t-o)e (AXl, Δy
1):(-1,-1)(N2.Δy2)=(0,-1)
, (Δx3.Δys)=(L 1)(7□4.Δ
y4)=(1,0), (lack5.Δ)'5)=(Ll
)(N6.Δy6)=(Os1)−(Etsu7.Δy7)=
(-1, 1) That is, by sequentially locating the first memory (1) that stores edge direction data using the addresses supplied by the address generation section (5), the first local data extraction section (21) 8 extending from the point of interest X according to the quantization direction i
The edge direction data of the points inside the "reverse spokes" of the seed ode are read out at the same time. Then, for each quantization direction i, the arithmetic processing unit (3) processes at least one of the nine "reverse spokes" according to the quantization direction i.

エツジ方向がiである点が存在するかどうかを判断し、
もし存在すれ#:1′1を、存在しなければ0を出力す
る。この演算処理部(31の出力結果を、°スポークレ
ジスタの内容を記憶する第2メモリ141上の注目点X
のiビット目の個として書き込む。第1メモリil+に
記憶されているエツジ方向データが。
Determine whether there is a point whose edge direction is i,
If it exists, it outputs #:1'1, and if it does not exist, it outputs 0. The output result of this arithmetic processing unit (31) is transferred to the attention point
Write as the i-th bit of . Edge direction data stored in the first memory il+.

第13図のような8ビツト表現で表わされているとき、
上記の操作は、各ビットごとに独立な並列処理となる。
When expressed in 8-bit representation as shown in Figure 13,
The above operation is an independent parallel process for each bit.

第7図は第6図のスポークレジスタ生成回路における局
所データ抽出部を示す回路構成図である。
FIG. 7 is a circuit configuration diagram showing a local data extraction section in the spoke register generation circuit of FIG. 6.

図においてのは1ライン分のデータを保持するシフトレ
ジスタ、 clnは各点のデータを保持するラッチであ
る。第1図に示すように、2M個のシフトレジスタ(1
)及び、  (2M+1)X(2M−H)個のラッチ+
211をマトリックス状Kが置した構成により、(2M
+1 ) X (2M+1 )  の局所データが保持
できる。
In the figure, cln is a shift register that holds data for one line, and cln is a latch that holds data at each point. As shown in Figure 1, 2M shift registers (1
) and (2M+1)X(2M-H) latches+
By the configuration in which 211 is placed in a matrix K, (2M
+1) X (2M+1) local data can be held.

ここでM≧S+Lとする。すなわち、エツジ方向が記憶
されている第1メモリ(1)を、アドレス発生部(5+
が供給するアドレス(ty、v)を用いて、 1−次走
査してい(ことによシ0局所データ抽出部1!+の各ラ
ッチCl1l K tit、 第1メモリ+11のiビ
ット平面上の4点(U、 V)、 (U−2M、 V)
、 (U、 V−2M)。
Here, M≧S+L. That is, the first memory (1) in which the edge direction is stored is stored in the address generator (5+
using the addresses (ty,v) supplied by Point (U, V), (U-2M, V)
, (U, V-2M).

(U−2M、 V−2M)C)l’3部の(2M+1)
X(2M+1)の局所領域のデータが保持される。この
うち、演算処理部(31に送られるデータは1ビット平
面においては、第15図の斜線部分で示され九点usk
=(u、v) (k=1. ”・、 M)のデータであ
る。
(U-2M, V-2M)C) l'3 parts (2M+1)
Data of a local region of X(2M+1) is held. Of these, the data sent to the arithmetic processing unit (31) is indicated by the diagonal line in FIG.
= (u, v) (k=1. ”・, M) data.

また第8図は、第6図のスポークレジスタ生成回路にお
ける演算処理部を示す回路構成図である。
Further, FIG. 8 is a circuit configuration diagram showing an arithmetic processing section in the spoke register generation circuit of FIG. 6.

第8図Ki?いて、 cIp#:t、局所データ抽出部
(2)から送られるiビット平面におけるエツジ方向デ
ータIC(utk) (k= 1.−、 pa )(D
うち、「逆スポーク」内部の点のデータだけを有効にす
るためのMビット構成のマスクレジスタ、(至)は、上
記エツジ方向データK(uik)(k=1. ・・・、
M) とマスクレジスタC111の内容MRk (k=
=1 、・・・、M)との対応するビット間で、AND
演算を行5AND回路。
Figure 8 Ki? cIp#:t, edge direction data IC(utk) (k=1.-, pa)(D
Of these, the M-bit mask register for validating only the data of the points inside the "reverse spoke" is the edge direction data K(uik) (k=1. . . . ).
M) and the contents of mask register C111 MRk (k=
=1,...,M) between the corresponding bits, AND
Calculation is performed using a 5-AND circuit.

(至)はM個のAND回路(至)の出力に対してOR演
算を行うM入力−1出力のOR回路である。
(To) is an M input-1 output OR circuit that performs an OR operation on the outputs of M AND circuits (To).

なおマスクレジスタGυの内容MRk(k=1.・・・
M)は、  S、  Lの値に応じて次のように設定す
る。
Note that the contents of the mask register Gυ MRk (k=1...
M) is set as follows according to the values of S and L.

また、iビット平面の注目点(x、Y)(各ビットとも
共通)は、0式でに=jとおき、■式と比較することK
よシ9次のようになる。
Also, the point of interest (x, Y) on the i-bit plane (common to each bit) is to set = j in the 0 formula and compare it with the ■ formula K
It will be as follows.

このとき、OR回回路の出力は、上記注目点(X、Y)
に対する「逆スポーク」の内部に、 エツジ方向がiの
点が、少なくとも1つ存在するとき1とな汎存在しない
とき0となる。このOR回路(至)の出力結果が第2メ
モリ(4)へ送られる。
At this time, the output of the OR circuit is the above noted point (X, Y)
It is 1 if there is at least one point with edge direction i inside the "reverse spoke" for , and 0 if there is none. The output result of this OR circuit (to) is sent to the second memory (4).

また第9図は、第6図のスポークレジスタ生成回路に、
おけるアドレス発生部を示す回路構成図である。図にお
いて、  (51)は、第1メモリ(1)及び第2メモ
リ(41のそれぞれに、各ビット平面に共通のアドレス
を供給するアドレス発生回路1及び2、  (52)は
アドレス発生回路(51)の制御信号である。クロック
(CLK)と、水平ロード信号(箱1)と、垂直ロード
信号(VLD)t−発生するタイミング発生回路である
In addition, FIG. 9 shows that the spoke register generation circuit of FIG.
FIG. 3 is a circuit configuration diagram showing an address generation section in the computer. In the figure, (51) is the address generation circuit 1 and 2 that supplies a common address to each bit plane to the first memory (1) and the second memory (41), and (52) is the address generation circuit (51). ) is a timing generation circuit that generates a clock (CLK), a horizontal load signal (box 1), and a vertical load signal (VLD).

例えば、第1メモリ+11及び第2メモリ(41のサイ
ズが25@X25g画素とすると、第111Vのような
制御信号(CLK、HLD、VLD)’j−1イミング
発生回−(52)によ多発生する。 アドレス発生回路
(s+)d、第10図に示すように、IIビットラッチ
2個からなるスタートアドレスレジスタ(5■)と8ビ
ツトカウンタ2個からなるアドレスカウンタ(512)
とで構成され、水平ロード信号(iτ)と垂直ロード(
VLD)によジスタートアドレスレジスタ(5+1)の
内容をアドレスカウンタ(512)  にロードした後
、(同期式ロードとする)、水平方向にはクロック(C
LK)で、垂直方向には水平ロード信号(HLD)でカ
ウントアツプし、それぞれ水平、垂直のアドレスを発生
する。
For example, if the size of the first memory +11 and the second memory (41) is 25@x25g pixels, the control signals (CLK, HLD, VLD) such as 111V 'j-1 timing generation times - (52) Address generation circuit (s+) d, as shown in Figure 10, a start address register (5) consisting of two II bit latches and an address counter (512) consisting of two 8-bit counters.
It consists of a horizontal load signal (iτ) and a vertical load signal (iτ).
After loading the contents of the start address register (5+1) into the address counter (512) using the clock (VLD) (synchronous loading), the clock (C
LK), and in the vertical direction, a horizontal load signal (HLD) is used to count up and generate horizontal and vertical addresses, respectively.

第1メモリ(11に対しては、アドレス発生回路1(5
1)のスタートアドレスレジスタ(511)を(0゜0
)K設定してアドレス(U、  V)を発生し、 第2
メモリ(4に対してはアドレス発生回路2(51)のス
タートアドレスレジヌタ(511)を(−M、 −M)
に設定して、アドレス(x、y)を発生するようにft
Lば、(X、Y)#i注目点のアドレスとなる。
For the first memory (11), address generation circuit 1 (5
1) Set the start address register (511) to (0°0
)K to generate the address (U, V), and the second
For memory (4), set the start address register (511) of address generation circuit 2 (51) to (-M, -M).
ft to generate the address (x, y).
L is the address of the point of interest (X, Y) #i.

このようKして、各ビット平面での演算処理部(31の
出力結果を、第2メモリ141の各ビット平面上の注目
点(X、Y)に順次書き込んでいくこと釦よ見金画面に
対するスポークレジスタが生成できる。
In this way, the output results of the arithmetic processing unit (31) on each bit plane are sequentially written to the points of interest (X, Y) on each bit plane of the second memory 141. Spoke registers can be created.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のスポークレジスタ生成回路は上記のように構成さ
れているので1局所データ抽出部において(2M+1)
X(2M+1)の局所データを保持する必要があり、ス
ポークレジスタ生成回路の規模が大きくなる問題があっ
た。
Since the conventional spoke register generation circuit is configured as described above, (2M+1) in one local data extraction section.
Since it is necessary to hold X(2M+1) local data, there is a problem in that the scale of the spoke register generation circuit increases.

本発明は上記のような問題を解決するためになされたも
のであシ、従来に比べて小型のスポークレジスタ生成回
路t−得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a spoke register generation circuit t- which is smaller in size than the conventional one.

〔I!1lIilil!を解決するための手段〕本発明
に係るスポークレジスタ生成回路においては、第1メモ
リm儂の閉ループ形状の量子化されたエツジ方向を記憶
して0局所データ抽出部が前記第1メモリから量子化方
向に応じ要点列のエツジ方向データを同時に読み出して
、演算処理部が前記局所データ抽出部から送られるエツ
ジ方向データをもとくスポークレジスタを生成して、第
2メモリが前記演算処理部から生成されるスポークレジ
スタの内容を記憶してアドレス発生部が。
[I! 1lIilil! [Means for Solving] In the spoke register generation circuit according to the present invention, the quantized edge direction of the closed loop shape is stored in the first memory m, and the 0 local data extraction unit extracts the quantized edge direction from the first memory. The edge direction data of the point strings are simultaneously read out according to the direction, the arithmetic processing unit generates a spoke register based on the edge direction data sent from the local data extraction unit, and the second memory is generated by the arithmetic processing unit. The address generator stores the contents of the spoke registers.

前記第1メモリ及び前記第2メモリの一方には各ビット
平面に共通のアドレスを供給し、他方には各ビット平面
ととに異なるアドレスを供給するものである。
One of the first memory and the second memory is supplied with a common address for each bit plane, and the other is supplied with a different address for each bit plane.

〔作用〕[Effect]

上記の様に構成されたスポークレジスタ生成回路は、ア
ドレス発生部が前記第1メモリ及び前記第2メ七リ一方
には各ビット平面に共通のアドレスを供給して、他方に
は各ビット平面ごとに異なるアドレスを供給する。
In the spoke register generation circuit configured as described above, the address generation section supplies a common address to each bit plane to one of the first memory and the second memory, and supplies a common address to each bit plane to the other. supply a different address.

〔発明の実施例〕[Embodiments of the invention]

第1図は1例えば、エツジ方向を8方向く量子化した場
合についての、この発明の実施例でめるスポークレジス
タ生成回路の全体構成を示す図である。図において、(
!)は、・方向に量子化されたエツジ方向を記憶する8
ビツト構成の第1メモリ。
FIG. 1 is a diagram showing the overall configuration of a spoke register generation circuit according to an embodiment of the present invention in the case where, for example, edge directions are quantized in eight directions. In the figure, (
! ) stores the edge direction quantized in the direction 8
A first memory configured in bits.

(21は、上記第1メモリ(1)から量子化方向1(i
=O0・・・ 7)K応じ要点列のエツジ方向データを
同時に絖み出す喪めの局所データ抽出部、 (31#i
上記局所データ抽出部偉)から送られるエツジ方向デー
タをもとく、スポークレジスタを生成するための演算管
行う演算処理部、(4+は上記演算処理部(31で生成
されるスポークレジスタの内容を記憶する一ピット構成
の第2メモリ、(5+は8ビツト構成の第1メモリ(1
)には各ビット平面とも共通のアドレスを供給し、Sビ
ット構成の#1!2メモリ(41には各ビット平面ごと
に異なるアドレスを供給するアドレス発矢部である。
(21 is from the first memory (1) to the quantization direction 1(i
=O0...7) A local data extraction unit that simultaneously extracts the edge direction data of the point sequence according to K, (31#i
An arithmetic processing section (4+ stores the contents of the spoke registers generated by the arithmetic processing section 31), which performs an arithmetic operation to generate spoke registers based on the edge direction data sent from the local data extraction section (31). The second memory has a one-bit configuration (5+ is the first memory (1
) is supplied with a common address for each bit plane, and #1!2 memory (41) of S-bit configuration is an address firing unit that supplies a different address for each bit plane.

以下、各部の構成及びその動作について説明する。The configuration and operation of each part will be explained below.

本発明の実施例であるスポークレジスタ生成回路におけ
る局所データ抽出部は、第1図に示された従来のスポー
クレジスタ生成回路における局所データ抽出部において
、M’−1個のシフトレジスター及び、M’XM’個の
ラッチ(211ftマトリツクス状に配置した構成によ
り、 M’ X M’  の局所データが保持できるよ
うKしたものである。ここでM′≧Lとする。すなわち
、エツジ方向が記憶されている第1メモリ(Il′ft
、アドレス発生部(5)が供給するアドレス(U、V)
を用h″″c狛次走査していくことによシ1局所データ
抽出部(21の各ラッチ12IlKは、第1メモリ+1
1の凰ビット平面上の4点(u、 v)、 (U−M’
−)−1,V)、 (υ、V−M’+1 )、 (U−
M’ +1. V−M’ +1 ) O内部+7)M’
XM’の局所領域のデータが保持される。このうち、演
算処理部(31に送られるデータは、直ピット平面にお
いては、第5図の斜縁部分で示された点りムに=(u、
 v ) (k=t、 −、M’ )のデータである。
The local data extraction unit in the spoke register generation circuit according to the embodiment of the present invention is different from the local data extraction unit in the conventional spoke register generation circuit shown in FIG. XM' latches (arranged in a 211ft matrix) are designed to hold M' x M' local data.Here, M'≧L.In other words, the edge direction is memorized. The first memory (Il′ft
, the address (U, V) supplied by the address generator (5)
By sequentially scanning h″″c using h″″c, each latch 12IlK of
4 points (u, v) on the bit plane of 1, (U-M'
-)-1, V), (υ, V-M'+1), (U-
M'+1. V-M' +1) O inside +7) M'
Data of the local area of XM' is held. Of these, the data sent to the arithmetic processing unit (31) is transmitted to the point indicated by the beveled edge in FIG. 5 on the direct pit plane = (u,
v) (k=t, -, M').

また0本発明の実施例であるスポークレジスタ生成回路
にかける演算処理部は、第8図に示された従来のヌポー
クレジヌタ生成回跡における演算処理部と同様であ〕2
M′ビット構成のマスクレジスタ(lft、 M’個の
AND回路(至)0M′人カー1出方のOR回路(至)
から構成される。なお、マスクレジx16Do内容MR
k (k= 1.−M’ )は、s。
Furthermore, the arithmetic processing unit applied to the spoke register generation circuit according to the embodiment of the present invention is similar to the arithmetic processing unit in the conventional spoke register generation circuit shown in FIG.
M' bit configuration mask register (lft, M' AND circuits (to) 0M' person car 1 output OR circuit (to)
It consists of In addition, mask register x16Do contents MR
k (k=1.-M') is s.

Lの値に応じて次のように設定する。The following settings are made according to the value of L.

また、iビット平面の注目点(XhYt)は0式でに=
j−sとおき、■式と比較することKよシ。
Also, the point of interest (XhYt) on the i-bit plane is =
Write j-s and compare it with the formula ■K.

次のようKなる。K is as follows.

このとき、OR回路Ωの出力は、上記注目点(XhYt
)K対する「逆ヌボーク」 の内部に。
At this time, the output of the OR circuit Ω is the above noted point (XhYt
) Inside the "reverse nuvoke" against K.

エツジ方向がiの点が少なくとも1つ存在するとき1と
な)、存在しないときOとなる。このOR回路■の出力
結果が第2メモ!j 141へ送られる。
When there is at least one point with edge direction i, it is 1), and when there is no point, it is O. The output result of this OR circuit ■ is the second memo! j 141.

ま次第2図は1本発明の実施例であるヌボークレジスタ
生成回路におけるアドレス発生部を示す回路構成図であ
る。
FIG. 2 is a circuit configuration diagram showing an address generation section in a nouveau register generation circuit according to an embodiment of the present invention.

図において(5υ#:を第1メモリ(1)の各ビット平
面に共通のアドレスを供給するアドレス発生回路1及び
、第2メモリ(41の各ビット平面ととに異なるアドレ
スを供給するアドレス発生回路2.0〜17゜(52)
はタイミング発生回路である。
In the figure, (5υ#:) is an address generation circuit 1 that supplies a common address to each bit plane of the first memory (1), and an address generation circuit that supplies a different address to each bit plane of the second memory (41). 2.0~17° (52)
is a timing generation circuit.

第1メモリ(13K対しては、アドレス発生回路1(S
+)のスタートアドレスレジスタ(511)を(0゜0
)K設定して、アドレス(U、V)を発生し。
For the first memory (13K), address generation circuit 1 (S
+) start address register (511) (0°0
)K to generate the address (U, V).

第2メモリ(4101ビット平面に対しては、それぞれ
、アドレス発生回路2. 1 (51)のスタートアド
レスレジスタ(5■)管 (−m+Δx 1 ・(S +m+ 1 ) 、−m+
ΔY1(S+m+1))K設定して、アドレス(xi、
Yl)(i;o、・・・、T)を発生すれば・ (Xt
+Yi)は注目点のアドレスとなる。
The second memory (for 4101 bit planes, the start address register (5) of the address generation circuit 2.1 (51)) tube (-m+Δx 1 ・(S +m+ 1 ), -m+
Set ΔY1(S+m+1))K to address (xi,
Yl) (i; o, ..., T), then (Xt
+Yi) is the address of the point of interest.

このようにして、各ビット平面での演算処理部(81の
出力結果を、・第2メモリ(41の各ビット早面上の注
目点(恥* Yl) (’ =Os・・・、7)に順次
書き込んでいくことにより、全画面に対するスポークレ
ジヌタが生成できる。
In this way, the output results of the arithmetic processing unit (81) on each bit plane are stored in the second memory (41). By sequentially writing to , spoke registers for the entire screen can be generated.

なお上記実施例では、アドレス発生部(5)において、
第1メモリ(llK対しては、各ビット平面に共通のア
ドレスを供給し、第2メモリ(41に対しては。
Note that in the above embodiment, in the address generation section (5),
The first memory (for llK provides a common address for each bit plane) and the second memory (for 41).

各ビット平面ととに異なるアドレスを供給する場合につ
いて説明したが、逆に、第1メモリ(1)K対しては、
q!rビット平面ごとに異なるアドレスを供給し、第2
メモリ(41に対しては、各ビット平面に共通のアドレ
スを供給するようにしても、同様の効果を奏する。第3
図は1本発明の他の実施例であるスポークレジスタ生成
回路の全体構成を示す図、第4図は、このスポークレジ
スタ生成回路におけるアドレス発生部の回路構成図であ
る。第4図において、  (S+)は9m1メモリ(1
)の各ビット平面ごとに異なるアドレスを供給するアド
レス発生回路1.0〜1.7及び、第2メモリ+41の
各ビット平面に共通のアドレスを供給するアドレス発生
回路2゜(52)はタイミング発生回路である。
We have explained the case where different addresses are supplied to each bit plane, but conversely, for the first memory (1) K,
q! Supplying a different address for each r bit plane, the second
For the memory (41), a similar effect can be achieved by supplying a common address to each bit plane.
1 is a diagram showing the overall configuration of a spoke register generation circuit according to another embodiment of the present invention, and FIG. 4 is a circuit configuration diagram of an address generation section in this spoke register generation circuit. In Figure 4, (S+) is 9m1 memory (1
) address generation circuits 1.0 to 1.7 that supply a different address for each bit plane of the second memory +41 and address generation circuit 2° (52) that supplies a common address to each bit plane of the second memory +41 are timing generators. It is a circuit.

いま、第1メモリ(1)の五ビット平面に供給するアド
レスを(Ul、vt)(i==Q、・ 、7)、第2メ
モリ(41の各ビット平面に共通に送るアドレスを(x
、Y)とすると、0式よ) となる。したがって 第1メモリ(1)のiビット平(IK対しては、それぞ
れ、アドレス発生回路1.1(51)のスタートアドレ
スレジスタ(511)を(m−ΔXl −(S+m+ 
1 )。
Now, the address supplied to the 5-bit plane of the first memory (1) is (Ul, vt) (i==Q, . . , 7), and the address commonly sent to each bit plane of the second memory (41) is (x
, Y), then the formula 0) becomes. Therefore, for the i-bit square (IK) of the first memory (1), the start address register (511) of the address generation circuit 1.1 (51) is (m-ΔXl - (S+m+
1).

m−Δys ・(S+m+1))Ko定して、7)’L
/、K(υ簾、V1)(オ=0.・・・、1)を発生し
、 s2メモリ(41に対しては、アドレス発生回路2
 (51)のスタートアドレスレジスタ(511)を(
0,0)に設定して、アドレス(x、y)を発生すれは
よい。
m-Δys ・(S+m+1))Ko,7)'L
/, K(υblind, V1) (O = 0..., 1), and for s2 memory (41, address generation circuit 2
Set the start address register (511) of (51) to (
0, 0) to generate the address (x, y).

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

以上のように、この発明によればアドレス発生部におい
て第1メモリ及び第2メモリの一万に対して各ビット平
面ごとに異なるアドレスを供給することによって9局所
データ他出部において保持すべきエツジ方向データ領域
を減少させることができるので9回路規模を非常に小さ
くできるという効果がある。
As described above, according to the present invention, by supplying different addresses for each bit plane to 10,000 units of the first memory and the second memory in the address generating unit, the edge to be held in the 9 local data output unit is Since the direction data area can be reduced, the nine-circuit scale can be made very small.

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

第1図は1本発明の実施例であるスポークレジスタ生成
回路の全体構成図、第2図は6本発明のアドレス発生部
を示す回路構成図、第3図は本発明の他の実施例を示す
スポークレジスタ生成回路の全体構成図、第4図は本発
明の他の実施例を示すスポークレジスタ生成回路のアド
レス発生部を示す回路構成口、第5図は0本発明の局所
データ抽出部から演算処理部に送るデータの状態を示す
図、第6図は従来のスポークレジスタ生成回路の全体構
成図、第1図は従来のスポークレジスタ生成回路の局所
データ抽出部を示す回路構成図0m8図は従来のスポー
クレジスタ生成回路の演算処理部を示す回路構成図、第
9図は従来のスポークレジスタ生成回路のアドレス発生
部を示す回路構成図、第10図は従来のスポークレジス
タ生成回路のアドレス発生部におけるアドレス発生回路
を示す回路構成図、第11図はタイミング発生回路が発
生する制御信号を示す信号状態図、第12図はエツジの
量子化方向の説明図、第13図はエツジ方向のビット表
現を示す図、第14図及び第15図は局所のデータ抽出
部から演算処理部に送る従来のスポークレジスタ生成回
路によるデータの状態を示す図である。 因において(すは第1メモリ、(2)は局所データ抽出
部、(3田演算処理部、(4)は第2メモリ、+51は
アドレス発生部である。 なか2図中、同一符号は、同−又は相当部分を示す。
FIG. 1 is an overall configuration diagram of a spoke register generation circuit according to an embodiment of the present invention, FIG. 2 is a circuit configuration diagram showing an address generation section of the present invention, and FIG. FIG. 4 is a circuit diagram showing an address generation section of a spoke register generation circuit according to another embodiment of the present invention, and FIG. Figure 6 is a diagram showing the state of data sent to the arithmetic processing unit. Figure 6 is an overall configuration diagram of a conventional spoke register generation circuit. Figure 1 is a circuit configuration diagram showing a local data extraction unit of a conventional spoke register generation circuit. FIG. 9 is a circuit configuration diagram showing an arithmetic processing section of a conventional spoke register generation circuit. FIG. 9 is a circuit configuration diagram showing an address generation section of a conventional spoke register generation circuit. FIG. 10 is a circuit configuration diagram showing an address generation section of a conventional spoke register generation circuit. 11 is a signal state diagram showing control signals generated by the timing generation circuit, FIG. 12 is an explanatory diagram of the edge quantization direction, and FIG. 13 is a bit representation of the edge direction. 14 and 15 are diagrams showing the state of data by a conventional spoke register generation circuit sent from a local data extraction section to an arithmetic processing section. (2) is the local data extraction section, (4) is the second memory, and +51 is the address generation section. In the two figures, the same symbols are as follows. Indicates the same or equivalent part.

Claims (1)

【特許請求の範囲】[Claims] 画像の閉ループ形状の量子化されたエッジ方向を記憶す
る第1メモリと、この第1メモリから量子化方向に応じ
た点列のエッジ方向データを同時に読み出す局所データ
抽出部と、この局所データ抽出部から送られるエッジ方
向データをもとにスポークレジスタを生成する演算を行
う演算処理部と、この演算処理部から生成されるスポー
クレジスタの内容を記憶する第2メモリと、前記第1メ
モリ及び前記第2メモリの一方には各ビット平面に共通
のアドレスを供給し、他方には各ビット平面ごとに異な
るアドレスを供給するアドレス発生部とを備えた事を特
徴とするスポークレジスタ生成回路。
a first memory that stores quantized edge directions of a closed-loop shape of an image; a local data extraction section that simultaneously reads out edge direction data of a point sequence according to the quantization direction from the first memory; and this local data extraction section. an arithmetic processing unit that performs an arithmetic operation to generate a spoke register based on edge direction data sent from the arithmetic processing unit; a second memory that stores the contents of the spoke register generated from the arithmetic processing unit; the first memory and the first memory; 1. A spoke register generation circuit characterized in that one of the two memories is provided with an address generating section that supplies a common address to each bit plane, and the other one supplies a different address for each bit plane.
JP23767389A 1989-09-13 1989-09-13 Spoke register generation circuit Expired - Lifetime JP2861105B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23767389A JP2861105B2 (en) 1989-09-13 1989-09-13 Spoke register generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23767389A JP2861105B2 (en) 1989-09-13 1989-09-13 Spoke register generation circuit

Publications (2)

Publication Number Publication Date
JPH03100775A true JPH03100775A (en) 1991-04-25
JP2861105B2 JP2861105B2 (en) 1999-02-24

Family

ID=17018815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23767389A Expired - Lifetime JP2861105B2 (en) 1989-09-13 1989-09-13 Spoke register generation circuit

Country Status (1)

Country Link
JP (1) JP2861105B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05319800A (en) * 1992-05-22 1993-12-03 Nippon Sharyo Seizo Kaisha Ltd Elevated place working vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05319800A (en) * 1992-05-22 1993-12-03 Nippon Sharyo Seizo Kaisha Ltd Elevated place working vehicle

Also Published As

Publication number Publication date
JP2861105B2 (en) 1999-02-24

Similar Documents

Publication Publication Date Title
JPS6247786A (en) Exclusive memory for adjacent image processing
US4580236A (en) Graphic display apparatus with a vector generating circuit
JPH03100775A (en) Spoke register generating circuit
US5307454A (en) Apparatus for extracting local image from original image
KR930010022B1 (en) All processing circuit for binary picture signal
JP2558701B2 (en) Data transfer device
JPH0411283A (en) Patter converting device
JPS58114176A (en) Pattern recognizing device
JPS58169681A (en) Picture processing circuit
JPS62203283A (en) Picture processing processor
JPH02273878A (en) Noise eliminating circuit
JPH0514605Y2 (en)
JPS61145689A (en) Area labeling circuit
JP2561521B2 (en) Spoke register generation circuit
JP3061830B2 (en) Image processing device
JP2846998B2 (en) Semiconductor integrated circuit
JPH0242873A (en) Method and device for processing picture signal
JPH0268672A (en) Address generating part for picture processing processor
JPS6365575A (en) Detecting method for singular point by image processing
JPS62206679A (en) Picture information processor
JPH01263779A (en) Picture frame generating circuit
JPH0850652A (en) Interface device
JPS63126048A (en) Simultaneous writing circuit for plural picture elements
JPH02110679A (en) Image processor
JP2002216128A (en) Logical filter and its control method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071211

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091211

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091211

Year of fee payment: 11