JP2010212965A - Camera - Google Patents

Camera Download PDF

Info

Publication number
JP2010212965A
JP2010212965A JP2009056489A JP2009056489A JP2010212965A JP 2010212965 A JP2010212965 A JP 2010212965A JP 2009056489 A JP2009056489 A JP 2009056489A JP 2009056489 A JP2009056489 A JP 2009056489A JP 2010212965 A JP2010212965 A JP 2010212965A
Authority
JP
Japan
Prior art keywords
image file
image
raw
storage medium
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009056489A
Other languages
Japanese (ja)
Inventor
Hiroki Uei
弘樹 上井
Toshihisa Yamaguchi
翁央 山口
Keita Kimura
啓太 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2009056489A priority Critical patent/JP2010212965A/en
Publication of JP2010212965A publication Critical patent/JP2010212965A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a camera that allows a user to instruct removal of image files if necessary, and removes image files with a large data size from a storage medium to leave image files with a small data size. <P>SOLUTION: On receiving an instruction to remove an image file from a user, a controller 104 removes only a RAW image file which is generated and recorded in a memory card as a JPEG image file by one photographing operation, and has a large data size from the memory card, and leaves the JPEG image file which has a smaller data size than that of the RAW image file in the memory card. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

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

次のようなデジタルカメラが知られている。このデジタルカメラは、撮影した画像がNG画像である場合には、JPEG画像データのみを記録媒体に記録し、RAW画像データは削除する(例えば、特許文献1)。   The following digital cameras are known. When the captured image is an NG image, this digital camera records only the JPEG image data on the recording medium and deletes the RAW image data (for example, Patent Document 1).

特開2007−215109号公報JP 2007-215109 A

しかしながら、従来のデジタルカメラでは、RAW画像データが削除されるのはNG画像のみなので、使用者が必要とするときにRAW画像データの削除を指示することはできなかった。   However, in the conventional digital camera, since the RAW image data is deleted only for the NG image, it is impossible to instruct the user to delete the RAW image data when necessary.

本発明によるカメラは、使用者からの記憶媒体に記録された画像ファイルの削除指示を受け付ける受付手段と、受付手段が削除指示を受け付けた場合に、記憶媒体から画像ファイルを削除するとともに、削除した画像ファイルよりもデータサイズが小さい画像ファイルを記憶媒体に残す削除制御手段とを備えることを特徴とする。
本発明では、1回の撮影処理によって第1の画像ファイルフォーマットの画像ファイル(第1の画像ファイル)と、第1の画像ファイルよりもデータサイズが小さい第2の画像ファイルフォーマットの画像ファイル(第2の画像ファイル)が生成され、これらが記憶媒体に記録されている場合には、削除制御手段は、第1の画像ファイルを記憶媒体から削除して、第2の画像ファイルを前記記憶媒体に残すようにしてもよい。
削除制御手段は、記憶媒体から画像ファイルを削除する際に、削除対象の画像ファイルに基づいて、削除対象の画像ファイルよりもデータサイズが小さい画像ファイルを生成して記憶媒体に記録するようにしてもよい。
削除対象の画像ファイルが画像データを生成するために必要な画像処理を適用する前の画像ソースデータであるRAWデータを含むRAW画像ファイルである場合には、削除制御手段は、記憶媒体からRAW画像ファイルを削除する際に、削除対象のRAW画像ファイルに含まれるRAWデータに対して現像処理を施すことによって、RAW画像ファイルよりもデータサイズが小さい画像ファイルを生成して記憶媒体に記録するようにしてもよい。
削除対象の画像ファイルが画像データを生成するために必要な画像処理を適用する前の画像ソースデータであるRAWデータを含むRAW画像ファイルである場合には、削除制御手段は、記憶媒体からRAW画像ファイルを削除する際に、RAWデータに対して切り出し処理または縮小処理を施すことによって、RAW画像ファイルよりもデータサイズが小さい画像ファイルを生成して記憶媒体に記録するようにしてもよい。
本発明によるカメラは、記憶媒体に残した画像ファイルを削除することにより、記憶媒体内に次の撮影を行うために必要な空き容量を確保することができる場合には、その旨を使用者に通知する通知手段をさらに備えるようにしてもよい。
The camera according to the present invention receives a deletion instruction for an image file recorded on a storage medium from a user, and deletes the image file from the storage medium when the reception means receives a deletion instruction. Deletion control means for leaving an image file having a data size smaller than that of the image file on a storage medium.
In the present invention, an image file in the first image file format (first image file) and a second image file format in which the data size is smaller than that of the first image file (first image file) by one shooting process. 2) are generated and recorded in the storage medium, the deletion control means deletes the first image file from the storage medium and stores the second image file in the storage medium. It may be left.
When deleting the image file from the storage medium, the deletion control means generates an image file having a data size smaller than the image file to be deleted and records it on the storage medium. Also good.
When the image file to be deleted is a RAW image file including RAW data that is image source data before application of image processing necessary for generating image data, the deletion control means reads the RAW image from the storage medium. When deleting a file, development processing is performed on the RAW data included in the RAW image file to be deleted, so that an image file having a data size smaller than that of the RAW image file is generated and recorded on the storage medium. May be.
When the image file to be deleted is a RAW image file including RAW data that is image source data before application of image processing necessary for generating image data, the deletion control means reads the RAW image from the storage medium. When a file is deleted, an image file having a data size smaller than that of the RAW image file may be generated and recorded on a storage medium by performing cutout processing or reduction processing on the RAW data.
When the camera according to the present invention can secure the free space necessary for the next shooting in the storage medium by deleting the image file left on the storage medium, the camera is notified to that effect. You may make it further provide the notification means to notify.

本発明によれば、使用者は、必要なときに画像ファイルの削除を指示することができ、記憶媒体からデータサイズが大きい画像ファイルを削除して、データサイズが小さい画像ファイルを残すことができる。   According to the present invention, a user can instruct deletion of an image file when necessary, and can delete an image file having a large data size from a storage medium and leave an image file having a small data size. .

カメラ100の一実施の形態の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an embodiment of a camera 100. FIG. カメラ100の処理を示すフローチャート図である。FIG. 6 is a flowchart showing processing of the camera 100.

図1は、本実施の形態におけるカメラの一実施の形態の構成を示すブロック図である。カメラ100は、操作部材101と、レンズ102と、撮像素子103と、制御装置104と、メモリカードスロット105と、モニタ106とを備えている。操作部材101は、使用者によって操作される種々の入力部材、例えば電源ボタン、レリーズボタン、ズームボタン、十字キー、決定ボタン、再生ボタン、削除ボタンなどを含んでいる。   FIG. 1 is a block diagram illustrating a configuration of an embodiment of a camera according to the present embodiment. The camera 100 includes an operation member 101, a lens 102, an image sensor 103, a control device 104, a memory card slot 105, and a monitor 106. The operation member 101 includes various input members operated by the user, such as a power button, a release button, a zoom button, a cross key, an enter button, a play button, and a delete button.

レンズ102は、複数の光学レンズから構成されるが、図1では代表して1枚のレンズで表している。撮像素子103は、例えばCCDやCMOSなどのイメージセンサーであり、レンズ102により結像した被写体像を撮像する。そして、撮像によって得られた画像信号を制御装置104へ出力する。   The lens 102 is composed of a plurality of optical lenses, but is representatively represented by one lens in FIG. The image sensor 103 is an image sensor such as a CCD or a CMOS, for example, and captures a subject image formed by the lens 102. Then, an image signal obtained by imaging is output to the control device 104.

制御装置104は、CPU、メモリ、およびその他の周辺回路により構成され、カメラ100を制御する。なお、制御装置104を構成するメモリには、SDRAMやフラッシュメモリが含まれる。SDRAMは、揮発性のメモリであって、CPUがプログラム実行時にプログラムを展開するためのワークメモリとして使用されたり、データを一時的に記録するためのバッファメモリとして使用される。また、フラッシュメモリは、不揮発性のメモリであって、制御装置104が実行するプログラムのデータや、プログラム実行時に読み込まれる種々のパラメータなどが記録されている。   The control device 104 includes a CPU, a memory, and other peripheral circuits, and controls the camera 100. Note that the memory constituting the control device 104 includes SDRAM and flash memory. The SDRAM is a volatile memory, and is used as a work memory for the CPU to develop a program when the program is executed or as a buffer memory for temporarily recording data. The flash memory is a non-volatile memory in which data of a program executed by the control device 104, various parameters read during program execution, and the like are recorded.

制御装置104は、撮像素子103から入力された画像信号に基づいて、所定のファイルフォーマットの画像ファイルを生成してメモリカードスロット105へ出力する。本実施の形態では、制御装置104は、1回の撮影処理で得られた画像信号に基づいて、RAWデータを含むRAW画像ファイルとJPEGデータを含むJPEG画像ファイルとを生成する。なお、RAWデータとは、画像データを生成するために必要な画像処理を適用する前の画像ソースデータをいう。また、JPEGデータとは、RAWデータに対して画像データを生成するために必要な画像処理を適用して得られる画像データをJPEG形式に圧縮した画像データをいう。   The control device 104 generates an image file having a predetermined file format based on the image signal input from the image sensor 103 and outputs the image file to the memory card slot 105. In the present embodiment, the control device 104 generates a RAW image file including RAW data and a JPEG image file including JPEG data based on an image signal obtained by one imaging process. The RAW data refers to image source data before application of image processing necessary for generating image data. The JPEG data refers to image data obtained by compressing image data obtained by applying image processing necessary for generating image data to RAW data into JPEG format.

なお、制御装置104は、1回の撮影処理で生成したRAW画像ファイルのファイル名の拡張子を除いた部分と、JPEG画像ファイルの拡張子を除いた部分とを一致させておくことによって、両画像ファイルを関連付ける。これによって、後述する種々の処理において、制御装置104は、RAW画像ファイルのファイル名の拡張子を除いた部分と、JPEG画像ファイルのファイル名の拡張子を除いた部分とを比較して、両者が一致するものを特定することにより、1回の撮影処理で生成されたRAW画像ファイルとJPEG画像ファイルを特定することができる。   Note that the control device 104 matches both the part excluding the file name extension of the RAW image file generated in one shooting process with the part excluding the extension of the JPEG image file. Associate an image file. Accordingly, in various processes to be described later, the control device 104 compares the portion excluding the file name extension of the RAW image file with the portion excluding the file name extension of the JPEG image file. By specifying those that match, it is possible to specify a RAW image file and a JPEG image file generated by one shooting process.

例えば、RAW画像ファイルの拡張子が「.NEF」であって、JPEG画像ファイルの拡張子が「.JPG」である場合について説明する。この場合には、制御装置104は、1回の撮影処理でRAW画像ファイルとJPEG画像ファイルとを生成したときに、RAW画像ファイルには「DSC_0001.NEF」というファイル名を付加し、JPEG画像ファイルには「DSC_0001.JPG」というファイル名を付加する。   For example, a case where the extension of the RAW image file is “.NEF” and the extension of the JPEG image file is “.JPG” will be described. In this case, when the control device 104 generates a RAW image file and a JPEG image file in one shooting process, the file name “DSC — 0001.NEF” is added to the RAW image file, and the JPEG image file Is appended with a file name “DSC — 0001.JPG”.

RAW画像ファイルおよびJPEG画像ファイルは、それぞれメタデータ等を格納するヘッダー部と画像ソースデータまたは画像データを格納するデータ部とを有している。RAW画像ファイルのヘッダー部には、データ部に格納されているRAWデータを出力用の画像データに現像するための画像処理パラメータ(現像パラメータ)が格納される。制御装置104は、データ部に格納されているRAWデータに対してヘッダー部に格納されている現像パラメータを適用して現像処理を行うことによって、出力用の画像データ、例えばJEPGデータを生成することができる。   Each of the RAW image file and the JPEG image file has a header portion for storing metadata and the like, and a data portion for storing image source data or image data. The header part of the RAW image file stores an image processing parameter (development parameter) for developing the RAW data stored in the data part into image data for output. The control device 104 generates image data for output, for example, JEPG data, by performing development processing by applying the development parameters stored in the header portion to the RAW data stored in the data portion. Can do.

また、RAW画像ファイルのヘッダー部には、データ部に格納されているRAWデータに現像パラメータを適用することによって生成された表示用画像データ、例えば、RAWデータに現像パラメータを適用して得た画像データを縮小することにより作成されたサムネイル画像データが記録されている。JPEG画像ファイルのヘッダー部には、JPEGデータを縮小することにより生成されたサムネイル画像データが記録されている。   Further, in the header part of the RAW image file, display image data generated by applying the development parameter to the RAW data stored in the data part, for example, an image obtained by applying the development parameter to the RAW data. Thumbnail image data created by reducing the data is recorded. In the header portion of the JPEG image file, thumbnail image data generated by reducing the JPEG data is recorded.

メモリカードスロット105は、記憶媒体としてのメモリカードを挿入するためのスロットであり、制御装置104から出力されたRAW画像ファイルとJPEG画像ファイルとをメモリカードに書き込んで記録する。また、メモリカードスロット105は、制御装置104からの指示に基づいて、メモリカード内に記憶されている画像ファイルを読み込んで制御装置104へ出力する。   The memory card slot 105 is a slot for inserting a memory card as a storage medium, and records and records the RAW image file and JPEG image file output from the control device 104 on the memory card. The memory card slot 105 reads an image file stored in the memory card based on an instruction from the control device 104 and outputs the image file to the control device 104.

モニタ106は、カメラ100の背面に搭載された液晶モニタ(背面モニタ)であり、当該モニタ106には、メモリカードに記憶されている画像やカメラ100を設定するための設定メニューなどが表示される。   The monitor 106 is a liquid crystal monitor (rear monitor) mounted on the back surface of the camera 100, and the monitor 106 displays an image stored in a memory card, a setting menu for setting the camera 100, and the like. .

本実施の形態では、制御装置104は、使用者の指示に基づいてメモリカードに記録されている画像ファイルのヘッダー部からサムネイル画像データを抽出してモニタ106に出力することによって、モニタ106上にサムネイル画像を一覧表示する。このとき、本実施の形態では上述したように1回の撮影処理で生成された2つの画像ファイル(RAW画像ファイルとJPEG画像ファイル)とがあるため、いずれか一方の画像ファイルからサムネイル画像データを抽出してサムネイル画像を表示すれば足りる。   In the present embodiment, the control device 104 extracts thumbnail image data from the header portion of the image file recorded on the memory card based on the user's instruction, and outputs the thumbnail image data to the monitor 106, so that it is displayed on the monitor 106. List thumbnail images. At this time, in this embodiment, since there are two image files (RAW image file and JPEG image file) generated by one shooting process as described above, thumbnail image data is obtained from either one of the image files. Extracting and displaying thumbnail images is sufficient.

本実施の形態では、制御装置104は、使用者からの画像表示指示があった場合には、例えば、メモリカードに記録されているRAW画像ファイルのヘッダー部からサムネイル画像データを抽出してモニタ106に出力することによって、モニタ106にサムネイル画像を一覧表示する。   In the present embodiment, when there is an image display instruction from the user, for example, the control device 104 extracts thumbnail image data from the header portion of the RAW image file recorded on the memory card and monitors the monitor 106. To display a list of thumbnail images on the monitor 106.

使用者は、操作部材101を操作することによって、モニタ106に一覧表示されたサムネイル画像のうちのいずれか1つを選択し、選択したサムネイル画像に対応する画像ファイルの削除を指示することができる。制御装置104は、使用者から画像ファイルの削除が指示された場合には、メモリカードに記録されている画像ファイルの中から使用者によって選択されたサムネイル画像に対応する画像ファイルを削除対象として特定する。   The user can select any one of the thumbnail images displayed as a list on the monitor 106 by operating the operation member 101 and can instruct deletion of an image file corresponding to the selected thumbnail image. . When the user is instructed to delete the image file, the control device 104 specifies the image file corresponding to the thumbnail image selected by the user from the image files recorded on the memory card as the deletion target. To do.

なお、本実施の形態では、1回の撮影処理で生成された2つの画像ファイル(RAW画像ファイルとJPEG画像ファイル)が生成されてメモリカードに記録されているため、削除対象として特定する画像ファイルとしては、RAW画像ファイルとJPEG画像ファイルの両方、またはRAW画像ファイルとJPEG画像ファイルとのいずれか一方とすることが考えられる。   In this embodiment, since two image files (RAW image file and JPEG image file) generated by one shooting process are generated and recorded on the memory card, the image file specified as the deletion target For example, it is possible to use either a RAW image file and a JPEG image file, or a RAW image file and a JPEG image file.

使用者が画像ファイルを削除する場合の一例としては、メモリカードの空き容量が少なくなっており、次の撮影を行うためにメモリカードの空き容量を増やす必要がある場合が考えられる。このとき、使用者は、メモリカードの空き容量を確保するために、本当は残しておきたい画像ファイルの中からいずれかを選択してやむを得ず削除する場合と、不要な画像ファイルを探し出して削除する場合とが考えられる。   As an example of the case where the user deletes the image file, there is a case where the free space of the memory card is small and it is necessary to increase the free space of the memory card in order to perform the next shooting. At this time, in order to secure free space on the memory card, the user must select one of the image files that he / she really wants to keep and delete it, or search for and delete unnecessary image files. You could think so.

削除対象の画像ファイルが、使用者がやむを得ず削除するものである場合には、メモリカードの空き容量を確保するために、データサイズが大きいRAW画像ファイルのみを削除して、JPEG画像ファイルを残しておくことが好ましい。これに対して、削除対象の画像ファイルが不要な画像ファイルである場合には、RAW画像ファイルとJPEG画像ファイルの両方を削除しても差し支えない。   If the image file to be deleted is unavoidably deleted by the user, only the RAW image file with a large data size is deleted and the JPEG image file is left in order to secure the free space of the memory card. It is preferable to keep. On the other hand, when the image file to be deleted is an unnecessary image file, both the RAW image file and the JPEG image file may be deleted.

よって、本実施の形態では、安全を考慮して、制御装置104は、使用者から画像ファイルの削除指示があった場合には、選択されたサムネイル画像に対応するRAW画像ファイルを特定し、メモリカード内から特定したRAW画像ファイルのみを削除するようにする。これによって、使用者による画像ファイルの削除指示に基づいて、データサイズが大きいRAW画像ファイルを削除してメモリカードの空き容量を確保するとともに、データサイズが小さいJPEG画像ファイルを残して、画像が完全に消失することを防ぐことができる。   Therefore, in the present embodiment, in consideration of safety, when there is an instruction to delete an image file from the user, the control device 104 specifies a RAW image file corresponding to the selected thumbnail image, and Only the specified RAW image file is deleted from the card. As a result, based on an instruction to delete the image file by the user, the RAW image file having a large data size is deleted to secure a free space on the memory card, and the JPEG image file having a small data size is left, and the image is completely Can be prevented from disappearing.

制御装置104は、使用者の指示に基づいてRAW画像ファイルをメモリカードから削除した場合には、それに対応するJPEG画像ファイルをメモリカード内に作成した専用のフォルダ(以下、「JPEGフォルダ」と呼ぶ)に移動する。これによって、対応するRAW画像ファイルが削除されていないJPEG画像ファイルと、対応するRAW画像ファイルが削除されたJPEG画像ファイルとを区別してメモリカードに記録することができる。   When the RAW image file is deleted from the memory card based on the user's instruction, the control device 104 creates a dedicated folder (hereinafter referred to as “JPEG folder”) in which the corresponding JPEG image file is created in the memory card. ) As a result, it is possible to distinguish between a JPEG image file from which the corresponding RAW image file has not been deleted and a JPEG image file from which the corresponding RAW image file has been deleted, and record them on the memory card.

上述したように、削除対象の画像ファイルの中には使用者にとって不要な画像ファイルも含まれるため、JPEGフォルダに移動されたJPEG画像ファイルの中には、使用者が不要と判断して削除を指示した画像のJPEG画像ファイルも含まれることになる。すなわち、上記のように処理した場合には、本来であれば削除しても問題のないJPEG画像ファイルがメモリカード内に残ってしまう可能性がある。   As described above, image files that are unnecessary for the user are included in the image files to be deleted. Therefore, in the JPEG image files moved to the JPEG folder, the user determines that they are unnecessary and deletes them. A JPEG image file of the instructed image is also included. In other words, when processing is performed as described above, there is a possibility that a JPEG image file that can be deleted if it is originally left in the memory card.

このため、制御装置104は、使用者が新たなサムネイル画像を選択して画像ファイルの削除を指示したときに、メモリカードの空き容量とJPEGフォルダ内に記録されているJPEG画像ファイルの合計データサイズを確認する。そして、制御装置104は、メモリカード内に次の撮影を行うために必要な空き容量がない場合であって、かつJPEGフォルダ内のJPEG画像ファイルを削除すれば、次の撮影を行うために必要な空き容量を確保できる場合には、使用者にその旨を通知する。また、制御装置104は、同時に、新たに選択したサムネイル画像に対応するRAW画像ファイルを削除するか、あるいはJPEGフォルダ内に記録されているJPEG画像ファイルを削除するかの選択を促す。   Therefore, when the user selects a new thumbnail image and instructs to delete the image file, the control device 104 uses the free space of the memory card and the total data size of the JPEG image file recorded in the JPEG folder. Confirm. The control device 104 is necessary for the next shooting if the memory card does not have enough free space for the next shooting and if the JPEG image file in the JPEG folder is deleted. If sufficient free space can be secured, the user is notified of this. At the same time, the control device 104 prompts the user to select whether to delete the RAW image file corresponding to the newly selected thumbnail image or to delete the JPEG image file recorded in the JPEG folder.

使用者は、上記通知に従って、新たに選択したサムネイル画像に対応するRAW画像ファイルを削除するか、あるいはJPEGフォルダ内に記録されているJPEG画像ファイルを削除するかを選択することができ、制御装置104は、使用者による選択結果に応じた画像ファイルをメモリカード内から削除する。これによって、使用者は、新たなRAW画像ファイルを削除するか、あるいは既に削除指示を行った結果、JPEGフォルダに退避されているJPEG画像ファイルを削除するかを選択して、メモリカードの空き容量を確保することができる。   The user can select whether to delete the RAW image file corresponding to the newly selected thumbnail image or to delete the JPEG image file recorded in the JPEG folder according to the notification. An image file 104 is deleted from the memory card according to the selection result by the user. As a result, the user selects whether to delete a new RAW image file, or to delete a JPEG image file saved in the JPEG folder as a result of having already issued a deletion instruction. Can be secured.

図2は、本実施の形態におけるカメラ100の処理を示すフローチャートである。図2に示す処理は、使用者によって画像の閲覧が指示されると起動するプログラムとして、制御装置104によって実行される。   FIG. 2 is a flowchart showing processing of the camera 100 in the present embodiment. The process shown in FIG. 2 is executed by the control device 104 as a program that is activated when an instruction to view an image is given by the user.

ステップS10において、制御装置104は、メモリカードに記録されているRAW画像ファイルのヘッダー部からサムネイル画像データを抽出してモニタ106に出力することによって、モニタ106にサムネイル画像を一覧表示する。その後、ステップS20へ進み、制御装置104は、使用者によっていずれかのサムネイル画像が選択されて、そのサムネイル画像に対応する画像ファイルの削除が指示されたか否かを判断する。ステップS20で否定判断した場合には、後述するステップS90へ進む。これに対して、ステップS20で肯定判断した場合には、ステップS30へ進む。   In step S10, the control device 104 displays thumbnail images as a list on the monitor 106 by extracting thumbnail image data from the header portion of the RAW image file recorded on the memory card and outputting the thumbnail image data to the monitor 106. Thereafter, the process proceeds to step S20, and the control device 104 determines whether any thumbnail image is selected by the user and an instruction to delete an image file corresponding to the thumbnail image is given. If a negative determination is made in step S20, the process proceeds to step S90 described later. On the other hand, if a positive determination is made in step S20, the process proceeds to step S30.

ステップS30では、制御装置104は、メモリカードの空き容量とJPEGフォルダ内に記録されているJPEG画像ファイルの合計データサイズを確認する。その後、ステップS40へ進み、制御装置104は、JPEGフォルダ内のJPEG画像ファイルを削除すれば、次の撮影を行うために必要な空き容量を確保することができるか否かを判断する。ステップS40で否定判断した場合には、ステップS80へ進み、制御装置104は、使用者によって選択されたサムネイル画像に対応するRAW画像ファイルをメモリカードから削除して、後述するステップS90へ進む。   In step S30, the control device 104 confirms the free space of the memory card and the total data size of the JPEG image file recorded in the JPEG folder. Thereafter, the process proceeds to step S40, and the control device 104 determines whether or not the free space necessary for the next shooting can be secured if the JPEG image file in the JPEG folder is deleted. When a negative determination is made in step S40, the process proceeds to step S80, and the control device 104 deletes the RAW image file corresponding to the thumbnail image selected by the user from the memory card, and proceeds to step S90 described later.

これに対して、ステップS40で肯定判断した場合には、ステップS50へ進み、制御装置104は、使用者に対して、JPEGフォルダ内のJPEG画像ファイルを削除すれば、次の撮影を行うために必要な空き容量を確保できる旨を通知し、さらに新たに選択したサムネイル画像に対応するRAW画像ファイルを削除するか、あるいはJPEGフォルダ内に記録されているJPEG画像ファイルを削除するかの選択を促す。その後、ステップS60へ進む。   On the other hand, if an affirmative determination is made in step S40, the process proceeds to step S50, and the control device 104 causes the user to delete the JPEG image file in the JPEG folder and perform the next shooting. Notifies that the necessary free space can be secured, and prompts the user to select whether to delete the RAW image file corresponding to the newly selected thumbnail image or to delete the JPEG image file recorded in the JPEG folder . Thereafter, the process proceeds to step S60.

ステップS60では、制御装置104は、使用者によって、JPEGフォルダ内のJPEG画像ファイルを削除するように指示されたか否かを判断する。ステップS60で否定判断した場合には、上述したステップS80へ進み、制御装置104は、使用者によって選択されたサムネイル画像に対応するRAW画像ファイルをメモリカードから削除して、後述するステップS90へ進む。これに対して、ステップS60で肯定判断した場合には、ステップS70へ進む。   In step S60, the control device 104 determines whether the user has instructed to delete the JPEG image file in the JPEG folder. If a negative determination is made in step S60, the process proceeds to step S80 described above, and the control device 104 deletes the RAW image file corresponding to the thumbnail image selected by the user from the memory card, and proceeds to step S90 described later. . On the other hand, if a positive determination is made in step S60, the process proceeds to step S70.

ステップS70では、制御装置104は、メモリカード内のJPEGフォルダに記録されているJPEG画像ファイルを削除して、ステップS90へ進む。ステップS90では、制御装置104は、使用者によって操作部材101が操作されることにより、サムネイル画像一覧の閲覧終了が指示されたか否かを判断する。ステップS90で否定判断した場合には、ステップS20へ戻って処理を繰り返す。これに対して、ステップS90で肯定判断した場合には、処理を終了する。   In step S70, the control device 104 deletes the JPEG image file recorded in the JPEG folder in the memory card, and proceeds to step S90. In step S90, the control device 104 determines whether or not an instruction to end browsing of the thumbnail image list is given by the operation of the operation member 101 by the user. If a negative determination is made in step S90, the process returns to step S20 and is repeated. On the other hand, when an affirmative determination is made in step S90, the process ends.

以上説明した本実施の形態によれば、以下のような作用効果を得ることができる。
(1)制御装置104は、使用者による画像ファイルの削除指示を受け付けた場合には、メモリカードからデータサイズが大きいRAW画像ファイルを削除するとともに、RAW画像ファイルよりもデータサイズが小さいJPEG画像ファイルをメモリカードに残すようにした。これによって、画像が完全に消失するのを防いだ上で、メモリカードの空き容量を確保することができる。
According to the present embodiment described above, the following operational effects can be obtained.
(1) When receiving an image file deletion instruction from the user, the control device 104 deletes a RAW image file having a large data size from the memory card and a JPEG image file having a data size smaller than that of the RAW image file. Was left on the memory card. As a result, it is possible to secure the free space of the memory card while preventing the image from completely disappearing.

(2)制御装置104は、使用者が新たなサムネイル画像を選択して画像ファイルの削除を指示したときに、メモリカードの空き容量とJPEGフォルダ内に記録されているJPEG画像ファイルの合計データサイズを確認するようにし、JPEGフォルダ内のJPEG画像ファイルを削除すれば、次の撮影を行うために必要な空き容量を確保できる場合には、使用者にその旨を通知するようにした。これによって、使用者は、JEPGフォルダ内の画像ファイルを削除することにより、メモリカード内に次の撮影を行うために必要な空き容量を確保することができることを把握することができる。 (2) When the user selects a new thumbnail image and gives an instruction to delete the image file, the control device 104 has a free space on the memory card and the total data size of the JPEG image file recorded in the JPEG folder. If the JPEG image file in the JPEG folder is deleted and the free space necessary for the next shooting can be secured, the user is notified of this. As a result, the user can grasp that the free space necessary for the next shooting can be secured in the memory card by deleting the image file in the JEPPG folder.

―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した実施の形態では、制御装置104は、使用者から画像ファイルの削除指示があった場合でも、メモリカードからRAW画像ファイルのみを削除し、RAW画像ファイルよりもデータサイズが小さいJPEG画像ファイルは残しておくことによって、画像が完全に消失することを防ぐようにした。しかしながら、制御装置104は、使用者から画像ファイルの削除指示があった場合には、メモリカードからRAW画像ファイルとJPEG画像ファイルの両方を削除するようにしてもよい。そして、制御装置104は、以下の(A)から(C)のいずれかの方法により、RAW画像ファイルよりもデータサイズが小さい画像ファイルをメモリカード内に残すことによって、上述した実施の形態と同様の効果を得るようにしてもよい。
-Modification-
The camera according to the above-described embodiment can be modified as follows.
(1) In the embodiment described above, the control device 104 deletes only the RAW image file from the memory card even when the user instructs to delete the image file, and the JPEG having a data size smaller than that of the RAW image file. The image file is kept so that the image is not completely lost. However, the control device 104 may delete both the RAW image file and the JPEG image file from the memory card when the user instructs to delete the image file. Then, the control device 104 leaves an image file having a data size smaller than that of the RAW image file in the memory card by any one of the following methods (A) to (C), and thus is the same as in the above-described embodiment. You may make it acquire the effect of.

(A)制御装置104は、RAW画像ファイルとJPEG画像ファイルとを削除する際に、RAW画像ファイルのヘッダー部に格納されている撮影時の現像パラメータを用いてRAWデータを現像することによってJPEG画像データを生成し、これを格納したJPEG画像ファイルをメモリカード内に残しておくようにしてもよい。なお、現像処理を行うに当たっては、必ずしも撮影時の現像パラメータを使用する必要はなく、使用者が新たに現像パラメータを設定できるようにしてもよい。 (A) When deleting the RAW image file and the JPEG image file, the control device 104 develops the RAW data by using the development parameters at the time of shooting stored in the header part of the RAW image file, thereby generating a JPEG image. Data may be generated and a JPEG image file storing the data may be left in the memory card. Note that when performing development processing, it is not always necessary to use development parameters at the time of shooting, and the user may be able to newly set development parameters.

(B)制御装置104は、RAW画像ファイルとJPEG画像ファイルとを削除する際に、RAW画像ファイルのヘッダー部に格納されている表示用画像データ、例えばサムネイル画像データを格納した画像ファイルを生成し、これをメモリカード内に残しておくようにしてもよい。 (B) When deleting the RAW image file and the JPEG image file, the control device 104 generates an image file storing display image data stored in the header portion of the RAW image file, for example, thumbnail image data. This may be left in the memory card.

(C)制御装置104は、RAW画像ファイルとJPEG画像ファイルとを削除する際に、RAW画像ファイルに格納されているRAWデータを所定の大きさに切り取ったり、RAWデータを縮小したりしてデータサイズを小さくした後に、これを格納した画像ファイルを生成してメモリカード内に残しておくようにしてもよい。 (C) When the RAW image file and the JPEG image file are deleted, the control device 104 cuts the RAW data stored in the RAW image file into a predetermined size or reduces the RAW data. After reducing the size, an image file storing the size may be generated and left in the memory card.

(2)上述した実施の形態では、制御装置104は、1回の撮影処理でRAW画像ファイルとJPEG画像ファイルとを生成してメモリカードに記録しておき、使用者からの画像削除指示があった場合には、データサイズが大きいRAW画像ファイルを削除してデータサイズが小さいJPEG画像ファイルを残す例について説明した。しかしながら、変形例(1)で上述した(A)から(C)の方法をとる場合には、必ずしも1回の撮影処理でRAW画像ファイルとJPEG画像ファイルとが生成されている必要はない。 (2) In the embodiment described above, the control device 104 generates a RAW image file and a JPEG image file in one shooting process, records them on a memory card, and issues an image deletion instruction from the user. In this case, an example has been described in which a RAW image file having a large data size is deleted and a JPEG image file having a small data size is left. However, when the methods (A) to (C) described above in the modification (1) are used, it is not always necessary to generate the RAW image file and the JPEG image file by one shooting process.

すなわち、1回の撮影処理でRAW画像ファイルが生成されていれば、JPEG画像ファイルが生成されていなくても、(A)で上述したように現像処理を行って新たなJPEGファイルを生成することができる。また、(B)で上述したように、RAW画像ファイルのヘッダー部から表示用画像データを読み出して新たな画像ファイルを生成することができる。また、(C)で上述したように、RAWデータに対して切り出し処理や縮小処理を行うことができる。   That is, if a RAW image file has been generated by one shooting process, a new JPEG file is generated by performing development processing as described above in (A) even if a JPEG image file is not generated. Can do. Further, as described above in (B), it is possible to read the display image data from the header part of the RAW image file and generate a new image file. In addition, as described above with reference to (C), it is possible to perform cut-out processing and reduction processing on RAW data.

(3)上述した実施の形態では、制御装置104は、メモリカード内からRAW画像ファイルを削除してJPEG画像ファイルを残す場合には、JPEG画像ファイルをメモリカード内に作成したJPEGフォルダに移動する例について説明した。しかしながら、制御装置104は、JPEG画像ファイルをJPEGフォルダに移動せずにそのまま残しておいてもよい。あるいは、制御装置104は、JPEG画像ファイルをネットワークを介して接続されている他の外部装置に送信して退避するようにしてもよい。 (3) In the above-described embodiment, when deleting the RAW image file from the memory card and leaving the JPEG image file, the control device 104 moves the JPEG image file to the JPEG folder created in the memory card. An example was described. However, the control device 104 may leave the JPEG image file as it is without moving it to the JPEG folder. Alternatively, the control device 104 may transmit the JPEG image file to another external device connected via the network and save it.

(4)上述した実施の形態では、制御装置104は、1回の撮影処理で得られた画像信号に基づいて、RAW画像ファイルとJPEG画像ファイルとを生成し、これらをメモリカードに記録するようにした。そして、制御装置104は、使用者から画像ファイルの削除が指示された場合には、データサイズが大きいRAW画像ファイルをメモリカードから削除し、データサイズが小さいJPEG画像ファイルをメモリカードに残す例について説明した。しかしながら、制御装置104は、1回の撮影処理で得られた画像信号に基づいて、上記RAW画像ファイルとJPEG画像ファイルとの組み合わせとは異なる組み合わせで、異なるフォーマットの2つの画像ファイルを生成するようにしてもよい。この場合、制御装置104は、使用者から画像ファイルの削除が指示された場合には、異なる2つのフォーマットの画像ファイルのうち、データサイズが大きいフォーマットの画像ファイルをメモリカードから削除し、データサイズが小さいフォーマットの画像ファイルをメモリカードに残すようにしてもよい。 (4) In the above-described embodiment, the control device 104 generates a RAW image file and a JPEG image file based on the image signal obtained by one imaging process, and records these on a memory card. I made it. When the user is instructed to delete an image file, the control device 104 deletes a RAW image file having a large data size from the memory card and leaves a JPEG image file having a small data size on the memory card. explained. However, the control device 104 generates two image files of different formats based on the image signal obtained in one shooting process, in a combination different from the combination of the RAW image file and the JPEG image file. It may be. In this case, when deletion of an image file is instructed by the user, the control device 104 deletes an image file having a large data size from two different format image files from the memory card, and sets the data size. Alternatively, an image file having a small format may be left on the memory card.

なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。また、上述の実施の形態と複数の変形例を組み合わせた構成としてもよい。   Note that the present invention is not limited to the configurations in the above-described embodiments as long as the characteristic functions of the present invention are not impaired. Moreover, it is good also as a structure which combined the above-mentioned embodiment and a some modification.

100 カメラ、101 操作部材、102 レンズ、103 撮像素子、104 制御装置、105 メモリカードスロット、106 モニタ 100 Camera, 101 Operation member, 102 Lens, 103 Image sensor, 104 Control device, 105 Memory card slot, 106 Monitor

Claims (6)

使用者からの記憶媒体に記録された画像ファイルの削除指示を受け付ける受付手段と、
前記受付手段が前記削除指示を受け付けた場合に、前記記憶媒体から前記画像ファイルを削除するとともに、削除した前記画像ファイルと同一被写体を撮影した画像を含み、かつ削除した画像ファイルよりもデータサイズが小さい画像ファイルを前記記憶媒体に残す削除制御手段とを備えることを特徴とするカメラ。
Receiving means for receiving an instruction to delete an image file recorded on a storage medium from a user;
When the accepting unit accepts the delete instruction, the image file is deleted from the storage medium, includes an image of the same subject as the deleted image file, and has a data size larger than that of the deleted image file. A camera comprising: deletion control means for leaving a small image file in the storage medium.
請求項1に記載のカメラにおいて、
1回の撮影処理によって第1の画像ファイルフォーマットの画像ファイル(第1の画像ファイル)と、前記第1の画像ファイルよりもデータサイズが小さい第2の画像ファイルフォーマットの画像ファイル(第2の画像ファイル)が生成され、これらが前記記憶媒体に記録されている場合には、前記削除制御手段は、前記第1の画像ファイルを前記記憶媒体から削除して、前記第2の画像ファイルを前記記憶媒体に残すことを特徴とするカメラ。
The camera of claim 1,
An image file in the first image file format (first image file) and a second image file format in which the data size is smaller than that of the first image file (second image) by one shooting process. File) are generated and recorded in the storage medium, the deletion control means deletes the first image file from the storage medium and stores the second image file in the storage medium. A camera characterized by being left on the medium.
請求項1に記載のカメラにおいて、
前記削除制御手段は、前記記憶媒体から画像ファイルを削除する際に、削除対象の画像ファイルに基づいて、前記削除対象の画像ファイルよりもデータサイズが小さい画像ファイルを生成して前記記憶媒体に記録することを特徴とするカメラ。
The camera of claim 1,
When deleting the image file from the storage medium, the deletion control unit generates an image file having a data size smaller than the image file to be deleted based on the image file to be deleted and records the image file on the storage medium. A camera characterized by that.
請求項3に記載のカメラにおいて、
前記削除対象の画像ファイルが画像データを生成するために必要な画像処理を適用する前の画像ソースデータであるRAWデータを含むRAW画像ファイルである場合には、前記削除制御手段は、前記記憶媒体から前記RAW画像ファイルを削除する際に、削除対象のRAW画像ファイルに含まれる前記RAWデータに対して現像処理を施すことによって、前記RAW画像ファイルよりもデータサイズが小さい画像ファイルを生成して前記記憶媒体に記録することを特徴とするカメラ。
The camera according to claim 3.
When the image file to be deleted is a RAW image file including RAW data that is image source data before application of image processing necessary for generating image data, the deletion control means includes the storage medium When the RAW image file is deleted from the RAW image file, a development process is performed on the RAW data included in the RAW image file to be deleted, thereby generating an image file having a data size smaller than the RAW image file. A camera characterized by recording on a storage medium.
請求項3に記載のカメラにおいて、
前記削除対象の画像ファイルが画像データを生成するために必要な画像処理を適用する前の画像ソースデータであるRAWデータを含むRAW画像ファイルである場合には、前記削除制御手段は、前記記憶媒体から前記RAW画像ファイルを削除する際に、前記RAWデータに対して切り出し処理または縮小処理を施すことによって、前記RAW画像ファイルよりもデータサイズが小さい画像ファイルを生成して前記記憶媒体に記録することを特徴とするカメラ。
The camera according to claim 3.
When the image file to be deleted is a RAW image file including RAW data that is image source data before application of image processing necessary for generating image data, the deletion control means includes the storage medium When the RAW image file is deleted from the RAW data, the RAW data is cut out or reduced to generate an image file having a data size smaller than that of the RAW image file and record it on the storage medium. Camera characterized by.
請求項1〜5のいずれか一項に記載のカメラにおいて、
前記記憶媒体に残した画像ファイルを削除することにより、前記記憶媒体内に次の撮影を行うために必要な空き容量を確保することができる場合には、その旨を使用者に通知する通知手段をさらに備えることを特徴とするカメラ。
In the camera according to any one of claims 1 to 5,
If the image file left on the storage medium can be deleted to secure the free space necessary for the next shooting in the storage medium, a notification means for notifying the user to that effect A camera, further comprising:
JP2009056489A 2009-03-10 2009-03-10 Camera Pending JP2010212965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009056489A JP2010212965A (en) 2009-03-10 2009-03-10 Camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009056489A JP2010212965A (en) 2009-03-10 2009-03-10 Camera

Publications (1)

Publication Number Publication Date
JP2010212965A true JP2010212965A (en) 2010-09-24

Family

ID=42972700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009056489A Pending JP2010212965A (en) 2009-03-10 2009-03-10 Camera

Country Status (1)

Country Link
JP (1) JP2010212965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2524902A (en) * 2014-04-02 2015-10-07 Canon Kk Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2524902A (en) * 2014-04-02 2015-10-07 Canon Kk Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium
GB2524902B (en) * 2014-04-02 2016-06-08 Canon Kk Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium
US10148861B2 (en) 2014-04-02 2018-12-04 Canon Kabushiki Kaisha Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium

Similar Documents

Publication Publication Date Title
US9154683B2 (en) Image sensing apparatus and method for controlling the same
JP4835356B2 (en) Imaging apparatus, imaging control program, and imaging control method
JP2008010979A (en) Camera apparatus
JP2005223858A (en) Red-eye image correction apparatus, electronic camera and red-eye image correction program
JP4653019B2 (en) Display control device
JP2004304619A (en) Digital camera
JP2005236496A (en) Image recording display system
JP2010212965A (en) Camera
JP2009044728A (en) Data recording device and camera
JP2007074213A (en) Camera system, camera, and external storage apparatus
JP2011087221A (en) Camera
JP2008172653A (en) Imaging apparatus, image management method, and program
JP5393416B2 (en) Imaging apparatus and control method and program thereof
JP5000581B2 (en) Image playback device
JP2008177838A (en) Digital camera and image processor, and image control program
JP2007159010A (en) Imaging apparatus
JP2008219425A (en) Image processor and image processing method
JP2007053744A (en) Image display system
JP6504927B2 (en) Recording apparatus and control method of recording apparatus
JP2019110401A (en) Moving picture recording apparatus, control method for moving picture recording apparatus, and program
KR101362774B1 (en) Method for controlling digital photographing apparatus, and digital photographing apparatus adopting the method
JP2006148582A (en) Imaging apparatus, control method, and program
JP2011188348A (en) Camera, information processing apparatus, and information processing program
JP4730542B2 (en) Image shooting device
JP5723168B2 (en) Image reproducing apparatus, control method therefor, program, and recording medium