JP3263674B2 - Digital camera - Google Patents

Digital camera

Info

Publication number
JP3263674B2
JP3263674B2 JP35332598A JP35332598A JP3263674B2 JP 3263674 B2 JP3263674 B2 JP 3263674B2 JP 35332598 A JP35332598 A JP 35332598A JP 35332598 A JP35332598 A JP 35332598A JP 3263674 B2 JP3263674 B2 JP 3263674B2
Authority
JP
Japan
Prior art keywords
compression
compression ratio
still image
screen
compressed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35332598A
Other languages
Japanese (ja)
Other versions
JP2000184330A (en
Inventor
大輔 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP35332598A priority Critical patent/JP3263674B2/en
Publication of JP2000184330A publication Critical patent/JP2000184330A/en
Application granted granted Critical
Publication of JP3263674B2 publication Critical patent/JP3263674B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明はディジタルカメラに関
し、特にたとえば撮影された画像を個別に圧縮して記録
する、ディジタルカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital camera, and more particularly, to a digital camera for individually compressing and recording a captured image, for example.

【0002】[0002]

【従来の技術】従来のこの種のディジタルカメラでは、
動画像を形成する複数の静止画像をいわゆるモーション
JPEGで圧縮する場合、圧縮率は常に一定であった。
2. Description of the Related Art In a conventional digital camera of this type,
When a plurality of still images forming a moving image are compressed by so-called motion JPEG, the compression ratio is always constant.

【0003】[0003]

【発明が解決しようとする課題】この従来技術では、高
品質な静止画像を得るために圧縮率を低くすると、ファ
イルサイズが大きくなり、長時間記録するとデータ量が
肥大化してしまう。一方、圧縮率を高くするとファイル
サイズは小さくなるが、各静止画像の画質が劣化してし
まい、特にスチル再生時に劣化が際立つという問題があ
った。
In this prior art, if the compression ratio is lowered to obtain a high-quality still image, the file size becomes large, and the data amount becomes large when recorded for a long time. On the other hand, when the compression ratio is increased, the file size is reduced, but the image quality of each still image is deteriorated, and there is a problem that deterioration is particularly noticeable during still reproduction.

【0004】それゆえに、この発明の主たる目的は、デ
ータ量を抑えることができ、かつスチル再生時の画質を
向上させることができる、ディジタルカメラを提供する
ことである。
[0004] Therefore, a main object of the present invention is to provide a digital camera capable of suppressing the amount of data and improving the image quality during still reproduction.

【0005】[0005]

【課題を解決するための手段】第1の発明は、動画像を
形成する複数画面の静止画像信号を取り込む取り込み手
段、互いに異なる複数のサイズ値の各々を画面毎に有効
化する有効化手段、および複数画面の静止画像信号を有
効化手段によって有効化されたサイズ値を目標として個
別に圧縮する圧縮手段を備える、ディジタルカメラであ
る。第2の発明は、動画像を形成する複数画面の静止画
像信号を取り込む取り込み手段、互いに異なる複数のサ
イズ値の各々を画面毎に有効化する有効化手段、および
複数画面の静止画像信号を有効化手段によって有効化さ
れたサイズ値を目標として個別に圧縮する圧縮手段を備
える、画像圧縮装置である。 第3の発明は、撮影指示に
応答して1画面分の画像を撮影する静止画像モードと撮
影指示に応答して複数画面分の画像を連続して撮影する
動画像モードとを有するディジタルカメラにおいて
止画像モードが設定されたとき第1圧縮率を有効化する
第1有効化手段動画像モードが設定されたとき第1圧
縮率ならびに第1圧縮率よりも高い第2圧縮率を画面に
よって選択的に有効化する第2有効化手段、および第1
有効化手段または第2有効化手段によって有効化された
圧縮率に基づいて各画面の撮影画像信号を個別に圧縮す
る圧縮手段を備えることを特徴とする、ディジタルカメ
ラである。第4の発明は、取り込み指示に応答して1画
面分の画像を取り込む静止画像モードと取り込み指示に
応答して複数画面分の画像を連続して取り込む動画像モ
ードとを有する画像圧縮装置において、静止画像モード
が設定されたとき第1圧縮率を有効化する第1有効化手
段、動画像モードが設定されたとき第1圧縮率ならびに
第1圧縮率よりも高い第2圧縮率を画面によって選択的
に有効化する第2有効化手段、および第1有効化手段ま
たは第2有効化手段によって有効化された圧縮率に基づ
いて各画面の画像信号を個別に圧縮する圧縮手段を備え
ることを特徴とする、画像圧縮装置である。
According to a first aspect of the present invention, a moving image is generated .
Capturer for capturing still image signals of multiple screens to be formed
Column, each of multiple different size values is enabled for each screen
Activating means, and a multiple-screen still image signal.
Target the size value activated by the activation
This is a digital camera provided with compression means for separately performing compression . A second invention is a multi-screen still image forming a moving image.
Capturing means for capturing an image signal;
Enabling means for enabling each of the size values for each screen, and
The still image signal of multiple screens is activated by the activation means.
Compression means for individually compressing the target size value.
This is an image compression device. The third invention provides a shooting instruction
Still image mode for taking a picture of one screen in response
Continuously capture images for multiple screens in response to a shadow instruction
In the digital camera having a moving image mode, the first enabling means for enabling the first compression rate when the still image mode is set, than the first compression rate and the first compression ratio when the video image mode is set High second compression ratio on the screen
Therefore, the second enabling means for selectively enabling and the first enabling means
Activated by the activating means or the second activating means
The captured image signal of each screen is individually compressed based on the compression ratio.
A digital camera characterized by comprising compression means . According to a fourth aspect of the present invention, one image is
In still image mode to capture images of planes and instruction to capture
Responds to a moving image mode that continuously captures images for multiple screens in response.
In the image compression apparatus having the
First activation method that activates the first compression ratio when is set
When the moving image mode is set, the first compression ratio and
Select a second compression ratio higher than the first compression ratio depending on the screen
To the second activation means and to the first activation means.
Or based on the compression ratio activated by the second activation means.
And compression means for individually compressing the image signal of each screen.
An image compression apparatus characterized in that:

【0006】[0006]

【作用】第1設定手段は、1画面分の画像を撮影する静
止画像モードを設定する。静止画像モードにおいて、第
1有効化手段は第1圧縮率を有効化する。また、第2設
定手段は、連続する複数画面分の画像を撮影する動画像
モードを設定する。動画像モードにおいて、第2有効化
手段は第1圧縮率ならびに第1圧縮率より大きい第2圧
縮率を選択的に有効化する。
The first setting means sets a still image mode for photographing an image for one screen. In the still image mode, the first activating means activates the first compression ratio. Further, the second setting means sets a moving image mode in which images for a plurality of continuous screens are captured. In the moving image mode, the second activating means selectively activates the first compression ratio and the second compression ratio higher than the first compression ratio.

【0007】この発明の或る局面では、動画像モードに
おいて、第2有効化手段は前記第1圧縮率を所定画面数
毎に有効化する。この発明の或る実施例では、第2有効
化手段は先頭の画像および末尾の画像を圧縮するときに
も第1圧縮率を有効化する。この発明の他の実施例で
は、動画像モードにおいて、補正手段は前回の第2圧縮
率、目標の圧縮データサイズおよび今回の圧縮データサ
イズに基づいて第2圧縮率を補正する。
In one aspect of the present invention, in the moving image mode, the second activating means activates the first compression ratio every predetermined number of screens. In one embodiment of the present invention, the second validating means validates the first compression ratio when compressing the first image and the last image. According to another embodiment of the present invention, in the moving image mode, the correction unit corrects the second compression ratio based on the previous second compression ratio, the target compressed data size, and the current compressed data size.

【0008】この発明の他の局面では、第3設定手段は
動画像をコマ送り再生するコマ送り再生モードを設定す
る。コマ送り再生モードでは、第1圧縮率で圧縮された
画像を再生するとともに、出力手段は第1圧縮率に関す
る情報を出力する。
In another aspect of the present invention, the third setting means sets a frame-by-frame playback mode for frame-by-frame playback of a moving image. In the frame-by-frame playback mode, an image compressed at the first compression rate is played back, and the output means outputs information on the first compression rate.

【0009】[0009]

【発明の効果】この発明によれば、選択的に第1圧縮率
で圧縮するので、全体のデータサイズはあまり大きくな
らない。したがって、データ量は肥大化しない。また、
第1圧縮率で圧縮した静止画像を抜き出せば、スチル再
生時の画質を向上することができる。
According to the present invention, since the data is selectively compressed at the first compression ratio, the entire data size does not become too large. Therefore, the data amount does not increase. Also,
If a still image compressed at the first compression ratio is extracted, the image quality during still reproduction can be improved.

【0010】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0011】[0011]

【実施例】図1を参照して、この実施例のディジタルカ
メラ10はCCDイメージャ12を含む。CCDイメー
ジャ12の前面には色フィルタ(図示せず)が装着さ
れ、被写体の光像はこの色フィルタを介してCCDイメ
ージャ12に照射される。モード設定スイッチ50が
“カメラ”に切り換えられると、システムコントローラ
42がカメラモードを設定する。タイミングジェネレー
タ(TG)14は、シグナルジェネレータ(SG)16
から出力される垂直同期信号および水平同期信号に基づ
いてタイミング信号を生成し、CCDイメージャ12を
プログレッシブスキャン方式で駆動する。この結果、被
写体のカメラ信号がCCDイメージャ12から出力され
る。出力されたカメラ信号は、CDS/AGC回路18
で周知のノイズ除去およびレベル調整を施され、その
後、A/D変換器16によってディジタル信号であるカ
メラデータに変換される。信号処理回路22は、A/D
変換器16から出力されたカメラデータにYUV変換を
施し、YUVデータを生成する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, a digital camera 10 of this embodiment includes a CCD imager 12. A color filter (not shown) is mounted on a front surface of the CCD imager 12, and a light image of a subject is irradiated on the CCD imager 12 through the color filter. When the mode setting switch 50 is switched to "camera", the system controller 42 sets the camera mode. The timing generator (TG) 14 includes a signal generator (SG) 16
A timing signal is generated based on a vertical synchronizing signal and a horizontal synchronizing signal output from the CPU, and the CCD imager 12 is driven by a progressive scan method. As a result, a camera signal of the subject is output from the CCD imager 12. The output camera signal is supplied to a CDS / AGC circuit 18.
Then, the noise is removed and the level is adjusted in a known manner. The signal processing circuit 22 has an A / D
The YUV conversion is performed on the camera data output from the converter 16 to generate YUV data.

【0012】生成されたYUVデータはバス24を介し
てメモリ制御回路26に与えられ、メモリ制御回路26
によってSDRAM28に書き込まれる。つまり、CC
Dイメージャ12がプログレッシブスキャン方式を採用
する一方、モニタ40はインタレーススキャン方式を採
用するため、走査方式の変換のためにYUVデータが一
時的にSDRAM28に格納される。格納されたYUV
データはその後、同じメモリ制御回路26によってイン
タレーススキャン方式で読み出され、バス24を介して
ビデオエンコーダ38に与えられる。ビデオエンコーダ
38は、入力されたYUVデータからNTSCフォーマ
ットに沿ったコンポジット映像信号を生成し、生成した
コンポジット映像信号をモニタ40に入力する。この結
果、被写体像の動画像が、リアルタイムでモニタ40に
表示される。
The generated YUV data is supplied to a memory control circuit 26 via a bus 24, and the memory control circuit 26
Is written to the SDRAM 28. That is, CC
Since the D imager 12 employs the progressive scan system, while the monitor 40 employs the interlace scan system, the YUV data is temporarily stored in the SDRAM 28 for conversion of the scan system. YUV stored
The data is then read by the same memory control circuit 26 in an interlaced scan manner and applied to the video encoder 38 via the bus 24. The video encoder 38 generates a composite video signal in accordance with the NTSC format from the input YUV data, and inputs the generated composite video signal to the monitor 40. As a result, a moving image of the subject image is displayed on the monitor 40 in real time.

【0013】モード設定スイッチ50が再生側に切り換
えられ、かつ撮影モード選択ボタン54で静止画像モー
ドが選択されると、シャッタボタン48が1回押される
毎に撮影を1回だけ行う。この静止画像モードにおい
て、オペレータがシャッタボタン48を操作すれば、操
作時のYUVデータ(静止画像データ)がSDRAM2
8に格納された時点でCCDイメージャ12が不能化さ
れる。つまり、所定の静止画像データがSDRAM28
に確保される。静止画像データはその後メモリ制御回路
26によって読み出され、JPEGコーデック30に入
力される。JPEGコーデック30はまた、CPU32
から圧縮率データを入力し、この圧縮率データに従って
静止画像データを圧縮する。
When the mode setting switch 50 is switched to the reproduction side and the still image mode is selected by the photographing mode selection button 54, photographing is performed only once each time the shutter button 48 is pressed once. In this still image mode, if the operator operates the shutter button 48, the YUV data (still image data) at the time of the operation is transferred to the SDRAM 2.
8, the CCD imager 12 is disabled. That is, the predetermined still image data is stored in the SDRAM 28
Is secured. The still image data is thereafter read by the memory control circuit 26 and input to the JPEG codec 30. The JPEG codec 30 also includes a CPU 32
, And compresses still image data according to the compression ratio data.

【0014】静止画像モードでは、静止画像データは第
1圧縮率で圧縮される。つまり、静止画像データは当初
のデータサイズに対して20%前後のサイズに圧縮され
る。圧縮された静止画像データ(圧縮画像データ)は、
メモリ制御回路26の指示に従って一旦SDRAM28
に格納される。圧縮時、CPU28は圧縮画像データの
データサイズ(圧縮データサイズ)を計算し、目標の圧
縮データサイズ(目標サイズ)Lと比較する。つまり、
20±3%に設定された目標サイズLがメモリ32bに
記憶されており、計算されたデータサイズはこのような
目標サイズLと比較される。CPU32は、比較結果に
基づいてJPEGコーデック30に圧縮率の変更を指示
する。静止画像データは変更された圧縮率で再圧縮され
る。これによって得られた圧縮画像データはSDRAM
28に一旦格納され、その後I/F回路34を介してメ
モリカード36に記憶される。
In the still image mode, still image data is compressed at a first compression ratio. That is, the still image data is compressed to a size of about 20% of the original data size. The compressed still image data (compressed image data)
According to the instruction of the memory control circuit 26, once the SDRAM 28
Is stored in At the time of compression, the CPU 28 calculates the data size (compressed data size) of the compressed image data and compares it with the target compressed data size (target size) L. That is,
The target size L set to 20 ± 3% is stored in the memory 32b, and the calculated data size is compared with such a target size L. The CPU 32 instructs the JPEG codec 30 to change the compression ratio based on the comparison result. Still image data is recompressed at the changed compression ratio. The compressed image data obtained by this is SDRAM
28, and then stored in the memory card 36 via the I / F circuit 34.

【0015】このような動作を、CPU32は図2に示
すフロー図に従って処理する。静止画像モードが選択さ
れ、かつシャッタボタン48が押されるとCPU32は
処理を開始し、ステップS1で第1圧縮率をJPEGコ
ーデック30に設定する。静止画像データは第1圧縮率
でJPEG圧縮され、圧縮画像データはSDRAM28
に一旦格納される。続くステップS3では、圧縮データ
サイズを計算し、ステップS5で目標サイズLと比較し
て第1圧縮率を変更する。つまり、ステップS1〜S5
によって第1圧縮率が有効化される。ステップS7で
は、変更した第1圧縮率データをJPEGコーデック3
0に再度設定する。JPEGコーデック30は、SDR
AM28に格納されている圧縮前の静止画像データを更
新後の第1圧縮率で再度JPEG圧縮する。これによっ
て得られた圧縮画像データはSDRAM28に与えら
れ、1回目のJPEG圧縮で得られた圧縮画像データに
上書きされる。続くステップS9では、圧縮静止画像デ
ータをメモリカード36に記憶し、リターンする。
The CPU 32 processes such an operation according to a flowchart shown in FIG. When the still image mode is selected and the shutter button 48 is pressed, the CPU 32 starts processing, and sets the first compression ratio to the JPEG codec 30 in step S1. The still image data is JPEG-compressed at the first compression ratio, and the compressed image data is
Is stored once. In the following step S3, the compressed data size is calculated, and in step S5, the first compression ratio is changed by comparing with the target size L. That is, steps S1 to S5
Activates the first compression ratio. In step S7, the changed first compression ratio data is
Set to 0 again. The JPEG codec 30 uses SDR
The still image data before compression stored in the AM 28 is JPEG-compressed again at the updated first compression ratio. The compressed image data obtained in this way is supplied to the SDRAM 28 and overwritten on the compressed image data obtained in the first JPEG compression. In a succeeding step S9, the compressed still image data is stored in the memory card 36, and the process returns.

【0016】また、撮影モード選択ボタン54で動画像
モードが選択され、オペレータがシャッタボタン48を
操作すれば、被写体の動画像がメモリカード36に記録
される。具体的には、オペレータがシャッタボタン48
を1回押すと、CPU32がJPEGコーデック30に
圧縮率を設定する。一方、メモリ制御回路26は、SD
RAM28から1フレーム分のYUVデータつまり1画
面分の静止画像データを読み出し、JPEGコーデック
30に与える。このため、JPEGコーデック30で
は、1回の圧縮処理によって1画面分の圧縮画像データ
が生成され、生成された圧縮画像データはSDRAM2
8に一時的に格納される。
When the moving image mode is selected by the photographing mode selection button 54 and the operator operates the shutter button 48, the moving image of the subject is recorded on the memory card 36. Specifically, the operator presses the shutter button 48
Is pressed once, the CPU 32 sets the compression rate in the JPEG codec 30. On the other hand, the memory control circuit 26
The YUV data for one frame, that is, the still image data for one screen, is read from the RAM 28 and supplied to the JPEG codec 30. Therefore, in the JPEG codec 30, compressed image data for one screen is generated by one compression process, and the generated compressed image data is stored in the SDRAM2.
8 is temporarily stored.

【0017】オペレータによってシャッタボタン48が
再度押されない限り、CPU32はJPEGコーデック
30に圧縮率を繰り返し設定する。これによって、複数
の圧縮画像データが生成され、SDRAM28に蓄積さ
れていく。シャッタボタン48が押されると、CPU3
2はCCDイメージャ12を不能化し、撮影動作を中止
する。メモリ制御回路26は、SDRAM28に格納さ
れた複数画面分の静止画像データをまとめて読み出す。
読み出された複数画面分の静止画像データつまり動画像
データは、I/F回路34を介してメモリカード36に
記録される。なお、複数画面分の静止画像データに順次
JPEG圧縮を施して動画像データを作成する手法は、
モーションJPEGと呼ばれる周知の手法である。
Unless the shutter button 48 is pressed again by the operator, the CPU 32 repeatedly sets the compression rate in the JPEG codec 30. As a result, a plurality of compressed image data are generated and accumulated in the SDRAM 28. When the shutter button 48 is pressed, the CPU 3
2 disables the CCD imager 12 and stops the photographing operation. The memory control circuit 26 collectively reads still image data for a plurality of screens stored in the SDRAM 28.
The read still image data for a plurality of screens, that is, moving image data, is recorded on the memory card 36 via the I / F circuit 34. A method of sequentially performing JPEG compression on still image data for a plurality of screens to create moving image data is as follows.
This is a well-known technique called motion JPEG.

【0018】詳しく説明すると、CPU32にはカウン
タ32aが設けられ、カウンタ32aは複数画面分の静
止画像データをカウントする。動画像モードが選択さ
れ、シャッタボタン48が押されると、カウンタ32a
はリセットされ、CPU32の指示に従ってJPEGコ
ーデック30は第2圧縮率に設定される。この実施例で
は、静止画像データは第2圧縮率で圧縮され、当初のデ
ータサイズに対して10%前後のサイズにされる。ま
た、動画像モードにおいて、目標サイズSは10±3%
に設定され、メモリ32bに記憶される。圧縮画像デー
タは、メモリ制御回路26の指示に従ってSDRAM2
8に一旦格納される。ここで、CPU32はSDRAM
28に格納された圧縮データサイズを計算し、目標サイ
ズSと比較する。CPU32は、比較結果に基づいて第
2圧縮率を補正し、補正した第2圧縮率をJPEGコー
デック30に設定する。目標サイズSをZ、第2圧縮率
で圧縮した静止画像データのデータサイズをYとする
と、最初(前回) の圧縮率Xaに対して次回の圧縮率X
bは数1によって求められる。
More specifically, the CPU 32 is provided with a counter 32a, and the counter 32a counts still image data for a plurality of screens. When the moving image mode is selected and the shutter button 48 is pressed, the counter 32a
Is reset, and the JPEG codec 30 is set to the second compression ratio according to the instruction of the CPU 32. In this embodiment, the still image data is compressed at the second compression ratio, and is reduced to about 10% of the original data size. In the moving image mode, the target size S is 10 ± 3%.
And stored in the memory 32b. The compressed image data is stored in the SDRAM 2 in accordance with an instruction from the memory control circuit 26.
8 is stored once. Here, the CPU 32 is an SDRAM
The size of the compressed data stored in 28 is calculated and compared with the target size S. The CPU 32 corrects the second compression ratio based on the comparison result, and sets the corrected second compression ratio in the JPEG codec 30. Assuming that the target size S is Z and the data size of the still image data compressed at the second compression ratio is Y, the next (or previous) compression ratio Xa is the next compression ratio Xa.
b is obtained by Equation 1.

【0019】[0019]

【数1】Xb=(Y/Z)×Xa また、この実施例では、図3に示すように、先頭フレー
ム、末尾フレームおよび4の倍数(4×i番目;iは自
然数である。)のフレームの静止画像データは第2圧縮
率よりも小さい第1圧縮率で圧縮される。圧縮後のデー
タサイズは、当初のデータサイズの20%前後とされ
る。先頭フレーム、末尾フレームおよび4の倍数のフレ
ームの静止画像データはカウンタ32aのカウント値に
基づいてCPU32によって検出され、CPU32はカ
ウント値に応じて第2圧縮率を第1圧縮率に変更する。
つまり、第1圧縮率がJPEGコーデック30に設定さ
れる。先頭フレーム、末尾フレームおよび4の倍数のフ
レームは第1圧縮率で圧縮され、このとき、第1圧縮率
で圧縮された静止画像データはそのままSDRAM28
に格納される。第2圧縮率は上述の数1によって補正さ
れるが、第1圧縮率は固定である。したがって、現フレ
ームの圧縮処理に第1圧縮率が用いられた場合、前フレ
ームの第2圧縮率が数1の圧縮率Xaとされ、次のフレ
ームの第2圧縮率が数1の圧縮率Xbとされる。
Xb = (Y / Z) × Xa In this embodiment, as shown in FIG. 3, the first frame, the last frame, and a multiple of four (4 × i-th; i is a natural number). The still image data of the frame is compressed at a first compression ratio smaller than the second compression ratio. The data size after compression is about 20% of the original data size. Still image data of the first frame, the last frame, and the frame of a multiple of 4 is detected by the CPU 32 based on the count value of the counter 32a, and the CPU 32 changes the second compression ratio to the first compression ratio according to the count value.
That is, the first compression ratio is set in the JPEG codec 30. The first frame, the last frame, and frames that are multiples of 4 are compressed at the first compression ratio. At this time, the still image data compressed at the first compression ratio is directly used as the SDRAM 28.
Is stored in The second compression ratio is corrected by the above equation 1, but the first compression ratio is fixed. Therefore, when the first compression ratio is used for the compression processing of the current frame, the second compression ratio of the previous frame is set to the compression ratio Xa of Expression 1, and the second compression ratio of the next frame is set to the compression ratio Xb of Expression 1. It is said.

【0020】このような動作を、CPU32は図4に示
すフロー図に従って処理する。動画像モードが選択さ
れ、かつシャッタボタン48が押されると、CPU32
は処理を開始し、ステップS11でカウンタ32aをリ
セット(i=0)する。続くステップS13では、第2
圧縮率を決定し、ステップS15では、現フレームが先
頭フレーム、末尾フレームまたは4×i番目のフレーム
かどうかを判断する。ステップS15で、“YES”で
あれば、ステップS17で第1圧縮率を決定し、ステッ
プS19では、第1圧縮率をJPEGコーデック30に
設定する。したがって、静止画像データは第1圧縮率で
圧縮され、圧縮画像データはSDRAM28に一旦格納
され、ステップS27に進む。
The CPU 32 processes such an operation according to a flowchart shown in FIG. When the moving image mode is selected and the shutter button 48 is pressed, the CPU 32
Starts the process, and resets the counter 32a (i = 0) in step S11. In the following step S13, the second
The compression ratio is determined, and in step S15, it is determined whether the current frame is the first frame, the last frame, or the 4 × i-th frame. If “YES” in the step S15, the first compression ratio is determined in a step S17, and the first compression ratio is set in the JPEG codec 30 in a step S19. Therefore, the still image data is compressed at the first compression ratio, the compressed image data is temporarily stored in the SDRAM 28, and the process proceeds to step S27.

【0021】一方、ステップS15で“NO”であれ
ば、ステップS21ではステップS13で決定した第2
圧縮率をJPEGコーデック30に設定する。したがっ
て、静止画像データは第2圧縮率で圧縮され、圧縮画像
データはSDRAM28に一旦格納され、ステップS2
3に進む。ステップS23では、SDRAM28に一旦
格納された圧縮データサイズを算出する。続くステップ
S25では、メモリ32bに格納された目標サイズSと
計算したデータサイズとに基づいて、数1に従って次回
の圧縮率Xbを算出する。なお、変更される圧縮率は第
2圧縮のみである。このように、ステップS17とS1
3、S21〜S25で第1圧縮率および第2圧縮率が選
択的に有効化される。
On the other hand, if "NO" in the step S15, in a step S21, the second signal determined in the step S13 is determined.
The compression ratio is set in the JPEG codec 30. Therefore, the still image data is compressed at the second compression ratio, and the compressed image data is temporarily stored in the SDRAM 28, and is stored in step S2.
Proceed to 3. In step S23, the size of the compressed data once stored in the SDRAM 28 is calculated. In the following step S25, the next compression ratio Xb is calculated according to Equation 1 based on the target size S stored in the memory 32b and the calculated data size. The changed compression ratio is only the second compression. Thus, steps S17 and S1
3. In S21 to S25, the first compression ratio and the second compression ratio are selectively enabled.

【0022】ステップS27では、カウンタ32aをイ
ンクリメントし、ステップS29で撮影が終了したかど
うかを判断する。ここで、“NO”であれば、ステップ
S15に戻るが、“YES”であれば、リターンする。
モード設定スイッチ50が“動画像再生”に切り換えら
れると、システムコントローラ42によって動画像再生
モードが設定される。CPU32は、メモリカード36
から所望の動画像データを読み出し、動画像データはS
DRAM28に格納される。CPU32はさらに、JP
EGコーデック30に対して先頭の静止画像データの伸
長処理を命令する。JPEGコーデック30は、伸長命
令が1回与えられるごとに所望の静止画像データの読み
出しリクエストをメモリ制御回路26に与え、読み出さ
れた静止画像データにJPEG伸長を施す。これによっ
て、動画像再生モードが設定された直後は、動画像デー
タの先頭に収納された静止画像データが伸長される。
In step S27, the counter 32a is incremented, and it is determined in step S29 whether or not photographing has been completed. If "NO" here, the process returns to the step S15, but if "YES", the process returns.
When the mode setting switch 50 is switched to “video playback”, the video playback mode is set by the system controller 42. The CPU 32 includes a memory card 36
And reads the desired moving image data from
It is stored in the DRAM 28. The CPU 32 further executes JP
It instructs the EG codec 30 to decompress the head still image data. The JPEG codec 30 gives a request to read out desired still image data to the memory control circuit 26 every time the decompression command is given once, and performs JPEG decompression on the read still image data. As a result, immediately after the moving image reproduction mode is set, the still image data stored at the head of the moving image data is expanded.

【0023】伸長された静止画像データは、メモリ制御
回路26によって再度SDRAM28に書き込まれ、そ
の後同じメモリ制御回路26によってインタレーススキ
ャン方式で読み出される。ビデオエンコーダ38は、読
み出された静止画像データをNTSCフォーマットに従
ってコンポジット映像信号に変換する。この結果、先頭
の静止画像がモニタ40に表示される。
The expanded still image data is written into the SDRAM 28 again by the memory control circuit 26 and thereafter read out by the same memory control circuit 26 in an interlaced scan system. The video encoder 38 converts the read still image data into a composite video signal according to the NTSC format. As a result, the first still image is displayed on the monitor 40.

【0024】この状態でコマ送りボタン52が押される
と、コマ送り再生モードが設定される。コマ送り再生モ
ードでは、スタートボタン56が押される毎と、動画像
撮影モードで撮影された複数画面に対応する静止画像デ
ータが1フレーム(1コマ)ずつ再生される。なお、再
生される静止画像データはカウンタ32aでカウントさ
れる。撮影時に第1圧縮率より低い圧縮率(第2圧縮
率)で圧縮された静止画像データが表示された場合に
は、図5に示すように、画面の右上に高品質を示す“H
Q”の表示が静止画像に重畳して表示される。つまり、
第2圧縮率で圧縮された静止画像データをSDRAM2
8から読み出す場合には、CPU32の指示に従ってス
イッチSW1が切り換えられ、ビデオエンコーダ38の
出力信号またはキャラクタジェネレータ58の出力信号
がモニタ40に出力される。したがって、“HQ”が静
止画像データに上書きされる。たとえば、コンピュータ
で編集する場合、“HQ”が上書きされた静止画像を抜
き出せば、高品質な静止画像データを用いることができ
る。
When the frame advance button 52 is pressed in this state, a frame advance reproduction mode is set. In the frame-by-frame playback mode, each time the start button 56 is pressed, still image data corresponding to a plurality of screens shot in the moving image shooting mode is played one frame (one frame) at a time. The still image data to be reproduced is counted by the counter 32a. When still image data compressed at a compression rate lower than the first compression rate (second compression rate) during shooting is displayed, as shown in FIG. 5, "H" indicating high quality is displayed at the upper right of the screen.
Q "is superimposed on the still image and displayed.
The still image data compressed at the second compression ratio is
In the case of reading from the switch 8, the switch SW1 is switched according to the instruction of the CPU 32, and the output signal of the video encoder 38 or the output signal of the character generator 58 is output to the monitor 40. Therefore, “HQ” is overwritten on the still image data. For example, when editing with a computer, high-quality still image data can be used by extracting a still image overwritten with “HQ”.

【0025】このような動作を、CPU32は図6に示
すフロー図に従って処理する。コマ送り再生モードが選
択されるとCPU32は処理を開始し、ステップS31
で動画像データをSDRAM28上にロードする。続く
ステップS33ではカウンタ32aをリセット(i=
0)し、ステップS35でスタートボタン56が押され
たかどうかを判断する。ここで、“NO”であれば、ス
テップS35に戻るが、“YES”であれば、ステップ
S37で1コマ(1フレーム)の静止画像データを再生
する。続くステップS39では、先頭フレーム、末尾の
フレームまたは4×i番目のフレームかどうかを判断
し、“NO”であれば、ステップS43に進むが、“Y
ES”であれば、ステップS41でスイッチSW1を切
り換えて“HQ”を静止画像データに上書き表示する。
このように、ステップS39およびS41で第1圧縮率
に関する情報(“HQ”)が出力される。続くステップ
S43では、カウンタ32aをインクリメントし、ステ
ップS45ではコマ送り再生が終了したかどうか、つま
り最終画面を表示したかどうかを判断する。ここで、
“NO”であれば、ステップS35に戻るが、“YE
S”であれば、リターンする。
The CPU 32 processes such an operation according to the flowchart shown in FIG. When the frame-by-frame playback mode is selected, the CPU 32 starts processing, and proceeds to step S31.
To load the moving image data on the SDRAM 28. In the following step S33, the counter 32a is reset (i =
0), and in a step S35, it is determined whether or not the start button 56 is pressed. If "NO" here, the process returns to the step S35, but if "YES", one frame (one frame) of still image data is reproduced in a step S37. In a succeeding step S39, it is determined whether or not the frame is the first frame, the last frame, or the 4 × i-th frame. If “NO”, the process proceeds to a step S43.
If "ES", the switch SW1 is switched in step S41 to display "HQ" over the still image data.
As described above, information (“HQ”) regarding the first compression ratio is output in steps S39 and S41. In a succeeding step S43, the counter 32a is incremented. In a step S45, it is determined whether or not the frame-by-frame playback is completed, that is, whether or not the last screen is displayed. here,
If “NO”, the process returns to the step S35, but the “YE
If S ", return.

【0026】この実施例によれば、動画像データの先頭
フレーム、末尾フレームおよび4の倍数のフレームの静
止画像データを低圧縮率(第1圧縮率)で圧縮するの
で、スチル再生時の画質を向上することができる。ま
た、上述のように一部のフレームの静止画像データを低
圧縮率で圧縮するので、動画像データのデータサイズは
あまり大きくならない。したがって、データ量の肥大化
を防止することができる。
According to this embodiment, the first frame, the last frame of the moving image data, and the still image data of a multiple of 4 frames are compressed at a low compression ratio (first compression ratio). Can be improved. In addition, since the still image data of some frames is compressed at a low compression rate as described above, the data size of the moving image data does not become too large. Therefore, it is possible to prevent an increase in the data amount.

【0027】なお、この実施例では、静止画像データを
4の倍数のフレーム毎に低圧縮率で圧縮するようにした
が、倍数は任意の倍数Nでよく、オペレータによって設
定できるようにしてもよい。
In this embodiment, the still image data is compressed at a low compression ratio for each frame of a multiple of 4, but the multiple may be an arbitrary multiple N and may be set by the operator. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の一実施例を示す図解図である。FIG. 1 is an illustrative view showing one embodiment of the present invention;

【図2】図1実施例に示すCPUの処理の一部を示すフ
ロー図である。
FIG. 2 is a flowchart showing a part of the processing of the CPU shown in FIG. 1 embodiment;

【図3】動画像モードで撮影した場合の複数画面に対応
する静止画像データの圧縮率を示す図解図である。
FIG. 3 is an illustrative view showing a compression ratio of still image data corresponding to a plurality of screens when shooting in a moving image mode;

【図4】図1実施例に示すCPUの処理の一部を示すフ
ロー図である。
FIG. 4 is a flowchart showing a part of the processing of the CPU shown in the embodiment in FIG. 1;

【図5】低圧縮率で圧縮した静止画像データを再生した
場合の図解図である。
FIG. 5 is an illustrative view showing a case where still image data compressed at a low compression ratio is reproduced;

【図6】図1実施例に示すCPUの処理の一部を示すフ
ロー図である。
FIG. 6 is a flowchart showing a part of the processing of the CPU shown in the embodiment in FIG. 1;

【符号の説明】[Explanation of symbols]

10 …ディジタルカメラ 22 …信号処理回路 26 …メモリ制御回路 28 …SDRAM 30 …JPEGコーデック 32 …CPU 42 …システムコントローラ 58 …キャラクタジェネレータ DESCRIPTION OF SYMBOLS 10 ... Digital camera 22 ... Signal processing circuit 26 ... Memory control circuit 28 ... SDRAM 30 ... JPEG codec 32 ... CPU 42 ... System controller 58 ... Character generator

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI // H04N 101:00 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification code FI // H04N 101: 00

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】動画像を形成する複数画面の静止画像信号
を取り込む取り込み手段、 互いに異なる複数のサイズ値の各々を画面毎に有効化す
る有効化手段、および 前記複数画面の静止画像信号を前
記有効化手段によって有効化されたサイズ値を目標とし
て個別に圧縮する圧縮手段を備える 、ディジタルカメ
ラ。
A still image signal for a plurality of screens forming a moving image
Capture means for enabling each of a plurality of different size values for each screen
Activating means, and the multi-screen still image signal
Target the size value activated by the activation means
A digital camera comprising compression means for individually compressing data .
【請求項2】前記有効化手段は前記複数のサイズ値のう
ち特定サイズ値を所定画面数毎に有効化する、請求項1
記載のディジタルカメラ。
2. A pre Kieu Enabling means the plurality of size values
2. The method according to claim 1, wherein the specific size value is enabled for each predetermined number of screens.
Digital camera as described.
【請求項3】前記圧縮手段によって圧縮された前記複数
画面の静止画像信号を個別に再生する再生手段、および
前記複数のサイズ値のうち特定サイズ値を目標として圧
縮された圧縮静止画像信号の再生に関連付けてメッセー
ジを出力する出力手段をさらに備える、請求項1または
2記載のディジタルカメラ。
3. A method according to claim 2, wherein said plurality of compression means are compressed by said compression means.
Playback means for individually playing back still image signals on the screen, and
The pressure is targeted at a specific size value among the plurality of size values.
A message associated with the playback of the compressed compressed still image signal
Further comprising output means for outputting a di-, claim 1 or 2 digital camera according.
【請求項4】前記圧縮手段はJPEG方式で圧縮を行
、請求項1ないし3のいずれかに記載のディジタルカ
メラ。
4. The compression means performs compression by the JPEG method.
Cormorants, digital camera according to any one of claims 1 to 3.
【請求項5】動画像を形成する複数画面の静止画像信号
を取り込む取り込み手段、 互いに異なる複数のサイズ値の各々を画面毎に有効化す
る有効化手段、および 前記複数画面の静止画像信号を前
記有効化手段によって有効化されたサイズ値を目標とし
て個別に圧縮する圧縮手段を備える、画像圧縮装置。
5. A still image signal for a plurality of screens forming a moving image.
Capture means for enabling each of a plurality of different size values for each screen
Activating means, and the multi-screen still image signal
Target the size value activated by the activation means
An image compression device comprising compression means for individually compressing the image data.
【請求項6】 撮影指示に応答して1画面分の画像を撮影
する静止画像モードと前記撮影指示に応答して複数画面
分の画像を連続して撮影する動画像モードとを有する
ィジタルカメラにおいて 前記静止画像モードが設定されたとき第1圧縮率を有効
化する第1有効化手段 前記動画像モードが設定されたとき前記第1圧縮率なら
びに前記第1圧縮率よりも高い第2圧縮率を画面によっ
選択的に有効化する第2有効化手段、および 前記第1
有効化手段または前記第2有効化手段によって有効化さ
れた圧縮率に基づいて各画面の撮影画像信号を個別に圧
縮する圧縮手段を備えることを特徴とする、ディジタル
カメラ。
6. An image for one screen is taken in response to a photographing instruction.
Still image mode and multiple screens in response to the shooting instruction
A digital camera having a moving image mode for continuously capturing images of a minute , wherein the first enabling means for enabling a first compression ratio when the still image mode is set ; and wherein the moving image mode is set. When the first compression ratio and the second compression ratio higher than the first compression ratio are displayed on the screen,
Second enabling means for selectively enabling Te, and the first
Activated by the activating means or the second activating means
The image signal of each screen is individually compressed based on the
A digital camera comprising compression means for compressing .
【請求項7】 前記第2有効化手段は前記第1圧縮率を所
定画面数毎に選択する、請求項記載のディジタルカメ
ラ。
Wherein said second enabling means for selecting said first compression ratio every predetermined number of screens, a digital camera according to claim 6, wherein.
【請求項8】Claim 8. 取り込み指示に応答して1画面分の画像をOne screen image in response to the capture instruction
取り込む静止画像モードと前記取り込み指示に応答してStill image mode to capture and in response to the capture instruction
複数画面分の画像を連続して取り込む動画像モードとをA moving image mode for continuously capturing images for multiple screens
有する画像圧縮装置において、An image compression apparatus having 前記静止画像モードが設定されたとき第1圧縮率を有効The first compression ratio is enabled when the still image mode is set
化する第1有効化手段、First enabling means to be 前記動画像モードが設定されたとき前記第1圧縮率ならWhen the first compression ratio is set when the moving image mode is set
びに前記第1圧縮率よりも高い第2圧縮率を画面によっAnd a second compression ratio higher than the first compression ratio is displayed on the screen.
て選択的に有効化する第2有効化手段、およびSecond activating means for selectively activating and 前記第1The first
有効化手段または前記第2有効化手段によって有効化さActivated by the activating means or the second activating means
れた圧縮率に基づいて各画面の画像信号を個別に圧縮すImage signal of each screen is individually compressed based on the
る圧縮手段を備えることを特徴とする、画像圧縮装置。An image compression device, comprising: a compression unit.
JP35332598A 1998-12-11 1998-12-11 Digital camera Expired - Fee Related JP3263674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35332598A JP3263674B2 (en) 1998-12-11 1998-12-11 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35332598A JP3263674B2 (en) 1998-12-11 1998-12-11 Digital camera

Publications (2)

Publication Number Publication Date
JP2000184330A JP2000184330A (en) 2000-06-30
JP3263674B2 true JP3263674B2 (en) 2002-03-04

Family

ID=18430093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35332598A Expired - Fee Related JP3263674B2 (en) 1998-12-11 1998-12-11 Digital camera

Country Status (1)

Country Link
JP (1) JP3263674B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4179831B2 (en) * 2002-09-10 2008-11-12 三洋電機株式会社 Video recording device
JP4160883B2 (en) 2003-09-02 2008-10-08 富士フイルム株式会社 Image recording apparatus and image recording method

Also Published As

Publication number Publication date
JP2000184330A (en) 2000-06-30

Similar Documents

Publication Publication Date Title
JP4525561B2 (en) Imaging apparatus, image processing method, and program
US8411158B2 (en) Image sensing apparatus and storage medium
US7417667B2 (en) Imaging device with function to image still picture during moving picture imaging
US7417668B2 (en) Digital camera
US8000558B2 (en) Thumbnail generating apparatus and image shooting apparatus
JP3311715B2 (en) Digital camera
JP2775542B2 (en) Digital electronic still camera and control method thereof
JPH114402A (en) Composite method for template image and photographed image, recording method for template image, digital camera and template image recorder
KR100564186B1 (en) Electronic camera
JP2003219341A (en) Movie still camera and operation control method thereof
JP4252015B2 (en) Image capturing apparatus, image reproducing apparatus, and image capturing / reproducing system
JP2006345400A (en) Video camera apparatus
JP2004080376A (en) Moving picture imaging apparatus and moving picture reproducing apparatus
JP3263674B2 (en) Digital camera
JP4429148B2 (en) Image photographing and recording apparatus and method
JP2004312218A (en) Digital camera and image reproducing apparatus
JP3683462B2 (en) Movie display device
JP5211947B2 (en) Imaging apparatus and program
KR101480407B1 (en) Digital image processing apparatus, method for controlling the same and medium of recording the method
JP2000041170A (en) Image pickup device and method
JP3538324B2 (en) Electronic still camera, moving image capturing method of electronic still camera, and recording medium storing computer-executable program
JP4190384B2 (en) Video camera
JP2005217493A (en) Imaging apparatus
JP2000299800A (en) Image pickup method and device and storage medium
JP3789346B2 (en) Video recording / playback device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011204

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

Free format text: PAYMENT UNTIL: 20081221

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081221

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091221

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121221

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131221

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20131221

Year of fee payment: 12

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20131221

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees