JP3202846B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3202846B2
JP3202846B2 JP24490893A JP24490893A JP3202846B2 JP 3202846 B2 JP3202846 B2 JP 3202846B2 JP 24490893 A JP24490893 A JP 24490893A JP 24490893 A JP24490893 A JP 24490893A JP 3202846 B2 JP3202846 B2 JP 3202846B2
Authority
JP
Japan
Prior art keywords
image processing
circuit
output signal
result
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP24490893A
Other languages
Japanese (ja)
Other versions
JPH07105357A (en
Inventor
陽一 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP24490893A priority Critical patent/JP3202846B2/en
Publication of JPH07105357A publication Critical patent/JPH07105357A/en
Application granted granted Critical
Publication of JP3202846B2 publication Critical patent/JP3202846B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、テレビジョン信号やビ
デオ信号に放送等に使用される画像処理装置、特にその
全体構成及び画像処理演算回路の構成に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus used for broadcasting television signals and video signals and the like, and more particularly to an overall structure of the apparatus and an image processing circuit.

【0002】[0002]

【従来の技術】画像処理で多く用いられる演算は、積和
演算である。又、動画像処理では、2つのフレーム(フ
レームとは、映像信号の垂直同期信号の間に含まれる1
区間をいう)間のデータを比較し、その結果に対する積
和演算を行うことが多い。例えば、フレーム間差分値に
対する周波数スペクトル算出に用いられる離散コサイン
変換(DCT)において積和演算が行われる。
2. Description of the Related Art An operation often used in image processing is a product-sum operation. Further, in the moving image processing, two frames (a frame is one frame included between vertical synchronizing signals of a video signal).
In many cases, data between the sections is compared, and a product-sum operation is performed on the result. For example, a product-sum operation is performed in a discrete cosine transform (DCT) used for calculating a frequency spectrum with respect to an inter-frame difference value.

【0003】従来、このような分野の技術としては、例
えば、次のような文献に記載されるものがあった。 文献;特開平4−252385号公報 前記文献には、画像処理で必要とされる演算を、1本の
パイプラインで高速に行うための画像処理装置が記載さ
れている。
Conventionally, as a technique in such a field, there is a technique described in the following document, for example. Document: Japanese Patent Application Laid-Open No. 4-252385 The above document describes an image processing apparatus for performing high-speed operations required for image processing with one pipeline.

【0004】図2は、前記文献に記載された従来の画像
処理装置の一構成例を示す概略のブロック図である。こ
の画像処理装置は、1個の画像処理演算回路を備え、そ
の画像処理演算回路が前段演算器1、セレクタ2、レジ
スタ3、レジスタ4、乗算器5、レジスタ6、加算器7
及びレジスタ8で構成されている。前段演算器1は、加
算器、減算器及び絶対値回路からなり、第1の画像デー
タIN1及び第2の画像データIN2を入力して、例え
ば、差分やその絶対値等の演算を行う回路である。セレ
クタ2は、第2の画像データIN2と前段演算器1の出
力信号とのいずれか一方を選択して出力する回路であ
る。前段演算器1に接続されているレジスタ3は、前段
演算器1の出力信号を格納する回路である。セレクタ2
に接続されているレジスタ4は、セレクタ2の出力信号
を格納する回路である。レジスタ3及びレジスタ4には
乗算器5が接続されている。乗算器5は、レジスタ3及
びレジスタ4の出力信号を入力して乗算を行う回路であ
る。乗算器5はレジスタ6に接続されている。レジスタ
6は、乗算器5の出力信号を格納する回路である。レジ
スタ6に接続されている加算器7は、レジスタ6の出力
信号と出力信号OUT1との加算を行う回路である。加
算器7に接続されているレジスタ8は、加算器7の出力
信号を格納し、出力信号OUT1を出力する回路であ
る。次に、この画像処理装置の動作を説明する。例え
ば、
FIG. 2 is a schematic block diagram showing an example of a configuration of a conventional image processing apparatus described in the above document. This image processing apparatus includes one image processing operation circuit, and the image processing operation circuit includes a pre-stage operation unit 1, a selector 2, a register 3, a register 4, a multiplier 5, a register 6, and an adder 7
And a register 8. The pre-stage arithmetic unit 1 is a circuit that includes an adder, a subtractor, and an absolute value circuit, receives the first image data IN1 and the second image data IN2, and calculates, for example, a difference and its absolute value. is there. The selector 2 is a circuit that selects and outputs one of the second image data IN2 and the output signal of the preceding-stage arithmetic unit 1. The register 3 connected to the preceding stage computing unit 1 is a circuit for storing the output signal of the preceding stage computing unit 1. Selector 2
Is a circuit for storing the output signal of the selector 2. A multiplier 5 is connected to the registers 3 and 4. The multiplier 5 is a circuit that performs multiplication by inputting the output signals of the registers 3 and 4. The multiplier 5 is connected to the register 6. The register 6 is a circuit that stores an output signal of the multiplier 5. The adder 7 connected to the register 6 is a circuit that adds the output signal of the register 6 and the output signal OUT1. The register 8 connected to the adder 7 is a circuit that stores the output signal of the adder 7 and outputs the output signal OUT1. Next, the operation of the image processing apparatus will be described. For example,

【数1】 の演算を行う場合には、第1の画像データIN1及び第
2の画像データIN2が前段演算器1に入力されると、
前段演算器1は、第1の画像データIN1及び第2の画
像データIN2を比較演算し、その出力信号、例えばa
0をセレクタ2及びレジスタ3へ入力する。セレクタ2
は、第2の画像データIN2と前段演算器1の出力信号
とのいずれか一方を選択してレジスタ4へ入力する。乗
算器5は、レジスタ3の出力信号a0及びレジスタ4の
出力信号、例えば、b0の乗算結果a0・b0をレジス
タ6へ入力する。加算器7は、レジスタ6の出力信号a
0・b0及び画像処理装置の出力信号OUT1を加算し
てレジスタ8へ入力する。レジスタ8から出力信号OU
T1(=Σai・bi,i=0,1,2,3・・・)が
出力する。
(Equation 1) When the first image data IN1 and the second image data IN2 are input to the preceding stage arithmetic unit 1,
The pre-stage operation unit 1 performs a comparison operation on the first image data IN1 and the second image data IN2, and outputs an output signal thereof, for example, a
0 is input to the selector 2 and the register 3. Selector 2
Selects one of the second image data IN2 and the output signal of the preceding-stage arithmetic unit 1 and inputs the selected signal to the register 4. The multiplier 5 inputs the output signal a0 of the register 3 and the output signal of the register 4, for example, the multiplication result a0 · b0 of b0 to the register 6. The adder 7 outputs the output signal a of the register 6
0 · b0 and the output signal OUT1 of the image processing apparatus are added and input to the register 8. Output signal OU from register 8
T1 (= Σai · bi, i = 0, 1, 2, 3...) Is output.

【0005】以上のような画像処理装置を用いて、ΣA
(a±b),ΣA|a±b|,Σ(a±b),Σ|a
±b|(但し、Aは係数、a及びbはパラメータ)等
の画像処理で繰り返し行われる演算を、この画像処理演
算回路の演算パラメータをマイクロコンピュータ等を用
いてプログラマブルに切り換えることにより、自在に変
更できる。しかも、1本のパイプライン構成になってい
るので、高速演算を円滑に行うことができる。ところ
が、動画像のようにデータ量が多いものを処理対象とし
た場合、時系列に連続して入力される動画像に対して実
時間で画像処理演算を行うには、前記画像処理演算回路
が一つだけでは処理速度が不足することが多い。そのた
め、複数の画像処理演算回路を同時に動作させて処理速
度を高速化する方法が行われている。図3は、図2に示
す画像処理演算回路を4個使用した場合の従来の他の画
像処理装置の構成例を示すブロック図である。この画像
処理装置は、複数の第1の画像データIN10〜IN1
3及び複数の第2の画像データIN20〜IN23をそ
れぞれ入力して演算処理を行う回路である。画像処理演
算回路10−0〜10−3は、それぞれ結果格納メモリ
11−0〜11−3に接続されている。結果格納メモリ
11−0〜11−3は、画像処理演算回路10−0〜1
0−3の出力信号を入力して記憶するメモリである。各
々の結果格納メモリ11−0〜11−3は、セレクタ1
2−0〜12−3に接続されている。セレクタ12−0
〜12−3は、結果格納メモリ11−0〜11−3の出
力信号を、マイクロコンピュータ等を用いてプログラマ
ブルに選択して、画像処理演算回路10−0〜10−3
へ入力する回路である。
Using the above image processing apparatus, ΔA
(A ± b), ΣA | a ± b |, Σ (a ± b) 2 , Σ | a
± b | 2 (where A is a coefficient, a and b are parameters) and the like, which is repeatedly performed in image processing, can be freely switched by programmably switching the operation parameters of this image processing operation circuit using a microcomputer or the like. Can be changed to In addition, because of the single pipeline configuration, high-speed operations can be performed smoothly. However, when an image having a large amount of data, such as a moving image, is to be processed, the image processing operation circuit is required to perform an image processing operation in real time on a moving image input continuously in a time series. The processing speed is often insufficient with only one. Therefore, a method of operating a plurality of image processing operation circuits simultaneously to increase the processing speed has been performed. FIG. 3 is a block diagram showing a configuration example of another conventional image processing device when four image processing operation circuits shown in FIG. 2 are used. This image processing apparatus includes a plurality of first image data sets IN10 to IN1.
3 and a plurality of second image data IN20 to IN23 to input and perform arithmetic processing. The image processing operation circuits 10-0 to 10-3 are connected to the result storage memories 11-0 to 11-3, respectively. The result storage memories 11-0 to 11-3 store the image processing operation circuits 10-0 to 10-1.
This is a memory for inputting and storing output signals 0-3. Each of the result storage memories 11-0 to 11-3 includes a selector 1
2-0 to 12-3. Selector 12-0
To 12-3, the output signals of the result storage memories 11-0 to 11-3 are programmably selected by using a microcomputer or the like, and the image processing operation circuits 10-0 to 10-3 are selected.
This is a circuit to input to.

【0006】次に、この画像処理装置の動作を説明す
る。複数の第1の画像データIN10〜IN13及び複
数の第2の画像データIN20〜IN23が、それぞれ
画像処理演算回路10−0〜10−3へ入力される。例
えば、画像データを等しい大きさのブロックに分割し、
その分割された異なった領域のブロックの画像データが
同時に入力されるか、或いは異なったラインの画像デー
タが同時に入力される等の方法で行われる。画像処理演
算回路10−0〜10−3内では、所定のパラメータ設
定に対応した画像処理演算が行われる。演算結果は同時
に出力され、結果格納メモリ11−0〜11−3に書き
込まれる。結果格納メモリ11−0〜11−3の出力信
号は、セレクタ12−0〜12−3によりマイクロコン
ピュータ等を用いてプログラマブルに選択され、画像処
理演算回路10−0〜10−3へ入力される。上記動作
を繰り返し行うことにより、画像処理装置を複数個並列
に動作させて処理速度を高速化することができる。
Next, the operation of the image processing apparatus will be described. The plurality of first image data IN10 to IN13 and the plurality of second image data IN20 to IN23 are input to the image processing arithmetic circuits 10-0 to 10-3, respectively. For example, dividing image data into blocks of equal size,
This is performed by a method in which image data of blocks obtained by dividing blocks in different areas are input simultaneously, or image data of different lines are input simultaneously. In the image processing arithmetic circuits 10-0 to 10-3, image processing arithmetic corresponding to predetermined parameter settings is performed. The calculation results are output at the same time and written to the result storage memories 11-0 to 11-3. Output signals of the result storage memories 11-0 to 11-3 are programmably selected by selectors 12-0 to 12-3 using a microcomputer or the like, and input to the image processing operation circuits 10-0 to 10-3. . By repeating the above operation, a plurality of image processing apparatuses can be operated in parallel to increase the processing speed.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、図3の
画像処理装置では、次のような課題があった。画像処理
演算回路10−0〜10−3と結果格納メモリ11−0
〜11−3とは、それぞれ1対1に対応している。その
ため、ある画像処理演算回路の演算結果を他の画像処理
演算回路へ入力して、先の演算とは異なる演算をする場
合、結果格納メモリ11−0〜11−3の出力信号をセ
レクタ12−0〜12−3を介して画像処理演算回路1
0−0〜10−3へ入力する構成にする必要がある。そ
のため、結果格納メモリ11−0〜11−3からセレク
タ12−0〜12−3を介して画像処理演算回路10−
0〜10−3へ至る配線が複雑になる。又、セレクタ1
2−0〜12−3は、マイクロコンピュータ等を用いて
プログラマブルに制御されるので、制御系の配線及びプ
ログラムも複雑になる。本発明は、前記従来技術が持っ
ていた課題として、セレクタ12−0〜12−3の周辺
回路及び制御が複雑になるという点について解決し、セ
レクタ12−0〜12−3の周辺回路及び制御を簡略化
した画像処理装置を提供するものである。
However, the image processing apparatus shown in FIG. 3 has the following problems. Image processing operation circuits 10-0 to 10-3 and result storage memory 11-0
To 11-3 correspond one-to-one. Therefore, when an operation result of a certain image processing operation circuit is input to another image processing operation circuit and an operation different from the previous operation is performed, an output signal of the result storage memories 11-0 to 11-3 is output to the selector 12-. Image processing operation circuit 1 via 0-12-3
It is necessary to adopt a configuration for inputting to 0-0 to 10-3. Therefore, the image processing operation circuit 10- is connected from the result storage memories 11-0 to 11-3 via the selectors 12-0 to 12-3.
The wiring from 0 to 10-3 is complicated. Selector 1
Since 2-0 to 12-3 are programmably controlled using a microcomputer or the like, the wiring and programs of the control system are also complicated. The present invention solves the problem of the prior art that the peripheral circuits and control of the selectors 12-0 to 12-3 are complicated, and solves the problem of the peripheral circuits and control of the selectors 12-0 to 12-3. Is provided.

【0008】[0008]

【課題を解決するための手段】本発明は、前記課題を解
決するために、総合演算結果と複数の第1の画像データ
のいずれか一方をそれぞれ選択する複数個の第1の選択
手段と、複数の第2の画像データの一つと前記第1の選
択手段の出力信号とをそれぞれ入力して積和演算を行
い、その積和演算結果を次段へ順次入力する縦続接続さ
れた複数段の画像処理演算回路と、前記最終段の画像処
理演算回路の積和演算結果を記憶し、その記憶内容を前
記総合演算結果の形で出力して前記複数個の第1の選択
手段へ供給する記憶手段とを備えている。又、前記各画
像処理演算回路は、前記第1の選択手段の出力信号と前
記第2の画像データを乗算する乗算器と、前記乗算器の
乗算結果を累積加算して前記積和演算結果を出力する累
積加算器と、前記累積加算器の出力信号と前記前段の画
像処理演算回路の出力信号とのいずれか一方を選択して
該累積加算器へ入力する第2の選択手段とで構成してい
る。
According to the present invention, in order to solve the above-mentioned problems, a plurality of first selecting means for respectively selecting one of a total operation result and a plurality of first image data, One of the plurality of second image data and the output signal of the first selecting means are respectively input to perform a product-sum operation, and the result of the product-sum operation is sequentially input to the next stage. A memory for storing a product-sum operation result of the image processing operation circuit and the last-stage image processing operation circuit, outputting the stored contents in the form of the total operation result, and supplying the result to the plurality of first selecting means. Means. Further, each of the image processing operation circuits includes a multiplier for multiplying the output signal of the first selecting means and the second image data, and accumulating the multiplication result of the multiplier to obtain the product-sum operation result. An accumulator to be output, and second selecting means for selecting one of the output signal of the accumulator and the output signal of the preceding image processing operation circuit and inputting the selected signal to the accumulator. ing.

【0009】[0009]

【作用】本発明によれば、以上のように画像処理装置を
構成したので、複数個の第1の選択手段が総合演算結果
と複数の第1の画像データのいずれか一方をそれぞれ選
択し、縦続接続された複数段の画像処理演算回路が、複
数の第2の画像データの一つと前記第1の選択手段の出
力信号とをそれぞれ入力して積和演算を行い、その積和
演算結果を次段へ順次入力する。更に記憶手段が前記最
終段の画像処理演算回路の積和演算結果を記憶し、その
記憶内容を前記総合演算結果の形で出力して前記複数個
の第1の選択手段へ供給する。又、前記画像処理演算回
路は、前記第1の選択手段の出力信号と前記第2の画像
データを乗算し、その乗算結果と第2の選択手段の出力
信号とを累積加算して出力する。前記第2の選択手段
は、前記累積加算器の出力信号と前段の画像処理演算回
路の出力信号とのいずれか一方を選択して該累積加算器
へ入力する。従って、前記課題を解決できるのである。
According to the present invention, since the image processing apparatus is configured as described above, the plurality of first selecting means respectively select one of the total operation result and the plurality of first image data, A plurality of stages of cascaded image processing arithmetic circuits respectively input one of the plurality of second image data and the output signal of the first selecting means, perform a product-sum operation, and calculate the product-sum operation result. Input sequentially to the next stage. Further, storage means stores the product-sum operation result of the final stage image processing operation circuit, and outputs the stored content in the form of the total operation result to supply the plurality of first selection means. Further, the image processing operation circuit multiplies the output signal of the first selecting means by the second image data, accumulates the multiplication result and the output signal of the second selecting means, and outputs the result. The second selecting means selects one of the output signal of the accumulator and the output signal of the preceding image processing operation circuit and inputs the selected signal to the accumulator. Therefore, the above problem can be solved.

【0010】[0010]

【実施例】図1は、本発明の実施例を示す画像処理装置
の概略の構成ブロック図である。この画像処理装置は、
総合演算結果S40と複数の第1の画像データIN10
〜IN13のいずれか一方をそれぞれ選択する第1の選
択手段であるセレクタ20−0〜20−3を備えてい
る。セレクタ20−0〜20−3は、画像処理演算回路
30−0〜30−3に接続されている。画像処理演算回
路30−0〜30−3は、セレクタ20−0〜20−3
の出力信号及び複数の第2の画像データIN20〜IN
23をそれぞれ入力して演算処理を行う回路である。
又、画像処理演算回路30−0〜30−3は、演算結果
を次段へ順次入力するように縦続接続されている。結果
格納メモリ40の出力側は、セレクタ20−0〜20−
3に接続されている。結果格納メモリ40は、画像処理
演算回路30−3の出力信号を入力して記憶する回路で
ある。図4は、図1に示す画像処理演算回路30−0〜
30−3の概略の構成ブロック図である。この画像処理
演算回路は、前段演算器31、セレクタ32、レジスタ
33及びレジスタ34を備えている。前段演算器31
は、加算器、減算器、及び絶対値回路からなり、第1の
画像データIN1及び第2の画像データIN2を入力し
て、例えば、差分やその絶対値等の演算を行う回路であ
る。セレクタ32は、第2の画像データIN2と前段演
算器31の出力信号とのいずれか一方を選択して出力す
る回路である。前段演算器31には、レジスタ33が接
続されている。セレクタ32には、レジスタ34が接続
されている。レジスタ33は、前段演算器31の出力信
号を格納する回路である。レジスタ34は、セレクタ3
2の出力信号を格納する回路である。レジスタ33及び
レジスタ34には乗算器35が接続されている。乗算器
35は、レジスタ33及びレジスタ34の出力信号を入
力して乗算を行う回路である。乗算器35はレジスタ3
6に接続されている。レジスタ36は、乗算器35の出
力信号を格納する回路である。加算器37は、レジスタ
36の出力信号とセレクタ39の出力信号との加算を行
う回路である。加算器37はレジスタ38に接続されて
いる。レジスタ38は、加算器37の出力信号を格納
し、出力信号OUT2を出力する回路である。第2の選
択手段であるセレクタ39は、出力信号OUT2と前段
の画像処理演算回路の出力信号IN3とのいずれか一方
を選択して加算器37へ入力する回路である。
FIG. 1 is a schematic block diagram of an image processing apparatus according to an embodiment of the present invention. This image processing device
The total operation result S40 and the plurality of first image data IN10
To IN13, selectors 20-0 to 20-3, which are first selecting means for selecting one of them. The selectors 20-0 to 20-3 are connected to the image processing operation circuits 30-0 to 30-3. The image processing operation circuits 30-0 to 30-3 include selectors 20-0 to 20-3.
Output signals and a plurality of second image data IN20 to IN20
23 is a circuit for performing arithmetic processing by inputting each of them.
The image processing operation circuits 30-0 to 30-3 are cascaded so that the operation results are sequentially input to the next stage. The output side of the result storage memory 40 is connected to the selectors 20-0 to 20-
3 is connected. The result storage memory 40 is a circuit that inputs and stores an output signal of the image processing operation circuit 30-3. FIG. 4 is a block diagram of the image processing operation circuit 30-0 shown in FIG.
It is a schematic block diagram of 30-3. This image processing operation circuit includes a pre-stage operation unit 31, a selector 32, a register 33, and a register 34. Pre-stage arithmetic unit 31
Is a circuit composed of an adder, a subtractor, and an absolute value circuit, which receives the first image data IN1 and the second image data IN2, and performs, for example, a calculation of a difference and its absolute value. The selector 32 is a circuit that selects and outputs one of the second image data IN2 and the output signal of the preceding-stage arithmetic unit 31. A register 33 is connected to the preceding stage arithmetic unit 31. A register 34 is connected to the selector 32. The register 33 is a circuit that stores an output signal of the pre-stage operation unit 31. The register 34 stores the selector 3
2 is a circuit for storing the output signal. A multiplier 35 is connected to the registers 33 and 34. The multiplier 35 is a circuit that receives the output signals of the registers 33 and 34 and performs multiplication. The multiplier 35 is a register 3
6 is connected. The register 36 is a circuit for storing the output signal of the multiplier 35. The adder 37 is a circuit that adds the output signal of the register 36 and the output signal of the selector 39. The adder 37 is connected to the register 38. The register 38 is a circuit that stores the output signal of the adder 37 and outputs the output signal OUT2. The selector 39, which is the second selection means, is a circuit that selects one of the output signal OUT2 and the output signal IN3 of the preceding image processing operation circuit and inputs the selected signal to the adder 37.

【0011】図5は、図1の画像処理装置を使用して行
われるフィルタ処理の手順を示す図である。この図を用
いて図1の画像処理装置による積和演算の処理手順を説
明する。処理演算の一例として、ある1つの画像データ
に対して4次のフィルタ処理を水平方向に行い、その結
果に対して4次のフィルタ処理を垂直方向に行うものを
考える。先ず、水平方向に次のような演算を行う。サイ
クルT0で、セレクタ20−0を介して第1の画像デー
タIN10であるx(0,0)及び第2の画像データI
N20であるaが、画像処理演算回路30−0に入力
される。前段演算器31は、x(0,0)及びaを入
力して演算を行い、セレクタ32及びレジスタ33へ入
力する。セレクタ32は、aと前段演算器31の出力
信号とのいずれか一方を選択して出力する。レジスタ3
3は、前段演算器31の出力信号を格納する。レジスタ
34は、セレクタ32の出力信号を格納する。乗算器3
5は、レジスタ33及びレジスタ34の出力信号を入力
して乗算を行う。レジスタ36は、乗算器35の出力信
号を格納する。加算器37は、レジスタ36の出力信号
とセレクタ39の出力信号との加算を行う。レジスタ3
8は、加算器37の出力信号を格納し、出力信号OUT
2を出力する。出力信号OUT2が次段の画像処理演算
回路30−1に入力される。
FIG. 5 is a diagram showing a procedure of a filtering process performed using the image processing apparatus of FIG. The processing procedure of the product-sum operation by the image processing apparatus of FIG. 1 will be described with reference to FIG. As an example of the processing operation, consider a case in which a fourth-order filtering process is performed on one piece of image data in the horizontal direction, and a fourth-order filtering process is performed on the result in the vertical direction. First, the following calculation is performed in the horizontal direction. In the cycle T0, x (0,0), which is the first image data IN10, and the second image data I via the selector 20-0.
N20 a 0 is is input to the image processing arithmetic circuit 30-0. The pre-stage operation unit 31 performs an operation by inputting x (0,0) and a 0, and inputs the result to the selector 32 and the register 33. The selector 32 selects and outputs either the output signal of a 0 and the previous stage arithmetic unit 31. Register 3
Reference numeral 3 stores the output signal of the preceding-stage arithmetic unit 31. The register 34 stores the output signal of the selector 32. Multiplier 3
5 receives the output signals of the register 33 and the register 34 and performs multiplication. The register 36 stores the output signal of the multiplier 35. The adder 37 adds the output signal of the register 36 and the output signal of the selector 39. Register 3
8 stores the output signal of the adder 37 and outputs the output signal OUT
2 is output. The output signal OUT2 is input to the next stage image processing operation circuit 30-1.

【0012】同様にして、サイクルT1で、セレクタ2
0−1を介して第1の画像データIN11であるx
(1,0)及び第2の画像データIN21であるa
が、画像処理演算回路30−1に入力され、その演算
結果が次段の画像処理演算回路30−2に入力される。
サイクルT2で、セレクタ20−2を介して第1の画像
データIN12であるx(2,0)及び第2の画像デー
タIN22であるaが、画像処理演算回路30−2に
入力され、その演算結果が次段の画像処理演算回路30
−3に入力される。サイクルT3で、セレクタ20−3
を介して第1の画像データIN13であるx(3,0)
及び第2の画像データIN23であるaが、画像処理
演算回路30−3に入力され、その乗算結果と前段の画
像処理演算回路30−2の演算結果とが加算される。サ
イクルT6で画像処理演算回路30−3から次式で示さ
れる演算結果y(0,0)が出力され、結果格納メモリ
40に格納される。
Similarly, in cycle T1, selector 2
X which is the first image data IN11 through 0-1
(1, 0) and a which is the second image data IN21
1 is input to the image processing operation circuit 30-1, and the operation result is input to the next stage image processing operation circuit 30-2.
In cycle T2, a 2 second 1 x (2,0) is image data IN12 and of a second image data IN22 via the selector 20-2 is input to the image processing arithmetic circuit 30-2, the The operation result is the next stage image processing operation circuit 30
-3 is input. In cycle T3, the selector 20-3
X (3,0) which is the first image data IN13 via
And a 2 a 3 is image data IN23 of is inputted to the image processing arithmetic circuit 30-3, a calculation result of the multiplication result and the previous stage of the image processing arithmetic circuit 30-2 is added. In cycle T6, the operation result y (0,0) represented by the following equation is output from the image processing operation circuit 30-3 and stored in the result storage memory 40.

【0013】[0013]

【数2】 但し、a(k=0〜3)は第2の画像データIN20
〜IN23、x(k,0)(k=0〜3)は第1の画像
データIN10〜IN13、y(0,k)(k=0〜
3)は画像処理演算回路30−3の出力信号である。同
様にして、サイクルT7からサイクルT9で画像処理演
算回路30−3から次式で示されるy(0,1),y
(0,2)及びy(0,3)がそれぞれ出力され、結果
格納メモリ40に格納される。
(Equation 2) Here, a k (k = 0 to 3) is the second image data IN20
To IN23, x (k, 0) (k = 0 to 3) are the first image data IN10 to IN13, y (0, k) (k = 0 to
3) is an output signal of the image processing operation circuit 30-3. Similarly, from the cycle T7 to the cycle T9, y (0,1), y expressed by the following equation from the image processing operation circuit 30-3:
(0, 2) and y (0, 3) are output and stored in the result storage memory 40.

【0014】[0014]

【数3】 更に、垂直方向に次のような演算を行う。水平方向の場
合と同様に、サイクルT7で、セレクタ20−0を介し
て結果格納メモリ40に格納されている前記y(0,
0)及び第2の画像データIN20であるbが、画像
処理演算回路30−0に入力され、その演算結果が次段
の画像処理演算回路30−1に入力される。サイクルT
8で、セレクタ20−1を介して結果格納メモリ40に
格納されている前記y(0,1)及び第2の画像データ
IN21であるbが、画像処理演算回路30−1に入
力され、その演算結果が次段の画像処理演算回路30−
2に入力される。サイクルT9で、セレクタ20−2を
介して結果格納メモリ40に格納されている前記y
(0,2)及び第2の画像データIN22であるb
が、画像処理演算回路30−2に入力され、その演算
結果が次段の画像処理演算回路30−3に入力される。
サイクルT10で、セレクタ20−3を介して結果格納
メモリ40に格納されている前記y(0,3)及び第2
の画像データIN23であるbが、画像処理演算回路
30−3に入力され、その演算結果と前段の画像処理演
算回路30−2の演算結果とが加算される。サイクルT
13で、画像処理演算回路30−3から次式で示される
演算結果z(0,0)が出力され、結果格納メモリ40
に格納される。
(Equation 3) Further, the following calculation is performed in the vertical direction. As in the case of the horizontal direction, in the cycle T7, the y (0, 0) stored in the result storage memory 40 via the selector 20-0.
0) and b 0 is the second image data IN20 is input to the image processing arithmetic circuit 30-0, the calculation result is input to the next stage of the image processing arithmetic circuit 30-1. Cycle T
8, b 1 is the y (0, 1) and the second image data stored in the result storage memory 40 through the selector 20-1 IN21 is input to the image processing arithmetic circuit 30-1, The calculation result is output to the next-stage image processing calculation circuit 30-
2 is input. In cycle T9, the y stored in the result storage memory 40 via the selector 20-2.
(0, 2) and b which is the second image data IN22
2 is input to the image processing operation circuit 30-2, and the operation result is input to the next-stage image processing operation circuit 30-3.
In cycle T10, the y (0,3) and the second y (0,3) stored in the result storage memory 40 via the selector 20-3 are output.
B 3 is an image data IN23 of is inputted to the image processing arithmetic circuit 30-3, a calculation result of the calculation result and the preceding image processing operation circuit 30-2 is added. Cycle T
In step 13, the operation result z (0,0) expressed by the following equation is output from the image processing operation circuit 30-3, and the result storage memory 40
Is stored in

【0015】[0015]

【数4】 但し、b(k=0〜3)は第2の画像データIN20
〜IN23、y(k,0)(k=0〜3)は第1の画像
データIN10〜IN13、z(0,k)(k=0〜
3)は画像処理演算回路30−3の出力信号である。以
上のように、本実施例では、画像処理演算回路30−0
〜30−2を縦続接続して画像処理装置を構成したの
で、複数の画像データを同時に入力して並列動作を行う
と同時に、前段の画像処理演算回路の演算結果を次段の
画像処理演算回路へ入力する直列動作も行うことが可能
となる。更に、最終段の画像処理演算回路30−2の演
算結果が全ての画像処理演算回路へ入力する構成とした
ので、2次元的な画像処理演算を円滑に行うことができ
る。
(Equation 4) Here, b k (k = 0 to 3) is the second image data IN20
To IN23, y (k, 0) (k = 0 to 3) are the first image data IN10 to IN13, z (0, k) (k = 0 to
3) is an output signal of the image processing operation circuit 30-3. As described above, in the present embodiment, the image processing operation circuit 30-0
30-2 are cascade-connected to form an image processing apparatus, so that a plurality of image data are simultaneously input to perform a parallel operation, and at the same time, the operation result of the preceding image processing operation circuit is used as the next image processing operation circuit. It is also possible to perform a series operation of inputting to the. Further, the configuration is such that the operation result of the image processing operation circuit 30-2 at the last stage is input to all the image processing operation circuits, so that two-dimensional image processing operation can be performed smoothly.

