JP4241720B2 - Multiply and accumulate circuit - Google Patents
Multiply and accumulate circuit Download PDFInfo
- Publication number
- JP4241720B2 JP4241720B2 JP2005342241A JP2005342241A JP4241720B2 JP 4241720 B2 JP4241720 B2 JP 4241720B2 JP 2005342241 A JP2005342241 A JP 2005342241A JP 2005342241 A JP2005342241 A JP 2005342241A JP 4241720 B2 JP4241720 B2 JP 4241720B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- class
- bits
- data
- multiplier
- 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
Links
Images
Description
この発明は、複数の被乗数とそれに対する乗数とを掛け合わせるとき、より少ない被乗数と乗数を用いてもほぼ同じ結果を得ることができるようにした積和演算回路に関する。 The present invention relates to a product-sum operation circuit that can obtain substantially the same result even when a smaller number of multiplicands and multipliers are used when a plurality of multiplicands are multiplied by the multipliers.
今日において、オーディオ・ビジュアル指向の高まりから、より高解像度の画像を得ることができるようなテレビジョン受像機の開発が望まれ、この要望に応えて、いわゆるハイビジョンが開発された。このハイビジョンは、いわゆるNTSC方式に規定される走査線数525本なのに対して、2倍以上の1125本となっているうえ、表示画面の縦横比もNTSC方式が3:4に対して9:16と広角画面になっている。このため、高解像度で臨場感のある画面を得ることができるようになっている。 Nowadays, development of a television receiver capable of obtaining a higher resolution image is desired due to an increase in audio / visual orientation, and so-called high vision has been developed in response to this demand. This high-definition has 1125 lines more than twice the number of scanning lines 525 defined in the so-called NTSC system, and the aspect ratio of the display screen is 9:16 compared to 3: 4 for the NTSC system. And a wide-angle screen. For this reason, a high-resolution and realistic screen can be obtained.
ここで、このような優れた特性を有するハイビジョンではあるが、NTSC方式の映像信号をそのまま供給しても画像表示を行うことはできない。これは、上述のようにNTSC方式とハイビジョン方式とでは規格が異なるからである。このため、NTSC方式の映像信号に応じた画像をハイビジョンで表示しようとする場合、従来は、供給されたNTSC方式の映像信号(SD(Standerd Definition )データ)の水平方向の補間処理を行い、その後垂直方向の補間処理を行うことで映像信号のレート変換を行っていた。 Here, although it is a high vision having such excellent characteristics, even if an NTSC video signal is supplied as it is, an image cannot be displayed. This is because the standards differ between the NTSC system and the high vision system as described above. For this reason, when an image corresponding to an NTSC video signal is to be displayed in high definition, conventionally, the supplied NTSC video signal (SD (Standerd Definition) data) is subjected to a horizontal interpolation process, and thereafter Video signal rate conversion was performed by performing vertical interpolation processing.
この水平方向および垂直方向の補間処理は、縦続接続型のFIRフィルタからなるものであり、これらは、単に水平方向および垂直方向の補間を行っているにすぎないため、解像度は基となるNTSC方式の映像信号と何ら変わらなかった。特に、通常の画像を変換対象とした場合、垂直方向の補間をフィールド内処理で行うのが一般的であるが、その場合、画像のフィールド間相関を使用していないため、画像静止部においては、変換ロスにより、NTSC方式の映像信号よりむしろ解像度が劣化する欠点があった。 This horizontal direction and vertical direction interpolation processing is composed of cascaded FIR filters, and these are merely performing interpolation in the horizontal direction and vertical direction. Therefore, the resolution is based on the NTSC system. The video signal was not different. In particular, when a normal image is to be converted, it is common to perform vertical interpolation by intra-field processing, but in that case, since the inter-field correlation of the image is not used, However, due to conversion loss, there is a drawback that the resolution is deteriorated rather than the NTSC video signal.
これに対し、出願人は、特願平6−205934号の画像信号変換装置において、入力信号である画像信号レベルの3次元(時空間)分布に応じてクラス分割を行い、クラス毎に予め学習により獲得された予測係数値を格納した記憶手段を持ち、予測式に基づいた演算により最適な推定値を出力する、というものを提案している。 On the other hand, the applicant performs class division according to the three-dimensional (spatio-temporal) distribution of the image signal level as the input signal in the image signal conversion apparatus of Japanese Patent Application No. 6-205934, and learns in advance for each class. Has proposed a storage means for storing a prediction coefficient value obtained by the above-described method and outputting an optimum estimated value by a calculation based on a prediction formula.
この手法は、HD(High Definition )データを創造する場合、創造するHD画素の近傍にあるSDデータを用いてクラス分割を行い、それぞれのクラス毎に予測係数値を学習により獲得することで、画像静止部において、より真値に近いHDデータを得る、というような巧妙なものである。 In this method, when HD (High Definition) data is created, class division is performed using SD data in the vicinity of the created HD pixel, and a prediction coefficient value is obtained by learning for each class. It is a clever technique to obtain HD data closer to the true value in the stationary part.
例えば、図8において示すSD画素m1〜m5とSD画素n1〜n5のそれぞれの空間的同一位置にある画素同士のフレーム間差分の平均値を求め、それをしきい値処理してクラス分類することにより、主に動きの程度の表現に対してクラス分類を行う。同時に、図7において示すような、SD画素k1〜k5をADRC(Adaptive Dynamic Range Coding )処理することにより、少ないビット数で主に空間内の波形表現を目的としたクラス分類を行う。 For example, an average value of inter-frame differences between pixels at the same spatial position of each of the SD pixels m 1 to m 5 and SD pixels n 1 to n 5 shown in FIG. By class classification, class classification is mainly performed for expressions of the degree of movement. At the same time, as shown in FIG. 7, the SD pixels k 1 to k 5 are subjected to ADRC (Adaptive Dynamic Range Coding) processing, thereby performing class classification mainly for the purpose of waveform representation in space with a small number of bits.
上述の2種類のクラス分類で決定されたクラス毎に、図9において示すようなSD画素x1〜x25を使用して、線形一次式をたて、予測係数値を学習により獲得する。この方式は、主に動きの程度を表すクラス分類と、主に空間内の波形を表すクラス分類とを個別に、それぞれ適した形で行うため、比較的少ないクラス数で高い変換性能を得られるという特性がある。HD画素yの推定演算は、上述の手順で得られた予測係数値wnを用いて以下のような式(1)で行われる。 For each class determined by the above two types of class classification, a linear linear expression is formed using SD pixels x 1 to x 25 as shown in FIG. 9, and a prediction coefficient value is obtained by learning. In this method, class classification that mainly represents the degree of motion and class classification that mainly represents the waveform in the space are individually performed in a suitable form, so high conversion performance can be obtained with a relatively small number of classes. There is a characteristic. Estimating calculation of HD pixel y is performed in the formula (1) as follows using the prediction coefficients w n obtained by the above procedure.
y=w1x1+w2x2+・・・+wnxn (1)
この例では、n=9である。
y = w 1 x 1 + w 2 x 2 +... + w n x n (1)
In this example, n = 9.
このように、SDデータに対応するHDデータを推定するための予測係数値を各クラス毎に予め学習により求めた上で、ROMテーブルに格納しておき、入力されるSDデータおよびROMテーブルから読み出した予測係数値を出力することにより、入力されたSDデータを単に補間処理したものとは異なり、実際のHDデータにより近いデータを出力することができるという特徴がある。 As described above, the prediction coefficient value for estimating the HD data corresponding to the SD data is obtained by learning in advance for each class, stored in the ROM table, and read from the input SD data and the ROM table. By outputting the predicted coefficient value, data that is closer to the actual HD data can be output, unlike the case where the input SD data is simply interpolated.
このような画像信号変換装置に用いられる積和演算回路を図10に示す。被乗数レジスタ51からは、複数のSDデータが積和器52へ供給される。この複数のSDデータに対応するクラスコードclass がアドレスコントロール回路53から乗数メモリ54へ供給され、乗数メモリ54では、クラスコードclass に応答する係数データが積和器52へ供給される。積和器52では、SDデータと係数データの積和演算が実行され、その積和出力は、出力端子55から出力される。
A product-sum operation circuit used in such an image signal conversion apparatus is shown in FIG. A plurality of SD data is supplied from the
この積和器52の例として図11に示すように、入力端子61からSDデータが供給され、そのSDデータは、レジスタ62を介して乗算器65へ供給される。入力端子63から係数データが供給され、その係数データは、レジスタ64を介して乗算器65へ供給される。乗算器65では、SDデータと係数データとが乗算され、その乗算出力は、レジスタ66を介して加算器67へ供給される。加算器67では、2つの乗算出力が加算され、その加算出力は、レジスタ68を介して加算器69へ供給される。加算器69では、さらに2つの加算出力と加算され、レジスタ70を介して出力端子71から積和出力が出力される。
As an example of the product-
このように、積和演算回路を用いた演算において、予め乗数(係数データ)をメモリ等に用意しておき、画像の特徴(すなわち、クラス情報)によって乗数を可変できる構成が画像信号の変換に用いられていた。 Thus, in the calculation using the product-sum operation circuit, a multiplier (coefficient data) is prepared in advance in a memory or the like, and a configuration in which the multiplier can be varied according to image characteristics (that is, class information) is used for image signal conversion. It was used.
クラス数を多くして乗数の種類を多くすれば、画像の推定の精度を向上することができる。しかしながら、乗数の種類を多く持てば持つほど乗数メモリの容量が増え、ハード規模が増大するという問題点があった。 Increasing the number of classes and the number of types of multipliers can improve the accuracy of image estimation. However, there is a problem that the larger the number of types of multipliers, the larger the capacity of the multiplier memory and the hardware scale.
従って、この発明の目的は、上述した問題点を鑑みて、ハード規模を削減することができる積和演算回路を提供することにある。 Accordingly, an object of the present invention is to provide a product-sum operation circuit capable of reducing the hardware scale in view of the above-described problems.
上述した課題を達成するために、この発明は、乗数および被乗数の積を加算することによって、ディジタルフイルタ演算をMタップで行うようにした積和演算回路において、
ディジタル信号が入力される入力手段と、
入力されたディジタル信号の注目画素の動きの程度を表す第1のビット数と前記注目画素周辺の空間方向の波形の程度を表す第2のビット数とでなる第3のビット数で表されるLビットのクラスコードを、第1のビット数により表現される値がしきい値と等しい場合、第3のビット数より少ないビット数の第4のビット数で表されるSビットのクラスコードへ変換し、第1のビット数により表現される値がしきい値と異なる場合、第2のビット数により表現される値を1/2へ縮退し、第1のビット数と1/2に縮退された第2のビット数とから第4のビット数で表されるSビットのクラスコードへ変換する変換手段と、
Sビットのクラスコードをアドレスとして、アドレスに対応するM個の乗数データを乗数メモリから読み出す乗数データ読出手段と、
乗数メモリから読み出されたM個の乗数データとM個の被乗数データとの積和出力を発生する演算手段と
を有する積和演算回路である。
In order to achieve the above-described problem, the present invention provides a product-sum operation circuit in which a digital filter operation is performed with M taps by adding a product of a multiplier and a multiplicand.
An input means for inputting a digital signal;
It is represented by a third bit number composed of a first bit number representing the degree of movement of the pixel of interest in the input digital signal and a second bit number representing the degree of waveform in the spatial direction around the pixel of interest. When the value represented by the first number of bits is equal to the threshold value , the L-bit class code is changed to the S-bit class code represented by the fourth number of bits that is smaller than the third number of bits. If the value expressed by the first bit number is different from the threshold value, the value expressed by the second bit number is reduced to 1/2, and the first bit number is reduced to 1/2. Converting means for converting the second bit number thus converted into an S-bit class code represented by a fourth bit number ;
Multiplier data reading means for reading M multiplier data corresponding to the address from the multiplier memory using the S-bit class code as an address;
It is a product-sum operation circuit having operation means for generating a product-sum output of M multiplier data read from the multiplier memory and M multiplicand data.
この発明に依れば、アドレス縮退演算回路を有することによって、この回路自体の付加回路は増加するが、それに比べて係数メモリと積和器のハード規模の削減がかなり大きくなるため、大幅にハード規模を削減できる。また、アドレスを縮退することによって、本来Lビットでコントロールする係数メモリをSビットでコントロールする係数メモリに置き換えても本来の性能とほぼ等価な画質性能を得ることができる。 According to the present invention, the addition circuit of the circuit itself is increased by having the address degeneration operation circuit. However, since the hardware scale reduction of the coefficient memory and the product-sum unit is considerably larger than that, the hardware is greatly reduced. The scale can be reduced. Further, by degenerating the address, image quality performance substantially equivalent to the original performance can be obtained even if the coefficient memory originally controlled by the L bit is replaced with the coefficient memory controlled by the S bit.
以下、この発明の一実施例について図面を参照して説明する。図1は、この発明の一実施例を説明するための構成を概略的に示したものである。被乗数レジスタ1には、被乗数としてのSDデータが蓄えられており、SDデータが被乗数レジスタ1から積和器2へ供給される。また、SDデータに基づいて、アドレスコントロール回路3では、Lビットのクラスコードclass が生成され、生成されたLビットのクラスコードL-class は、アドレス縮退メモリ4へ供給される。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 schematically shows a configuration for explaining an embodiment of the present invention. The
アドレス縮退メモリ4は、供給されたクラスコードをLビットからSビットへ縮退するための、データ変換テーブルから構成される。よって、LビットのクラスコードL-class に対応するSビットのクラスコードS-class が読み出され、読み出されたクラスコードS-class は、係数メモリ5へ供給される。係数メモリ5では、供給されたクラスコードS-class に応答した係数データが読み出され、読み出された係数データは、積和器2へ供給される。この係数メモリ5は、予め学習することによって、得られた係数データが記憶されたものである。積和器2では、画素データと係数データとの積和演算が実行され、その積和結果、すなわちHD(High Definition )データが出力端子6から出力される。
The
そして、図2にそのアドレス縮退メモリ4に用いることができるデータ変換テーブルの一例を示す。アドレスコントロール回路3から供給されるクラスコードL-class は、例えば6ビットのデータとなり、この6ビットのクラスコードは、2ビットの主に動きの程度を表すためのクラス分類(以下、動きクラスと称する)と、4ビットからなる主に空間内の波形表現のためのクラス分類(以下、空間クラスと称する)から構成される。ここでは、この6ビットのクラスコードを5ビットのクラスコードへ縮退する。
FIG. 2 shows an example of a data conversion table that can be used for the
この図2に示すように動きクラスmv-classは、0、1、2で表される。動きクラスmv-classが0の場合、縮退の前後でアドレス数の変化はなく、動きクラスmv-classが1および2の場合、縮退の前後でアドレス数が1/2に縮退される。このため、合計のアドレス数は、縮退することで48から32となり、5ビットで表現することが可能となる。 As shown in FIG. 2, the motion class mv-class is represented by 0, 1, and 2. When the motion class mv-class is 0, there is no change in the number of addresses before and after degeneration, and when the motion class mv-class is 1 and 2, the number of addresses is degenerated by half before and after the degeneration. For this reason, the total number of addresses is reduced from 48 to 32 by degeneration, and can be expressed by 5 bits.
また、図3に示すように動きクラスmv-classを0、1、2、3で表すことも可能である。このとき、動きクラスmv-classが0、1および2の場合は、上述と同じように縮退される。しかしながら、動きクラスmv-classが3の場合、動きクラスmv-classが2と同じアドレスに縮退がなされる。例えば、縮退前のアドレスが32の場合、縮退後のアドレスは、24となり、同様に縮退前のアドレスが48の場合、縮退後のアドレスは、24となる。また、縮退前のアドレスが42の場合、縮退後のアドレスは、29となり、同様に縮退前のアドレスが58の場合、縮退後のアドレスは、29となる。 Further, as shown in FIG. 3, the motion class mv-class can be represented by 0, 1, 2, and 3. At this time, when the motion class mv-class is 0, 1, and 2, it is degenerated as described above. However, when the motion class mv-class is 3, the motion class mv-class is degenerated to the same address as 2. For example, when the address before degeneration is 32, the address after degeneration is 24. Similarly, when the address before degeneration is 48, the address after degeneration is 24. When the address before degeneration is 42, the address after degeneration is 29. Similarly, when the address before degeneration is 58, the address after degeneration is 29.
次に、この発明の積和演算回路の他の実施例を図4に示す。なお、他の実施例を説明するにあたり、上述した一実施例と同一の部分には同一の符号を付し、その説明は、省略する。 Next, another embodiment of the product-sum operation circuit of the present invention is shown in FIG. In the description of the other embodiments, the same parts as those in the above-described embodiment are denoted by the same reference numerals, and the description thereof is omitted.
被乗数レジスタ1から複数の画素データが積和器2へ供給される。アドレスコントロール回路3では、LビットのクラスコードL-class が縮退演算回路11へ供給される。縮退演算回路11では、後述するように、供給されたLビットのクラスコードL-class をSビットのクラスコードS-class へ縮退を行う演算が実行される。縮退がなされたクラスコードS-class は、縮退演算回路11から係数メモリ5へ供給される。係数メモリ5では、クラスコードS-class に応答する係数データが読み出され、積和器2へ供給される。積和器2では、画素データと係数データとの積和演算が実行され、その積和出力は、出力端子6から出力される。
A plurality of pixel data is supplied from the
ここで、縮退演算回路11の詳細な回路図を図5に示す。入力端子21から動きクラスmv-classのLSBが供給され、ORゲート27へ供給される。入力端子22から動きクラスmv-classのMSBが供給され、ORゲート27および加算器28の一方の入力側の2nd−MSBに供給される。ORゲート27は、入力端子21および22からのビットを入力とし、その出力は、加算器28の一方の入力側のMSBとして入力される。また、入力端子22からのビットは、加算器28の一方の2nd−MSBとして供給される。加算器28の一方のLSB、2nd−LSBおよび3rd−LSBは、接地されている。すなわち、常に `0' である。
Here, a detailed circuit diagram of the degeneration operation circuit 11 is shown in FIG. The LSB of the motion class mv-class is supplied from the
入力端子23から空間クラスのLSBが供給され、入力端子24から空間クラスの2nd−LSBが供給され、入力端子25から空間クラスの2nd−MSBが供給され、入力端子26から空間クラスのMSBが供給される。これら入力端子23、24、25および26からのビットは、シフトレジスタ29へ供給される。シフトレジスタ29の入力側のMSBは接地され、シフトレジスタ29の入力側の2nd−MSBには空間クラスのMSBのビットが供給され、シフトレジスタ29の入力側の3rd−LSBには空間クラスの2nd−MSBが供給され、シフトレジスタ29の入力側の2nd−LSBには空間クラスの2nd−LSBが供給され、シフトレジスタ29の入力側のLSBには空間クラスのLSBが供給される。
The space class LSB is supplied from the
シフトレジスタ29では、外部からNビットシフトのコントロールする制御信号が供給され、この制御信号は、動きクラスmv-classに対応するものである。他の実施例では、1ビットシフトの制御信号が供給される。動きクラスmv-classが0の場合、シフトレジスタ29では、下位4ビットが加算器28の他方の入力側へ供給され、動きクラスmv-classが0でない場合、供給されたビットがLSB側に1ビットずつシフトされる。1ビットシフトによって、シフトレジスタ29の出力は、その入力の1/2の値とされる。シフトされた4ビットのデータは、加算器28の他方の入力側に供給される。加算器28の他方の入力側のMSBは、接地されている。加算器28では、入力されたそれぞれのデータが加算され、5ビットのデータとしてレジスタ30を介して出力端子31から出力される。
The
一例として、クラスコードclass が `010011' の場合、加算器28の一方の入力側には、 `10000'が供給され、その他方の入力側には、 `00001' が供給され、加算器28の出力は、 `10001'となり、クラスコードclass が縮退される。すなわち、クラスコードclass が19から17へ縮退される。同様に、クラスコードclass が `100101' の場合、加算器28の一方の入力側には、 `11000'が供給され、その他方の入力側には、 `00010' が供給され、加算器28の出力は、 `11010'となり、クラスコードclass が縮退される。すなわち、クラスコードclass が37から26へ縮退される。
As an example, when the class code class is `010011 ',` 10000` is supplied to one input side of the
上述したような、この発明による推定演算回路を使用して構成された信号変換装置の一例を図6に示す。入力端子41からSDデータが供給され、そのSDデータは、領域切り出し回路42、44および49へ供給される。領域切り出し回路42は、入力端子41から供給されたSDデータから空間クラスに必要なSDデータを切り出す。この一例では、例えば図7に示すように創造するべきHDデータy1〜y4の近傍に位置する5つのSDデータk1〜k5を切り出す。
FIG. 6 shows an example of a signal conversion apparatus configured using the estimation arithmetic circuit according to the present invention as described above. SD data is supplied from the
領域切り出し回路42により切り出されたSDデータは、ADRC(Adaptive Dynamic Range Coding )回路43へ供給される。ADRC回路43は、供給されたSDデータのレベル分布のパターン化を目的として、各領域のデータを、例えば8ビットのSDデータから2ビットのSDデータに圧縮するような演算を行う。これにより、形成されたパターン圧縮データをクラスコード発生回路46へ供給する。
The SD data cut out by the
領域切り出し回路44は、動きクラスに必要なSDデータを切り出す。この一例では、例えば供給されたSDデータから創造するべきHDデータy1〜y4に対して図8に示す位置に存在する10個のSDデータm1〜m5およびn1〜n5を切り出す。
The
領域切り出し回路44により切り出されたSDデータは、動きクラス決定回路45へ供給される。動きクラス決定回路45は、供給されたSDデータのフレーム間差分を算出し、その絶対値の平均値をしきい値処理することにより動きの指標である動きパラメータを算出する。具体的には、動きクラス決定回路45は、以下の式(2)により、供給されるSDデータの差分の絶対値の平均値param を算出する。
The SD data cut out by the
動きパラメータは、例えば、4つの動きクラスのことである。すなわち、SDデータの差分の絶対値の平均値param ≦2の場合、動きクラスmv-classを0と決定し、平均値param ≦4の場合、動きクラスmv-classを1と決定し、平均値param ≦8の場合、動きクラスmv-classを2と決定し、平均値param >8の場合、動きクラスmv-classを3と決定する。このように決定された動きクラスmv-classがクラスコード発生回路46へ供給される。
The motion parameter is, for example, four motion classes. That is, when the average value param ≦ 2 of the SD data difference is determined, the motion class mv-class is determined as 0, and when the average value param ≦ 4, the motion class mv-class is determined as 1 and the average value is determined. When param ≦ 8, the motion class mv-class is determined to be 2, and when the average value param> 8, the motion class mv-class is determined to be 3. The motion class mv-class determined in this way is supplied to the class
クラスコード発生回路46は、ADRC回路43からの空間クラスおよび動きクラス決定回路45からの動きクラスmv-classに基づいて以下の式(3)の演算を行うことにより、そのブロックが属するクラスを検出し、そのクラスを示すクラスコードclass を係数メモリ47へ供給する。このクラスコードclass は、係数メモリ47からの読み出しアドレスを示すものとなっている。
The class
係数メモリ47には、SDデータのパターンとHDデータの関係を学習することにより、線形推定式を用いて、SDデータに対応するHDデータを算出するための係数データが各クラス毎に記憶されている。係数メモリ47からは、クラスコードclass で示されるアドレスから、そのクラスの係数データであるwi(class )が読み出される。この係数データは、推定演算回路48へ供給される。
The
一方、SDデータは、領域切り出し回路49にも供給される。領域切り出し回路49は、SDデータを図9に示すような位置にある推定演算に使用する25個のSDデータx1〜x25を切り出す。領域切り出し回路49の出力信号は、推定演算回路48へ供給される。推定演算回路48は、領域切り出し回路49からのSDデータ、係数メモリ47からの係数データに基づいて、入力されたSDデータに対応するHDデータを算出する。その算出するための一例を式(4)に示す。算出されたHDデータは、出力端子50から出力される。
On the other hand, the SD data is also supplied to the
HD=w1x1+w2x2+・・・+w25x25 (4) HD = w 1 x 1 + w 2 x 2 +... + W 25 x 25 (4)
この発明は、上述したこの発明の一実施形態等に限定されるものではなく、この発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。 The present invention is not limited to the above-described embodiment of the present invention, and various modifications and applications are possible without departing from the spirit of the present invention.
1 被乗数メモリ
2 積和器
3 アドレスコントロール回路
4 アドレス縮退メモリ
5 乗数メモリ
1
Claims (2)
ディジタル信号が入力される入力手段と、
入力された上記ディジタル信号の注目画素の動きの程度を表す第1のビット数と前記注目画素周辺の空間方向の波形の程度を表す第2のビット数とでなる第3のビット数で表されるLビットのクラスコードを、上記第1のビット数により表現される値がしきい値と等しい場合、上記第3のビット数より少ないビット数の第4のビット数で表されるSビットのクラスコードへ変換し、上記第1のビット数により表現される値が上記しきい値と異なる場合、上記第2のビット数により表現される値を1/2へ縮退し、上記第1のビット数と上記1/2に縮退された第2のビット数とから上記第4のビット数で表される上記Sビットのクラスコードへ変換する変換手段と、
上記Sビットのクラスコードをアドレスとして、上記アドレスに対応するM個の乗数データを乗数メモリから読み出す乗数データ読出手段と、
上記乗数メモリから読み出された上記M個の乗数データとM個の被乗数データとの積和出力を発生する演算手段と
を有する積和演算回路。 In a product-sum operation circuit in which a digital filter operation is performed with M taps by adding a product of a multiplier and a multiplicand,
An input means for inputting a digital signal;
Represented by the third number of bits comprised by the second number of bits representing the degree of the input the digital signal first bit number and spatial direction of the waveform around the target pixel representing the degree of motion of the pixel of interest When the value represented by the first number of bits is equal to the threshold value , the L bit class code of the S bit represented by the fourth number of bits that is smaller than the third number of bits If the value expressed by the first bit number is different from the threshold value after being converted into a class code, the value expressed by the second bit number is degenerated to ½, and the first bit Conversion means for converting the number and the second number of bits reduced to ½ into the S-bit class code represented by the fourth number of bits ;
Multiplier data reading means for reading M multiplier data corresponding to the address from the multiplier memory using the S-bit class code as an address;
A product-sum operation circuit having operation means for generating a product-sum output of the M multiplier data read from the multiplier memory and the M multiplicand data.
ディジタル信号が入力される入力手段と、
入力された上記ディジタル信号の注目画素の動きの程度を表す第1のビット数と前記注目画素周辺の空間方向の波形の程度を表す第2のビット数とでなる第3のビット数で表されるLビットのクラスコードを、上記第1のビット数により表現される値が第1のしきい値と等しい場合、上記第3のビット数より少ないビット数の第4のビット数で表されるSビットのクラスコードへ変換し、上記第1のビット数により表現される値が上記第1のしきい値より大きい第2のしきい値と等しい場合、上記第2のビット数により表現される値を1/2へ縮退し、上記第1のビット数と上記1/2に縮退された第2のビット数とから上記第4のビット数で表される上記Sビットのクラスコードへ変換し、上記1のビット数により表現される値が上記第2のしきい値より大きい第3のしきい値以上場合、上記第2のビット数により表現される値を1/4へ縮退し、上記第1のビット数と上記1/4に縮退された第2のビット数とから上記第4のビット数で表される上記Sビットのクラスコードへ変換する変換手段と、
上記Sビットのクラスコードをアドレスとして、上記アドレスに対応するM個の乗数データを乗数メモリから読み出す乗数データ読出手段と、
上記乗数メモリから読み出された上記M個の乗数データとM個の被乗数データとの積和出力を発生する演算手段と
を有する積和演算回路。 In a product-sum operation circuit in which a digital filter operation is performed with M taps by adding a product of a multiplier and a multiplicand,
An input means for inputting a digital signal;
Represented by the third number of bits comprised by the second number of bits representing the degree of the input the digital signal first bit number and spatial direction of the waveform around the target pixel representing the degree of motion of the pixel of interest When the value expressed by the first bit number is equal to the first threshold value, the L-bit class code is expressed by a fourth bit number that is smaller than the third bit number. When converted to an S-bit class code and the value represented by the first number of bits is equal to a second threshold value that is greater than the first threshold value, represented by the second number of bits The value is reduced to ½ and converted from the first bit number and the second bit number reduced to ½ to the S-bit class code represented by the fourth bit number. The value represented by the number of bits of 1 is the second value. When the third threshold value is greater than the threshold value, the value expressed by the second bit number is reduced to ¼, and the first bit number and the second value reduced to ¼. Conversion means for converting from the number of bits to the S-bit class code represented by the fourth number of bits ,
Multiplier data reading means for reading M multiplier data corresponding to the address from the multiplier memory using the S-bit class code as an address;
A product-sum operation circuit having operation means for generating a product-sum output of the M multiplier data read from the multiplier memory and the M multiplicand data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005342241A JP4241720B2 (en) | 2005-11-28 | 2005-11-28 | Multiply and accumulate circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005342241A JP4241720B2 (en) | 2005-11-28 | 2005-11-28 | Multiply and accumulate circuit |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP15890596A Division JP3767019B2 (en) | 1996-05-30 | 1996-05-30 | Product-sum operation circuit and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006121737A JP2006121737A (en) | 2006-05-11 |
JP4241720B2 true JP4241720B2 (en) | 2009-03-18 |
Family
ID=36539110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005342241A Expired - Fee Related JP4241720B2 (en) | 2005-11-28 | 2005-11-28 | Multiply and accumulate circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4241720B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2906814B2 (en) * | 1992-02-14 | 1999-06-21 | 富士ゼロックス株式会社 | Color signal converter |
JP3590996B2 (en) * | 1993-09-30 | 2004-11-17 | ソニー株式会社 | Hierarchical encoding and decoding apparatus for digital image signal |
JP3946781B2 (en) * | 1994-08-08 | 2007-07-18 | ソニー株式会社 | Image information conversion apparatus and method |
-
2005
- 2005-11-28 JP JP2005342241A patent/JP4241720B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006121737A (en) | 2006-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100478070B1 (en) | Image information converting apparatus and method and adaptation circuit and method | |
JP3680922B2 (en) | Image processing device | |
JP4552261B2 (en) | Digital information conversion apparatus and method, and image information conversion apparatus and method | |
JP3946781B2 (en) | Image information conversion apparatus and method | |
JPH1098695A (en) | Image information converter and its device and product sum arithmetic unit | |
JP3890638B2 (en) | Image information conversion apparatus and method | |
JP4470280B2 (en) | Image signal processing apparatus and image signal processing method | |
JP4241720B2 (en) | Multiply and accumulate circuit | |
JP3723995B2 (en) | Image information conversion apparatus and method | |
JP3767019B2 (en) | Product-sum operation circuit and method | |
JP4049087B2 (en) | Motion / stillness determination apparatus and determination method, and image signal processing apparatus and processing method | |
JP4062326B2 (en) | Coefficient generation apparatus and method | |
JP3826434B2 (en) | Signal conversion apparatus and method | |
JP4470324B2 (en) | Image signal conversion apparatus and method | |
JP4001143B2 (en) | Coefficient generation apparatus and method | |
JP4552262B2 (en) | Noise reduction apparatus and method | |
JP3800638B2 (en) | Image information conversion apparatus and method | |
JP3653287B2 (en) | Image information conversion apparatus and image information conversion method | |
JP4552263B2 (en) | Digital signal processing apparatus and method, and digital image signal processing apparatus and method | |
JP4042121B2 (en) | Image information processing apparatus and image information processing method | |
JP4174891B2 (en) | Image information conversion apparatus and method | |
JP4310691B2 (en) | Image processing apparatus and method, learning apparatus and method, recording medium, and program | |
JP3922286B2 (en) | Coefficient learning apparatus and method | |
JP4595162B2 (en) | Image signal processing apparatus and image signal processing method | |
JP4193236B2 (en) | Image information conversion apparatus, image information conversion method, and television receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060210 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080624 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080821 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080916 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081112 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081209 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081222 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120109 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120109 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130109 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |