JP5017198B2 - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP5017198B2 JP5017198B2 JP2008179933A JP2008179933A JP5017198B2 JP 5017198 B2 JP5017198 B2 JP 5017198B2 JP 2008179933 A JP2008179933 A JP 2008179933A JP 2008179933 A JP2008179933 A JP 2008179933A JP 5017198 B2 JP5017198 B2 JP 5017198B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- difference image
- difference
- data
- outputting
- 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 Of Band Width Or Redundancy In Fax (AREA)
Description
本発明は、入力画像をウェーブレット変換した後に量子化して符号化を行う画像処理装置及び画像処理プログラムに関するものである。 The present invention relates to an image processing apparatus and an image processing program for performing encoding after wavelet transform of an input image.
近年、デジタル機器の発展に伴って、画像データ等の様々な圧縮方式が提案されているが、圧縮方式の1つとしてJPEG(Joint Photographic Experts Group)2000が知られている。JPEG2000は画像の圧縮・展開の方法を規定したもので、JPEGを発展させたものである。JPEG2000は、画像データを複数のタイルに分割し、タイル毎にウェーブレット変換、量子化、係数ビットモデリング、算術符号化等の処理を施して符号化データを生成する。 In recent years, with the development of digital devices, various compression methods for image data and the like have been proposed, and JPEG (Joint Photographic Experts Group) 2000 is known as one of the compression methods. JPEG2000 defines an image compression / decompression method, and is an extension of JPEG. JPEG2000 divides image data into a plurality of tiles, and generates encoded data by performing processing such as wavelet transform, quantization, coefficient bit modeling, and arithmetic coding for each tile.
しかし、JPEG2000を用いたとき、網点画像のような周期的な模様(網点ドット)で構成される画像の圧縮効率が悪いという問題があった。そこで、入力画像と既に記憶されているパターン画像を比較し、一致していたらパターン画像を圧縮して圧縮率を向上させる方法が特許文献1に記載されている。更に、特許文献2には、同一データが連続する個数をカウントするランレングスと隣接画素の差分を符号化し圧縮することによって圧縮率を向上させる方法が記載されている。
しかしながら、特許文献1に記載の方法の場合、入力画像とパターン画像が完全に一致する必要があり、網点画像のようなパターンへの適合が難しかった。また特許文献2に記載の方法の場合、網点画像については同一データが連続することは少ないことから圧縮効率は良くならなかった。 However, in the case of the method described in Patent Document 1, it is necessary for the input image and the pattern image to completely coincide with each other, and it is difficult to adapt to a pattern such as a halftone image. Further, in the case of the method described in Patent Document 2, the compression efficiency is not improved because the same data is rarely continuous for halftone images.
本発明は、上記の問題を解決するためになされたもので、網点画像のような周期的な模様を持つ画像に対する圧縮率を向上させる画像処理装置及び画像処理プログラムを提供することを目的とするものである。 The present invention has been made to solve the above problems, and an object thereof is to provide an image processing apparatus and an image processing program for improving the compression ratio for an image having a periodic pattern such as a halftone image. To do.
本発明における画像処理装置は、入力画像と該入力画像の近似パターン画像との差分画像を取得する差分画像取得手段と、前記近似パターン画像と前記差分画像の画像情報とを対応付けて記憶する近似パターン画像記憶手段と、前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段と、前記係数データを量子化して量子化データを出力する量子化手段と、前記量子化データを符号化して符号化データを出力する符号化手段と、前記入力画像の周波数成分を検出する周波数成分検出手段と、前記検出された周波数成分に基づいて前記近似パターン画像を生成するパターン画像生成手段と、を備え、前記差分画像取得手段は前記入力画像と前記生成された近似パターン画像との差分画像を取得する。 An image processing apparatus according to the present invention includes a difference image acquisition unit that acquires a difference image between an input image and an approximate pattern image of the input image, and an approximation that stores the approximate pattern image and image information of the difference image in association with each other. Pattern image storage means; wavelet transform means for performing wavelet transform on the difference image to output coefficient data; quantization means for quantizing the coefficient data to output quantized data; and encoding the quantized data Encoding means for outputting encoded data, frequency component detection means for detecting a frequency component of the input image, and pattern image generation means for generating the approximate pattern image based on the detected frequency component, The difference image acquisition means acquires a difference image between the input image and the generated approximate pattern image.
また、本発明における画像処理プログラムは、入力画像と該入力画像の近似パターン画像との差分画像を取得する差分画像取得手段、前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段、前記係数データを量子化して量子化データを出力する量子化手段、前記量子化データを符号化して符号化データを出力する符号化手段、前記入力画像の周波数成分を検出する周波数成分検出手段、前記検出された周波数成分に基づいて前記近似パターン画像を生成するパターン画像生成手段、として機能させ、前記差分画像取得手段は前記入力画像と前記生成された近似パターン画像との差分画像を取得する。 The image processing program according to the present invention includes a difference image acquisition unit that acquires a difference image between an input image and an approximate pattern image of the input image, a wavelet conversion unit that performs wavelet conversion on the difference image and outputs coefficient data, Quantizing means for quantizing the coefficient data and outputting quantized data, encoding means for encoding the quantized data and outputting encoded data, frequency component detecting means for detecting a frequency component of the input image, It functions as a pattern image generation unit that generates the approximate pattern image based on the detected frequency component, and the difference image acquisition unit acquires a difference image between the input image and the generated approximate pattern image.
これらの構成によれば、入力画像の周波数特性を測定することで入力画像の近似パターン画像を簡単に生成でき、更に入力画像と近似パターン画像の差分画像は入力画像よりも高周波成分及び低周波成分のデータが少なくなるため、圧縮率を向上させることができる。 According to these configurations, it is possible to easily generate an approximate pattern image of the input image by measuring the frequency characteristics of the input image, and the difference image between the input image and the approximate pattern image is higher frequency component and lower frequency component than the input image. Therefore, the compression rate can be improved.
また、本発明における画像処理装置は、入力画像と該入力画像の近似パターン画像との差分画像を取得する差分画像取得手段と、前記近似パターン画像と前記差分画像の画像情報とを対応付けて記憶する近似パターン画像記憶手段と、前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段と、前記係数データを量子化して量子化データを出力する量子化手段と、前記量子化データを符号化して符号化データを出力する符号化手段と、異なる周波数成分を示す複数のパターン画像を記憶するパターン画像記憶手段と、前記記憶された各パターン画像と入力画像との差分画像を生成する差分画像生成手段と、を備え、前記差分画像取得手段は、前記生成された差分画像のうち最もデータ量の少ない差分画像を選択して取得する。 The image processing apparatus according to the present invention stores difference image acquisition means for acquiring a difference image between an input image and an approximate pattern image of the input image, and stores the approximate pattern image and image information of the difference image in association with each other. An approximate pattern image storage means, a wavelet transformation means for performing wavelet transformation on the difference image and outputting coefficient data, a quantization means for quantizing the coefficient data and outputting quantized data, and the quantized data Encoding means for encoding and outputting encoded data, pattern image storage means for storing a plurality of pattern images showing different frequency components, and difference for generating a difference image between each of the stored pattern images and the input image An image generation means, wherein the difference image acquisition means obtains a difference image with the smallest data amount among the generated difference images. -Option to acquire.
また、本発明における画像処理プログラムは、コンピュータを、入力画像と該入力画像の近似パターン画像との差分画像を取得する差分画像取得手段、前記近似パターン画像と前記差分画像の画像情報とを対応付けて記憶する近似パターン画像記憶手段、前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段、前記係数データを量子化して量子化データを出力する量子化手段、前記量子化データを符号化して符号化データを出力する符号化手段、異なる周波数成分を示す複数のパターン画像を記憶するパターン画像記憶手段、前記記憶された各パターン画像と入力画像との差分画像を生成する差分画像生成手段と、として機能させ、前記差分画像取得手段は、前記生成された差分画像のうち最もデータ量の少ない差分画像を選択して取得する。 In the image processing program according to the present invention, the computer associates the difference image acquisition means for acquiring a difference image between the input image and the approximate pattern image of the input image, and associates the approximate pattern image with the image information of the difference image. Approximate pattern image storage means for storing, wavelet transform means for performing wavelet transform on the difference image and outputting coefficient data, quantizing means for quantizing the coefficient data and outputting quantized data, encoding the quantized data Encoding means for generating encoded data and outputting encoded data, pattern image storage means for storing a plurality of pattern images showing different frequency components, difference image generating means for generating a difference image between each of the stored pattern images and an input image And the difference image acquisition means has the largest amount of data among the generated difference images. To get to select the less the difference image.
これらの構成によれば、パターン画像記憶手段に周波数の異なる複数のパターン画像を予め記憶させることによって、入力画像の近似パターン画像を簡単に取得することができる。更に入力画像と近似パターン画像の差分画像は入力画像よりも高周波成分及び低周波成分のデータが少なくなるため、圧縮率を向上させることができる。 According to these configurations, an approximate pattern image of an input image can be easily obtained by storing in advance a plurality of pattern images having different frequencies in the pattern image storage means. Further, since the difference image between the input image and the approximate pattern image has less data of high frequency components and low frequency components than the input image, the compression rate can be improved.
ここで、圧縮率が特に悪くなるパターンの周波数特性を予め調査し、その周波数特性を持つ入力画像に対して適用できるパターン画像を多く記憶させておくことが望ましい。また、パターン画像記憶手段は、周波数特性の異なる複数のパターン画像をテーブルデータ化して記憶しており、差分画像取得手段はこのテーブルから適宜パターン画像を読み出して差分画像を生成し、最もデータ量の少ない差分画像を生成したパターン画像のファイル名やパターン番号等を圧縮された差分画像に付加して記憶することとしてもよい。尚、パターン画像記憶手段は複数のパターン画像をテーブルデータとして記憶する他に、周波数成分を近似する基本式を持ち、その係数を記憶するようにしてもよい。 Here, it is desirable to investigate in advance the frequency characteristics of a pattern that causes a particularly poor compression rate, and to store many pattern images that can be applied to an input image having the frequency characteristics. The pattern image storage means stores a plurality of pattern images having different frequency characteristics as table data, and the difference image acquisition means reads the pattern image from the table as appropriate to generate a difference image, and generates the largest amount of data. The file name, pattern number, and the like of the pattern image that generated a small number of difference images may be added to the compressed difference image and stored. In addition to storing a plurality of pattern images as table data, the pattern image storage means may have a basic expression that approximates a frequency component, and may store the coefficients thereof.
また、上記構成において、前記符号化データを逆符号化して量子化データを出力する逆符号化手段と、前記量子化データを逆量子化して係数データを出力する逆量子化手段と、前記係数データに逆ウェーブレット変換を施して差分画像を出力する逆ウェーブレット変換手段と、前記近似パターン画像記憶手段から前記差分画像の画像情報が対応付けて記憶されている近似パターン画像を読み出して、前記差分画像を前記入力画像に復元する復元手段と、を更に備えることが好ましい。 Further, in the above-described configuration, an inverse encoding means for inversely encoding the encoded data and outputting quantized data, an inverse quantization means for inversely quantizing the quantized data and outputting coefficient data, and the coefficient data An inverse wavelet transform unit that performs inverse wavelet transform to output a differential image, and reads out an approximate pattern image in which image information of the differential image is stored in association with the approximate pattern image storage unit, and stores the differential image and restoring means for restoring said input image, further comprising preferably Rukoto a.
この構成によれば、近似パターン画像記憶手段に記憶された近似パターン画像を読み出すことによって、復号された差分画像を簡単に入力画像に復元できる。 According to this configuration, the decoded difference image can be easily restored to the input image by reading out the approximate pattern image stored in the approximate pattern image storage unit.
この発明によれば、入力画像の周波数特性を測定することで入力画像の近似パターン画像を簡単に生成でき、更に入力画像と近似パターン画像の差分画像は入力画像よりも高周波成分及び低周波成分のデータが少なくなるため、圧縮率を向上させることができる。 According to the present invention, the approximate pattern image of the input image can be easily generated by measuring the frequency characteristics of the input image, and the difference image between the input image and the approximate pattern image has a higher frequency component and a lower frequency component than the input image. Since the data is reduced, the compression rate can be improved.
また、周波数の異なる複数のパターン画像を予め記憶しておくことによって、入力画像の近似パターンを簡単に取得することができる。更に入力画像と近似パターン画像の差分画像は入力画像よりも高周波成分及び低周波成分のデータが少なくなるため、圧縮率を向上させることができる。 Further, by storing a plurality of pattern images having different frequencies in advance, an approximate pattern of the input image can be easily obtained. Further, since the difference image between the input image and the approximate pattern image has less data of high frequency components and low frequency components than the input image, the compression rate can be improved.
<第1の実施の形態>
本発明における画像処理装置及び画像処理プログラムの実施の形態について図面を参照して説明する。図1は、本実施の形態における画像処理装置1の電気的構成を示すブロック図である。尚、画像処理装置1は、パーソナルコンピュータ(パソコン)やワークステーション、携帯情報端末等の情報処理装置で実現され、図1のブロック図は画像処理装置1がこれらの情報処理装置によって実現された場合を例に図示している。この他、コピー機やスキャナ等の画像読取装置や、デジタルカメラやデジタルビデオカメラ、デジタルカメラを搭載した携帯電話等の撮像装置に組み込まれて用いられてもよい。
<First Embodiment>
Embodiments of an image processing apparatus and an image processing program according to the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an electrical configuration of an image processing apparatus 1 in the present embodiment. The image processing apparatus 1 is realized by an information processing apparatus such as a personal computer (personal computer), a workstation, or a portable information terminal, and the block diagram of FIG. 1 shows a case where the image processing apparatus 1 is realized by these information processing apparatuses. Is shown as an example. In addition, it may be used by being incorporated in an image reading apparatus such as a copying machine or a scanner, or an imaging apparatus such as a digital camera, a digital video camera, or a mobile phone equipped with a digital camera.
図1に示すように、画像処理装置1は制御部11、記憶部12、入力操作部13、表示部14、I/F部15、ネットワークI/F部16及び画像処理部17等を備えて構成される。制御部11は、CPU(Central Processing Unit:中央処理装置)等によって構成され、入力された指示信号等に応じて記憶部12に記憶されたプログラムを読み出して処理を実行し、各機能部への指示信号の出力、データ転送等を行って画像処理装置1を統括的に制御する。
As shown in FIG. 1, the image processing apparatus 1 includes a
記憶部12は、画像処理装置1の備える種々の機能を実現するためのプログラムやデータ等を記憶する。入力操作部13は、各種操作ボタンやマウス等のポインティングデバイスを備え、ユーザによって操作がなされると、操作信号を制御部11へ出力する。またユーザは入力操作部13を介して圧縮率の設定を行う。表示部14は、液晶ディスプレイ等の表示画面であり、入力操作部13から入力された内容に応じた表示を行ったり、制御部11による処理内容や処理結果を表示したりする。
The
I/F部15はIEEE1394やUSB等のインターフェイスであり、外部装置と直接データの送受信を行うことができる。ネットワークI/F部16は、LANボード等の通信モジュールから構成され、ネットワークI/F部16と接続されたネットワーク(不図示)を介して外部装置と種々のデータの送受信を行う。
The I /
画像処理部17は、入力画像の圧縮/復号処理を行うための画像処理ICであり、制御部11によって制御される。画像処理部17は、記憶部21及びRAM(Random Access Memory)22を備えて構成される。記憶部21は圧縮プログラム31及び復号プログラム32を記憶する。圧縮プログラム31は、I/F部15やネットワークI/F部16を介して入力された入力画像をJPEG2000方式で圧縮する際に画像処理部17によって実行されるプログラムである。復号プログラム32は画像処理部17によって圧縮処理が施された圧縮画像を復号する際に画像処理部17によって実行されるプログラムである。RAM22は、画像処理部17の作業用メモリであり、圧縮プログラム31を実行することによって生成される近似パターン画像等を一時的に記憶する。
The
図2は、画像処理部17が圧縮プログラム31を読み出して実行することによって行われる画像圧縮処理の流れを示すフローチャートである。図3及び5はJPEG2000の処理について説明するための図であり、図4は差分画像の生成について説明するための図である。図2〜5を用いて本実施の形態における圧縮処理の流れを説明する。
FIG. 2 is a flowchart showing the flow of the image compression process performed when the
まず画像処理部17は、入力された画像データの表色系を例えばRGB方式からYCbCr方式へコンポーネント変換して(ステップS11)、表色系が変換された画像データを図3に示すように複数のタイルに分割する(ステップS12)。
First, the
タイル分割後、画像処理部17はタイル画像の周波数特性を検出し(ステップS13)、その周波数特性に基づいた近似パターン画像を生成する(ステップS14)。図4において、51がタイル画像、52がタイル画像の周波数特性に基づいて生成されたタイル画像の近似パターン画像である。近似パターン画像52は周期的な模様を持ったパターン画像である。ここで、画像処理装置1がJPEG2000の他にJPEG圧縮を実行可能である場合、JPEG圧縮の際に行われる離散コサイン変換を用いてタイル画像52の周波数特性の測定を行ってもよい。
After the tile division, the
そして画像処理部17は生成した近似パターン画像52と差分画像55の画像情報とを対応付けてRAM22に記憶させる(ステップS15)。このRAM22に記憶させた近似パターン画像22は、圧縮画像を復号する際に用いられる。差分画像55の画像情報とは、各差分画像に与えられる独自の情報を言い、例えば差分画像55の生成元であるタイル画像51の位置情報等である。
Then, the
次に画像処理部17はタイル画像51と近似パターン画像52の差分を取った差分画像を生成する(ステップS16)。図4において、53が差分画像である。差分画像53は、タイル画像51に近似パターン画像52を重ね合わせたとき、2つの画像が重なり合う部分が取り除かれ、且つ重なり合わない部分はタイル画像51の成分のみが残存した画像となっている。
Next, the
そして、画像処理部17は差分画像53に対して離散ウェーブレット変換を施して係数データを出力する(ステップS17)。図5は、離散ウェーブレット変換について示した模式図である。図5(a)のタイル画像(0LL)に対して、離散ウェーブレット変換を施し、図5(b)に示すようにサブバンド1LL、1HL、1LH及び1HHに分解する。続いて、低周波成分1LLに対して離散ウェーブレット変換を施し、図5(c)に示すようにサブバンド2LL、2HL、2LH及び2HHに分解する。尚、図4の画像54では1レベル変換について、図5では2レベル変換について図示しているが、離散ウェーブレット変換の回数は特に制限されるものではない。
Then, the
続いて、画像処理部17は離散ウェーブレット変換された係数データに対して線形量子化を行い(ステップS18)、量子化された量子化データに対してエントロピー符号化を行う(ステップS19)。量子化及びエントロピー符号化については、各文献により周知のものであるため説明を省略する。
Subsequently, the
次に、復号処理の流れについて説明する。図6は画像処理部17が復号プログラム32を読み出して実行したときに行われる復号化処理の流れを示したフローチャートである。まず画像処理部17は圧縮画像に対して逆エントロピー符号化を行い(ステップS21)、図2のステップS18で生成された量子化データを取得する。続いて画像処理部17は量子化データに対して逆量子化を行い、図2のステップS17で生成された離散ウェーブレット変換された係数データを取得する(ステップS22)。
Next, the flow of decoding processing will be described. FIG. 6 is a flowchart showing the flow of the decoding process performed when the
そして画像処理部17は係数データに対して逆離散ウェーブレット変換を行い、図2のステップS16で生成された差分画像53を取得する(ステップS23)。画像処理部17はRAM22に記憶された差分画像53の画像情報と対応付けて記憶された近似パターン画像51を読み出して、差分画像53をタイル画像51に復元する(ステップS24)。そして画像処理部17はタイル画像を組み合わせた画像の表色系のコンポーネント変換を行って圧縮画像の復号化を終了する(ステップS25)。
Then, the
従来のJPEG2000の圧縮技術を用いて網点画像のような周期的な模様(網点ドット)で構成される画像の圧縮を行うと、圧縮効率が悪くなるという問題があった。これは、離散ウェーブレット変換において画像を低周波成分と高周波成分に分類するが、特定の網点画像において高周波領域に成分が多く残り、これが圧縮効率を悪化させている原因の1つと考えられていた(理想的には高周波成分が0に近い均一なデータに近づけば、圧縮率は向上する)。 When a conventional JPEG2000 compression technique is used to compress an image composed of a periodic pattern (halftone dots) such as a halftone image, there is a problem that the compression efficiency is deteriorated. This is because the discrete wavelet transform classifies the image into low-frequency components and high-frequency components, but many components remain in the high-frequency region in a specific halftone dot image, which is considered to be one of the causes that deteriorate the compression efficiency. (Ideally, the compression ratio improves when the high frequency component approaches uniform data close to 0).
そこで、以上で説明したように、タイル画像51の周波数特性を測定し、この周波数特性を用いてタイル画像51の近似パターン画像52を生成し、タイル画像51と近似パターン画像52の差分画像53に離散ウェーブレット変換を施すことにより、差分画像53はタイル画像51よりも高周波成分及び低周波成分のデータが少なくなるため、圧縮率を向上させることができる。
Therefore, as described above, the frequency characteristics of the
<第2の実施の形態>
第1の実施の形態では、フーリエ変換等を用いてタイル画像51の周波数特性を測定して近似パターン画像52を生成した後、タイル画像51と近似パターン画像52の差分画像53を圧縮する画像処理装置1について説明した。本実施の形態では、周波数特性の異なる複数の近似パターン画像を予め記憶部に記憶させておき、その中からタイル画像と一致度の高い近似パターン画像を選択して差分画像を生成し、画像圧縮を行う画像処理装置について説明する。
<Second Embodiment>
In the first embodiment, the frequency characteristics of the
図7は、本実施の形態における画像処理装置2の電気的構成を示すブロック図である。図7において、第1の実施の形態と同じ要素については同じ符号を付し、説明を省略する。画像処理部17の記憶部21は、圧縮プログラム41、復号プログラム32を記憶し、更にパターン画像記憶部42として機能する。
FIG. 7 is a block diagram showing an electrical configuration of the image processing apparatus 2 in the present embodiment. In FIG. 7, the same elements as those in the first embodiment are denoted by the same reference numerals, and description thereof is omitted. The
パターン画像記憶部42は、周波数特性の異なる複数のパターン画像を記憶している。例えば、図4の近似パターン画像52が一例であり、線数の異なるドットパターンを複数記憶する。尚、予め圧縮率が特に悪くなるパターンの周波数特性を調査し、その周波数特性を持つ入力画像に対して適用できるパターン画像を多く記憶させておくことが望ましい。
The pattern
パターン画像記憶部42は、周波数特性の異なる複数のパターン画像をテーブルデータ化して記憶しており、画像処理部17はこのテーブルから適宜パターン画像を読み出して差分画像を生成する。そして画像処理部17は最もデータ量の少ない差分画像を生成したパターン画像のファイル名やパターン番号等を圧縮された差分画像に付加して記憶する。尚、パターン画像記憶部42は複数のパターン画像をテーブルデータとして記憶する他に、周波数成分を近似する基本式を持ち、その係数を記憶するようにしてもよい。
The pattern
図8は、画像処理部17が圧縮プログラム41を読み出して実行することによって行われる圧縮処理の流れを示すフローチャートである。まず画像処理部17は、入力された画像データの表色系を例えばRGB方式からYCbCr方式へコンポーネント変換して(ステップS31)、表色系が変換された画像データを図3に示すように複数のタイルに分割する(ステップS32)。
FIG. 8 is a flowchart showing the flow of compression processing performed when the
次に画像処理部17は、パターン画像記憶部33に記憶されている複数のパターン画像とタイル画像との差分画像を生成し(ステップS33)、生成された差分画像の中から最もデータ量の少ない差分画像を選択する(ステップS34)。ここで、画像処理部17は単純にデータ量の少ない差分画像を選択してもよいし、タイル画像の境界近傍の画素値が小さくなること等も考慮して選択するようにしてもよい。そして画像処理部17は、選択した差分画像を生成したパターン画像を近似パターン画像とし、差分画像の画像情報と対応付けてRAM22に記憶させる(ステップS35)。
Next, the
続いて、画像処理部17はステップS34において選択した差分画像に対して離散ウェーブレット変換を施して係数データを出力し(ステップS36)、離散ウェーブレット変換された係数データに対して線形量子化を行う(ステップS37)。更に画像処理部17は、量子化された量子化データに対してエントロピー符号化を行って処理を終了する(ステップS38)。復号化については第1の実施の形態と同じであるため、説明を省略する。
Subsequently, the
以上、説明したように、パターン画像記憶部42に周波数特性の異なる複数のパターン画像を予め記憶させておき、各パターン画像とタイル画像との差分画像の中で最もデータ量の少ない差分画像に離散ウェーブレット変換を施すことにより、差分画像はタイル画像よりも高周波成分及び低周波成分のデータが少なくなるため、圧縮率を向上させることができる。
As described above, a plurality of pattern images having different frequency characteristics are stored in advance in the pattern
1、2 画像処理装置
11 制御部
12 記憶部
13 入力操作部
14 表示部
15 I/F部
16 ネットワークI/F部
17 画像処理部(差分画像取得手段、ウェーブレット変換手段、量子化手段、周波数成分検出手段、パターン画像生成手段、差分画像生成手段、逆量子化手段、逆ウェーブレット変換手段、復元手段)
21 記憶部
31、41 圧縮プログラム(画像処理プログラム)
32 復号プログラム
43 パターン画像記憶部(パターン画像記憶手段)
22 RAM(第2記憶手段)
DESCRIPTION OF SYMBOLS 1, 2
21
32 Decoding program 43 Pattern image storage unit (pattern image storage means)
22 RAM (second storage means)
Claims (5)
前記近似パターン画像と前記差分画像の画像情報とを対応付けて記憶する近似パターン画像記憶手段と、
前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段と、
前記係数データを量子化して量子化データを出力する量子化手段と、
前記量子化データを符号化して符号化データを出力する符号化手段と、
前記入力画像の周波数成分を検出する周波数成分検出手段と、
前記検出された周波数成分に基づいて前記近似パターン画像を生成するパターン画像生成手段と、
を備え、前記差分画像取得手段は前記入力画像と前記生成された近似パターン画像との差分画像を取得する画像処理装置。 Difference image acquisition means for acquiring a difference image between an input image and an approximate pattern image of the input image;
An approximate pattern image storage means for storing the approximate pattern image and the image information of the difference image in association with each other;
Wavelet transform means for applying wavelet transform to the difference image and outputting coefficient data;
Quantization means for quantizing the coefficient data and outputting quantized data;
Encoding means for encoding the quantized data and outputting the encoded data;
Frequency component detection means for detecting a frequency component of the input image;
Pattern image generation means for generating the approximate pattern image based on the detected frequency component;
Wherein the difference image acquiring unit images processing device for acquiring a difference image between the approximate pattern image the generated and the input image.
前記近似パターン画像と前記差分画像の画像情報とを対応付けて記憶する近似パターン画像記憶手段と、
前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段と、
前記係数データを量子化して量子化データを出力する量子化手段と、
前記量子化データを符号化して符号化データを出力する符号化手段と、
異なる周波数成分を示す複数のパターン画像を記憶するパターン画像記憶手段と、
前記記憶された各パターン画像と入力画像との差分画像を生成する差分画像生成手段と、
を備え、前記差分画像取得手段は、前記生成された差分画像のうち最もデータ量の少ない差分画像を選択して取得する画像処理装置。 Difference image acquisition means for acquiring a difference image between an input image and an approximate pattern image of the input image;
An approximate pattern image storage means for storing the approximate pattern image and the image information of the difference image in association with each other;
Wavelet transform means for applying wavelet transform to the difference image and outputting coefficient data;
Quantization means for quantizing the coefficient data and outputting quantized data;
Encoding means for encoding the quantized data and outputting the encoded data;
Pattern image storage means for storing a plurality of pattern images showing different frequency components;
Difference image generation means for generating a difference image between each of the stored pattern images and the input image;
Wherein the difference image obtaining means, the most small amount of data images processing device for acquiring by selecting the difference image of the generated difference image.
前記量子化データを逆量子化して係数データを出力する逆量子化手段と、
前記係数データに逆ウェーブレット変換を施して差分画像を出力する逆ウェーブレット変換手段と、
前記近似パターン画像記憶手段から前記差分画像の画像情報が対応付けて記憶されている近似パターン画像を読み出して、前記差分画像を前記入力画像に復元する復元手段と、を更に備えた請求項1又は2に記載の画像処理装置。 De-encoding means for de-encoding the encoded data and outputting quantized data;
Inverse quantization means for inversely quantizing the quantized data and outputting coefficient data;
Inverse wavelet transform means for performing inverse wavelet transform on the coefficient data and outputting a difference image;
It reads the approximate pattern image the image information of the difference image from the approximate pattern image storing means is stored in association, and restoring means for restoring the differential image to the input image, further claim 1 or with a 2. The image processing apparatus according to 2.
入力画像と該入力画像の近似パターン画像との差分画像を取得する差分画像取得手段、
前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段、
前記係数データを量子化して量子化データを出力する量子化手段、
前記量子化データを符号化して符号化データを出力する符号化手段、
前記入力画像の周波数成分を検出する周波数成分検出手段、
前記検出された周波数成分に基づいて前記近似パターン画像を生成するパターン画像生成手段、
として機能させ、前記差分画像取得手段は前記入力画像と前記生成された近似パターン画像との差分画像を取得する画像処理プログラム。 Computer
Difference image acquisition means for acquiring a difference image between an input image and an approximate pattern image of the input image;
Wavelet transform means for applying wavelet transform to the difference image and outputting coefficient data;
Quantization means for quantizing the coefficient data and outputting quantized data,
Encoding means for encoding the quantized data and outputting the encoded data;
A frequency component detecting means for detecting a frequency component of the input image;
Pattern image generation means for generating the approximate pattern image based on the detected frequency component;
To function as, the the difference image acquiring unit images processing program for obtaining a difference image between the approximate pattern image the generated and the input image.
入力画像と該入力画像の近似パターン画像との差分画像を取得する差分画像取得手段、
前記近似パターン画像と前記差分画像の画像情報とを対応付けて記憶する近似パターン画像記憶手段、
前記差分画像にウェーブレット変換を施して係数データを出力するウェーブレット変換手段、
前記係数データを量子化して量子化データを出力する量子化手段、
前記量子化データを符号化して符号化データを出力する符号化手段、
異なる周波数成分を示す複数のパターン画像を記憶するパターン画像記憶手段、
前記記憶された各パターン画像と入力画像との差分画像を生成する差分画像生成手段と、
として機能させ、前記差分画像取得手段は、前記生成された差分画像のうち最もデータ量の少ない差分画像を選択して取得する画像処理プログラム。 Computer
Difference image acquisition means for acquiring a difference image between an input image and an approximate pattern image of the input image;
An approximate pattern image storage means for storing the approximate pattern image and the image information of the difference image in association with each other;
Wavelet transform means for applying wavelet transform to the difference image and outputting coefficient data;
Quantization means for quantizing the coefficient data and outputting quantized data,
Encoding means for encoding the quantized data and outputting the encoded data;
Pattern image storage means for storing a plurality of pattern images showing different frequency components;
Difference image generation means for generating a difference image between each of the stored pattern images and the input image;
To function as the difference image acquiring unit, images processing program to select and retrieve small difference image the least data amount among the generated difference image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008179933A JP5017198B2 (en) | 2008-07-10 | 2008-07-10 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008179933A JP5017198B2 (en) | 2008-07-10 | 2008-07-10 | Image processing apparatus and image processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010021752A JP2010021752A (en) | 2010-01-28 |
JP5017198B2 true JP5017198B2 (en) | 2012-09-05 |
Family
ID=41706228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008179933A Expired - Fee Related JP5017198B2 (en) | 2008-07-10 | 2008-07-10 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5017198B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002232876A (en) * | 2001-02-07 | 2002-08-16 | Japan Atom Energy Res Inst | Method for efficiently reducing picture data obtained in remote picture monitoring system |
JP2007180609A (en) * | 2005-12-26 | 2007-07-12 | Ricoh Co Ltd | Image processing apparatus, system, method and program, and recording medium |
JP2008124632A (en) * | 2006-11-09 | 2008-05-29 | Sharp Corp | Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, image encoding program, image decoding program, recording medium recording image encoding program, and recording medium recording image decoding program |
-
2008
- 2008-07-10 JP JP2008179933A patent/JP5017198B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010021752A (en) | 2010-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4111926B2 (en) | Image processing apparatus, program, storage medium, and image transmission method | |
JP5114462B2 (en) | Image compression apparatus and image compression program | |
JP2006229538A (en) | Image processing system, image processing method, and program therefor | |
JP2004147142A (en) | Image processor, program, and storage medium | |
CN102271251B (en) | Lossless image compression method | |
JP2004040429A (en) | Digital image encoder, digital image encoding method used therefor, and program therefor | |
JP5017198B2 (en) | Image processing apparatus and image processing program | |
US7613319B2 (en) | Electronic watermark generating apparatus, method, and program for generating electronic watermark | |
US9456220B2 (en) | Image coding method, image coding device, image processing apparatus, and image transmitting/receiving system | |
CN103313050A (en) | Image processing device and image processing method | |
JP5560172B2 (en) | Image processing apparatus, image processing method, and image processing program | |
KR20110071204A (en) | Parallel processing method in wavelet-based jpeg2000 | |
CN107945108A (en) | Method for processing video frequency and device | |
JP2021175049A (en) | Information processing apparatus, information processing method, and program | |
US8467619B2 (en) | Image compressing apparatus, image compressing method, image decompressing apparatus, and storage medium | |
JP4874941B2 (en) | Image processing apparatus and image processing method | |
JP5244841B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2001231009A (en) | Image data storage device ad method | |
JP5267140B2 (en) | Image compression apparatus and image compression method | |
JP4966263B2 (en) | Image processing apparatus and image processing program | |
Hakami et al. | Improve data compression performance using wavelet transform based on HVS | |
JP2010004279A (en) | Image processor and image forming apparatus including the same | |
JP4978934B2 (en) | Image compression apparatus and program | |
JP5175820B2 (en) | Image compression apparatus, image compression decoding apparatus, image compression program, and image compression decoding program | |
Giusto et al. | Data Compression for Digital Photography: Performance comparison between proprietary solutions and standards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120306 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120424 |
|
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: 20120515 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120611 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150615 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5017198 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |