[go: up one dir, main page]

JP2011044818A - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP2011044818A
JP2011044818A JP2009190411A JP2009190411A JP2011044818A JP 2011044818 A JP2011044818 A JP 2011044818A JP 2009190411 A JP2009190411 A JP 2009190411A JP 2009190411 A JP2009190411 A JP 2009190411A JP 2011044818 A JP2011044818 A JP 2011044818A
Authority
JP
Japan
Prior art keywords
image data
still image
recording
moving image
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009190411A
Other languages
Japanese (ja)
Inventor
Masaki Hayashi
林  正樹
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 JP2009190411A priority Critical patent/JP2011044818A/en
Publication of JP2011044818A publication Critical patent/JP2011044818A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】動画記録中に静止画撮影が可能なカメラで、静止画像の画質や記録媒体の処理速度によって動画像のフレーム落ちの発生を防ぐ。
【解決手段】電子カメラは、被写体を撮像して画像信号を出力する撮像素子と、画像信号に基づいて静止画データと動画データとを生成する生成手段と、生成された静止画データと動画データとを記録媒体へ記録する記録制御手段と、記録媒体への記録に関するパラメータを検出する検出手段と、検出されたパラメータに応じて、記録媒体への記録処理として互いに異なる第1態様および第2態様の一方を選択する選択手段とを備え、記録制御手段は、生成手段により生成された静止画データと動画データとを、選択された記録処理を用いて記録媒体に記録する。
【選択図】図1
A camera capable of capturing a still image while recording a moving image, and preventing a frame drop of a moving image depending on the image quality of the still image and the processing speed of the recording medium.
An electronic camera includes an image pickup device that picks up an image of a subject and outputs an image signal, a generation unit that generates still image data and moving image data based on the image signal, and the generated still image data and moving image data. Recording control means for recording the recording medium on the recording medium, detecting means for detecting a parameter relating to recording on the recording medium, and first and second aspects different from each other as recording processing on the recording medium according to the detected parameter The recording control unit records still image data and moving image data generated by the generation unit on a recording medium using the selected recording process.
[Selection] Figure 1

Description

本発明は、電子カメラに関する。   The present invention relates to an electronic camera.

従来から、動画記録中に静止画撮影が可能なカメラが知られている(たとえば特許文献1)。   2. Description of the Related Art Conventionally, a camera capable of taking a still image during moving image recording is known (for example, Patent Document 1).

特開平10−200859号公報Japanese Patent Laid-Open No. 10-200859

しかしながら、静止画像の画質や記録媒体の処理速度によって動画像のフレーム落ちが発生するという問題がある。   However, there is a problem that frame dropping of moving images occurs depending on the image quality of still images and the processing speed of the recording medium.

請求項1に記載の発明による電子カメラは、被写体を撮像して画像信号を出力する撮像素子と、画像信号に基づいて静止画データと動画データとを生成する生成手段と、生成された静止画データと動画データとを記録媒体へ記録する記録制御手段と、記録媒体への記録に関するパラメータを検出する検出手段と、検出されたパラメータに応じて、記録媒体への記録処理として互いに異なる第1態様および第2態様の一方を選択する選択手段とを備え、記録制御手段は、生成手段により生成された静止画データと動画データとを、選択された記録処理を用いて記録媒体に記録することを特徴とする。   An electronic camera according to a first aspect of the present invention includes an image pickup device that picks up an image of a subject and outputs an image signal, a generation unit that generates still image data and moving image data based on the image signal, and a generated still image A recording control unit that records data and moving image data on a recording medium, a detection unit that detects a parameter related to recording on the recording medium, and a first mode that is different from each other as a recording process on the recording medium according to the detected parameter And a selecting means for selecting one of the second modes, wherein the recording control means records the still image data and the moving image data generated by the generating means on the recording medium using the selected recording process. Features.

本発明によれば、検出されたパラメータに応じて選択された第1態様および第2態様の一方の記録処理を用いて、静止画データと動画データとを記録媒体に記録できる。   According to the present invention, still image data and moving image data can be recorded on a recording medium by using one recording process of the first aspect and the second aspect selected in accordance with the detected parameter.

実施の形態による電子カメラの要部構成を説明するブロック図The block diagram explaining the principal part structure of the electronic camera by embodiment 第1モードにおける処理を説明するためのタイムチャートTime chart for explaining processing in the first mode 第2モードにおける処理を説明するためのタイムチャートTime chart for explaining processing in the second mode 第1の実施の形態による電子カメラの動作を説明するフローチャートThe flowchart explaining operation | movement of the electronic camera by 1st Embodiment. 第2の実施の形態による電子カメラの動作を説明するフローチャートThe flowchart explaining operation | movement of the electronic camera by 2nd Embodiment. 変形例による電子カメラの動作を説明するフローチャートThe flowchart explaining operation | movement of the electronic camera by a modification. 変形例による第1モードにおける処理を説明するタイムチャートTime chart explaining processing in first mode according to modification 変形例による電子カメラの要部構成を説明するブロック図The block diagram explaining the principal part structure of the electronic camera by a modification

−第1の実施の形態−
図面を参照して、本発明による実施の形態における電子カメラを説明する。本実施の形態による電子カメラは、動画撮影により取得された動画を記録中に静止画の撮影が可能となるように構成されている。図1のブロック図に示すように、電子カメラ1は、撮影レンズL1、撮像素子100、第1画像処理部101、第2画像処理部102、動画圧縮部103、静止画圧縮部104、記録用バッファ105、画象用バッファ106、制御回路107、LCD駆動回路109、メイン表示器110、操作部111およびカードインタフェース112を備えている。
-First embodiment-
An electronic camera according to an embodiment of the present invention will be described with reference to the drawings. The electronic camera according to the present embodiment is configured to be able to shoot a still image while recording a moving image acquired by moving image shooting. As shown in the block diagram of FIG. 1, the electronic camera 1 includes a photographing lens L1, an image sensor 100, a first image processing unit 101, a second image processing unit 102, a moving image compression unit 103, a still image compression unit 104, and a recording image. A buffer 105, an image buffer 106, a control circuit 107, an LCD drive circuit 109, a main display 110, an operation unit 111, and a card interface 112 are provided.

撮像素子100は、撮影レンズL1を介して受光した被写体光をその強度に応じた画像信号に変換するCCDやCMOSなどの光電変換素子である。撮像素子100は、制御回路107が出力するタイミング信号に応じて、画像信号を出力する。制御回路107は図示しないCPU、ROMおよびRAM等を備え、電子カメラ1の各構成要素を制御したり、各種のデータ処理を実行する演算回路である。   The image sensor 100 is a photoelectric conversion element such as a CCD or a CMOS that converts subject light received through the photographing lens L1 into an image signal corresponding to the intensity of the subject light. The image sensor 100 outputs an image signal in accordance with the timing signal output from the control circuit 107. The control circuit 107 includes a CPU, ROM, RAM, and the like (not shown), and is an arithmetic circuit that controls each component of the electronic camera 1 and executes various data processing.

制御回路107は、ユーザにより撮影指示操作が行われると、撮像素子100を制御して被写体像を撮像した画像信号を出力させる。そして、第1画像処理部101は、取得した画像信号に対してアナログ的な処理を施してから、A/D変換等を施してデジタル画像データ(RAWデータ)を生成する。第2画像処理部102は、デジタル画像データに対して、ホワイトバランス処理、ガンマ補正処理、色補間処理、輪郭強調、ビネット補正などの画像処理を施して画像データを生成する。   When a user performs a shooting instruction operation, the control circuit 107 controls the image sensor 100 to output an image signal obtained by capturing a subject image. The first image processing unit 101 performs analog processing on the acquired image signal and then performs A / D conversion or the like to generate digital image data (RAW data). The second image processing unit 102 performs image processing such as white balance processing, gamma correction processing, color interpolation processing, contour enhancement, and vignette correction on the digital image data to generate image data.

制御回路107は、画質設定部107a、連写可能枚数設定部107b、バッファ管理部107c、モード選択部107dおよび記録制御部107eを機能的に備える。画質設定部107aは、後述する設定メニューにおいてユーザにより設定された撮影画像の画質に応じて、第2画像処理部102が画像データに施す画像処理の内容を設定する。連写可能枚数設定部107bは、画像用バッファ106の容量、メモリカード120の処理速度(記録速度)や記録容量等に基づいて、ユーザによる後述する操作部111の操作により設定された連写速度を維持してメモリカード120に記録可能な画像データの枚数(連写可能枚数)を算出する。   The control circuit 107 functionally includes an image quality setting unit 107a, a continuous shooting possible number setting unit 107b, a buffer management unit 107c, a mode selection unit 107d, and a recording control unit 107e. The image quality setting unit 107a sets the content of image processing performed on the image data by the second image processing unit 102 in accordance with the image quality of the captured image set by the user in a setting menu described later. The continuous shooting possible number setting unit 107b is based on the capacity of the image buffer 106, the processing speed (recording speed) and the recording capacity of the memory card 120, and the continuous shooting speed set by the operation of the operation unit 111 described later by the user. The number of image data that can be recorded in the memory card 120 (the number of continuous shots) can be calculated.

バッファ管理部107cは、画質設定部107aにより設定された画像処理の内容と、連写可能枚数設定部107bにより設定された連写可能枚数とに基づいて、画像用バッファ106内において、後述する静止画用格納領域106aと、静止画・動画共用格納領域106bの領域の割り当てを制御する。モード選択部107dは、後述するように、動画撮影中に静止画の撮影が行われる場合に、各種の情報(パラメータ)に基づいて、静止画データおよび動画データの記録モードを選択する。後述するように、本実施の形態の電子カメラ1は、記録モードとして第1モードと第2モードとを含み、モード選択部107dは、第1モードまたは第2モードの一方を選択する。記録制御部107eは、動画データおよび静止画データの少なくとも一方に記録処理を制御する。また、動画撮影中に静止画撮影が指示された場合には、記録制御部107eは、モード選択部107dにより選択された第1モードまたは第2モードにて動画データと静止画データの記録処理を制御する。   The buffer management unit 107c is a still image to be described later in the image buffer 106 based on the content of the image processing set by the image quality setting unit 107a and the continuous shooting possible number set by the continuous shooting possible number setting unit 107b. The allocation of the image storage area 106a and the still image / video shared storage area 106b is controlled. As described later, the mode selection unit 107d selects a recording mode for still image data and moving image data based on various information (parameters) when still image shooting is performed during moving image shooting. As will be described later, the electronic camera 1 of the present embodiment includes a first mode and a second mode as recording modes, and the mode selection unit 107d selects one of the first mode and the second mode. The recording control unit 107e controls recording processing on at least one of moving image data and still image data. In addition, when still image shooting is instructed during moving image shooting, the recording control unit 107e performs recording processing of moving image data and still image data in the first mode or the second mode selected by the mode selection unit 107d. Control.

画像用バッファ106は、画像処理、画像圧縮処理および表示データ作成処理の途中や処理後のデータを一時的に格納するために使用される揮発性メモリである。画像用バッファ106は、静止画データを一時的に格納するための静止画用格納領域106aと、静止画・動画共用格納領域106bとを有する。静止画用格納領域106aには、第1画像処理部101で生成されたデジタル画像データ(RAWデータ)が一時的に格納される。静止画・動画共用格納領域106bには、第2画像処理部103で生成された静止画データまたは動画データが一時的に格納される。なお、静止画用格納領域106aと、静止画・動画共用格納領域106bとは、制御回路107のバッファ管理部107cの制御により、画象用バッファ106の容量内において、それぞれの領域が可変となるように構成されている。   The image buffer 106 is a volatile memory used to temporarily store data during or after image processing, image compression processing, and display data creation processing. The image buffer 106 includes a still image storage area 106a for temporarily storing still image data, and a still image / moving image shared storage area 106b. In the still image storage area 106a, the digital image data (RAW data) generated by the first image processing unit 101 is temporarily stored. The still image / moving image shared storage area 106b temporarily stores still image data or moving image data generated by the second image processing unit 103. The still image storage area 106 a and the still image / moving image shared storage area 106 b are variable within the capacity of the image buffer 106 under the control of the buffer management unit 107 c of the control circuit 107. It is configured as follows.

動画圧縮部103は、第2画像処理部102で生成された動画データに対してMPEG等の圧縮処理を施し、動画ファイルを生成する。静止画圧縮部104は、第2画像処理部102で生成された静止画データに対してJPEG圧縮処理を施し、EXIFなどの形式で静止画ファイルを生成する。記録用バッファ105は、動画圧縮部103で生成された動画ファイル、または静止画圧縮部104で生成された静止画ファイルを一時的に格納するために使用される揮発性メモリである。   The moving image compression unit 103 performs a compression process such as MPEG on the moving image data generated by the second image processing unit 102 to generate a moving image file. The still image compression unit 104 performs JPEG compression processing on the still image data generated by the second image processing unit 102 and generates a still image file in a format such as EXIF. The recording buffer 105 is a volatile memory used for temporarily storing the moving image file generated by the moving image compression unit 103 or the still image file generated by the still image compression unit 104.

メモリカードインタフェース112は、メモリカード120が着脱可能なインタフェースであり、メモリカード120の着脱を検出すると検出信号を制御回路107へ出力する。そして、メモリカードインタフェース112は、装着されたメモリカード120の記録速度や記録容量等の情報を制御回路107へ出力する。メモリカードインタフェース112は、制御回路107の制御に基づいて、記録用バッファ105に一時的に格納された画像ファイルをメモリカード120に書き込んだり、メモリカード120に記録されている画像ファイルを読み出す。メモリカード120はコンパクトフラッシュ(登録商標)やSDカードなどの半導体メモリカードである。   The memory card interface 112 is an interface to which the memory card 120 can be attached / detached, and outputs a detection signal to the control circuit 107 when the attachment / detachment of the memory card 120 is detected. Then, the memory card interface 112 outputs information such as the recording speed and recording capacity of the attached memory card 120 to the control circuit 107. The memory card interface 112 writes the image file temporarily stored in the recording buffer 105 to the memory card 120 or reads the image file recorded on the memory card 120 under the control of the control circuit 107. The memory card 120 is a semiconductor memory card such as a compact flash (registered trademark) or an SD card.

LCD駆動回路109は、制御回路107の命令に基づいてメイン表示器110を駆動する回路である。メイン表示器110はたとえば液晶表示パネルであり、再生モードにおいて、メモリカード120に記録されている画像データに基づいて制御回路107で作成された表示データに対応する画像を表示する。また、メイン表示器120には、電子カメラ1の各種動作を設定するためのメニュー画面が表示される。メニュー画面に表示される設定内容として、画質モード等がある。画質モードにおいては、撮影画像の画質として、たとえばベーシック、ノーマル、ファイン、RAW、RAW+ファイン、RAW+ノーマルなどが設定可能である。   The LCD drive circuit 109 is a circuit that drives the main display 110 based on a command from the control circuit 107. The main display 110 is a liquid crystal display panel, for example, and displays an image corresponding to the display data created by the control circuit 107 based on the image data recorded on the memory card 120 in the reproduction mode. The main display 120 displays a menu screen for setting various operations of the electronic camera 1. The setting contents displayed on the menu screen include an image quality mode. In the image quality mode, for example, basic, normal, fine, RAW, RAW + fine, and RAW + normal can be set as the image quality of the captured image.

操作部111は、ユーザの操作を受け付けるスイッチである。操作部111には、電源スイッチ、動画撮影を指示する動画用レリーズスイッチ、静止画撮影を指示する静止画用レリーズスイッチ、その他の設定メニューの表示切換スイッチ、設定メニュー決定ボタンなどが含まれる。操作部111で設定可能な内容として、電子カメラ1の動作モード、上述した画質などの設定がある。電子カメラ1は、動作モードとして、たとえば単写モード、連写モード、動画撮影モードおよび再生モードなどを有している。連写モードにおいては、ユーザは操作部111を操作することで、たとえば4fps(1秒当たり4フレーム)や8fps(1秒当たり8フレーム)などの画像データを連続して取得する間隔(撮影間隔)、すなわち連写速度を設定できる。   The operation unit 111 is a switch that receives a user operation. The operation unit 111 includes a power switch, a moving image release switch for instructing moving image shooting, a still image release switch for instructing still image shooting, a display switch for other setting menus, a setting menu determination button, and the like. The contents that can be set by the operation unit 111 include settings such as the operation mode of the electronic camera 1 and the image quality described above. The electronic camera 1 has, for example, a single shooting mode, a continuous shooting mode, a moving image shooting mode, and a playback mode as operation modes. In the continuous shooting mode, the user operates the operation unit 111 to continuously acquire image data such as 4 fps (4 frames per second) or 8 fps (8 frames per second) (shooting interval). That is, the continuous shooting speed can be set.

制御回路107による、動画撮影中に静止画撮影が指示された場合における静止画データおよび動画データの記録処理に関する第1モードまたは第2モードの選択処理、および第1モードと第2モードにおける記録処理について説明する。第1モードは、動画撮影中に取得されたRAWデータを静止画用格納領域106aに格納しておき、動画撮影が終了した後、静止画データを生成するモードである。第2モードは、動画撮影中に静止画データを生成するモードである。   The selection process of the first mode or the second mode relating to the recording process of the still image data and the moving image data when the control circuit 107 is instructed to capture the still image during the moving image shooting, and the recording process in the first mode and the second mode. Will be described. The first mode is a mode in which RAW data acquired during moving image shooting is stored in the still image storage area 106a, and after moving image shooting is completed, still image data is generated. The second mode is a mode for generating still image data during moving image shooting.

−第1モード−
モード選択部107dは、ユーザにより静止画の画質として高画質(たとえば「ファイン」)が設定された場合、第1モードを選択する。すなわち高負荷の画像処理を伴う場合には、モード選択部107dは、第1モードを選択する。そして、画質設定部107aは、ユーザの画質モードの設定に応じて、静止画データのデータサイズを決定する。さらに、画質設定部107aは、第2画像処理部102が静止画データに施す画像処理(AEブラケット、色処理等)を決定する。なお、画質とデータサイズとの対応関係を示す対応データは、あらかじめ所定の記録領域に記録され、画質設定部107aは対応データを参照して、静止画データのデータサイズを決定する。
-First mode-
The mode selection unit 107d selects the first mode when the user sets high image quality (for example, “fine”) as the still image quality. That is, when high-load image processing is involved, the mode selection unit 107d selects the first mode. Then, the image quality setting unit 107a determines the data size of the still image data according to the user's image quality mode setting. Furthermore, the image quality setting unit 107a determines image processing (AE bracketing, color processing, etc.) that the second image processing unit 102 performs on still image data. Corresponding data indicating the correspondence between the image quality and the data size is recorded in advance in a predetermined recording area, and the image quality setting unit 107a refers to the corresponding data to determine the data size of the still image data.

連写可能枚数設定部107bは、画質設定部107aで決定された静止画データのデータサイズと、画像用バッファ106の静止画用格納領域106aの容量とに基づいて、連写可能枚数を算出する。第1モードでは、動画撮影が終了するまで、取得されたRAWデータが静止画用格納領域106aに格納されるので、連写可能枚数設定部107bは、静止画用格納領域106aの容量を静止画データのデータサイズで割ることにより連写可能枚数を算出する。   The continuous shooting number setting unit 107b calculates the number of continuous shootings based on the data size of the still image data determined by the image quality setting unit 107a and the capacity of the still image storage area 106a of the image buffer 106. . In the first mode, since the acquired RAW data is stored in the still image storage area 106a until the moving image shooting is completed, the continuous shooting possible number setting unit 107b sets the capacity of the still image storage area 106a to the still image storage area 106a. The number of continuous shots is calculated by dividing by the data size of the data.

図2のタイムチャートを参照しながら、動画撮影中に静止画撮影が指示された場合の記録制御部107eによる記録制御について説明する。図2においては、6フレーム分の動画が撮影され、2フレーム目の動画から3コマの静止画が連写により撮影された場合を示している。なお、図2のタイムチャートの横軸は時刻を示すものとする。   With reference to the time chart of FIG. 2, recording control by the recording control unit 107e when a still image shooting instruction is given during moving image shooting will be described. FIG. 2 shows a case where 6 frames of moving images have been shot, and 3 frames of still images have been shot from the second frame of moving images. Note that the horizontal axis of the time chart in FIG. 2 indicates time.

時刻t1においては、記録制御部107eは、撮像素子100に第1フレーム目の動画データに対応する画像信号を出力させる。そして、記録制御部107eは、第1画像処理部101に、撮像素子100から出力された画像信号に対して画像処理を施させ、RAWデータを生成させる。時刻t2において、第1フレーム目の動画データに対応するRAWデータの生成が終了すると、記録制御部107eは、第2画像処理部102に、生成されたRAWデータに画像処理を施させて動画データを生成させる。また、時刻t2では、記録制御部107eは、第1画像処理部101に第2フレーム目の動画データに対応するRAWデータを生成させる。   At time t1, the recording control unit 107e causes the image sensor 100 to output an image signal corresponding to the moving image data of the first frame. Then, the recording control unit 107e causes the first image processing unit 101 to perform image processing on the image signal output from the image sensor 100 and generate RAW data. When generation of the RAW data corresponding to the moving image data of the first frame is completed at time t2, the recording control unit 107e causes the second image processing unit 102 to perform image processing on the generated RAW data, thereby moving the moving image data. Is generated. At time t2, the recording control unit 107e causes the first image processing unit 101 to generate RAW data corresponding to the moving image data of the second frame.

時刻t3では、第2画像処理部102による第1フレーム目の動画データの生成と、第1画像処理部101による第2フレーム目の動画データに対応するRAWデータの生成が終了する。そして、記録制御部107eは、動画圧縮部103に第1フレーム目の動画データを圧縮させ、第2画像処理部102に第2フレーム目の動画データを生成させる。また、記録制御部107eは、第1画像処理部101に第3フレーム目の動画データに対応するRAWデータを生成させる。また、記録制御部107eは、時刻t3で、第2フレーム目の動画データに対応するRAWデータを、第1コマ目の静止画データに対応するRAWデータとして画像用バッファ106の静止画用格納領域106aに格納する。   At time t3, the generation of the first frame of moving image data by the second image processing unit 102 and the generation of the RAW data corresponding to the second frame of moving image data by the first image processing unit 101 are completed. The recording control unit 107e then causes the moving image compression unit 103 to compress the first frame of moving image data, and causes the second image processing unit 102 to generate the second frame of moving image data. Further, the recording control unit 107e causes the first image processing unit 101 to generate RAW data corresponding to the moving image data of the third frame. Further, at time t3, the recording control unit 107e converts the RAW data corresponding to the moving image data of the second frame as the RAW data corresponding to the still image data of the first frame as a still image storage area of the image buffer 106. It is stored in 106a.

時刻t4では、第1フレーム目の動画データの圧縮処理、第2フレーム目の動画データの生成、第3フレーム目の動画データに対応するRAWデータの生成が終了する。さらに、第1コマ目の静止画データに対応するRAWデータの静止画用格納領域106aへの格納が終了する。時刻t4では、記録制御部107eは、第1フレーム目の動画データをメモリカード120へ記録し、動画圧縮部103に第2フレーム目の動画データを圧縮処理させ、第2画像処理部102に第3フレーム目の動画データを生成させる。さらに、記録制御部107eは、第1画像処理部101に第4フレーム目の動画データに対応するRAWデータを生成させる。また、記録制御部107eは、静止画データに対する処理として、時刻t4で生成が終了した第3フレーム目の動画データに対応するRAWデータを、第2コマ目の静止画データに対応するRAWデータとして画像用バッファ106の静止画用格納領域106aに格納する。   At time t4, the first frame of moving image data compression processing, the generation of the second frame of moving image data, and the generation of RAW data corresponding to the third frame of moving image data are completed. Further, the storage of the RAW data corresponding to the still image data of the first frame in the still image storage area 106a ends. At time t4, the recording control unit 107e records the moving image data of the first frame on the memory card 120, causes the moving image compression unit 103 to compress the moving image data of the second frame, and causes the second image processing unit 102 to perform the first processing. The moving image data of the third frame is generated. Further, the recording control unit 107e causes the first image processing unit 101 to generate RAW data corresponding to the moving image data of the fourth frame. In addition, as a process for the still image data, the recording control unit 107e converts the RAW data corresponding to the third frame of moving image data generated at time t4 as the RAW data corresponding to the second frame still image data. The image is stored in the still image storage area 106 a of the image buffer 106.

動画撮影時の処理については、記録制御部107eは、動画撮影が終了するまで、すなわち、図2では時刻t11で第6フレーム目の動画データのメモリカード120への記録が終了するまで)上記の処理を繰り返させる。また、静止画撮影の処理については、記録制御部107eは、第3コマ目の静止画データに対応するRAWデータを画像用バッファ内の静止画用格納領域106aに格納するまで(図2においては、時刻t6)、上記の処理を繰り返す。そして、記録制御部107eは、第2画像処理部102による動画データの記録処理が終了するまで、3コマの静止画データに対応するRAWデータを静止画用格納領域106aに格納させる。このとき、記録制御部107eは、メモリカード120の記録領域内に、3コマ分の静止画データを記録するための領域を確保する。   Regarding the processing at the time of moving image shooting, the recording control unit 107e performs the above-described processing until the moving image shooting ends (that is, until the recording of the sixth frame of moving image data to the memory card 120 ends at time t11 in FIG. 2). Let the process repeat. As for the still image shooting process, the recording control unit 107e stores the RAW data corresponding to the still image data of the third frame in the still image storage area 106a in the image buffer (in FIG. 2). , Time t6), the above processing is repeated. Then, the recording control unit 107e stores the RAW data corresponding to the three frames of still image data in the still image storage area 106a until the moving image data recording process by the second image processing unit 102 is completed. At this time, the recording control unit 107e secures an area for recording still image data for three frames in the recording area of the memory card 120.

時刻t11では、図2に示すように、第2画像処理部102による第6フレーム目の動画データの記録、すなわち全ての動画データの記録が終了する。そして、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第1コマ目の静止画データに対応するRAWデータに画像処理を施させ、第1コマ目の静止画データを生成させる。第1コマ目の静止画データの生成が終了した時刻t12では、記録制御部107eは、静止画圧縮部104に第1コマ目の静止画データを圧縮処理させる。さらに、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第2コマ目の静止画データに対応するRAWデータに画像処理を施させ、第2コマ目の静止画データを生成させる。   At time t11, as shown in FIG. 2, recording of moving image data of the sixth frame by the second image processing unit 102, that is, recording of all moving image data ends. Then, the recording control unit 107e causes the second image processing unit 102 to perform image processing on the RAW data corresponding to the still image data of the first frame stored in the still image storage area 106a. First frame still image data is generated. At time t12 when generation of the still image data for the first frame ends, the recording control unit 107e causes the still image compression unit 104 to compress the still image data for the first frame. Further, the recording control unit 107e causes the second image processing unit 102 to perform image processing on the RAW data corresponding to the still image data of the second frame stored in the still image storage area 106a. The second frame still image data is generated.

時刻t13で第1コマ目の静止画データの圧縮処理が終了し、静止画ファイルが生成されると、記録制御部107eは、生成された静止画ファイルをメモリカード120へ記録する。そして、記録制御部107eは、静止画圧縮部104に、第2コマ目の静止画データの生成が終了した領域から圧縮処理を開始させる。   When the still image data compression process for the first frame ends at time t13 and a still image file is generated, the recording control unit 107e records the generated still image file on the memory card 120. Then, the recording control unit 107e causes the still image compression unit 104 to start the compression process from the area where the generation of the still image data of the second frame has been completed.

時刻t14で、第2コマ目の全ての領域の静止画データが生成されると、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第3コマ目の静止画データに対応するRAWデータに画像処理を施させ、第3コマ目の静止画データを生成させる。時刻t15では、第1コマ目の静止画ファイルの記録と、第2コマ目の静止画ファイルの生成が終了する。そして、記録制御部107eは、第2コマ目の静止画ファイルのメモリカード120への記録を開始し、静止画圧縮部104に、第3コマ目の静止画データの生成が終了した領域から圧縮処理を開始させる。静止画撮影時の処理については、記録制御部107eは、静止画ファイルのメモリカード120への記録が終了するまで(図2では時刻t18で第3コマ目の静止画ファイルの記録が終了するまで)上記の処理を繰り返させる。   When still image data of all areas of the second frame is generated at time t14, the recording control unit 107e stores the second image processing unit 102 in the still image storage area 106a. Image processing is performed on the RAW data corresponding to the still image data of the third frame, and still image data of the third frame is generated. At time t15, the recording of the still image file for the first frame and the generation of the still image file for the second frame are completed. Then, the recording control unit 107e starts recording the still image file of the second frame to the memory card 120, and compresses the still image compression unit 104 from the area where the generation of the still image data of the third frame is finished. Start processing. Regarding the processing at the time of still image shooting, the recording control unit 107e until the recording of the still image file to the memory card 120 ends (in FIG. 2, until the recording of the third frame still image file ends at time t18). ) Repeat the above process.

−第2モード−
モード選択部107dは、ユーザにより静止画の画質として低画質(たとえば「ベーシック」)が設定された場合、第2モードを選択する。すなわち低負荷の画像処理を伴う場合には、モード選択部107dは、第1モードを選択する。そして、画質設定部107aは、第1モードの場合と同様に、ユーザの画質モードの設定に応じて、静止画データのデータサイズ、および第2画像処理部102が静止画データに施す画像処理(AEブラケット、色処理等)を決定する。
-Second mode-
The mode selection unit 107d selects the second mode when the user sets low image quality (for example, “basic”) as the image quality of the still image. That is, when low-load image processing is involved, the mode selection unit 107d selects the first mode. Then, as in the first mode, the image quality setting unit 107a determines the data size of the still image data and the image processing (second image processing unit 102 applies to the still image data) according to the user's image quality mode setting. AE bracket, color processing, etc.).

連写可能枚数設定部107bは、画質設定部107aで決定された静止画データのデータサイズと、画像用バッファ106の静止画用格納領域106aの容量と、メモリカード120の記録速度と、ユーザにより設定された連写速度とに基づいて、連写可能枚数を算出する。   The continuous shooting possible number setting unit 107b determines the data size of the still image data determined by the image quality setting unit 107a, the capacity of the still image storage area 106a of the image buffer 106, the recording speed of the memory card 120, and the user. The number of continuous shots is calculated based on the set continuous shooting speed.

図3のタイムチャートを参照しながら、動画撮影中に静止画撮影が指示された場合の記録制御部107eによる記録制御について説明する。図3は、図2のタイムチャートと同様に、6フレーム分の動画が撮影され、2フレーム目の動画から3コマの静止画が連写により撮影された場合を示している。また、図3のタイムチャートの横軸についても時刻を示すものとする。さらに、動画撮影に関する処理も図2に示す場合と同様である。したがって、以下では静止画撮影の場合について説明する。   With reference to the time chart of FIG. 3, recording control by the recording control unit 107e when a still image shooting instruction is given during moving image shooting will be described. FIG. 3 shows a case where a moving picture of 6 frames is taken and three still pictures are taken by continuous shooting from the moving picture of the second frame, as in the time chart of FIG. The time is also shown on the horizontal axis of the time chart of FIG. Further, the processing related to moving image shooting is the same as that shown in FIG. Therefore, the case of still image shooting will be described below.

時刻t3では、記録制御部107eは、第1モードの場合と同様にして、第2フレーム目の動画データに対応するRAWデータを、第1コマ目の静止画データに対応するRAWデータとして画像用バッファ106の静止画用格納領域106aに格納する。時刻t4では、第1コマ目の静止画データに対応するRAWデータの静止画用格納領域106aへの格納が終了する。時刻t4では、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第1コマ目の静止画データに対応するRAWデータに画像処理を施させ、第1コマ目の静止画データを生成させる。そして、記録制御部107eは、時刻t4で生成が終了した第3フレーム目の動画データに対応するRAWデータを、第2コマ目の静止画データに対応するRAWデータとして画像用バッファ106の静止画用格納領域106aに格納する。   At time t3, the recording control unit 107e uses the RAW data corresponding to the moving image data of the second frame as the RAW data corresponding to the still image data of the first frame, as in the first mode. The image is stored in the still image storage area 106 a of the buffer 106. At time t4, the storage of the RAW data corresponding to the still image data of the first frame in the still image storage area 106a ends. At time t4, the recording control unit 107e causes the second image processing unit 102 to perform image processing on the RAW data corresponding to the still image data of the first frame stored in the still image storage area 106a. The still image data of the first frame is generated. Then, the recording control unit 107e converts the RAW data corresponding to the moving image data of the third frame, which has been generated at time t4, as the RAW data corresponding to the still image data of the second frame, as a still image in the image buffer 106. Stored in the storage area 106a.

第1コマ目の静止画データの生成が終了した時刻t5では、記録制御部107eは、静止画圧縮部104に第1コマ目の静止画データを圧縮処理させる。さらに、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第2コマ目の静止画データに対応するRAWデータに画像処理を施させ、第2コマ目の静止画データを生成させる。時刻t6で第1コマ目の静止画データの圧縮処理が終了し、静止画ファイルが生成されると、記録制御部107eは、生成された静止画ファイルをメモリカード120へ記録する。そして、記録制御部107eは、静止画圧縮部104に、第2コマ目の静止画データの圧縮処理を開始させる。   At time t5 when the generation of still image data for the first frame ends, the recording control unit 107e causes the still image compression unit 104 to compress the still image data for the first frame. Further, the recording control unit 107e causes the second image processing unit 102 to perform image processing on the RAW data corresponding to the still image data of the second frame stored in the still image storage area 106a. The second frame still image data is generated. When the still image data compression process for the first frame ends at time t6 and a still image file is generated, the recording control unit 107e records the generated still image file on the memory card 120. Then, the recording control unit 107e causes the still image compression unit 104 to start compression processing of still image data for the second frame.

さらに、時刻t6で、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第3コマ目の静止画データに対応するRAWデータに画像処理を施させ、第3コマ目の静止画データを生成させる。時刻t7では、第1コマ目の静止画ファイルの記録と、第2コマ目の静止画ファイルの生成が終了する。そして、記録制御部107eは、第2コマ目の静止画ファイルのメモリカード120への記録を開始し、静止画圧縮部104に、第3コマ目の静止画データの生成が終了した領域から圧縮処理を開始させる。静止画撮影時の処理については、記録制御部107eは、静止画ファイルのメモリカード120への記録が終了するまで(図3では時刻t9で第3コマ目の静止画ファイルの記録が終了するまで)上記の処理を繰り返させる。   Furthermore, at time t6, the recording control unit 107e performs image processing on the RAW data corresponding to the still image data of the third frame stored in the still image storage area 106a, with respect to the second image processing unit 102. The third frame still image data is generated. At time t7, the recording of the still image file for the first frame and the generation of the still image file for the second frame are completed. Then, the recording control unit 107e starts recording the still image file of the second frame to the memory card 120, and compresses the still image compression unit 104 from the area where the generation of the still image data of the third frame is finished. Start processing. Regarding the processing at the time of still image shooting, the recording control unit 107e until the recording of the still image file to the memory card 120 ends (in FIG. 3, until the recording of the third frame still image file ends at time t9). ) Repeat the above process.

図4は、制御回路107が実行する制御プログラムのフローチャートを示す図である。図4の制御プログラムは、不図示のROMに格納され、操作部111の操作により電子カメラ1の撮影モードが設定されると開始される。
ステップS101では、ユーザにより静止画の画質が高画質に設定されたか否かを判定する。たとえば「ファイン」のような高画質の設定がされた場合はステップS101が肯定判定されてステップS102へ進む。ステップS102では、画像用バッファ106の静止画用格納領域106aの容量に基づいて連写可能枚数を算出してステップS103へ進む。ステップS103においては、第1モードを選択して処理を終了する。
FIG. 4 is a diagram illustrating a flowchart of a control program executed by the control circuit 107. The control program shown in FIG. 4 is stored in a ROM (not shown), and is started when the shooting mode of the electronic camera 1 is set by operating the operation unit 111.
In step S101, it is determined whether or not the image quality of the still image has been set by the user. For example, when a high image quality setting such as “Fine” is set, an affirmative determination is made in step S101 and the process proceeds to step S102. In step S102, the number of continuous shots is calculated based on the capacity of the still image storage area 106a of the image buffer 106, and the process proceeds to step S103. In step S103, the first mode is selected and the process ends.

ユーザにより、たとえば「ベーシック」等の低画質の設定がされた場合は、ステップS101が否定判定されてステップS104へ進む。ステップS104では、画像用バッファ106の静止画用格納領域106aの容量と、メモリカード120の記録速度とに基づいて連写可能枚数を算出してステップS105へ進む。ステップS105においては、第2モードを選択して処理を終了する。   If the user has set a low image quality such as “basic”, for example, a negative determination is made in step S101 and the process proceeds to step S104. In step S104, the number of continuous shots is calculated based on the capacity of the still image storage area 106a of the image buffer 106 and the recording speed of the memory card 120, and the process proceeds to step S105. In step S105, the second mode is selected and the process is terminated.

以上で説明した第1の実施の形態による電子カメラ1によると、以下の作用効果が得られる。
(1)画質設定部107aは、動画データおよび静止画データをメモリカード120に記録する際の記録に関するパラメータとして、ユーザにより設定された静止画の画質を検出するようにした。モード選択部107dは、設定された静止画の画質に応じて、メモリカード120への記録処理として互いに異なる第1モードおよび第2モードの一方を選択するようにした。そして、記録制御部107eは、生成された静止画データと動画データとを、モード選択部107dにより選択された記録モードを用いてメモリカード120に記録するようにした。すなわち、第1モード態様においては、動画データのメモリカード120への記録が終了した後、第2画像処理部102は、画像用バッファ106に格納された静止画データに高負荷の画像処理を施す。また、第2モードにおいては、動画データのメモリカード120への記録中に、第2画像処理部102は、静止画データに低負荷の画像処理を施す。したがって、動画撮影中に静止画を撮影する場合に、静止画撮影処理に伴い動画データのフレーム落ちの発生を防ぐことができる。
According to the electronic camera 1 according to the first embodiment described above, the following operational effects can be obtained.
(1) The image quality setting unit 107a detects the image quality of a still image set by the user as a recording parameter when recording moving image data and still image data on the memory card 120. The mode selection unit 107d selects one of the first mode and the second mode that are different from each other as the recording process to the memory card 120 in accordance with the set still image quality. Then, the recording control unit 107e records the generated still image data and moving image data on the memory card 120 using the recording mode selected by the mode selection unit 107d. That is, in the first mode, after the recording of the moving image data to the memory card 120 is completed, the second image processing unit 102 performs high-load image processing on the still image data stored in the image buffer 106. . In the second mode, the second image processing unit 102 performs low-load image processing on still image data during recording of moving image data on the memory card 120. Therefore, when a still image is shot during moving image shooting, it is possible to prevent occurrence of a frame drop in the moving image data due to the still image shooting process.

(2)第1モードにおいては、連写可能枚数設定部107bは、画象用バッファ106内の静止画用格納領域106aの容量に基づいて静止画データを連続して取得可能な枚数を算出するようにした。また、第2モードにおいては、連写可能枚数設定部107bは、画象用バッファ106内の静止画用格納領域106aの容量とメモリカード120の容量とに基づいて静止画データを連続して取得可能な枚数を算出するようにした。したがって、動画データのフレーム落ち等の不具合を発生させることなく、連写速度を維持したまま取得可能な連写枚数を保証できる。 (2) In the first mode, the continuous shooting possible number setting unit 107b calculates the number of still image data that can be continuously acquired based on the capacity of the still image storage area 106a in the image buffer 106. I did it. Further, in the second mode, the continuous shooting possible number setting unit 107b continuously acquires still image data based on the capacity of the still image storage area 106a in the image buffer 106 and the capacity of the memory card 120. The number of possible sheets was calculated. Therefore, it is possible to guarantee the number of continuous shots that can be acquired while maintaining the continuous shooting speed without causing problems such as frame dropping of moving image data.

−第2の実施の形態−
図面を参照して、本発明による電子カメラの第2の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。本実施の形態では、メモリカードの処理速度に応じて第1モードと第2モードのうちの一方を選択する点で、第1の実施の形態と異なる。
-Second Embodiment-
A second embodiment of an electronic camera according to the present invention will be described with reference to the drawings. In the following description, the same components as those in the first embodiment are denoted by the same reference numerals, and different points will be mainly described. Points that are not particularly described are the same as those in the first embodiment. This embodiment differs from the first embodiment in that one of the first mode and the second mode is selected according to the processing speed of the memory card.

モード選択部107dは、メモリカード120が装着された際にメモリカードインタフェース112から入力したメモリカード120の記録速度に基づいて、第1モードと第2モードのいずれかを選択する。すなわち、モード選択部107dは、メモリカード120の記録速度が所定の閾値よりも低速な場合は第1モードを選択し、メモリカード120の記録速度が所定の閾値よりも高速な場合は第2モードを選択する。なお、上記した所定の閾値は、動画記録中に静止画を記録すると、メモリカード120の記録速度に起因して動画記録が行えなくなりフレーム落ちが生じる速度である。第1モードまたは第2モードが選択された場合における連写可能枚数設定部107bによる連写可能枚数の算出処理、および記録制御部107eによる動画ファイルと静止画ファイルのメモリカード120への記録処理は第1の実施の形態の場合と同様である。   The mode selection unit 107d selects either the first mode or the second mode based on the recording speed of the memory card 120 input from the memory card interface 112 when the memory card 120 is inserted. That is, the mode selection unit 107d selects the first mode when the recording speed of the memory card 120 is lower than the predetermined threshold, and the second mode when the recording speed of the memory card 120 is higher than the predetermined threshold. Select. Note that the above-described predetermined threshold is a speed at which, when a still image is recorded during moving image recording, the moving image cannot be recorded due to the recording speed of the memory card 120 and a frame is dropped. When the first mode or the second mode is selected, the process for calculating the number of continuous shots by the continuous shot number setting unit 107b and the process for recording the moving image file and the still image file to the memory card 120 by the recording control unit 107e are as follows. This is the same as in the case of the first embodiment.

図5は、制御回路107が実行する制御プログラムのフローチャートを示す図である。図5の制御プログラムは、不図示のROMに格納され、操作部111の操作により電子カメラ1の撮影モードが設定されると開始される。
ステップS201では、メモリカード120の記録速度が低速か否かを判定する。メモリカード120の記録速度が所定の閾値よりも低速の場合はステップS201が肯定判定されてステップS202へ進む。ステップS202では、画像用バッファ106の静止画用格納領域106aの容量に基づいて連写可能枚数を算出してステップS203へ進む。ステップS203においては、第1モードを選択して処理を終了する。
FIG. 5 is a diagram illustrating a flowchart of a control program executed by the control circuit 107. The control program in FIG. 5 is stored in a ROM (not shown), and is started when the photographing mode of the electronic camera 1 is set by operating the operation unit 111.
In step S201, it is determined whether the recording speed of the memory card 120 is low. If the recording speed of the memory card 120 is lower than the predetermined threshold, an affirmative determination is made in step S201 and the process proceeds to step S202. In step S202, the number of continuous shots is calculated based on the capacity of the still image storage area 106a of the image buffer 106, and the process proceeds to step S203. In step S203, the first mode is selected and the process ends.

メモリカード120の記録速度が所定の閾値よりも高速の場合は、ステップS201が否定判定されてステップS204へ進む。ステップS204では、画像用バッファ106の静止画用格納領域106aの容量と、メモリカード120の記録速度とに基づいて連写可能枚数を算出してステップS205へ進む。ステップS205においては、第2モードを選択して処理を終了する。   If the recording speed of the memory card 120 is higher than the predetermined threshold, a negative determination is made in step S201 and the process proceeds to step S204. In step S204, the number of continuous shots is calculated based on the capacity of the still image storage area 106a of the image buffer 106 and the recording speed of the memory card 120, and the process proceeds to step S205. In step S205, the second mode is selected and the process ends.

以上で説明した第2の実施の形態による電子カメラによると、第1の実施の形態により得られる作用効果に加えて、以下の作用効果が得られる。
メモリカード120の処理速度が低速である場合、モード選択部107dは第1モードを選択し、メモリカード120の処理速度が高速である場合は第2モードを選択するようにした。したがって、動画撮影中に静止画を撮影する場合に、メモリカード120の記録速度に起因して動画データにフレーム落ちが発生することを防ぐことができる。
According to the electronic camera according to the second embodiment described above, in addition to the functions and effects obtained by the first embodiment, the following functions and effects are obtained.
The mode selection unit 107d selects the first mode when the processing speed of the memory card 120 is low, and selects the second mode when the processing speed of the memory card 120 is high. Therefore, when shooting a still image during moving image shooting, it is possible to prevent a frame drop from occurring in the moving image data due to the recording speed of the memory card 120.

−変形例−
上述した第1の実施の形態または第2の実施の形態による電子カメラを次のように変形できる。
(1)設定された静止画の画質とメモリカード120の記録速度とに基づいて第1モードおよび第2モードのうち一方を選択するようにしてもよい。この場合、モード選択部107dは、メモリカード120の記録速度を優先して記録モードを第1モードと第2モードの一方に選択する。すなわち、画質モードが低画質(低負荷)の、たとえば「ベーシック」に設定されていても、メモリカード120の記録速度が第2の実施の形態において説明した閾値よりも低速の場合は、モード選択部107dは第1モードを選択する。
-Modification-
The electronic camera according to the first embodiment or the second embodiment described above can be modified as follows.
(1) One of the first mode and the second mode may be selected based on the set still image quality and the recording speed of the memory card 120. In this case, the mode selection unit 107d prioritizes the recording speed of the memory card 120 and selects the recording mode as one of the first mode and the second mode. That is, even when the image quality mode is set to low image quality (low load), for example, “basic”, the mode selection is performed when the recording speed of the memory card 120 is lower than the threshold described in the second embodiment. The unit 107d selects the first mode.

図6に示すフローチャートを用いて、変形例における電子カメラ1の制御回路107が実行する処理を説明する。図6のフローチャートは、制御回路107が制御プログラムを実行することにより行われる。図6の制御プログラムは、不図示のROMに格納され、操作部111の操作により電子カメラ1の撮影モードが設定されると開始される。   Processing executed by the control circuit 107 of the electronic camera 1 according to the modification will be described with reference to the flowchart shown in FIG. The flowchart in FIG. 6 is performed by the control circuit 107 executing a control program. The control program shown in FIG. 6 is stored in a ROM (not shown), and is started when the shooting mode of the electronic camera 1 is set by operating the operation unit 111.

ステップS301では、ユーザにより静止画の画質が高画質に設定されたか否かを判定する。たとえば「ファイン」のような高画質の設定がされた場合はステップS301が肯定判定されてステップS302へ進む。ステップS302では、メモリカード120の記録速度が低速か否かを判定する。メモリカード120の記録速度が所定の閾値よりも低速の場合はステップS302が肯定判定されてステップS303へ進む。メモリカード120の記録速度が所定の閾値よりも高速の場合は、ステップS302が否定判定されて、後述するステップS306へ進む。ステップS303では、画像用バッファ106の静止画用格納領域106aの容量に基づいて連写可能枚数を算出してステップS304へ進む。ステップS304においては、第1モードを選択して処理を終了する。   In step S301, it is determined whether or not the image quality of the still image has been set by the user. For example, when a high image quality such as “Fine” is set, an affirmative determination is made in step S301 and the process proceeds to step S302. In step S302, it is determined whether the recording speed of the memory card 120 is low. If the recording speed of the memory card 120 is lower than the predetermined threshold, an affirmative determination is made in step S302 and the process proceeds to step S303. When the recording speed of the memory card 120 is higher than the predetermined threshold, a negative determination is made in step S302, and the process proceeds to step S306 described later. In step S303, the number of continuous shots is calculated based on the capacity of the still image storage area 106a of the image buffer 106, and the process proceeds to step S304. In step S304, the first mode is selected and the process ends.

ユーザにより、たとえば「ベーシック」等の低画質の設定がされた場合は、ステップS301が否定判定されてステップS305へ進む。ステップS305では、ステップS302と同様に、メモリカード120の記録速度が低速か否かを判定する。メモリカード120の記録速度が低速の場合はステップS305が肯定判定されて、上述したステップS303へ進む。メモリカード120の記録速度が所定の閾値よりも高速の場合は、ステップS305が否定判定されて、ステップS306へ進む。ステップS306では、画像用バッファ106の静止画用格納領域106aの容量と、メモリカード120の記録速度とに基づいて連写可能枚数を算出してステップS307へ進む。ステップS307においては、第2モードを選択して処理を終了する。   If the user has set a low image quality such as “basic”, a negative determination is made in step S301 and the process proceeds to step S305. In step S305, as in step S302, it is determined whether or not the recording speed of the memory card 120 is low. If the recording speed of the memory card 120 is low, an affirmative determination is made in step S305 and the process proceeds to step S303 described above. If the recording speed of the memory card 120 is higher than the predetermined threshold, a negative determination is made in step S305, and the process proceeds to step S306. In step S306, the number of continuous shots is calculated based on the capacity of the still image storage area 106a of the image buffer 106 and the recording speed of the memory card 120, and the process proceeds to step S307. In step S307, the second mode is selected and the process is terminated.

(2)第1モードにおいて、第2画像処理部102による動画データに対する画像処理が終了した後に、静止画データに対する画像処理を開始するようにしてもよい。この場合、第1モードにおけるタイムチャートは図7に示すようになる。 (2) In the first mode, after the image processing on the moving image data by the second image processing unit 102 is completed, the image processing on the still image data may be started. In this case, the time chart in the first mode is as shown in FIG.

この場合、時刻t8において第2画像処理部102による第6フレーム目の動画データの生成、すなわち全動画データの生成が終了する。そして、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第1コマ目のRAWデータに画像処理を施させ、静止画データを生成させる。第1コマ目の静止画データの生成が終了した時刻t10では、記録制御部107eは、静止画圧縮部104に第1コマ目の静止画データを圧縮処理させる。さらに、記録制御部107eは、第2画像処理部102に対して、静止画用格納領域106aに格納されている第2コマ目のRAWデータを用いて静止画データを生成させる。   In this case, generation of moving image data of the sixth frame by the second image processing unit 102, that is, generation of all moving image data, ends at time t8. Then, the recording control unit 107e causes the second image processing unit 102 to perform image processing on the RAW data of the first frame stored in the still image storage area 106a to generate still image data. At time t <b> 10 when generation of the first frame still image data is completed, the recording control unit 107 e causes the still image compression unit 104 to compress the first frame still image data. Further, the recording control unit 107e causes the second image processing unit 102 to generate still image data using the RAW data of the second frame stored in the still image storage area 106a.

時刻t12で第1コマ目の静止画データの圧縮処理が終了し、静止画ファイルが生成されると、記録制御部107eは、生成された静止画ファイルをメモリカード120へ記録させる、そして、記録制御部107eは静止画圧縮部104に第2コマ目の静止画データの生成が終了した領域から圧縮処理を開始させる。   When the still image data compression process for the first frame ends at time t12 and a still image file is generated, the recording control unit 107e causes the generated still image file to be recorded on the memory card 120, and the recording is performed. The control unit 107e causes the still image compression unit 104 to start the compression process from the area where the generation of the still image data of the second frame has been completed.

時刻t13で第2コマ目の全ての領域の静止画データが生成されると、記録制御部107eは、第2画像処理部102に対して、第3コマ目の静止画データを生成させる。時刻t14では、第1コマ目の静止画ファイルの記録と、第2コマ目の静止画ファイルの生成が終了する。そして、記録制御部107eは、第2コマ目の静止画ファイルのメモリカード120への記録を開始し、静止画圧縮部104に、第3コマ目の静止画データの生成が終了した領域から圧縮処理を開始させる。静止画撮影時の処理については、記録制御部107eは、静止画ファイルのメモリカード120への記録が終了するまで(図2では時刻t16で第3コマ目の静止画ファイルの記録が終了するまで)上記の処理を繰り返させる。   When the still image data of all the areas of the second frame is generated at time t13, the recording control unit 107e causes the second image processing unit 102 to generate the still image data of the third frame. At time t14, recording of the first frame still image file and generation of the second frame still image file are completed. Then, the recording control unit 107e starts recording the still image file of the second frame to the memory card 120, and compresses the still image compression unit 104 from the area where the generation of the still image data of the third frame is finished. Start processing. Regarding the processing at the time of still image shooting, the recording control unit 107e until the recording of the still image file to the memory card 120 ends (in FIG. 2, until the recording of the third frame still image file ends at time t16). ) Repeat the above process.

−第3の実施の形態−
図面を参照して、本発明による電子カメラの第3の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。本実施の形態では、静止画を連写撮影する際に設定された連写枚数に応じて、動画データの画質を設定する点で、第1の実施の形態と異なる。
-Third embodiment-
A third embodiment of an electronic camera according to the present invention will be described with reference to the drawings. In the following description, the same components as those in the first embodiment are denoted by the same reference numerals, and different points will be mainly described. Points that are not particularly described are the same as those in the first embodiment. The present embodiment is different from the first embodiment in that the image quality of moving image data is set according to the number of continuous shots set when continuous shooting of still images is performed.

本実施の形態による電子カメラ1の連写モードにおいては、ユーザは操作部111を操作することにより、連写枚数を設定できる。連写枚数が設定されると、連写可能枚数設定部107bは、画質設定部107aで決定された静止画データのデータサイズと、画像用バッファ106の静止画用格納領域106aの容量と、設定された連写枚数とに基づいて、連写可能枚数を算出する。なお、連写可能枚数は、上述したように設定した撮影間隔で連続撮影することにより取得した静止画データをメモリカード120に記録可能な撮影枚数である。   In the continuous shooting mode of the electronic camera 1 according to the present embodiment, the user can set the number of continuous shots by operating the operation unit 111. When the continuous shooting number is set, the continuous shooting possible number setting unit 107b sets the data size of the still image data determined by the image quality setting unit 107a, the capacity of the still image storage area 106a of the image buffer 106, and the setting. Based on the number of continuous shots, the number of continuous shots is calculated. Note that the number of images that can be continuously shot is the number of images that can be recorded in the memory card 120 with still image data acquired by continuous shooting at the shooting interval set as described above.

連写可能枚数が算出されると、画質設定部107aは、算出された連写可能枚数に応じて動画データに施す画像処理の内容を設定する。すなわち、算出された連写可能枚数が所定の閾値よりも多い場合には、画質設定部107aは、動画データの画質が低画質となるように、たとえば動画データのサイズ(解像度)を低く設定する。そして、画質設定部107aは、第2画像処理部102に、動画データが設定したサイズとなるように画像処理を施させる。なお、動画データの圧縮率を下げることにより画質を低く設定するようにしてもよい。この場合、画質設定部107aは、動画圧縮部103に、動画データが設定した低い圧縮率となるように圧縮処理を施させる。上記の閾値は、複数の静止画データをメモリカード120へ連続して記録することに起因して動画記録が行えなくなりフレーム落ちが生じる連写枚数である。   When the number of continuous shots is calculated, the image quality setting unit 107a sets the content of image processing to be performed on the moving image data according to the calculated number of continuous shots. That is, when the calculated number of continuous shots is greater than a predetermined threshold, the image quality setting unit 107a sets, for example, the size (resolution) of the moving image data low so that the image quality of the moving image data becomes low. . Then, the image quality setting unit 107a causes the second image processing unit 102 to perform image processing so that the moving image data has the set size. Note that the image quality may be set low by reducing the compression rate of the moving image data. In this case, the image quality setting unit 107a causes the moving image compression unit 103 to perform a compression process so that the moving image data has a low compression rate set. The above threshold is the number of continuous shots in which a plurality of still image data is continuously recorded on the memory card 120 and moving image recording cannot be performed and frames are dropped.

以上で説明した第3の実施の形態による電子カメラによると、以下の作用効果が得られる。
連写可能枚数設定部107bは、静止画データを連続して取得する枚数を設定する設定操作を受け付けて、連写可能枚数を設定し、画質設定部107aは、設定された連写可能枚数に基づいて、動画データに施す画像処理を設定するようにした。すなわち、設定された連写可能枚数が所定の閾値を超える場合には、画質設定部107aは、動画データの画像処理が低負荷となるように画質を設定する。したがって、静止画を連続して取得する際に連写可能枚数を維持することにより、動画データにフレーム落ちが発生することを防げる。
According to the electronic camera according to the third embodiment described above, the following operational effects can be obtained.
The continuous shooting number setting unit 107b accepts a setting operation for setting the number of still image data to be continuously acquired, sets the continuous shooting number, and the image quality setting unit 107a sets the set number of continuous shootings to the set number. Based on this, the image processing to be applied to the moving image data is set. That is, when the set number of continuous shots exceeds a predetermined threshold, the image quality setting unit 107a sets the image quality so that the image processing of moving image data has a low load. Therefore, by maintaining the number of images that can be continuously shot when continuously acquiring still images, it is possible to prevent frames from dropping in moving image data.

以上で説明した第1〜第3の実施の形態の電子カメラを、以下のように変形できる。
(1)低負荷の処理として画質を低画質に設定するものに代えて、静止画データのデータサイズを低く設定するようにしてもよい。この場合、ユーザが操作部111を操作することにより、静止画データのサイズを、たとえばS、M、Lのうちいずれかが選択可能に構成する。そして、モード選択部107dは、ユーザにより静止画データのサイズがSやMに設定された場合には低負荷の処理と判定し、静止画データのサイズがLに設定された場合には高負荷の処理と判定して、記録モードを選択すればよい。
The electronic cameras of the first to third embodiments described above can be modified as follows.
(1) As a low-load process, instead of setting the image quality to low image quality, the data size of still image data may be set low. In this case, the user can operate the operation unit 111 so that the size of the still image data can be selected from, for example, S, M, or L. The mode selection unit 107d determines that the process is low load when the size of the still image data is set to S or M by the user, and high load when the size of the still image data is set to L. In this case, the recording mode may be selected.

(2)動画データおよび静止画データをメモリカード120に記録するものに代えて、外部機器やサーバ等に記録するようにしてもよい。この場合、電子カメラ1は、図8のブロック図に示すように、図1に示す各構成に加えて、外部インタフェース115を備えるようにする。外部インタフェース115は、制御回路107の指令により、たとえばUSBインタフェースケーブル(不図示)等の所定のケーブルや無線伝送路を介して接続される外部機器300等(たとえば、パーソナルコンピュータ)との間で、双方向通信によるデータの送受を行う。そして、制御回路107に含まれる記録制御部107eは、生成された動画データおよび静止画データを外部インタフェース115を介して外部機器300へ送信して、記録させる。なお、モード選択部107dは、外部インタフェース115の通信速度に基づいて、第1モードと第2モードのいずれかを選択すればよい。 (2) Instead of recording moving image data and still image data on the memory card 120, they may be recorded on an external device, a server, or the like. In this case, as shown in the block diagram of FIG. 8, the electronic camera 1 includes an external interface 115 in addition to the components shown in FIG. The external interface 115 is, for example, a predetermined cable such as a USB interface cable (not shown) or an external device 300 (for example, a personal computer) connected via a wireless transmission path according to a command from the control circuit 107. Sends and receives data via two-way communication. Then, the recording control unit 107e included in the control circuit 107 transmits the generated moving image data and still image data to the external device 300 via the external interface 115 to record them. Note that the mode selection unit 107d may select either the first mode or the second mode based on the communication speed of the external interface 115.

また、本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。説明に用いた実施の形態および変形例は、それぞれを適宜組合わせて構成しても構わない。   In addition, the present invention is not limited to the above-described embodiment as long as the characteristics of the present invention are not impaired, and other forms conceivable within the scope of the technical idea of the present invention are also within the scope of the present invention. included. The embodiments and modifications used in the description may be configured by appropriately combining them.

1・・・電子カメラ、100・・・撮像素子、
101・・・第1画像処理部、102・・・第2画像処理部、
106・・・画像用バッファ、106a・・・静止画用格納領域、
107・・・制御回路、107a・・・画質設定部、
107b・・・連写可能枚数設定部、107d・・・モード選択部、
107e・・・記録制御部、120・・・メモリカード
DESCRIPTION OF SYMBOLS 1 ... Electronic camera, 100 ... Image sensor,
101 ... 1st image processing part, 102 ... 2nd image processing part,
106: Image buffer, 106a: Still image storage area,
107... Control circuit, 107a.
107b... Continuous shooting possible number setting section, 107d... Mode selection section,
107e: Recording control unit, 120: Memory card

Claims (7)

被写体を撮像して画像信号を出力する撮像素子と、
前記画像信号に基づいて静止画データと動画データとを生成する生成手段と、
前記生成された前記静止画データと前記動画データとを記録媒体へ記録する記録制御手段と、
前記記録媒体への記録に関するパラメータを検出する検出手段と、
前記検出されたパラメータに応じて、前記記録媒体への記録処理として互いに異なる第1態様および第2態様の一方を選択する選択手段とを備え、
前記記録制御手段は、前記生成手段により生成された前記静止画データと前記動画データとを、前記選択された前記記録処理を用いて前記記録媒体に記録することを特徴とする電子カメラ。
An image sensor that images a subject and outputs an image signal;
Generating means for generating still image data and moving image data based on the image signal;
Recording control means for recording the generated still image data and the moving image data on a recording medium;
Detection means for detecting parameters relating to recording on the recording medium;
Selecting means for selecting one of the first mode and the second mode different from each other as a recording process to the recording medium according to the detected parameter;
The electronic camera characterized in that the recording control means records the still image data and the moving image data generated by the generating means on the recording medium using the selected recording process.
請求項1に記載の電子カメラにおいて、
前記生成された前記静止画データと前記動画データとを一時的に格納する格納手段と、
前記静止画データと前記動画データとに画像処理を施す画像処理手段とをさらに備え、
前記検出されたパラメータが前記静止画データに高負荷の画像処理を施すことを示す場合、前記選択手段は前記第1態様を選択し、前記検出されたパラメータが前記静止画データに低負荷の画像処理を施すことを示す場合、前記選択手段は前記第2態様を選択し、
前記第1態様においては、前記動画データの前記記録媒体への記録が終了した後、前記画像処理手段は、前記格納手段に格納された前記静止画データに前記高負荷の画像処理を施し、
前記第2態様においては、前記動画データの前記記録媒体への記録中に、前記画像処理手段は、前記静止画データに前記低負荷の画像処理を施すことを特徴とする電子カメラ。
The electronic camera according to claim 1,
Storage means for temporarily storing the generated still image data and the moving image data;
Image processing means for performing image processing on the still image data and the moving image data;
When the detected parameter indicates that the still image data is subjected to high-load image processing, the selection unit selects the first mode, and the detected parameter is a low-load image for the still image data. When indicating that processing is to be performed, the selecting means selects the second mode,
In the first aspect, after the recording of the moving image data to the recording medium is completed, the image processing unit performs the high-load image processing on the still image data stored in the storage unit,
The electronic camera according to the second aspect, wherein the image processing means performs the low-load image processing on the still image data during recording of the moving image data on the recording medium.
請求項2に記載の電子カメラにおいて、
前記格納手段は、前記静止画データを格納するための第1格納手段と、前記動画データを格納するための第2格納手段とを含み、
前記第1態様においては、前記第1格納手段の容量に基づいて前記静止画データを連続して取得可能な枚数を算出し、前記第2態様においては、前記第1格納手段の容量と前記記録媒体の容量とに基づいて前記静止画データを連続して取得可能な枚数を算出する算出手段をさらに備えることを特徴とする電子カメラ。
The electronic camera according to claim 2,
The storage means includes first storage means for storing the still image data, and second storage means for storing the moving image data,
In the first aspect, the number of still image data that can be acquired continuously is calculated based on the capacity of the first storage means, and in the second aspect, the capacity of the first storage means and the recording An electronic camera, further comprising: a calculating unit that calculates the number of still image data that can be continuously acquired based on a capacity of a medium.
請求項1乃至3のいずれか一項に記載の電子カメラにおいて、
前記検出されたパラメータが前記記録媒体の処理速度が低速であることを示す場合、前記選択手段は前記第1態様を選択することを特徴とする電子カメラ。
The electronic camera according to any one of claims 1 to 3,
When the detected parameter indicates that the processing speed of the recording medium is low, the selection unit selects the first mode.
請求項2または3に記載の電子カメラにおいて、
前記画像処理手段は、前記高負荷の画像処理においては高画質の前記静止画データを生成し、前記低負荷の画像処理においては低画質の前記静止画データを生成することを特徴とする電子カメラ。
The electronic camera according to claim 2 or 3,
The image processing means generates the high-quality still image data in the high-load image processing, and generates the low-quality still image data in the low-load image processing. .
被写体を撮像して画像信号を出力する撮像素子と、
前記画像信号に基づいて静止画データと動画データとを生成する生成手段と、
前記生成された前記静止画データと前記動画データとを記録媒体に記録する記録制御手段と、
前記静止画データを連続して取得する枚数を設定する設定操作を受け付ける受付手段と、
前記設定操作により設定された前記枚数に基づいて、前記動画データに施す画像処理を設定する設定手段とを備えることを特徴とする電子カメラ。
An image sensor that images a subject and outputs an image signal;
Generating means for generating still image data and moving image data based on the image signal;
Recording control means for recording the generated still image data and the moving image data on a recording medium;
Accepting means for accepting a setting operation for setting the number of the still image data to be continuously acquired;
An electronic camera comprising: setting means for setting image processing to be applied to the moving image data based on the number of sheets set by the setting operation.
請求項6に記載の電子カメラにおいて、
前記設定手段は、前記動画データの画質を設定することを特徴とする電子カメラ。
The electronic camera according to claim 6.
The electronic camera characterized in that the setting means sets an image quality of the moving image data.
JP2009190411A 2009-08-19 2009-08-19 Electronic camera Pending JP2011044818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009190411A JP2011044818A (en) 2009-08-19 2009-08-19 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009190411A JP2011044818A (en) 2009-08-19 2009-08-19 Electronic camera

Publications (1)

Publication Number Publication Date
JP2011044818A true JP2011044818A (en) 2011-03-03

Family

ID=43831933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009190411A Pending JP2011044818A (en) 2009-08-19 2009-08-19 Electronic camera

Country Status (1)

Country Link
JP (1) JP2011044818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016040877A (en) * 2014-08-12 2016-03-24 キヤノン株式会社 Imaging apparatus and method for controlling imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016040877A (en) * 2014-08-12 2016-03-24 キヤノン株式会社 Imaging apparatus and method for controlling imaging apparatus

Similar Documents

Publication Publication Date Title
US8687126B2 (en) Digital image signal processing method, medium for recording the method, and digital image signal processing apparatus
US10082723B2 (en) Image capturing apparatus for generating a high dynamic range video frame from multiple image frames with different characteristics
JP4919160B2 (en) Imaging apparatus and program thereof
KR101642400B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to execute the method
JP2009111518A (en) IMAGING DEVICE, IMAGE REPRODUCING DEVICE AND ITS PROGRAM, AND DATA FILE DATA STRUCTURE
JP2009194770A (en) IMAGING DEVICE, MOVIE REPRODUCTION DEVICE, AND PROGRAM THEREOF
JP5338373B2 (en) Imaging device
JP6118118B2 (en) Imaging apparatus and control method thereof
JP2014007454A (en) Image pickup device and image pickup method
KR20120071972A (en) Digital image signal processing apparatus and method for controlling the same
JP2010021710A (en) Imaging device, image processor, and program
KR101480407B1 (en) Digital image processing apparatus, control method thereof, and recording medium recording the control method
US10348957B2 (en) Image capturing apparatus, method of controlling the same, and storage medium for shooting a still image without interrupting shooting of moving images
JP2006174412A (en) Imaging apparatus
US10244199B2 (en) Imaging apparatus
US9661217B2 (en) Image capturing apparatus and control method therefor
JP2009077265A (en) Imaging device
JP2014049882A (en) Imaging apparatus
JP5012985B2 (en) Imaging apparatus and program thereof
JP4761048B2 (en) Imaging apparatus and program thereof
JP2011044818A (en) Electronic camera
JP2012100022A (en) Image processing system
JP4054918B2 (en) Imaging apparatus, photographing control method, and photographing control program
JP4962597B2 (en) Electronic camera and program
JP2007325152A (en) Imaging apparatus and program thereof