JP2018006805A - Imaging apparatus, control method therefor, and program - Google Patents

Imaging apparatus, control method therefor, and program Download PDF

Info

Publication number
JP2018006805A
JP2018006805A JP2016126563A JP2016126563A JP2018006805A JP 2018006805 A JP2018006805 A JP 2018006805A JP 2016126563 A JP2016126563 A JP 2016126563A JP 2016126563 A JP2016126563 A JP 2016126563A JP 2018006805 A JP2018006805 A JP 2018006805A
Authority
JP
Japan
Prior art keywords
image
format
recording area
data
capacity
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
JP2016126563A
Other languages
Japanese (ja)
Inventor
貴樹 亀山
Takaki Kameyama
貴樹 亀山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2016126563A priority Critical patent/JP2018006805A/en
Publication of JP2018006805A publication Critical patent/JP2018006805A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus which enables a user to easily plan imaging and is capable of improving usability by effectively using storage capacity of the imaging apparatus, a control method therefor and a program.SOLUTION: RAW data generated by imaging and JPEG data generated on the basis of the RAW data are stored in a recording region in every imaging. The number of images that can be picked up is calculated on the basis of free capacity in the recording region, predetermined capacity for recording RAW data, capacitance of JPEG data being stored in the recording region and estimated capacitance for each piece of JPEG data, and the calculated number of images that can be picked up is reported. In accordance with the free capacity in the recording region, RAW data are deleted from the recording region.SELECTED DRAWING: Figure 1

Description

本発明は、撮像装置及びその制御方法、並びにプログラム、特に、撮影時に2つの異なる形式で画像を記録する撮像装置及びその制御方法、並びにプログラムに関するものである。   The present invention relates to an imaging apparatus, a control method thereof, and a program, and more particularly to an imaging apparatus that records images in two different formats at the time of shooting, a control method thereof, and a program.

従来、デジタルカメラの記録媒体の記録可能領域が所定の下限値未満である場合に、指定ディレクトリに格納してある画像を保持優先度の低い順に削除し、撮影可能枚数を増やす技術が開示されている(例えば、特許文献1参照)。   Conventionally, a technique has been disclosed in which, when the recordable area of a recording medium of a digital camera is less than a predetermined lower limit value, images stored in a designated directory are deleted in ascending order of retention priority to increase the number of shootable images. (For example, refer to Patent Document 1).

また、撮影時にJPEG形式の画像データ(JPEGデータ)とRAW形式の画像データ(RAWデータ)という2つの異なる形式で画像を記録するデジタルカメラがある。このようなデジタルカメラにおいては、撮影時に記録されたJPEGデータを簡易的に表示する一方、RAWデータを基にして画像調整を行い、現像処理を行ってJPEGデータを生成することにより多彩な画像を得る事を可能としている。   There are also digital cameras that record images in two different formats, JPEG image data (JPEG data) and RAW image data (RAW data) during shooting. In such digital cameras, JPEG data recorded at the time of shooting is simply displayed, while image adjustment is performed based on RAW data, development processing is performed to generate a variety of images by generating JPEG data. It is possible to get.

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

しかしながら、上記2つの異なる形式で画像を記録するデジタルカメラでは撮影によりJPEGデータだけでなく、それに比べてデータ量の大きなRAWデータも記録されていくので、撮影を繰り返すと撮影可能枚数が極端に減ってしまう。このため、RAWデータに画像調整を行い、現像処理が済んでいる場合や、RAWデータを用いた現像処理が不要な場合は、当該RAWデータが記憶される続けることによって記憶容量に無駄が発生するという問題点が生じる。   However, in digital cameras that record images in the above two different formats, not only JPEG data but also RAW data with a larger amount of data are recorded by shooting, so the number of images that can be shot decreases drastically when shooting is repeated. End up. For this reason, when image adjustment is performed on RAW data and development processing has been completed, or when development processing using RAW data is unnecessary, the storage capacity is wasted by continuing to store the RAW data. The problem arises.

一方、上記従来技術は、DCF規格のディレクトリに格納されたJPEG方式で圧縮した静止画ファイルのうち保持優先度の低いものから順に削除することしかできず、かかる問題点を解消することはできない。   On the other hand, the above-mentioned prior art can only delete the still image files compressed by the JPEG method stored in the DCF standard directory in order from the lowest holding priority, and cannot solve the problem.

本発明の目的は、撮像装置の記憶容量を有効に使用することを可能とすることで、ユーザが撮影の計画を立てやすくなり、ユーザビリティを高めることができる撮像装置及びその制御方法、並びにプログラムを提供することを目的とする。   An object of the present invention is to provide an imaging apparatus, a control method thereof, and a program that can improve the usability by making it easier for a user to make a shooting plan by enabling effective use of the storage capacity of the imaging apparatus. The purpose is to provide.

本願発明の撮像装置は、撮影毎に撮影により生成された第1の形式の画像を取得する取得手段と、前記第1の形式の画像に基づき、第2の形式の画像を生成する生成手段と、前記第1の形式の画像および前記第2の形式の画像を記録領域に記憶する記憶手段と、前記記録領域の空き容量、前記第1の形式の画像を記録するための所定の容量、前記記録領域に記憶されている前記第2の形式の画像の容量、および前記第2の形式の画像の1枚当たりの見積もりの容量に基づき、撮影可能枚数を算出する算出手段と、前記算出された撮影可能枚数を通知する第1の通知手段と、前記記録領域の空き容量に応じて前記第1の形式の画像を前記記録領域から削除する削除手段とを備えることを特徴とする。   The imaging apparatus of the present invention includes an acquisition unit that acquires a first format image generated by shooting for each shooting, and a generation unit that generates a second format image based on the first format image. Storage means for storing the first format image and the second format image in a recording area; a free capacity in the recording area; a predetermined capacity for recording the first format image; Calculating means for calculating the number of storable images based on the capacity of the second format image stored in the recording area and the estimated capacity per image of the second format image; and the calculated The image processing apparatus includes: a first notifying unit that notifies the number of shootable images; and a deleting unit that deletes the image in the first format from the recording area according to a free space in the recording area.

本願発明によれば、撮像装置の記憶容量を有効に使用することを可能とすることで、ユーザが撮影の計画を立てやすくなり、ユーザビリティを高めることができる。   According to the present invention, by making it possible to effectively use the storage capacity of the imaging apparatus, it becomes easier for the user to make a shooting plan and usability can be improved.

本発明の実施例における撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device in the Example of this invention. 本実施例の撮影処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the imaging | photography process of a present Example. 本実施例の画像再生・調整処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the image reproduction | regeneration / adjustment process of a present Example. 図2の撮影処理により撮像装置が備える記録装置で記録される画像データの状態を示す図である。It is a figure which shows the state of the image data recorded with the recording device with which an imaging device is provided by the imaging | photography process of FIG.

以下、本発明を実施するための最良の形態について図面を用いて説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   The best mode for carrying out the present invention will be described below with reference to the drawings. The following embodiments do not limit the invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention.

図1は、本発明の実施例における撮像装置100の構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus 100 according to an embodiment of the present invention.

図1において、撮像装置100は、光学系101と、撮像素子102と、処理装置103と、記録装置104と、操作部105と、表示装置106とから構成されている。   In FIG. 1, the imaging apparatus 100 includes an optical system 101, an imaging element 102, a processing apparatus 103, a recording apparatus 104, an operation unit 105, and a display apparatus 106.

光学系101は、レンズ、シャッター、絞りから構成されていて、被写体からの光を適切な量とタイミングで撮像素子102に結像させる。   The optical system 101 includes a lens, a shutter, and an aperture, and forms an image of light from a subject on the image sensor 102 with an appropriate amount and timing.

撮像素子102は、撮影毎に光学系101を通って結像した光を画像に変換し、画像データをRAWデータとして取得する。   The imaging element 102 converts light imaged through the optical system 101 into an image every time shooting is performed, and acquires image data as RAW data.

処理装置103は、各種の演算や、撮像装置100を構成する各部分の制御を行い、CPU(Central Processing Unit)等により実現される。処理装置103は、撮像素子102で取得したRAWデータに基づくJPEGデータの生成も行う。   The processing device 103 performs various operations and controls each part of the imaging device 100, and is realized by a CPU (Central Processing Unit) or the like. The processing device 103 also generates JPEG data based on the RAW data acquired by the image sensor 102.

記録装置104は、撮像装置100を制御するためのプログラム、処理装置103が参照するための一時データ、および保存するためのデータを記録する。撮影によって生成された画像データもこの保存するためのデータに含まれる。本実施例では、この画像データはRAWデータ(第1の形式)とJPEGデータ(第2の形式)の2つの形式で記録される。記録装置104は、撮像装置100に内蔵されていても、着脱式で交換可能であってもよい。   The recording device 104 records a program for controlling the imaging device 100, temporary data for reference by the processing device 103, and data for storage. The image data generated by photographing is also included in the data for saving. In this embodiment, this image data is recorded in two formats, RAW data (first format) and JPEG data (second format). The recording device 104 may be built in the imaging device 100 or may be detachable and replaceable.

操作部105は、操作者の操作を受け付ける。操作部105は、タッチスクリーンのように、表示装置106と一体化した形状であっても良い。   The operation unit 105 receives an operator's operation. The operation unit 105 may have a shape integrated with the display device 106 like a touch screen.

表示装置106は、撮影時のビューファインダー画像の表示、撮影した画像の表示、対話的な操作のための文字表示などを行う。   The display device 106 displays a viewfinder image at the time of shooting, displays a shot image, and displays characters for interactive operation.

図2は、本実施例の撮影処理の手順を示すフローチャートである。本処理は、記録装置104に記録されたプログラムを処理装置103が読み取り実行することによって行われる。図2では、記録装置104が一杯になるまではJPEGデータ、RAWデータともに記録するが、記録装置104が一杯になると、順次RAWデータを削除していく。そして最終的に、記録装置104を、後述するRAWデータ用最低容量(所定の容量)のサイズのRAWデータ以外は、JPEGデータが記録されている状態とする。この間、撮影可能枚数として、最終的に撮影可能なJPEGデータの枚数を常に表示装置106に表示する。この処理の詳細を、以下に説明する。なお、画像の記録と削除が行われる様子の例は、図4で説明する。   FIG. 2 is a flowchart showing the procedure of the photographing process of this embodiment. This processing is performed by the processing device 103 reading and executing the program recorded in the recording device 104. In FIG. 2, both JPEG data and RAW data are recorded until the recording device 104 is full. However, when the recording device 104 is full, the RAW data is sequentially deleted. Finally, the recording apparatus 104 is set to a state in which JPEG data is recorded except for RAW data having a size of a minimum capacity (predetermined capacity) for RAW data described later. During this time, the number of JPEG data that can be finally photographed is always displayed on the display device 106 as the number of photographable images. Details of this processing will be described below. An example of how images are recorded and deleted will be described with reference to FIG.

図2においてまず、ステップS201で記録装置104の総容量を取得する。総容量は、記録装置104自体に記録可能な合計データ量である。   In FIG. 2, first, in step S201, the total capacity of the recording apparatus 104 is acquired. The total capacity is the total amount of data that can be recorded in the recording device 104 itself.

次にステップS202でRAWデータ用最低容量を算出する。RAWデータ用最低容量とは、撮影中に記録装置104の空き容量が足りなくなり、記録装置104に記録されているRAWデータを削除していったときに、削除せずに最低限残しておくRAWデータの容量である。RAWデータ用最低容量は、固定値であってもよいし、記録装置104が着脱式であった場合はそのときの記録装置104の総容量に応じて変動する値であってもよいし、操作者によって設定可能な値であってもよい。これらの方法によって決まった値を、RAWデータ用最低容量として設定する。   In step S202, the minimum capacity for RAW data is calculated. The minimum capacity for RAW data is the minimum RAW data that is not deleted when the RAW data recorded in the recording apparatus 104 is deleted because the recording apparatus 104 runs out of free space during shooting. It is the capacity of data. The minimum capacity for RAW data may be a fixed value, or may be a value that varies depending on the total capacity of the recording device 104 at that time if the recording device 104 is detachable. It may be a value that can be set by a person. A value determined by these methods is set as the minimum capacity for RAW data.

その後、記録装置104に次の撮影のための空き容量があれば(ステップS203でYES)、ステップS209に進む。そうでなければ(ステップS203でNO)、撮影操作がされたときに画像を記録するための容量をあけるため、ステップS204に進み、記録装置104に記録されたRAWデータの合計データサイズを算出する。なお、次の撮影のための空き容量は、撮影1回により生成されるデータ(JPEGデータおよびRAWデータ)の容量分でもよいし、連写を考慮して数回から数十回撮影されたときに生成されるデータの容量分であってもよい。   Thereafter, if the recording device 104 has free space for the next shooting (YES in step S203), the process proceeds to step S209. If not (NO in step S203), the process proceeds to step S204 to calculate the total data size of the RAW data recorded in the recording device 104 in order to free up a capacity for recording an image when a photographing operation is performed. . Note that the free space for the next shooting may be the amount of data (JPEG data and RAW data) generated by one shooting, or when shooting several to several tens of times in consideration of continuous shooting. It may be equivalent to the capacity of data to be generated.

その後、ステップS204で算出したRAWデータの合計データサイズが、ステップS202で算出したRAWデータ用最低容量より大きければ(ステップS205でYES)、ステップS207に進む。そうでなければ、すなわち、RAWデータの合計データサイズがRAWデータ用最低容量以下であれば(ステップS205でNO)、ステップS206に進む。ここで、次の撮影のための空き容量がなく、且つRAWデータの合計データサイズがRAWデータ用最低容量以下である場合、記録装置104に空き容量がなく、なおかつこれ以上RAWデータを削除して記録装置104の空き容量を増やす余地がない。したがって、ステップS206において、表示装置106に、記録装置104が一杯でありこれ以上撮影できないことを表示し、本処理を終了する。   Thereafter, if the total data size of the RAW data calculated in step S204 is larger than the minimum RAW data capacity calculated in step S202 (YES in step S205), the process proceeds to step S207. Otherwise, that is, if the total data size of the RAW data is less than or equal to the minimum capacity for RAW data (NO in step S205), the process proceeds to step S206. Here, when there is no free space for the next shooting and the total data size of the RAW data is less than or equal to the minimum capacity for RAW data, there is no free space in the recording device 104, and more RAW data is deleted. There is no room for increasing the free capacity of the recording device 104. Therefore, in step S206, it is displayed on the display device 106 that the recording device 104 is full and no more images can be taken, and this processing is terminated.

一方、次の撮影のための空き容量はないが(ステップS203でNO)、RAWデータの合計データサイズがRAWデータ用最低容量より大きい場合(ステップS205でYES)、RAWデータを削除すれば記録装置104の空き容量を増やすことができる。よって、ステップS207において、削除対象RAWデータを決定する。削除対象RAWデータの決め方は、撮影日時の古いものから削除や、後述する図3で説明する画像調整に用いたRAWデータから削除など、画像の属性に基づいたものになる。また、複数の属性を組み合わせる方法としては、まず画像調整に用いたRAWデータを古いものから削除していく。その後、画像調整に用いたRAWデータを全て削除したら、次に画像調整に用いていないRAWデータを撮影日時の古いものから削除していく、などが例として挙げられる。   On the other hand, if there is no free space for the next shooting (NO in step S203), but the total data size of the RAW data is larger than the minimum capacity for RAW data (YES in step S205), the recording device can be deleted by deleting the RAW data. The available capacity of 104 can be increased. Therefore, in step S207, deletion target RAW data is determined. The method of determining the RAW data to be deleted is based on image attributes, such as deleting from the oldest shooting date and time, or deleting from RAW data used for image adjustment described later with reference to FIG. As a method of combining a plurality of attributes, first, RAW data used for image adjustment is deleted from the oldest one. Then, after all the RAW data used for image adjustment is deleted, the RAW data not used for image adjustment is deleted from the oldest shooting date.

また、後述のステップS213でJPEGデータを1枚、RAWデータを撮影条件を変えて複数枚撮影する場合は、複数枚撮影したRAWデータのうち、最適と思われる条件の画像1枚を残して他の画像を削除するという方法であってもよい。   In addition, in the case where one JPEG data and a plurality of RAW data are shot at different shooting conditions in step S213, which will be described later, one image of the most suitable condition is left out of the plurality of shot RAW data. Alternatively, the image may be deleted.

その後、ステップS207で決めた削除対象RAWデータを削除し(ステップS208)、ステップS203に戻る。   Thereafter, the RAW data to be deleted determined in step S207 is deleted (step S208), and the process returns to step S203.

一方、ステップS209では、記録装置104に記録されたJPEGデータの合計データサイズを算出し、その後、ステップS210で撮影可能枚数を算出する。ここでの撮影可能枚数は、単に記録装置104の空き容量に対する記録可能枚数ではなく、RAWデータを削除していくことを見越した枚数となる。具体的には、次の計算式で求められる。   On the other hand, in step S209, the total data size of the JPEG data recorded in the recording apparatus 104 is calculated, and then the number of shootable images is calculated in step S210. The number of images that can be shot here is not simply the number of images that can be recorded with respect to the free capacity of the recording device 104, but the number that is expected to be deleted. Specifically, it is obtained by the following calculation formula.

撮影可能枚数 = (記録装置104の総容量 − RAWデータ用最低容量 − JPEGデータの合計データサイズ) / JPEGデータ 1枚のサイズ
JPEGデータのサイズは画像ごとに異なるが、上記JPEGデータ 1枚のサイズ(前記第2の形式の画像の1枚当たりの見積もりの容量)は、撮像装置100において撮影可能枚数を算出するため見積もられる。本実施例では、JPEGデータ 1枚の代表的なサイズがこのJPEGデータ 1枚のサイズとして規定される。
Number of storable images = (Total capacity of recording device 104-Minimum capacity for RAW data-Total data size of JPEG data) / JPEG data size of one JPEG data size varies from image to image, but the size of one JPEG data (Estimated capacity per image in the second format) is estimated in order to calculate the number of images that can be captured in the image capturing apparatus 100. In this embodiment, a representative size of one piece of JPEG data is defined as the size of one piece of JPEG data.

次にステップS211でステップS210で算出した撮影可能枚数を、表示装置106に表示することで通知し、その後操作部105に対して撮影操作が行われたら(ステップS212でYES)、ステップS213に進む。   Next, in step S211, the number of shootable images calculated in step S210 is notified by being displayed on the display device 106. After that, when a shooting operation is performed on the operation unit 105 (YES in step S212), the process proceeds to step S213. .

ステップS213では光学系101、撮像素子102を駆動して、撮影を行う。そして、処理装置103の処理によって、画像データをJPEGデータ、RAWデータそれぞれの形式で生成する。なお、上述したとおり、ステップS213において、JPEGデータを1枚、RAWデータを撮影条件を変えて複数枚撮影するようにしてもよい。RAWデータの撮影条件の変え方は、露出(画像の明るさ、暗さを変える)、フォーカス(少しずつピント位置をずらす)、などである。このとき最適と思われる条件の画像と、そこから少しずつ条件を変えた画像を撮影することになる。このような撮影を行うことにより、画像調整するときに複数の画像を用いて画像処理することができる結果、画像調整の幅を広げることができる。また、この撮影で生成されるRAWデータの枚数は記録装置104の空き容量に応じて決定される。   In step S213, the optical system 101 and the image sensor 102 are driven to perform shooting. Then, by the processing of the processing device 103, the image data is generated in each format of JPEG data and RAW data. As described above, in step S213, one piece of JPEG data and a plurality of pieces of RAW data may be shot under different shooting conditions. The method for changing the shooting condition of the RAW data includes exposure (changing the brightness and darkness of the image), focus (shifting the focus position little by little), and the like. At this time, an image under conditions that seem to be optimal and an image in which the conditions are changed little by little are taken. By performing such photographing, image processing can be performed using a plurality of images when image adjustment is performed, and as a result, the range of image adjustment can be widened. Further, the number of RAW data generated by this shooting is determined according to the free capacity of the recording apparatus 104.

その後、ステップS213で生成したJPEGデータ、RAWデータを、記録装置104に記録すると(ステップS214)、ステップS203に戻る。   Thereafter, when the JPEG data and RAW data generated in step S213 are recorded in the recording device 104 (step S214), the process returns to step S203.

図3は、本実施例の画像再生・調整処理の手順を示すフローチャートである。この処理は、記録装置104に記録されたプログラムを処理装置103が読み取り実行することによって行われる。図3では、撮影した画像について再生や画像調整を行う。この処理の詳細を、以下に説明する。   FIG. 3 is a flowchart showing the procedure of the image reproduction / adjustment process of the present embodiment. This processing is performed by the processing device 103 reading and executing the program recorded in the recording device 104. In FIG. 3, reproduction and image adjustment are performed on the captured image. Details of this processing will be described below.

図3において、まずステップS301で撮像装置100が起動したときの表示画像を設定する。表示画像の決め方は様々であるが、最後に撮影したJPEGデータや、前回電源が切断されるときに表示していたJPEGデータなどがある。   In FIG. 3, first, in step S301, a display image when the imaging apparatus 100 is activated is set. There are various ways of determining the display image, and there are JPEG data taken last, JPEG data displayed when the power was turned off last time, and the like.

その後ステップS302において、ステップS301または、後述するステップS305、ステップS311で設定された表示画像(JPEGデータ)を、記録装置104から読み出す。次に、ステップS303において、その読み出したJPEGデータを表示装置106の画像表示画面に表示する。   Thereafter, in step S302, the display image (JPEG data) set in step S301 or steps S305 and S311 described later is read from the recording apparatus 104. In step S303, the read JPEG data is displayed on the image display screen of the display device 106.

次に、ステップS304において操作部105に対する操作を検出し、検出された操作が画像送り操作であれば、ステップS305に進み、画像調整操作であれば、ステップS306に進む。   Next, in step S304, an operation on the operation unit 105 is detected. If the detected operation is an image feed operation, the process proceeds to step S305. If the detected operation is an image adjustment operation, the process proceeds to step S306.

ステップS305では、ステップS304で検出された画像送り操作の内容に応じて、一つ前の画像、あるいは一つ後の画像などに、表示画像を設定する。   In step S305, a display image is set for the previous image, the next image, or the like according to the content of the image forwarding operation detected in step S304.

一方、ステップS306では記録装置104から、表示していたJPEGデータに対応するRAWデータを読み出すと共に、画像調整を行なうための画面を表示装置106に表示する(ステップS307)。この画面の中には、画像と、明るさや色調などを変更するためのインターフェイスなどが表示される。   On the other hand, in step S306, RAW data corresponding to the displayed JPEG data is read from the recording device 104, and a screen for image adjustment is displayed on the display device 106 (step S307). In this screen, an image and an interface for changing brightness, color tone, and the like are displayed.

