JP2002125188A - Digital camera - Google Patents

Digital camera

Info

Publication number
JP2002125188A
JP2002125188A JP2000312609A JP2000312609A JP2002125188A JP 2002125188 A JP2002125188 A JP 2002125188A JP 2000312609 A JP2000312609 A JP 2000312609A JP 2000312609 A JP2000312609 A JP 2000312609A JP 2002125188 A JP2002125188 A JP 2002125188A
Authority
JP
Japan
Prior art keywords
image data
stored
deletion
management information
value
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.)
Pending
Application number
JP2000312609A
Other languages
Japanese (ja)
Inventor
Tsutomu Tanaka
努 田中
Kazuo Okamura
一男 岡村
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 JP2000312609A priority Critical patent/JP2002125188A/en
Publication of JP2002125188A publication Critical patent/JP2002125188A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Cameras In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a digital camera with a new function that can directly access optional image data stored in an image buffer. SOLUTION: The digital camera having an image buffer storing image data obtained by photographing by n (n is an integer of 2 or over) frames and a recorder recording the stored image data onto a recording medium, is provided with a counter whose count is incremented every time the image data are stored, a management information table that consists of n-sets of management information areas used individually to manage the image data of n-frames and on the management information areas of which at least the count and a delete flag denoting whether deletion of the corresponding image data is permitted or inhibited is recorded, a 1st delete flag setting means that sets the delete flag on the basis of the count stored in the management information areas, and a controller that selectively records the stored image data onto the recording medium on the basis of the value of the delete flag as its control.

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 having an image buffer for storing a plurality of frames of image data obtained by imaging a subject, and a recording device for recording the image data stored in the image buffer on a recording medium. About the camera.

【0002】[0002]

【従来の技術】従来のデジタルカメラでは、記録媒体で
あるメモリカードの書き込み速度が遅いことに鑑み、被
写体を撮像することによって得られた画像データを一旦
画像バッファに蓄えた後、メモリカードへの書き込みを
行っていた。例えば、画像バッファに複数フレーム分の
画像データを蓄えることにより、高速な連写機能を実現
していた。
2. Description of the Related Art In a conventional digital camera, image data obtained by imaging a subject is temporarily stored in an image buffer in consideration of the slow writing speed of a memory card as a recording medium, and then stored in the memory card. I was writing. For example, a high-speed continuous shooting function has been realized by storing image data for a plurality of frames in an image buffer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
デジタルカメラは、画像バッファに複数フレーム分の画
像データを蓄えメモリカードに記録する機能は有してい
たが、画像バッファに蓄えられた任意の画像データに直
接アクセスすることは出来なかった。よって、画像バッ
ファに蓄えられた画像データを選択的に削除したりメモ
リカードに記録したりすることは困難であった。
However, a conventional digital camera has a function of storing image data for a plurality of frames in an image buffer and recording the image data in a memory card. However, any digital image stored in the image buffer can be used. There was no direct access to the data. Therefore, it has been difficult to selectively delete the image data stored in the image buffer or record the image data in a memory card.

【0004】本発明は、画像バッファに蓄えられた任意
の画像データに直接アクセスすることを可能にすること
により、新たな機能を有するデジタルカメラを提供する
ことを目的とする。
[0004] It is an object of the present invention to provide a digital camera having a new function by enabling direct access to arbitrary image data stored in an image buffer.

【0005】[0005]

【課題を解決するための手段】本発明は、上記課題を解
決するために、被写体を撮像することによって得られる
画像データをn(nは2以上の整数)フレーム分蓄える
画像バッファと、前記画像バッファに蓄えられた画像デ
ータを記録媒体に記録する記録装置を有するデジタルカ
メラにおいて、前記画像バッファに画像データの蓄積が
行われる毎に値が増加又は減少するカウンタと、前記n
フレームの画像データを個々に管理するn個の管理情報
領域から成り、前記管理情報領域には少なくとも前記カ
ウンタの値及び対応する画像データの削除を許可するか
禁止するかを示す削除フラッグが記録される管理情報テ
ーブルと、前記管理情報領域に記憶されているカウンタ
の値を基に前記削除フラッグを設定する第1削除フラッ
グ設定手段と、前記画像バッファに蓄えられた画像デー
タを前記削除フラッグの値を基に選択的に記録媒体に記
録するように前記記録手段を制御する制御装置と、を具
備した。
According to the present invention, there is provided an image buffer for storing n (n is an integer of 2 or more) frames of image data obtained by imaging a subject. A digital camera having a recording device for recording image data stored in a buffer on a recording medium, wherein a counter increases or decreases each time image data is stored in the image buffer;
The management information area includes n management information areas for individually managing image data of a frame, and the management information area records at least a value of the counter and a deletion flag indicating whether deletion of the corresponding image data is permitted or prohibited. Management information table, first deletion flag setting means for setting the deletion flag based on the value of the counter stored in the management information area, and image data stored in the image buffer as the value of the deletion flag. And a control device for controlling the recording means so as to selectively record the data on a recording medium based on the information.

【0006】さらに、前記制御装置は、前記削除フラッ
グが削除許可を示す値であれば、対応する画像データは
新たな撮影に応じて生じる画像データを蓄えるために削
除可能とするとともに、前記削除フラッグが削除禁止を
示す値であれば対応する画像データを記録媒体に記録す
るように前記記録装置を制御することを特徴とする。
Further, the control device, if the deletion flag is a value indicating deletion permission, enables the corresponding image data to be deleted in order to store image data generated in response to a new photographing, and sets the deletion flag. Is a value indicating deletion prohibition, the recording apparatus is controlled to record the corresponding image data on a recording medium.

【0007】さらに、前記制御装置には2段レリーズス
イッチが接続されており、前記制御装置は、前記2段レ
リーズスイッチの1段目が押圧されたことを検出すると
前記画像バッファへの画像データの蓄積開始を前記画像
バッファに指示し、前記2段レリーズスイッチの2段目
が押圧されたことを検出すると、前記削除フラッグ設定
手段を動作させることを特徴とする。
[0007] Further, a two-stage release switch is connected to the control device. When the control device detects that the first stage of the two-stage release switch is pressed, the control device transfers image data to the image buffer. A storage start is instructed to the image buffer, and when it is detected that the second stage of the two-stage release switch is pressed, the deletion flag setting means is operated.

【0008】さらに、前記制御装置は前記2段レリーズ
スイッチの2段目が押圧されたことを検出すると、新た
に前記画像バッファへ蓄積される画像データに対応する
前記削除フラッグを削除禁止を示す値に設定する第2削
除フラッグ設定手段を動作させることを特徴とする。
Further, when the control device detects that the second stage of the two-stage release switch is pressed, the controller sets the deletion flag corresponding to image data newly stored in the image buffer to a value indicating prohibition of deletion. Operating the second deletion flag setting means for setting the flag.

【0009】[0009]

【発明の実施の形態】以下図面に従い、本発明の実施の
形態について説明する。図1は本発明の実施例であるデ
ジタルカメラを示した機能ブロック図である。撮像装置
1は光学レンズや撮像素子から構成され、被写体(図示
せず)からの光を画像信号に変換する。画像信号はAD
変換器2にてデジタル信号に変換され、非圧縮の画像デ
ータとしてSDRAMで構成される画像バッファ3に書
き込まれる。該画像データは画像バッファ3より一旦読
み出され、信号処理回路4にてJPEG圧縮処理に必要
なYUV信号を作成し、圧縮回路5にてJPEG圧縮を
行った後、圧縮された画像データとして再び画像バッフ
ァ3に書き込まれ蓄えられる。蓄えられた圧縮画像デー
タは最後にメモリカード6に記録される。一方、制御回
路10には2段レリーズスイッチ9が接続されていると
共に、撮像装置1、信号処理回路4、圧縮回路5を制御
し、画像バッファコントローラ7を介して画像バッファ
3を制御し、カードコントローラを介してメモリカード
6を制御している。詳細は後述する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing a digital camera according to an embodiment of the present invention. The imaging device 1 includes an optical lens and an imaging element, and converts light from a subject (not shown) into an image signal. The image signal is AD
The data is converted into a digital signal by the converter 2 and is written as uncompressed image data in the image buffer 3 composed of an SDRAM. The image data is once read out from the image buffer 3, a YUV signal necessary for JPEG compression processing is created in the signal processing circuit 4, and JPEG compression is performed in the compression circuit 5. The data is written and stored in the image buffer 3. The stored compressed image data is finally recorded on the memory card 6. On the other hand, a two-stage release switch 9 is connected to the control circuit 10, and controls the imaging device 1, the signal processing circuit 4, and the compression circuit 5, controls the image buffer 3 via the image buffer controller 7, and The memory card 6 is controlled via a controller. Details will be described later.

【0010】次に画像バッファ3の詳細を図2、図3を
用いて説明する。画像バッファ3はSDRAMで構成さ
れており、図2に示すように、AD変換器2からの非圧
縮画像データを記憶する非圧縮画像データ領域31、管
理情報テーブル32、圧縮回路5からの圧縮画像データ
をn(nは2以上の整数)フレーム分蓄える容量を有す
る圧縮画像データ領域33、その他にマッピングされて
いる。その他とは、制御回路10にて演算を行う際に使
用する作業領域等である。なお、図2は圧縮画像データ
領域33に1フレーム分の圧縮画像データが書き込まれ
た状態を示しており、s_adは圧縮画像データ領域33の
先頭アドレスを示し、p_adは次の圧縮画像データが書き
込まれる先頭アドレスである圧縮画像データ格納アドレ
スを示し、e_adは圧縮画像データ領域33の末尾アドレ
スを示すものとする。
Next, the details of the image buffer 3 will be described with reference to FIGS. The image buffer 3 is composed of an SDRAM, and as shown in FIG. 2, a non-compressed image data area 31 for storing the non-compressed image data from the AD converter 2, a management information table 32, and a compressed image from the compression circuit 5. The data is mapped to a compressed image data area 33 having a capacity to store data for n (n is an integer of 2 or more) frames, and the like. The other is a work area used when the control circuit 10 performs an operation. FIG. 2 shows a state in which compressed image data for one frame is written in the compressed image data area 33, s_ad indicates the start address of the compressed image data area 33, and p_ad indicates the next compressed image data. Indicates the compressed image data storage address, which is the start address, and e_ad indicates the end address of the compressed image data area 33.

【0011】情報管理テーブル32には、図3に示すよ
うに、画像管理情報領域320を圧縮画像データ領域3
3に蓄積可能な圧縮画像データのフレーム数と同数確保
されている。本実施例ではnフレーム分である。個々の
画像管理情報領域320は、対応する圧縮画像データの
削除許可又は禁止を示す削除フラッグを記憶する削除フ
ラッグ領域321、圧縮画像データを圧縮画像データ領
域33に書き込む毎に値が増加する通し番号を記憶する
通し番号領域322、対応する圧縮画像データの圧縮画
像データ領域33における格納アドレスを記憶する格納
アドレス領域323、対応する圧縮画像データのファイ
ルサイズを記憶するサイズ領域324、対応する圧縮画
像データに関連した副情報であるJPEG情報を記憶す
るJPEG情報領域325にて構成されている。
As shown in FIG. 3, the information management table 32 stores an image management information area 320 in the compressed image data area 3.
3, the same number of frames as the number of frames of compressed image data that can be stored. In the present embodiment, it is for n frames. Each image management information area 320 includes a deletion flag area 321 for storing a deletion flag indicating permission or prohibition of deletion of the corresponding compressed image data, and a serial number that increases each time the compressed image data is written to the compressed image data area 33. Related to the serial number area 322 for storing, the storage address area 323 for storing the storage address of the corresponding compressed image data in the compressed image data area 33, the size area 324 for storing the file size of the corresponding compressed image data, and the corresponding compressed image data. It comprises a JPEG information area 325 for storing JPEG information as sub-information.

【0012】なお、JPEG情報とは、圧縮回路5にて
画像データをJPEG圧縮する際に付加される副情報で
あり、例えば、撮像装置1における絞り値やシャッター
スピード等である。
The JPEG information is sub-information added when JPEG compression of image data is performed by the compression circuit 5, and is, for example, an aperture value or a shutter speed in the imaging apparatus 1.

【0013】次に、制御回路10によって制御されるデ
ジタルカメラの撮影動作について、図4〜図6に示した
フローチャートを用いて説明する。本実施例では、2段
レリーズスイッチ9の2段目が押下される前にも撮影及
び画像バッファ3への圧縮画像データの書込みを行い、
すなわち事前撮影を可能としシャッターチャンスを逃さ
ない新たな機能を実現している。
Next, the photographing operation of the digital camera controlled by the control circuit 10 will be described with reference to the flowcharts shown in FIGS. In this embodiment, photographing and writing of the compressed image data to the image buffer 3 are performed even before the second stage of the two-stage release switch 9 is pressed.
In other words, it realizes a new function that enables pre-shooting and does not miss a photo opportunity.

【0014】撮影動作を開始するに際し、先ず初めに初
期設定を行う(S1)。すなわち、圧縮回路5にて生成
される圧縮画像データの最大サイズをmaxとし、画像バ
ッファ3の圧縮画像データ領域33の先頭アドレスをs_
adとし、次の圧縮画像データが書き込まれる先頭アドレ
スである圧縮画像データ格納アドレスp_adにs_adの値を
代入し、圧縮画像データ領域33の末尾アドレスをe_ad
とし、通し番号を生成するカウンタp_noの値を1とし、
変数Nに事前撮影枚数を設定する。なお、圧縮回路5に
て生成される圧縮画像データのサイズは被写体によって
変化するが、最大サイズmaxは撮影される画像の解像度
(画素数)と圧縮回路5における圧縮率を基に決定する
ことができる。また、事前撮影枚数とは2段レリーズス
イッチ9の2段目が押下される以前に撮影された画像デ
ータの内、削除されることなくメモリカード6に書き込
まれる画像データの枚数である。
When the photographing operation is started, first, initial settings are made (S1). That is, the maximum size of the compressed image data generated by the compression circuit 5 is set to max, and the start address of the compressed image data area 33 of the image buffer 3 is set to s_
The value of s_ad is substituted for the compressed image data storage address p_ad, which is the head address where the next compressed image data is written, and the end address of the compressed image data area 33 is set to e_ad
And the value of a counter p_no for generating a serial number is 1,
The number of pre-images is set in a variable N. Although the size of the compressed image data generated by the compression circuit 5 varies depending on the subject, the maximum size max can be determined based on the resolution (number of pixels) of the image to be captured and the compression ratio in the compression circuit 5. it can. The pre-shooting number is the number of image data to be written to the memory card 6 without being deleted from image data taken before the second stage of the two-stage release switch 9 is pressed.

【0015】そして、2段レリーズスイッチ9の1段目
の押下を検出すると、撮影Aを開始し(S2、S3)、
ステップS4およびステップS5によって、2段レリー
ズスイッチ9の2段目が押下されることなく1段目が押
下されている間、撮影Aを繰り返し行う。なお、ステッ
プS5にて1段目の押下解除が検出されると、制御回路
10は撮影動作を終了する。
When the first-stage depression of the two-stage release switch 9 is detected, photographing A is started (S2, S3),
By the steps S4 and S5, the photographing A is repeatedly performed while the first stage of the second-stage release switch 9 is pressed without being pressed. Note that, when the release of the first-stage press is detected in step S5, the control circuit 10 ends the photographing operation.

【0016】図5は撮影Aを示したフローチャートであ
る。先ず初めに、圧縮画像データ領域33の末尾アドレ
スe_adと、次の圧縮画像データが書き込まれる先頭アド
レスである圧縮画像データ格納アドレスp_adとの差より
も、圧縮画像データの最大サイズをmaxの方が大きいか
否かを判断し(S31)、大きければp_adの値を画像バ
ッファ3の圧縮画像データ領域33の先頭アドレスs_ad
とする(S32)。すなわち、撮影Aを繰り返すことに
よって圧縮画像データが圧縮画像データ領域33にnフ
レーム分蓄えられた後、圧縮画像データ格納アドレスp_
adを圧縮画像データ領域33の先頭アドレスs_adとする
ことにより、圧縮画像データ領域33を、フライトレコ
ーダのように、最新のnフレーム分の圧縮画像データを
残しながら連続して圧縮画像データが書き込まれるよう
に制御している。
FIG. 5 is a flowchart showing photographing A. First, the maximum size of the compressed image data is max, rather than the difference between the end address e_ad of the compressed image data area 33 and the compressed image data storage address p_ad, which is the start address where the next compressed image data is written. It is determined whether or not it is larger (S31). If it is larger, the value of p_ad is set to the start address s_ad of the compressed image data area 33 of the image buffer 3.
(S32). That is, after the shooting A is repeated, the compressed image data is stored in the compressed image data area 33 for n frames, and then the compressed image data storage address p_
By setting ad as the start address s_ad of the compressed image data area 33, the compressed image data area 33 is continuously written with compressed image data while leaving the latest n frames of compressed image data like a flight recorder. Control.

【0017】次に、画像バッファ3のアドレスの値がp_
adから(p_ad+max)の範囲に含まれる削除可能な圧縮
画像データを画像バッファ3より消去する(S33)。
よって、nフレーム分の圧縮画像データが蓄えられた状
態であっても、新たな圧縮画像データを書き込む領域が
確保される。なお、画像バッファ3に蓄えられた圧縮画
像データが削除可能か否かは、後述する削除フラッグの
値を用いて判断する。
Next, the value of the address of the image buffer 3 is p_
Deleteable compressed image data included in the range from ad to (p_ad + max) is deleted from the image buffer 3 (S33).
Therefore, even when compressed image data for n frames is stored, an area for writing new compressed image data is secured. Whether or not the compressed image data stored in the image buffer 3 can be deleted is determined using the value of a deletion flag described later.

【0018】ステップS33にて画像バッファ3に新た
な圧縮画像データを書き込む領域を確保した後、撮像装
置1を制御し非圧縮の画像データを画像バッファ3に取
り込み(S34)、信号処理回路4および圧縮回路5を
動作させ該非圧縮の画像データをJPEG圧縮すること
により圧縮画像データを作成する(S35)。そして、
作成された圧縮画像データを画像バッファ3の圧縮画像
データ領域33に書き込むと共に、圧縮画像データのフ
ァイルサイズsizeを算出する(S36、S37)。さら
に、該圧縮画像データに対応した管理情報テーブル32
の画像管理情報領域320の削除フラッグ領域321に
削除可能を示す値を有する削除フラッグを書き込み、通
し番号領域322にp_noの値を書き込み、格納アドレス
領域323にp_adの値を書き込み、サイズ領域324に
sizeの値を書き込み、JPEG情報領域325にJPE
G情報を書き込む(S38)。
After securing an area for writing new compressed image data in the image buffer 3 in step S33, the imaging device 1 is controlled to take in uncompressed image data into the image buffer 3 (S34), and the signal processing circuit 4 By operating the compression circuit 5, the uncompressed image data is JPEG-compressed to create compressed image data (S35). And
The created compressed image data is written into the compressed image data area 33 of the image buffer 3, and the file size size of the compressed image data is calculated (S36, S37). Further, a management information table 32 corresponding to the compressed image data
A deletion flag having a value indicating that deletion is possible is written in the deletion flag area 321 of the image management information area 320, the value of p_no is written in the serial number area 322, the value of p_ad is written in the storage address area 323, and the size area 324 is written.
Write the value of size and write JPE to JPEG information area 325
The G information is written (S38).

