Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6132486B2 - Electronic camera - Google Patents
[go: Go Back, main page]

JP6132486B2 - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP6132486B2
JP6132486B2 JP2012165356A JP2012165356A JP6132486B2 JP 6132486 B2 JP6132486 B2 JP 6132486B2 JP 2012165356 A JP2012165356 A JP 2012165356A JP 2012165356 A JP2012165356 A JP 2012165356A JP 6132486 B2 JP6132486 B2 JP 6132486B2
Authority
JP
Japan
Prior art keywords
storage area
electronic image
writing
acquisition operation
frequency
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.)
Expired - Fee Related
Application number
JP2012165356A
Other languages
Japanese (ja)
Other versions
JP2014027438A (en
Inventor
進 大関
進 大関
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xacti Corp
Original Assignee
Xacti 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 Xacti Corp filed Critical Xacti Corp
Priority to JP2012165356A priority Critical patent/JP6132486B2/en
Publication of JP2014027438A publication Critical patent/JP2014027438A/en
Application granted granted Critical
Publication of JP6132486B2 publication Critical patent/JP6132486B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Description

この発明は、電子カメラに関し、特に画像を連続して取得する、電子カメラに関する。   The present invention relates to an electronic camera, and more particularly to an electronic camera that acquires images continuously.

この種のカメラの一例が、特許文献1に開示されている。この背景技術によれば、連写で複数の画像データが取得される場合に、1つの主画像ファイルがメモリカード208aに記録されるごとに、その主画像ファイルを記録した後のメモリカード208aの空き容量が判定される。空き容量からその主画像ファイルに基づいて生成される表示用画像ファイルの見込みデータサイズを減算した容量が、見込み空き容量(撮影可能空き容量)として算出される。算出された見込み空き容量と、連写で取得される主画像ファイルの見込みデータサイズ、および表示用画像ファイルの見込みデータサイズとに基づいて、連写により次の撮影が行われた場合に、次の主画像ファイルと表示用画像ファイルとをメモリカード208aに記録することができるか否かが判定され、記録することができないと判定された場合には、連写が終了する。   An example of this type of camera is disclosed in Patent Document 1. According to this background art, when a plurality of image data are acquired by continuous shooting, each time one main image file is recorded on the memory card 208a, the memory card 208a after the main image file is recorded is recorded. Free space is determined. A capacity obtained by subtracting the estimated data size of the display image file generated based on the main image file from the available capacity is calculated as the estimated available capacity (capable image capture available capacity). Based on the calculated estimated free space, the expected data size of the main image file obtained by continuous shooting, and the expected data size of the display image file, the next shooting is performed when the next shooting is performed. It is determined whether or not the main image file and the display image file can be recorded on the memory card 208a. If it is determined that the main image file and the display image file cannot be recorded, the continuous shooting ends.

特開2009−302902号公報JP 2009-302902 A

しかし、背景技術では、連写続行の可否の判定についてはメモリカードの空き容量に基づいた記述しかなく、画像が1次的に取り込まれる記憶領域の空き容量に基づいた連写の一時停止および再開の動作については不明である。このため、予期せず連写が停止する可能性があり、操作性が低下する恐れがある。   However, in the background art, there is only a description based on the free space of the memory card for determining whether or not to continue the continuous shooting, and the continuous shooting is paused and resumed based on the free space of the storage area where the image is temporarily captured. The operation of is unknown. For this reason, there is a possibility that continuous shooting may stop unexpectedly, and operability may be reduced.

それゆえに、この発明の主たる目的は、操作性を高めることができる、電子カメラを提供することである。   Therefore, a main object of the present invention is to provide an electronic camera that can improve operability.

この発明に従う電子カメラ(10:実施例で相当する参照符号。以下同じ)は、撮像手段から出力された電子画像を取得操作が検知される毎に第1記憶エリアに書き込む書き込み手段(S91, S119)、書き込み手段によって第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送手段(S31, S37, S47, S53, S63)、第1記憶エリアの空き容量が基準以上の容量を示す第1期間に取得操作を第1頻度で検出する第1検出手段(S23, S99)、第1記憶エリアの空き容量が基準を下回る容量を示す第2期間に取得操作を第1頻度よりも少ない第2頻度で検出する第2検出手段(S43)、および第1記憶エリアの空き容量を繰り返し報知する報知手段(S13, S69, S75, S93, S121)を備える。   The electronic camera according to the present invention (10: reference numeral corresponding to the embodiment; the same applies hereinafter) writes the electronic image output from the imaging means to the first storage area each time an acquisition operation is detected (S91, S119). ), Transfer means (S31, S37, S47, S53, S63) for transferring the electronic image stored in the first storage area to the second storage area by the writing means, and the free capacity of the first storage area exceeds the reference The first detection means (S23, S99) for detecting the acquisition operation at the first frequency during the first period shown, and the acquisition operation at the second period during which the free capacity of the first storage area is less than the reference than the first frequency Second detection means (S43) for detecting at a low second frequency and notification means (S13, S69, S75, S93, S121) for repeatedly notifying the free space in the first storage area are provided.

好ましくは、第1検出手段による取得操作の検知に関連して転送手段の処理を制限する制限手段(S97, S99)をさらに備える。   Preferably, it further includes limiting means (S97, S99) for limiting the processing of the transfer means in relation to the detection of the acquisition operation by the first detection means.

好ましくは、報知手段は取得可能なフレーム数を単位として空き容量を報知する。   Preferably, the notification means notifies the free space in units of acquirable frames.

好ましくは、転送手段は、書き込み手段によって第1記憶エリアに格納された電子画像に基づいて電子画像と異なる形式の電子画像を生成する画像生成手段(S31, S47, S63)、および画像生成手段によって生成された電子画像を格納するファイルを第2記憶エリアに作成するファイル作成手段(S37, S53)を含む。   Preferably, the transfer means includes an image generation means (S31, S47, S63) for generating an electronic image of a format different from the electronic image based on the electronic image stored in the first storage area by the writing means, and the image generation means. File creation means (S37, S53) for creating a file for storing the generated electronic image in the second storage area is included.

好ましくは、第1記憶エリアは主記憶装置(32)に相当し、第2記憶エリアは記録媒体(42)に相当する。   Preferably, the first storage area corresponds to the main storage device (32), and the second storage area corresponds to the recording medium (42).

この発明に従う撮像制御プログラムは、電子カメラ(10)のプロセッサ(26)に、撮像手段から出力された電子画像を取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ(S91, S119)、書き込みステップによって第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ(S31, S37, S47, S53, S63)、第1記憶エリアの空き容量が基準以上の容量を示す第1期間に取得操作を第1頻度で検出する第1検出ステップ(S23, S99)、第1記憶エリアの空き容量が基準を下回る容量を示す第2期間に取得操作を第1頻度よりも少ない第2頻度で検出する第2検出ステップ(S43)、および第1記憶エリアの空き容量を繰り返し報知する報知ステップ(S13, S69, S75, S93, S121)を実行させるための、撮像制御プログラムである。   The imaging control program according to the present invention writes the electronic image output from the imaging means to the processor (26) of the electronic camera (10) in the first storage area each time an acquisition operation is detected (S91, S119). , A transfer step (S31, S37, S47, S53, S63) for transferring the electronic image stored in the first storage area to the second storage area by the writing step, and the free space in the first storage area indicates a capacity greater than the reference First detection step (S23, S99) for detecting the acquisition operation at the first frequency in the first period, and the acquisition operation is less than the first frequency in the second period in which the free space in the first storage area indicates a capacity below the reference An imaging control program for executing a second detection step (S43) for detecting at a second frequency and a notification step (S13, S69, S75, S93, S121) for repeatedly notifying the free space in the first storage area .

この発明に従う撮像制御方法は、電子カメラ(10)によって実行される撮像制御方法であって、撮像手段から出力された電子画像を取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ(S91, S119)、書き込みステップによって第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ(S31, S37, S47, S53, S63)、第1記憶エリアの空き容量が基準以上の容量を示す第1期間に取得操作を第1頻度で検出する第1検出ステップ(S23, S99)、第1記憶エリアの空き容量が基準を下回る容量を示す第2期間に取得操作を第1頻度よりも少ない第2頻度で検出する第2検出ステップ(S43)、および第1記憶エリアの空き容量を繰り返し報知する報知ステップ(S13, S69, S75, S93, S121)を備える。   The imaging control method according to the present invention is an imaging control method executed by the electronic camera (10), and writes the electronic image output from the imaging means to the first storage area each time an acquisition operation is detected ( S91, S119), a transfer step (S31, S37, S47, S53, S63) for transferring the electronic image stored in the first storage area to the second storage area by the writing step, and the free space in the first storage area exceeds the reference A first detection step (S23, S99) for detecting an acquisition operation at a first frequency in a first period indicating the capacity of the first storage, and a first acquisition operation in a second period in which the free capacity of the first storage area is less than a reference A second detection step (S43) for detecting at a second frequency less than the frequency and a notification step (S13, S69, S75, S93, S121) for repeatedly notifying the free space in the first storage area are provided.

この発明に従う外部制御プログラムは、メモリ(44)に保存された内部制御プログラムに従う処理を実行するプロセッサ(26)を備える電子カメラ(10)に供給される外部制御プログラムであって、撮像手段から出力された電子画像を取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ(S91, S119)、書き込みステップによって第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ(S31, S37, S47, S53, S63)、第1記憶エリアの空き容量が基準以上の容量を示す第1期間に取得操作を第1頻度で検出する第1検出ステップ(S23, S99)、第1記憶エリアの空き容量が基準を下回る容量を示す第2期間に取得操作を第1頻度よりも少ない第2頻度で検出する第2検出ステップ(S43)、および第1記憶エリアの空き容量を繰り返し報知する報知ステップ(S13, S69, S75, S93, S121)を内部制御プログラムと協働してプロセッサに実行させるための、外部制御プログラムである。   An external control program according to the present invention is an external control program supplied to an electronic camera (10) including a processor (26) that executes processing according to an internal control program stored in a memory (44), and is output from an imaging unit. Writing step (S91, S119) for writing the electronic image to the first storage area each time an acquisition operation is detected, and a transfer step for transferring the electronic image stored in the first storage area by the writing step to the second storage area (S31, S37, S47, S53, S63), a first detection step (S23, S99) for detecting an acquisition operation at a first frequency in a first period in which the free capacity of the first storage area indicates a capacity greater than or equal to a reference, The second detection step (S43) of detecting the acquisition operation at a second frequency lower than the first frequency in the second period in which the free space of the one storage area is less than the reference, and the free space of the first storage area are repeated. News Notification step (S13, S69, S75, S93, S121) a for execution by the processor in cooperation with the internal control program, which is an external control program.

この発明に従う電子カメラ(10)は、外部制御プログラムを受信する受信手段(60)、および受信手段によって受信された外部制御プログラムとメモリ(44)に保存された内部制御プログラムとに従う処理を実行するプロセッサ(26)を備える電子カメラ(10)であって、外部制御プログラムは、撮像手段から出力された電子画像を取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ(S91, S119)、書き込みステップによって第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ(S31, S37, S47, S53, S63)、第1記憶エリアの空き容量が基準以上の容量を示す第1期間に取得操作を第1頻度で検出する第1検出ステップ(S23, S99)、第1記憶エリアの空き容量が基準を下回る容量を示す第2期間に取得操作を第1頻度よりも少ない第2頻度で検出する第2検出ステップ(S43)、および第1記憶エリアの空き容量を繰り返し報知する報知ステップ(S13, S69, S75, S93, S121)を内部制御プログラムと協働して実行するプログラムに相当する。   An electronic camera (10) according to the present invention executes a process according to a receiving means (60) for receiving an external control program, and an external control program received by the receiving means and an internal control program stored in a memory (44). An electronic camera (10) comprising a processor (26), wherein the external control program writes the electronic image output from the imaging means to the first storage area each time an acquisition operation is detected (S91, S119) , A transfer step (S31, S37, S47, S53, S63) for transferring the electronic image stored in the first storage area to the second storage area by the writing step, and the free space in the first storage area indicates a capacity greater than the reference First detection step (S23, S99) for detecting the acquisition operation at the first frequency in the first period, and the acquisition operation is less than the first frequency in the second period in which the free space in the first storage area indicates a capacity below the reference A program for executing a second detection step (S43) for detecting twice and a notification step (S13, S69, S75, S93, S121) for repeatedly notifying the free space in the first storage area in cooperation with the internal control program It corresponds to.

連写速度は第1記憶エリアの空き容量に応じて変化するところ、第1記憶エリアの空き容量が繰り返し報知される。これによって、操作性が向上する。   When the continuous shooting speed changes according to the free space in the first storage area, the free space in the first storage area is repeatedly notified. This improves operability.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

この発明の一実施例の基本的構成を示すブロック図である。It is a block diagram which shows the basic composition of one Example of this invention. この発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. 撮像面における評価エリアの割り当て状態の一例を示す図解図である。It is an illustration figure which shows an example of the allocation state of the evaluation area in an imaging surface. この発明のカメラにおいて実行される処理のタイミング図の一部を示す図解図である。It is an illustration figure which shows a part of timing diagram of the process performed in the camera of this invention. この発明のカメラにおいて実行される処理のタイミング図の他の一部を示す図解図である。It is an illustration figure which shows another part of timing diagram of the process performed in the camera of this invention. (A)はLCDモニタの表示およびバッファの状態の一例を示す図解図であり、(B)はLCDモニタの表示およびバッファの状態の他の一例を示す図解図である。(A) is an illustration figure which shows an example of the display of an LCD monitor, and the state of a buffer, (B) is an illustration figure which shows another example of the display of an LCD monitor, and the state of a buffer. (A)はLCDモニタの表示およびバッファの状態のその他の一例を示す図解図であり、(B)はLCDモニタの表示およびバッファの状態のさらにその他の一例を示す図解図である。(A) is an illustrative view showing another example of the display and buffer state of the LCD monitor, and (B) is an illustrative view showing still another example of the display and buffer state of the LCD monitor. (A)はLCDモニタの表示およびバッファの状態の他の一例を示す図解図であり、(B)はLCDモニタの表示およびバッファの状態のその他の一例を示す図解図である。(A) is an illustrative view showing another example of the display of the LCD monitor and the state of the buffer, and (B) is an illustrative view showing another example of the display of the LCD monitor and the state of the buffer. (A)はLCDモニタの表示およびバッファの状態のさらにその他の一例を示す図解図であり、(B)はLCDモニタの表示およびバッファの状態の他の一例を示す図解図である。(A) is an illustrative view showing still another example of the display and buffer state of the LCD monitor, and (B) is an illustrative view showing another example of the display and buffer state of the LCD monitor. (A)はLCDモニタの表示およびバッファの状態のその他の一例を示す図解図であり、(B)はLCDモニタの表示およびバッファの状態のさらにその他の一例を示す図解図である。(A) is an illustrative view showing another example of the display and buffer state of the LCD monitor, and (B) is an illustrative view showing still another example of the display and buffer state of the LCD monitor. 図2実施例に適用されるCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of CPU applied to the FIG. 2 Example. 図2実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 2 Example. 図2実施例に適用されるCPUの動作のその他の一部を示すフロー図である。FIG. 11 is a flowchart showing still another portion of behavior of the CPU applied to the embodiment in FIG. 2; 図2実施例に適用されるCPUの動作のさらにその他の一部を示すフロー図である。FIG. 10 is a flowchart showing yet another portion of behavior of the CPU applied to the embodiment in FIG. 2; 図2実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 2 Example. 図2実施例に適用されるCPUの動作のその他の一部を示すフロー図である。FIG. 11 is a flowchart showing still another portion of behavior of the CPU applied to the embodiment in FIG. 2; 図2実施例に適用されるCPUの動作のさらにその他の一部を示すフロー図である。FIG. 10 is a flowchart showing yet another portion of behavior of the CPU applied to the embodiment in FIG. 2; 図2実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 2 Example. 図2実施例に適用されるCPUの動作のその他の一部を示すフロー図である。FIG. 11 is a flowchart showing still another portion of behavior of the CPU applied to the embodiment in FIG. 2; 図2実施例に適用されるCPUの動作のさらにその他の一部を示すフロー図である。FIG. 10 is a flowchart showing yet another portion of behavior of the CPU applied to the embodiment in FIG. 2; 図2実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 2 Example. 図2実施例に適用されるCPUの動作のその他の一部を示すフロー図である。FIG. 11 is a flowchart showing still another portion of behavior of the CPU applied to the embodiment in FIG. 2; この発明の他の実施例の構成を示すブロック図である。It is a block diagram which shows the structure of the other Example of this invention. この発明のその他の実施例に適用されるCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of CPU applied to the other Example of this invention. この発明のその他の実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the other Example of this invention. この発明のさらにその他の実施例の構成を示すブロック図である。It is a block diagram which shows the structure of the further another Example of this invention. この発明の他の実施例に適用されるCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of CPU applied to the other Example of this invention. この発明の他の実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the other Example of this invention. この発明の他の実施例に適用されるCPUの動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the other Example of this invention. この発明の他の実施例に適用されるCPUの動作のさらにその他の一部を示すフロー図である。It is a flowchart which shows further another part of operation | movement of CPU applied to the other Example of this invention. この発明の他の実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the other Example of this invention.

以下、この発明の実施の形態を図面を参照しながら説明する。
[基本的構成]
Embodiments of the present invention will be described below with reference to the drawings.
[Basic configuration]

図1を参照して、この実施例の電子カメラは、基本的に次のように構成される。書き込み手段1は、撮像手段から出力された電子画像を取得操作が検知される毎に第1記憶エリアに書き込む。転送手段2は、書き込み手段1によって第1記憶エリアに格納された電子画像を第2記憶エリアに転送する。第1検出手段3は、第1記憶エリアの空き容量が基準以上の容量を示す第1期間に取得操作を第1頻度で検出する。第2検出手段4は、第1記憶エリアの空き容量が基準を下回る容量を示す第2期間に取得操作を第1頻度よりも少ない第2頻度で検出する。報知手段5は、第1記憶エリアの空き容量を繰り返し報知する。   Referring to FIG. 1, the electronic camera of this embodiment is basically configured as follows. The writing unit 1 writes the electronic image output from the imaging unit in the first storage area every time an acquisition operation is detected. The transfer unit 2 transfers the electronic image stored in the first storage area by the writing unit 1 to the second storage area. The first detection means 3 detects an acquisition operation at a first frequency in a first period in which the free space in the first storage area indicates a capacity greater than or equal to the reference. The second detection means 4 detects an acquisition operation at a second frequency that is less than the first frequency in a second period in which the free space in the first storage area indicates a capacity that is below the reference. The notification unit 5 repeatedly notifies the free space in the first storage area.

連写速度は第1記憶エリアの空き容量に応じて変化するところ、第1記憶エリアの空き容量が繰り返し報知される。これによって、操作性が向上する。
[実施例]
When the continuous shooting speed changes according to the free space in the first storage area, the free space in the first storage area is repeatedly notified. This improves operability.
[Example]

図2を参照して、この実施例のディジタルカメラ10は、ドライバ18aおよび18bによってそれぞれ駆動されるフォーカスレンズ12および絞りユニット14を含む。これらの部材を経たシーンを表す光学像は、イメージセンサ16の撮像面に照射され、光電変換を施される。これによって、シーンを表す電荷が生成される。   Referring to FIG. 2, the digital camera 10 of this embodiment includes a focus lens 12 and an aperture unit 14 driven by drivers 18a and 18b, respectively. An optical image representing a scene that has passed through these members is irradiated onto the imaging surface of the image sensor 16 and subjected to photoelectric conversion. As a result, a charge representing the scene is generated.

電源が投入されると、CPU26は、動画取り込み処理を実行するべく、撮像メインタスクの下で露光動作および電荷読み出し動作の繰り返しをドライバ18cに命令する。ドライバ18cは、図示しないSG(Signal Generator)から周期的に発生する垂直同期信号Vsyncに応答して、撮像面を露光し、かつ撮像面で生成された電荷をラスタ走査態様で読み出す。イメージセンサ16からは、読み出された電荷に基づくRAW画像データ(=生画像データ)が周期的に出力される。   When the power is turned on, the CPU 26 instructs the driver 18c to repeat the exposure operation and the charge readout operation under the imaging main task in order to execute the moving image capturing process. In response to a vertical synchronization signal Vsync periodically generated from an SG (Signal Generator) (not shown), the driver 18c exposes the imaging surface and reads out the charges generated on the imaging surface in a raster scanning manner. From the image sensor 16, RAW image data (= raw image data) based on the read charges is periodically output.

信号処理回路20は、イメージセンサ16から出力されたRAW画像データにディジタルクランプおよびゲイン制御などの処理を施す。これらの処理を施されたRAW画像データは、メモリ制御回路30を通してSDRAM32に書き込まれる。信号処理回路20はさらに、SDRAM32に格納されたRAW画像データをメモリ制御回路30を通して読み出し、読み出されたRAW画像データに色分離処理,白バランス調整処理,YUV変換処理などの処理を施し、YUV形式に従う表示画像データを作成する。表示画像データは、メモリ制御回路30を通してSDRAM32に書き込まれる。   The signal processing circuit 20 performs processing such as digital clamping and gain control on the RAW image data output from the image sensor 16. The RAW image data subjected to these processes is written into the SDRAM 32 through the memory control circuit 30. The signal processing circuit 20 further reads out the RAW image data stored in the SDRAM 32 through the memory control circuit 30, and performs processing such as color separation processing, white balance adjustment processing, YUV conversion processing on the read RAW image data, and YUV Create the display image data according to the format. Display image data is written into the SDRAM 32 through the memory control circuit 30.

LCDドライバ36は、SDRAM32に格納された表示画像データをメモリ制御回路30を通して繰り返し読み出し、読み出された画像データに基づいてLCDモニタ38を駆動する。この結果、シーンを表すリアルタイム動画像(スルー画像)がLCDモニタ38に表示される。   The LCD driver 36 repeatedly reads the display image data stored in the SDRAM 32 through the memory control circuit 30 and drives the LCD monitor 38 based on the read image data. As a result, a real-time moving image (through image) representing the scene is displayed on the LCD monitor 38.

また、イメージセンサ16から出力されたRAW画像データをキー入力装置28に設けられたシャッタボタン28shの操作に基づいて取り込むためのバッファBFが、SDRAM32に用意される。バッファBFは、複数の領域に分割され、これらの複数の領域に複数のRAW画像データをそれぞれ取り込むことができる。このようにしてRAW画像データを取り込み可能なバッファBFの領域の数を、CPU26は、連続して撮影可能なフレーム数を示す連写可能枚数としてスルー画像に重ねてLCDモニタ38に表示する。   In addition, a buffer BF for preparing the RAW image data output from the image sensor 16 based on the operation of the shutter button 28 sh provided in the key input device 28 is prepared in the SDRAM 32. The buffer BF is divided into a plurality of areas, and a plurality of pieces of RAW image data can be taken into these areas. In this way, the CPU 26 displays the number of areas of the buffer BF in which the RAW image data can be captured on the LCD monitor 38 so as to be superimposed on the through image as a continuously shootable number indicating the number of frames that can be continuously shot.

図3を参照して、撮像面の中央には評価エリアEVAが割り当てられる。評価エリアEVAは水平方向および垂直方向の各々において16分割され、256個の分割エリアが評価エリアEVAを形成する。また、信号処理回路20は、上述した処理に加えて、RAW画像データを簡易的にRGBデータに変換する簡易RGB変換処理を実行する。   Referring to FIG. 3, an evaluation area EVA is allocated at the center of the imaging surface. The evaluation area EVA is divided into 16 in each of the horizontal direction and the vertical direction, and 256 divided areas form the evaluation area EVA. In addition to the above-described processing, the signal processing circuit 20 executes simple RGB conversion processing that simply converts RAW image data into RGB data.

AE評価回路22は、信号処理回路20によって生成されたRGBデータのうち評価エリアEVAに属するRGBデータを、垂直同期信号Vsyncが発生する毎に積分する。これによって、256個の積分値つまり256個のAE評価値が、垂直同期信号Vsyncに応答してAE評価回路22から出力される。AF評価回路24は、信号処理回路20によって生成されたRGBデータのうち評価エリアEVAに属するRGBデータの高周波成分を、垂直同期信号Vsyncが発生する毎に積分する。これによって、256個の積分値つまり256個のAF評価値が、垂直同期信号Vsyncに応答してAF評価回路24から出力される。   The AE evaluation circuit 22 integrates RGB data belonging to the evaluation area EVA among the RGB data generated by the signal processing circuit 20 every time the vertical synchronization signal Vsync is generated. As a result, 256 integral values, that is, 256 AE evaluation values, are output from the AE evaluation circuit 22 in response to the vertical synchronization signal Vsync. The AF evaluation circuit 24 integrates the high frequency components of the RGB data belonging to the evaluation area EVA among the RGB data generated by the signal processing circuit 20 each time the vertical synchronization signal Vsync is generated. As a result, 256 integral values, that is, 256 AF evaluation values, are output from the AF evaluation circuit 24 in response to the vertical synchronization signal Vsync.

シャッタボタン28shが非操作状態のとき、CPU26は、AE評価回路22からの出力に基づく簡易AE処理を実行し、適正EV値を算出する。簡易AE処理は動画取り込み処理と並列して実行され、算出された適正EV値を定義する絞り量および露光時間はドライバ18bおよび18cにそれぞれ設定される。この結果、スルー画像の明るさが適度に調整される。   When the shutter button 28sh is in the non-operating state, the CPU 26 executes a simple AE process based on the output from the AE evaluation circuit 22 and calculates an appropriate EV value. The simple AE process is executed in parallel with the moving image capturing process, and the aperture amount and the exposure time that define the calculated appropriate EV value are set in the drivers 18b and 18c, respectively. As a result, the brightness of the through image is appropriately adjusted.

シャッタボタン28shが半押しされると(=S1状態)、CPU26は、AE評価回路22からの出力に基づく厳格AE処理を実行する。厳格AE処理によって算出された最適EV値を定義する絞り量および露光時間は、ドライバ18bおよび18cにそれぞれ設定される。この結果、スルー画像の明るさが厳密に調整される。   When the shutter button 28sh is half-pressed (= S1 state), the CPU 26 executes a strict AE process based on the output from the AE evaluation circuit 22. The aperture amount and the exposure time that define the optimum EV value calculated by the strict AE process are set in the drivers 18b and 18c, respectively. As a result, the brightness of the through image is adjusted strictly.

厳格AE処理が完了すると、CPU26は、AF評価回路24からの出力に基づくAF処理を実行する。この結果、フォーカスレンズ12が合焦点に配置され、スルー画像の鮮鋭度が向上する。   When the strict AE process is completed, the CPU 26 executes the AF process based on the output from the AF evaluation circuit 24. As a result, the focus lens 12 is disposed at the focal point, and the sharpness of the through image is improved.

シャッタボタン28shが全押しされると(=S2状態)、スルー画像の表示が停止し、RAW画像の取り込み,フリーズ画像の作成および表示,RAW画像データからDNG(Digital Negative)画像データへの変換,DNG形式の画像ファイルの書き込み,RAW画像データからJPEG(Joint Photographic Experts Group)画像データへの変換,ならびにJPEG形式の画像ファイルの書き込みの各処理が、1つのフレーム画像に対して実行される。また、シャッタボタン28shの全押し状態が継続されると、図4および5のタイミング図に示すように、各処理の一部が並列して実行される。   When the shutter button 28sh is fully pressed (= S2 state), the display of the through image is stopped, the RAW image is captured, the freeze image is generated and displayed, and the RAW image data is converted to DNG (Digital Negative) image data. Each process of writing a DNG image file, converting RAW image data to JPEG (Joint Photographic Experts Group) image data, and writing a JPEG image file is executed for one frame image. When the shutter button 28sh is fully pressed, a part of each process is executed in parallel as shown in the timing diagrams of FIGS.

図4を参照して、シャッタボタン28shの全押しによって、厳格AE処理およびAF処理の完了後にRAW取込タスクが起動される。また、LCDモニタ38に表示された連写可能枚数の表示が、“1”減じられた値に更新される。   Referring to FIG. 4, when the shutter button 28sh is fully pressed, the RAW capture task is activated after the strict AE process and the AF process are completed. Further, the display of the number of continuous shots displayed on the LCD monitor 38 is updated to a value reduced by “1”.

CPU26は、RAW取込タスクの下で、厳格AE処理によって決定された期間の露光動作をドライバ18cに命令する。露光処理が完了すると、CPU26は、露光処理によって生成されたRAW画像データをバッファBFに取り込むべく、DMA(Direct Memory Access)転送の開始を命令する。   Under the RAW capture task, the CPU 26 instructs the driver 18c to perform an exposure operation for a period determined by the strict AE process. When the exposure process is completed, the CPU 26 commands the start of DMA (Direct Memory Access) transfer so that the RAW image data generated by the exposure process is taken into the buffer BF.

RAW画像データの取り込みが完了した時点でシャッタボタン28shの全押し状態が継続していた場合、CPU26は、2フレーム目のRAW画像データを取り込むべく、RAW取込タスクを起動する。また、LCDモニタ38に表示された連写可能枚数の表示が、“1”減じられた値に更新される。   If the full-press state of the shutter button 28sh is continued at the time when the acquisition of the RAW image data is completed, the CPU 26 activates a RAW acquisition task to acquire the RAW image data of the second frame. Further, the display of the number of continuous shots displayed on the LCD monitor 38 is updated to a value reduced by “1”.

2フレーム目のRAW画像データのDMA転送が開始されると、CPU26は、RAW画像データの取り込みと並列してフリーズ画像の作成および表示を実行するべく、フリーズ画像タスクを起動する。CPU26は、フリーズ画像タスクの下で、バッファBFに取り込まれた1フレーム目のRAW画像データにズーム処理等を施して、フリーズ画像を作成する。作成されたフリーズ画像は、スルー画像に代えてLCDモニタ38に表示される。   When the DMA transfer of the RAW image data of the second frame is started, the CPU 26 activates a freeze image task in order to create and display a freeze image in parallel with the capture of the RAW image data. Under the freeze image task, the CPU 26 performs zoom processing or the like on the RAW image data of the first frame captured in the buffer BF to create a freeze image. The created freeze image is displayed on the LCD monitor 38 instead of the through image.

図4に示す例によると、3フレーム目のRAW画像データの取り込み中にシャッタボタン28shの全押し状態が解除されている(=S2〜S1〜OFF)。この場合、3フレーム目のRAW画像データの取り込みが完了すると、3フレーム目のフリーズ画像の作成および表示が実行される。   According to the example shown in FIG. 4, the fully pressed state of the shutter button 28 sh is released during the capture of the RAW image data of the third frame (= S2 to S1 to OFF). In this case, when the capture of the RAW image data for the third frame is completed, a freeze image for the third frame is created and displayed.

次にCPU26は、撮像メインタスクの下で、1フレーム目のRAW画像データからDNG画像データへの変換処理および画素欠陥補正処理を実行する。この結果、1フレーム目に対応するDNG形式の画像データがSDRAM32に作成される。   Next, under the imaging main task, the CPU 26 executes a conversion process from the RAW image data of the first frame to the DNG image data and a pixel defect correction process. As a result, DNG format image data corresponding to the first frame is created in the SDRAM 32.

作成されたDNG画像データに基づいてDNG形式の画像ファイルの書き込みを実行するべく、CPU26は、ファイル書込タスクを起動する。CPU26は、ファイル書込タスクの下で、SDRAM32に格納されたDNG画像データに基づいて、DNG画像ファイルの記録媒体42への書き込みを開始する。   In order to execute writing of an image file in the DNG format based on the created DNG image data, the CPU 26 activates a file writing task. Under the file write task, the CPU 26 starts writing the DNG image file to the recording medium 42 based on the DNG image data stored in the SDRAM 32.

DNG画像ファイルの書き込みが完了すると、CPU26は、撮像メインタスクの下で、1フレーム目のRAW画像データからJPEG画像データへの変換処理を実行する。この結果、1フレーム目に対応するJPEG形式の画像データがSDRAM32に作成される。   When the writing of the DNG image file is completed, the CPU 26 executes a conversion process from the RAW image data of the first frame to the JPEG image data under the imaging main task. As a result, JPEG image data corresponding to the first frame is created in the SDRAM 32.

作成されたJPEG画像データに基づいてJPEG形式の画像ファイルの書き込みを実行するべく、CPU26は、ファイル書込タスクを起動する。CPU26は、ファイル書込タスクの下で、SDRAM32に格納されたJPEG画像データに基づいて、JPEG画像ファイルの記録媒体42への書き込みを開始する。   In order to execute writing of an image file in JPEG format based on the created JPEG image data, the CPU 26 activates a file writing task. Under the file writing task, the CPU 26 starts writing the JPEG image file to the recording medium 42 based on the JPEG image data stored in the SDRAM 32.

CPU26はまた、1フレーム目のJPEG画像ファイルの書き込みと並列して、2フレーム目のRAW画像データからDNG画像データへの変換処理および画素欠陥補正処理を撮像メインタスクの下で実行する。この結果、2フレーム目に対応するDNG形式の画像データがSDRAM32に作成される。   In parallel with the writing of the JPEG image file of the first frame, the CPU 26 executes conversion processing from RAW image data of the second frame to DNG image data and pixel defect correction processing under the imaging main task. As a result, DNG format image data corresponding to the second frame is created in the SDRAM 32.

JPEG画像ファイルの書き込みが完了すると、1フレーム目のRAW画像データがバッファBFからクリアされる。つまり、バッファBFの空き領域が1つ増加するので、LCDモニタ38に表示された連写可能枚数の表示が、“1”加えられた値に更新される。   When the writing of the JPEG image file is completed, the RAW image data of the first frame is cleared from the buffer BF. That is, since the vacant area of the buffer BF is increased by 1, the display of the number of continuous shots displayed on the LCD monitor 38 is updated to a value added with “1”.

また、DNG画像データの作成が完了すると、CPU26は、ファイル書込タスクを起動して、2フレーム目に対応するDNG画像ファイルの記録媒体42への書き込みを開始する。   When the creation of the DNG image data is completed, the CPU 26 activates a file writing task and starts writing the DNG image file corresponding to the second frame to the recording medium 42.

図5を参照して、DNG画像ファイルの書き込み中に、シャッタボタン28shが再び全押しされた場合、つまりいわゆる継ぎ足し連写撮影の操作が行われた場合、新たなフレームのRAW画像データの取り込みとフリーズ画像の作成および表示とが行われる。   Referring to FIG. 5, when the shutter button 28sh is fully pressed again during writing of the DNG image file, that is, when a so-called continuous continuous shooting operation is performed, RAW image data of a new frame is captured. Freeze images are created and displayed.

ここで、RAW画像データを取り込み可能なバッファBFの領域の数を“4”とした場合、最初のシャッタボタン28shの全押し操作によって3フレームのRAW画像データがバッファBFに取り込まれた時点で、空き領域は1つである。その後JPEG画像ファイルの書き込み完了によって1フレーム目のRAW画像データがバッファBFからクリアされたので、継ぎ足し連写撮影の開始時点で、バッファBFの空き領域は2つである。   Here, when the number of areas of the buffer BF that can capture RAW image data is “4”, when 3 frames of RAW image data is captured into the buffer BF by the first full-press operation of the shutter button 28 sh, There is one free area. After that, the RAW image data of the first frame is cleared from the buffer BF when the writing of the JPEG image file is completed, so there are two free areas in the buffer BF at the start of the continuous shooting.

したがって、図5に示すように、シャッタボタン28shの全押しが継続された場合であっても、RAW画像データの取り込みは2回で終了する。なお、2フレーム目に対応するJPEG画像ファイルの書き込み完了までシャッタボタン28shの全押しが継続された場合は、バッファBFに新たに空き領域が生じるので、その時点でRAW画像データの取り込みがさらに1回行われる。   Therefore, as shown in FIG. 5, even when the shutter button 28sh is fully pressed, the RAW image data capturing is completed twice. If the shutter button 28sh is fully pressed until the writing of the JPEG image file corresponding to the second frame is completed, a new empty area is generated in the buffer BF. Performed once.

連写可能枚数の表示は、以下に述べる態様で変遷する。図6(A)を参照して、RAW画像データを取り込み可能なバッファBFの領域の数を“4”とした場合、シャッタボタン28shが非操作状態の間は、LCDモニタ38の枚数表示領域ARにスルー画像に重ねて連写可能枚数“4”が表示される。   The display of the number of continuous shots can be changed in the following manner. Referring to FIG. 6A, when the number of areas of the buffer BF that can capture RAW image data is “4”, the number display area AR of the LCD monitor 38 is displayed while the shutter button 28sh is not operated. The number of continuous shots “4” is displayed on the through image.

図6(B)を参照して、シャッタボタン28shが全押しされると、スルー画像の表示が停止し、1フレーム目のRAW画像データがバッファBFの1番目の領域に取り込まれる。これによって、連写可能枚数の表示が“1”減じられて“3”に変化する。   Referring to FIG. 6B, when the shutter button 28sh is fully pressed, the through image display is stopped, and the RAW image data of the first frame is taken into the first area of the buffer BF. As a result, the display of the number of continuous shots is reduced by “1” and changed to “3”.

図7(A)を参照して、シャッタボタン28shの全押し状態が継続すると、2フレーム目のRAW画像データがバッファBFの2番目の領域に取り込まれる。これによって、連写可能枚数の表示が“1”減じられて“2”に変化する。また、1フレーム目のフリーズ画像が作成されてLCDモニタ38に表示される。   Referring to FIG. 7A, when the shutter button 28sh is fully pressed, the RAW image data of the second frame is taken into the second area of the buffer BF. As a result, the display of the number of continuous shots is reduced by “1” and changed to “2”. A freeze image for the first frame is created and displayed on the LCD monitor 38.

図7(B)を参照して、シャッタボタン28shの全押し状態が継続すると、3フレーム目のRAW画像データがバッファBFの3番目の領域に取り込まれる。これによって、連写可能枚数の表示が“1”減じられて“1”に変化する。また、2フレーム目のフリーズ画像が作成されてLCDモニタ38に表示される。   Referring to FIG. 7B, when the shutter button 28sh is fully pressed, the RAW image data of the third frame is taken into the third area of the buffer BF. As a result, the display of the number of continuous shots is reduced by “1” and changed to “1”. A freeze image for the second frame is created and displayed on the LCD monitor 38.

図8(A)を参照して、3フレーム目のRAW画像データの取り込み開始後から取り込み完了までの間にシャッタボタン28shの全押し状態が解除されると、RAW画像データの取り込みは3フレーム目で停止する。よって、連写可能枚数の表示は変化しない。また、3フレーム目のフリーズ画像が作成されてLCDモニタ38に表示される。   Referring to FIG. 8A, when the shutter button 28sh is fully pressed between the start of capturing the RAW image data for the third frame and the completion of capturing, the RAW image data is captured for the third frame. Stop at. Therefore, the display of the number of continuous shots does not change. A freeze image for the third frame is created and displayed on the LCD monitor 38.

図8(B)を参照して、1フレーム目のJPEG画像ファイルの書き込みが完了すると、1フレーム目のRAW画像データがバッファBFの1番目の領域からクリアされる。これによって、連写可能枚数の表示が“1”加えられて“2”に変化する。また、3フレーム目のフリーズ画像の表示は継続する。   Referring to FIG. 8B, when the writing of the JPEG image file of the first frame is completed, the RAW image data of the first frame is cleared from the first area of the buffer BF. As a result, “1” is added to the display of the number of images that can be continuously shot, and the display changes to “2”. Further, the display of the freeze image in the third frame is continued.

図9(A)を参照して、図8(B)に示す状態のときにシャッタボタン28shが再び全押しされると、4フレーム目のRAW画像データがバッファBFの4番目の領域に取り込まれる。これによって、連写可能枚数の表示が“1”減じられて“1”に変化する。また、3フレーム目のフリーズ画像の表示は継続する。   Referring to FIG. 9A, when the shutter button 28sh is fully pressed again in the state shown in FIG. 8B, the RAW image data of the fourth frame is taken into the fourth area of the buffer BF. . As a result, the display of the number of continuous shots is reduced by “1” and changed to “1”. Further, the display of the freeze image in the third frame is continued.

図9(B)を参照して、シャッタボタン28shの全押し状態が継続すると、5フレーム目のRAW画像データがバッファBFの1番目の領域に取り込まれる。これによって、連写可能枚数の表示が“1”減じられて“0”に変化する。また、4フレーム目のフリーズ画像が作成されてLCDモニタ38に表示される。   Referring to FIG. 9B, when the shutter button 28sh is fully pressed, the RAW image data of the fifth frame is taken into the first area of the buffer BF. As a result, the display of the number of continuous shots is reduced by “1” and changed to “0”. A freeze image for the fourth frame is created and displayed on the LCD monitor 38.

図10(A)を参照して、シャッタボタン28shの全押し状態が継続した場合であっても、バッファBFの全ての領域にRAW画像データが取り込まれているので、新たなRAW画像データの取り込みは行われない。また、5フレーム目のフリーズ画像が作成されてLCDモニタ38に表示される。連写可能枚数の表示は、2,3,および4フレーム目のJPEG画像ファイルの書き込みがそれぞれ完了する毎に“1”加えられて、“1”,“2”,および“3”に変化する。   Referring to FIG. 10A, even when the shutter button 28sh is fully depressed, RAW image data is captured in all areas of the buffer BF, so that new RAW image data is captured. Is not done. A freeze image of the fifth frame is created and displayed on the LCD monitor 38. The display of the number of images that can be continuously shot is changed to “1”, “2”, and “3” by adding “1” every time writing of the JPEG image files of the second, third, and fourth frames is completed. .

図10(B)を参照して、シャッタボタン28shの新たな全押し操作が行われないまま5フレーム目のJPEG画像ファイルの書き込みが完了すると、連写可能枚数の表示が“1”加えられて“4”に変化する。また、スルー画像の表示が再開される。   Referring to FIG. 10B, when the writing of the JPEG image file of the fifth frame is completed without a new full pressing operation of shutter button 28sh, “1” is added to the display of the number of continuously shootable images. It changes to “4”. In addition, the display of the through image is resumed.

CPU26は、図11〜15に示す撮像メインタスク,図20に示すRAW取込タスク,図21に示すフリーズ画像タスク,および図22に示すファイル書込タスクを含む複数のタスクを並列的に実行する。なお、これらのタスクに対応する制御プログラムは、フラッシュメモリ44に記憶される。   The CPU 26 executes in parallel a plurality of tasks including the imaging main task shown in FIGS. 11 to 15, the RAW capture task shown in FIG. 20, the freeze image task shown in FIG. 21, and the file writing task shown in FIG. 22. . Note that control programs corresponding to these tasks are stored in the flash memory 44.

なお、以下のフロー図の説明では、次のように定義した変数を用いる。図11を参照して、変数“N”はバッファBFの領域のうち使用中の領域数を示す。この変数Nの最大値を“Nmax”に設定し、つまりNmaxはバッファBFに用意された領域数に相当する。   In the following description of the flow diagram, variables defined as follows are used. Referring to FIG. 11, variable “N” indicates the number of areas in use in the area of buffer BF. The maximum value of the variable N is set to “Nmax”, that is, Nmax corresponds to the number of areas prepared in the buffer BF.

変数“M”は、バッファBFの領域番号を示し、特にDNG形式またはJPEG形式への変換処理を施す対象を指定する。   The variable “M” indicates an area number of the buffer BF, and particularly designates a target to be converted into the DNG format or JPEG format.

変数“P”は、バッファBFの領域番号を示し、特にRAW画像データを取り込む領域を指定する。   The variable “P” indicates the area number of the buffer BF, and in particular, designates an area for capturing RAW image data.

変数“Q”は、バッファBFの領域番号を示し、特にフリーズ画像を作成する対象を指定する。   The variable “Q” indicates an area number of the buffer BF, and particularly designates a target for creating a freeze image.

ステップS1では変数Nに“0”を初期設定し、ステップS3では変数Nの最大値Nmaxに“4”を設定し、ステップS5では変数Mに“1”を初期設定し、ステップS7では変数Pに“0”を初期設定する。   In step S1, the variable N is initially set to “0”, in step S3, the maximum value Nmax of the variable N is set to “4”, in step S5, the variable M is initially set to “1”, and in step S7, the variable P is set. "0" is initialized.

ステップS9では、動画取り込み処理を実行するべく、撮像メインタスクの下で露光動作および電荷読み出し動作の繰り返しをドライバ18cに命令する。この結果、イメージセンサ16からは、読み出された電荷に基づく生画像データが周期的に出力される。   In step S9, the driver 18c is instructed to repeat the exposure operation and the charge readout operation under the main imaging task in order to execute the moving image capturing process. As a result, raw image data based on the read charges is periodically output from the image sensor 16.

ステップS11ではLCDモニタ38へのスルー画像の表示を開始し、ステップS13では連写可能枚数Nmaxをスルー画像に重ねてLCDモニタ38に表示する。   In step S11, display of a through image on the LCD monitor 38 is started, and in step S13, the number Nmax of continuous shots is displayed on the LCD monitor 38 so as to be superimposed on the through image.

ステップS15ではシャッタボタン28shが半押しされたか否かを判別し、判別結果がNOであれば、ステップS17で簡易AE処理を実行する。この結果、スルー画像の明るさが適度に調整される。   In step S15, it is determined whether or not the shutter button 28sh is half-pressed. If the determination result is NO, a simple AE process is executed in step S17. As a result, the brightness of the through image is appropriately adjusted.

ステップS15の判別結果がNOからYESに更新されると、ステップS19で厳格AE処理を実行する。この結果、スルー画像の明るさが厳密に調整される。ステップS21ではAF処理を実行する。この結果、合焦点にフォーカスレンズ12が配置され、スルー画像の鮮鋭度が向上する。   When the determination result in step S15 is updated from NO to YES, a strict AE process is executed in step S19. As a result, the brightness of the through image is adjusted strictly. In step S21, AF processing is executed. As a result, the focus lens 12 is disposed at the focal point, and the sharpness of the through image is improved.

ステップS23ではシャッタボタン28shが全押しされたか否かを繰り返し判別し、判別結果がNOであれば、ステップS25でシャッタボタン28shが解除されたか否かを判別する。ステップS25の判別結果がNOであればステップS23に戻る一方、ステップS25の判別結果がYESであればステップS15に戻る。   In step S23, it is repeatedly determined whether or not the shutter button 28sh has been fully pressed. If the determination result is NO, it is determined in step S25 whether or not the shutter button 28sh has been released. If the determination result in step S25 is NO, the process returns to step S23, while if the determination result in step S25 is YES, the process returns to step S15.

ステップS23の判別結果がYESであれば、ステップS27でLCDモニタ38へのスルー画像の表示を停止する。ステップS29では連写制御処理を実行する。ステップS29の処理が完了すると、ステップS31では、ステップS29の処理によってバッファBFのM番目の領域に取り込まれたRAW画像データに対して、DNG形式に変換する処理および画素欠陥補正処理を施す。この結果、DNG形式の画像データがSDRAM32に作成される。   If the decision result in the step S23 is YES, the display of the through image on the LCD monitor 38 is stopped in a step S27. In step S29, continuous shooting control processing is executed. When the process in step S29 is completed, in step S31, the RAW image data captured in the Mth area of the buffer BF by the process in step S29 is subjected to a process for converting to DNG format and a pixel defect correction process. As a result, DNG format image data is created in the SDRAM 32.

作成されたDNG画像データに基づく画像ファイルを記録媒体42に書き込むべく、ステップS33でフラグFLG_jpegに“0”を設定した上で、ステップS35でフラグFLG_fileに“0”を設定し、ステップS37でファイル書込タスクを起動する。   In order to write an image file based on the created DNG image data to the recording medium 42, the flag FLG_jpeg is set to “0” in step S33, the flag FLG_file is set to “0” in step S35, and the file is set in step S37. Start the write task.

ステップS39では、ステップS37で起動したファイル書込タスクの終了を判別するべく、フラグFLG_fileに“1”が設定されているか否かを判別する。判別結果がYESであればステップS47に進む一方、判別結果がNOであればステップS41に進む。   In step S39, it is determined whether or not “1” is set in the flag FLG_file in order to determine the end of the file writing task activated in step S37. If the determination result is YES, the process proceeds to step S47 while if the determination result is NO, the process proceeds to step S41.

ステップS41では変数NがNmax未満を示すか否かを判別し、判別結果がNOであればステップS39に戻る一方、判別結果がYESであればステップS43に進む。ステップS43ではシャッタボタン28shが全押し状態であるか否かを判別し、判別結果がNOであればステップS39に戻る一方、判別結果がYESであればステップS45に進む。   In step S41, it is determined whether or not the variable N is less than Nmax. If the determination result is NO, the process returns to step S39, whereas if the determination result is YES, the process proceeds to step S43. In step S43, it is determined whether or not the shutter button 28sh is fully pressed. If the determination result is NO, the process returns to step S39, whereas if the determination result is YES, the process proceeds to step S45.

ステップS45では連写制御処理を実行し、連写制御処理の完了後にステップS39に戻る。   In step S45, a continuous shooting control process is executed, and after the continuous shooting control process is completed, the process returns to step S39.

ステップS47では、ステップS29またはS43の処理によってバッファBFのM番目の領域に取り込まれたRAW画像データに対して、JPEG形式に変換する処理を施す。この結果、JPEG形式の画像データがSDRAM32に作成される。   In step S47, the RAW image data captured in the Mth area of the buffer BF by the processing in step S29 or S43 is subjected to processing for conversion to JPEG format. As a result, JPEG format image data is created in the SDRAM 32.

作成されたJPEG画像データに基づく画像ファイルを記録媒体42に書き込むべく、ステップS49でフラグFLG_jpegに“1”を設定した上で、ステップS51でフラグFLG_fileに“0”を設定し、ステップS53でファイル書込タスクを起動する。   In order to write the image file based on the created JPEG image data to the recording medium 42, “1” is set to the flag FLG_jpeg in step S49, “0” is set to the flag FLG_file in step S51, and the file is set in step S53. Start the write task.

ステップS55では変数Nが“2”以上を示すか否かを判別し、判別結果がNOであればステップS71に進む一方、判別結果がYESであればステップS57に進む。ステップS57では変数Mをインクリメントし、この結果変数MがNmaxを超えたか否かをステップS59で判別する。判別結果がNOであればステップS63に進み、判別結果がYESであればステップS61の処理を経てステップS63に進む。   In step S55, it is determined whether or not the variable N indicates “2” or more. If the determination result is NO, the process proceeds to step S71. If the determination result is YES, the process proceeds to step S57. In step S57, the variable M is incremented, and it is determined in step S59 whether or not the variable M has exceeded Nmax. If the determination result is NO, the process proceeds to step S63, and if the determination result is YES, the process proceeds to step S63 through the process of step S61.

ステップS61では変数Mに“1”を設定し、ステップS63では、ステップS29またはS43の処理によってバッファBFのM番目の領域に取り込まれたRAW画像データに対して、DNG形式に変換する処理および画素欠陥補正処理を施す。この結果、DNG形式の画像がSDRAM32に作成される。   In step S61, the variable M is set to “1”, and in step S63, the RAW image data captured in the Mth area of the buffer BF by the process in step S29 or S43 is converted into the DNG format and the pixel. Defect correction processing is performed. As a result, an image in the DNG format is created in the SDRAM 32.

ステップS65では、ステップS53で起動したファイル書込タスクの終了を判別するべく、フラグFLG_fileに“1”が設定されているか否かを繰り返し判別する。判別結果がNOからYESに更新されるとステップS67に進む。   In step S65, it is repeatedly determined whether or not “1” is set in the flag FLG_file in order to determine the end of the file writing task started in step S53. When the determination result is updated from NO to YES, the process proceeds to Step S67.

ステップS67では変数Nをデクリメントし、ステップS69ではLCDモニタ38の連写可能枚数の表示を“Nmax−N”に更新し、その後にステップS33に戻る。   In step S67, the variable N is decremented. In step S69, the display of the number of continuously shootable images on the LCD monitor 38 is updated to “Nmax−N”, and then the process returns to step S33.

ステップS71では、ステップS53で起動したファイル書込タスクの終了を判別するべく、フラグFLG_fileに“1”が設定されているか否かを繰り返し判別する。判別結果がNOからYESに更新されるとステップS73に進む。   In step S71, it is repeatedly determined whether or not “1” is set in the flag FLG_file in order to determine the end of the file writing task started in step S53. When the determination result is updated from NO to YES, the process proceeds to Step S73.

ステップS73では変数Nをデクリメントし、ステップS75ではLCDモニタ38の連写可能枚数の表示を“Nmax−N”に更新する。ステップS77ではLCDモニタ38へのスルー画像の表示を開始し、その後にステップS15に戻る。   In step S73, the variable N is decremented, and in step S75, the display of the number of continuously shootable images on the LCD monitor 38 is updated to “Nmax−N”. In step S77, display of the through image on the LCD monitor 38 is started, and then the process returns to step S15.

ステップS29およびS43の連写制御処理は、図16〜図19に示すサブルーチンに従って実行される。ステップS81では変数Nをインクリメントし、ステップS83では変数Pをインクリメントする。   The continuous shooting control process of steps S29 and S43 is executed according to the subroutines shown in FIGS. In step S81, the variable N is incremented, and in step S83, the variable P is incremented.

ステップS85では変数Pが示す値がNmaxを超えたか否かを判別し、判別結果がNOであればステップS89に進む一方、判別結果がYESであればステップS87の処理を経てステップS89に進む。ステップS87では変数Pに“1”を設定する。   In step S85, it is determined whether or not the value indicated by the variable P exceeds Nmax. If the determination result is NO, the process proceeds to step S89, and if the determination result is YES, the process proceeds to step S89 through a process in step S87. In step S87, the variable P is set to “1”.

ステップS89ではフラグFLG_rawに“0”を設定し、ステップS91ではRAW取込タスクを起動する。ステップS93ではLCDモニタ38の連写可能枚数の表示を“Nmax−N”に更新する。   In step S89, the flag FLG_raw is set to “0”, and in step S91, the RAW capture task is activated. In step S93, the display of the number of continuously shootable images on the LCD monitor 38 is updated to “Nmax−N”.

ステップS95では、ステップS91で起動したRAW取込タスクの終了を判別するべく、フラグFLG_rawに“1”が設定されているか否かを繰り返し判別する。判別結果がNOからYESに更新されるとステップS97に進む。   In step S95, it is repeatedly determined whether or not “1” is set in the flag FLG_raw in order to determine the end of the RAW capture task activated in step S91. When the determination result is updated from NO to YES, the process proceeds to Step S97.

ステップS97では変数NがNmax未満を示すか否かを判別し、判別結果がNOであればステップS101に進む一方、判別結果がYESであればステップS99に進む。ステップS99ではシャッタボタン28shが全押し状態であるか否かを判別し、判別結果がNOであればステップS101に進む一方、判別結果がYESであればステップS109に進む。ステップS109では変数Pが示す値を変数Qに設定する。   In step S97, it is determined whether or not the variable N is less than Nmax. If the determination result is NO, the process proceeds to step S101, and if the determination result is YES, the process proceeds to step S99. In step S99, it is determined whether or not the shutter button 28sh is fully pressed. If the determination result is NO, the process proceeds to step S101, and if the determination result is YES, the process proceeds to step S109. In step S109, the value indicated by the variable P is set as the variable Q.

バッファBFへ取り込まれたRAW画像データに基づいてフリーズ画像を作成するべく、ステップS103でフラグFLG_frzに“0”を設定し、ステップS105でフリーズ画像タスクを起動する。起動されたフリーズ画像タスクの終了を判別するべく、フラグFLG_frzに“1”が設定されているか否かをステップS107で判別する。判別結果がNOからYESに更新されると上階層のルーチンに復帰する。   In order to create a freeze image based on the RAW image data captured in the buffer BF, “0” is set to the flag FLG_frz in step S103, and the freeze image task is activated in step S105. In step S107, it is determined whether or not the flag FLG_frz is set to “1” in order to determine the end of the activated freeze image task. When the determination result is updated from NO to YES, the process returns to the upper hierarchy routine.

ステップS109では変数Nをインクリメントし、ステップS111では変数Pをインクリメントする。   In step S109, the variable N is incremented, and in step S111, the variable P is incremented.

ステップS113では変数Pが示す値がNmaxを超えたか否かを判別し、判別結果がNOであればステップS117に進む一方、判別結果がYESであればステップS115の処理を経てステップS117に進む。ステップS115では変数Pに“1”を設定する。   In step S113, it is determined whether or not the value indicated by the variable P exceeds Nmax. If the determination result is NO, the process proceeds to step S117. If the determination result is YES, the process proceeds to step S117 via step S115. In step S115, the variable P is set to “1”.

ステップS117ではフラグFLG_rawに“0”を設定し、ステップS119ではRAW取込タスクを起動する。ステップS121ではLCDモニタ38の連写可能枚数の表示を“Nmax−N”に更新する。   In step S117, the flag FLG_raw is set to “0”, and in step S119, the RAW capture task is activated. In step S121, the display of the number of continuously shootable images on the LCD monitor 38 is updated to “Nmax−N”.

ステップS123では、ステップS119で起動したRAW取込タスクにおいてDMAによるRAW画像データの転送処理が開始されたか否かを判別するべく、フラグFLG_dmaに“1”が設定されたか否かを繰り返し判別する。判別結果がNOからYESに更新されると、ステップS125に進む。   In step S123, it is repeatedly determined whether or not “1” is set in the flag FLG_dma in order to determine whether or not the RAW image data transfer processing by the DMA is started in the RAW capturing task activated in step S119. When the determination result is updated from NO to YES, the process proceeds to Step S125.

ステップS125では変数Pが示す値から“1”を減じた値を変数Qに設定し、この結果変数Qが“1”未満となったか否かをステップS127で判別する。判別結果がNOであればステップS131に進む一方、判別結果がYESであればステップS129の処理を経てステップS131に進む。ステップS129ではNmaxが示す値を変数Qに設定する。   In step S125, a value obtained by subtracting “1” from the value indicated by the variable P is set as the variable Q. In step S127, it is determined whether or not the variable Q is less than “1”. If the determination result is NO, the process proceeds to step S131, while if the determination result is YES, the process proceeds to step S131 through the process of step S129. In step S129, the value indicated by Nmax is set in the variable Q.

バッファBFへ取り込まれたRAW画像データに基づいてフリーズ画像を作成するべく、ステップS131でフラグFLG_frzに“0”を設定し、ステップS133でフリーズ画像タスクを起動する。その後、ステップS95に戻る。   In order to create a freeze image based on the RAW image data captured in the buffer BF, “0” is set to the flag FLG_frz in step S131, and the freeze image task is activated in step S133. Thereafter, the process returns to step S95.

図20を参照して、ステップS141ではフラグFLG_dmaに“0”を設定し、ステップS19の厳格AE処理によって決定された期間の露光動作をステップS143でドライバ18cに命令する。露光処理が完了すると、露光処理によって生成されたRAW画像データをバッファBFのP番目の領域に取り込むべく、ステップS145でDMA転送の開始を命令する。また、DMA転送の開始を表明するべく、ステップS147ではフラグFLG_dmaに“1”を設定する。   Referring to FIG. 20, in step S141, flag FLG_dma is set to “0”, and the exposure operation for the period determined by the strict AE process in step S19 is commanded to driver 18c in step S143. When the exposure process is completed, in order to capture the RAW image data generated by the exposure process into the Pth area of the buffer BF, an instruction to start DMA transfer is issued in step S145. Further, in order to announce the start of DMA transfer, in step S147, “1” is set to the flag FLG_dma.

ステップS149ではDMA転送が完了したか否かを繰り返し判別する。判別結果がNOからYESに更新されると、RAW取込タスクの終了を表明するべく、ステップS151でフラグFLG_rawに“1”を設定する。その後、RAW取込タスクを終了する。   In step S149, it is repeatedly determined whether or not the DMA transfer is completed. If the determination result is updated from NO to YES, "1" is set to the flag FLG_raw in step S151 in order to assert the end of the RAW capture task. Thereafter, the RAW capture task is terminated.

図21を参照して、ステップS161ではバッファBFのQ番目の領域に取り込まれたRAW画像データを読み込み、読み込まれたRAW画像データに基づいてステップS163でフリーズ画像を作成する。作成されたフリーズ画像は、スルー画像または前回のフリーズ画像に代えて、ステップS165でLCDモニタ38に表示される。   Referring to FIG. 21, in step S161, RAW image data captured in the Qth area of buffer BF is read, and a freeze image is created in step S163 based on the read RAW image data. The created freeze image is displayed on the LCD monitor 38 in step S165 instead of the through image or the previous freeze image.

ステップS167では、フリーズ画像タスクの終了を表明するべく、フラグFLG_frzに“1”を設定する。その後、フリーズ画像タスクを終了する。   In step S167, “1” is set to the flag FLG_frz in order to announce the end of the freeze image task. Thereafter, the freeze image task is terminated.

図22を参照して、ステップS171ではフラグFLG_jpegに“0”が設定されているか否かを判別し、判別結果がYESであればステップS173およびS175の処理を経てステップS183に進む一方、判別結果がNOであればステップS177〜S181の処理を経てステップS183に進む。   Referring to FIG. 22, in step S171, it is determined whether or not “0” is set in flag FLG_jpeg. If the determination result is YES, the process proceeds to step S183 through the processing of steps S173 and S175, while the determination result If NO, the process proceeds to step S183 through steps S177 to S181.

ステップS173では、SDRAM32に格納されたDNG画像データに基づいて、DNG画像ファイルの記録媒体42への書き込みを開始する。書き込みが完了したか否かをステップS175で繰り返し判別し、判別結果がNOからYESに更新されるとステップS183に進む。   In step S173, writing of the DNG image file to the recording medium 42 is started based on the DNG image data stored in the SDRAM 32. Whether or not the writing is completed is repeatedly determined in step S175, and if the determination result is updated from NO to YES, the process proceeds to step S183.

ステップS177では、SDRAM32に格納されたJPEG画像データに基づいて、JPEG画像ファイルの記録媒体42への書き込みを開始する。書き込みが完了したか否かをステップS179で繰り返し判別し、判別結果がNOからYESに更新されると、バッファBFのM番目の領域の書き込み内容をステップS181でクリアする。   In step S177, writing of the JPEG image file to the recording medium 42 is started based on the JPEG image data stored in the SDRAM 32. Whether or not the writing is completed is repeatedly determined in step S179, and when the determination result is updated from NO to YES, the writing content of the Mth area of the buffer BF is cleared in step S181.

ステップS183では、ファイル書込タスクの終了を表明するべく、フラグFLG_fileに“1”を設定する。その後、ファイル書込タスクを終了する。   In step S183, the flag FLG_file is set to “1” to announce the end of the file writing task. Thereafter, the file writing task is terminated.

以上の説明から分かるように、CPU26は、イメージセンサ16から出力された電子画像をシャッタボタン28shの全押しが検知される毎にバッファBFに書き込み、バッファBFに格納された電子画像を記録媒体42に転送する。CPU26はまた、バッファBFの空き容量が基準以上の容量を示す第1期間にシャッタボタン28shの全押しを第1頻度で検出し、バッファBFの空き容量が基準を下回る容量を示す第2期間にシャッタボタン28shの全押しを第1頻度よりも少ない第2頻度で検出する。CPU26はまた、バッファBFの空き容量を繰り返し報知する。   As can be seen from the above description, the CPU 26 writes the electronic image output from the image sensor 16 to the buffer BF every time when the shutter button 28sh is fully pressed, and the electronic image stored in the buffer BF is recorded in the recording medium 42. Forward to. The CPU 26 also detects the full press of the shutter button 28sh at the first frequency in the first period in which the free capacity of the buffer BF indicates a capacity greater than or equal to the reference, and in the second period in which the free capacity of the buffer BF indicates a capacity below the reference. A full press of the shutter button 28sh is detected at a second frequency lower than the first frequency. The CPU 26 also repeatedly notifies the free space of the buffer BF.

連写速度はバッファBFの空き容量に応じて変化するところ、バッファBFの空き容量が繰り返し報知される。これによって、操作性が向上する。   When the continuous shooting speed changes according to the free space of the buffer BF, the free space of the buffer BF is repeatedly notified. This improves operability.

なお、この実施例では、RAW画像データを取り込み可能なバッファBFの領域の数を“4”とした。しかし、“4”以外の数の領域をバッファBFに設けてもよい。   In this embodiment, the number of areas of the buffer BF that can receive RAW image data is set to “4”. However, a number of areas other than “4” may be provided in the buffer BF.

また、この実施例では、DNGおよびJPEG形式の画像ファイルを記録媒体42に作成するようにした。しかし、これら以外の形式の画像ファイルを作成するようにしてもよい。   In this embodiment, image files in the DNG and JPEG formats are created on the recording medium 42. However, you may make it produce the image file of formats other than these.

また、この実施例では、シャッタボタンの全押し状態の継続によって実行される連写における連写可能枚数の表示を、例に挙げた。しかし、断続的なシャッタボタンの全押し操作によって実行されるいわゆる“速写”の場合にもこの発明を適用することができる。   Further, in this embodiment, the display of the number of continuous shots that can be performed in continuous shooting executed by continuing the shutter button fully pressed is given as an example. However, the present invention can also be applied to the case of so-called “quick shooting” executed by intermittently pressing the shutter button.

この場合、厳格AE処理,AF処理,RAW画像の取り込み,ならびにフリーズ画像の作成および表示の各処理が、速写操作に応じて各々のフレーム画像に対して実行される。速写操作が終了した時点で、RAW画像データからDNG画像データへの変換,DNG形式の画像ファイルの書き込み,RAW画像データからJPEG画像データへの変換,およびJPEG形式の画像ファイルの書き込みの各処理が、各々のフレーム画像に対して実行される。このような各処理の実行に関連して、バッファの空き領域の増減に応じて速写可能枚数の表示が更新される。   In this case, strict AE processing, AF processing, RAW image capture, and freeze image creation and display processing are executed for each frame image in accordance with the rapid shooting operation. At the time when the rapid shooting operation is completed, each process of conversion from RAW image data to DNG image data, writing of a DNG format image file, conversion of RAW image data to JPEG image data, and writing of a JPEG format image file is performed. , Executed for each frame image. In association with the execution of each of these processes, the display of the number of possible rapid shots is updated in accordance with the increase / decrease in the free area of the buffer.

また、この実施例では、マルチタスクOSおよびこれによって実行される複数のタスクに相当する制御プログラムは、フラッシュメモリ44に予め記憶される。しかし、外部サーバに接続するための通信I/F60を図23に示す要領でディジタルカメラ10に設け、一部の制御プログラムを内部制御プログラムとしてフラッシュメモリ44に当初から準備する一方、他の一部の制御プログラムを外部制御プログラムとして外部サーバから取得するようにしてもよい。この場合、上述の動作は、内部制御プログラムおよび外部制御プログラムの協働によって実現される。   In this embodiment, the multitask OS and control programs corresponding to a plurality of tasks executed thereby are stored in the flash memory 44 in advance. However, a communication I / F 60 for connecting to an external server is provided in the digital camera 10 in the manner shown in FIG. 23, and some control programs are prepared as internal control programs in the flash memory 44 from the beginning, while other parts are provided. These control programs may be acquired from an external server as an external control program. In this case, the above-described operation is realized by cooperation of the internal control program and the external control program.

また、この実施例では、CPU26によって実行される処理を、図11〜15に示す撮像メインタスク,図20に示すRAW取込タスク,図21に示すフリーズ画像タスク,および図22に示すファイル書込タスクを含む複数のタスクに区分するようにした。しかし、これらのタスクをさらに複数の小タスクに区分してもよく、さらには区分された複数の小タスクの一部を統合するようにしてもよい。また、転送タスクを複数の小タスクに区分する場合、その全部または一部を外部サーバから取得するようにしてもよい。   In this embodiment, the processing executed by the CPU 26 includes the main imaging task shown in FIGS. 11 to 15, the RAW capture task shown in FIG. 20, the freeze image task shown in FIG. 21, and the file writing shown in FIG. Divided into multiple tasks including tasks. However, these tasks may be further divided into a plurality of small tasks, and some of the divided small tasks may be integrated. Further, when the transfer task is divided into a plurality of small tasks, all or part of the transfer task may be acquired from an external server.

また、この実施例では、RAW取込タスクの起動直後に、連写動作中に減少する連写可能枚数の表示を更新するようにした。しかし、これ以外のタイミングで表示を更新するようにしてもよい。例えば、フリーズ画像の作成完了後に連写可能枚数の表示を更新するようにしてもよい。   Further, in this embodiment, immediately after the activation of the RAW capture task, the display of the number of continuous shots that can be reduced during the continuous shooting operation is updated. However, the display may be updated at other timings. For example, the display of the number of images that can be continuously shot may be updated after the creation of the freeze image is completed.

この場合、図16のステップS93および図18のS121に代えて、以下の処理が実行される。   In this case, the following processing is executed in place of step S93 in FIG. 16 and S121 in FIG.

図24を参照して、ステップS107の判別結果がNOからYESに更新されると、ステップS191を実行する。ステップS191では、ステップS93およびS121と同様の処理が実行される。   Referring to FIG. 24, when the determination result in step S107 is updated from NO to YES, step S191 is executed. In step S191, processing similar to that in steps S93 and S121 is executed.

図25を参照して、ステップS133の処理の完了後、ステップS193およびS195を実行する。ステップS193ではステップS107と同様の処理が実行され、ステップS195では、ステップS93およびS121と同様の処理が実行される。   Referring to FIG. 25, steps S193 and S195 are executed after the process of step S133 is completed. In step S193, processing similar to that in step S107 is performed, and in step S195, processing similar to that in steps S93 and S121 is performed.

また、この実施例では、ディジタルスチルカメラを用いて説明したが、本発明は、ディジタルビデオカメラ,タブレット型コンピュータ,携帯電話端末またはスマートフォンなどにも適用することができる。   In this embodiment, the digital still camera has been described. However, the present invention can also be applied to a digital video camera, a tablet computer, a mobile phone terminal, a smartphone, or the like.

また、この実施例では、LCDモニタ38の表示によって連写可能枚数を操作者に通知するようにした。しかし、ディジタルカメラ10以外の外部装置において、連写可能枚数や連写の可否を操作者に通知するようにしてもよい。   In this embodiment, the operator is notified of the number of images that can be continuously shot by displaying on the LCD monitor 38. However, an external device other than the digital camera 10 may notify the operator of the number of images that can be continuously shot and whether continuous shooting is possible.

例えば、図26に示す例のように、LED72を有する外付けの光学式ファインダ70がディジタルカメラ10に取り付けられた場合に、CPU26とLED72とが接続されるようにすればよい。この場合、図9(B)に示す例のようにバッファBFの全ての領域にRAW画像データが取り込まれた時にLED72を発光させ、光学式ファインダ70を覗く操作者に、連写可能枚数が“0”であることを通知すればよい。   For example, when the external optical finder 70 having the LED 72 is attached to the digital camera 10 as in the example shown in FIG. 26, the CPU 26 and the LED 72 may be connected. In this case, as shown in the example of FIG. 9B, when the RAW image data is captured in all the areas of the buffer BF, the LED 72 is caused to emit light and the operator looking into the optical finder 70 can determine the number of continuous shots “ What is necessary is just to notify that it is 0 ".

また、この実施例では、RAW画像データを取り込み可能なバッファBFの領域の数を、連写可能枚数としてLCDモニタ38に表示するようにした。しかし、記録媒体42の空き容量を考慮して連写可能枚数を表示することも可能である。この場合、以下の要領で連写可能枚数を算出して表示するようにすればよい。   In this embodiment, the number of buffer BF areas into which RAW image data can be captured is displayed on the LCD monitor 38 as the number of continuously shootable images. However, it is also possible to display the number of continuous shots taking into account the free space of the recording medium 42. In this case, the number of continuous shots may be calculated and displayed as follows.

図27を参照して、図11のステップS3の処理の完了後ステップS5の実行前に、ステップS201を実行する。ステップS201では、図28に示す空き容量確認タスクを起動する。   Referring to FIG. 27, step S201 is executed after the process of step S3 in FIG. 11 is completed and before step S5 is executed. In step S201, the free space confirmation task shown in FIG. 28 is activated.

図28を参照して、ステップS211では、I/F40を通して記録媒体42にアクセスし、記録媒体42の空き容量を取得する。   Referring to FIG. 28, in step S211, the recording medium 42 is accessed through the I / F 40, and the free capacity of the recording medium 42 is acquired.

ステップS211で取得された空き容量に基づいて、ステップS213ではRAW画像データとしてバッファBFに取り込み可能な枚数を算出する。この実施例では、1つのRAW画像データに基づいてDNG形式の画像ファイルとJPEG形式の画像ファイルとが記録媒体42に作成される。したがって、DNG画像ファイルの想定サイズおよびJPEG画像ファイルの想定サイズの合計で記録媒体42の空き容量を除することによって、バッファBFに取り込み可能な枚数が求められる。   Based on the free space acquired in step S211, in step S213, the number of images that can be loaded into the buffer BF as RAW image data is calculated. In this embodiment, a DNG format image file and a JPEG format image file are created on the recording medium 42 based on one RAW image data. Therefore, by dividing the free capacity of the recording medium 42 by the sum of the assumed size of the DNG image file and the assumed size of the JPEG image file, the number of sheets that can be loaded into the buffer BF is obtained.

ステップS213で算出された取り込み可能な枚数が変数Nの最大値Nmax以下となったか否かを、ステップS215で判別する。判別結果がNOであればステップS219の処理を経てステップS221に進み、判別結果がYESであればステップS217の処理を経てステップS221に進む。   In step S215, it is determined whether or not the number of sheets that can be captured calculated in step S213 is equal to or less than the maximum value Nmax of the variable N. If the determination result is NO, the process proceeds to step S221 through the process of step S219, and if the determination result is YES, the process proceeds to step S221 through the process of step S217.

ステップS217ではフラグFLG_diskに“1”を設定し、ステップS219ではフラグFLG_diskに“0”を設定する。   In step S217, the flag FLG_disk is set to “1”, and in step S219, the flag FLG_disk is set to “0”.

ステップS221では記録媒体42の記録内容が更新されたか否かを繰り返し判別し、判別結果がNOからYESに更新されるとステップS211に戻る。   In step S221, it is repeatedly determined whether or not the recording content of the recording medium 42 has been updated. If the determination result is updated from NO to YES, the process returns to step S211.

また、図29を参照して、図15のステップS65でYESと判別された場合、ステップS67の処理の前にステップS231を実行する。ステップS231では、フラグFLG_diskに“0”が設定されているか否かを判別し、判別結果がYESであればステップS67の処理を経てステップS69に進む一方、判別結果がNOであればステップS67を実行することなくステップS69に進む。   Referring to FIG. 29, if YES is determined in step S65 in FIG. 15, step S231 is executed before the process in step S67. In step S231, it is determined whether or not “0” is set in the flag FLG_disk. If the determination result is YES, the process proceeds to step S69 through the process of step S67. If the determination result is NO, step S67 is performed. It progresses to step S69, without performing.

同様に、図30を参照して、図15のステップS71でYESと判別された場合、ステップS73の処理の前にステップS233を実行する。ステップS233では、フラグFLG_diskに“0”が設定されているか否かを判別し、判別結果がYESであればステップS73の処理を経てステップS75に進む一方、判別結果がNOであればステップS73を実行することなくステップS75に進む。   Similarly, referring to FIG. 30, if YES is determined in step S71 of FIG. 15, step S233 is executed before the process of step S73. In step S233, it is determined whether or not “0” is set in the flag FLG_disk. If the determination result is YES, the process proceeds to step S75 through the process of step S73. If the determination result is NO, step S73 is performed. It progresses to step S75, without performing.

このように、記録媒体42の空き容量に基づいて算出された取り込み可能枚数が変数Nの最大値Nmax以下となった場合、RAW画像データのクリアによってバッファBFの空き領域が増加しても、連写可能枚数の表示は更新されない。また、記録媒体42の空き容量がなくなると、シャッタボタン28shの全押し状態が継続した場合であっても、新たなRAW画像データの取り込みは行われない。   As described above, even when the available number of images calculated based on the free space of the recording medium 42 is equal to or less than the maximum value Nmax of the variable N, even if the free area of the buffer BF increases due to clearing of the RAW image data, The display of the number of possible shots is not updated. Further, when the recording medium 42 runs out of free space, new RAW image data is not captured even when the shutter button 28 sh is fully pressed.

また、図31を参照して、図11のステップS23でYESと判別された場合、ステップS27の処理の前にステップS241を実行する。ステップS241では変数NがNmax未満を示すか否かを判別し、判別結果がYESであればステップS27に進む一方、判別結果がNOであればステップS25に進む。   Referring to FIG. 31, if YES is determined in step S23 of FIG. 11, step S241 is executed before the process of step S27. In step S241, it is determined whether or not the variable N is less than Nmax. If the determination result is YES, the process proceeds to step S27. If the determination result is NO, the process proceeds to step S25.

このように、DNG画像ファイルおよびJPEG画像ファイルの書き込みによって記録媒体42の空き容量がなくなった場合、継ぎ足し連写撮影の操作が行われたとしても、撮影のための各処理は実行されない。   As described above, when the recording medium 42 runs out of space due to the writing of the DNG image file and the JPEG image file, each process for shooting is not executed even if an operation for continuous continuous shooting is performed.

10 … ディジタルカメラ
16 … イメージセンサ
26 … CPU
28 … キー入力装置
32 … SDRAM
42 … 記録媒体
28sh … シャッタボタン
BF … バッファ
10 ... Digital camera 16 ... Image sensor 26 ... CPU
28 ... Key input device 32 ... SDRAM
42 ... Recording medium 28sh ... Shutter button BF ... Buffer

Claims (8)

撮像手段から出力された電子画像をシャッタボタンの全押し操作による取得操作が検知される毎に第1記憶エリアに書き込む書き込み手段、
前記書き込み手段によって前記第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送手段、
前記第1記憶エリアの空き容量が基準以上の容量を示す第1期間に前記取得操作を第1頻度で検出する第1検出手段、
前記第1記憶エリアの空き容量が前記基準を下回る容量を示す第2期間に前記取得操作を前記第1頻度よりも少ない第2頻度で検出する第2検出手段、および
取得可能なフレーム数を単位として前記第1記憶エリアの空き容量を繰り返し報知する報知手段、
前記撮像手段から出力された前記電子画像、あるいは、前記第1記憶エリアに格納された前記電子画像を表示する表示手段を備え、
前記取得操作を検出する毎に前記表示手段に表示された前記電子画像を更新して表示し、前記更新された電子画像に重ねて、前記報知手段により報知された前記取得可能なフレーム数更新して表示する、電子カメラ。
A writing means for writing the electronic image output from the imaging means to the first storage area each time an acquisition operation by a full pressing operation of the shutter button is detected;
Transfer means for transferring an electronic image stored in the first storage area to the second storage area by the writing means;
First detection means for detecting the acquisition operation at a first frequency in a first period in which a free capacity of the first storage area indicates a capacity greater than or equal to a reference;
Second detection means for detecting the acquisition operation at a second frequency less than the first frequency in a second period in which the free capacity of the first storage area is less than the reference; and
Informing means for repeatedly informing the free space of the first storage area in units of acquirable frames ;
A display means for displaying the electronic image output from the imaging means or the electronic image stored in the first storage area;
Each time the acquisition operation is detected, the electronic image displayed on the display unit is updated and displayed, and the number of acquirable frames notified by the notification unit is updated on the updated electronic image. and displays, electronic camera.
前記第1検出手段による前記取得操作の検知に関連して前記転送手段の処理を制限する制限手段をさらに備える、請求項1記載の電子カメラ。   The electronic camera according to claim 1, further comprising a limiting unit that limits processing of the transfer unit in association with detection of the acquisition operation by the first detection unit. 前記転送手段は、前記書き込み手段によって前記第1記憶エリアに格納された電子画像に基づいて前記電子画像と異なる形式の電子画像を生成する画像生成手段、および前記画像生成手段によって生成された電子画像を格納するファイルを前記第2記憶エリアに作成するファイル作成手段を含む、請求項1ないしのいずれかに記載の電子カメラ。 The transfer means generates an electronic image of a format different from the electronic image based on the electronic image stored in the first storage area by the writing means, and the electronic image generated by the image generation means including file creation means for creating in the second storage area of the file for storing, according to claim 1 to the electronic camera according to any one of 2. 前記第1記憶エリアは主記憶装置に相当し、前記第2記憶エリアは記録媒体に相当する、請求項1ないしのいずれかに記載の電子カメラ。 The first storage area corresponds to a main storage device, the second storage area corresponding to the recording medium, the electronic camera according to any one of claims 1 to 3. 電子カメラのプロセッサに、
撮像手段から出力された電子画像をシャッタボタンの全押し操作による取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ、
前記書き込みステップによって前記第1記憶エリアに格納された電子画像を2記憶エリアに転送する転送ステップ、
前記第1記憶エリアの空き容量が基準以上の容量を示す第1期間に前記取得操作を第1頻度で検出する第1検出ステップ、
前記第1記憶エリアの空き容量が前記基準を下回る容量を示す第2期間に前記取得操作を前記第1頻度よりも少ない第2頻度で検出する第2検出ステップ、
取得可能なフレーム数を単位として前記第1記憶エリアの空き容量を繰り返し報知する報知ステップ、および
前記撮像手段から出力された前記電子画像、あるいは、前記第1記憶エリアに格納された前記電子画像を表示し、前記取得操作を検出する毎に表示された前記電子画像を更新して表示し、前記更新された電子画像に重ねて、前記報知ステップにおいて報知された前記取得可能なフレーム数更新して表示する表示ステップを実行させるための、撮像制御プログラム。
In the electronic camera processor,
A writing step of writing the electronic image output from the imaging means into the first storage area each time an acquisition operation by a full press operation of the shutter button is detected;
A transfer step of transferring the electronic image stored in the first storage area to the second storage area by the writing step;
A first detection step of detecting the acquisition operation at a first frequency in a first period in which a free capacity of the first storage area indicates a capacity greater than a reference;
A second detection step of detecting the acquisition operation at a second frequency less than the first frequency in a second period in which the free capacity of the first storage area indicates a capacity below the reference;
An informing step of repeatedly informing the free capacity of the first storage area in units of acquirable frames , and the electronic image output from the imaging means or the electronic image stored in the first storage area Display and update the displayed electronic image every time the acquisition operation is detected, and superimpose the updated electronic image to update the number of acquirable frames notified in the notification step. An imaging control program for executing a display step of displaying.
電子カメラによって実行される撮像制御方法であって、
撮像手段から出力された電子画像をシャッタボタンの全押し操作による取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ、
前記書き込みステップによって前記第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ、
前記第1記憶エリアの空き容量が基準以上の容量を示す第1期間に前記取得操作を第1頻度で検出する第1検出ステップ、
前記第1記憶エリアの空き容量が前記基準を下回る容量を示す第2期間に前記取得操作を前記第1頻度よりも少ない第2 頻度で検出する第2検出ステップ、
取得可能なフレーム数を単位として前記第1記憶エリアの空き容量を繰り返し報知する報知ステップ、および
前記撮像手段から出力された前記電子画像、あるいは、前記第1記憶エリアに格納された前記電子画像を表示し、前記取得操作を検出する毎に表示された前記電子画像を更新して表示し、前記更新された電子画像に重ねて、前記報知ステップにおいて報知された前記取得可能なフレーム数更新して表示する表示ステップを
を備える、撮像制御方法。
An imaging control method executed by an electronic camera,
A writing step of writing the electronic image output from the imaging means into the first storage area each time an acquisition operation by a full press operation of the shutter button is detected;
A transfer step of transferring the electronic image stored in the first storage area to the second storage area by the writing step;
A first detection step of detecting the acquisition operation at a first frequency in a first period in which a free capacity of the first storage area indicates a capacity greater than a reference;
A second detection step of detecting the acquisition operation at a second frequency less than the first frequency in a second period in which the free capacity of the first storage area indicates a capacity below the reference;
An informing step of repeatedly informing the free capacity of the first storage area in units of acquirable frames , and the electronic image output from the imaging means or the electronic image stored in the first storage area Display and update the displayed electronic image every time the acquisition operation is detected, and superimpose the updated electronic image to update the number of acquirable frames notified in the notification step. An imaging control method comprising a display step for displaying the image.
メモリに保存された内部制御プログラムに従う処理を実行するプロセッサを備える電子カメラに供給される外部制御プログラムであって、
撮像手段から出力された電子画像をシャッタボタンの全押し操作による取得操作が検知される毎に第1 記憶エリアに書き込む書き込みステップ、
前記書き込みステップによって前記第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ、
前記第1記憶エリアの空き容量が基準以上の容量を示す第1期間に前記取得操作を第1頻度で検出する第1検出ステップ、
前記第1記憶エリアの空き容量が前記基準を下回る容量を示す第2期間に前記取得操作を前記第1頻度よりも少ない第2頻度で検出する第2検出ステップ、
取得可能なフレーム数を単位として前記第1記憶エリアの空き容量を繰り返し報知する報知ステップ、および
前記撮像手段から出力された前記電子画像、あるいは、前記第1記憶エリアに格納された前記電子画像を表示し、前記取得操作を検出する毎に表示された前記電子画像を更新して表示し、前記更新された電子画像に重ねて、前記報知ステップにおいて報知された前記取得可能なフレーム数更新して表示する表示ステップを前記内部制御プログラムと協働して前記プロセッサに実行させるための、外部制御プログラム。
An external control program supplied to an electronic camera including a processor that executes processing according to an internal control program stored in a memory,
A writing step of writing an electronic image output from the imaging means into the first storage area each time an acquisition operation by a full press operation of the shutter button is detected;
A transfer step of transferring the electronic image stored in the first storage area to the second storage area by the writing step;
A first detection step of detecting the acquisition operation at a first frequency in a first period in which a free capacity of the first storage area indicates a capacity greater than a reference;
A second detection step of detecting the acquisition operation at a second frequency less than the first frequency in a second period in which the free capacity of the first storage area indicates a capacity below the reference;
An informing step of repeatedly informing the free capacity of the first storage area in units of acquirable frames , and the electronic image output from the imaging means or the electronic image stored in the first storage area Display and update the displayed electronic image every time the acquisition operation is detected, and superimpose the updated electronic image to update the number of acquirable frames notified in the notification step. An external control program for causing the processor to execute a display step of displaying in cooperation with the internal control program.
外部制御プログラムを受信する受信手段、および
前記受信手段によって受信された外部制御プログラムとメモリに保存された内部制御プログラムとに従う処理を実行するプロセッサを備える電子カメラであって、
前記外部制御プログラムは、
撮像手段から出力された電子画像をシャッタボタンの全押し操作による取得操作が検知される毎に第1記憶エリアに書き込む書き込みステップ、
前記書き込みステップによって前記第1記憶エリアに格納された電子画像を第2記憶エリアに転送する転送ステップ、
前記第1記憶エリアの空き容量が基準以上の容量を示す第1 期間に前記取得操作を第1頻度で検出する第1検出ステップ、
前記第1記憶エリアの空き容量が前記基準を下回る容量を示す第2期間に前記取得操作を前記第1頻度よりも少ない第2 頻度で検出する第2検出ステップ、
取得可能なフレーム数を単位として前記第1記憶エリアの空き容量を繰り返し報知する報知ステップ、および
前記撮像手段から出力された前記電子画像、あるいは、前記第1記憶エリアに格納された前記電子画像を表示し、前記取得操作を検出する毎に表示された前記電子画像を更新して表示し、前記更新された電子画像に重ねて、前記報知ステップにおいて報知された前記取得可能なフレーム数更新して表示する表示ステップ
を前記内部制御プログラムと協働して実行するプログラムに相当する、電子カメラ。
An electronic camera comprising: a receiving unit that receives an external control program; and a processor that executes processing according to the external control program received by the receiving unit and an internal control program stored in a memory,
The external control program is
A writing step of writing the electronic image output from the imaging means into the first storage area each time an acquisition operation by a full press operation of the shutter button is detected;
A transfer step of transferring the electronic image stored in the first storage area to the second storage area by the writing step;
A first detection step of detecting the acquisition operation at a first frequency in a first period in which a free capacity of the first storage area indicates a capacity greater than a reference;
A second detection step of detecting the acquisition operation at a second frequency less than the first frequency in a second period in which the free capacity of the first storage area indicates a capacity below the reference;
An informing step of repeatedly informing the free capacity of the first storage area in units of acquirable frames , and the electronic image output from the imaging means or the electronic image stored in the first storage area Display and update the displayed electronic image every time the acquisition operation is detected, and superimpose the updated electronic image to update the number of acquirable frames notified in the notification step. An electronic camera corresponding to a program that executes a display step of displaying in cooperation with the internal control program.
JP2012165356A 2012-07-26 2012-07-26 Electronic camera Expired - Fee Related JP6132486B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012165356A JP6132486B2 (en) 2012-07-26 2012-07-26 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012165356A JP6132486B2 (en) 2012-07-26 2012-07-26 Electronic camera

Publications (2)

Publication Number Publication Date
JP2014027438A JP2014027438A (en) 2014-02-06
JP6132486B2 true JP6132486B2 (en) 2017-05-24

Family

ID=50200717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012165356A Expired - Fee Related JP6132486B2 (en) 2012-07-26 2012-07-26 Electronic camera

Country Status (1)

Country Link
JP (1) JP6132486B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11283990B2 (en) 2017-04-18 2022-03-22 Sony Corporation Display control device, imaging device, and display control method
JP6953272B2 (en) * 2017-10-23 2021-10-27 キヤノン株式会社 Imaging control device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000152038A (en) * 1998-11-12 2000-05-30 Nikon Corp Imaging device and method, and recording medium
JP2003264739A (en) * 2002-03-07 2003-09-19 Olympus Optical Co Ltd Digital camera
JP2005136655A (en) * 2003-10-30 2005-05-26 Canon Inc camera
JP2006086602A (en) * 2004-09-14 2006-03-30 Konica Minolta Photo Imaging Inc Imaging device
JP3907657B2 (en) * 2004-12-22 2007-04-18 キヤノン株式会社 Imaging device
JP2007221214A (en) * 2006-02-14 2007-08-30 Canon Inc camera

Also Published As

Publication number Publication date
JP2014027438A (en) 2014-02-06

Similar Documents

Publication Publication Date Title
JP4413235B2 (en) Electronic camera
JP2010050798A (en) Electronic camera
JP2012050073A (en) Imaging device and image synthesis program
US9871970B2 (en) Imaging apparatus, control method, and storage medium storing program
JP2011182151A (en) Image composing apparatus
JP6132486B2 (en) Electronic camera
JP5865120B2 (en) Electronic camera
JP5785034B2 (en) Electronic camera
CN116996785A (en) Processing methods, devices and electronic equipment
WO2012096106A1 (en) Electronic camera
JP2013074570A (en) Electronic camera
JP5261769B2 (en) Imaging apparatus and group photo shooting support program
JP4641976B2 (en) Digital camera
JP6199049B2 (en) Electronic camera
JP4275001B2 (en) Electronic camera
JP6199065B2 (en) Electronic camera
JP2007267309A (en) Electronic camera
JP2014053706A (en) Electronic camera
JP2007221536A (en) Imaging apparatus, image processing program, and image transmission program
JP2010200195A (en) Electronic camera
JP2014007560A (en) Electronic camera
JP2007208355A (en) Imaging apparatus, method, and program
JP2012244278A (en) Electronic camera
JP2014127797A (en) Electronic camera
JP2009145622A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160511

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170127

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170418

R150 Certificate of patent or registration of utility model

Ref document number: 6132486

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees