JP3982076B2 - Data processing apparatus and method - Google Patents

Data processing apparatus and method Download PDF

Info

Publication number
JP3982076B2
JP3982076B2 JP23328298A JP23328298A JP3982076B2 JP 3982076 B2 JP3982076 B2 JP 3982076B2 JP 23328298 A JP23328298 A JP 23328298A JP 23328298 A JP23328298 A JP 23328298A JP 3982076 B2 JP3982076 B2 JP 3982076B2
Authority
JP
Japan
Prior art keywords
data
sample
sampling
circuit
band
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
JP23328298A
Other languages
Japanese (ja)
Other versions
JP2000068854A (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 JP23328298A priority Critical patent/JP3982076B2/en
Publication of JP2000068854A publication Critical patent/JP2000068854A/en
Application granted granted Critical
Publication of JP3982076B2 publication Critical patent/JP3982076B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color Television Systems (AREA)
  • Television Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、入力データの標本化周波数とは異なる標本化周波数で標本化を行うデータ処理装置および方法に関する。
【0002】
【従来の技術】
近年、デジタル技術の発達により、各種の分野で符号化データのやりとりを行うことが多くなってきている。この場合、符号化データの伝送や記録に伴って、符号化データを異なる標本化規格に変換してデータのやり取りを行うことがある。
【0003】
ここで、デジタルテレビジョンの分野では、赤(R)、緑(G)、青(B)の3つの原色信号を輝度信号Yと2つの色差信号CR (R−Y),CB (B−Y)に変換した3つのデジタルコンポーネント信号をベースバンドとして用いている。このデジタルコンポーネント信号の標本化に関する標本化規格は、ITU−R(国際電気通信連合無線通信部門(旧CCIR(国際無線通信諮問委員会)))によって規格化されている。この標本化規格では、例えば、輝度信号と色差信号の各信号の標本化周波数の比が決められている。デジタルコンポーネント信号の伝送の規格に関しては、基本的に、各コンポーネント信号の標本化周波数の比が、4:2:2となるような方式(輝度信号の標本化周波数に対して、各色差信号の標本化周波数を半分にして標本化を行う方式)が規定されている。この方式では、輝度信号の標本化周波数に13.5MHzが用いられ、各色差信号の標本化周波数に6.75MHzが用いられる。このとき、各信号の信号帯域は、shannonの標本化定理により、標本化周波数を半分にした値となり、輝度信号の信号帯域が6.75MHz,色差信号の信号帯域が3.375MHzである。なお、ITU−Rでは、各コンポーネント信号の標本化周波数の比が、4:4:4となるような方式も規定しており、この場合には、全ての信号の標本化周波数が13.5MHzである。
【0004】
一方、デジタルコンポーネント信号等の符号化データを記録するデジタルビデオカセット(以下、DVCという)等においては、上述の4:2:2方式とは異なる標本化規格が定められている。DVCにおいては、通常、上述の4:2:2方式のコンポーネント信号に対して、更に、色差信号の帯域を1/2に削減して標本化が行われる。このとき、画面の水平方向に帯域制限を行う方式が4:1:1方式であり、垂直方向に帯域制限を行う方式が4:2:0方式である。この場合、例えば、4:1:1方式においては、輝度信号の標本化周波数に13.5MHzが用いられ、色差信号の標本化周波数に3.375MHzが用いられる。このとき、輝度信号の信号帯域は6.75MHzであり、色差信号の信号帯域は1.6875MHzである。
【0005】
このように、デジタルコンポーネント信号の伝送等における標本化規格(4:2:2方式)と、DVC等における標本化規格とでは、規格が異なっているため、通常、インタフェースによって伝送されたコンポーネント信号をDVCに記録する場合には、4:2:2方式から4:1:1方式(または4:2:0方式)へと標本化規格のフォーマット変換を行う必要がある(以下、このような標本化規格のフォーマット変換のことをサンプル変換という。)。ここで、前述のように4:2:2方式から4:1:1方式へのサンプル変換を行う場合には、色差信号の標本化周波数を4:2:2方式の標本化周波数Fsの半分(Fs/2)にして標本化が行われる。このときに、標本化周波数を低くしたことに伴って折り返し雑音が生じることを避けるため、例えば、入力信号に対して標本化周波数Fs/2の半分の周波数帯域の信号を制限するような帯域制限処理が行われる。このように帯域制限処理を行うことにより、折り返し雑音の影響は低減される。このようにサンプル変換されることにより、例えば、4:2:2方式のデータにおいて、標本化に伴ってM個のサンプル点(標本化された点)があったとすると、4:1:1方式への変換によりM/2個のサンプル点が間引かれ、残りのM/2個のサンプル点が標本化後の保存点(以下、サンプル保存点という。)としてDVC等に記録される。
【0006】
また、4:1:1方式でDVC等に記録したデジタルコンポーネント信号を再生する場合には、4:1:1方式から4:2:2方式へとサンプル変換を行う必要がある。この場合には、一度帯域制限された色差信号の標本化周波数Fs /2を4:2:2方式の標本化周波数Fs にまで高めて標本化を行う。このときに、前述の4:1:1方式への変換により間引かれたサンプル点を補間するために、サンプル補間点を適宜挿入する補間処理が行われる。この補間処理において、サンプル補間点は、4:1:1方式によって記録されていた保存点に所定の演算処理を施すことによって求められる。
【0007】
【発明が解決しようとする課題】
上述したように、従来では、4:2:2方式から4:1:1方式(または4:2:0方式)へのサンプル変換において、色差信号の高周波成分を減衰する周波数帯域制限処理を行っている。この帯域制限処理は、入力されたデータが帯域制限処理されていないオリジナルのデータであれば、折り返し雑音の低減という点で有効であるが、例えば、入力されたデータが一度帯域制限処理を施されたデータであったとすれば、帯域制限フィルタの特性によりデータが劣化することになる。これは、帯域制限フィルタが有限なタップ数しか事実上持てないからである。これにより、従来では、4:2:2方式と4:1:1方式(または4:2:0方式)との間のサンプル変換をダビング処理(データの複製処理)等で繰り返すと、色差信号が帯域制限処理により劣化されていくという問題点がある。以下、このサンプル変換に伴うデータの劣化についてより具体的に説明する。
【0008】
図17は、複数回のサンプル変換を行った場合における符号化データの変化を示す説明図である。なお、以下の説明では、色差信号として、青を代表して説明するが、赤の場合も同様である。この図に示したサンプル変換においては、帯域制限フィルタとして以下の関数式(1)による3タップ・フィルタを用いた例を示している。この式(1)は、タップ数が3で、フィルタ係数が1/4,2/4,1/4のデジタルフィルタである。式(1)において、Bは、例えば、4:2:2方式で標本化されたオリジナルの青の色差信号を示しており、添え字によって、この色差信号Bのサンプル点の位置が示されている。色差信号Bの添え字におけるNは、任意の整数を示すものである。また、式(1)において、B’2Nは、例えば、オリジナルの色差信号Bに対して4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号を示している。
【0009】
B’2N =1/4・(B2N-1+2B2N+B2N+1)‥‥‥(1)
【0010】
また、図17に示したサンプル変換においては、以下の3タップ・フィルタの関数式(2)を用いた補間処理を行った例を示している。式(2)において、B’2N+1が、例えば、4:1:1方式から4:2:2方式に再標本化を行う場合に補間される補間点に相当する青の色差信号を示している。
【0011】

Figure 0003982076
【0012】
図17において、データD100 は、4:2:2方式で標本化されたオリジナルの青の色差信号(B2N-2,B2N-1,B2N,B2N+1,B2N+2,...)のデータを示している。また、データD101は、データD100に対してサンプル変換を行ったデータを示している。このデータD101 において、データDS11 は、オリジナルのデータD100 に対して式(1)を用いた帯域制限処理を伴う4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号(B’2N-2,B’2N,B’2N+2,...)のデータを示している。ここで保存された色差信号は、オリジナルのデータD100における偶数番目の色差信号(B2N-2,B2N,B2N+2,...)に対応する。すなわち、この例における4:1:1方式への変換では、オリジナルのデータD100 における奇数番目の信号(B2N-1,B2N+1,...)に対応する信号は保存されずに間引かれている。また、データD101 において、データDi11 は、4:1:1方式から4:2:2方式に再標本化を行う場合にデータDS11 に対して式(2)を用いて補間されるサンプル補間点に相当する青の色差信号(B’2N-1,B’2N+1,...)を示している。ここで補間された色差信号は、オリジナルのデータD100 における奇数番目の色差信号(B2N-1,B2N+1,...)に対応する信号である。すなわち、4:1:1方式への変換において、保存されずに間引かれた信号に相当する。
【0013】
また、図17において、データD102 は、上記のようにして帯域制限処理と補間処理を伴うサンプル変換を行ったデータD101 に対して、更にもう一度帯域制限処理と補間処理を伴うサンプル変換を行ったデータを示している。このデータD102 において、データDS12 は、データD101 に対して式(1)を用いた帯域制限処理を伴う4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号(B’’2N-2,B’’2N,B’’2N+2,...)のデータを示している。ここで保存された色差信号は、一度サンプル変換を行ったデータD101 における偶数番目の色差信号(B’2N-2,B’2N,B’2N+2,...)に対応する。すなわち、データDS12 は、データD101 におけるサンプル保存点としてのデータDS11 に対応する。また、データD102 において、データDi12 は、4:1:1方式から4:2:2方式に再標本化を行う場合にデータDS12 に対して式(2)を用いて補間される青の色差信号(B’’2N-1,B’’2N+1,...)を示している。ここで補間された色差信号は、一度サンプル変換を行ったデータD101 における奇数番目の色差信号(B’2N-1,B’2N+1,...)に対応する。すなわち、データD101 におけるサンプル補間点としてのデータDi11 に対応する。
【0014】
この図に示したように、3タップ・フィルタを用いた場合には、ダビング処理に相当する複数回のサンプル変換を繰り返すことで、フィルタによる特性でサンプル保存点および補間点の値が変化していき、フィルタ関数のタップ数、係数も変化していく。このような特性は有限なタップ数のフィルタを用いる限り起こるものである。
【0015】
図18は、上記した3タップ・フィルタを用いてサンプル変換を繰り返した場合におけるフィルタ係数とタップ数の変化を表すものである。この図において、縦軸はフィルタの係数値を示し、横軸は時間軸上におけるタップ点を示している。タップ点の中心はフィルタ関数のポール(極)となっている。また、図において、符号F1 で示したものが、例えば、オリジナルのデータに対してサンプル変換を行ったデータD101 に対応する。また、例えば、図において符号F2 で示したものが、一度サンプル変換が行われたデータD101 に対して、更にサンプル変換を行ったデータD102 に対応する。この図から分かるように、サンプル変換を繰り返すことにより、フィルタ関数のタップ数、フィルタ係数が変化していく。この場合、タップ点の分布は末広がりになるようフィルタ係数の値が変化する。
【0016】
図19は、上述したサンプル変換に伴うデータの劣化をより具体的に示す説明図である。この図の例では、色差信号として具体的に振幅がA0 のパルス信号(BN )を入力した場合における信号の劣化の様子を示している。この図において、(A)は原信号を示しており、図17のオリジナルのデータD100 に相当する。(B)は、(A)のパルス信号に対して1回のサンプル変換、すなわち、帯域制限処理を行った後、補間処理をして、再標本化した信号を示しており、図17のデータD101 に相当する信号である。(C)は、(B)のパルス信号に対して更にサンプル変換、すなわち、(B)のパルス信号に対して帯域制限処理を行った後、補間処理をして、再標本化した信号を示しており、図17のデータD102 に相当する信号である。この図から、振幅A0 のパルス信号が、サンプル変換を繰り返すことにより劣化していくことが分かる。このように、従来では、入力されたデータに対して帯域制限処理を行った後、補間処理をして、再標本化するようなサンプル変換を繰り返すことにより、データが劣化していく。
【0017】
本発明はかかる問題点に鑑みてなされたもので、その目的は、入力データの標本化周波数とは異なる標本化周波数で標本化を行う場合におけるデータの劣化を防ぐことができるデータ処理装置および方法を提供することにある。
【0018】
【課題を解決するための手段】
本発明によるデータ処理装置は、標本化処理された入力データが、所定の周波数帯域よりも低い帯域で帯域制限処理が行われたデータであるか否かを判別する判別手段と、フィルタ回路を有し、判別手段の判別結果に応じて入力データに対して、必要に応じてフィルタ回路を用いた周波数帯域の制限処理を行うと共に、入力データの標本化周波数とは異なる標本化周波数で標本化を行う標本化手段とを備え、判別手段が、標本化手段におけるフィルタ回路からの出力値を用いて判別処理行うようにしたものである。
【0019】
本発明によるデータ処理方法は、標本化処理された入力データが、所定の周波数帯域よりも低い帯域で帯域制限処理が行われたデータであるか否かを判別する判別ステップと、この判別結果に応じて入力データに対して、必要に応じてフィルタ回路を用いた周波数帯域の制限処理を行うと共に、入力データの標本化周波数とは異なる標本化周波数で標本化を行う標本化ステップとを含み、判別ステップにおいて、標本化ステップで用いられるフィルタ回路からの出力値を用いて判別処理を行うようにしたものである。
【0020】
本発明によるデータ処理装置および方法では、標本化処理された入力データが、所定の周波数帯域よりも低い帯域で帯域制限処理が行われたデータであるか否かが判別され、この判別結果に応じて入力データに対して、必要に応じて周波数帯域の制限処理を行うと共に、入力データの標本化周波数とは異なる標本化周波数で標本化が行われる。
【0021】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して詳細に説明する。
【0022】
[第1の実施の形態]
本実施の形態に係るデータ処理装置は、例えば、4:2:2方式で標本化されたデジタルコンポーネント信号に対して帯域制限処理等を行って、DVC等の記録フォーマットである4:1:1方式の信号に変換すると共に、このDVC等に記録するために4:1:1方式に変換された信号に対して補間処理等を行って再標本化し、再度4:2:2方式の信号に変換するためのものである。但し、本発明は、このような4:2:2方式と4:1:1方式との間のサンプル変換の処理を行うものに限定されるものではなく、他の方式間のサンプル変換においても利用可能である。また、以下の説明では、デジタルコンポーネント信号のうち、青の色差信号に関するサンプル変換について説明するが、赤の色差信号についても同様である。なお、4:2:2方式と4:1:1方式では、輝度信号に関しては標本化規格が同一であり、標本化周波数の変換は行われない。
【0023】
図1および図2は、本発明の第1の実施の形態に係るデータ処理装置の構成を表すブロック図である。ここで、図1は、本実施の形態に係るデータ処理装置において、帯域制限処理を伴うサンプル変換を行う回路部分の構成について示している。また、図2は、本実施の形態に係るデータ処理装置において、補間処理を伴う再標本化処理を行う回路部分の構成について示している。
【0024】
図1に示したように、本実施の形態に係るデータ処理装置は、例えば、4:2:2方式により標本化周波数FSで標本化された青の色差信号(B2N,B2N+1,B2N+2,B2N+3,...)の符号化データが入力される画像端処理回路1と、水平方向および垂直方向(以下、H/Vという。)の同期を取るためのH/V同期信号S1 が入力されると共に、画像端処理回路1に画像端を検知するための画像端検知信号S3 を出力するH/V同期回路2と、H/V同期信号S1 およびH/Vのシフト量に関するH/Vパラメータ信号S2 が入力されると共に、サンプル保存点と補間点を切り替えるための保存・補間点切替信号S4 ,S5 を出力する保存・補間点切替回路3と、画像端処理回路1からの出力信号が入力される遅延回路4およびフィルタ回路5とを備えている。
【0025】
本実施の形態に係るデータ処理装置は、また、遅延回路4によって遅延された信号およびフィルタ回路5からの出力信号が入力される積和演算回路6と、積和演算回路6からの出力信号が入力される1/2演算回路7と、1/2演算回路7からの出力信号が入力されるDフリップフロップ回路8と、遅延回路4によって遅延された信号が入力されるDフリップフロップ回路9と、遅延回路4によって遅延された信号およびフィルタ回路5からの出力信号が入力されると共に、切替信号S6を出力する帯域制限判別回路10と、Dフリップフロップ回路8およびDフリップフロップ回路9からの出力信号が入力されると共に、帯域制限判別回路10からの切替信号S6 に基づいて、入力された信号のいずれか1つを選択的に出力するスイッチング回路SW2と、スイッチング回路SW2から出力された信号が入力されるDフリップフロップ回路18と、スイッチング回路SW2およびDフリップフロップ回路18からの出力信号が入力されると共に、入力された信号のいずれか1つを保存・補間点切替回路3からの切替信号S5 に基づいて選択的に出力するスイッチング回路SW3とを備えている。
【0026】
ここで、図1に示した回路部分が本発明における「標本化手段」に対応する。また、帯域制限判別回路10が、本発明における「判別手段」に対応する。
【0027】
画像端処理回路1は、符号化データが入力されると共に、入力されたデータを複数のタイミングで遅延させた複数の信号を出力する遅延回路20と、遅延回路20からの複数の出力信号が入力されると共に、H/V同期回路2からの画像端検知信号S3 および保存・補間点切替回路3からの保存・補間点切替信号S4 に基づいて、遅延回路20から入力された信号のいずれか1つを選択的に出力するスイッチング回路SW1とを有している。遅延回路20は、Dフリップフロップ回路21、Dフリップフロップ回路22、Dフリップフロップ回路23およびDフリップフロップ回路24を含んでおり、これにより複数の遅延させた信号を出力するようになっている。
【0028】
帯域制限判別回路10は、遅延回路4からの出力信号およびフィルタ回路5からの出力信号が入力される後側補間点比較回路11と、遅延回路4からの出力信号およびフィルタ回路5からの出力信号が入力されるDフリップフロップ回路12と、Dフリップフロップ回路12からの出力信号が入力されるDフリップフロップ回路13と、Dフリップフロップ回路9を介して遅延回路4からの出力信号が入力されるDフリップフロップ回路14と、Dフリップフロップ回路9およびDフリップフロップ回路14を介して遅延回路4からの出力信号が入力されると共に、Dフリップフロップ回路12およびDフリップフロップ回路13を介してフィルタ回路5からの出力信号が入力されるアンド回路16とを有している。アンド回路16は、スイッチング回路SW2に切替信号S6 を出力するようになっている。
【0029】
上記のような構成の回路では、例えば4:2:2方式で標本化された標本化周波数FS の色差信号B2N,B2N+1,B2N+2,B2N+3,...のデータに対して、必要に応じて帯域制限処理が行われて、色差信号B’2N,B’2N,B’2N+2,B’2N+2,...が出力され、標本化周波数FS /2の4:1:1方式のデータが出力されることになる。
【0030】
なお、入力された色差信号B2N,B2N+1,B2N+2,B2N+3,...のデータにおいて、いずれのデータがサンプル保存点およびサンプル補間点に相当するデータであるかは、事実上の標本化処理の前段階において、4:1:1方式の標本化規格と保存・補間点切替回路3において入力されたH/Vパラメータ信号S2 とに基づいて決定される。また、入力された色差信号B2N,B2N+1,B2N+2,B2N +3,...のデータにおいて、サンプル補間点となるデータが、本発明における「第1のデータ」に対応し、サンプル保存点となるデータが、本発明における「第2のデータ」に対応する。
【0031】
図2に示したように、本実施の形態に係るデータ処理装置は、補間処理を伴う再標本化処理を行う回路要素として、例えば、4:1:1方式により標本化周波数FS /2で符号化された青の色差信号(B2N,B2N+2,...)の符号化データが入力されると共に、入力したデータを先入れ先出し(以下、FIFOという。)方式で出力するFIFO回路31と、H/Vの同期を取るためのH/V同期信号S11が入力されると共に、画像端を検知するための画像端検知信号S13を出力するH/V同期回路32と、H/V同期信号S11およびH/Vのシフト量に関するH/Vパラメータ信号S12が入力されると共に、サンプル保存点と補間点を切り替えるための保存・補間点切替信号S14,S15を出力する保存・補間点切替回路33と、FIFO回路31からの出力信号が入力されると共に、H/V同期回路32からの画像端検知信号S13および保存・補間点切替回路33からの保存・補間点切替信号S14が入力される画像端処理回路34と、画像端処理回路34からの出力信号が入力される遅延回路35およびフィルタ回路36と、遅延回路35およびフィルタ回路36からの出力信号が入力されると共に、保存・補間点切替回路33からの切替信号S15に基づいて、入力された信号のいずれか1つを選択的に出力するスイッチング回路SW5とを備えている。
【0032】
画像端処理回路34は、FIFO回路31を介して符号化データが入力されると共に、入力されたデータを複数のタイミングで遅延させた複数の信号を出力する遅延回路40と、遅延回路40からの複数の出力信号が入力されると共に、H/V同期回路3からの画像端検知信号S13および保存・補間点切替回路33からの保存・補間点切替信号S14に基づいて、遅延回路40から入力された信号のいずれか1つを選択的に出力するスイッチング回路SW4とを有している。遅延回路40は、Dフリップフロップ回路41、Dフリップフロップ回路42、Dフリップフロップ回路43およびDフリップフロップ回路44を含んでおり、これにより複数の遅延させた信号を出力するようになっている。
【0033】
上記のような構成の回路では、例えば4:1:1方式で標本化された標本化周波数FS /2の色差信号B2N,B2N+2,...のデータに対して、必要に応じて補間処理が行われて、色差信号B2N,B’2N+1,B2N+2,...が出力され、標本化周波数FS の4:2:2方式のデータが出力されることになる。
【0034】
次に、上記のような構成のデータ処理装置において行われる帯域制限処理および補間処理についてより具体的に説明する。
【0035】
従来では、上述したように、例えば式(1)で表される3タップ・フィルタを用いてダビング等の帯域制限を伴うサンプル変換処理を行うごとに、サンプル保存点の信号値が変化していった。ここで、入力されたデータが帯域制限処理されていないオリジナルのデータである場合において1回目のサンプル変換処理を行う場合には、標本化定理により、サンプル保存点のデータに対する周波数の帯域制限処理は必要である。しかし、2回目のサンプル変換処理以降では、サンプル保存点のデータはもうすでに帯域制限処理してあるため、本来は帯域制限処理をする必要はない。従来では、2回目のサンプル変換処理以降においてもサンプル保存点のデータに対して、1回目と同様な帯域制限処理をしていたため、サンプル保存点のデータの信号値が劣化されていくのである。そこで、本実施の形態においては、2回目以降の帯域制限処理としては、1回目のサンプル変換処理によって生じたサンプル補間点のデータを間引くだけの処理を行うことによりデータの劣化を防ぐようにしている。すなわち、本実施の形態においては、2回目以降の帯域制限処理後に記録されるサンプル保存点の値は、1回目のサンプル変換処理において記録されるサンプル保存点と同じになるようにしている。
【0036】
図3は、本実施の形態のデータ処理装置において複数回のサンプル変換を行った場合における符号化データの変化を示す説明図である。この図において、データDORG は、例えば4:2:2方式で標本化されたオリジナルの青の色差信号(B2N-2,B2N-1,B2N,B2N+1,B2N+2,...)のデータを示している。また、データD1ST は、データDORG に対してサンプル変換を行ったデータを示している。このデータD1STにおいて、データDS1は、オリジナルのデータDORG に対して式(1)を用いた帯域制限処理を伴う、例えば4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号(B’2N-2,B’2N,B’2N+2,...)のデータを示している。ここで保存された色差信号は、オリジナルのデータDORGにおける偶数番目の色差信号(B2N-2,B2N,B2N+2,...)に対応する。すなわち、この例における4:1:1方式への変換では、オリジナルのデータDORGにおける奇数番目の信号(B2N-1,B2N+1,...)に対応する信号は保存されずに間引かれている。また、データD1ST において、データDi1は、4:1:1方式から4:2:2方式に再標本化を行う場合にデータDS1に対して以下の式(3)を用いて補間されるサンプル補間点に相当する青の色差信号(B’2N-1,B’2N+1,...)を示している。ここで補間された色差信号は、オリジナルのデータDORG における奇数番目の色差信号(B2N-1,B2N+1,...)に対応する信号である。すなわち、4:1:1方式への変換において、保存されずに間引かれた信号に相当する。
【0037】
B’2N+1=1/2・(B’2N+B’2N+2) ‥‥‥(3)
【0038】
また、図3において、データD2ND は、上記のようにして帯域制限処理と補間処理を伴うサンプル変換を行ったデータD1ST に対して、更にもう一度サンプル変換を行ったデータを示している。このデータD2ND において、データDS2は、データD1ST に対して例えば4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号(B’’2N-2,B’’2N,B’’2N+2,...)のデータを示している。本実施の形態においては、このサンプル保存点に相当するデータDS2は、データD1ST に対して、式(1)を用いた帯域制限処理を行うことなく、単にデータD1STからサンプル補間点に相当するデータDi1を間引くことにより得られたものである。すなわち、データD2ND におけるサンプル保存点に相当するデータDS2は、データD1ST におけるサンプル保存点としてのデータDS1と等しくなっている。また、データD2ND において、データDi2は、例えば4:1:1方式から4:2:2方式に再標本化を行う場合にデータDS2に対して式(3)を用いて補間される青の色差信号(B’’2N-1,B’’2N+1,...)を示している。データDi2は、サンプル保存点としてのデータDS2から計算されるが、本実施の形態においては、データDS2が、データD1ST におけるサンプル保存点としてのデータDS1と等しくなっているので、このデータDi2もデータD1ST におけるデータ補間点であるデータDi1と等しくなる。
【0039】
このように、本実施の形態においては、一度帯域制限処理が施されたデータに対しては、2回目以降の帯域制限処理として、1回目のサンプル変換処理によって生じたサンプル補間点のデータを間引くだけの処理を行うことによりデータの劣化を防ぐようにしている。
【0040】
ここで、サンプル変換の対象となるデータが、一度帯域制限処理が施されたデータであるか否かの判断は、帯域制限処理するデータのサンプル補間点が式(3)を満たしているか否かにより行うことができる。これは、図3からわかるように、サンプル補間点は帯域制限したサンプル保存点のみで計算されているからである。従って、帯域制限処理するデータのサンプル補間点が式(3)を満たす場合、そのサンプル点はもうすでに周波数の帯域制限処理が行われているデータと判断できる。すなわち、式(3)を満たす場合、もともとサンプル保存点のみの周波数帯域しかないデータであることがわかる。このようなデータに対する帯域制限処理を、式(1)のようなフィルタを用いることなく単にサンプル補間点を間引く処理で済ませることで、再標本化時においてデータの劣化を生じることなくデータの復元を行うことが可能となる。
【0041】
このようなフィルタ処理を行わないような処理は、サンプル変換が行われていないオリジナルの4:2:2方式のデータについても適用される。オリジナルの4:2:2方式のデータでも元々4:1:1方式または4:2:0方式と同様のサンプル保存点でしか周波数帯域がないデータの場合(例えば、CG(コンピュータ・グラフィックス)のような人為的な画像データの場合。)は、上記と同様に式(1)を用いることなく、単にサンプル補間点を間引く処理を行うことで、データの劣化を生じることなくデータの復元を行うことができる。
【0042】
図4は、4:2:2方式および4:1:1方式におけるデータの周波数帯域制限について説明するための説明図である。この図において、黒い丸印は、サンプル保存点を示しており、白い丸印は、サンプル補間点を示している。また、この図において、(A)は、オリジナルのデータの信号波形上における4:2:2方式によるサンプル点の分布を示している。また、この図において、(B)は 4:1:1方式によるサンプル点の分布を直線上において(A)に対応させて示したものであり、(C)は、4:2:2方式によるサンプル点の分布を直線上において(A)に対応させて示したものである。
【0043】
4:2:2方式のデータにおいては、標本化周波数FSとして6.75MHzを用いているので、標本化定理により、3.375MHzまで信号帯域があるはずである。しかしながら、同図(C)のように、標本化されたデータのサンプル点が、サンプル保存点と、このサンプル保存点の間に補間されたサンプル補間点とで構成されていた場合には、3.375MHzまでの信号帯域はない。すなわち、同図(C)のように、サンプル保存点とサンプル補間点とが交互に並んでいた場合には、その信号帯域は3.375MHzよりも低い1.6875MHzにまで帯域制限されていることになる。これは、同図(B)に示したような、4:1:1方式による信号帯域に等しい。なお、4:1:1方式のデータにおいては、標本化周波数FS として3.375MHzを用いているので、標本化定理により、1.6875MHzまで信号帯域がある。本実施の形態のデータ処理装置では、このような帯域制限されたデータにサンプル変化を行う場合において、データの劣化を防ぐことができる。
【0044】
次に、図1および図2に示した本実施の形態のデータ処理装置において用いられるフィルタ関数式について説明する。
【0045】
上述の式(1)および式(2)の3タップ・フィルタ関数は、以下のような式(5)および式(6)によって表すことができる。式(5)は式(1)に対応するものであり、式(6)は式(2)に対応するものである。これらの式においては、同じ関数式(4)を含んでいる。このように同じ関数式(4)が含まれた式(5)および式(6)を用いることにより、帯域制限処理において、サンプル保存点における周波数帯域制限処理と、サンプル補間点における周波数帯域制限されたデータの判別処理とを行う場合において同じ回路要素(図1におけるフィルタ回路5)を共有できると共に、2つの処理を時間軸上で一括に行うことができる。
【0046】
f(BN-1 ,BN+1 )=1/2・(BN-1 +BN+1 ) ‥‥‥(4)
B’2N=1/2・[B2N+f(B2N-1,B2N+1)] ‥‥‥(5)
B’2N+1=1/2・f(B2N,B2N+2) ‥‥‥(6)
【0047】
ここで、図1に示した回路では、フィルタ回路5において、式(4)に相当する演算処理が行われるようになっている。また、遅延回路4、フィルタ回路5、積和演算回路6および1/2演算回路7によって式(5)に相当する演算処理が行われるようになっている。また、周波数判別回路10における後側補間点比較回路11および前側補間点比較回路15によって、式(6)に相当する演算処理が行われるようになっている。なお、後側補間点比較回路11においては、保存点(例えば、B2N)に対して、後側の補間点(例えば、B2N+1)に関する処理が行われ、前側補間点比較回路15においては、保存点(例えば、B2N)に対して、前側の補間点(例えば、B2N-1)に関する処理が行われる。また、図2に示した回路では、フィルタ回路36において、式(6)に相当する演算処理が行われるようになっている。
【0048】
図5は、本実施の形態における周波数帯域制限処理と、周波数帯域制限されたデータの判別処理とを説明するための説明図である。この図において、データD10は、例えば、4:2:2方式で標本化された入力データとしての青の色差信号(B2N-2,B2N-1,B2N,B2N+1,B2N+2,...)のデータを示している。また、この図において、データD11は、データD10に対して式(5)を用いた帯域制限処理を伴う、例えば4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号(B’2N-2,B’2N,B’2N+2,...)のデータを示している。この図に示したように、本実施の形態においては、入力データとしてのデータD10に対して、必要に応じてサンプル保存点における周波数帯域制限処理を式(5)により行うと共に、サンプル補間点(B2N-1,B2N+1,...)における周波数帯域制限されたデータの判別処理を式(6)で時間軸上で一括に行うようになっている。
【0049】
次に、図6および図7を参照して、本実施の形態における周波数帯域制限の判別処理について説明する。これらの図では、4:2:2方式のデータにおけるサンプル点の分布を直線上で示している。また、これらの図において、黒い丸印はサンプル保存点を示しており、白い丸印はサンプル補間点を示している。但し、図6においては、白い丸印は式(6)で表されるフィルタ関数に一致したサンプル補間点を示し、×印は式(6)で表されるフィルタ関数に一致しないサンプル補間点を示している。
【0050】
図6に示したように、サンプル補間点が式(6)で表されるフィルタ関数と一致している区間のデータに関しては、その区間は帯域制限されたデータであるとといえる。図6においては、フィルタ関数に一致したサンプル補間点が含まれるB2N-2〜B2Nのデータ区間が帯域制限されたデータ区間に該当する。すなわち、B2N-2〜B2Nのデータ区間では、4:2:2方式による通常の帯域3.375MHzに対して、帯域1.6875MHzに帯域制限されている。
【0051】
ここで、例えば、サンプル保存点B2Nが周波数帯域制限された区間内の値か否かの判別は、図7に示したように、サンプル保存点B2Nの前後のサンプル補間点B2N-1,B22N+1が式(6)のフィルタ関数と一致しているか否かにより判別することができる。これにより、各サンプル保存点ごとに周波数帯域制限の判別処理が可能である。すなわち、本実施の形態では、1画素単位で周波数帯域制限の判別処理を行うことができるようになっている。
【0052】
次に、図8ないし図10を参照して、本実施の形態のデータ処理装置におけるデータ端部でのデータ処理について説明する。図8ないし図10において、符号DE1およびDE2で示した部分は、データの端部であることを示している。また、これらの図において、黒い丸印はサンプル保存点を示しており、白い丸印はサンプル補間点を示している。なお、図8および図10では、4:2:2方式のデータにおけるサンプル点の分布を直線上で示している。また、図9では、4:1:1方式または4:2:0方式のデータにおけるサンプル点の分布を直線上で示している。
【0053】
画像端部(以下、サンプルポイント端という。)においては、フィルタ処理に必要なタップ数分のデータを十分に得ることができないため、従来から、サンプルポイント端におけるフィルタ処理として、サンプルポイント端からの仮想データ上にサンプルポイントをフィルタのタップ数分延長することにより、サンプルポイント端による特有のノイズを軽減するような処理を行う場合がある。図7では、サンプルポイント端DE1,DE2からサンプルポイント端DE1,DE2に一番近い点にあるデータB0 ,Bm+1 を、サンプルポイント端DE1,DE2からの仮想データ上に延長した例について示している。
【0054】
図9は、図8のようにサンプルポイント端においてデータの延長が行われた4:2:2方式のデータに対して、4:1:1方式または4:2:0方式にサンプル変換が行われた場合のデータを示すものである。サンプル変換に伴って、周波数帯域制限処理された場合でも、図8と同様にサンプルポイント端がフィルタタップ分延長される。ここで、図9のように4:1:1方式または4:2:0方式の帯域制限したサンプル保存点のデータを、4:2:2方式のデータに再標本化した場合、サンプルポイント端のデータとしては保存点、補間点の2つのケースが考えられる。
【0055】
図10は、図9のように4:1:1方式または4:2:0方式の帯域制限したサンプル保存点のデータを、4:2:2方式のデータに再標本化した場合のデータを示すものである。この図の場合には、サンプルポイント端DE1におけるデータは、サンプル保存点B0 であり、サンプルポイント端DE2におけるデータは、サンプル補間点Bm+1 となっている。ここで、図8の場合と同様に、サンプルポイント端の1点のみを用いてデータの延長を行うと、その延長データ上でサンプル保存点と補間点の関係が崩れて本実施の形態におけるサンプルポイント端での帯域制限判別処理が不可能になる。
【0056】
図11は、本実施の形態のデータ処理装置において行われるデータ端部でのデータ処理を示す説明図である。この図において、黒い丸印はサンプル保存点を示しており、白い丸印はサンプル補間点を示している。また、これらの図において、符号DE1およびDE2で示した部分は、データの端部であることを示している。
【0057】
本実施の形態では、図10の例のように、延長データ上でサンプル保存点と補間点の関係が崩れて本実施の形態におけるサンプルポイント端での帯域制限の判別処理が不可能になることを避けるため、サンプルポイント端から最も近い2つのサンプルポイント点を交互に延長用のデータとして用いるようになっている。これにより、サンプル保存点とサンプル補間点の関係がサンプル端においても成立して帯域制限の判別処理を行うことができる。図11の例では、サンプルポイント端DE1からデータB0 ,B1 を交互に用いてデータが延長されている。また、サンプルポイント端DE2からデータBm,Bm+1を交互に用いてデータが延長されている。なお、データの有効領域における保存点において、帯域制限の判別処理を行うためには、サンプルポイント端において保存点に隣接する補間点までデータを補う必要がある。すなわち、両端のサンプル補間点からフィルタ関数に必要なタップ数分のデータを仮想データ上に延長する必要がある。
【0058】
次に、図12および図13を参照して、本実施の形態に係るデータ処理装置の動作について説明する。なお、以下の説明は、本実施の形態に係るデータ処理方法の説明を兼ねている。
【0059】
図12は、本実施の形態に係るデータ処理装置における帯域制限処理を示す流れ図である。図1に示した回路において、画像端処理回路1に、例えば、4:2:2方式により標本化周波数FSで標本化された青の色差信号(B2N,B2N+1,B2N+2,B2N+3,...)の符号化データが入力されると(ステップS101)、保存・補間点切替回路3において入力されたH/Vパラメータ信号S2に基づいて、入力されたデータのサンプル保存点とサンプル補間点の位置が決定される(ステップS102)。次に、H/V同期回路2において入力されたH/V同期信号S1に基づいて、入力されたデータがサンプルポイント端であるか否かが判断される(ステップS103)。ここで、入力されたデータがサンプルポイント端である場合(Y)には、画像端処理回路1において、図11に示したようなサンプルポイント端処理が行われる(ステップS104)。
【0060】
入力されたデータがサンプルポイント端ではない場合(ステップS103;N)、およびサンプルポイント端処理が行われた場合には、次に、帯域制限判別回路10において、入力されたデータの前後の各々のサンプル点が、既に帯域制限処理されたものであるか否かが判断される(ステップS105)。前後の各々のサンプル点が、既に帯域制限処理されたものである場合(Y)には、入力されたデータに帯域制限処理を行わずに単に補間点のデータを間引くだけの処理が行わたデータS8 がスイッチング回路SW2から出力される(ステップS106)。また、前後の各々のサンプル点のいずれか一つがまだ帯域制限処理されていない場合(ステップS105;N)には、遅延回路4、フィルタ回路5、積和演算回路6および1/2演算回路7を経て周波数の帯域制限処理が行われたデータS7 がスイッチング回路SW2から出力される(ステップS107)。
【0061】
次に、保存・補間点切替回路3からの保存・補間点切替信号S5 に基づいて、データがサンプル保存点であるか否かが判断される(ステップS108)。サンプル保存点である場合(Y)には、スイッチング回路SW3から、例えば、標本化周波数FS /2の4:1:1方式に相当するデータ(色差信号B’2N,B’2N,B’2N+2,B’2N+2,...)が出力される(ステップS109)。また、サンプル保存点でない場合(ステップS108;N)には、データの切り捨て処理が行われる(ステップS110)。
【0062】
図13は、本実施の形態に係るデータ処理装置における再標本化補間処理を示す流れ図である。図2に示した回路において、FIFO回路31に、例えば、4:1:1方式により標本化周波数FS/2で符号化された青の色差信号(B2N,B2N+2,...)の符号化データが入力されると(ステップS201)、保存・補間点切替回路33において入力されたH/Vパラメータ信号S12に基づいて、入力されたデータのサンプル保存点とサンプル補間点の位置が決定される(ステップS202)。次に、H/V同期回路32において入力されたH/V同期信号S11に基づいて、入力されたデータがサンプルポイント端であるか否かが判断される(ステップS203)。ここで、入力されたデータがサンプルポイント端である場合(Y)には、画像端処理回路34において、図11に示したようなサンプルポイント端処理が行われる(ステップS204)。
【0063】
入力されたデータがサンプルポイント端ではない場合(ステップS203;N)、およびサンプルポイント端処理が行われた場合には、次に、保存・補間点切替回路33において、データがサンプル補間点であるか否かが判断される(ステップS205)。サンプル補間点である場合(Y)には、フィルタ回路36において式(6)を用いた補間処理が行われたデータS2N+1が出力される(ステップS206)。次に、補間処理が行われた場合、およびデータがサンプル補間点でない場合(ステップS206;N)には、スイッチング回路SW5から、保存・補間点切替回路33からの保存・補間点切替信号S15に基づいて、遅延回路35からのデータS2Nおよびフィルタ回路36からのデータS2N+1が交互に出力され、例えば、標本化周波数FS /2の4:1:1方式にサンプ変換されたデータが出力される(ステップS207)。
【0064】
以上説明したように、本実施の形態によれば、一度帯域制限処理が施されたデータに対しては、2回目以降の帯域制限処理として、1回目のサンプル変換処理によって生じたサンプル補間点のデータを間引くだけの処理を行うようにしたので、例えば、4:2:2方式と4:1:1方式(または4:2:0方式)との間のサンプル変換を繰り返す複数回のダビング処理によるデータ劣化がなくなり、理論上無限にダビング処理を行っても1回目のサンプル変換したデータと実質的に同じデータを得ることができる。また、まだサンプル変換が行われていないオリジナルのデータであっても、サンプル保存点でしか周波数帯域がない画像(CGのような人為的な画像)に対しては帯域制限処理をせずに、単にサンプル補間点の間引き処理のみを行うようにしたので、オリジナルのデータにおいて一律に帯域制限処理するのに比べてデータが劣化することなくサンプル変換を行うことができ、サンプル変換前のデータと同様のデータを復元できる。
【0065】
また、本実施の形態によれば、周波数帯域制限の判別処理を、各サンプル保存点の1画素単位で行うことを可能にしたので、例えば、4:2:2方式におけるデータのベースバンド上で画像に部分的に特殊効果、キャラクタ挿入またはA,Bロール等の画像編集を施して、4:2:2方式と4:1:1方式(または4:2:0方式)との間のサンプル変換をした場合においても、画像編集が施されない部分の画素点に関しては、画像編集によるデータ劣化が生じることがない。これにより、例えば、帯域制限処理が必要な4:1:1方式および4:2:0方式のノンリニア編集器やVTR機器において、4:2:2方式のデータを編集するような場合においても編集によるデータの劣化を最小限に抑えることができる。
【0066】
また、本実施の形態によれば、サンプル保存点と補間点の関係が崩れないようにして、サンプルポイント端の延長の処理を行うようにしたので、サンプルポイント端においても有効に帯域制限の判別処理を行うことが可能となる。
【0067】
このように、本実施の形態によれば、入力データの標本化周波数とは異なる標本化周波数で標本化を行う場合におけるデータの劣化を防ぐことができる。
【0068】
[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。なお、以下の説明では、上記第1の実施の形態における構成要素と同一の部分には同一の符号を付し、その説明を省略してある。
【0069】
4:2:2方式から4:1:1方式(または4:2:0方式)へのサンプル変換における周波数帯域制限処理を、入力されたデータ値に応じて調整するアダプティブフィルタと呼ばれるものがある。これは、帯域制限処理するデータのリンギングを軽減し、画像をよりよく改善するために用いられるものである。しかしながら、アダプティブフィルタは上述の3タップフィルタのような固定フィルタに比べてダビングの繰り返し処理による劣化がより大きくなる。ここで、本発明によるサンプル補間点の間引き処理は、サンプル保存点とサンプル補間点の関係が、再標本化による補間処理をしたあるフィルタ関数で成立していれば可能であるため、このようなアダプティブフィルタでも有効に発揮することができる。本実施の形態では、このアダプティブフィルタを適用した例について説明する。
【0070】
図14および図15は、本発明の第2の実施の形態に係るデータ処理装置の構成を表すブロック図である。ここで、図14は、本実施の形態に係るデータ処理装置において、帯域制限処理を伴うサンプル変換を行う回路部分の構成を示している。また、図15は、本実施の形態に係るデータ処理装置において、補間処理を伴う再標本化処理を行う回路部分の構成を示している。
【0071】
図14に示したように、本実施の形態に係るデータ処理装置は、画像端処理回路1からのデータが入力されると共に、入力されたデータに対してアダプティブフィルタ関数Gによるフィルタ処理を施して積和演算回路6に出力するフィルタ回路51と、画像端処理回路1からのデータが入力されると共に、入力されたデータに対して所定の関数Hによるフィルタ処理を施して帯域制限判別回路10に出力するフィルタ回路52とを備えている。図14に示した構成において、フィルタ回路51とフィルタ回路52以外の構成は、図1の場合と同様であり、説明を省略する。
【0072】
図15に示したように、本実施の形態に係るデータ処理装置は、補間処理を伴う再標本化処理を行う回路要素として、画像端処理回路34からのデータが入力されると共に、入力されたデータに対して所定の関数Hによるフィルタ処理を施してスイッチング回路SW5に出力するフィルタ回路61を備えている。図15に示した構成において、フィルタ回路61以外の構成は、図2の場合と同様であり、説明を省略する。
【0073】
ここで、本実施の形態においては、上記第1の実施の形態における式(5)に対応する関数式として以下の式(7)を用いている。また、本実施の形態においては、上記第1の実施の形態における式(6)に対応する関数式として以下の式(8)を用いている。ここで、関数Gは、アダプティブフィルタ関数を表し、関数Hは、上記第1の実施の形態における式(4)に対応する補間処理用の関数を表している。
【0074】
B’2N=G(B2N-1,B2N,B2N+1) ‥‥‥(7)
B’2N+1=1/2・H(B2N,B2N+2) ‥‥‥(8)
【0075】
図16は、本実施の形態における周波数帯域制限処理と、周波数帯域制限されたデータの判別処理とを説明するための説明図である。この図において、データD20は、例えば、4:2:2方式で標本化された入力データとしての青の色差信号(B2N-2,B2N-1,B2N,B2N+1,B2N+2,...)のデータを示している。また、この図において、データD21は、データD20に対して式(7)を用いた帯域制限処理を伴う、例えば4:1:1方式のサンプル変換を行った後に記録されるサンプル保存点に相当する青の色差信号(B’2N-2,B’2N,B’2N+2,...)のデータを示している。この図に示したように、本実施の形態においては、入力データとしてのデータD20に対して、必要に応じてサンプル保存点における周波数帯域制限処理を式(7)により行うと共に、サンプル補間点(B2N-1,B2N+1,...)における周波数帯域制限されたデータの判別処理を式(8)で時間軸上で一括に行うようになっている。
【0076】
以上説明したように、本実施の形態によれば、アダプティブフィルタ関数を用いた場合においても標本化処理に伴うデータの劣化を防ぐことができる、
【0077】
なお、本実施の形態におけるその他の構成、作用および効果は、第1の実施の形態と同様である。
【0078】
なお、本発明は、上記実施の形態に限定されず種々の変形実施が可能である。例えば、上記各実施の形態では、主として画像データに関する4:2:2方式と4:1:1方式(4:2:0)とのサンプル変換について説明してきたが、本発明は、サンプル変換において帯域制限処理をするデータにサンプル保存点とサンプル補間点の関係があり、帯域制限処理と再標本化に伴う補間処理に同期型のタップ・フィルタ関数を用いるのであれば、他の方式のサンプル変換における画像データや音声データにおいても適用することが可能である。この場合、タップ・フィルタ関数は、上記したタップ数が3の3タップ・フィルタ以外のものであってもよい。
【0079】
また、サンプル変換された保存点がたとえ他の処理(データ圧縮伸張処理等)等で劣化していたとしても、劣化したサンプル保存点とその保存点から補間されるサンプル補間点の関係が再標本化時における補間処理上で成立していれば、次の帯域制限処理においてサンプル補間点の間引き処理を行うことができる。よって、本発明は、サンプル変換を伴う一般的な圧縮伸張処理においても適用することが可能である。
【0080】
【発明の効果】
以上説明したように、請求項1ない7のいずれかに記載のデータ処理装置または請求項8記載のデータ処理方法によれば、標本化処理された入力データが、所定の周波数帯域よりも低い帯域で帯域制限処理が行われたデータであるか否かを判別し、この判別結果に応じて入力データに対して、必要に応じて周波数帯域の制限処理を行うと共に、入力データの標本化周波数とは異なる標本化周波数で標本化を行うようにしたので、入力データの標本化周波数とは異なる標本化周波数で標本化を行う場合におけるデータの劣化を防ぐことができるという効果を奏する。
【0081】
また、請求項6記載のデータ処理装置によれば、入力データの判別を単位データ毎に行うと共に、単位データ毎に、必要に応じて周波数帯域の制限処理を行って標本化を行うようにしたので、例えば、入力データが画像データであった場合に、単位データとして1画素毎に処理を行うことで、画像に部分的に画像編集を施して標本化を行うような場合においても、画像編集が施されない部分の画素点に関しては、画像編集によるデータ劣化は生じないようにすることができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るデータ処理装置における帯域制限処理を伴うサンプル変換を行う回路部分の構成を示すブロック図である。
【図2】本発明の第1の実施の形態に係るデータ処理装置における補間処理を伴う再標本化処理を行う回路部分の構成を示すブロック図である。
【図3】本発明の第1の実施の形態に係るデータ処理装置において、複数回のサンプル変換を行った場合における符号化データの変化を示す説明図である。
【図4】4:2:2方式および4:1:1方式におけるデータの周波数帯域制限について説明するための説明図である。
【図5】本発明の第1の実施の形態に係るデータ処理装置における周波数帯域制限処理と、周波数帯域制限されたデータの判別処理とを説明するための説明図である。
【図6】本発明の第1の実施の形態に係るデータ処理装置における周波数帯域制限の判別処理について説明する説明図である。
【図7】本発明の第1の実施の形態に係るデータ処理装置における周波数帯域制限の判別処理について説明する他の説明図である。
【図8】本発明の第1の実施の形態に係るデータ処理装置におけるサンプルポイント端処理を説明するための説明図である。
【図9】本発明の第1の実施の形態に係るデータ処理装置におけるサンプルポイント端処理を説明するための他の説明図である。
【図10】本発明の第1の実施の形態に係るデータ処理装置におけるサンプルポイント端処理を説明するための更に他の説明図である。
【図11】本発明の第1の実施の形態に係るデータ処理装置におけるサンプルポイント端処理について示す説明図である。
【図12】本発明の第2の実施の形態に係るデータ処理装置における帯域制限処理を示す流れ図である。
【図13】本発明の第2の実施の形態に係るデータ処理装置における再標本化補間処理を示す流れ図である。
【図14】本発明の第2の実施の形態に係るデータ処理装置における帯域制限処理を伴うサンプル変換を行う回路部分の構成を示すブロック図である。
【図15】本発明の第2の実施の形態に係るデータ処理装置における補間処理を伴う再標本化処理を行う回路部分の構成を示すブロック図である。
【図16】本発明の第2の実施の形態に係るにデータ処理装置における周波数帯域制限処理と、周波数帯域制限されたデータの判別処理とを説明するための説明図である。
【図17】複数回のサンプル変換を行った場合における符号化データの変化を示す説明図である。
【図18】3タップ・フィルタを用いてサンプル変換を繰り返した場合におけるフィルタ係数とタップ数の変化を表す説明図である。
【図19】サンプル変換に伴うデータの劣化をより具体的に示す説明図である。
【符号の説明】
1…画像端処理回路、2,32…H/V処理回路、3,34…保存・補間点切替回路、4,35…遅延回路、5,36…フィルタ回路、10…帯域制限判別回路、11…後側補間点比較回路、15…前側補間点比較回路。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus and method for performing sampling at a sampling frequency different from the sampling frequency of input data.
[0002]
[Prior art]
In recent years, with the development of digital technology, the exchange of encoded data is increasing in various fields. In this case, accompanying the transmission or recording of the encoded data, the encoded data may be converted into a different sampling standard to exchange data.
[0003]
Here, in the field of digital television, three primary color signals of red (R), green (G), and blue (B) are converted into a luminance signal Y and two color difference signals C.R(RY), CBThree digital component signals converted into (BY) are used as a baseband. Sampling standards for sampling digital component signals are standardized by ITU-R (International Telecommunication Union Radiocommunication Division (formerly CCIR (International Radiocommunication Advisory Committee)). In this sampling standard, for example, the ratio of the sampling frequency of each signal of the luminance signal and the color difference signal is determined. Regarding the standard of digital component signal transmission, basically, a method in which the ratio of the sampling frequency of each component signal is 4: 2: 2 (with respect to the sampling frequency of the luminance signal, (Sampling method with half the sampling frequency). In this method, 13.5 MHz is used for the sampling frequency of the luminance signal, and 6.75 MHz is used for the sampling frequency of each color difference signal. At this time, the signal band of each signal is a value obtained by halving the sampling frequency according to shannon's sampling theorem, the signal band of the luminance signal is 6.75 MHz, and the signal band of the color difference signal is 3.375 MHz. The ITU-R also defines a method in which the ratio of sampling frequencies of component signals is 4: 4: 4. In this case, the sampling frequency of all signals is 13.5 MHz. It is.
[0004]
On the other hand, in a digital video cassette (hereinafter referred to as DVC) that records encoded data such as a digital component signal, a sampling standard different from the above 4: 2: 2 system is defined. In DVC, sampling is usually performed with respect to the above-described 4: 2: 2 system component signal by further reducing the band of the color difference signal to ½. At this time, the method of performing band limitation in the horizontal direction of the screen is the 4: 1: 1 method, and the method of performing band limitation in the vertical direction is the 4: 2: 0 method. In this case, for example, in the 4: 1: 1 system, 13.5 MHz is used for the sampling frequency of the luminance signal, and 3.375 MHz is used for the sampling frequency of the color difference signal. At this time, the signal band of the luminance signal is 6.75 MHz, and the signal band of the color difference signal is 1.6875 MHz.
[0005]
As described above, the sampling standard (4: 2: 2 system) for digital component signal transmission and the like is different from the sampling standard for DVC or the like, and therefore the component signal transmitted by the interface is usually used. When recording on a DVC, it is necessary to convert the format of the sampling standard from the 4: 2: 2 system to the 4: 1: 1 system (or 4: 2: 0 system) (hereinafter referred to as such a sample). The format conversion of the standardization is called sample conversion.) Here, when the sample conversion from the 4: 2: 2 system to the 4: 1: 1 system is performed as described above, the sampling frequency F of the 4: 2: 2 system is used as the sampling frequency F of the color difference signal.sHalf of (Fs/ 2) Sampling is performed. At this time, in order to avoid aliasing noise caused by lowering the sampling frequency, for example, the sampling frequency F with respect to the input signal is selected.sA band limiting process is performed to limit the signal in the half frequency band of / 2. By performing the band limiting process in this way, the influence of aliasing noise is reduced. By performing sample conversion in this manner, for example, if there are M sample points (sampled points) with sampling in 4: 2: 2 format data, the 4: 1: 1 format is used. M / 2 sample points are thinned out by conversion to, and the remaining M / 2 sample points are recorded in a DVC or the like as sampled storage points (hereinafter referred to as sample storage points).
[0006]
In addition, when reproducing a digital component signal recorded in a DVC or the like by the 4: 1: 1 system, it is necessary to perform sample conversion from the 4: 1: 1 system to the 4: 2: 2 system. In this case, the sampling frequency F of the color difference signal once band-limited.s/ 2 is 4: 2: 2 sampling frequency FsSampling up to At this time, in order to interpolate the sample points thinned out by the conversion to the above-described 4: 1: 1 system, an interpolation process for appropriately inserting the sample interpolation points is performed. In this interpolation process, the sample interpolation point is obtained by performing a predetermined calculation process on the storage point recorded by the 4: 1: 1 method.
[0007]
[Problems to be solved by the invention]
As described above, conventionally, in the sample conversion from the 4: 2: 2 system to the 4: 1: 1 system (or 4: 2: 0 system), the frequency band limiting process for attenuating the high-frequency component of the color difference signal is performed. ing. This band limiting process is effective in reducing aliasing noise if the input data is original data that has not been band limited. For example, the input data is once subjected to the band limiting process. If the data is new data, the data is degraded due to the characteristics of the band limiting filter. This is because the band limiting filter can effectively have a finite number of taps. Thus, conventionally, when the sample conversion between the 4: 2: 2 method and the 4: 1: 1 method (or 4: 2: 0 method) is repeated by dubbing processing (data duplication processing) or the like, a color difference signal is obtained. However, there is a problem that it is deteriorated by the band limiting process. Hereinafter, the data deterioration accompanying the sample conversion will be described in more detail.
[0008]
FIG. 17 is an explanatory diagram showing changes in encoded data when a plurality of sample conversions are performed. In the following description, blue will be described as a representative color difference signal, but the same applies to red. In the sample conversion shown in this figure, an example is shown in which a 3-tap filter according to the following function equation (1) is used as a band limiting filter. This expression (1) is a digital filter having 3 taps and 1/4, 2/4, and 1/4 filter coefficients. In Expression (1), B represents an original blue color difference signal sampled by, for example, 4: 2: 2, and the position of the sample point of the color difference signal B is indicated by a subscript. Yes. N in the subscript of the color difference signal B represents an arbitrary integer. In the formula (1), B ′2NIndicates, for example, a blue color difference signal corresponding to a sample storage point recorded after sample conversion of the 4: 1: 1 system is performed on the original color difference signal B.
[0009]
B ’2N  = 1/4 · (B2N-1+ 2B2N+ B2N + 1(1)
[0010]
Further, in the sample conversion shown in FIG. 17, an example is shown in which an interpolation process using the following 3-tap filter function equation (2) is performed. In the formula (2), B ′2N + 1Shows, for example, a blue color difference signal corresponding to an interpolation point to be interpolated when resampling is performed from the 4: 1: 1 method to the 4: 2: 2 method.
[0011]
Figure 0003982076
[0012]
In FIG. 17, data D100Is the original blue color difference signal (B2N-2, B2N-1, B2N, B2N + 1, B2N + 2,. . . ) Data. Data D101Is data D100The data which performed sample conversion with respect to is shown. This data D101Data DS11Is the original data D100The blue color difference signal (B ′) corresponding to the sample storage point recorded after the 4: 1: 1 system sample conversion with the band limiting process using the expression (1) is performed.2N-2, B '2N, B '2N + 2,. . . ) Data. The color difference signal stored here is the original data D100Even-numbered color difference signal (B2N-2, B2N, B2N + 2,. . . ). That is, in the conversion to the 4: 1: 1 system in this example, the original data D100Odd-numbered signal (B2N-1, B2N + 1,. . . ) Is thinned out without being saved. Data D101Data Di11Is the data D when resampling from the 4: 1: 1 method to the 4: 2: 2 methodS11The blue color difference signal (B ′) corresponding to the sample interpolation point to be interpolated using the equation (2)2N-1, B '2N + 1,. . . ). The interpolated color difference signal is the original data D100Odd-numbered color difference signal (B2N-1, B2N + 1,. . . ). That is, it corresponds to a signal that is thinned out without being saved in the conversion to the 4: 1: 1 system.
[0013]
In FIG. 17, data D102Is the data D subjected to the sample conversion with the band limiting process and the interpolation process as described above.101On the other hand, data obtained by performing sample conversion with a band limiting process and an interpolation process once more are shown. This data D102Data DS12Is data D101The blue color difference signal (B ″) corresponding to the sample storage point recorded after the 4: 1: 1 system sample conversion with the band limiting process using the expression (1) is performed.2N-2, B "2N, B "2N + 2,. . . ) Data. The color difference signal stored here is the data D once sample-converted.101Even-numbered color difference signal (B '2N-2, B '2N, B '2N + 2,. . . ). That is, data DS12Is data D101Data D as sample storage pointS11Corresponding to Data D102Data Di12Is the data D when resampling from the 4: 1: 1 method to the 4: 2: 2 methodS12The blue color difference signal (B ″) interpolated using the equation (2)2N-1, B "2N + 1,. . . ). The interpolated color difference signal is data D that has been sample converted once.101Odd-numbered color difference signal (B '2N-1, B '2N + 1,. . . ). That is, data D101Data D as sample interpolation point ini11Corresponding to
[0014]
As shown in this figure, when a 3-tap filter is used, the sample storage point and interpolation point values change according to the characteristics of the filter by repeating sample conversion multiple times corresponding to dubbing processing. The number of taps and coefficients of the filter function will also change. Such characteristics occur as long as a filter with a finite number of taps is used.
[0015]
FIG. 18 shows changes in the filter coefficient and the number of taps when sample conversion is repeated using the above-described 3-tap filter. In this figure, the vertical axis represents the filter coefficient value, and the horizontal axis represents the tap point on the time axis. The center of the tap point is the filter function pole. In the figure, the symbol F1Is the data D obtained by performing sample conversion on the original data, for example.101Corresponding to Further, for example, in the figure, reference numeral F2Is the data D once sample converted.101Data D that has undergone further sample conversion102Corresponding to As can be seen from this figure, by repeating the sample conversion, the number of taps of the filter function and the filter coefficient change. In this case, the value of the filter coefficient changes so that the distribution of tap points becomes wider.
[0016]
FIG. 19 is an explanatory diagram more specifically showing the deterioration of data accompanying the sample conversion described above. In the example of this figure, the amplitude is specifically A as the color difference signal.0Pulse signal (BN) Is input, it shows how the signal deteriorates. In this figure, (A) shows the original signal, and the original data D in FIG.100It corresponds to. (B) shows a signal that has been sampled once for the pulse signal of (A), that is, band-restricted and then interpolated and resampled. The data in FIG. D101Is a signal corresponding to. (C) shows a signal that has been resampled by performing sample conversion on the pulse signal of (B), that is, performing band limiting processing on the pulse signal of (B), and then performing interpolation processing. Data D in FIG.102Is a signal corresponding to. From this figure, the amplitude A0It can be seen that the pulse signal of is deteriorated by repeating the sample conversion. As described above, conventionally, after performing band limiting processing on input data, interpolation processing is performed, and sample conversion such as re-sampling is repeated, whereby data deteriorates.
[0017]
The present invention has been made in view of such a problem, and an object of the present invention is to provide a data processing apparatus and method capable of preventing data deterioration when sampling is performed at a sampling frequency different from the sampling frequency of input data. Is to provide.
[0018]
[Means for Solving the Problems]
  The data processing apparatus according to the present invention, the determination means for determining whether or not the sampled input data is data that has been subjected to band limitation processing in a band lower than a predetermined frequency band,Having a filter circuit;Depending on the discrimination result of the discriminator, input data can beUsing a filter circuitIncludes sampling means that performs sampling at a sampling frequency different from the sampling frequency of the input data while performing frequency band limiting processingThe discriminating means performs discrimination processing using the output value from the filter circuit in the sampling means.Is.
[0019]
  The data processing method according to the present invention determines whether or not the sampled input data is data that has undergone band limitation processing in a band lower than a predetermined frequency band.The determination step toDepending on the determination result, if necessary,Using a filter circuitPerforms frequency band restriction processing and performs sampling at a sampling frequency different from the sampling frequency of the input dataIn the discrimination step, the discrimination process is performed using the output value from the filter circuit used in the sampling step.It is what I did.
[0020]
In the data processing apparatus and method according to the present invention, it is determined whether or not the sampled input data is data that has undergone band limitation processing in a band lower than a predetermined frequency band, and according to the determination result. The input data is subjected to frequency band limiting processing as necessary, and sampling is performed at a sampling frequency different from the sampling frequency of the input data.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0022]
[First Embodiment]
The data processing apparatus according to the present embodiment performs a band limiting process or the like on a digital component signal sampled in a 4: 2: 2 format, for example, and is a recording format such as DVC 4: 1: 1. In addition to conversion to a signal of the system, the signal converted to the 4: 1: 1 system is resampled by performing an interpolation process or the like for recording in the DVC or the like, and converted to a signal of the 4: 2: 2 system again. It is for conversion. However, the present invention is not limited to the sample conversion process between the 4: 2: 2 method and the 4: 1: 1 method, and the sample conversion between other methods is also possible. Is available. In the following description, sample conversion related to a blue color difference signal among digital component signals will be described, but the same applies to a red color difference signal. In the 4: 2: 2 system and the 4: 1: 1 system, the sampling standard for the luminance signal is the same, and the sampling frequency is not converted.
[0023]
1 and 2 are block diagrams showing the configuration of the data processing apparatus according to the first embodiment of the present invention. Here, FIG. 1 shows a configuration of a circuit portion that performs sample conversion accompanied by band limitation processing in the data processing apparatus according to the present embodiment. FIG. 2 shows the configuration of a circuit portion that performs resampling processing with interpolation processing in the data processing apparatus according to the present embodiment.
[0024]
As shown in FIG. 1, the data processing apparatus according to the present embodiment, for example, uses the sampling frequency F by the 4: 2: 2 method.SBlue color difference signal (B2N, B2N + 1, B2N + 2, B2N + 3,. . . The H / V synchronization signal S for synchronizing the image edge processing circuit 1 to which the encoded data is input in the horizontal and vertical directions (hereinafter referred to as H / V).1And an image edge detection signal S for detecting the edge of the image to the image edge processing circuit 1.ThreeH / V synchronization circuit 2 that outputs the H / V synchronization signal S1And H / V parameter signal S relating to the shift amount of H / V2Is input, and the storage / interpolation point switching signal S is used to switch between the sample storage point and the interpolation point.Four, SFiveAnd a delay circuit 4 and a filter circuit 5 to which an output signal from the image edge processing circuit 1 is input.
[0025]
In the data processing apparatus according to the present embodiment, the product-sum operation circuit 6 to which the signal delayed by the delay circuit 4 and the output signal from the filter circuit 5 are input and the output signal from the product-sum operation circuit 6 are received. An input 1/2 arithmetic circuit 7, a D flip-flop circuit 8 to which an output signal from the 1/2 arithmetic circuit 7 is input, a D flip-flop circuit 9 to which a signal delayed by the delay circuit 4 is input, The signal delayed by the delay circuit 4 and the output signal from the filter circuit 5 are inputted, and the switching signal S6, And output signals from the D flip-flop circuit 8 and the D flip-flop circuit 9, and a switching signal S from the band limitation determination circuit 106Based on the switching circuit SW2 for selectively outputting any one of the input signals, the D flip-flop circuit 18 to which the signal output from the switching circuit SW2 is input, the switching circuit SW2 and the D flip-flop The output signal from the circuit 18 is input, and any one of the input signals is stored as the switching signal S from the storage / interpolation point switching circuit 3.FiveAnd a switching circuit SW3 for selectively outputting based on the above.
[0026]
Here, the circuit portion shown in FIG. 1 corresponds to “sampling means” in the present invention. The band limitation determination circuit 10 corresponds to the “determination unit” in the present invention.
[0027]
The image edge processing circuit 1 receives encoded data, a delay circuit 20 that outputs a plurality of signals obtained by delaying the input data at a plurality of timings, and a plurality of output signals from the delay circuit 20. And an image end detection signal S from the H / V synchronization circuit 2.ThreeAnd storage / interpolation point switching signal S from storage / interpolation point switching circuit 3FourAnd a switching circuit SW1 that selectively outputs any one of the signals input from the delay circuit 20. The delay circuit 20 includes a D flip-flop circuit 21, a D flip-flop circuit 22, a D flip-flop circuit 23, and a D flip-flop circuit 24, thereby outputting a plurality of delayed signals.
[0028]
The band limitation determination circuit 10 includes a rear interpolation point comparison circuit 11 to which an output signal from the delay circuit 4 and an output signal from the filter circuit 5 are input, an output signal from the delay circuit 4 and an output signal from the filter circuit 5. Is input to the D flip-flop circuit 12, the D flip-flop circuit 13 to which the output signal from the D flip-flop circuit 12 is input, and the output signal from the delay circuit 4 through the D flip-flop circuit 9. An output signal from the delay circuit 4 is input via the D flip-flop circuit 14, the D flip-flop circuit 9 and the D flip-flop circuit 14, and a filter circuit via the D flip-flop circuit 12 and the D flip-flop circuit 13. And an AND circuit 16 to which an output signal from 5 is input. The AND circuit 16 sends a switching signal S to the switching circuit SW2.6Is output.
[0029]
In the circuit having the above configuration, for example, the sampling frequency F sampled by the 4: 2: 2 method.SColor difference signal B2N, B2N + 1, B2N + 2, B2N + 3,. . . A band limiting process is performed as necessary on the data of the color difference signal B ′.2N, B '2N, B '2N + 2, B '2N + 2,. . . Is output and the sampling frequency FS/ 2 of 4: 1: 1 system data is output.
[0030]
Input color difference signal B2N, B2N + 1, B2N + 2, B2N + 3,. . . Which data is the data corresponding to the sample storage point and the sample interpolation point is determined by the 4: 1: 1 sampling standard and the storage / interpolation point in the previous stage of the actual sampling process. H / V parameter signal S input in switching circuit 32It is determined based on. The input color difference signal B2N, B2N + 1, B2N + 2, B2N +3,. . . In this data, data serving as sample interpolation points corresponds to “first data” in the present invention, and data serving as sample storage points corresponds to “second data” in the present invention.
[0031]
As shown in FIG. 2, the data processing apparatus according to the present embodiment uses, for example, a sampling frequency F by a 4: 1: 1 system as a circuit element that performs a resampling process involving an interpolation process.SBlue color difference signal (B2N, B2N + 2,. . . ) And the FIFO circuit 31 for outputting the input data in a first-in first-out (hereinafter referred to as FIFO) system and an H / V synchronization signal S for synchronizing H / V.11And an image edge detection signal S for detecting the image edge.13H / V synchronization circuit 32 that outputs the H / V synchronization signal S11And H / V parameter signal S relating to the shift amount of H / V12Is input, and the storage / interpolation point switching signal S is used to switch between the sample storage point and the interpolation point.14, S15Is output to the storage / interpolation point switching circuit 33 and the FIFO circuit 31, and the image end detection signal S from the H / V synchronization circuit 32 is input.13And a storage / interpolation point switching signal S from the storage / interpolation point switching circuit 33.14Are input to the image end processing circuit 34, the delay circuit 35 and the filter circuit 36 to which the output signal from the image end processing circuit 34 is input, and the output signals from the delay circuit 35 and the filter circuit 36 are input. Switching signal S from the storage / interpolation point switching circuit 3315And a switching circuit SW5 that selectively outputs any one of the input signals.
[0032]
The image end processing circuit 34 receives the encoded data via the FIFO circuit 31 and outputs a plurality of signals obtained by delaying the input data at a plurality of timings. While a plurality of output signals are input, the image end detection signal S from the H / V synchronization circuit 313And a storage / interpolation point switching signal S from the storage / interpolation point switching circuit 33.14And a switching circuit SW4 that selectively outputs any one of the signals input from the delay circuit 40. The delay circuit 40 includes a D flip-flop circuit 41, a D flip-flop circuit 42, a D flip-flop circuit 43, and a D flip-flop circuit 44, thereby outputting a plurality of delayed signals.
[0033]
In the circuit configured as described above, for example, the sampling frequency F sampled by the 4: 1: 1 method.S/ 2 color difference signal B2N, B2N + 2,. . . Interpolation processing is performed on the data of the color difference signal B as necessary.2N, B '2N + 1, B2N + 2,. . . Is output and the sampling frequency FSThe 4: 2: 2 format data is output.
[0034]
Next, the band limiting process and the interpolation process performed in the data processing apparatus configured as described above will be described more specifically.
[0035]
Conventionally, as described above, the signal value at the sample storage point changes each time sample conversion processing with band limitation such as dubbing is performed using, for example, the 3-tap filter represented by Equation (1). It was. Here, when the first sample conversion process is performed when the input data is original data that has not been band-limited, the frequency band-limiting process for the sample storage point data is performed according to the sampling theorem. is necessary. However, after the second sample conversion process, since the data of the sample storage point has already been subjected to the band limiting process, it is not necessary to perform the band limiting process. Conventionally, even after the second sample conversion process, since the band limiting process is performed on the data at the sample storage point in the same manner as the first time, the signal value of the data at the sample storage point is deteriorated. Therefore, in the present embodiment, as the band limiting process for the second and subsequent times, the process of only thinning out the data of the sample interpolation points generated by the first sample conversion process is performed to prevent data deterioration. Yes. That is, in this embodiment, the value of the sample storage point recorded after the second and subsequent band limiting processes is set to be the same as the sample storage point recorded in the first sample conversion process.
[0036]
FIG. 3 is an explanatory diagram showing changes in encoded data when a plurality of sample conversions are performed in the data processing apparatus according to the present embodiment. In this figure, data DORGIs, for example, an original blue color difference signal (B2N-2, B2N-1, B2N, B2N + 1, B2N + 2,. . . ) Data. Data D1STIs data DORGThe data which performed sample conversion with respect to is shown. This data D1STData DS1Is the original data DORGFor example, a blue color difference signal (B ′) corresponding to a sample storage point recorded after performing a sample conversion of a 4: 1: 1 system, for example, with a band limiting process using the expression (1).2N-2, B '2N, B '2N + 2,. . . ) Data. The color difference signal stored here is the original data DORGEven-numbered color difference signal (B2N-2, B2N, B2N + 2,. . . ). That is, in the conversion to the 4: 1: 1 system in this example, the original data DORGOdd-numbered signal (B2N-1, B2N + 1,. . . ) Is thinned out without being saved. Data D1STData Di1Is the data D when resampling from the 4: 1: 1 method to the 4: 2: 2 methodS1The blue color difference signal (B ′) corresponding to the sample interpolation point to be interpolated using the following equation (3)2N-1, B '2N + 1,. . . ). The interpolated color difference signal is the original data DORGOdd-numbered color difference signal (B2N-1, B2N + 1,. . . ). That is, it corresponds to a signal that is thinned out without being saved in the conversion to the 4: 1: 1 system.
[0037]
B ’2N + 1= 1/2 ・ (B '2N+ B ’2N + 2(3)
[0038]
In FIG. 3, data D2NDIs the data D subjected to the sample conversion with the band limiting process and the interpolation process as described above.1STIn addition, data obtained by performing sample conversion again is shown. This data D2NDData DS2Is data D1STFor example, a blue color difference signal (B ″) corresponding to a sample storage point recorded after sample conversion of a 4: 1: 1 system is performed.2N-2, B "2N, B "2N + 2,. . . ) Data. In the present embodiment, the data D corresponding to this sample storage pointS2Is data D1STOn the other hand, the data D is simply processed without performing the band limiting process using the expression (1).1STTo data D corresponding to sample interpolation pointi1It is obtained by thinning out. That is, data D2NDData D corresponding to sample storage point inS2Is data D1STData D as sample storage pointS1It is equal to. Data D2NDData Di2For example, data D is used when resampling is performed from the 4: 1: 1 system to the 4: 2: 2 system.S2The blue color difference signal (B ″) interpolated using the equation (3)2N-1, B "2N + 1,. . . ). Data Di2Is the data D as the sample storage pointS2Is calculated from the data D in the present embodiment.S2But data D1STData D as sample storage pointS1This data Di2Also data D1STData D which is the data interpolation point ini1Is equal to
[0039]
As described above, in the present embodiment, the data of the sample interpolation point generated by the first sample conversion process is thinned out as the band limitation process for the second and subsequent times for the data subjected to the band limitation process once. Data degradation is prevented by performing only the processing.
[0040]
Here, whether or not the data subject to sample conversion is data that has been subjected to the band limiting process is determined based on whether or not the sample interpolation point of the data to be band limited satisfies Equation (3). Can be performed. This is because, as can be seen from FIG. 3, the sample interpolation points are calculated only by the sample storage points subjected to band limitation. Therefore, if the sample interpolation point of the data to be subjected to the band limiting process satisfies the expression (3), it can be determined that the sample point has already been subjected to the frequency band limiting process. That is, when Expression (3) is satisfied, it can be seen that the data originally has only a frequency band of only sample storage points. By performing the band limiting process for such data by simply thinning out the sample interpolation points without using a filter such as the equation (1), the data can be restored without causing deterioration of the data at the time of resampling. Can be done.
[0041]
Such processing that does not perform filter processing is also applied to original 4: 2: 2 format data that has not been subjected to sample conversion. Original 4: 2: 2 format data that originally has a frequency band only at the same sample storage point as the 4: 1: 1 format or 4: 2: 0 format (for example, CG (computer graphics)) In the case of artificial image data such as the above, the data is restored without causing data deterioration by simply performing the process of thinning out the sample interpolation points without using the equation (1) in the same manner as described above. It can be carried out.
[0042]
FIG. 4 is an explanatory diagram for explaining the frequency band limitation of data in the 4: 2: 2 system and the 4: 1: 1 system. In this figure, black circles indicate sample storage points, and white circles indicate sample interpolation points. Further, in this figure, (A) shows the distribution of sample points by the 4: 2: 2 method on the signal waveform of the original data. Also, in this figure, (B) shows the distribution of sample points according to the 4: 1: 1 method in correspondence with (A) on a straight line, and (C) shows the 4: 2: 2 method. The distribution of sample points is shown on the straight line in correspondence with (A).
[0043]
For 4: 2: 2 format data, the sampling frequency FSSince 6.75 MHz is used, there should be a signal band up to 3.375 MHz according to the sampling theorem. However, if the sample points of the sampled data are composed of sample storage points and sample interpolation points interpolated between the sample storage points as shown in FIG. There is no signal band up to 375 MHz. That is, as shown in FIG. 6C, when sample storage points and sample interpolation points are arranged alternately, the signal band is limited to 1.6875 MHz, which is lower than 3.375 MHz. become. This is equal to the signal band by the 4: 1: 1 system as shown in FIG. In the case of 4: 1: 1 data, the sampling frequency FSSince 3.375 MHz is used, there is a signal band up to 1.6875 MHz according to the sampling theorem. In the data processing apparatus according to the present embodiment, data deterioration can be prevented when sample change is performed on such band-limited data.
[0044]
Next, filter function expressions used in the data processing apparatus of the present embodiment shown in FIGS. 1 and 2 will be described.
[0045]
The 3-tap filter functions of the above-described equations (1) and (2) can be expressed by the following equations (5) and (6). Expression (5) corresponds to Expression (1), and Expression (6) corresponds to Expression (2). These expressions include the same function expression (4). In this way, by using the equations (5) and (6) including the same function equation (4), in the band limiting process, the frequency band limiting process at the sample storage point and the frequency band limiting at the sample interpolation point are performed. The same circuit element (filter circuit 5 in FIG. 1) can be shared when performing the data discrimination process, and two processes can be performed collectively on the time axis.
[0046]
f (BN-1, BN + 1) = 1/2 ・ (BN-1+ BN + 1(4)
B ’2N= 1/2 ・ [B2N+ F (B2N-1, B2N + 1]] (5)
B ’2N + 1= 1/2 · f (B2N, B2N + 2(6)
[0047]
Here, in the circuit shown in FIG. 1, the filter circuit 5 performs arithmetic processing corresponding to Expression (4). Further, the delay circuit 4, the filter circuit 5, the product-sum operation circuit 6 and the 1/2 operation circuit 7 perform an operation process corresponding to the equation (5). Further, the rear side interpolation point comparison circuit 11 and the front side interpolation point comparison circuit 15 in the frequency discriminating circuit 10 perform arithmetic processing corresponding to the equation (6). In the rear interpolation point comparison circuit 11, a storage point (for example, B2N) With respect to the back interpolation point (for example, B2N + 1), And the front interpolation point comparison circuit 15 stores the stored point (for example, B2N) To the front interpolation point (for example, B2N-1) Is performed. In the circuit shown in FIG. 2, the filter circuit 36 performs an arithmetic process corresponding to Expression (6).
[0048]
FIG. 5 is an explanatory diagram for explaining the frequency band limiting process and the determination process of the frequency band limited data according to the present embodiment. In this figure, data DTenIs, for example, a blue color difference signal (B as input data sampled in a 4: 2: 2 system).2N-2, B2N-1, B2N, B2N + 1, B2N + 2,. . . ) Data. In this figure, data D11Is data DTenFor example, a blue color difference signal (B ′) corresponding to a sample storage point recorded after performing a sample conversion of, for example, a 4: 1: 1 system accompanied by a band limiting process using Expression (5).2N-2, B '2N, B '2N + 2,. . . ) Data. As shown in this figure, in the present embodiment, data D as input dataTenOn the other hand, if necessary, the frequency band limiting process at the sample storage point is performed by the equation (5) and the sample interpolation point (B2N-1, B2N + 1,. . . The frequency band-limited data discrimination process in () is collectively performed on the time axis using equation (6).
[0049]
Next, frequency band limitation determination processing according to the present embodiment will be described with reference to FIGS. In these figures, the distribution of sample points in the 4: 2: 2 format data is shown on a straight line. In these drawings, black circles indicate sample storage points, and white circles indicate sample interpolation points. However, in FIG. 6, white circles indicate sample interpolation points that match the filter function represented by Expression (6), and × marks indicate sample interpolation points that do not match the filter function represented by Expression (6). Show.
[0050]
As shown in FIG. 6, regarding the data in the section where the sample interpolation point coincides with the filter function expressed by the equation (6), it can be said that the section is band-limited data. In FIG. 6, B including the sample interpolation point that matches the filter function.2N-2~ B2NThe data section corresponds to a data section whose bandwidth is limited. That is, B2N-2~ B2NIn the data section, the band is limited to 1.6875 MHz with respect to the normal band of 3.375 MHz according to the 4: 2: 2 system.
[0051]
Here, for example, sample storage point B2NAs shown in FIG. 7, the sample storage point B is determined as to whether or not is a value within the frequency band restricted section.2NSample interpolation point B before and after2N-1, B22N + 1Can be discriminated based on whether or not it matches the filter function of equation (6). As a result, it is possible to determine the frequency band limitation for each sample storage point. That is, in the present embodiment, it is possible to perform frequency band limitation determination processing in units of pixels.
[0052]
Next, with reference to FIGS. 8 to 10, data processing at the data end in the data processing apparatus of the present embodiment will be described. In FIG. 8 to FIG.E1And DE2The portion indicated by indicates an end portion of data. In these drawings, black circles indicate sample storage points, and white circles indicate sample interpolation points. 8 and 10, the distribution of sample points in 4: 2: 2 format data is shown on a straight line. Further, in FIG. 9, the distribution of sample points in the data of the 4: 1: 1 system or the 4: 2: 0 system is shown on a straight line.
[0053]
Since it is not possible to obtain sufficient data for the number of taps necessary for the filter processing at the image end (hereinafter referred to as the sample point end), conventionally, as the filter processing at the sample point end, By extending the sample points on the virtual data by the number of taps of the filter, there is a case where processing is performed to reduce noise peculiar to the sample point ends. In FIG. 7, sample point end DE1, DE2To sample point end DE1, DE2Data B at the closest point to0, Bm + 1, Sample point end DE1, DE2An example of extension on virtual data from is shown.
[0054]
  In FIG. 9, sample conversion is performed in the 4: 2: 1 format or 4: 2: 0 format for the 4: 2: 2 format data that has been extended at the sample point end as shown in FIG. It shows the data in case of breakage. Even when the frequency band is limited with sample conversion,FIG.As with, the sample point end is extended by the filter tap. Here, as shown in FIG. 9, when the sample storage point data subjected to the band limitation of the 4: 1: 1 method or the 4: 2: 0 method is resampled into the data of the 4: 2: 2 method, the sample point end is obtained. There are two possible cases for the data of the storage point and the interpolation point.
[0055]
FIG. 10 shows the data when the sample storage point data subjected to the band limitation in the 4: 1: 1 system or the 4: 2: 0 system is resampled into the data of the 4: 2: 2 system as shown in FIG. It is shown. In this case, the sample point end DE1The data at is the sample storage point B0And sample point end DE2The data at is the sample interpolation point Bm + 1It has become. Here, as in the case of FIG. 8, when data is extended using only one point at the end of the sample point, the relationship between the sample storage point and the interpolation point is broken on the extended data, and the sample in this embodiment is used. Band limitation determination processing at the point end becomes impossible.
[0056]
FIG. 11 is an explanatory diagram showing data processing at the data end performed in the data processing apparatus of the present embodiment. In this figure, black circles indicate sample storage points, and white circles indicate sample interpolation points. In these figures, the symbol DE1And DE2The portion indicated by indicates an end portion of data.
[0057]
In the present embodiment, as shown in the example of FIG. 10, the relationship between the sample storage point and the interpolation point on the extension data is broken, and the band limitation determination process at the sample point end in this embodiment becomes impossible. In order to avoid this, the two sample point points closest to the sample point end are alternately used as extension data. Thereby, the relationship between the sample storage point and the sample interpolation point is established at the sample end, and the band limitation determination process can be performed. In the example of FIG. 11, the sample point end DE1To data B0, B1The data is extended by using alternately. Sample point end DE2To data Bm, Bm + 1The data is extended by using alternately. In order to perform the band limitation determination process at the storage point in the data effective area, it is necessary to supplement the data up to the interpolation point adjacent to the storage point at the sample point end. That is, it is necessary to extend data corresponding to the number of taps necessary for the filter function from the sample interpolation points at both ends onto the virtual data.
[0058]
Next, the operation of the data processing apparatus according to this embodiment will be described with reference to FIGS. The following description also serves as a description of the data processing method according to the present embodiment.
[0059]
FIG. 12 is a flowchart showing the bandwidth limitation process in the data processing apparatus according to the present embodiment. In the circuit shown in FIG. 1, the sampling frequency F is applied to the image edge processing circuit 1 by, for example, the 4: 2: 2 method.SBlue color difference signal (B2N, B2N + 1, B2N + 2, B2N + 3,. . . ) Encoded data is input (step S101), the H / V parameter signal S input in the storage / interpolation point switching circuit 3 is input.2The position of the sample storage point and sample interpolation point of the input data is determined based on (Step S102). Next, the H / V synchronization signal S input in the H / V synchronization circuit 21Based on the above, it is determined whether or not the input data is a sample point end (step S103). If the input data is the sample point end (Y), the image end processing circuit 1 performs the sample point end processing as shown in FIG. 11 (step S104).
[0060]
When the input data is not at the sample point end (step S103; N), and when the sample point end processing is performed, each of the data before and after the input data is next processed by the band limitation determination circuit 10. It is determined whether or not the sample point has already been subjected to band limitation processing (step S105). If each of the preceding and following sample points has already been subjected to the band limiting process (Y), the data obtained by simply thinning out the interpolation point data without performing the band limiting process on the input data S8Is output from the switching circuit SW2 (step S106). If any one of the preceding and following sample points has not been subjected to the band limiting process (step S105; N), the delay circuit 4, the filter circuit 5, the product-sum operation circuit 6 and the 1/2 operation circuit 7 are processed. The data S subjected to frequency band limitation processing via7Is output from the switching circuit SW2 (step S107).
[0061]
Next, the storage / interpolation point switching signal S from the storage / interpolation point switching circuit 3FiveBased on the above, it is determined whether or not the data is a sample storage point (step S108). In the case of the sample storage point (Y), for example, the sampling frequency F is obtained from the switching circuit SW3.S/ 2 data corresponding to the 4: 1: 1 system (color difference signal B '2N, B '2N, B '2N + 2, B '2N + 2,. . . ) Is output (step S109). If it is not a sample storage point (step S108; N), a data truncation process is performed (step S110).
[0062]
FIG. 13 is a flowchart showing the resampling interpolation process in the data processing apparatus according to the present embodiment. In the circuit shown in FIG. 2, the sampling frequency F is applied to the FIFO circuit 31 by, for example, the 4: 1: 1 method.SBlue color difference signal (B2N, B2N + 2,. . . ) Encoded data is input (step S201), the H / V parameter signal S input in the storage / interpolation point switching circuit 33 is input.12Based on, the positions of the sample storage points and sample interpolation points of the input data are determined (step S202). Next, the H / V synchronization signal S input in the H / V synchronization circuit 32.11Based on the above, it is determined whether or not the input data is the sample point end (step S203). If the input data is at the sample point end (Y), the image end processing circuit 34 performs the sample point end processing as shown in FIG. 11 (step S204).
[0063]
If the input data is not at the sample point end (step S203; N), and if sample point end processing has been performed, then in the storage / interpolation point switching circuit 33, the data is the sample interpolation point. Is determined (step S205). In the case of the sample interpolation point (Y), the data S that has been subjected to the interpolation processing using the equation (6) in the filter circuit 36.2N + 1Is output (step S206). Next, when interpolation processing is performed and when the data is not a sample interpolation point (step S206; N), the storage / interpolation point switching signal S from the storage / interpolation point switching circuit 33 is output from the switching circuit SW5.15Based on the data S from the delay circuit 352NAnd data S from the filter circuit 362N + 1Are alternately output, for example, sampling frequency FSData that has been sump-converted into the 4: 1: 1 system of / 2 is output (step S207).
[0064]
  As described above, according to the present embodiment, for the data that has been subjected to the band limiting process once, the sample interpolation point generated by the first sample conversion process is used as the band limiting process for the second and subsequent times. Since the process of thinning out data is performed, for example, a plurality of dubbing processes in which sample conversion between the 4: 2: 2 system and the 4: 1: 1 system (or 4: 2: 0 system) is repeated. Therefore, even if the dubbing process is theoretically performed infinitely, substantially the same data as the first sample-converted data can be obtained. In addition, even original data that has not yet undergone sample conversion has an image that has a frequency band only at the sample storage point (CG(Artificial images such as) is not subjected to band limitation processing, but only thinning processing of sample interpolation points is performed. Therefore, the data is compared with band limitation processing uniformly in the original data. Sample conversion can be performed without deterioration, and data similar to the data before sample conversion can be restored.
[0065]
In addition, according to the present embodiment, the frequency band limitation determination process can be performed in units of one pixel at each sample storage point. For example, on the data baseband in the 4: 2: 2 system. Samples between 4: 2: 2 and 4: 1: 1 (or 4: 2: 0) by applying special effects, character insertion or image editing such as A and B rolls to the image. Even in the case of conversion, data deterioration due to image editing does not occur with respect to the pixel points in the portion where image editing is not performed. As a result, for example, when editing 4: 2: 2 format data in a 4: 1: 1 format and 4: 2: 0 format non-linear editor or VTR device that requires bandwidth limitation processing Degradation of data due to can be minimized.
[0066]
In addition, according to the present embodiment, since the process of extending the sample point end is performed so that the relationship between the sample storage point and the interpolation point is not broken, the band limitation is effectively determined even at the sample point end. Processing can be performed.
[0067]
As described above, according to the present embodiment, it is possible to prevent data deterioration when sampling is performed at a sampling frequency different from the sampling frequency of input data.
[0068]
[Second Embodiment]
Next, a second embodiment of the present invention will be described. In the following description, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
[0069]
There is what is called an adaptive filter that adjusts the frequency band limiting process in the sample conversion from the 4: 2: 2 system to the 4: 1: 1 system (or 4: 2: 0 system) according to the input data value. . This is used to reduce ringing of data subjected to band limitation processing and improve an image better. However, the adaptive filter is more deteriorated by repeated dubbing processing than a fixed filter such as the above-described 3-tap filter. Here, the sample interpolation point thinning-out process according to the present invention can be performed if the relationship between the sample storage point and the sample interpolation point is established by a certain filter function that has been subjected to interpolation processing by resampling. Even an adaptive filter can be used effectively. In the present embodiment, an example in which this adaptive filter is applied will be described.
[0070]
14 and 15 are block diagrams showing the configuration of the data processing apparatus according to the second embodiment of the present invention. Here, FIG. 14 shows a configuration of a circuit portion that performs sample conversion accompanied by band limitation processing in the data processing apparatus according to the present embodiment. FIG. 15 shows the configuration of a circuit portion that performs resampling processing with interpolation processing in the data processing apparatus according to the present embodiment.
[0071]
As shown in FIG. 14, the data processing apparatus according to the present embodiment receives the data from the image edge processing circuit 1 and performs a filtering process with the adaptive filter function G on the input data. The filter circuit 51 to be output to the product-sum operation circuit 6 and the data from the image edge processing circuit 1 are input, and the input data is subjected to filter processing by a predetermined function H to be applied to the band limitation determination circuit 10. And a filter circuit 52 for outputting. In the configuration shown in FIG. 14, the configurations other than the filter circuit 51 and the filter circuit 52 are the same as those in FIG.
[0072]
As shown in FIG. 15, the data processing apparatus according to the present embodiment receives data from the image end processing circuit 34 as a circuit element that performs re-sampling processing with interpolation processing. A filter circuit 61 is provided that performs a filtering process on the data with a predetermined function H and outputs the filtered data to the switching circuit SW5. In the configuration shown in FIG. 15, the configuration other than the filter circuit 61 is the same as that in FIG.
[0073]
Here, in the present embodiment, the following equation (7) is used as a function equation corresponding to equation (5) in the first embodiment. In the present embodiment, the following equation (8) is used as a function equation corresponding to equation (6) in the first embodiment. Here, the function G represents an adaptive filter function, and the function H represents a function for interpolation processing corresponding to Expression (4) in the first embodiment.
[0074]
B ’2N= G (B2N-1, B2N, B2N + 1(7)
B ’2N + 1= 1/2 · H (B2N, B2N + 2(8)
[0075]
FIG. 16 is an explanatory diagram for explaining the frequency band limiting process and the determination process of the frequency band limited data in the present embodiment. In this figure, data D20Is, for example, a blue color difference signal (B as input data sampled in a 4: 2: 2 system).2N-2, B2N-1, B2N, B2N + 1, B2N + 2,. . . ) Data. In this figure, data Dtwenty oneIs data D20For example, a blue color difference signal (B ′) corresponding to a sample storage point recorded after performing a sample conversion of a 4: 1: 1 system, for example, accompanied by a band limiting process using Expression (7).2N-2, B '2N, B '2N + 2,. . . ) Data. As shown in this figure, in the present embodiment, data D as input data20On the other hand, if necessary, the frequency band limiting process at the sample storage point is performed by the equation (7) and the sample interpolation point (B2N-1, B2N + 1,. . . The frequency band-limited data discrimination process in () is performed collectively on the time axis using equation (8).
[0076]
As described above, according to the present embodiment, even when an adaptive filter function is used, it is possible to prevent deterioration of data accompanying sampling processing.
[0077]
Other configurations, operations, and effects in the present embodiment are the same as those in the first embodiment.
[0078]
In addition, this invention is not limited to the said embodiment, A various deformation | transformation implementation is possible. For example, in each of the above embodiments, the sample conversion of the 4: 2: 2 method and the 4: 1: 1 method (4: 2: 0) mainly related to image data has been described. If there is a relationship between the sample storage point and the sample interpolation point in the band-limited data, and if a synchronous tap filter function is used for the band-limiting process and the interpolation process associated with resampling, other types of sample conversion are possible. The present invention can also be applied to image data and audio data. In this case, the tap filter function may be other than the 3-tap filter having 3 taps.
[0079]
In addition, even if the sample-converted storage point has deteriorated due to other processing (data compression / decompression processing, etc.), the relationship between the deteriorated sample storage point and the sample interpolation point interpolated from the storage point is resampled. If it is established in the interpolation process at the time of conversion, the sample interpolation point thinning process can be performed in the next band limiting process. Therefore, the present invention can also be applied to general compression / decompression processing involving sample conversion.
[0080]
【The invention's effect】
As described above, according to the data processing device according to any one of claims 1 to 7 or the data processing method according to claim 8, the sampled input data is a band lower than a predetermined frequency band. Whether or not the data has been subjected to the band limiting process in step (b) is determined. The input data is subjected to the frequency band limiting process according to the determination result, and the sampling frequency of the input data is determined. Since sampling is performed at a different sampling frequency, it is possible to prevent data deterioration when sampling is performed at a sampling frequency different from the sampling frequency of the input data.
[0081]
According to the data processing device of the sixth aspect, the input data is discriminated for each unit data, and sampling is performed for each unit data by performing a frequency band limiting process as necessary. Therefore, for example, when the input data is image data, the image editing is performed even when the image is partially subjected to image editing by performing processing for each pixel as unit data. With respect to the pixel points in the portion where the image processing is not performed, there is an effect that data deterioration due to image editing can be prevented.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a circuit portion that performs sample conversion accompanied by a band limiting process in a data processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a circuit portion that performs resampling processing with interpolation processing in the data processing device according to the first embodiment of the present invention;
FIG. 3 is an explanatory diagram showing changes in encoded data when sample conversion is performed a plurality of times in the data processing apparatus according to the first embodiment of the present invention.
FIG. 4 is an explanatory diagram for explaining frequency band limitation of data in the 4: 2: 2 system and the 4: 1: 1 system.
FIG. 5 is an explanatory diagram for explaining frequency band restriction processing and frequency band restricted data determination processing in the data processing device according to the first embodiment of the present invention;
FIG. 6 is an explanatory diagram illustrating frequency band limitation determination processing in the data processing device according to the first embodiment of the present invention;
FIG. 7 is another explanatory diagram for explaining frequency band restriction determination processing in the data processing device according to the first embodiment of the present invention;
FIG. 8 is an explanatory diagram for explaining sample point end processing in the data processing device according to the first embodiment of the present invention;
FIG. 9 is another explanatory diagram for explaining sample point end processing in the data processing apparatus according to the first embodiment of the present invention;
FIG. 10 is still another explanatory diagram for explaining sample point end processing in the data processing device according to the first embodiment of the present invention;
FIG. 11 is an explanatory diagram showing sample point end processing in the data processing device according to the first embodiment of the present invention;
FIG. 12 is a flowchart showing a bandwidth limitation process in the data processing apparatus according to the second embodiment of the present invention.
FIG. 13 is a flowchart showing resampling interpolation processing in the data processing apparatus according to the second embodiment of the present invention;
FIG. 14 is a block diagram showing a configuration of a circuit portion that performs sample conversion accompanied by band limitation processing in the data processing device according to the second embodiment of the present invention;
FIG. 15 is a block diagram showing a configuration of a circuit portion that performs resampling processing with interpolation processing in the data processing device according to the second embodiment of the present invention;
FIG. 16 is an explanatory diagram for explaining a frequency band limiting process and a determination process for frequency band limited data in the data processing device according to the second embodiment of the present invention;
FIG. 17 is an explanatory diagram illustrating changes in encoded data when a plurality of sample conversions are performed.
FIG. 18 is an explanatory diagram showing changes in filter coefficients and the number of taps when sample conversion is repeated using a 3-tap filter.
FIG. 19 is an explanatory diagram showing more specifically data deterioration accompanying sample conversion;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Image edge processing circuit, 2, 32 ... H / V processing circuit, 3, 34 ... Storage / interpolation point switching circuit, 4, 35 ... Delay circuit, 5, 36 ... Filter circuit, 10 ... Band limitation determination circuit, 11 ... rear interpolation point comparison circuit, 15 ... front interpolation point comparison circuit.

Claims (8)

標本化処理された入力データが、所定の周波数帯域よりも低い帯域で帯域制限処理が行われたデータであるか否かを判別する判別手段と、
フィルタ回路を有し、前記判別手段の判別結果に応じて前記入力データに対して、必要に応じて前記フィルタ回路を用いた周波数帯域の制限処理を行うと共に、前記入力データの標本化周波数とは異なる標本化周波数で標本化を行う標本化手段と
を備え
前記判別手段は、前記標本化手段におけるフィルタ回路からの出力値を用いて判別処理行う
ことを特徴とするデータ処理装置。
Discriminating means for discriminating whether or not the sampled input data is data subjected to band limitation processing in a band lower than a predetermined frequency band;
A filter circuit, performing a frequency band limiting process using the filter circuit on the input data according to the determination result of the determination unit, if necessary, and the sampling frequency of the input data And sampling means for sampling at different sampling frequencies ,
The data processing apparatus according to claim 1, wherein the discrimination means performs discrimination processing using an output value from a filter circuit in the sampling means .
前記標本化手段は、前記判別手段において、入力データが所定の周波数帯域よりも低い帯域で既に帯域制限処理が行われたデータであると判別された場合には、前記周波数帯域の制限処理を行わずに前記入力データの標本化を行う
ことを特徴とする請求項1記載のデータ処理装置。
The sampling unit performs the frequency band limiting process when the determining unit determines that the input data is data that has already been subjected to band limiting processing in a band lower than a predetermined frequency band. The data processing apparatus according to claim 1, wherein sampling of the input data is performed.
前記判別手段は、前記入力データにおいて、前記標本化手段によって標本化された後に保存されずに間引かれる部分に相当する第1のデータが、前記標本化手段によって標本化された後に保存される部分に相当する第2のデータに基づいて所定の関数式で演算される値と等しい場合には、前記入力データが既に帯域制限処理が行われたデータであると判別する
ことを特徴とする請求項1記載のデータ処理装置。
The discriminating unit stores the first data corresponding to a portion to be thinned out without being stored after being sampled by the sampling unit in the input data after being sampled by the sampling unit. The input data is determined to be data that has already been subjected to band limitation processing when equal to a value calculated by a predetermined functional expression based on second data corresponding to the portion. Item 2. A data processing apparatus according to Item 1.
前記第1のデータと前記第2のデータは、前記標本化手段による標本化処理の前段階において、所定の標本化規格に従ってあらかじめデータ位置が決められているデータである
ことを特徴とする請求項3記載のデータ処理装置。
The first data and the second data are data whose data positions are determined in advance according to a predetermined sampling standard in a stage prior to the sampling processing by the sampling means. 3. The data processing device according to 3.
前記標本化手段において、前記判別手段で用いられる所定の関数式と同じ関数式を用いて前記周波数帯域の制限処理を行う
ことを特徴とする請求項1記載のデータ処理装置。
The data processing apparatus according to claim 1, wherein the sampling unit performs the frequency band restriction process using the same function formula as the predetermined function formula used in the discrimination unit.
前記判別手段は、前記入力データの判別を単位データ毎に行い、
前記標本化手段は、前記判別手段の判別結果に応じて、単位データ毎に、必要に応じて周波数帯域の制限処理を行って標本化を行う
ことを特徴とする請求項1記載のデータ処理装置。
The determination means performs determination of the input data for each unit data,
The data processing apparatus according to claim 1, wherein the sampling unit performs sampling by performing a frequency band limiting process as necessary for each unit data according to a determination result of the determination unit. .
前記判別手段は、前記入力データのデータ端においては、データの延長を行って前記判別を行う
ことを特徴とする請求項1記載のデータ処理装置。
The data processing apparatus according to claim 1, wherein the determination unit performs the determination by extending data at a data end of the input data.
標本化処理された入力データが、所定の周波数帯域よりも低い帯域で帯域制限処理が行われたデータであるか否かを判別する判別ステップと、
この判別結果に応じて前記入力データに対して、必要に応じてフィルタ回路を用いた周波数帯域の制限処理を行うと共に、前記入力データの標本化周波数とは異なる標本化周波数で標本化を行う標本化ステップとを含み、
前記判別ステップにおいて、標本化ステップで用いられるフィルタ回路からの出力値を用いて判別処理を行う
ことを特徴とするデータ処理方法。
A determination step of determining whether the sampled input data is data that has been subjected to band limitation processing in a band lower than a predetermined frequency band ;
Specimens for the input data in accordance with the determination result, performs a limiting process of a frequency band using a filter circuit is performed as necessary sampled at different sampling frequency from the sampling frequency of the input data Including the step of
In the discrimination step, a discrimination process is performed using an output value from a filter circuit used in the sampling step .
JP23328298A 1998-08-19 1998-08-19 Data processing apparatus and method Expired - Fee Related JP3982076B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23328298A JP3982076B2 (en) 1998-08-19 1998-08-19 Data processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23328298A JP3982076B2 (en) 1998-08-19 1998-08-19 Data processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2000068854A JP2000068854A (en) 2000-03-03
JP3982076B2 true JP3982076B2 (en) 2007-09-26

Family

ID=16952662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23328298A Expired - Fee Related JP3982076B2 (en) 1998-08-19 1998-08-19 Data processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3982076B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7649947B2 (en) 2001-06-05 2010-01-19 Qualcomm Incorporated Selective chrominance decimation for digital images

Also Published As

Publication number Publication date
JP2000068854A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
KR101143147B1 (en) High-Quality Gradient-Corrected Linear Interpolation for Demosaicing of Color Images
EP0423921A2 (en) System and method for conversion of digital video signals
JPH1175060A (en) Method and device for interpolating color image data
US8625893B2 (en) Image processing device and image processing method
US20020105526A1 (en) Generation adaptive filtering for subsampling component video as input to a nonlinear editing system
JP2003069960A (en) Video processor for realizing panorama/water glass function and its realization method
US8174516B2 (en) Image display system, image signal transmitter and image display unit
GB2111340A (en) Digital chrominance filter for digital component television system
JP3982076B2 (en) Data processing apparatus and method
JP2732772B2 (en) Digital signal processing circuit
JPH09172617A (en) Video down conversion method
JP5323738B2 (en) Video signal transmission device, transmission video signal generation program, video signal reception device, transmission video signal conversion program, and video signal transmission system
JPH0773302A (en) Image information processing system
EP0382151A2 (en) Sampling frequency down-converting apparatus and sampling frequency up-converting apparatus
JP3782510B2 (en) Image processing device
KR100234307B1 (en) Text proserving video format conversion for internet TV
KR20040065806A (en) Cubic convolution interpolation apparatus and method
JP2686722B2 (en) Sequential scan signal conversion method, vertical low-pass filter and image processing system used in the method
WO2012114373A1 (en) Image signal processing method and device
JP4752237B2 (en) Image filter circuit and filtering processing method
JPH0837672A (en) Color component video signal system converter
JPH04178094A (en) Thinning filter device
JP2004341620A (en) Interpolation processing method, interpolation processing program, recording medium with its program recorded thereon, image processor and image forming apparatus
JPH07307906A (en) Digital filter
JP2005065196A (en) Filter, signal processor, signal processing method, recording medium, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070320

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070517

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070625

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees