JP3710342B2 - Digital signal processing apparatus and method, and storage medium - Google Patents
Digital signal processing apparatus and method, and storage medium Download PDFInfo
- Publication number
- JP3710342B2 JP3710342B2 JP25349599A JP25349599A JP3710342B2 JP 3710342 B2 JP3710342 B2 JP 3710342B2 JP 25349599 A JP25349599 A JP 25349599A JP 25349599 A JP25349599 A JP 25349599A JP 3710342 B2 JP3710342 B2 JP 3710342B2
- Authority
- JP
- Japan
- Prior art keywords
- signal sequence
- frequency band
- adaptive selection
- lifting
- odd
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、ディジタル信号処理装置および方法およびこの方法を記憶した記憶媒体に関するものである。
【0002】
【従来の技術】
画像は非常に多くの情報を含んでおり、その蓄積・伝送に於いては膨大なデータ量が問題となる。そこで蓄積・伝送に際しては、画像の持つ冗長性を除く、或いはさらに視覚的に認識し難い程度で画素値に操作を加えること等によってデータ量を削減する高能率符号化が用いられる。
【0003】
近年、エントロピーの低減効果が高いことや、画像の段階的伝送に適しているといった理由から、離散ウェーブレット変換を用いた画像符号化方式の検討が盛んである。ウェーブレット変換は有効なデータ解析ツールとみなされ、低ビットレートで高画質を目指すスケーラブル画像符号化に広く使われている。
【0004】
ウェーブレット変換を簡易・高速に実装する方法としてW.Sweldenらにより、リフティング手法(Lifting Scheme)が提案されている。リフティング手法は離散ウェーブレット変換を簡単なフィルタリフティングステップに分解して実装するものであり、この手法により演算コストとメモリコストとを削減できることが知られている。
【0005】
従来の離散ウェーブレット変換の一例としてデジタル信号系列x(n)に対する5×3フィルタによる離散ウェーブレット変換の式を以下に示す。
【0006】
[EQ1]
【0007】
[EQ2]
【0008】
周知のように、r(n)は平滑化の程度を表す係数であり、従って、低周波帯域出力の係数を表し、d(n)は詳細度(detail)の程度を表す係数であり、従って、高周波帯域出力の係数を表す。
尚、上の[EQ1], [EQ2]は1次元の離散ウェーブレット変換処理を示したものである。2次元離散ウェーブレット変換は、1次元の変換を水平・垂直方向に順次行うものである。図1乃至図3は、2次元離散ウェーブレット変換により変換対象画像をLL,LH,HL,HHの4つの周波数帯域(サブバンド)に分解する様子を模式的に示したものである。その詳細は公知であるので本明細書では説明を省略する。
【0009】
この5×3フィルタをリフティング方式を用いて構成した場合のブロック図は図4のようになる。
【0010】
同図に於いて、501は偶数番のサンプルを取り出すサンプリング回路、502は奇数番のサンプルを取り出すサンプリング回路、503,505はフィルタ回路、504,506は加算器、507は信号入力端子、508,509は信号出力端子である。デジタル信号系列x(n)は、サンプリング回路501,502により、夫々、偶数アドレスのサンプルxe(= x(2n))と奇数アドレスのサンプルxo(= x(2n+1))に分けられ、夫々に対して、2つのフィルタ処理(図中、Lifting Step1とLifting Step2)が施される。このようなリフティングを用いた場合、[EQ1]と[EQ2]の5×3フィルタは次式のように変形される。
【0011】
[EQ3]
【0012】
[EQ4]
【0013】
上の[EQ3],[EQ4]を前述の[EQ1],[EQ2]と比較すると、演算回数の削減、必要なデータアクセスの削減がなされていることが分かる。なお、この逆変換も、変換処理と対称な処理で実現できる。
図5は合成側のブロック図を示したものであり、分解処理と同様に簡易な処理であることが分かる。尚、合成処理手順の詳細は公知であるので説明を省略する。なお、通常、前述の5×3フィルタを実現する場合、除算による丸めの誤差を考慮して次式のように整数化することにより完全再構成を可能とすることが一般的である。
【0014】
[EQ5]
【0015】
[EQ6]
【0016】
但し、上式において、floor{X}はXを超えない最大の整数を表すものとする。
【0017】
【発明が解決しようとする課題】
しかしながら、従来の離散ウェーブレット変換により、自然画像を主たる符号化対象とする符号化システムを構成した場合、2値画像及び混在画像に対しては高い圧縮性能を実現できないという問題がある。これは離散ウェーブレット変換に使用するフィルタが、変換対象画像の特性に適合していない場合に発生する。
【0018】
即ち、自然画像に対して良好なエントロピー低減効果を持つフィルタを選択した場合には、選択されたフィルタによる変換対象となる画像が、2値画像、CG画像など、その特性が自然画像と異なるものとなった場合には、良好なエントロピー低減効果を得ることができない。
【0019】
このようなフィルタ不適合の問題を解決する手法として、変換処理の前に、画像毎に、あるいは画像から分割された領域毎に、その特性を調べて、特性に適切なフィルタを選択するといった方法が種々提案されているが、特性判定のためのプリスキャンを必要とするために、メモリコストの増加、処理の複雑化という問題がある。
【0020】
更に、画像毎にフィルタを選択する場合には、選択されたフィルタは、そのフィルタを特定する局所的な特性に対応できないという問題がある。逆に、画像を分割して各領域毎にフィルタを選択する場合には、そのフィルタは、画像の局所的性質への対応が可能となるものの、画像の細分化による変換効率の低下、フィルタ選択情報伝送による圧縮性能の低下などの問題を来す。
【0021】
したがって、従来の離散ウェーブレット変換用の信号処理装置は、ユーザ要求を満たすに十分ではなかった。
【0022】
本発明は、前述の問題点に鑑みてなされたものであり、リフティング方式により全ての離散ウェーブレット変換を簡単なフィルタリフティングステップに分解できることに着目し、それぞれのリフティングステップにおいて、その時点での低周波帯域信号から最適なフィルタを選択して適用するディジタル信号処理装置および方式および記憶媒体を提供することを目的とする。
【0023】
本発明の第2の目的は、プリスキャンを行わず、画像の局所的な性質に応じて適切なフィルタを適用する、効率の良いサブバンド分解を行うディジタル信号処理装置および方式および記憶媒体を提供することを目的とする。
【0024】
【課題を解決するための手段】
上述の課題を解決するために本発明の、入力信号系列を低周波帯域の信号と高周波帯域の信号の2つに分解するディジタル信号処理装置は、
入力信号系列を奇数番信号系列と偶数番信号系列に分離する信号系列分離手段と、
前記奇数番信号系列と偶数番信号系列の夫々に対してリフティング処理を施すことにより、第1の低周波帯域係数信号列と第1の高周波帯域係数信号列とを生成する第1のフィルタ手段と、
前記2つの信号系列の夫々に対して、前記リフティング処理と異なるフィルタ処理を施すことにより、第2の低周波帯域係数信号列と第2の高周波帯域係数信号列とを生成する第2のフィルタ手段と、
前記第1の低周波帯域係数信号列と前記第2の低周波帯域係数信号列のいずれか一方と、前記第1の高周波帯域係数信号列と前記第2の高周波帯域係数信号列のいずれか一方とを適応的に選択して、夫々、低周波帯域係数信号列出力と高周波帯域係数信号列出力として出力する適応的選択手段とを具備することを特徴とする。
【0029】
所謂ウエーブレットフィルタ出力の適応的切換が実現される。
【0030】
本発明の好適な一態様である請求項2に拠れば、前記第1のフィルタ手段は、前記奇数番信号系列と偶数番信号系列の夫々に対して、第1のリフティング処理と第2のリフティング処理とを直列に行う。
【0031】
本発明の好適な一態様である請求項3に拠れば、前記第2のフィルタ手段は、前記奇数番信号系列と偶数番信号系列のいずれか一方を取り出して前記第2の低周波帯域係数信号列とし、前記奇数番信号系列と偶数番信号系列の差分を前記第2の高周波帯域係数信号列として前記適応的選択手段に出力する。
【0032】
本発明の好適な一態様である請求項4に拠れば、前記適応的選択手段は、この適応的選択手段による以前の選択結果としての前記低周波帯域係数信号列出力に基づいて、二値領域か多値領域かを判定する。特に、処理時以前に生成される低周波係数値に基づいてフィルタ選択を行うので、プリスキャンや領域判定情報の伝送を必要としないという利点が生まれる。
【0033】
本発明の好適な一態様である請求項5に拠れば、前記第1のフィルタ手段は、前記奇数番信号系列と偶数番信号系列の夫々に対して、第1のリフティング処理を行う第1リフティング回路と、この第1リフティング回路の後段に設けられ第2のリフティング処理を行う第2リフティング回路とを有し、
前記適応的選択手段は、第1と第2の適応的選択回路を有し、
前記第1の適応的選択回路は、前記第1のリフティング回路の出力に対して適応的選択動作を行い、
前記第2のリフティング回路は、前記第1の適応的選択回路によって選択された結果に対して前記第2のリフティング処理を行い、
前記第2の適応的選択回路は、前記第2のリフティング回路によりリフティング処理された結果に対して適応的選択動作を行うことを特徴とする。
【0038】
上記課題は、以下の構成のデジタル信号処理装置によっても達成される。即ち、請求項6に記載の、入力信号系列から所定の周波数帯域の信号を得るディジタル信号処理装置は、
入力信号系列を奇数番信号系列と偶数番信号系列に分離する信号系列分離手段と、
前記奇数番信号系列或いは偶数番信号系列にリフティング処理を用いたフィルタ処理を施すことにより、所定の周波数帯域の係数信号列を生成する第1のフィルタ手段と、
前記リフティング処理される信号系列に対して、前記第1のフィルタ手段が用いるリフティング処理とは異なるフィルタ処理を施すことにより、前記所定の周波数帯域の係数信号列を生成する第2のフィルタ手段と
前記第1、第2フィルタ手段で得られる複数の係数信号列のいずれか一方を適応的に選択して出力する適応的選択手段とを具備することを特徴とする。
【0043】
尚、請求項11のように、前記所定の周波数帯域は例えば高周波帯域である。
【0044】
上記の課題は、上述の信号処理装置に組み込まれた信号処理方法、更には、その方法を実現するコンピュータプログラムを記憶する記憶媒体によっても達成される。
【0045】
【発明の実施形態】
〈第1実施形態〉
以下、本発明を代表する一実施形態について図面を用いて説明する。
【0046】
図6は本発明の第1の実施形態を実行するディジタル信号処理装置のブロック図を示したものである。
【0047】
同図に於いて101は偶数番サンプルを取出すサンプリング回路、102は奇数番サンプルを取出すサンプリング回路、103,105,111はフィルタ回路、104,106,112は加算器、107は2値/多値判定回路、108は信号入力端子、109,110は信号出力端子、113はセレクタである。
【0048】
図6に示した本実施形態を実行するディジタル信号処理装置は、信号入力端子108から入力される信号x(n)(nは0から2m-1までとする)を、適応的に離散ウェーブレット変換し、低周波帯域と高周波帯域における2つの係数(以下、「低周波帯域出力係数」、「高周波帯域出力係数」と呼ぶ)を生成して、夫々を、端子109と110から出力するものである。通常有限の信号系列を離散ウェーブレット変換する場合には信号系列の両端で信号の折り返しが必要になる。ここでは説明を簡略化するため、信号系列両端で必要となる特殊処理は装置外部で行われており、そのように入力信号系列が構成されているものと仮定する。
【0049】
本装置の変換対象画像は、自然画像、2値/多値混在画像、さらに2値画像とする。即ち、自然画像、2値/多値混在画像、さらに2値画像が、順不同に端子108から入力される。尚、2値領域は輝度レベル0か255で構成されるものとする。
【0050】
以下、図6のブロック図を用いて、本実施形態における各部の動作を詳細に説明する。
【0051】
まず、信号入力端子108から入力される信号x(n)は、偶数番サンプリング回路101と奇数番サンプリング回路102により2つの系列に分けられる。偶数番サンプリング回路101は入力信号x(n)の偶数番目のサンプル、即ち、x(2k)(k=0〜m-1)を取り出す。また、奇数番サンプリング回路102は入力信号x(n)の奇数番目のサンプル、即ち、x(2k+1)(k=0〜m-1)を取り出す。
【0052】
フィルタ回路103は、
【0053】
[EQ7]
【0054】
のフィルタ演算を行う、即ち、偶数番のサンプル系列からのx(2k)とx(2k+2)とを用いて、
[EQ8]
【0055】
の演算を行い、その演算結果を加算器104に出力する。加算器104は奇数番サンプリング回路102の出力x(2k+1)とフィルタ回路103の出力([EQ8]の出力)の和を求め出力する。従って、この加算器104の出力は[EQ6]に示すd(k)に等価である。
一方、フィルタ回路105は、
【0056】
[EQ9]
【0057】
の演算を、即ち、加算器104の出力系列からd(k-1)とd(k)を用いて、
[EQ10]
【0058】
を求めて加算器106に出力する。加算器106は、フィルタ回路105の出力と、偶数番サンプリング回路101の出力x(2k)との和を求め、出力する。この加算器106の出力は[EQ5]に示すr(k)に相当する。図4と比較しても明らかなように、上述のフィルタ103,105と加算器104,106による処理は5×3フィルタの演算そのものである。これにより、5×3フィルタによる低周波帯域の係数r(k)がセレクタ113の端子aに、高周波帯域の係数d(k)が同じく端子bに入力される。
一方、フィルタ回路111は、偶数番サンプル系列から−x(2k)を求めて、これを加算器112に出力する。加算器112は、奇数番サンプリング回路102の出力x(2k+1)とフィルタ回路111の出力−x(2k)の和を求め、セレクタ113に出力する。これにより、偶数番サンプルと奇数番サンプルの差分がセレクタ113の入力端子dに入力される。一方、サンプリング回路101の出力x(2k)はセレクタの入力端子cにも供給されている。かくして、セレクタ113が各端子において入力する信号は、
【0059】
端子a:フィルタ処理結果の低周波帯域の係数、即ち、r(k)
端子b:フィルタ処理結果の高周波帯域の係数、即ち、d(k)
端子c:偶数番サンプル、即ち、x(2k)
端子d:偶数番サンプルと奇数番サンプルの差分、即ち、x(2k+1)−x(2k)
となる。
【0063】
セレクタ113は、所謂ホールドタイプのセレクタである。即ち、出力は前回の入力信号を選択した結果を維持することができる。このようなホールドタイプのセレクタは例えばクロック同期のセレクタにより簡単に実現できる。
【0064】
図6の信号処理装置において、セレクタ113の出力端子配列を、109端子に低周波帯域係数出力が、110端子に高周波帯域係数出力が現れるように配置されている。2値/多値判定回路107は、この109端子の低周波帯域係数出力を入力して、信号系列x(n)の像域判定を行う。判定回路107の出力である像域判定信号B/Mの値が、“1”であれば2値領域であると判断したことを、また、“0”であれば多値領域であると判断したことを示している。像域判定信号B/Mはセレクタ113の動作を制御する。
【0065】
図7,図8に、セレクタ113の一般的な動作を示す。即ち、図7に拠れば、判定回路107が二値判定(B/M=1)を出力すれば、入力端子cの信号が出力端子109に現れ、入力端子dの信号が出力端子110に現れる。また、図8に拠れば、判定回路107が多値判定(B/M=0)を出力すれば、入力端子aの信号が出力端子109に現れ、入力端子bの信号が出力端子110に現れる。
【0066】
判定回路107の動作を更に説明する。
【0067】
上述のように、セレクタ113の出力は2値/多値判定回路107の出力する像域判定信号B/Mに応じて切り替わる。しかしながら、像域判定信号B/Mが0または1いずれの場合であっても、入力系列が2値領域、即ち、0か255の値しか出現しない場合には、低周波帯域の係数として出力端子109に現れる信号は、次の集合Vの13個の要素のいずれかである。
【0068】
[EQ11]
V = {-64,-32,0,32,64,96,128,159,191,223,255,287,319}
【0069】
そこで、判定回路107を、低周波帯域の係数値(即ち、端子109の信号)が集合Vに属する値であることが所定の回数だけ連続して起こった場合には、判定信号B/Mを、
【0070】
B/M = 1
【0071】
とし、上記事象が認識できていない場合には
B/M =0
【0072】
を出力するように設定する。即ち、判定回路107が2値領域を認識すると、セレクタ113は、入力端子c,dの接続を、それぞれ低周波・高周波帯域の係数として選択し、また、多値領域であると判断した場合には、入力端子a,bの接続を、それぞれ低周波・高周波帯域の係数として選択して出力する。
以上の動作により、画像中の2値領域/多値領域に応じてフィルタを選択して作られた低周波帯域係数出力、高周波帯域係数出力が信号出力端子109、信号出力端子110からそれぞれ出力される。
【0073】
〈第2実施形態〉
第1実施形態は、5×3フィルタにより生成した低周波帯域の係数の値に基づいて2値領域・多値領域を判定する方法を採用した。また、ここでの2値領域判定条件は低周波帯域の係数値が所定回数連続してVに属するということを、2値領域判定の条件として採用していた。しかしながら、この判定条件のため、変換処理が多値領域から2値領域に移っても直ぐには2値領域と判定されず、判定の遅れが生じる。
【0074】
判定遅れの例として、図9のように変換対象となる系列x(n)が、ある時点n=iで多値領域から2値領域へ、また、時点n=i+8で、2値領域から多値領域へと推移する場合を考える。
【0075】
5×3フィルタの場合、ローパスフィルタは5タップであるため、2値領域に入った段階では、x(i)を中心としてフィルタ処理することを考えると、図9中で、ローパスフィルタ1が系列x(n)を処理することとなり、したがって、端子109の低周波帯域出力係数は集合Vに属するとは限らない。フィルタすべてが2値領域に属するようになる時点(図中、ローパスフィルタ2が系列x(n)を処理する時点)では、低周波帯域出力係数がVに属するようになる。この状態が一定回数連続して発生した場合に、第1実施形態の判定回路107は、2値領域と判定しているので、実際は2値領域であっても多値領域と判定したままとなり、判定の遅れが生じるのである。
【0076】
また、図9中において、ローパスフィルタ3のように多値領域の信号系列データがかかってしまえば、端子109の低周波帯域出力係数はVに属さなくなる。
したがって、2値領域が十分に長く連続する場合でなければ、即ち、上記所定回数以上二値領域が連続して発生しなければ、2値領域判定が有効にならない。
【0077】
この第2実施形態においては、2値/多値判定を各リフティングステップ毎に設け、判定遅れの改善を図ったものである。
【0078】
図10は、本発明の第2の実施形態を実行するディジタル信号処理装置のブロック図を示したものである。
【0079】
同図に於いて、301は偶数番サンプリング回路、302は奇数番サンプリング回路、303,305,311はフィルタ回路、304,306,312は加算器、307,316は2値/多値判定回路、308は信号入力端子、309,310は信号出力端子、313,318はマッピング回路、314,317はセレクタ、315は遅延回路である。尚、サンプリング回路301,302、フィルタ回路303,305,311の夫々の単独の動作は、前述の第1実施形態のサンプリング回路101,102、フィルタ回路103,105,111と同じである。
【0080】
図10に示した第2実施形態に係るディジタル信号処理装置は信号入力端子308から入力される信号x(n)(n=0〜2m-1)を、適応的に離散ウェーブレット変換し、低周波帯域と高周波帯域の2つの係数を生成して、端子309,310から出力するものである。通常、有限の信号系列を離散ウェーブレット変換する場合には信号系列の両端で信号の折り返しが必要になる。第2実施形態では、説明を簡略化するため、第1実施形態と同じように、信号系列両端で必要な特殊処理は装置外部で行われて、入力信号系列が構成されているものと仮定する。
【0081】
本装置の変換対象画像は、第一の実施形態と同じく、自然画像、2値/多値混在画像、2値画像とし、2値領域は輝度レベル0か255で構成されるものとする。
【0082】
以下、図3のブロック図を用いて、第2実施形態における各部の動作を詳細に説明する。
【0083】
まず、信号入力端子308から入力される信号x(n)は、偶数番サンプリング回路301と奇数番サンプリング回路302により2つの系列に分けられる。偶数番サンプリング回路301は入力信号x(n)の偶数番目のサンプルx(2k)(k=0〜m-1)を取り出す。また、奇数番サンプリング回路302は入力信号x(n)の奇数番目のサンプルx(2k+1)(k=0〜m-1)を取り出す。
【0084】
フィルタ回路303は、偶数番のサンプル系列からx(2k)とx(2k+2)を用いて、
【0085】
[EQ12]
【0086】
の演算を行い、演算結果を加算器304に出力する。加算器304は奇数番サンプリング回路302の出力x(2k+1)とフィルタ回路303の出力の和を求め出力する。この加算器304の出力は前述の[EQ6]に示すd(k)に相当する。
一方、フィルタ回路311は偶数番のサンプル系列から−x(2k)を求めて加算器312に出力する。加算器312はフィルタ回路311の出力値と奇数番サンプリング回路302の出力x(2k+1)の和(即ち、x(2k+1)−x(2k))を求めて、マッピング回路313に出力する。
【0087】
加算器312の出力値x(2k+1)−x(2k)が、集合V'
【0088】
[EQ13]
V'={-255, 0, 255}
【0089】
に属するのは、x(2k),x(2k+1)が共に0または255である場合のみである。ここで、出力値x(2k+1)−x(2k)の正負の符号を取り除いても、合成処理側で判断できるため、マッピング回路313で、“−255”を“255”に置き換えることにより、完全再構成(即ち、ロスレス)の性質を残したまま冗長性を除くことができる。
2値/多値判定回路307は、サンプリング回路310出力の偶数番サンプルx(2k)を調べ、2値領域か多値領域かを判断し、判定結果に応じてセレクタ314の動作を制御する。入力系列が2値領域の場合、x(2k)は0か255の値しか出現しない。そこで、x(2k)が0か255である場合には、判定回路307は2値領域であると判断して、入力端子dに入力される信号を選択するように、制御信号B/Mをセレクタ314に出力する。また、上記条件が満たされない場合には、多値領域であると判断して、判定回路307は、入力端子bから入力される信号を選択して出力するように制御信号B/Mをセレクタ113に送る。
【0090】
セレクタ314は、2値/多値判定回路307からの制御信号B/Mに応じて、入力端子bから入力される信号か、入力端子dから入力される信号のいずれか一方を選択して、マッピング回路318並びにフィルタ回路305に出力する。
【0091】
マッピング回路318は、第2実施形態を実行するディジタル信号処理装置を、2次元のウエーブレット変換に用いる場合に必要となるものであって、水平または垂直方向のいずれか一方の方向に既に1次元変換を適用して得られた係数(即ち、セレクタ314の出力係数)に、他の方向に再適用する場合のみに機能するもので、セレクタ314の出力係数において、“128”と“255”の入れ替えを行う。この操作によりMSBプレーンに2値情報が集められるため、伝送の早期段階での2値領域の再生画質向上を図ることができる。
【0092】
フィルタ回路305は、第1実施形態と同じように、セレクタ314の出力系列からd(k−1)とd(k)を用いて、
【0093】
[EQ14]
【0094】
を求めて加算器306に出力する。加算器306は、フィルタ回路305の出力と偶数番サンプリング回路301の出力x(2k)の和を求め、セレクタ317の入力端子cに出力する。
一方、遅延回路315は偶数番サンプリング回路301の出力x(2k)を遅延させ、x(2k-2)を2値/多値判定回路316に出力する。2値/多値判定回路316は遅延回路315の出力するx(2k-2)の値を調べ、x(2k-2)の値が“0”か“255”である場合には、2値領域であると判断して、入力端子aで入力される信号を選択して出力するよう制御信号B/Mをセレクタ317に送る。また、この条件が満たされない場合には多値領域であると判断して、入力端子cから入力される信号を選択して出力するように制御信号B/Mをセレクタ317に送る。セレクタ317は2値/多値判定回路316からの制御信号に応じて、入力端子aから入力される信号か、入力端子cから入力される信号のいずれか一方を選択して出力する。
【0095】
以上の動作により、画像中の2値領域/多値領域に応じてフィルタを選択して作られた低周波帯域係数出力と高周波成分帯域係数出力とが、夫々、信号出力端子309、信号出力端子310から出力される。
【0096】
上記第1実施形態及び第2実施形態では、その信号処理回路の出力を2つとし、一方を低周波帯域係数出力と、他方を高周波帯域係数出力とした。この結果、第1実施形態と第2実施形態の信号処理回路を、従来の図4の信号処理回路を用いている回路基板において、その従来の信号処理回路の代わりに置き換えることができる。
【0097】
なお、第1実施形態と第2実施形態による分解処理に対応する合成処理は上述の処理を逆順に行うものであり、図5に示した従来の合成処理からも容易にわかるので説明を省略する。
【0098】
〈その他の実施形態〉
本発明は上述した実施形態に限定されるものではない。
【0099】
上述の第1,第2実施形態では、低周波帯域出力係数と高周波帯域出力係数の両方を選択する構成を説明したが、本発明はこれに限られず、高周波帯域出力係数のみ、或いは低周波帯域出力係数のみを選択出力するように変更することも可能である。
【0100】
例えば第1、第2の実施形態に於いては、5×3フィルタをベースとした適応的離散ウェーブレット変換を示したが、2×10,2×6,9×7フィルタといった、その他のフィルタをベースとして適応的な離散ウェーブレット変換を構成しても全く構わない。
【0101】
また、変換対象の画像は1画素8ビットの画像であるとして説明したが、8ビット以上の画像にも適用しても構わないことは言うまでもない。同様にカラー画像への適応、静止画像以外でも音声信号、動画像への適用も本発明の範疇に含まれる。
【0102】
また、上述の実施形態においては2値/多値領域判定をベースとしてフィルタ処理の切り替えを行ったが、本発明はこれに限定されるものでなく、その他、例えば、低周波帯域の係数の分散によってフィルタを切り替えたり、係数値の連続性に着目してフィルタの切り替えを行っても構わない。
【0103】
なお、本発明は複数の機器(例えばホストコンピュータ、インターフェース機器、リーダ、プリンタ等)から構成されるシステムの一部として適用しても、1つの機器(例えば複写機、ファクシミリ装置、デジタルカメラ等)からなる装置の1部に適用してもよい。
【0104】
また、本発明は上記実施形態を実現するための装置及び方法のみに限定されるものではなく、上記システム又は装置内のコンピュータ(CPUあるいはMPU)に、上記実施形態を実現するためのソフトウエアのプログラムコードを供給し、このプログラムコードに従って上記システムあるいは装置のコンピュータが上記各種デバイスを動作させることにより上記実施形態を実現する場合も本発明の範疇に含まれる。
【0105】
またこの場合、前記ソフトウエアのプログラムコード自体が上記実施形態の機能を実現することになり、そのプログラムコード自体、及びそのプログラムコードをコンピュータに供給するための手段、具体的には上記プログラムコードを格納した記憶媒体は本発明の範疇に含まれる。
【0106】
この様なプログラムコードを格納する記憶媒体としては、例えばフロッピーディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0107】
また、上記コンピュータが、供給されたプログラムコードのみに従って各種デバイスを制御することにより、上記実施形態の機能が実現される場合だけではなく、上記プログラムコードがコンピュータ上で稼動しているOS(オペレーティングシステム)、あるいは他のアプリケーションソフト等と共同して上記実施形態が実現される場合にもかかるプログラムコードは本発明の範疇に含まれる。
【0108】
更に、この供給されたプログラムコードが、コンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって上記実施形態が実現される場合も本発明の範疇に含まれる。
【0109】
【発明の効果】
以上説明した様に本発明によれば、離散ウェーブレット変換を簡単なフィルタリフティングステップに分解して実装し、それぞれのリフティングステップにおいて、各時点での低周波帯域信号から最適なフィルタを選択して適用することにより、プリスキャンを行わず、画像の局所的な性質に応じた効率の良いサブバンド分解を行うディジタル信号処理装置および方式および記憶媒体を実現することができる。
【図面の簡単な説明】
【図1】 一般的な2次元離散ウェーブレット変換の対象となる画像の一例を示す図である。
【図2】 図1の画像を低周波帯域と高周波帯域との分解した様子を模式的に示す図である。
【図3】 図2の分解された画像を更に分解する様子を模式的に示す図である。
リフティングを用いた5×3フィルタによる分解処理のブロック図である。
【図4】 従来技術に係る、リフティングを用いた5×3フィルタによる合成処理のブロック図である。
【図5】 図の処理回路により変換された信号系列を復元する処理のブロック図である。
【図6】 本発明に係わる第1の実施形態の信号処理装置のブロック図である。
【図7】 第1の実施形態の信号処理装置に用いられているセレクタの動作を示す図である。
【図8】 第1の実施形態の信号処理装置に用いられているセレクタの動作を示す図である。
【図9】 第1実施形態の領域判定の遅れを示す図である。
【図10】 本発明に係わる第2の実施形態の信号処理装置のブロック図である。
【符号の説明】
108,507,308 信号入力端子
101,501,301 偶数番サンプリング回路
102,502,302 奇数番サンプリング回路
103,105,111,503,505,303,305,311 フィルタ回路
104,106,112,504,506,304,306,312 加算器
107,307,316 2値/多値判定回路
113,314,317 セレクタ
315 遅延回路
313,318 マッピング回路、
109,110,508,509,309,310 信号出力端子[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital signal processing apparatus and method, and a storage medium storing the method.
[0002]
[Prior art]
An image contains a great deal of information, and an enormous amount of data becomes a problem in its storage and transmission. Therefore, at the time of storage / transmission, high-efficiency encoding is used that reduces the amount of data by removing the redundancy of the image, or by adding an operation to the pixel value to such an extent that it is difficult to visually recognize.
[0003]
In recent years, image coding methods using discrete wavelet transform have been actively studied because they have a high entropy reduction effect and are suitable for stepwise transmission of images. The wavelet transform is regarded as an effective data analysis tool, and is widely used for scalable image coding aiming at high image quality at a low bit rate.
[0004]
A lifting scheme has been proposed by W. Swelden et al. As a method for implementing wavelet transform simply and at high speed. The lifting method is a method in which the discrete wavelet transform is decomposed and implemented into simple filter lifting steps, and it is known that the calculation cost and the memory cost can be reduced by this method.
[0005]
As an example of a conventional discrete wavelet transform, an equation of a discrete wavelet transform using a 5 × 3 filter for a digital signal sequence x (n) is shown below.
[0006]
[EQ1]
[0007]
[EQ2]
[0008]
As is well known, r (n) is a coefficient representing the degree of smoothing, and thus represents a coefficient of the low frequency band output, and d (n) is a coefficient representing the degree of detail, and therefore Represents the coefficient of high frequency band output.
The above [EQ1] and [EQ2] show the one-dimensional discrete wavelet transform processing. The two-dimensional discrete wavelet transform performs one-dimensional transformation sequentially in the horizontal and vertical directions. FIGS. 1 to 3 schematically show how the image to be converted is decomposed into four frequency bands (subbands) LL, LH, HL, and HH by two-dimensional discrete wavelet transform. Since the details are publicly known, the description is omitted in this specification.
[0009]
FIG. 4 is a block diagram when this 5 × 3 filter is configured using the lifting method.
[0010]
In the figure, 501 is a sampling circuit for extracting even-numbered samples, 502 is a sampling circuit for extracting odd-numbered samples, 503 and 505 are filter circuits, 504 and 506 are adders, 507 is a signal input terminal, 508,
[0011]
[EQ3]
[0012]
[EQ4]
[0013]
When the above [EQ3] and [EQ4] are compared with the above-mentioned [EQ1] and [EQ2], it can be seen that the number of operations is reduced and the necessary data access is reduced. This inverse transformation can also be realized by a process symmetric to the conversion process.
FIG. 5 is a block diagram on the synthesis side, and it can be seen that the process is as simple as the disassembly process. The details of the synthesizing process procedure are well known and will not be described. In general, when the above-mentioned 5 × 3 filter is realized, it is generally possible to perform complete reconstruction by converting the integer into the following equation in consideration of rounding errors due to division.
[0014]
[EQ5]
[0015]
[EQ6]
[0016]
However, in the above formula, floor {X} represents the maximum integer not exceeding X.
[0017]
[Problems to be solved by the invention]
However, when a coding system that mainly encodes natural images is configured by conventional discrete wavelet transform, there is a problem that high compression performance cannot be realized for binary images and mixed images. This occurs when the filter used for the discrete wavelet transform does not match the characteristics of the image to be transformed.
[0018]
In other words, when a filter with a good entropy reduction effect is selected for a natural image, the image to be converted by the selected filter is different from the natural image, such as a binary image or a CG image. In such a case, a good entropy reduction effect cannot be obtained.
[0019]
As a technique for solving such a problem of filter incompatibility, there is a method in which characteristics are examined for each image or for each area divided from the image before conversion processing, and a filter appropriate for the characteristics is selected. Various proposals have been made, however, since pre-scanning for characteristic determination is required, there are problems of increased memory costs and complicated processing.
[0020]
Furthermore, when a filter is selected for each image, there is a problem that the selected filter cannot cope with local characteristics that specify the filter. Conversely, when an image is divided and a filter is selected for each region, the filter can cope with the local properties of the image, but the conversion efficiency decreases due to image segmentation, filter selection. Problems such as reduced compression performance due to information transmission
[0021]
Therefore, the conventional signal processing apparatus for discrete wavelet transform has not been sufficient to satisfy user requirements.
[0022]
The present invention has been made in view of the above-described problems, and pays attention to the fact that all discrete wavelet transforms can be decomposed into simple filter lifting steps by the lifting method. It is an object of the present invention to provide a digital signal processing apparatus and method and a storage medium for selecting and applying an optimum filter from a band signal.
[0023]
A second object of the present invention is to provide a digital signal processing apparatus and method and a storage medium for performing efficient subband decomposition that applies an appropriate filter according to the local nature of an image without performing pre-scanning. The purpose is to do.
[0024]
[Means for Solving the Problems]
In order to solve the above-described problem, a digital signal processing apparatus according to the present invention for decomposing an input signal sequence into two signals, a low frequency band signal and a high frequency band signal,
A signal sequence separating means for separating the input signal sequence into an odd signal sequence and an even signal sequence;
First filter means for generating a first low-frequency band coefficient signal sequence and a first high-frequency band coefficient signal sequence by performing a lifting process on each of the odd-numbered signal sequence and the even-numbered signal sequence; ,
Second filter means for generating a second low frequency band coefficient signal sequence and a second high frequency band coefficient signal sequence by applying a filter process different from the lifting process to each of the two signal series When,
One of the first low frequency band coefficient signal sequence and the second low frequency band coefficient signal sequence, one of the first high frequency band coefficient signal sequence and the second high frequency band coefficient signal sequence And adaptive selection means for respectively outputting low frequency band coefficient signal string output and high frequency band coefficient signal string output.
[0029]
An adaptive switching of the so-called wavelet filter output is realized.
[0030]
According to
[0031]
According to a third aspect of the present invention, the second filter means takes out one of the odd signal sequence and the even signal sequence and extracts the second low frequency band coefficient signal. The difference between the odd-numbered signal sequence and the even-numbered signal sequence is output to the adaptive selection means as the second high-frequency band coefficient signal sequence.
[0032]
According to
[0033]
According to a fifth aspect of the present invention, the first filter means performs a first lifting process for each of the odd-numbered signal sequence and the even-numbered signal sequence. A circuit, and a second lifting circuit that is provided at a subsequent stage of the first lifting circuit and performs a second lifting process,
The adaptive selection means includes first and second adaptive selection circuits,
The first adaptive selection circuit performs an adaptive selection operation on an output of the first lifting circuit;
The second lifting circuit performs the second lifting process on the result selected by the first adaptive selection circuit;
The second adaptive selection circuit performs an adaptive selection operation on a result of the lifting process performed by the second lifting circuit.
[0038]
The above object can also be achieved by a digital signal processing device having the following configuration. That is, a digital signal processing apparatus according to claim 6 for obtaining a signal of a predetermined frequency band from an input signal sequence,
A signal sequence separating means for separating the input signal sequence into an odd signal sequence and an even signal sequence;
First filter means for generating a coefficient signal sequence of a predetermined frequency band by applying a filtering process using a lifting process to the odd signal sequence or the even signal sequence;
Second filter means for generating a coefficient signal sequence in the predetermined frequency band by applying a filter process different from the lifting process used by the first filter means to the signal sequence to be lifted;
And adaptive selection means for adaptively selecting and outputting any one of a plurality of coefficient signal sequences obtained by the first and second filter means.
[0043]
As in the eleventh aspect, the predetermined frequency band is, for example, a high frequency band.
[0044]
The above-described problems are achieved by a signal processing method incorporated in the above-described signal processing apparatus, and also by a storage medium that stores a computer program that implements the method.
[0045]
DETAILED DESCRIPTION OF THE INVENTION
<First Embodiment>
Hereinafter, an embodiment representing the present invention will be described with reference to the drawings.
[0046]
FIG. 6 shows a block diagram of a digital signal processing apparatus for executing the first embodiment of the present invention.
[0047]
In the figure, 101 is a sampling circuit for taking out even-numbered samples, 102 is a sampling circuit for taking out odd-numbered samples, 103, 105, and 111 are filter circuits, 104, 106, and 112 are adders, and 107 is binary / multi-valued. The determination circuit 108 is a signal input terminal, 109 and 110 are signal output terminals, and 113 is a selector.
[0048]
The digital signal processing apparatus for executing this embodiment shown in FIG. 6 adaptively performs discrete wavelet transform on a signal x (n) (n is 0 to 2m−1) input from the signal input terminal 108. Then, two coefficients in the low frequency band and the high frequency band (hereinafter referred to as “low frequency band output coefficient” and “high frequency band output coefficient”) are generated and output from
[0049]
The conversion target image of this apparatus is a natural image, a binary / multi-value mixed image, and a binary image. That is, a natural image, a binary / multi-value mixed image, and a binary image are input from the terminal 108 in any order. The binary area is assumed to be composed of luminance levels 0 or 255.
[0050]
Hereinafter, the operation of each unit in the present embodiment will be described in detail with reference to the block diagram of FIG.
[0051]
First, the signal x (n) input from the signal input terminal 108 is divided into two series by the even-numbered sampling circuit 101 and the odd-numbered sampling circuit 102. The even-numbered sampling circuit 101 takes out even-numbered samples of the input signal x (n), that is, x (2k) (k = 0 to m−1). The odd-numbered sampling circuit 102 takes out odd-numbered samples of the input signal x (n), that is, x (2k + 1) (k = 0 to m−1).
[0052]
The
[0053]
[EQ7]
[0054]
Filter, i.e., using x (2k) and x (2k + 2) from the even-numbered sample series,
[EQ8]
[0055]
The calculation result is output to the adder 104. The adder 104 calculates and outputs the sum of the output x (2k + 1) of the odd-numbered sampling circuit 102 and the output of the filter circuit 103 (output of [EQ8]). Therefore, the output of the adder 104 is equivalent to d (k) shown in [EQ6].
On the other hand, the filter circuit 105
[0056]
[EQ9]
[0057]
That is, using d (k-1) and d (k) from the output sequence of the adder 104,
[EQ10]
[0058]
Is output to the adder 106. The adder 106 calculates and outputs the sum of the output of the filter circuit 105 and the output x (2k) of the even-numbered sampling circuit 101. The output of the adder 106 corresponds to r (k) shown in [EQ5]. As is apparent from comparison with FIG. 4, the processing by the
On the other hand, the filter circuit 111 obtains −x (2k) from the even-numbered sample series and outputs this to the adder 112. The adder 112 calculates the sum of the output x (2k + 1) of the odd-numbered sampling circuit 102 and the output −x (2k) of the filter circuit 111 and outputs the sum to the selector 113. As a result, the difference between the even-numbered sample and the odd-numbered sample is input to the input terminal d of the selector 113. On the other hand, the output x (2k) of the sampling circuit 101 is also supplied to the input terminal c of the selector. Thus, the signal that the selector 113 inputs at each terminal is
[0059]
Terminal a: Low frequency coefficient of the filter processing result, that is, r (k)
Terminal b: high frequency band coefficient of the filter processing result, that is, d (k)
Terminal c: Even numbered sample, that is, x (2k)
Terminal d: Difference between even-numbered sample and odd-numbered sample, that is, x (2k + 1) −x (2k)
It becomes.
[0063]
The selector 113 is a so-called hold type selector. That is, the output can maintain the result of selecting the previous input signal. Such a hold type selector can be easily realized by, for example, a clock synchronous selector.
[0064]
In the signal processing apparatus of FIG. 6, the output terminal array of the selector 113 is arranged so that the low frequency band coefficient output appears at the 109 terminal and the high frequency band coefficient output appears at the 110 terminal. The binary / multi-level determination circuit 107 inputs the low frequency band coefficient output from the 109 terminal, and performs image area determination of the signal series x (n). If the value of the image area determination signal B / M, which is the output of the determination circuit 107, is “1”, it is determined that it is a binary area, and if it is “0”, it is determined that it is a multi-value area. It shows that. The image area determination signal B / M controls the operation of the selector 113.
[0065]
7 and 8 show a general operation of the selector 113. FIG. That is, according to FIG. 7, when the determination circuit 107 outputs a binary determination (B / M = 1), the signal at the input terminal c appears at the
[0066]
The operation of the determination circuit 107 will be further described.
[0067]
As described above, the output of the selector 113 is switched according to the image area determination signal B / M output from the binary / multilevel determination circuit 107. However, even if the image area determination signal B / M is 0 or 1, if the input series appears only in the binary area, that is, 0 or 255, the output terminal is output as a low frequency band coefficient. The signal appearing at 109 is any of the 13 elements of the next set V.
[0068]
[EQ11]
V = {-64, -32,0,32,64,96,128,159,191,223,255,287,319}
[0069]
Therefore, if the determination circuit 107 causes the low frequency band coefficient value (that is, the signal at the terminal 109) to be a value belonging to the set V continuously for a predetermined number of times, the determination signal B / M is ,
[0070]
B / M = 1
[0071]
If the above event is not recognized
B / M = 0
[0072]
Is set to output. That is, when the determination circuit 107 recognizes the binary region, the selector 113 selects the connection of the input terminals c and d as the low frequency and high frequency band coefficients, respectively, and determines that the input region is a multi-value region. Selects and outputs the connection of the input terminals a and b as the low frequency and high frequency band coefficients, respectively.
Through the above operation, the low frequency band coefficient output and the high frequency band coefficient output produced by selecting the filter according to the binary region / multi-value region in the image are output from the
[0073]
Second Embodiment
The first embodiment employs a method of determining a binary region / multi-value region based on the value of a low frequency band coefficient generated by a 5 × 3 filter. In addition, the binary region determination condition here adopts that the low frequency band coefficient value belongs to V continuously for a predetermined number of times as the binary region determination condition. However, because of this determination condition, even if the conversion process shifts from the multi-value area to the binary area, it is not immediately determined as a binary area, and a determination delay occurs.
[0074]
As an example of the determination delay, the sequence x (n) to be converted as shown in FIG. 9 is changed from the multivalued region to the binary region at a certain time point n = i, and from the binary region at the time point n = i + 8. Consider the case of transition to a value region.
[0075]
In the case of a 5 × 3 filter, since the low-pass filter has 5 taps, considering that the filtering process is performed around x (i) at the stage of entering the binary region, the low-
[0076]
Further, in FIG. 9, if multi-level signal series data is applied like the low-
Therefore, if the binary area is not sufficiently long and continuous, that is, if the binary area does not continuously occur for the predetermined number of times or more, the binary area determination is not effective.
[0077]
In the second embodiment, binary / multilevel determination is provided for each lifting step to improve the determination delay.
[0078]
FIG. 10 shows the first aspect of the present invention. 2 1 is a block diagram of a digital signal processing apparatus that executes the embodiment of FIG.
[0079]
In the figure, 301 is an even number sampling circuit, 302 is an odd number sampling circuit, 303, 305 and 311 are filter circuits, 304, 306 and 312 are adders, 307 and 316 are binary / multi-value determination circuits, 308 is a signal input terminal, 309 and 310 are signal output terminals, 313 and 318 are mapping circuits, 314 and 317 are selectors, and 315 is a delay circuit. The single operations of the
[0080]
The digital signal processing apparatus according to the second embodiment shown in FIG. 10 adaptively performs discrete wavelet transform on the signal x (n) (n = 0 to 2m−1) input from the
[0081]
As in the first embodiment, the conversion target image of this apparatus is a natural image, a binary / multi-valued mixed image, and a binary image, and the binary area is configured with a luminance level of 0 or 255.
[0082]
Hereinafter, the operation of each unit in the second embodiment will be described in detail with reference to the block diagram of FIG.
[0083]
First, the signal x (n) input from the
[0084]
The
[0085]
[EQ12]
[0086]
And the operation result is output to the adder 304. The adder 304 calculates and outputs the sum of the output x (2k + 1) of the odd-numbered
On the other hand, the filter circuit 311 obtains −x (2k) from the even-numbered sample series and outputs it to the
[0087]
The output value x (2k + 1) −x (2k) of the
[0088]
[EQ13]
V '= {-255, 0, 255}
[0089]
Belongs to only when x (2k) and x (2k + 1) are both 0 or 255. Here, even if the sign of the output value x (2k + 1) −x (2k) is removed, it can be determined on the synthesizing process side. Therefore, the mapping circuit 313 replaces “−255” with “255”. Redundancy can be eliminated while retaining the complete reconstruction (ie lossless) nature.
The binary / multi-value determination circuit 307 examines the even-numbered sample x (2k) output from the sampling circuit 310, determines whether it is a binary region or a multi-value region, and controls the operation of the selector 314 according to the determination result. When the input series is a binary region, x (2k) only appears with a value of 0 or 255. Therefore, when x (2k) is 0 or 255, the determination circuit 307 determines that the input signal is input to the input terminal d and determines the control signal B / M to be a binary region. Output to the selector 314. If the above condition is not satisfied, the determination circuit 307 determines that it is a multi-value region, and the determination circuit 307 selects the signal input from the input terminal b and outputs the control signal B / M to the selector 113. Send to.
[0090]
The selector 314 selects either the signal input from the input terminal b or the signal input from the input terminal d in accordance with the control signal B / M from the binary / multilevel determination circuit 307, The data is output to the mapping circuit 318 and the
[0091]
The mapping circuit 318 is necessary when the digital signal processing apparatus for executing the second embodiment is used for two-dimensional wavelet conversion, and is already one-dimensional in either the horizontal or vertical direction. It functions only when the coefficient obtained by applying the transformation (that is, the output coefficient of the selector 314) is re-applied in the other direction. In the output coefficient of the selector 314, "128" and "255" Replace. By this operation, binary information is collected in the MSB plane, so that it is possible to improve the reproduction image quality of the binary area at an early stage of transmission.
[0092]
As in the first embodiment, the
[0093]
[EQ14]
[0094]
Is output to the
On the other hand, the delay circuit 315 delays the output x (2k) of the even-numbered
[0095]
Through the above operation, the low frequency band coefficient output and the high frequency component band coefficient output produced by selecting the filter in accordance with the binary region / multi-value region in the image are the
[0096]
In the first and second embodiments, the signal processing circuit has two outputs, one of which is a low frequency band coefficient output and the other of which is a high frequency band coefficient output. As a result, the signal processing circuits of the first embodiment and the second embodiment can be replaced in place of the conventional signal processing circuit in the circuit board using the conventional signal processing circuit of FIG.
[0097]
Note that the synthesis process corresponding to the decomposition process according to the first embodiment and the second embodiment performs the above-described processes in reverse order, and can be easily understood from the conventional synthesis process shown in FIG. .
[0098]
<Other embodiments>
The present invention is not limited to the embodiment described above.
[0099]
In the first and second embodiments described above, the configuration for selecting both the low frequency band output coefficient and the high frequency band output coefficient has been described. However, the present invention is not limited to this, and only the high frequency band output coefficient or the low frequency band output coefficient is selected. It is also possible to change so that only the output coefficient is selectively output.
[0100]
For example, in the first and second embodiments, the adaptive discrete wavelet transform based on the 5 × 3 filter is shown, but other filters such as a 2 × 10, 2 × 6, and 9 × 7 filter are used. An adaptive discrete wavelet transform may be configured as a base at all.
[0101]
Further, although it has been described that the image to be converted is an image of 8 bits per pixel, it goes without saying that it may be applied to an image of 8 bits or more. Similarly, adaptation to color images and application to audio signals and moving images other than still images are also included in the scope of the present invention.
[0102]
In the above-described embodiment, the filter processing is switched based on the binary / multi-value region determination. However, the present invention is not limited to this, and for example, variance of low frequency band coefficients. The filter may be switched according to the above, or the filter may be switched by paying attention to the continuity of the coefficient values.
[0103]
Even if the present invention is applied as part of a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.), a single device (for example, a copier, a facsimile machine, a digital camera, etc.) You may apply to one part of the apparatus which consists of.
[0104]
Further, the present invention is not limited only to the apparatus and method for realizing the above-described embodiment, and the software for realizing the above-described embodiment is stored in the computer (CPU or MPU) in the system or apparatus. The case where the above embodiment is realized by supplying a program code and causing the computer of the system or apparatus to operate the various devices according to the program code is also included in the scope of the present invention.
[0105]
In this case, the program code of the software itself realizes the functions of the above embodiment, and the program code itself and means for supplying the program code to the computer, specifically, the program code The stored storage medium is included in the category of the present invention.
[0106]
As a storage medium for storing such a program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0107]
The computer controls various devices according to only the supplied program code so that the functions of the above-described embodiment are realized, and the OS (operating system) on which the program code is running on the computer is also provided. In the case where the above embodiment is realized in cooperation with other application software or the like, such program code is also included in the scope of the present invention.
[0108]
Further, after the supplied program code is stored in the memory of the function expansion board of the computer or the function expansion unit connected to the computer, the program code is stored in the function expansion board or function expansion unit based on the instruction of the program code. A case in which the CPU or the like provided performs part or all of the actual processing and the above-described embodiment is realized by the processing is also included in the scope of the present invention.
[0109]
【The invention's effect】
As described above, according to the present invention, the discrete wavelet transform is decomposed and implemented in simple filter lifting steps, and an optimum filter is selected and applied from the low frequency band signal at each time point in each lifting step. By doing so, it is possible to realize a digital signal processing apparatus, method, and storage medium that perform efficient subband decomposition according to the local nature of an image without performing pre-scanning.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of an image that is a target of a general two-dimensional discrete wavelet transform.
FIG. 2 is a diagram schematically illustrating a state in which the image of FIG. 1 is decomposed into a low frequency band and a high frequency band.
FIG. 3 is a diagram schematically illustrating a state in which the decomposed image of FIG. 2 is further decomposed.
It is a block diagram of the decomposition | disassembly process by a 5x3 filter using lifting.
FIG. 4 is a block diagram of a synthesis process using a 5 × 3 filter using lifting according to the prior art.
FIG. 5 is a block diagram of processing for restoring a signal sequence converted by the processing circuit of FIG.
FIG. 6 is a block diagram of the signal processing apparatus according to the first embodiment of the present invention.
FIG. 7 is a diagram illustrating an operation of a selector used in the signal processing device according to the first embodiment.
FIG. 8 is a diagram illustrating an operation of a selector used in the signal processing device according to the first embodiment.
FIG. 9 is a diagram illustrating a delay in area determination according to the first embodiment.
FIG. 10 is a block diagram of a signal processing apparatus according to a second embodiment of the present invention.
[Explanation of symbols]
108,507,308 Signal input terminal
101, 501, 301 Even number sampling circuit
102, 502, 302 Odd number sampling circuit
103, 105, 111, 503, 505, 303, 305, 311 Filter circuit
104, 106, 112, 504, 506, 304, 306, 312 Adder
107, 307, 316 Binary / Multivalue Judgment Circuit
113, 314, 317 selector
315 delay circuit
313, 318 mapping circuit,
109, 110, 508, 509, 309, 310 Signal output terminal
Claims (17)
入力信号系列を奇数番信号系列と偶数番信号系列に分離する信号系列分離手段と、
前記奇数番信号系列と偶数番信号系列の夫々に対してリフティング処理を施すことにより、第1の低周波帯域係数信号列と第1の高周波帯域係数信号列とを生成する第1のフィルタ手段と、
前記2つの信号系列の夫々に対して、前記リフティング処理と異なるフィルタ処理を施すことにより、第2の低周波帯域係数信号列と第2の高周波帯域係数信号列とを生成する第2のフィルタ手段と、
前記第1の低周波帯域係数信号列と前記第2の低周波帯域係数信号列のいずれか一方と、前記第1の高周波帯域係数信号列と前記第2の高周波帯域係数信号列のいずれか一方とを適応的に選択して、夫々、低周波帯域係数信号列出力と高周波帯域係数信号列出力として出力する適応的選択手段とを具備することを特徴とするディジタル信号処理装置。A digital signal processing device that decomposes an input signal sequence into two signals, a low frequency band signal and a high frequency band signal,
A signal sequence separating means for separating the input signal sequence into an odd signal sequence and an even signal sequence;
First filter means for generating a first low-frequency band coefficient signal sequence and a first high-frequency band coefficient signal sequence by performing a lifting process on each of the odd-numbered signal sequence and the even-numbered signal sequence; ,
Second filter means for generating a second low frequency band coefficient signal sequence and a second high frequency band coefficient signal sequence by applying a filter process different from the lifting process to each of the two signal series When,
One of the first low frequency band coefficient signal sequence and the second low frequency band coefficient signal sequence, one of the first high frequency band coefficient signal sequence and the second high frequency band coefficient signal sequence And an adaptive selection means for adaptively selecting and outputting as a low frequency band coefficient signal string output and a high frequency band coefficient signal string output, respectively.
前記適応的選択手段は、第1と第2の適応的選択回路を有し、
前記第1の適応的選択回路は、前記第1のリフティング回路の出力に対して適応的選択動作を行い、
前記第2のリフティング回路は、前記第1の適応的選択回路によって選択された結果に対して前記第2のリフティング処理を行い、
前記第2の適応的選択回路は、前記第2のリフティング回路によりリフティング処理された結果に対して適応的選択動作を行うことを特徴とする請求項1記載のディジタル信号処理装置。The first filter means includes a first lifting circuit that performs a first lifting process for each of the odd-numbered signal sequence and the even-numbered signal sequence, and a second lifting circuit that is provided downstream of the first lifting circuit. A second lifting circuit for performing a lifting process,
The adaptive selection means includes first and second adaptive selection circuits,
The first adaptive selection circuit performs an adaptive selection operation on an output of the first lifting circuit;
The second lifting circuit performs the second lifting process on the result selected by the first adaptive selection circuit;
2. The digital signal processing apparatus according to claim 1, wherein the second adaptive selection circuit performs an adaptive selection operation on a result of the lifting process performed by the second lifting circuit.
入力信号系列を奇数番信号系列と偶数番信号系列に分離する信号系列分離手段と、
前記奇数番信号系列或いは偶数番信号系列にリフティング処理を用いたフィルタ処理を施すことにより、所定の周波数帯域の係数信号列を生成する第1のフィルタ手段と、
前記リフティング処理される信号系列に対して、前記第1のフィルタ手段が用いるリフティング処理とは異なるフィルタ処理を施すことにより、前記所定の周波数帯域の係数信号列を生成する第2のフィルタ手段と
前記第1、第2フィルタ手段で得られる複数の係数信号列のいずれか一方を適応的に選択して出力する適応的選択手段とを具備することを特徴とするディジタル信号処理装置。A digital signal processing apparatus for obtaining a signal of a predetermined frequency band from an input signal sequence,
A signal sequence separating means for separating the input signal sequence into an odd signal sequence and an even signal sequence;
First filter means for generating a coefficient signal sequence of a predetermined frequency band by applying a filtering process using a lifting process to the odd signal sequence or the even signal sequence;
A second filter unit that generates a coefficient signal sequence of the predetermined frequency band by applying a filter process different from the lifting process used by the first filter unit to the signal sequence to be lifted; A digital signal processing apparatus comprising: adaptive selection means for adaptively selecting and outputting any one of a plurality of coefficient signal sequences obtained by the first and second filter means.
前記適応的選択手段は、第1と第2の適応的選択回路を有し、
前記第1の適応的選択回路は、前記第1のリフティング回路の出力に対して適応的選択動作を行い、
前記第2のリフティング回路は、前記第1の適応的選択回路によって選択された結果に対して前記第2のリフティング処理を行い、
前記第2の適応的選択回路は、前記第2のリフティング回路によりリフティング処理された結果に対して適応的選択動作を行うことを特徴とする請求項6記載のディジタル信号処理装置。The first filter means includes a first lifting circuit that performs a first lifting process for each of the odd-numbered signal sequence and the even-numbered signal sequence, and a second lifting circuit that is provided downstream of the first lifting circuit. A second lifting circuit for performing a lifting process,
The adaptive selection means includes first and second adaptive selection circuits,
The first adaptive selection circuit performs an adaptive selection operation on an output of the first lifting circuit;
The second lifting circuit performs the second lifting process on the result selected by the first adaptive selection circuit;
The digital signal processing apparatus according to claim 6, wherein the second adaptive selection circuit performs an adaptive selection operation on a result of the lifting process performed by the second lifting circuit.
入力信号系列を奇数番信号系列と偶数番信号系列に分離する信号系列分離工程と、
前記奇数番信号系列或いは偶数番信号系列にリフティング処理を用いたフィルタ処理を施すことにより、所定の周波数帯域の係数信号列を生成する第1のフィルタ工程と、
前記リフティング処理される信号系列に対して、前記第1のフィルタ工程で用いるリフティング処理とは異なるフィルタ処理を施すことにより、前記所定の周波数帯域の係数信号列を生成する第2のフィルタ工程と、
前記第1、第2フィルタ工程で得られる複数の係数信号列のいずれか一方を適応的に選択して出力する適応的選択工程とを具備することを特徴とするディジタル信号処理方法。A digital signal processing method for obtaining a signal of a predetermined frequency band from an input signal sequence,
A signal sequence separation step of separating the input signal sequence into an odd signal sequence and an even signal sequence;
A first filter step of generating a coefficient signal sequence of a predetermined frequency band by applying a filtering process using a lifting process to the odd signal sequence or the even signal sequence;
A second filtering step of generating a coefficient signal sequence of the predetermined frequency band by applying a filtering process different from the lifting process used in the first filtering step to the signal sequence to be lifted ;
An adaptive selection step of adaptively selecting and outputting any one of the plurality of coefficient signal sequences obtained in the first and second filter steps.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25349599A JP3710342B2 (en) | 1999-09-07 | 1999-09-07 | Digital signal processing apparatus and method, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25349599A JP3710342B2 (en) | 1999-09-07 | 1999-09-07 | Digital signal processing apparatus and method, and storage medium |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2001077697A JP2001077697A (en) | 2001-03-23 |
| JP2001077697A5 JP2001077697A5 (en) | 2004-10-28 |
| JP3710342B2 true JP3710342B2 (en) | 2005-10-26 |
Family
ID=17252181
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25349599A Expired - Fee Related JP3710342B2 (en) | 1999-09-07 | 1999-09-07 | Digital signal processing apparatus and method, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3710342B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE10129240A1 (en) | 2001-06-18 | 2003-01-02 | Fraunhofer Ges Forschung | Method and device for processing discrete-time audio samples |
| JP3796432B2 (en) | 2001-10-31 | 2006-07-12 | キヤノン株式会社 | Filter processing apparatus and filter processing method |
| FR2849329A1 (en) * | 2002-12-20 | 2004-06-25 | France Telecom | Video sequence successive image coding having an image mesh divided and wavelet coded with two wavelet types applied distinct image zones |
| RU2340114C1 (en) * | 2005-11-18 | 2008-11-27 | Сони Корпорейшн | Coding device and method, decoding device and method and transmission system |
| TW200746655A (en) | 2005-11-18 | 2007-12-16 | Sony Corp | Encoding device and method, decoding device and method, and transmission system |
| JP4254867B2 (en) * | 2007-01-31 | 2009-04-15 | ソニー株式会社 | Information processing apparatus and method, program, and recording medium |
-
1999
- 1999-09-07 JP JP25349599A patent/JP3710342B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001077697A (en) | 2001-03-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Celik et al. | Lossless generalized-LSB data embedding | |
| US6665444B1 (en) | Image processing apparatus and method, and storage medium | |
| EP0933920B1 (en) | Data processing apparatus and method and storage medium | |
| US6567562B1 (en) | Encoding apparatus and method | |
| JP2000069292A (en) | Image processing apparatus and method, and storage medium | |
| JP2002325170A (en) | Image processing apparatus and method, program code, and storage medium | |
| WO1998005159A1 (en) | Picture encoder, picture decoder, picture encoding method, picture decoding method, and medium | |
| US20040013312A1 (en) | Moving image coding apparatus, moving image decoding apparatus, and methods therefor | |
| Kumar et al. | A reversible data hiding scheme using pixel location. | |
| JP3710342B2 (en) | Digital signal processing apparatus and method, and storage medium | |
| JP2620489B2 (en) | How to code a video image | |
| US7181077B2 (en) | Image decompression from transform coefficients | |
| CN113766084A (en) | Reversible information hiding method and system for enhancing image smoothness | |
| JPH09326024A (en) | Image coding and decoding method and apparatus thereof | |
| JPH08322041A (en) | Block distortion remover | |
| JP4083670B2 (en) | Image coding apparatus and image coding method | |
| JP2001285643A (en) | Image conversion apparatus and method | |
| JP2001169118A (en) | Image processing apparatus and method, computer readable memory | |
| JP5351094B2 (en) | Image coding method, image coding apparatus, and image coding program | |
| JP3718583B2 (en) | Image processing apparatus and image processing method | |
| JP3470326B2 (en) | Image coding method | |
| JPH1188183A (en) | Wavelet converter, its method, wavelet inverse converter, its method, image coder, its method, image decoder and its method | |
| JP3809303B2 (en) | Image processing apparatus and method | |
| JP4070846B2 (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
| JP4086424B2 (en) | Encoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050512 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050516 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050712 |
|
| 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: 20050729 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050809 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080819 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090819 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090819 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100819 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110819 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120819 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120819 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130819 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |