JP2013106152A - Imaging apparatus, control method of the same, program and storage medium - Google Patents

Imaging apparatus, control method of the same, program and storage medium Download PDF

Info

Publication number
JP2013106152A
JP2013106152A JP2011247967A JP2011247967A JP2013106152A JP 2013106152 A JP2013106152 A JP 2013106152A JP 2011247967 A JP2011247967 A JP 2011247967A JP 2011247967 A JP2011247967 A JP 2011247967A JP 2013106152 A JP2013106152 A JP 2013106152A
Authority
JP
Japan
Prior art keywords
image
imaging
unit
target
photographing
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
JP2011247967A
Other languages
Japanese (ja)
Inventor
Tomoya Yamashita
智也 山下
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 JP2011247967A priority Critical patent/JP2013106152A/en
Publication of JP2013106152A publication Critical patent/JP2013106152A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus for reducing image-shake by reducing waste of a memory and increasing the number of imaging possible images in composite imaging for combining a plurality of captured images and generating an image from which the image-shake is reduced.SOLUTION: An imaging apparatus includes: first imaging means for imaging a first image with a first imaging object as an object of imaging; second imaging means for imaging a second image with a second imaging object as the object of imaging; storage means for securing a prescribed capacity of regions for storing the first and second images; determining means for determining whether the first imaging object is included in the first image or not; first composite means for combining a plurality of second images and generating a first composite image; and control means for controlling the storage means so that the region which stores the first image in the storage means can be used as the region which stores the second image when the first imaging object is determined to be not included in the first image as the result of determination by the determining means.

Description

本発明は、合成撮影が可能な撮影装置に関する。   The present invention relates to a photographing apparatus capable of composite photographing.

像ブレを低減する技術として、1つ以上の異なる被写体に特化した撮影を、それぞれ1回以上行い、得られた画像を合成して1枚の画像を作成する合成撮影機能がある。例えば、特許文献1には、夜景ポートレート撮影などにおいて、ストロボ撮影により人物を1回以上撮影し、非ストロボ撮影により背景を1回以上撮影し、得られた画像を合成することで夜景ポートレート画像を作成する方法が記載されている。   As a technique for reducing image blur, there is a composite photographing function in which photographing specialized for one or more different subjects is performed at least once, and the obtained images are combined to create one image. For example, in Patent Document 1, in night scene portrait photography, a person is photographed one or more times by strobe photography, a background is photographed one or more times by non-strobe photography, and the obtained images are synthesized to compose a night scene portrait. A method for creating an image is described.

特開2010―114566号公報JP 2010-114566 A

上述した合成撮影を行う際、背景となる画像は1回の撮影では低輝度である場合が多いため、ユーザは長秒時撮影を余儀なくされ、手持ち撮影を行うのは難しい。ここで、複数枚の画像を撮影して合成する方法によれば、背景用の画像を撮影する際に撮影枚数分でシャッタ秒時を分割できるため、撮影枚数が多い程、ユーザにはシャッタ秒時に余裕が生まれ、ブレやすさが低減される。   When performing the above-described composite shooting, the background image often has low luminance in a single shooting, so the user is forced to shoot for a long time, and it is difficult to perform handheld shooting. Here, according to the method of shooting and combining a plurality of images, the shutter time can be divided by the number of shots when shooting a background image. Therefore, the larger the number of shots, the more shutter speed is required for the user. Sometimes a margin is created, and the ease of blurring is reduced.

しかしながら、画像を合成するためには、複数枚の画像を保持するためのメモリが必要であるが、無尽蔵に撮影枚数を増やせるわけではなく、また、人物用と背景用のそれぞれの画像を保持する必要がある場合、更に撮影枚数の制約が厳しくなる。   However, in order to synthesize images, a memory for holding a plurality of images is necessary. However, the number of shots cannot be increased indefinitely, and images for people and backgrounds are held. If necessary, the number of shots becomes more severe.

ところで、上記特許文献1では、ストロボ撮影された画像と、非ストロボ撮影の画像を必ず合成する仕様となっている。この場合、ストロボ撮影による結果が良好であるならば有効であるが、ストロボ撮影画像に人物が存在しなかった場合やピンぼけ等の失敗画像の場合であっても、背景用に常に同じ撮影枚数の画像が撮影され、合成画像が作成されることになる。   By the way, in the above-mentioned patent document 1, it is a specification that always synthesizes a strobe image and a non-strobe image. In this case, it is effective if the result of flash photography is good, but even if there are no people in the flash photography image or in the case of a failure image such as out of focus, the same number of shots is always used for the background. An image is taken and a composite image is created.

本発明は、上記課題に鑑みてなされ、その目的は、複数枚の撮影画像を合成して像ブレを低減した画像を作成する合成撮影において、メモリの無駄を低減し、撮影可能枚数を増加することで像ブレの低減に寄与する撮像装置を実現することである。   The present invention has been made in view of the above problems, and an object of the present invention is to reduce the waste of memory and increase the number of images that can be shot in composite shooting in which a plurality of shot images are combined to create an image with reduced image blur. This is to realize an imaging device that contributes to reduction of image blur.

上記課題を解決し、目的を達成するために、本発明の撮像装置は、第1の撮影対象を撮影の対象とする第1の画像を撮影する第1の撮影手段と、第2の撮影対象を撮影の対象とする第2の画像を撮影する第2の撮影手段と、前記第1及び第2の画像を記憶する領域が所定容量確保されている記憶手段と、前記第1の画像に前記第1の撮影対象が含まれているか否かを判定する判定手段と、複数の前記第2の画像を合成して第1の合成画像を生成する第1の合成手段と、前記判定手段による判定の結果、前記第1の画像に前記第1の撮影対象が含まれていないと判定された場合、前記記憶手段における当該第1の画像を記憶する領域を前記第2の画像を記憶する領域として利用可能なように前記記憶手段を制御する制御手段と、を有することを特徴とする。   In order to solve the above-described problems and achieve the object, an imaging apparatus according to the present invention includes a first imaging unit that captures a first image with a first imaging object as an imaging object, and a second imaging object. A second photographing means for photographing a second image to be photographed, a storage means in which an area for storing the first and second images is ensured in a predetermined capacity, and the first image Determination means for determining whether or not the first imaging target is included, first synthesis means for generating a first composite image by combining a plurality of the second images, and determination by the determination means As a result, when it is determined that the first image capturing target is not included in the first image, an area for storing the first image in the storage unit is set as an area for storing the second image. Control means for controlling the storage means so as to be usable. And butterflies.

本発明によれば、複数枚の撮影画像を合成して像ブレを低減した画像を作成する合成撮影において、メモリの無駄を低減し、撮影可能枚数を増加することで像ブレの低減に寄与する撮像装置を実現できる。   According to the present invention, in composite shooting in which a plurality of shot images are combined to create an image with reduced image blur, it is possible to reduce image blur by reducing memory waste and increasing the number of shots that can be shot. An imaging device can be realized.

本発明の実施形態に係る撮像装置の構成を示すブロック図。1 is a block diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention. 本実施形態の合成撮影処理を示すフローチャート。6 is a flowchart showing a composite shooting process of the present embodiment. 本実施形態の手持ち撮影処理を示すフローチャート。The flowchart which shows the handheld imaging | photography process of this embodiment.

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

<装置構成>図1を参照して、本発明に係る実施形態の撮像装置の構成について説明する。   <Apparatus Configuration> With reference to FIG. 1, the configuration of an imaging apparatus according to an embodiment of the present invention will be described.

図1において、撮影レンズ101はズームレンズやフォーカスレンズを含み、レンズユニットとしてカメラ本体に内蔵又は着脱可能とされる。AF(オートフォーカス)駆動回路102は、例えばDCモータやステッピングモータを備え、マイコン123の制御指令に応じてフォーカスレンズ位置を変化させることによりピントを合わせる。   In FIG. 1, a photographic lens 101 includes a zoom lens and a focus lens, and is incorporated in or removable from the camera body as a lens unit. The AF (autofocus) drive circuit 102 includes, for example, a DC motor or a stepping motor, and focuses by changing the focus lens position in accordance with a control command from the microcomputer 123.

103は絞りであり、絞り駆動回路104は、マイコン123の制御指令に応じて絞り103を駆動し、絞り値が変化される。絞り103の光学的な絞り値はマイコン123によって算出される。   Reference numeral 103 denotes an aperture, and the aperture drive circuit 104 drives the aperture 103 in accordance with a control command from the microcomputer 123, and the aperture value is changed. The optical aperture value of the aperture 103 is calculated by the microcomputer 123.

主ミラー105は撮影レンズ101から入射した光束をファインダ側又は撮像センサ側へ導く光路を切り替える。主ミラー105は常にファインダ側へと光束を導くミラーダウン位置にあるように付勢されているが、撮影時やライブビュー表示時には、撮像センサ側へ光束を導くように上方に跳ね上がり光軸中から待避したミラーアップ位置に変化する。また、主ミラー105はその中央部が光束の一部を透過できるようにハーフミラーとなっており、光束の一部を焦点検出を行うためのAFセンサに入射する。なお、AFセンサは、焦点検出回路109内に配置されている。   The main mirror 105 switches the optical path for guiding the light beam incident from the photographing lens 101 to the finder side or the image sensor side. The main mirror 105 is always urged so as to be in the mirror down position for guiding the light beam to the viewfinder side, but at the time of shooting or live view display, the main mirror 105 jumps upward so as to guide the light beam to the image sensor side and from the optical axis. It changes to the saved mirror up position. The main mirror 105 is a half mirror so that the central part can transmit a part of the light beam, and a part of the light beam is incident on an AF sensor for focus detection. Note that the AF sensor is disposed in the focus detection circuit 109.

サブミラー106は主ミラー105から透過した光束をAFセンサ側へ反射させる。   The sub mirror 106 reflects the light beam transmitted from the main mirror 105 to the AF sensor side.

ミラー駆動回路107は、マイクロコンピュータ123の制御指令に応じて主ミラー105をミラーアップ位置へ駆動する。   The mirror drive circuit 107 drives the main mirror 105 to the mirror up position in accordance with a control command from the microcomputer 123.

108はファインダを構成するペンタプリズムであり、主ミラー105により反射された光束が入射され、ファインダへ導く。なお、ファインダはペンタプリズム108の他にピント板、アイピースレンズ(不図示)などによって構成される。   Reference numeral 108 denotes a pentaprism that constitutes a finder, and a light beam reflected by the main mirror 105 is incident and guided to the finder. The finder includes a focus plate, an eyepiece lens (not shown) and the like in addition to the pentaprism 108.

焦点検出回路109は主ミラー105を透過し、サブミラー106で反射した光束を、受光し、焦点検出回路109内のAFセンサで光電変換を行う。マイコン123は、AFセンサの出力からAF処理に用いるデフォーカス量を演算し、この演算結果を評価してAF駆動回路102に制御指令を出力し、フォーカスレンズを駆動させる。   The focus detection circuit 109 receives the light beam transmitted through the main mirror 105 and reflected by the sub mirror 106, and performs photoelectric conversion by the AF sensor in the focus detection circuit 109. The microcomputer 123 calculates the defocus amount used for AF processing from the output of the AF sensor, evaluates the calculation result, outputs a control command to the AF driving circuit 102, and drives the focus lens.

110はフォーカルプレーンシャッタであり、シャッタ駆動回路111は、マイコン123の制御指令に応じたシャッタ速度で、フォーカルプレーンシャッタ110を駆動する。   Reference numeral 110 denotes a focal plane shutter, and a shutter drive circuit 111 drives the focal plane shutter 110 at a shutter speed according to a control command from the microcomputer 123.

撮像センサ112はCCDやCMOSなどの撮像素子を搭載し、撮影レンズ101によって結像された被写体像を光電変換して、アナログ画像信号を生成する。   The image sensor 112 is equipped with an image sensor such as a CCD or CMOS, and photoelectrically converts the subject image formed by the photographing lens 101 to generate an analog image signal.

AD変換器115は撮像素子112から出力されるアナログ画像信号をデジタル信号に変換し、映像信号処理回路116へ出力する。   The AD converter 115 converts the analog image signal output from the image sensor 112 into a digital signal and outputs the digital signal to the video signal processing circuit 116.

映像信号処理回路116はゲートアレイなどのロジックデバイスにより実現される。映像信号処理回路116は、AD変換器115からのデジタル画像信号、またはメモリ120から読み出した画像データに対して後述する画像処理を行う。   The video signal processing circuit 116 is realized by a logic device such as a gate array. The video signal processing circuit 116 performs image processing to be described later on the digital image signal from the AD converter 115 or the image data read from the memory 120.

表示駆動回路117は、映像信号処理回路116から出力される画像信号に応じて、TFTや有機ELなどを用いた表示部材118を駆動し、画像を描画する。   The display driving circuit 117 drives the display member 118 using a TFT, an organic EL, or the like according to the image signal output from the video signal processing circuit 116, and draws an image.

はメモリコントローラ119はメモリ120やバッファメモリ122と映像信号処理回路116との間で画像データの書き込みや読み出しを行う。また、メモリコントローラ119は、外部IF(インタフェース)121を介してコンピュータ等と接続可能である。   The memory controller 119 writes and reads image data between the memory 120 and the buffer memory 122 and the video signal processing circuit 116. The memory controller 119 can be connected to a computer or the like via an external IF (interface) 121.

映像信号処理回路116は、デジタル画像信号に、フィルタ処理、色変換処理、ガンマ処理を施し、現像データを作成すると共に、JPEGなどの圧縮処理を行い、メモリコントローラ119に出力する。また、映像信号処理回路116は、バッファメモリ122上の2つ以上の現像データの加算や、現像データから諧調を高ビット化した高精度データの生成や、またその両方の処理を同時に実施し、結果をバッファメモリ122に書き戻すことが可能である。さらに、映像信号処理回路116は、撮像センサ112からのアナログ画像信号や、メモリコントローラ119を介して読み出した画像信号を、表示駆動回路117を介して表示部材118に出力することも可能である。これらの機能の切り替えはマイクロコンピュータ123により制御される。   The video signal processing circuit 116 performs filter processing, color conversion processing, and gamma processing on the digital image signal, creates development data, performs compression processing such as JPEG, and outputs the data to the memory controller 119. In addition, the video signal processing circuit 116 performs addition of two or more development data on the buffer memory 122, generation of high-precision data in which gradation is increased from the development data, and both processes at the same time. The result can be written back to the buffer memory 122. Further, the video signal processing circuit 116 can output an analog image signal from the image sensor 112 and an image signal read out via the memory controller 119 to the display member 118 via the display driving circuit 117. Switching of these functions is controlled by the microcomputer 123.

さらにまた、映像信号処理回路116は、必要に応じて撮像センサ112からの画像信号を用いて露出やホワイトバランスなどの情報を演算し、演算結果をマイクロコンピュータ123に出力する。マイコン123は、その演算結果に基づいてホワイトバランスやゲイン調整を行う。   Furthermore, the video signal processing circuit 116 calculates information such as exposure and white balance using the image signal from the imaging sensor 112 as necessary, and outputs the calculation result to the microcomputer 123. The microcomputer 123 performs white balance and gain adjustment based on the calculation result.

連続撮影時には、一旦、未処理画像のままバッファメモリ122に画像信号を格納し、メモリコントローラ119を介して未処理の画像信号を読み出し、映像信号処理回路116にて画像処理や圧縮処理を行う。連続撮影枚数はバッファメモリ122の容量に左右される。   At the time of continuous shooting, an image signal is temporarily stored as an unprocessed image in the buffer memory 122, an unprocessed image signal is read out via the memory controller 119, and image processing or compression processing is performed by the video signal processing circuit 116. The number of continuous shots depends on the capacity of the buffer memory 122.

メモリコントローラ119は、映像信号処理回路116から入力された未処理のデジタル画像信号をバッファメモリ122に格納し、処理済みのデジタル画像信号をメモリ120に格納する。また、メモリコントローラ119は、バッファメモリ122やメモリ120から読み出した画像データを映像信号処理回路116へ出力する。   The memory controller 119 stores the unprocessed digital image signal input from the video signal processing circuit 116 in the buffer memory 122 and stores the processed digital image signal in the memory 120. Further, the memory controller 119 outputs the image data read from the buffer memory 122 or the memory 120 to the video signal processing circuit 116.

メモリ120は装置本体に対して取り外し可能である場合もある。   The memory 120 may be removable from the apparatus main body.

更にメモリコントローラ119は外部IF121を介してメモリ120に格納されている画像データをコンピュータなどの外部機器へ出力可能である。   Further, the memory controller 119 can output the image data stored in the memory 120 via the external IF 121 to an external device such as a computer.

操作部材124は、ユーザ操作を受け付けるボタンやダイヤル、表示部材118に表示されたメニュー画面を含む。マイコン123は、操作部材124の状態変化に応じて各部を制御する。   The operation member 124 includes a button and a dial for receiving a user operation, and a menu screen displayed on the display member 118. The microcomputer 123 controls each part according to the state change of the operation member 124.

また、操作部材124は、レリーズボタンの操作でオンオフするスイッチ125(SW1)及びスイッチ126(SW2)を含む。   In addition, the operation member 124 includes a switch 125 (SW1) and a switch 126 (SW2) that are turned on and off by operating the release button.

レリーズボタンの半押し状態では、スイッチSW1のみがオンとなり、この状態でAF動作及び測光動作を行う。レリーズボタンの全押し状態では、スイッチSW1、SW2が共にオンとなり、この状態で画像が撮影及び記録が実行される。またスイッチSW1、SW2がオンの状態を継続している間は連続撮影動作が行われる。   When the release button is half-pressed, only the switch SW1 is turned on, and AF operation and photometry operation are performed in this state. When the release button is fully pressed, the switches SW1 and SW2 are both turned on, and in this state, an image is captured and recorded. Further, a continuous shooting operation is performed while the switches SW1 and SW2 are kept on.

操作部材124には、他に、メインスイッチ、カード蓋、電池蓋、撮影モードダイアル、ISO設定ボタン、メニューボタン、セットボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニューや再生画像移動のための移動+(プラス)ボタン、移動−(マイナス)ボタン、露出補正ボタン、表示画像拡大ボタン、表示画像縮小ボタン、再生スイッチ、絞りボタン、消去ボタン、撮影や再生に関する情報表示ボタンなどを含む。   The operation member 124 includes a main switch, a card cover, a battery cover, a shooting mode dial, an ISO setting button, a menu button, a set button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, a menu and playback. Move + (plus) button, move-(minus) button, exposure compensation button, display image enlargement button, display image reduction button, playback switch, aperture button, erase button, information display button for shooting and playback, etc. including.

また、上記プラスボタン及びマイナスボタンの各機能は、回転ダイアルを搭載することでより軽快に数値や機能を選択することが可能となる。   In addition, the functions of the plus button and the minus button can be more easily selected with numerical values and functions by mounting a rotary dial.

なお、本発明の撮影に関する設定は、メニュー表示の中から、ストロボ発光を利用したストロボ撮影を「する」又は「しない」を選択することで設定できる。   Note that the settings relating to shooting according to the present invention can be set by selecting “Yes” or “No” for flash shooting using flash emission from the menu display.

液晶駆動回路127は、マイコン123の表示指令に応じて外部液晶表示部材128やファインダ内液晶表示部材129を駆動し、文字や画像からなる動作状態やメッセージ等を表示する。ファインダ内液晶表示部材129には、LEDなどのバックライトが配置されており、LEDも液晶駆動回路127で駆動される。   The liquid crystal driving circuit 127 drives the external liquid crystal display member 128 and the in-finder liquid crystal display member 129 in accordance with a display command from the microcomputer 123, and displays an operation state, a message, and the like including characters and images. A backlight such as an LED is disposed on the in-viewfinder liquid crystal display member 129, and the LED is also driven by the liquid crystal driving circuit 127.

マイコン123は撮影前に設定されているISO感度、画像サイズ、画質に応じた、画像サイズの予測値に基づいて、メモリコントローラ119を介してメモリ容量を確認した上で撮影可能残数を演算することができる。また、必要に応じて外部液晶表示部材128、ファインダ内液晶表示部材129にも表示することができる。   The microcomputer 123 calculates the remaining shootable number after confirming the memory capacity via the memory controller 119 based on the predicted image size according to the ISO sensitivity, image size, and image quality set before shooting. be able to. Further, it can be displayed on the external liquid crystal display member 128 and the in-finder liquid crystal display member 129 as necessary.

不揮発性メモリ130は、例えばEEPROMなどの電気的に消去・記録可能な記憶媒体である。不揮発性メモリ130は、マイコン123の動作用の定数、プログラムなどを記憶している。ここでいう、プログラムとは、後述するフローチャートの処理を実行するためのプログラムを含む。   The nonvolatile memory 130 is an electrically erasable / recordable storage medium such as an EEPROM. The nonvolatile memory 130 stores constants, programs, and the like for operating the microcomputer 123. Here, the program includes a program for executing processing of a flowchart described later.

マイコン123は、カメラ100全体を制御する。不揮発性メモリ130に記憶されたプログラムを実行することで、カメラ全体を制御し、後述する本実施形態の処理を実現する。   The microcomputer 123 controls the entire camera 100. By executing the program stored in the non-volatile memory 130, the entire camera is controlled, and the processing of this embodiment described later is realized.

電源部131は、各ICや駆動系に必要な電源を供給する。   The power supply unit 131 supplies power necessary for each IC and drive system.

ストロボ132は、発光手段としてカメラ本体に内蔵又は着脱可能とされ、ストロボ撮影の際に所定のシャッタレリーズタイミングで発光される。   The strobe 132 is built in or removable from the camera body as a light emitting means, and emits light at a predetermined shutter release timing during strobe shooting.

<合成撮影処理>次に、図2を参照して、本実施形態の合成撮影処理について説明する。なお、図2及び後述する図3の処理は、マイコン123が、不揮発性メモリ130に格納されたプログラムを、RAMなどの揮発性メモリのワークエリアに展開し、実行することで実現される。   <Composite Shooting Process> Next, the composite shooting process of this embodiment will be described with reference to FIG. 2 and FIG. 3 to be described later are realized by the microcomputer 123 developing and executing a program stored in the nonvolatile memory 130 in a work area of a volatile memory such as a RAM.

図2において、マイコン123は、第1及び第2の撮影対象に対して、それぞれ撮影枚数と撮影モードに応じた露出(AE)演算を行い(S200)、撮影ごとにシャッタ速度を中心としたAEパラメータなどの撮影パラメータを決定する。   In FIG. 2, the microcomputer 123 performs an exposure (AE) calculation corresponding to the number of shots and the shooting mode for the first and second shooting targets (S200), and the AE centering on the shutter speed for each shooting. Determine shooting parameters such as parameters.

次に、マイコン123は、スイッチSW2がオンか否かを判定し(S201)、スイッチSW2がオンであれば、第1の撮影対象に対する付加機能が許可か否かを判定する(S202)。付加機能は、例えばストロボやレンズ等のカメラ本体に装着され付加的に機能するものを意味する。   Next, the microcomputer 123 determines whether or not the switch SW2 is on (S201). If the switch SW2 is on, the microcomputer 123 determines whether or not the additional function for the first imaging target is permitted (S202). The additional function means a function which is attached to a camera body such as a strobe or a lens and additionally functions.

一方、ステップS202でスイッチSW2がオンでなければ、マイコン123は周期的に測光動作を行い、その結果を基にAE演算を繰り返し行う。   On the other hand, if the switch SW2 is not on in step S202, the microcomputer 123 periodically performs a photometric operation, and repeats the AE calculation based on the result.

ステップS202で付加機能許可であれば、マイコン123は、ライブビュー表示時のように定常的にリアルタイムに撮像結果が得られるような状態であるか否かを判定する(S203)。そして、撮像結果が得られるような状態であれば、その撮像結果から第1の撮影対象の検出処理を行い(S204)、第1の撮影対象が検出されている状態か否かを判定する(S205)。   If the additional function is permitted in step S202, the microcomputer 123 determines whether or not it is in a state where an imaging result can be obtained on a regular basis in real time as in live view display (S203). If the imaging result is obtained, the first imaging target is detected from the imaging result (S204), and it is determined whether the first imaging target is detected (S204). S205).

また、ステップS203でライブビュー表示時のように定常的に撮像結果が得られるような状態でなければ、マイコン123は、第1の撮影対象を撮影の対象とする第1の画像を少なくとも1回撮影する撮影処理(第1の撮影処理)を実行する(S206)。   Further, if the imaging result is not constantly obtained as in the live view display in step S203, the microcomputer 123 captures the first image with the first imaging target as the imaging target at least once. A photographing process for photographing (first photographing process) is executed (S206).

ステップS207では、マイコン123は、撮影が行われると撮影データの記憶領域を所定容量確保するためにバッファメモリ122の記憶領域を取得し(S207)、第1の画像データをバッファメモリ122へ書き込む(S208)。   In step S207, when shooting is performed, the microcomputer 123 acquires the storage area of the buffer memory 122 in order to secure a predetermined capacity for the storage area of the shooting data (S207), and writes the first image data to the buffer memory 122 (step S207). S208).

次に、マイコン123は、撮影時における付加機能が正常であったか判定し(S209)、正常に動作したのであれば、上記第1の画像データに対して第1の撮影対象の検出処理を施し(S210)、第1の撮影対象が検出されたか否かを判定する(S211)。そして、第1の撮影対象が検出されたならば、マイコン123は、第1の撮影対象の撮影が撮影枚数分完了しているか否かを判定する(S212)。撮影が完了していれば、複数の第1の画像データを撮影枚数分合成する画像合成処理を実行し(S213)、撮影が完了していなければ、再度第1の撮影対象の撮影に戻る(S206)。第1の撮影対象の撮影枚数が1枚の場合は、S213で画像合成処理が実行されず、S206に戻る。   Next, the microcomputer 123 determines whether or not the additional function at the time of shooting is normal (S209). If the microcomputer 123 operates normally, the microcomputer 123 performs a first shooting target detection process on the first image data ( S210), it is determined whether or not the first imaging target is detected (S211). If the first shooting target is detected, the microcomputer 123 determines whether shooting of the first shooting target has been completed for the number of shots (S212). If shooting has been completed, an image composition process for combining a plurality of pieces of first image data for the number of shots is executed (S213). If shooting has not been completed, the process returns to shooting of the first shooting target again (S213). S206). If the number of shots of the first shooting target is 1, the image composition process is not executed in S213, and the process returns to S206.

一方、第1の撮影対象の付加機能が禁止の場合(S202でNO)、第1の撮影対象の撮影前に既にライブビュー表示のような定常的に得られた撮像結果から第1の撮像対象の検出ができなかった場合(S203でNO)、付加機能が正常動作していない場合(S209でNO)、撮影データから第1の撮影対象が検出できなかった場合(S211でNO)、マイコン123は、第1の撮影対象結果が良好ではないと判定し、第1の撮影対象の撮影時に取得したメモリを返却し(S214)、第2の撮影対象の撮影枚数に第1の撮影対象の撮影枚数を加算し(S215)、その加算された枚数に合わせて第2の撮影対象の撮影用AEパラメータを再演算する(S216)。   On the other hand, if the additional function of the first image capturing target is prohibited (NO in S202), the first image capturing target is obtained from the image capturing result that has already been obtained in a steady manner, such as live view display, before the image capturing of the first image capturing target. If the additional function is not operating normally (NO in S209), if the first imaging target cannot be detected from the imaging data (NO in S211), the microcomputer 123 is detected. Determines that the first shooting target result is not good, returns the memory acquired at the time of shooting of the first shooting target (S214), and takes the first shooting target for the number of shots of the second shooting target. The number of images is added (S215), and the second AE parameter for shooting is recalculated in accordance with the added number of images (S216).

ステップS216で撮影用AEパラメータの再演算が完了又は第1の撮影対象の合成処理が完了した場合、マイコン123は、第2の撮影対象を撮影の対象とする第2の画像を少なくとも1回撮影する撮影処理(第2の撮影処理)を開始する(S217)。   When the recalculation of the shooting AE parameter is completed or the synthesis process of the first shooting target is completed in step S216, the microcomputer 123 takes the second image whose shooting target is the second shooting target at least once. The photographing process to be performed (second photographing process) is started (S217).

ステップS218では、マイコン123は、撮影が行われると撮影データの記憶領域を所定容量確保するためにバッファメモリ122の記憶領域を取得し(S218)、撮影データをメモリへ保持し(S219)、第2の撮影対象の撮影が撮影枚数分完了しているか否かを判定する(S220)。撮影が完了していれば、複数の第2の撮影対象の撮影データを撮影枚数分合成する第1の合成処理を実行し(S221)、撮影が完了していなければ、再度第2の撮影対象の撮影に戻る(S217)。   In step S218, when shooting is performed, the microcomputer 123 acquires the storage area of the buffer memory 122 to secure a predetermined capacity of the storage area of the shooting data (S218), holds the shooting data in the memory (S219), and It is determined whether or not the shooting of the second shooting target is completed for the number of shots (S220). If shooting has been completed, a first combining process for combining a plurality of second shooting target shooting data for the number of shots is executed (S221). If shooting has not been completed, the second shooting target is again performed. (S217).

第2の撮影対象の撮影が完了すると、マイコン123は、第1の撮影対象を合成した第1の合成画像データと、第2の撮影対象を合成した第2の合成画像データを合成する全合成処理(第2の合成処理)を実行する(S222)。そして、マイコン123は、全合成処理により生成された第3の合成画像データに現像処理を施して(S223)、本処理を終了する。   When shooting of the second shooting target is completed, the microcomputer 123 combines the first combined image data obtained by combining the first shooting target and the second combined image data obtained by combining the second shooting target. Processing (second synthesis processing) is executed (S222). Then, the microcomputer 123 performs development processing on the third composite image data generated by the total composition processing (S223), and ends this processing.

図3は、図2の画像合成処理を、手持ち撮影による夜景の撮影に適用した場合の処理を示している。図2において、上記第1の撮影対象を人物や静止物体のような主被写体、第2の撮影対象を夜景のような背景、付加機能をストロボ撮影機能、第1の撮影対象をストロボ撮影、第2の撮影対象を非ストロボ撮影に読み替えればよい。   FIG. 3 shows processing when the image composition processing of FIG. 2 is applied to night scene shooting by hand-held shooting. In FIG. 2, the first shooting target is a main subject such as a person or a stationary object, the second shooting target is a background such as a night view, an additional function is a flash shooting function, a first shooting target is flash shooting, What is necessary is just to read 2 photography object into non-strobe photography.

具体的には、図3において、マイコン123は、主被写体及びその背景に対して、それぞれ撮影枚数と撮影モードに応じたAE演算を行い(S300)、撮影ごとにシャッタ速度を中心としたAEパラメータを決定する。   Specifically, in FIG. 3, the microcomputer 123 performs AE calculation corresponding to the number of shots and the shooting mode for the main subject and its background (S300), and sets the AE parameter centered on the shutter speed for each shooting. To decide.

次にスイッチSW2がオンか否かを判定し(S301)、スイッチSW2がオンであれば、ストロボ機能が許可か否かを判定する(S302)。ストロボ機能許可であれば、ライブビュー表示中か否かを判定し(S303)、撮像結果から主被写体の検出処理を行い(S304)、主被写体が検出されている状態か否かを判定する(S305)。   Next, it is determined whether or not the switch SW2 is on (S301). If the switch SW2 is on, it is determined whether or not the strobe function is permitted (S302). If the strobe function is permitted, it is determined whether or not the live view is being displayed (S303), the main subject is detected from the imaging result (S304), and it is determined whether or not the main subject is being detected (S304). S305).

ステップS305で主被写体が検出済みならば、マイコン123は、主被写体を対象としたストロボ撮影を行う(S306)。撮影が行われると撮影データの記憶領域を所定容量確保するためにバッファメモリ122の記憶領域を取得し(S307)、撮影データをメモリへ保持し(S308)、撮影時におけるストロボが正常に発光したか判定する(S309)。   If the main subject has been detected in step S305, the microcomputer 123 performs strobe shooting for the main subject (S306). When shooting is performed, the storage area of the buffer memory 122 is acquired in order to secure a predetermined capacity of the storage area for shooting data (S307), the shooting data is stored in the memory (S308), and the strobe at the time of shooting is emitted normally. (S309).

ステップS309で正常に発光したならば、マイコン123は、撮影データに主被写体検出処理を施し(S310)、主被写体が検出できたか否かを判定する(S311)。   If the light is emitted normally in step S309, the microcomputer 123 performs main subject detection processing on the photographing data (S310), and determines whether or not the main subject has been detected (S311).

ストロボ機能が禁止の場合、非ライブビュー表示中の場合、ストロボが正常発光していない場合、主被写体が検出されない場合、マイコン123は、主被写体対象の撮影結果は良好ではないと判定し、主被写体の撮影時に取得したメモリを返却する(S312)。そして、マイコン123は、背景撮影用の非ストロボ撮影予定枚数に主被写体撮影用のストロボ撮影枚数を加算し(S313)、その加算された枚数に合わせて背景撮影用の非ストロボ撮影用AEパラメータを再演算する(S314)。   If the strobe function is prohibited, the non-live view is displayed, the strobe is not firing normally, or the main subject is not detected, the microcomputer 123 determines that the main subject target shooting result is not good, The memory acquired at the time of photographing the subject is returned (S312). The microcomputer 123 adds the number of strobes for main subject shooting to the scheduled number of non-strobe shooting for background shooting (S313), and sets the AE parameter for non-strobe shooting for background shooting according to the added number. Recalculation is performed (S314).

次に、マイコン123は、背景撮影用の非ストロボ撮影を開始する(S315)。撮影が行われると撮影データの記憶領域を所定容量確保するためにバッファメモリ122の記憶領域を取得し(S316)、撮影データをメモリへ保持し(S317)、非ストロボ撮影が予定枚数分完了しているか否かを判定する(S318)。撮影が完了していれば、マイコン123は、非ストロボ撮影により取得した撮影データの合成処理を行い(S319)、主被写体撮影用のストロボ撮影データと、背景撮影用の非ストロボ撮影の合成データを合成する全合成処理を実行する(S320)。そして、マイコン123は、全合成処理により生成された合成データに現像処理を施して(S321)、本処理を終了する。   Next, the microcomputer 123 starts non-strobe shooting for background shooting (S315). When shooting is performed, the storage area of the buffer memory 122 is acquired in order to secure a predetermined capacity for the storage area of the shooting data (S316), the shooting data is held in the memory (S317), and the non-strobe shooting is completed for the predetermined number of shots. It is determined whether or not (S318). If shooting has been completed, the microcomputer 123 performs processing for combining the shooting data acquired by non-strobe shooting (S319), and combines the strobe shooting data for main subject shooting and the combined data of non-strobe shooting for background shooting. A total synthesis process to be synthesized is executed (S320). Then, the microcomputer 123 performs development processing on the combined data generated by the total combining processing (S321), and ends this processing.

以上述べたように、本実施形態によれば、ストロボが正常に動作しない場合や第1の撮影対象が検出されない場合、メモリから第1の撮影対象を撮影した画像を破棄し、第2の撮影対象を撮影した画像を記憶するために利用可能になるように制御する。このようにして、第1の撮影対象(ストロボ撮影)の撮影回数を可能な限り少なくしてメモリの無駄を低減し、第2の撮影対象(非ストロボ撮影)の撮影可能枚数を増加することで、像ブレを低減した合成画像が得られる。   As described above, according to the present embodiment, when the strobe does not operate normally or when the first photographing target is not detected, the image obtained by photographing the first photographing target is discarded from the memory, and the second photographing is performed. Control the image so that it can be used to store the captured image. In this way, by reducing the number of shootings of the first shooting target (strobe shooting) as much as possible to reduce memory waste and increasing the number of shots of the second shooting target (non-flash shooting). A composite image with reduced image blur is obtained.

また、本実施形態では人物や静止物体など第1の撮影対象を撮影する際に用いる発光手段としてストロボを用いているが、本発明はこれに限らず、例えばLED(Light Emitting Diode)ランプなど、撮影を補助する発光を行えるものであればよい。   In the present embodiment, a strobe is used as the light emitting means used when photographing the first photographing object such as a person or a stationary object. However, the present invention is not limited to this, and for example, an LED (Light Emitting Diode) lamp, etc. Any device can be used as long as it can emit light to assist shooting.

[他の実施形態]本発明は、以下の処理を実行することによっても実現される。即ち上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。   [Other Embodiments] The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program code. It is processing to do. In this case, the program and the storage medium storing the program constitute the present invention.

Claims (11)

