JPS62262509A - Digital filter circuit - Google Patents
Digital filter circuitInfo
- Publication number
- JPS62262509A JPS62262509A JP10626386A JP10626386A JPS62262509A JP S62262509 A JPS62262509 A JP S62262509A JP 10626386 A JP10626386 A JP 10626386A JP 10626386 A JP10626386 A JP 10626386A JP S62262509 A JPS62262509 A JP S62262509A
- Authority
- JP
- Japan
- Prior art keywords
- output
- counter
- latch register
- coefficient
- adder
- 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
Links
- 238000005070 sampling Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
Landscapes
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は画像データ処理を行うディジタルフィルタ回路
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital filter circuit that processes image data.
従来、この種のディジタルフィルタ回路は、第2図に示
されるように、ある帯域に制限をかける場合、帯域特性
に合せてフィルタのタップ段数をあらかじめ計算し、タ
ップ段数(この場合、7段)分のラッチレジスタR,,
R2,・・・+Rtト、各ラッチレジスタR,,R2,
・・・、R7の出力にフィルタ係数に、、に2.・・・
、に7を掛合わせる乗算器MX+ 、 MX2 、−、
MX7 ト、乗算器ML トMX2 (7) lJ4
出力を加算する加算器An、、乗算器Mx3と加算器A
D、の出力を加算する加算器AD2.・・・1乗算器M
X、と加算器AD、の両出力を加算する加算器A06と
、ラッチパルスを出力するカウンタCNTと。Conventionally, as shown in Figure 2, in this type of digital filter circuit, when limiting a certain band, the number of tap stages of the filter is calculated in advance according to the band characteristics, and the number of tap stages (in this case, 7 stages) is set. Minute latch register R,,
R2,...+Rt, each latch register R,, R2,
..., the output of R7 is the filter coefficient, 2. ...
, multipliers MX+, MX2, -, which multiply 7 by 7.
MX7, multiplier ML, MX2 (7) lJ4
Adder An that adds the outputs, multiplier Mx3 and adder A
Adder AD2.D adds the outputs of AD2. ...1 multiplier M
an adder A06 that adds the outputs of both X and adder AD, and a counter CNT that outputs a latch pulse.
ラッチパルスにより加算器AD6の出力をラッチするラ
ッチレジスタR8とで構成されていた。It consisted of a latch register R8 that latches the output of the adder AD6 using a latch pulse.
このディジタルフィルタ回路は、入力端子に画像データ
が入力されると、ラッチレジスタRi(n=1.2.・
・・、7)に画素クロックパルスごとに画像データが順
次ラッチされて行く、ラッチレジスタRiのそれぞれの
出力は乗算器MXi(n=1゜2、・・・、7)で各画
素ごとに係数に1〜に7が掛合わされ、加算器ADj(
n=1.z、・・・、6)を使用して合計値がラッチレ
ジスタR8に出力される。ランチレジスタR8は分局用
のカウンタ GMTにサブサンプル周波数があらかじめ
与えられると、カウンタ CNTは1からn(ただし、
が整数でないときn= (m)+ 1)までカウントし
、ラッチレジスタ R8にラッチパルスを出力し、初期
状態になり、再びカウントを繰返す、このパルスにより
、ラッチレジスタR8にラッチパルスを出力する。この
パルスにより、ラッチレジスタ RuK’lfd小され
たデータがラッチされ、出力端子に出力される。When image data is input to the input terminal of this digital filter circuit, the latch register Ri (n=1.2.
..., 7), the image data is sequentially latched for each pixel clock pulse. Each output of the latch register Ri is converted into a coefficient for each pixel by a multiplier MXi (n=1°2, . . . , 7). are multiplied by 1 to 7, and adder ADj (
n=1. z, . . . , 6) to output the sum value to the latch register R8. Launch register R8 is a branch counter. When the sub-sampling frequency is given to GMT in advance, the counter CNT is set from 1 to n (however,
If is not an integer, it counts up to n=(m)+1), outputs a latch pulse to latch register R8, enters the initial state, and repeats counting again. With this pulse, a latch pulse is output to latch register R8. This pulse causes the latch register RuK'lfd to latch the smaller data and output it to the output terminal.
上述した従来のディジタルフィルタ回路は、サブサンプ
ル処理をともなう画像データ処理を扱う場合でも処理ず
みのデータが間引かれるだけでハードウェアー的には簡
略になるということはなく、フィルタタップ分の乗算器
と加算器を持っていなければならず、回路を構成するI
Cの数が多くなるという欠点がある。In the conventional digital filter circuit described above, even when handling image data processing that involves sub-sampling processing, the processed data is simply thinned out, the hardware is not simplified, and a multiplier for the filter taps is used. and an adder, which constitutes the circuit I
The disadvantage is that the number of C's increases.
本発明のディジタルフィルタ回路は1画像データのサブ
サンプル処理をともなうある周波数帯域までデータを通
過させるディジタルフィルタ回路であって、lからn(
ただし、が整数でないときn=(m)またはn= (m
)+1、〔〕はガウス記号)までサイクリックにカウン
トするカウンターと、このカウンターの出力に対応して
予め決められ1周波数帯域に制限をかけるために必要な
係数を発生する係数発生器と、処理の対象となる画像デ
ータをラッチする第1のラッチレジスタと、第1のラッ
チレジスタの出力と係数発生器から出力される係数を掛
は合せる乗算器と、加算器と該加算器の出力をラッチす
る第2のラッチレジスタで構成され、乗算器の出力を累
加算するアキュムレータと、カウンタの出力がnになる
とクリア信号を発生しカウンタと第2のラッチレジスタ
とをリセットするクリア信号発生器とを有する。The digital filter circuit of the present invention is a digital filter circuit that passes data up to a certain frequency band with sub-sampling processing of one image data.
However, when is not an integer, n=(m) or n=(m
) +1, [ ] is a Gauss symbol) A counter that cyclically counts up to +1, [ ] is a Gauss symbol), a coefficient generator that generates the coefficients necessary to limit one frequency band that is predetermined in response to the output of this counter, and a processing a first latch register that latches image data to be processed, a multiplier that multiplies the output of the first latch register by a coefficient output from a coefficient generator, an adder, and latches the output of the adder. an accumulator that cumulatively adds the output of the multiplier; and a clear signal generator that generates a clear signal and resets the counter and the second latch register when the output of the counter reaches n. have
したがって、木発り1によればフィルタータップ段数≦
nの関係が成立すれば、全てのサブサンプル処理をとも
なうディジタルフィルタ回路を実現できる。Therefore, according to Kiori 1, the number of filter tap stages ≦
If the relationship n holds true, a digital filter circuit that includes all sub-sampling processes can be realized.
次に1本発明の実施例について図面を参照して説明する
。Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明のディジタルフィルタ回路の一実施例を
示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the digital filter circuit of the present invention.
本実施例は、7段フィルタタップを持ち10分の1に画
像をサブサンプル処理するディジタルフィルタ回路であ
る。ラッチレジスタ 1月は入力端子より人力される画
像データを画素クロックパルスに回期してラッチする。This embodiment is a digital filter circuit that has 7 stages of filter taps and performs sub-sampling processing on an image to 1/10. Latch register In January, the image data input manually from the input terminal is latched by rotating it to the pixel clock pulse.
カウンタ lO2は画素グロックパルスに同期し連続し
てlから10までカウントアツプする。係数発生器10
3はカウンタ 102の出力が1から7までのときは、
入力されたそれぞれの画像データに所定の係数Kl +
K2 +・・・+ K7を出力し、カウンタ 10
2の出力が8からlOまでのときは係aOを出力する。The counter lO2 continuously counts up from l to 10 in synchronization with the pixel glock pulse. Coefficient generator 10
3 is a counter When the output of 102 is from 1 to 7,
A predetermined coefficient Kl +
K2 +...+ Output K7, counter 10
When the output of 2 is from 8 to lO, the coefficient aO is output.
クリア信号発生器 108はカウンタ 102の出力が
10になるとクリア信号107を出力する。カウンタ
102はクリア信号 107を入力すると初期化される
0乗算器104はラッチレジスタ 101の画像データ
と該画像データに対応して係数発生器103より出力さ
れた係数Ki (i =1.2.・・・、7)またはO
とを掛合せる。加算器+05とラッチレジスタ 10B
はアキュムレータを構成し、乗算器104の出力を累加
算し、出力端子に出力する。ラッチレジスタ 1013
もクリア信号+07を入力すると初期化される。A clear signal generator 108 outputs a clear signal 107 when the output of the counter 102 reaches 10. counter
102 is a clear signal. 0 multiplier 104 is initialized when 107 is input. It is a latch register. The image data of 101 and the coefficient Ki (i = 1.2...・,7) or O
Multiply with. Adder +05 and latch register 10B
constitutes an accumulator, accumulates the output of the multiplier 104, and outputs the result to the output terminal. Latch register 1013
It is also initialized by inputting the clear signal +07.
したがって、出力端子には10画素入力に1画素の割合
で、7段のフィルタがかかった画像データが出力される
。Therefore, image data that has been filtered in seven stages is output to the output terminal at a ratio of one pixel for every 10 input pixels.
以上説明したように本発明は、2個のラッチレジスタと
各1個の乗算器、加算器、カウンタ、係数発生器、クリ
ア信号発生器とでディジタルフィルタ回路を構成するこ
とにより、フィルタータラ整数のときn=m 、mが整
数でないときn=(m)またはn= (m)+1.()
はガウス記号)の関係の成り立つ全てのサブサンプル処
理をともなうディジタルフィルタ処理を行うことができ
、構成素子であるICの数の少い安価なディジタルフィ
ルタ回路を実現できる効果がある。As explained above, the present invention configures a digital filter circuit with two latch registers, one multiplier, one adder, one counter, one coefficient generator, and one clear signal generator. When n=m, when m is not an integer, n=(m) or n=(m)+1. ()
It is possible to perform digital filter processing with all sub-sampling processing in which the relationship of (Gaussian symbol) holds, and it is possible to realize an inexpensive digital filter circuit with a small number of component ICs.
第1図は本発明のディジタルフィルタ回路の一実施例を
示す構成図、第2図は従来例を示す構成図である。
101、106・・・ラッチレジスタ、102・・・カ
ウンタ、 103・・・係数発生器、104・・
・乗算器、 105・・・加算器、107・・
・クリア信号、
108・・・クリア信号発生器。FIG. 1 is a block diagram showing an embodiment of the digital filter circuit of the present invention, and FIG. 2 is a block diagram showing a conventional example. 101, 106...Latch register, 102...Counter, 103...Coefficient generator, 104...
・Multiplier, 105... Adder, 107...
・Clear signal, 108...Clear signal generator.
Claims (1)
域までデータを通過させる。ディジタルフィルタ回路で
あって、 1からn(ただし、(サンプル周波数)/(サブサンプ
ル周波数)=mが整数のときn=m、mが整数でないと
きn=〔m〕またはn=〔m〕+1、〔 〕はガウス記
号)までサイクリックにカウントするカウンタと、 このカウンタの出力に対応して予め決められ、周波数帯
域に制限をかけるために必要な係数を発生する係数発生
器と、 処理の対象となる画像データをラッチする第1のラッチ
レジスタと、 第1のラッチレジスタの出力と係数発生器から出力され
る係数を掛合せる乗算器と、 加算器と該加算器の出力をラッチする第2のラッチレジ
スタで構成され、乗算器の出力を累加算するアキュムレ
ータと、 カウンタの出力がnになるとクリア信号を発生し、カウ
ンタと第2のラッチレジスタとをリセットするクリア信
号発生器とを有するディジタルフィルタ回路。[Claims] Data is passed up to a certain frequency band with sub-sampling of image data. A digital filter circuit, 1 to n (where (sampling frequency)/(subsampling frequency) = n = m when m is an integer, and n = [m] or n = [m] + 1 when m is not an integer. , [ ] is a Gauss symbol); a coefficient generator that is predetermined in response to the output of this counter and generates the coefficients necessary to limit the frequency band; and a processing target. a first latch register that latches image data, a multiplier that multiplies the output of the first latch register by a coefficient output from the coefficient generator, an adder and a second latch register that latches the output of the adder. A digital circuit consisting of a latch register, which has an accumulator that accumulates the output of the multiplier, and a clear signal generator that generates a clear signal when the output of the counter reaches n and resets the counter and the second latch register. filter circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10626386A JPS62262509A (en) | 1986-05-09 | 1986-05-09 | Digital filter circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10626386A JPS62262509A (en) | 1986-05-09 | 1986-05-09 | Digital filter circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62262509A true JPS62262509A (en) | 1987-11-14 |
Family
ID=14429208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10626386A Pending JPS62262509A (en) | 1986-05-09 | 1986-05-09 | Digital filter circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62262509A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01136408A (en) * | 1987-11-24 | 1989-05-29 | Oki Electric Ind Co Ltd | Initial setting system for data ram |
JPH04139909A (en) * | 1990-09-29 | 1992-05-13 | Shimadzu Corp | Digital filter |
-
1986
- 1986-05-09 JP JP10626386A patent/JPS62262509A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01136408A (en) * | 1987-11-24 | 1989-05-29 | Oki Electric Ind Co Ltd | Initial setting system for data ram |
JPH04139909A (en) * | 1990-09-29 | 1992-05-13 | Shimadzu Corp | Digital filter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0741472A2 (en) | Method and circuit arrangement for processing variable symbol rates | |
US4703447A (en) | Mixer controlled variable passband finite impulse response filter | |
US5031133A (en) | FIR digital filter for high-speed communications systems | |
US5949695A (en) | Interpolator using a plurality of polynomial equations and associated methods | |
JPH05308250A (en) | Sample data interpolating device | |
US5821884A (en) | Sampling rate conversion method and apparatus utilizing an area effect correlation method | |
JPS62262509A (en) | Digital filter circuit | |
US20040158594A1 (en) | Two-dimensional pyramid filter architecture | |
JPH06350399A (en) | Method and digital filter architecture for filtering digital signal | |
US6889237B2 (en) | Two-dimensional pyramid filter architecture | |
JP2885121B2 (en) | Digital filter | |
US6625628B1 (en) | Method and apparatus for digital filter | |
KR0172486B1 (en) | Sampling rate conversion method and device thereof | |
JPH09135150A (en) | Digital filter and receiving device | |
JPH0590897A (en) | Oversampling filter circuit | |
US20020174154A1 (en) | Two-dimensional pyramid filter architecture | |
US6324222B1 (en) | Digital receiver with polyphase structure | |
JPH08335850A (en) | Simple digital filter | |
KR960012599B1 (en) | A ditial color-space converting circuit | |
JPH0449708A (en) | Fir filter circuit | |
JPH09232914A (en) | Digital filter | |
JPS633506A (en) | Digital transversal filter | |
JPS62297934A (en) | Digital signal processor | |
JPH04334111A (en) | Digital parametic equalizer circuit | |
JPH0697773A (en) | Digital filter device |