次に、ステップS307で表示された画面に基づく操作部105に対するユーザによる画像調整操作を受け付ける(ステップS308)。ここで、受け付けた画像調整操作に基づき画像調整した結果はプレビューとして、表示装置106に表示している画像に即時反映されてもよい。   Next, an image adjustment operation by the user for the operation unit 105 based on the screen displayed in step S307 is accepted (step S308). Here, the result of image adjustment based on the received image adjustment operation may be immediately reflected on the image displayed on the display device 106 as a preview.

次に、ステップS308での画像調整操作を反映させてRAWデータを現像し、そしてJPEGデータに変換する(ステップS309)。ここで、ステップS213での撮影が、JPEGデータを1枚、RAWデータを撮影条件を変えて複数枚取得するという方式で行われる場合がある。この場合、記録装置104内にこの方式で取得したRAWデータが削除されずに複数枚残っている場合は、複数のRAWデータを用いて画像処理する。これにより、画像調整できる範囲を広げることができる。   Next, the RAW data is developed reflecting the image adjustment operation in step S308, and converted to JPEG data (step S309). Here, there is a case where the shooting in step S213 is performed by a method of acquiring one piece of JPEG data and a plurality of pieces of RAW data by changing shooting conditions. In this case, when a plurality of RAW data acquired by this method remain in the recording apparatus 104 without being deleted, image processing is performed using the plurality of RAW data. Thereby, the range which can adjust an image can be expanded.

その後、ステップS309で生成したJPEGデータを、記録装置104に記録されているJPEGデータと置き換える(ステップS310)。尚、ステップS310の処理において、置き換えるのでなく、別データとして保存するようにしてもよい。   Thereafter, the JPEG data generated in step S309 is replaced with the JPEG data recorded in the recording device 104 (step S310). In step S310, the data may be stored as separate data instead of being replaced.

次にステップS311で調整後の画像を表示画像に設定して、ステップS302に戻る。これにより、ステップS302に戻った後、調整後の画像が表示装置106に表示される。   In step S311, the adjusted image is set as a display image, and the process returns to step S302. Thereby, after returning to step S302, the adjusted image is displayed on the display device 106.

図4は、図2の撮影処理により撮像装置100が備える記録装置104で記録される画像データの状態を示す図である。   FIG. 4 is a diagram illustrating a state of image data recorded by the recording device 104 included in the imaging device 100 by the imaging process of FIG.

本実施例では前提として、記録装置104の全容量は4GBとする。また、説明を簡単にするために、JPEGデータ 1枚のデータサイズは5MB、RAWデータ 1枚のデータサイズは20MB、そして1GB = 1000MBとする。尚、記録領域の管理用データなど、画像以外のデータはここでは考えない。また、記録装置104は一般にランダムアクセス可能なものが用いられるため、図4の中の各データは、あくまで各データサイズの配分を示すものであり、物理的なデータ領域の配置を示すものではない。   In the present embodiment, it is assumed that the total capacity of the recording apparatus 104 is 4 GB. For simplicity of explanation, the data size of one piece of JPEG data is 5 MB, the data size of one piece of RAW data is 20 MB, and 1 GB = 1000 MB. It should be noted that data other than images, such as recording area management data, is not considered here. In addition, since the recording apparatus 104 is generally capable of random access, each data in FIG. 4 merely indicates the distribution of each data size, and does not indicate the physical data area arrangement. .

図中の(1)は、撮影開始時で、記録装置104が空の状態である。   In the figure, (1) is the start of shooting, and the recording device 104 is empty.

ここで、ステップS202でRAWデータ用最低容量が、RAWデータ 30枚分=600MBに設定された場合、記録装置104の残りの領域がJPEGデータ用容量となり、その容量は3.4GBである。このときの撮影可能枚数は、次のようになる。   Here, when the minimum capacity for RAW data is set to 600 MB for 30 RAW data in step S202, the remaining area of the recording apparatus 104 becomes the capacity for JPEG data, and the capacity is 3.4 GB. The number of images that can be taken at this time is as follows.

((記録装置104の全容量−RAWデータ用最低容量)−JPEGデータの合計データサイズ)/JPEGデータ1枚のデータサイズ
=(4GB−600MB−0MB)/5MB
=3.4GB/5MB=680枚
((Total capacity of recording device 104-minimum capacity for RAW data)-total data size of JPEG data) / data size of one JPEG data = (4GB-600MB-0MB) / 5MB
= 3.4GB / 5MB = 680 sheets

図中の(2)は、撮影開始から30枚撮影した時点の状態である。RAWデータ 30枚 = 600MB、JPEGデータ 30枚 = 150MBがそれぞれの容量を占めている。RAWデータの合計データサイズが600MBになり、ちょうどRAWデータ用最低容量に等しくなっている。このときの撮影可能枚数は、次のようになる。   (2) in the figure is the state at the time of shooting 30 images from the start of shooting. RAW data 30 sheets = 600 MB, JPEG data 30 sheets = 150 MB occupy the respective capacities. The total data size of RAW data is 600 MB, which is just equal to the minimum capacity for RAW data. The number of images that can be taken at this time is as follows.

((記録装置104の全容量−RAWデータ用最低容量)−JPEGデータの合計データサイズ)/JPEGデータ1枚のデータサイズ
=((4GB−600MB)−150MB)/5MB
=(3.4GB−150MB)/5MB
=3250MB/5MB=650枚
((Total capacity of recording device 104-minimum capacity for RAW data)-total data size of JPEG data) / data size of one JPEG data = ((4GB-600MB) -150MB) / 5MB
= (3.4GB-150MB) / 5MB
= 3250MB / 5MB = 650 sheets

図中の(3)は、ステップS207、S208で説明したRAWデータ削除が行われる直前まで撮影したときの状態である。このときは、160枚撮影を行った後で、記録装置104の空き領域が0になっている。なお、ステップS203で説明したように、本実施例では次の撮影のための記録容量を常に空けておくため、次の撮影のための記録容量がなくなると即座に画像削除が行われるが、ここでは説明を簡単にするために、画像削除が行われる直前の状態を示している。このとき、RAWデータ 160枚 = 3.2GB、JPEGデータ 160枚 = 800MBがそれぞれの容量を占めている。このときの撮影可能枚数は、次のようになる。   (3) in the figure is a state when photographing is performed until immediately before the RAW data deletion described in steps S207 and S208 is performed. At this time, the free area of the recording apparatus 104 is zero after 160 images have been taken. As described in step S203, in this embodiment, the recording capacity for the next shooting is always freed. Therefore, when the recording capacity for the next shooting is exhausted, the image is immediately deleted. In order to simplify the explanation, a state immediately before image deletion is shown. At this time, RAW data 160 sheets = 3.2 GB and JPEG data 160 sheets = 800 MB occupy the respective capacities. The number of images that can be taken at this time is as follows.

((記録装置104の全容量−RAWデータ用最低容量)−JPEGデータの合計データサイズ)/JPEGデータ1枚のデータサイズ
=((4GB−600MB)−800MB)/5MB
=(3.4GB−800MB)/5MB
=2600MB/5MB=520枚
((Total capacity of the recording device 104-minimum capacity for RAW data)-total data size of JPEG data) / data size of one JPEG data = ((4GB-600MB) -800MB) / 5MB
= (3.4GB-800MB) / 5MB
= 2600MB / 5MB = 520 sheets

図中の(4)は、図中の(3)の状態からさらに30枚撮影したときの状態である。このとき、JPEGデータは30枚増えて、JPEGデータ 190枚 = 950MBとなる。また、後から30枚撮影されたJPEGデータとRAWデータを記録するための容量を空けるために、RAWデータが38枚削除された後となる。削除されたRAWデータ 38枚 = 760MBである。このときRAWデータはRAWデータ用最低容量よりも多く記録されているので、撮影して画像が追加された分だけRAWデータを削除可能な状態である。そして、後から撮影された30枚のRAWデータと、削除されずに残ったRAWデータを合わせて、RAWデータ 152枚 = 3.04GBである。このときの撮影可能枚数は、次のようになる。   (4) in the figure is a state when 30 more images are taken from the state (3) in the figure. At this time, the number of JPEG data is increased by 30 and JPEG data is 190 sheets = 950 MB. In addition, after RAW data is deleted, 38 images are deleted in order to free up a capacity for recording 30 JPEG data and RAW data. Deleted RAW data 38 sheets = 760 MB. At this time, since the RAW data is recorded more than the minimum capacity for RAW data, the RAW data can be deleted as much as the image is added after shooting. Then, the RAW data of 30 sheets taken later and the remaining RAW data not deleted are RAW data 152 sheets = 3.04 GB. The number of images that can be taken at this time is as follows.

((記録装置104の全容量−RAWデータ用最低容量)−JPEGデータの合計データサイズ)/JPEGデータ1枚のデータサイズ
=((4GB−600MB)−950MB)/5MB
=(3.4GB−950MB)/5MB
=2450MB/5MB=490枚
((Total capacity of the recording device 104-minimum capacity for RAW data)-total data size of JPEG data) / data size of one JPEG data = ((4GB-600MB) -950MB) / 5MB
= (3.4GB-950MB) / 5MB
= 2450MB / 5MB = 490 sheets

図中の(5)は、JPEGデータ用容量一杯まで(680枚)撮影したときの状態である。このとき、RAWデータはRAWデータ用最低容量まで削除され、RAWデータ 30枚 = 600MBである。JPEGデータはJPEGデータ用容量一杯まで記録され、JPEGデータ 680枚 = 3.4GBである。削除されたRAWデータ は、650枚 = 13GBである。また、JPEGデータはJPEGデータ用容量一杯まで撮影しているので、これ以上撮影することができず、ステップS206で説明した状態である。このときの撮影可能枚数の計算は、次のようになる。   (5) in the figure is a state when the JPEG data capacity is full (680 sheets). At this time, the RAW data is deleted up to the minimum capacity for RAW data, and RAW data 30 sheets = 600 MB. The JPEG data is recorded to the full capacity for JPEG data, and 680 JPEG data = 3.4 GB. The deleted RAW data is 650 sheets = 13 GB. Further, since the JPEG data has been taken to the full capacity for JPEG data, no more pictures can be taken, and the state described in step S206. The calculation of the number of shootable images at this time is as follows.

((記録装置104の全容量−RAWデータ用最低容量)−JPEGデータの合計データサイズ)/JPEGデータ1枚のデータサイズ
=((4GB−600MB)−3.4GB)/5MB
=(3.4GB−3.4GB)/5MB
=0MB/5MB=0枚
((Total capacity of recording device 104-minimum capacity for RAW data)-total data size of JPEG data) / data size of one piece of JPEG data = ((4GB-600MB) -3.4GB) / 5MB
= (3.4GB-3.4GB) / 5MB
= 0MB / 5MB = 0 sheets

以上のような処理を実行することにより、記録装置104に空き容量がある間は、JPEGデータ、RAWデータともに記録する。また、空き容量がなくなってくると、RAWデータを順次削除しながら(RAWデータ用最低容量分は残す)、新たに撮影したJPEGデータとRAWデータを最大限記録できる。さらに、撮影可能枚数の表示は、最終的に撮影可能な枚数を当初から表示することができる。   By executing the processing as described above, both JPEG data and RAW data are recorded while the recording device 104 has free space. Also, when there is no more free space, newly taken JPEG data and RAW data can be recorded to the maximum while deleting RAW data sequentially (leaving the minimum capacity for RAW data). Further, the number of images that can be shot can be displayed from the beginning as the number of images that can be finally shot.

尚、本実施例では、JPEGデータ及びRAWデータを記録するメモリは、撮像装置100が備える記録装置104はであったが、これに限定されるわけではない。例えば上記メモリはクラウド上の外部メモリであってもよい。この場合、撮像装置100はクラウドと通信する通信装置を更に備え、この通信装置を介して図2のステップS208において処理装置103がクラウドと通信し、削除対象RAWデータをクラウド上の外部メモリから削除するよう要求する。   In this embodiment, the memory for recording the JPEG data and the RAW data is the recording device 104 included in the imaging device 100, but is not limited thereto. For example, the memory may be an external memory on the cloud. In this case, the imaging apparatus 100 further includes a communication device that communicates with the cloud, and the processing device 103 communicates with the cloud in step S208 of FIG. 2 via this communication device, and deletes the deletion target RAW data from the external memory on the cloud. Request to do.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施形態の一部を適宜組み合わせてもよい。また、上述の実施形態の機能を実現するソフトウェアのプログラムを、記録媒体から直接、或いは有線/無線通信を用いてプログラムを実行可能なコンピュータを有するシステム又は装置に供給し、そのプログラムを実行する場合も本発明に含む。従って、本発明の機能処理をコンピュータで実現するために、該コンピュータに供給、インストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明の機能処理を実現するためのコンピュータプログラム自体も本発明に含まれる。その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。プログラムを供給するための記録媒体としては、例えば、ハードディスク、磁気テープ等の磁気記録媒体、光/光磁気記憶媒体、不揮発性の半導体メモリでもよい。また、プログラムの供給方法としては、コンピュータネットワーク上のサーバに本発明を形成するコンピュータプログラムを記憶し、接続のあったクライアントコンピュータがコンピュータプログラムをダウンロードしてプログラムするような方法も考えられる。   Although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. included. A part of the above-described embodiments may be appropriately combined. Also, when a software program that realizes the functions of the above-described embodiments is supplied from a recording medium directly to a system or apparatus having a computer that can execute the program using wired / wireless communication, and the program is executed Are also included in the present invention. Accordingly, the program code itself supplied and installed in the computer in order to implement the functional processing of the present invention by the computer also realizes the present invention. That is, the computer program itself for realizing the functional processing of the present invention is also included in the present invention. In this case, the program may be in any form as long as it has a program function, such as an object code, a program executed by an interpreter, or script data supplied to the OS. As a recording medium for supplying the program, for example, a magnetic recording medium such as a hard disk or a magnetic tape, an optical / magneto-optical storage medium, or a nonvolatile semiconductor memory may be used. As a program supply method, a computer program that forms the present invention is stored in a server on a computer network, and a connected client computer downloads and programs the computer program.

100 撮像装置
101 光学系
102 撮像素子
103 処理装置
104 記録装置
105 操作部
106 表示装置
DESCRIPTION OF SYMBOLS 100 Imaging device 101 Optical system 102 Imaging element 103 Processing apparatus 104 Recording apparatus 105 Operation part 106 Display apparatus

Claims (11)

撮影毎に撮影により生成された第1の形式の画像を取得する取得手段と、
前記第1の形式の画像に基づき、第2の形式の画像を生成する生成手段と、
前記第1の形式の画像および前記第2の形式の画像を記録領域に記憶する記憶手段と、
前記記録領域の空き容量、前記第1の形式の画像を記録するための所定の容量、前記記録領域に記憶されている前記第2の形式の画像の容量、および前記第2の形式の画像の1枚当たりの見積もりの容量に基づき、撮影可能枚数を算出する算出手段と、
前記算出された撮影可能枚数を通知する第1の通知手段と、
前記記録領域の空き容量に応じて前記第1の形式の画像を前記記録領域から削除する削除手段とを備えることを特徴とする撮像装置。
Obtaining means for obtaining an image of the first format generated by photographing for each photographing;
Generating means for generating an image of the second format based on the image of the first format;
Storage means for storing the image in the first format and the image in the second format in a recording area;
Free space in the recording area, a predetermined capacity for recording the image in the first format, a capacity of the image in the second format stored in the recording area, and an image of the image in the second format A calculation means for calculating the number of possible shots based on the estimated capacity per frame;
First notifying means for notifying the calculated number of possible shots;
An image pickup apparatus comprising: a deletion unit that deletes the image in the first format from the recording area in accordance with a free space in the recording area.
前記削除手段は、前記記録領域に記憶されている前記第1の形式の画像の夫々の属性に基づいて削除する画像を決定することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the deleting unit determines an image to be deleted based on each attribute of the first format image stored in the recording area. 前記削除手段は、前記記録領域に記憶されている前記第1の形式の画像のうち、ユーザによる指示に基づく画像調整の結果に基づき前記第2の形式の画像を生成した前記第1の形式の画像を削除することを特徴とする請求項1または2記載の撮像装置。   The deletion unit is configured to generate the second format image based on a result of image adjustment based on an instruction from a user among the first format images stored in the recording area. The imaging apparatus according to claim 1, wherein an image is deleted. 前記第2の形式の画像は前記第1の形式の画像よりもデータサイズが小さいことを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。   4. The imaging apparatus according to claim 1, wherein the second format image has a data size smaller than that of the first format image. 5. 前記生成手段は、複数の前記第1の形式の画像から一つの前記第2の形式の画像を生成することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   5. The imaging apparatus according to claim 1, wherein the generation unit generates one image of the second format from a plurality of images of the first format. 6. 前記生成手段は、前記記録領域の空き容量に応じた枚数の前記第2の形式の画像を生成することを特徴とする請求項5記載の撮像装置。   6. The imaging apparatus according to claim 5, wherein the generation unit generates the number of images of the second format according to the free space of the recording area. 前記削除手段は、前記記録領域の空き容量に応じてさらに複数の前記第1の形式の画像のうち少なくとも1つを削除することを特徴とする請求項6記載の撮像装置。   The imaging apparatus according to claim 6, wherein the deleting unit further deletes at least one of the plurality of images of the first format according to a free space in the recording area. 次の撮影時に新たに前記記録領域に記憶される前記第1の形式の画像および前記第2の形式の画像のための空き容量がなく、且つ前記第1の形式の画像の合計データサイズが前記所定の容量以下である場合、これ以上撮影できない旨を通知する第2の通知手段をさらに備えることを特徴とする請求項1乃至7のいずれか一項に記載の撮像装置。   There is no free space for the first format image and the second format image newly stored in the recording area at the time of the next shooting, and the total data size of the first format image is The imaging apparatus according to any one of claims 1 to 7, further comprising second notification means for notifying that no more photographing is possible when the capacity is less than a predetermined capacity. 前記記録領域は外部装置にあって、
前記外部装置と通信する通信手段をさらに備え、
前記削除手段は、前記通信手段を介して、前記記録領域の空き容量に応じて前記第1の形式の画像を削除するように前記記録領域に要求することを特徴とする請求項1乃至8のいずれか一項に記載の撮像装置。
The recording area is in an external device,
A communication means for communicating with the external device;
9. The apparatus according to claim 1, wherein the deleting unit requests the recording area to delete the image of the first format according to a free capacity of the recording area via the communication unit. The imaging device according to any one of the above.
撮影毎に撮影により生成された第1の形式の画像を取得する取得手段と、前記第1の形式の画像に基づき、第2の形式の画像を生成する生成手段と、前記第1の形式の画像および前記第2の形式の画像を記録領域に記憶する記憶手段とを備える撮像装置の制御方法であって、
前記記録領域の空き容量、前記第1の形式の画像を記録するための所定の容量、前記記録領域に記憶されている前記第2の形式の画像の容量、および前記第2の形式の画像の1枚当たりの見積もりの容量に基づき、撮影可能枚数を算出する算出ステップと、
前記算出された撮影可能枚数を通知する通知ステップと、
前記記録領域の空き容量に応じて前記第1の形式の画像を前記記録領域から削除する削除ステップとを有することを特徴とする制御方法。
Acquisition means for acquiring an image of the first format generated by shooting for each shooting; generation means for generating an image of the second format based on the image of the first format; An image pickup apparatus control method comprising: an image and a storage unit that stores an image of the second format in a recording area;
Free space in the recording area, a predetermined capacity for recording the image in the first format, a capacity of the image in the second format stored in the recording area, and an image of the image in the second format A calculation step for calculating the number of possible shots based on an estimated capacity per frame;
A notification step of notifying the calculated number of possible shots;
And a deletion step of deleting the image of the first format from the recording area in accordance with a free space in the recording area.
コンピュータを請求項1乃至9のいずれか一項に記載の撮像装置の各手段として機能させるプログラム。   A program that causes a computer to function as each unit of the imaging apparatus according to any one of claims 1 to 9.
JP2016126563A 2016-06-27 2016-06-27 Imaging apparatus, control method therefor, and program Pending JP2018006805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016126563A JP2018006805A (en) 2016-06-27 2016-06-27 Imaging apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016126563A JP2018006805A (en) 2016-06-27 2016-06-27 Imaging apparatus, control method therefor, and program

Publications (1)

Publication Number Publication Date
JP2018006805A true JP2018006805A (en) 2018-01-11

Family

ID=60949912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016126563A Pending JP2018006805A (en) 2016-06-27 2016-06-27 Imaging apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP2018006805A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920548A (en) * 2018-06-14 2018-11-30 上海爱优威软件开发有限公司 The multi-format storage method and system of photo

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920548A (en) * 2018-06-14 2018-11-30 上海爱优威软件开发有限公司 The multi-format storage method and system of photo

Similar Documents

Publication Publication Date Title
JP2007081489A (en) Imaging apparatus and its control method
JP2001325139A (en) Information processing system, information processor, image pickup system, information processing method, and storage medium
JP4849020B2 (en) Imaging apparatus, imaging method, and program
JP2011182381A (en) Image processing device and image processing method
JP4564684B2 (en) Imaging apparatus and control method thereof
JP2011077654A (en) Imaging apparatus, control method thereof and program
JP2018006805A (en) Imaging apparatus, control method therefor, and program
KR20120110869A (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
JP2007221536A (en) Image pickup device, image processing program, and image transmission program
JP2005236496A (en) Image recording display system
JP2011087221A (en) Camera
JP5794657B2 (en) Imaging control apparatus and imaging control method
JP2006287588A (en) Image processing apparatus and method, data file structure, computer program, and storage medium
JP2004054201A (en) Controller for photographing device, photographing device, and program
JP2004096623A (en) Control method of information processing apparatus capable of controlling imaging device
JP7212477B2 (en) Recording device, recording method, and program
JP7214538B2 (en) Imaging device and recording control method
JP7475930B2 (en) Imaging device and control method thereof
JP7263017B2 (en) Recording control device and its control method
JP5495670B2 (en) Imaging device, control method thereof, and program
JP2007166140A (en) Imaging apparatus with camera shake image management function, and peripheral apparatus
JP2017022559A (en) Recording device and control method for recording device
JP2012133708A (en) File recording device, control method thereof, program and storage medium
JP2014207613A (en) Imaging apparatus and imaging method
JP2022048837A (en) Imaging apparatus