【0019】次に、次の圧縮画像データが書き込まれる
先頭アドレスである圧縮画像データ格納アドレスp_adに
圧縮画像データのファイルサイズsizeの値を加算したも
のを新たな圧縮画像データ格納アドレスp_adとし(S3
9)、通し番号を生成するカウンタp_noの値をインクリ
メントし(S40)、元のルーチンに戻る。
Next, a value obtained by adding the value of the file size size of the compressed image data to the compressed image data storage address p_ad which is the head address where the next compressed image data is written is set as a new compressed image data storage address p_ad (S3).
9) Increment the value of the counter p_no for generating a serial number (S40), and return to the original routine.

【0020】すなわち、撮影Aを繰り返し実行すること
によって、圧縮画像データ領域33には、最新のnフレ
ーム分の圧縮画像データを残しながら連続して圧縮画像
データが書き込まれる。
That is, by repeatedly executing photographing A, the compressed image data is continuously written into the compressed image data area 33 while leaving the latest n frames of compressed image data.

【0021】図4に戻って動作説明を続ける。ステップ
S4にて2段レリーズスイッチ9の2段目が押下された
ことを検出すると、撮影Aにて得られた圧縮画像データ
に対し、通し番号の値が(p_no−N)から(p_no−1)
である圧縮画像データを追ってメモリカード6に書き込
むようにするために、該圧縮画像データに対応した管理
情報領域320の削除フラッグ領域321に記録された
削除フラッグを、削除禁止を示す値を有する削除フラッ
グに変更する(S6)。そして、メモリカード6に書き
込みを開始する圧縮画像データの通し番号w_p_noの値を
(p_no−N−1)に設定し(S7)、撮影Bを開始する
(S8)。
Returning to FIG. 4, the description of the operation will be continued. If it is detected in step S4 that the second stage of the two-stage release switch 9 has been pressed, the serial number value is changed from (p_no-N) to (p_no-1) for the compressed image data obtained in shooting A.
In order to write the compressed image data to the memory card 6 later, the deletion flag recorded in the deletion flag area 321 of the management information area 320 corresponding to the compressed image data is deleted with a value indicating deletion prohibition. Change to a flag (S6). Then, the value of the serial number w_p_no of the compressed image data to be written into the memory card 6 is set to (p_no-N-1) (S7), and the photographing B is started (S8).

【0022】図6は撮影Bを示したフローチャートであ
る。先ず初めに、圧縮画像データ領域33の末尾アドレ
スe_adと、次の圧縮画像データが書き込まれる先頭アド
レスである圧縮画像データ格納アドレスp_adとの差より
も、圧縮画像データの最大サイズをmaxの方が大きいか
否かを判断し(S81)、大きければp_adの値を画像バ
ッファ3の圧縮画像データ領域33の先頭アドレスs_ad
とする(S82)すなわち、撮影Aや撮影Bを繰り返し
ても、圧縮画像データ格納アドレスp_adが圧縮画像デー
タ領域33の末尾アドレスe_adをオーバーすることなく
連続して圧縮画像データが記録されるように制御してい
る。
FIG. 6 is a flowchart showing photographing B. First, the maximum size of the compressed image data is max, rather than the difference between the end address e_ad of the compressed image data area 33 and the compressed image data storage address p_ad, which is the start address where the next compressed image data is written. It is determined whether or not it is larger (S81). If it is larger, the value of p_ad is set to the start address s_ad of the compressed image data area 33 of the image buffer 3.
(S82) That is, even if photographing A and photographing B are repeated, the compressed image data storage address p_ad does not exceed the end address e_ad of the compressed image data area 33 and the compressed image data is recorded continuously. Controlling.

【0023】そして、画像バッファ3のアドレスの値が
p_adから(p_ad+max)の範囲に、削除が禁止されてい
る圧縮画像データがあるか否かを削除フラッグを基に検
出し(S83)、削除が禁止されている圧縮画像データ
があれば撮影Bを終了し元のルーチンに戻る。なけれ
ば、画像バッファ3のアドレスの値がp_adから(p_ad+
max)の範囲に含まれる削除可能な圧縮画像データを画
像バッファ3より消去する(S84)。よって、nフレ
ーム分の圧縮画像データが蓄えられた状態であっても、
新たな圧縮画像データを書き込む領域が確保される。
The value of the address of the image buffer 3 is
Whether or not there is any compressed image data whose deletion is prohibited in the range from p_ad to (p_ad + max) is detected based on the deletion flag (S83). If there is any compressed image data whose deletion is prohibited, shooting B is performed. End and return to the original routine. If not, the value of the address of the image buffer 3 is changed from p_ad to (p_ad +
The compressed image data that can be deleted included in the range of (max) is deleted from the image buffer 3 (S84). Therefore, even if compressed image data for n frames is stored,
An area for writing new compressed image data is secured.

【0024】ステップS84にて画像バッファ3に新た
な圧縮画像データを書き込む領域を確保した後、撮像装
置1を制御し非圧縮の画像データを画像バッファ3に取
り込み(S85)、信号処理回路4および圧縮回路5を
制御し該非圧縮の画像データをJPEG圧縮することに
より圧縮画像データを作成する(S86)。そして、作
成された圧縮画像データを画像バッファ3の圧縮画像デ
ータ領域33に書き込むと共に、圧縮画像データのファ
イルサイズsizeを算出する(S87、S88)。さら
に、該圧縮画像データに対応した管理情報テーブル32
の画像管理情報領域320の削除フラッグ領域321
に、撮影AのステップS38と異なり、削除禁止を示す
値を有する削除フラッグを書き込み、通し番号領域32
2にp_noの値を書き込み、格納アドレス領域323にp_
adの値を書き込み、サイズ領域324にsizeの値を書き
込み、JPEG情報領域325にJPEG情報を書き込
む(S89)。すなわち撮影Bによって得られた圧縮画
像データは後に全てメモリカード6に書き込まれるよう
に設定される。
After securing an area for writing new compressed image data in the image buffer 3 in step S84, the imaging device 1 is controlled to take in uncompressed image data into the image buffer 3 (S85), and the signal processing circuit 4 The compression circuit 5 is controlled to perform JPEG compression on the uncompressed image data to create compressed image data (S86). Then, the created compressed image data is written into the compressed image data area 33 of the image buffer 3, and the file size size of the compressed image data is calculated (S87, S88). Further, a management information table 32 corresponding to the compressed image data
Deletion flag area 321 of the image management information area 320
Unlike the step S38 of the photographing A, a deletion flag having a value indicating deletion prohibition is written in the serial number area 32.
2 is written with the value of p_no, and p_no is stored in the storage address area 323.
The value of ad is written, the value of size is written in the size area 324, and the JPEG information is written in the JPEG information area 325 (S89). That is, it is set so that all the compressed image data obtained by the photographing B is written to the memory card 6 later.

【0025】次に、次の圧縮画像データが書き込まれる
先頭アドレスである圧縮画像データ格納アドレスp_adに
圧縮画像データのファイルサイズsizeの値を加算したも
のを新たな圧縮画像データ格納アドレスp_adとし(S9
0)、通し番号を生成するカウンタp_noの値をインクリ
メントし(S91)、元のルーチンに戻る。
Next, a value obtained by adding the value of the file size size of the compressed image data to the compressed image data storage address p_ad which is the head address where the next compressed image data is written is set as a new compressed image data storage address p_ad (S9).
0), the value of the counter p_no for generating a serial number is incremented (S91), and the process returns to the original routine.

【0026】図4に戻って動作説明を続ける。図4に示
すように、撮影Bは画像バッファ3の圧縮データ記録領
域が削除禁止の圧縮画像データで満杯になるか、または
2段レリーズスイッチ9の2段目の押下解除が検出され
るまで繰り返し実行する(S9、S10)。そして最後
に、メモリカード6への書き込みを行う(S11)。な
お、ステップS11でメモリカード6に書き込まれる圧
縮画像データは、通し番号の値がw_p_noからp_no−1で
ある画像管理情報を有する圧縮画像データであり、通し
番号の昇順に管理情報テーブル32を基に画像バッファ
3における格納アドレスとファイルサイズを求め、各圧
縮画像データ毎にJPEG情報を付加してメモリカード
6に書き込まれる。
Returning to FIG. 4, the description of the operation will be continued. As shown in FIG. 4, the photographing B is repeated until the compressed data recording area of the image buffer 3 is filled with the compressed image data of which deletion is prohibited, or until the release of the second-stage release switch 9 from the second stage is detected. Execute (S9, S10). Finally, writing to the memory card 6 is performed (S11). Note that the compressed image data written to the memory card 6 in step S11 is compressed image data having image management information with serial numbers of w_p_no to p_no-1 and is stored in the management information table 32 in ascending order of the serial numbers. A storage address and a file size in the buffer 3 are obtained, and JPEG information is added to each compressed image data and written to the memory card 6.

【0027】以上説明したように、本実施例では、2段
レリーズスイッチ9の1段目が押下されて2段目が押下
されるまでの間、画像バッファ3にて最新のnフレーム
分の圧縮画像データを残しながら連続して圧縮画像デー
タを蓄積し、且つ2段目が押下された時点でそれまでに
蓄えられた圧縮画像データの内の最新のNフレームを削
除禁止に設定することにより、2段レリーズスイッチの
2段目が押下される直前のNフレームと、押下された後
の(nーN)フレームの圧縮画像データをメモリカード
6に書き込むことができる。
As described above, in this embodiment, the image buffer 3 compresses the latest n frames until the first stage of the two-stage release switch 9 is depressed and the second stage is depressed. By storing the compressed image data continuously while leaving the image data, and by setting the latest N frames in the compressed image data stored up to that point when the second stage is pressed, deletion is prohibited. The compressed image data of N frames immediately before the second stage of the two-stage release switch is pressed and (nN) frames after the second stage release switch is pressed can be written to the memory card 6.

【0028】なお、本実施例では、画像バッファ3にn
フレーム分蓄える画像データはJPEG圧縮されたもの
であったが、非圧縮の画像データであってもよい。ま
た、n個の画像管理情報領域320から成る情報管理テ
ーブル32を、画像バッファ3の一部に設けたが、別の
メモリに設けてもよい。
In this embodiment, n is stored in the image buffer 3.
The image data stored in the frame is JPEG compressed, but may be uncompressed image data. Further, the information management table 32 including the n image management information areas 320 is provided in a part of the image buffer 3, but may be provided in another memory.

【0029】[0029]

【発明の効果】本発明によれば、画像バッファに蓄えら
れた任意の画像データに直接アクセスすることを可能に
することにより、例えば2段レリーズスイッチの1段目
が押下されて2段目が押下されるまでの間、画像バッフ
ァにて最新のnフレーム分の画像データを残しながら連
続して画像データを蓄積し、且つ2段目が押下された時
点でそれまでに蓄えられた画像データの内の最新のNフ
レームを削除禁止に設定することにより、2段レリーズ
スイッチの2段目が押下される直前のNフレームと、押
下された後の(nーN)フレームの画像データを記録媒
体に記録することを容易に実現できるデジタルカメラを
提供することを可能にし、その効果は大である。
According to the present invention, it is possible to directly access arbitrary image data stored in the image buffer, so that, for example, the first stage of the two-stage release switch is pressed and the second stage is pressed. Until the image data is accumulated, the image data is continuously stored in the image buffer while leaving the latest n frames of image data. Of the latest N frames are set to delete prohibition, so that the image data of the N frame immediately before the second stage of the two-stage release switch is pressed and the image data of the (n−N) frames after the second stage are pressed are recorded on the recording medium. It is possible to provide a digital camera that can easily realize recording, and the effect is great.

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

【図1】本発明の実施例であるデジタルカメラを示した
機能ブロック図である。
FIG. 1 is a functional block diagram showing a digital camera according to an embodiment of the present invention.

【図2】本発明の実施例であるデジタルカメラの細部を
示した説明図である。
FIG. 2 is an explanatory diagram showing details of a digital camera that is an embodiment of the present invention.

【図3】本発明の実施例であるデジタルカメラの細部を
示した説明図である。
FIG. 3 is an explanatory diagram showing details of a digital camera that is an embodiment of the present invention.

【図4】本発明の実施例であるデジタルカメラの動作を
示したフローチャートである。
FIG. 4 is a flowchart showing an operation of the digital camera according to the embodiment of the present invention.

【図5】本発明の実施例であるデジタルカメラの動作を
示したフローチャートである。
FIG. 5 is a flowchart showing an operation of the digital camera according to the embodiment of the present invention.

【図6】本発明の実施例であるデジタルカメラの動作を
示したフローチャートである。
FIG. 6 is a flowchart showing an operation of the digital camera according to the embodiment of the present invention.

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

1 撮像装置 2 AD変換器 3 画像バッファ 32 管理情報テーブル 320 画像管理情報領域 321 削除フラッグ領域 322 通し番号領域 5 圧縮回路 6 メモリカード 9 2段レリーズスイッチ 10 制御回路 REFERENCE SIGNS LIST 1 imaging device 2 AD converter 3 image buffer 32 management information table 320 image management information area 321 deletion flag area 322 serial number area 5 compression circuit 6 memory card 9 two-stage release switch 10 control circuit

フロントページの続き Fターム(参考) 2H054 AA01 BB11 5C022 AA13 AB68 AC31 AC69 5C053 FA08 FA14 FA27 GB05 GB06 GB36 HA29 HA33 JA24 KA04 KA24 LA01 Continued on the front page F term (reference) 2H054 AA01 BB11 5C022 AA13 AB68 AC31 AC69 5C053 FA08 FA14 FA27 GB05 GB06 GB36 HA29 HA33 JA24 KA04 KA24 LA01

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 被写体を撮像することによって得られる
画像データをn(nは2以上の整数)フレーム分蓄える
画像バッファと、前記画像バッファに蓄えられた画像デ
ータを記録媒体に記録する記録装置を有するデジタルカ
メラにおいて、前記画像バッファに画像データの蓄積が
行われる毎に値が増加又は減少するカウンタと、前記n
フレームの画像データを個々に管理するn個の管理情報
領域から成り、前記管理情報領域には少なくとも前記カ
ウンタの値及び対応する画像データの削除を許可するか
禁止するかを示す削除フラッグが記録される管理情報テ
ーブルと、前記管理情報領域に記憶されているカウンタ
の値を基に前記削除フラッグを設定する第1削除フラッ
グ設定手段と、前記画像バッファに蓄えられた画像デー
タを前記削除フラッグの値を基に選択的に記録媒体に記
録するように前記記録手段を制御する制御装置と、を具
備することを特徴とするデジタルカメラ。
1. An image buffer for storing n (n is an integer of 2 or more) frames of image data obtained by imaging a subject, and a recording device for recording the image data stored in the image buffer on a recording medium. A digital camera having a counter for increasing or decreasing a value each time image data is stored in the image buffer;
The management information area includes n management information areas for individually managing image data of a frame, and the management information area records at least a value of the counter and a deletion flag indicating whether deletion of the corresponding image data is permitted or prohibited. Management information table, first deletion flag setting means for setting the deletion flag based on the value of the counter stored in the management information area, and image data stored in the image buffer as the value of the deletion flag. A control device for controlling the recording means so as to selectively record the data on a recording medium based on the digital camera.
【請求項2】 前記制御装置は、前記削除フラッグが削
除許可を示す値であれば、対応する画像データは新たな
撮影に応じて生じる画像データを蓄えるために削除可能
とするとともに、前記削除フラッグが削除禁止を示す値
であれば対応する画像データを記録媒体に記録するよう
に前記記録装置を制御することを特徴とする請求項1に
記載のデジタルカメラ。
2. The control device according to claim 2, wherein the deletion flag is a value indicating a deletion permission, and the corresponding image data can be deleted in order to store image data generated according to a new photographing, and the deletion flag can be stored. 2. The digital camera according to claim 1, wherein the controller controls the recording device to record the corresponding image data on a recording medium if the value indicates a deletion prohibition.
【請求項3】 前記制御装置には2段レリーズスイッチ
が接続されており、前記制御装置は、前記2段レリーズ
スイッチの1段目が押圧されたことを検出すると前記画
像バッファへの画像データの蓄積開始を前記画像バッフ
ァに指示し、前記2段レリーズスイッチの2段目が押圧
されたことを検出すると、前記削除フラッグ設定手段を
動作させることを特徴とする請求項1又は請求項2に記
載のデジタルカメラ。
3. The control device is connected with a two-stage release switch. When the control device detects that the first stage of the two-stage release switch is pressed, the control device transmits image data to the image buffer. 3. The deletion flag setting unit is operated when an accumulation start is instructed to the image buffer, and when it is detected that a second stage of the two-stage release switch is pressed, the deletion flag setting unit is operated. Digital camera.
【請求項4】 前記制御装置は前記2段レリーズスイッ
チの2段目が押圧されたことを検出すると、新たに前記
画像バッファへ蓄積される画像データに対応する前記削
除フラッグを削除禁止を示す値に設定する第2削除フラ
ッグ設定手段を動作させることを特徴とする請求項3に
記載のデジタルカメラ。
4. When the control device detects that the second stage of the two-stage release switch has been pressed, the control device sets a deletion flag corresponding to image data newly stored in the image buffer to a value indicating prohibition of deletion. 4. The digital camera according to claim 3, wherein a second deletion flag setting unit that sets the flag is operated.
JP2000312609A 2000-10-12 2000-10-12 Digital camera Pending JP2002125188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000312609A JP2002125188A (en) 2000-10-12 2000-10-12 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000312609A JP2002125188A (en) 2000-10-12 2000-10-12 Digital camera

Publications (1)

Publication Number Publication Date
JP2002125188A true JP2002125188A (en) 2002-04-26

Family

ID=18792166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000312609A Pending JP2002125188A (en) 2000-10-12 2000-10-12 Digital camera

Country Status (1)

Country Link
JP (1) JP2002125188A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457512B2 (en) * 2003-09-24 2008-11-25 Hitachi, Ltd. Information recording device
KR100954268B1 (en) 2007-03-22 2010-04-23 가시오게산키 가부시키가이샤 Image storage apparatus having continuous-shooting function
US8744232B2 (en) 2009-06-04 2014-06-03 Samsung Techwin Co., Ltd. Method for controlling video recorder, and video recorder adopting the method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457512B2 (en) * 2003-09-24 2008-11-25 Hitachi, Ltd. Information recording device
KR100954268B1 (en) 2007-03-22 2010-04-23 가시오게산키 가부시키가이샤 Image storage apparatus having continuous-shooting function
US8744232B2 (en) 2009-06-04 2014-06-03 Samsung Techwin Co., Ltd. Method for controlling video recorder, and video recorder adopting the method

Similar Documents

Publication Publication Date Title
US8953066B2 (en) Image file generation device, camera and image file generation method
JP3700031B2 (en) Digital camera
US20110096199A1 (en) Electronic camera
JPWO2008087914A1 (en) Imaging device
US6920466B2 (en) Information file recording apparatus
JP2002223401A (en) Data processing method for digital camera
JP4312905B2 (en) Image file management method and image file apparatus
US6771889B1 (en) Data storage based on serial numbers
EP1351486B1 (en) Image recording device and method
JP5634057B2 (en) Recording apparatus and recording method
JP4072023B2 (en) Electronic camera, photographing method thereof, and reproducing method thereof
JP4751348B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2004304619A (en) Digital camera
JP2002125188A (en) Digital camera
JPH11164234A (en) Electronic camera
JP4382999B2 (en) Electronic camera
JPH0690423A (en) Electronic still camera and picture record managing method
JP2008182513A (en) Imaging apparatus with information writing function
JPH05252474A (en) Camera
JP5396760B2 (en) Recording control apparatus and imaging apparatus
JP3831472B2 (en) Electronic still camera erasing operation control device
JP2001111920A (en) Image recorder and image recording method
JP3869873B2 (en) Data management method and apparatus
JP2010009205A (en) Recording control device
JP3914411B2 (en) Imaging recording device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050315