【0016】なお、本発明は上記実施例に限定されず、
種々の変形が可能である。その変形例としては、例えば
次のようなものがある。 (a)図1では、画像処理演算回路30−0〜30−2
の結果を格納するメモリは接続されていないが、接続し
て各々の演算結果を出力する構成も可能である。又、図
3に示すような並列演算回路の構成にすることもでき
る。 (b)図4のセレクタ39の一方の入力信号を他の画像
処理演算回路の出力信号としているが、特に限定される
ものではなく、加算器37の入力ビット長を越えるデー
タでなければ、任意の種類のデータを入力することがで
きる。 (c)図4の前段演算器31、セレクタ32、レジスタ
33、レジスタ34及びレジスタ36は、データの処理
方法によっては省略してもよい。
The present invention is not limited to the above embodiment,
Various modifications are possible. For example, there are the following modifications. (A) In FIG. 1, the image processing operation circuits 30-0 to 30-2
Although the memory for storing the result is not connected, it is also possible to connect and output each operation result. Further, a configuration of a parallel operation circuit as shown in FIG. 3 can be adopted. (B) Although one input signal of the selector 39 in FIG. 4 is used as an output signal of another image processing operation circuit, the present invention is not particularly limited to this, and any data may be used unless the data exceeds the input bit length of the adder 37. Types of data can be entered. (C) The pre-stage arithmetic unit 31, the selector 32, the register 33, the register 34, and the register 36 in FIG. 4 may be omitted depending on the data processing method.

【0017】[0017]

【発明の効果】以上詳細に説明したように、本発明によ
れば、縦続接続された複数段の画像処理演算回路で画像
処理装置を構成したので、複数の画像データを同時に入
力して並列動作を行うと同時に、前段の画像処理演算回
路の演算結果を次段の画像処理演算回路へ入力する直列
動作も行うことが可能となる。そのため、従来の並列構
成の画像処理装置よりも簡単な構成で高速演算処理がで
きる。
As described above in detail, according to the present invention, since the image processing apparatus is constituted by a plurality of cascade-connected image processing arithmetic circuits, a plurality of image data are simultaneously inputted to operate in parallel. At the same time, the serial operation of inputting the operation result of the preceding image processing operation circuit to the next image processing operation circuit can be performed. Therefore, high-speed arithmetic processing can be performed with a simpler configuration than the conventional image processing apparatus having a parallel configuration.

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

【図1】本発明の実施例を示す画像処理装置の構成ブロ
ック図である。
FIG. 1 is a configuration block diagram of an image processing apparatus according to an embodiment of the present invention.

【図2】従来の画像処理装置の構成ブロック図である。FIG. 2 is a configuration block diagram of a conventional image processing apparatus.

【図3】従来の他の画像処理装置の構成ブロック図であ
る。
FIG. 3 is a configuration block diagram of another conventional image processing apparatus.

【図4】図1中の画像処理演算回路の構成ブロック図で
ある。
FIG. 4 is a block diagram illustrating a configuration of an image processing operation circuit in FIG. 1;

【図5】図1のフィルタ処理演算手順を示す図である。FIG. 5 is a diagram showing a filtering process calculation procedure in FIG. 1;

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

20−0〜20−3 セレクタ 30−0〜30−3 画像処理演算回路 31 前段演算器 35 乗算器 37 加算器 39 セレクタ 40 結果格納メモリ 20-0 to 20-3 Selector 30-0 to 30-3 Image processing operation circuit 31 Pre-stage operation unit 35 Multiplier 37 Adder 39 Selector 40 Result storage memory

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 総合演算結果と複数の第1の画像データ
のいずれか一方をそれぞれ選択する複数個の第1の選択
手段と、 複数の第2の画像データの一つと前記第1の選択手段の
出力信号とをそれぞれ入力して積和演算を行い、その積
和演算結果を次段へ順次入力する縦続接続された複数段
の画像処理演算回路と、 前記最終段の画像処理演算回路の積和演算結果を記憶
し、その記憶内容を前記総合演算結果の形で出力して前
記複数個の第1の選択手段へ供給する記憶手段とを備
え、 前記各画像処理演算回路は、前記第1の選択手段の出力
信号と前記第2の画像データを乗算する乗算器と、 前記乗算器の乗算結果を累積加算して前記積和演算結果
を出力する累積加算器と、 前記累積加算器の出力信号と前記前段の画像処理演算回
路の出力信号とのいずれか一方を選択して該累積加算器
へ入力する第2の選択手段とを、 有することを特徴とする画像処理装置。
1. A plurality of first selecting means for respectively selecting one of a total operation result and a plurality of first image data; one of a plurality of second image data and said first selecting means And a multistage cascaded image processing operation circuit for sequentially inputting the product sum operation result to the next stage, and a product of the final stage image processing operation circuit. Storage means for storing a sum operation result, outputting the stored content in the form of the total operation result, and supplying the result to the plurality of first selecting means, wherein each of the image processing operation circuits A multiplier for multiplying the output signal of the selection means by the second image data; a cumulative adder for cumulatively adding the multiplication result of the multiplier to output the product-sum operation result; and an output of the cumulative adder. Signal and the output signal of the preceding image processing operation circuit. And a second selecting means for inputting selects either the 該累 product adder, an image processing apparatus characterized by having.
JP24490893A 1993-09-30 1993-09-30 Image processing device Expired - Fee Related JP3202846B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24490893A JP3202846B2 (en) 1993-09-30 1993-09-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24490893A JP3202846B2 (en) 1993-09-30 1993-09-30 Image processing device

Publications (2)

Publication Number Publication Date
JPH07105357A JPH07105357A (en) 1995-04-21
JP3202846B2 true JP3202846B2 (en) 2001-08-27

Family

ID=17125759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24490893A Expired - Fee Related JP3202846B2 (en) 1993-09-30 1993-09-30 Image processing device

Country Status (1)

Country Link
JP (1) JP3202846B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5528976B2 (en) 2010-09-30 2014-06-25 株式会社メガチップス Image processing device

Also Published As

Publication number Publication date
JPH07105357A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
US5181183A (en) Discrete cosine transform circuit suitable for integrated circuit implementation
US5471412A (en) Recycling and parallel processing method and apparatus for performing discrete cosine transform and its inverse
US6189021B1 (en) Method for forming two-dimensional discrete cosine transform and its inverse involving a reduced number of multiplication operations
US5291429A (en) Circuit for matrix calculation of discrete cosine transformation
JP3202846B2 (en) Image processing device
KR100202151B1 (en) Signal processing apparatus
JPH09259115A (en) Very-large-scale integrated circuit for bit-serial matrix transposition
JPH05181896A (en) Discrete cosine transformation processing device
US5905660A (en) Discrete cosine transform circuit for processing an 8×8 block and two 4×8 blocks
JP3726971B2 (en) Parallel processor device
JPH0335353A (en) Discrete cosine converting device
JPS5979349A (en) Arithmetic device
JPH0566043B2 (en)
JP3120435B2 (en) Digital arithmetic circuit
JPH0512437A (en) Image filtering method
JPH0540776A (en) Two-dimensional dct matrix operation circuit
JP2953918B2 (en) Arithmetic unit
JP2922451B2 (en) Signal processing device
JP2728958B2 (en) Arithmetic processing device and method
KR0143985B1 (en) Apparatus for outputting moving vector in digital image processor of hdtv
JPH04364525A (en) Parallel arithmetic unit
JPS58163061A (en) Parallel picture processor
JPH06274524A (en) Orthogonal transformation circuit and inverse transformation circuit
JPS61101872A (en) Fast fourier transform arithmetic circuit
JPH08263469A (en) Data processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010612

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

Free format text: PAYMENT UNTIL: 20090622

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090622

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100622

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees