JP3684588B2 - Video signal processing device - Google Patents

Video signal processing device Download PDF

Info

Publication number
JP3684588B2
JP3684588B2 JP05911894A JP5911894A JP3684588B2 JP 3684588 B2 JP3684588 B2 JP 3684588B2 JP 05911894 A JP05911894 A JP 05911894A JP 5911894 A JP5911894 A JP 5911894A JP 3684588 B2 JP3684588 B2 JP 3684588B2
Authority
JP
Japan
Prior art keywords
video signal
signal processing
circuit
data
processing circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05911894A
Other languages
Japanese (ja)
Other versions
JPH07274064A (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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP05911894A priority Critical patent/JP3684588B2/en
Publication of JPH07274064A publication Critical patent/JPH07274064A/en
Application granted granted Critical
Publication of JP3684588B2 publication Critical patent/JP3684588B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)
  • Color Television Systems (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、画像拡大、及び、画像縮小機能を有する映像信号処理装置に関するものであり、特に、共一次内挿法による画像拡大、及び、画像縮小処理を施す映像信号処理装置に関するものである。
【0002】
【従来の技術】
例えば、スタジオにおいて、カメラ、ビデオテープレコーダー、静止画装置、電子画像生成装置、他スタジオからの入力中継素材等、これらを切換え、混合、或は、文字スーパーを行いながら付加価値を付けて加工し、完成した番組を制作する装置である映像副調整装置、所謂スイッチャがある。また、上記スイッチャには、多数の入力を持ち、多数のデジタル特殊効果装置を備えるものがある。上記デジタル特殊効果装置の機能の一つとして、画像を拡大、縮小する電子ズーム機能があり、その信号処理は、フレームメモリを基本として高速マイクロプロセッサにより行われる。
【0003】
上記デジタル特殊効果装置において画像の拡大、縮小を行う場合、映像信号処理装置では、デジタル化処理、ビデオ信号処理等が施された映像信号に、画像拡大時にはエッジ強調が、或は、画面縮小時には画面縮小時の折り返しによる画質劣等防止のためのプリフィルタ処理が施される。そして、上述のようなフィルタリング処理が施された映像信号に、共一次内挿法(Bi−Linear)による補間が行われ、画像の拡大、或は、縮小した映像信号が生成される。
【0004】
上記画像縮小時(以下、縮小処理モードと言う。)のエッジ強調、及び、画像拡大時(以下、拡大処理モードと言う。)のプリフィルタ処理は、各々独立した信号処理回路で行っている。
【0005】
例えば、垂直方向の信号処理を行う場合、上記信号処理回路は、図12に示すように、プリフィルタ回路210とエッジ強調回路220とで構成されている。
【0006】
上記プリフィルタ回路210は、映像信号が入力される入力端子211と、上記入力端子211を介して入力された映像信号を1走査線(以下、Hと言う。)ディレイさせる第1,第2のディレイ回路214,215と、上記第1のディレイ回路214と第2のディレイ回路215を介して出力される2Hディレイした映像信号と上記入力端子211を介して入力される映像信号とを加算する加算器216と、上記第1のディレイ回路214からの1Hディレイした映像信号と上記加算器216からの映像信号とを加算する加算器217と、上記加算器217による加算出力をプリフィルタ処理を施した映像信号として出力する出力端子212と、上記第1のディレイ回路214からの映像信号を出力する出力端子213とで構成されている。
【0007】
また、上記エッジ強調回路220は、図示していないマイクロコンピュータ(以下、マイコンと言う。)の制御により、拡大処理モード、或は、縮小処理モードの処理モードに応じて上記出力端子212、或は、上記出力端子213との接続を切換えるスイッチ221と、上記スイッチ221を介して供給された映像信号を1Hディレイさせる第1,第2のディレイ回路224,225と、上記第1のディレイ回路224と第2のディレイ回路225を介して出力される2Hディレイした映像信号と上記スイッチ221を介して入力される映像信号とを加算する加算器226と、上記第1のディレイ回路224からの1Hディレイした映像信号と上記加算器226からの映像信号とを加算する加算器227と、上記加算器227からの映像信号に処理モードに応じた係数を乗算する乗算器222と、上記第1のディレイ回路224からの1Hディレイした映像信号と上記乗算器222からの映像信号を加算する加算器228と、上記加算器228による加算出力をフィルタリング処理を施した映像信号として出力する出力端子223とで構成されている。
【0008】
上記プリフィルタ回路210の動作について説明する。
【0009】
入力端子211を介して入力された映像信号は、第1のディレイ回路214と加算器216に供給される。上記第1のディレイ回路214は、上記入力端子211を介して入力された映像信号を1Hディレイさせ、この映像信号を第2のディレイ回路215と加算器217に供給すると共に出力端子213を介して出力する。上記第2のディレイ回路215は、上記第1のディレイ回路214により1Hディレイされた映像信号をさらに1Hディレイさせ、その映像信号を上記加算器216に供給する。上記加算器216は、上記第1のディレイ回路214と第2のディレイ回路215を介して出力される映像信号と上記入力端子211を介して入力される映像信号とを加算する。
【0010】
ここで、上記加算器216による加算出力の信号レベルは加算処理により、上記入力端子211を介して入力された映像信号のレベルに対して2倍となる。このため、上記第1のディレイ回路214からの映像信号を加算器217に供給する際に、図示していない増幅器等により上記映像信号のレベルを2倍にして加算器217に供給する。従って、上記加算器217は、同レベルの上記第1のディレイ回路214からの映像信号と上記加算器216による加算出力とを加算する。
【0011】
また、上記加算器217による加算出力の信号レベルも加算処理により、さらに倍になるため、即ち、上記入力端子211を介して入力された映像信号のレベルに対して4倍となる。このため、上記加算器217による加算出力を出力端子212を介して出力する際に、図示していない減衰器等により上記加算出力の信号レベルを1/4に減衰させる。従って、上記出力端子212からは、入力端子211を介して入力される映像信号のレベルと同レベルの映像信号が出力される。
【0012】
上述のような構成をしたプリフィルタ回路210は、式6で表すことができる。
((1+Z-2)+2Z-1)/4
=(1+Z-12/4 ・・・式6
【0013】
次に、上記エッジ強調回路220における動作について説明する。
【0014】
例えば、拡大処理モードの場合、マイコンの制御によりスイッチ221は、プリフィルタ回路210の出力端子213に接続される。即ち、エッジ強調回路220にはプリフィルター処理が施されていない映像信号が供給される。
【0015】
上記スイッチ221を介して入力された映像信号は、第1のディレイ回路224と加算器226とに供給される。上記第1のディレイ回路224は、上記スイッチ221を介して入力された映像信号を1Hディレイさせ、その映像信号を第2のディレイ回路225と加算器227と加算器228に各々供給する。上記第2のディレイ回路225は、上記第1のディレイ回路224からの1Hディレイした映像信号をさらに1Hディレイさせ、その映像信号を上記加算器226に供給する。上記加算器226は、第2のディレイ回路225からの2Hディレイした映像信号と上記スイッチ221を介して入力される映像信号とを加算する。
【0016】
ここで、上記プリフィルタ回路210における加算出力の信号レベルの調整と同様に、上記第1のディレイ回路224からの映像信号を加算器227に供給する際に、図示していない増幅器等により上記映像信号のレベルを2倍にして加算器227に供給する。従って、上記加算器227は、同レベルの上記第1のディレイ回路224からの映像信号と上記加算器226による加算出力とを加算する。また、上記加算器227による加算出力を乗算器222に供給する際に、図示していない減衰器等により上記加算出力の信号レベルを1/4に減衰させる。従って、上記乗算器222には、上記スイッチ221を介して入力される映像信号のレベルと同レベルの映像信号が供給される。
【0017】
上記乗算器222は、上記加算器227からの映像信号にフィルタ係数Kを乗算する。ここで、上記フィルタ係数Kは、エッジ強調のレベルで正の値となる。上記加算器228は、第1のディレイ回路224からの1Hディレイした映像信号と上記乗算器222による乗算出力とを加算する。上記加算器228による加算出力は、出力端子223を介してフィルタリング処理が施された映像信号として出力される。
【0018】
従って、上述のような構成をしたエッジ強調回路220は、式7で表すことができる。
-1+K((2Z-1−(1+Z-2))/4)
=Z-1+K(−(1−Z-12/4) ・・・式7
【0019】
また、縮小処理モードの場合は、プリフィルタ回路210の出力端子212に接続される。従って、エッジ強調回路220にはプリフィルター処理を施した映像信号が供給される。この場合の動作も上述した拡大処理モードの場合と同様であるが、乗算器222において、入力される映像信号のレベルはエッジ強調のレベルでないためフィルタ係数Kの値はゼロとなる。従って、プリフィルター処理のみを施した映像信号が出力端子223を介して出力される。
【0020】
上述のようにしてフィルタリング処理が施された映像信号は、共一次内挿法による補間が行われ、画像の拡大、或は、縮小した映像信号が生成される。
【0021】
上記共一次内挿法とは、例えば、図13に示すように、補間データZを作る場合、上記補間データZ周辺の4点の原画素データA,B,C,Dにて線形補間する方法である。この共一次内挿法を用いて画像の縮小を行う場合、補間点、即ち、補間データZと次の補間データZPとの間隔が、原画素データの間隔、即ち、原画素データAと原画素データBの間隔よりも大きくなる。逆に、画像の拡大を行う場合、補間点は原画素データの間隔よりも狭くなる。このようにして、4点の原画素データA,B,C,Dを補間データZの周辺4点より作り、原画と同じ配置に並べ直すことにより、縮小、或は、拡大画となる。
【0022】
上述のような共一次内挿法により画素の補間を行う場合、補間データZを求める式は、補間係数をα、βとして、式8の様になる。
Z=(1−α)(1−β)A+α(1−β)B+β(1−α)C+αβD・・・式8
【0023】
【発明が解決しようとする課題】
しかし、上述のように、エッジ強調、及び、プリフィルタ処理を行う信号処理回路は各々独立した回路構成となっているため、各回路の動作制御等を各々独立して行わなければならなかった。即ち、エッジ強調回路とプリフィルタ回路とを独立に制御しなければならないため、制御ソフトが複雑になってしまっていた。
【0024】
さらに、上記図12に示す構成は、垂直方向の信号処理の場合の構成であり、水平方向の信号処理の場合、上記プリフィルタ回路210の第1,第2のディレイ回路214,215、及び、上記エッジ強調回路220の第1,第2のディレイ回路224,225の代わりに、各々ラッチ回路となるため、ハードウェアの規模が非常に大きくなってしまっていた。
【0025】
また、共一次内挿法による補間を行う場合、補間データZを求める上記式8では、乗算を8回行う必要がある。従って、この式8の回路構成は、図14に示すように、乗算器230〜237の8個の乗算器が必要である。
【0026】
或は、上記式8は、式9の様に表すこともできるが、この式9の回路構成は、図15に示すように、乗算器240〜245の6個の乗算器が必要である。

Figure 0003684588
【0027】
即ち、従来の共一次内挿の回路構成においては、6〜8個の乗算器が必要であった。ここで、ハードウェアを考慮した場合、LSI(Large ScaleIntegration)における乗算器はゲート数が多いため、乗算器は非常に大きいものである。このような乗算器が6〜8個必要となるために、ハードウェアの規模が非常に大きくなってしまっていた。
【0028】
そこで、本発明は、上述の如き従来の実情に鑑みてなされたものであり、次のような目的を有するものである。
【0029】
即ち、本発明は、画像拡大/縮小処理において、補間、間引きによる画質劣化の補正回路を共通化することにより、制御ソフトを簡易化することができると共に、ハードウェアの規模を削減することができる映像信号処理装置の提供を目的とする。
【0030】
また、本発明は、画像拡大/縮小等の共一次内挿による補間を行う補間回路の構成を簡易化することにより、ハードウェアの規模を削減することができる映像信号処理装置の提供を目的とする。
【0031】
【課題を解決するための手段】
拡大処理モード時におけるエッジ強調回路を示す式7をフィルタ係数K=−1として展開、変形すると式1で示すことができる。
-1+K(−(1−Z-12/4)
=Z-1+K(−1/4+Z-1/2−Z-2/4)
=Z-1+1/4−Z-1/2+Z-2/4
=(1+Z-12/4 ・・・式1
この式1は、縮小処理モード時のプリフィルタ回路を示す上述の式6、即ち、
(1+Z-12/4
と、同じ式である。
【0032】
即ち、エッジ強調回路を示す式7は、フィルタ係数Kの値を変化させることにより、プリフィルタ回路を示す式6となる。従って、本発明に係る映像信号処理装置では、エッジ強調とプリフィルタとを同一回路で行う。これにより、上述の課題の解決を実現する。
【0033】
また、共一次内挿による画素の補間において、補間データZの周辺の4点の原画素データA,B,C,Dとし、また、補間係数をα、βとして、上記補間データZを求める式8を乗算が最も少なくなるように変形すると、式2で表すことができる。
Figure 0003684588
ここで、上記式2において、
1=α(B−A)+A ・・・式3
2=α(D−C)+C ・・・式4
と、置き換えると式5で表すことができる。
【0034】
Z=β(Z2−Z1)+Z2 ・・・式5
従って、本発明に係る映像信号処理装置では、式5の演算により補間データZを求める際の乗算を3回とする。これにより、上述の課題の解決を実現する。
【0037】
すなわち、本発明に係る映像信号処理装置は、入力映像信号にフィルタリング処理を施す第1の信号処理回路と、上記第1の信号処理回路を介して供給される入力映像信号を記憶する記憶手段と、上記記憶手段に記憶された入力映像信号に拡大/縮小処理を施す第2の信号処理回路と、上記第1の信号処理回路と上記記憶手段と上記第2の信号処理回路の動作を制御する制御手段とから成る映像信号処理装置であって、上記第1の信号処理回路は、入力映像信号が供給されるハイパスフィルタと、上記制御手段から供給されるモード情報により、上記第2の信号処理回路の動作モードに連動して、拡大処理モード時には拡大率に応じた値の正のフィルタ係数を発生し、縮小処理モード時には縮小率に応じた値の負のフィルタ係数を発生するフィルタ係数発生回路と、上記ハイパスフィルタにより取り出された入力映像信号中の高域信号に上記フィルタ係数発生回路により与えられたフィルタ係数を乗算する乗算器と、入力映像信号と上記乗算器による乗算出力とを加算してフィルタリング処理済みの映像信号を出力する加算器とから成り、上記記憶手段は、上記第1の信号処理回路からのフィルタリング処理が施された入力映像信号を一旦メモリに格納し、上記制御手段から供給されるモード情報により、拡大処理モード時には上記メモリから映像信号を繰り返し読出し、縮小処理モード時には上記メモリから間引き読出しを行い、その読み出した映像信号を第2の信号処理回路に出力し、上記第2の信号処理回路は、上記記憶手段からの出力映像信号における4点の原画素データをA,B,C,Dとし、補間係数をα,βとして、上記原画素データAと上記原画素データBに対して、上述の式3の演算により演算データZを求めて出力する第1の演算部と、上記原画素データCと上記原画素データDに対して、上述の式4の演算により演算データZを求めて出力する第2の演算部と、上記第1の演算部から供給される演算データZと上記第2の演算部から供給される演算データZに対して、上述の式5の演算により補間データZを求めて出力する第3の演算部とから成り、共一次内挿により上記補間データZを求めることを特徴とする。
【0038】
【作用】
本発明に係る映像信号処理装置では、
本発明に係る映像信号処理装置では、第1の信号処理回路のフィルタ係数発生回路は、制御手段から供給されるモード情報により、第2の信号処理回路の動作モードに連動して、拡大処理モード時には拡大率に応じた値の正のフィルタ係数を発生し、縮小処理モード時には縮小率に応じた値の負のフィルタ係数を発生し、乗算器は、入力映像信号が供給されるハイパスフィルタにより取り出された入力映像信号中の高域信号に上記フィルタ係数発生回路により与えられたフィルタ係数を乗算し、加算器は、入力映像信号と上記乗算器による乗算出力とを加算してフィルタリング処理済みの映像信号を出力する。
そして、記憶手段は、第1の信号処理回路からのフィルタリング処理が施された入力映像信号を一旦メモリに格納し、制御手段から供給されるモード情報により、拡大処理モード時には上記メモリから映像信号を繰り返し読出し、縮小処理モード時には上記メモリから間引き読出しを行い、その読み出した映像信号を第2の信号処理回路に出力し、第2の信号処理回路の第1の演算部は、上記記憶手段からの出力映像信号における4点の原画素データをA,B,C,Dとし、補間係数をα,βとして、上記原画素データAと上記原画素データBに対して、上述の式3、即ち、Z =α(B−A)+Aなるの演算により演算データZを求めて出力する。第2の信号処理回路の第2の演算部は、上記原画素データCと上記原画素データDに対して、上述の式4、即ち、Z =α(D−C)+Cなる演算により演算データZを求めて出力する。第2の信号処理回路の第3の演算部は、上記第1の演算部から供給される演算データZと上記第2の演算部から供給される演算データZに対して、上述の式5、即ち、Z =β(Z−Z)+Zなる演算により補間データZを求めて出力する。
【0041】
【実施例】
以下、本発明に係る映像信号処理装置の一実施例について図面を参照しながら説明する。
【0042】
本発明に係る映像信号処理装置は、図1に示すように、レンズ1と、CCD(Charge coupled device)イメージャ2と、サンプル/ホールド(以下、S/Hと言う。)・AGC(Automatic Gain Control)回路3と、アナログ/デジタル(以下、A/Dと言う。)変換器4と、カメラ・ビデオ信号処理部5と、フィルタリング処理及び共一次内挿による拡大/縮小処理を施すメモリシステム6と、上記メモリシステムの動作を制御するマイコン7と、ビデオ信号処理部8と、デジタル/アナログ(以下、D/Aと言う。)変換器9,13と、記録アンプ10と、ビデオヘッド11とで構成されている。
【0043】
まず、上述のような構成をした映像信号処理装置におけるフィルタリング処理、拡大/縮小処理について説明する。
【0044】
上記メモリシステム6には、上記マイコン7から、拡大処理モード、或は、縮小処理モード、及び、その倍率等のモード情報が与えられる。このモード情報に基いて、上記メモリシステム6は、入力映像信号にフィルタリング処理、及び、拡大/縮小処理を施す。
【0045】
上記メモリシステム6は、図2に示すように、入力映像信号にフィルタリング処理を施す第1の信号処理回路61と、上記第1の信号処理回路61によりフィルタリング処理が施された映像信号を記憶する記憶手段62と、上記記憶手段62に記憶された映像信号に拡大/縮小処理を施す第2の信号処理回路63とで構成されている。
【0046】
ここで、上記マイコン7からのモード情報は、上記第1の信号処理回路61と上記記憶手段62と上記第2の信号処理回路63とに各々供給される。これにより、上記第1の信号処理回路61は、上記第2の信号処理回路63の動作モードに連動してフィルタリング処理を行う。
【0047】
上記第1の信号処理回路61の具体的な説明をする。
【0048】
上記第1の信号処理回路61は、同一回路で、拡大処理モード時にはプリフィルタ処理を施し、縮小処理モード時には、エッジ強調を施すものである。
【0049】
即ち、第1の信号処理回路61は、図3に示すように、入力映像信号にハイパスの特性を与えるハイパスフィルタ回路611と、上記マイコン7からのモード情報に応じて拡大処理モード時には拡大率に応じた値の正のフィルタ係数を発生し、縮小処理モード時には縮小率に応じた値の負のフィルタ係数Kを発生するフィルタ係数発生回路612と、上記ハイパスフィルタ回路611により取り出された入力映像信号中の高域信号に上記フィルタ係数発生回路612からのフィルタ係数Kを乗算する乗算器613と、上記ハイパスフィルタ回路611からの入力映像信号と上記乗算器613による乗算出力とを加算する加算器614とで構成されている。
【0050】
また、上記ハイパスフィルタ611回路は、入力映像信号に1Hディレイさせる第1,第2の1Hディレイライン回路615,616と、入力映像信号と上記第1のディレイ回路615と上記第2のディレイ回路616とを介して出力される2Hディレイされた映像信号とを加算する加算器617と、上記加算器617からの映像信号と上記第1のディレイ回路615からの1Hディレイされた映像信号とを加算する加算器618とで構成されている。
【0051】
ここで、加算器617による加算出力の信号レベルは、加算処理により入力映像信号のレベルに対して2倍となる。このため、上記第1のディレイ回路615からの映像信号を加算器618に供給する際に、上記映像信号は、図示していない増幅器等により上記映像信号のレベルが2倍にされて加算器618に供給される。また、上記加算器618による加算出力の信号レベルは、さらに倍になるため、即ち、入力映像信号のレベルに対して4倍となる。このため、図示していないが、減衰器等により上記加算器618による加算出力の信号レベルを1/4に減衰してすることにより、入力映像信号のレベルと同レベルの信号を出力する。
【0052】
上述のような加算処理を行うことで、上記ハイパスフィルタ回路611は、入力映像信号にハイパスの特性を与えている。
【0053】
上記フィルタ係数発生回路612は、上記マイコン7からのモード情報に基いて、フィルタ係数Kの極性を切換えると共に、その処理モードの倍率に応じてフィルタ係数Kの値を変化させ、拡大処理モード時には正の値のフィルタ係数Kを発生し、縮小処理モード時には負の値のフィルタ係数Kを発生するものである。
【0054】
具体的に説明すると、図4に示すように、フィルタ係数Kの値が、K=−1〜0でプリフィルタとなり、0以上でエッジ強調用のバンドパスフィルタとなる。このようなフィルタ特性を利用して、上記フィルタ係数発生回路612は、モード情報に応じたフィルタ係数Kを発生して、そのフィルタ係数Kを乗算器613に供給する。
【0055】
上述のような構成とした第1の信号処理回路61の動作を説明する。
【0056】
第1の信号処理回路61に入力された入力映像信号は、第1のディレイ回路615と加算器617とに供給される。上記第1のディレイ回路615により1Hディレイされた映像信号は、第2のディレイ回路616と加算器614と加算器618に各々供給される。ここで、上記第1のディレイ回路615から上記加算器618に供給される映像信号のレベルは、上述した増幅器等により2倍の信号レベルの映像信号となる。上記第2のディレイ回路616は、上記第1のディレイ回路615からの1Hディレイされた映像信号をさらに1Hディレイさせ上記加算器617に供給する。上記加算器617は、入力映像信号と上記第2のディレイ回路616からの2Hディレイされた映像信号とを加算する。
【0057】
上記加算器618は、上記加算器617による加算出力と、上記加算出力の信号レベルと同レベルとなった上記第1のディレイ回路615からの映像信号とを加算する。上記加算器618による加算出力の信号レベルは、上述した減衰器等により、1/4に減衰することにより入力映像信号のレベルと同レベルの映像信号に戻して乗算器613に出力する。
【0058】
ここで、フィルタ係数発生回路612は、マイコン7からのモード情報に応じたフィルタ係数Kを発生して上記乗算器612に供給する。上記乗算器612は、信号レベルが1/4となった上記加算器618による加算出力に上記フィルタ係数発生回路612からのフィルタ係数Kを乗算する。上記加算器614は、上記第1のディレイ回路615からの1Hディレイした映像信号と上記乗算器による乗算出力とを加算して、その加算出力をフィルタリング処理が施された映像信号として出力する。
【0059】
上述のように、本実施例においては、フィルタ係数Kの極性を、上記フィルタ係数発生回路612により、拡大処理モード時には正に、縮小処理モード時には負に切り換える。即ち、上記第1の信号処理回路61は、上述の式7、即ち、
-1+K((2Z-1−(1+Z-2))/4)
=Z-1+K(−(1−Z-12/4)
で表される。
【0060】
例えば、縮小処理モードの場合において、フィルタ係数K=−1として上述の式7を展開、変形すると上述の式1、即ち、
-1+K(−(1−Z-12/4)
=Z-1+K(−1/4+Z-1/2−Z-2/4)
=Z-1+1/4−Z-1/2+Z-2/4
=(1+Z-12/4
となる。これは、上述した縮小処理モード時のプリフィルタを示す式6と同式である。
【0061】
従って、上記第1の信号処理回路61は、マイコン7からのモード情報に応じてフィルタ係数Kの極性を切換え、また、拡大/縮小の倍率に応じてフィルタ係数Kの値を変化させることにより、同一の回路で拡大処理モード時のエッジ強調と縮小処理モード時のプリフィルタを行う。これにより、上記フィルタリング処理を施すための制御ソフトを簡易化することができ、ハードウェアの規模を削減することができる。特に、垂直方向の信号処理において、エッジ強調、或は、プリフィルタ処理を施す場合、ディレイ回路の兼用ができるため、ハードウェアの規模をさらに削減することができる。また、1つの回路ブロックで縮小から拡大まで倍率に応じてスムーズな画質補正を施すことができる。
【0062】
次に、上記記憶手段62の具体的な説明をする。
【0063】
上記記憶手段62には、上記第1の信号処理回路からのフィルタリング処理が施された入力映像信号を一旦メモリに格納し、マイコン7からのモード情報に応じて、拡大処理モード時には上記メモリから映像信号を繰り返し読出し、縮小処理モード時には上記メモリから間引き読出しを行い、その読み出した映像信号を第2の信号処理回路63に出力するものである。
【0064】
即ち、上記記憶手段62は、図4に示すように、垂直方向の映像信号の読出し制御を行うための3ポートフィールドメモリ621と、上記フィールドメモリ621へのデータの書き込みを制御するメモリライトコントローラ622と、上記フィールドメモリ621からのデータの読出しを制御するメモリリードコントローラ623と、水平方向の映像信号の読出し制御を行うためのSRAM(Static Random Access Memory)624,625と、上記SRAM624,625へのデータの書き込みを制御するメモリライトコントローラ626と、上記SRAM624,625からのデータの読出しを制御するメモリリードコントローラ627とで構成されている。
【0065】
例えば、拡大率が2倍の画像拡大処理を行う場合の説明をする。
【0066】
画像拡大処理を行う場合、フィールドメモリ621にて垂直方向の映像信号の繰り返し読出しを行う。図6に示すように、補間データZ01を得るために、メモリライトコントローラ622の制御により、ラインデータ1とラインデータ2とをフィールドメモリ621に書き込む。この時、上記メモリライトコントローラ622は、上記ラインデータ1とラインデータ2とを各々独立に制御する。同様にして、次の補間データZ02を得るために、ラインデータ1とラインデータ2を、さらに次の補間データZ03を得るために、ラインデータ2とラインデータ3をフィールドメモリ621に書き込む。このようにして、フィールドメモリ621からラインデータを読み出す場合、読出しラインデータOUT1,OUT2が、ラインデータ1,2、1,2、2,3、2,3、3,4、3,4となるようにフィールドメモリ621全てに書き込む。
【0067】
上記フィールドメモリ621に書き込まれたラインデータは、メモリリードコントローラ623の制御により、読出しラインデータOUT1はSRAM624に、読出しラインデータOUT2はSRAM625に各々読み出される。この時、上記メモリリードコントローラ623は、上記ラインデータOUT1とラインデータOUT2とを各々独立に制御する。ここで、図7に示すように、上述のようなフィールドメモリ621へのラインデータの書き込みは、フィールドメモリ621のアドレスと上記フィールドメモリ31への書き込み時間との関係が傾き1となるようなタイミングで書き込む。そして、上記フィールドメモリ621からのラインデータの読出し時は、書き込み時のフィールドメモリ621のアドレスと上記フィールドメモリ621への書き込み時間との関係が傾き1に対して、メモリのセンターSを中心に上記傾きが1/2となるようなタイミングで読み出す。このように傾き1/2でラインデータを読み出すことにより、映像信号の垂直方向を2倍に拡大する。
【0068】
上述のようにして読出しラインデータOUT1,OUT2が各々読み出されるSRAM624,625においては、水平方向の映像信号の繰り返し読出し制御が行われる。図8に示すように、例えば、上記フィールドメモリ621からSRAM624に読み出されるラインデータOUT1(=ラインデータ1)において、補間データZH01を得るために、メモリライトコントローラ626の制御により原画素データL11と原画素データL12とをSRAM624に書き込む。同様にして、次の補間データZH02を得るために、原画素データL11と原画素データL12を、さらに次の補間データZH03を得るために、原画素データLH12と原画素データLH13をSRAM624に書き込む。この時、SRAM625おける水平方向の映像信号の繰り返し読出し制御も、上述のSRAM624おける水平方向の繰り返し読出し制御と同様にして、SRAM625に原画素データが書き込まれる。
【0069】
上記SRAM624,625に書き込まれた原画素データは、メモリリードコントローラ627の制御により第2の信号処理回路63に各々読み出される。この時、メモリリードコントローラ37は読出し原画素データが、L11,L12、L11,L12、LH12,LH13、LH12,LH13、LH13,LH14、LH13,LH14となるように制御する。ここで、上述のような、SRAM34,35への画素データの書き込みと、SRAM624,625からの画素データの読出しの関係は、上記図7に示したフィールドメモリ621における書き込み、読出しの関係において、時間軸の単位がフィールドから1走査線(H)に変わる以外は同様である。従って、映像信号の垂直方向の読出しと同様に、傾き1/2で原画素データを読み出すことにより、映像信号の水平方向を2倍に拡大する。
【0070】
また、例えば、縮小率が1/2倍の画像縮小処理を行う場合の説明をする。
【0071】
画像拡大処理において映像信号の繰り返し読出しを行うのに対して、画像縮小処理においては、映像信号の間引き読出しを行う。図9に示すように、補間データZ010を得るために、メモリライトコントローラ622の制御により、ラインデータ1とラインデータ2をフィールドメモリ621に書き込む。同様にして、次の補間データZ011を得るために、ラインデータ3とラインデータ4を、さらに次の補間データZ013を得るために、ラインデータ5とラインデータ6をフィールドメモリ621に書き込む。このようにして、フィールドメモリ621からラインデータを読み出す場合、読出しラインデータOUT1,OUT2が、ラインデータ1,2、3,4、5,6となるようにフィールドメモリ621全てに書き込む。
【0072】
上記フィールドメモリ621に書き込まれたラインデータは、メモリリードコントローラ623の制御により、読出しラインデータOUT1はSRAM624に、読出しラインデータOUT2はSRAM625に各々読み出される。ここで、図10に示すように、拡大処理時と同様に、フィールドメモリ621へのラインデータの書き込みは、フィールドメモリ621のアドレスと上記フィールドメモリ621へに書き込み時間との関係が傾き1となるようなタイミングで書き込む。そして、SRAM624,625への上記ラインデータの読出し時は、書き込み時のフィールドメモリ621のアドレスと上記フィールドメモリ621への書き込み時間との関係が傾き1に対して、メモリのセンターSを中心に上記傾きが2となるようなタイミングで読み出す。このように傾き2で読み出すことにより、映像信号の垂直方向を1/2倍に縮小する。
【0073】
水平方向も同様にして、映像信号の間引き読出しを行い、映像信号の水平方向を1/2倍に縮小する。
【0074】
上述のようにして上記記憶手段62において、拡大処理モード、或は、縮小処理モードに応じた読出し方法で読み出された映像信号は、第2の信号処理回路63において、共一次内挿による補間が行われ拡大、或は、縮小補間画が得られる。
【0075】
上記第2の信号処理回路63の具体的な説明をする。
【0076】
上記第2の信号処理回路63は、上述した共一次内挿により上記記憶手段62により読み出された映像信号に補間を行い、拡大、或は、縮小した映像信号を生成する回路である。
【0077】
共一次内挿により画素の補間を行う場合、上述したように、補間データZを求める上述の式8は上述の式2、即ち、
Figure 0003684588
となる。
【0078】
この式2を、乗算が最も少なくなるように変形する。上記式2において、上述の式3、式4、即ち、
1=α(B−A)+A
2=α(D−C)+C
と、置き換えると上述の式5、即ち、
Z=β(Z2−Z1)+Z2
のように表すことができる。
【0079】
即ち、上記第2の信号処理回路63は、図11に示すように、上記記憶手段62からの入力映像信号に対し、4点の原画素データをA,B,C,Dとし、補間係数をα,βとして、上記原画素データAと上記原画素データBに対して、式3により演算データZ1を求めて出力する第1の演算部631と、上記原画素データCと上記原画素データDに対して、式4により演算データZ2を求めて出力する第2の演算部632と、上記第1の演算部631から供給される演算データZ1と上記第2の演算部632から供給される演算データZ2に対して、式5により補間データZを求めて出力する第3の演算部633とから構成されている。
【0080】
第1の演算部631は、原画素データAが入力される入力端子104と、原画素データBが入力される入力端子105と、上記入力端子104を介して入力された原画素データAと上記入力端子105を介して入力された原画素データBとを加算する加算器101と、上記加算器101による加算出力に補間係数αを乗算する乗算器102と、上記乗算器102による乗算出力と上記入力端子104を介して入力された原画素データAとを加算する加算器103とで構成されている。
【0081】
第2の演算部632は、原画素データCが入力される入力端子114と、原画素データDが入力される入力端子115と、上記入力端子114を介して入力された原画素データCと上記入力端子115を介して入力された原画素データDとを加算する加算器111と、上記加算器111による加算出力に補間係数αを乗算する乗算器112と、上記乗算器112による乗算出力と上記入力端子114を介して入力された原画素データCとを加算する加算器113とで構成されている。
【0082】
第3の演算部633は、上記第1の演算部631による演算データZ1と上記第2の演算部632による演算データZ2とを加算する加算器121と、上記加算器121による加算出力に補間係数βを乗算する乗算器122と、上記第1の演算部631による演算データZ1と上記乗算器122による乗算出力とを加算する加算器123とで構成されている。
【0083】
上述のような構成をした上記第2の信号処理回路63の動作を説明する。
【0084】
上記記憶手段62からの入力映像信号の原画素データAと原画素データBは、第1の演算部631の入力端子104,105に、また、上記入力映像信号の原画素データCと原画素データDは、第2の演算部632の入力端子114,115に各々供給される。
【0085】
上記演算部631の加算器101は、入力端子104を介して入力された原画素データAと入力端子105を介して入力された原画素データBとを加算する。上記乗算器102は、上記加算器101による加算出力に補間係数αを乗算する。上記加算機103は、上記乗算器102による乗算出力と上記入力端子104を介して入力された原画素データAとを加算し、その加算出力を演算データZ1として第3の演算部633に供給する。
【0086】
一方、上記第2の演算部632の加算器111は、入力端子114を介して入力された原画素データCと入力端子115を介して入力された原画素データDとを加算する。上記乗算器112は、上記加算器111による加算出力に補間係数αを乗算する。上記加算機113は、上記乗算器112による乗算出力と上記入力端子114を介して入力された原画素データCとを加算し、その加算出力を演算データZ2として上記第3の演算部633に供給する。
【0087】
上記第3の演算部633の加算器121は、上記第1の演算部631からの演算データZ1と、上記第2の演算部632からの演算データZ2とを加算する。上記乗算器122は、上記加算器121による加算出力に補間係数βを乗算する。上記加算機123は、上記乗算器122による乗算出力と上記第1の演算部631からの演算データZ1とを加算して、その加算出力を補間データZとして出力する。
【0088】
上述のように、共一次内挿による補間を行う第2の信号処理回路は、乗算器3個と加算器6個とで構成されている。即ち、乗算器の個数を従来に比べて3〜5個削減することができる。
【0089】
具体的に言うと、ここで、原画素データを8ビット、補間係数を8ビットとし、乗算器1個あたり約700ゲートとする。例えば、上述した式9においては、乗算器は6個必要であった。これを3個削減することができるので、即ち、700×3=2100ゲート削減することができる。従って、ハードウェアの規模を削減することができる。
【0090】
上述のような構成をしたフィルタリング処理を施す第1の信号処理回路61と、上記第1の信号処理回路61によりフィルタリング処理が施された映像信号を記憶する記憶手段62と、上記記憶手段62に記憶された映像信号に拡大/縮小処理を施す第2本発明にの信号処理回路63とを備える映像信号処理装置の動作を上記図1を用いて説明する。
【0091】
レンズ1を通してCCDイメージャ2に蓄えられた映像信号は、S/H,AGC回路3に供給される。上記S/H・AGC回路3は、上記CCDイメージャ2からの映像信号のレベル調整等を行い、その映像信号をA/D変換器4に供給する。上記A/D変換器4は、上記S/H・AGC回路3からの映像信号をデジタル化し、その映像信号をカメラ・ビデオ信号処理部5に供給する。上記カメラ・ビデオ信号処理部5は、上記A/D変換器4からの映像信号にガンマ、ホワイトバランス等のカメラ信号処理を施し、その映像信号をメモリシステム6に供給する。上記メモリシステム6は、上記カメラ・ビデオ信号処理部8からの映像信号にフィルタリング処理、共一次内挿による拡大、或は、縮小処理を施しビデオ信号処理部8に供給する。この時、上記メモリシステム6における拡大、或は、縮小処理は、マイコン7からのモード情報に基いて行われる。
【0092】
ここで、モニタ出力モードの場合、上記ビデオ信号処理部8は、上記メモリシステム6により共一次内挿による拡大/縮小処理が施された映像信号をコンポジット映像信号として成形して、その映像信号をD/A変換器13に供給する。上記D/A変換器13は、上記ビデオ信号処理部57からの映像信号をアナログ化してモニタに出力する。
【0093】
また、記録モードの場合、上記ビデオ信号処理部8は、上記メモリシステム6により共一次内挿による拡大/縮小処理が施された映像信号に、エンファシス、FM変調、低域変換等のビデオ信号処理を施して、その映像信号をD/A変換器9に供給する。上記D/A変換器9は、上記ビデオ信号処理部57からの映像信号をアナログ化して記録アンプ10に供給する。上記D/A変換器9からの映像信号は、記録アンプ10を介してビデオヘッド11に供給され、電磁変換によりテープ12に記録される。
【0094】
【発明の効果】
本発明に係る映像信号処理装置では、第1の信号処理回路のフィルタ係数発生回路は、制御手段から供給されるモード情報により、第2の信号処理回路の動作モードに連動して、拡大処理モード時には拡大率に応じた値の正のフィルタ係数を発生し、縮小処理モード時には縮小率に応じた値の負のフィルタ係数を発生し、乗算器は、入力映像信号が供給されるハイパスフィルタにより取り出された入力映像信号中の高域信号に上記フィルタ係数発生回路により与えられたフィルタ係数を乗算し、加算器は、入力映像信号と上記乗算器による乗算出力とを加算してフィルタリング処理済みの映像信号を出力する。そして、記憶手段は、第1の信号処理回路からのフィルタリング処理が施された入力映像信号を一旦メモリに格納し、制御手段から供給されるモード情報により、拡大処理モード時には上記メモリから映像信号を繰り返し読出し、縮小処理モード時には上記メモリから間引き読出しを行い、その読み出した映像信号を第2の信号処理回路に出力し、第2の信号処理回路の第1の演算部は、上記記憶手段からの出力映像信号における4点の原画素データをA,B,C,Dとし、補間係数をα,βとして、上記原画素データAと上記原画素データBに対して、上述の式3、即ち、Z =α(B−A)+Aなるの演算により演算データZを求めて出力する。第2の信号処理回路の第2の演算部は、上記原画素データCと上記原画素データDに対して、上述の式4、即ち、Z =α(D−C)+Cなる演算により演算データZを求めて出力する。第2の信号処理回路の第3の演算部は、上記第1の演算部から供給される演算データZと上記第2の演算部から供給される演算データZに対して、上述の式5、即ち、Z =β(Z−Z)+Zなる演算により補間データZを求めて出力する。これにより、補間、間引きによる画質劣化の補正回路を共通化して、制御ソフトを簡易化することができると共に、ハードウェアの規模を削減することができる。また、画像拡大/縮小等の共一次内挿による補間を行う補間回路の構成を簡易化して、ハードウェアの規模をさらに削減することができる。
【図面の簡単な説明】
【図1】本発明に係る映像信号処理装置の構成を示す図である。
【図2】本発明に係る映像信号処理装置のメモリシステムの構成を示す図である。
【図3】本発明に係る映像信号処理装置の第1の信号処理回路の構成を示す図である。
【図4】フィルタ特性を表す図である。
【図5】本発明に係る映像信号処理装置の記憶手段の構成を示す図である。
【図6】2倍拡大処理時の垂直方向の繰り返し読出しを説明するための図である。
【図7】垂直方向の繰り返し読出し処理時におけるメモリへの書き込み、及び、メモリからの読出しのタイミングを表す図である。
【図8】2倍拡大処理時の水平方向の繰り返し読出しを説明するための図である。
【図9】1/2倍縮小処理時の間引き読出しを説明するための図である。
【図10】垂直方向の間引き読出し処理時におけるメモリへの書き込み、及び、メモリからの読出しのタイミングを表す図である。
【図11】本発明に係る映像信号処理装置の第2の信号処理回路の構成を示す図である。
【図12】従来のフィルタリング処理を施す回路構成を示す図である。
【図13】共一次内挿を説明するための図である。
【図14】従来の加算器8個を備えた共一次内挿の回路構成を示す図である。
【図15】従来の加算器6個を備えた共一次内挿の回路構成を示す図である。
【符号の説明】
1 レンズ
2 CCDイメージャ
3 S/H・AGC回路
4 A/D変換器
5 カメラ/ビデオ信号処理部
6 メモリシステム
7 マイコン
8 ビデオ信号処理部
9,13 D/A変換器
10 記録アンプ
11 磁気ヘッド
12 テープ
61 第1の信号処理回路
62 記憶手段
63 第2の信号処理回路[0001]
[Industrial application fields]
The present invention relates to a video signal processing apparatus having image enlargement and image reduction functions, and more particularly to a video signal processing apparatus that performs image enlargement and image reduction processing by a bilinear interpolation method.
[0002]
[Prior art]
For example, in a studio, cameras, video tape recorders, still image devices, electronic image generation devices, input relay materials from other studios, etc. can be switched, mixed, or processed with added value while superimposing characters. There is a so-called switcher, a video sub-adjustment device that is a device for producing a completed program. Some of the switchers have a large number of inputs and a large number of digital special effect devices. One of the functions of the digital special effect device is an electronic zoom function for enlarging and reducing an image, and the signal processing is performed by a high-speed microprocessor based on a frame memory.
[0003]
When enlarging or reducing an image in the above digital special effect device, the video signal processing device performs edge enhancement at the time of image enlargement or at the time of screen reduction on the video signal subjected to digitization processing, video signal processing, etc. Pre-filter processing is performed to prevent image quality from being inferior due to folding at the time of screen reduction. Then, the video signal subjected to the filtering process as described above is subjected to interpolation by bilinear interpolation (Bi-Linear), and a video signal obtained by enlarging or reducing the image is generated.
[0004]
The edge enhancement at the time of image reduction (hereinafter referred to as a reduction processing mode) and the prefilter processing at the time of image enlargement (hereinafter referred to as an enlargement processing mode) are performed by independent signal processing circuits.
[0005]
For example, when signal processing in the vertical direction is performed, the signal processing circuit includes a pre-filter circuit 210 and an edge enhancement circuit 220 as shown in FIG.
[0006]
The pre-filter circuit 210 has an input terminal 211 to which a video signal is input, and a first and second delay that delays the video signal input through the input terminal 211 by one scanning line (hereinafter referred to as H). Delay circuits 214 and 215, and an addition for adding the 2H-delayed video signal output through the first delay circuit 214 and the second delay circuit 215 and the video signal input through the input terminal 211 The adder 216 adds the 1H-delayed video signal from the first delay circuit 214 and the video signal from the adder 216, and the addition output from the adder 217 is prefiltered. It comprises an output terminal 212 that outputs as a video signal and an output terminal 213 that outputs the video signal from the first delay circuit 214.
[0007]
The edge emphasis circuit 220 is controlled by a microcomputer (not shown) (hereinafter referred to as a microcomputer), depending on the enlargement processing mode or the reduction processing mode. A switch 221 for switching the connection to the output terminal 213, first and second delay circuits 224 and 225 for delaying a video signal supplied via the switch 221 by 1H, and the first delay circuit 224 An adder 226 for adding the 2H-delayed video signal output via the second delay circuit 225 and the video signal input via the switch 221 and 1H delay from the first delay circuit 224 An adder 227 that adds the video signal and the video signal from the adder 226; and the video signal from the adder 227 Is multiplied by a coefficient corresponding to the processing mode, an adder 228 that adds the video signal delayed by 1H from the first delay circuit 224 and the video signal from the multiplier 222, and the adder 228. And an output terminal 223 for outputting a video signal subjected to filtering processing.
[0008]
The operation of the prefilter circuit 210 will be described.
[0009]
The video signal input via the input terminal 211 is supplied to the first delay circuit 214 and the adder 216. The first delay circuit 214 delays the video signal input via the input terminal 211 by 1H, supplies the video signal to the second delay circuit 215 and the adder 217, and outputs the video signal via the output terminal 213. Output. The second delay circuit 215 further delays the video signal delayed by 1H by the first delay circuit 214 by 1H, and supplies the video signal to the adder 216. The adder 216 adds the video signal output via the first delay circuit 214 and the second delay circuit 215 and the video signal input via the input terminal 211.
[0010]
Here, the signal level of the addition output by the adder 216 is doubled with respect to the level of the video signal input through the input terminal 211 by the addition process. Therefore, when the video signal from the first delay circuit 214 is supplied to the adder 217, the level of the video signal is doubled by an amplifier (not shown) or the like and supplied to the adder 217. Therefore, the adder 217 adds the video signal from the first delay circuit 214 at the same level and the addition output from the adder 216.
[0011]
Further, the signal level of the addition output by the adder 217 is further doubled by the addition processing, that is, four times the level of the video signal input through the input terminal 211. Therefore, when the addition output from the adder 217 is output via the output terminal 212, the signal level of the addition output is attenuated to ¼ by an attenuator (not shown). Therefore, a video signal having the same level as that of the video signal input via the input terminal 211 is output from the output terminal 212.
[0012]
The prefilter circuit 210 configured as described above can be expressed by Equation 6.
((1 + Z-2) + 2Z-1) / 4
= (1 + Z-1)2/ 4 Formula 6
[0013]
Next, the operation in the edge enhancement circuit 220 will be described.
[0014]
For example, in the enlargement processing mode, the switch 221 is connected to the output terminal 213 of the prefilter circuit 210 under the control of the microcomputer. That is, the edge enhancement circuit 220 is supplied with a video signal that has not been prefiltered.
[0015]
The video signal input via the switch 221 is supplied to the first delay circuit 224 and the adder 226. The first delay circuit 224 delays the video signal input via the switch 221 by 1H, and supplies the video signal to the second delay circuit 225, the adder 227, and the adder 228, respectively. The second delay circuit 225 further delays the video signal delayed by 1H from the first delay circuit 224 by 1H, and supplies the video signal to the adder 226. The adder 226 adds the video signal delayed by 2H from the second delay circuit 225 and the video signal input via the switch 221.
[0016]
Here, similarly to the adjustment of the signal level of the addition output in the pre-filter circuit 210, when the video signal from the first delay circuit 224 is supplied to the adder 227, the video is output by an amplifier (not shown) or the like. The signal level is doubled and supplied to the adder 227. Therefore, the adder 227 adds the video signal from the first delay circuit 224 at the same level and the addition output from the adder 226. Further, when the addition output from the adder 227 is supplied to the multiplier 222, the signal level of the addition output is attenuated to ¼ by an attenuator or the like (not shown). Accordingly, the multiplier 222 is supplied with a video signal having the same level as that of the video signal input via the switch 221.
[0017]
The multiplier 222 multiplies the video signal from the adder 227 by a filter coefficient K. Here, the filter coefficient K takes a positive value at the edge enhancement level. The adder 228 adds the video signal delayed by 1H from the first delay circuit 224 and the multiplication output from the multiplier 222. The addition output by the adder 228 is output as a video signal subjected to filtering processing via an output terminal 223.
[0018]
Therefore, the edge enhancement circuit 220 configured as described above can be expressed by Equation 7.
Z-1+ K ((2Z-1-(1 + Z-2) / 4)
= Z-1+ K (-(1-Z-1)2/ 4) ... Formula 7
[0019]
Further, in the reduction processing mode, it is connected to the output terminal 212 of the prefilter circuit 210. Accordingly, the edge enhancement circuit 220 is supplied with a video signal that has been subjected to prefiltering. The operation in this case is the same as that in the above-described enlargement processing mode. However, in the multiplier 222, since the level of the input video signal is not the edge enhancement level, the value of the filter coefficient K is zero. Accordingly, a video signal subjected only to prefiltering is output via the output terminal 223.
[0020]
The video signal that has been subjected to the filtering process as described above is interpolated by a bilinear interpolation method, and an enlarged or reduced video signal is generated.
[0021]
The bilinear interpolation method is, for example, a method of linearly interpolating four original pixel data A, B, C, and D around the interpolation data Z when creating interpolation data Z as shown in FIG. It is. When the image is reduced by using this bilinear interpolation method, the interpolation point, that is, the interpolation data Z and the next interpolation data ZPIs larger than the interval between the original pixel data, that is, the interval between the original pixel data A and the original pixel data B. On the contrary, when the image is enlarged, the interpolation point becomes narrower than the interval of the original pixel data. In this way, four original pixel data A, B, C, and D are generated from the four peripheral points of the interpolation data Z and rearranged in the same arrangement as the original image, thereby reducing or enlarging the image.
[0022]
When pixel interpolation is performed by the bilinear interpolation method as described above, an equation for obtaining the interpolation data Z is expressed by Equation 8 with interpolation coefficients α and β.
Z = (1-α) (1-β) A + α (1-β) B + β (1-α) C + αβD Expression 8
[0023]
[Problems to be solved by the invention]
However, as described above, the signal processing circuits that perform edge enhancement and pre-filter processing have independent circuit configurations, and thus operation control of each circuit must be performed independently. That is, since the edge emphasis circuit and the prefilter circuit must be controlled independently, the control software is complicated.
[0024]
Furthermore, the configuration shown in FIG. 12 is a configuration in the case of signal processing in the vertical direction, and in the case of signal processing in the horizontal direction, the first and second delay circuits 214 and 215 of the prefilter circuit 210, and Instead of the first and second delay circuits 224 and 225 of the edge emphasis circuit 220, each becomes a latch circuit, so that the scale of hardware has become very large.
[0025]
Further, when performing interpolation by the bilinear interpolation method, the above equation 8 for obtaining the interpolation data Z needs to be multiplied eight times. Therefore, the circuit configuration of Equation 8 requires eight multipliers 230 to 237 as shown in FIG.
[0026]
Alternatively, Equation 8 can be expressed as Equation 9, but the circuit configuration of Equation 9 requires six multipliers 240 to 245 as shown in FIG.
Figure 0003684588
[0027]
That is, in the conventional bilinear interpolation circuit configuration, 6 to 8 multipliers are required. Here, when considering hardware, the multiplier in LSI (Large Scale Integration) has a large number of gates, and thus the multiplier is very large. Since 6 to 8 such multipliers are required, the scale of hardware has become very large.
[0028]
Accordingly, the present invention has been made in view of the above-described conventional situation and has the following objects.
[0029]
That is, according to the present invention, the control software can be simplified and the scale of the hardware can be reduced by sharing a correction circuit for image quality deterioration due to interpolation and thinning in the image enlargement / reduction processing. An object is to provide a video signal processing apparatus.
[0030]
It is another object of the present invention to provide a video signal processing apparatus capable of reducing the scale of hardware by simplifying the configuration of an interpolation circuit that performs interpolation by bilinear interpolation such as image enlargement / reduction. To do.
[0031]
[Means for Solving the Problems]
Expression 7 representing the edge emphasis circuit in the enlargement processing mode can be expressed by Expression 1 when developed and transformed with the filter coefficient K = -1.
Z-1+ K (-(1-Z-1)2/ 4)
= Z-1+ K (-1 / 4 + Z-1/ 2-Z-2/ 4)
= Z-1+ 1 / 4-Z-1/ 2 + Z-2/ 4
= (1 + Z-1)2/ 4 ... Formula 1
This expression 1 is the above-described expression 6 showing the prefilter circuit in the reduction processing mode, that is,
(1 + Z-1)2/ 4
And the same formula.
[0032]
That is, Expression 7 indicating the edge enhancement circuit becomes Expression 6 indicating the prefilter circuit by changing the value of the filter coefficient K. Therefore, in the video signal processing apparatus according to the present invention, edge enhancement and prefiltering are performed by the same circuit. Thereby, the solution of the above-mentioned subject is realized.
[0033]
In addition, in the interpolation of pixels by bilinear interpolation, the original pixel data A, B, C, and D around the interpolation data Z are used, and the interpolation data Z is obtained by using the interpolation coefficients α and β. If 8 is transformed so as to minimize the multiplication, it can be expressed by Equation 2.
Figure 0003684588
Here, in the above equation 2,
Z1= Α (B−A) + A Equation 3
Z2= Α (D−C) + C Equation 4
When replaced, it can be expressed by Equation 5.
[0034]
Z = β (Z2-Z1) + Z2                               ... Formula 5
Therefore, in the video signal processing apparatus according to the present invention, the multiplication for obtaining the interpolation data Z by the calculation of Expression 5 is three times. Thereby, the solution of the above-mentioned subject is realized.
[0037]
  That is, the video signal processing apparatus according to the present invention isA first signal processing circuit that performs filtering processing on the input video signal, and the first video signal supplied via the first signal processing circuitStorage means for storing the input video signal and enlargement / reduction processing for the input video signal stored in the storage meansSecondSignal processing circuit, Control means for controlling the operation of the first signal processing circuit, the storage means, and the second signal processing circuit;A video signal processing apparatus comprising:The first signal processing circuit is coupled with the operation mode of the second signal processing circuit in the expansion processing mode by the high-pass filter to which the input video signal is supplied and the mode information supplied from the control means. A filter coefficient generating circuit for generating a positive filter coefficient having a value corresponding to the enlargement ratio and generating a negative filter coefficient having a value corresponding to the reduction ratio in the reduction processing mode; and an input video signal extracted by the high-pass filter. A multiplier for multiplying the high-frequency signal by the filter coefficient given by the filter coefficient generation circuit, and an adder for adding the input video signal and the multiplication output by the multiplier to output a filtered video signal; The storage means temporarily stores the input video signal subjected to the filtering process from the first signal processing circuit in the memory, Based on the mode information supplied from the control means, the video signal is repeatedly read out from the memory in the enlargement processing mode, and the thinned-out readout is performed from the memory in the reduction processing mode, and the read video signal is output to the second signal processing circuit ,the aboveSecondThe signal processing circuit includes the storage means.Output fromFor video signalCanThe four points of original pixel data are A, B, C, and D, and the interpolation coefficients are α and β.1For the original pixel data C and the original pixel data D, the calculation data Z is calculated by the calculation of the above equation 4.2And a calculation data Z supplied from the first calculation unit.1And calculation data Z supplied from the second calculation unit2On the other hand, it comprises a third calculation unit that calculates and outputs the interpolation data Z by the calculation of the above-described formula 5, and is characterized in that the interpolation data Z is determined by bilinear interpolation.
[0038]
[Action]
  In the video signal processing apparatus according to the present invention,
  In the video signal processing apparatus according to the present invention,The filter coefficient generation circuit of the first signal processing circuit is linked to the operation mode of the second signal processing circuit in accordance with the mode information supplied from the control means, and has a positive value corresponding to the enlargement ratio in the enlargement processing mode. A filter coefficient is generated, and a negative filter coefficient having a value corresponding to the reduction ratio is generated in the reduction processing mode. The multiplier is a high-frequency signal in the input video signal extracted by the high-pass filter to which the input video signal is supplied. Is multiplied by the filter coefficient given by the filter coefficient generating circuit, and the adder adds the input video signal and the multiplication output by the multiplier to output a filtered video signal.
  The storage means temporarily stores the input video signal subjected to the filtering process from the first signal processing circuit in the memory, and receives the video signal from the memory in the expansion processing mode according to the mode information supplied from the control means. In the repeated reading / reduction processing mode, thinning-out reading is performed from the memory, and the read video signal is output to the second signal processing circuit.The first calculation unit of the signal processing circuit includes the storage unit.Output fromFor video signalCanWith respect to the original pixel data A and the original pixel data B, the above-described Expression 3, that is, Z, where the four points of original pixel data are A, B, C, and D, and the interpolation coefficients are α and β.1  = Z (B-A) + A1Is output.SecondThe second calculation unit of the signal processing circuit performs the above-described Expression 4, that is, Z for the original pixel data C and the original pixel data D.2  = Calculation data Z by calculation of α (D−C) + C2Is output.SecondThe third calculation unit of the signal processing circuit includes calculation data Z supplied from the first calculation unit.1And calculation data Z supplied from the second calculation unit2For the above equation 5, that is, Z = β (Z2-Z1) + Z2Interpolation data Z is obtained and output by the following calculation.
[0041]
【Example】
An embodiment of a video signal processing apparatus according to the present invention will be described below with reference to the drawings.
[0042]
As shown in FIG. 1, a video signal processing apparatus according to the present invention includes a lens 1, a CCD (Charge coupled device) imager 2, a sample / hold (hereinafter referred to as S / H), AGC (Automatic Gain Control). ) Circuit 3, analog / digital (hereinafter referred to as A / D) converter 4, camera / video signal processing unit 5, memory system 6 for performing enlargement / reduction processing by filtering processing and bilinear interpolation A microcomputer 7 for controlling the operation of the memory system, a video signal processing unit 8, digital / analog (hereinafter referred to as D / A) converters 9, 13, a recording amplifier 10 and a video head 11. It is configured.
[0043]
First, filtering processing and enlargement / reduction processing in the video signal processing apparatus configured as described above will be described.
[0044]
The memory system 6 is given from the microcomputer 7 mode information such as an enlargement processing mode or a reduction processing mode and its magnification. Based on this mode information, the memory system 6 performs filtering processing and enlargement / reduction processing on the input video signal.
[0045]
As shown in FIG. 2, the memory system 6 stores a first signal processing circuit 61 that performs a filtering process on an input video signal, and a video signal that has been subjected to a filtering process by the first signal processing circuit 61. The storage unit 62 and a second signal processing circuit 63 that performs an enlargement / reduction process on the video signal stored in the storage unit 62 are configured.
[0046]
Here, the mode information from the microcomputer 7 is supplied to the first signal processing circuit 61, the storage means 62, and the second signal processing circuit 63, respectively. Thereby, the first signal processing circuit 61 performs a filtering process in conjunction with the operation mode of the second signal processing circuit 63.
[0047]
The first signal processing circuit 61 will be specifically described.
[0048]
The first signal processing circuit 61 is the same circuit, and performs prefilter processing in the enlargement processing mode and edge enhancement in the reduction processing mode.
[0049]
That is, as shown in FIG. 3, the first signal processing circuit 61 has a high-pass filter circuit 611 that gives a high-pass characteristic to the input video signal and an enlargement ratio in the enlargement processing mode according to the mode information from the microcomputer 7. A filter coefficient generation circuit 612 that generates a positive filter coefficient corresponding to the value and generates a negative filter coefficient K corresponding to the reduction ratio in the reduction processing mode, and an input video signal extracted by the high-pass filter circuit 611 A multiplier 613 that multiplies the middle high-frequency signal by the filter coefficient K from the filter coefficient generation circuit 612, and an adder 614 that adds the input video signal from the high-pass filter circuit 611 and the multiplication output by the multiplier 613. It consists of and.
[0050]
The high-pass filter 611 circuit includes first and second 1H delay line circuits 615 and 616 that delay the input video signal by 1H, the input video signal, the first delay circuit 615, and the second delay circuit 616. The adder 617 for adding the 2H-delayed video signal output via the adder, and the video signal from the adder 617 and the 1H-delayed video signal from the first delay circuit 615 are added. And an adder 618.
[0051]
Here, the signal level of the addition output by the adder 617 is doubled with respect to the level of the input video signal by the addition process. Therefore, when the video signal from the first delay circuit 615 is supplied to the adder 618, the level of the video signal is doubled by an amplifier or the like (not shown) and the adder 618 is added. To be supplied. Further, the signal level of the addition output by the adder 618 is further doubled, that is, four times the level of the input video signal. For this reason, although not shown, the signal level of the addition output by the adder 618 is attenuated to ¼ by an attenuator or the like, thereby outputting a signal having the same level as the input video signal level.
[0052]
By performing the addition processing as described above, the high-pass filter circuit 611 gives high-pass characteristics to the input video signal.
[0053]
The filter coefficient generation circuit 612 switches the polarity of the filter coefficient K based on the mode information from the microcomputer 7 and changes the value of the filter coefficient K according to the magnification of the processing mode. The filter coefficient K having a negative value is generated, and the filter coefficient K having a negative value is generated in the reduction processing mode.
[0054]
More specifically, as shown in FIG. 4, when the value of the filter coefficient K is K = −1 to 0, it becomes a pre-filter, and when it is 0 or more, it becomes a band-pass filter for edge enhancement. Using the filter characteristics, the filter coefficient generation circuit 612 generates a filter coefficient K corresponding to the mode information and supplies the filter coefficient K to the multiplier 613.
[0055]
The operation of the first signal processing circuit 61 configured as described above will be described.
[0056]
The input video signal input to the first signal processing circuit 61 is supplied to the first delay circuit 615 and the adder 617. The video signal delayed by 1H by the first delay circuit 615 is supplied to the second delay circuit 616, the adder 614, and the adder 618, respectively. Here, the level of the video signal supplied from the first delay circuit 615 to the adder 618 becomes a video signal having a doubled signal level by the above-described amplifier or the like. The second delay circuit 616 further delays the 1H-delayed video signal from the first delay circuit 615 by 1H and supplies it to the adder 617. The adder 617 adds the input video signal and the video signal delayed by 2H from the second delay circuit 616.
[0057]
The adder 618 adds the addition output from the adder 617 and the video signal from the first delay circuit 615 having the same level as the signal level of the addition output. The signal level of the addition output by the adder 618 is attenuated to ¼ by the above-described attenuator or the like to return to the video signal having the same level as the level of the input video signal and output to the multiplier 613.
[0058]
Here, the filter coefficient generation circuit 612 generates a filter coefficient K corresponding to the mode information from the microcomputer 7 and supplies it to the multiplier 612. The multiplier 612 multiplies the addition output from the adder 618 whose signal level has become ¼ with the filter coefficient K from the filter coefficient generation circuit 612. The adder 614 adds the 1H-delayed video signal from the first delay circuit 615 and the multiplication output by the multiplier, and outputs the addition output as a filtered video signal.
[0059]
As described above, in this embodiment, the polarity of the filter coefficient K is switched to positive in the enlargement processing mode and negative in the reduction processing mode by the filter coefficient generation circuit 612. That is, the first signal processing circuit 61 has the above-described equation 7, that is,
Z-1+ K ((2Z-1-(1 + Z-2) / 4)
= Z-1+ K (-(1-Z-1)2/ 4)
It is represented by
[0060]
For example, in the reduction processing mode, when the above equation 7 is expanded and modified with the filter coefficient K = −1, the above equation 1, ie,
Z-1+ K (-(1-Z-1)2/ 4)
= Z-1+ K (-1 / 4 + Z-1/ 2-Z-2/ 4)
= Z-1+ 1 / 4-Z-1/ 2 + Z-2/ 4
= (1 + Z-1)2/ 4
It becomes. This is the same expression as Expression 6 indicating the prefilter in the reduction processing mode described above.
[0061]
Accordingly, the first signal processing circuit 61 switches the polarity of the filter coefficient K in accordance with the mode information from the microcomputer 7 and changes the value of the filter coefficient K in accordance with the enlargement / reduction magnification. Edge enhancement in the enlargement processing mode and prefiltering in the reduction processing mode are performed with the same circuit. Thereby, the control software for performing the filtering process can be simplified, and the hardware scale can be reduced. In particular, when edge enhancement or prefilter processing is performed in vertical signal processing, the delay circuit can also be used, so that the hardware scale can be further reduced. In addition, smooth image quality correction can be performed according to the magnification from reduction to enlargement in one circuit block.
[0062]
Next, the storage unit 62 will be specifically described.
[0063]
The storage means 62 temporarily stores the input video signal subjected to the filtering processing from the first signal processing circuit in the memory, and from the memory in the expansion processing mode according to the mode information from the microcomputer 7. In the reduction processing mode, the signal is repeatedly read out and thinned out from the memory, and the read video signal is output to the second signal processing circuit 63.
[0064]
That is, as shown in FIG. 4, the storage means 62 includes a three-port field memory 621 for performing vertical video signal readout control and a memory write controller 622 for controlling data writing to the field memory 621. A memory read controller 623 for controlling the reading of data from the field memory 621, a static random access memory (SRAM) 624, 625 for performing a horizontal video signal reading control, and the SRAM 624, 625. The memory write controller 626 controls data writing, and the memory read controller 627 controls data reading from the SRAMs 624 and 625.
[0065]
For example, a case where an image enlargement process with an enlargement ratio of 2 is performed will be described.
[0066]
When performing the image enlargement process, the field memory 621 repeatedly reads out the video signal in the vertical direction. As shown in FIG.01Therefore, line data 1 and line data 2 are written into the field memory 621 under the control of the memory write controller 622. At this time, the memory write controller 622 controls the line data 1 and the line data 2 independently of each other. Similarly, the next interpolation data Z02In order to obtain line data 1 and line data 2, the following interpolation data Z03In order to obtain this, the line data 2 and the line data 3 are written in the field memory 621. In this way, when line data is read from the field memory 621, the read line data OUT1 and OUT2 become line data 1, 2, 1, 2, 2, 3, 2, 3, 3, 4, 3, 4. Thus, all the field memories 621 are written.
[0067]
Under the control of the memory read controller 623, the read line data OUT1 is read to the SRAM 624 and the read line data OUT2 is read to the SRAM 625, respectively, with respect to the line data written in the field memory 621. At this time, the memory read controller 623 controls the line data OUT1 and the line data OUT2 independently of each other. Here, as shown in FIG. 7, the writing of the line data to the field memory 621 as described above is a timing at which the relationship between the address of the field memory 621 and the writing time to the field memory 31 has a slope of 1. Write in. When the line data is read from the field memory 621, the relationship between the address of the field memory 621 at the time of writing and the writing time to the field memory 621 is 1 with respect to the slope S with respect to the center S of the memory. Reading is performed at such a timing that the inclination becomes 1/2. In this way, by reading the line data with a slope of 1/2, the vertical direction of the video signal is doubled.
[0068]
In the SRAMs 624 and 625 from which the readout line data OUT1 and OUT2 are respectively read out as described above, horizontal video signal readout control is performed. As shown in FIG. 8, for example, in the line data OUT1 (= line data 1) read from the field memory 621 to the SRAM 624, the interpolation data ZH01In order to obtain the original pixel data L under the control of the memory write controller 62611And original pixel data L12Are written in the SRAM 624. Similarly, the next interpolation data ZH02In order to obtain the original pixel data L11And original pixel data L12Further interpolation data ZH03In order to obtain the original pixel data LH12And original pixel data LH13Is written to the SRAM 624. At this time, in the horizontal readout control of the horizontal direction video signal in the SRAM 625, the original pixel data is written in the SRAM 625 in the same manner as the horizontal readout control in the SRAM 624 described above.
[0069]
The original pixel data written in the SRAMs 624 and 625 are read out to the second signal processing circuit 63 under the control of the memory read controller 627, respectively. At this time, the memory read controller 37 reads the read original pixel data as L11, L12, L11, L12, LH12, LH13, LH12, LH13, LH13, LH14, LH13, LH14Control to be Here, the relationship between the writing of the pixel data to the SRAMs 34 and 35 and the reading of the pixel data from the SRAMs 624 and 625 as described above is the time of the writing and reading in the field memory 621 shown in FIG. This is the same except that the unit of the axis is changed from the field to one scanning line (H). Therefore, the horizontal direction of the video signal is doubled by reading the original pixel data with a slope of 1/2, as in the vertical reading of the video signal.
[0070]
Further, for example, a description will be given of a case where image reduction processing with a reduction ratio of 1/2 is performed.
[0071]
The video signal is repeatedly read out in the image enlargement process, while the video signal is thinned out in the image reduction process. As shown in FIG.010Therefore, line data 1 and line data 2 are written into the field memory 621 under the control of the memory write controller 622. Similarly, the next interpolation data Z011In order to obtain line data 3 and line data 4, further interpolation data Z013In order to obtain this, the line data 5 and the line data 6 are written in the field memory 621. In this way, when line data is read from the field memory 621, the read line data OUT1 and OUT2 are written to all the field memories 621 so as to become line data 1, 2, 3, 4, 5, and 6.
[0072]
Under the control of the memory read controller 623, the read line data OUT1 is read to the SRAM 624 and the read line data OUT2 is read to the SRAM 625, respectively, with respect to the line data written in the field memory 621. Here, as shown in FIG. 10, the line data is written to the field memory 621 as in the enlargement process, and the relationship between the address of the field memory 621 and the write time to the field memory 621 has a slope of 1. Write at such timing. At the time of reading the line data to the SRAMs 624 and 625, the relationship between the address of the field memory 621 at the time of writing and the writing time to the field memory 621 is 1 with respect to the inclination S of the memory center S. Reading is performed at such a timing that the inclination becomes 2. Thus, by reading out with the inclination 2, the vertical direction of the video signal is reduced to ½ times.
[0073]
Similarly, the video signal is thinned and read out in the horizontal direction, and the horizontal direction of the video signal is reduced to 1/2.
[0074]
As described above, the second signal processing circuit 63 interpolates the video signal read out by the storage means 62 by the reading method according to the enlargement processing mode or the reduction processing mode by bilinear interpolation. And an enlarged or reduced interpolation image is obtained.
[0075]
The second signal processing circuit 63 will be specifically described.
[0076]
The second signal processing circuit 63 is a circuit that performs interpolation on the video signal read out by the storage means 62 by the bilinear interpolation described above, and generates an enlarged or reduced video signal.
[0077]
When performing pixel interpolation by bilinear interpolation, as described above, the above equation 8 for obtaining the interpolation data Z is the above equation 2, that is,
Figure 0003684588
It becomes.
[0078]
Equation 2 is modified so that the multiplication is minimized. In the above formula 2, the above formula 3, formula 4, that is,
Z1= Α (B−A) + A
Z2= Α (D−C) + C
And, when replaced, the above-mentioned formula 5, that is,
Z = β (Z2-Z1) + Z2
It can be expressed as
[0079]
That is, as shown in FIG. 11, the second signal processing circuit 63 sets the four-point original pixel data as A, B, C, and D with respect to the input video signal from the storage means 62 and sets the interpolation coefficient. As α and β, for the original pixel data A and the original pixel data B, the operation data Z1For the first calculation unit 631 for obtaining and outputting the original pixel data C and the original pixel data D, the calculation data Z2The second calculation unit 632 for obtaining and outputting the calculation data Z supplied from the first calculation unit 6311And calculation data Z supplied from the second calculation unit 6322On the other hand, it comprises a third arithmetic unit 633 that obtains and outputs the interpolation data Z according to Equation 5.
[0080]
The first calculation unit 631 includes an input terminal 104 to which original pixel data A is input, an input terminal 105 to which original pixel data B is input, original pixel data A input through the input terminal 104, and the above An adder 101 that adds the original pixel data B input via the input terminal 105, a multiplier 102 that multiplies the addition output by the adder 101 by an interpolation coefficient α, a multiplication output by the multiplier 102, and the above It comprises an adder 103 that adds the original pixel data A input via the input terminal 104.
[0081]
The second calculation unit 632 includes an input terminal 114 to which the original pixel data C is input, an input terminal 115 to which the original pixel data D is input, the original pixel data C input through the input terminal 114, and the above An adder 111 for adding the original pixel data D input via the input terminal 115; a multiplier 112 for multiplying the addition output by the adder 111 by an interpolation coefficient α; a multiplication output by the multiplier 112; It comprises an adder 113 that adds the original pixel data C input via the input terminal 114.
[0082]
The third calculation unit 633 is a calculation data Z obtained by the first calculation unit 631.1And calculation data Z by the second calculation unit 6322, An adder 121 for multiplying the addition output from the adder 121 by an interpolation coefficient β, and operation data Z by the first operation unit 6311And an adder 123 for adding the multiplication output of the multiplier 122.
[0083]
The operation of the second signal processing circuit 63 configured as described above will be described.
[0084]
The original pixel data A and the original pixel data B of the input video signal from the storage means 62 are input to the input terminals 104 and 105 of the first arithmetic unit 631, and the original pixel data C and the original pixel data of the input video signal. D is supplied to the input terminals 114 and 115 of the second arithmetic unit 632, respectively.
[0085]
The adder 101 of the arithmetic unit 631 adds the original pixel data A input via the input terminal 104 and the original pixel data B input via the input terminal 105. The multiplier 102 multiplies the addition output from the adder 101 by an interpolation coefficient α. The adder 103 adds the multiplication output from the multiplier 102 and the original pixel data A input via the input terminal 104, and outputs the addition output to the operation data Z1To the third arithmetic unit 633.
[0086]
On the other hand, the adder 111 of the second arithmetic unit 632 adds the original pixel data C input via the input terminal 114 and the original pixel data D input via the input terminal 115. The multiplier 112 multiplies the addition output from the adder 111 by an interpolation coefficient α. The adder 113 adds the multiplication output from the multiplier 112 and the original pixel data C input via the input terminal 114, and outputs the addition output to the operation data Z2To the third arithmetic unit 633.
[0087]
The adder 121 of the third calculation unit 633 is the calculation data Z from the first calculation unit 631.1And the calculation data Z from the second calculation unit 6322And add. The multiplier 122 multiplies the addition output from the adder 121 by an interpolation coefficient β. The adder 123 outputs the multiplication output from the multiplier 122 and the calculation data Z from the first calculation unit 631.1And the addition output is output as interpolation data Z.
[0088]
As described above, the second signal processing circuit that performs interpolation by bilinear interpolation is composed of three multipliers and six adders. That is, the number of multipliers can be reduced by 3 to 5 compared to the conventional case.
[0089]
More specifically, here, the original pixel data is 8 bits, the interpolation coefficient is 8 bits, and about 700 gates per multiplier. For example, in Equation 9 described above, six multipliers are required. Since three of these can be reduced, that is, 700 × 3 = 2100 gates can be reduced. Therefore, the hardware scale can be reduced.
[0090]
The first signal processing circuit 61 that performs the filtering process configured as described above, the storage unit 62 that stores the video signal filtered by the first signal processing circuit 61, and the storage unit 62 The operation of the video signal processing apparatus including the signal processing circuit 63 according to the second aspect of the present invention that performs the enlargement / reduction processing on the stored video signal will be described with reference to FIG.
[0091]
The video signal stored in the CCD imager 2 through the lens 1 is supplied to the S / H and AGC circuit 3. The S / H • AGC circuit 3 adjusts the level of the video signal from the CCD imager 2 and supplies the video signal to the A / D converter 4. The A / D converter 4 digitizes the video signal from the S / H • AGC circuit 3 and supplies the video signal to the camera / video signal processing unit 5. The camera / video signal processing unit 5 performs camera signal processing such as gamma and white balance on the video signal from the A / D converter 4 and supplies the video signal to the memory system 6. The memory system 6 supplies the video signal from the camera / video signal processing unit 8 to the video signal processing unit 8 after filtering processing, enlargement by bilinear interpolation, or reduction processing. At this time, enlargement or reduction processing in the memory system 6 is performed based on mode information from the microcomputer 7.
[0092]
Here, in the case of the monitor output mode, the video signal processing unit 8 shapes the video signal that has been subjected to the enlargement / reduction processing by the linear interpolation by the memory system 6 as a composite video signal, and converts the video signal into the composite video signal. This is supplied to the D / A converter 13. The D / A converter 13 converts the video signal from the video signal processing unit 57 into an analog signal and outputs it to a monitor.
[0093]
In the recording mode, the video signal processing unit 8 performs video signal processing such as emphasis, FM modulation, and low-frequency conversion on the video signal that has been subjected to enlargement / reduction processing by bilinear interpolation by the memory system 6. And the video signal is supplied to the D / A converter 9. The D / A converter 9 converts the video signal from the video signal processing unit 57 into an analog signal and supplies it to the recording amplifier 10. The video signal from the D / A converter 9 is supplied to the video head 11 via the recording amplifier 10 and recorded on the tape 12 by electromagnetic conversion.
[0094]
【The invention's effect】
  In the video signal processing apparatus according to the present invention,The filter coefficient generation circuit of the first signal processing circuit is linked to the operation mode of the second signal processing circuit in accordance with the mode information supplied from the control means, and has a positive value corresponding to the enlargement ratio in the enlargement processing mode. A filter coefficient is generated, and a negative filter coefficient having a value corresponding to the reduction ratio is generated in the reduction processing mode. The multiplier is a high-frequency signal in the input video signal extracted by the high-pass filter to which the input video signal is supplied. Is multiplied by the filter coefficient given by the filter coefficient generating circuit, and the adder adds the input video signal and the multiplication output by the multiplier to output a filtered video signal. The storage means temporarily stores the input video signal subjected to the filtering process from the first signal processing circuit in the memory, and receives the video signal from the memory in the expansion processing mode according to the mode information supplied from the control means. In the repeated reading / reduction processing mode, thinning-out reading is performed from the memory, and the read video signal is output to the second signal processing circuit.The first calculation unit of the signal processing circuit includes the storage unit.Output fromFor video signalCanWith respect to the original pixel data A and the original pixel data B, the above-described Expression 3, that is, Z, where the four points of original pixel data are A, B, C, and D, and the interpolation coefficients are α and β.1  = Z (B-A) + A1Is output.SecondThe second calculation unit of the signal processing circuit performs the above-described Expression 4, that is, Z for the original pixel data C and the original pixel data D.2  = Calculation data Z by calculation of α (D−C) + C2Is output.SecondThe third calculation unit of the signal processing circuit includes calculation data Z supplied from the first calculation unit.1And calculation data Z supplied from the second calculation unit2For the above equation 5, that is, Z = β (Z2-Z1) + Z2Interpolation data Z is obtained and output by the following calculation.This makes it possible to share a correction circuit for image quality deterioration due to interpolation and thinning, simplify the control software, and reduce the scale of hardware. Also,Simplified configuration of interpolation circuit that performs interpolation by bilinear interpolation such as image enlargement / reductiondo it,The size of the hardwarefurtherCan be reduced.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a video signal processing apparatus according to the present invention.
FIG. 2 is a diagram showing a configuration of a memory system of a video signal processing apparatus according to the present invention.
FIG. 3 is a diagram showing a configuration of a first signal processing circuit of the video signal processing apparatus according to the present invention.
FIG. 4 is a diagram illustrating filter characteristics.
FIG. 5 is a diagram showing a configuration of storage means of the video signal processing apparatus according to the present invention.
FIG. 6 is a diagram for explaining repetitive reading in the vertical direction during double enlargement processing;
FIG. 7 is a diagram illustrating the timing of writing to the memory and reading from the memory during repetitive reading processing in the vertical direction.
FIG. 8 is a diagram for explaining repeated horizontal reading at the time of double enlargement processing;
FIG. 9 is a diagram for explaining thinning readout at the time of 1/2 reduction processing.
FIG. 10 is a diagram illustrating the timing of writing to the memory and reading from the memory during thinning-out readout processing in the vertical direction.
FIG. 11 is a diagram showing a configuration of a second signal processing circuit of the video signal processing apparatus according to the present invention.
FIG. 12 is a diagram showing a circuit configuration for performing a conventional filtering process.
FIG. 13 is a diagram for explaining bilinear interpolation.
FIG. 14 is a diagram showing a circuit configuration of bilinear interpolation including eight conventional adders.
FIG. 15 is a diagram showing a circuit configuration of bilinear interpolation including six conventional adders.
[Explanation of symbols]
1 lens
2 CCD imager
3 S / H • AGC circuit
4 A / D converter
5 Camera / Video signal processor
6 Memory system
7 Microcomputer
8 Video signal processor
9,13 D / A converter
10 Recording amplifier
11 Magnetic head
12 tapes
61 First signal processing circuit
62 Memory means
63 Second signal processing circuit

Claims (1)

入力映像信号にフィルタリング処理を施す第1の信号処理回路と、上記第1の信号処理回路を介して供給される入力映像信号を記憶する記憶手段と、上記記憶手段に記憶された入力映像信号に拡大/縮小処理を施す第2の信号処理回路と、上記第1の信号処理回路と上記記憶手段と上記第2の信号処理回路の動作を制御する制御手段とから成る映像信号処理装置であって、
上記第1の信号処理回路は、入力映像信号が供給されるハイパスフィルタと、上記制御手段から供給されるモード情報により、上記第2の信号処理回路の動作モードに連動して、拡大処理モード時には拡大率に応じた値の正のフィルタ係数を発生し、縮小処理モード時には縮小率に応じた値の負のフィルタ係数を発生するフィルタ係数発生回路と、上記ハイパスフィルタにより取り出された入力映像信号中の高域信号に上記フィルタ係数発生回路により与えられたフィルタ係数を乗算する乗算器と、入力映像信号と上記乗算器による乗算出力とを加算してフィルタリング処理済みの映像信号を出力する加算器とから成り、
上記記憶手段は、上記第1の信号処理回路からのフィルタリング処理が施された入力映像信号を一旦メモリに格納し、上記制御手段から供給されるモード情報により、拡大処理モード時には上記メモリから映像信号を繰り返し読出し、縮小処理モード時には上記メモリから間引き読出しを行い、その読み出した映像信号を第2の信号処理回路に出力し、
上記第2の信号処理回路は、
上記記憶手段からの出力映像信号における4点の原画素データをA,B,C,Dとし、補間係数をα,βとして、上記原画素データAと上記原画素データBに対して、
=α(B−A)+A
なる演算により演算データZを求めて出力する第1の演算部と、
上記原画素データCと上記原画素データDに対して、
=α(D−C)+C
なる演算により演算データZを求めて出力する第2の演算部と、
上記第1の演算部から供給される演算データZと上記第2の演算部から供給される演算データZに対して、
Z =β(Z−Z)+Z
なる演算により補間データZを求めて出力する第3の演算部とから成り、
共一次内挿により上記補間データZを求めることを特徴とする映像信号処理装置。
A first signal processing circuit for performing a filtering process on the input video signal; a storage means for storing the input video signal supplied via the first signal processing circuit; and an input video signal stored in the storage means. a second signal processing circuit for performing enlargement / reduction processing, a video signal processing apparatus comprising a control means for controlling the operation of said first signal processing circuit and the storage means and the second signal processing circuit ,
The first signal processing circuit is coupled with the operation mode of the second signal processing circuit according to the high-pass filter to which the input video signal is supplied and the mode information supplied from the control unit, and is in the expansion processing mode. A filter coefficient generation circuit for generating a positive filter coefficient having a value corresponding to the enlargement ratio and generating a negative filter coefficient having a value corresponding to the reduction ratio in the reduction processing mode; and an input video signal extracted by the high-pass filter. A multiplier that multiplies the high-frequency signal by the filter coefficient given by the filter coefficient generation circuit, and an adder that adds the input video signal and the multiplication output by the multiplier to output a filtered video signal; Consisting of
The storage means temporarily stores the input video signal subjected to the filtering processing from the first signal processing circuit in the memory, and from the memory signal in the expansion processing mode according to the mode information supplied from the control means. Is read out repeatedly, and in the reduction processing mode, thinning out reading is performed from the memory, and the read video signal is output to the second signal processing circuit.
The second signal processing circuit includes:
The original pixel data of the four points definitive output video signal from the storage means A, B, C, is D, the interpolation coefficients alpha, beta, with respect to the original pixel data A and the original pixel data B,
Z 1 = α (B−A) + A
A first calculation unit that calculates and outputs the calculation data Z 1 by the calculation:
For the original pixel data C and the original pixel data D,
Z 2 = α (D−C) + C
A second calculation unit that obtains and outputs the calculation data Z 2 by the calculation:
For the calculation data Z 1 supplied from the first calculation unit and the calculation data Z 2 supplied from the second calculation unit,
Z = β (Z 2 −Z 1 ) + Z 2
A third calculation unit that obtains and outputs the interpolation data Z by the following calculation:
A video signal processing apparatus characterized in that the interpolation data Z is obtained by bilinear interpolation.
JP05911894A 1994-03-29 1994-03-29 Video signal processing device Expired - Fee Related JP3684588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05911894A JP3684588B2 (en) 1994-03-29 1994-03-29 Video signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05911894A JP3684588B2 (en) 1994-03-29 1994-03-29 Video signal processing device

Publications (2)

Publication Number Publication Date
JPH07274064A JPH07274064A (en) 1995-10-20
JP3684588B2 true JP3684588B2 (en) 2005-08-17

Family

ID=13104087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05911894A Expired - Fee Related JP3684588B2 (en) 1994-03-29 1994-03-29 Video signal processing device

Country Status (1)

Country Link
JP (1) JP3684588B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4345937B2 (en) * 1998-11-10 2009-10-14 キヤノン株式会社 Image enlargement processing circuit

Also Published As

Publication number Publication date
JPH07274064A (en) 1995-10-20

Similar Documents

Publication Publication Date Title
EP0641508B1 (en) Method and apparatus for enhancing sharpness of a sequence of images subject to continuous zoom
JP2946583B2 (en) Slow motion video signal generating apparatus and slow motion video signal generating method
JP2651412B2 (en) Image processing method
JP4593820B2 (en) Imaging apparatus, image processing apparatus, and image processing method
JPS58125957A (en) High visibility suppressing television video system
JP4410981B2 (en) Video signal processing apparatus and method
JPH06261238A (en) Image pickup device
JP3684588B2 (en) Video signal processing device
JP4048615B2 (en) Pixel number conversion device and digital camera device
JPH0927943A (en) Digital image recording and reproducing device
JP3939772B2 (en) Digital image processing device
JP2000209512A (en) Electronic zoom circuit
JP3972478B2 (en) Imaging device
JP3288776B2 (en) Imaging device
JPH07177407A (en) Image pickup device
JP2010206510A (en) Image capturing apparatus
JP3782510B2 (en) Image processing device
JP3499369B2 (en) Signal processing circuit for single-chip color camera
JP3237556B2 (en) Video processing device
JP2989701B2 (en) Image line interpolation circuit and imaging device
JPH1125265A (en) Device for reducing picture
JPH07245729A (en) Video signal processing method and video special effect device
JPH11168664A (en) Interpolation filter, electronic zoom device and camera-shake correction device
JPH0937215A (en) Compression interpolation circuit and video equipment with aspect conversion function
JPH08195936A (en) Slow image reproducing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041004

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: 20050510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050523

LAPS Cancellation because of no payment of annual fees