JP2007142683A - Digital still camera - Google Patents

Digital still camera Download PDF

Info

Publication number
JP2007142683A
JP2007142683A JP2005332184A JP2005332184A JP2007142683A JP 2007142683 A JP2007142683 A JP 2007142683A JP 2005332184 A JP2005332184 A JP 2005332184A JP 2005332184 A JP2005332184 A JP 2005332184A JP 2007142683 A JP2007142683 A JP 2007142683A
Authority
JP
Japan
Prior art keywords
compression
digital still
still camera
initial value
size
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.)
Granted
Application number
JP2005332184A
Other languages
Japanese (ja)
Other versions
JP4844094B2 (en
Inventor
Kazuyoshi Takahashi
和敬 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2005332184A priority Critical patent/JP4844094B2/en
Publication of JP2007142683A publication Critical patent/JP2007142683A/en
Application granted granted Critical
Publication of JP4844094B2 publication Critical patent/JP4844094B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To allow fixed-length compression at high speed and high precision. <P>SOLUTION: The digital still camera comprises a fixed-length compression means which generates a compressed data within a specified range including a target size for recording process, by adjusting a compression parameter for compressing an input image data; an initial value calculating means for calculating an initial value of compression parameter about the image data of a current frame, based on a previous compression parameter applied to the image data of a previous frame, a compression data size, and a target size, according to a mode setting instruction indicating a consecutive photographing mode; and a consecutive compression means for generating a compressed data within a specified range including a target size, by applying the initial value of the compression parameter acquired by the initial value calculating means. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、撮影した画像を表す画像データ圧縮した後に記録するデジタルスチルカメラに関する。   The present invention relates to a digital still camera that records after compressing image data representing a photographed image.

デジタルスチルカメラでは、ユーザによる画質設定(例えば、FINE:高精細、NORMAL:標準、BASIC:基本)に合わせて、予め、画像データを記録する際の目標ファイルサイズが決定されている場合が多い。
このようなデジタルスチルカメラでは、撮影によって得られた画像データに対して、圧縮パラメータを変化させながらテスト圧縮を繰り返すことにより、最適な圧縮パラメータを探索し、画質設定に対応する目標ファイルサイズについて認められた許容範囲内に収まるように画像データの圧縮を行っている。
In a digital still camera, a target file size for recording image data is often determined in advance in accordance with image quality settings (for example, FINE: high definition, NORMAL: standard, BASIC: basic) by a user.
In such a digital still camera, the image data obtained by shooting is repeatedly subjected to test compression while changing the compression parameter to search for the optimum compression parameter and recognize the target file size corresponding to the image quality setting. The image data is compressed so as to be within the allowable range.

なぜなら、デジタルスチルカメラにおける静止画像の圧縮処理に広く用いられているJPEG方式では、撮影されたシーンの特徴によって圧縮後に得られる圧縮データのサイズが大きく変化するので、様々なシーンを撮影した画像データについて得られる圧縮データのサイズを所定の範囲に収めるためには、個々の画像データについて適切な量子化パラメータを適用して圧縮を行う必要があるからである。例えば、高周波成分の多い変化に富んだシーンを撮影して得られる画像データについては、圧縮率を高くして圧縮データのサイズを抑え、その一方、変化に乏しいシーンに対応する画像データについては、圧縮データのサイズが小さくなりすぎないように、圧縮率を小さく抑えている。   This is because, in the JPEG method widely used for still image compression processing in digital still cameras, the size of compressed data obtained after compression varies greatly depending on the characteristics of the captured scene, so image data obtained by capturing various scenes. This is because it is necessary to apply compression to each image data by applying an appropriate quantization parameter in order to keep the size of the compressed data obtained for the above in a predetermined range. For example, for image data obtained by shooting scenes rich in changes with many high-frequency components, the compression rate is increased to reduce the size of the compressed data, while for image data corresponding to scenes with little change, The compression rate is kept small so that the size of the compressed data does not become too small.

このような圧縮率の調整は、画像データをJPEG方式に従って符号化する際に用いられる量子化パラメータをスケールファクタSFによって調整することによって行われており、これにより、圧縮データの固定長化が実現されている。
従来の一般的な固定長化技術では、スケールファクタを変えながら2、3回の予備圧縮を行い、このときに得られた圧縮データのサイズの変化に基づいて最適なスケールファクタを推定し、推定されたスケールファクタの最適値を適用して最終的な圧縮データを得ている。
Such adjustment of the compression rate is performed by adjusting the quantization parameter used when encoding the image data according to the JPEG method by the scale factor SF, thereby realizing a fixed length of the compressed data. Has been.
In the conventional general fixed length technology, pre-compression is performed a few times while changing the scale factor, and the optimal scale factor is estimated based on the change in the size of the compressed data obtained at this time. The final compressed data is obtained by applying the optimum value of the scale factor.

また、スケールファクタの大きさの変化に対応する圧縮データのサイズの変化に関するモデルを用いて、1回の予備圧縮結果に基づいて、スケールファクタの最適値を求める方法も提案されている(特許文献1参照)。
また、連続撮影で得られる複数の画像データについて、これらの画像データが類似した特徴を有していることを利用して、1コマ目について求めたスケールファクタを2コマ目以降の画像にも適用することにより、連続撮影の際に要求される高速処理を実現しつつ、圧縮データについてはある程度の固定長化を実現する方法も提案されている(特許文献2、3、4参照)。
In addition, a method for obtaining an optimum value of a scale factor based on a single preliminary compression result using a model related to a change in the size of compressed data corresponding to a change in the scale factor has been proposed (Patent Document). 1).
In addition, for a plurality of image data obtained by continuous shooting, using the fact that these image data have similar characteristics, the scale factor obtained for the first frame is also applied to the second and subsequent frames. Thus, there has also been proposed a method for realizing a certain fixed length for compressed data while realizing high-speed processing required for continuous shooting (see Patent Documents 2, 3, and 4).

このようにして、圧縮データのサイズをほぼ固定長化することにより、フラッシュカードなどのメディアに圧縮画像を記録する段階では、画質に対応して見込まれる枚数がメディアに記録される画像の枚数として保証されている。
特開2004−56680号公報 特開平10−117352号広報 特開平3−267877号広報 特開平4−170879号広報
In this way, by compressing the size of the compressed data to a substantially fixed length, at the stage of recording a compressed image on a medium such as a flash card, the number of images expected to correspond to the image quality is the number of images recorded on the medium. Guaranteed.
JP 2004-56680 A JP 10-117352 A JP-A-3-267877 JP-A-4-170879

デジタルスチルカメラの高画素化が進むにつれて、デジタルスチルカメラのユーザ層はセミプロやプロを含むまでに拡大しており、これとともに、記録された画像の品質の向上とともに撮影された画像の処理に要する時間の短縮がより厳しく求められるようになっている。
特に、連続撮影された画像データの固定長圧縮に対応するためには、2、3回の予備圧縮からスケールファクタを最適化する方法では処理速度に限界があることは明らかである。なぜなら、処理の高速化のために画像処理用LSIのクロックの周波数を上げると消費電力が増大し、バッテリの消耗が激しくなって十分な作動時間を確保できなくなってしまうからである。また、クロック周波数にも上限があり、単純にハードウェアを高速に動作させることによって達成できる圧縮処理の高速化には限界がある。
As the number of pixels of digital still cameras increases, the user base of digital still cameras has expanded to include semi-professionals and professionals, and at the same time, the quality of recorded images is improved and the processing of captured images is required. There is an increasing demand for shortening the time.
In particular, in order to support fixed-length compression of continuously captured image data, it is apparent that there is a limit to the processing speed in the method of optimizing the scale factor from a few preliminary compressions. This is because if the clock frequency of the image processing LSI is increased to increase the processing speed, the power consumption is increased, the battery is exhausted and sufficient operating time cannot be secured. There is also an upper limit on the clock frequency, and there is a limit to the speedup of the compression process that can be achieved by simply operating the hardware at high speed.

また、上述した特許文献1の技法を適用したとしても、連続撮影の際の撮影間隔が短くなれば、連続して撮影される全ての画像について予備圧縮を行うために必要となる時間によって固定長化処理が追いつかなくなる可能性がある。
一方、特許文献2〜4に開示された技術のように、1コマ目の画像データについて求めたスケールファクタを2コマ目以降にも適用すれば、連続撮影で得られる複数の画像データを高速に圧縮処理することが可能である。
Even if the technique of Patent Document 1 described above is applied, if the shooting interval at the time of continuous shooting is shortened, the fixed length is set according to the time required for performing the pre-compression on all continuously shot images. There is a possibility that the conversion process cannot catch up.
On the other hand, if the scale factor obtained for the first frame of image data is applied to the second and subsequent frames as in the techniques disclosed in Patent Documents 2 to 4, a plurality of image data obtained by continuous shooting can be processed at high speed. It is possible to perform compression processing.

しかしながら、この方法によって得られる圧縮データが目標ファイルサイズに関する許容範囲に収まるか否かは、連続撮影された複数の画像相互に関する類似度の大きさに依存している。このため、圧縮データの固定長化を確実に保証できない場合がある。例えば、被写界の中で大きく移動する被写体を比較的長い時間に渡って撮影した場合などには、連続撮影の1コマ目の画像と最後の画像とではその特徴が大きく変わっている場合が考えられる。このような場合に、単純に1コマ目のスケールファクタをそのまま最後の画像の圧縮にまで適用したのでは、1コマ目に対応する圧縮データと最後のコマに対応する圧縮データとでサイズに大きな隔たりが生じてしまう。そして、最悪の場合には、連続撮影された複数の画像の一部に対応する圧縮データをメディアに記録できなくなってしまうおそれがある。   However, whether or not the compressed data obtained by this method falls within an allowable range related to the target file size depends on the degree of similarity between a plurality of images that are continuously captured. For this reason, there is a case where the fixed length of the compressed data cannot be reliably guaranteed. For example, when a subject that moves greatly in the field is photographed over a relatively long period of time, the characteristics may vary greatly between the first frame image and the last image of continuous shooting. Conceivable. In such a case, if the scale factor of the first frame is simply applied to the compression of the last image as it is, the compressed data corresponding to the first frame and the compressed data corresponding to the last frame are large in size. There will be a gap. In the worst case, compressed data corresponding to a part of a plurality of continuously shot images may not be recorded on the medium.

本発明は、高速にかつ高精度に画像データを固定長圧縮可能なデジタルスチルカメラを提供することを目的とする。   An object of the present invention is to provide a digital still camera capable of compressing fixed length image data at high speed and with high accuracy.

本発明にかかわる第1のデジタルスチルカメラは、撮影手段と、固定長圧縮手段と、初期値算出手段と、連続圧縮手段とから構成される。
本発明にかかわる第1のデジタルスチルカメラの原理は、以下の通りである。
撮影手段によって撮影されたデジタル静止画像を表す画像データを圧縮して記録するデジタルスチルカメラにおいて、固定長圧縮手段は、入力画像データを圧縮するための圧縮パラメータを調整することにより、目標サイズを含む所定範囲内に圧縮された圧縮データを生成して記録処理に供する。初期値算出手段は、撮影手段によって連続的に画像が撮影されている旨の連写モードを示すモード設定指示に応じて、直前フレームの画像データに適用された直前圧縮パラメータおよび圧縮データサイズと目標サイズとに基づいて、現フレームの画像データについての圧縮パラメータの初期値を算出する。連続圧縮手段は、初期値算出手段によって得られた圧縮パラメータの初期値を適用して目標サイズを含む所定の範囲内に圧縮された圧縮データを生成する。
A first digital still camera according to the present invention includes an imaging unit, a fixed length compression unit, an initial value calculation unit, and a continuous compression unit.
The principle of the first digital still camera according to the present invention is as follows.
In a digital still camera that compresses and records image data representing a digital still image captured by the imaging unit, the fixed length compression unit includes a target size by adjusting a compression parameter for compressing the input image data. Compressed data compressed within a predetermined range is generated and used for recording processing. The initial value calculating unit is configured to detect the immediately preceding compression parameter and the compressed data size applied to the image data of the immediately preceding frame in accordance with a mode setting instruction indicating a continuous shooting mode indicating that images are continuously captured by the capturing unit, and a target Based on the size, an initial value of a compression parameter for the image data of the current frame is calculated. The continuous compression means generates compressed data compressed within a predetermined range including the target size by applying the initial value of the compression parameter obtained by the initial value calculation means.

このように構成された第1のデジタルスチルカメラの動作は、下記の通りである。
例えば、撮影手段によって取得された1コマの画像データについて固定長圧縮手段による圧縮処理が行われた後に、これに連続して新たな画像データが取得され、これとともにモード設定指示によって連写モードが指示されると、パラメータ算出手段により、上述した1コマ目の画像データの圧縮に用いられた圧縮パラメータを用いて、新たに入力された現フレームの画像データに対応する圧縮パラメータが算出され、この圧縮パラメータが、圧縮パラメータ推定処理の初期値として、連続圧縮手段の処理に供される。
The operation of the first digital still camera configured as described above is as follows.
For example, after one frame of image data acquired by the photographing unit is compressed by the fixed-length compression unit, new image data is acquired continuously, and the continuous shooting mode is set in accordance with the mode setting instruction. When instructed, the parameter calculation means calculates a compression parameter corresponding to the newly input image data of the current frame using the compression parameter used for the compression of the first frame image data. The compression parameter is provided to the process of the continuous compression means as the initial value of the compression parameter estimation process.

ここで、連写モードでは、現フレームの画像データと直前フレームの画像データとは極めて類似した特徴を有することが期待できるので、直前フレームに適用された圧縮パラメータを直前フレームの圧縮データのサイズおよび目標サイズに基づいて調整することにより、現フレームの画像データの特徴に適合した圧縮パラメータの初期値を決定することができる。このように、連写モードにおける連続するフレームの画像の類似性を利用するとともに、直前フレームにおける圧縮データのサイズと目標サイズとの差異を現フレームの圧縮パラメータの初期値に反映することにより、連続するフレーム間での画像の特徴の微小な変化傾向に圧縮パラメータの初期値を追従させることができる。したがって、画像データの特徴の変化が緩やかであれば、上述したようにして求めた圧縮パラメータの初期値を適用して画像データを圧縮することにより、ほぼ確実に目標サイズを含む所定範囲内に圧縮された圧縮データを得ることができる。つまり、連続圧縮手段において、上述したようにして算出された圧縮パラメータの初期値を適用して得られた圧縮データをそのまま本圧縮結果として、圧縮制御手段を介して記録処理に供することができる。   Here, in the continuous shooting mode, the image data of the current frame and the image data of the immediately preceding frame can be expected to have very similar characteristics, so the compression parameters applied to the immediately preceding frame are set to the size of the compressed data of the immediately preceding frame and By adjusting based on the target size, it is possible to determine the initial value of the compression parameter suitable for the characteristics of the image data of the current frame. As described above, by using the similarity of images of consecutive frames in the continuous shooting mode and reflecting the difference between the compressed data size in the immediately preceding frame and the target size in the initial value of the compression parameter of the current frame, Therefore, the initial value of the compression parameter can be made to follow a minute change tendency of the image feature between frames. Therefore, if the change in the characteristics of the image data is gradual, the image data is compressed by applying the initial value of the compression parameter obtained as described above, so that the image data is almost surely compressed within a predetermined range including the target size. Compressed data can be obtained. That is, in the continuous compression means, the compressed data obtained by applying the initial value of the compression parameter calculated as described above can be used as it is as the main compression result for the recording process via the compression control means.

なお、連写モードが指示されていない場合や連写モードが解除された場合には、撮影手段によって取得された画像データは固定長圧縮手段によって圧縮され、記録処理に供される。
本発明にかかわる第2のデジタルスチルカメラでは、初期値算出手段は、固定長圧縮手段により圧縮された直前のフレームの画像データに適用された直前圧縮パラメータおよび圧縮データサイズと目標サイズとに基づいて、現フレームの画像データについての圧縮パラメータの初期値を算出する。
When the continuous shooting mode is not instructed or when the continuous shooting mode is canceled, the image data acquired by the photographing unit is compressed by the fixed length compression unit and used for recording processing.
In the second digital still camera according to the present invention, the initial value calculating means is based on the immediately preceding compression parameter applied to the image data of the immediately preceding frame compressed by the fixed length compressing means, the compressed data size and the target size. Then, the initial value of the compression parameter for the image data of the current frame is calculated.

このような第2のデジタルスチルカメラは、固定長圧縮手段によって、直前フレームの画像の特徴に最適なように調整された直前圧縮パラメータを利用して算出された初期値を用いて、直前フレームの画像データと類似性が期待できる現フレームの画像データを圧縮することができる。
本発明にかかわる第3のデジタルスチルカメラでは、初期値算出手段は、連続圧縮手段により圧縮された直前のフレームの画像データに適用された直前圧縮パラメータおよび圧縮データサイズと目標サイズとに基づいて、現フレームの画像データについての圧縮パラメータの初期値を算出する。
Such a second digital still camera uses the initial value calculated using the immediately preceding compression parameter adjusted so as to be optimal for the image characteristics of the immediately preceding frame by the fixed-length compression means, and uses the initial value of the immediately preceding frame. The image data of the current frame that can be expected to be similar to the image data can be compressed.
In the third digital still camera according to the present invention, the initial value calculating means is based on the immediately preceding compression parameter, the compressed data size and the target size applied to the image data of the immediately preceding frame compressed by the continuous compressing means. The initial value of the compression parameter for the image data of the current frame is calculated.

このような第3のデジタルスチルカメラは、連写モードが継続しているときに期待できる画像データの類似性を利用して、初期値算出手段により、現フレームの画像データに適切な圧縮パラメータを初期値として算出し、連続圧縮手段の処理に供することができる。
本発明にかかわる第4のデジタルスチルカメラは、上述した第1のデジタルスチルカメラにおいて、初期値算出手段にサイズ調整手段を備えて構成される。
Such a third digital still camera uses the similarity of image data that can be expected when the continuous shooting mode is continued, and an appropriate compression parameter is applied to the image data of the current frame by the initial value calculation means. It can be calculated as an initial value and used for processing of the continuous compression means.
The fourth digital still camera according to the present invention is configured such that, in the first digital still camera described above, the initial value calculating means includes a size adjusting means.

本発明にかかわる第4のデジタルスチルカメラの原理は、以下の通りである。
上述した第1のデジタルスチルカメラに備えられる初期値算出手段において、サイズ調整手段は、直前フレームに対応して得られた圧縮データと目標サイズとの差分を考慮して現フレームの目標サイズを調整し、圧縮パラメータの算出処理に供する。
このように構成された第4のデジタルスチルカメラの動作は、下記の通りである。
The principle of the fourth digital still camera according to the present invention is as follows.
In the initial value calculating means provided in the first digital still camera described above, the size adjusting means adjusts the target size of the current frame in consideration of the difference between the compressed data obtained corresponding to the immediately preceding frame and the target size. And used for compression parameter calculation processing.
The operation of the fourth digital still camera configured as described above is as follows.

サイズ調整手段により、現フレームの圧縮パラメータの算出に用いる目標サイズを調整することにより、各フレームにおける圧縮データと目標サイズとの誤差が、次のフレームの圧縮処理で吸収されるので、連続的に撮影された画像に対応して記録される圧縮データのサイズの平均値は、高い精度で目標サイズに収束する。
本発明にかかわる第5のデジタルスチルカメラは、上述した第1のデジタルスチルカメラにおいて、初期値算出手段に調整手段と乗算手段とを備えて構成される。
By adjusting the target size used for calculating the compression parameter of the current frame by the size adjusting means, the error between the compressed data and the target size in each frame is absorbed in the compression processing of the next frame, so that The average size of the compressed data recorded corresponding to the captured image converges to the target size with high accuracy.
A fifth digital still camera according to the present invention is the same as the first digital still camera described above, wherein the initial value calculation means includes adjustment means and multiplication means.

本発明にかかわる第5のデジタルスチルカメラの原理は、以下の通りである。
上述した第1のデジタルスチルカメラに備えられる初期値算出手段において、調整手段は、直前フレームに対応して得られた圧縮データのサイズと目標サイズとの比に基づいて、直前フレームに対応して得られた圧縮パラメータから現フレームの圧縮パラメータを算出するためのパラメータを調整する。乗算手段は、調整されたパラメータを直前フレームにおいて圧縮パラメータとして適用されたスケールファクタに乗じることにより、現フレームのスケールファクタを求め、このスケールファクタを連続圧縮手段の処理に供する。
The principle of the fifth digital still camera according to the present invention is as follows.
In the initial value calculating means provided in the first digital still camera described above, the adjusting means corresponds to the immediately preceding frame based on the ratio between the size of the compressed data obtained corresponding to the immediately preceding frame and the target size. The parameter for calculating the compression parameter of the current frame is adjusted from the obtained compression parameter. The multiplication means obtains the scale factor of the current frame by multiplying the adjusted parameter by the scale factor applied as the compression parameter in the immediately preceding frame, and uses this scale factor for the processing of the continuous compression means.

このように構成された第5のデジタルスチルカメラの動作は、下記の通りである。
調整手段により、現フレームの圧縮パラメータを算出するためのパラメータを調整し、このパラメータを乗算手段による直前フレームのスケールファクタとの乗算処理に供することにより、直前フレームに対応する圧縮データのサイズの目標サイズからのずれを適切に反映して、現フレームの画像データに適用すべき圧縮パラメータを算出することができる。
The operation of the fifth digital still camera configured as described above is as follows.
By adjusting the parameter for calculating the compression parameter of the current frame by the adjusting means, and subjecting this parameter to the multiplication process with the scale factor of the immediately preceding frame by the multiplying means, the target size of the compressed data corresponding to the immediately preceding frame The compression parameter to be applied to the image data of the current frame can be calculated by appropriately reflecting the deviation from the size.

例えば、初期値算出手段は、現フレームのスケールファクタSF(new)を、直前フレームのスケールファクタSF(old)と、直前フレームの圧縮サイズS(old)と、目標サイズTsと、予め適切に設定されたパラメータaとを用いて表す式(1)を利用して求めることができる。
SF(new)=(S(old)/Ts)(−1/a)・SF(old) ・・・(1)
本発明にかかわる第6のデジタルスチルカメラは、上述した第1のデジタルスチルカメラにおいて、連続圧縮手段に判定手段と選択手段と推定手段とを備えて構成される。
For example, the initial value calculation means appropriately sets the scale factor SF (new) of the current frame, the scale factor SF (old) of the immediately preceding frame, the compression size S (old) of the immediately preceding frame, and the target size Ts in advance. It can be obtained by using the expression (1) expressed using the parameter a.
SF (new) = (S (old) / Ts) (−1 / a) · SF (old) (1)
The sixth digital still camera according to the present invention is the same as the first digital still camera described above, wherein the continuous compression means includes determination means, selection means, and estimation means.

本発明にかかわる第6のデジタルスチルカメラの原理は、以下の通りである。
上述した第1のデジタルスチルカメラに備えられる連続圧縮手段において、判定手段は、初期値算出手段によって算出された圧縮パラメータの初期値を適用して得られた圧縮データのサイズと目標サイズとの差が許容範囲内であるか否かを判定する。再圧縮手段は、圧縮データのサイズと目標サイズとの差が許容範囲を超えている旨の判定結果に応じて、初期値および初期値を適用して得られた圧縮データのサイズと目標サイズとを用いて最適な圧縮パラメータを推定し、推定した圧縮パラメータを適用して前記画像データの圧縮データを生成する。
The principle of the sixth digital still camera according to the present invention is as follows.
In the above-described continuous compression unit provided in the first digital still camera, the determination unit includes a difference between the compressed data size obtained by applying the initial value of the compression parameter calculated by the initial value calculation unit and the target size. Is determined to be within the allowable range. The recompressing means determines the initial value and the compressed data size obtained by applying the initial value and the target size according to the determination result that the difference between the compressed data size and the target size exceeds the allowable range. Is used to estimate an optimal compression parameter and apply the estimated compression parameter to generate compressed data of the image data.

このように構成された第6のデジタルスチルカメラの動作は、下記の通りである。
例えば、利用者によって連写モードが設定されている場合であっても、例えば、カメラをパンさせながら被写体を追っている場合などには、撮影された画像データの特徴が途中から急激に変化し、上述したようにして算出された圧縮パラメータの初期値を現フレームの画像データに適用して得られた圧縮データと目標サイズとの差が許容範囲を超えてしまう場合が考えられる。このような場合に、判定手段による判定結果に応じて、再圧縮手段により、初期値算出手段によって得られた圧縮パラメータを適用した圧縮処理で得られた圧縮データを予備圧縮結果として圧縮パラメータの推定処理が行われ、最適化された圧縮パラメータを適用して得られた圧縮結果が記録処理に供される。そして、この過程において得られた最適化された圧縮パラメータが、以降の圧縮パラメータ算出処理に供されるので、連写中の画像の急激な変化にも柔軟に対応し、固定長圧縮を維持することができる。
The operation of the sixth digital still camera configured as described above is as follows.
For example, even when the continuous shooting mode is set by the user, for example, when following the subject while panning the camera, the characteristics of the captured image data change abruptly from the middle, There may be a case where the difference between the compressed data obtained by applying the initial value of the compression parameter calculated as described above to the image data of the current frame and the target size exceeds the allowable range. In such a case, in accordance with the determination result by the determination unit, the compression parameter is estimated by using the compression data obtained by the compression process to which the compression parameter obtained by the initial value calculation unit is applied by the recompression unit as a preliminary compression result. The processing is performed, and the compression result obtained by applying the optimized compression parameter is used for the recording process. Since the optimized compression parameter obtained in this process is used for the subsequent compression parameter calculation processing, it can flexibly cope with a sudden change in an image during continuous shooting and maintain fixed length compression. be able to.

本発明にかかわる第7のデジタルスチルカメラは、上述した第6のデジタルスチルカメラにおいて、再圧縮手段に選択手段を備えて構成される。
本発明にかかわる第7のデジタルスチルカメラの原理は、以下の通りである。
上述した第6のデジタルスチルカメラに備えられる再圧縮手段において、選択手段は、圧縮データのサイズと目標サイズとの差が許容範囲を超えている旨の判定結果に応じて、圧縮パラメータの初期値に基づいて、適切な調整パラメータを選択し、選択した調整パラメータを、圧縮パラメータの初期値と前記初期値を適用して得られた圧縮データのサイズと前記目標サイズとを用いた最適な圧縮パラメータの推定処理に供する。
A seventh digital still camera according to the present invention is the same as the sixth digital still camera described above, except that the recompressing means includes a selecting means.
The principle of the seventh digital still camera according to the present invention is as follows.
In the recompression unit provided in the sixth digital still camera described above, the selection unit selects the initial value of the compression parameter according to the determination result that the difference between the size of the compressed data and the target size exceeds the allowable range. Based on the above, an appropriate adjustment parameter is selected, and an optimal compression parameter using the initial value of the compression parameter, the compressed data size obtained by applying the initial value, and the target size is selected as the selected adjustment parameter. It is used for the estimation process.

このように構成された第7のデジタルスチルカメラの動作は、下記の通りである。
圧縮データのサイズが許容範囲内に収まっていない旨の判定結果が判定手段によって得られたときに、選択手段により、初期値算出手段によって得られた圧縮パラメータの初期値に基づいて、適切な調整パラメータが選択され、最適な圧縮パラメータの推定処理に供される。これにより、例えば、様々な画像データについてのスケールファクタと圧縮データサイズとの関係を集積することによって得られた傾きパラメータに関する知見を活用し、より高い精度で圧縮パラメータ(この場合はスケールファクタ)を推定することができる。
The operation of the seventh digital still camera configured as described above is as follows.
When the determination unit obtains a determination result that the size of the compressed data is not within the allowable range, the selection unit performs an appropriate adjustment based on the initial value of the compression parameter obtained by the initial value calculation unit. A parameter is selected and subjected to an optimal compression parameter estimation process. As a result, for example, using the knowledge about the slope parameter obtained by accumulating the relationship between the scale factor and the compressed data size for various image data, the compression parameter (in this case, the scale factor) can be calculated with higher accuracy. Can be estimated.

本発明にかかわる第8のデジタルスチルカメラは、上述した第1のデジタルスチルカメラにおいて、情報収集手段と、モード設定手段とを備えて構成される。
本発明にかかわる第8のデジタルスチルカメラの原理は、以下の通りである。
上述した第1のデジタルスチルカメラにおいて、情報収集手段は、撮影手段による撮影処理にかかわる撮影条件を示す情報を収集する。モード設定手段は、情報収集手段によって収集された情報に基づいて、撮影手段が連続的な撮影処理を行っていると判断したときに、連写モードを示すモード設定指示をパラメータ算出手段および入力制御手段に入力する。
The eighth digital still camera according to the present invention is the same as the first digital still camera described above, comprising information collecting means and mode setting means.
The principle of the eighth digital still camera according to the present invention is as follows.
In the first digital still camera described above, the information collecting unit collects information indicating the photographing conditions related to the photographing process by the photographing unit. When the mode setting means determines that the photographing means is performing continuous photographing processing based on the information collected by the information collecting means, the mode setting means sends a mode setting instruction indicating the continuous shooting mode to the parameter calculating means and the input control. Enter the means.

このように構成された第8のデジタルスチルカメラの動作は、下記の通りである。
モード設定手段は、情報収集手段によって収集された情報が撮影手段によって連続的な撮影処理が行われていることを示している場合にのみ連写モードを示すモード設定指示をパラメータ算出手段に入力し、連続撮影に適合した圧縮処理を起動する。また、情報収集手段によって収集された情報が変化し、個別的な撮影処理を示す情報となったときには、このモード設定手段は、連写モードを示すモード設定指示の入力を停止し、連写モードを解除する。これに応じて、入力制御手段により、現フレームの画像データが固定長圧縮手段に入力され、この固定長圧縮手段による圧縮結果が記録処理に供される。
The operation of the eighth digital still camera configured in this way is as follows.
The mode setting means inputs a mode setting instruction indicating the continuous shooting mode to the parameter calculation means only when the information collected by the information collecting means indicates that continuous photographing processing is being performed by the photographing means. Start the compression process suitable for continuous shooting. In addition, when the information collected by the information collecting means changes to become information indicating individual photographing processing, the mode setting means stops the input of the mode setting instruction indicating the continuous shooting mode, and the continuous shooting mode Is released. In response to this, the image data of the current frame is input to the fixed length compression means by the input control means, and the compression result by the fixed length compression means is used for the recording process.

本発明にかかわる第9のデジタルスチルカメラは、上述した第8のデジタルスチルカメラにおいて、情報収集手段に間隔収集手段を備え、モード設定手段に間隔判断手段を備えて構成される。
本発明にかかわる第9のデジタルスチルカメラの原理は、以下の通りである。
上述した第8のデジタルスチルカメラに備えられた情報収集手段において、間隔収集手段は、撮影手段による画像データの取得に関する時間間隔を、撮影条件を示す情報として収集する。モード設定手段において、間隔判断手段は、時間間隔が所定の閾値以下であるときに、撮影手段が連続的な撮影処理を行っていると判断する。
The ninth digital still camera according to the present invention is the same as the eighth digital still camera described above, wherein the information collecting means includes interval collecting means, and the mode setting means includes interval determining means.
The principle of the ninth digital still camera according to the present invention is as follows.
In the information collecting means provided in the above-described eighth digital still camera, the interval collecting means collects time intervals related to acquisition of image data by the photographing means as information indicating photographing conditions. In the mode setting unit, the interval determining unit determines that the imaging unit is performing continuous imaging processing when the time interval is equal to or less than a predetermined threshold.

このように構成された第9のデジタルスチルカメラの動作は、下記の通りである。
間隔収集手段によって収集される時間間隔が所定の閾値以下であるか否かに応じて、間隔判断手段により、撮影手段が連続撮影処理を行っているか否かが判断され、これに応じて、モード設定指示を操作することにより、連続圧縮処理と固定長圧縮処理とが自動的に切り替えられる。
The operation of the ninth digital still camera configured in this way is as follows.
Depending on whether or not the time interval collected by the interval collecting means is equal to or less than a predetermined threshold, the interval judging means judges whether or not the photographing means is performing continuous photographing processing, and in accordance with this, the mode By operating the setting instruction, continuous compression processing and fixed-length compression processing are automatically switched.

本発明にかかわる第10のデジタルスチルカメラは、上述した第8のデジタルスチルカメラにおいて、情報収集手段に感度収集手段を備え、モード設定手段に感度判断手段を備えて構成される。
本発明にかかわる第10のデジタルスチルカメラの原理は、以下の通りである。
上述した第8のデジタルスチルカメラに備えられる情報収集手段において、感度収集手段は、撮影条件を示す情報として、撮影手段によって取得される画像データそれぞれについて撮影感度を収集する。モード設定手段において、感度判断手段は、感度収集手段によって現フレームについて収集された撮影感度と前フレームに対応する撮影感度との差が所定の閾値以下であるときに、撮影手段が連続的な撮影処理を行っていると判断する。
A tenth digital still camera according to the present invention is the same as the eighth digital still camera described above, wherein the information collecting means includes sensitivity collecting means, and the mode setting means includes sensitivity determining means.
The principle of the tenth digital still camera according to the present invention is as follows.
In the information collecting means provided in the above-described eighth digital still camera, the sensitivity collecting means collects the photographing sensitivity for each piece of image data acquired by the photographing means as information indicating the photographing condition. In the mode setting means, the sensitivity determination means is configured to perform continuous shooting when the difference between the shooting sensitivity collected for the current frame by the sensitivity collection means and the shooting sensitivity corresponding to the previous frame is equal to or less than a predetermined threshold. It is determined that processing is being performed.

このように構成された第10のデジタルスチルカメラの動作は、下記の通りである。
感度収集手段によって収集された現フレームと前フレームとで撮影感度に大きな差があった場合には、撮影間隔の長短にかかわらず、感度判断手段により、撮影手段は連続的な撮影処理を行っているのではないと判断されるので、自動的にパラメータ算出手段および連続圧縮手段による圧縮処理から固定長圧縮手段による圧縮処理に切り替えられ、現フレームの画像データは、固定長圧縮手段によって適切に固定長圧縮される。
The operation of the tenth digital still camera configured as described above is as follows.
If there is a large difference in shooting sensitivity between the current frame and the previous frame collected by the sensitivity collecting means, the sensitivity judging means performs continuous shooting processing regardless of the length of the shooting interval. Therefore, it is automatically switched from compression processing by the parameter calculation means and continuous compression means to compression processing by the fixed length compression means, and the image data of the current frame is appropriately fixed by the fixed length compression means. Long compressed.

本発明にかかわるデジタルスチルカメラでは、連続撮影の際に圧縮処理に対して要求される高速処理を実現するとともに、連続撮影中にしばしば現れる画像の特徴の変化にかかわらず、圧縮データのサイズを目標サイズに極めて高い精度で収束させることができる。
これにより、画質設定に対応して規定された枚数の画像に対応する圧縮データがメディアに記録されることを確実に保証することができるので、例えば、連続撮影で取得された画像に対応する圧縮データの一部がメディアに記録されないといった不具合を完全に防ぐことができる。
The digital still camera according to the present invention achieves high-speed processing required for compression processing during continuous shooting, and targets the size of compressed data regardless of changes in image characteristics that often appear during continuous shooting. The size can be converged with extremely high accuracy.
As a result, it is possible to reliably ensure that the compressed data corresponding to the number of images defined in accordance with the image quality setting is recorded on the medium. For example, the compression corresponding to the image acquired by continuous shooting is performed. It is possible to completely prevent a problem that a part of data is not recorded on the medium.

(第1の実施形態)
以下、図面に基づいて、本発明の実施形態について詳細に説明する。
図1に、本発明にかかわるデジタルスチルカメラの第1の実施形態を示す。
図1に示したデジタルスチルカメラにおいて、撮影光学系11によって撮像素子12上に形成された像は、この撮像素子12によって電気信号に変換され、信号処理部13およびA/D変換部14の処理により、デジタル静止画像を表す画像データに変換される。このようにして取得された画像データは、画像処理部15による画質調整処理を施された後に、メモリ20を介して圧縮処理部16に渡され、この圧縮処理部16により、画質設定に対応するサイズに圧縮され、記録部17を介してメモリカードなどの記憶媒体に記録される。
(First embodiment)
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 shows a first embodiment of a digital still camera according to the present invention.
In the digital still camera shown in FIG. 1, an image formed on the image sensor 12 by the photographing optical system 11 is converted into an electric signal by the image sensor 12 and processed by the signal processing unit 13 and the A / D conversion unit 14. Thus, it is converted into image data representing a digital still image. The image data obtained in this way is subjected to image quality adjustment processing by the image processing unit 15 and then passed to the compression processing unit 16 via the memory 20, and the compression processing unit 16 corresponds to image quality setting. The data is compressed to a size and recorded on a storage medium such as a memory card via the recording unit 17.

図1に示した制御部18は、操作パネル19を介して利用者が入力した指示に応じて、上述した各部の動作を制御しており、例えば、制御部18は、操作パネル19に備えられたボタンの操作などによって設定された画質(FINE,NORMAL,BASICなど)を示す情報および撮影条件にかかわる情報を圧縮処理部16に渡し、これに応じて、圧縮処理部16は、受け取った画質設定情報に対応して予め決定された目標サイズを基準として、以下の述べるようにして固定長圧縮を行う。   The control unit 18 illustrated in FIG. 1 controls the operation of each unit described above according to instructions input by the user via the operation panel 19. For example, the control unit 18 is provided in the operation panel 19. The information indicating the image quality (FINE, NORMAL, BASIC, etc.) set by operating the button or the like and the information related to the shooting conditions are passed to the compression processing unit 16, and the compression processing unit 16 accordingly receives the received image quality setting. The fixed length compression is performed as described below with reference to a target size determined in advance corresponding to the information.

図2に、圧縮処理部の詳細構成を示す。
図2に示した圧縮処理部16において、符号化部21は、圧縮制御部23から受け取った圧縮パラメータを適用して、上述したメモリ20に格納された画像データをJPEG方式に従って符号化することにより圧縮する。また、圧縮制御部23は、符号化部21によって得られた圧縮データのサイズと目標サイズとの比較結果に基づいて、パラメータ推定部22による圧縮パラメータの推定動作を制御し、適切な圧縮パラメータを探索して、画像データのサイズを目標サイズに収束させる制御を行う。
FIG. 2 shows a detailed configuration of the compression processing unit.
In the compression processing unit 16 shown in FIG. 2, the encoding unit 21 applies the compression parameter received from the compression control unit 23 and encodes the image data stored in the memory 20 according to the JPEG method. Compress. The compression control unit 23 controls the compression parameter estimation operation by the parameter estimation unit 22 based on the comparison result between the compressed data size obtained by the encoding unit 21 and the target size, and sets an appropriate compression parameter. A search is performed to control the size of the image data to converge to the target size.

また、図2において、操作パネル19を操作することによって入力された画質設定情報は、制御部18に備えられた画質設定検出部31によって検出され、圧縮処理部16に備えられた圧縮制御部23に渡され、これに応じて目標サイズが決定される。また、図2に示した制御部18において、間隔計測部32は、例えば、信号処理部13から個々の画像データが取得された時刻に関する情報を収集し、これに基づいて、画像データの取得間隔を計測し、計測結果を圧縮処理部16に備えられたモード判定部24に渡す。一方、図2に示した感度情報収集部33は、例えば、信号処理部13から個々の撮影に関する撮影感度を示す情報を収集し、収集した情報を上述したモード判定部24に渡す。   In FIG. 2, the image quality setting information input by operating the operation panel 19 is detected by the image quality setting detection unit 31 provided in the control unit 18, and the compression control unit 23 provided in the compression processing unit 16. And the target size is determined accordingly. In the control unit 18 illustrated in FIG. 2, the interval measurement unit 32 collects, for example, information on the time when individual image data is acquired from the signal processing unit 13, and based on this, the image data acquisition interval is collected. And the measurement result is passed to the mode determination unit 24 provided in the compression processing unit 16. On the other hand, for example, the sensitivity information collection unit 33 illustrated in FIG. 2 collects information indicating shooting sensitivity regarding individual shooting from the signal processing unit 13 and passes the collected information to the mode determination unit 24 described above.

図2に示したモード判定部24は、上述した制御部18から入力される撮影条件に関する情報に基づいて、新たに入力される画像データが、後述する連写モードの圧縮処理を適用可能な画像データであるか否かを判定する。また、図2に示した圧縮制御部23は、モード判定部24による判定結果に基づいて、スケールファクタSF算出に用いる初期値として、予め適切に決定された標準的な初期値SF1あるいは後述するようにしてパラメータ推定部22によって直前フレームのスケールファクタに基づいて求められる調整された初期値SF11とのいずれかを符号化部21の処理に供する。   The mode determination unit 24 illustrated in FIG. 2 is an image in which image data newly input can be applied with compression processing in a continuous shooting mode, which will be described later, based on the information regarding the imaging conditions input from the control unit 18 described above. It is determined whether it is data. Also, the compression control unit 23 shown in FIG. 2 uses a standard initial value SF1 appropriately determined in advance as an initial value used for calculating the scale factor SF based on the determination result by the mode determination unit 24, or as will be described later. Then, one of the adjusted initial value SF11 obtained by the parameter estimation unit 22 based on the scale factor of the immediately preceding frame is used for the processing of the encoding unit 21.

図3に、圧縮処理部の動作の概略を表す流れ図を示す。
まず、制御部18から撮影条件にかかわる情報(例えば、撮影間隔および撮影感度)を受け取り、この情報に基づいて、モード判定部24により、圧縮対象の画像データに連写モードを適用すべきか否かを判定する(ステップ301,302)。このとき、モード判定部24により、例えば、撮影間隔Dに関する条件判定として、撮影間隔Dが所定の閾値Dth以下であるか否かを判定し、撮影感度Vに関する条件判定として、直前フレームの撮影感度Voldと現フレームの撮影感度Vとの差が所定の閾値Vth以下であるか否かを判定し、双方の条件を満たすときに、連写モードを適用すべきであると判定する。これにより、直前フレームの画像と現フレームの画像との間に高い類似性が期待できるときにのみ、連写モードを適用することができる。
FIG. 3 is a flowchart showing an outline of the operation of the compression processing unit.
First, information related to shooting conditions (for example, shooting interval and shooting sensitivity) is received from the control unit 18, and based on this information, whether or not the continuous shooting mode should be applied to image data to be compressed by the mode determination unit 24. Is determined (steps 301 and 302). At this time, the mode determination unit 24 determines, for example, whether or not the shooting interval D is equal to or less than a predetermined threshold Dth as the condition determination regarding the shooting interval D, and the shooting sensitivity of the immediately preceding frame as the condition determination regarding the shooting sensitivity V. It is determined whether or not the difference between V old and the shooting sensitivity V of the current frame is equal to or less than a predetermined threshold value Vth , and it is determined that the continuous shooting mode should be applied when both conditions are satisfied. Accordingly, the continuous shooting mode can be applied only when high similarity can be expected between the image of the immediately preceding frame and the image of the current frame.

例えば、デジタルスチルカメラに電源が投入されてから最初に撮影されたフレームでは、上述した撮影間隔に関する条件も撮影感度に関する条件のいずれも満たされないので、モード判定部24により、連写モードを適用しない旨の判定結果が圧縮制御部23に渡される(ステップ302の否定判定)。これに応じて、圧縮制御部23は、現フレームの画像データは個別に圧縮すべきであると判断し、個々の画像データを独立に圧縮する場合(以下、個別モードの圧縮と称する)について予め決定しておいた標準的なスケールファクタの初期値SF1を符号化部21による圧縮処理に供する(ステップ303)。   For example, in the first frame shot after the digital still camera is turned on, neither the above-described shooting interval condition nor shooting sensitivity condition is satisfied, so the mode determination unit 24 does not apply the continuous shooting mode. A determination result to that effect is passed to the compression control unit 23 (No determination in step 302). In response to this, the compression control unit 23 determines that the image data of the current frame should be individually compressed, and in advance compresses each image data independently (hereinafter referred to as individual mode compression). The determined standard scale factor initial value SF1 is subjected to compression processing by the encoding unit 21 (step 303).

個別モードの圧縮では、符号化部21により、上述した初期値SF1を用いた予備圧縮が行われ(ステップ304)、次いで、圧縮制御部23により、この予備圧縮で得られた圧縮データのサイズS1が画質設定に対応する目標サイズTsについて設定した許容範囲内に収まっているか否かに基づいて、固定長圧縮が完了したか否かが判定される(ステップ305)。このとき、圧縮制御部23は、目標サイズTsに基づいて予め設定した圧縮データのサイズの下限値Sminおよび上限値Smaxと予備圧縮データのサイズSとを比較し、例えば、サイズS1が上限値Smaxを超えている(または、下限値未満である)と判定したときに、固定長圧縮は未完了であると判断する(ステップ305の否定判定)。 In the individual mode compression, the encoding unit 21 performs preliminary compression using the above-described initial value SF1 (step 304), and then the compression control unit 23 performs the compression data size S1 obtained by this preliminary compression. Is determined to be within the allowable range set for the target size Ts corresponding to the image quality setting, it is determined whether or not the fixed length compression has been completed (step 305). At this time, the compression control unit 23 compares the lower limit value S min and the upper limit value S max of the size of the compressed data set in advance based on the target size Ts with the size S 1 of the pre-compressed data. When it is determined that the upper limit value Smax is exceeded (or less than the lower limit value), it is determined that the fixed length compression has not been completed (No determination in step 305).

この場合に、パラメータ推定部22は、圧縮制御部23からの指示に応じて、最初の予備圧縮に適用されたスケールファクタの初期値(個別モードの場合はSF1)と、最初の予備圧縮結果として得られた圧縮データのサイズSと、目標サイズTsと、スケールファクタと圧縮データのサイズとの統計的な関係に基づいて推定回数iごとに調整される係数aとを用いて、式(2)のように表されるi番目のスケールファクタSFを推定する(ステップ306)。 In this case, in response to an instruction from the compression control unit 23, the parameter estimation unit 22 sets the initial value of the scale factor applied to the first preliminary compression (SF1 in the case of the individual mode) and the first preliminary compression result. Using the size S 1 of the obtained compressed data, the target size Ts, and the coefficient a i adjusted for each estimation number i based on the statistical relationship between the scale factor and the size of the compressed data, The i-th scale factor SF i expressed as 2) is estimated (step 306).

SF=(S/Ts)(−1/ai)・SF1 ・・・(2)
なお、スケールファクタSFの推定に関する詳細は、特開2003−179926号を参照されたい。
次に、圧縮制御部23は、予備圧縮回数(あるいは、スケールファクタの推定回数)が規定回数Nを超えない限り、ステップ307の否定判定として、ステップ304に戻り、上述したようにして推定された新しいスケールファクタSFを適用した圧縮処理を符号化部21に実行させる。このとき、圧縮制御部23は、推定された新たなスケールファクタSFの値を予めスケールファクタの値について設定しておいた上限値SFmaxと下限値SFminとを用いて制限し、制限後のスケールファクタSFを符号化部21に適用させる。
SF i = (S 1 / Ts) (−1 / ai) · SF 1 (2)
For details regarding the estimation of the scale factor SF, refer to Japanese Patent Application Laid-Open No. 2003-179926.
Next, as long as the number of preliminary compressions (or the estimated number of scale factors) does not exceed the specified number N, the compression control unit 23 returns to step 304 as a negative determination in step 307 and is estimated as described above. The encoding unit 21 is caused to execute compression processing to which the new scale factor SF i is applied. At this time, the compression control unit 23 limits the estimated value of the new scale factor SF i using the upper limit value SF max and the lower limit value SF min that are set in advance for the value of the scale factor. The scale factor SF i is applied to the encoding unit 21.

なお、予備圧縮回数が上述した規定回数を超えたにもかかわらず、未だに固定長圧縮が完了しない場合に、圧縮制御部23は、ハードウェアの障害などが発生したと判断し、適切なエラー処理を実行して処理を終了する。また、予め決定した試行数(例えば、第4回)以降は、上述した式(2)に基づく推定を行う代わりに、所定のうち切りスケールファクタSF4と係数c(c>1)と式(3)を用いてスケールファクタの推定を行ってもよい。   If the fixed-length compression has not yet been completed even though the number of preliminary compressions exceeds the above-mentioned number of times, the compression control unit 23 determines that a hardware failure has occurred and performs appropriate error processing. To finish the process. In addition, after the predetermined number of trials (for example, the fourth time), instead of performing the estimation based on the above-described equation (2), the cutoff scale factor SF4, the coefficient c (c> 1), and the equation (3) ) May be used to estimate the scale factor.

SF=SF4・ci−1 ・・・(3)
上述した予備圧縮とスケールファクタの推定とを繰り返し、サイズSが下限値Smin以上であり、かつ、上限値Smax以下であるような圧縮データが得られたときに、圧縮制御部23は、固定長圧縮が完了したと判断する(ステップ305の肯定判定)。これに応じて、最後に符号化部21で得られた圧縮データが記録部17に出力され(ステップ308)、また、最後に適用されたスケールファクタの値および圧縮データのサイズが、直前フレームのスケールファクタSF(old)およびサイズS(old)として圧縮制御部23の内部に保存される(ステップ309)。
SF i = SF4 · c i-1 (3)
When the pre-compression and the estimation of the scale factor described above are repeated, and the compressed data whose size S is not less than the lower limit value S min and not more than the upper limit value S max is obtained, the compression control unit 23 It is determined that the fixed length compression has been completed (Yes determination at step 305). In response to this, the compressed data finally obtained by the encoding unit 21 is output to the recording unit 17 (step 308), and the last applied scale factor value and the size of the compressed data are the same as the previous frame. The scale factor SF (old) and the size S (old) are stored in the compression control unit 23 (step 309).

なお、符号化部21によって得られた圧縮データのサイズSが下限値Smin未満である場合であって、予備圧縮に適用したスケールファクタの値が上述した下限値SFminである場合には、現フレームの画像は符号量が極端に少なくなる特徴を持っている(例えば、空を映した画像のように空間周波数の高い成分が少ない)と判断し、固定長圧縮処理が完了したと判断する。この場合も、同様に、圧縮データの出力およびスケールファクタの保存が行われる(ステップ308,309)。また、上述した打ち切りスケールファクタSF4を適用して圧縮が行われた場合に、圧縮制御部23は、圧縮データのサイズSが上限値Smax未満である場合に固定長圧縮が完了したと判断し、サイズSが上限値Smaxを超えている場合に限って、上述した式(3)を用いたスケールファクタの推定を適用してもよい。 In the case where the size S of the compressed data obtained by the encoding unit 21 is less than the lower limit value S min and the scale factor value applied to the pre-compression is the above-described lower limit value SF min , It is determined that the current frame image has a characteristic that the code amount is extremely small (for example, there are few components with high spatial frequency like an image showing the sky), and it is determined that the fixed-length compression processing has been completed. . In this case as well, the compressed data is output and the scale factor is stored (steps 308 and 309). In addition, when compression is performed by applying the truncation scale factor SF4 described above, the compression control unit 23 determines that the fixed length compression is completed when the size S of the compressed data is less than the upper limit value Smax. Only when the size S exceeds the upper limit value Smax , the estimation of the scale factor using the above-described equation (3) may be applied.

その後、制御部18を介して撮影を終了する旨が指示されない限り、圧縮制御部23は、ステップ310の否定判定としてステップ301に戻り、新たなフレームに対応する撮影条件に関する情報を受け取って、このフレームについての圧縮処理を開始する。
この新たなフレームに対応して受け取った情報に基づいて、モード判定部24により、連写モードを適用すべきである旨の判定結果が得られた場合に(ステップ302の肯定判定)、圧縮制御部23からの指示に応じて、パラメータ推定部22により、スケールファクタの初期値の推定処理が行われる(ステップ311)。
Thereafter, unless an instruction to end shooting is given through the control unit 18, the compression control unit 23 returns to step 301 as a negative determination in step 310, receives information on the shooting conditions corresponding to the new frame, and The compression process for the frame is started.
Based on the information received corresponding to the new frame, when the mode determination unit 24 obtains a determination result indicating that the continuous shooting mode should be applied (positive determination in step 302), the compression control In response to an instruction from the unit 23, the parameter estimation unit 22 performs an estimation process of the initial value of the scale factor (step 311).

このときパラメータ推定部22は、直前フレームの圧縮処理のステップ309において保存されたスケールファクタSF(old)およびサイズS(old)と、目標サイズTsと、適切に決定された係数aと、上述した式(1)とを用いて、現フレームのスケールファクタSF(new)を推定し、この値をスケールファクタの初期値SF11として圧縮制御部23に返す。ここで、上述した係数aの値は、様々な特徴を持つ画像について予め集積された情報を統計的に解析することによってスケールファクタと圧縮データのサイズとについて得られた関係に基づいて、例えば、個々の画像について得られた関係を示すパラメータの平均値を算出することによって決定され、スケールファクタの初期値SF11の推定処理に供される。   At this time, the parameter estimation unit 22 stores the scale factor SF (old) and size S (old) stored in step 309 of the compression process of the immediately preceding frame, the target size Ts, the coefficient a determined appropriately, and the above-described value. Using equation (1), the scale factor SF (new) of the current frame is estimated, and this value is returned to the compression control unit 23 as the initial value SF11 of the scale factor. Here, the value of the coefficient a described above is based on the relationship obtained for the scale factor and the size of the compressed data by statistically analyzing information accumulated in advance for images having various characteristics, for example, It is determined by calculating an average value of parameters indicating the relationship obtained for each image, and is used for estimation processing of the initial value SF11 of the scale factor.

このようにして、推定されたスケールファクタの初期値SF11は、前のフレームに対応する画像の特徴を反映しており、また、前のフレームの圧縮データと目標サイズとの比に基づいて調整されている。したがって、現フレームの画像と直前フレームの画像とが類似している場合には、上述したようにして推定されたスケールファクタSF11をステップ304における圧縮処理に適用することにより、ほぼ確実にサイズが許容範囲内に収まる圧縮データを得ることができる。したがって、この場合は、上述したようにして推定したスケールファクタSF11を適用した唯一回の圧縮結果を本圧縮結果として利用することができ、この圧縮結果として得られた圧縮データが記録部に出力され(ステップ308)、また、このスケールファクタSF11と圧縮データのサイズSとが、次のフレームにおける圧縮処理のために保存される(ステップ309)。   Thus, the estimated initial value SF11 of the scale factor reflects the characteristics of the image corresponding to the previous frame, and is adjusted based on the ratio between the compressed data of the previous frame and the target size. ing. Therefore, when the image of the current frame is similar to the image of the immediately preceding frame, the scale factor SF11 estimated as described above is applied to the compression processing in step 304, so that the size is almost certainly allowed. Compressed data that falls within the range can be obtained. Therefore, in this case, the compression result obtained by applying the scale factor SF11 estimated as described above can be used as the main compression result, and the compressed data obtained as the compression result is output to the recording unit. (Step 308) The scale factor SF11 and the size S of the compressed data are stored for the compression process in the next frame (Step 309).

上述したようにして連写モードを適用すべきとされた場合には、現フレームの画像と直前フレームの画像との間の類似性が高い場合が多い。したがって、連写モードが適用されている間に圧縮対象となる画像データのほとんどは、上述したようにして推定されたスケールファクタを用いた圧縮処理により固定長に圧縮される。
ここで、上述したように、前のフレームのスケールファクタをそのまま利用する代わりに、前のフレームの圧縮データと目標サイズとの比に基づいて調整してから現フレームのスケールファクタとすることにより、前の圧縮処理において得られた圧縮データのサイズと目標サイズとの誤差を現フレームの圧縮処理において補正することができる。つまり、前のフレームで得られた圧縮データのサイズが目標サイズTsよりも小さかった場合には、現フレームのスケールファクタが前のフレームよりも若干小さい値となるように調整し、逆に、目標サイズTsよりも大きかった場合には、現フレームのスケールファクタが前のフレームよりも若干大きい値となるように調整する。このような補正を行うことにより、連続的に撮影される複数の画像の特徴が少しずつ変化している場合などに、その変化にスケールファクタの値を追従させることができる。これにより、現フレームに関する圧縮処理で得られる圧縮データのサイズをより目標サイズTsに近づけ、高速でしかも精度の高い固定長圧縮を実現することができる。
When the continuous shooting mode is to be applied as described above, the similarity between the current frame image and the previous frame image is often high. Therefore, most of the image data to be compressed while the continuous shooting mode is applied is compressed to a fixed length by the compression process using the scale factor estimated as described above.
Here, as described above, instead of using the scale factor of the previous frame as it is, by adjusting based on the ratio between the compressed data of the previous frame and the target size, the scale factor of the current frame is obtained. An error between the size of the compressed data obtained in the previous compression process and the target size can be corrected in the compression process for the current frame. That is, when the size of the compressed data obtained in the previous frame is smaller than the target size Ts, the scale factor of the current frame is adjusted to be slightly smaller than that of the previous frame. If it is larger than the size Ts, the scale factor of the current frame is adjusted to be slightly larger than the previous frame. By performing such correction, when the characteristics of a plurality of continuously shot images are changing little by little, the scale factor value can follow the change. As a result, the size of the compressed data obtained by the compression processing for the current frame can be made closer to the target size Ts, and high-speed and high-precision fixed-length compression can be realized.

更に、現フレームに関する圧縮データのサイズについての目標値Ts´を、画質設定に対応する目標サイズTsと前フレームの圧縮データサイズS(old)とに応じて調整することも可能である。例えば、式(4)のように表される目標値Ts´を画質設定に対応する目標サイズTsの代わりに式(1)に代入してスケールファクタを推定すれば、前のフレームの圧縮データのサイズと目標サイズとの誤差を、確実に現フレームにおける圧縮処理において吸収し、連写モードが適用されている期間において圧縮処理に対象となる多数の画像データに対応して得られる圧縮データのサイズの平均値を高い精度で目標サイズに収束させることができる。   Furthermore, the target value Ts ′ for the size of the compressed data relating to the current frame can be adjusted according to the target size Ts corresponding to the image quality setting and the compressed data size S (old) of the previous frame. For example, if the scale factor is estimated by substituting the target value Ts ′ represented by the equation (4) into the equation (1) instead of the target size Ts corresponding to the image quality setting, the compressed data of the previous frame The size of the compressed data obtained in correspondence with the large number of image data that is the target of compression processing during the period when the continuous shooting mode is applied. Can be converged to the target size with high accuracy.

Ts´=2Ts−S(old) ・・・(4)
一方、連写モードが適用される場合であっても、直前のフレームの画像の特徴と現フレームの画像の特徴とが大きく異なってしまう場合があり、このような場合には、上述したようにして推定されたスケールファクタSF11では圧縮データのサイズSと目標サイズTsとの間に無視できない誤差が生じる可能性がある。
Ts ′ = 2Ts−S (old) (4)
On the other hand, even when the continuous shooting mode is applied, the characteristics of the image of the previous frame may be greatly different from the characteristics of the image of the current frame. In such a case, as described above. In the estimated scale factor SF11, there is a possibility that a non-negligible error may occur between the compressed data size S and the target size Ts.

このような場合に、ステップ303で推定されたスケールファクタSF11を用いた圧縮処理で得られた圧縮データを予備圧縮結果として、上述した個別モードの圧縮処理と同様にステップ304からステップ307を繰り返してスケールファクタSFの最適値を推定し、推定されたスケールファクタを適用して得られた圧縮データを本圧縮結果として記録部17に出力することにより、連写モード中に起こりうる撮影シーンの比較的大きな変化にも柔軟に対応しつつ、固定長圧縮を実現することができる。このとき、パラメータ推定部22は、式(2)のスケールファクタの初期値SF1を上述したステップ311で推定されたスケールファクタの初期値SF11に置き換えた式(下式(5))を用いて、i回目の推定パラメータの推定処理を行う。   In such a case, step 304 to step 307 are repeated in the same manner as in the individual mode compression processing described above, using the compressed data obtained by the compression processing using the scale factor SF11 estimated in step 303 as a preliminary compression result. The optimum value of the scale factor SF is estimated, and the compressed data obtained by applying the estimated scale factor is output to the recording unit 17 as the main compression result. Fixed length compression can be realized while flexibly responding to large changes. At this time, the parameter estimation unit 22 uses the equation (the following equation (5)) in which the initial value SF1 of the scale factor in equation (2) is replaced with the initial value SF11 of the scale factor estimated in step 311 described above. The i-th estimation parameter estimation process is performed.

SF=(S/Ts)(−1/ai)・SF11 ・・・(5)
もちろん、このように予備圧縮を繰り返すことにより、該当するフレームに関する圧縮処理に要する時間はステップ311で推定されたスケールファクタをそのまま利用できる場合に比べて長くなってしまう。しかしながら、このような処理が必要とされるフレームは、連写モードが適用されている期間に撮影される多数の画像の中のほんの一部であるから、全体としての平均処理時間は、十分に連続撮影の際の撮影間隔内に収めることが可能である。したがって、連続撮影中に起こりうる画像の特徴の変化に柔軟に対応して固定長圧縮を保証可能としたことによるメリットのほうが大きい。
(第2の実施形態)
図4に、本発明にかかわる圧縮処理部の別構成例を示す。
SF i = (S 1 / Ts) (−1 / ai) · SF11 (5)
Of course, by repeating the preliminary compression in this way, the time required for the compression processing for the corresponding frame becomes longer than the case where the scale factor estimated in step 311 can be used as it is. However, since the frames that require such processing are only a part of many images that are taken during the period when the continuous shooting mode is applied, the average processing time as a whole is sufficiently high. It is possible to fit within the shooting interval for continuous shooting. Therefore, the advantage of having fixed length compression guaranteed by flexibly responding to changes in image characteristics that may occur during continuous shooting is greater.
(Second Embodiment)
FIG. 4 shows another configuration example of the compression processing unit according to the present invention.

図4に示した圧縮処理部16において、係数テーブル25は、個別モードでのスケールファクタの推定に用いられる標準的な係数aの系列に加えて、連写モードのスケールファクタの推定に用いる係数aの系列を、上述したステップ311の推定処理によってスケールファクタの初期値として得られる値について設定した複数の区間ごとに格納している。 In the compression processing unit 16 shown in FIG. 4, the coefficient table 25 includes coefficients used for estimating the scale factor in the continuous shooting mode in addition to the standard coefficient a i series used for estimating the scale factor in the individual mode. The series of a i is stored for each of the plurality of sections set for the value obtained as the initial value of the scale factor by the estimation process in step 311 described above.

様々な特徴を持つ画像データについて蓄積されたデータから、スケールファクタの値と圧縮データのサイズとの間には、図5(a)に示すような関係があることが知られている。図5(a)から分かるように、スケールファクタの値の増大に伴って、圧縮データのサイズは単調に減少しているが、圧縮データのサイズとスケールファクタとの関係を示すグラフはいくつかの変曲点を持っている。   From the data accumulated for image data having various characteristics, it is known that there is a relationship as shown in FIG. 5A between the value of the scale factor and the size of the compressed data. As can be seen from FIG. 5A, as the scale factor value increases, the size of the compressed data decreases monotonously, but there are several graphs showing the relationship between the compressed data size and the scale factor. Has an inflection point.

したがって、上述した変曲点でスケールファクタを区切って得られる区間ごとに、スケールファクタの変化に対する圧縮データサイズの変化の傾きを示す係数aの値を切り替えることにより、より高い精度で適切なスケールファクタを推定することが可能である。
例えば、図5(a)に示したように、圧縮データのサイズとスケールファクタとの関係を示すグラフに3つの変曲点が現れている場合は、これらの変曲点でスケールファクタの値を区切って得られる4つの区間について、代表的な特徴を持つ複数の画像に関するグラフのそれぞれの区間における傾きが、係数aの系列として係数テーブル25に格納される。つまり、係数テーブル25には、図5(b)に示すように、係数aS2、aS3からなる標準的な系列とともに、区間1から区間4のそれぞれに対応する係数aの系列が格納される。なお、図5(b)においては、区間jにスケールファクタの初期値SF11が属している場合のi番目の推定値SFiの推定に用いられる係数を添え字j、iを付して示した。
Therefore, for each section obtained by dividing the scale factor at the inflection point described above, an appropriate scale factor can be obtained with higher accuracy by switching the value of the coefficient a indicating the slope of the change in the compressed data size with respect to the change in the scale factor. Can be estimated.
For example, as shown in FIG. 5A, when three inflection points appear in the graph indicating the relationship between the size of the compressed data and the scale factor, the value of the scale factor is changed at these inflection points. For the four sections obtained by partitioning, the slopes in the respective sections of the graph relating to a plurality of images having representative characteristics are stored in the coefficient table 25 as a series of coefficients a i . That is, in the coefficient table 25, as shown in FIG. 5B, a series of coefficients a corresponding to each of the sections 1 to 4 is stored together with a standard series including the coefficients a S2 and a S3. . In FIG. 5B, the coefficients used for estimating the i-th estimated value SFi when the initial value SF11 of the scale factor belongs to the section j are shown with suffixes j and i.

次に、このような係数テーブル25を用いて最適なスケールファクタを推定する方法について説明する。
まず、パラメータ推定部22は、連写モードが適用されているか否かを判定し(ステップ312)、否定判定の場合は、図5(b)に示した標準系列の該当する推定回数iに対応して係数テーブル25に格納された係数aSiを選択的に読み出し(ステップ313)、この係数aSiと上述した式(2)を用いてi番目のスケールファクタを推定し(ステップ314)、圧縮制御部23を介して符号化部21の処理に供する。
Next, a method for estimating an optimum scale factor using such a coefficient table 25 will be described.
First, the parameter estimation unit 22 determines whether or not the continuous shooting mode is applied (step 312). If the determination is negative, the parameter estimation unit 22 corresponds to the estimated number of times i corresponding to the standard sequence shown in FIG. Then, the coefficient a Si stored in the coefficient table 25 is selectively read out (step 313), the i-th scale factor is estimated using this coefficient a Si and the above-described equation (2) (step 314), and compression is performed. The data is supplied to the processing of the encoding unit 21 via the control unit 23.

一方、ステップ312の肯定判定の場合に、パラメータ推定部22は、上述したステップ311で推定したスケールファクタの初期値SF11が属する区間jに対応する系列の該当する推定回数iに対応して係数テーブル25に格納された係数ajiを選択的に読み出し(ステップ313)、この係数aSiと上述した式(2)を用いてi番目のスケールファクタを推定し(ステップ314)、圧縮制御部23を介して符号化部21の処理に供する。なお、パラメータ推定部22は、スケールファクタの初期値を適用して得られた予備圧縮結果に基づいて最初にスケールファクタの推定を行うときに、上述したスケールファクタの初期値SF11と上述した変曲点に対応するスケールファクタの値とを比較することにより、この初期値SF11が属している区間jを判定し、この区間jを記憶しておき、以降の推定処理に利用することができる。 On the other hand, in the case of an affirmative determination in step 312, the parameter estimation unit 22 corresponds to the estimation number i corresponding to the series corresponding to the section j to which the initial value SF11 of the scale factor estimated in step 311 described above belongs. 25, the coefficient a ji stored in 25 is selectively read out (step 313), the i-th scale factor is estimated using the coefficient a Si and the above equation (2) (step 314), and the compression control unit 23 is To the processing of the encoding unit 21. Note that the parameter estimation unit 22 first estimates the scale factor based on the preliminary compression result obtained by applying the initial value of the scale factor, and the initial value SF11 of the scale factor described above and the inflection described above. By comparing with the value of the scale factor corresponding to the point, the section j to which the initial value SF11 belongs can be determined, and this section j can be stored and used for the subsequent estimation processing.

このようにして、連写モードでのスケールファクタの推定処理において、前のフレームのスケールファクタを利用して算出したスケールファクタの初期値に応じて適切な係数の系列を選択的に用いることにより、スケールファクタの推定精度を向上し、より高い精度で圧縮データのサイズを目標サイズに収束させることができる。   In this manner, in the estimation process of the scale factor in the continuous shooting mode, by appropriately using the appropriate coefficient series according to the initial value of the scale factor calculated using the scale factor of the previous frame, The estimation accuracy of the scale factor can be improved, and the size of the compressed data can be converged to the target size with higher accuracy.

以上に説明したように、本発明にかかわるデジタルスチルカメラは、連続撮影時などに必要とされる高速動作を実現するとともに、従来見過ごされていた画像の特徴の変化に伴うサイズの収束誤差を解消し、連続撮影された多数の画像に対応する圧縮データを確実に固定長圧縮することができる。したがって、撮影された画像の全てを画質設定に対応する目標サイズを含む所定範囲内に圧縮して記録することができるので、記憶媒体の記憶容量を無駄なく利用して、撮影されるシーンの多様性にかかわらず、記憶媒体の記憶容量と目標サイズとから求められる枚数の画像を確実に記憶媒体に記録することが可能である。つまり、記憶媒体の記憶容量を最大限に利用することができる。   As described above, the digital still camera according to the present invention realizes high-speed operation required for continuous shooting and the like, and eliminates the convergence error of the size caused by the change of the image feature that has been overlooked in the past. In addition, it is possible to reliably compress the compressed data corresponding to a large number of continuously photographed images. Accordingly, since all of the captured images can be compressed and recorded within a predetermined range including the target size corresponding to the image quality setting, the storage capacity of the storage medium can be used without waste, and various scenes can be captured. Regardless of the nature, it is possible to reliably record the number of images obtained from the storage capacity and the target size of the storage medium on the storage medium. That is, the storage capacity of the storage medium can be utilized to the maximum.

このような特徴により、本発明にかかわるデジタルスチルカメラは、より短い撮影間隔でより多くの圧縮画像を確実に記憶媒体に記録することができるので、一般的な利用者が趣味で撮影する際の要求はもちろん、セミプロやプロが職業的な撮影をする際の厳しい要求にも十分に応えることができる。   With such a feature, the digital still camera according to the present invention can reliably record more compressed images on a storage medium at a shorter shooting interval, so that a general user can take a picture as a hobby. Of course, it can fully meet the strict requirements of semi-professional and professional photography.

本発明にかかわるデジタルスチルカメラの第1の実施形態を示す図である。It is a figure which shows 1st Embodiment of the digital still camera concerning this invention. 圧縮処理部の詳細構成を示す図である。It is a figure which shows the detailed structure of a compression process part. 圧縮処理部の動作の概略を表す流れ図である。It is a flowchart showing the outline of operation | movement of a compression process part. 圧縮処理部の別構成例を示す図である。It is a figure which shows another structural example of a compression process part. パラメータ推定動作を説明する図である。It is a figure explaining parameter estimation operation. スケールファクタの最適値を推定する動作を表す流れ図である。It is a flowchart showing the operation | movement which estimates the optimal value of a scale factor.

符号の説明Explanation of symbols

11…撮影光学系、12…撮像素子、13…信号処理部、14…A/D変換部、15…画像処理部、16…圧縮処理部、17…記録部、18…制御部、19…操作パネル、20…メモリ、21…符号化部、22…パラメータ推定部、23…圧縮制御部、24…モード判定部、25…係数テーブル DESCRIPTION OF SYMBOLS 11 ... Imaging optical system, 12 ... Image sensor, 13 ... Signal processing part, 14 ... A / D conversion part, 15 ... Image processing part, 16 ... Compression processing part, 17 ... Recording part, 18 ... Control part, 19 ... Operation Panel, 20 ... Memory, 21 ... Encoding unit, 22 ... Parameter estimation unit, 23 ... Compression control unit, 24 ... Mode determination unit, 25 ... Coefficient table

Claims (10)

