JP2017028466A - Imaging device, control method for the same and program - Google Patents

Imaging device, control method for the same and program Download PDF

Info

Publication number
JP2017028466A
JP2017028466A JP2015144461A JP2015144461A JP2017028466A JP 2017028466 A JP2017028466 A JP 2017028466A JP 2015144461 A JP2015144461 A JP 2015144461A JP 2015144461 A JP2015144461 A JP 2015144461A JP 2017028466 A JP2017028466 A JP 2017028466A
Authority
JP
Japan
Prior art keywords
recording
moving image
raw
cpu
general
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
JP2015144461A
Other languages
Japanese (ja)
Inventor
経史朗 中元
Keishiro Nakamoto
経史朗 中元
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015144461A priority Critical patent/JP2017028466A/en
Publication of JP2017028466A publication Critical patent/JP2017028466A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device that can record an important scene that a user desires in the form of a moving image in a general-purpose format while shooting a moving image and also record in a from of a RAW moving image with high image quality, a control method for the same and a program.SOLUTION: The imaging device has RAW moving image recording means that records RAW data taken out from an optical sensor and general-purpose-format moving image recording means that records the RAW data as a moving image in a general-purpose format by subjecting the RAW data to developing processing. The device has: first recording means that performs recording only in a moving image in a general-purpose format while shooting a moving image: trigger detecting means that detects first trigger; and second recording means which, when the first trigger is detected during recording by the first recording means, records the data in the moving image in a general-purpose format and also records the data in a RAW moving image with high image quality in parallel.SELECTED DRAWING: Figure 9

Description

本発明は、撮影中に互いに異なる記録形式の画像データを複数生成し、記録する撮像装置及びその制御方法に関する。   The present invention relates to an imaging apparatus that generates and records a plurality of image data having different recording formats during shooting, and a control method therefor.

デジタルビデオカメラにおいて、撮像素子から出力され、A/D変換された画像データに対して、画像加工処理(現像処理)をせずに、そのまま動画ファイルとして記憶媒体に記録するRAW動画撮影というものがある。一方、デジタルビデオカメラにおいて、撮像素子から出力されA/D変換された画像データに対して画像加工処理(現像処理)を行い、汎用フォーマットとして記憶媒体に記録する汎用フォーマット動画撮影というものがある。具体的な記録形式としてはMOVやMP4がある。ここで、画像加工処理とは、撮影時にカメラで取得した属性情報や画像情報本体の特性に基づき、Debayer処理、画像の補間処理、ホワイトバランス処理、輝度調整処理、色調整処理、シャープネス処理などの画像処理を行い、さらに圧縮処理を行うことを指す。   In a digital video camera, RAW video shooting is a method in which image data output from an image sensor and subjected to A / D conversion is directly recorded as a video file on a storage medium without image processing (development processing). is there. On the other hand, in a digital video camera, there is a general format moving image shooting in which image processing (development processing) is performed on image data output from an image sensor and subjected to A / D conversion, and recorded on a storage medium as a general format. Specific recording formats include MOV and MP4. Here, image processing is based on the attribute information acquired by the camera at the time of shooting and the characteristics of the image information itself, such as Debayer processing, image interpolation processing, white balance processing, brightness adjustment processing, color adjustment processing, sharpness processing, etc. It refers to performing image processing and further compression processing.

RAW動画の特徴としては以下の2つが挙げられる。
・圧縮処理を行わないため、汎用フォーマット動画と比較してファイルサイズが非常に大きい。
・現像処理済みの汎用フォーマット動画に対して、画像処理を掛けたくても一定範囲までしかできなかったが、RAW動画であればユーザが設定したパラメータで高度な画像処理を行うことができる。
The following two can be cited as features of the RAW moving image.
-Since compression processing is not performed, the file size is very large compared to general-purpose format movies.
Even if it is desired to apply image processing to a developed general-purpose format moving image, only a certain range can be obtained. However, if it is a RAW moving image, advanced image processing can be performed with parameters set by the user.

もし、RAWで撮りっぱなしにすると、記憶メディアがの容量に限りがあるため、すぐにデータで満杯になってしまう。よってユーザは、重要でないシーンは汎用フォーマット動画で撮影し、重要なシーンはRAW動画で撮影するように使い分けることが考えられる。   If you keep shooting with RAW, the capacity of the storage media will be limited, so it will soon be full of data. Therefore, the user can shoot the unimportant scene with a general-purpose moving image and use the important scene with a RAW moving image.

特許文献1においては、汎用フォーマット動画、RAW動画という動画種類ではないが、1種類の動画撮影において、低画質撮影と、高画質撮影という2つのモードを持っている。そして、この2つの撮影モードを重要なシーンかどうかで使い分ける例を開示している。   In Patent Document 1, although there are no moving image types such as general-purpose format moving images and RAW moving images, one type of moving image shooting has two modes of low image quality shooting and high image quality shooting. And the example which uses these two photography modes properly by whether it is an important scene is disclosed.

特開2005−184095号公報JP 2005-184095 A

しかしながら、撮影を使い分けるという方法では、汎用フォーマット動画で撮影中にRAW動画を撮りたくなった場合は、汎用フォーマット動画の撮影を停止した上で、RAW動画撮影モードに切り替えて、RAW動画撮影を開始しなければならなかった。特許文献1においても、常時は低画質で動画撮影しながら、重要な場面だけ高画質な動画で撮影するが、高画質で撮影中は低画質の撮影が停止してしまう課題があった。   However, in the method of using different shooting, if you want to take a RAW movie while shooting in the general format movie, stop shooting the general format movie, then switch to the RAW movie shooting mode and start shooting the RAW movie Had to do. In Japanese Patent Laid-Open No. 2004-228561, while shooting moving images with low image quality at all times, only important scenes are shot with high-quality moving images. However, there is a problem that low-quality shooting stops during shooting with high image quality.

上記の課題を解決するために、本発明に係る撮像装置は、
光学センサから取り出したRAWデータを記録するRAW動画記録手段と、前記RAWデータを現像処理をして汎用フォーマット動画を記録する汎用フォーマット動画記録手段を有する撮像装置において、
撮影中に、前記汎用フォーマット動画のみで記録をする第一の記録手段と、第一のトリガを検出するトリガ検出手段と、
前記第一の記録手段で記録中に、前記第一のトリガが検出されたときは、汎用フォーマット動画の記録とともに前記RAW動画の記録も行う第二の記録手段を行い、
前記第二の記録手段で記録中に、第二のトリガが検出されたときは、前記第二の記録手段を終了し、前記第一の記録手段に戻ることを特徴とする。
In order to solve the above problems, an imaging apparatus according to the present invention provides:
In an imaging apparatus having RAW moving image recording means for recording RAW data taken out from an optical sensor, and general-purpose format moving image recording means for developing the RAW data and recording a general-purpose format moving image,
A first recording means for recording only with the general-purpose format moving image during shooting; a trigger detection means for detecting a first trigger;
When the first trigger is detected during recording by the first recording means, the second recording means for recording the RAW moving image together with the recording of the general format moving image is performed,
When a second trigger is detected during recording by the second recording means, the second recording means is terminated and the process returns to the first recording means.

本発明に係る撮像装置によれば、撮影中は汎用フォーマット動画で記録するが、ユーザが望む重要なシーンは、汎用フォーマット動画とともに、高画質なRAW動画でも記録することができる。   According to the imaging apparatus of the present invention, a general-purpose moving image is recorded during shooting, but important scenes desired by the user can be recorded together with the general-purpose moving image as well as a high-quality RAW moving image.

本発明の一実施形態に係る撮像装置としてのカメラのブロック図である。It is a block diagram of the camera as an imaging device concerning one embodiment of the present invention. 本発明の一実施形態に係る撮像装置としてのカメラ筐体を示す図である。It is a figure which shows the camera housing | casing as an imaging device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る撮像装置としての動画記録の処理の流れの概要図である。It is a schematic diagram of the flow of processing of moving image recording as an imaging device concerning one embodiment of the present invention. 本発明の一実施形態に係る撮像装置における処理のフローチャートである。5 is a flowchart of processing in the imaging apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る撮像装置におけるRAW録画開始処理のフローチャートである。6 is a flowchart of raw recording start processing in the imaging apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る撮像装置におけるRAW録画終了処理のフローチャートである。It is a flowchart of the RAW video recording end process in the imaging device concerning one embodiment of the present invention. 本発明の一実施形態に係る実施例2適用後の撮像装置におけるカメラ筐体を示す図である。It is a figure which shows the camera housing | casing in the imaging device after Example 2 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例2適用後の撮像装置におけるカメラのディスプレイを示す図である。It is a figure which shows the display of the camera in the imaging device after Example 2 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例2適用後の撮像装置における処理のフローチャートである。It is a flowchart of the process in the imaging device after Example 2 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る撮像装置におけるFullHD残り時間表示処理のフローチャートである。It is a flowchart of the FullHD remaining time display process in the imaging device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る撮像装置におけるFullHDとRAW残り時間表示処理のフローチャートである。5 is a flowchart of a FullHD and RAW remaining time display process in the imaging apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る実施例3適用後の撮像装置における処理のフローチャートである。It is a flowchart of the process in the imaging device after Example 3 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例3適用後の撮像装置におけるRAW録画開始処理のフローチャートである。It is a flowchart of the RAW video recording start process in the imaging device after Example 3 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例3適用後の撮像装置におけるRAW録画終了処理のフローチャートである。It is a flowchart of the RAW video recording end process in the imaging device after Example 3 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例4適用後の撮像装置における処理のフローチャートである。It is a flowchart of the process in the imaging device after Example 4 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例5適用時の汎用フォーマット動画とRAW動画の時間軸における相対関係を示す図である。It is a figure which shows the relative relationship in the time axis of the general format moving image at the time of Example 5 application which concerns on one Embodiment of this invention, and a RAW moving image. 本発明の一実施形態に係る実施例5適用時のRAW動画ファイルの構造を示す図である。It is a figure which shows the structure of the RAW moving image file at the time of Example 5 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例5適用後の撮像装置における処理のフローチャートである。It is a flowchart of the process in the imaging device after Example 5 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例6適用時の汎用フォーマット動画とRAW動画の時間軸における相対関係を示す図である。It is a figure which shows the relative relationship in the time axis of the general format moving image at the time of Example 6 application which concerns on one Embodiment of this invention, and a RAW moving image. 本発明の一実施形態に係る汎用フォーマット動画ファイルの構造を示す図である。It is a figure which shows the structure of the general purpose format moving image file which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例6適用後の撮像装置における処理のフローチャートである。It is a flowchart of the process in the imaging device after Example 6 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例7適用時のRAW動画ファイルの構造を示す図である。It is a figure which shows the structure of the RAW moving image file at the time of Example 7 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例7適用後の撮像装置における処理のフローチャートである。It is a flowchart of the process in the imaging device after Example 7 application which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例8における撮像装置としての動画記録の処理の流れの概要図である。It is a schematic diagram of the flow of the process of a moving image recording as an imaging device in Example 8 which concerns on one Embodiment of this invention. 本発明の一実施形態に係る実施例8適用後の撮像装置におけるRAW録画開始処理のフローチャートである。It is a flowchart of the RAW video recording start process in the imaging device after Example 8 application which concerns on one Embodiment of this invention.

以下、本発明を実施するための形態を図面に基づいて説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

本発明を、撮像装置としてのカメラに適用した例を以下に説明する。   An example in which the present invention is applied to a camera as an imaging apparatus will be described below.

[撮像装置の構成]
図1は本発明の一実施形態に係る撮像装置としてのカメラのブロック図である。図1を用いて、画像情報登録システムの各ブロックの機能の説明をする。
[Configuration of imaging device]
FIG. 1 is a block diagram of a camera as an imaging apparatus according to an embodiment of the present invention. The function of each block of the image information registration system will be described with reference to FIG.

101は光学センサである。CCD(Charge-coupled device)やCMOS(Complementary MOS)に代表されるように、受光素子が光から電気信号に変換するものである。102は入力装置である。ボタンやタッチパネルなどユーザの入力を受け付ける入力デバイスである。103はリムーバブルメディアであり、着脱可能な記録媒体を装着し、データを記録したり、記録したデータを読み書きすることを可能とする。104は通信モジュールであり、有線ケーブルもしくは、無線LANで他のユニットと通信を行うことができる。   Reference numeral 101 denotes an optical sensor. As represented by CCD (Charge-coupled device) and CMOS (Complementary MOS), a light receiving element converts light into an electrical signal. Reference numeral 102 denotes an input device. It is an input device that accepts user input such as buttons and touch panels. A removable medium 103 is provided with a removable recording medium so that data can be recorded and the recorded data can be read and written. Reference numeral 104 denotes a communication module, which can communicate with other units via a wired cable or a wireless LAN.

105は撮像装置全体の制御をつかさどるCPU(Central ProceSSing Unit)である。106はCPU105の動作手順(例えばカメラの電源をONにした時の処理や基本入出力等のプログラム)を記憶しているROM(Read Only Memory)である。107はRAM(Random AcceSS Memory)であり、CPU105のメインメモリとして機能する。RAM107には後述の処理を実現するための制御プログラムを含む各種処理を実行する際のワークエリアを提供する。108はディスプレイであり、CPU105の制御下で各種表示を行う。例えば、リムーバブルメディアに保存されている画像を一覧表示する。   Reference numeral 105 denotes a central processing unit (CPU) that controls the entire imaging apparatus. Reference numeral 106 denotes a ROM (Read Only Memory) that stores an operation procedure of the CPU 105 (for example, a program for processing and basic input / output when the camera is turned on). Reference numeral 107 denotes a RAM (Random AccessSS Memory), which functions as a main memory of the CPU 105. The RAM 107 provides a work area for executing various processes including a control program for realizing the processes described later. Reference numeral 108 denotes a display that performs various displays under the control of the CPU 105. For example, a list of images stored on removable media is displayed.

[撮像装置の操作部材]
本実施形態による撮像装置として動作するカメラの操作部材について図2を用いて説明する。図2は本発明の一実施形態に係る撮像装置としてのカメラ筐体を示す図である。
[Operation member of imaging device]
The operation members of the camera that operates as the imaging apparatus according to the present embodiment will be described with reference to FIG. FIG. 2 is a diagram illustrating a camera housing as an imaging apparatus according to an embodiment of the present invention.

201はカメラ筐体であり、この筐体に各種ボタンやディスプレイが配置されている。202はカメラの電源ボタンである。ユーザが電源ボタンを押す度にCPU105はカメラの電源のON、OFFの切り替え指示があったものと判定して、電源のON、OFFを切り替える。203はディスプレイ108として機能する液晶画面であり、CPU105が撮影中の画像や、リムーバブルメディア103に記録した画像や、メニュー画面を表示する。   Reference numeral 201 denotes a camera housing in which various buttons and a display are arranged. Reference numeral 202 denotes a camera power button. Whenever the user presses the power button, the CPU 105 determines that there has been an instruction to switch the camera on and off, and switches the power on and off. Reference numeral 203 denotes a liquid crystal screen that functions as the display 108, and displays an image being shot by the CPU 105, an image recorded on the removable medium 103, and a menu screen.

204はシャッターボタンであり、ユーザが撮像するタイミングで押下すると、CPU105は撮像指示があったものと判定し、CPU105は光学センサ101に結像した情報をデジタル変換し、画像データとしてリムーバブルメディア103に記録する。205はモード切り替えスイッチである。モードには、ユーザから撮像操作を受理する撮像モードとユーザから画像再生操作を受理する再生モードがある。ユーザがスイッチを左へスライドするとCPU105は撮影モードへのモード切り替えがあったものと判定する。ユーザがスイッチを右へスライドするとCPU105は再生モードへのモード切り替えがあったものと判定する。   Reference numeral 204 denotes a shutter button. When the user presses the shutter button at the timing of imaging, the CPU 105 determines that an imaging instruction has been issued, and the CPU 105 digitally converts information imaged on the optical sensor 101 and stores it in the removable medium 103 as image data. Record. Reference numeral 205 denotes a mode switch. The modes include an imaging mode that accepts an imaging operation from a user and a playback mode that accepts an image reproduction operation from a user. When the user slides the switch to the left, the CPU 105 determines that the mode has been switched to the shooting mode. When the user slides the switch to the right, the CPU 105 determines that the mode has been switched to the reproduction mode.

206は方向ボタンである。モード切り替えスイッチ205で再生モードが選択されている時、CPU105はリムーバブルメディア103に記録されている画像を液晶画面203に表示する。方向ボタンを押下することで、CPU105はリムーバブルメディア103に記録されている画像を順送りまたは逆送りで、順次液晶画面203に表示する。207は決定ボタンである。液晶画面203にメニュー画面が表示されている時に、方向ボタン206の押下によってメニューの選択中の項目を移動させることができる。ユーザが決定ボタン207を押下したことを受けて、ユーザが選択したメニュー項目の情報をCPU105に通知する。   Reference numeral 206 denotes a direction button. When the playback mode is selected with the mode switch 205, the CPU 105 displays an image recorded on the removable medium 103 on the liquid crystal screen 203. By pressing the direction button, the CPU 105 sequentially displays the images recorded on the removable medium 103 on the liquid crystal screen 203 in the forward or backward direction. Reference numeral 207 denotes a determination button. When the menu screen is displayed on the liquid crystal screen 203, an item being selected in the menu can be moved by pressing the direction button 206. In response to the user pressing the enter button 207, the CPU 105 is notified of information on the menu item selected by the user.

208はFullHD動画録画開始ボタンである。モード切り替えスイッチ205が撮影モードに設定されている状態で、ユーザがFullHD動画録画開始ボタン208を押下すると、CPU105は汎用フォーマット動画の録画を開始する。ここでFullHD(Full High definition)とは走査線1080本以上の動画フォーマットであり、汎用フォーマット動画のひとつとして定義する。   Reference numeral 208 denotes a FullHD moving image recording start button. When the user presses the FullHD video recording start button 208 while the mode switch 205 is set to the shooting mode, the CPU 105 starts recording the general-purpose format video. Here, FullHD (Full High definition) is a moving image format of 1080 scanning lines or more, and is defined as one of general-purpose format moving images.

209はFullHD動画停止ボタンである。汎用フォーマット動画の録画中に、ユーザが汎用フォーマット動画停止ボタンを押下すると、CPU105は汎用フォーマット動画の録画を停止する。   Reference numeral 209 denotes a FullHD video stop button. If the user presses the general format video stop button while recording the general format video, the CPU 105 stops recording the general format video.

210はRAW動画録画開始ボタンである。モード切り替えスイッチ205が撮影モードに設定されている状態で、且つ汎用フォーマット動画録画中に、ユーザがRAW動画録画開始ボタン210を押下すると、CPU105はRAW動画の録画を開始する。   Reference numeral 210 denotes a raw video recording start button. If the user presses the RAW moving image recording start button 210 while the mode switch 205 is set to the shooting mode and the general format moving image is recorded, the CPU 105 starts recording the RAW moving image.

211はRAW動画停止ボタンである。RAW動画の録画中に、ユーザがRAW動画停止ボタンを押下すると、CPU105はRAW動画の録画を停止する。   Reference numeral 211 denotes a RAW moving image stop button. When the user presses the RAW video stop button during the recording of the RAW video, the CPU 105 stops the recording of the RAW video.

なお、実施例1の説明を簡潔にするために、RAW動画の録画中に汎用フォーマット動画の録画の終了はできないものとする。   In order to simplify the description of the first embodiment, it is assumed that the recording of the general-purpose format moving image cannot be completed during the recording of the RAW moving image.

[動画の記録方法]
以下、本実施例における撮像装置において、汎用フォーマット動画とRAW動画の記録方法について説明する。図3は本発明の一実施形態に係る撮像装置としての動画記録の処理の流れの概要図である。
[Movie recording method]
Hereinafter, a general format moving image and a raw moving image recording method in the imaging apparatus according to the present embodiment will be described. FIG. 3 is a schematic diagram of a flow of moving image recording processing as the imaging apparatus according to the embodiment of the present invention.

301は光学センサである。光学センサは受光素子が光から電気信号に変換するものである。302はA/D変換処理を行うユニットである。光学センサから得られた電気信号はアナログであるため、量子化することでデジタル回路で使用可能なデジタル信号に変換する。303は現像処理を行うユニットである。光学センサからA/D変換処理を通してできた画像に対して、現像処理を行う。現像処理とはDebayer処理や、画素の補間処理や、ホワイトバランス処理、輝度調整処理、色調整処理、シャープネス処理などを指す。   Reference numeral 301 denotes an optical sensor. In the optical sensor, the light receiving element converts light into an electrical signal. A unit 302 performs A / D conversion processing. Since the electrical signal obtained from the optical sensor is analog, it is converted into a digital signal that can be used in a digital circuit by quantization. A unit 303 performs development processing. Development processing is performed on an image formed from the optical sensor through A / D conversion processing. The development processing refers to Debayer processing, pixel interpolation processing, white balance processing, luminance adjustment processing, color adjustment processing, sharpness processing, and the like.

304はエンコード処理を行うユニットである。エンコード処理とは、現像済み画像に対して画質を保ちつつデータ量を減らす圧縮処理を行うことを指す。305は記憶媒体Xである。ここに生成された汎用フォーマット動画が記録される。306は記憶媒体Yである。ここに生成されたRAW動画が記録される。   A unit 304 performs an encoding process. The encoding process refers to performing a compression process to reduce the data amount while maintaining the image quality for the developed image. Reference numeral 305 denotes a storage medium X. The generated general format moving image is recorded here. Reference numeral 306 denotes a storage medium Y. The generated RAW moving image is recorded here.

307はスイッチSWである。SW307がOFFの状態(図3の(A))であれば、A/D変換ユニットと記憶媒体Yは繋がっていないため、RAW動画の記録は行われない。SW307がONの状態(図3の(B))であれば、A/D変換ユニットと記憶媒体Yは繋がっているため、RAW動画の記録が行われる。   Reference numeral 307 denotes a switch SW. If SW307 is in an OFF state ((A) in FIG. 3), since the A / D conversion unit and the storage medium Y are not connected, RAW moving image recording is not performed. If the SW 307 is in an ON state ((B) in FIG. 3), since the A / D conversion unit and the storage medium Y are connected, RAW moving image recording is performed.

汎用フォーマット動画録画時には、光学センサ301の受光素子で光から得られた電気信号がA/D変換ユニット302、現像ユニット303、エンコードユニット304の各処理を通して記憶媒体X305に保存される。RAW動画録画時には、光学センサ301の受光素子で光から得られた電気信号がA/D変換ユニット302で変換されたままのデータの状態で、記憶媒体Y306に保存される。   At the time of general-purpose format moving image recording, an electrical signal obtained from light by the light receiving element of the optical sensor 301 is stored in the storage medium X305 through each process of the A / D conversion unit 302, the developing unit 303, and the encoding unit 304. At the time of RAW moving image recording, an electrical signal obtained from light by the light receiving element of the optical sensor 301 is stored in the storage medium Y306 in a state of data that is still converted by the A / D conversion unit 302.

よって、SW307が図3の(A)のようにOFFの状態であれば、汎用フォーマット動画のみの録画が行われ、スイッチSW307が図3の(B)のようにONの状態であれば、汎用フォーマット動画とRAW動画の録画が同時並行して行われることになる。   Therefore, if the SW 307 is in the OFF state as shown in FIG. 3A, only the general format moving image is recorded. If the switch SW 307 is in the ON state as shown in FIG. The recording of the format moving image and the RAW moving image is performed in parallel.

[撮像装置のフローチャート]
図4は本発明の一実施形態に係る撮像装置におけるフローチャートである。図4を用いて、撮像装置における汎用フォーマット動画とRAW動画を共に撮影する処理について説明する。
[Flowchart of imaging device]
FIG. 4 is a flowchart of the imaging apparatus according to the embodiment of the present invention. With reference to FIG. 4, a process for capturing both the general format moving image and the RAW moving image in the imaging apparatus will be described.

図4のフローチャートはモード切り替えスイッチ205が撮影モードに設定された状態で、撮像装置の電源ボタン202がONにされたことをトリガに、CPU105が処理を始める。   In the flowchart of FIG. 4, the CPU 105 starts processing when the mode switch 205 is set to the shooting mode and the power button 202 of the imaging apparatus is turned on.

ステップS401において、CPU105はFullHD録画中フラグを0に、RAW録画中フラグを0に設定する。   In step S401, the CPU 105 sets the FullHD recording flag to 0 and the RAW recording flag to 0.

ステップS402において、CPU105はFullHD録画開始ボタン208が押下されたかどうかを判定し、FullHD録画開始ボタン208が押下されていれば、ステップS403へと処理を進める。ステップS402において、CPU105はFullHD録画開始ボタン208が押下されたかどうかを判定し、FullHD録画開始ボタン208が押下されていなければ、ステップS406へと処理を進める。   In step S402, the CPU 105 determines whether or not the FullHD recording start button 208 has been pressed. If the FullHD recording start button 208 has been pressed, the process proceeds to step S403. In step S402, the CPU 105 determines whether or not the FullHD recording start button 208 has been pressed. If the FullHD recording start button 208 has not been pressed, the process proceeds to step S406.

ステップS403にて、CPU105はFullHD録画中フラグが0であるどうかを判定し、FullHD録画中フラグが0であれば、ステップS404へと処理を進める。   In step S403, the CPU 105 determines whether or not the FullHD recording flag is 0. If the FullHD recording flag is 0, the process proceeds to step S404.

