JP2020005033A - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP2020005033A
JP2020005033A JP2018120040A JP2018120040A JP2020005033A JP 2020005033 A JP2020005033 A JP 2020005033A JP 2018120040 A JP2018120040 A JP 2018120040A JP 2018120040 A JP2018120040 A JP 2018120040A JP 2020005033 A JP2020005033 A JP 2020005033A
Authority
JP
Japan
Prior art keywords
image
lens
unit
imaging
detection
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.)
Granted
Application number
JP2018120040A
Other languages
Japanese (ja)
Other versions
JP6779258B2 (en
Inventor
平 池田
Taira Ikeda
平 池田
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 JP2018120040A priority Critical patent/JP6779258B2/en
Priority to GB1908877.2A priority patent/GB2576241B/en
Priority to DE102019116778.7A priority patent/DE102019116778A1/en
Priority to US16/448,685 priority patent/US11146714B2/en
Priority to CN201910554373.6A priority patent/CN110636214B/en
Priority to CN202210037481.8A priority patent/CN114222053A/en
Priority to CN202210037468.2A priority patent/CN114222068A/en
Priority to CN202210037162.7A priority patent/CN114374799A/en
Publication of JP2020005033A publication Critical patent/JP2020005033A/en
Application granted granted Critical
Publication of JP6779258B2 publication Critical patent/JP6779258B2/en
Priority to US17/459,295 priority patent/US11477356B2/en
Priority to US17/941,107 priority patent/US11750908B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

To prevent generation of an unnatural synthesized image when replacement to a lens having a different image circle or a lens that requires optical correction by image processing such as distortion correction is performed during multiple exposure shooting.SOLUTION: An imaging apparatus including an imaging unit with a lens interchangeable includes a synthesis unit that synthesizes a plurality of images obtained by performing imaging a plurality of times by the imaging unit to generate a synthesized image, a detection unit that detects attachment/detachment of the lens, and a control unit that controls the synthesis unit in accordance with the detection by the detection unit. Here, when the lens is re-mounted on the basis of the detection by the detection unit when imaging are performed the plurality of times by the synthesis unit, and the image circle of the re-mounted lens is different from the image circle of the lens that has been mounted before the re-mounting, the control unit suspends the imaging for generating the synthesized image by the imaging unit.SELECTED DRAWING: Figure 4

Description

本発明は撮像装置及びその制御方法に関するものである。   The present invention relates to an imaging device and a control method thereof.

複数回の撮影によって得られた画像を合成して1枚の合成画像として記録する、所謂、多重露出撮影を可能としたデジタルカメラが存在する。撮影前に合成枚数や加重平均・比較明合成・比較暗合成といった合成処理方法を選択可能なものや、既に撮影された画像をベース画像として選択し、このベース画像にこれから撮影する画像を合成して多重化した画像を生成できるものもある。   2. Description of the Related Art There is a digital camera capable of so-called multi-exposure shooting in which images obtained by multiple shootings are synthesized and recorded as a single synthesized image. Before shooting, you can select a combination processing method such as the number of combined images, weighted average, comparatively bright combination, or comparatively dark combination, or select an image that has already been taken as a base image and combine the base image with the image to be taken. Some can generate multiplexed images.

特開2012−19343号公報JP 2012-19343 A 特開2007−221237号公報JP 2007-22237 A

レンズ交換式カメラにおいては、多重露出撮影中にレンズの付け替えが可能である。多重露出撮影中にイメージサークルが異なるレンズや歪曲補正などの画像処理による光学補正が必須なレンズへ付け替えた場合、不自然な合成画像が生成されてしまうことが考えられる。   In an interchangeable lens camera, it is possible to change lenses during multiple exposure shooting. If a lens with a different image circle or a lens that requires optical correction by image processing such as distortion correction is replaced during multiple exposure shooting, an unnatural composite image may be generated.

多重露出撮影中に設定を変更する技術として、特許文献1では、多重露出撮影可能なデジタルカメラにおいて、撮影途中で記録する画像のアスペクト比設定の変更を可能とする技術が開示されている。また、特許文献2では、多重露出撮影可能なデジタルカメラにおいて、撮影途中で記録画質や記録サイズといった設定の変更を可能とする技術が開示されている。   As a technique for changing settings during multiple exposure shooting, Japanese Patent Application Laid-Open No. H11-163,086 discloses a technique that allows a digital camera capable of multiple exposure shooting to change the aspect ratio setting of an image recorded during shooting. Further, Japanese Patent Application Laid-Open No. H11-163,086 discloses a technique that allows a digital camera capable of multiple exposure shooting to change settings such as recording image quality and recording size during shooting.

特許文献1、2に記載された撮像装置では、アスペクト比や記録画質、記録サイズといった撮像装置が出力する画像の設定に関して、撮影途中での変更を可能としている。しかしながら、レンズの交換、つまり、レンズのイメージサークルや歪曲収差量など撮像装置に入力される撮影画像そのものの質が変更されることは考慮されていない。   In the imaging devices described in Patent Literatures 1 and 2, setting of an image output by the imaging device, such as an aspect ratio, a recording image quality, and a recording size, can be changed during photographing. However, no consideration is given to lens replacement, that is, a change in the quality of a captured image itself input to an imaging device, such as an image circle of a lens or an amount of distortion.

本発明はかかる点に鑑みなされたものであり、多重露出撮影中に、それまで装着していたレンズから、イメージサークルが異なるレンズ、又は、歪曲補正などの画像処理による光学補正が必須なレンズへ付け替えた場合の不自然な合成画像が生成されることを防止する技術を提供しようとするものである。   The present invention has been made in view of such a point, and during multiple exposure shooting, from a lens that has been mounted until then to a lens having a different image circle or a lens that requires optical correction by image processing such as distortion correction. It is an object of the present invention to provide a technique for preventing generation of an unnatural composite image in the case of replacement.

この課題を解決するため、例えば本発明の撮像装置は以下の構成を備える。すなわち、
レンズ交換可能な撮像手段を有する撮像装置であって、
前記撮像手段による複数回の撮像を行って得た複数の画像を合成し、合成画像を生成する合成手段と、
レンズの着脱を検出する検出手段と、
該検出手段による検出に応じて前記合成手段を制御する制御手段とを有し、
該制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズのイメージサークルが、再装着以前に装着されていたレンズのイメージサークルと異なる場合、前記撮像手段による前記合成画像を生成するための撮像を中断することを特徴とする。
In order to solve this problem, for example, an imaging device of the present invention has the following configuration. That is,
An image pickup apparatus having an interchangeable lens image pickup means,
A synthesizing unit that synthesizes a plurality of images obtained by performing imaging a plurality of times by the imaging unit and generates a synthesized image;
Detecting means for detecting attachment / detachment of the lens;
Control means for controlling the synthesizing means in accordance with the detection by the detection means,
The control means includes:
The lens has been re-mounted based on the detection by the detecting unit when performing the imaging multiple times by the synthesizing unit, and the image circle of the re-mounted lens is the lens that was mounted before the re-mounting. When the image circle is different from the image circle, the imaging by the imaging means for generating the composite image is interrupted.

本発明によれば、多重露出撮影中にイメージサークルが異なるレンズ、又は、歪曲補正などの画像処理による光学補正が必須なレンズへ付け替えた場合に、不自然な合成画像が生成されることを防止することができる。   According to the present invention, an unnatural composite image is prevented from being generated when a lens having a different image circle or a lens that requires optical correction by image processing such as distortion correction is replaced during multiple exposure shooting. can do.

実施形態に係る撮像装置のブロック構成図。FIG. 1 is a block diagram of an imaging device according to an embodiment. 多重露出撮影に関する設定メニュー画面の一例を示す図。FIG. 9 is a diagram illustrating an example of a setting menu screen related to multiple exposure shooting. 多重露出撮影において撮影される画像の一例を示す図。FIG. 3 is a diagram illustrating an example of an image shot in multiple exposure shooting. 第1の実施形態における撮像装置の動作を示すフローチャート。5 is a flowchart illustrating an operation of the imaging device according to the first embodiment. レンズによるイメージサークルの違いを示す図。The figure which shows the difference of the image circle by a lens. 第1の実施形態における警告メッセージの一例を示す図。FIG. 4 is a diagram illustrating an example of a warning message according to the first embodiment. 第2の実施形態における撮像装置の動作を示すフローチャート。9 is a flowchart illustrating an operation of the imaging device according to the second embodiment. 第2の実施形態における警告メッセージの一例を示す図。FIG. 10 is a diagram illustrating an example of a warning message according to the second embodiment. 第3の実施形態における撮像装置の動作を示すフローチャート。9 is a flowchart illustrating the operation of the imaging device according to the third embodiment. 第4の実施形態における撮像装置の動作を示すフローチャート。13 is a flowchart illustrating the operation of the imaging device according to the fourth embodiment.

以下、添付図面に従って本発明に係る実施形態を詳細に説明する。なお、以下に示す実施形態における構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the configurations in the embodiments described below are merely examples, and the present invention is not limited to the illustrated configurations.

図1は、実施形態におけるレンズ交換可能なデジタルカメラに代表される撮像装置のブロック構成図である。実施形態における撮像装置は、撮像装置本体100と、撮像装置本体100に対して脱着可能なレンズユニット180で構成される。   FIG. 1 is a block diagram of an imaging apparatus typified by a digital camera with interchangeable lenses according to the embodiment. The imaging device according to the embodiment includes an imaging device main body 100 and a lens unit 180 that is detachable from the imaging device main body 100.

撮像装置本体100において、シャッター120は後述する撮像部122の露出量を制御する。撮像部122は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像素子を有する。この撮像素子の表面には、R,G,Bの各色成分のフィルタがベイヤ配列状に配置されている。それ故、撮像部122で得た直後の画像データのベイヤ配列の画素データで構成されることになる。また撮像部122はA/D変換処理機能を備えている。AF評価値検出部123ではデジタル画像信号から得られるコントラスト情報や視差画像から得られる位相差からAF評価値を算出し、得られたAF評価値を撮像部122からシステム制御部150に出力する。なお、本実施形態における撮像素子は、いわゆるフルサイズのセンサーであるものとする。   In the imaging apparatus main body 100, a shutter 120 controls an exposure amount of an imaging unit 122 described later. The imaging unit 122 has an imaging device configured by a CCD, a CMOS device, or the like that converts an optical image into an electric signal. On the surface of the image sensor, filters of R, G, and B color components are arranged in a Bayer array. Therefore, the image data is composed of the pixel data of the Bayer array of the image data obtained immediately by the imaging unit 122. Further, the imaging unit 122 has an A / D conversion processing function. The AF evaluation value detection unit 123 calculates an AF evaluation value from contrast information obtained from a digital image signal and a phase difference obtained from a parallax image, and outputs the obtained AF evaluation value from the imaging unit 122 to the system control unit 150. Note that the image sensor in the present embodiment is a so-called full-size sensor.

画像処理部124は、撮像部122から出力される画像データ、又は、メモリ制御部15からの画像データに対し所定の画素補間、縮小といったリサイズ処理や色変換処理を行う。また、画像処理部124は被写体と撮像装置との距離情報を取得することができる。具体的には、画像処理装部124は、与えられた2つの視差画像から位相差を検出することで被写体までの距離を取得し、撮像装置から被写体までの距離情報を画素ごとに取得する。さらに、画像処理部124は、撮像した画像データを用いて所定の演算処理が行い、システム制御部150はその演算結果基づき露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAE(自動露出)処理、EF(フラッシュ自動調光発光)処理が行われる。また画像処理部124はAF(オートフォーカス)処理が行われるが、このとき撮像部122に備えるAF評価値検出部123の出力が用いられることもある。画像処理部124は更に、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。また、画像処理部124は、複数枚の画像を合成する処理を行い、多重画像の生成も行う。更に画像処理部124は、ベイヤ配列のRAW画像データをデベイヤ処理して1画素3成分の画像データへの変換、符号化、復号処理も行う。   The image processing unit 124 performs resizing processing and color conversion processing such as predetermined pixel interpolation and reduction on image data output from the imaging unit 122 or image data from the memory control unit 15. Further, the image processing unit 124 can acquire distance information between the subject and the imaging device. Specifically, the image processing device 124 acquires the distance to the subject by detecting a phase difference from the two given parallax images, and acquires distance information from the imaging device to the subject for each pixel. Further, the image processing unit 124 performs a predetermined calculation process using the captured image data, and the system control unit 150 performs exposure control and distance measurement control based on the calculation result. As a result, TTL (through the lens) AE (automatic exposure) processing and EF (flash automatic light emission control) processing are performed. The image processing unit 124 performs an AF (autofocus) process. At this time, the output of the AF evaluation value detection unit 123 included in the imaging unit 122 may be used. The image processing unit 124 further performs predetermined arithmetic processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic results. Further, the image processing unit 124 performs a process of combining a plurality of images, and also generates a multiplexed image. Further, the image processing unit 124 performs debayer processing on the Bayer array RAW image data, and performs conversion, encoding, and decoding processing into image data of one pixel and three components.

撮像部122の出力データは、画像処理部124及びメモリ制御部115を介して、或いは、メモリ制御部115を介してメモリ132に直接書き込まれる。メモリ132は、撮像部122によって取得およびA/D変換された画像データや、表示部128に表示するための画像データを格納する。メモリ132は、所定枚数の静止画像や所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。また、メモリ132は画像表示用のメモリ(ビデオメモリ)を兼ねている。D/A変換器113は、メモリ132に格納されている画像表示用のデータをアナログ信号に変換して表示部128に供給する。こうして、メモリ132に書き込まれた表示用の画像データはD/A変換器113を介して表示部128により表示される。表示部128は、LCD等の表示器上に、D/A変換器113からのアナログ信号に応じた表示を行う。撮像部122で一度A/D変換されメモリ32に蓄積されたデジタル信号をD/A変換器113においてアナログ変換し、表示部128に逐次転送して表示することで、電子ビューファインダとして機能し、スルー画像表示を行える。   The output data of the imaging unit 122 is directly written into the memory 132 via the image processing unit 124 and the memory control unit 115 or via the memory control unit 115. The memory 132 stores image data obtained and A / D converted by the imaging unit 122, and image data to be displayed on the display unit 128. The memory 132 has a sufficient storage capacity to store a predetermined number of still images, moving images and sounds for a predetermined time. The memory 132 also serves as a memory for displaying images (video memory). The D / A converter 113 converts the image display data stored in the memory 132 into an analog signal and supplies the analog signal to the display unit 128. Thus, the display image data written in the memory 132 is displayed on the display unit 128 via the D / A converter 113. The display unit 128 performs display on a display such as an LCD according to the analog signal from the D / A converter 113. The digital signal that has been A / D converted once by the imaging unit 122 and stored in the memory 32 is converted into an analog signal by the D / A converter 113, and sequentially transferred to the display unit 128 for display, thereby functioning as an electronic viewfinder. Through images can be displayed.

不揮発性メモリ156は、電気的に消去・記録可能なメモリであり、例えばフラッシュメモリ等が用いられる。不揮発性メモリ156には、システム制御部150の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、本実施形態にて後述する各種フローチャートを実行するためのプログラムのことである。また、不揮発性メモリ156には、撮像装置本体100に接続可能なレンズユニットのモデル名と、そのレンズユニットの特定情報を対にしたレンズテーブル156aが格納されている。レンズユニットの特性情報にはイメージサークルのサイズが含まれる。   The nonvolatile memory 156 is an electrically erasable / recordable memory, and for example, a flash memory or the like is used. The nonvolatile memory 156 stores constants, programs, and the like for the operation of the system control unit 150. Here, the program is a program for executing various flowcharts described later in the present embodiment. In addition, the nonvolatile memory 156 stores a lens table 156a in which a model name of a lens unit connectable to the imaging apparatus main body 100 and identification information of the lens unit are paired. The characteristic information of the lens unit includes the size of the image circle.

システム制御部150は、前述した不揮発性メモリ156に記録されたプログラムを実行することで、撮像装置本体100の各処理部を統括的に制御する。152はシステムメモリであり、RAMが用いられる。システムメモリ152には、システム制御部150の動作用の定数、変数、不揮発性メモリ156から読み出したプログラム等が展開される。   The system control unit 150 executes the program recorded in the above-described nonvolatile memory 156 to control each processing unit of the imaging apparatus main body 100 in an integrated manner. A system memory 152 uses a RAM. In the system memory 152, constants and variables for operation of the system control unit 150, programs read from the nonvolatile memory 156, and the like are loaded.

システムタイマー153は各種制御に用いる時間や、内蔵された時計の時間を計測する計時部である。モード切替スイッチ160、シャッターボタン161に収容された第1シャッタースイッチ162及び第2シャッタースイッチ163、操作部170はシステム制御部150に各種の動作指示を入力するための操作手段として機能する。モード切替スイッチ160は、システム制御部150の動作モードを静止画記録モード、動画記録モード、再生モード等のいずれかに切り替える。静止画記録モードに含まれるモードとして、オート撮影モード、オートシーン判別モード、マニュアルモード、撮影シーン別の撮影設定となる各種シーンモード、プログラムAEモード、カスタムモード、多重露出撮影モード等がある。モード切り替えスイッチ160で、静止画撮影モードに含まれるこれらのモードのいずれかに直接切り替えられる。あるいは、モード切り替えスイッチ160で静止画撮影モードに一旦切り換えた後に、静止画撮影モードに含まれるこれらのモードのいずれかに、他の操作部材を用いて切り替えるようにしてもよい。同様に、動画撮影モードにも複数のモードが含まれていてもよい。   The system timer 153 is a time measuring unit that measures the time used for various controls and the time of a built-in clock. The mode changeover switch 160, the first shutter switch 162 and the second shutter switch 163 accommodated in the shutter button 161, and the operation unit 170 function as operation means for inputting various operation instructions to the system control unit 150. The mode switch 160 switches the operation mode of the system control unit 150 to any one of a still image recording mode, a moving image recording mode, and a reproduction mode. The modes included in the still image recording mode include an auto shooting mode, an auto scene determination mode, a manual mode, various scene modes for setting shooting for each shooting scene, a program AE mode, a custom mode, and a multiple exposure shooting mode. The mode switch 160 directly switches to any of these modes included in the still image shooting mode. Alternatively, the mode may be switched once to the still image shooting mode by the mode change switch 160, and then switched to any of these modes included in the still image shooting mode using another operation member. Similarly, the moving image shooting mode may include a plurality of modes.

第1シャッタースイッチ162は、撮像装置本体100に設けられたシャッターボタン161の操作途中、いわゆる半押し(撮影準備指示)でONとなって、第1シャッタースイッチ信号SW1を発生する。システム制御部150は、第1シャッタースイッチ信号SW1により、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュ自動調光発光)処理等の動作を開始する。   The first shutter switch 162 is turned on by operating the shutter button 161 provided on the imaging apparatus main body 100 during half operation (so-called half-press (instruction for shooting preparation)) to generate a first shutter switch signal SW1. The system control unit 150 starts operations such as an AF (auto focus) process, an AE (auto exposure) process, an AWB (auto white balance) process, and an EF (auto flash light control) process in response to the first shutter switch signal SW1. I do.

第2シャッタースイッチ163は、シャッターボタン161の操作完了、いわゆる全押し(撮影指示)でONとなって、第2シャッタースイッチ信号SW2を発生する。システム制御部150は、第2シャッタースイッチ信号SW2により、撮像部122からの信号読み出しから記録媒体190に画像データを書き込むまでの一連の撮影処理の動作を開始する。   The second shutter switch 163 is turned on when the operation of the shutter button 161 is completed, that is, when the shutter button 161 is fully pressed (photographing instruction), and generates a second shutter switch signal SW2. The system control unit 150 starts a series of photographing processing operations from signal reading from the imaging unit 122 to writing of image data to the recording medium 190 by the second shutter switch signal SW2.

操作部170の各操作部材は、表示部128に表示される種々の機能アイコンを選択操作することなどにより、場面ごとに適宜機能が割り当てられ、各種機能ボタンとして作用する。機能ボタンとしては、例えば終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が表示部128に表示される。ユーザは、表示部128に表示されたメニュー画面と、上下左右の4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。各種の設定可能なメニュー画面としては、多重露出撮影モードを選択した際に、記録媒体190に記録されている過去に撮影した画像をベース画像として選択するための画面があり、選択したベース画像に撮影した画像を合成する多重露出撮影も可能である。さらに、撮影する画像の読み出しサイズをAPS−Cセンサーサイズにクロップするかどうかを選択する画面もあり、クロップする設定にした場合、フルサイズセンサー用のレンズを装着している場合にも、APS−Cセンサーサイズで撮影できる。このクロップ処理については図5を用いて後述する。   Each operation member of the operation unit 170 is appropriately assigned a function for each scene by, for example, selecting and operating various function icons displayed on the display unit 128, and functions as various function buttons. The function buttons include, for example, an end button, a return button, an image forward button, a jump button, a refinement button, an attribute change button, and the like. For example, when a menu button is pressed, a menu screen on which various settings can be made is displayed on the display unit 128. The user can intuitively perform various settings using the menu screen displayed on the display unit 128 and the four-way buttons and the SET button for up, down, left, and right. As a menu screen that can be set variously, there is a screen for selecting a previously shot image recorded on the recording medium 190 as a base image when the multiple exposure shooting mode is selected. Multiple-exposure shooting that combines shot images is also possible. Further, there is also a screen for selecting whether or not to crop the readout size of the image to be captured to the APS-C sensor size. When the cropping setting is set, and when the lens for the full size sensor is attached, the APS-C You can shoot with C sensor size. This cropping process will be described later with reference to FIG.

電源制御部141は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部141は、その検出結果及びシステム制御部150の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体190を含む各部へ供給する。   The power control unit 141 includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like, and detects whether or not a battery is mounted, the type of the battery, and the remaining battery level. Further, the power supply control unit 141 controls the DC-DC converter based on the detection result and the instruction of the system control unit 150, and supplies a necessary voltage to each unit including the recording medium 190 for a necessary period.

電源部140は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる。記録媒体I/F118は、メモリカードやハードディスク等の記録媒体190とのインターフェースである。記録媒体190は、撮影された画像を記録するためのメモリカード等の記録媒体であり、半導体メモリや磁気ディスク等から構成される。   The power supply unit 140 includes a primary battery such as an alkaline battery and a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, and a Li battery, and an AC adapter. The recording medium I / F 118 is an interface with a recording medium 190 such as a memory card or a hard disk. The recording medium 190 is a recording medium such as a memory card for recording a captured image, and includes a semiconductor memory, a magnetic disk, and the like.

コネクタ171は、撮像装置本体100をレンズユニット180と電気的に接続する。コネクタ171は、撮像装置本体100とレンズユニット180との間で制御信号、状態信号、データ信号などを伝え合うとともに、各種電圧の電流を供給する機能も備えている。また、コネクタ171にレンズユニット180が装着されているか否かは、レンズ着脱検知部154により検知される。   The connector 171 electrically connects the imaging device main body 100 to the lens unit 180. The connector 171 transmits a control signal, a status signal, a data signal, and the like between the imaging apparatus main body 100 and the lens unit 180, and has a function of supplying currents of various voltages. Whether the lens unit 180 is attached to the connector 171 is detected by the lens attachment / detachment detection unit 154.

次に、レンズユニット180の構成について説明する。撮像レンズ181は、光軸方向に移動することでピントの調整を行うフォーカスレンズやズーミングを行うズームレンズを含む複数のレンズにより構成される。また、絞り182は撮像装置本体100の撮像部122への光量を調節する。レンズ制御部183は撮像装置本体100のシステム制御回路150からの制御信号に応じて、レンズユニット180全体を制御し、撮像レンズ181のフォーカスレンズやズームレンズおよび絞り182の駆動制御も行う。また、レンズ制御部183は、動作用の定数や変数およびプログラムなどを記憶するメモリを備える。さらに、レンズ制御部183は、レンズユニット180固有のモデル名や製造番号などの識別情報、管理情報、開放絞り値や最小絞り値、焦点距離、歪曲収差等の収差量などの機能情報、現在や過去の各設定値などを保持する不揮発性メモリも備えている。コネクタ184は、レンズユニット180を撮像装置本体100と電気的に接続する。コネクタ184は、撮像装置本体100とレンズユニット180との間で制御信号、状態信号、データ信号などを伝え合うとともに、各種電圧の電流を供給される機能も備えている。   Next, the configuration of the lens unit 180 will be described. The imaging lens 181 includes a plurality of lenses including a focus lens that adjusts focus by moving in the optical axis direction and a zoom lens that performs zooming. The aperture 182 adjusts the amount of light to the imaging unit 122 of the imaging apparatus main body 100. The lens control unit 183 controls the entire lens unit 180 in accordance with a control signal from the system control circuit 150 of the imaging apparatus main body 100, and also controls the driving of the focus lens and zoom lens of the imaging lens 181 and the aperture 182. In addition, the lens control unit 183 includes a memory that stores operation constants, variables, programs, and the like. Further, the lens control unit 183 includes identification information such as a model name and a serial number unique to the lens unit 180, management information, function information such as an amount of aberration such as an open aperture value and a minimum aperture value, a focal length, and distortion. A non-volatile memory for storing past setting values and the like is also provided. The connector 184 electrically connects the lens unit 180 to the imaging device main body 100. The connector 184 transmits a control signal, a status signal, a data signal, and the like between the imaging device main body 100 and the lens unit 180, and has a function of supplying currents of various voltages.

次に図2、図3を用いて多重露出撮影の基本的な動作を説明する。図2は、多重露出撮影に関する設定メニュー画面であり、図3は、多重露出撮影において撮影される画像を示している。   Next, a basic operation of the multiple exposure shooting will be described with reference to FIGS. FIG. 2 shows a setting menu screen relating to multiple exposure shooting, and FIG. 3 shows an image shot in multiple exposure shooting.

ユーザが操作部170のメニューボタンを押下すると各種設定に関するメニュー画面が表示される。ユーザは、操作部170の上下左右ボタンを操作して、多重露出撮影に関する設定の項目を選択すると、表示部128には図2に示す多重露出撮影のサブメニュー画面200が表示され、多重露出撮影に関する設定を変更することができる。   When the user presses the menu button of the operation unit 170, a menu screen relating to various settings is displayed. When the user operates the up, down, left, and right buttons of the operation unit 170 to select a setting item related to multiple exposure shooting, a sub menu screen 200 for multiple exposure shooting shown in FIG. Settings can be changed.

多重露出撮影メニュー画面200は、設定項目201〜204と、基準画像の選択を行うボタン205を含む。このうち、設定項目201は、多重露出撮影を行うか否かを選択する設定項目であり、「する」・「しない」からいずれかを選択する。「する」を選択した上で、メニューを抜け撮影に復帰すると多重露出撮影モードとなる。   The multiple exposure shooting menu screen 200 includes setting items 201 to 204 and a button 205 for selecting a reference image. Among these, the setting item 201 is a setting item for selecting whether or not to perform multiple exposure shooting, and selects one of “Yes” and “No”. After selecting “Yes”, exiting the menu and returning to shooting, the camera enters the multiple exposure shooting mode.

設定項目202は、多重露出撮影時の露出の重ね合わせ方を選択する設定項目であり、ユーザは、「加算」・「加算平均」・「比較(明)」・「比較(暗)」から、いずれか1つを選択できる。「加算」では、合成する複数の画像の輝度を単純に加算する。「加算平均」では、合成する複数の画像の輝度を、後述する重ねる枚数分の平均となるように加算する。「比較(明)」では、合成する画像の輝度を比較して明るい部分を残し、逆に「比較(暗)」では、暗い部分を残すように重ね合わせる。   The setting item 202 is a setting item for selecting a method of overlapping exposure during multiple exposure shooting. The user can select one of “addition”, “average”, “comparison (bright)”, and “comparison (dark)” Either one can be selected. In the “addition”, the luminances of a plurality of images to be combined are simply added. In the “average averaging”, the luminances of a plurality of images to be synthesized are added so as to be an average of the number of images to be described later. In “comparison (bright)”, the luminances of the images to be combined are compared to leave a bright portion, and conversely, in “comparison (dark)”, the images are superimposed so that a dark portion remains.

設定項目203は、多重露出撮影において合成する画像の枚数を選択する設定項目であり、ユーザは重ね合わせる枚数を指定できる。多重露出撮影モードでは、設定した枚数撮影し合成画像が記録されたら多重撮影モードから、通常のスナップモードに復帰する。   The setting item 203 is a setting item for selecting the number of images to be combined in the multiple exposure shooting, and the user can specify the number of images to be superimposed. In the multiple exposure shooting mode, after the set number of images have been shot and the composite image has been recorded, the mode is returned from the multiple shooting mode to the normal snap mode.

設定項目204は、多重露出撮影において記録媒体190に記録する画像を選択する設定項目であり、ユーザは「全画像」・「多重画像のみ」のいずれかを選択できる。「全画像」が選択されや場合、重ね合わせる元となった複数の画像と、多重露出合成画像の両方が記録媒体190に記録される。「多重画像のみ」が選択された場合、多重露出合成画像のみが記録媒体190に記録され、多重画像の元になった個々の撮像画像は記録されない。   The setting item 204 is a setting item for selecting an image to be recorded on the recording medium 190 in the multiple exposure shooting, and the user can select either “all images” or “only multiple images”. When “all images” is selected, both the plurality of images from which the images are superimposed and the multiple-exposure composite image are recorded on the recording medium 190. When “only multiple images” is selected, only multiple exposure composite images are recorded on the recording medium 190, and individual captured images that are the basis of the multiple images are not recorded.

ユーザがボタン205を押下した場合、記録媒体190に既に格納された画像ファイルを1つ選択し、多重露出合成画像を生成し、記録することになる。なお、ユーザが、設定項目203に“5”を設定し、ユーザがボタン205を押下して既に記録された1つの画像ファイル(RAW画像ファイル)を選択した場合、選択した画像ファイルが表す画像を最初の画像(1枚目の画像)とし、残り4枚を、これ以降に撮像される画像として、多重露出画像が生成されることになる。   When the user presses the button 205, one image file already stored in the recording medium 190 is selected, and a multiple exposure composite image is generated and recorded. When the user sets “5” in the setting item 203 and selects one image file (RAW image file) already recorded by pressing the button 205, the image represented by the selected image file is displayed. A multiple exposure image is generated by setting the first image (first image) and the remaining four images as images captured thereafter.

なお、選択する画像ファイルの個数を2以上できるようにしても構わない。この場合、例えば2つ選択した場合には、その選択した2つのファイルが示す2つの画像と、これから撮像される3枚の画像とから、多重露出画像が生成すれば良い。   The number of image files to be selected may be two or more. In this case, for example, when two are selected, a multiple exposure image may be generated from two images indicated by the two selected files and three images to be captured.

図3(a)の参照符号601は多重露出撮影モードでの1枚目の撮影画像、同図(b)の参照符号602は2枚目の撮影画像である。そして、同図(c)の参照符号603が2枚目の撮影が終わった時点での多重露出合成画像である。   Reference numeral 601 in FIG. 3A indicates the first captured image in the multiple exposure shooting mode, and reference numeral 602 in FIG. 3B indicates the second captured image. Reference numeral 603 in FIG. 9C is a multiple exposure composite image at the time when the second image capturing is completed.

[第1の実施形態]
図4は、第1の実施形態におけるシステム制御部150の多重露出モードにおける処理手順を示すフローチャートである。ユーザがモード切替スイッチ160で多重露出撮影モードを選択した場合やメニュー設定により多重露出撮影を選択した場合に、撮像装置本体100は多重露出撮影モードに入り、図4の処理が実行される。図4の各ステップの処理は、システム制御部150が、不揮発性メモリ156から読み出した所定のプログラムをシステムメモリ152上に展開し、撮像装置本体100を構成する各部の動作や処理を制御することによって実現される。なお、多重露出に関する、ユーザによる各種設定(合成する画像の枚数や合成画像ファイルの指定等)は既に行われ、設定された情報がシステムメモリ152に格納されているものとする。なお、特に変更しない限り、前回の多重露出撮影時の合成枚数を今回の合成枚数とするようにしても構わない。この場合、合成枚数は不揮発性メモリ156に保持するようにすれば良い。
[First Embodiment]
FIG. 4 is a flowchart illustrating a processing procedure in the multiple exposure mode of the system control unit 150 according to the first embodiment. When the user selects the multiple exposure shooting mode with the mode switching switch 160 or selects the multiple exposure shooting by menu setting, the imaging apparatus main body 100 enters the multiple exposure shooting mode, and the processing in FIG. 4 is executed. In the processing of each step in FIG. 4, the system control unit 150 loads a predetermined program read from the nonvolatile memory 156 on the system memory 152 and controls the operation and processing of each unit configuring the imaging apparatus main body 100. It is realized by. It is assumed that various settings (such as the number of images to be combined and the designation of a combined image file) of the multiple exposure have already been performed by the user, and the set information has been stored in the system memory 152. Unless otherwise changed, the number of combined images during the previous multiple exposure shooting may be set as the number of combined images this time. In this case, the number of combined images may be stored in the nonvolatile memory 156.

S401にて、システム制御部150は、多重露出撮影モードの設定情報の1つである多重合成枚数Nをシステムメモリ152や不揮発性メモリ156から取得する。続いて、S402にて、システム制御部150は、システムメモリ152や不揮発性メモリ156に格納された情報に基づき、既に撮影された画像の中から1枚目の画像としてベース画像を選択して多重露出撮影を開始するベース画像選択がなされているか否かを判定する。システム制御部150は、ベース画像選択がなされていないと判定した場合(S402でNO)、処理をS403に進め、撮影枚数をカウントする変数nに初期値“0”を代入する。一方、ベース画像選択がなされていた場合(S402でYES)、システム制御部150は、処理をS404に進め、変数nに初期値“1”を代入する。   In step S <b> 401, the system control unit 150 acquires from the system memory 152 and the nonvolatile memory 156 the number N of multiple composite images, which is one of the setting information of the multiple exposure shooting mode. Subsequently, in S402, the system control unit 150 selects and multiplexes the base image as the first image from the already captured images based on the information stored in the system memory 152 and the nonvolatile memory 156. It is determined whether or not a base image selection for starting exposure shooting has been made. If the system control unit 150 determines that the base image has not been selected (NO in S402), the process proceeds to S403, and substitutes an initial value “0” for a variable n for counting the number of shots. On the other hand, if the base image has been selected (YES in S402), the system control unit 150 advances the processing to S404, and substitutes an initial value “1” for a variable n.

S405にて、システム制御部150は、レンズ着脱検知部154からの信号に基づき、レンズユニットの再装着があったか否かを判定する。レンズユニットの再装着は、例えば装着していたレンズを一度取り外してまた装着する場合や、装着していたレンズとは異なるレンズに交換する場合が含まれる。   In S405, system control unit 150 determines whether or not the lens unit has been reinstalled based on a signal from lens attachment / detachment detection unit 154. Re-attachment of the lens unit includes, for example, a case where the attached lens is once removed and attached again, or a case where the lens unit is replaced with a lens different from the attached lens.

システム制御部150は、レンズユニットが再装着されたと判定された場合(S405でYES)、処理をS406へ進め、レンズが再装着されていないと判定された場合(S405でNO)、処理をS409へ進める。   If it is determined that the lens unit has been remounted (YES in S405), the process proceeds to S406, and if it is determined that the lens has not been remounted (NO in S405), the system control unit 150 proceeds to S409. Proceed to.

S406にて、システム制御部150は、変数nが“0”か否か、つまり、ベース画像の選択がされていない、或いは、さらに多重露出撮影モードに入って1枚も撮影をしていないか否かを判定する。換言すれば、システム制御部150は、多重合成元の画像が存在しないか否かを判定する。システム制御部150は、変数nが“0”であると判定した場合(S406でYES)、処理をS409へ進める。また、変数nが“0”以外である場合(S406でNO)、システム制御部150は処理をS407へ進める。   In step S406, the system control unit 150 determines whether the variable n is “0”, that is, whether the base image has not been selected, or whether any of the plurality of images has been shot in the multiple exposure shooting mode. Determine whether or not. In other words, the system control unit 150 determines whether or not there is an image of the multiple composition source. If the system control unit 150 determines that the variable n is “0” (YES in S406), the process proceeds to S409. If the variable n is other than “0” (NO in S406), the system control unit 150 advances the processing to S407.

S407にて、システム制御部150は、新たに装着されたレンズユニットのイメージサークルがそれまで装着されていたレンズユニットのイメージサークルと異なるか否かを判定する。   In S407, system control unit 150 determines whether or not the image circle of the newly mounted lens unit is different from the image circle of the lens unit which has been mounted so far.

具体的には、システム制御部150は、コネクタ80を通して、装着中のレンズユニット180と通信し、モデル名等の識別情報を取得できる。そして、システム制御部150は、取得した識別情報を用いて、不揮発性メモリ156内のレンズテーブル156aを検索することで、装着中のレンズユニットのイメージサークルを取得できる。よって、システム制御部150は、レンズユニット再装着以前のレンズユニットのイメージサークル(不揮発性メモリ156の所定アドレスに格納しているものとする)と、再装着後の点図ユニットのイメージサークルとを比較することで、S407の判定処理を行う。   Specifically, the system control unit 150 can communicate with the lens unit 180 being mounted through the connector 80 and acquire identification information such as a model name. Then, the system control unit 150 can obtain the image circle of the currently mounted lens unit by searching the lens table 156a in the nonvolatile memory 156 using the obtained identification information. Therefore, the system control unit 150 compares the image circle of the lens unit before the lens unit is remounted (it is stored at a predetermined address in the nonvolatile memory 156) with the image circle of the dot unit after the lens unit is remounted. By performing the comparison, the determination processing of S407 is performed.

なお、S407の判定処理を、装着されたレンズユニットに応じて、撮像部122から読み出し記録する画像のサイズを切り替える必要があるか否かで判定するようにしても良い。さらに、撮像部122から読み出した画像を、画像処理部124や、システム制御部150で走査することにより、画像の周辺部のケラレの量を検出し、前回のケラレの量と異なるか否かで判定するようにしてもよい。   Note that the determination process of S407 may be determined based on whether it is necessary to switch the size of an image read and recorded from the imaging unit 122 according to the attached lens unit. Further, the image read from the imaging unit 122 is scanned by the image processing unit 124 and the system control unit 150 to detect the amount of vignetting in the peripheral portion of the image, and to determine whether the amount is different from the previous amount of vignetting. The determination may be made.

ここで図5(a),(b)を参照してイメージサークルの違いを説明する。図5(a),(b)の参照符号501、502は、撮像部122の撮像素子にレンズユニットを通った光が結像した様子である。参照符号501は、フルサイズセンサー用のレンズユニットが装着されているとき、参照符号502は、APS−Cサイズセンサー用のレンズユニットが装着されているときの様子である。前述したように、本実施形態における撮像素子はフルサイズセンサーである。しかし、APS−Cサイズセンサー用のレンズユニットが装着されているときは、撮像素子の周辺部分に光が当たらず、画像の周辺に「ケラレ」が発生する。そこで、APS−Cサイズセンサー用のレンズユニットが装着されている場合、システム制御部150は撮像部122を制御して、撮像素子内の、図示の参照符号503が示す領域の画像を、撮像画像として切り出すクロップ処理を行う。このようにクロップ処理を行うことで、サイズは小さくなるものの、ケラレの部分を除いた1枚の画像を得ることができる。   Here, the difference between the image circles will be described with reference to FIGS. Reference numerals 501 and 502 in FIGS. 5A and 5B indicate a state in which light passing through the lens unit forms an image on the image sensor of the image capturing unit 122. Reference numeral 501 indicates a state when a lens unit for a full size sensor is mounted, and reference numeral 502 indicates a state when a lens unit for an APS-C size sensor is mounted. As described above, the image sensor in the present embodiment is a full size sensor. However, when the lens unit for the APS-C size sensor is mounted, light does not shine on the peripheral portion of the image sensor, and "vignetting" occurs around the image. Therefore, when the lens unit for the APS-C size sensor is mounted, the system control unit 150 controls the imaging unit 122 to convert an image of an area indicated by reference numeral 503 in the imaging device into a captured image. And perform crop processing. By performing the crop processing in this way, although the size is reduced, one image excluding the vignetting portion can be obtained.

一方で多重露出撮影の場合は、図3のように画像が合成されるため、多重露出撮影の途中でイメージサークルの異なるレンズユニットが装着された場合、そのまま合成しようとすると、ケラレの部分も合成されることになり不自然な合成画像となってしまう。また、画像の読み出しサイズをAPS−Cセンサーサイズにクロップして、光が当たる部分のみを切り出して読み出した場合には、画像のサイズが異なることになり合成できない。   On the other hand, in the case of multi-exposure shooting, images are synthesized as shown in FIG. Resulting in an unnatural composite image. Also, if the readout size of an image is cropped to the APS-C sensor size and only the portion that is exposed to light is cut out and read, the image size will be different and cannot be combined.

そこで、本実施形態では、システム制御部150は、再装着されたレンズユニットのイメージサークルがそれまで装着されていたレンズユニットのイメージサークルと同じと判定した場合(S407でNO)、処理をS409へ進める。また、システム制御部150は、再装着されたレンズユニットのイメージサークルがそれまで装着されていたレンズユニットのイメージサークルと異なると判定した場合(S407でYES)、それ以降の撮像処理を中断するため、処理をS408へ進める。   Therefore, in the present embodiment, if the system control unit 150 determines that the image circle of the lens unit that has been remounted is the same as the image circle of the lens unit that has been mounted (NO in S407), the process proceeds to S409. Proceed. If the system control unit 150 determines that the image circle of the lens unit that has been remounted is different from the image circle of the lens unit that has been mounted (YES in S407), the system control unit 150 interrupts the subsequent imaging processing. The process proceeds to S408.

S408において、システム制御部150は、多重露出撮影を終了する旨のメッセージ(図6)を表示部28に表示する。そして、システム制御部150は、それまでの撮影で得られた合成画像を、画像ファイルとして記録媒体190に記録するために、処理をS415に進める。   In step S408, the system control unit 150 causes the display unit 28 to display a message (FIG. 6) indicating that the multiple exposure shooting is to be ended. Then, the system control unit 150 advances the process to S415 in order to record the composite image obtained by the previous shooting as an image file on the recording medium 190.

S409にて、システム制御部150は、第2シャッタースイッチ163がオンになったか否か(第2シャッタースイッチ信号SW2が発生したか否か)を判定する。システム制御部150は、第2シャッタースイッチ163がオンになっていないと判定した場合(S409でNO)、処理をS405へ戻し、第2シャッタースイッチ163がオンになるのを待つ。そして、システム制御部150は第2シャッタースイッチ163がオンになったと判定した場合、処理をS410へ進める。   In S409, system control unit 150 determines whether second shutter switch 163 has been turned on (whether second shutter switch signal SW2 has been generated). If the system control unit 150 determines that the second shutter switch 163 is not turned on (NO in S409), the process returns to S405, and waits for the second shutter switch 163 to be turned on. If the system control unit 150 determines that the second shutter switch 163 has been turned on, the process proceeds to S410.

S410にて、システム制御部150は、撮像部122により静止画フレームのキャプチャを行い、得られた画像データ(ベイヤ配列のRAW画像データ)をメモリ132に記憶し、処理をS411へ進める。S411にて、システム制御部150は、変数nの値を“1”増加させ、処理をS412へ進める。   In S410, system control unit 150 captures a still image frame by image capturing unit 122, stores the obtained image data (RAW image data in Bayer array) in memory 132, and advances the processing to S411. In S411, system control unit 150 increases the value of variable n by “1”, and advances the processing to S412.

S412にて、システム制御部150は、変数nの値が“1”より大きいか否かを判定する。つまり、システム制御部150は、合成処理の対象画像が既に存在するか否かを判定する。システム制御部150は、変数nが“1”以下であると判定した場合(S412でNO)、処理をS405へ戻す。また、システム制御部150は、変数nが“1”より大きいと判定した場合(S412でYES)、処理をS413へ進める。   In S412, system control unit 150 determines whether or not the value of variable n is greater than “1”. That is, the system control unit 150 determines whether or not the target image of the combining process already exists. When determining that the variable n is equal to or smaller than “1” (NO in S412), the system control unit 150 returns the process to S405. If the system control unit 150 determines that the variable n is larger than “1” (YES in S412), the process proceeds to S413.

S413にて、システム制御部150は、画像処理部24を制御して、S410でキャプチャされメモリ132に記憶された画像データ同士を合成し、合成画像データを生成し、メモリ132に記憶する。変数nが“2”より大きい場合、つまりS410でキャプチャして得た画像が3枚目以降の場合には、システム制御部150は、そのキャプチャした画像データを、それ以前の合成処理で得た合成画像データに合成し、新たな合成画像データを生成し、メモリ132に記憶させる。S413の処理を終えたら、システム制御部150は、処理をS414へ進める。なお、このS413の合成処理では、ベイヤ配列の画像データのままで合成処理が行われる。   In step S413, the system control unit 150 controls the image processing unit 24 to combine the image data captured in step S410 and stored in the memory 132, generate combined image data, and store the combined image data in the memory 132. If the variable n is greater than “2”, that is, if the image captured in S410 is the third or subsequent image, the system control unit 150 obtains the captured image data by the previous synthesis processing. The image is synthesized with the synthesized image data to generate new synthesized image data and stored in the memory 132. After finishing the process in S413, the system control unit 150 advances the process to S414. In the combining process in S413, the combining process is performed without changing the image data in the Bayer array.

S414にて、システム制御部150は、変数nが“N”と等しいか否か、つまり、多重露出撮影終了か否かを判定する。システム制御部150は、変数nが“N”と等しくない(S414でNO)、処理をS405へ戻す。また、システム制御部150は、変数nが“N”と等しいと判定した場合、処理をS415へ進める。   In S414, system control unit 150 determines whether or not variable n is equal to “N”, that is, whether or not multiple exposure shooting is to be ended. If the variable n is not equal to “N” (NO in S414), the system control unit 150 returns the process to S405. If the system control unit 150 determines that the variable n is equal to “N”, the process proceeds to S415.

S415にて、システム制御部150は、画像処理部124を制御し、S413で生成した合成画像データに対して、現像処理(デベイヤ処理を含む)、すなわちホワイトバランス調整、画素補間等の処理を施し、YUVデータに変換し、メモリ132に書き込む。システム制御部150は、S415の処理を終えると、処理をS416へ進める。   In step S415, the system control unit 150 controls the image processing unit 124 to perform development processing (including debayer processing), that is, processing such as white balance adjustment and pixel interpolation on the composite image data generated in step S413. , YUV data, and writes the data to the memory 132. After finishing the process in S415, the system control unit 150 advances the process to S416.

S416にて、システム制御部150は、画像処理部24を制御し、S415で生成した現像後の合成画像データをJPEG形式の静止画像データに圧縮符号化させ、メモリ132に書き込み、処理をS417へ進める。   In S416, the system control unit 150 controls the image processing unit 24, compresses and encodes the developed composite image data generated in S415 into JPEG still image data, writes the JPEG still image data in the memory 132, and proceeds to S417. Proceed.

S417にて、システム制御部150は、S416で圧縮符号化されたJPEG形式の静止画像データを、記録媒体I/F118を介して、記録媒体190に記録し、一連の多重露出撮影を終了する。なお、図2の設定項目にて、「撮影画像の保存」が選択された場合、メモリ132に格納された合成に利用された各撮像画像(S410で得た画像)も、記憶媒体190に記録されることになる。   In step S417, the system control unit 150 records the JPEG still image data compression-encoded in step S416 on the recording medium 190 via the recording medium I / F 118, and ends a series of multiple exposure shooting. Note that, when “save captured image” is selected in the setting item of FIG. 2, each captured image (the image obtained in S410) stored in the memory 132 and used for synthesis is also recorded in the storage medium 190. Will be done.

以上のように、多重露出撮影中に新たにレンズユニットの再装着が検出され、その再装着されたレンズユニットのイメージサークルがそれまで装着されていたレンズユニットのイメージサークルと異なっていた場合、メッセージを表示し多重露出撮影を終了するようにした。このようにすることで、多重露出撮影中にそれまで装着されていたレンズユニットとイメージサークルの異なるレンズユニットを装着した場合に不正な多重画像が合成されるのを防ぐことができる。例えば、フルサイズセンサー用のレンズユニットを装着して多重露出撮影を開始した場合に、途中でAPS−Cサイズセンサー用のレンズユニットに付け替えた場合に不正な多重画像が合成されるのを防ぐことができる。また、当初設定したN枚の画像の合成とはならないものの、途中までの撮影で得た画像を用いた合成画像が記憶媒体190に記憶することもできる。   As described above, during the multiple exposure shooting, if the re-attachment of the lens unit is newly detected and the image circle of the re-attached lens unit is different from the image circle of the lens unit that was attached before, a message is displayed. Is displayed to end the multiple exposure shooting. By doing so, it is possible to prevent an incorrect multiplex image from being synthesized when a lens unit having a different image circle from the lens unit that has been mounted is mounted during multiple exposure shooting. For example, when multiple-exposure shooting is started with a lens unit for a full-size sensor attached, and if a lens unit for an APS-C size sensor is replaced halfway, an incorrect multiple image is prevented from being synthesized. Can be. Further, although the initially set N images are not combined, a combined image using an image obtained by taking a partial image can be stored in the storage medium 190.

[第2の実施形態]
次に第2の実施形態に係る撮像装置の処理について説明する。本第2の実施形態に係る撮像装置の構成自体は、第1の実施形態(図1)と同じであるものとし、その詳細な説明については省略する。
[Second embodiment]
Next, processing of the imaging device according to the second embodiment will be described. The configuration itself of the imaging apparatus according to the second embodiment is the same as that of the first embodiment (FIG. 1), and a detailed description thereof will be omitted.

第1の実施形態では、多重露出撮影中にレンズユニットが再装着され、且つ、そのレンズユニットのイメージサークルがそれまで装着されていたレンズユニットのイメージサークルと異なっていた場合、メッセージを表示し多重露出撮影を終了した。これに対して、本第2の実施形態では、多重露出撮影中にそれまで装着されていたレンズユニットとイメージサークルの異なるレンズユニットが装着された場合、警告メッセージを表示し、再度イメージサークルの同じレンズユニットを装着し直せば撮影を継続できるようにした。これにより、それまで装着されていたレンズユニットとイメージサークルの異なるレンズユニットを装着した場合に不正な多重画像が合成されるのを防ぐとともに、誤って装着した場合には、撮影を終了せず、正しいレンズユニットを装着し直して一連の多重露出撮影を継続することができる。   In the first embodiment, when the lens unit is remounted during multiple exposure shooting and the image circle of the lens unit is different from the image circle of the lens unit that has been mounted, a message is displayed and the multiplication is performed. Exposure shooting ended. On the other hand, in the second embodiment, when a lens unit having a different image circle from the lens unit that has been mounted is mounted during multiple exposure shooting, a warning message is displayed and the same image circle is again displayed. Shooting can be continued by re-installing the lens unit. This prevents incorrect multi-images from being synthesized when a lens unit with a different image circle from the lens unit that was mounted so far is mounted, and does not terminate shooting if mounted incorrectly. A series of multiple exposure shooting can be continued by mounting the correct lens unit again.

図7は、第2の実施形態におけるシステム制御部150の多重露出モードにおける処理手順を示すフローチャートである。なお、多重露出に関する、ユーザによる各種設定(合成する画像の枚数や合成画像ファイルの指定等)は既に行われ、設定された情報がシステムメモリ152や不揮発性メモリ156に保持されているものとする。   FIG. 7 is a flowchart illustrating a processing procedure in the multiple exposure mode of the system control unit 150 according to the second embodiment. It is assumed that various settings (such as the number of images to be combined and the designation of a combined image file) for the multiple exposure have already been performed, and the set information is held in the system memory 152 or the nonvolatile memory 156. .

図7におけるS701〜S707,S709〜S717の処理は、図4のS401〜S407、S409〜S417と同じであるので、その説明を省略する。図7が図4と異なる点は、S707がNoと判定された以降(図4におけるS407がNoと判定された以降に相当)のS721〜S726の処理にある。   The processes of S701 to S707 and S709 to S717 in FIG. 7 are the same as S401 to S407 and S409 to S417 of FIG. FIG. 7 differs from FIG. 4 in the processes of S721 to S726 after S707 is determined to be No (corresponding to after S407 in FIG. 4 is determined to be No).

S721にて、システム制御部150は、イメージサークルの異なるレンズユニットが装着されたためレンズユニットを再度付け替えることを促す旨のメッセージ(図8)を表示部128に表示する。また、システム制御部150は、それまでの撮影で得られた合成画像を記録して多重露出撮影を終了するか否か、合成画像を破棄して多重露出撮影を終了するか否かを選択可能なメニューを表示部128に表示し、処理をS722に進める。   In S721, system control unit 150 causes display unit 128 to display a message (FIG. 8) indicating that a lens unit having a different image circle has been mounted and prompting the user to replace the lens unit again. In addition, the system control unit 150 can select whether to record the composite image obtained by the previous shooting and end the multiple exposure shooting or to discard the composite image and end the multiple exposure shooting. Is displayed on the display unit 128, and the process proceeds to S722.

S722にて、システム制御部150は、S721で表示したメニューにより、ユーザが多重露出撮影を終了することを選択したか否かを判定する。システム制御部150は、ユーザが多重露出撮影の終了を選択していないと判定した場合(S722でNO)、処理をS724へ進め、ユーザが多重露出撮影の終了を選択したと判定された場合(S722でYES)、処理をS723へ進める。   In S722, system control unit 150 determines whether or not the user has selected to end the multiple exposure shooting from the menu displayed in S721. If it is determined that the user has not selected the end of the multiple exposure shooting (NO in S722), the system control unit 150 advances the process to S724, and it is determined that the user has selected the end of the multiple exposure shooting ( (S722: YES), the process proceeds to S723.

S723にて、システム制御部150は、S721で表示したメニューにより、ユーザがそれまでの撮影で得られた合成画像を記録することを選択したか否かを判定する。システム制御部150は、ユーザが合成画像を記録することを選択していないと判定された場合(S723でNO)、一連の多重露出撮影を終了する。また、システム制御部150は、ユーザが合成画像を記録することを選択したと判定した場合(S723でYES)、処理をS715へ進める。   In S723, system control unit 150 determines whether or not the user has selected to record the composite image obtained by the previous shooting, based on the menu displayed in S721. If it is determined that the user has not selected to record the composite image (NO in S723), the system control unit 150 ends the series of multiple exposure shooting. If the system control unit 150 determines that the user has selected to record the composite image (YES in S723), the process proceeds to S715.

S724にて、システム制御部150は、レンズ着脱検知部154によりレンズユニットが再装着されたか否かを判定する。システム制御部150は、レンズユニットが装着されたと判定された場合(S724でYES)、処理をS725へ進め、レンズユニットが再装着されていないと判定された場合(S724でNO)、再装着を待つために処理をS721へ戻す。   In S724, system control unit 150 determines whether or not the lens unit has been reinstalled by lens attachment / detachment detection unit 154. If it is determined that the lens unit has been mounted (YES in S724), the process proceeds to S725, and if it is determined that the lens unit has not been mounted (NO in S724), the system control unit 150 performs the mounting again. The process returns to S721 to wait.

S725にて、システム制御部150は、再度装着されたレンズユニットのイメージサークルが、直前の撮影で用いたレンズユニットのイメージサークルと異なるか否かを判定する。システム制御部150は、再度装着されたレンズユニットのイメージサークルが直前の撮影で用いたレンズユニットのイメージサークルと同じと判定された場合(S725でYES)、処理をS726に進める。システム制御部150は、再度装着されたレンズユニットのイメージサークルが、直前の撮影で用いたレンズユニットのイメージサークルと異なると判定した場合(S725でNO)、処理をS721へ戻す。   In S725, system control unit 150 determines whether or not the image circle of the lens unit that has been remounted is different from the image circle of the lens unit that was used in the immediately preceding shooting. If it is determined that the image circle of the lens unit that has been re-mounted is the same as the image circle of the lens unit used in the immediately preceding shooting (YES in S725), the process proceeds to S726. If the system control unit 150 determines that the image circle of the lens unit that has been mounted again is different from the image circle of the lens unit used in the immediately preceding shooting (NO in S725), the process returns to S721.

S726にて、システム制御部150は、S721で表示した警告メッセージを非表示にし、処理をS705に戻し、一連の多重露出撮影を継続する。   In S726, system control unit 150 hides the warning message displayed in S721, returns the process to S705, and continues a series of multiple exposure shooting.

S709〜S717まで一連の多重露出撮影処理は、第1の実施形態におけるS409〜417と同一のため、その説明は省略する。   A series of multiple exposure shooting processing from S709 to S717 is the same as S409 to 417 in the first embodiment, and a description thereof will be omitted.

以上の説明のように、本第2の実施形態によれば、多重露出撮影中にそれまで装着されていたレンズユニットとイメージサークルの異なるレンズユニットが装着された場合、警告メッセージを表示し、ユーザの選択に応じて一連の多重露出撮影を終了できるようにした。また、ユーザが一連の多重露出撮影の終了を選択せず、再度イメージサークルの同じレンズユニットを装着し直した場合には、一連の多重露出撮影を継続できるようにした。これにより、それまで装着されていたレンズユニットとイメージサークルの異なるレンズユニットを装着した場合に不正な多重画像が合成されるのを防ぐとともに、誤って装着した場合には、撮影を終了せず、別のレンズユニットを装着し直して一連の多重露出撮影を継続することができる。例えば、フルサイズセンサー用のレンズユニットを装着して多重露出撮影を開始した場合に、途中でAPS−Cサイズセンサー用のレンズユニットに付け替えた場合に不正な多重画像が合成されるのを防ぐことができる。さらに、再度フルサイズセンサー用のレンズユニットを装着し直した場合には、一連の多重露出撮影を継続可能にできる。   As described above, according to the second embodiment, when a lens unit having a different image circle from the lens unit that has been mounted is mounted during multiple-exposure shooting, a warning message is displayed and the user is notified. A series of multiple exposure shooting can be terminated according to the selection of. Further, when the user does not select the end of the series of multiple exposure shooting and re-attachs the same lens unit of the image circle again, the series of multiple exposure shooting can be continued. This prevents incorrect multi-images from being synthesized when a lens unit with a different image circle from the lens unit that was mounted so far is mounted, and does not terminate shooting if mounted incorrectly. A series of multiple exposure shooting can be continued by mounting another lens unit again. For example, when multiple-exposure shooting is started with a lens unit for a full-size sensor attached, and if a lens unit for an APS-C size sensor is replaced halfway, an incorrect multiple image is prevented from being synthesized. Can be. Further, when the lens unit for the full size sensor is mounted again, a series of multiple exposure shooting can be continued.

[第3の実施形態]
次に第3の実施形態に係る撮像装置の処理について説明する。本第3の実施形態に係る撮像装置の構成自体は、第1の実施形態(図1)と同じであるものとし、その詳細な説明については省略する。
[Third Embodiment]
Next, processing of the imaging device according to the third embodiment will be described. The configuration itself of the imaging apparatus according to the third embodiment is the same as that of the first embodiment (FIG. 1), and a detailed description thereof will be omitted.

第1の実施形態では、多重露出撮影中に新たにレンズユニットが装着されたときに、装着されたレンズユニットのイメージサークルがそれまで装着されていたレンズユニットのイメージサークルと異なっていた場合、メッセージを表示し多重露出撮影を終了するようにした。   In the first embodiment, when a new lens unit is mounted during multiple exposure shooting, if the image circle of the mounted lens unit is different from the image circle of the lens unit that has been mounted, a message is displayed. Is displayed to end the multiple exposure shooting.

同様に、本第3の実施形態では、多重露出撮影中に新たにレンズユニットが装着され、その新たに装着されたレンズユニットでは歪曲補正などの画像補正設定が有効となる場合、つまり画像補正が必須となるレンズユニットが装着された場合、メッセージを表示し多重露出撮影を終了するようにした。こうすることにより、多重露出撮影中に画像補正が必須となるレンズユニットが装着された場合に、画像補正の不要な画像と画像補正の必要な画像を合成してしまい、不自然な多重画像が生成されるのを防ぐことができる。   Similarly, in the third embodiment, a lens unit is newly mounted during multiple exposure shooting, and image correction settings such as distortion correction become effective in the newly mounted lens unit, that is, image correction is not performed. When a required lens unit is attached, a message is displayed and multiple exposure shooting is terminated. In this way, when a lens unit that requires image correction is mounted during multiple exposure shooting, an image that does not require image correction and an image that requires image correction are combined, and an unnatural multiple image is generated. It can be prevented from being generated.

図9は、本第3の実施形態におけるシステム制御部150の多重露出モードにおける処理手順を示すフローチャートである。なお、多重露出に関する、ユーザによる各種設定(合成する画像の枚数や合成画像ファイルの指定等)は既に行われ、設定された情報がシステムメモリ152や不揮発性メモリ156に保持されているものとする。また、多重露出モードが開始されると、歪曲補正などの画像補正の設定は無効に固定された上で多重露出撮影モードを開始するものとする。   FIG. 9 is a flowchart illustrating a processing procedure in the multiple exposure mode of the system control unit 150 according to the third embodiment. It is assumed that various settings (such as the number of images to be combined and the designation of a combined image file) for the multiple exposure have already been performed, and the set information is held in the system memory 152 or the nonvolatile memory 156. . When the multiple exposure mode is started, the settings of image correction such as distortion correction are fixed to be invalid, and then the multiple exposure shooting mode is started.

図9におけるS901〜S905、S909〜S917は、図4のS401〜S405,S409〜S417と同じであるため、それらの説明は省略する。図9が図4と異なる点は、S905がNoと判定された以降(図4におけるS405がNoと判定された以降に相当)のS921〜S923の処理にある。   S901 to S905 and S909 to S917 in FIG. 9 are the same as S401 to S405 and S409 to S417 in FIG. 9 differs from FIG. 4 in the processing of S921 to S923 after S905 is determined to be No (corresponding to the determination after S405 in FIG. 4 is No).

S921にて、システム制御部150は、新たに装着されたレンズユニットにおいて、画像補正設定を有効にする必要があるか否か、つまり、画像補正が必須となるレンズユニットが装着されたか否かを判定する。画像補正設定を有効固定にする必要があるか否かの判定は、レンズテーブル156aに、補正の要否を示す情報を、レンズ識別情報(モデル名)と対応づけて記憶しておけば良い。システム制御部150は、コネクタ171を介して装着されたレンズユニットから識別情報を受信し、レンズテーブル156aから、該当するレンズユニットの補正の要否に係る情報を取得し、判定すればよい。また、場合によっては、システム制御部150は、コネクタ171を通してレンズユニット180から取得したレンズユニット180の歪曲収差等に対する補正機能情報を用いて判定するようにしてもよい。さらに、撮像部122から読み出した画像を画像処理部124や、システム制御部150で走査することにより、画像の収差量を検出し、判定するようにしてもよい。   In step S921, the system control unit 150 determines whether or not the image correction setting needs to be enabled in the newly mounted lens unit, that is, whether or not a lens unit that requires image correction is mounted. judge. The determination as to whether it is necessary to fix the image correction setting effectively may be performed by storing information indicating whether correction is necessary in the lens table 156a in association with the lens identification information (model name). The system control unit 150 may receive the identification information from the attached lens unit via the connector 171, obtain the information on the necessity of correction of the corresponding lens unit from the lens table 156 a, and make the determination. In some cases, the system control unit 150 may make a determination using correction function information for distortion or the like of the lens unit 180 acquired from the lens unit 180 through the connector 171. Further, the image read out from the imaging unit 122 may be scanned by the image processing unit 124 or the system control unit 150 to detect and determine the amount of aberration of the image.

システム制御部150は、新たに装着されたレンズユニットにおいて画像補正設定を有効固定とする必要がないと判定された場合(S921でNO)、処理をS909へ進める。システム制御部150は、新たに装着されたレンズユニットにおいて画像補正設定を有効とする必要があると判定した場合(S921でYES)、処理をS922へ進める。   If the system control unit 150 determines that it is not necessary to fix the image correction setting in the newly mounted lens unit to be effective and fixed (NO in S921), the process proceeds to S909. If the system control unit 150 determines that the image correction setting needs to be valid for the newly mounted lens unit (YES in S921), the process proceeds to S922.

S922にて、システム制御部150は、多重露出撮影を終了する旨のメッセージを表示部128に表示し、処理をS923に進める。S923にて、システム制御部150は、係数nの値が“1”より大きいか否か、つまり、多重露出のために少なくとも2枚の画像を撮影したか否かを判定する。システム制御部150は、変数nが“1”より大きい場合(S923でYES)、処理をS915に進める。システム制御部150は、変数nが“1”以下であると判定した場合(S923でNo)、処理を一連の多重露出撮影を終了する。   In step S922, the system control unit 150 displays a message indicating that the multiple exposure shooting is to be completed on the display unit 128, and advances the process to step S923. In S923, system control unit 150 determines whether or not the value of coefficient n is greater than “1”, that is, whether or not at least two images have been shot for multiple exposure. If variable n is greater than “1” (YES in S923), system control unit 150 causes the process to proceed to S915. If the system control unit 150 determines that the variable n is equal to or less than “1” (No in S923), the process ends a series of multiple exposure shooting.

S909の静止画撮影からS917までの一連の多重露出撮影を終了するまでは、第1の実施形態におけるS409からS417と同一のため、説明を省略する。   Until the series of multiple-exposure shooting from S909 to S917 is completed, steps S409 to S417 in the first embodiment are the same, and a description thereof will be omitted.

以上の説明のように本第3の実施形態によれば、多重露出撮影中に新たにレンズユニットが装着されたときに、装着されたレンズユニットでは歪曲補正などの画像補正設定が有効固定となる場合、つまり画像補正が必須となるレンズユニットが装着された場合、メッセージを表示し多重露出撮影を終了する。このようにすることで、画像補正設定を無効固定とする多重露出撮影中に、画像補正が必須となるレンズユニットが装着された場合に不正な多重画像が合成されるのを防ぐことができる。例えば、多重露出撮影中に、安価な代わりに歪曲収差が大きく画像補正設定が有効に固定されるようなレンズユニットに付け替えた場合に不正な多重画像が合成されるのを防ぐことができる。   As described above, according to the third embodiment, when a lens unit is newly mounted during multiple exposure shooting, image correction settings such as distortion correction are effectively fixed in the mounted lens unit. In this case, that is, when a lens unit that requires image correction is attached, a message is displayed and the multiple exposure shooting ends. By doing so, it is possible to prevent an incorrect multiple image from being synthesized when a lens unit that requires image correction is attached during multiple exposure shooting in which the image correction setting is invalidated and fixed. For example, it is possible to prevent an incorrect multiplex image from being synthesized when the lens unit is replaced with a lens unit having a large distortion and effectively fixing the image correction setting instead of being inexpensive during multiple exposure shooting.

[第4の実施形態]
次に第4の実施形態に係る撮像装置の処理について説明する。本第4の実施形態に係る撮像装置の構成自体は、第1の実施形態(図1)と同じであるものとし、その詳細な説明については省略する。
[Fourth embodiment]
Next, processing of the imaging device according to the fourth embodiment will be described. The configuration itself of the imaging apparatus according to the fourth embodiment is the same as that of the first embodiment (FIG. 1), and a detailed description thereof will be omitted.

第4の実施形態では、多重露出撮影中に新たに装着されたレンズユニットでは歪曲補正などの画像補正設定を有効とする必要がある場合、つまり画像補正が必須となるレンズユニットが装着された場合、メッセージを表示し多重露出撮影を終了するようにした。これに対して、本第4の実施形態では、多重露出撮影中に画像補正が必須となるレンズユニットが装着された場合、警告メッセージを表示し、再度画像補正が必須ではないレンズユニットを装着し直せば撮影を継続できるようにした。これにより、画像補正設定を無効とする多重露出撮影中に、画像補正が必須となるレンズユニットが装着された場合に不自然な多重画像が合成されるのを防ぐことができる。さらに、誤って装着した場合には、撮影を終了せず、再度レンズユニットを装着し直して一連の多重露出撮影を継続することも可能である。   In the fourth embodiment, when a lens unit newly installed during multiple exposure shooting needs to enable image correction settings such as distortion correction, that is, when a lens unit that requires image correction is mounted , A message is displayed to end the multiple exposure shooting. In contrast, in the fourth embodiment, when a lens unit that requires image correction is mounted during multiple exposure shooting, a warning message is displayed, and a lens unit that does not require image correction is mounted again. If you fix it, you can continue shooting. Thus, it is possible to prevent an unnatural composite image from being synthesized when a lens unit that requires image correction is attached during multiple exposure shooting in which the image correction setting is invalidated. Further, when the lens unit is attached by mistake, it is possible to continue the series of multiple exposure shooting by re-attaching the lens unit without ending the shooting.

図10は、本第4の実施形態におけるシステム制御部150の多重露出モードにおける処理手順を示すフローチャートである。なお、多重露出に関する、ユーザによる各種設定(合成する画像の枚数や合成画像ファイルの指定等)は既に行われ、設定された情報がシステムメモリ152や不揮発性メモリ156に保持されているものとする。また、多重露出モードが開始されると、歪曲補正などの画像補正の設定は無効に固定された上で多重露出撮影モードを開始するものとする。   FIG. 10 is a flowchart illustrating a processing procedure in the multiple exposure mode of the system control unit 150 according to the fourth embodiment. It is assumed that various settings (such as the number of images to be combined and the designation of a combined image file) for the multiple exposure have already been performed, and the set information is held in the system memory 152 or the nonvolatile memory 156. . When the multiple exposure mode is started, the settings of image correction such as distortion correction are fixed to be invalid, and then the multiple exposure shooting mode is started.

S1001〜S1005、S1009〜S1017の処理は、第1の実施形態におけるS401〜S405、S409〜S417と同一のため、説明を省略する。   The processing of S1001 to S1005 and S1009 to S1017 is the same as that of S401 to S405 and S409 to S417 in the first embodiment, and a description thereof will not be repeated.

S1021にて、システム制御部150は、画像補正が必須となるレンズユニットが装着されたか否かを判定する。システム制御部150は、画像補正が不要のレンズユニットが装着されたと判定した場合(S1021でNo)、処理をS1009に進める。システム制御部150は、画像補正が必要なレンズユニットが装着されたと判定した場合(S1021でYES)、処理をS1022に進める
S1022にて、システム制御部150は、画像補正が必須となるレンズユニットが装着されたためレンズユニットを再度付け替えることを促す旨のメッセージを表示部128に表示する。合わせて、それまでの撮影で得られた合成画像を記録して多重露出撮影を終了するか、合成画像を破棄して多重露出撮影を終了するかを選択可能なメニューを表示部128に表示し、処理をS1023に進める。
In step S1021, the system control unit 150 determines whether a lens unit that requires image correction is attached. If the system control unit 150 determines that a lens unit that does not require image correction is attached (No in S1021), the process proceeds to S1009. If the system control unit 150 determines that a lens unit requiring image correction has been attached (YES in step S1021), the process advances to step S1022. In step S1022, the system control unit 150 determines whether a lens unit that requires image correction is required. The display unit 128 displays a message prompting the user to replace the lens unit again because the lens unit is attached. At the same time, a menu is displayed on the display unit 128 from which the composite image obtained by the previous shooting is recorded and the multiple exposure shooting can be terminated or the composite image is discarded and the multiple exposure shooting is terminated. The process proceeds to S1023.

S1023にて、システム制御部150は、S1022で表示したメニューにより、ユーザが多重露出撮影を終了することを選択したか否かを判定する。システム制御部150は、ユーザが多重露出撮影の終了を選択していないと判定された場合(S1023でNO)、処理をS1025へ進める。また、システム制御部150は、ユーザが多重露出撮影の終了を選択したと判定した場合(S1023でYES)、処理をS1024へ進める。   In S1023, system control unit 150 determines whether or not the user has selected to end the multiple exposure shooting from the menu displayed in S1022. If it is determined that the user has not selected to end the multiple exposure shooting (NO in S1023), system control unit 150 advances the process to S1025. If the system control unit 150 determines that the user has selected to end the multiple exposure shooting (YES in S1023), the process proceeds to S1024.

S1024にて、システム制御部150は、S1022で表示したメニューにより、ユーザがそれまでの撮影で得られた合成画像を記録することを選択したか否かを判定する。システム制御部150は、ユーザが合成画像を記録することを選択していないと判定した場合(S1024でNO)、一連の多重露出撮影を終了する。また、システム制御部150は、ユーザが合成画像を記録することを選択したと判定した場合(S1204でYES)、処理をS1015へ進める。   In S1024, system control unit 150 determines whether or not the user has selected to record the composite image obtained by the previous shooting, based on the menu displayed in S1022. If the system control unit 150 determines that the user has not selected to record the composite image (NO in S1024), the series of multiple exposure shooting ends. If the system control unit 150 determines that the user has selected to record the composite image (YES in S1204), the process proceeds to S1015.

S1025にて、システム制御部150は、レンズ着脱検知部154によりレンズユニットが再装着されたか否かを判定する。システム制御部150は、レンズユニットが装着されたと判定された場合(S1025でYES)、処理をS1026へ進め、レンズユニットの再装着がないと判定した場合(S1025でNO)、処理をS1022へ戻す。   In S1025, system control unit 150 determines whether or not the lens unit has been reinstalled by lens attachment / detachment detection unit 154. If it is determined that the lens unit is mounted (YES in S1025), the process proceeds to S1026, and if it is determined that the lens unit is not remounted (NO in S1025), the process returns to S1022. .

S1026にて、システム制御部150は、再度装着されたレンズユニットにおいて、画像補正設定を有効にする必要があるか否か、つまり、画像補正が必須となるレンズユニットが装着されたか否かを判定する。システム制御部150は、再度装着されたレンズユニットにおいて画像補正設定を有効とする必要がないと判定した場合(S1026でNO)、処理をS1027へ進める。再度装着されたレンズユニットにおいて画像補正設定を有効とする必要があると判定された場合(S1026でYES)、処理をS1022へ戻す。   In S1026, system control unit 150 determines whether or not it is necessary to validate the image correction setting in the lens unit that has been remounted, that is, whether or not a lens unit that requires image correction has been mounted. I do. If the system control unit 150 determines that it is not necessary to validate the image correction setting in the lens unit that has been re-mounted (NO in S1026), the process proceeds to S1027. If it is determined that the image correction setting needs to be made valid for the lens unit that has been re-mounted (YES in S1026), the process returns to S1022.

S1027にて、システム制御部150は、S1022で表示した警告メッセージを非表示にし、処理をS1005に戻し、一連の多重露出撮影を継続する。   In S1027, system control unit 150 hides the warning message displayed in S1022, returns the process to S1005, and continues a series of multiple exposure shooting.

S1009からS1017まで一連の多重露出撮影処理は、第1の実施形態におけるS409からS417と同一のため、説明を省略する。   A series of multiple exposure photographing processing from S1009 to S1017 is the same as S409 to S417 in the first embodiment, and a description thereof will be omitted.

以上説明したように本第4の実施形態によれば、多重露出撮影中に新たに装着されたレンズユニットにおいて画像補正設定を有効固定とする必要がある場合、つまり画像補正が必須となるレンズユニットが装着された場合、警告メッセージを表示し、ユーザの選択に応じて一連の多重露出撮影を終了できるようにした。また、ユーザが一連の多重露出撮影の終了を選択せず、再度画像補正が必須でないレンズユニットを装着し直した場合には、一連の多重露出撮影を継続できるようにした。これにより、画像補正設定を無効固定とする多重露出撮影中に、画像補正が必須となるレンズユニットが装着された場合に不正な多重画像が合成されるのを防ぐことができる。また、誤って装着した場合には、撮影を終了せず、別のレンズユニットを装着し直して一連の多重露出撮影を継続することができる。   As described above, according to the fourth embodiment, when the image correction setting needs to be effectively fixed in a newly mounted lens unit during multiple exposure shooting, that is, a lens unit in which image correction is essential When the is mounted, a warning message is displayed, and a series of multiple exposure shooting can be ended according to the user's selection. Further, when the user does not select the end of the series of multiple exposure shooting and re-attachs a lens unit that does not require image correction again, the series of multiple exposure shooting can be continued. Accordingly, it is possible to prevent an incorrect multiplex image from being synthesized when a lens unit that requires image correction is attached during multiple exposure shooting in which the image correction setting is invalidated and fixed. Further, when the lens unit is attached by mistake, the photographing is not terminated, and another lens unit can be attached again to continue a series of multiple exposure photographing.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other Examples)
The present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or an apparatus via a network or a storage medium, and one or more processors in a computer of the system or the apparatus read and execute the program. It can also be realized by the following processing. Further, it can be realized by a circuit (for example, an ASIC) that realizes one or more functions.

Claims (12)

レンズ交換可能な撮像手段を有する撮像装置であって、
前記撮像手段による複数回の撮像を行って得た複数の画像を合成し、合成画像を生成する合成手段と、
レンズの着脱を検出する検出手段と、
該検出手段による検出に応じて前記合成手段を制御する制御手段とを有し、
該制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズのイメージサークルが、再装着以前に装着されていたレンズのイメージサークルと異なる場合、前記撮像手段による前記合成画像を生成するための撮像を中断する
ことを特徴とする撮像装置。
An image pickup apparatus having an interchangeable lens image pickup means,
A synthesizing unit that synthesizes a plurality of images obtained by performing imaging a plurality of times by the imaging unit and generates a synthesized image;
Detecting means for detecting attachment / detachment of the lens;
Control means for controlling the synthesizing means in accordance with the detection by the detection means,
The control means includes:
The lens has been re-mounted based on the detection by the detection unit when performing the imaging multiple times by the synthesizing unit, and the image circle of the re-mounted lens has been mounted before the re-mounting. An imaging device for interrupting imaging by the imaging means to generate the composite image when the imaging circle is different from the imaging circle.
前記制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズのイメージサークルが、再装着以前に装着されていたレンズのイメージサークルと異なる場合、再装着以前に装着されていたレンズと同じイメージサークルのレンズが装着されるのを待ち、当該再装着により前記複数回の撮像を継続する
ことを特徴とする請求項1に記載の撮像装置。
The control means includes:
The lens has been re-mounted based on the detection by the detection unit when performing the imaging multiple times by the synthesizing unit, and the image circle of the re-mounted lens has been mounted before the re-mounting. 2. If the image circle is different from the image circle of the above, it waits until a lens of the same image circle as the lens attached before re-attachment is attached, and continues the plurality of imagings by the re-attachment. An imaging device according to item 1.
前記制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズのイメージサークルが、再装着以前に装着されていたレンズのイメージサークルと異なる場合、再装着以前に装着されていたレンズと同じイメージサークルのレンズの装着を促すメッセージを所定の表示部に表示する表示手段を含む
ことを特徴とする請求項2に記載の撮像装置。
The control means includes:
The lens has been re-mounted based on the detection by the detection unit when performing the imaging multiple times by the synthesizing unit, and the image circle of the re-mounted lens has been mounted before the re-mounting. 3. A display means for displaying, on a predetermined display unit, a message prompting the user to attach a lens having the same image circle as the lens attached before re-attachment when the image circle is different from the lens attached. Imaging device.
レンズ交換可能な撮像手段を有する撮像装置であって、
前記撮像手段による複数回の撮像を行って得た複数の画像を合成し、合成画像を生成する合成手段と、
レンズの着脱を検出する検出手段と、
該検出手段による検出に応じて前記合成手段を制御する制御手段とを有し、
該制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズは画像補正が必要なレンズであった場合、前記撮像手段による前記合成画像を生成するための撮像を中断する
ことを特徴とする撮像装置。
An image pickup apparatus having an interchangeable lens image pickup means,
A synthesizing unit that synthesizes a plurality of images obtained by performing imaging a plurality of times by the imaging unit and generates a synthesized image;
Detecting means for detecting attachment / detachment of the lens;
Control means for controlling the synthesizing means in accordance with the detection by the detection means,
The control means includes:
If the lens is re-mounted based on the detection by the detecting unit when performing the imaging multiple times by the synthesizing unit, and the re-mounted lens is a lens that requires image correction, An imaging apparatus for interrupting imaging for generating the composite image by means.
前記制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズは画像補正が必要なレンズであった場合、画像補正が不要なレンズが装着されるのを待ち、当該再装着により前記複数回の撮像を継続する
ことを特徴とする請求項4に記載の撮像装置。
The control means includes:
If the lens is re-mounted based on the detection by the detecting unit when the image capturing is performed a plurality of times by the combining unit, and the re-mounted lens is a lens that requires image correction, The image pickup apparatus according to claim 4, wherein the camera waits for an unnecessary lens to be attached, and continues the plurality of times of imaging by the reattachment.
前記制御手段は、
前記合成手段による複数回の撮像を行っている際に前記検出手段による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズは画像補正が必要なレンズであった場合、画像補正が不要なレンズの装着を促すメッセージを所定の表示部に表示する表示手段を含む
ことを特徴とする請求項5に記載の撮像装置。
The control means includes:
If the lens is re-mounted based on the detection by the detecting unit when the image capturing is performed a plurality of times by the combining unit, and the re-mounted lens is a lens that requires image correction, The imaging apparatus according to claim 5, further comprising a display unit that displays a message prompting the user to attach an unnecessary lens on a predetermined display unit.
前記制御手段は、前記撮像手段による前記合成画像を生成するための撮像を中断した場合あって、且つ、前記中断よりも前に複数の画像を撮像している場合には、当該中断よりも前の複数の画像から生成される合成画像を記憶媒体に記録することを特徴とすることを特徴とする請求項1乃至6のいずれか1項に記載の撮像装置。   The control unit may be configured to interrupt the imaging by the imaging unit in order to generate the composite image and, when capturing a plurality of images before the interruption, to stop the imaging before the interruption. The imaging apparatus according to claim 1, wherein a composite image generated from the plurality of images is recorded in a storage medium. 前記合成手段による合成する画像の枚数を設定する設定手段を更に有することを特徴とする請求項1乃至7のいずれか1項に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a setting unit configured to set the number of images to be combined by the combining unit. 撮像した画像を格納する記憶媒体から、前記合成手段で用いる最初の画像を指定する指定手段を更に有し、
前記指定手段で前記記憶媒体から画像が選択された場合、前記合成手段は、当該選択した画像を前記複数回の撮像における最初に撮像した画像として合成を行うことを特徴とする請求項1乃至8のいずれか1項に記載の撮像装置。
Further comprising a designation unit for designating a first image to be used in the synthesizing unit, from a storage medium storing the captured image,
9. The image processing apparatus according to claim 1, wherein when the specifying unit selects an image from the storage medium, the synthesizing unit synthesizes the selected image as an image captured first in the plurality of imagings. The imaging device according to any one of the above.
レンズ交換可能な撮像手段を有する撮像装置の制御方法であって、
前記撮像手段による複数回の撮像を行って得た複数の画像を合成し、合成画像を生成する合成工程と、
レンズの着脱を検出する検出工程と、
該検出工程による検出に応じて前記合成工程を制御する制御工程とを有し、
該制御工程は、
前記合成工程による複数回の撮像を行っている際に前記検出工程による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズのイメージサークルが、再装着以前に装着されていたレンズのイメージサークルと異なる場合、前記撮像工程による前記合成画像を生成するための撮像を中断する
ことを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus having an imaging unit with interchangeable lenses,
A synthesizing step of synthesizing a plurality of images obtained by performing imaging a plurality of times by the imaging unit and generating a synthesized image;
A detection step for detecting the attachment / detachment of the lens,
A control step of controlling the synthesis step according to the detection by the detection step,
The control step includes:
The lens has been re-mounted based on the detection by the detection step when performing the imaging multiple times in the synthesizing step, and the image circle of the re-mounted lens is the lens that was mounted before the re-mounting. A method for generating the composite image in the image capturing step when the image circle is different from the image circle of the image circle.
レンズ交換可能な撮像手段を有する撮像装置の制御方法であって、
前記撮像手段による複数回の撮像を行って得た複数の画像を合成し、合成画像を生成する合成工程と、
レンズの着脱を検出する検出工程と、
該検出工程による検出に応じて前記合成工程を制御する制御工程とを有し、
該制御工程は、
前記合成工程による複数回の撮像を行っている際に前記検出工程による検出に基づいてレンズの再装着があり、且つ、再装着されたレンズは画像補正が必要なレンズであった場合、前記撮像手段による前記合成画像を生成するための撮像を中断する
ことを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus having an imaging unit with interchangeable lenses,
A synthesizing step of synthesizing a plurality of images obtained by performing imaging a plurality of times by the imaging unit and generating a synthesized image;
A detection step for detecting the attachment / detachment of the lens,
A control step of controlling the synthesis step according to the detection by the detection step,
The control step includes:
If the lens is remounted based on the detection in the detection step when performing the imaging multiple times in the synthesizing step, and the remounted lens is a lens that needs image correction, A method for controlling an imaging apparatus, comprising: interrupting imaging for generating the composite image by means.
レンズ交換可能な撮像手段を有する撮像装置のプロセッサが読み込み実行することで、前記撮像装置を、請求項10又は11の方法の各工程を実行させるためのプログラム。   12. A program for causing a processor of an imaging apparatus having an imaging unit capable of replacing a lens to read and execute the processing so that the imaging apparatus executes each step of the method according to claim 10 or 11.
JP2018120040A 2018-06-25 2018-06-25 Imaging device and its control method Active JP6779258B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP2018120040A JP6779258B2 (en) 2018-06-25 2018-06-25 Imaging device and its control method
GB1908877.2A GB2576241B (en) 2018-06-25 2019-06-20 Image capturing apparatus, control method thereof, and computer program
US16/448,685 US11146714B2 (en) 2018-06-25 2019-06-21 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
DE102019116778.7A DE102019116778A1 (en) 2018-06-25 2019-06-21 Image capture device, control method of this and computer program
CN202210037481.8A CN114222053A (en) 2018-06-25 2019-06-25 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
CN202210037468.2A CN114222068A (en) 2018-06-25 2019-06-25 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
CN201910554373.6A CN110636214B (en) 2018-06-25 2019-06-25 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
CN202210037162.7A CN114374799A (en) 2018-06-25 2019-06-25 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
US17/459,295 US11477356B2 (en) 2018-06-25 2021-08-27 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
US17/941,107 US11750908B2 (en) 2018-06-25 2022-09-09 Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018120040A JP6779258B2 (en) 2018-06-25 2018-06-25 Imaging device and its control method

Publications (2)

Publication Number Publication Date
JP2020005033A true JP2020005033A (en) 2020-01-09
JP6779258B2 JP6779258B2 (en) 2020-11-04

Family

ID=69100615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018120040A Active JP6779258B2 (en) 2018-06-25 2018-06-25 Imaging device and its control method

Country Status (1)

Country Link
JP (1) JP6779258B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345317A (en) * 1998-06-01 1999-12-14 Canon Inc Image processor, its control method, and storage medium
JP2000175185A (en) * 1998-12-03 2000-06-23 Casio Comput Co Ltd Panorama photographing method and image pickup device
JP2001339734A (en) * 2000-05-26 2001-12-07 Olympus Optical Co Ltd System for digital camera and adjustment method therefor
JP2002218313A (en) * 2001-01-22 2002-08-02 Fuji Photo Film Co Ltd Digital camera
JP2003061048A (en) * 2001-08-20 2003-02-28 Canon Inc Electronic camera, imaging method, program and storage medium
JP2007158935A (en) * 2005-12-07 2007-06-21 Sony Corp Imaging apparatus and system
JP2007311869A (en) * 2006-05-16 2007-11-29 Nikon Corp Electronic camera
KR20090059512A (en) * 2007-12-06 2009-06-11 삼성디지털이미징 주식회사 Image processing apparatus for compensating of lens part shading and method for controlling thereof
JP2012235229A (en) * 2011-04-28 2012-11-29 Canon Inc Imaging apparatus and control method therefor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345317A (en) * 1998-06-01 1999-12-14 Canon Inc Image processor, its control method, and storage medium
JP2000175185A (en) * 1998-12-03 2000-06-23 Casio Comput Co Ltd Panorama photographing method and image pickup device
JP2001339734A (en) * 2000-05-26 2001-12-07 Olympus Optical Co Ltd System for digital camera and adjustment method therefor
JP2002218313A (en) * 2001-01-22 2002-08-02 Fuji Photo Film Co Ltd Digital camera
JP2003061048A (en) * 2001-08-20 2003-02-28 Canon Inc Electronic camera, imaging method, program and storage medium
JP2007158935A (en) * 2005-12-07 2007-06-21 Sony Corp Imaging apparatus and system
JP2007311869A (en) * 2006-05-16 2007-11-29 Nikon Corp Electronic camera
KR20090059512A (en) * 2007-12-06 2009-06-11 삼성디지털이미징 주식회사 Image processing apparatus for compensating of lens part shading and method for controlling thereof
JP2012235229A (en) * 2011-04-28 2012-11-29 Canon Inc Imaging apparatus and control method therefor

Also Published As

Publication number Publication date
JP6779258B2 (en) 2020-11-04

Similar Documents

Publication Publication Date Title
US9819857B2 (en) Electronic apparatus, control method for the same, and image capturing apparatus
US9066008B2 (en) Display control apparatus and method for controlling the same
US11245846B2 (en) Image capturing control apparatus and control method therefor
US11750908B2 (en) Image capturing apparatus, control method thereof, and non-transitory computer-readable storage medium
JP5868038B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP6403473B2 (en) Imaging apparatus, control method thereof, and program
JP2012019343A (en) Imaging device, control method thereof, and program
JP6779258B2 (en) Imaging device and its control method
JP2012029055A (en) Imaging device, control method of the same, program, and storage medium
JP7475517B2 (en) Imaging device, control method and program thereof
JP2021121063A (en) Imaging control device
JP7270819B2 (en) IMAGING DEVICE, CONTROL METHOD AND PROGRAM THEREOF
JP7096722B2 (en) Imaging device and its control method and program
JP5882794B2 (en) Imaging device
JP2019016914A (en) Imaging apparatus, control method of the same, program, and recording medium
JP6971711B2 (en) Imaging control device and its control method, program and recording medium
JP2023099554A (en) Imaging device, control method, and program thereof
JP2005221578A (en) Imaging apparatus, control method thereof, program and storage medium
JP6452336B2 (en) Imaging apparatus and control method thereof
JP5686869B2 (en) Imaging device
JP2010038981A (en) Camera
JP2020102794A (en) Image processing device
JP2019016984A (en) Imaging control apparatus, control method, program, and recording medium
JP2019087951A (en) Imaging apparatus and control method
JP2015159622A (en) Imaging apparatus and control method of the same

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181218

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200508

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200707

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: 20200914

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201013

R151 Written notification of patent or utility model registration

Ref document number: 6779258

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151