第1の撮影対象を撮影の対象とする第1の画像を撮影する第1の撮影手段と、
第2の撮影対象を撮影の対象とする第2の画像を撮影する第2の撮影手段と、
前記第1及び第2の画像を記憶する領域が所定容量確保されている記憶手段と、
前記第1の画像に前記第1の撮影対象が含まれているか否かを判定する判定手段と、
複数の前記第2の画像を合成して第1の合成画像を生成する第1の合成手段と、
前記判定手段による判定の結果、前記第1の画像に前記第1の撮影対象が含まれていないと判定された場合、前記記憶手段における当該第1の画像を記憶する領域を前記第2の画像を記憶する領域として利用可能なように前記記憶手段を制御する制御手段と、を有することを特徴とする撮像装置。
First imaging means for imaging a first image with the first imaging object as the imaging object;
A second photographing means for photographing a second image having the second photographing target as a photographing target;
Storage means in which an area for storing the first and second images is secured in a predetermined capacity;
Determination means for determining whether or not the first imaging object is included in the first image;
First combining means for combining a plurality of the second images to generate a first combined image;
As a result of the determination by the determination unit, when it is determined that the first imaging target is not included in the first image, an area for storing the first image in the storage unit is set as the second image. An image pickup apparatus comprising: control means for controlling the storage means so that the storage means can be used as an area for storing information.
前記第1の画像と前記第1の合成画像とを合成して第2の合成画像を生成する第2の合成手段を有することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a second combining unit configured to combine the first image and the first combined image to generate a second combined image. 複数の前記第1の画像を合成して第3の合成画像を生成する第3の合成手段を有し、
前記第3の合成画像と前記第1の合成画像とを合成して第2の合成画像を生成する第2の合成手段を有することを特徴とする請求項1に記載の撮像装置。
A third combining unit configured to combine a plurality of the first images to generate a third combined image;
The imaging apparatus according to claim 1, further comprising: a second synthesizing unit that synthesizes the third synthesized image and the first synthesized image to generate a second synthesized image.
前記第1の撮影手段は、発光手段を利用して前記第1の撮影対象の画像を撮影する機能を有し、前記第2の撮影手段は前記発光手段を利用しないで前記第2の撮影対象の画像を撮影する機能を有することを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。   The first photographing unit has a function of photographing an image of the first photographing target using a light emitting unit, and the second photographing unit does not use the light emitting unit and the second photographing target. 4. The image pickup apparatus according to claim 1, wherein the image pickup apparatus has a function of taking an image. 前記第1の撮影対象は人物又は静止物体であり、前記第2の撮影対象はその背景であることを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   5. The imaging apparatus according to claim 1, wherein the first imaging target is a person or a stationary object, and the second imaging target is a background thereof. 6. 前記制御手段は、前記判定手段により前記第1の撮影手段がライブビュー表示時に取得した画像に前記第1の撮影対象が含まれていないと判定された場合、前記記憶手段における当該第1の画像を記憶する領域を前記第2の画像を記憶する領域として利用可能なように前記記憶手段を制御することを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。   When the determination unit determines that the first shooting target is not included in the image acquired by the first shooting unit during live view display by the determination unit, the first image in the storage unit The imaging apparatus according to claim 1, wherein the storage unit is controlled so that an area for storing the image can be used as an area for storing the second image. 前記制御手段は、発光手段の発光が禁止されている場合、前記第1の撮影手段が前記第1の撮影対象を撮影するときに前記発光手段の発光が禁止されている場合、あるいは前記発光手段が正常に発光しなかった場合のいずれかである場合、前記記憶手段における当該第1の画像を記憶する領域を前記第2の画像を記憶する領域として利用可能なように前記記憶手段を制御することを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。   The control means is configured such that light emission of the light emitting means is prohibited, light emission of the light emitting means is prohibited when the first photographing means photographs the first photographing object, or the light emitting means. The storage means is controlled so that the area for storing the first image in the storage means can be used as the area for storing the second image. The imaging apparatus according to any one of claims 1 to 5, wherein 前記第2の撮影手段は、前記制御手段によって前記記憶手段における前記第1の画像を記憶する領域を前記第2の画像を記憶する領域として利用可能なように前記記憶手段の制御がなされることに応じて撮影パラメータを変更することを特徴とする請求項1乃至7のいずれか1項に記載の撮像装置。   In the second photographing unit, the storage unit is controlled by the control unit so that an area in the storage unit that stores the first image can be used as an area in which the second image is stored. The imaging apparatus according to claim 1, wherein the imaging parameter is changed in accordance with the imaging parameter. 被写体を撮像し、画像を出力する撮像手段と、画像を記憶する領域が所定容量確保されている記憶手段と、を有する撮像装置の制御方法であって、
前記撮像手段が、第1の撮影対象を撮影の対象とする第1の画像を撮影する第1の撮影工程と、
前記撮像手段が、第2の撮影対象を撮影の対象とする第2の画像を撮影する第2の撮影工程と、
前記第1の画像に前記第1の撮影対象が含まれているか否かを判定する判定工程と、
複数の前記第2の画像を合成して第1の合成画像を生成する第1の合成工程と、
前記判定工程における判定の結果、前記第1の画像に前記第1の撮影対象が含まれていないと判定された場合、前記記憶手段における当該第1の画像を記憶する領域を前記第2の画像を記憶する領域として利用可能なように前記記憶手段を制御する制御工程と、を有することを特徴とする撮像装置の制御方法。
An imaging apparatus control method comprising: an imaging unit that captures an image of a subject and outputs an image; and a storage unit in which an area for storing the image has a predetermined capacity.
A first imaging step in which the imaging means captures a first image with the first imaging target as an imaging target;
A second imaging step in which the imaging means captures a second image with the second imaging target as an imaging target;
A determination step of determining whether or not the first imaging object is included in the first image;
A first combining step of combining a plurality of the second images to generate a first combined image;
As a result of the determination in the determination step, when it is determined that the first imaging target is not included in the first image, an area for storing the first image in the storage unit is the second image. And a control step of controlling the storage means so that it can be used as an area for storing the image.
コンピュータを、請求項1乃至8のいずれか1項に記載された撮像装置の各手段として機能させるプログラム。   A program that causes a computer to function as each unit of the imaging apparatus according to any one of claims 1 to 8. コンピュータを、請求項1乃至8のいずれか1項に記載された撮像装置の各手段として機能させるプログラムを格納した記憶媒体。   A storage medium storing a program that causes a computer to function as each unit of the imaging apparatus according to any one of claims 1 to 8.
JP2011247967A 2011-11-11 2011-11-11 Imaging apparatus, control method of the same, program and storage medium Pending JP2013106152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011247967A JP2013106152A (en) 2011-11-11 2011-11-11 Imaging apparatus, control method of the same, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011247967A JP2013106152A (en) 2011-11-11 2011-11-11 Imaging apparatus, control method of the same, program and storage medium

Publications (1)

Publication Number Publication Date
JP2013106152A true JP2013106152A (en) 2013-05-30

Family

ID=48625402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011247967A Pending JP2013106152A (en) 2011-11-11 2011-11-11 Imaging apparatus, control method of the same, program and storage medium

Country Status (1)

Country Link
JP (1) JP2013106152A (en)

Similar Documents

Publication Publication Date Title
US8670064B2 (en) Image capturing apparatus and control method therefor
JP2005252657A (en) Electronic still camera
JP2008070611A (en) Imaging apparatus, exposure condition adjustment method and program
JP4614143B2 (en) Imaging apparatus and program thereof
JP5432664B2 (en) Imaging device
US7583893B2 (en) Digital camera system with interchangeable lens assembly
KR20110001655A (en) Digital image signal processing apparatus, method for controlling the apparatus, and medium for recording the method
JP2001169180A (en) Digital camera
JP4956403B2 (en) Imaging apparatus, control method thereof, and program
JP2008211843A (en) Imaging apparatus and imaging control program
JP2008118389A (en) Imaging apparatus, image processor, and image processing method
JP2006253810A (en) Image pickup device
JP2012019343A (en) Imaging device, control method thereof, and program
JP2010048994A (en) Image pickup device
JP2014230018A (en) Photographing device, imaging system, control method of imaging device, program, and storage medium
JP2006270426A (en) Imaging apparatus, its control method, and computer program
JP2022170553A (en) Imaging apparatus, method for controlling the same, and program
JP2018098585A (en) Imaging apparatus, control method therefor, program, and storage medium
JP2007173985A (en) Imaging apparatus, imaging method, program, and storage medium
JP2013106152A (en) Imaging apparatus, control method of the same, program and storage medium
JP2007295401A (en) Imaging apparatus, and control method thereof
JP2006217510A (en) Image display device
JP2006201568A (en) Camera detectable of hand shake
JP2019169822A (en) Imaging apparatus and image display method in the same
JP2008257083A (en) Electronic camera