ステップS404にて、CPU105はFullHD録画を開始する。   In step S404, the CPU 105 starts FullHD recording.

ステップS405にて、CPU105はFullHD録画中フラグに1を設定し、ステップS406へと処理を進める。   In step S405, the CPU 105 sets a FullHD recording flag to 1 and advances the process to step S406.

ステップS406において、CPU105はRAW録画開始ボタン210が押下されたかどうかを判定し、RAW録画開始ボタン210が押下されていれば、ステップS407へと処理を進める。ステップS406において、CPU105はRAW録画開始ボタン210が押下されたかどうかを判定し、RAW録画開始ボタン210が押下されていなければ、ステップS410へと処理を進める。   In step S406, the CPU 105 determines whether or not the RAW recording start button 210 has been pressed. If the RAW recording start button 210 has been pressed, the process proceeds to step S407. In step S406, the CPU 105 determines whether or not the RAW recording start button 210 has been pressed. If the RAW recording start button 210 has not been pressed, the process proceeds to step S410.

ステップS407にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが0であれば、ステップS408へと処理を進める。ステップS407にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが0でなければ、ステップS410へと処理を進める。   In step S407, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is 1 and the RAW recording flag is 0, step S408 is performed. Continue the process. In step S407, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is not 1 or the RAW recording flag is not 0, The process proceeds to step S410.

ステップS408にて、CPU105はRAW録画開始処理を行う。この処理の詳細は後述する。   In step S408, the CPU 105 performs raw recording start processing. Details of this processing will be described later.

ステップS409にて、CPU105はRAW録画中フラグに1を設定し、ステップS410へと処理を進める。   In step S409, the CPU 105 sets a RAW recording flag to 1 and advances the process to step S410.

ステップS410において、CPU105はRAW録画停止ボタン211が押下されたかどうかを判定し、RAW録画停止ボタン211が押下されていれば、ステップS411へと処理を進める。ステップS410において、CPU105はRAW録画停止ボタン211が押下されたかどうかを判定し、RAW録画停止ボタン211が押下されていなければ、ステップS414へと処理を進める。   In step S410, the CPU 105 determines whether or not the RAW recording stop button 211 has been pressed. If the RAW recording stop button 211 has been pressed, the process proceeds to step S411. In step S410, the CPU 105 determines whether or not the RAW recording stop button 211 has been pressed. If the RAW recording stop button 211 has not been pressed, the process proceeds to step S414.

ステップS411にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが1であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが1であれば、ステップS412へと処理を進める。ステップS411にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが1であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが1でなければ、ステップS414へと処理を進める。   In step S411, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 1. If the FullHD recording flag is 1 and the RAW recording flag is 1, step S412 is performed. Continue the process. In step S411, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 1. If the FullHD recording flag is not 1 or the RAW recording flag is not 1, The process proceeds to step S414.

ステップS412にて、CPU105はRAW録画終了処理を行う。この処理の詳細は後述する。   In step S412, the CPU 105 performs RAW recording end processing. Details of this processing will be described later.

ステップS413にて、CPU105はRAW録画中フラグに0を設定し、ステップS414へと処理を進める。   In step S413, the CPU 105 sets a RAW recording flag to 0, and proceeds to step S414.

ステップS414において、CPU105はFullHD録画停止ボタン209が押下されたかどうかを判定し、RAW録画停止ボタン209が押下されていれば、ステップS415へと処理を進める。ステップS414において、CPU105はRAW録画停止ボタン209が押下されたかどうかを判定し、RAW録画停止ボタン209が押下されていなければ、ステップS418へと処理を進める。   In step S414, the CPU 105 determines whether or not the FullHD recording stop button 209 has been pressed. If the RAW recording stop button 209 has been pressed, the process proceeds to step S415. In step S414, the CPU 105 determines whether or not the RAW recording stop button 209 has been pressed. If the RAW recording stop button 209 has not been pressed, the process proceeds to step S418.

ステップS415にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが0であれば、ステップS416へと処理を進める。ステップS415にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが0でなければ、ステップS418へと処理を進める。   In step S415, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is 1 and the RAW recording flag is 0, step S416 is performed. Continue the process. In step S415, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is not 1 or the RAW recording flag is not 0, The process proceeds to step S418.

ステップS416にて、CPU105はFullHD録画終了処理を行う。   In step S416, the CPU 105 performs a FullHD recording end process.

ステップS417にて、CPU105はFullHD録画中フラグに0を設定し、ステップS418へと処理を進める。   In step S417, CPU 105 sets a FullHD recording flag to 0, and proceeds to step S418.

ステップS418にて、CPU105はカメラの電源ボタン202がOFF状態になったかどうかを判定し、OFF状態であれば、このフローチャートを終了する。ステップS418にて、CPU105はカメラの電源ボタン202がOFF状態になったかどうかを判定し、OFF状態でなければ、ステップS402へと処理を進める。   In step S418, the CPU 105 determines whether or not the power button 202 of the camera has been turned off, and if it is in the off state, ends the flowchart. In step S418, the CPU 105 determines whether or not the power button 202 of the camera has been turned off. If not, the process proceeds to step S402.

図5は本発明の一実施形態に係る撮像装置におけるRAW録画開始処理のフローチャートである。   FIG. 5 is a flowchart of raw recording start processing in the imaging apparatus according to the embodiment of the present invention.

図5を用いて、撮像装置におけるRAW録画開始処理について説明する。図5のフローチャートはステップS408にてRAW録画開始処理へ処理が移ったことをトリガにCPU105が処理を始める。   RAW recording start processing in the imaging apparatus will be described with reference to FIG. In the flowchart of FIG. 5, the CPU 105 starts processing when triggered by the transition of processing to RAW recording start processing in step S <b> 408.

ステップS501にて、CPU105はSW301をONにする。   In step S501, the CPU 105 turns on SW301.

ステップS502にて、CPU105は画像データを動画としての記録を開始し、このフローチャートを終了する。   In step S502, the CPU 105 starts recording the image data as a moving image, and ends this flowchart.

ステップS501からステップS502の一連の処理により、図3(B)で示したように、汎用フォーマット動画とRAW動画の録画が同時並行して行われることになる。   Through the series of processing from step S501 to step S502, as shown in FIG. 3B, recording of the general format moving image and the RAW moving image is performed in parallel.

図6は本発明の一実施形態に係る撮像装置におけるRAW録画終了処理のフローチャートである。図6を用いて、撮像装置におけるRAW録画終了処理について説明する。   FIG. 6 is a flowchart of RAW recording end processing in the imaging apparatus according to the embodiment of the present invention. RAW recording end processing in the imaging apparatus will be described with reference to FIG.

図6のフローチャートはステップS412にてRAW録画終了処理へ処理が移ったことをトリガにCPU105が処理を始める。   In the flowchart of FIG. 6, the CPU 105 starts the process triggered by the transition of the process to the RAW recording end process in step S <b> 412.

ステップS601にて、CPU105はSW301をOFFにする。   In step S601, the CPU 105 turns off the SW 301.

ステップS602にて、CPU105は画像データを動画としての記録を終了し、このフローチャートを終了する。   In step S602, CPU 105 ends the recording of the image data as a moving image, and ends this flowchart.

ステップS601からステップS602の一連の処理によりRAW録画が終了し、図3(A)で示した、汎用フォーマット動画のみの録画が行われることになる。   RAW recording is completed by a series of processes from step S601 to step S602, and only the general-purpose format moving image shown in FIG. 3A is recorded.

[撮像装置の動作概要]
以下、実施例1における撮像装置の動作について説明する。
[Overview of image pickup device operation]
Hereinafter, the operation of the imaging apparatus according to the first embodiment will be described.

ユーザがカメラの電源ボタン202をONにし、カメラを構えて208はFullHD動画録画開始ボタンを押下すると、CPU105はSW307がOFFの状態のまま、FullHD動画での録画を開始する。   When the user turns on the power button 202 of the camera and holds the camera, the CPU 105 presses the FullHD moving image recording start button, and the CPU 105 starts recording with the FullHD moving image while the SW 307 remains OFF.

FullHD録画中にユーザがRAW動画録画開始ボタン210を押下すると、CPU105はSW307がONにし、FullHD動画の録画を継続しつつ、RAW動画の録画を開始する。   When the user presses the RAW video recording start button 210 during the FullHD recording, the CPU 105 turns on the SW 307 and starts recording the RAW video while continuing to record the FullHD video.

RAW動画録画中にユーザがRAW動画録画停止ボタン211を押下すると、CPU105はSW307をOFFにし、RAW動画の録画を終了するが、FullHD動画の録画は継続する。   When the user presses the RAW video recording stop button 211 during the RAW video recording, the CPU 105 turns off the SW 307 and ends the RAW video recording, but the FullHD video recording continues.

FullHD動画録画中にユーザがFullHD動画特が停止ボタン209を押下すると、CPU105はFulHD動画の録画を終了する。   When the user presses the stop button 209 for FullHD video special during the FullHD video recording, the CPU 105 ends the recording of the FullHD video.

以上で、実施例1での、汎用フォーマット動画とRAW動画の録画を同時並行して行う一連の処理について説明した。この結果、撮影中は、汎用フォーマット動画で記録するが、ユーザが望む決定シーンは、汎用フォーマット動画とともに高精細なRAW動画でも記録することができる。   The series of processes for recording the general format moving image and the RAW moving image in parallel in the first embodiment has been described. As a result, while shooting, the general-purpose format moving image is recorded, but the decision scene desired by the user can be recorded together with the general-format moving image as well as a high-definition RAW video.

実施例1では、汎用フォーマット動画とRAW動画の録画を同時並行して行う処理について説明した。実施例2として、実施例1の内容に加えて、録画中ではない状態で、ユーザがRAW動画残り時間表示ボタンを押下中の状態にすると、ディスプレイにRAW動画撮影開始した場合の残り撮影可能時間が、汎用フォーマット動画、RAW動画共に表示される処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. As a second embodiment, in addition to the contents of the first embodiment, if the user presses the RAW video remaining time display button while not recording, the remaining recordable time when the RAW video shooting starts on the display However, a process for displaying both the general format moving image and the RAW moving image will be described.

[撮像装置の操作部材]
本実施形態による撮像装置として動作するカメラの操作部材について図7を用いて説明する。図7は本発明の一実施形態に係る実施例2適用後の撮像装置におけるカメラ筐体を示す図である。201から211は図2における撮像装置としてのカメラ筐体と同一である。701はRAW動画残り時間表示ボタンである。
[Operation member of imaging device]
The operation members of the camera that operates as the imaging apparatus according to the present embodiment will be described with reference to FIG. FIG. 7 is a diagram illustrating a camera housing in the imaging apparatus after application of Example 2 according to an embodiment of the present invention. Reference numerals 201 to 211 are the same as the camera housing as the imaging apparatus in FIG. Reference numeral 701 denotes a RAW moving image remaining time display button.

実施例2においては実施例1における図2の撮像装置としてのカメラ筐体に加えて、RAW動画残り時間表示ボタン701を備えたものとする。   In the second embodiment, it is assumed that a RAW moving image remaining time display button 701 is provided in addition to the camera casing as the imaging apparatus of FIG.

[RAW動画残り時間表示ボタンの動作概要]
本実施形態における、RAW動画残り時間表示ボタンの動作について以下に説明する。図8は本発明の一実施形態に係る実施例2適用後の撮像装置におけるカメラのディスプレイ108を示す図である。
[Overview of RAW video remaining time display button]
The operation of the RAW moving image remaining time display button in this embodiment will be described below. FIG. 8 is a diagram showing the display 108 of the camera in the imaging apparatus after application of Example 2 according to an embodiment of the present invention.

801はディスプレイ108におけるFullHD動画のみの録画可能残り時間表示である。
撮像モードでかつ、録画中でないカメラ105のディスプレイ108にはリムーバブルメディア103の残り容量から算出された、FullHD動画の録画可能残り時間のみが表示されている。
Reference numeral 801 denotes a remaining recordable time display of only the FullHD moving image on the display 108.
Only the remaining recordable time of the FullHD moving image calculated from the remaining capacity of the removable medium 103 is displayed on the display 108 of the camera 105 that is in the imaging mode and not being recorded.

802はディスプレイ108におけるFullHD動画とRAW動画の録画可能残り時間表示である。   Reference numeral 802 denotes a remaining recordable time display of the FullHD moving image and the RAW moving image on the display 108.

ここでユーザがRAW動画残り時間表示ボタン701を押下中状態にすると、CPU105はリムーバブルメディア103の残り容量から算出されたFullHD動画とRAW動画の録画可能時間をディスプレイ108に表示する。   Here, when the user presses the RAW moving image remaining time display button 701, the CPU 105 displays the recording time of the FullHD moving image and the RAW moving image calculated from the remaining capacity of the removable medium 103 on the display 108.

さらにここでユーザがRAW動画残り時間表示ボタン701から指を離すと、CPU105はリムーバブルメディア103の残り容量から算出されたFullHD動画のみをディスプレイ108に表示する状態に戻る。   Further, when the user releases the RAW moving image remaining time display button 701 here, the CPU 105 returns to a state in which only the FullHD moving image calculated from the remaining capacity of the removable medium 103 is displayed on the display 108.

[撮像装置のフローチャート]
図9は本発明の一実施形態に係る実施例2適用後の撮像装置における処理のフローチャートである。図9を用いて、実施例2における撮像装置における処理について説明する。なお、図4と同じ処理については、同一の番号を付して、説明を省略する。
[Flowchart of imaging device]
FIG. 9 is a flowchart of processing in the imaging apparatus after application of Example 2 according to an embodiment of the present invention. With reference to FIG. 9, processing in the imaging apparatus according to the second embodiment will be described. Note that the same processes as those in FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図9において、ステップS401〜S418までは実施例1と同じ処理内容である。   In FIG. 9, steps S401 to S418 are the same as those in the first embodiment.

ステップS414において、CPU105はRAW録画停止ボタン209が押下されたかどうかを判定し、RAW録画停止ボタン209が押下されていなければ、ステップS901へと処理を進める。   In step S414, the CPU 105 determines whether or not the RAW recording stop button 209 has been pressed. If the RAW recording stop button 209 has not been pressed, the process proceeds to step S901.

ステップS415にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが0でなければ、ステップS901へと処理を進める。   In step S415, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is not 1 or the RAW recording flag is not 0, The process proceeds to step S901.

ステップS417にて、CPU105はFullHD録画中フラグに0を設定し、ステップS901へと処理を進める。   In step S417, the CPU 105 sets the FullHD recording flag to 0, and proceeds to step S901.

ステップS901にて、CPU105はFullHD録画中フラグが0であるどうかを判定し、FullHD録画中フラグが0であれば、ステップS902へと処理を進める。ステップS901にて、CPU105はFullHD録画中フラグが0であるどうかを判定し、FullHD録画中フラグが0でなければ、ステップS418へと処理を進める。   In step S901, the CPU 105 determines whether the FullHD recording flag is 0. If the FullHD recording flag is 0, the process proceeds to step S902. In step S901, the CPU 105 determines whether or not the FullHD recording flag is 0. If the FullHD recording flag is not 0, the process proceeds to step S418.

ステップS902にて、CPU105はRAW動画残り時間表示ボタン701が押下中の状態であるかどうかを判定し、RAW動画残り時間表示ボタン701が押下中の状態でなければステップS903へと処理を進める。ステップS902にて、CPU105はRAW動画残り時間表示ボタン701が押下中の状態であるかどうかを判定し、RAW動画残り時間表示ボタン701が押下中の状態であればステップS904へと処理を進める。   In step S902, the CPU 105 determines whether or not the RAW video remaining time display button 701 is in a pressed state. If the RAW video remaining time display button 701 is not in a pressed state, the process proceeds to step S903. In step S902, the CPU 105 determines whether or not the RAW moving image remaining time display button 701 is being pressed. If the RAW moving image remaining time display button 701 is being pressed, the process proceeds to step S904.

ステップS903にて、CPU105はFullHD残り時間表示処理を行い、ステップS418へと処理を進める。この処理の詳細は後述する。   In step S903, the CPU 105 performs a FullHD remaining time display process, and advances the process to step S418. Details of this processing will be described later.

ステップS904にて、CPU105はFullHDとRAW残り時間表示処理を行い、ステップS418へと処理を進める。この処理の詳細は後述する。   In step S904, the CPU 105 performs a FullHD and RAW remaining time display process, and advances the process to step S418. Details of this processing will be described later.

図10は本発明の一実施形態に係る撮像装置におけるFullHD残り時間表示処理のフローチャートである。図10を用いて、撮像装置におけるFulHD残り時間表示処理について説明する。   FIG. 10 is a flowchart of the FullHD remaining time display process in the imaging apparatus according to the embodiment of the present invention. The FullHD remaining time display process in the imaging apparatus will be described with reference to FIG.

図10のフローチャートはステップS903にてFullHD残り時間表示処理へ処理が移ったことをトリガにCPU105が処理を始める。   In the flowchart of FIG. 10, the CPU 105 starts the process triggered by the transition of the process to the FullHD remaining time display process in step S <b> 903.

ステップS1001にて、CPU105は記憶媒体の残り容量を取得する。ここで記憶媒体としてリムーバブルメディア103の残り容量を取得する。   In step S1001, the CPU 105 acquires the remaining capacity of the storage medium. Here, the remaining capacity of the removable medium 103 is acquired as a storage medium.

ステップS1002にて、CPU105はFullHD動画の単位時間当たりの容量を取得する。   In step S1002, the CPU 105 acquires the capacity per unit time of the FullHD moving image.

ステップS1003にて、CPU105はステップS1001とステップS1102で得られた情報から記録媒体に記録可能な残り時間を算出する。   In step S1003, the CPU 105 calculates the remaining time that can be recorded on the recording medium from the information obtained in steps S1001 and S1102.

ステップS1004にて、CPU105はディスプレイに残り時間を表示し、このフローチャートを終了する。   In step S1004, CPU 105 displays the remaining time on the display, and ends this flowchart.

図11は本発明の一実施形態に係る撮像装置におけるFullHDとRAW残り時間表示処理のフローチャートである。図11を用いて、撮像装置におけるFullHDとRAW残り時間表示処理について説明する。   FIG. 11 is a flowchart of the FullHD and RAW remaining time display process in the imaging apparatus according to the embodiment of the present invention. The FullHD and RAW remaining time display processing in the imaging apparatus will be described with reference to FIG.

図11のフローチャートはステップS904にてFullHDとRAW残り時間表示処理へ処理が移ったことをトリガにCPU105が処理を始める。   In the flowchart of FIG. 11, the CPU 105 starts the process triggered by the transition of the process to the FullHD and RAW remaining time display process in step S <b> 904.

ステップS1101にて、CPU105は記憶媒体の残り容量を取得する。ここで記憶媒体としてリムーバブルメディア103の残り容量を取得する。   In step S1101, the CPU 105 acquires the remaining capacity of the storage medium. Here, the remaining capacity of the removable medium 103 is acquired as a storage medium.

ステップS1102にて、CPU105はFullHD動画とRAW動画の単位時間当たりの容量を取得する。   In step S1102, the CPU 105 acquires the capacity per unit time of the FullHD moving image and the RAW moving image.

ステップS1103にて、CPU105はステップS1001とステップS1102で得られた情報から記録媒体に記録可能な残り時間を算出する。   In step S1103, the CPU 105 calculates the remaining time that can be recorded on the recording medium from the information obtained in steps S1001 and S1102.

ステップS1104にて、CPU105はディスプレイに残り時間を表示し、このフローチャートを終了する。   In step S1104, CPU 105 displays the remaining time on the display, and ends this flowchart.

以上で、実施例2での、録画中ではない状態で、ユーザがRAW動画残り時間表示ボタンを押下中の状態にすると、ディスプレイにRAW動画撮影開始した場合の残り撮影可能時間が、汎用フォーマット動画、RAW動画共に表示される処理について説明した。この結果、撮影開始の前から、RAW動画で撮影した場合での残り撮影可能時間をユーザが知ることができるため、FullHD動画録画中にRAW動画録画を開始すると録画ができる時間が想定よりも短くなり、ユーザが所望するシーンを全て撮影できなくなる虞を回避することができる。   As described above, when the user presses the RAW moving image remaining time display button in a state where recording is not being performed in the second embodiment, the remaining recordable time when the RAW moving image shooting is started is displayed on the display. The process of displaying both RAW moving images has been described. As a result, since the user can know the remaining recordable time when shooting with a RAW movie before the start of shooting, the time that can be recorded when RAW movie recording is started during FullHD movie recording is shorter than expected. Thus, it is possible to avoid a possibility that the user cannot capture all the desired scenes.

なお、録画中ではない状態でRAW残り時間表示するケースについて説明したが、FullHD動画録画中にRAW残り時間を表示するようにしてもよいものとする。   Although the case where the remaining RAW time is displayed in a state where the recording is not being performed has been described, the remaining RAW time may be displayed during the FullHD video recording.

実施例1では、汎用フォーマット動画とRAW動画の録画を同時並行して行う処理について説明した。実施例3として、実施例1の内容に加えて、RAW動画録画開始ボタン押下の数秒前からの動画もRAWに残す処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. As a third embodiment, in addition to the contents of the first embodiment, a description will be given of a process in which a moving image from several seconds before the RAW moving image recording start button is pressed is also left in the RAW.

[撮像装置のフローチャート]
図12は本発明の一実施形態に係る実施例3適用後の撮像装置における処理のフローチャートである。図12を用いて実施例3における撮像装置における処理について説明する。なお、図4と同じ処理については、同一の番号を付して、説明を省略する。
[Flowchart of imaging device]
FIG. 12 is a flowchart of processing in the imaging apparatus after application of Example 3 according to an embodiment of the present invention. Processing in the imaging apparatus according to the third embodiment will be described with reference to FIG. Note that the same processes as those in FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図12において、ステップS401〜S407、ステップS409〜S411、ステップS413〜S418までは実施例1と同じ処理内容である。   In FIG. 12, steps S401 to S407, steps S409 to S411, and steps S413 to S418 are the same processing contents as those in the first embodiment.

ステップS405にて、CPU105はFullHD録画中フラグに1を設定し、ステップS1201へと処理を進める。   In step S405, the CPU 105 sets the FullHD recording flag to 1 and advances the process to step S1201.

ステップS1201にて、CPU105は図3におけるSW301をONに設定する。   In step S1201, CPU 105 sets SW301 in FIG. 3 to ON.

ステップS1202にて、CPU105はリングバッファにRAW録画を開始し、ステップS406へと処理を進める。ここで録画されるRAW動画は、光学センサ301から得られ、A/D変換302で変換されたデータである。   In step S1202, CPU 105 starts RAW recording in the ring buffer, and proceeds to step S406. The RAW moving image recorded here is data obtained from the optical sensor 301 and converted by the A / D conversion 302.

ステップS407にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが0であれば、ステップS1203へと処理を進める。   In step S407, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is 1 and the RAW recording flag is 0, step S1203 is performed. Continue the process.

ステップS1203にて、CPU105はRAW録画開始処理を行い、ステップS409へと処理をすすめる。この処理の詳細は後述する。   In step S1203, the CPU 105 performs RAW recording start processing, and proceeds to step S409. Details of this processing will be described later.

ステップS411にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが1であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが1であれば、ステップS1204へと処理を進める。   In step S411, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 1, and if the FullHD recording flag is 1 and the RAW recording flag is 1, step S1204 is performed. Continue the process.

ステップS1204にて、CPU105はRAW録画終了処理を行い、ステップS413へと処理をすすめる。この処理の詳細は後述する。   In step S1204, the CPU 105 performs a RAW recording end process, and proceeds to step S413. Details of this processing will be described later.

図13は本発明の一実施形態に係る実施例3適用後の撮像装置におけるRAW録画開始処理のフローチャートである。図13を用いて、撮像装置におけるRAW録画開始処理について説明する。   FIG. 13 is a flowchart of raw recording start processing in the imaging apparatus after application of Example 3 according to an embodiment of the present invention. RAW recording start processing in the imaging apparatus will be described with reference to FIG.

図13のフローチャートはステップS1203にて、RAW録画開始処理へ処理が移ったことをトリガにCPU105が処理を始める。   In the flowchart of FIG. 13, in step S <b> 1203, the CPU 105 starts processing when triggered by the processing shift to RAW recording start processing.

ステップS1301にて、CPU105はリングバッファの内容を記憶領域Y306に書き込む。   In step S1301, the CPU 105 writes the contents of the ring buffer in the storage area Y306.

ステップS1302にて、CPU105は前処理であるステップS1301で書き出し終了した末端からRAW動画書き込みを開始し、このフローチャートを終了する。具体的には、リングバッファの内容を記憶領域Y306へ転写した際の、リングバッファのデータの末尾のアドレスに対応する、記憶領域Yのアドレスの次のアドレスから、光学センサ301から得られA/D変換302で変換されたデータであるRAW動画のデータを記録していく。   In step S1302, the CPU 105 starts RAW moving image writing from the end of writing in step S1301, which is preprocessing, and ends this flowchart. Specifically, it is obtained from the optical sensor 301 from the address next to the address in the storage area Y corresponding to the address at the end of the data in the ring buffer when the contents of the ring buffer are transferred to the storage area Y306. Raw video data, which is data converted by the D conversion 302, is recorded.

図14は本発明の一実施形態に係る実施例3適用後の撮像装置におけるRAW録画終了処理のフローチャートである。図14を用いて、撮像装置におけるRAW動画終了処理について説明する。なお、図6と同じ処理については、同一の番号を付して、説明を省略する。   FIG. 14 is a flowchart of RAW recording end processing in the imaging apparatus after application of Example 3 according to an embodiment of the present invention. RAW moving image end processing in the imaging apparatus will be described with reference to FIG. Note that the same processes as those in FIG. 6 are denoted by the same reference numerals and description thereof is omitted.

図14において、ステップS601〜S602までは実施例6と同じ処理内容である。   In FIG. 14, steps S601 to S602 are the same processing contents as those in the sixth embodiment.

図14のフローチャートはステップS1204にて、RAW録画終了処理へ処理が移ったことをトリガにCPU105が処理を始める。   In the flowchart of FIG. 14, in step S1204, the CPU 105 starts processing when triggered by the transition of processing to RAW recording end processing.

ステップS602にて、CPU105は画像データを動画としての記録を終了し、ステップS1401へと処理を進める。   In step S602, CPU 105 ends the recording of the image data as a moving image, and proceeds to step S1401.

ステップS1401にて、CPU105はリングバッファを空にし、このフローチャートを終了する。   In step S1401, the CPU 105 empties the ring buffer and ends this flowchart.

以上で、実施例3での、RAW動画録画開始ボタン押下の数秒前からの動画もRAWに残す処理について説明した。この結果、RAW動画録画開始ボタン押下の数秒前からの動画もRAW動画として記録されるので、シャッターチャンスにおいてシャッターボタンを押したタイミングが若干秒間に合わなくても、大事なシーンをRAW動画として記録に残すことができる。   As described above, the process of leaving the moving image in the RAW several seconds before the RAW moving image recording start button is pressed in the third embodiment has been described. As a result, since a movie from several seconds before the RAW movie recording start button is pressed is also recorded as a RAW movie, even if the timing when the shutter button is pressed in a photo opportunity does not match a few seconds, an important scene is recorded as a RAW movie. Can leave.

実施例1では、汎用フォーマット動画とRAW動画の録画を同時並行して行う処理について説明した。実施例1ではユーザがRAW録画開始ボタン押下からRAW録画終了ボタン押下までRAW動画録画するが、実施例4としては、人物が写っているシーンのみRAW動画録画する処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. In the first embodiment, the RAW moving image recording is performed from the user pressing the RAW recording start button to the RAW recording end button being pressed. As the fourth embodiment, a process of recording a RAW moving image only in a scene in which a person is shown will be described.

[撮像装置のフローチャート]
図15は本発明の一実施形態に係る実施例4適用後の撮像装置における処理のフローチャートである。図15を用いて実施例4における撮像装置における処理について説明する。なお、図4と同じ処理については、同一の番号を付している。
[Flowchart of imaging device]
FIG. 15 is a flowchart of processing in the imaging apparatus after application of Example 4 according to an embodiment of the present invention. Processing in the imaging apparatus according to the fourth embodiment will be described with reference to FIG. The same processes as those in FIG. 4 are denoted by the same numbers.

図15において、ステップS401〜S405、ステップS407〜S409、ステップS411〜S418までは実施例1と同じ処理内容である。図15のフローチャートはモード切り替えスイッチ205が撮影モードに設定された状態で、撮像装置の電源ボタン202がONにされたことをトリガに、CPU105が処理を始める。   In FIG. 15, steps S401 to S405, steps S407 to S409, and steps S411 to S418 are the same processing contents as those in the first embodiment. In the flowchart of FIG. 15, the CPU 105 starts processing when the mode switch 205 is set to the shooting mode and the power button 202 of the imaging apparatus is turned on as a trigger.

ステップS401において、CPU105はFullHD録画中フラグを0に、RAW録画中フラグを0に設定する。   In step S401, the CPU 105 sets the FullHD recording flag to 0 and the RAW recording flag to 0.

ステップS402において、CPU105はFullHD録画開始ボタン208が押下されたかどうかを判定し、FullHD録画開始ボタン208が押下されていれば、ステップS403へと処理を進める。ステップS402において、CPU105はFullHD録画開始ボタン208が押下されたかどうかを判定し、FullHD録画開始ボタン208が押下されていなければ、ステップS1501へと処理を進める。   In step S402, the CPU 105 determines whether or not the FullHD recording start button 208 has been pressed. If the FullHD recording start button 208 has been pressed, the process proceeds to step S403. In step S402, the CPU 105 determines whether or not the FullHD recording start button 208 has been pressed. If the FullHD recording start button 208 has not been pressed, the process proceeds to step S1501.

ステップS403にて、CPU105はFullHD録画中フラグが0であるどうかを判定し、FullHD録画中フラグが0であれば、ステップS404へと処理を進める。ステップS403にて、CPU105はFullHD録画中フラグが0であるどうかを判定し、FullHD録画中フラグが0でなければ、ステップS1501へと処理を進める。   In step S403, the CPU 105 determines whether or not the FullHD recording flag is 0. If the FullHD recording flag is 0, the process proceeds to step S404. In step S403, the CPU 105 determines whether or not the FullHD recording flag is 0. If the FullHD recording flag is not 0, the process proceeds to step S1501.

ステップS404にて、CPU105はFullHD録画を開始する。   In step S404, the CPU 105 starts FullHD recording.

ステップS405にて、CPU105はFullHD録画中フラグに1を設定し、ステップS1501へと処理を進める。   In step S405, the CPU 105 sets the FullHD recording flag to 1 and advances the process to step S1501.

ステップS1501にて、CPU105はカメラが人物を認識したかどうかを判定し、人物を認識した場合はステップS407へと処理を進める。ここでCPU105は光学センサ301から得られ、A/D変換302で変換されたデータの画像に対して、顔検出を行い顔が検出されたことをもって、カメラが人物を認識したものとする。   In step S1501, the CPU 105 determines whether the camera has recognized a person. If the camera has been recognized, the process proceeds to step S407. Here, it is assumed that the camera recognizes a person when the face is detected from the image of the data obtained from the optical sensor 301 and converted by the A / D conversion 302 and the face is detected.

ステップS1501にて、CPU105はカメラが人物を認識したかどうかを判定し、人物を認識できなかった場合はステップS411へと処理を進める。   In step S1501, the CPU 105 determines whether the camera has recognized a person. If the person has not been recognized, the process proceeds to step S411.

ステップS407にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが0であれば、ステップS408へと処理を進める。ステップS407にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが0でなければ、ステップS414へと処理を進める。   In step S407, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is 1 and the RAW recording flag is 0, step S408 is performed. Continue the process. In step S407, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is not 1 or the RAW recording flag is not 0, The process proceeds to step S414.

ステップS408にて、CPU105はRAW録画開始処理を行う。   In step S408, the CPU 105 performs raw recording start processing.

ステップS409にて、CPU105はRAW録画中フラグに1を設定し、ステップS414へと処理を進める。   In step S409, the CPU 105 sets a RAW recording flag to 1 and proceeds to step S414.

ステップS411にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが1であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが1であれば、ステップS412へと処理を進める。ステップS411にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが1であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが1でなければ、ステップS414へと処理を進める。   In step S411, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 1. If the FullHD recording flag is 1 and the RAW recording flag is 1, step S412 is performed. Continue the process. In step S411, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 1. If the FullHD recording flag is not 1 or the RAW recording flag is not 1, The process proceeds to step S414.

ステップS412にて、CPU105はRAW録画終了処理を行う。   In step S412, the CPU 105 performs RAW recording end processing.

ステップS413にて、CPU105はRAW録画中フラグに0を設定し、ステップS414へと処理を進める。   In step S413, the CPU 105 sets a RAW recording flag to 0, and proceeds to step S414.

ステップS414において、CPU105はFullHD録画停止ボタン209が押下されたかどうかを判定し、RAW録画停止ボタン209が押下されていれば、ステップS415へと処理を進める。ステップS414において、CPU105はRAW録画停止ボタン209が押下されたかどうかを判定し、RAW録画停止ボタン209が押下されていなければ、ステップS418へと処理を進める。   In step S414, the CPU 105 determines whether or not the FullHD recording stop button 209 has been pressed. If the RAW recording stop button 209 has been pressed, the process proceeds to step S415. In step S414, the CPU 105 determines whether or not the RAW recording stop button 209 has been pressed. If the RAW recording stop button 209 has not been pressed, the process proceeds to step S418.

ステップS415にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1で且つ、RAW録画中フラグが0であれば、ステップS416へと処理を進める。ステップS415にて、CPU105はFullHD録画中フラグが1で且つ、RAW録画中フラグが0であるどうかを判定し、FullHD録画中フラグが1でないか、または、RAW録画中フラグが0でなければ、ステップS418へと処理を進める。   In step S415, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is 1 and the RAW recording flag is 0, step S416 is performed. Continue the process. In step S415, the CPU 105 determines whether the FullHD recording flag is 1 and the RAW recording flag is 0. If the FullHD recording flag is not 1 or the RAW recording flag is not 0, The process proceeds to step S418.

ステップS416にて、CPU105はFullHD録画終了処理を行う。   In step S416, the CPU 105 performs a FullHD recording end process.

ステップS417にて、CPU105はFullHD録画中フラグに0を設定し、ステップS418へと処理を進める。   In step S417, CPU 105 sets a FullHD recording flag to 0, and proceeds to step S418.

ステップS418にて、CPU105はカメラの電源ボタン202がOFF状態になったかどうかを判定し、OFF状態であれば、このフローチャートを終了する。   In step S418, the CPU 105 determines whether or not the power button 202 of the camera has been turned off, and if it is in the off state, ends the flowchart.

ステップS418にて、CPU105はカメラの電源ボタン202がOFF状態になったかどうかを判定し、OFF状態でなければ、ステップS402へと処理を進める。   In step S418, the CPU 105 determines whether or not the power button 202 of the camera has been turned off. If not, the process proceeds to step S402.

[撮像装置の動作概要]
以下、実施例4における撮像装置の動作について説明する。
[Overview of image pickup device operation]
Hereinafter, the operation of the imaging apparatus according to the fourth embodiment will be described.

ユーザがカメラの電源ボタン202をONにし、カメラを構えて208はFullHD動画録画開始ボタンを押下すると、CPU105はSW307がOFFの状態のまま、FullHD動画での録画を開始する。   When the user turns on the power button 202 of the camera and holds the camera, the CPU 105 presses the FullHD moving image recording start button, and the CPU 105 starts recording with the FullHD moving image while the SW 307 remains OFF.

FullHD動画録画中にCPU105は随時、カメラの光学センサから得られた画像に対して顔検出を行い、少なくとも1個の顔の顔検出に成功した場合はFullHD動画の録画を継続しつつ、RAW動画の録画を開始する。   During the recording of the FullHD video, the CPU 105 performs face detection on the image obtained from the optical sensor of the camera at any time. When the face detection of at least one face is successful, the RAW video is recorded while continuing the FullHD video recording. Start recording.

RAW動画の録画中にCPU105は随時、カメラの光学センサから得られた画像に対して顔検出を行い、顔検出できた顔の数が0個の場合は、RAW動画の録画を終了するが、FullHD動画の録画は継続する。   During the recording of the RAW moving image, the CPU 105 performs face detection on the image obtained from the optical sensor of the camera as needed. When the number of faces that can be detected is 0, the recording of the RAW moving image ends. FullHD video recording continues.

FullHD動画録画中にユーザがFullHD動画特が停止ボタン209を押下すると、CPU105はFulHD動画の録画を終了する。   When the user presses the stop button 209 for FullHD video special during the FullHD video recording, the CPU 105 ends the recording of the FullHD video.

以上で、実施例4での、人物が写っているシーンのみRAW動画録画する処理について説明した。この結果、ユーザがRAW動画録画開始ボタンまたはRAW動画録画終了ボタンを押すことなく、カメラが視野角内に人物が写っているかどうかを判定して、人物が写っている間、RAW動画を録画することができる。   The processing for recording a RAW moving image only in a scene in which a person is shown in the fourth embodiment has been described above. As a result, without the user pressing the RAW video recording start button or the RAW video recording end button, the camera determines whether a person is captured within the viewing angle, and records the RAW video while the person is captured. be able to.

実施例1では、汎用フォーマット動画とRAW動画の録画を並行して行う処理について説明した。実施例5として、実施例1の内容に加えて、RAW動画に対して汎用フォーマット動画の録画開始日時と録画終了日時をメタデータとして付加する処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. As a fifth embodiment, in addition to the contents of the first embodiment, a process for adding the recording start date and time and the recording end date and time of a general format moving image to the RAW moving image as metadata will be described.

[汎用フォーマット動画とRAW動画の時間軸関係]
図16は本発明の一実施形態に係る実施例5適用時の汎用フォーマット動画とRAW動画の時間軸における相対関係を示す図である。図16を用いて実施例5における汎用フォーマット動画とRAW動画の時間軸における相対関係について説明する。
[Time-axis relationship between general-format video and RAW video]
FIG. 16 is a diagram showing a relative relationship on the time axis between the general-purpose format moving image and the RAW moving image when Example 5 according to an embodiment of the present invention is applied. The relative relationship on the time axis between the general-purpose format moving image and the RAW moving image in the fifth embodiment will be described with reference to FIG.

1601は汎用フォーマット動画が録画された期間を示すものである。図16の横方向は時間軸を意味し、右にいけばいくほど時間が経過していることを表す。汎用フォーマット動画が録画された期間のうち、左端は汎用フォーマット動画録画開始日時を表し、右端は汎用フォーマット動画録画終了日時を表す。   Reference numeral 1601 denotes a period during which the general-purpose format moving image is recorded. The horizontal direction in FIG. 16 means a time axis, and represents that time has passed as it goes to the right. Of the period in which the general-purpose format moving image is recorded, the left end indicates the general-purpose format moving image recording start date and time, and the right end indicates the general-purpose format moving image recording end date and time.

1602はRAW動画が録画された期間を示すものである。   Reference numeral 1602 denotes a period during which a RAW moving image is recorded.

RAW動画が録画された期間のうち、左端はRAW録画開始日時を表し、右端はRAW録画終了日時を表す。   Of the period during which the RAW video was recorded, the left end represents the RAW recording start date and time, and the right end represents the RAW recording end date and time.

RAW動画録画開始日時が、汎用フォーマット動画録画開始日時よりも前になることはない。同様に、RAW動画録画終了日時が、汎用フォーマット動画録画終了日時よりも後になることもない。   The RAW moving image recording start date / time does not precede the general format moving image recording start date / time. Similarly, the RAW moving image recording end date / time is not later than the general-purpose format moving image recording end date / time.

RAW動画録画中には、常に汎用フォーマット動画も録画中であるので、このRAW動画に対応した汎用フォーマット動画の情報をメタデータとしてRAW動画に付加するのが目的である。汎用フォーマット動画の情報とは、汎用フォーマット動画の録画開始日時と、録画終了日時と、汎用フォーマット動画のファイル名である。   During the recording of the RAW moving image, the general-purpose format moving image is also being recorded. Therefore, it is an object to add information on the general-purpose format moving image corresponding to the RAW moving image as metadata to the RAW moving image. The information on the general format moving image includes the recording start date and time, the recording end date and time of the general format moving image, and the file name of the general format moving image.

[RAW動画ファイルの構造]
図17は本発明の一実施形態に係る実施例5適用時のRAW動画ファイルの構造を示す図である。図17を用いてRAW動画ファイルの構造について説明する。
[RAW video file structure]
FIG. 17 is a diagram showing the structure of a RAW moving image file when Example 5 is applied according to an embodiment of the present invention. The structure of the RAW moving image file will be described with reference to FIG.

1701はRAW動画ファイルである。RAW動画ファイルの中は2つのブロックに分かれており、RAW動画ファイルのヘッダ部のブロックと、RAW動画ファイルのデータ部のブロックで構成されている。   Reference numeral 1701 denotes a RAW moving image file. The RAW moving image file is divided into two blocks. The RAW moving image file is composed of a header portion block of the RAW moving image file and a data portion block of the RAW moving image file.

1702はRAW動画ファイルのヘッダ部である。RAW動画ファイル1701のヘッダ部1702には、動画の各種情報をメタデータとして格納することができる。具体的には、RAW動画録画開始日時、RAW動画録画終了日時である。CPU105が汎用フォーマット動画の情報として、RAW動画ファイル1701に汎用フォーマット動画の情報をメタデータとして付与する場合は、RAW動画ファイルのヘッダ部1702に対して、汎用フォーマット動画録画開始日時、録画終了日時、汎用フォーマット動画のファイル名をメタデータとして書き込むことになる。   Reference numeral 1702 denotes a header part of the RAW moving image file. In the header part 1702 of the RAW moving image file 1701, various types of information of moving images can be stored as metadata. Specifically, the RAW video recording start date and time and the RAW video recording end date and time. When the CPU 105 assigns the information on the general format video as metadata to the RAW video file 1701 as the information on the general format video, the general format video recording start date and time, the recording end date and time, The file name of the general format movie is written as metadata.

1703はRAW動画ファイルのデータ部である。RAW動画ファイルのデータ部にはRAW動画のデータそのものが格納されている。   Reference numeral 1703 denotes a data part of the RAW moving image file. RAW moving image data itself is stored in the data portion of the RAW moving image file.

[撮像装置のフローチャート]
図18は本発明の一実施形態に係る実施例5適用後の撮像装置における処理のフローチャートである。図18を用いて実施例5における撮像装置における処理について説明する。なお、図4と同じ処理については、同一の番号を付して、説明を省略する。
[Flowchart of imaging device]
FIG. 18 is a flowchart of processing in the imaging apparatus after application of Example 5 according to an embodiment of the present invention. Processing in the imaging apparatus according to the fifth embodiment will be described with reference to FIG. Note that the same processes as those in FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図18において、ステップS401〜S418までは実施例1と同じ処理内容である。   In FIG. 18, steps S401 to S418 are the same processing contents as those in the first embodiment.

ステップS405にて、CPU105はFullHD録画中フラグに1を設定し、ステップS1801へと処理を進める。
ステップS1801にて、CPU105は汎用フォーマット動画の録画開始日時と汎用フォーマット動画ファイル名を保持し、ステップS406へと処理を進める。
In step S405, the CPU 105 sets the FullHD recording flag to 1 and advances the process to step S1801.
In step S1801, the CPU 105 holds the recording start date and time of the general format video and the general format video file name, and proceeds to step S406.

ステップS409にて、CPU105はRAW録画中フラグに1を設定し、ステップS1802へと処理を進める。   In step S409, the CPU 105 sets 1 to the RAW recording flag, and proceeds to step S1802.

ステップS1802にて、CPU105はRAW動画の録画開始日時を保持し、ステップS410へと処理を進める。   In step S1802, CPU 105 retains the recording start date and time of the RAW moving image, and proceeds to step S410.

ステップS413にて、CPU105はRAW録画中フラグに0を設定し、ステップS1803へと処理を進める。   In step S413, the CPU 105 sets a RAW recording flag to 0 and advances the process to step S1803.

ステップS1803にて、CPU105はRAW動画ファイルに対して、RAW動画録画開始日時とRAW動画録画終了日時と、それらに加えてステップS1801にて保持した汎用フォーマット動画ファイル名を書き込む。
ステップS1804にて、CPU105はステップS1803にて書きこんだRAW動画ファイル名を保持し、ステップS414へと処理を進める。
In step S1803, the CPU 105 writes the RAW moving image recording start date and time, the RAW moving image recording end date and time, and the general format moving image file name held in step S1801 to the RAW moving image file.
In step S1804, the CPU 105 holds the RAW moving image file name written in step S1803, and advances the process to step S414.

ステップS417にて、CPU105はFullHD録画中フラグに0を設定し、ステップS1805へと処理を進める。   In step S417, the CPU 105 sets a FullHD recording flag to 0, and the process proceeds to step S1805.

ステップS1805にて、CPU105はステップS1804にて保持したファイル名のRAW動画ファイルに対して、ステップS1801にて保持した汎用フォーマット動画の録画開始日時と汎用フォーマット動画の録画終了日時を書き込み、ステップS418へと処理を進める。   In step S1805, the CPU 105 writes the recording start date / time of the general-purpose format video and the recording end date / time of the general-format video stored in step S1801 to the RAW video file having the file name stored in step S1804, and proceeds to step S418. And proceed.

以上で実施例5での、RAW動画に対して汎用フォーマット動画の録画開始日時と録画終了日時をメタデータとして付加する処理について説明した。この結果、RAW動画ファイルに対して、汎用フォーマット動画の録画開始日時と、汎用フォーマット動画の録画終了日時と、汎用フォーマット動画ファイル名が記録されるので、ユーザが撮影後に編集する際に、RAW動画ファイルから関連する汎用フォーマット動画を容易に探し出すことができ、且つ、RAW動画の録画期間が汎用フォーマット動画の録画期間のどのあたりに位置するのかを知ることができる。   The processing for adding the recording start date / time and the recording end date / time of the general-purpose format moving image to the RAW moving image as metadata in the fifth embodiment has been described above. As a result, since the recording start date and time of the general format video, the recording end date and time of the general format video, and the general format video file name are recorded for the RAW video file, when the user edits after shooting, the RAW video is recorded. It is possible to easily find a related general format moving image from the file, and to know where the recording period of the RAW moving image is located.

実施例1では汎用フォーマット動画とRAW動画の録画を並行して行う処理について説明した。実施例6として、実施例1の内容に加えて、汎用フォーマット動画に対してRAW動画の録画開始日時と録画終了日時をメタデータとして付加する処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. As a sixth embodiment, in addition to the contents of the first embodiment, a process of adding a recording start date and time and a recording end date and time of a RAW moving image as metadata to a general format moving image will be described.

[汎用フォーマット動画とRAW動画の時間軸関係]
図19は本発明の一実施形態に係る実施例6適用時の汎用フォーマット動画とRAW動画の時間軸における相対関係を示す図である。図19を用いて実施例6における汎用フォーマット動画とRAW動画の時間軸における相対関係について説明する。
[Time-axis relationship between general-format video and RAW video]
FIG. 19 is a diagram showing a relative relationship on the time axis between the general-purpose format moving image and the RAW moving image when Example 6 according to an embodiment of the present invention is applied. The relative relationship on the time axis between the general-purpose format moving image and the RAW moving image according to the sixth embodiment will be described with reference to FIG.

1901は汎用フォーマット動画が録画された期間を示すものである。図19の横方向は時間軸を意味し、右にいけばいくほど時間が経過していることを表す。汎用フォーマット動画が録画された期間のうち、左端は汎用フォーマット動画録画開始日時を表し、右端は汎用フォーマット動画録画終了日時を表す。   Reference numeral 1901 denotes a period during which the general-purpose format moving image is recorded. The horizontal direction in FIG. 19 means a time axis, and the time goes to the right as it goes to the right. Of the period in which the general-purpose format moving image is recorded, the left end indicates the general-purpose format moving image recording start date and time, and the right end indicates the general-purpose format moving image recording end date and time.

1902、1903、1904はそれぞれRAW動画が録画された期間を示すものである。
RAW動画が録画された期間のうち、左端はRAW録画開始日時を表し、右端はRAW録画終了日時を表す。RAW動画録画開始日時が、汎用フォーマット動画録画開始日時よりも前になることはない。同様に、RAW動画録画終了日時が、汎用フォーマット動画録画終了日時よりも後になることもない。汎用フォーマット動画録画中に同時並行して撮影されたRAW動画の情報をメタデータとして汎用フォーマット動画に付加するのが目的である。RAW動画の情報とは、RAW動画の録画開始日時と、録画終了日時と、RAW動画のファイル名である。
Reference numerals 1902, 1903, and 1904 indicate periods during which RAW moving images are recorded.
Of the period during which the RAW video was recorded, the left end represents the RAW recording start date and time, and the right end represents the RAW recording end date and time. The RAW moving image recording start date / time does not precede the general format moving image recording start date / time. Similarly, the RAW moving image recording end date / time is not later than the general-purpose format moving image recording end date / time. The purpose is to add information of a RAW moving image taken in parallel during recording of a general format moving image to the general format moving image as metadata. The RAW video information includes a recording start date and time, a recording end date and time, and a RAW video file name.

[汎用フォーマット動画ファイルの構造]
図20は本発明の一実施形態に係る汎用フォーマット動画ファイルの構造を示す図である。図20を用いて汎用フォーマット動画ファイルの構造について説明する。
[Structure of general format movie file]
FIG. 20 is a diagram showing the structure of a general format moving image file according to an embodiment of the present invention. The structure of a general format moving image file will be described with reference to FIG.

2001は汎用フォーマット動画ファイルである。汎用フォーマット動画ファイルの中は2つのブロックに分かれており、汎用フォーマット動画ファイルのヘッダ部のブロックと、汎用フォーマット動画ファイルのデータ部のブロックで構成されている。   2001 is a general-purpose format moving image file. The general-purpose format moving image file is divided into two blocks, which are composed of a header portion block of the general-purpose format moving image file and a data portion block of the general-purpose format moving image file.

2002は汎用フォーマット動画ファイルのヘッダ部である。汎用フォーマット動画ファイル2001のヘッダ部2002には、動画の各種情報をメタデータとして格納することができる。具体的には、汎用フォーマット動画録画開始日時、汎用フォーマット動画録画終了日時である。CPU105がRAW動画の情報として、汎用フォーマット動画ファイル2001にRAW動画の情報をメタデータとして付与したい場合は、汎用フォーマット動画ファイルのヘッダ部2002に対して、RAW動画録画開始日時、録画終了日時、RAW動画のファイル名をメタデータとして書き込むことになる。   Reference numeral 2002 denotes a header portion of the general format moving image file. In the header part 2002 of the general-purpose format moving image file 2001, various types of information on moving images can be stored as metadata. Specifically, the general format moving image recording start date and time and the general format moving image recording end date and time. When the CPU 105 wants to add RAW video information as metadata to the general-purpose format video file 2001 as RAW video information, the RAW video recording start date / time, recording end date / time, RAW The video file name is written as metadata.

ここで、ひとつの汎用フォーマット動画と同時並行して撮影されるRAW動画はひとつとは限らず、複数個のRAW動画が撮影されることもある。そのため、汎用フォーマット動画ファイルのヘッダ部2002に、複数のRAW動画の録画開始日時、録画終了日時、RAW動画のファイル名が書き込まれるケースもある。   Here, the number of RAW moving images shot in parallel with one general-purpose format moving image is not limited to one, and a plurality of RAW moving images may be shot. Therefore, in some cases, the recording start date and time, recording end date and time, and RAW moving image file names of a plurality of RAW moving images are written in the header portion 2002 of the general format moving image file.

2003は汎用フォーマット動画ファイルのデータ部である。汎用フォーマット動画ファイルのデータ部には汎用フォーマット動画のデータそのものが格納されている。   Reference numeral 2003 denotes a data portion of a general-purpose format moving image file. The data portion of the general format moving image file stores the data of the general format moving image itself.

[撮像装置のフローチャート]
図21は本発明の一実施形態に係る実施例6適用後の撮像装置における処理のフローチャートである。図21を用いて実施例6における撮像装置における処理について説明する。なお、図4と同じ処理については、同一の番号を付して、説明を省略する。
[Flowchart of imaging device]
FIG. 21 is a flowchart of processing in the imaging apparatus after application of Example 6 according to an embodiment of the present invention. Processing in the imaging apparatus according to the sixth embodiment will be described with reference to FIG. Note that the same processes as those in FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図21において、ステップS401〜S418までは実施例1と同じ処理内容である。   In FIG. 21, steps S401 to S418 are the same as those in the first embodiment.

ステップS405にて、CPU105はFullHD録画中フラグに1を設定し、ステップS2101へと処理を進める。   In step S405, the CPU 105 sets the FullHD recording flag to 1 and advances the process to step S2101.

ステップS2101にて、CPU105は汎用フォーマット動画ファイル名を保持する。   In step S2101, the CPU 105 holds the general format moving image file name.

ステップS2102にて、CPU105は汎用フォーマット動画の録画開始日時を保持し、ステップS406へと処理を進める。   In step S2102, CPU 105 holds the recording start date / time of the general-purpose format moving image, and proceeds to step S406.

ステップS409にて、CPU105はRAW録画中フラグに1を設定し、ステップS2103へと処理を進める。   In step S409, the CPU 105 sets a RAW recording flag to 1 and advances the process to step S2103.

ステップS2103にて、CPU105はステップS2101にて保持したファイル名の汎用フォーマット動画に対してRAW動画の録画開始日時を書き込み、ステップS410へと処理を進める。   In step S2103, the CPU 105 writes the recording start date / time of the RAW moving image in the general format moving image having the file name held in step S2101, and proceeds to step S410.

ステップS413にて、CPU105はRAW録画中フラグに0を設定し、ステップS2104へと処理を進める。   In step S413, CPU 105 sets a RAW recording flag to 0, and proceeds to step S2104.

ステップS2104にて、CPU105はステップS2101にて保持したファイル名の汎用フォーマット動画に対してRAW動画の録画終了日時とRAW動画ファイル名を書き込み、ステップS414へと処理を進める。   In step S2104, the CPU 105 writes the recording end date and time of the RAW moving image and the RAW moving image file name to the general-purpose format moving image having the file name held in step S2101, and the process proceeds to step S414.

ステップS417にて、CPU105はFullHD録画中フラグに0を設定し、ステップS2105へと処理を進める。   In step S417, CPU 105 sets the FullHD recording flag to 0, and proceeds to step S2105.

ステップS2105にて、CPU105は汎用フォーマット動画ファイルに対して汎用フォーマット動画の録画開始日時と、汎用フォーマット動画の録画終了日時を書き込み、ステップS418へと処理を進める。   In step S2105, the CPU 105 writes the recording start date and time of the general format moving image and the recording end date and time of the general format moving image in the general format moving image file, and the process proceeds to step S418.

以上で実施例6での、汎用フォーマット動画に対してRAW動画の撮影開始日時と終了日時をメタデータとして付加する処理について説明した。この結果、汎用フォーマット動画ファイルに対して、RAW動画の録画開始日時と、RAW動画の録画終了日時と、RAW動画ファイル名が記録されるので、ユーザが撮影後に編集する際に、汎用フォーマット動画ファイルから関連するRAW動画を容易に探し出すことができ、且つ、RAW動画の録画期間が汎用フォーマット動画の録画期間のどのあたりに位置するのかを知ることができる。   The processing for adding the shooting start date / time and the end date / time of a RAW moving image as metadata to the general format moving image in the sixth embodiment has been described above. As a result, the recording start date / time of the RAW moving image, the recording end date / time of the RAW moving image, and the RAW moving image file name are recorded for the general format moving image file. Therefore, it is possible to easily find out a related RAW moving image, and to know where the recording period of the RAW moving image is located in the recording period of the general-purpose format moving image.

実施例1では、汎用フォーマット動画とRAW動画の録画を並行して行う処理について説明した。実施例7として、実施例1の内容に加えて、RAW動画録画中に、汎用フォーマット動画への現像に使用したパラメータをRAW動画ファイルへ記録する処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. As a seventh embodiment, in addition to the contents of the first embodiment, a process for recording parameters used for developing into a general-purpose format moving image in a RAW moving image file during RAW moving image recording will be described.

[RAW動画ファイルの構造]
図22は本発明の一実施形態に係る実施例7適用時のRAW動画ファイルの構造を示す図である。図22を用いてRAW動画ファイルの構造について説明する。
[RAW video file structure]
FIG. 22 is a diagram showing the structure of a RAW moving image file when Example 7 is applied according to an embodiment of the present invention. The structure of the RAW moving image file will be described with reference to FIG.

2201はRAW動画ファイルである。RAW動画ファイルの中は2つのブロックに分かれており、RAW動画ファイルのヘッダ部のブロックと、RAW動画ファイルのデータ部のブロックで構成されている。   Reference numeral 2201 denotes a RAW moving image file. The RAW moving image file is divided into two blocks. The RAW moving image file is composed of a header portion block of the RAW moving image file and a data portion block of the RAW moving image file.

2202はRAW動画ファイルのヘッダ部である。RAW動画ファイル2201のヘッダ部2202には、動画の各種情報をメタデータとして格納することができる。具体的には、RAW動画録画開始日時、RAW動画録画終了日時である。CPU105が、汎用フォーマット動画を現像時に使用したパラメータを、RAW動画ファイル2201にメタデータとして付与したい場合は、RAW動画ファイルのヘッダ部2202に対して、現像に使用したパラメータをメタデータとして書き込むことになる。ここで汎用フォーマット動画を現像時に使用されるパラメータとしては、露出補正、ホワイトバランス、トーンカーブ、シャープネス、ノイズリダクション、レンズ収差補正などがある。   Reference numeral 2202 denotes a header part of the RAW moving image file. In the header portion 2202 of the RAW moving image file 2201, various types of moving image information can be stored as metadata. Specifically, the RAW video recording start date and time and the RAW video recording end date and time. When the CPU 105 wants to assign the parameters used when developing the general-purpose format moving image as metadata to the RAW moving image file 2201, the parameter used for the development is written as metadata to the header portion 2202 of the RAW moving image file. Become. Here, parameters used when developing a general format moving image include exposure correction, white balance, tone curve, sharpness, noise reduction, lens aberration correction, and the like.

2203はRAW動画ファイルのデータ部である。RAW動画ファイルのデータ部にはRAW動画のデータそのものが格納されている。   Reference numeral 2203 denotes a data portion of the RAW moving image file. RAW moving image data itself is stored in the data portion of the RAW moving image file.

[撮像装置のフローチャート]
図23は本発明の一実施形態に係る実施例7適用後の撮像装置における処理のフローチャートである。図23を用いて実施例7における撮像装置における処理について説明する。なお、図4と同じ処理については、同一の番号を付して、説明を省略する。
[Flowchart of imaging device]
FIG. 23 is a flowchart of processing in the imaging apparatus after application of Example 7 according to an embodiment of the present invention. Processing in the imaging apparatus according to the seventh embodiment will be described with reference to FIG. Note that the same processes as those in FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図23において、ステップS401〜S418までは実施例1と同じ処理内容である。   In FIG. 23, steps S401 to S418 are the same as those in the first embodiment.

ステップS405にて、CPU105はFullHD録画中フラグに1を設定し、ステップS2301へと処理を進める。   In step S405, the CPU 105 sets the FullHD recording flag to 1 and advances the process to step S2301.

ステップS2301にて、CPU105は汎用フォーマット動画現像に使用したパラメータを保持し、ステップS406へと処理を進める。   In step S2301, the CPU 105 holds parameters used for general-purpose format moving image development, and proceeds to step S406.

ステップS413にて、CPU105はRAW録画中フラグに0を設定し、ステップS2302へと処理を進める。   In step S413, the CPU 105 sets a RAW recording flag to 0 and advances the process to step S2302.

ステップS2302にて、CPU105はRAW動画に対して、汎用フォーマット動画の現像に使用したパラメータを書き込み、ステップS414へと処理を進める。   In step S2302, the CPU 105 writes the parameters used for developing the general-purpose format moving image to the RAW moving image, and advances the process to step S414.

以上で実施例7での、RAW動画録画中に、汎用フォーマット動画への現像に使用したパラメータをRAW動画ファイルへ記録する処理について説明した。この結果、汎用フォーマット動画への現像に使用したパラメータを記録することで、後でRAW動画を現像する際に、そのパラメータを使わないことで、既に生成済みの汎用フォーマット動画とは異なった効果の動画を現像することができる。   The processing for recording the parameters used for developing the general format moving image in the RAW moving image file during the RAW moving image recording in the seventh embodiment has been described. As a result, by recording the parameters used for the development to the general-purpose format video, when the RAW video is developed later, the parameter is not used. You can develop videos.

実施例1では汎用フォーマット動画とRAW動画の録画を並行して行う処理について説明した。実施例8として、実施例1の内容に加えて、記憶媒体の容量が少ない場合は、RAW動画記録を無圧縮モードから圧縮モードに移行する処理について説明する。   In the first embodiment, the process of recording the general-purpose format moving image and the RAW moving image in parallel has been described. As an eighth embodiment, in addition to the contents of the first embodiment, a process for shifting the RAW moving image recording from the non-compression mode to the compression mode when the capacity of the storage medium is small will be described.

図24は本発明の一実施形態に係る実施例8における撮像装置としての動画記録の処理の流れの概要図である。図24を用いて、実施例8における撮像装置としての動画記録の処理の流れについて説明する。なお、図3と同じ処理については同一の番号を付して、説明を省略する。   FIG. 24 is a schematic diagram of a flow of moving image recording processing as the imaging apparatus according to Example 8 according to an embodiment of the present invention. With reference to FIG. 24, a flow of a moving image recording process as the imaging apparatus according to the eighth embodiment will be described. Note that the same processes as those in FIG. 3 are denoted by the same reference numerals and description thereof is omitted.

図24において、301〜306までは実施例1と同じ処理機能を持つユニットである。また図3におけるスイッチSW307は図24ではスイッチSWイ307と読み替えるものとする。   In FIG. 24, units 301 to 306 are units having the same processing functions as those in the first embodiment. Further, the switch SW307 in FIG. 3 is read as the switch SW 307 in FIG.

2401は圧縮処理を行うユニットである。圧縮処理とは光学センサ301の受光素子で光から得られた電気信号がA/D変換ユニット302を通して出てきた画像データを、画像データの質を損なわずに、データ量を減らした別のデータに変換することである。   A unit 2401 performs compression processing. Compression processing refers to image data in which an electrical signal obtained from light by the light receiving element of the optical sensor 301 is output through the A / D conversion unit 302, and other data in which the amount of data is reduced without impairing the quality of the image data. Is to convert to

2402はスイッチSWロである。SWロ2402がOFFであれば、A/D変換ユニット302から来たデータは圧縮されることなく、記憶媒体306に保存される。SWロ2402がONであれば、A/D変換ユニット302から来た画像データは圧縮処理ユニット2401を通して、圧縮される。圧縮された画像でーたは記憶媒体306に保存される。   Reference numeral 2402 denotes a switch SW. If the SW switch 2402 is OFF, the data coming from the A / D conversion unit 302 is stored in the storage medium 306 without being compressed. If the SW switch 2402 is ON, the image data coming from the A / D conversion unit 302 is compressed through the compression processing unit 2401. The compressed image is stored in the storage medium 306.

図25は本発明の一実施形態に係る実施例8適用後の撮像装置におけるRAW録画開始処理のフローチャートである。図25を用いて実施例8における撮像装置におけるRAW録画開始処理について説明する。これは実施例1における図4の本発明の一実施形態に係る撮像装置におけるフローチャートのステップS408の詳細な処理である。   FIG. 25 is a flowchart of raw recording start processing in the imaging apparatus after application of Example 8 according to an embodiment of the present invention. RAW recording start processing in the imaging apparatus according to the eighth embodiment will be described with reference to FIG. This is a detailed process in step S408 of the flowchart in the imaging apparatus according to the embodiment of the present invention in FIG.

図25のフローチャートはステップS408にて、RAW録画開始処理へ処理が移ったことをトリガにCPU105が処理を始める。   In the flowchart of FIG. 25, the CPU 105 starts processing in step S <b> 408 triggered by the transition of processing to RAW recording start processing.

ステップS2501にて、CPU105は記憶媒体の残り容量を取得する。   In step S2501, the CPU 105 acquires the remaining capacity of the storage medium.

ステップS2502にて、CPU105は記憶媒体の残り容量が一定値以上であるかどうかの判定を行い、一定値以上であればステップS2503へと処理を進める。ステップS2502にて、CPU105は記憶媒体の残り容量が一定値以上であるかどうかの判定を行い、一定値以上でなければステップS2504へと処理を進める。   In step S2502, the CPU 105 determines whether or not the remaining capacity of the storage medium is equal to or greater than a certain value, and if it is greater than or equal to a certain value, the process proceeds to step S2503. In step S2502, the CPU 105 determines whether or not the remaining capacity of the storage medium is equal to or greater than a certain value. If not, the process proceeds to step S2504.

ステップS2503にて、CPU105はSWロ2402をOFFにして無圧縮モードに設定し、ステップS2505へと処理を進める。   In step S2503, the CPU 105 turns off the SW switch 2402 to set the non-compression mode, and proceeds to step S2505.

ステップS2504にて、CPU105はSWロ2402をONにして圧縮モードに設定し、ステップS2505へと処理を進める。ステップS2505にて、CPU105はSWイ307をONに設定する。   In step S2504, the CPU 105 turns on the SW switch 2402 to set the compression mode, and proceeds to step S2505. In step S2505, the CPU 105 sets the SW button 307 to ON.

ステップS2506にて、CPU105は画像データを動画としての記録を開始する。ここで、SWロ2402がOFFであれば無圧縮モードであるため、CPU105はA/D変換ユニット302から来た画像データをそのまま記憶媒体306に記録する。これは実施例1におけるRAW動画の記録と同一である。ここで、SWロ2402がONであれば圧縮モードであるため、CPU105はA/D変換ユニット302から来た画像データを圧縮処理ユニットで圧縮した上で、記憶媒体30に記録する。   In step S2506, CPU 105 starts recording the image data as a moving image. Here, since the non-compression mode is set when the SW switch 2402 is OFF, the CPU 105 records the image data from the A / D conversion unit 302 as it is in the storage medium 306. This is the same as the recording of the RAW moving image in the first embodiment. If the SW switch 2402 is ON, the compression mode is set. Therefore, the CPU 105 compresses the image data coming from the A / D conversion unit 302 by the compression processing unit and records it in the storage medium 30.

以上で、記憶媒体の容量が少ない場合は、RAW動画記録を無圧縮モードから圧縮モードに移行する処理について説明した。この結果、記憶媒体の容量が少ない状態で、RAW動画録画開始された場合は、圧縮モードでRAW動画が記録されるため、無圧縮モードと比較して、記憶媒体の容量を節約しつつより長い時間でのRAW動画録画が可能になる。   As described above, when the capacity of the storage medium is small, the process of shifting the RAW moving image recording from the non-compression mode to the compression mode has been described. As a result, when RAW video recording is started in a state where the capacity of the storage medium is small, since the RAW video is recorded in the compressed mode, it is longer while saving the capacity of the storage medium compared to the uncompressed mode. RAW video recording in time is possible.

101 光学センサ、102 入力装置、103 リムーバブルメディア、
104 通信モジュール、105 CPU
101 optical sensor, 102 input device, 103 removable media,
104 communication module, 105 CPU

Claims (9)

光学センサから取り出したRAWデータを記録するRAW動画記録手段と、前記RAWデータを現像処理をして汎用フォーマット動画を記録する汎用フォーマット動画記録手段を有する撮像装置において、
撮影中に、前記汎用フォーマット動画のみで記録をする第一の記録手段と、第一のトリガを検出するトリガ検出手段と、
前記第一の記録手段で記録中に、前記第一のトリガが検出されたときは、汎用フォーマット動画の記録とともに前記RAW動画の記録も行う第二の記録手段を行い、
前記第二の記録手段で記録中に、第二のトリガが検出されたときは、前記第二の記録手段を終了し、前記第一の記録手段に戻ることを特徴とする撮像装置。
In an imaging apparatus having RAW moving image recording means for recording RAW data taken out from an optical sensor, and general-purpose format moving image recording means for developing the RAW data and recording a general-purpose format moving image,
A first recording means for recording only with the general-purpose format moving image during shooting; a trigger detection means for detecting a first trigger;
When the first trigger is detected during recording by the first recording means, the second recording means for recording the RAW moving image together with the recording of the general format moving image is performed,
An imaging apparatus characterized in that when a second trigger is detected during recording by the second recording means, the second recording means is terminated and the process returns to the first recording means.
記憶媒体の記録可能な残り容量を取得する残り容量取得手段と、
汎用フォーマット動画とRAW動画の単位時間当たりの記録容量を取得する動画記録容量取得手段と、
残り容量と動画記録容量から、記憶媒体に記録可能な残り時間を算出する残り記録可能時間算出手段と、
残り記録可能時間を、ディスプレイに表示する表示手段と、
を備えたことを特徴とする請求項1に記載の撮像装置。
Remaining capacity acquisition means for acquiring the remaining recordable capacity of the storage medium;
Movie recording capacity acquisition means for acquiring a recording capacity per unit time of a general format movie and a RAW movie,
A remaining recordable time calculating means for calculating a remaining time that can be recorded in the storage medium from the remaining capacity and the moving image recording capacity;
Display means for displaying the remaining recordable time on the display;
The imaging apparatus according to claim 1, further comprising:
汎用フォーマット動画のみで記録する第一の記録手段と並行して、リングバッファを用いて現在より所定時間分前までのRAW動画を保持するRAW動画一時保持手段と、
第一の記録手段と前記RAW動画一時保持手段で記録中に、前記第一のトリガが検出されたときは、汎用フォーマット動画の記録とともに、前記RAW動画一時保持手段で記録されたRAW動画を書き出した上で、RAW動画の記録を行う第二の記録手段と、
を備えたことを特徴とする請求項1に記載の撮像装置。
In parallel with the first recording means for recording only the general format moving picture, a RAW moving picture temporary holding means for holding a RAW moving picture up to a predetermined time before the present using a ring buffer
When the first trigger is detected during recording by the first recording means and the RAW moving picture temporary holding means, the RAW moving picture recorded by the RAW moving picture temporary holding means is written together with the recording of the general format moving picture. A second recording means for recording a RAW moving image;
The imaging apparatus according to claim 1, further comprising:
人物が写っているかどうかを判別し、写っている場合は、これを第一のトリガとして、RAW動画の記録を行い、その後に、人物が写らなくなった時に、これを第二のトリガとしてRAW動画の記録を終了することを特徴とする請求項1に記載の撮像装置。 It is determined whether or not a person is photographed. If a person is photographed, this is used as a first trigger to record a RAW video, and then when a person is no longer photographed, this is used as a second trigger as a RAW video. The imaging apparatus according to claim 1, wherein the recording of the image is terminated. RAW動画に対して汎用フォーマット動画のファイル名と汎用フォーマット動画記録開始日時と汎用フォーマット動画記録終了日時をメタデータとして付加することを特徴とする請求項1に記載の撮像装置。 The imaging apparatus according to claim 1, wherein a file name of a general format video, a general format video recording start date and time, and a general format video recording end date are added as metadata to the RAW video. 汎用フォーマット動画に対してRAW動画のファイル名とRAW動画の記録開始日時とRAW動画の記録終了日時をメタデータとして付加することを特徴とする請求項1に記載の撮像装置。 The imaging apparatus according to claim 1, wherein a RAW moving image file name, a raw moving image recording start date and time, and a raw moving image recording end date and time are added as metadata to the general format moving image. 汎用フォーマット動画への現像時に使用したパラメータをRAW動画に記録することを特徴とする請求項1に記載の撮像装置。 The imaging apparatus according to claim 1, wherein the parameters used at the time of developing the general format moving image are recorded in the RAW moving image. 第一の記録手段で記録中に、前記第二のトリガが検出されたときは、記憶媒体の容量からRAW動画の記録モードを判定し、汎用フォーマット動画の記録とともに記録モードに応じたRAW動画の記録も行うことを特徴とする請求項1に記載の撮像装置。 When the second trigger is detected during recording by the first recording means, the recording mode of the RAW moving image is determined from the capacity of the storage medium, and the RAW moving image corresponding to the recording mode is recorded together with the recording of the general format moving image. The imaging apparatus according to claim 1, wherein recording is also performed. RAW動画の記録モードとは、無圧縮モードと圧縮モードであり、記憶媒体の容量が所定値以下の場合は、圧縮モードを選択することを特徴とする請求項8に記載の撮像装置。 9. The imaging apparatus according to claim 8, wherein the RAW moving image recording mode includes a non-compression mode and a compression mode, and the compression mode is selected when the capacity of the storage medium is a predetermined value or less.
JP2015144461A 2015-07-22 2015-07-22 Imaging device, control method for the same and program Pending JP2017028466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015144461A JP2017028466A (en) 2015-07-22 2015-07-22 Imaging device, control method for the same and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015144461A JP2017028466A (en) 2015-07-22 2015-07-22 Imaging device, control method for the same and program

Publications (1)

Publication Number Publication Date
JP2017028466A true JP2017028466A (en) 2017-02-02

Family

ID=57946172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015144461A Pending JP2017028466A (en) 2015-07-22 2015-07-22 Imaging device, control method for the same and program

Country Status (1)

Country Link
JP (1) JP2017028466A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021517415A (en) * 2018-03-26 2021-07-15 華為技術有限公司Huawei Technologies Co.,Ltd. Video recording methods and electronic devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021517415A (en) * 2018-03-26 2021-07-15 華為技術有限公司Huawei Technologies Co.,Ltd. Video recording methods and electronic devices
JP7139440B2 (en) 2018-03-26 2022-09-20 華為技術有限公司 Video recording method and electronic device

Similar Documents

Publication Publication Date Title
CN101796814B (en) Image picking-up device and image picking-up method
JP5101101B2 (en) Image recording apparatus and image recording method
JP2010200239A (en) Imaging apparatus, image display device, imaging method and image display method, and focal-area frame position correction method
KR101948692B1 (en) Phtographing apparatus and method for blending images
JP4671053B2 (en) Image recording apparatus and image recording method
JP6351212B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND SYSTEM
JP6056551B2 (en) Image processing program and digital camera
JP5213503B2 (en) Memory playback device
TWI420899B (en) Image processing apparatus and image processing method and storage medium
JP2008199271A (en) Imaging apparatus for animation and still image
JP2005323162A (en) Imaging apparatus and method for recording image
JP2017028466A (en) Imaging device, control method for the same and program
JP2007266664A (en) Thumbnail sorter and imaging apparatus
WO2020189510A1 (en) Image processing device, image processing method, computer program, and storage medium
JP2004312218A (en) Digital camera and image reproducing apparatus
JP6602425B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND SYSTEM
JP6351213B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND SYSTEM
JP6594485B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND SYSTEM
CN101267502A (en) Imaging apparatus and image data recording method
JP4966680B2 (en) Video playback device, video playback method, and imaging device
JP2007243624A (en) Digital still camera, image reproduction system and their control method
JP2020188417A (en) Image processing apparatus, image processing method, and computer program
JP2007096809A (en) Imaging apparatus, moving picture storage method, and moving picture storage program
JP2005318261A (en) Electronic camera apparatus, and recording management method of electronic camera apparatus
JP6521734B2 (en) Movie recording system, movie recording method