JPH0324672A - Conversion circuit - Google Patents

Conversion circuit

Info

Publication number
JPH0324672A
JPH0324672A JP15852789A JP15852789A JPH0324672A JP H0324672 A JPH0324672 A JP H0324672A JP 15852789 A JP15852789 A JP 15852789A JP 15852789 A JP15852789 A JP 15852789A JP H0324672 A JPH0324672 A JP H0324672A
Authority
JP
Japan
Prior art keywords
register
data
output
input
processing
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
JP15852789A
Other languages
Japanese (ja)
Inventor
Ryohei Kumagai
熊谷 良平
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.)
Ezel Inc
Original Assignee
Ezel Inc
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 Ezel Inc filed Critical Ezel Inc
Priority to JP15852789A priority Critical patent/JPH0324672A/en
Publication of JPH0324672A publication Critical patent/JPH0324672A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To make it possible to apply the conversion circuit to wide video processing by connecting the output of a register to a light operation part and returning the output of the light operation part to the register at a prescribed timing. CONSTITUTION:A conversion part 30 connects the light operation part 32 to the branch of the output of the register 30 and returns the output of the light operation part 32 to the input side of the register 31. A selector 3 is connected to the input of the register 31 and the output of the light operation part 32 is inputted to the selector 33. Data D1 are inputted to the address input of the register 31. The selector 33 alternatively leads the output of the light operation part 32 and data D2. Since the data through the light operation part 32 are returned to the input side of the register 32, various processing such as the repeat of the same arithmetic processing and the integration, gradual reduction and sequential comparison of data can be attained. In addition, the circuit can be also used as a table for applying an address to the register 31 by the data D1 and reading out data stored in the address.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は変換回路に係り、特にデジタル映像処理シス
テムにおけるリアルタイムの映像処理・表示やリアルタ
イムの画像解析等に有効な変換回路に関する. 〔従来の技術〕 従来、例えば、入力画像から抽出された特徴によりその
画像を認識する画像処理システム等において、処理結果
の精巧さ、再現性、定量性および処理の多様さの理由に
より、デジタル処理系がしばしば用いられる.このデジ
タル処理系では、映像を画素の集合として取り扱う必要
があり、画素に関する演算は膨大なものとなる.例えば
512X512ii!素、RGB各8ビットの画素につ
いて粒度分布の測定を行うためには、処理速度20Mr
PS程度の超大型コンピュータを用いて計算したとして
も数秒の処理時間が必要であり、リアルタイム処理には
十分な速さではない。そこで、画像処理のための専用I
Cにより映像処理の高速化が図られたものもあるが、こ
の専用ICの用途は極めて狭く、広範囲の映像処理には
通用できない.したがってこれらの専用ICを用いて映
像処理システムを構築した場合、用途が限定されるため
、一般にコストパーフォーマンスの低いものとなる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a conversion circuit, and particularly to a conversion circuit that is effective for real-time video processing and display, real-time image analysis, etc. in a digital video processing system. [Prior Art] Conventionally, for example, in image processing systems that recognize images based on features extracted from input images, digital processing has been used due to the sophistication, reproducibility, and quantitative nature of processing results, and the variety of processing. systems are often used. In this digital processing system, it is necessary to treat images as a collection of pixels, and the calculations related to pixels are enormous. For example, 512X512ii! In order to measure the particle size distribution for each 8-bit RGB pixel, the processing speed is 20 Mr.
Even if the calculation is performed using an ultra-large computer such as a PS, a processing time of several seconds is required, which is not fast enough for real-time processing. Therefore, a dedicated I for image processing
Although video processing has been made faster using C, the purpose of this dedicated IC is extremely narrow and cannot be used for a wide range of video processing. Therefore, when a video processing system is constructed using these dedicated ICs, the applications are limited and the cost performance is generally low.

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

本発明は、このような従来の問題点を解消すべく創案さ
れ,たもので、広範な映像処理に適用でき、汎用超大型
コンピュータより高速の処理が可能で、なおかつコスト
パフォーマンスの高い映像処理システムを構築するため
の変換回路を提供することを目的とする。
The present invention was devised to solve these conventional problems, and provides a video processing system that can be applied to a wide range of video processing, is capable of faster processing than a general-purpose ultra-large computer, and has high cost performance. The purpose is to provide a conversion circuit for constructing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係る変換回路は、レジスタと、このレジスタに
データを入力する手段と、上記レジスタの出力ボートに
接続された軽演算部と、この軽演算部の出力を所定のタ
イミングで上記レジスタへ戻す手段とを備えたことを備
えたことを特徴としている. 〔実施例〕 以下図示実施例に基づいて本発明を説明する.第2図に
おいて、映像処理システムは画素データが入力される入
力部lOを有し、画素データはこの入力部lOから、順
次演算部20、変換部30において処理される.演算部
20においては、数値演算あるいは状態演算等の演算処
理が行われ、変換部30においては、最終的な処理映像
や特徴量を求める後処理が行われる. 第3図に示すように、画素データP▲jは一般に1スキ
ャンラインごとに順次配列されている.画像処理におい
ては一般に、第4図に示すように例えば3×3の画素デ
ータP(1−1>+ (j−1>、Pi,。
The conversion circuit according to the present invention includes a register, means for inputting data into the register, a light arithmetic unit connected to an output port of the register, and an output of the light arithmetic unit that returns the output to the register at a predetermined timing. It is characterized by having the means. [Example] The present invention will be explained below based on the illustrated example. In FIG. 2, the video processing system has an input section 10 into which pixel data is input, and the pixel data is sequentially processed in a calculation section 20 and a conversion section 30 from this input section 1O. In the calculation unit 20, calculation processing such as numerical calculation or state calculation is performed, and in the conversion unit 30, post-processing to obtain the final processed image and feature amount is performed. As shown in FIG. 3, pixel data P▲j is generally arranged sequentially for each scan line. In image processing, generally, as shown in FIG. 4, for example, 3×3 pixel data P(1-1>+ (j-1>, Pi,.

1〉、P (+..+ (j−11、P (i−1++
js  P i.J..P (Is11+ is  P
 (!−11.(j+1>、Pi+(j*1)、P (
iol)+ (j*1,に対して種々の処理が施される
。なお、この処理領域の大きさを2×2に設定し、ある
いはより大きな領域に設定し、さらには正方形以外の形
状の領域としてもよい。通常はこのような3×3その他
の領域を保持するための近傍処理が必要であるが、本実
施例ではこの近傍処理部を省略している. 画素データは演算部20に入力され、ここで映像処理に
必要なパラメータが算出される。例えば平均濃度はこの
ようなパラメータのlっであり、この演算部20におい
て求めることができる。
1〉, P (+..+ (j-11, P (i-1++
js P i. J. .. P (Is11+ is P
(!-11.(j+1>, Pi+(j*1), P (
iol) + (j*1, is subjected to various processing.The size of this processing area is set to 2 x 2, or a larger area, and even a shape other than a square is set. It may also be a region.Normally, neighborhood processing is required to maintain such 3×3 and other regions, but in this embodiment, this neighborhood processing section is omitted.The pixel data is sent to the calculation section 20. The parameters necessary for image processing are calculated here.For example, the average density is one of these parameters, and can be calculated in the calculation section 20.

演算部20は第5図に示すように、状態演算部21およ
び数値演算部22を備える。状熊演算部2!では、連結
数、その画素が処理の対象であるか否かの指標、オイラ
ー数を求めるためのパラメータT,F,D,E、処理画
像とその近傍の状態を表すコンバレート信号、およびそ
の他が算出される。一方、数値演算部11では、濃度平
均、1次微分、2次微分、フィルタ処理、およびその他
の処理が行われる.これらの演算部2l、22の処理は
ハードウェア的なパイプライン処理により高速化される
As shown in FIG. 5, the calculation section 20 includes a state calculation section 21 and a numerical calculation section 22. Condition bear calculation part 2! Then, the number of connections, an index of whether the pixel is a processing target, parameters T, F, D, and E for determining the Euler number, a convergence signal representing the state of the processed image and its vicinity, and others are calculated. be done. On the other hand, the numerical calculation unit 11 performs concentration averaging, first-order differentiation, second-order differentiation, filter processing, and other processing. The processing of these arithmetic units 2l and 22 is sped up by hardware-based pipeline processing.

第6図は演算部20の構成を示し、この図において演算
部20が詳細に示されているが、状態演算部2lは省略
されている. 演算部20には、メモリ41、42、43のいずれかに
格納された画像データがマルチプレクサ(MUX)49
により選択されて入力される。各メモリ41 42、4
3はマルチプレクサ49に接続されるとともに、バッフ
ァ51,52、53を介して演算部20の統合部28に
接続される。
FIG. 6 shows the configuration of the calculation section 20. Although the calculation section 20 is shown in detail in this figure, the state calculation section 2l is omitted. In the arithmetic unit 20, image data stored in one of the memories 41, 42, and 43 is transferred to a multiplexer (MUX) 49.
is selected and input. Each memory 41 42, 4
3 is connected to the multiplexer 49 and also to the integration unit 28 of the calculation unit 20 via buffers 51, 52, and 53.

すなわち、メモリ41、42、43のひとつは入力画像
を格納しており、その他のメモリは、バッファ51、5
2、53を介して演算部20の処理結果を記憶する。
That is, one of the memories 41, 42, 43 stores the input image, and the other memories store the input image.
2 and 53, the processing results of the calculation unit 20 are stored.

演算部20は、直列に接続された3つのフリップフロッ
プ23、24、25と、乗算部26と、セレクタ27と
を備える。第1のフリップフロップ23は、第3図に示
すように1スキャンラインに沿った画素データPjj@
lクロック信号毎に入力され、これを1クロック分遅延
させて第2のフリップフロップ24と乗算部26に出力
する.第2のフリンプフロップ24は第1の7リップフ
ロップ23から入力された画素データを、さらにlクロ
ック分遅延させて第3のフリップフロツプ25と乗算部
26に出力する。第3のフリップフロップ25は第2の
フリップフロツプ24から入力された画素データを、さ
らにlクロック分遅延させて乗算部26に出力する。し
たがって、乗算部26には、3つの連続した画素データ
が同時に入力されることとなる。
The calculation section 20 includes three flip-flops 23, 24, and 25 connected in series, a multiplication section 26, and a selector 27. The first flip-flop 23 stores pixel data Pjj@ along one scan line as shown in FIG.
It is input every l clock signal, is delayed by one clock, and is output to the second flip-flop 24 and the multiplier 26. The second flip-flop 24 delays the pixel data inputted from the first seven flip-flops 23 by l clocks and outputs the delayed pixel data to the third flip-flop 25 and the multiplier 26 . The third flip-flop 25 outputs the pixel data input from the second flip-flop 24 to the multiplier 26 after further delaying it by l clocks. Therefore, three consecutive pixel data are input to the multiplier 26 at the same time.

乗算部26は、各画素データにそれぞれ通当な数値を乗
じ、その演算結果をセレクタ27の各入力端子に出力す
る。セレクタ27は各入力端子に入力された乗算結果を
任意の出力端子に導き、あるいは任意の複数の出力端子
に分配する。統合部28は、セレクタ27から導かれた
演算結果のデータを、加減算その他の演算を施しつつ統
合する.この統合部28内の演算は階層的に行われ、各
階層において同時に異なる演算が行われて次段に渡され
るパイプライン処理となっており、これにより、演算回
路全体として演算速度が向上せしめられる。
The multiplier 26 multiplies each pixel data by a proper numerical value, and outputs the calculation result to each input terminal of the selector 27. The selector 27 guides the multiplication results input to each input terminal to an arbitrary output terminal or distributes them to a plurality of arbitrary output terminals. The integrating unit 28 integrates the data of the operation results derived from the selector 27 while performing addition, subtraction, and other operations. The calculations within this integration unit 28 are performed hierarchically, and different calculations are performed simultaneously in each layer and passed to the next stage in a pipeline process, which improves the calculation speed of the entire calculation circuit. .

さて、演算部20における演算内容の一例として、エッ
ジを強調する手法のひとつであるSobelオペレータ
をy方向について求める演算方法を説明する。このSo
belオペレータは、第4図の3×3コンポリューショ
ンにおいて、Δyfij =P  (i−1)+  +i−+++2  Pt+ 
 t=−n+P  (▲+l1+  (j−1)( P
 (i−1)+ (j*11 +2 P t+ (j4
11 + P li’l)+ (j41+ )を演算す
ることにより求められる。
Now, as an example of the calculation content in the calculation unit 20, a calculation method for obtaining a Sobel operator in the y direction, which is one of the methods for emphasizing edges, will be described. This So
The bel operator calculates Δyfij =P (i-1)+ +i-+++2 Pt+ in the 3x3 convolution in Figure 4.
t=-n+P (▲+l1+ (j-1)( P
(i-1)+ (j*11 +2 P t+ (j4
11 + P li'l) + (j41+).

メモリ4lに格納された画素データは、順次読み出され
・画素データP(i−1>・(j−目・P▲+(j−直
)・P (!*+1.(j−1)がそれぞれフリップフ
ロップ25、24、23から乗算部26に同時に転送さ
れ、それぞれl、2、lが乗じられる。そして統合部2
8において P (r−+h(=−u + 2 P t・lj− 1
1 + P (i・−++ +j−11が演算され、こ
れはメモリ42のP i+ (j−11に格納される。
The pixel data stored in the memory 4l is read out sequentially, and the pixel data P(i-1>(j-th), P▲+(j-direct), P(!*+1.(j-1) They are simultaneously transferred from the flip-flops 25, 24, and 23 to the multiplication unit 26, and multiplied by l, 2, and l, respectively.Then, the integration unit 2
8, P (r-+h(=-u + 2 P t・lj- 1
1 + P (i·-++ +j-11 is calculated, and this is stored in P i+ (j-11) of the memory 42.

同様にして、メモリ41から画素データP (i−11
+ +jl)s P i+ (jugs P (i+l
)+ +j+I)が読み込まれ、演算部20においてそ
れぞれ(−1)、(−2)、(−■)が乗じられ、その
和がメモリ42のP i+ (j+l)に格納される。
Similarly, pixel data P (i-11
+ +jl)s P i+ (jugs P (i+l
)+ +j+I) are read, multiplied by (-1), (-2), and (-■), respectively, in the arithmetic unit 20, and the sum is stored in P i+ (j+l) of the memory 42.

 このような処理が1画面(512X512画素)につ
いて行われる。なおメモリ42へのデータの格納の際、
画素データPijは第3図とは異なり、縦方向に並べ替
えられて配列される。
Such processing is performed for one screen (512×512 pixels). Note that when storing data in the memory 42,
Unlike FIG. 3, the pixel data Pij is rearranged and arranged in the vertical direction.

次いでメモリ42から読み出されたデータのうちデータ
PL.(j−11、P i1j+llがそれぞれフリッ
プフロップ25、23から乗算部26を経て統合部28
へ転送されると、これらの和が求められ、これによりそ
の3×3コンポリューションにおけるSobelオペレ
ータΔyf!jが求められる。
Next, among the data read out from the memory 42, data PL. (j-11 and P i1j+ll are respectively transmitted from the flip-flops 25 and 23 to the integrating unit 28 via the multiplier 26
Once transferred to , these are summed, which gives the Sobel operator Δyf! in its 3×3 convolution. j is required.

この処理結果はメモリ43のPi, (j−11に格納
され、このような処理が1画面おいて全ての画素データ
に対して施される。
The results of this processing are stored in Pi, (j-11) of the memory 43, and such processing is applied to all pixel data in one screen.

平滑化あるいは微分等の、その他の演算処理も全く同様
にして行われる。
Other arithmetic operations such as smoothing or differentiation are performed in exactly the same manner.

このような演算部20における演算結果はメモリ41、
42、43のうちのいずれかに格納され、次いで変換部
30(第2図)に入力されて、最終的な映像処理が行わ
れ、あるいは特l!l[tが求められる。
The calculation results in the calculation unit 20 are stored in the memory 41,
42, 43, and then input to the converter 30 (FIG. 2) for final video processing, or for special video processing. l[t is found.

第1図は、本発明に係る変換回路すなわち変換部30の
一実施例の概略構成を示すものである。
FIG. 1 shows a schematic configuration of an embodiment of a conversion circuit, that is, a conversion section 30 according to the present invention.

この図において変換部30は、レジスタ3lの出力の分
岐に軽演算部32を接続し、この軽演算部32の出力を
レジスタ31の人力側に戻している.レジスタ31の入
力にはセレクタ33が接続され、軽演算部32の出力は
このセレクタ33に人力される.レジスタ3lのアドレ
ス入力にはデータD1が入力され、レジスタ3lのデー
タ入力にはセレクタ33の出力端子が接続される。セレ
クタ33には、軽演算部32の出力と並列にデータD2
が入力され、セレクタ33は、軽演算部32の出力また
はデータD2を択一的にレジスタ31に導く。
In this figure, the converter 30 connects a light arithmetic unit 32 to the branch of the output of the register 3l, and returns the output of the light arithmetic unit 32 to the manual input side of the register 31. A selector 33 is connected to the input of the register 31, and the output of the light arithmetic unit 32 is inputted to this selector 33. Data D1 is input to the address input of the register 3l, and the output terminal of the selector 33 is connected to the data input of the register 3l. The selector 33 receives data D2 in parallel with the output of the light arithmetic unit 32.
is input, and the selector 33 selectively guides the output of the light arithmetic unit 32 or the data D2 to the register 31.

軽演算部32を経たデータをレジスタ31の人力側に戻
すことにより、一つのデータに同一の演算処理を繰り返
し施したり、一連のデータ群に同一処理を施してからレ
ジスタ31内に順次格納したりすることも可能となり、
またデータの積算、データの漸減、データの逐次比較な
ど極めて多様な処理が可能となる。また、レジスタ31
にデータDIによりアドレスを与えて、そのアドレスに
格納されたデータを読み出す、テーブルとしての使用も
可能である。
By returning the data that has passed through the light arithmetic unit 32 to the manual side of the register 31, it is possible to repeatedly perform the same arithmetic processing on one piece of data, or to perform the same processing on a series of data groups and then sequentially store them in the register 31. It is also possible to
In addition, extremely diverse processing such as data integration, data gradual reduction, and data successive comparison becomes possible. Also, register 31
It is also possible to use it as a table by giving an address to the table using data DI and reading out the data stored at that address.

軽演算部32としては、例えば加算器を採用することが
できる。この場合、軽演算部32すなわち加算器にはレ
ジスタ31の出力の他にデータD3が入力され、さらに
レジスタ31には、CS(チップセレクト)あるいはW
E(ライトイネーブル)の信号Sが入力される. 例えば2値画像やラベル付けされた画像において面積を
計算するとき、画素値をアドレスDIとして指定し、レ
ジスタ3lからそのアドレス内の格納データを出力し、
加算器32でこのデータにD3(ここでは「1」に設定
しておく。)を加えた値をセレクタ33に戻してレジス
タ3lのアドレスD1に再び格納する。これにより、画
像中の各画素値の画素数がカウントされ、各ラベル領域
の面積が求められる。
As the light arithmetic unit 32, for example, an adder can be adopted. In this case, data D3 is input to the light arithmetic unit 32, that is, the adder, in addition to the output of the register 31, and the register 31 also receives CS (chip select) or W
E (write enable) signal S is input. For example, when calculating the area in a binary image or a labeled image, specify the pixel value as the address DI, output the data stored in that address from the register 3l,
The adder 32 adds D3 (here set to "1") to this data and returns the value to the selector 33 and stores it again at address D1 of the register 3l. As a result, the number of pixels of each pixel value in the image is counted, and the area of each label area is determined.

第7図は、レジスタ3lの構或を詳細に示すものである
FIG. 7 shows the structure of the register 3l in detail.

本実施例においてレジスタ3lは、例えばIKの16ビ
ットのデータを保持することができるように構威されて
いる。すなわち、マルチプレクサ35と1000個のフ
リップフロップ36とセレクタ37とから成る回路34
により、1ビットのデータが処理され、このような回路
34が16個並列に設けられる. セレクタ37はアドレス信号D1で指定されたフリップ
フロップ36のみにクロック信号CKを人力し、マルチ
ブレクサ35はアドレス信号D.で指定されたフリップ
フロップ36のみの出力デ一タ(Q)をデータDoとし
て通過させる。フリップフロップ36はクロック信号C
Kが入力されることによって入力データDIを保持し、
保持したデータを出力データ(Q)として出力する.こ
れによってIKのアドレスを任意に指定して、l6ビッ
トのデータを書込み、読出しし得ることになる. 書込みモードと読出しモードの切換は、例えば、クロッ
ク信号CKをセレクタ37へ入力するか否かの選択によ
って行うことができ、第8図の回路を使用し得る.通常
書込み、続出しの切換にはライトイネープル信号WTが
使用されるが、このライトイネーブル信号WTとクロッ
ク信号CKとをアンドゲート7lに人力する.ここにW
Iはローアサートであるので、反転してアンドゲート7
lに入力されている。W1がローレベルとなったとき、
アンドニゲート71はCKを通過させるようになり、通
過したCKはセレクタ37に人力される.第7図のレジ
スタ3lは入力ボートと出力ポートとが別々に設けられ
た例であったが、レジスタ31が単一の入出力ボートを
有する場合には、例えば第8図に示すような、入出力ポ
ートの切替えのための回路が設けられる.この切換えに
ついても前述のライトイネーブル信号nが使用される。
In this embodiment, the register 3l is configured to be able to hold, for example, 16 bits of IK data. That is, a circuit 34 consisting of a multiplexer 35, 1000 flip-flops 36, and a selector 37
1-bit data is processed, and 16 such circuits 34 are provided in parallel. The selector 37 applies the clock signal CK only to the flip-flop 36 specified by the address signal D1, and the multiplexer 35 applies the clock signal CK to only the flip-flop 36 specified by the address signal D1. The output data (Q) of only the flip-flop 36 designated by is passed as data Do. Flip-flop 36 receives clock signal C
The input data DI is held by inputting K,
Output the retained data as output data (Q). This makes it possible to write and read 16-bit data by arbitrarily specifying the IK address. Switching between the write mode and the read mode can be performed, for example, by selecting whether or not to input the clock signal CK to the selector 37, and the circuit shown in FIG. 8 can be used. A write enable signal WT is used for switching between normal writing and continuous writing, but this write enable signal WT and a clock signal CK are manually input to the AND gate 7l. W here
I is low asserted, so invert and gate 7
It is input to l. When W1 becomes low level,
The ANDONI gate 71 now allows the CK to pass through, and the passed CK is manually input to the selector 37. The register 3l in FIG. 7 was an example in which an input port and an output port were provided separately, but if the register 31 has a single input/output port, an input port as shown in FIG. A circuit is provided for switching output ports. The aforementioned write enable signal n is also used for this switching.

ライトイネーブル信号W1は出力ライン72に設けられ
たバッファ73に反転して入力され、また入力ライン7
4に設けられたバッファ75にそのまま人力される。す
なわち、ライトイネーブル信号W下がrLOWJの時、
バッファ73がハイインピーダンスとなって、データD
はデータDIとしてバッツァ75を通過することができ
るようになり、これにより、レジスタに対するデータ人
力が行われる。これに対し、ライトイネープル信号W”
llmがrHIGHJの時、バッファ75がハイインピ
ーダンスとなって、データDOはバッファ73を通過し
て出力データDとでる.これにより、レジスタからのデ
ータ出力が行われる。しかして、入出力ポートの切替え
が行われ、データ入力およびデータ出力が選択的に行わ
れる。
The write enable signal W1 is inverted and input to the buffer 73 provided on the output line 72, and
The data is directly input manually to the buffer 75 provided in 4. That is, when the lower write enable signal W is rLOWJ,
The buffer 73 becomes high impedance and the data D
can now pass through Bazza 75 as data DI, thereby performing data input to the register. In contrast, the write enable signal W”
When llm is rHIGHJ, the buffer 75 becomes high impedance, and the data DO passes through the buffer 73 and comes out as output data D. This causes data to be output from the register. Thus, the input/output ports are switched, and data input and data output are selectively performed.

なお、変換部30の軽演算の内容としては、加減算、最
大および最小値抽出の他、絶対値などの数値演算や、比
較、AND,OR,NAND,NORSEX−OR,E
X−NOHなどの論理演算を自由に選択、採用し得る。
The light operations of the converter 30 include addition, subtraction, maximum and minimum value extraction, numerical operations such as absolute values, comparison, AND, OR, NAND, NORSEX-OR, E
Logical operations such as X-NOH can be freely selected and adopted.

また、変換部30はレジスタ31を備えているので、い
わゆるカラーコードからRGB値を参照するようなデー
タ参照のためのルックアップテーブルとして、あるいは
、画像のラベリングなどに際しては、ラベリング情報を
高速格納するキャッシュメモリとして適用し得ることは
いうまでもない。
Furthermore, since the converter 30 is equipped with a register 31, it can be used as a lookup table for data reference such as referring to RGB values from a so-called color code, or when labeling an image, it can store labeling information at high speed. Needless to say, it can be applied as a cache memory.

第9図は、映像処理システムの他の例を示すものである
。この実施例では、人力部として、複数の入力部lOと
画像メモリ40とをセレクタ6lにより選択可能とし、
さらに、出力部として、複数の出力部62と画像メモリ
40とを分配器63により選択可能としている。入力部
lOとしては、例えばVTRカメラ、スキャナ、ビデオ
デッキ、レーザディスク装置、CD−ROM,光ディス
ク、ハードディスク、通信1/F、および画像メモリな
どがある。一方出力部としては、入力部として挙げたも
ののうちデータ受入れの可能なもの、および画像メモリ
などがある。
FIG. 9 shows another example of the video processing system. In this embodiment, a plurality of input units IO and image memory 40 can be selected by a selector 6l as a human power unit,
Furthermore, a plurality of output sections 62 and the image memory 40 can be selected by a distributor 63 as output sections. Examples of the input unit 10 include a VTR camera, scanner, video deck, laser disk device, CD-ROM, optical disk, hard disk, communication 1/F, and image memory. On the other hand, the output section includes those listed as the input section that can accept data, and an image memory.

さらにこの実施例では、演算部20、変換部301セレ
クタ61分配器63、分配器63および画像メモリ40
にコントローラ64を接続し、コントローラ64により
その設定、制御を行っている.全体の制御、およびコン
トローラ64の設定、制御はMPU65により行われる
。また、映像処理のうちの複雑な演算はMPU65によ
り行われる。これは、演算部20や変換部30の負荷を
あまりに高め過ぎると演算速度が著しく低下し、処理分
担は、処理内容に応じて最適化すべきだからである。
Furthermore, in this embodiment, the calculation unit 20, the conversion unit 301, the selector 61, the distributor 63, the distributor 63, and the image memory 40
A controller 64 is connected to the controller 64, and settings and control are performed by the controller 64. Overall control and setting and control of the controller 64 are performed by the MPU 65. Further, complicated calculations in video processing are performed by the MPU 65. This is because if the load on the calculation section 20 or the conversion section 30 is too high, the calculation speed will drop significantly, and the processing allocation should be optimized depending on the processing content.

なお、第2図および第9図の映像処理システムにおいて
、3×3の画素データ(第4図)の近傍処理は演算部2
0により行われていたが、これに代え、3×3の画素デ
ータを同時に出力する近傍処理部を設けてもよい. また、上記各実施例において演算部20は画素データを
処理するとして説明したが、画素データに限定されるも
のではなく、本発明は全てのデジタルデータの処理シス
テムに適用することができる。
In the video processing systems shown in FIGS. 2 and 9, neighborhood processing of 3×3 pixel data (FIG. 4) is performed by the calculation unit 2.
0, but instead of this, a neighborhood processing section that outputs 3x3 pixel data simultaneously may be provided. Further, in each of the above embodiments, the calculation unit 20 has been described as processing pixel data, but is not limited to pixel data, and the present invention can be applied to all digital data processing systems.

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

以上のように本発明によれば、広範な映像処理に適用で
き、汎用超大型コンピュータより高速の処理が可能で、
なおかつコストパフォーマンスの高い映像処理システム
を構築するための変換回路を得ることができる.
As described above, the present invention can be applied to a wide range of video processing, and can perform processing faster than general-purpose ultra-large computers.
Furthermore, it is possible to obtain a conversion circuit for constructing a video processing system with high cost performance.

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

第1図は本発明に係る変換回路の一実施例を示すブロッ
ク図、 第2図は映像処理システムの一例を示すブロック図、 第3図は画素データの配列を示す概念図、第4図は3×
3の画素データの配列を示す概念図、 第5図は演算部の概念を示すブロック図、第6図は演算
部の一例を示すブロック図、第7図はレジスタを示す回
路図、 第8図はレジスタの入出力ボートの切替え回路を示す図
、 第9図は映像処理システムの他の例を示すブロック図で
ある. 30・・・変換部 31・・・レジスタ 32・・・軽演算部
FIG. 1 is a block diagram showing an embodiment of a conversion circuit according to the present invention, FIG. 2 is a block diagram showing an example of a video processing system, FIG. 3 is a conceptual diagram showing an arrangement of pixel data, and FIG. 4 is a block diagram showing an example of a video processing system. 3×
3 is a conceptual diagram showing the arrangement of pixel data, FIG. 5 is a block diagram showing the concept of the calculation section, FIG. 6 is a block diagram showing an example of the calculation section, FIG. 7 is a circuit diagram showing the register, and FIG. 8 9 is a diagram showing a register input/output port switching circuit, and FIG. 9 is a block diagram showing another example of the video processing system. 30... Conversion unit 31... Register 32... Light operation unit

Claims (1)

【特許請求の範囲】[Claims] (1)レジスタと、このレジスタにデータを入力する手
段と、上記レジスタの出力ポートに接続された軽演算部
と、この軽演算部の出力を所定のタイミングで上記レジ
スタへ戻す手段とを備えたことを特徴とする変換回路。
(1) A register, a means for inputting data into the register, a light arithmetic unit connected to an output port of the register, and a means for returning the output of the light arithmetic unit to the register at a predetermined timing. A conversion circuit characterized by:
JP15852789A 1989-06-21 1989-06-21 Conversion circuit Pending JPH0324672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15852789A JPH0324672A (en) 1989-06-21 1989-06-21 Conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15852789A JPH0324672A (en) 1989-06-21 1989-06-21 Conversion circuit

Publications (1)

Publication Number Publication Date
JPH0324672A true JPH0324672A (en) 1991-02-01

Family

ID=15673684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15852789A Pending JPH0324672A (en) 1989-06-21 1989-06-21 Conversion circuit

Country Status (1)

Country Link
JP (1) JPH0324672A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6318439A (en) * 1986-07-11 1988-01-26 Hitachi Ltd Information processor
JPH01119872A (en) * 1987-11-02 1989-05-11 Iizeru:Kk Conversion circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6318439A (en) * 1986-07-11 1988-01-26 Hitachi Ltd Information processor
JPH01119872A (en) * 1987-11-02 1989-05-11 Iizeru:Kk Conversion circuit

Similar Documents

Publication Publication Date Title
US10210419B2 (en) Convolution operation apparatus
JP5376920B2 (en) Convolution operation circuit, hierarchical convolution operation circuit, and object recognition device
US4606065A (en) Image processing-system
US5151953A (en) Single chip 2-D convolver
JPH10304184A (en) Image processor and image processing method
US5949920A (en) Reconfigurable convolver circuit
US20120327260A1 (en) Parallel operation histogramming device and microcomputer
JPH0310380A (en) Image converting circuit
JPH0324672A (en) Conversion circuit
KR102405470B1 (en) Ultra-fast parallel computation method for integrated image based image segmentation and its media recording readable with computers thereof
JPH0320880A (en) Conversion circuit
JPH01288974A (en) Picture processing method
JP2806436B2 (en) Arithmetic circuit
JPH0314185A (en) Converting circuit
GB2129589A (en) Array processor cell
JPH0311473A (en) Video processing system
JP2893350B2 (en) Data processing device, image processing device, shift register circuit, lookup table circuit, arithmetic circuit, image processing system
Furuta et al. An Efficient Implementation of FPGA-based Object Detection Using Multi-scale Attention
JP3834869B2 (en) Parallel processor
JP2610817B2 (en) Address generator
Waltz et al. Putting Automated Visual Inspection Systems To Work On The Factory Floor: What's Missing?
US5276778A (en) Image processing system
Lougheed Application of parallel processing for automatic inspection of printed circuits
JP2852050B2 (en) Image processing device
EP0321584A1 (en) System for calculating sum of products