撮影手段によって撮影されたデジタル静止画像を表す画像データを圧縮して記録するデジタルスチルカメラにおいて、
入力画像データを圧縮するための圧縮パラメータを調整することにより、目標サイズを含む所定範囲内に圧縮された圧縮データを生成して記録処理に供する固定長圧縮手段と、
前記撮影手段によって連続的に画像が撮影されている旨の連写モードを示すモード設定指示に応じて、直前フレームの画像データに適用された直前圧縮パラメータおよび圧縮データサイズと前記目標サイズとに基づいて、現フレームの画像データについての圧縮パラメータの初期値を算出する初期値算出手段と、
前記初期値算出手段によって得られた圧縮パラメータの初期値を適用して前記目標サイズを含む所定の範囲内に圧縮された圧縮データを生成する連続圧縮手段と
を備えたことを特徴とするデジタルスチルカメラ。
In a digital still camera that compresses and records image data representing a digital still image photographed by a photographing means,
Fixed-length compression means for adjusting the compression parameters for compressing the input image data, generating compressed data compressed within a predetermined range including the target size, and using it for recording processing;
Based on the previous compression parameter and compression data size applied to the image data of the previous frame and the target size in response to a mode setting instruction indicating a continuous shooting mode indicating that images are continuously captured by the photographing unit. Initial value calculating means for calculating an initial value of the compression parameter for the image data of the current frame;
Continuous compression means for generating compressed data compressed within a predetermined range including the target size by applying an initial value of a compression parameter obtained by the initial value calculating means, camera.
請求項1に記載のデジタルスチルカメラにおいて、
前記初期値算出手段は、前記固定長圧縮手段により圧縮された直前のフレームの画像データに適用された直前圧縮パラメータおよび圧縮データサイズと前記目標サイズとに基づいて、現フレームの画像データについての圧縮パラメータの初期値を算出する
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 1.
The initial value calculating means compresses the image data of the current frame based on the immediately preceding compression parameter and the compressed data size applied to the image data of the immediately preceding frame compressed by the fixed length compressing means and the target size. A digital still camera that calculates initial values of parameters.
請求項1に記載のデジタルスチルカメラにおいて、
前記初期値算出手段は、前記連続圧縮手段により圧縮された直前のフレームの画像データに適用された直前圧縮パラメータおよび圧縮データサイズと前記目標サイズとに基づいて、現フレームの画像データについての圧縮パラメータの初期値を算出する
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 1.
The initial value calculation means includes a compression parameter for the image data of the current frame based on the immediately preceding compression parameter applied to the image data of the immediately preceding frame compressed by the continuous compression means, the compressed data size, and the target size. A digital still camera that calculates an initial value of.
請求項1に記載のデジタルスチルカメラにおいて、
前記初期値算出手段は、
直前フレームに対応して得られた圧縮データと前記目標サイズとの差分を考慮して現フレームの目標サイズを調整し、圧縮パラメータの算出処理に供するサイズ調整手段を備えた
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 1.
The initial value calculating means includes
A digital adjusting system comprising a size adjusting unit for adjusting a target size of a current frame in consideration of a difference between the compressed data obtained corresponding to the immediately preceding frame and the target size, and for use in a compression parameter calculation process. Still camera.
請求項1に記載のデジタルスチルカメラにおいて、
前記初期値算出手段は、
直前フレームに対応して得られた圧縮データのサイズと前記目標サイズとの比に基づいて、前記直前フレームに対応して得られた圧縮パラメータから現フレームの圧縮パラメータを算出するためのパラメータを調整する調整手段と、
前記調整されたパラメータを直前フレームにおいて圧縮パラメータとして適用されたスケールファクタに乗じることにより、現フレームのスケールファクタを求め、このスケールファクタを連続圧縮手段の処理に供する乗算手段とを備えた
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 1.
The initial value calculating means includes
Based on the ratio between the compressed data size obtained for the immediately preceding frame and the target size, the parameter for calculating the compression parameter for the current frame from the compression parameters obtained for the immediately preceding frame is adjusted. Adjusting means to
Multiplying means for obtaining the scale factor of the current frame by multiplying the adjusted parameter by the scale factor applied as the compression parameter in the immediately preceding frame, and providing the scale factor to the processing of the continuous compression means. Digital still camera.
請求項1に記載のデジタルスチルカメラにおいて、
前記連続圧縮手段はさらに、
前記初期値算出手段によって算出された圧縮パラメータの初期値を適用して得られた圧縮データのサイズと前記目標サイズとの差が許容範囲内であるか否かを判定する判定手段と、
前記圧縮データのサイズと目標サイズとの差が許容範囲を超えている旨の判定結果に応じて、前記初期値および前記初期値を適用して得られた圧縮データのサイズと前記目標サイズとを用いて最適な圧縮パラメータを推定し、推定した圧縮パラメータを適用して前記画像データの圧縮データを生成する再圧縮手段とを備えた
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 1.
The continuous compression means further includes
Determining means for determining whether a difference between the size of the compressed data obtained by applying the initial value of the compression parameter calculated by the initial value calculating means and the target size is within an allowable range;
In accordance with a determination result that the difference between the size of the compressed data and the target size exceeds an allowable range, the initial value and the size of the compressed data obtained by applying the initial value and the target size are A digital still camera, comprising: a recompression unit that estimates an optimal compression parameter by using the compression parameter and generates compressed data of the image data by applying the estimated compression parameter.
請求項6に記載のデジタルスチルカメラにおいて、
前記再圧縮手段は、
前記圧縮データのサイズと目標サイズとの差が許容範囲を超えている旨の判定結果に応じて、前記圧縮パラメータの初期値に基づいて、適切な調整パラメータを選択する選択手段を備え、
前記選択手段によって選択された調整パラメータと前記圧縮パラメータの初期値と前記初期値を適用して得られた圧縮データのサイズと前記目標サイズとを用いて最適な圧縮パラメータを推定し、推定した圧縮パラメータを適用して前記画像データの圧縮データを生成する
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 6.
The recompression means includes
In accordance with a determination result that the difference between the size of the compressed data and the target size exceeds an allowable range, a selection unit that selects an appropriate adjustment parameter based on an initial value of the compression parameter,
The optimal compression parameter is estimated using the adjustment parameter selected by the selection means, the initial value of the compression parameter, the size of the compressed data obtained by applying the initial value, and the target size, and the estimated compression A digital still camera, wherein compressed data of the image data is generated by applying a parameter.
請求項1に記載のデジタルスチルカメラにおいて、
前記撮影手段による撮影処理にかかわる撮影条件を示す情報を収集する情報収集手段と、
前記情報収集手段によって収集された情報に基づいて、前記撮影手段が連続的な撮影処理を行っていると判断したときに、連写モードを示す前記モード設定指示を前記パラメータ算出手段および前記入力制御手段に入力するモード設定手段とを備えた
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 1.
Information collecting means for collecting information indicating photographing conditions related to photographing processing by the photographing means;
Based on the information collected by the information collecting means, when it is determined that the photographing means is performing continuous photographing processing, the mode setting instruction indicating the continuous photographing mode is transmitted to the parameter calculating means and the input control. A digital still camera comprising mode setting means for inputting to the means.
請求項8に記載のデジタルスチルカメラにおいて、
前記情報収集手段は、前記撮影手段による画像データの取得に関する時間間隔を、撮影条件を示す情報として収集する間隔収集手段を備え、
前記モード設定手段は、前記時間間隔が所定の閾値以下であるときに、前記撮影手段が連続的な撮影処理を行っていると判断する間隔判断手段を備えた
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 8.
The information collecting means includes an interval collecting means for collecting a time interval related to acquisition of image data by the photographing means as information indicating photographing conditions,
The digital still camera according to claim 1, wherein the mode setting unit includes an interval determination unit that determines that the imaging unit is performing continuous imaging processing when the time interval is equal to or less than a predetermined threshold.
請求項8に記載のデジタルスチルカメラにおいて、
前記情報収集手段は、撮影条件を示す情報として、前記撮影手段によって取得される画像データそれぞれについて撮影感度を収集する感度収集手段を備え、
前記モード設定手段は、前記感度収集手段によって現フレームについて収集された撮影感度と前フレームに対応する撮影感度との差が所定の閾値以下であるときに、前記撮影手段が連続的な撮影処理を行っていると判断する感度判断手段を備えた
ことを特徴とするデジタルスチルカメラ。
The digital still camera according to claim 8.
The information collecting means includes sensitivity collecting means for collecting photographing sensitivity for each of the image data acquired by the photographing means as information indicating photographing conditions,
When the difference between the imaging sensitivity collected for the current frame by the sensitivity collection unit and the imaging sensitivity corresponding to the previous frame is equal to or less than a predetermined threshold, the mode setting unit performs continuous imaging processing. A digital still camera characterized by having a sensitivity judgment means for judging that it is in progress.
JP2005332184A 2005-11-16 2005-11-16 Digital still camera Expired - Fee Related JP4844094B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005332184A JP4844094B2 (en) 2005-11-16 2005-11-16 Digital still camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005332184A JP4844094B2 (en) 2005-11-16 2005-11-16 Digital still camera

Publications (2)

Publication Number Publication Date
JP2007142683A true JP2007142683A (en) 2007-06-07
JP4844094B2 JP4844094B2 (en) 2011-12-21

Family

ID=38205038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005332184A Expired - Fee Related JP4844094B2 (en) 2005-11-16 2005-11-16 Digital still camera

Country Status (1)

Country Link
JP (1) JP4844094B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114692A (en) * 2010-11-25 2012-06-14 Casio Comput Co Ltd Imaging device, imaging control method, and program
CN113709167A (en) * 2021-08-30 2021-11-26 杭州百子尖科技股份有限公司 Compression transmission method of appearance detection data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03291081A (en) * 1990-04-09 1991-12-20 Matsushita Electric Ind Co Ltd Picture data compression device
JPH118832A (en) * 1997-06-17 1999-01-12 Nikon Corp Image processor
JP2003189305A (en) * 2001-12-19 2003-07-04 Olympus Optical Co Ltd Image processing apparatus
JP2004215156A (en) * 2003-01-08 2004-07-29 Matsushita Electric Ind Co Ltd Imaging apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03291081A (en) * 1990-04-09 1991-12-20 Matsushita Electric Ind Co Ltd Picture data compression device
JPH118832A (en) * 1997-06-17 1999-01-12 Nikon Corp Image processor
JP2003189305A (en) * 2001-12-19 2003-07-04 Olympus Optical Co Ltd Image processing apparatus
JP2004215156A (en) * 2003-01-08 2004-07-29 Matsushita Electric Ind Co Ltd Imaging apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114692A (en) * 2010-11-25 2012-06-14 Casio Comput Co Ltd Imaging device, imaging control method, and program
US8466986B2 (en) 2010-11-25 2013-06-18 Casio Computer Co., Ltd. Image capturing apparatus, image capturing control method, and storage medium storing program for image capturing
CN113709167A (en) * 2021-08-30 2021-11-26 杭州百子尖科技股份有限公司 Compression transmission method of appearance detection data

Also Published As

Publication number Publication date
JP4844094B2 (en) 2011-12-21

Similar Documents

Publication Publication Date Title
JP4835176B2 (en) Digital still camera
KR20100028399A (en) Digital camera for varying frame rate and the controlling method thereof
JP5126207B2 (en) Imaging device
US11321390B2 (en) Video data generation apparatus, video data generation method, and program
JP4407055B2 (en) Electronic camera
JP4844094B2 (en) Digital still camera
JP5111317B2 (en) Digital camera
JP4631629B2 (en) Electronic camera and image processing program
JP4725217B2 (en) Imaging device
JP6699707B2 (en) Image compression device and program
JP2005260467A (en) Image processor
JP5811076B2 (en) Movie recording apparatus, movie recording method, and program
JP6593417B2 (en) Image compression apparatus and program
JP2009065619A (en) Camera-shake correcting device and imaging apparatus
JP2006254308A (en) Video recording apparatus and video recording method
JP2008306334A (en) Moving image file creation method and moving image imaging apparatus using same
CN112752019B (en) Image pickup apparatus, image processing apparatus, and storage medium
JP2008244940A (en) Digital camera and control method thereof
JP2001169280A (en) Image compression device, image compression method and storage medium
JP4253839B2 (en) Image compression method, image compression program, image compression apparatus, and digital camera
JP2992904B2 (en) Digital image signal recording device
JP5600935B2 (en) Image recording apparatus, image recording method, and image recording program
JP4423214B2 (en) Image processing device
JPH09284767A (en) Picture compression system and picture compression method
JP5355234B2 (en) Encoding apparatus and encoding method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110808

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

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

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

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4844094

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees