JP6741532B2 - Imaging device and recording method - Google Patents

Imaging device and recording method Download PDF

Info

Publication number
JP6741532B2
JP6741532B2 JP2016184690A JP2016184690A JP6741532B2 JP 6741532 B2 JP6741532 B2 JP 6741532B2 JP 2016184690 A JP2016184690 A JP 2016184690A JP 2016184690 A JP2016184690 A JP 2016184690A JP 6741532 B2 JP6741532 B2 JP 6741532B2
Authority
JP
Japan
Prior art keywords
image data
recording
raw image
recording medium
developing
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.)
Active
Application number
JP2016184690A
Other languages
Japanese (ja)
Other versions
JP2017103753A (en
JP2017103753A5 (en
Inventor
中瀬 雄一
雄一 中瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 US15/354,893 priority Critical patent/US10244199B2/en
Publication of JP2017103753A publication Critical patent/JP2017103753A/en
Publication of JP2017103753A5 publication Critical patent/JP2017103753A5/ja
Application granted granted Critical
Publication of JP6741532B2 publication Critical patent/JP6741532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は撮像装置および記録方法に関する。 The present invention relates to an imaging device and a recording method.

従来、デジタルカメラ等の撮像装置では、撮像センサ部によって得られた生の画像(RAW画像)に現像処理(画像として認識できる形式の画像データを生成する処理)を施す。そして、現像処理された画像データを圧縮符号化して記録媒体に記録することが一般的に行われている。 Conventionally, in an image pickup apparatus such as a digital camera, a raw image (RAW image) obtained by an image pickup sensor unit is subjected to a development process (a process of generating image data in a format that can be recognized as an image). Then, it is generally performed that the image data subjected to the development processing is compression-encoded and recorded on a recording medium.

一方、RAW画像を記録できる撮像装置も存在する(特許文献1)。RAW画像はJPEG形式などと比較して記録に必要なデータ量が膨大になるが、画質の劣化を最低限に抑えられるという利点がある。 On the other hand, there is also an imaging device capable of recording a RAW image (Patent Document 1). The RAW image has an enormous amount of data required for recording as compared with the JPEG format and the like, but has an advantage that deterioration of the image quality can be suppressed to a minimum.

特開2011−244423号公報JP, 2011-244423, A

RAW画像のような大量のデータを高速に処理するためには処理能力の高いハードウェアが必要となる。しかし、このような高い処理能力を持つハードウェアは回路規模や消費電力も大きく、また、大容量のメモリが必要となるためコストが高くなるおそれがある。 In order to process a large amount of data such as a RAW image at high speed, hardware with high processing capability is required. However, such hardware having high processing capability has a large circuit scale and power consumption, and a large-capacity memory is required, which may increase the cost.

また、近年、撮像センサ部により撮像可能な画像の画素数が増大しており、それに伴いRAW画像の現像処理のために必要な処理負荷も増大している。このため、連写速度等の撮影機能を高く維持しながら、撮影と並行したリアルタイムの現像処理を実現するには処理能力の高いハードウェアが必要となる。 Further, in recent years, the number of pixels of an image that can be picked up by the image pickup sensor unit has increased, and accordingly, the processing load necessary for the development processing of the RAW image has also increased. Therefore, in order to realize real-time development processing in parallel with shooting while maintaining high shooting functions such as continuous shooting speed, hardware with high processing capability is required.

一方、撮影時にはRAW画像だけを記録しておき、その後画像の表示や印刷が必要になったときに現像処理を行うように構成することも考えられる。しかしながら、RAW画像のデータ形式は撮像装置を製造するメーカの固有の形式である。そのため、あるメーカの撮像装置により記録したRAW画像を他メーカの機器では適切に現像処理ができず、利便性の低下を招くおそれがある。 On the other hand, it may be considered that only the RAW image is recorded at the time of shooting, and the developing process is performed when the image needs to be displayed or printed thereafter. However, the data format of the RAW image is unique to the manufacturer of the imaging device. Therefore, the RAW image recorded by the image pickup device of a certain manufacturer cannot be properly developed in the device of another manufacturer, which may reduce the convenience.

本発明では、上記課題に鑑み、回路規模や消費電力の増加を抑え、画像の撮影機能を高く維持しながら、必要な画像を効率良く記録することができる撮像装置および記録方法を実現することを目的とする。 In view of the above problems, the present invention provides an imaging device and a recording method capable of efficiently recording a required image while suppressing an increase in circuit scale and power consumption and maintaining a high image capturing function. To aim.

本発明においては、撮像手段と、前記撮像手段により得られた画像データを用いてRAW画像データを生成する生成手段と、記録指示に応じて、前記生成手段により生成された前記RAW画像データを記録媒体に記録する記録手段と、前記記録指示に応じて前記記録手段により前記記録媒体に記録される前記RAW画像データを前記記録媒体に保存する保存対象として設定するか否かを、ユーザの指示に応じて制御する設定手段と、RAW画像データに現像処理を施し、現像された画像データを生成する現像手段と、前記記録媒体に記録された前記RAW画像データを現像するように前記現像手段を制御し、前記現像手段が前記RAW画像データを現像することにより生成された、現像された画像データを前記記録媒体に記録するように前記記録手段を制御する制御手段とを備え、前記制御手段は、前記記録媒体に保存する保存対象として設定されていない第1のRAW画像データが前記現像手段により現像された場合に、前記第1のRAW画像データを自動的に前記記録媒体から削除し、前記記録媒体に保存する保存対象として設定された第2のRAW画像データが前記現像手段により現像された場合に、前記第2のRAW画像データが前記記録媒体から削除されないように制御を行う。 In the present invention, the image pickup means, the generation means for generating the RAW image data using the image data obtained by the image pickup means, and the RAW image data generated by the generation means according to the recording instruction are recorded. Recording means for recording on the medium, and whether or not to set the RAW image data recorded on the recording medium by the recording means in response to the recording instruction as a storage target to be stored in the recording medium is instructed by the user. Setting means for controlling the developing means, developing means for developing the RAW image data to generate developed image data, and controlling the developing means for developing the RAW image data recorded on the recording medium. And a control means for controlling the recording means so as to record the developed image data, which is generated by the developing means by developing the RAW image data, on the recording medium. When the first RAW image data which is not set as a storage target to be stored in the recording medium is developed by the developing device, the first RAW image data is automatically deleted from the recording medium, When the second RAW image data set as a storage target to be stored in the medium is developed by the developing device, control is performed so that the second RAW image data is not deleted from the recording medium.

本発明によれば、回路規模や消費電力の増加を抑え、画像の撮影機能を高く維持しながら、必要な画像を効率良く記録することが可能となる。 According to the present invention, it is possible to efficiently record a necessary image while suppressing an increase in circuit scale and power consumption and maintaining a high image capturing function.

本発明の実施形態に係る撮像装置の構成を示すブロック図。FIG. 3 is a block diagram showing a configuration of an image pickup apparatus according to an embodiment of the present invention. 撮影モードにおける処理を示すフローチャート。The flowchart which shows the process in a photography mode. 図2のアイドル状態における処理を示すフローチャート。3 is a flowchart showing processing in the idle state of FIG. 2. 撮像装置により撮影されるRAW画像データを例示する図。The figure which illustrates the RAW image data imaged by the imaging device.

以下に、本発明の実施形態について詳細に説明する。尚、以下に説明する実施の形態は、本発明を実現するための一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。また、後述する各実施形態の一部を適宜組み合わせて構成してもよい。 Hereinafter, embodiments of the present invention will be described in detail. The embodiment described below is an example for realizing the present invention, and should be appropriately modified or changed according to the configuration of the device to which the present invention is applied and various conditions. However, the present invention is not limited to the embodiment. In addition, a part of each embodiment described below may be appropriately combined and configured.

以下、本実施形態の撮像装置として、静止画や動画のRAW画像データを撮影し記録可能なデジタルカメラをについて説明する。なお、本実施形態では、撮像装置100としてデジタルカメラを例示しているが、他の情報処理装置でもよい。他の情報処理装置は、カメラ付き携帯電話やその一種であるスマートフォン(眼鏡型端末や腕時計型端末を含む)、タブレット端末、カメラ付きのパーソナルコンピュータ(PC)などを含む。 Hereinafter, a digital camera capable of shooting and recording RAW image data of a still image or a moving image will be described as the image pickup apparatus of the present embodiment. In the present embodiment, a digital camera is illustrated as the image pickup apparatus 100, but another information processing apparatus may be used. Other information processing devices include a camera-equipped mobile phone, a type of smartphone (including eyeglass-type terminals and wristwatch-type terminals), a tablet terminal, a personal computer (PC) with a camera, and the like.

<装置構成>
先ず、図1を参照して、本実施形態の撮像装置100の構成及び機能について説明する。
<Device configuration>
First, with reference to FIG. 1, a configuration and a function of the image pickup apparatus 100 according to the present embodiment will be described.

本実施形態の撮像装置100は、撮像センサ部102により得られた画像信号からRAW画像データを生成する。そして、撮影待機状態(記録待機状態)において、このRAW画像データを簡易的に現像処理し、表示部123に表示する。また、ユーザによる記録開始の指示があった場合は、RAW画像データを記録媒体152に記録するが、現像された画像データを記録媒体152に記録しない。ユーザは、最終的に記録媒体152に記録する画像データを設定し、記録を指示することができる。ユーザは、最終的にRAW画像データを保存して現像済み画像データは保存しないか、RAW画像データと現像済み画像データの両方を保存するか、あるいは、現像済み画像データを保存してRAW画像データを保存しないか、のいずれかを指定可能である。 The image pickup apparatus 100 of the present embodiment generates RAW image data from the image signal obtained by the image pickup sensor unit 102. Then, in the shooting standby state (recording standby state), the RAW image data is simply developed and displayed on the display unit 123. When the user gives an instruction to start recording, the RAW image data is recorded in the recording medium 152, but the developed image data is not recorded in the recording medium 152. The user can set image data to be finally recorded on the recording medium 152 and instruct recording. The user finally saves the RAW image data and does not save the developed image data, saves both the RAW image data and the developed image data, or saves the developed image data and saves the RAW image data. It is possible to specify either not to save.

そして、撮像装置100では、ユーザがどのような設定を行った場合でも、ユーザによる記録指示に応じた撮影時には、RAW画像データに対して現像処理を行うことなく、RAW画像データだけを記録媒体152に記録する。そして、撮像装置100は、RAW画像データを記録媒体152に記録した後、RAW画像データが保存対象となっているか否かを確認する。撮像装置100は、現像済み画像データだけが保存対象となっている場合は、RAW画像データを記録媒体152から読み出して現像処理を行い現像済み画像データを生成する。そして、この現像済み画像データを記録媒体152に記録した後、現像元のRAW画像データを自動的に記録媒体152から削除する。 Then, in the imaging apparatus 100, no matter what setting is made by the user, only the RAW image data is recorded on the recording medium 152 without performing the developing process on the RAW image data at the time of shooting according to the recording instruction from the user. To record. Then, the imaging apparatus 100 records the RAW image data on the recording medium 152, and then confirms whether the RAW image data is a storage target. When only the developed image data is the storage target, the imaging device 100 reads the RAW image data from the recording medium 152, performs the development process, and generates the developed image data. Then, after recording the developed image data on the recording medium 152, the RAW image data of the developing source is automatically deleted from the recording medium 152.

このように構成することで、ユーザによる記録指示に応じた撮影時にRAW画像データを高速に現像するための処理能力の高いハードウェアを用いることなく、大量の画像データを高速に記録媒体152に記録することができる。また、現像済み画像データだけが保存対象となっている場合には、記録媒体152に記録されたRAW画像データを読み出して現像処理を行い、現像済み画像データを記録媒体152に記録した後、現像元のRAW画像データを自動的に削除する。そのため、ユーザが不要としたRAW画像データを記録媒体152に保存することがなく、メモリ容量を有効に活用することができる。 With this configuration, a large amount of image data can be recorded on the recording medium 152 at high speed without using hardware with high processing capability for developing RAW image data at high speed at the time of shooting according to a recording instruction from the user. can do. If only the developed image data is to be stored, the RAW image data recorded on the recording medium 152 is read out and developed, and the developed image data is recorded on the recording medium 152. Automatically delete the original RAW image data. Therefore, the RAW image data that the user does not need is not stored in the recording medium 152, and the memory capacity can be effectively used.

なお、本実施形態の撮像装置100は、被写体を撮像して得られた画像データを記録媒体152に記録するだけでなく、画像データを記録媒体から読み出し、現像処理して表示する機能を持つ。また、撮像装置100は、画像データを外部のストレージやサーバ(クラウド)等と送受信する機能を有する。従って、本実施形態の撮像装置100は、画像処理装置、記録装置、再生装置、記録再生装置、通信装置等と表現することもできる。 The image capturing apparatus 100 according to the present embodiment has a function of not only recording the image data obtained by capturing an image of a subject in the recording medium 152 but also reading the image data from the recording medium, developing the image data, and displaying the image data. Further, the image pickup apparatus 100 has a function of transmitting and receiving image data to and from an external storage, a server (cloud), or the like. Therefore, the imaging device 100 of this embodiment can also be expressed as an image processing device, a recording device, a reproducing device, a recording/reproducing device, a communication device, or the like.

図1は、本実施形態の撮像装置100の構成を例示するブロック図である。これらの機能ブロックは、ASICなどの専用ハードウェアによって実現されてもよいし、MPU等の汎用プロセッサがプログラムを実行することによりソフトウェア的に実現されてもよい。 FIG. 1 is a block diagram illustrating the configuration of the image pickup apparatus 100 according to the present embodiment. These functional blocks may be realized by dedicated hardware such as ASIC, or may be realized by software when a general-purpose processor such as MPU executes a program.

図1において、制御部161は、撮像装置100の全体の処理を制御する。制御部161は、CPU、MPUなどのプログラマブルプロセッサと、プログラマブルプロセッサが実行する制御プログラムを格納する不揮発性メモリを含む。制御部161は、この不揮発メモリに記憶された制御プログラムによる指示に応じて制御を実行する。なお、図1では煩雑さを避けるために一部しか記載していないが、制御や通信を行うための信号線が制御部161から各機能ブロックに接続されている。操作部162は、ユーザが撮像装置100に対して指示を与えるために用いるキーやボタン、タッチパネルなどの入力デバイスを含む。操作部162からの操作信号は、制御部161によって検出され、制御部161は検出した操作に応じた動作が実行されるように他の機能ブロックなどを制御する。表示部123は、表示処理部122を通じて提供される、撮像装置100で撮影もしくは再生された画像や、メニュー画面、各種情報等を表示する。表示部123は例えば液晶ディスプレイ(LCD)等を含む。 In FIG. 1, the control unit 161 controls the overall processing of the imaging device 100. The control unit 161 includes a programmable processor such as a CPU or MPU, and a non-volatile memory that stores a control program executed by the programmable processor. The control unit 161 executes control according to an instruction from the control program stored in the nonvolatile memory. Although only a part is shown in FIG. 1 to avoid complication, a signal line for control and communication is connected from the control unit 161 to each functional block. The operation unit 162 includes an input device such as a key, a button, or a touch panel used by the user to give an instruction to the imaging apparatus 100. An operation signal from the operation unit 162 is detected by the control unit 161, and the control unit 161 controls other functional blocks and the like so that an operation according to the detected operation is executed. The display unit 123 displays an image captured or reproduced by the image capturing apparatus 100, a menu screen, various information, and the like, which are provided through the display processing unit 122. The display unit 123 includes, for example, a liquid crystal display (LCD) or the like.

操作部162によって撮像装置100の電源が投入されると、制御部161は撮像装置100を撮影待機状態とする。撮影待機状態において、撮像対象となる被写体像は、撮像光学部101を介して撮像センサ部102に結像される。そして、ライブビューモードの場合は撮像センサ部102により撮像された画像がライブビュー画像として表示部123に表示される。操作部162からの記録開始の指示に応答して制御部161は撮影処理および記録処理を開始させる。撮像光学部101及び撮像センサ部102の動作は、評価値算出部105により取得される絞り、フォーカス、手ぶれ等の評価値算出結果や、認識部131からの被写体情報に基づいて、カメラ制御部104によって制御される。 When the power of the image pickup apparatus 100 is turned on by the operation unit 162, the control unit 161 puts the image pickup apparatus 100 in a shooting standby state. In the shooting standby state, a subject image to be imaged is formed on the image sensor unit 102 via the image pickup optical unit 101. Then, in the live view mode, the image captured by the image sensor unit 102 is displayed on the display unit 123 as a live view image. In response to the recording start instruction from the operation unit 162, the control unit 161 starts the photographing process and the recording process. The operations of the imaging optical unit 101 and the imaging sensor unit 102 are based on the evaluation value calculation result of the diaphragm, focus, camera shake, etc. acquired by the evaluation value calculation unit 105 and the subject information from the recognition unit 131. Controlled by.

撮像センサ部102は、画素毎に配置される赤、緑、青(RGB)のカラーフィルタを透過した光を電気信号に変換する。例えばCCDイメージセンサやCMOSイメージセンサであってよい。撮像装置100が扱う画像の画素配列は例えば、赤(R)、緑(G)、青(B)を画素毎にモザイク状に配置し、2×2の4画素につき赤1画素、青1画素、緑2画素を1セットにして規則的に並べられた構造となっている。このようなカラーフィルタの配列は、一般に原色ベイヤー配列と呼ばれる。本実施形態の撮像センサ部102は、4K(横3840画素×縦2160画素)の画素数を有するものとするが、これ以上の画素数とすることも可能である。また、本実施形態の撮像センサ部102は、1フレーム4Kの画像データを60フレーム毎秒(fps)で出力する能力を有する。なお、カラーフィルタを構成する色や配列は原色ベイヤー配列に限定されず、他の任意の配列を採用することができる。 The image sensor unit 102 converts light transmitted through red, green, and blue (RGB) color filters arranged for each pixel into an electric signal. For example, it may be a CCD image sensor or a CMOS image sensor. The pixel array of the image handled by the imaging apparatus 100 is, for example, red (R), green (G), and blue (B) arranged in a mosaic pattern for each pixel, and one red pixel and one blue pixel for every 2×2 4 pixels. , Green has a structure in which two pixels are regularly arranged in one set. An array of such color filters is generally called a primary color Bayer array. The image sensor unit 102 of the present embodiment has a pixel number of 4K (horizontal 3840 pixels×vertical 2160 pixels), but the number of pixels may be more than this. Further, the image sensor unit 102 of the present embodiment has the ability to output image data of 4K per frame at 60 frames per second (fps). The colors and arrangements of the color filter are not limited to the primary color Bayer arrangement, and any other arrangement can be adopted.

撮像センサ部102により得られた画像信号は、センサ信号処理部103によって画素の修復処理が施される。修復処理には、撮像センサ部102における欠落画素や信頼性の低い画素の値を、周辺画素値を用いて補間したり、修復対象の画素から所定のオフセット値を減算したりする処理が含まれる。本実施形態では、センサ信号処理部103から出力される画像データを、未現像の画像を意味するRAW画像データ又はRAW画像という。 The image signal obtained by the imaging sensor unit 102 is subjected to pixel restoration processing by the sensor signal processing unit 103. The restoration process includes a process of interpolating the values of missing pixels and unreliable pixels in the image sensor unit 102 by using peripheral pixel values, and subtracting a predetermined offset value from the pixel to be restored. .. In the present embodiment, the image data output from the sensor signal processing unit 103 is referred to as RAW image data or RAW image meaning an undeveloped image.

センサ信号処理部103から出力されたRAW画像データは、現像部110で現像処理される。現像部110は、複数の異なる現像処理部を有し、それぞれ、処理精度と処理負荷が異なっている。本実施形態の現像部110は、第1の現像処理を行う簡易現像部111と、第2の現像処理を行う高画質現像部112という2つの現像部を有し、それらの出力を選択するスイッチ部121を含んで構成される。簡易現像部111、高画質現像部112は共に、RAW画像に対してデベイヤー処理(デモザイク処理もしくは色補間処理とも呼ばれる)、ホワイトバランス調整、RGB(原色)→YUV(輝度と色差)変換、ノイズ低減、光学歪の補正などの現像処理を行う。なお、これらは現像処理に含まれる処理の例示であり、これらの全てが現像処理に必須であることを意味しない。他の処理が含まれてもよいし、一部が含まれなくてもよい。 The RAW image data output from the sensor signal processing unit 103 is developed by the developing unit 110. The developing unit 110 has a plurality of different developing processing units, each of which has different processing accuracy and processing load. The developing unit 110 of this embodiment has two developing units, a simple developing unit 111 that performs a first developing process and a high-quality developing unit 112 that performs a second developing process, and a switch that selects the output thereof. It is configured to include the unit 121. The simple developing unit 111 and the high-quality developing unit 112 both perform debayer processing (also called demosaicing processing or color interpolation processing) on a RAW image, white balance adjustment, RGB (primary color)→YUV (luminance and color difference) conversion, noise reduction. , Perform development processing such as correction of optical distortion. It should be noted that these are examples of the processes included in the development process, and do not mean that all of them are essential to the development process. Other processing may be included, or a part thereof may not be included.

高画質現像部112は、簡易現像部111よりも各々の処理を高精度に行う。高精度であるため、簡易現像部111よりも高画質な現像画像が得られるが、一方で、処理負荷が大きい。他方、簡易現像部111は、高画質現像部112よりも処理の精度が低いため、得られる画質は高画質現像部112よりも低いものの、撮影中に高速に現像処理を行うことができる。そこで、本実施形態では、高画質現像部112は、撮影と並行したリアルタイムの現像ではなく、撮影後のアイドル期間に時間をかけて現像処理を行う際に用いるようにする。このように、ユーザの記録指示に応じた撮影時に高画質現像処理を行うのではなく、一旦RAW画像を記録媒体153に記録した後に時間をかけて高画質現像処理を行うようにすることで、回路規模や消費電力の増加(ピーク)を低く抑えることができる。また、簡易現像部111の処理負荷は小さい。そのため、簡易現像部111は、撮影待機状態における、撮影と並行したリアルタイムの現像の際にライブビュー表示用の画像を生成するために用いられる。スイッチ部121は、操作部162によりユーザから指示された操作内容や実行中の動作モードに応じた制御に従って、制御部161によって切り替えられる。 The high image quality developing unit 112 performs each processing with higher accuracy than the simple developing unit 111. Since it is highly accurate, a developed image with higher image quality than that of the simple developing unit 111 can be obtained, but on the other hand, the processing load is large. On the other hand, since the simple developing unit 111 has lower processing accuracy than the high image quality developing unit 112, the obtained image quality is lower than that of the high image quality developing unit 112, but the developing process can be performed at high speed during shooting. Therefore, in the present embodiment, the high image quality developing unit 112 is used not when performing the real-time development in parallel with the shooting but when performing the development processing over a period of time during the idle period after the shooting. As described above, instead of performing the high-quality image development processing at the time of shooting according to the recording instruction of the user, the high-quality image development processing is performed over time after the RAW image is once recorded on the recording medium 153, The increase (peak) in circuit scale and power consumption can be suppressed to a low level. Moreover, the processing load of the simple developing unit 111 is small. Therefore, the simple developing unit 111 is used to generate an image for live view display during real-time development in parallel with shooting in the shooting standby state. The switch unit 121 is switched by the control unit 161 according to the control according to the operation content instructed by the user via the operation unit 162 and the operation mode being executed.

なお、本実施形態では、現像部110の中に簡易現像部111と高画質現像部112が独立に存在する構成を示しているが、1つの現像部が簡易現像処理を行うモードと高画質現像処理を行うモードを含む複数の動作モードを持つ構成としてもよい。そして、これらの動作モードを切り替えることにより、簡易現像と高画質現像の処理を行う構成としてもよい。また、複数の現像部は互いに処理負荷が異なっていればよく、処理する画像のサイズと処理精度の両方を下げることは必須ではない。例えば、処理する画素数は同一であるが、処理精度が異なっている現像部や、処理精度は同一であるが処理する画素数が異なっている現像部が含まれていてもよい。ただし、撮像センサ部102から出力された1画面のRAW画像の現像処理が、次の1画面のRAW画像の撮影開始までに完了できる現像部が少なくとも1つ含まれるようにする。 In the present embodiment, the simple developing unit 111 and the high image quality developing unit 112 are independently provided in the developing unit 110, but the mode in which one developing unit performs the simple developing process and the high image quality developing process are described. It may be configured to have a plurality of operation modes including a mode for performing processing. Then, by switching these operation modes, it is possible to perform a simple development process and a high image quality development process. Further, it is only necessary that the plurality of developing units have different processing loads, and it is not essential to reduce both the size of the image to be processed and the processing accuracy. For example, a developing unit that has the same number of pixels to be processed but different processing accuracy, or a developing unit that has the same processing accuracy but different number of pixels to process may be included. However, at least one developing unit that can complete the development processing of the RAW image of one screen output from the image sensor unit 102 by the start of capturing the RAW image of the next one screen is included.

なお、図1ではセンサ信号処理部103からのRAW画像データが現像部110の中の簡易現像部111と高画質現像部112に入力されるように図示しているが、これは同一のRAW画像データに対して両方の現像部で現像処理を行うことを意味していない。処理負荷の観点から、基本的には1つの現像部だけが現像処理を実行する。従って、RAW画像データが入力される現像部を切り替えるようにスイッチ部121が設けられても良い。 Although FIG. 1 illustrates that the RAW image data from the sensor signal processing unit 103 is input to the simple developing unit 111 and the high image quality developing unit 112 in the developing unit 110, this is the same RAW image. It does not mean that the development processing is performed on both data in both development sections. From the viewpoint of processing load, basically only one developing unit executes the developing process. Therefore, the switch unit 121 may be provided to switch the developing unit to which the RAW image data is input.

現像部110によって現像処理された画像データ(現像済み画像データ)は、表示処理部122によって所定の処理がなされた後、表示部123に表示される。また、現像処理された画像データは、映像出力端子124により、外部に接続された表示機器に出力してもよい。映像出力端子124は、例えばHDMI(登録商標)やSDIのような汎用インタフェースを含む。 The image data developed by the developing unit 110 (developed image data) is displayed on the display unit 123 after being subjected to predetermined processing by the display processing unit 122. Further, the image data subjected to the development processing may be output to a display device connected to the outside through the video output terminal 124. The video output terminal 124 includes a general-purpose interface such as HDMI (registered trademark) or SDI.

また、現像部110によって現像処理された画像データは、評価値算出部105にも供給される。評価値算出部105は、現像済み画像データからフォーカス状態や露出状態などの評価値を算出する。これらの評価値は例えば制御部161による自動焦点検出や自動露出制御に用いられる。 The image data developed by the developing unit 110 is also supplied to the evaluation value calculating unit 105. The evaluation value calculation unit 105 calculates evaluation values such as a focus state and an exposure state from the developed image data. These evaluation values are used for automatic focus detection and automatic exposure control by the control unit 161, for example.

さらに、現像部110によって現像処理された画像データは、認識部131にも供給される。認識部131は、画像データ中の被写体情報を検出及び認識する機能を有する。認識部131は、例えば、画像データに基づいて表示される画像に含まれる人物の顔を検出し、検出された場合は顔の位置や大きさなどを示す情報を出力する。認識部131はさらに顔などの特徴情報に基づいて特定の人物の認証などを行ってもよい。 Further, the image data developed by the developing unit 110 is also supplied to the recognition unit 131. The recognition unit 131 has a function of detecting and recognizing subject information in image data. The recognition unit 131 detects, for example, the face of a person included in the image displayed based on the image data, and outputs the information indicating the position or size of the face when the face is detected. The recognition unit 131 may further authenticate a specific person based on feature information such as a face.

さらにまた、現像部110によって現像処理された画像データは、静止画圧縮部141及び動画圧縮部142にも供給される。なお、本実施形態では、前述のように、ユーザによる記録指示に応じた画像の撮影時においては、高画質現像部112による現像処理が行われない。そのため、前述のように、ユーザによる記録指示に応じた画像の撮影時においては、静止画圧縮部141及び動画圧縮部142による圧縮処理も行われない。現像済み画像データから記録用の静止画データを生成する場合は、静止画圧縮部141を用いる。静止画圧縮部141は、JPEG等の公知の符号化方式に従って現像済みの静止画データを圧縮符号化し、記録用の静止画データを生成する。現像済み画像データから記録用の動画データを生成する場合は、動画圧縮部142を用いる。動画圧縮部142は、H.264、H.265等の公知の符号化方式に従って、現像済みの動画データを圧縮符号化し、記録用の動画データを生成する。静止画圧縮部141及び動画圧縮部142は、それぞれ対象となる画像データを高能率符号化(圧縮符号化)し、情報量が圧縮された画像データを生成して、記録再生部151に送出する。 Furthermore, the image data developed by the developing unit 110 is also supplied to the still image compression unit 141 and the moving image compression unit 142. It should be noted that in the present embodiment, as described above, the developing process by the high image quality developing unit 112 is not performed when the image is captured according to the recording instruction from the user. Therefore, as described above, the compression process by the still image compression unit 141 and the moving image compression unit 142 is not performed when the image is captured in accordance with the recording instruction from the user. When generating still image data for recording from the developed image data, the still image compression unit 141 is used. The still image compression unit 141 compression-encodes the developed still image data according to a known encoding method such as JPEG to generate recording still image data. When generating moving image data for recording from the developed image data, the moving image compression unit 142 is used. The moving picture compression unit 142 uses the H.264 format. H.264, H.264. According to a known encoding method such as H.265, the developed moving image data is compression-encoded to generate recording moving image data. The still image compression unit 141 and the moving image compression unit 142 perform high-efficiency encoding (compression encoding) on the respective target image data, generate image data in which the information amount is compressed, and send the image data to the recording/reproducing unit 151. ..

RAW圧縮部113は、センサ信号処理部103から出力されたRAW画像データに対し、ウエーブレット変換や差分符号化等の高能率符号化処理を適用し、情報量を削減した圧縮RAW画像データを生成する。RAW圧縮部113は、圧縮RAW画像データをバッファ部115に格納する。なお、バッファ部115はメモリやハードディスクなど、任意の記憶装置であってよい。また、ユーザによる記録指示に応じた撮影時において、圧縮RAW画像データは、バッファ部115に一時的に保存された後、適当なタイミングでバッファ部115から読み出されて記録媒体152に記録される。即ち、バッファ部115は、RAW画像データ、或いは現像済み画像データの最終的な保存先として使用されない。バッファ部115は、あくまで、画像データの最終的な保存先である記録媒体152に対してRAW画像データや現像済み画像データを記録するための一時的な記憶部として使用される。 The RAW compression unit 113 applies high-efficiency encoding processing such as wavelet conversion or differential encoding to the RAW image data output from the sensor signal processing unit 103 to generate compressed RAW image data with reduced information amount. To do. The RAW compression unit 113 stores the compressed RAW image data in the buffer unit 115. The buffer unit 115 may be any storage device such as a memory or a hard disk. Further, at the time of shooting according to the recording instruction from the user, the compressed RAW image data is temporarily stored in the buffer unit 115, then read from the buffer unit 115 at an appropriate timing and recorded in the recording medium 152. .. That is, the buffer unit 115 is not used as the final storage destination of the RAW image data or the developed image data. The buffer unit 115 is used only as a temporary storage unit for recording the RAW image data and the developed image data in the recording medium 152 which is the final storage destination of the image data.

記録再生部151は、バッファ部115に一時的に記録された、静止画圧縮部141からの静止画データや、動画圧縮部142からの動画データを記録媒体152に記録する。また、記録再生部151は、バッファ部115から読み出した静止画及び/又は動画のRAW画像データを、圧縮符号化後の静止画データ及び動画データとは別個のファイルとして記録媒体152に記録する。また記録再生部151は、FAT等の公知のファイルシステムに従い、記録媒体152に記録されたデータをファイルとして管理する。記録媒体152は、例えば内蔵式の大容量メモリやハードディスク、又は、着脱式のメモリカード等である。また、記録再生部151は、記録媒体152から静止画ファイル、動画ファイル、RAWファイル(静止画、動画)を読み出すこともできる。また、記録再生部151は、通信部153を介して、外部のストレージやサーバに、各種データやファイルを書き込んだり、読み出したりすることができる。通信部153は通信端子154を通じ、無線通信や有線通信によりコンピュータネットワークや外部機器へのアクセスを撮像装置100に提供する。 The recording/reproducing unit 151 records the still image data from the still image compression unit 141 and the moving image data from the moving image compression unit 142, which are temporarily recorded in the buffer unit 115, on the recording medium 152. Further, the recording/playback unit 151 records the RAW image data of the still image and/or the moving image read from the buffer unit 115 in the recording medium 152 as a file separate from the compressed and encoded still image data and the moving image data. Further, the recording/reproducing unit 151 manages the data recorded in the recording medium 152 as a file according to a known file system such as FAT. The recording medium 152 is, for example, a built-in large-capacity memory or hard disk, a removable memory card, or the like. The recording/reproducing unit 151 can also read a still image file, a moving image file, and a RAW file (still image, moving image) from the recording medium 152. Further, the recording/reproducing unit 151 can write and read various data and files to and from an external storage or server via the communication unit 153. The communication unit 153 provides the imaging device 100 with access to a computer network or an external device through wireless communication or wired communication through the communication terminal 154.

また、記録再生部151は、記録媒体152から、又は、通信部153を介して外部から、所望のファイルを取得して再生する。再生対象のファイルがRAWファイルであれば、記録再生部151は、取得されたRAWファイルのRAW画像データをバッファ部115に格納する。再生対象のファイルが静止画ファイルであれば、記録再生部151は、取得された静止画ファイルの静止画データを静止画伸張部143に供給する。再生対象のファイルが動画ファイルであれば、記録再生部151は、取得された動画ファイルの動画データを動画伸張部144に供給する。 The recording/reproducing unit 151 also acquires and reproduces a desired file from the recording medium 152 or externally via the communication unit 153. If the file to be played back is a RAW file, the recording/playback unit 151 stores the RAW image data of the acquired RAW file in the buffer unit 115. If the file to be played back is a still image file, the recording/playback unit 151 supplies the still image data of the acquired still image file to the still image decompression unit 143. If the file to be played back is a moving image file, the recording/playback unit 151 supplies the moving image data of the obtained moving image file to the moving image decompression unit 144.

RAW伸張部114は、バッファ部115に格納されている圧縮RAW画像データを読み出し、復号することによりデータ量を伸長する。RAW伸張部114によって復号されたRAW画像データは、現像部110の簡易現像部111や高画質現像部112に供給される。 The RAW expansion unit 114 expands the data amount by reading the compressed RAW image data stored in the buffer unit 115 and decoding it. The RAW image data decoded by the RAW decompression unit 114 is supplied to the simple developing unit 111 and the high image quality developing unit 112 of the developing unit 110.

本実施形態の記録再生部151は、現像部110において現像処理が終了した後に、元のRAWファイルを記録媒体152や通信部153を介して外部のストレージやサーバから削除可能である。 The recording/reproducing unit 151 of the present embodiment can delete the original RAW file from the external storage or server via the recording medium 152 or the communication unit 153 after the developing process is completed in the developing unit 110.

静止画伸張部143は、入力された静止画データを復号し、静止画の再生画像として表示処理部122に供給する。動画伸張部144は、入力された動画データを復号し、動画の再生画像として表示処理部122に供給する。表示処理部122で処理された静止画や動画は、表示部123で表示される。 The still image expansion unit 143 decodes the input still image data and supplies it to the display processing unit 122 as a reproduced image of the still image. The moving image expansion unit 144 decodes the input moving image data and supplies it to the display processing unit 122 as a reproduced image of the moving image. The still image or moving image processed by the display processing unit 122 is displayed on the display unit 123.

<撮影モードにおける動作説明>
次に、図2のフローチャートを参照して、本実施形態の撮像装置100の撮影モードにおける動作について説明する。
<Explanation of operation in shooting mode>
Next, the operation of the image pickup apparatus 100 according to the present embodiment in the shooting mode will be described with reference to the flowchart in FIG.

なお、図2のフローチャートは、特に明示されている場合を除き、図1に示した各機能ブロックを制御部161が制御することで実現される処理の手順を示す。具体的には制御部161が有する不揮発性メモリに格納されたプログラムをメモリ(RAM)に展開し、CPUが実行することにより実現される処理である。 Note that the flowchart of FIG. 2 illustrates a procedure of processing realized by the control unit 161 controlling each functional block illustrated in FIG. 1 unless otherwise specified. Specifically, it is a process realized by expanding a program stored in the nonvolatile memory of the control unit 161 into a memory (RAM) and executing it by the CPU.

図2において、操作部162により電源が投入されたときに、撮像装置100が撮影モードに設定されていたか、撮影モードに切り替えられたならば、撮影待機状態となる。 In FIG. 2, when the image pickup apparatus 100 is set to the shooting mode or switched to the shooting mode when the power is turned on by the operation unit 162, the shooting standby state is set.

S201では、制御部161は、撮像装置100の処理負荷が低いか否かを判定し、処理負荷が高い場合は高い負荷状況に応じた頻度でS210のアイドル状態へ遷移し、処理負荷が高くない場合はS202へ処理を進める。処理負荷は、例えば、制御部161が有するCPUの稼働率や、予め定められた高負荷の動作、例えば高速連写動作が行われているかどうかなどに応じて判定することができるが、これらに限定されない。 In S201, the control unit 161 determines whether or not the processing load of the imaging device 100 is low. If the processing load is high, the control unit 161 makes a transition to the idle state of S210 at a frequency according to the high load status, and the processing load is not high. In this case, the process proceeds to S202. The processing load can be determined according to, for example, the operating rate of the CPU included in the control unit 161, a predetermined high-load operation, such as whether or not a high-speed continuous shooting operation is being performed. Not limited.

S202では、最適な撮影条件で撮影処理が実行されるように、カメラ制御部104が撮像光学部101や撮像センサ部102の動作を制御する。例えば、制御部161は、操作部162を通じたユーザのズーム指示や撮影準備指示に従って、撮像光学部101に含まれるズームレンズやフォーカスレンズを移動させたり、撮像画素数の指示に従って撮像センサ部102の読み出し領域を設定する。また、制御部161は、評価値算出部105からの評価値の情報や認識部131からの被写体情報に基づいて、特定被写体に対する合焦や追尾などの制御を実行する。S202では、所定のフレーム周期に応じた撮影条件で制御が実施される。 In S202, the camera control unit 104 controls the operations of the imaging optical unit 101 and the imaging sensor unit 102 so that the imaging process is executed under the optimal imaging conditions. For example, the control unit 161 moves the zoom lens or the focus lens included in the imaging optical unit 101 according to the user's zoom instruction or the shooting preparation instruction through the operation unit 162, or the imaging sensor unit 102 of the imaging sensor unit 102 according to the instruction of the number of imaging pixels. Set the read area. The control unit 161 also executes control such as focusing and tracking on a specific subject based on the evaluation value information from the evaluation value calculation unit 105 and the subject information from the recognition unit 131. In S202, control is performed under shooting conditions according to a predetermined frame period.

ユーザは、撮影モードにおける撮影待機状態において操作部162などを介して、現像部110による現像処理後に、記録媒体152に最終的に保存する画像の種類を指定することができる。本実施形態では、例えば、ユーザが操作部162を操作することにより、保存対象の画像の種類に応じた複数の記録モード(保存モード)のうちいずれかに設定可能である。複数の記録モードには、RAW画像を記録して現像済み画像を記録しないモード、RAW画像と現像済み画像を共に記録するモード、現像済み画像を記録してRAW画像を記録しないモードが含まれる。また、RAW画像と現像済み画像のいずれに関しても静止画及び/又は動画を記録することができる。さらに、現像済み画像の記録モードを設定した場合、ユーザは、記録する現像済み画像の画面サイズ(画素数)や画質(圧縮率)を設定することができる。 The user can specify the type of image to be finally stored in the recording medium 152 after the development processing by the developing unit 110 via the operation unit 162 or the like in the shooting standby state in the shooting mode. In this embodiment, for example, the user can operate the operation unit 162 to set one of a plurality of recording modes (save modes) according to the type of image to be saved. The plurality of recording modes include a mode in which a RAW image is recorded and a developed image is not recorded, a mode in which both a RAW image and a developed image are recorded, and a mode in which a developed image is recorded and a RAW image is not recorded. Still images and/or moving images can be recorded for both the RAW image and the developed image. Further, when the recording mode of the developed image is set, the user can set the screen size (number of pixels) and the image quality (compression rate) of the developed image to be recorded.

S203では、撮像センサ部102により得られた画像信号に対して、センサ信号処理部103が画素の修復のための信号処理を施す。すなわち、センサ信号処理部103は、撮像素子の欠落画素に対応する電気信号や、信頼性の低い画素の電気信号に対し、周辺画素値を用いて補間したり、所定のオフセット値を減算する。 In S203, the sensor signal processing unit 103 performs signal processing for pixel restoration on the image signal obtained by the image sensor unit 102. That is, the sensor signal processing unit 103 uses the peripheral pixel value to interpolate or subtracts a predetermined offset value from the electric signal corresponding to the missing pixel of the image sensor or the electric signal of the pixel with low reliability.

S204では、制御部161は、操作部162を通じてユーザから記録開始の指示が入力されたか判定し、記録開始の指示が入力された場合は処理をS205に進め、入力されなかった場合はS201からの処理を繰り返す。 In step S204, the control unit 161 determines whether a recording start instruction is input from the user through the operation unit 162. If the recording start instruction is input, the process proceeds to step S205. If not, the processing from step S201 is performed. Repeat the process.

S205では、制御部161は、記録開始の指示に応答して、カメラ制御部104が撮像光学部101及び撮像センサ部102を制御して記録処理を開始する。また、RAW圧縮部113が、センサ信号処理部103からのRAW画像データを取得し、RAW画像データに対して情報量を削減するための高能率符号化(RAW圧縮)処理を適用して圧縮RAWデータを生成する。圧縮RAW画像データはバッファ部115に一時的に格納される。静止画撮影の場合は、撮像センサ部102で得られた1画面分のRAW画像データは、RAW圧縮部113において高能率符号化処理が実施されて圧縮RAW画像データに変換される。また、動画記録の場合は、所定のフレーム周期に応じてセンサ信号処理部103から出力される複数フレームのRAW画像データに対して、RAW圧縮部113において順次高能率符号化処理が実施されて圧縮RAW画像データが生成される。なお、RAW画像データを符号化するために、可逆符号化および不可逆符号化のいずれを用いることも可能である。また、RAW画像データを記録する場合に、RAW圧縮部113によりRAW画像データを圧縮せず、非圧縮の状態のRAW画像データを記録するようにしてもよい。本実施形態では、記録されるRAW画像データを圧縮するか否かに関わらず、センサ信号処理部103から供給される画像データを大きく損なわない高画質の画像としてのRAW画像データが記録される。 In step S205, the control unit 161 responds to the recording start instruction, and the camera control unit 104 controls the imaging optical unit 101 and the imaging sensor unit 102 to start the recording process. Further, the RAW compression unit 113 acquires the RAW image data from the sensor signal processing unit 103 and applies a high efficiency encoding (RAW compression) process for reducing the information amount to the RAW image data to compress the RAW image data. Generate data. The compressed RAW image data is temporarily stored in the buffer unit 115. In the case of still image shooting, the RAW image data for one screen obtained by the image sensor 102 is subjected to high-efficiency coding processing in the RAW compression unit 113 and converted into compressed RAW image data. Further, in the case of moving image recording, the RAW image data of a plurality of frames output from the sensor signal processing unit 103 according to a predetermined frame cycle is sequentially subjected to high efficiency encoding processing in the RAW compression unit 113 and compressed. Raw image data is generated. Note that either lossless encoding or lossy encoding can be used to encode the RAW image data. Further, when recording the RAW image data, the RAW image data may be recorded in the uncompressed state without compressing the RAW image data by the RAW compression unit 113. In the present embodiment, RAW image data is recorded as a high-quality image that does not significantly impair the image data supplied from the sensor signal processing unit 103, regardless of whether or not the recorded RAW image data is compressed.

S206では、制御部161は、記録再生部151が、RAW圧縮部113により生成されたRAW画像データを記録媒体152に記録した後、S201の処理に戻って撮影の準備動作を繰り返す。なお、S206において、記録再生部151は、RAW画像データを、通信部153を介して通信端子154から外部のストレージやサーバに送信し、外部のストレージやサーバに記録してもよい。この場合は、外部のストレージやサーバが、RAW画像データ或いは現像済みの画像データの最終的な記録媒体となる。ここで、静止画の場合には、記録開始の指示に応答して1画面のRAW画像データが記録される。また、動画の場合には、ユーザによる記録開始の指示から記録停止の指示があるまでRAW画像データの記録が継続され、記録停止の指示に応答してRAW画像データの記録が停止される。また、前述のように、本実施形態では、ユーザによる記録指示に応じた画像の記録時においては、RAW画像データに対して現像部110において現像処理を行わず、RAW画像データだけが記録媒体152に記録される。 In S206, the control unit 161 causes the recording/playback unit 151 to record the RAW image data generated by the RAW compression unit 113 in the recording medium 152, and then returns to the processing of S201 to repeat the shooting preparation operation. Note that in S206, the recording/reproducing unit 151 may transmit the RAW image data from the communication terminal 154 to the external storage or server via the communication unit 153 and record the RAW image data in the external storage or server. In this case, the external storage or server becomes the final recording medium of the RAW image data or the developed image data. Here, in the case of a still image, one screen of RAW image data is recorded in response to a recording start instruction. Further, in the case of a moving image, the recording of the RAW image data is continued until the recording start instruction is given by the user until the recording stop instruction is given, and the recording of the RAW image data is stopped in response to the recording stop instruction. Further, as described above, in the present embodiment, when the image is recorded according to the recording instruction from the user, the developing unit 110 does not perform the developing process on the RAW image data, and only the RAW image data is recorded on the recording medium 152. Recorded in.

また、制御部161は、記録媒体152に記録されるRAW画像データの付加情報として、画像の撮影日時やサイズ等の他に、ユーザにより指定された記録モードの設定情報を記録する。複数のモードは、RAW画像だけを記録するモード、RAW画像と現像済み画像(圧縮画像)を記録するモード、現像済み画像だけを記録するモードを含む。制御部161は、これらのモードのうちいずれかを識別するための情報を、記録媒体152に記録されたRAW画像データの付加情報として記録する。この識別情報はまた、記録媒体に記録されたRAW画像データが、記録媒体に保存する対象として設定されているか否かを識別するための情報でもある。また、ユーザにより、現像済み画像(圧縮画像)を記録するモードが設定された場合には、ユーザにより設定された、現像済み画像のサイズや画質(圧縮率)等の情報も付加情報として合わせて記録媒体152に記録する。なお、記録モードに関する設定情報を、RAW画像データを含むRAWファイルに格納されたメタデータとして付加してもよい。また、記録媒体152または外部のストレージやサーバに適応しているファイルシステムの属性、例えばファイル名、アーカイブ属性、隠し属性等として付加してもよい。 Further, the control unit 161 records the setting information of the recording mode designated by the user as the additional information of the RAW image data recorded on the recording medium 152, in addition to the shooting date and time of the image and the like. The plurality of modes include a mode of recording only a RAW image, a mode of recording a RAW image and a developed image (compressed image), and a mode of recording only a developed image. The control unit 161 records information for identifying one of these modes as additional information of the RAW image data recorded on the recording medium 152. This identification information is also information for identifying whether or not the RAW image data recorded on the recording medium is set as a target to be stored in the recording medium. When the user sets a mode for recording a developed image (compressed image), information such as the size of the developed image and image quality (compression rate) set by the user is also added as additional information. The data is recorded on the recording medium 152. The setting information regarding the recording mode may be added as the metadata stored in the RAW file including the RAW image data. Further, it may be added as an attribute of a file system adapted to the recording medium 152 or an external storage or a server, for example, a file name, an archive attribute, a hidden attribute, or the like.

上述したように、本実施形態の撮像装置100は、撮影モードにおいてユーザからの記録開始の指示に応答してRAW画像データを記録媒体152に記録する。RAW画像データは、センサ信号処理部103から供給される画像データの画質を大きく損なわない高画質の画像であるが、このRAW画像データを生成するために現像処理は必要としない。そのため、撮像画素数や連写のスピードを高めたり、フレームあたりの画素数やフレームレートを高めたりしても、小規模かつ低消費電力の回路でRAW画像データを記録することが可能である。 As described above, the imaging apparatus 100 according to the present embodiment records the RAW image data on the recording medium 152 in response to the recording start instruction from the user in the shooting mode. The RAW image data is a high-quality image that does not significantly deteriorate the image quality of the image data supplied from the sensor signal processing unit 103, but no development processing is required to generate this RAW image data. Therefore, it is possible to record RAW image data with a small-scale and low power consumption circuit even if the number of image pickup pixels or the speed of continuous shooting is increased or the number of pixels per frame or frame rate is increased.

<アイドル状態における動作説明>
次に、図2のS210でのアイドル状態における動作について、図3のフローチャートを用いて説明する。
<Explanation of operation in idle state>
Next, the operation in the idle state in S210 of FIG. 2 will be described using the flowchart of FIG.

撮像装置100は、アイドル状態において、現像処理を行う必要があるRAW画像データを記録媒体152あるいは外部ストレージ等から自動的に読み出して現像処理を行う。更に、撮像装置100は、現像処理が実施された現像済み画像データを自動的に圧縮符号化し、圧縮された現像済みの画像データを記録媒体152に記録する。ここで、記録媒体152に記録されたRAW画像データのうち、アイドル状態において自動的に現像処理を実施する対象のRAW画像データは、現像済み画像だけが保存対象となっているモードで記録されたRAW画像データである。また、RAW画像と現像済み画像の両方が保存対象となっているモードで記録されたRAW画像データも、アイドル状態において自動的に現像処理を実施する対象のRAW画像データである。 In the idle state, the image capturing apparatus 100 automatically reads out the RAW image data that needs to be developed from the recording medium 152 or an external storage or the like, and performs the development process. Furthermore, the imaging apparatus 100 automatically compression-codes the developed image data that has undergone the development process, and records the compressed developed image data in the recording medium 152. Here, of the RAW image data recorded on the recording medium 152, the RAW image data to be automatically processed in the idle state is recorded in a mode in which only the developed image is stored. This is RAW image data. Further, the RAW image data recorded in the mode in which both the RAW image and the developed image are saved are also the RAW image data to be automatically processed in the idle state.

アイドル状態とは、撮影待機状態、画像再生時の待機状態、スリープ状態など、撮像装置100の処理負荷が小さいと判定される状態である。なお、自動的に実施するだけでなく、ユーザからの指示によって現像処理を開始してもよい。また、本実施形態では、撮影待機状態においては、アイドル状態においても図2に示すS202とS203の処理が繰り返し実行され、表示部123にライブビュー画像が表示される。 The idle state is a state in which it is determined that the processing load of the image pickup apparatus 100 is small, such as a shooting standby state, a standby state during image reproduction, and a sleep state. Note that the development process may be started not only automatically but also according to an instruction from the user. Further, in the present embodiment, in the shooting standby state, the processes of S202 and S203 shown in FIG. 2 are repeatedly executed even in the idle state, and the live view image is displayed on the display unit 123.

撮像装置100がアイドル状態か否かの判定方法に特に制限はなく、一般的な処理負荷の測定方法をはじめとした任意の判定方法を用いることができる。例えば、制御部161が有するCPUの稼働率が予め定めた閾値未満かどうかや、予め定められた高負荷の動作、例えば高速連写動作、記録・再生処理が行われているかどうかなどに応じて判定することができる。あるいは、基本的に負荷の低い処理しか発生しない動作モードが選択されていれば、無条件にアイドル状態とみなしてもよい。 There is no particular limitation on the method of determining whether or not the image pickup apparatus 100 is in the idle state, and any method of determination including a general method of measuring the processing load can be used. For example, depending on whether the operating rate of the CPU included in the control unit 161 is less than a predetermined threshold value or whether a predetermined high-load operation such as high-speed continuous shooting operation or recording/reproducing processing is being performed. Can be determined. Alternatively, if an operation mode that basically causes only low-load processing is selected, it may be unconditionally regarded as the idle state.

図3のフローチャートは、制御部161によって、各機能ブロックを制御し実行される処理手順を図示したものであり、制御部161が有するメモリ(ROM)に格納されているプログラムをメモリ(RAM)に展開し、CPUが実行することにより実現される。 The flowchart of FIG. 3 illustrates a processing procedure in which each functional block is controlled and executed by the control unit 161, and a program stored in the memory (ROM) of the control unit 161 is stored in the memory (RAM). It is realized by expanding and executing by the CPU.

図3においてアイドル状態の処理が開始されると、制御部161は、現像処理を行う必要があるRAW画像データが記録媒体152に記録されているか否かを判定する。制御部161は、記録媒体152に記録された各RAW画像データ付加された記録モードの設定情報やメタデータを確認する。そして、制御部161は、記録モードが現像済み画像だけを記録するモード、又は、RAW画像と現像済み画像(圧縮画像)を記録するモードに設定されている場合に、現像処理を行う必要があるRAW画像データであると判定する。 When the processing in the idle state is started in FIG. 3, the control unit 161 determines whether or not the RAW image data that needs to be subjected to the development processing is recorded in the recording medium 152. The control unit 161 confirms the setting information and the metadata of the recording mode added to each RAW image data recorded on the recording medium 152. Then, the control unit 161 needs to perform the developing process when the recording mode is set to the mode of recording only the developed image or the mode of recording the RAW image and the developed image (compressed image). It is determined to be RAW image data.

S301において、現像処理を行うRAW画像データが記録媒体152に記録されていると判定された場合はS302に処理を進め、記録されていないと判定された場合はS307に処理を進める。 In S301, if it is determined that the RAW image data to be developed is recorded in the recording medium 152, the process proceeds to S302, and if it is determined that it is not recorded, the process proceeds to S307.

S302では、制御部161は、現像処理を行う必要があるRAW画像データに対して現像処理を実施する順番を決定し、S303に処理を進める。この順番の決定方法については後述する。 In S302, the control unit 161 determines the order of performing the development processing on the RAW image data that needs to be subjected to the development processing, and advances the processing to S303. A method of determining this order will be described later.

S303では、制御部161は、S303で決定された順番に従い、現像処理を行うRAW画像データを1つ選択する。記録再生部151は、選択されたRAW画像データを記録媒体152から読み出し、バッファ部115に格納し、S304へ処理を進める。 In S303, the control unit 161 selects one piece of RAW image data to be subjected to the developing process in the order determined in S303. The recording/reproducing unit 151 reads the selected RAW image data from the recording medium 152, stores it in the buffer unit 115, and advances the processing to S304.

S304では、制御部161は、RAW伸張部114が、記録媒体152から読み出し、バッファ部115に格納された圧縮RAW画像データを伸長してRAW画像データを生成する。生成されたRAW画像データは、高画質現像部112に送出され、現像処理が実行され、スイッチ部121を経由して静止画圧縮部141又は動画圧縮部142に出力される。ここで、現像処理を行うRAW画像データが静止画のRAW画像データの場合は、静止画圧縮部141が現像済みの静止画データを圧縮符号化して記録用の静止画データを生成し、記録再生部151がこの記録用の静止画データを記録媒体152に記録する。また、現像処理を行うRAW画像データが動画のRAW画像データの場合は、動画圧縮部142が現像済みの動画データを圧縮符号化して記録用の動画データを生成し、記録再生部151がこの記録用の動画データを記録媒体152に記録する。 In S304, the control unit 161 causes the RAW decompression unit 114 to decompress the compressed RAW image data read from the recording medium 152 and stored in the buffer unit 115 to generate RAW image data. The generated RAW image data is sent to the high-quality image development unit 112, the development process is executed, and the raw image data is output to the still image compression unit 141 or the moving image compression unit 142 via the switch unit 121. Here, when the RAW image data to be developed is still image RAW image data, the still image compression unit 141 compression-encodes the developed still image data to generate still image data for recording, and performs recording/reproduction. The unit 151 records the still image data for recording on the recording medium 152. If the RAW image data to be developed is moving image RAW image data, the moving image compression unit 142 compression-encodes the developed moving image data to generate moving image data for recording, and the recording/reproducing unit 151 records this. The moving image data for recording is recorded in the recording medium 152.

高画質現像部112は、RAW画像をデベイヤー処理(デモザイク処理)し、輝度と色差(や原色)からなる信号へ変換して、各信号に含まれるノイズの除去、光学的な歪の補正、画像の適正化などの所謂現像処理を行う。高画質現像部112によって生成される現像済み画像のサイズ(画素数)は、撮像センサ部102から読み出された全画素数のまま、あるいはユーザにより設定された画素数となる。そのため、高画質現像部112からの画像データの画素数は、簡易現像部111から出力される画像データよりも多く高画質となる一方で、処理負荷が増加してしまう。そこで、本実施形態では、高画質現像部112は、撮影と並行したリアルタイムの現像処理は行わず、記録時においてはRAW画像データを記録媒体152に記録する。そして、撮影処理以外の処理負荷が小さいアイドル状態において、このRAW画像データを記録媒体152から読み出して現像処理を行う構成としている。これにより、撮像画素数や連写のスピードを高めたり、フレームあたりの画素数やフレームレートを高めながら、回路規模や消費電力の増加を抑えている。 The high-quality developing unit 112 performs debayer processing (demosaic processing) on the RAW image, converts it into a signal composed of luminance and color difference (or primary color), removes noise included in each signal, corrects optical distortion, and images. The so-called development process such as the optimization of is performed. The size (number of pixels) of the developed image generated by the high-quality image developing unit 112 is the same as the total number of pixels read from the image sensor unit 102 or the number of pixels set by the user. Therefore, the number of pixels of the image data from the high image quality developing unit 112 is higher than that of the image data output from the simple developing unit 111, and the image quality is high, but the processing load increases. Therefore, in the present embodiment, the high image quality developing unit 112 does not perform real-time development processing in parallel with shooting, but records the RAW image data on the recording medium 152 at the time of recording. The RAW image data is read from the recording medium 152 and the developing process is performed in an idle state where the processing load other than the photographing process is small. As a result, the number of pixels to be picked up and the speed of continuous shooting are increased, the number of pixels per frame and the frame rate are increased, and an increase in circuit scale and power consumption is suppressed.

高画質現像部112で現像処理された画像データは、静止画圧縮部141及び動画圧縮部142に供給される。現像済み画像データが静止画の場合は、静止画圧縮部141は、JPEG等の公知の符号化方式に従って静止画データを圧縮符号化する。現像済み画像データが動画の場合は、動画圧縮部142は、H.264、H.265等の公知の符号化方式に従って動画データを圧縮符号化する。静止画圧縮部141及び動画圧縮部142は、それぞれ対象となる画像データを高能率符号化(圧縮符号化)し、情報量が削減された画像データを生成して記録再生部151に送り、記録再生部151が現像済みの圧縮画像データを記録媒体152に記録する。 The image data developed by the high image quality development unit 112 is supplied to the still image compression unit 141 and the moving image compression unit 142. When the developed image data is a still image, the still image compression unit 141 compresses and encodes the still image data according to a known encoding method such as JPEG. When the developed image data is a moving image, the moving image compressing unit 142 sets the H.264, H.264. The moving image data is compressed and encoded according to a known encoding method such as H.265. The still image compression unit 141 and the moving image compression unit 142 perform high-efficiency encoding (compression encoding) on the respective target image data, generate image data with a reduced amount of information, and send the image data to the recording/reproducing unit 151 for recording. The reproducing unit 151 records the developed compressed image data on the recording medium 152.

S305では、制御部161は、S304で、今回現像処理を実行した、元のRAW画像データを記録媒体152に保存するか否かを判定する。即ち、ユーザにより、元のRAW画像データを保存するように設定されていないと判定した場合はS306に処理を進め、RAW画像データを保存するように設定されていると判定した場合はS307に処理を進める。すなわち、S305において、RAW画像データを保存するように設定されていると判定された場合は、元のRAW画像データは記録媒体152からは削除されない。 In step S305, the control unit 161 determines whether to save the original RAW image data, which has been subjected to the development processing this time in step S304, to the recording medium 152. That is, if the user determines that the original RAW image data is not set to be saved, the process proceeds to step S306, and if it is determined that the RAW image data is set to be saved, the process proceeds to step S307. Proceed. That is, if it is determined in S305 that the RAW image data is set to be saved, the original RAW image data is not deleted from the recording medium 152.

S306では、制御部161は、記録再生部151を制御して、今回現像処理を行った、元のRAW画像データを記録媒体152から削除する。また、現像元のRAW画像データが外部のストレージやサーバに記録されている場合には、記録再生部151は、通信部153を制御して、外部のストレージやサーバに記録されている、元のRAW画像データを削除する。このように、一つの現像済みの圧縮画像データが記録媒体152に記録される度に、この圧縮画像データに対応した、元のRAW画像データが記録媒体152から消去される。 In step S<b>306, the control unit 161 controls the recording/reproducing unit 151 to delete the original RAW image data subjected to the development processing this time from the recording medium 152. When the RAW image data of the development source is recorded in the external storage or server, the recording/playback unit 151 controls the communication unit 153 to record the original RAW image data recorded in the external storage or server. Delete the RAW image data. Thus, each time one piece of developed compressed image data is recorded on the recording medium 152, the original RAW image data corresponding to this compressed image data is erased from the recording medium 152.

S307では、制御部161は、ユーザからの指示やモード設定に従い、アイドル状態から通常の動作状態に移行するか否かを判定する。制御部161は、移行すると判定した場合は図2のS201の処理に戻り、移行しないと判定した場合はS308に処理を進める。ここでは、例えば、アイドル状態において、操作部162を介して記録開始の指示を入力した場合、撮影モードにおける通常の動作状態に移行する。これ以外にも、再生モードなど、他のモードに移行することも可能である。 In step S307, the control unit 161 determines whether to shift from the idle state to the normal operation state according to the instruction from the user or the mode setting. The control unit 161 returns to the process of S201 of FIG. 2 when it is determined that the shift is made, and advances the process to S308 when it is determined that the shift is not made. Here, for example, when an instruction to start recording is input through the operation unit 162 in the idle state, the normal operation state in the shooting mode is entered. Besides this, it is also possible to shift to another mode such as a reproduction mode.

S308では、制御部161は、現像処理を行うRAW画像データが記録媒体152に記録されているか否かを判定する。そして、現像処理を行うRAW画像データが記録媒体152に記録されている場合はS303の処理に戻って、S302で決定された順番に従い次のRAWファイルを選択して、S303以降の処理を繰り返す。一方、現像処理を行うRAWファイルが記録媒体152に記録されていない場合には、S307の処理に戻って、通常動作状態に移行するまでアイドル状態を継続する。 In S308, the control unit 161 determines whether or not the RAW image data to be subjected to the developing process is recorded on the recording medium 152. When the RAW image data to be developed is recorded in the recording medium 152, the process returns to S303, the next RAW file is selected according to the order determined in S302, and the processes in S303 and subsequent steps are repeated. On the other hand, when the RAW file to be developed is not recorded in the recording medium 152, the process returns to S307 and the idle state is continued until the normal operation state is entered.

次に、S302におけるRAW画像データの現像処理の順番の決定処理について説明する。 Next, the determination processing of the order of the development processing of the RAW image data in S302 will be described.

RAW画像データを保存するように設定されていない場合には、現像済み画像が記録媒体152に記録された後、現像元のRAW画像データは自動的に削除される。そのため、現像処理を行う順番は重要である。そこで、本実施形態では、画像が記録された順番で現像処理を行うのではなく、記録媒体152の記録容量を効率良く使用し、長い記録時間が確保できるように現像処理を行う順番を決定する。 When the RAW image data is not set to be saved, the developed RAW image data is automatically deleted after the developed image is recorded on the recording medium 152. Therefore, the order in which development processing is performed is important. Therefore, in the present embodiment, the developing process is not performed in the order in which the images are recorded, but the recording capacity of the recording medium 152 is efficiently used, and the order in which the developing process is performed is determined so that a long recording time can be secured. ..

本実施形態では、ユーザが予め設定した保存対象の画像の種類に従い、現像処理を行うRAW画像データの順番を決定する。すなわち、ユーザにより保存対象として設定されていないRAW画像データの現像処理を、ユーザにより保存対象として設定されたRAW画像データより先に行うようにする。なお、RAW画像と現像済み画像を共に保存するようにユーザに設定されていた場合、保存対象として設定されて記録媒体152に記録されたRAW画像データが現像処理される。そして、前述のように、保存対象として設定されていないRAW画像データは、現像済み画像が記録された後に記録媒体152から削除されるが、保存対象として設定されたRAWファイルは現像済み画像を記録した後も記録媒体152からは削除されない。そのため、保存対象として設定されていないRAW画像データを保存対象として設定されているRAW画像データよりも先に現像処理するように現像処理の順番を決定する。このように制御することで、現像処理が終了したRAW画像データが順次削除され、保存対象として設定されたRAW画像データの現像処理が開始される前に、記録媒体152の空き容量が確保される。 In this embodiment, the order of the RAW image data to be subjected to the development processing is determined according to the type of image to be saved which is preset by the user. That is, the RAW image data that has not been set as a save target by the user is developed before the RAW image data that is set as a save target by the user. If the user is set to save both the RAW image and the developed image, the RAW image data set as the save target and recorded in the recording medium 152 is processed. Then, as described above, the RAW image data not set as the save target is deleted from the recording medium 152 after the developed image is recorded, but the RAW file set as the save target records the developed image. Even after this, it is not deleted from the recording medium 152. Therefore, the order of the development processing is determined so that the RAW image data not set as the storage target is processed before the RAW image data set as the storage target. By controlling in this way, the RAW image data that has undergone the development process is sequentially deleted, and the free space of the recording medium 152 is secured before the development process of the RAW image data set as the storage target is started. ..

また、保存対象として設定されていないRAW画像データが複数記録媒体152に記録されている場合には、RAW画像データのサイズ(データ量)に基づいて、これら保存対象として設定されていないRAW画像データの現像処理を行う順番を決定すればよい。例えば、静止画のRAW画像データの場合、サイズが異なっていても現像処理に要する時間はほとんど変わらない。そのため、サイズが大きいRAW画像データの現像処理を先に行った方が、記録媒体152の空き容量を早く確保することが可能になる。従って、保存対象として設定されていない、静止画のRAW画像データについては、RAW画像データのサイズが大きい順に現像処理を行う。また、動画のRAW画像データの場合、記録時間が長いほどサイズ(データ量)が大きくなる。そのため、記録時間によって動画のRAW画像データの現像処理に要する時間が大きく異なる。そこで、動画のRAW画像データの場合は、記録時間が短く、サイズが小さいものから順に現像処理を行うことで、サイズが大きいものより早く記録媒体152の空き容量を確保することが可能になる。 Further, when RAW image data that is not set as a save target is recorded in the plurality of recording media 152, the RAW image data that is not set as a save target is based on the size (data amount) of the RAW image data. It suffices to determine the order in which the development processing is performed. For example, in the case of still image RAW image data, the time required for the developing process hardly changes even if the size is different. Therefore, it is possible to secure the free space of the recording medium 152 earlier by developing the RAW image data having a large size first. Therefore, for the RAW image data of the still image that is not set as the storage target, the developing process is performed in the order of the size of the RAW image data. In the case of moving image RAW image data, the longer the recording time, the larger the size (data amount). Therefore, the time required for the developing process of the RAW image data of a moving image varies greatly depending on the recording time. Therefore, in the case of RAW image data of a moving image, it is possible to secure the free space of the recording medium 152 earlier than that of the large size by performing the developing process in order from the shortest recording time and the small size.

図4(a)は記録媒体152に記録された動画のRAW画像データを示している。記録媒体152には、その全容量400に対して、400メガバイト(MB)の動画RAW401、300MBの動画RAW402、350MBの動画RAW403がそれぞれ記録され、残りが空き領域404となっている。この場合、全てのRAW画像データ401〜403が、保存対象として設定されていない場合は、サイズの小さいものから順に、動画RAW402、動画RAW403、動画RAW401の順番で現像処理を行う。 FIG. 4A shows RAW image data of a moving image recorded in the recording medium 152. In the recording medium 152, a moving image RAW 401 of 400 megabytes (MB), a moving image RAW 402 of 300 MB, and a moving image RAW 403 of 350 MB are respectively recorded with respect to the total capacity 400, and the remaining space is an empty area 404. In this case, when all the RAW image data 401 to 403 are not set as the storage target, the development processing is performed in order of the moving image RAW 402, the moving image RAW 403, and the moving image RAW 401 in order from the smallest size.

なお、動画と静止画のRAW画像データが共に記録媒体152に記録されている場合、ユーザは、動画のRAW画像データと静止画のRAW画像データのうちどちらの現像処理を先に行うかを適宜決めることができる。 When both the moving image and still image RAW image data are recorded on the recording medium 152, the user appropriately determines which of the moving image RAW image data and the still image RAW image data is to be developed. I can decide.

また、現像処理を行う順番を、撮影モードに応じて決定してもよい。例えば、マルチショットにより撮影された画像は、現像処理の後に各現像済み画像を合成する処理を行うためより多くの処理時間が必要となる。この場合は、マルチショットにより撮影された画像ではなく個別に撮影された静止画のRAW画像データの現像処理を先に行った方がより早くRAW画像データを削除できるので、早く記録媒体152の空き容量を確保することが可能になる。 Further, the order of performing the developing process may be determined according to the shooting mode. For example, an image shot by multi-shot requires a longer processing time because the processing of combining the developed images is performed after the development processing. In this case, the RAW image data can be deleted earlier by developing the RAW image data of the still images individually shot instead of the images shot by the multi-shot, so that the recording medium 152 becomes empty sooner. It becomes possible to secure the capacity.

図4(b)は記録媒体152に記録された静止画のRAW画像データを示している。記録媒体152には、その全容量410に対し、40MBの静止画RAW411、32MBの静止画RAW412、43MBの静止画RAW415、38MBの静止画RAW416が記録されている。また、116MBのマルチショットRAW413、102MBのマルチショットRAW414がそれぞれ記録されている。また、残りが空き領域417となっている。マルチショットRAW413、414は、3枚合成するため3枚の静止画RAW画像データを含む。また、図4Bの静止画RAW画像の画像データが全て保存対象として設定されていない場合、マルチショット以外の静止画のRAW画像データで、かつ、サイズが大きいものから現像処理が行われる。このため、静止画RAW415、静止画RAW411、静止画RAW416、静止画RAW412、マルチショットRAW413、マルチショットRAW414の順番で現像処理が行われる。このように、撮影モードに基づいてRAWファイルの現像処理の順番を決定することで、より早く記録媒体152の空き容量を確保することが可能になる。 FIG. 4B shows RAW image data of a still image recorded on the recording medium 152. In the recording medium 152, a 40 MB still image RAW 411, a 32 MB still image RAW 412, a 43 MB still image RAW 415, and a 38 MB still image RAW 416 are recorded for the total capacity 410. A 116 MB multi-shot RAW 413 and a 102 MB multi-shot RAW 414 are recorded. Further, the remaining area is an empty area 417. The multi-shot RAWs 413 and 414 include three still image RAW image data for combining three images. In addition, when all the image data of the still image RAW image of FIG. 4B is not set as the storage target, the development processing is performed from the still image RAW image data other than the multi-shot and having a large size. Therefore, the development processing is performed in the order of the still image RAW415, the still image RAW411, the still image RAW416, the still image RAW412, the multi-shot RAW413, and the multi-shot RAW414. In this way, by determining the order of the development processing of the RAW file based on the shooting mode, it becomes possible to secure the free space of the recording medium 152 earlier.

なお、動画のRAW画像データの圧縮率に応じて、動画のRAW画像データの現像処理の順番を決めてもよい。例えば、RAW画像データを記録する際に、RAW画像データの圧縮方式として非可逆圧縮方式と可逆圧縮方式の何れかを選択できるように構成することができる。この場合、記録媒体152には、非可逆圧縮方式で圧縮されたRAW画像データと可逆圧縮方式で圧縮されたRAW画像データが記録される。一般に、可逆圧縮方式の方が非可逆圧縮方式よりも圧縮率が低い(=圧縮後のデータ量は大きい)。しかしながら、動画データの記録時間が同じ場合、圧縮率の高い非可逆圧縮と圧縮率の低い可逆圧縮では、現像処理にかかる時間は変わらない。そのため、圧縮率の低い動画のRAW画像データを先に現像した方がより早く大きいサイズのRAW画像データを削除することができる。また、記録時間が異なる動画データであっても、単位時間当たりに現像できるデータ量を考慮すると効率が良いので、動画の録画時間にかかわらず、圧縮率の低い動画のRAW画像データを優先して現像処理を行うようにする。 It should be noted that the order of the development processing of the RAW image data of the moving image may be determined according to the compression ratio of the RAW image data of the moving image. For example, when recording the RAW image data, it is possible to select either a lossy compression method or a lossless compression method as the compression method of the RAW image data. In this case, the recording medium 152 records the RAW image data compressed by the lossy compression method and the RAW image data compressed by the lossless compression method. In general, the lossless compression method has a lower compression rate than the lossy compression method (=the amount of data after compression is large). However, when the recording time of the moving image data is the same, the time required for the development processing does not change between the lossy compression having a high compression rate and the lossless compression having a low compression rate. Therefore, developing the RAW image data of a moving image with a low compression rate first allows the RAW image data of a large size to be deleted earlier. Also, even if the recording time is different, it is efficient considering the amount of data that can be developed per unit time. Therefore, regardless of the recording time of the moving image, the RAW image data of the moving image with a low compression rate is given priority. Perform development processing.

また、現像済み画像の圧縮符号化後のサイズに応じて現像処理の順番を決めてもよい。例えば、予め設定された撮像画素数と画質(圧縮率)に基づいて、現像済み画像の圧縮符号化後のサイズを推定し、得られたサイズに基づいて現像処理の順番を決定する。記録媒体152の空き容量は、現像処理後にRAW画像データが削除されることにより増加するが、現像済み画像の圧縮符号化後のファイルを保存することにも消費される。このため、圧縮符号化後のファイルの保存に必要となる容量の少ない画像から現像処理を行うことにより早く記録媒体152の空き容量を確保することが可能になる。 Further, the order of development processing may be determined according to the size of the developed image after compression encoding. For example, the size of the developed image after compression coding is estimated based on the preset number of image pickup pixels and the image quality (compression rate), and the order of the development processing is determined based on the obtained size. The free space of the recording medium 152 increases as the RAW image data is deleted after the development processing, but it is also consumed to store the compressed and encoded file of the developed image. Therefore, it is possible to quickly secure the free space of the recording medium 152 by performing the developing process from an image having a small capacity necessary for saving the compressed and encoded file.

さらにユーザが操作部162などを介して、現像処理の順番を決定する際に優先すべき条件を予め設定しておいてもよい。あるいは、RAW画像データの保存を優先する撮影モードを設けてユーザがその撮影モードに設定して撮影したRAW画像データについては現像処理の優先順位が下がる(順番が後になる)ようにしてもよい。 Further, the condition to be prioritized when the user determines the order of the development processing may be set in advance via the operation unit 162 or the like. Alternatively, a shooting mode that gives priority to saving the RAW image data may be provided, and the priority of the development processing may be lowered (the order is later) for the RAW image data shot by the user in the shooting mode.

特に、RAW画像データの現像処理の順番が重要になるのは、記録媒体152の空き容量が少なくなってきた場合である。そこで、記録媒体152の空き容量が所定量を下回るまでは、RAW画像データが記録媒体152に記録された順番で現像処理を行うようにしてもよい。 In particular, the order of the development processing of the RAW image data becomes important when the free space of the recording medium 152 is decreasing. Therefore, the developing process may be performed in the order in which the RAW image data is recorded in the recording medium 152 until the free space of the recording medium 152 falls below a predetermined amount.

上述したようにRAW画像データの現像処理の順番を決める方法はいくつかあるが、いずれか1つの方法に基づいて順番を決定してもよいし、撮影モードや撮影条件、ユーザ指定に応じて複数の方法を組み合わせてもよい。 As described above, there are several methods for determining the order of the RAW image data development processing, but the order may be determined based on any one method, or a plurality of methods may be determined according to the shooting mode, shooting conditions, and user designation. The above methods may be combined.

以上のように、本実施形態によれば、ユーザからの記録開始の指示に応答してRAW画像の記録を行い、撮影と撮影の合間や、再生モードやスリープ状態などの比較的、装置の処理負荷が小さい状態(アイドル状態)において現像処理を実行する。こうすることで、撮像センサ部102により得られる画像の画質を損なうことなく、撮影と並行したリアルタイムに現像を行う場合と比べて再生出力までの遅延も解消することが可能になる。 As described above, according to the present embodiment, the RAW image is recorded in response to the recording start instruction from the user, and the processing of the device is relatively performed between the shootings, the playback mode, the sleep state, and the like. The developing process is executed in a state where the load is small (idle state). By doing so, it is possible to eliminate the delay in reproduction output as compared with the case where development is performed in real time in parallel with shooting without impairing the image quality of the image obtained by the image sensor unit 102.

さらに、撮影時において、ユーザにより保存対象として設定されていない状態で記録されたRAW画像データを、このRAW画像データの現像処理、及び、現像済み画像データの記録後に、記録媒体152から削除する。そのため、ユーザが必要とする画像だけを記録しながら、記録媒体の空き容量を確保することが可能となる。 Furthermore, at the time of shooting, the RAW image data recorded in a state not set as a storage target by the user is deleted from the recording medium 152 after the development processing of this RAW image data and the recording of the developed image data. Therefore, it is possible to secure the free space of the recording medium while recording only the image required by the user.

また、本実施形態では、ユーザが予め設定した保存対象の画像の種類に従い、現像処理を行うRAW画像データの順番を決定することにより、より早く記録媒体の空き容量を確保できる。これにより、連写スピードを高めたり、フレームあたりの画素数やフレームレートを高めたり、長い撮影時間が確保できるなど、撮影機能を高める上で有利となる。 Further, in the present embodiment, the free space of the recording medium can be secured more quickly by determining the order of the RAW image data to be subjected to the development processing according to the type of the image to be saved which is set in advance by the user. This is advantageous in enhancing the shooting function, such as increasing the continuous shooting speed, increasing the number of pixels per frame and the frame rate, and ensuring a long shooting time.

なお、本実施形態では、ユーザが保存対象の画像の種類を設定する構成を説明したが、全てのRAW画像から現像済み画像(圧縮画像)を自動的に生成して保存し、ユーザが現像元のRAW画像のみについて保存するか否かを設定する構成としてもよい。この場合、図3のS302では、現像済み画像が記録されていない全てのRAW画像が現像処理を行う対象となる。現像処理の順番については、S302で述べた通りに決定する。 In this embodiment, the configuration in which the user sets the type of image to be saved has been described. However, a developed image (compressed image) is automatically generated from all RAW images and saved, and It may be configured to set whether to save only the RAW image of. In this case, in S302 of FIG. 3, all the RAW images for which the developed image is not recorded are targets for the development processing. The order of development processing is determined as described in S302.

なお、RAW画像データは、センサ信号処理部103から供給される画像データを大きく損なうことなく高画質の画像データであるが、未現像のデータであるため、表示や印刷を行いたい場合にはそのまま使用することができず、現像時間が必要となる。また、RAW画像データはJPEG等の公知の符号化方式に従った画像データではないため、RAW画像データを扱える環境も限定されてしまう。しかしながら、本実施形態では、RAW画像の記録を行った後、撮影と撮影の合間や、再生モードやスリープ状態などの比較的、装置の処理負荷が小さい状態(アイドル状態)において現像処理を実行する。そのため、撮影機能を高く維持しながら、撮影後の表示や印刷などの要求に対して現像処理(再生出力)の遅れが発生せず、従来と同等の操作環境での使用が可能となる。 The RAW image data is high-quality image data without greatly impairing the image data supplied from the sensor signal processing unit 103. However, since the RAW image data is undeveloped data, it can be used as it is when displaying or printing. It cannot be used and requires development time. Further, since the RAW image data is not image data according to a known encoding method such as JPEG, the environment that can handle the RAW image data is also limited. However, in the present embodiment, after the RAW image is recorded, the developing process is executed between shootings and in a state where the processing load of the apparatus is relatively small (idle state) such as a reproduction mode and a sleep state. .. Therefore, while maintaining a high shooting function, the development process (reproduction output) is not delayed with respect to a request such as display or printing after shooting, and it is possible to use in an operating environment equivalent to the conventional one.

[他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

102…撮像センサ部、103…センサ信号処理部、110…現像部、151…記録再生部、152…記録媒体、161…制御部、162…操作部 102... Imaging sensor section, 103... Sensor signal processing section, 110... Developing section, 151... Recording/reproducing section, 152... Recording medium, 161,... Control section, 162... Operation section

Claims (23)

撮像手段と、
前記撮像手段により得られた画像データを用いてRAW画像データを生成する生成手段と、
記録指示に応じて、前記生成手段により生成された前記RAW画像データを記録媒体に記録する記録手段と、
前記記録指示に応じて前記記録手段により前記記録媒体に記録される前記RAW画像データを前記記録媒体に保存する保存対象として設定するか否かを、ユーザの指示に応じて制御する設定手段と、
RAW画像データに現像処理を施し、現像された画像データを生成する現像手段と、
前記記録媒体に記録された前記RAW画像データを現像するように前記現像手段を制御し、前記現像手段が前記RAW画像データを現像することにより生成された、現像された画像データを前記記録媒体に記録するように前記記録手段を制御する制御手段とを備え、
前記制御手段は、前記記録媒体に保存する保存対象として設定されていない第1のRAW画像データが前記現像手段により現像された場合に、前記第1のRAW画像データを自動的に前記記録媒体から削除し、前記記録媒体に保存する保存対象として設定された第2のRAW画像データが前記現像手段により現像された場合に、前記第2のRAW画像データが前記記録媒体から削除されないように制御を行うことを特徴とする撮像装置。
Imaging means,
Generating means for generating RAW image data using the image data obtained by the image pickup means;
Recording means for recording the RAW image data generated by the generating means on a recording medium in response to a recording instruction;
Setting means for controlling, in accordance with a user's instruction, whether or not to set the RAW image data recorded in the recording medium by the recording means according to the recording instruction as a storage target to be stored in the recording medium,
A developing unit that performs a developing process on the RAW image data to generate developed image data;
The developing means is controlled to develop the RAW image data recorded on the recording medium, and the developed image data generated by developing the RAW image data by the developing means is developed on the recording medium. A control means for controlling the recording means to record,
The control unit automatically outputs the first RAW image data from the recording medium when the first RAW image data that is not set as a storage target to be stored in the recording medium is developed by the developing unit. When the second RAW image data that is deleted and saved in the recording medium and set as a storage target is developed by the developing unit, control is performed so that the second RAW image data is not deleted from the recording medium. An imaging device characterized by performing.
前記制御手段は、前記記録媒体に記録された複数の前記RAW画像データを自動的に現像するように前記現像手段を制御し、前記現像手段により生成された複数の現像された画像データを自動的に前記記録媒体に記録するように前記記録手段を制御することを特徴とする請求項1に記載の撮像装置。 The control unit controls the developing unit to automatically develop the plurality of RAW image data recorded on the recording medium, and automatically controls the plurality of developed image data generated by the developing unit. The image pickup apparatus according to claim 1, wherein the recording unit is controlled so as to record on the recording medium. 前記制御手段は、前記保存対象として設定されていない複数の前記RAW画像データを前記現像手段が現像することにより生成された、複数の現像された画像データの一つが前記記録媒体に記録される度に、前記一つの現像された画像データに対応したRAW画像データを前記記録媒体から削除することを特徴とする請求項2に記載の撮像装置。 The control means is configured to record one of a plurality of developed image data generated by the developing means by developing a plurality of the RAW image data which is not set as the storage target, into the recording medium. The image pickup apparatus according to claim 2, wherein RAW image data corresponding to the one developed image data is deleted from the recording medium. 前記制御手段は、前記保存対象のRAW画像データよりも先に、前記保存対象として設定されていないRAW画像データの現像処理が行われるように、前記現像手段による、前記記録媒体に記録された複数の前記RAW画像データの現像処理の順番を決定することを特徴とする請求項2に記載の撮像装置。 The control unit is configured to perform a plurality of processes recorded on the recording medium by the developing unit so that the RAW image data that is not set as the storage target is developed before the RAW image data that is the storage target. The image pickup apparatus according to claim 2, wherein an order of developing processing of the RAW image data is determined. 前記制御手段は、前記保存対象として設定されていない複数の前記RAW画像データが前記記録媒体に記録された場合、前記保存対象として設定されていない複数のRAW画像データのデータ量に基づいて、前記現像手段による、前記保存対象として設定されていない複数のRAW画像データの現像処理の順番を決定することを特徴とする請求項2に記載の撮像装置。 When a plurality of the RAW image data sets that are not set as the storage target are recorded in the recording medium, the control unit sets the data amount of the plurality of RAW image data sets that are not set as the storage target based on the data amount. The image pickup apparatus according to claim 2, wherein an order of development processing of a plurality of RAW image data that is not set as the storage target by the developing unit is determined. 前記制御手段は、前記保存対象として設定されていない複数のRAW画像データが静止画である場合、データ量が大きい順に現像処理が行われるように前記順番を決定し、前記保存対象として設定されていない複数のRAW画像データが動画である場合、データ量が小さい順に現像処理が行われるように前記順番を決定することを特徴とする請求項5に記載の撮像装置。 When the plurality of RAW image data that are not set as the saving target are still images, the control unit determines the order so that the development processing is performed in the order of increasing data amount, and the setting is set as the saving target. The imaging apparatus according to claim 5, wherein when a plurality of RAW image data items that are not present are moving images, the order is determined so that the development processing is performed in ascending order of data amount. 前記記録媒体に記録される、現像された画像データのサイズおよび圧縮率を設定する手段を備え、
前記制御手段は、前記設定されたサイズおよび圧縮率の少なくともいずれかに基づいて前記順番を決定することを特徴とする請求項5または6に記載の撮像装置。
A means for setting the size and compression rate of the developed image data recorded on the recording medium,
The image pickup apparatus according to claim 5, wherein the control unit determines the order based on at least one of the set size and the compression rate.
前記記録手段は、前記記録媒体に記録された前記RAW画像データが、前記保存対象として設定されているか否かを識別するための識別情報を前記記録媒体に記録し、
前記制御手段は、前記記録媒体に記録された前記識別情報に基づいて、前記RAW画像データが前記現像手段により現像された場合に、前記記録媒体から前記RAW画像データを削除するか否かを決定することを特徴とする請求項1に記載の撮像装置。
The recording means records, in the recording medium, identification information for identifying whether or not the RAW image data recorded in the recording medium is set as the storage target,
The control unit determines whether to delete the RAW image data from the recording medium when the RAW image data is developed by the developing unit, based on the identification information recorded on the recording medium. The image pickup apparatus according to claim 1, wherein
前記記録手段は、前記RAW画像データをファイルとして前記記録媒体に記録し、
前記識別情報を、前記RAW画像データのファイルに格納されるメタデータ、または、前記記録媒体のファイルシステムの属性として記録することを特徴とする請求項8に記載の撮像装置。
The recording means records the RAW image data as a file on the recording medium,
9. The image pickup apparatus according to claim 8, wherein the identification information is recorded as metadata stored in a file of the RAW image data or an attribute of a file system of the recording medium.
前記制御手段は、前記撮像装置が所定のアイドル状態である場合に、前記記録媒体に記録された前記RAW画像データを前記記録媒体から読み出して自動的に現像するように前記現像手段を制御することを特徴とする請求項1に記載の撮像装置。 The control means controls the developing means so that the RAW image data recorded on the recording medium is read from the recording medium and automatically developed when the imaging device is in a predetermined idle state. The image pickup apparatus according to claim 1, wherein 現像された画像を記録する第1の記録モードと、RAW画像と現像された画像とを記録する第2の記録モードとを含む複数の記録モードの一つを、ユーザの指示に応じて設定する手段を備え、
前記記録手段は、前記第1の記録モードと前記第2の記録モードとにおいて共に、前記記録指示に応じて、前記生成手段により生成された前記RAW画像データを前記記録媒体に記録し、
前記設定手段は、前記設定された記録モードに応じて、前記記録指示に応じて前記記録手段により前記記録媒体に記録される前記RAW画像データを前記保存対象として設定するか否かを設定することを特徴とする請求項1に記載の撮像装置。
One of a plurality of recording modes including a first recording mode for recording a developed image and a second recording mode for recording a RAW image and a developed image is set according to a user's instruction. Equipped with means,
In the first recording mode and the second recording mode, the recording unit records the RAW image data generated by the generation unit on the recording medium in response to the recording instruction.
The setting means sets, according to the set recording mode, whether or not to set the RAW image data recorded on the recording medium by the recording means as the storage target in response to the recording instruction. The image pickup apparatus according to claim 1, wherein
前記現像手段は、第1の現像処理と、前記第1の現像処理よりも処理の負荷が大きい第2の現像処理とを行い、
前記現像手段は、記録待機状態において、前記生成手段により得られた前記RAW画像データに前記第1の現像処理を施し、前記第1の現像処理を行うことにより得られた画像データを表示部に出力し、
前記制御手段は、前記記録手段により前記RAW画像データが前記記録媒体に記録された後、前記記録媒体に記録された前記RAW画像データに前記第2の現像処理を自動的に施すように前記現像手段を制御することを特徴とする請求項1に記載の撮像装置。
The developing unit performs a first developing process and a second developing process having a processing load larger than that of the first developing process,
In the recording standby state, the developing unit performs the first developing process on the RAW image data obtained by the generating unit, and displays the image data obtained by performing the first developing process on the display unit. Output,
After the recording means records the RAW image data on the recording medium, the control means performs the development so as to automatically perform the second developing process on the RAW image data recorded on the recording medium. The image pickup apparatus according to claim 1, wherein the image pickup apparatus controls the means.
撮像手段と、
前記撮像手段により得られた画像データを用いてRAW画像データを生成する生成手段と、
RAW画像の記録モードと、現像された画像の記録モードとを含む、複数の記録モードの何れかをユーザの指示に応じて設定する設定手段と、
記録指示に応じて、前記生成手段により生成された前記RAW画像データを記録媒体に記録する記録手段と、
RAW画像データに現像処理を施し、現像された画像データを生成する現像手段と、
前記記録媒体に記録された前記RAW画像データを現像するように前記現像手段を制御し、前記現像手段が前記RAW画像データを現像することにより生成された、現像された画像データを前記記録媒体に記録するように、前記記録手段を制御する制御手段とを備え、
前記制御手段は、前記記録媒体に記録された前記RAW画像データの記録モードに基づいて、前記現像された画像の記録モードで前記記録媒体に記録されたRAW画像データが前記現像手段により現像された場合に、前記現像された画像の記録モードで前記記録媒体に記録された前記RAW画像データを自動的に前記記録媒体から削除することを特徴とする撮像装置。
Imaging means,
Generating means for generating RAW image data using the image data obtained by the image pickup means;
Setting means for setting any one of a plurality of recording modes including a recording mode of a RAW image and a recording mode of a developed image according to a user's instruction;
Recording means for recording the RAW image data generated by the generating means on a recording medium in response to a recording instruction;
A developing unit that performs a developing process on the RAW image data to generate developed image data;
The developing means is controlled to develop the RAW image data recorded on the recording medium, and the developed image data generated by the developing means developing the RAW image data is recorded on the recording medium. A recording means for controlling the recording means so as to record,
The control means, on the basis of the recording mode of the RAW image data recorded on the recording medium, the RAW image data recorded on the recording medium in the recording mode of the developed image is developed by the developing means. In this case, the RAW image data recorded on the recording medium in the recording mode of the developed image is automatically deleted from the recording medium.
前記制御手段は、前記RAW画像の記録モードで前記記録媒体に記録されたRAW画像データが前記現像手段により現像された場合に、前記RAW画像の記録モードで前記記録媒体に記録された前記RAW画像データが前記記録媒体から削除されないように制御を行うことを特徴とする請求項13に記載の撮像装置。 The control means, when the RAW image data recorded on the recording medium in the RAW image recording mode is developed by the developing means, the RAW image recorded on the recording medium in the RAW image recording mode. The imaging apparatus according to claim 13, wherein control is performed so that data is not deleted from the recording medium. 前記制御手段は、前記記録媒体に記録された複数の前記RAW画像データを自動的に現像するように前記現像手段を制御し、前記現像手段により生成された、複数の現像された画像データを自動的に前記記録媒体に記録するように前記記録手段を制御することを特徴とする請求項13に記載の撮像装置。 The control means controls the developing means to automatically develop the plurality of RAW image data recorded on the recording medium, and automatically controls the plurality of developed image data generated by the developing means. 14. The image pickup apparatus according to claim 13, wherein the recording unit is controlled so as to record the recording medium on the recording medium. 前記制御手段は、前記現像された画像の記録モードで記録された複数の前記RAW画像データを前記現像手段が現像することにより生成された、複数の現像された画像データの一つが前記記録媒体に記録される度に、前記一つの現像された画像データに対応したRAW画像データを前記記録媒体から削除するように前記記録手段を制御することを特徴とする請求項15に記載の撮像装置。 One of a plurality of developed image data generated by the developing device developing the plurality of RAW image data recorded in the recording mode of the developed image on the recording medium. 16. The image pickup apparatus according to claim 15, wherein the recording unit is controlled so that the RAW image data corresponding to the one developed image data is deleted from the recording medium each time recording is performed. 前記制御手段は、前記RAW画像の記録モードで前記記録媒体に記録されたRAW画像データよりも先に、前記現像された画像の記録モードで前記記録媒体に記録されたRAW画像データの現像処理が行われるように、前記現像手段による、前記記録媒体に記録された複数の前記RAW画像データの現像処理の順番を決定することを特徴とする請求項15に記載の撮像装置。 The control means may perform a developing process on the RAW image data recorded on the recording medium in the developed image recording mode before the RAW image data recorded on the recording medium in the RAW image recording mode. 16. The image pickup apparatus according to claim 15, wherein an order of development processing of the plurality of RAW image data recorded on the recording medium by the developing unit is determined so as to be performed. 複数の前記RAW画像データが前記現像された画像の記録モードで記録された場合、前記現像された画像の記録モードで記録された複数のRAW画像データのデータ量に基づいて、前記現像手段による、前記現像された画像の記録モードで記録された複数のRAW画像データの現像処理の順番を決定することを特徴とする請求項15に記載の撮像装置。 When a plurality of the RAW image data are recorded in the developed image recording mode, based on the data amount of the plurality of RAW image data recorded in the developed image recording mode, by the developing unit, The imaging apparatus according to claim 15, wherein the order of development processing of a plurality of RAW image data recorded in the recording mode of the developed image is determined. 前記記録手段は、前記設定手段により設定された記録モードを識別するための識別情報を前記記録媒体に記録し、
前記制御手段は、前記記録媒体に記録された前記識別情報に基づいて、前記RAW画像データが前記現像手段により現像された場合に、前記記録媒体から前記RAW画像データを削除するか否かを決定することを特徴とする請求項13に記載の撮像装置。
The recording means records identification information for identifying the recording mode set by the setting means on the recording medium,
The control means determines, based on the identification information recorded on the recording medium, whether to delete the RAW image data from the recording medium when the RAW image data is developed by the developing means. The image pickup apparatus according to claim 13, wherein
前記制御手段は、前記撮像装置が所定のアイドル状態である場合に、前記記録媒体に記録された前記RAW画像データを自動的に現像するように前記現像手段を制御することを特徴とする請求項13に記載の撮像装置。 The control unit controls the developing unit to automatically develop the RAW image data recorded on the recording medium when the imaging device is in a predetermined idle state. The imaging device according to item 13. 前記現像手段は、第1の現像処理と、前記第1の現像処理よりも処理の負荷が大きい第2の現像処理とを行い、
前記現像手段は、記録待機状態において、前記生成手段により得られた前記RAW画像データに前記第1の現像処理し、前記第1の現像処理を行うことにより得られた画像データを表示部に出力し、
前記制御手段は、前記記録手段により前記RAW画像データが前記記録媒体に記録された後、前記記録媒体に記録された前記RAW画像データに前記第2の現像処理を自動的に施すように前記現像手段を制御することを特徴とする請求項13に記載の撮像装置。
The developing unit performs a first developing process and a second developing process having a processing load larger than that of the first developing process,
The developing unit outputs the image data obtained by performing the first developing process to the RAW image data obtained by the generating unit and performing the first developing process in a recording standby state. Then
After the recording means records the RAW image data on the recording medium, the control means performs the development so as to automatically perform the second developing process on the RAW image data recorded on the recording medium. The image pickup apparatus according to claim 13, wherein the image pickup apparatus controls the means.
撮像手段により得られた画像データを用いてRAW画像データを生成する生成ステップと、
記録指示に応じて、前記生成ステップにより生成された前記RAW画像データを記録媒体に記録する記録ステップと、
前記記録指示に応じて前記記録媒体に記録される前記RAW画像データを前記記録媒体に保存する保存対象として設定するか否かを、ユーザの指示に応じて制御する設定ステップと、
RAW画像データに現像処理を施す現像ステップと、
前記現像ステップにより前記記録媒体に記録された前記RAW画像データを現像し、前記現像ステップにおいて前記RAW画像データを現像することにより生成された、現像された画像データを前記記録ステップにより前記記録媒体に記録するように制御する制御ステップとを備え、
前記制御ステップは、前記記録媒体に保存する保存対象として設定されていない第1のRAW画像データが現像された場合に、前記第1のRAW画像データを自動的に前記記録媒体から削除し、前記記録媒体に保存する保存対象として設定された第2のRAW画像データが現像された場合に、前記第2のRAW画像データが前記記録媒体から削除されないように制御を行うことを特徴とする記録方法。
A generation step of generating RAW image data using the image data obtained by the image pickup means;
A recording step of recording the RAW image data generated in the generating step on a recording medium in response to a recording instruction,
A setting step of controlling according to a user's instruction whether or not to set the RAW image data recorded on the recording medium in accordance with the recording instruction as a storage target to be stored in the recording medium;
A developing step for developing the RAW image data,
The RAW image data recorded on the recording medium in the developing step is developed, and the developed image data generated by developing the RAW image data in the developing step is recorded on the recording medium in the recording step. And a control step for controlling to record,
The control step automatically deletes the first RAW image data from the recording medium when the first RAW image data which is not set as a save target to be saved in the recording medium is developed. When the second RAW image data set as a storage target to be stored in the recording medium is developed, control is performed so that the second RAW image data is not deleted from the recording medium. ..
撮像手段により得られた画像データを用いてRAW画像データを生成する生成ステップと、
RAW画像の記録モードと、現像された画像の記録モードとを含む、複数の記録モードの何れかをユーザの指示に応じて設定する設定ステップと、
記録指示に応じて、前記生成ステップにより生成された前記RAW画像データを記録媒体に記録する記録ステップと、
RAW画像データに現像処理を施す現像ステップと、
前記現像ステップにより前記記録媒体に記録された前記RAW画像データを現像し、前記現像ステップにおいて前記RAW画像データを現像することにより生成された、現像された画像データを前記記録ステップにより前記記録媒体に記録するように制御する制御ステップとを備え、
前記制御ステップは、前記記録媒体に記録された前記RAW画像データの記録モードに基づいて、前記現像された画像の記録モードで前記記録媒体に記録されたRAW画像データが現像された場合に、前記現像された画像の記録モードで前記記録媒体に記録された前記RAW画像データを自動的に前記記録媒体から削除することを特徴とする記録方法。
A generation step of generating RAW image data using the image data obtained by the image pickup means;
A setting step of setting one of a plurality of recording modes including a recording mode of a RAW image and a recording mode of a developed image in accordance with a user's instruction;
A recording step of recording the RAW image data generated by the generating step on a recording medium in response to a recording instruction,
A development step of developing the RAW image data,
The RAW image data recorded on the recording medium in the developing step is developed, and the developed image data generated by developing the RAW image data in the developing step is recorded on the recording medium in the recording step. And a control step for controlling to record,
The control step may include, when the RAW image data recorded on the recording medium is developed in a recording mode of the developed image based on a recording mode of the RAW image data recorded on the recording medium, A recording method, wherein the RAW image data recorded on the recording medium in the recording mode of a developed image is automatically deleted from the recording medium.
JP2016184690A 2015-11-24 2016-09-21 Imaging device and recording method Active JP6741532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/354,893 US10244199B2 (en) 2015-11-24 2016-11-17 Imaging apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015229042 2015-11-24
JP2015229042 2015-11-24

Publications (3)

Publication Number Publication Date
JP2017103753A JP2017103753A (en) 2017-06-08
JP2017103753A5 JP2017103753A5 (en) 2019-10-24
JP6741532B2 true JP6741532B2 (en) 2020-08-19

Family

ID=59017086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016184690A Active JP6741532B2 (en) 2015-11-24 2016-09-21 Imaging device and recording method

Country Status (1)

Country Link
JP (1) JP6741532B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6826238B2 (en) * 2018-06-29 2021-02-03 富士フイルム株式会社 Image processing system, image processing method, and information processing equipment
WO2024043054A1 (en) * 2022-08-23 2024-02-29 ソニーグループ株式会社 Imaging device, imaging method, program, and image processing method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008245072A (en) * 2007-03-28 2008-10-09 Fujifilm Corp Photography control method and device thereof, photography control program, and photography device
JP2009147412A (en) * 2007-12-11 2009-07-02 Fujifilm Corp Digital camera and image processing method thereof
JP4997203B2 (en) * 2008-09-24 2012-08-08 富士フイルム株式会社 Imaging device

Also Published As

Publication number Publication date
JP2017103753A (en) 2017-06-08

Similar Documents

Publication Publication Date Title
JP6335563B2 (en) Imaging apparatus and control method thereof
JP6373056B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGE PROCESSING METHOD
US9894270B2 (en) Image processing apparatus and image processing method for handling a raw image, of a moving image or a still image
US9723169B2 (en) Imaging apparatus and imaging apparatus control method
US9396756B2 (en) Image processing apparatus and control method thereof
JP6406949B2 (en) Image processing apparatus and image processing method
US9462182B2 (en) Imaging apparatus and control method thereof
US10244199B2 (en) Imaging apparatus
JP6741532B2 (en) Imaging device and recording method
JP2016005103A (en) Imaging apparatus and control method therefor
JP6245819B2 (en) Image processing apparatus and image processing method
US9955135B2 (en) Image processing apparatus, image processing method, and program wherein a RAW image to be subjected to special processing is preferentially subjected to development
JP6327939B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2015119403A (en) Image recording apparatus, image recording method, program, and imaging apparatus
JP6452362B2 (en) Imaging apparatus and imaging method
JP6282136B2 (en) Imaging apparatus and control method thereof
JP6245818B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP6192319B2 (en) Image processing apparatus and image processing method
JP2018207424A (en) Information transfer device
JP2019110367A (en) Imaging device
JP2016063252A (en) Image processing device and image processing method
JP2020010244A (en) Imaging apparatus and control method for imaging apparatus
JP2014179851A (en) Imaging apparatus and control method of the same
JP2016063254A (en) Imaging apparatus an imaging method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190911

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200522

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200615

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200626

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200727

R151 Written notification of patent or utility model registration

Ref document number: 6741532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151