JP4253839B2 - Image compression method, image compression program, image compression apparatus, and digital camera - Google Patents
Image compression method, image compression program, image compression apparatus, and digital camera Download PDFInfo
- Publication number
- JP4253839B2 JP4253839B2 JP2003338031A JP2003338031A JP4253839B2 JP 4253839 B2 JP4253839 B2 JP 4253839B2 JP 2003338031 A JP2003338031 A JP 2003338031A JP 2003338031 A JP2003338031 A JP 2003338031A JP 4253839 B2 JP4253839 B2 JP 4253839B2
- Authority
- JP
- Japan
- Prior art keywords
- quantization table
- image quality
- quality evaluation
- evaluation value
- image
- 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 compression method and an image compression apparatus suitable for use in an image photographing apparatus such as a digital camera or a video camera.
従来、デジタルカメラやビデオカメラ等の画像撮影装置では、撮影した画像を記録する際に画質設定を行い、その画質設定に対応した値の量子化テーブルによる圧縮が行われるか、又はその画質設定に対応したファイルサイズになるような量子化テーブルの値を算出して圧縮が行われる。
画質設定に対応する量子化テーブルの決定方法として、原画像を複数のブロックに分割し、分割した各ブロックごとに圧縮データ量を計測して各ブロックごとの量子化テーブルを決定する技術が提案されている(例えば特許文献1参照)。
Conventionally, in an image capturing device such as a digital camera or a video camera, image quality setting is performed when a captured image is recorded, and compression using a quantization table of a value corresponding to the image quality setting is performed or the image quality setting is performed. Compression is performed by calculating a quantization table value corresponding to the corresponding file size.
As a method for determining the quantization table corresponding to the image quality setting, a technique for dividing the original image into a plurality of blocks, measuring the amount of compressed data for each divided block, and determining the quantization table for each block has been proposed. (For example, refer to Patent Document 1).
特許文献1で開示された量子化テーブルの選択方法を詳しく説明すると、分割した各ブロックごとにDCT変換(離散コサイン変換)して変換係数を生成し、生成した変換係数を複数の量子化テーブルの中から選択した1つの量子化テーブルで量子化し、量子化した変換係数をエントロピー符号化して圧縮し、この圧縮の際にはブロックごとに圧縮後のデータ量を測定し、その結果と予め設定した1ブロック当たりの目標圧縮データ量と比較して、圧縮後のデータ量が目標圧縮データ量よりも多い場合には圧縮率の高い量子化テーブルを選択し、逆の場合には圧縮率の低い量子化テーブルを選択する。これにより、ブロック単位で画像の性質に適した量子化テーブルを使用して圧縮が行われる。
しかしながら、上述した従来の画像圧縮方法においては、次のような問題がある。
すなわち、被写体によって量子化テーブルを変更する場合、ファイルサイズが大きくなっても画質としてはあまり変化のないものが存在することがあるが、画質にあまり変化がないにも関わらずファイルサイズが小さくなる量子化テーブルを選択するという考えがないので、その点で画像保存用のメモリの有効活用が図れていないという問題がある。なお、ファイルサイズが大きくなっても画質としてはあまり変化のないものとしては、例えば雲一つない青い空を撮影した画像などの離散コサイン変換後の変換係数に低周波成分の多い画像である。
However, the conventional image compression method described above has the following problems.
That is, when the quantization table is changed depending on the subject, there is a case where the image quality does not change much even when the file size increases, but the file size becomes small even though the image quality does not change much. Since there is no idea of selecting a quantization table, there is a problem that the image storage memory cannot be effectively used. Note that images that have little change in image quality even when the file size is large are images with many low-frequency components in the transform coefficient after discrete cosine transform, such as an image of a blue sky with no clouds.
また、各ブロックごとに量子化テーブルを決定するので、圧縮処理に時間がかかるという問題もある。 In addition, since the quantization table is determined for each block, there is a problem that it takes time for the compression process.
本発明は、かかる従来の課題に鑑みてなされたものであり、画像保存用のメモリの有効活用が図れるとともに、画像の圧縮処理時間の短縮化が図れる画像圧縮方法及び画像圧縮装置を提供することを目的とする。 The present invention has been made in view of such a conventional problem, and provides an image compression method and an image compression apparatus capable of effectively utilizing a memory for storing images and shortening the compression processing time of the image. With the goal.
前記課題を解決するために請求項1に係る発明の画像圧縮方法は、
原画像データを複数のブロックに分割し、
前記分割した複数のブロック夫々を離散コサイン変換して変換係数を求め、
これにより得られた前記複数のブロック夫々の変換係数から高周波成分の多いブロックを画質評価値算出用ブロックとして検出し、
量子化テーブル中の1つ以上の要素の値が異なる複数の量子化テーブルを用いて、前記検出した画質評価値算出用ブロック及び該画質評価値算出用ブロックに隣接する周囲の各ブロックを圧縮し、
前記圧縮された画質評価値算出用ブロック及び該画質評価値算出用ブロックに隣接する周囲の各ブロックを、前記圧縮の際に用いた量子化テーブルを用いて伸長し、
伸長後の前記画質評価値算出用ブロックの周縁部の画素値と、前記画質評価値算出用ブロックに隣接する周囲のブロック夫々の、前記画質評価値算出用ブロックと接する側の周縁部の画素値との差分を用いて、各量子化テーブルに対する画質評価値とし、
前記各量子化テーブルと前記画質評価値の関係を近似する近似曲線を求め、
前記近似曲線に基づき、前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号を決定し、
前記決定した量子化テーブル番号の量子化テーブルを用いて前記原画像データを圧縮することを特徴とする。
In order to solve the above problem, an image compression method of the invention according to
Divide the original image data into multiple blocks,
Each of the plurality of divided blocks is subjected to discrete cosine transform to obtain a transform coefficient,
A block having a high frequency component is detected as a block for calculating an image quality evaluation value from the conversion coefficients of the plurality of blocks obtained thereby,
Using the plurality of quantization tables having different values of one or more elements in the quantization table, the detected image quality evaluation value calculation block and the surrounding blocks adjacent to the image quality evaluation value calculation block are compressed. ,
The compressed image quality evaluation value calculation block and surrounding blocks adjacent to the image quality evaluation value calculation block are expanded using the quantization table used in the compression,
The pixel value of the peripheral portion of the image quality evaluation value calculation block after expansion and the peripheral pixel value of the peripheral block adjacent to the image quality evaluation value calculation block on the side in contact with the image quality evaluation value calculation block Using the difference between and the image quality evaluation value for each quantization table,
Obtain an approximate curve that approximates the relationship between each quantization table and the image quality evaluation value,
Based on the approximate curve, determine a quantization table number corresponding to the quantization table used for compression of the original image,
The original image data is compressed using a quantization table having the determined quantization table number.
この方法によれば、画像評価値を用いて良好な量子化テーブルを選択して原画像の圧縮を行うので、被写体によっては量子化テーブルを変更してファイルサイズが大きくなっても画質として変化のないものを最小限のファイルサイズで圧縮することが可能となる。これにより、従来よりも多くの画像を画像保存用メモリに記録することができるようになり、画像保存用メモリの有効活用が可能となる。 According to this method, since a good quantization table is selected using the image evaluation value and the original image is compressed, depending on the subject, the image quality may change even if the quantization table is changed and the file size is increased. It is possible to compress the non-existing files with the minimum file size. As a result, more images can be recorded in the image storage memory than before, and the image storage memory can be effectively used.
また、原画像データを複数のブロックに分割した中の高周波成分の多いブロックを画質評価値算出用のブロックから画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択するので、各ブロックごとに量子化テーブルを決定する従来技術と比べて画像圧縮処理時間の大幅な短縮化が可能となる。 In addition, an image quality evaluation value is obtained from a block for calculating an image quality evaluation value of a block having a high frequency component among the original image data divided into a plurality of blocks, and a good quantization table is selected using the obtained image quality evaluation value. Therefore, the image compression processing time can be greatly shortened as compared with the prior art that determines the quantization table for each block.
また、請求項2に係る発明の画像圧縮方法は、
請求項1に係わる発明の画像圧縮方法において、
前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号の定め方として、
各量子化テーブルに対応する前記近似曲線の微分値を所定の閾値と比較し、前記微分値が所定の閾値以上となる量子化テーブルのうち、前記量子化テーブルの各要素の値が最も小さくなる量子化テーブル番号を前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号として定めることを特徴とする。
The image compression method of the invention according to
In the image compression method of the invention according to
As a method of determining the quantization table number corresponding to the quantization table used for compression of the original image,
The differential value of the approximation curve corresponding to each quantization table is compared with a predetermined threshold value, among the quantization tables wherein the differential value is equal to or greater than a predetermined threshold value, decreases the value of each element of the quantization table is most The quantization table number is defined as a quantization table number corresponding to a quantization table used for compressing the original image.
この方法によれば、画質とデータ量の兼ね合いから良好な圧縮が可能な正規化テーブル値を算出でき、算出した正規化テーブル値の量子化テーブルを用いて原画像データを圧縮することができる。すなわち、画質を落とさずに最大限の圧縮率で画像データを圧縮することができる。 According to this method, a normalization table value capable of good compression can be calculated from the balance between image quality and data amount, and original image data can be compressed using the quantization table of the calculated normalization table value. That is, the image data can be compressed at the maximum compression rate without degrading the image quality.
また、請求項3に係る発明の画像圧縮プログラムは、
原画像データを複数のブロックに分割するブロック分割処理と、
分割された複数のブロック夫々を離散コサイン変換するDCT演算処理と、
離散コサイン変換により得られた複数のブロック夫々の変換係数から高周波成分の多いブロックを画質評価値算出用ブロックとして検出する画質評価値算出用ブロック検出処理と、
量子化テーブル中の1つ以上の要素の値が異なる複数の量子化テーブルを用いて、前記検出された画質評価値算出用ブロック及び該画質評価値算出用ブロックに隣接する周囲の各ブロックにつき各量子化テーブルごとに圧縮を行う圧縮処理と、
前記圧縮された各画質評価値算出用ブロック及び該画質評価値算出用ブロックに対して、前記圧縮の際と同じ量子化テーブルを用いて伸長する伸長処理と、
前記各量子化テーブルごとに伸長後の前記画質評価値算出用ブロックの周縁部の画素値と前記画質評価値算出用ブロックに隣接する周囲のブロック夫々の、前記画質評価値算出用ブロックと接する側の周縁部の画素値との差分を用いて、各量子化テーブルに対する画質評価値を算出する画質評価値算出処理と、
前記各量子化テーブルと前記画質評価値との関係を近似する近似曲線を算出する近似曲線算出処理と、
前記算出された近似曲線に基づき、前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号を決定する量子化テーブル番号決定処理と、
決定された量子化テーブル番号を有する量子化テーブルを用いて前記原画像データを圧縮する原画像データ圧縮処理と、
を含み、
コンピュータによって画像撮影装置によって撮影された被写体の画像データを圧縮することを特徴とする。
The image compression program of the invention according to claim 3 is:
A block division process for dividing the original image data into a plurality of blocks;
DCT arithmetic processing for performing discrete cosine transform on each of the plurality of divided blocks;
An image quality evaluation value calculation block detection process for detecting a block having a high frequency component as a block for calculating an image quality evaluation value from the conversion coefficients of the plurality of blocks obtained by the discrete cosine transform;
Using a plurality of quantization tables having different values of one or more elements in the quantization table, each of the detected image quality evaluation value calculation block and each neighboring block adjacent to the image quality evaluation value calculation block A compression process for compressing each quantization table;
Decompression processing for decompressing each compressed image quality evaluation value calculation block and the image quality evaluation value calculation block using the same quantization table as in the compression,
The side in contact with the image quality evaluation value calculation block of the pixel value at the peripheral edge of the image quality evaluation value calculation block after expansion for each quantization table and the surrounding blocks adjacent to the image quality evaluation value calculation block An image quality evaluation value calculation process for calculating an image quality evaluation value for each quantization table using a difference from the pixel value of the peripheral edge of
An approximate curve calculation process for calculating an approximate curve that approximates the relationship between each quantization table and the image quality evaluation value;
Based on the calculated approximate curve, a quantization table number determination process for determining a quantization table number corresponding to a quantization table used for compression of the original image;
Original image data compression processing for compressing the original image data using a quantization table having the determined quantization table number;
Including
The image data of a subject photographed by an image photographing device by a computer is compressed.
このプログラムによれば、画像評価値を用いて良好な量子化テーブルを選択して原画像の圧縮を行うので、被写体によっては量子化テーブルを変更してファイルサイズが大きくなっても画質として変化のないものを最小限のファイルサイズで圧縮することが可能となる。これにより、従来よりも多くの画像を画像保存用メモリに記録することができるようになり、画像保存用メモリの有効活用が可能となる。 According to this program, the original image is compressed by selecting a good quantization table using the image evaluation value. Therefore, depending on the subject, the image quality may change even if the quantization table is changed and the file size is increased. It is possible to compress the non-existing files with the minimum file size. As a result, more images can be recorded in the image storage memory than before, and the image storage memory can be effectively used.
また、原画像データを複数のブロックに分割した中の高周波成分の多いブロックを画質評価値算出用のブロックから画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択するので、各ブロックごとに量子化テーブルを決定する従来技術と比べて画像圧縮処理時間の大幅な短縮化が可能となる。 In addition, an image quality evaluation value is obtained from a block for calculating an image quality evaluation value of a block having a high frequency component among the original image data divided into a plurality of blocks, and a good quantization table is selected using the obtained image quality evaluation value. Therefore, the image compression processing time can be greatly shortened as compared with the prior art that determines the quantization table for each block.
また、請求項4に係る発明の画像圧縮プログラムは、
前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号の定め方として、
各量子化テーブルに対応する前記近似曲線の微分値を所定の閾値と比較し、前記微分値が所定の閾値以上となる量子化テーブルのうち、前記量子化テーブルの各要素の値が最も小さくなる量子化テーブル番号を前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号として定めることを特徴とする。
The image compression program of the invention according to
As a method of determining the quantization table number corresponding to the quantization table used for compression of the original image,
The differential value of the approximate curve corresponding to each quantization table is compared with a predetermined threshold, and among the quantization tables in which the differential value is equal to or greater than the predetermined threshold, the value of each element of the quantization table is the smallest. The quantization table number is defined as a quantization table number corresponding to a quantization table used for compressing the original image .
このプログラムによれば、画質とデータ量の兼ね合いから良好な圧縮が可能な正規化テーブル値を算出でき、算出した正規化テーブル値の量子化テーブルを用いて原画像データを圧縮することができる。すなわち、画質を落とさずに最大限の圧縮率で画像データを圧縮することができる。According to this program, a normalization table value capable of good compression can be calculated from the balance between image quality and data amount, and original image data can be compressed using the quantization table of the calculated normalization table value. That is, the image data can be compressed at the maximum compression rate without degrading the image quality.
また、請求項9に係る発明の画像圧縮装置は、
原画像データを複数のブロックに分割するブロック分割手段と、
前記ブロック分割手段にて分割された前記複数のブロック夫々を離散コサイン変換して変換係数を求めるDCT演算手段と、
前記DCT演算手段にて求められた前記複数のブロック夫々の変換係数から高周波成分の多いブロックを画質評価値算出用ブロックとして検出する画質評価値算出用ブロック検出手段と、
量子化テーブル中の1つ以上の要素の値が異なる複数の量子化テーブルを用いて、前記画質評価値算出用ブロック検出手段にて検出された前記画質評価値算出用ブロックと該画質評価値算出用ブロックに隣接する周囲の各ブロックを圧縮し、更に圧縮した前記画質評価値算出用ブロックと該画質評価値算出用ブロックに隣接する周囲の各ブロックを、前記圧縮の際に用いた量子化テーブルを用いて伸長する圧縮伸長手段と、
伸長後の前記画質評価値算出用ブロックの周縁部の画素値と、前記画質評価値算出用ブロックに隣接する周囲のブロック夫々の、前記画質評価値算出用ブロックと接する側の周縁部の画素値との差分を用いて、各量子化テーブルに対する画質評価値を得る画質評価値算出手段と、
前記各量子化テーブルと前記画像評価値の関係を表すグラフを近似する近似曲線を求める近似曲線算出手段と、
前記近似曲線算出手段にて求められた近似曲線に基づき、前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号を決定する量子化テーブル番号決定手段と、
前記量子化テーブル番号決定手段にて決定された量子化テーブル番号の量子化テーブルを用いて前記原画像データを圧縮する原画像データ圧縮手段と、
を具備することを特徴とする。
An image compression apparatus according to a ninth aspect of the present invention provides:
Block dividing means for dividing the original image data into a plurality of blocks;
DCT computing means for obtaining a transform coefficient by performing discrete cosine transform on each of the plurality of blocks divided by the block dividing means;
Image quality evaluation value calculation block detection means for detecting a block having a high frequency component from the conversion coefficient of each of the plurality of blocks obtained by the DCT calculation means, as an image quality evaluation value calculation block;
The image quality evaluation value calculation block detected by the image quality evaluation value calculation block detection means and the image quality evaluation value calculation using a plurality of quantization tables having different values of one or more elements in the quantization table Compressing the surrounding blocks adjacent to the image block, and further compressing the compressed image quality evaluation value calculating block and the surrounding blocks adjacent to the image quality evaluation value calculating block used in the compression Compression / expansion means for expanding using
The pixel value of the peripheral portion of the image quality evaluation value calculation block after expansion and the peripheral pixel value of the peripheral block adjacent to the image quality evaluation value calculation block on the side in contact with the image quality evaluation value calculation block Image quality evaluation value calculation means for obtaining an image quality evaluation value for each quantization table using the difference between
An approximate curve calculation means for obtaining an approximate curve that approximates a graph representing the relationship between each quantization table and the image evaluation value;
A quantization table number determining unit that determines a quantization table number corresponding to a quantization table used for compression of the original image based on the approximate curve obtained by the approximate curve calculating unit;
Original image data compression means for compressing the original image data using the quantization table of the quantization table number determined by the quantization table number determination means;
It is characterized by comprising.
この構成によれば、画像評価値を用いて良好な量子化テーブルを選択して原画像の圧縮を行うので、被写体によっては量子化テーブルを変更してファイルサイズが大きくなっても画質として変化のないものを最小限のファイルサイズで圧縮することが可能となる。これにより、従来よりも多くの画像を画像保存用メモリに記録することができるようになり、画像保存用メモリの有効活用が可能となる。 According to this configuration, since a good quantization table is selected using the image evaluation value and the original image is compressed, depending on the subject, the image quality may change even if the quantization table is changed and the file size increases. It is possible to compress the non-existing files with the minimum file size. As a result, more images can be recorded in the image storage memory than before, and the image storage memory can be effectively used.
また、原画像データを複数のブロックに分割した中の高周波成分の多いブロックを画質評価値算出用のブロックから画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択するので、各ブロックごとに量子化テーブルを決定する従来技術と比べて画像圧縮処理時間の大幅な短縮化が可能となる。 In addition, an image quality evaluation value is obtained from a block for calculating an image quality evaluation value of a block having a high frequency component among the original image data divided into a plurality of blocks, and a good quantization table is selected using the obtained image quality evaluation value. Therefore, the image compression processing time can be greatly shortened as compared with the prior art that determines the quantization table for each block.
また、請求項11に係る発明の画像圧縮装置は、
請求項8から請求項10のいずれかに係る発明の画像圧縮装置において、
前記量子化テーブル番号決定手段は、
各量子化テーブルに対応する前記近似曲線の微分値を所定の閾値と比較し、
前記微分値が所定の範囲内の値をとる量子化テーブルのうち、前記量子化テーブルの各要素の値が最も大きいところの量子化テーブル番号を前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号として決定することを特徴とする。
According to an eleventh aspect of the present invention, an image compression apparatus includes:
In the image compression apparatus of the invention according to any one of
The quantization table number determining means includes
Comparing the derivative of the approximate curve corresponding to each quantization table with a predetermined threshold;
Among the quantization tables in which the differential value takes a value within a predetermined range, the quantization table number where the value of each element of the quantization table is the largest corresponds to the quantization table used for compression of the original image. The quantization table number is determined.
この構成によれば、画質とデータ量の兼ね合いから良好な圧縮が可能な正規化テーブル値を算出でき、算出した正規化テーブル値の量子化テーブルを用いて原画像データを圧縮することができる。すなわち、画質を落とさずに最大限の圧縮率で画像データを圧縮することができる。 According to this configuration, a normalization table value capable of good compression can be calculated from the balance between image quality and data amount, and the original image data can be compressed using the quantization table of the calculated normalization table value. That is, the image data can be compressed at the maximum compression rate without degrading the image quality.
また、請求項7に係る発明のデジタルカメラは、
請求項5または請求項6のいずれかに係る発明の画像圧縮装置を具備することを特徴とする。
The digital camera of the invention according to
The image compression apparatus according to claim 5 or 6 is provided.
この構成によれば、画像の圧縮処理時間が短く、画像保存用のメモリを有効に活用することができるデジタルカメラを提供できる。 According to this configuration, it is possible to provide a digital camera in which the image compression processing time is short and the image storage memory can be used effectively.
本発明は、画像評価値を用いて良好な量子化テーブルを選択して原画像の圧縮を行うので、被写体によっては量子化テーブルを変更してファイルサイズが大きくなっても画質として変化のないものを最小限のファイルサイズで圧縮することが可能となる。これにより、従来よりも多くの画像を画像保存用メモリに記録することができるようになり、画像保存用メモリの有効活用が可能となる。 In the present invention, since a good quantization table is selected using the image evaluation value and the original image is compressed, there is no change in image quality even if the quantization table is changed and the file size is increased depending on the subject. Can be compressed with a minimum file size. As a result, more images can be recorded in the image storage memory than before, and the image storage memory can be effectively used.
また、原画像データを複数のブロックに分割した中の高周波成分の多いブロックを画質評価値算出用のブロックから画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択するので、各ブロックごとに量子化テーブルを決定する従来技術と比べて画像圧縮処理時間の大幅な短縮化が可能となる。 In addition, an image quality evaluation value is obtained from a block for calculating an image quality evaluation value of a block having a high frequency component among the original image data divided into a plurality of blocks, and a good quantization table is selected using the obtained image quality evaluation value. Therefore, the image compression processing time can be greatly shortened as compared with the prior art that determines the quantization table for each block.
また、画質とデータ量の兼ね合いから良好な圧縮が可能な正規化テーブル値を算出できるので、算出した正規化テーブル値の量子化テーブルを用いて原画像データを圧縮することができる。すなわち、画質を落とさずに最大限の圧縮率で画像データを圧縮することができる。 Also, since a normalization table value that can be favorably compressed can be calculated from the balance between the image quality and the data amount, the original image data can be compressed using the quantization table of the calculated normalization table value. That is, the image data can be compressed at the maximum compression rate without degrading the image quality.
以下、本発明の実施の形態について、図面を参照して詳細に説明する。
(実施の形態1)
図1は、本発明の実施の形態1に係る画像圧縮装置の機能ブロック図である。
図1において、本実施の形態に係る画像圧縮装置は、マイクロコンピュータ(図示略)を搭載してソフトウェア制御によって入力画像データの圧縮を行うものであり、マイクロコンピュータは、画像データ取得部9、ブロック分割部10、DCT演算部11、画質評価用ブロック検出部12、量子化テーブル部13、量子化部14、エントロピー符号化部15、ブロック入力部16、エントロピー逆符号化部17、逆量子化部18、逆DCT演算部19、量子化テーブル選択部20、画質評価値算出部21、閾値調整部22、データ出力部23などの機能を有している。量子化テーブル部13は、複数の量子化テーブルを有しており、これらはEEPROM(Electrically Erasable and Programmable Read Only Memory)等の不揮発性メモリ(図示略)に記憶されている。なお、言うまでもないが、上記マイクロコンピュータは画像圧縮処理を行うためのプログラムを記憶したメモリを有しており、当該プログラムに従って以下で説明する画像圧縮処理を行う。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(Embodiment 1)
FIG. 1 is a functional block diagram of an image compression apparatus according to
In FIG. 1, an image compression apparatus according to the present embodiment is equipped with a microcomputer (not shown) and compresses input image data by software control. The microcomputer includes an image
画像データ取得部9は、外部より入力される原画像データを取得するものであり、取得した原画像データをブロック分割部10に入力する。ブロック分割部10は、画像データ取得部9から入力された原画像データを複数のブロックに分割してブロックごとにDCT演算部11に入力する。DCT演算部11は、ブロック分割部10から入力されたブロックごとの多値画像をDCT変換して変換係数(DCT変換を行って得られた係数をいう)を得る。これにより、複数のブロックに分割された原画像データの変換係数が得られる。ここで、DCT変換とは、デジタル信号で表された画像データを周波数成分に変換することである。
そして、画質評価用ブロック検出部12は、画質評価値算出時にDCT演算部11にて求められた複数のブロック夫々の変換係数から高周波成分を多く含む「画質評価値算出用のブロック」を検出し、検出した「画質評価値算出用ブロック」の変換係数と「画質評価値算出用ブロック」に隣接する周辺の4つのブロックの変換係数を量子化部14に入力する。なお、高周波成分の多いブロックを選定するにあたっては、例えば、次のような方法によって実行することが可能である。すなわち、まず、各ブロックごとに、「高周波成分」の部分の変換係数の二乗和や絶対値の和を求める。ここで、「高周波成分」を表す変換係数の範囲は、例えば右下4×4ヶ所の変換係数を用いる、といったようにあらかじめ定めておき、その範囲の変換係数の二乗和あるいは絶対値の和を求めるようにする。そして、この値が最も大きい値となっているブロック、あるいは、この値が所定値以上となっている複数のブロック、または、この値の大きい方から所定数のブロック、などの方法で定まるブロックを、画質評価値算出用ブロックとして選定する。
The image
Then, the image quality evaluation
量子化テーブル部13は、それぞれ量子化データ(量子化テーブルの各要素の値をいう。以下同じ)の異なるn個(例えば256個)の量子化テーブルを有しており、原画像の圧縮時及び圧縮後の原画像の伸長時に量子化テーブル選択部20で指定された量子化テーブルを量子化部14と逆量子化部18に与える。量子化テーブル部13が有しているn個の量子化テーブルは、図2に示すように量子化テーブルを指定するための数値((1)、(2)、…、(n)。以下、「量子化テーブル番号」という。)が若くなるに従って量子化データの値が大きくなっている。この場合、量子化データの値が大きくなるほど圧縮率が高くなり画質も劣化することになる。また、図2に示すようなn個の量子化テーブルのそれぞれを用いて原画像を圧縮したときのファイルサイズは、図3に示すように量子化データの値が大きくなるに従って小さくなる。ここで、図3は、横軸に量子化テーブル番号をとり、縦軸に、原画像を圧縮した後のファイルサイズを表したグラフである。なお、量子化テーブル番号の値に対する原画像の圧縮率は、必ずしも図3に示したように比例したグラフになるとは限らないが、標準的な画像に対して近似的に略比例関係となっているものと仮定できる程度の量子化テーブルを用いることが望ましい。
The
図1に戻り、量子化部14は、画質評価値算出時には、画質評価用ブロック検出部12にて検出された「画質評価値算出用ブロック」の変換係数と、「画質評価値算出用ブロック」に隣接する周辺の各ブロックの変換係数とを量子化テーブル部13から与えられた量子化テーブルを使用して量子化する。また、画質評価値を算出した後の画像圧縮時には、DCT演算部11にて求められた複数のブロック夫々の変換係数を、量子化テーブル部13から与えられた量子化テーブルを使用して量子化する。
Returning to FIG. 1, when calculating the image quality evaluation value, the
エントロピー符号化部15は、量子化部14で量子化された変換係数をエントロピー符号化して圧縮してブロック入力部16に出力する。ブロック入力部16は、エントロピー符号化部15から出力された圧縮データを取り込み、エントロピー逆符号化部17に入力する。エントロピー逆符号化部17は、ブロック入力部16から入力された圧縮データをハフマン符号化等を使用してエントロピー逆符号化し量子化変換係数を得る。そして、得られた量子化変換係数を逆量子化部18に入力する。逆量子化部18は、エントロピー逆符号化部17から入力された量子化変換係数を量子化テーブル部13から与えられた量子化テーブル(圧縮時に使用した量子化テーブル)を使用して逆量子化し変換係数を得る。そして、得られた変換係数は逆DCT変換部19に出力される。逆DCT演算部19は、逆量子化部18で復元された変換係数を逆DCT変換して画素値を得る。すなわち、逆量子化部18で復元された変換係数を逆DCT変換して画素値を得る(以下、この画素値を「復元画素値」という)。なお、画質評価値算出時には、逆量子化部18で復元された画質評価値算出用ブロックの変換係数と、画質評価値算出用ブロックに隣接する周辺の4つのブロックの変換係数のみを逆DCT変換して、それぞれの画素値を復元するようにすると、演算量が削減できる点でより好適である。そして得られた復元画素値を画質評価値算出部21に出力する。
画質評価値算出部21は、出力された復元画素値に基づいて画質評価値を算出し、算出した画質評価値を量子化テーブル選択部20に入力する。
The
The image quality evaluation
ここで、画質評価値の算出方法の一例について図4を参照して説明する。
画質評価値の算出方法としては種々の方法を用いることが可能であるが、ここでは、量子化テーブルによる画像の圧縮に伴なって、高周波成分を多く含む「画質評価値算出用のブロック」の高周波成分が減失してしまい、これにより隣接するブロックとの境界において、復元画像の画素値が不連続になってしまうという特徴に注目した画質評価方法の一例を示す。
Here, an example of a method of calculating the image quality evaluation value will be described with reference to FIG.
Various methods can be used as the image quality evaluation value calculation method. Here, “image quality evaluation value calculation block” that contains a lot of high-frequency components as the image is compressed by the quantization table. An example of an image quality evaluation method focusing on the feature that the high-frequency component is lost and the pixel value of the restored image becomes discontinuous at the boundary between adjacent blocks will be described.
画質評価値算出部21は、まず、画質評価値算出用ブロックとそれに隣接する周辺の4つのブロックそれぞれの復元画素値を求める。そして、図4に示すように画質評価値算出用ブロックBKhの周縁部の復元画素値(A11、…、A81、…、A88、…、A18、…、A11)と、その周囲の4つの隣接ブロックBKn1〜BKn4の各ブロックの画素のうち、画質評価値算出用ブロックと接する側の周縁部の復元画素値(B18、…、B88、E11、…、E18、D81…、D11、C88、…、C81)との差分を求める。そして、式(1)に示すように、差分の和を求めて画質評価値を得る。なお、式1では差分値の2乗和を用いる例を示しているが、各差分値の絶対値を求めて、この絶対値の和を求めて画質評価値としてもよい。
The image quality evaluation
図1に戻り、量子化テーブル選択部20は、画質評価値算出時に量子化テーブル部13に対して、自ら指定した量子化テーブルを量子化部14及び逆量子化部18に与えるよう指示する。また量子化部14に対しては、量子化テーブル部13から与えられた量子化テーブルを用いて画質評価値算出用ブロックBKh及び画質評価値算出用ブロックBKhに隣接する周辺の各ブロックBKn1〜BKn4を圧縮するよう指示し、さらに逆量子化部18に対しては、量子化テーブル部13から与えられた量子化テーブルを用いて圧縮された画質評価値算出用ブロックBKh及び画質評価値算出用ブロックBKhに隣接する周辺の各ブロックBKn1〜BKn4を伸長するよう指示する。そして、これらの指示を出した後、画質評価値算出部21にて画質評価値が算出されると、その値を保存する。
Returning to FIG. 1, the quantization
この処理を量子化テーブル番号の異なる複数の量子化テーブルそれぞれについて行わせ、それぞれにおいて得られる画質評価値を保存する。指定する複数の量子化テーブルは、例えば図3に示すように256個ある量子化テーブルから任意の複数箇所(たとえば4点)に相当する量子化テーブルを使用する。これら4点のそれぞれの量子化テーブルから画質評価値算出用ブロックBKhに対する画質評価値が算出されると、これらの画質評価値を基に、3次スプライン関数などの近似手法を用いて、量子化テーブル番号を変化させたときの画質評価値の変化を表すグラフの近似曲線を算出する。 This process is performed for each of a plurality of quantization tables having different quantization table numbers, and the image quality evaluation value obtained in each is stored. As a plurality of quantization tables to be designated, for example, as shown in FIG. 3, a quantization table corresponding to an arbitrary plurality of locations (for example, 4 points) from 256 quantization tables is used. When the image quality evaluation value for the image quality evaluation value calculation block BKh is calculated from each of these four quantization tables, quantization is performed using an approximation method such as a cubic spline function based on these image quality evaluation values. An approximate curve of a graph representing a change in image quality evaluation value when the table number is changed is calculated.
近似曲線を算出した後、各量子化テーブル番号におけるその近似曲線の微分値と所定の閾値を比較し、微分値が所定の閾値以上となる量子化テーブルのうち、最も量子化テーブル番号の大きいもの、即ち、最も圧縮率が低いものを検出して、その量子化テーブル番号より「1」大きい値を量子化テーブル選択部11において選択する量子化テーブル番号とする。すなわち、画質とデータ量の兼ね合いから、画質を悪化させることなくファイルサイズを小さくすることのできる量子化テーブルの量子化テーブル番号を算出する。そして、算出した量子化テーブル番号を有する量子化テーブルを量子化テーブル部13に指定するとともに、量子化部14に対して、量子化テーブル部13に指定した量子化テーブルを用いて原画像データを圧縮する指示を出す。
After calculating the approximate curve, the differential value of the approximate curve in each quantization table number is compared with a predetermined threshold, and the quantization table with the largest quantization table number among the quantization tables whose differential value is equal to or greater than the predetermined threshold That is, the lowest compression rate is detected, and a value larger by “1” than the quantization table number is set as a quantization table number to be selected by the quantization
ここで、図5は、画質評価値の逆数をとった場合の画質評価値対正規化テーブルの近似曲線の一例である。なお、ここで、逆数をとっているのは、上で説明した画質評価値算出方法の例示説明において、量子化テーブルによる画像の圧縮に伴なって、隣接するブロックとの境界で復元画像の画素値が不連続になってしまう特徴を利用した画質評価値を用いているためであり、高画質のときに大きい値をとるような曲線とするためである。この近似曲線から、選択した4点の量子化テーブル以外の画質評価値を得ることができる。量子化テーブル選択部20は、この近似曲線の微分値を所定の閾値と比較し、微分値が所定の閾値以上となる量子化テーブルのうち、最も量子化テーブル番号の大きいもの、即ち、最も圧縮率が低いものを検出して、その量子化テーブル番号より「1」大きい値を量子化テーブル選択部20において選択する量子化テーブル番号とする。すなわち、ある量子化テーブルで画像の圧縮を行っていた場合と比較して、その量子化テーブルよりも量子化テーブル番号が1少ない量子化テーブルを用いて画像を圧縮した場合、画像の圧縮率が上がり、画質が下がることとなるが、本実施形態では、このときの画質評価値の低下の度合いを、画質評価値の微分値により判断するように構成しているのである。そして、画質評価値の低下度合いが所定以上のもの、すなわち、量子化テーブル番号を1変えた場合に、所定以上の画質劣化を生じるような量子化テーブルの量子化テーブル番号を求め、そのような画質劣化を起こさない限界の量子化テーブル、すなわち、所定以上の画質劣化を生じるような量子化テーブルの量子化テーブル番号より「1」大きい量子化テーブル番号をもつ量子化テーブルを、現在処理対象となっている画像の圧縮に適した量子化テーブルであるとして、選択するようにしているのである。量子化テーブル選択部20においては近似曲線の微分値と比較する閾値の値が調整可能になっている。閾値調整部22は量子化テーブル選択部20の閾値を調整するものであり、これを操作することで閾値を任意の値に設定することができる。
Here, FIG. 5 is an example of the approximate curve of the image quality evaluation value versus the normalization table when the reciprocal of the image quality evaluation value is taken. Here, the reciprocal is taken in the example description of the image quality evaluation value calculation method described above, and the pixel of the restored image at the boundary with the adjacent block as the image is compressed by the quantization table. This is because an image quality evaluation value using a feature in which values become discontinuous is used, and a curve that takes a large value when the image quality is high is used. Image quality evaluation values other than the selected four-point quantization table can be obtained from this approximate curve. The quantization
データ出力部23は、本装置で圧縮された原画像データと、伸長された原画像データの外部への出力を行う。この場合、伸長データを出力できるようにしたのは、例えば本装置で圧縮し保存しておいた原画像の圧縮データを、エントロピー逆符号化部17、逆量子化部19及び逆DCT演算部19を利用して復元できるようにするためである。本装置で原画像の圧縮と伸長ができるので、デジタルカメラやビデオカメラへの適用が容易である。
The
次に、上記構成の画像圧縮装置の動作について説明する。
原画像データを取得すると、それを複数のブロックに分割し、ブロックごとの多値画像をDCT変換して周波数分布を得る。そして、周波数分布の中から高周波成分の多いブロックを画質評価値算出用ブロックBKhとして検出する。ここで、画質評価値算出用ブロックは複数のブロックを用いることとしても良い。そして、検出した画質評価値算出用ブロックBKhと、それに隣接する周辺の各ブロックBKn1〜BKn4に対して、それぞれ量子化データ値の異なる所定の個数(例えば4個)の量子化テーブルを用いて、各量子化テーブルごとに圧縮・伸長する。
Next, the operation of the image compression apparatus having the above configuration will be described.
When the original image data is acquired, it is divided into a plurality of blocks, and a multi-valued image for each block is DCT transformed to obtain a frequency distribution. A block having a high frequency component in the frequency distribution is detected as an image quality evaluation value calculation block BKh. Here, a plurality of blocks may be used as the image quality evaluation value calculation block. Then, with respect to the detected image quality evaluation value calculation block BKh and the neighboring blocks BKn1 to BKn4 adjacent to the detected block, a predetermined number (for example, four) of quantization tables having different quantized data values are used. Compress / decompress each quantization table.
そして、伸長後の画質評価値算出用ブロックBKhの周縁部の画素値と、それに隣接する周囲のブロックBKn1〜BKn4のそれぞれの、画質評価値算出用ブロックBKhと接する側の周縁部の画素値との差分の和を求め、得られた和を画質評価値とする。そして、各量子化テーブルごとの画質評価値算出用ブロックBKhに対する画質評価値を基に、3次スプライン関数などの近似方法を用いて、量子化テーブル番号を変化させたときの画質評価値の変化を表すグラフの近似曲線を算出する。そして、算出した近似曲線の微分値を所定の閾値と比較して、傾きが所定の閾値以上となる量子化テーブルのうち、最も量子化テーブル番号の大きいもの、即ち、最も圧縮率が低いものを検出して、その量子化テーブル番号より「1」大きい値を量子化テーブル選択部11において選択する量子化テーブル番号とする。そして、算出した量子化テーブル番号を有する量子化テーブルを用いて原画像データを圧縮する。
And the pixel value of the peripheral part of the image quality evaluation value calculation block BKh after decompression, and the pixel value of the peripheral part on the side in contact with each of the neighboring blocks BKn1 to BKn4 adjacent to the image quality evaluation value calculation block BKh Is obtained, and the obtained sum is used as an image quality evaluation value. Then, based on the image quality evaluation value for the image quality evaluation value calculation block BKh for each quantization table, the change in the image quality evaluation value when the quantization table number is changed using an approximation method such as a cubic spline function An approximate curve of the graph representing is calculated. Then, the calculated derivative value of the approximate curve is compared with a predetermined threshold value, and the quantization table whose slope is equal to or greater than the predetermined threshold value has the largest quantization table number, that is, the one with the lowest compression rate. It is detected and a value larger by “1” than the quantization table number is set as a quantization table number to be selected by the quantization
このように、本実施の形態に係る画像圧縮装置によれば、画質評価値を用いて良好な量子化テーブルを選択して原画像データの圧縮を行うので、量子化テーブルを変更してファイルサイズが小さくなっても画質劣化がほとんど起きないような画像について、著しい画質劣化を生じることなく最小限のファイルサイズで圧縮することが可能となる。これにより、従来よりも多くの画像を画像保存用メモリに記録することができるようになり、画像保存用メモリの有効活用が可能となる。 As described above, according to the image compression apparatus according to the present embodiment, since the original image data is compressed by selecting a good quantization table using the image quality evaluation value, the file size is changed by changing the quantization table. It is possible to compress an image in which image quality degradation hardly occurs even when the image size becomes small, with a minimum file size without causing significant image quality degradation. As a result, more images can be recorded in the image storage memory than before, and the image storage memory can be effectively used.
また、原画像データを複数のブロックに分割した中の高周波成分の多いブロックを画質評価値算出用ブロックBKhから画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択するので、ブロックごとに量子化テーブルを決定する従来技術と比べて画像圧縮処理時間の大幅な短縮化が可能となる。 Further, an image quality evaluation value is obtained from the image quality evaluation value calculation block BKh for a block having a high frequency component among the original image data divided into a plurality of blocks, and a good quantization table is selected using the obtained image quality evaluation value. Therefore, the image compression processing time can be greatly shortened as compared with the prior art that determines the quantization table for each block.
なお、上記実施の形態では、選択した4つの量子化テーブルに対して画像評価値を求め、求めた4つの画像評価値を基に3次スプライン関数を用いて画質評価値対正規化テーブルの近似曲線を算出するようにしたが、4つの画像評価値を通る(あるいは近似する)なめらかな曲線を算出できれば良いので、3次スプライン関数に限定されることなく、他の補間方法でも良い。 In the above embodiment, image evaluation values are obtained for the four selected quantization tables, and an approximation of the image quality evaluation value versus the normalization table using a cubic spline function based on the obtained four image evaluation values. Although the curve is calculated, it is only necessary to calculate a smooth curve that passes (or approximates) the four image evaluation values. Therefore, the interpolation method is not limited to the cubic spline function, and other interpolation methods may be used.
また、上記実施の形態では、近似曲線の傾きから良好な圧縮が可能な点を求めるようにしたが、画質評価値そのものの値を所定の閾値と比較するようにしても良い。この方法では、画質評価値のダイナミックレンジ(値がどのような範囲で変化するのか)との兼ね合いがあるので、改良として、画像評価値の最大値と最小値の間で例えば半分まで下がった点にするとか、所定の比率まで下がった点にする方法も考えられる。 Further, in the above embodiment, the point where good compression is possible is obtained from the slope of the approximate curve, but the value of the image quality evaluation value itself may be compared with a predetermined threshold value. In this method, there is a tradeoff with the dynamic range of the image quality evaluation value (how much the value changes), and as an improvement, for example, the image evaluation value has been reduced to, for example, half between the maximum value and the minimum value. It is also possible to use a method in which the point is lowered to a predetermined ratio.
また、上記実施の形態では、原画像データを複数のブロックに分割して、ブロックごとの周波数分布を調べて高周波成分の多いブロックを基に画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択して原画像を圧縮するようにしたが、画質評価値を求める方法には様々なものが従来より提案されており、それらを用いても構わない。従来の画質評価値を求める方法として、例えば、特開平10−200893号公報、特開平8−205156号公報、特開平8−195888号公報、特開平7−184062号公報、特開平6−334988号公報、特開平6−125545号公報に記載された各発明などがある。 Further, in the above embodiment, the original image data is divided into a plurality of blocks, the frequency distribution for each block is examined, the image quality evaluation value is obtained based on the block having many high frequency components, and the obtained image quality evaluation value is used. Although an original image is compressed by selecting a good quantization table, various methods for obtaining an image quality evaluation value have been proposed in the past, and they may be used. As a conventional method for obtaining an image quality evaluation value, for example, Japanese Patent Application Laid-Open No. 10-200493, Japanese Patent Application Laid-Open No. 8-205156, Japanese Patent Application Laid-Open No. 8-195888, Japanese Patent Application Laid-Open No. 7-184062, and Japanese Patent Application Laid-Open No. 6-334988. There are various inventions described in Japanese Patent Laid-Open No. 6-125545.
(実施の形態2)
図6は、本発明の実施の形態2に係るデジタルカメラの概略構成を示すブロック図である。
図6において、本実施の形態に係るデジタルカメラ30は、CCD(Charge Coupled Device)31と、DSP(Digital Signal Processor)/CPU(Central Processing Unit)32と、TG(Timing Generator)33と、ユニット回路34と、表示部35と、キー入力部36と、音声処理部37と、アドレス・データバス38と、DRAM(Dynamic Random Access Memory)39と、内蔵フラッシュメモリ40と、カードI/F(インターフェイス)41と、メモリ・カード42とを備えて構成される。
(Embodiment 2)
FIG. 6 is a block diagram showing a schematic configuration of a digital camera according to
In FIG. 6, a
DSP/CPU32は、画像データの圧縮・伸長、音声データの処理を含む各種のデジタル信号処理機能を有するとともに、デジタルカメラ30の各部を制御する機能を有するプログラムを実行するワンチップマイコンである。特に、DSP/CPU32には、撮影した画像を画質優先で圧縮して保存する機能を有しており、画質優先圧縮モードを選択することで実行される。この場合、画質優先圧縮処理は、上述した実施の形態1に係る画像圧縮装置の画像圧縮処理と同様の処理をプログラム化したものである。
The DSP /
DSP/CPU32には、CCD31を駆動するTG(Timing Generator)33が接続されており、このTG33にはCCD31から出力される被写体の光学像に応じたアナログの撮像信号が入力されるユニット回路34が接続されている。ユニット回路34は、CCD31から出力される撮像信号を相関二重信号サンプリングして保持するCDS(Correlated Double Sampling)回路、その撮像信号を増幅するゲイン調整アンプ(AGC)、増幅後の撮像信号をデジタル信号に変換するA/D変換器(AD)から構成されており、CCD31の出力信号はユニット回路34を経てデジタル信号としてDSP/CPU32に送られる。
A TG (Timing Generator) 33 that drives the
DSP/CPU32には、表示部35、キー入力部36、音声処理部37が接続されるとともに、アドレス・データバス38を介してDRAM39、内蔵フラッシュメモリ40、カードI/F41がそれぞれ接続されており、カードI/F41には、デジタルカメラ30の本体の図示しないスロットルに装着された着脱可能なメモリ・カード42が接続される。
The DSP /
表示部35は、カラーLCD(Liquid Crystal Display)とその駆動回路とを含み、撮影待機状態にあるときにはCCD31によって撮像された被写体画像をスルー画像として表示し、記録画像の再生時には保存メモリであるメモリ・カード42から読み出され伸長された記録画像を表示する。キー入力部36はシャッターボタン(半押し、全押し)、動画撮影に使用する録画開始/終了ボタン、電源キー、MENUキー等の複数の操作キーを含み、使用者によるキー操作に応じたキー入力信号をDSP/CPU32に出力する。
The display unit 35 includes a color LCD (Liquid Crystal Display) and its driving circuit, and displays a subject image captured by the
音声処理部37は、内蔵マイク、アンプ、A/D変換器、内蔵スピーカ、D/A変換器等を含み、音声付の静止画又は動画の撮影時には、内蔵マイクに入力した音声をデジタル信号に変換してDSP/CPU32へ送る。DSP/CPU32へ送られた音声データはDRAM39に順次蓄積され、最終的には、DSP/CPU32によって生成された画像データとともにメモリ・カード42に記憶される。また、音声処理部37は、音声付の静止画又は動画の再生時には、各映像に付属する音声データに基づく音声を再生して内蔵スピーカ(図示略)から音声出力する。また、必要に応じ、内蔵スピーカにより各種の報知音を報音する。
The
DRAM39は、CCD31により撮像された後、デジタル化された被写体の画像データ等を一時記憶するバッファメモリ、DSP/CPU32のワーキングメモリとしても使用され、メモリ・カード42に記録されている動画ファイルをカードI/F41とアドレス・データバス48を介して記憶し、編集作業に必要な処理が行われる。
The
内蔵フラッシュメモリ30には、DSP/CPU22による各部の制御に必要な制御プログラム、すなわち後述する静止画像撮影モード、動画像撮影モード、画質優先圧縮モードなどの本デジカメに与えられた各種モードを実行するためのプログラムや、画質優先圧縮モードで使用される閾値(図10のステップS29参照)などが記憶されており、DSP/CPU22は前記プログラムに従って動作する。
The built-in
次に、上記構成のデジタルカメラ30の動作を説明する。
『静止画像撮影モードによる処理手順』
図7は、ユーザが静止画像撮影モードを設定したときのDSP/CPU32の処理手順を示すフローチャートである。
ユーザがキー入力部36を操作して静止画像撮影モードに設定すると、撮影したいと思う景色、風景をデジタルカメラ30で撮影し、撮影した映像をメモリ・カード等に記録することができるようになる。
Next, the operation of the
"Processing procedure in still image shooting mode"
FIG. 7 is a flowchart showing the processing procedure of the DSP /
When the user operates the
すなわち、DSP/CPU32は、上記静止画像撮影モードが設定されると、CCD31による撮影を開始して被写体のスルー画像を表示部35に表示させる(ステップS1)。ここで、スルー画像とは、CCD31により現在撮影されている画像をそのまま表示させたものをいい、例えば、CCD31により撮像された対象物をDRAM39に記憶させ、その記憶された映像を表示画面に表示することによって実現される。従って、CCD31により撮像された対象物が変わることにより、DRAM39に記憶された映像が更新され、表示画面に表示される映像も時々刻々変わるようになっている。スルー表示状態では、DRAM39に記憶された映像をそのまま表示するが、メモリ・カード42にその映像のデータが記録されないので、その映像データが保存されていない状態である。
That is, when the still image shooting mode is set, the DSP /
次に、スルー画像が表示されている状態でユーザによりシャッターボタンが半押しされたと判断すると(ステップS2)、AF(Auto Focus)処理を開始する(ステップS3)。そして、AF処理が終了すると、スルー画像表示を行う(ステップS4)。このスルー画像表示はシャッターボタンが全押しされるまで行う(ステップS5でNOに分岐)。 Next, when it is determined that the user has pressed the shutter button halfway with the through image displayed (step S2), AF (Auto Focus) processing is started (step S3). When the AF process is completed, a through image display is performed (step S4). This through image display is performed until the shutter button is fully pressed (branch to NO in step S5).
シャッターボタンが半押し状態から全押しされると(ステップS4)静止画像撮影処理を開始する(ステップS5)。そして、静止画像を撮影した後、バッファメモリ(DRAM39)上に展開されている静止画データを用いて静止画ファイルを生成し、圧縮してメモリ・カード42に記憶する(ステップS6)。この静止画ファイルの圧縮の際に、後述する画質優先圧縮モードが実行され、良好な量子化テーブルを用いて静止画ファイルの圧縮が行われる。その後、ステップS1に戻る。この動作を繰り返すことにより、メモリ・カード42に静止画ファイルが順次記録され、この複数の静止画ファイルがメモリ・カード42に記録される。
When the shutter button is fully pressed from the half-pressed state (step S4), still image shooting processing is started (step S5). Then, after taking a still image, a still image file is generated using the still image data developed on the buffer memory (DRAM 39), compressed and stored in the memory card 42 (step S6). When this still image file is compressed, an image quality priority compression mode described later is executed, and the still image file is compressed using a good quantization table. Then, it returns to step S1. By repeating this operation, still image files are sequentially recorded on the
『動画像撮影モードによる処理手順』
図8は、ユーザが動画像撮影モードを設定したときのDSP/CPU32の処理手順を示すフローチャートである。
ユーザがキー入力部36を操作して動画像撮影モードに設定すると、撮影したいと思う景色、風景をデジタルカメラ30で撮影し、撮影した映像をメモリ・カード等に記録することができるようになる。
"Processing procedure by moving image shooting mode"
FIG. 8 is a flowchart showing the processing procedure of the DSP /
When the user operates the
すなわち、DSP/CPU32は、上記動画像撮影モードが設定されると、CCD31による撮影を開始して被写体のスルー画像を表示部35に表示させる(ステップS10)。スルー画像は、上述したようにCCD31により現在撮影されている画像をそのまま表示させたものをいう。
That is, when the moving image shooting mode is set, the DSP /
次に、スルー画像が表示されている状態でユーザにより録画開始ボタンが押下されたと判断すると(ステップS11)、所定のフレームレート(1/30秒の固定周期)で動画像(動画フレーム)を撮像し記憶する動画像撮影処理を開始する(ステップS12)。録画開始ボタンが押下されるまでスルー表示が継続する。 Next, when it is determined that the recording start button is pressed by the user while the through image is displayed (step S11), a moving image (moving image frame) is captured at a predetermined frame rate (fixed period of 1/30 seconds). Then, the moving image shooting process to be stored is started (step S12). Through display continues until the recording start button is pressed.
録画終了ボタンが押下されるか(ステップS13)、または動画像撮影処理が開始してから所定時間(例えば30秒)経過すると(ステップS14)、動画像撮影処理は停止され(ステップS15)、それまでの間にバッファメモリ(DRAM39)上に展開されている動画データを用いて動画ファイルを生成し、圧縮してメモリ・カード42に記憶する(ステップS16)。この動画ファイルの圧縮の際に、後述する画質優先圧縮モードが実行され、良好な量子化テーブルを用いて動画ファイルの圧縮が行われる。特に、動画像の圧縮においては、静止画像の圧縮時よりも圧縮率を高くする傾向にあるので、後述する画質優先圧縮モードのステップS29(図10参照)での処理において、閾値が静止画撮影時よりも大きい値に調整されて、静止画撮影時よりも圧縮率の高い量子化テーブルが使用される。 When the recording end button is pressed (step S13) or when a predetermined time (for example, 30 seconds) elapses after the moving image shooting process starts (step S14), the moving image shooting process is stopped (step S15). A moving image file is generated using the moving image data developed on the buffer memory (DRAM 39) until the time is compressed and stored in the memory card 42 (step S16). When the moving image file is compressed, an image quality priority compression mode, which will be described later, is executed, and the moving image file is compressed using a good quantization table. In particular, in the compression of moving images, the compression rate tends to be higher than that in the compression of still images. Therefore, in the processing in step S29 (see FIG. 10) in the image quality priority compression mode, which will be described later, the threshold value is still image shooting. A quantization table that is adjusted to a larger value than the time and has a higher compression rate than that during still image shooting is used.
ステップ16の処理を行った後、ステップS10に戻る。この動作を繰り返すことにより、メモリ・カード42に動画ファイルが順次記録され、この複数の動画ファイルがメモリ・カード42に記録される。ステップS4で録画終了ボタンが押下されず、動画像撮影処理が開始されてから30秒経過してなければ(ステップS14でNO)、ステップS13に戻り、録画終了ボタン押下又は30秒経過するまで、動画像撮影処理が続行される。
After performing the process of
『画質優先圧縮モードによる処理手順』
次に、図9及び図10は、DSP/CPU32における画質優先圧縮モードによる処理手順を示すフローチャートである。
まず原画像データを複数のブロックに分割して夫々を離散コサイン変換する(ステップS20)。次いで、離散コサイン変換により得られた変換係数から高周波成分を多く含むブロックを探して、それを画質評価値算出用ブロックBKhとする(ステップS21)。次いで、予め指定された所定の個数(例えば4つ)の量子化テーブルのうちの1つを選択する(ステップS22)。そして、選択した量子化テーブルを用いて画質評価値算出用ブロックBKhとそれに隣接する周辺の各ブロックBKn1〜BKn4それぞれの画像データを圧縮し、更に圧縮後の各画像データを伸長する(ステップS23)。
`` Processing procedure with image quality priority compression mode ''
Next, FIG. 9 and FIG. 10 are flowcharts showing processing procedures in the image quality priority compression mode in the DSP /
First, the original image data is divided into a plurality of blocks, and each is subjected to discrete cosine transform (step S20). Next, a block containing a lot of high-frequency components is searched for from the transform coefficient obtained by the discrete cosine transform, and it is set as an image quality evaluation value calculation block BKh (step S21). Next, one of a predetermined number (for example, four) of quantization tables designated in advance is selected (step S22). Then, using the selected quantization table, the image data of the image quality evaluation value calculation block BKh and the neighboring blocks BKn1 to BKn4 adjacent to the block BKh are compressed, and each compressed image data is further expanded (step S23). .
そして、伸長後の画質評価値算出用ブロックBKhの周縁部の画素値と、画質評価値算出用ブロックBKhと隣接する周辺の4つのブロックBKn1〜BKn4のそれぞれの、画質評価値算出用ブロックBKhと接する側の周縁部の画素値との差分の和(Σ)を求める(ステップS24)。そして、求めた和(Σ)を現在選択した量子化テーブルの画質評価値とする(ステップS25)。現在選択した量子化テーブルの画質評価値を算出した後、予め指定された所定の個数(例えば4つ)の量子化テーブルの全てについて画質評価値の算出を終えたかどうかを判定する(ステップS26)。この判定において、全ての量子化テーブルについて画質評価値の算出を終えていない場合は次の量子化テーブルを選択する(ステップS27)。そして、ステップS23に戻り、次の量子化テーブルを用いて画質評価値算出用ブロックBKhとそれに隣接する周辺の各ブロックBKn1〜BKn4それぞれの画像データを圧縮・伸長し、画質評価値を求める。一方、ステップS26の判定において、全ての量子化テーブルについて画質評価値の算出を終えた場合は引き続き図10に示されるフローチャートの処理を実行する。 Then, the pixel value at the peripheral edge of the decompressed image quality evaluation value calculation block BKh and the image quality evaluation value calculation block BKh of each of the four neighboring blocks BKn1 to BKn4 adjacent to the image quality evaluation value calculation block BKh The sum (Σ) of the difference from the pixel value at the peripheral edge on the side in contact is obtained (step S24). Then, the obtained sum (Σ) is used as the image quality evaluation value of the currently selected quantization table (step S25). After calculating the image quality evaluation values of the currently selected quantization table, it is determined whether the image quality evaluation values have been calculated for all of a predetermined number (for example, four) of quantization tables specified in advance (step S26). . In this determination, if the calculation of the image quality evaluation value has not been completed for all the quantization tables, the next quantization table is selected (step S27). Then, the process returns to step S23, and the image quality evaluation value is obtained by compressing / decompressing the image data of the image quality evaluation value calculation block BKh and the neighboring blocks BKn1 to BKn4 adjacent thereto using the next quantization table. On the other hand, if it is determined in step S26 that the image quality evaluation values have been calculated for all the quantization tables, the processing of the flowchart shown in FIG. 10 is continued.
全ての量子化テーブルについて画質評価値の算出を終えた後、各量子化テーブルごとの画質評価値算出用ブロックBKhに対する画質評価値を基に3次スプライン関数などの近似手法を用いて、量子化テーブル番号を変化させたときの画質評価値の変化を表すグラフの近似曲線を算出する(ステップS28)。そして、算出した近似曲線の微分値を所定の閾値と比較して、傾きが所定の閾値以上となる量子化テーブルのうち、最も量子化テーブル番号の大きいもの、即ち、最も圧縮率が低いものを検出して、その量子化テーブル番号より「1」大きい値を量子化テーブル選択部21において選択する量子化テーブル番号とする(ステップS29)。そして、算出した量子化テーブル番号を有する量子化テーブルを用いて原画像データを圧縮して保存する(ステップS30)。 After the calculation of the image quality evaluation values for all the quantization tables, the quantization is performed using an approximation method such as a cubic spline function based on the image quality evaluation values for the image quality evaluation value calculation block BKh for each quantization table. An approximate curve of a graph representing a change in image quality evaluation value when the table number is changed is calculated (step S28). Then, the calculated derivative value of the approximate curve is compared with a predetermined threshold value, and the quantization table whose slope is equal to or greater than the predetermined threshold value has the largest quantization table number, that is, the one with the lowest compression rate. A value larger by “1” than the quantization table number is detected and set as a quantization table number to be selected by the quantization table selection unit 21 (step S29). Then, the original image data is compressed and stored using the quantization table having the calculated quantization table number (step S30).
このように、本実施の形態に係るデジタルカメラ30によれば、実施の形態1に係る画像圧縮装置と同様の画像圧縮機能を有しているので、被写体によっては量子化テーブルを変更してファイルサイズが小さくなっても画質劣化がほとんど起きないような画像について、著しい画質劣化を生じることなく最小限のファイルサイズで圧縮することが可能となる。これにより、従来よりも多くの画像をメモリ・カード42に記録することができるようになり、メモリ・カード42の有効活用が可能となる。
As described above, the
また、原画像データを複数のブロックに分割した中の高周波成分の多いブロックを画質評価値算出用ブロックBKhから画質評価値を求め、求めた画質評価値を用いて良好な量子化テーブルを選択するので、画像圧縮処理時間を短くできる。 Further, an image quality evaluation value is obtained from the image quality evaluation value calculation block BKh for a block having a high frequency component among the original image data divided into a plurality of blocks, and a good quantization table is selected using the obtained image quality evaluation value. Therefore, the image compression processing time can be shortened.
本発明は、デジタルカメラやビデオカメラ等の画像撮影装置に適用が可能である。その他、撮影機能を有した携帯電話、時計、PDA、さらに、撮影機能を有しないパソコン等でもよく、要は、撮影機能を有した機器、若しくは、画像データを記録することができる機器であればなんでも良い。 The present invention can be applied to an image photographing apparatus such as a digital camera or a video camera. In addition, a mobile phone having a photographing function, a clock, a PDA, or a personal computer having no photographing function may be used. In short, any device having a photographing function or a device capable of recording image data may be used. anything is fine.
9 画像データ取得部
10 ブロック分割部
11 DCT演算部
12 画質評価用ブロック検出部
13 量子化テーブル部
14 量子化処理部
15 エントロピー符号化部
16 ブロック入力部
17 エントロピー逆符号化部
18 逆量子化部
19 逆DCT演算部
20 量子化テーブル選択部
21 画質評価値算出部
22 閾値調整部
23 データ出力部
30 デジタルカメラ
32 DSP/CPU
42 メモリ・カード
DESCRIPTION OF
42 Memory card
Claims (7)
前記分割した複数のブロック夫々を離散コサイン変換して変換係数を求め、
これにより得られた前記複数のブロック夫々の変換係数から高周波成分の多いブロックを画質評価値算出用ブロックとして検出し、
量子化テーブル中の1つ以上の要素の値が異なる複数の量子化テーブルを用いて、前記検出した画質評価値算出用ブロック及び該画質評価値算出用ブロックに隣接する周囲の各ブロックを圧縮し、
前記圧縮された画質評価値算出用ブロック及び該画質評価値算出用ブロックに隣接する周囲の各ブロックを、前記圧縮の際に用いた量子化テーブルを用いて伸長し、
伸長後の前記画質評価値算出用ブロックの周縁部の画素値と、前記画質評価値算出用ブロックに隣接する周囲のブロック夫々の、前記画質評価値算出用ブロックと接する側の周縁部の画素値との差分を用いて、各量子化テーブルに対する画質評価値とし、
前記各量子化テーブルと前記画質評価値の関係を近似する近似曲線を求め、
前記近似曲線に基づき、前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号を決定し、
前記決定した量子化テーブル番号の量子化テーブルを用いて前記原画像データを圧縮することを特徴とする画像圧縮方法。 Divide the original image data into multiple blocks,
Each of the plurality of divided blocks is subjected to discrete cosine transform to obtain a transform coefficient,
A block having a high frequency component is detected as a block for calculating an image quality evaluation value from the conversion coefficients of the plurality of blocks obtained thereby,
Using the plurality of quantization tables having different values of one or more elements in the quantization table, the detected image quality evaluation value calculation block and the surrounding blocks adjacent to the image quality evaluation value calculation block are compressed. ,
The compressed image quality evaluation value calculation block and surrounding blocks adjacent to the image quality evaluation value calculation block are expanded using the quantization table used in the compression,
The pixel value of the peripheral portion of the image quality evaluation value calculation block after expansion and the peripheral pixel value of the peripheral block adjacent to the image quality evaluation value calculation block on the side in contact with the image quality evaluation value calculation block Using the difference between and the image quality evaluation value for each quantization table,
Obtain an approximate curve that approximates the relationship between each quantization table and the image quality evaluation value,
Based on the approximate curve, determine a quantization table number corresponding to the quantization table used for compression of the original image,
An image compression method comprising compressing the original image data using a quantization table having the determined quantization table number.
各量子化テーブルに対応する前記近似曲線の微分値を所定の閾値と比較し、前記微分値が所定の閾値以上となる量子化テーブルのうち、前記量子化テーブルの各要素の値が最も小さくなる量子化テーブル番号を前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号として定めることを特徴とする請求項1に記載の画像圧縮方法。 As a method of determining the quantization table number corresponding to the quantization table used for compression of the original image,
The differential value of the approximation curve corresponding to each quantization table is compared with a predetermined threshold value, among the quantization tables wherein the differential value is equal to or greater than a predetermined threshold value, decreases the value of each element of the quantization table is most 2. The image compression method according to claim 1, wherein a quantization table number is determined as a quantization table number corresponding to a quantization table used for compressing the original image.
分割された複数のブロック夫々を離散コサイン変換するDCT演算処理と、
離散コサイン変換により得られた複数のブロック夫々の変換係数から高周波成分の多いブロックを画質評価値算出用ブロックとして検出する画質評価値算出用ブロック検出処理と、
量子化テーブル中の1つ以上の要素の値が異なる複数の量子化テーブルを用いて、前記検出された画質評価値算出用ブロック及び該画質評価値算出用ブロックに隣接する周囲の各ブロックにつき各量子化テーブルごとに圧縮を行う圧縮処理と、
前記圧縮された各画質評価値算出用ブロック及び該画質評価値算出用ブロックに対して、前記圧縮の際と同じ量子化テーブルを用いて伸長する伸長処理と、
前記各量子化テーブルごとに伸長後の前記画質評価値算出用ブロックの周縁部の画素値と前記画質評価値算出用ブロックに隣接する周囲のブロック夫々の、前記画質評価値算出用ブロックと接する側の周縁部の画素値との差分を用いて、各量子化テーブルに対する画質評価値を算出する画質評価値算出処理と、
前記各量子化テーブルと前記画質評価値との関係を近似する近似曲線を算出する近似曲線算出処理と、
前記算出された近似曲線に基づき、前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号を決定する量子化テーブル番号決定処理と、
決定された量子化テーブル番号を有する量子化テーブルを用いて前記原画像データを圧縮する原画像データ圧縮処理と、
を含み、
コンピュータによって画像撮影装置によって撮影された被写体の画像データを圧縮することを特徴とする画像圧縮プログラム。 A block division process for dividing the original image data into a plurality of blocks;
DCT arithmetic processing for performing discrete cosine transform on each of the plurality of divided blocks;
An image quality evaluation value calculation block detection process for detecting a block having a high frequency component as a block for calculating an image quality evaluation value from the conversion coefficients of the plurality of blocks obtained by the discrete cosine transform;
Using a plurality of quantization tables having different values of one or more elements in the quantization table, each of the detected image quality evaluation value calculation block and each neighboring block adjacent to the image quality evaluation value calculation block A compression process for compressing each quantization table;
Decompression processing for decompressing each compressed image quality evaluation value calculation block and the image quality evaluation value calculation block using the same quantization table as in the compression,
The side in contact with the image quality evaluation value calculation block of the pixel value at the peripheral edge of the image quality evaluation value calculation block after expansion for each quantization table and the surrounding blocks adjacent to the image quality evaluation value calculation block An image quality evaluation value calculation process for calculating an image quality evaluation value for each quantization table using a difference from the pixel value of the peripheral edge of
An approximate curve calculation process for calculating an approximate curve that approximates the relationship between each quantization table and the image quality evaluation value;
Based on the calculated approximate curve, a quantization table number determination process for determining a quantization table number corresponding to a quantization table used for compression of the original image;
Original image data compression processing for compressing the original image data using a quantization table having the determined quantization table number;
Including
An image compression program for compressing image data of a subject photographed by an image photographing device by a computer.
各量子化テーブルに対応する前記近似曲線の微分値を所定の閾値と比較し、前記微分値が所定の閾値以上となる量子化テーブルのうち、前記量子化テーブルの各要素の値が最も小さくなる量子化テーブル番号を前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号として定めることを特徴とする請求項3に記載の画像圧縮プログラム。The differential value of the approximate curve corresponding to each quantization table is compared with a predetermined threshold, and among the quantization tables in which the differential value is equal to or greater than the predetermined threshold, the value of each element of the quantization table is the smallest. 4. The image compression program according to claim 3, wherein a quantization table number is determined as a quantization table number corresponding to a quantization table used for compressing the original image.
前記ブロック分割手段にて分割された前記複数のブロック夫々を離散コサイン変換して変換係数を求めるDCT演算手段と、
前記DCT演算手段にて求められた前記複数のブロック夫々の変換係数から高周波成分の多いブロックを画質評価値算出用ブロックとして検出する画質評価値算出用ブロック検出手段と、
量子化テーブル中の1つ以上の要素の値が異なる複数の量子化テーブルを用いて、前記画質評価値算出用ブロック検出手段にて検出された前記画質評価値算出用ブロックと該画質評価値算出用ブロックに隣接する周囲の各ブロックを圧縮し、更に圧縮した前記画質評価値算出用ブロックと該画質評価値算出用ブロックに隣接する周囲の各ブロックを、前記圧縮の際に用いた量子化テーブルを用いて伸長する圧縮伸長手段と、
伸長後の前記画質評価値算出用ブロックの周縁部の画素値と、前記画質評価値算出用ブロックに隣接する周囲のブロック夫々の、前記画質評価値算出用ブロックと接する側の周縁部の画素値との差分を用いて、各量子化テーブルに対する画質評価値を得る画質評価値算出手段と、
前記各量子化テーブルと前記画像評価値の関係を近似する近似曲線を求める近似曲線算出手段と、
前記近似曲線算出手段にて求められた近似曲線に基づき、前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号を決定する量子化テーブル番号決定手段と、
前記量子化テーブル番号決定手段にて決定された量子化テーブル番号の量子化テーブルを用いて前記原画像データを圧縮する原画像データ圧縮手段と、
を具備することを特徴とする画像圧縮装置。 Block dividing means for dividing the original image data into a plurality of blocks;
DCT computing means for obtaining a transform coefficient by performing discrete cosine transform on each of the plurality of blocks divided by the block dividing means;
Image quality evaluation value calculation block detection means for detecting a block having a high frequency component from the conversion coefficient of each of the plurality of blocks obtained by the DCT calculation means, as an image quality evaluation value calculation block;
The image quality evaluation value calculation block detected by the image quality evaluation value calculation block detection means and the image quality evaluation value calculation using a plurality of quantization tables having different values of one or more elements in the quantization table Compressing the surrounding blocks adjacent to the image block, and further compressing the compressed image quality evaluation value calculating block and the surrounding blocks adjacent to the image quality evaluation value calculating block used in the compression Compression / expansion means for expanding using
The pixel value of the peripheral portion of the image quality evaluation value calculation block after expansion and the peripheral pixel value of the peripheral block adjacent to the image quality evaluation value calculation block on the side in contact with the image quality evaluation value calculation block Image quality evaluation value calculation means for obtaining an image quality evaluation value for each quantization table using the difference between
An approximate curve calculating means for obtaining an approximate curve that approximates the relationship between each quantization table and the image evaluation value;
A quantization table number determining unit that determines a quantization table number corresponding to a quantization table used for compression of the original image based on the approximate curve obtained by the approximate curve calculating unit;
Original image data compression means for compressing the original image data using the quantization table of the quantization table number determined by the quantization table number determination means;
An image compression apparatus comprising:
各量子化テーブルに対応する前記近似曲線の微分値を所定の閾値と比較し、
前記微分値が所定の閾値以上となる量子化テーブルのうち、前記量子化テーブルの各要素の値が最も小さくなる量子化テーブル番号を前記原画像の圧縮に用いる量子化テーブルに対応する量子化テーブル番号として決定することを特徴とする請求項5に記載の画像圧縮装置。 The quantization table number determining means includes
Comparing the derivative of the approximate curve corresponding to each quantization table with a predetermined threshold;
Wherein among the quantization table differential value is equal to or greater than a predetermined threshold value, a quantization table corresponding to the smallest quantization table number is the value of each element of the quantization table in quantization table used for compression of the original image 6. The image compression apparatus according to claim 5 , wherein the image compression apparatus is determined as a number.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003338031A JP4253839B2 (en) | 2003-09-29 | 2003-09-29 | Image compression method, image compression program, image compression apparatus, and digital camera |
US10/951,757 US7418148B2 (en) | 2003-09-29 | 2004-09-27 | Image compression method and image compression device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003338031A JP4253839B2 (en) | 2003-09-29 | 2003-09-29 | Image compression method, image compression program, image compression apparatus, and digital camera |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005109696A JP2005109696A (en) | 2005-04-21 |
JP4253839B2 true JP4253839B2 (en) | 2009-04-15 |
Family
ID=34533676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003338031A Expired - Fee Related JP4253839B2 (en) | 2003-09-29 | 2003-09-29 | Image compression method, image compression program, image compression apparatus, and digital camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4253839B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101334949B1 (en) * | 2007-08-01 | 2013-11-29 | 삼성전자주식회사 | Image processing apparatus and method for supporting security function |
-
2003
- 2003-09-29 JP JP2003338031A patent/JP4253839B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005109696A (en) | 2005-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101241662B1 (en) | Image data processing device, image data processing method, and recording medium | |
US7418148B2 (en) | Image compression method and image compression device | |
US8615140B2 (en) | Compression of image data in accordance with depth information of pixels | |
US6347118B1 (en) | Image processing apparatus having means for controlling exposure using an orthogonal transformation coefficient | |
KR20040039103A (en) | Digital camera and method of saving digital image of the same | |
JP4359773B2 (en) | Image compression processing apparatus, image compression processing method, and image compression processing program | |
JP2008113070A (en) | Imaging device and imaging method | |
JPWO2007086387A1 (en) | Imaging apparatus, imaging control method, and imaging control program | |
US20050018907A1 (en) | Image pickup apparatus and method | |
JP2008252389A (en) | Imaging apparatus, noise removal method and program | |
JP2017224939A (en) | Imaging apparatus | |
JP2008109305A (en) | Image processing device, and control method of image processing device | |
JP2002218387A (en) | Electronic camera | |
JP4769567B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM | |
JP4253839B2 (en) | Image compression method, image compression program, image compression apparatus, and digital camera | |
JP4299753B2 (en) | Image signal processing apparatus and image signal processing method | |
JP2005260467A (en) | Image processor | |
JP2018110300A (en) | IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM | |
JP2017175584A (en) | Imaging apparatus and voice recording device | |
JP3143159B2 (en) | Image recording device | |
JP4631629B2 (en) | Electronic camera and image processing program | |
JP4701065B2 (en) | Image processing apparatus and image processing method | |
JP3697820B2 (en) | Image compression recording device | |
JPH0537901A (en) | Image recorder | |
JPH09219807A (en) | Digital still camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060901 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080910 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081009 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081205 |
|
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: 20090105 |
|
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: 20090118 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120206 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120206 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130206 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130206 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140206 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |