JP2009303122A - Imaging apparatus and imaging control method - Google Patents

Imaging apparatus and imaging control method Download PDF

Info

Publication number
JP2009303122A
JP2009303122A JP2008157831A JP2008157831A JP2009303122A JP 2009303122 A JP2009303122 A JP 2009303122A JP 2008157831 A JP2008157831 A JP 2008157831A JP 2008157831 A JP2008157831 A JP 2008157831A JP 2009303122 A JP2009303122 A JP 2009303122A
Authority
JP
Japan
Prior art keywords
recording
raw data
data
recording medium
raw
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.)
Withdrawn
Application number
JP2008157831A
Other languages
Japanese (ja)
Other versions
JP2009303122A5 (en
Inventor
Kenji Funamoto
憲司 船本
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2008157831A priority Critical patent/JP2009303122A/en
Publication of JP2009303122A publication Critical patent/JP2009303122A/en
Publication of JP2009303122A5 publication Critical patent/JP2009303122A5/ja
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To perform image processing upon a photographed image, without deteriorating image quality, while avoiding recording capacity of a recording medium from being suppressed by RAW data. <P>SOLUTION: On a recording medium 14, a RAW file recording area and a JPEG file recording area are secured. When there is enough free capacity in both the areas, a RAW file and a JPEG file are generated from an imaging signal, the RAW file is recorded in the RAW file recording area and the JPEG file is recorded in the JPEG file recording area in association with each other. When the free capacity in the RAW file recording area becomes below predetermined capacity, the oldest RAW file is erased, to ensure free capacity in the RAW file recording area. When the JPEG file is reproduced and displayed and there is no RAW file recorded in association with the JPEG file, a simple retouch menu is displayed; but when the RAW file recorded in association with the JPEG file is present, an image quality adjustment menu that needs the RAW file is displayed together with the simple retouch menu. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は撮像装置及び撮像制御方法に係り、特にRAWデータによる記録媒体の記録容量の圧迫を回避しつつ、撮影した画像に対して画質を劣化させることなく再画像処理が可能な撮像装置及び撮像制御方法に関する。   The present invention relates to an image pickup apparatus and an image pickup control method, and more particularly to an image pickup apparatus and an image pickup capable of performing re-image processing on a captured image without degrading the image quality while avoiding compression of the recording capacity of the recording medium due to RAW data. It relates to a control method.

一般に、ハイエンドクラスのデジタルカメラには、原画像であるRAWデータを記録する機能が備えられている。例えば、通常の画像記録モードの他に、RAWデータを記録するためのRAWデータ記録モードが備えられたデジタルカメラが知られている。このようなデジタルカメラでは、RAWデータ記録モードに設定されると、RAWデータのみを記録したり、通常の画像データと共にRAWデータを記録することが可能となっている。このようにRAWデータを記録しておくことで、ユーザが再生、編集、送信を行なえるデータとしてRAWデータを用いることができ、例えば、画像の劣化を伴うことなく、撮影した画像に対して画像処理を行うことができる。   Generally, a high-end class digital camera has a function of recording RAW data that is an original image. For example, in addition to the normal image recording mode, a digital camera equipped with a RAW data recording mode for recording RAW data is known. In such a digital camera, when the RAW data recording mode is set, only RAW data can be recorded, or RAW data can be recorded together with normal image data. By recording the RAW data in this way, the RAW data can be used as data that can be reproduced, edited, and transmitted by the user. For example, an image can be captured with respect to a captured image without image deterioration. Processing can be performed.

これに対し、ミドルエンドやローエンドのAUTO撮影を中心としたデジタルカメラでは、RAWデータ記録の機能は省略されている。このようなカメラを使用しているユーザは、撮影後に画像処理を行う機会が少ないと考えられるので、撮影後に画像処理が行えるというメリットと比較して、ファイルサイズの大きいRAWデータを記録することによって記録媒体の記録容量が圧迫されるというデメリットが大きいからである。   On the other hand, in a digital camera centering on middle-end or low-end AUTO shooting, the RAW data recording function is omitted. Users who use such a camera are considered to have fewer opportunities to perform image processing after shooting, so by recording RAW data with a large file size compared to the advantage of being able to perform image processing after shooting. This is because the disadvantage is that the recording capacity of the recording medium is pressed.

しかし、このようなユーザであっても、撮影した画像に対して、意図した画像と異なっていると感じ、画像処理を行って補正を行いたいと考えることもある。このような場面において、RAWデータが記録されていない場合であっても、撮影した画像に画像処理を行うことは可能であるが、JPEG等の記録画像に対して色処理やホワイトバランス、ガンマ処理などをかけると、画像の劣化が激しいという問題点があった。   However, even such a user may feel that the captured image is different from the intended image, and may want to perform correction by performing image processing. In such a situation, even if RAW data is not recorded, it is possible to perform image processing on a captured image, but color processing, white balance, and gamma processing are performed on a recorded image such as JPEG. When this is applied, there is a problem that the image is severely deteriorated.

このような課題に対して、引用文献1には、入力画像に画像処理を複数段階にわたって施し、各段階の画像と、複数段階の画像処理後の画像とを得る画像処理部と、処理済み画像を複数の中間画像に戻すための複数の履歴情報を求め、複数の履歴情報を処理済み画像に付加して、復元処理が可能な画像ファイルを生成する履歴付加部とを備えた装置が記載されている。引用文献1の装置によれば、復元画像に後から画像処理を追加実施した場合、画像処理の重複による余計な画質劣化を避け、良好な画質の画像を得ることが可能となる。
特開2007−60153号公報
In order to deal with such a problem, the cited document 1 discloses that an input image is subjected to image processing in a plurality of stages, and an image processing unit that obtains an image in each stage and an image after a plurality of stages of image processing, and a processed image A device including a history adding unit that obtains a plurality of history information for returning an image to a plurality of intermediate images, adds a plurality of history information to a processed image, and generates an image file that can be restored is described. ing. According to the apparatus of the cited document 1, when image processing is added to the restored image later, it is possible to avoid excessive image quality degradation due to duplication of image processing and obtain an image with good image quality.
JP 2007-60153 A

しかしながら、引用文献1の装置では、ファイルサイズがRAWデータを記録する場合と同様に大きくなってしまうという問題点があった。   However, the apparatus of the cited document 1 has a problem that the file size becomes large as in the case of recording RAW data.

本発明はこのような事情に鑑みてなされたもので、RAWデータによる記録媒体の記録容量の圧迫を回避しつつ、撮影した画像に対して画質を劣化させることなく再画像処理が可能な撮像装置及び撮像制御方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an imaging apparatus capable of performing re-image processing on a captured image without degrading the image quality while avoiding compression of the recording capacity of the recording medium due to RAW data. And an imaging control method.

前記目的を達成するために請求項1に記載の撮像装置は、RAWデータ記録モードを有さない撮像装置において、被写体を撮影して被写体像を示す画像データを取得する撮像手段であって、未処理の画像データであるRAWデータを取得する撮像手段と、前記RAWデータに対して可視化用の現像処理を含む信号処理を施し、前記RAWデータから処理済データを生成する信号処理手段と、前記処理済データ及びRAWデータを記録媒体に記録する記録手段とを備え、前記記録手段は、前記記録媒体に前記RAWデータと該RAWデータから生成した処理済データとを関連付けて記録し、前記処理済データを記録する記録容量を確保できない場合には記録済のRAWデータを破棄して処理済データを記録することを特徴とする。   In order to achieve the above object, the imaging apparatus according to claim 1 is an imaging unit that captures an image of a subject and obtains image data indicating a subject image in an imaging device that does not have a RAW data recording mode. Imaging means for acquiring RAW data, which is image data of processing, signal processing means for performing signal processing including development processing for visualization on the RAW data, and generating processed data from the RAW data; and the processing Recording means for recording completed data and RAW data on a recording medium, wherein the recording means records the RAW data in association with processed data generated from the RAW data on the recording medium, and records the processed data If the recording capacity for recording the data cannot be secured, the recorded RAW data is discarded and the processed data is recorded.

これによれば、記録媒体にRAWデータと該RAWデータから生成した処理済データとを関連付けて記録し、処理済データを記録する記録容量を確保できない場合は記録済のRAWデータを破棄して処理済データを記録するようにしたので、RAWデータによる記録媒体の記録容量の圧迫を回避しつつ、記録容量に余裕があるときにはRAWデータを使用して画質を劣化させることなく画像処理を行うことが可能となる。   According to this, RAW data and processed data generated from the RAW data are recorded in association on the recording medium, and when the recording capacity for recording the processed data cannot be secured, the recorded RAW data is discarded and processed. Since the recorded data is recorded, it is possible to perform the image processing without degrading the image quality by using the RAW data when there is a margin in the recording capacity while avoiding the compression of the recording capacity of the recording medium by the RAW data. It becomes possible.

請求項2に示すように請求項1に記載の撮像装置において、前記記録手段は、前記RAWデータを記録する記録容量を確保できない場合には処理済データのみを記録することを特徴とする。   According to a second aspect of the present invention, in the imaging apparatus according to the first aspect, the recording unit records only processed data when a recording capacity for recording the RAW data cannot be secured.

これにより、RAWデータによる記録媒体の記録容量の圧迫を回避することができる。   Thereby, compression of the recording capacity of the recording medium by RAW data can be avoided.

請求項3に示すように請求項1に記載の撮像装置において、前記記録媒体の記録領域に所定の容量のRAWデータ記録領域を確保する領域確保手段を備え、前記記録手段は、前記RAWデータ記録領域にRAWデータを記録する記録容量を確保できない場合には記録済のRAWデータを破棄してRAWデータを記録することを特徴とする。   According to a third aspect of the present invention, in the image pickup apparatus according to the first aspect, the image capturing apparatus further includes area securing means for securing a RAW data recording area having a predetermined capacity in the recording area of the recording medium, If the recording capacity for recording the RAW data in the area cannot be secured, the recorded RAW data is discarded and the RAW data is recorded.

これにより、常に最新の撮影画像のRAWデータを記録しておくことができる。   Thereby, the RAW data of the latest photographed image can always be recorded.

請求項4に示すように請求項3に記載の撮像装置において、前記破棄されるRAWデータは、最も古いRAWデータ又は所定時間以上経過したRAWデータであることを特徴とする。   According to a fourth aspect of the present invention, in the imaging device according to the third aspect, the discarded RAW data is the oldest RAW data or RAW data that has passed a predetermined time.

これにより、常に新しいRAWデータを記録しておくことができる。   Thereby, new RAW data can always be recorded.

請求項5に示すように請求項3又は4に記載の撮像装置において、前記記録媒体は、前記撮像装置に内蔵された内部記録媒体と、前記撮像装置に着脱可能な外部記録媒体とからなり、前記RAWデータ記録領域は前記内部記録媒体であることを特徴とする。   As shown in claim 5, in the imaging device according to claim 3 or 4, the recording medium includes an internal recording medium built in the imaging device and an external recording medium detachable from the imaging device, The RAW data recording area is the internal recording medium.

これにより、ユーザに意識させることなくRAWデータを記録することができる。   Thereby, RAW data can be recorded without making a user aware.

請求項6に示すように請求項5に記載の撮像装置において、前記記録手段は、前記外部記録媒体が装着されていない場合には、前記内部記録媒体に前記処理済データだけを記録することを特徴とする。   6. The image pickup apparatus according to claim 5, wherein the recording unit records only the processed data on the internal recording medium when the external recording medium is not attached. Features.

これにより、適切に処理済データを記録することができる。   Thereby, processed data can be appropriately recorded.

請求項7に示すように請求項6に記載の撮像装置において、前記記録手段は、前記外部記録媒体が装着されると、前記内部記録媒体に記録されている処理済データを前記外部記録媒体に移動することを特徴とする。   According to a seventh aspect of the present invention, in the imaging apparatus according to the sixth aspect, when the external recording medium is attached, the recording means stores processed data recorded in the internal recording medium in the external recording medium. It is characterized by moving.

これにより、内部記録媒体に処理済データが記録されている場合であっても、RAWデータ記録領域を確保することができる。   Thereby, even when processed data is recorded on the internal recording medium, a RAW data recording area can be secured.

請求項8に示すように請求項1から7のいずれかに記載の撮像装置において、前記処理済データを表示媒体に再生表示させる表示手段であって、前記再生表示された処理済データを画像処理するための第1の画像処理メニューを前記表示媒体に表示させる表示手段を備え、前記表示手段は、前記再生表示された処理済データに関連付けて記録されたRAWデータが存在する場合に、前記RAWデータを必要とする第2の画像処理メニューを前記表示媒体に表示させることを特徴とする。   The imaging apparatus according to claim 1, wherein the display device reproduces and displays the processed data on a display medium, and the processed data that has been reproduced and displayed is image-processed. Display means for displaying a first image processing menu to be displayed on the display medium, and the display means, when there is RAW data recorded in association with the reproduced and displayed processed data, A second image processing menu that requires data is displayed on the display medium.

これにより、処理済データに関連付けて記録されたRAWデータが存在する場合は、画質を劣化させることなく画像処理を行うことができる。   Thus, when there is RAW data recorded in association with processed data, image processing can be performed without degrading image quality.

請求項9に示すように請求項8に記載の撮像装置において、前記信号処理手段は、前記第1の画像処理メニューが選択されると選択されたメニューに応じた信号処理を前記処理済データに施し、前記第2の画像処理メニューが選択されると選択されたメニューに応じた信号処理を前記処理済データに関連付けて記録されたRAWデータに施すことを特徴とする。   The image processing apparatus according to claim 8, wherein when the first image processing menu is selected, the signal processing unit performs signal processing corresponding to the selected menu on the processed data. When the second image processing menu is selected, signal processing corresponding to the selected menu is performed on the RAW data recorded in association with the processed data.

これにより、処理済データに関連付けて記録されたRAWデータが存在する場は、画質を劣化させることなく画像処理を行うことができる。   As a result, when there is RAW data recorded in association with processed data, image processing can be performed without degrading the image quality.

請求項10に示すように請求項8又は9に記載の撮像装置において、前記第1の画像処理メニューは、トリミング、リサイズ、文字挿入のうち少なくとも1つの項目を含み、前記第2の画像処理メニューは、色温度変更、色合い変更、彩度変更、コントラスト変更、明るさ変更、シャープネス変更、ノイズ低減のうち少なくとも1つの項目を含むことを特徴とする。   The imaging apparatus according to claim 8 or 9, wherein the first image processing menu includes at least one of trimming, resizing, and character insertion, and the second image processing menu. Includes at least one of color temperature change, hue change, saturation change, contrast change, brightness change, sharpness change, and noise reduction.

これにより、撮影後に適切な画像処理を行うことができる。   This makes it possible to perform appropriate image processing after shooting.

請求項11に示すように請求項8から10のいずれかに記載の撮像装置において、前記再生表示された処理済データについて、画像処理による補正の必要の有無をユーザに選択させる手段を備え、前記画像処理の必要性が無いと選択された場合は前記処理済データと関連付けて記録されたRAWデータを破棄することを特徴とする。   The imaging apparatus according to any one of claims 8 to 10, further comprising means for allowing a user to select whether or not correction by image processing is necessary for the reproduced and processed data. When it is selected that there is no need for image processing, the RAW data recorded in association with the processed data is discarded.

これにより、不要な未処理データによる記録手段の記録容量の圧迫を回避することができる。   Thereby, it is possible to avoid compression of the recording capacity of the recording means due to unnecessary unprocessed data.

前記目的を達成するために請求項12に記載の撮像制御方法は、RAWデータ記録モードを有さない撮像装置の撮像制御方法において、被写体を撮影して被写体像を示す画像データを取得する撮像工程であって、未処理の画像データであるRAWデータを取得する撮像工程と、前記RAWデータに対して可視化用の現像処理を含む信号処理を施し、前記RAWデータから処理済データを生成する信号処理工程と、前記処理済データ及びRAWデータを記録媒体に記録する記録工程とを備え、前記記録工程は、前記記録媒体に前記RAWデータと該RAWデータから生成した処理済データとを関連付けて記録し、前記処理済データを記録する記録容量を確保できない場合には記録済のRAWデータを破棄して処理済データを記録することを特徴とする。   In order to achieve the above object, the imaging control method according to claim 12 is an imaging control method of an imaging apparatus that does not have a RAW data recording mode, in which an imaging process is performed for capturing an image of a subject and obtaining image data indicating a subject image. An imaging process for acquiring RAW data that is unprocessed image data, and signal processing that performs signal processing including development processing for visualization on the RAW data and generates processed data from the RAW data And a recording step of recording the processed data and RAW data on a recording medium, wherein the recording step records the RAW data and the processed data generated from the RAW data in association with each other on the recording medium. When the recording capacity for recording the processed data cannot be secured, the recorded RAW data is discarded and the processed data is recorded. To.

これにより、RAWデータによる記録媒体の記録容量の圧迫を回避しつつ、画像処理を行う場合にはRAWデータを使用して画質を劣化させることなく行うことができる。   Accordingly, when the image processing is performed while avoiding the compression of the recording capacity of the recording medium due to the RAW data, the RAW data can be used without degrading the image quality.

本発明によれば、記録媒体にRAWデータと該RAWデータから生成した処理済データとを関連付けて記録し、処理済データを記録する記録容量を確保できない場合は記録済のRAWデータを破棄して処理済データを記録するようにしたので、RAWデータによる記録媒体の記録容量の圧迫を回避しつつ、記録容量に余裕があるときにはRAWデータを使用して画質を劣化させることなく画像処理を行うことが可能となる。   According to the present invention, RAW data and processed data generated from the RAW data are recorded in association with each other on the recording medium, and when the recording capacity for recording the processed data cannot be secured, the recorded RAW data is discarded. Since the processed data is recorded, the RAW data is used to perform image processing without degrading the image quality when there is a margin in the recording capacity while avoiding the compression of the recording capacity of the recording medium by the RAW data. Is possible.

以下に、本発明を実施するための最良の形態について説明する。   The best mode for carrying out the present invention will be described below.

<第1の実施の形態>
図1は、デジタルカメラ1の電気的構成を示すブロック図である。
<First Embodiment>
FIG. 1 is a block diagram showing an electrical configuration of the digital camera 1.

同図に示すように、デジタルカメラ1は、撮像手段11、カメラ制御手段12、表示媒体13、記録媒体14、及びメモリ15等を備えて構成される。各部はカメラ制御手段12に制御されて動作する。   As shown in the figure, the digital camera 1 includes an imaging unit 11, a camera control unit 12, a display medium 13, a recording medium 14, a memory 15, and the like. Each unit operates under the control of the camera control means 12.

カメラ制御手段12は、撮像制御手段21、画像処理手段22、RAWファイル生成手段23、圧縮・伸張手段24、記録媒体制御手段25、及び表示手段26等から構成される。カメラ制御手段12は、図示しない操作手段からの入力に基づき所定の制御プログラムを実行することにより、デジタルカメラ1の各部を制御する。   The camera control unit 12 includes an imaging control unit 21, an image processing unit 22, a RAW file generation unit 23, a compression / decompression unit 24, a recording medium control unit 25, a display unit 26, and the like. The camera control means 12 controls each part of the digital camera 1 by executing a predetermined control program based on an input from an operation means (not shown).

撮像手段11は、図示しないフォーカスレンズ及びズームレンズを含む撮影レンズ、絞り、及びCCDとから構成される。撮像制御手段21は、撮影レンズのフォーカシング、ズーミング及び絞りの制御を行う。   The imaging means 11 includes a photographing lens including a focus lens and a zoom lens (not shown), a diaphragm, and a CCD. The imaging control means 21 controls focusing, zooming, and aperture of the taking lens.

撮像手段11の図示しないCCDは、撮影レンズの後段に配置され、撮影レンズを透過した被写体光を受光し、受光した被写体光を各受光素子によって電気信号に変換する。この電気信号は、撮像制御手段21から供給される垂直転送クロック及び水平転送クロックに同期して、各画素に蓄積された電荷を1ラインずつシリアルな画像信号として撮像制御手段21に出力される。   A CCD (not shown) of the image pickup means 11 is arranged at the rear stage of the photographing lens, receives the subject light transmitted through the photographing lens, and converts the received subject light into an electrical signal by each light receiving element. This electric signal is output to the imaging control means 21 as a serial image signal of the charges accumulated in each pixel line by line in synchronization with the vertical transfer clock and horizontal transfer clock supplied from the imaging control means 21.

CCDから出力される画像信号はアナログ信号であり、このアナログの画像信号は、撮像制御手段21の図示しない相関二重サンプリング回路(CDS)によりノイズが除去され、図示しない自動ゲインコントロール回路(AGC)により所定のゲインで増幅される。さらに、このアナログの画像信号は、図示しないA/D変換器により所定ビットの階調幅を持ったデジタルの画像信号に変換され、メモリ15に記憶される。この画像信号は、いわゆるRAWデータであり、画素ごとR、G、Bの濃度を示す階調値を有している。RAWデータは、CCDの傷補正等の処理を行ってからメモリ15に記憶してもよい。   The image signal output from the CCD is an analog signal, and noise is removed from the analog image signal by a correlated double sampling circuit (CDS) (not shown) of the imaging control means 21, and an automatic gain control circuit (AGC) (not shown). Is amplified with a predetermined gain. Further, the analog image signal is converted into a digital image signal having a gradation width of a predetermined bit by an A / D converter (not shown) and stored in the memory 15. This image signal is so-called RAW data, and has a gradation value indicating the density of R, G, and B for each pixel. The RAW data may be stored in the memory 15 after processing such as CCD flaw correction.

RAWファイル生成手段23は、メモリ15に記憶されたRAWデータと、露出条件や撮影レンズの焦点距離等の撮影条件や、撮影レンズの収差情報、CCDの大きさ情報等の撮影情報とを、1つのファイルとしてRAWファイルを生成する。   The RAW file generation means 23 stores RAW data stored in the memory 15, photographing conditions such as exposure conditions and focal length of the photographing lens, photographing information such as aberration information of the photographing lens and CCD size information, and the like. A RAW file is generated as one file.

記録媒体14には、RAWファイルを記録するための所定の容量のRAWファイル記録領域が存在する。RAWファイル記録領域以外の領域は、JPEGファイルを記録するためのJPEGファイル記録領域として使用される。記録媒体制御手段25は、記録媒体14に対してデータの読み/書きを制御する手段であり、RAWファイル生成手段23が生成したRAWファイルを記録媒体14のRAWファイル記録領域に記録する。   The recording medium 14 has a RAW file recording area having a predetermined capacity for recording a RAW file. The area other than the RAW file recording area is used as a JPEG file recording area for recording a JPEG file. The recording medium control unit 25 is a unit that controls reading / writing of data with respect to the recording medium 14, and records the RAW file generated by the RAW file generation unit 23 in the RAW file recording area of the recording medium 14.

画像処理手段22は、図示しないホワイトバランスゲイン算出回路、ゲイン補正回路、階調補正回路、RGB補間演算回路、RGB/YC変換回路、ノイズフィルタ、輪郭強調回路等から構成される。   The image processing means 22 includes a white balance gain calculation circuit, a gain correction circuit, a gradation correction circuit, an RGB interpolation calculation circuit, an RGB / YC conversion circuit, a noise filter, an edge enhancement circuit, and the like (not shown).

ホワイトバランスゲイン算出回路は、ホワイトバランス調整用のゲイン値を算出する。ゲイン補正回路は、ホワイトバランスゲイン算出回路で算出されたゲイン値を用いてホワイトバランス調整を行う。階調補正回路は、ホワイトバランス調整された画像信号に、所定の階調変換処理(いわゆるガンマ補正)を施す。   The white balance gain calculation circuit calculates a gain value for white balance adjustment. The gain correction circuit performs white balance adjustment using the gain value calculated by the white balance gain calculation circuit. The gradation correction circuit performs a predetermined gradation conversion process (so-called gamma correction) on the image signal subjected to white balance adjustment.

RGB補間演算回路は、階調変換処理されたR、G、Bの色信号を補間演算して、各画素位置におけるR、G、B3色の信号を求める。例えば、Rを出力する画素では、この画素位置におけるG、Bの色信号がどの程度になるかを周りの画素のG、B信号から補間演算により求める。RGB/YC変換回路は、RGB補間演算後のR、G、B信号から輝度信号Yと色差信号Cr、Cbを生成する。   The RGB interpolation arithmetic circuit interpolates R, G, and B color signals subjected to gradation conversion processing to obtain R, G, and B3 color signals at each pixel position. For example, in a pixel that outputs R, the degree of the G and B color signals at this pixel position is obtained by interpolation from the G and B signals of surrounding pixels. The RGB / YC conversion circuit generates a luminance signal Y and color difference signals Cr and Cb from the R, G, and B signals after the RGB interpolation calculation.

ノイズフィルタは、輝度信号Yと色差信号Cr、Cbからノイズを低減する処理を行う。輪郭強調回路は、ノイズ低減後の輝度信号Yに対して輪郭強調処理を行う。   The noise filter performs processing for reducing noise from the luminance signal Y and the color difference signals Cr and Cb. The contour enhancement circuit performs contour enhancement processing on the luminance signal Y after noise reduction.

このように、画像処理手段22は、R、G、Bの各色の画像信号に対して所定の信号処理を施し、輝度信号Yと色差信号Cr、Cbとからなる画像信号(Y/C信号)を生成する。このY/C信号は、メモリ15に記憶される。   In this way, the image processing means 22 performs predetermined signal processing on the image signals of R, G, and B colors, and an image signal (Y / C signal) composed of the luminance signal Y and the color difference signals Cr and Cb. Is generated. This Y / C signal is stored in the memory 15.

圧縮・伸張手段24は、メモリ15から取り込んだY/C信号にJPEG形式の圧縮処理を施し、JPEGファイルを生成する。記録媒体制御手段25は、このJPEGファイルを記録媒体14のJPEGファイル記録領域に記録する。また、圧縮・伸張手段24は、入力されたJPEGファイルに所定形式の伸張処理を施して、非圧縮の画像データを生成することも可能である。   The compression / decompression means 24 performs JPEG compression processing on the Y / C signal fetched from the memory 15 to generate a JPEG file. The recording medium control means 25 records this JPEG file in the JPEG file recording area of the recording medium 14. Further, the compression / decompression unit 24 can generate uncompressed image data by performing a predetermined format decompression process on the input JPEG file.

表示媒体13は、表示手段26の制御に従って、撮影モードにおいては動画(スルー画)を表示して電子ビューファインダとして使用できるとともに、撮影した記録前の画像(プレビュー画像)を表示することができる。また、再生モードにおいては、記録媒体14から読み出した再生画像等を表示することができる。   Under the control of the display means 26, the display medium 13 can display a moving image (through image) and use it as an electronic viewfinder in the shooting mode, and can display a pre-recorded image (preview image). In the playback mode, a playback image read from the recording medium 14 can be displayed.

次に、デジタルカメラ1の撮影、画像処理、及び記録動作について、図2のフローチャートを用いて説明する。なお、デジタルカメラ1は、前述のようにRAWファイル生成手段23を備え、記録媒体14にはRAWファイル記録領域を備えている。しかしながら、デジタルカメラ1には、RAWデータ記録モードのような、ユーザが意図してRAWデータを記録するための動作モードは存在しない。したがって、ユーザは、RAWデータを記録していることを認識せずに、RAWデータを記録しないカメラとしてデジタルカメラ1を使用することになる。ユーザからRAWデータの存在を認識されることはないので、撮影後に、ユーザがRAWデータを指定して、そのデータの送信等を行うようなことはできない。   Next, photographing, image processing, and recording operations of the digital camera 1 will be described with reference to the flowchart of FIG. The digital camera 1 includes the RAW file generation unit 23 as described above, and the recording medium 14 includes a RAW file recording area. However, the digital camera 1 does not have an operation mode for recording RAW data intentionally by the user, such as the RAW data recording mode. Therefore, the user does not recognize that the RAW data is recorded, and uses the digital camera 1 as a camera that does not record the RAW data. Since the user does not recognize the presence of the RAW data, the user cannot designate the RAW data and perform transmission of the data after the photographing.

デジタルカメラ1は、最初に、記録媒体14にRAWファイルを記録するためのRAWファイル記録領域が存在するか否かを判定する(ステップS1)。RAWファイル記録領域が存在する場合は、次に、RAWファイル記録領域に所定の空き容量があるか否かを判定する(ステップS2)。所定の空き容量が無い場合は、所定の空き容量が確保できるまで、RAWファイル記録領域に記録されている最も古いRAWファイルを消去する(ステップS3)。なお、消去するRAWファイルは、一定以上の時間が経過したRAWファイルであってもよい。   The digital camera 1 first determines whether or not there is a RAW file recording area for recording a RAW file on the recording medium 14 (step S1). If there is a RAW file recording area, it is next determined whether or not there is a predetermined free space in the RAW file recording area (step S2). If there is no predetermined free space, the oldest RAW file recorded in the RAW file recording area is deleted until the predetermined free space can be secured (step S3). Note that the RAW file to be deleted may be a RAW file for which a certain time has elapsed.

ステップS1で、RAWファイル記録領域が存在しないと判断した場合は、記録媒体14に所定の容量のRAWファイル記録領域を確保することが可能か否かを判定する(ステップS4)。可能と判断した場合は、記録媒体14に所定の容量のRAWファイル記録領域を確保する(ステップS5)。   If it is determined in step S1 that there is no RAW file recording area, it is determined whether or not a RAW file recording area having a predetermined capacity can be secured on the recording medium 14 (step S4). If it is determined that it is possible, a RAW file recording area having a predetermined capacity is secured on the recording medium 14 (step S5).

ここで、RAWファイル記録領域を確保することが不可能と判断した場合は、記録媒体14に空き容量が存在するか否かを判定する(ステップS10)。記録媒体14に空き容量が無い場合は、撮影画像を保存する領域が存在しないので、処理を終了する。   If it is determined that the RAW file recording area cannot be secured, it is determined whether or not the recording medium 14 has a free space (step S10). If there is no free space in the recording medium 14, there is no area for storing the photographed image, so the processing ends.

記録媒体14に空き容量が存在する場合は、デジタルカメラ1は、JPEG撮影モードとして動作する(ステップS11)。JPEG撮影モードは、撮影した画像を、JPEGファイルとしてのみ、記録媒体14に記録するモードである。JPEG撮影モードにおいて、デジタルカメラ1の図示しないシャッタボタンが操作されて本撮影が行われると、撮像手段11のCCDから入力された画像信号から、画像処理手段22、圧縮・伸張手段24によりJPEGファイルが生成される。記録媒体制御手段25は、このJPEGファイルを記録媒体14に記録する(ステップS12)。   If there is free space in the recording medium 14, the digital camera 1 operates in the JPEG shooting mode (step S11). The JPEG shooting mode is a mode in which a shot image is recorded on the recording medium 14 only as a JPEG file. In the JPEG shooting mode, when a shutter button (not shown) of the digital camera 1 is operated and actual shooting is performed, the image processing unit 22 and the compression / expansion unit 24 convert the JPEG file from the image signal input from the CCD of the imaging unit 11. Is generated. The recording medium control means 25 records this JPEG file on the recording medium 14 (step S12).

このように、記録媒体14の空き容量不足でRAWファイル記録領域が確保できない場合は、JPEG撮影モードとして動作し、撮影した画像をJPEGファイルとして記録する。   As described above, when the RAW file recording area cannot be secured due to insufficient free space of the recording medium 14, the JPEG shooting mode is operated, and the shot image is recorded as a JPEG file.

これに対し、ステップS2においてRAWファイル記録領域に所定の空き容量が存在する場合、ステップS3においてRAWファイルを破棄してRAWファイル記録領域に所定の空き容量を確保した場合、及びステップS5においてRAWファイル記録領域を確保した場合は、JPEGファイル記録領域に空き容量が存在するか否かを判定する(ステップS6)。   On the other hand, if there is a predetermined free capacity in the RAW file recording area in step S2, if the RAW file is discarded in step S3 and a predetermined free capacity is secured in the RAW file recording area, and if the RAW file is in step S5 If the recording area is secured, it is determined whether or not there is free space in the JPEG file recording area (step S6).

JEPGファイル記録領域に空き容量が存在しない場合は、RAWファイル記録領域に記録されているRAWファイルを全て消去し、RAWファイル記録領域を開放する(ステップS9)。この開放された領域はJPEGファイル記録領域として確保され、デジタルカメラ1はJPEG記録モードとして動作する(ステップS11)。   If there is no free space in the JEPG file recording area, all the RAW files recorded in the RAW file recording area are deleted and the RAW file recording area is released (step S9). This released area is secured as a JPEG file recording area, and the digital camera 1 operates in the JPEG recording mode (step S11).

JPEGファイル記録領域に空き容量が存在する場合は、RAW+JPEG記録モードに設定する(ステップS7)。RAW+JPEG撮影モードは、撮影した画像を、RAWファイルとJPEGファイルの2つのファイルとして、それぞれ関連付けて記録媒体14に記録するモードである。RAW+JPEG撮影モードにおいて、デジタルカメラ1の図示しないシャッタボタンが操作されて本撮影が行われると、撮像手段11のCCDから入力された画像信号から、RAWファイル生成手段23によりRAWファイルが生成される。記録媒体制御手段25は、このRAWファイルを記録媒体14に記録する(ステップS8)。   If there is free space in the JPEG file recording area, the RAW + JPEG recording mode is set (step S7). The RAW + JPEG shooting mode is a mode in which captured images are recorded on the recording medium 14 in association with each other as two files of a RAW file and a JPEG file. In the RAW + JPEG shooting mode, when a real shooting is performed by operating a shutter button (not shown) of the digital camera 1, a RAW file is generated by the RAW file generation unit 23 from an image signal input from the CCD of the imaging unit 11. The recording medium control means 25 records this RAW file on the recording medium 14 (step S8).

さらに、同じ画像信号から、画像処理手段22、圧縮・伸張手段24によりJPEGファイルが生成される。記録媒体制御手段25は、このJPEGファイルをステップS8で記録したRAWファイルと関連付けて記録媒体14に記録する(ステップS12)。関連付けて記録するためには、同じファイル名を用いて、拡張子だけが異なるファイルとして記録する。例えば、RAWファイルには「gazou1.raw」、JPEGファイルには「gazou1.jpg」のようにファイル名を付して記録する。   Further, a JPEG file is generated from the same image signal by the image processing unit 22 and the compression / decompression unit 24. The recording medium control means 25 records this JPEG file on the recording medium 14 in association with the RAW file recorded in step S8 (step S12). In order to record in association with each other, the same file name is used and only the extension is recorded as a different file. For example, a file name such as “gazou1.raw” is assigned to a RAW file, and “gazou1.jpg” is assigned to a JPEG file.

このように、RAWファイル記録領域とJPEGファイル記録領域が確保できる場合は、デジタルカメラ1はRAW+JPEG撮影モードで動作し、撮影した画像をRAWファイルとJPEGファイルの2つのファイルとして関連付けて記録する。   As described above, when the RAW file recording area and the JPEG file recording area can be secured, the digital camera 1 operates in the RAW + JPEG shooting mode, and records the captured images in association with each other as the RAW file and the JPEG file.

次に、デジタルカメラ1の撮影済み画像の再生時の動作について、図3のフローチャートを用いて説明する。   Next, the operation of the digital camera 1 when playing back a captured image will be described with reference to the flowchart of FIG.

前述のように、デジタルカメラ1は、再生モードにおいて、記録媒体14から読み出した再生画像を表示媒体13に表示することが可能である。ユーザは、デジタルカメラ1を図示しない操作部を用いて再生モードに設定し、再生する画像を選択する(ステップS21)。この再生する画像の選択は、記録媒体14に記録されたJPEGファイルを選択することにより行われる。記録媒体制御手段25は、選択された画像のJPEGファイルを記録媒体14のJPEGファイル記録領域から読み出してメモリ15に展開し、圧縮・伸張手段24は、メモリ15に展開されたJPEGファイルに所定形式の伸張処理を施してYCデータに変換する。表示手段26は、このYCデータを用いて選択された画像を表示媒体13に再生表示する(ステップS22)。   As described above, the digital camera 1 can display the reproduction image read from the recording medium 14 on the display medium 13 in the reproduction mode. The user sets the digital camera 1 to a playback mode using an operation unit (not shown) and selects an image to be played back (step S21). The image to be reproduced is selected by selecting a JPEG file recorded on the recording medium 14. The recording medium control means 25 reads the JPEG file of the selected image from the JPEG file recording area of the recording medium 14 and expands it in the memory 15. The compression / decompression means 24 converts the JPEG file expanded in the memory 15 into a predetermined format. Are converted into YC data. The display means 26 reproduces and displays the image selected using this YC data on the display medium 13 (step S22).

ここで、記録媒体14のRAWファイル記録領域に、選択されたJPEGファイルと関連付けて記録されたRAWファイルが存在するか否かを判定する(ステップS23)。   Here, it is determined whether or not there is a RAW file recorded in association with the selected JPEG file in the RAW file recording area of the recording medium 14 (step S23).

RAWファイルが存在しない場合は、その後、ユーザが図示しないメニューキーを操作すると、図4(a)に示すような、トリミング、リサイズ、文字書き入れ、といった簡易なレタッチメニュー101を、選択された画像に重ねて表示する。   If the RAW file does not exist, then, when the user operates a menu key (not shown), a simple retouch menu 101 such as trimming, resizing, text entry, etc., as shown in FIG. Overlapping display.

ユーザが図示しない操作部を用いて、レタッチメニュー101のいずれかの項目を選択すると(ステップS25)、その操作に従って画像処理手段22はメモリ15に伸張したYCデータに対して加工処理を施し(ステップS26)、加工処理されたYCデータは圧縮・伸張手段24により再度JPEGファイルに圧縮され、圧縮されたJPEGファイルは記録媒体制御手段25により記録媒体14のJPEGファイル記録領域に記録される(ステップS27)。   When the user selects any item of the retouch menu 101 using an operation unit (not shown) (step S25), the image processing means 22 performs processing on the YC data expanded in the memory 15 according to the operation (step S25). The processed YC data is compressed again into a JPEG file by the compression / expansion means 24, and the compressed JPEG file is recorded in the JPEG file recording area of the recording medium 14 by the recording medium control means 25 (step S27). ).

このように、RAWファイルが存在しない画像については、簡易なレタッチメニュー101を表示し、レタッチメニュー101のうち選択された項目に応じてJPEGファイルに処理を施す。   As described above, for an image having no RAW file, a simple retouch menu 101 is displayed, and the JPEG file is processed according to the selected item in the retouch menu 101.

ステップS23において、関連付けられたRAWファイルが存在する場合は、その後、ユーザが図示しないメニューキーを操作すると、図4(b)に示すような、トリミング、リサイズ、文字書き入れ、といった簡易なレタッチメニュー101と共に、色温度、色合い、彩度、といった画質調整メニュー102を、選択された画像に重ねて表示する。画質調整メニュー102は、階調、コントラスト、シャープネス、ノイズ低減等を表示してもよい。   If there is an associated RAW file in step S23, then, when the user operates a menu key (not shown), a simple retouch menu 101 such as trimming, resizing, text entry, etc., as shown in FIG. At the same time, an image quality adjustment menu 102 such as color temperature, hue, and saturation is displayed so as to be superimposed on the selected image. The image quality adjustment menu 102 may display gradation, contrast, sharpness, noise reduction, and the like.

ユーザが図示しない操作部を用いて、画質調整メニュー102のいずれかの項目を選択すると(ステップS32)、記録媒体制御手段25は、記録媒体14から選択されたJPEGファイルと関連付けられて記録されているRAWファイルを読み出し、メモリ15に展開する。ユーザの操作に従って画像処理手段22は、このRAWデータに対して加工処理を施し(ステップS33)、加工処理されたRAWデータは圧縮・伸張手段24によりJPEGファイルに圧縮され、圧縮されたJPEGファイルは記録媒体制御手段25により記録媒体14のJPEGファイル記録領域に記録される(ステップS34)。すでに存在しているJPEGファイルに上書きして記録してもよいし、異なるファイル名で関連付けて記録してもよい。   When the user selects any item of the image quality adjustment menu 102 using an operation unit (not shown) (step S32), the recording medium control unit 25 is recorded in association with the JPEG file selected from the recording medium 14. The RAW file is read and expanded in the memory 15. The image processing means 22 performs processing on the RAW data in accordance with the user's operation (step S33). The processed RAW data is compressed into a JPEG file by the compression / expansion means 24, and the compressed JPEG file is Recording is performed in the JPEG file recording area of the recording medium 14 by the recording medium control means 25 (step S34). An existing JPEG file may be overwritten and recorded, or may be recorded in association with a different file name.

このように、RAWファイルが存在する画像については、簡易なレタッチメニュー101と共に画質調整メニュー102を表示し、画質調整メニュー102のうち選択された項目に応じてRAWデータに対して画像処理を行い、JPEGファイルに圧縮し、記録する。   As described above, for an image in which a RAW file exists, the image quality adjustment menu 102 is displayed together with the simple retouch menu 101, and image processing is performed on the RAW data in accordance with the selected item in the image quality adjustment menu 102. Compress and record into a JPEG file.

また、レタッチメニュー101のいずれかの項目が選択された場合は(ステップS35)、画像処理手段22は、メモリ15に伸張したYCデータに対して選択された項目に応じた加工処理を施し(ステップS36)、加工処理されたYCデータは圧縮・伸張手段24により再度JPEGファイルに圧縮され、圧縮されたJPEGファイルは記録媒体制御手段25により記録媒体14のJPEGファイル記録領域に記録される(ステップS37)。   If any item of the retouch menu 101 is selected (step S35), the image processing means 22 performs a process according to the selected item on the YC data expanded in the memory 15 (step S35). In step S37, the processed YC data is compressed again into a JPEG file by the compression / expansion means 24, and the compressed JPEG file is recorded in the JPEG file recording area of the recording medium 14 by the recording medium control means 25 (step S37). ).

このように、RAWファイルが存在する画像であっても、簡易なレタッチメニューが選択された場合には、JPEGファイルに対して処理を施す。なお、簡易なレタッチメニューが選択された場合に、RAWファイルに対して画像処理を行い、JPEGファイルに圧縮し、記録してもよい。   As described above, even if an image includes a RAW file, if a simple retouch menu is selected, the JPEG file is processed. Note that when a simple retouch menu is selected, image processing may be performed on the RAW file, and it may be compressed into a JPEG file and recorded.

なお、選択された画像を再生表示する際に、選択されたJPEGファイルと関連付けて記録されたRAWファイルが存在する場合に、画質調整が可能な旨を通知してもよい。例えば、図4(c)に示すように、画質調整可能告知103及び選択メニュー104の表示を行う。   When the selected image is reproduced and displayed, if there is a RAW file recorded in association with the selected JPEG file, it may be notified that image quality adjustment is possible. For example, as shown in FIG. 4C, an image quality adjustable notification 103 and a selection menu 104 are displayed.

ユーザが、選択メニュー104から「いいえ」(画像調整しない)の項目を選択した場合は、関連付けて記録されたRAWファイルを消去する。RAWファイルは画像調整を行うときのために記録しており、画像調整をしない場合は、記録媒体14の記録容量の圧迫を回避するために消去する。   When the user selects the item “No” (no image adjustment) from the selection menu 104, the RAW file recorded in association with it is deleted. The RAW file is recorded for image adjustment. When image adjustment is not performed, the RAW file is deleted to avoid compression of the recording capacity of the recording medium 14.

ユーザが、選択メニュー104から「はい」(画像調整する)の項目を選択した場合は、図4(b)に示すように、簡易なレタッチメニューと共に画質調整メニューの表示を行う。   When the user selects the item “Yes” (image adjustment) from the selection menu 104, the image quality adjustment menu is displayed together with a simple retouch menu, as shown in FIG.

ユーザが、選択メニュー104から「保留」の項目を選択した場合は、RAWファイルは消去せずにそのまま残し、表示媒体13での再生表示のみを行う。その後、改めて再生表示する画像として選択された場合に、RAWファイルが残っていれば、図4(b)に示すように、簡易なレタッチメニュー101と共に画質調整メニュー102の表示を行う。改めて再生表示する画像として選択された場合に、図4(c)に示すように、画質調整可能告知103及び選択メニュー104を再通知してもよい。   When the user selects the “hold” item from the selection menu 104, the RAW file is left without being deleted, and only the reproduction display on the display medium 13 is performed. Thereafter, when the RAW file remains when it is selected as an image to be reproduced and displayed again, the image quality adjustment menu 102 is displayed together with the simple retouch menu 101 as shown in FIG. When the image is selected again as an image to be reproduced and displayed, the image quality adjustable notification 103 and the selection menu 104 may be notified again as shown in FIG.

このように構成することで、ユーザは、撮影時には撮影に専念することができ、一連の撮影後に、イメージとの違いや撮影失敗、設定ミスなどに対して、画質を劣化させることなく画質調整によるリカバリが可能となる。   With this configuration, the user can concentrate on shooting at the time of shooting. After a series of shooting, the user can adjust the image quality without degrading the image quality due to differences from images, shooting failures, setting errors, etc. Recovery is possible.

本実施の形態では、RAWファイルとJPEGファイルを記録媒体14に記録したが、記録するデータ形式はこれらに限定されるものではない。例えば、未処理の画像データとしてRAWファイルではなくRAWデータをそのまま記録してもよいし、処理済みの画像データとしてJPEGファイルではなくその他の圧縮ファイルを用いてもよい。また、非圧縮のファイルであってもよい。   In the present embodiment, the RAW file and the JPEG file are recorded on the recording medium 14, but the recording data format is not limited to these. For example, RAW data instead of a RAW file may be recorded as unprocessed image data, or another compressed file may be used as processed image data instead of a JPEG file. It may also be an uncompressed file.

また、未処理の画像データと処理済みの画像データは関連付けて記録されるため、処理済みの画像データがユーザにより消去された場合には未処理の画像データも自動的に消去する。ユーザは未処理の画像データが記録されていることを意識しておらず、未処理の画像データをユーザが意図して消去することはない。   Further, since the unprocessed image data and the processed image data are recorded in association with each other, when the processed image data is deleted by the user, the unprocessed image data is automatically deleted. The user is not aware that unprocessed image data is recorded, and the user does not intentionally erase the unprocessed image data.

なお、表示媒体13等を用いて撮影可能枚数をユーザに告知する場合は、RAWファイルの記録状況にかかわらず、記録媒体14の残容量とJPEGファイルの平均容量から求めた枚数を告知すればよい。RAWファイルを記録していることをユーザは認識しておらず、また、JPEGファイル記録領域に空き容量が無くなった場合には、RAWファイル記録領域を開放し、開放した領域をJPEGファイル記録領域として確保するため、最終的には記録媒体14はJPEGファイルだけが記録されるからである。   When notifying the user of the number of images that can be shot using the display medium 13 or the like, the number of images obtained from the remaining capacity of the recording medium 14 and the average capacity of the JPEG file may be notified regardless of the RAW file recording status. . When the user does not recognize that the RAW file is recorded and the JPEG file recording area is full, the RAW file recording area is released, and the released area is set as the JPEG file recording area. This is because only the JPEG file is finally recorded on the recording medium 14 in order to ensure it.

<第2の実施の形態>
図5は、第2の実施の形態のデジタルカメラ1の電気的構成を示すブロック図である。なお、図1に示すブロック図と共通する部分には同一の符号を付し、その詳細な説明は省略する。図1に示すブロック図とは、記録媒体14の代わりに、内部記録媒体16と外部記録媒体17とを備えているところが異なっている。
<Second Embodiment>
FIG. 5 is a block diagram illustrating an electrical configuration of the digital camera 1 according to the second embodiment. In addition, the same code | symbol is attached | subjected to the part which is common in the block diagram shown in FIG. 1, and the detailed description is abbreviate | omitted. 1 is different from the block diagram shown in FIG. 1 in that an internal recording medium 16 and an external recording medium 17 are provided instead of the recording medium 14.

内部記録媒体16は、デジタルカメラ1に内蔵されたNAND−Flashメモリであり、外部記録媒体17は、デジタルカメラ1に着脱可能に構成されたメモリーカードである。記録媒体制御手段25は、メモリ15に展開されたRAWファイルを内部記録媒体16に、圧縮・伸張手段により圧縮されたJPEGファイルを外部記録媒体17に、それぞれ関連付けて記録することが可能である。   The internal recording medium 16 is a NAND-flash memory built in the digital camera 1, and the external recording medium 17 is a memory card configured to be detachable from the digital camera 1. The recording medium control means 25 can record the RAW file expanded in the memory 15 in association with the internal recording medium 16 and the JPEG file compressed by the compression / expansion means in association with the external recording medium 17.

次に、第2の実施の形態のデジタルカメラ1の撮影、画像処理、及び記録動作について、図6のフローチャートを用いて説明する。なお、第2の実施の形態のデジタルカメラ1についても、RAWデータ記録モードのような、ユーザが意図してRAWデータを記録するための動作モードは存在せず、ユーザは、RAWデータを記録していることを認識することはない。   Next, photographing, image processing, and recording operations of the digital camera 1 according to the second embodiment will be described with reference to the flowchart of FIG. In the digital camera 1 of the second embodiment, there is no operation mode for recording RAW data intentionally by the user, such as the RAW data recording mode, and the user records RAW data. I do not recognize that.

デジタルカメラ1は、最初に、外部記録媒体17が装着されているか否かを判定する(ステップS41)。外部記録媒体17が装着されていない場合は、内部記録媒体16に記録されいるRAWファイルを全て消去する(ステップS51)。さらに、内部記録媒体16に空き容量が存在するか否かを判定する(ステップS52)。内部記録媒体16に空き容量が存在しない場合は、撮影画像を保存する領域が存在しないので、処理を終了する。   The digital camera 1 first determines whether or not the external recording medium 17 is loaded (step S41). If the external recording medium 17 is not loaded, all RAW files recorded on the internal recording medium 16 are deleted (step S51). Further, it is determined whether or not free space exists in the internal recording medium 16 (step S52). If there is no free space in the internal recording medium 16, there is no area for storing the photographed image, so the processing ends.

内部記録媒体16に空き容量が存在する場合は、デジタルカメラ1は、JPEG撮影モードに設定される(ステップS53)。JPEG撮影モードは、撮影した画像を、JPEGファイルとしてのみ、内部記録媒体16に記録するモードである。JPEG撮影モードにおいて、デジタルカメラ1の図示しないシャッタボタンが操作されて本撮影が行われると、撮像手段11のCCDから入力された画像信号から、画像処理手段22、圧縮・伸張手段24によりJPEGファイルが生成される。記録媒体制御手段25は、このJPEGファイルを内部記録媒体16に記録する(ステップS48)。   If there is free space in the internal recording medium 16, the digital camera 1 is set to the JPEG shooting mode (step S53). The JPEG shooting mode is a mode in which a shot image is recorded on the internal recording medium 16 only as a JPEG file. In the JPEG shooting mode, when a shutter button (not shown) of the digital camera 1 is operated and actual shooting is performed, the image processing unit 22 and the compression / expansion unit 24 convert the JPEG file from the image signal input from the CCD of the imaging unit 11. Is generated. The recording medium control means 25 records this JPEG file on the internal recording medium 16 (step S48).

このように、デジタルカメラ1に外部記録媒体17が装着されていない場合は、デジタルカメラ1はJPEG撮影モードに設定され、撮影した画像をJPEGファイルとして内部記録媒体16に記録する。   As described above, when the external recording medium 17 is not attached to the digital camera 1, the digital camera 1 is set to the JPEG photographing mode, and the photographed image is recorded on the internal recording medium 16 as a JPEG file.

ステップS41において、外部記録媒体17が装着されていると判断した場合は、次に、内部記録媒体16にJPEGファイルが存在するか否かを判定する(ステップS42)。内部記録媒体16にJPEGファイルが存在する場合は、このJPEGファイルを外部記録媒体17に移動できるか否かを判定する(ステップS45)。外部記録媒体17の空き容量不足によりファイルの移動ができない場合は、内部記録媒体16に空き容量が存在するか否かを判定する(ステップS52)。前述のように、内部記録媒体16に空き容量が存在しない場合は処理を終了し、空き容量が存在する場合は、JPEG撮影モードに設定される(ステップS53)。   If it is determined in step S41 that the external recording medium 17 is loaded, it is next determined whether or not a JPEG file exists on the internal recording medium 16 (step S42). If a JPEG file exists in the internal recording medium 16, it is determined whether or not the JPEG file can be moved to the external recording medium 17 (step S45). If the file cannot be moved due to insufficient free space on the external recording medium 17, it is determined whether or not there is free space on the internal recording medium 16 (step S52). As described above, if there is no free space in the internal recording medium 16, the process is terminated, and if there is free space, the JPEG shooting mode is set (step S53).

このように、空き容量不足の外部記録媒体17が装着された場合も、デジタルカメラ1はJPEG撮影モードに設定され、撮影した画像をJPEGファイルとして内部記録媒体16に記録する。   As described above, even when the external recording medium 17 having insufficient free space is loaded, the digital camera 1 is set to the JPEG photographing mode, and the photographed image is recorded on the internal recording medium 16 as a JPEG file.

ステップS42において、内部記録媒体16にJPEGファイルが存在しないと判断した場合は、内部記録媒体16に所定の空き容量が存在するか否かを判定する(ステップS43)。JPEGファイルが存在せず、さらに所定の空き容量が存在しない場合は、RAWファイルが記録されていると判断し、所定の空き容量が確保できるまで最も古いRAWファイルを消去する(ステップS44)。   If it is determined in step S42 that no JPEG file exists in the internal recording medium 16, it is determined whether or not a predetermined free space exists in the internal recording medium 16 (step S43). If the JPEG file does not exist and the predetermined free space does not exist, it is determined that the RAW file is recorded, and the oldest RAW file is deleted until the predetermined free space can be secured (step S44).

ステップS44においてRAWファイルを消去して内部記録媒体16に所定の空き容量を確保した場合、ステップS43において内部記録媒体16に所定の空き容量が存在した場合、及びステップS45において内部記録媒体16に記録されたJPEGファイルを外部記録媒体17に移動して内部記録媒体16に所定の空き容量を確保した場合は、デジタルカメラ1は、RAW+JPEG記録モードに設定される(ステップS46)。RAW+JPEG撮影モードは、撮影した画像に対し、RAWファイルを内部記録媒体16に、JPEGファイルを外部記録媒体17に、それぞれ関連付けて記録するモードである。RAW+JPEG撮影モードにおいて、デジタルカメラ1の図示しないシャッタボタンが操作されて本撮影が行われると、撮像手段11のCCDから入力された画像信号から、RAWファイル生成手段23によりRAWファイルが生成される。記録媒体制御手段25は、このRAWファイルを内部記録媒体16に記録する(ステップS47)。   When the RAW file is erased in step S44 and a predetermined free space is secured in the internal recording medium 16, the predetermined free space exists in the internal recording medium 16 in step S43, and the internal recording medium 16 is recorded in step S45. When the JPEG file thus transferred is moved to the external recording medium 17 and a predetermined free space is secured in the internal recording medium 16, the digital camera 1 is set to the RAW + JPEG recording mode (step S46). The RAW + JPEG shooting mode is a mode in which a RAW file is recorded in association with the internal recording medium 16 and a JPEG file is recorded in association with the external recording medium 17 with respect to the captured image. In the RAW + JPEG shooting mode, when a real shooting is performed by operating a shutter button (not shown) of the digital camera 1, a RAW file is generated by the RAW file generation unit 23 from an image signal input from the CCD of the imaging unit 11. The recording medium control means 25 records this RAW file on the internal recording medium 16 (step S47).

さらに、同じ画像信号から、画像処理手段22、圧縮・伸張手段24によりJPEGファイルが生成される。記録媒体制御手段25は、このJPEGファイルをステップS47で記録したRAWファイルと関連付けて外部記録媒体17に記録する(ステップS48)。   Further, a JPEG file is generated from the same image signal by the image processing unit 22 and the compression / decompression unit 24. The recording medium control means 25 records this JPEG file on the external recording medium 17 in association with the RAW file recorded in step S47 (step S48).

このように、内部記録媒体16と外部記録媒体17に記録領域が確保できる場合は、RAW+JPEG撮影モードとして動作し、撮影した画像についてRAWファイルを内部記録媒体16に、JPEGファイルを外部記録媒体17に、関連付けて記録する。   As described above, when a recording area can be secured in the internal recording medium 16 and the external recording medium 17, the RAW + JPEG shooting mode is operated. , Record in association.

以上のように、第2の実施の形態のデジタルカメラ1によれば、外部記録媒体17にはRAWファイルを記録しないため、ユーザはRAWデータが記録されていることを意識することがなく、また、RAWファイルによる外部記録媒体17の容量の圧迫を回避することができる。さらに、内部記録媒体16にはRAWデータが記録されるために、ユーザは、所定枚数を遡って画質を劣化させることなく画像処理を行うことが可能となる。   As described above, according to the digital camera 1 of the second embodiment, since the RAW file is not recorded on the external recording medium 17, the user is not aware that the RAW data is recorded. The compression of the capacity of the external recording medium 17 due to the RAW file can be avoided. Furthermore, since RAW data is recorded on the internal recording medium 16, the user can perform image processing without deteriorating the image quality by going back a predetermined number.

図1は、本発明に係るデジタルカメラ1の電気的構成を示すブロック図である。FIG. 1 is a block diagram showing an electrical configuration of a digital camera 1 according to the present invention. 図2は、デジタルカメラ1の撮影、画像処理、及び記録動作を示すフローチャートである。FIG. 2 is a flowchart showing photographing, image processing, and recording operations of the digital camera 1. 図3は、デジタルカメラ1の撮影済み画像の再生時の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of the digital camera 1 during playback of a captured image. 図4は、選択された画像に重ねてメニューを表示した表示媒体13を示す図である。FIG. 4 is a diagram showing the display medium 13 displaying a menu superimposed on a selected image. 図5は、第2の実施の形態のデジタルカメラ1の電気的構成を示すブロック図である。FIG. 5 is a block diagram illustrating an electrical configuration of the digital camera 1 according to the second embodiment. 図6は、第2の実施の形態のデジタルカメラ1の撮影、画像処理、及び記録動作を示すフローチャートである。FIG. 6 is a flowchart illustrating photographing, image processing, and recording operations of the digital camera 1 according to the second embodiment.

符号の説明Explanation of symbols

1…デジタルカメラ、11…撮像手段、12…カメラ制御手段、13…表示媒体、14…記録媒体、15…メモリ、16…内部記録媒体、17…外部記録媒体、21…撮像制御手段、22…画像処理手段、23…RAWファイル生成手段、24…圧縮・伸張手段、25…記録媒体制御手段、26…表示手段、101…レタッチメニュー、102…画質調整メニュー、103…画質調整可能告知、104…選択メニュー   DESCRIPTION OF SYMBOLS 1 ... Digital camera, 11 ... Imaging means, 12 ... Camera control means, 13 ... Display medium, 14 ... Recording medium, 15 ... Memory, 16 ... Internal recording medium, 17 ... External recording medium, 21 ... Imaging control means, 22 ... Image processing means 23 ... RAW file generation means 24 ... compression / decompression means 25 ... recording medium control means 26 ... display means 101 ... retouch menu 102 ... image quality adjustment menu 103 ... image quality adjustment possible notification 104 ... Selection menu

Claims (12)

RAWデータ記録モードを有さない撮像装置において、
被写体を撮影して被写体像を示す画像データを取得する撮像手段であって、未処理の画像データであるRAWデータを取得する撮像手段と、
前記RAWデータに対して可視化用の現像処理を含む信号処理を施し、前記RAWデータから処理済データを生成する信号処理手段と、
前記処理済データ及びRAWデータを記録媒体に記録する記録手段と、を備え、
前記記録手段は、前記記録媒体に前記RAWデータと該RAWデータから生成した処理済データとを関連付けて記録し、前記処理済データを記録する記録容量を確保できない場合には記録済のRAWデータを破棄して処理済データを記録することを特徴とする撮像装置。
In an imaging device that does not have a RAW data recording mode,
An imaging unit that captures image data indicating a subject image by capturing a subject, and that acquires RAW data that is unprocessed image data;
Signal processing means for performing signal processing including development processing for visualization on the RAW data, and generating processed data from the RAW data;
Recording means for recording the processed data and RAW data on a recording medium,
The recording means records the RAW data and the processed data generated from the RAW data in association with each other on the recording medium, and if the recording capacity for recording the processed data cannot be secured, the recorded RAW data is recorded. An image pickup apparatus for discarding and recording processed data.
前記記録手段は、前記RAWデータを記録する記録容量を確保できない場合には処理済データのみを記録することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the recording unit records only processed data when a recording capacity for recording the RAW data cannot be secured. 前記記録媒体の記録領域に所定の容量のRAWデータ記録領域を確保する領域確保手段を備え、
前記記録手段は、前記RAWデータ記録領域にRAWデータを記録する記録容量を確保できない場合には記録済のRAWデータを破棄してRAWデータを記録することを特徴とする請求項1に記載の撮像装置。
An area securing means for securing a RAW data recording area of a predetermined capacity in the recording area of the recording medium;
2. The imaging according to claim 1, wherein the recording unit discards the recorded RAW data and records the RAW data when a recording capacity for recording the RAW data cannot be secured in the RAW data recording area. apparatus.
前記破棄されるRAWデータは、最も古いRAWデータ又は所定時間以上経過したRAWデータであることを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein the discarded RAW data is the oldest RAW data or RAW data that has passed a predetermined time. 前記記録媒体は、前記撮像装置に内蔵された内部記録媒体と、前記撮像装置に着脱可能な外部記録媒体とからなり、
前記RAWデータ記録領域は前記内部記録媒体であることを特徴とする請求項3又は4のいずれかに記載の撮像装置。
The recording medium consists of an internal recording medium built in the imaging device and an external recording medium detachable from the imaging device,
The imaging apparatus according to claim 3, wherein the RAW data recording area is the internal recording medium.
前記記録手段は、前記外部記録媒体が装着されていない場合には、前記内部記録媒体に前記処理済データだけを記録することを特徴とする請求項5に記載の撮像装置。   6. The imaging apparatus according to claim 5, wherein the recording unit records only the processed data on the internal recording medium when the external recording medium is not attached. 前記記録手段は、前記外部記録媒体が装着されると、前記内部記録媒体に記録されている処理済データを前記外部記録媒体に移動することを特徴とする請求項6に記載の撮像装置。   The imaging apparatus according to claim 6, wherein when the external recording medium is loaded, the recording unit moves processed data recorded on the internal recording medium to the external recording medium. 前記処理済データを表示媒体に再生表示させる表示手段であって、前記再生表示された処理済データを画像処理するための第1の画像処理メニューを前記表示媒体に表示させる表示手段を備え、
前記表示手段は、前記再生表示された処理済データに関連付けて記録されたRAWデータが存在する場合に、前記RAWデータを必要とする第2の画像処理メニューを前記表示媒体に表示させることを特徴とする請求項1から7のいずれかに記載の撮像装置。
Display means for reproducing and displaying the processed data on a display medium, comprising display means for displaying on the display medium a first image processing menu for image processing of the reproduced and processed data;
The display means displays, on the display medium, a second image processing menu that requires the RAW data when there is RAW data recorded in association with the reproduced and displayed processed data. An imaging apparatus according to any one of claims 1 to 7.
前記信号処理手段は、前記第1の画像処理メニューが選択されると選択されたメニューに応じた信号処理を前記処理済データに施し、前記第2の画像処理メニューが選択されると選択されたメニューに応じた信号処理を前記処理済データに関連付けて記録されたRAWデータに施すことを特徴とする請求項8に記載の撮像装置。   The signal processing means performs signal processing on the processed data according to the selected menu when the first image processing menu is selected, and is selected when the second image processing menu is selected. 9. The imaging apparatus according to claim 8, wherein signal processing corresponding to a menu is performed on RAW data recorded in association with the processed data. 前記第1の画像処理メニューは、トリミング、リサイズ、文字挿入のうち少なくとも1つの項目を含み、前記第2の画像処理メニューは、色温度変更、色合い変更、彩度変更、コントラスト変更、明るさ変更、シャープネス変更、ノイズ低減のうち少なくとも1つの項目を含むことを特徴とする請求項8又は9に記載の撮像装置。   The first image processing menu includes at least one of trimming, resizing, and character insertion, and the second image processing menu includes color temperature change, hue change, saturation change, contrast change, and brightness change. The imaging apparatus according to claim 8, further comprising at least one of a sharpness change and a noise reduction. 前記再生表示された処理済データについて、画像処理による補正の必要の有無をユーザに選択させる手段を備え、
前記画像処理の必要性が無いと選択された場合は前記処理済データと関連付けて記録されたRAWデータを破棄することを特徴とする請求項8から10のいずれかに記載の撮像装置。
Means for allowing the user to select whether or not correction by image processing is necessary for the reproduced and displayed processed data;
The imaging apparatus according to claim 8, wherein when it is selected that there is no need for the image processing, the RAW data recorded in association with the processed data is discarded.
RAWデータ記録モードを有さない撮像装置の撮像制御方法において、
被写体を撮影して被写体像を示す画像データを取得する撮像工程であって、未処理の画像データであるRAWデータを取得する撮像工程と、
前記RAWデータに対して可視化用の現像処理を含む信号処理を施し、前記RAWデータから処理済データを生成する信号処理工程と、
前記処理済データ及びRAWデータを記録媒体に記録する記録工程と、を備え、
前記記録工程は、前記記録媒体に前記RAWデータと該RAWデータから生成した処理済データとを関連付けて記録し、前記処理済データを記録する記録容量を確保できない場合には記録済のRAWデータを破棄して処理済データを記録することを特徴とする撮像制御方法。
In an imaging control method of an imaging apparatus that does not have a RAW data recording mode,
An imaging step of capturing an image of a subject and acquiring image data indicating a subject image, and acquiring RAW data that is unprocessed image data;
A signal processing step of performing signal processing including development processing for visualization on the RAW data, and generating processed data from the RAW data;
A recording step of recording the processed data and RAW data on a recording medium,
In the recording step, the RAW data and the processed data generated from the RAW data are recorded in association with the recording medium, and when the recording capacity for recording the processed data cannot be secured, the recorded RAW data is recorded. An imaging control method characterized by discarding and recording processed data.
JP2008157831A 2008-06-17 2008-06-17 Imaging apparatus and imaging control method Withdrawn JP2009303122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008157831A JP2009303122A (en) 2008-06-17 2008-06-17 Imaging apparatus and imaging control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008157831A JP2009303122A (en) 2008-06-17 2008-06-17 Imaging apparatus and imaging control method

Publications (2)

Publication Number Publication Date
JP2009303122A true JP2009303122A (en) 2009-12-24
JP2009303122A5 JP2009303122A5 (en) 2011-02-24

Family

ID=41549513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008157831A Withdrawn JP2009303122A (en) 2008-06-17 2008-06-17 Imaging apparatus and imaging control method

Country Status (1)

Country Link
JP (1) JP2009303122A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016021168A1 (en) * 2014-08-04 2016-02-11 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and program
US10372404B2 (en) 2016-04-15 2019-08-06 Canon Kabushiki Kaisha Data processing apparatus, data processing method, and non-transitory computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005080053A (en) * 2003-09-02 2005-03-24 Nikon Gijutsu Kobo:Kk Digital camera and memory card
JP2006080846A (en) * 2004-09-09 2006-03-23 Seiko Epson Corp Digital camera and method of processing image
JP2006085247A (en) * 2004-09-14 2006-03-30 Konica Minolta Photo Imaging Inc Image processor, image processing method and program
JP2006191167A (en) * 2004-12-28 2006-07-20 Casio Comput Co Ltd Imaging apparatus, method of storing image data and reproducing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005080053A (en) * 2003-09-02 2005-03-24 Nikon Gijutsu Kobo:Kk Digital camera and memory card
JP2006080846A (en) * 2004-09-09 2006-03-23 Seiko Epson Corp Digital camera and method of processing image
JP2006085247A (en) * 2004-09-14 2006-03-30 Konica Minolta Photo Imaging Inc Image processor, image processing method and program
JP2006191167A (en) * 2004-12-28 2006-07-20 Casio Comput Co Ltd Imaging apparatus, method of storing image data and reproducing method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016021168A1 (en) * 2014-08-04 2016-02-11 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and program
US9967473B2 (en) 2014-08-04 2018-05-08 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and program
US10372404B2 (en) 2016-04-15 2019-08-06 Canon Kabushiki Kaisha Data processing apparatus, data processing method, and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
JP4126640B2 (en) Electronic camera
US8878951B2 (en) Image processing apparatus and method of controlling the same
JP4757113B2 (en) Imaging apparatus and control method thereof, information processing apparatus, printing apparatus, and print data generation method
JP4548355B2 (en) Movie playback apparatus and program thereof
JP2008022240A (en) Photographing device, image processor, image file generating method, image processing method, and image processing program
JP2010130437A (en) Imaging device and program
JP2008109629A (en) Image correction device, image correction method and program
JP5494744B2 (en) Imaging apparatus, control method, and program
JP2002300372A (en) Image processing device, recording medium for recording image processing program, and image reproducing device
JP2002305684A (en) Imaging system and program
JP2008085689A (en) Image pickup device, image pickup control program and image pickup control method
JP2008294704A (en) Display device and imaging apparatus
JP4888711B2 (en) Scene selection screen generation device, scene selection screen addition system, scene selection screen generation method, scene selection screen addition method, and program
JP2010021710A (en) Imaging device, image processor, and program
JP2007274661A (en) Imaging apparatus, image reproducing device and program
JP2009303122A (en) Imaging apparatus and imaging control method
JP2009033385A (en) Image processor, image processing method, image processing program and imaging device
JP4826480B2 (en) Imaging apparatus, image management method, and program
JP2007142639A (en) Imaging apparatus and program therefor
JP2005236496A (en) Image recording display system
JP5151947B2 (en) Imaging apparatus and program thereof
JP2008054128A (en) Image pickup device, image display apparatus, and its program
JP4379334B2 (en) Image composition apparatus and electronic camera
JP2008160290A (en) Imaging apparatus, and imaging method
JP5916984B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110105

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120309

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20120328