JP7058971B2 - Image pickup device and its control method - Google Patents

Image pickup device and its control method Download PDF

Info

Publication number
JP7058971B2
JP7058971B2 JP2017196915A JP2017196915A JP7058971B2 JP 7058971 B2 JP7058971 B2 JP 7058971B2 JP 2017196915 A JP2017196915 A JP 2017196915A JP 2017196915 A JP2017196915 A JP 2017196915A JP 7058971 B2 JP7058971 B2 JP 7058971B2
Authority
JP
Japan
Prior art keywords
image processing
period
image
circuit
focus 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.)
Active
Application number
JP2017196915A
Other languages
Japanese (ja)
Other versions
JP2019071557A (en
Inventor
浩靖 形川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2017196915A priority Critical patent/JP7058971B2/en
Publication of JP2019071557A publication Critical patent/JP2019071557A/en
Application granted granted Critical
Publication of JP7058971B2 publication Critical patent/JP7058971B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Focusing (AREA)
  • Stroboscope Apparatuses (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は、撮像装置及び撮像装置の制御方法に関する。特に、1つのマイクロレンズに対して複数の光電変換部を持った撮像素子を利用して瞳分割像を取得し、得られた瞳分割像の位相差から距離情報を生成し、得られた距離情報から焦点検出及び、画像処理を行う撮像装置に関する。 The present invention relates to an image pickup apparatus and a control method for the image pickup apparatus. In particular, an image sensor having a plurality of photoelectric conversion units for one microlens is used to acquire a pupil division image, and distance information is generated from the phase difference of the obtained pupil division image, and the obtained distance is obtained. The present invention relates to an image pickup device that performs focus detection and image processing from information.

従来より、撮像装置のAF(オートフォーカス)方式として1つのマイクロレンズに対して複数の光電変換部を持った撮像素子により、瞳分割像を取得し、得られた瞳分割像の位相差を求めて焦点検出を行う技術が知られている。例えば、特許文献1では、瞳分割した像により位相差を求めて焦点検出を行うと同時に同一マイクロレンズに対応した画素を全て加算して1つの画素として取り扱う事で従来の撮像素子配列と同じになるようにする。そして、従来の信号処理技術により観賞用の画像を作成する技術が開示されている。また、特許文献2には、閃光手段である、いわゆるストロボを用いて、ストロボ撮影において撮影された撮影画像において、当該ストロボ(閃光手段)による局所的な配光ムラを取り除く技術が開示されている。さらに、特許文献2では、ストロボによる局所的な配光ムラを取り除く為に、瞳分割した像により位相差を求めて被写体までの距離情報を算出し、該距離情報とストロボ手段の配光特性に係る配光特性データとに基づいて配光ムラを補正する技術が開示されている。 Conventionally, as an AF (autofocus) method of an image pickup device, a pupil division image is acquired by an image sensor having a plurality of photoelectric conversion units for one microlens, and the phase difference of the obtained pupil division image is obtained. The technique of performing focus detection is known. For example, in Patent Document 1, the phase difference is obtained from the pupil-divided image and the focus is detected, and at the same time, all the pixels corresponding to the same microlens are added and treated as one pixel, which is the same as the conventional image sensor arrangement. To be. Then, a technique for creating an ornamental image by a conventional signal processing technique is disclosed. Further, Patent Document 2 discloses a technique for removing local light distribution unevenness by the strobe (flash means) in a photographed image taken by strobe photography using a so-called strobe which is a flash means. .. Further, in Patent Document 2, in order to remove local light distribution unevenness due to the strobe, the distance information to the subject is calculated by obtaining the phase difference from the pupil-divided image, and the distance information and the light distribution characteristics of the strobe means are used. A technique for correcting light distribution unevenness based on the light distribution characteristic data is disclosed.

特開2008-134389号公報Japanese Unexamined Patent Publication No. 2008-134389 特開2013-59082号公報Japanese Unexamined Patent Publication No. 2013-59082

しかしながら、特許文献1及び2に開示された技術では、焦点検出とストロボによる配光ムラ補正とでは瞳分割した像から位相差検出を行うまでは共通であるが、求められる処理時間と画像内の分解能(分割数)とが異なる為、別々の処理回路を要してしまう。つまり、例えば、焦点検出は短い時間(数msec)で数百枠の処理に対して、ストロボによる配光ムラ補正は長い時間(数百msec)で数万枠の処理を行う。したがって、別々の処理回路が必要となる。 However, in the techniques disclosed in Patent Documents 1 and 2, focus detection and correction of light distribution unevenness by a strobe are common until phase difference detection is performed from a pupil-divided image, but the required processing time and in the image are the same. Since the resolution (number of divisions) is different, separate processing circuits are required. That is, for example, focus detection processes several hundred frames in a short time (several msec), while correction of light distribution unevenness by a strobe processes tens of thousands of frames in a long time (several hundred msec). Therefore, a separate processing circuit is required.

本発明は、上記課題を鑑みて、距離情報を生成する際の生成パラメータを適応的に切り替えることで回路規模を増やさずにユーザビリティを向上させることができる撮像装置を提供することを目的とする。 In view of the above problems, it is an object of the present invention to provide an image pickup apparatus capable of improving usability without increasing the circuit scale by adaptively switching the generation parameters when generating distance information.

上記の課題を解決するために、本発明の撮像装置は、視点の異なる複数の画素信号に基づいて、該複数の画素信号に対応する被写体の距離情報を算出する算出回路と、前記算出回路を制御する制御手段と、前記距離情報に基づいて該複数の画素信号に基づく画像信号の焦点検出を行う焦点検出回路と、前記距離情報に基づいて該複数の画素信号に基づく画像信号に画像処理を施す画像処理回路と、を有し、前記制御手段は、前記算出回路が用いる画素信号の画素数と生成される距離情報の分解能とを制御し、前記算出回路は、前記制御手段による前記画素数および前記分解能の設定に基づいて前記焦点検出回路および前記画像処理回路のいずれか1つに算出された距離情報を出力することを特徴とする。。 In order to solve the above problems, the image pickup apparatus of the present invention includes a calculation circuit for calculating distance information of a subject corresponding to the plurality of pixel signals based on a plurality of pixel signals having different viewpoints, and the calculation circuit. Control means for controlling, a focus detection circuit that detects the focus of an image signal based on the plurality of pixel signals based on the distance information, and image processing on the image signal based on the plurality of pixel signals based on the distance information. The control means controls the number of pixels of the pixel signal used by the calculation circuit and the resolution of the generated distance information, and the calculation circuit has the number of pixels by the control means. It is characterized by outputting the distance information calculated to any one of the focus detection circuit and the image processing circuit based on the setting of the resolution. ..

本発明によれば、距離情報を生成する際の生成パラメータを適応的に切り替えることで回路規模を増やさずにユーザビリティを向上させることができる撮像装置を提供することができる。従って、共通の処理回路に対して与えるパラメータを適応的に切り替えることで回路規模を増やさず、AFと画像処理を排他的に実現することができ、かつユーザビリティをより向上させることも可能する。 According to the present invention, it is possible to provide an image pickup apparatus capable of improving usability without increasing the circuit scale by adaptively switching the generation parameters when generating distance information. Therefore, AF and image processing can be exclusively realized without increasing the circuit scale by adaptively switching the parameters given to the common processing circuit, and usability can be further improved.

撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of an image pickup apparatus. 距離マップ生成回路が生成する距離マップ情報の詳細図である。It is a detailed figure of the distance map information generated by a distance map generation circuit. 静止画単写撮影シーケンスである。It is a still image single shooting sequence. 動作分岐判定のフローチャートである。It is a flowchart of operation branch determination. 第2の実施例の静止画連写撮影シーケンスである。It is a still image continuous shooting sequence of 2nd Example. 第2の実施例の動作分岐判定のフローチャートである。It is a flowchart of operation branch determination of 2nd Embodiment. 第3の実施例の動作分岐判定のフローチャートである。It is a flowchart of operation branch determination of 3rd Embodiment.

以下、本発明を実施するための最良の形態について図面などを参照して説明する。 Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings and the like.

(第1実施形態)
以下、本実施形態における撮像装置について説明する。
(First Embodiment)
Hereinafter, the image pickup apparatus in this embodiment will be described.

イメージセンサ(撮像素子)101は、撮像光学系からの光束を複数のマイクロレンズを介して受光し、少なくとも一部のマイクロレンズ下において画素部を水平方向に二つに分割する光電変換部となっているイメージセンサである。このとき、同一マイクロレンズ内の光電変換部から得られる画素信号は視点が異なり、位相差(視差)を有する。本実施形態では、後述するようにイメージセンサ101からの出力の位相差(視差、像ずれ量)に基づいて距離情報を算出するために最低限必要な2分割であるが、分割方法としてはこれに限らない。マイクロレンズ下を水平方向に3以上の分割であっても良いし、垂直等他の方向への複数の分割がなされていてもよい。ユーザー指示部109は、撮影モードなどを指示するための指示部である。シャッターボタン110は、ユーザーが撮影時に操作するシャッターボタンである。補助光発光部111は、ストロボなどの補助光を発光する発光部である。姿勢検出部112は、ジャイロセンサなどの姿勢を検出する検出部である。システム制御部113は、マイクロコンピュータなどのシステムを制御するための制御部である。 The image sensor (image sensor) 101 is a photoelectric conversion unit that receives a light beam from an image pickup optical system via a plurality of microlenses and divides a pixel portion into two in the horizontal direction under at least a part of the microlenses. It is an image sensor. At this time, the pixel signals obtained from the photoelectric conversion unit in the same microlens have different viewpoints and have a phase difference (parallax). In the present embodiment, as will be described later, the minimum required two divisions are for calculating the distance information based on the phase difference (parallax, image shift amount) of the output from the image sensor 101, but this is the division method. Not limited to. There may be three or more divisions under the microlens in the horizontal direction, or a plurality of divisions in other directions such as vertical may be made. The user instruction unit 109 is an instruction unit for instructing a shooting mode or the like. The shutter button 110 is a shutter button operated by the user at the time of shooting. The auxiliary light light emitting unit 111 is a light emitting unit that emits auxiliary light such as a strobe. The posture detection unit 112 is a detection unit that detects the posture of a gyro sensor or the like. The system control unit 113 is a control unit for controlling a system such as a microcomputer.

また、各構成部品へ入出するデータについて説明する。データは、現像用RAW画像データS101、測距用RAW画像データS102、現像済画像データS103、顔検出データS104、補正済画像データS105、距離マップ情報S106、レンズ制御信号S107である。また、撮影モードフラグS108、シャッター状態フラグS109、補助光発光指示信号S110、発光用電荷残量信号S111、カメラ姿勢情報S112、距離マップ生成パラメータS113である。また、AF制御信号S114、距離マップ応用画像処理制御信号S115、バッファリングされた現像用および測距用RAW画像データS116である。 In addition, the data that goes in and out of each component will be described. The data are RAW image data S101 for development, RAW image data S102 for distance measurement, developed image data S103, face detection data S104, corrected image data S105, distance map information S106, and lens control signal S107. Further, there are a shooting mode flag S108, a shutter state flag S109, an auxiliary light emission instruction signal S110, a light emission charge remaining amount signal S111, a camera attitude information S112, and a distance map generation parameter S113. Further, the AF control signal S114, the distance map application image processing control signal S115, and the buffered RAW image data S116 for development and distance measurement.

まず、図1を参照して、本実施形態に係る撮像装置の動作概略を説明し、次に主要な構成要素及びその動作について説明する。イメージセンサ101は、同一マイクロレンズ下において画素部を水平方向に二つに分割しているため、該二つの画素出力(画素信号)を加算することにより、通常の現像処理に用いられる現像用RAW画像データS101を生成することができる。また、二つの画素出力を各々読み出す、あるいは画素出力の演算結果により、視差情報を含んだ測距用RAW画像データS102を生成することができる。なお、このようなイメージセンサーについては、既に公知であり、また、イメージセンサーそのものは本発明が求める本質ではないため詳細な説明は省略する。 First, the outline of the operation of the image pickup apparatus according to the present embodiment will be described with reference to FIG. 1, and then the main components and their operations will be described. Since the image sensor 101 divides the pixel portion into two in the horizontal direction under the same microlens, by adding the two pixel outputs (pixel signals), the RAW for development used in the normal development process is used. Image data S101 can be generated. Further, the RAW image data S102 for distance measurement including the parallax information can be generated by reading out the two pixel outputs respectively or by using the calculation result of the pixel outputs. It should be noted that such an image sensor is already known, and since the image sensor itself is not the essence required by the present invention, detailed description thereof will be omitted.

現像用RAW画像データS101は、現像処理回路102および顔検出回路103に送られ、現像済画像データS103および顔検出データS104が生成される。現像済画像データS103は、例えば、欠陥画素補正やホワイトバランス調整、デモザイク処理に代表される各種の画像処理が施された、Y/Cr/Cbデータなどであってよい。顔検出データS104は、例えば、現像済画像データS103に含まれる人の顔の位置、大きさ、検出の信頼度を表す情報から成る。顔検出データS104は、システム制御部113に送られ、後述する、本実施形態に係る撮像装置の制御に用いられる。 The RAW image data S101 for development is sent to the development processing circuit 102 and the face detection circuit 103, and the developed image data S103 and the face detection data S104 are generated. The developed image data S103 may be, for example, Y / Cr / Cb data to which various image processes such as defect pixel correction, white balance adjustment, and demosaic processing have been performed. The face detection data S104 includes, for example, information indicating the position, size, and detection reliability of the human face included in the developed image data S103. The face detection data S104 is sent to the system control unit 113 and is used for controlling the image pickup apparatus according to the present embodiment, which will be described later.

測距用RAW画像データS102は、距離マップ生成回路(算出回路)104に送られ、SAD(Sum Of Absolute Difference)等の公知技術を用いた相関演算により像ずれ量を算出する。そして、算出した像ずれ量から距離情報(距離マップ情報S106)を生成する。像ずれ量から求まる距離情報の形態としては、デフォーカス量や被写体までの距離情報があり、相関演算によるこれらの距離情報の生成は公知であり、また本発明が求める本質ではないので詳細説明は省略する。ここで、距離マップ情報S106は、撮像画面を水平、垂直に所定の間隔で設定された小ブロック単位の情報として生成され、その配置密度(以後、距離マップの空間分解能と呼ぶ)は任意に設定可能である。 The RAW image data S102 for distance measurement is sent to the distance map generation circuit (calculation circuit) 104, and the amount of image shift is calculated by a correlation calculation using a known technique such as SAD (Sum Of Absolute Difference). Then, the distance information (distance map information S106) is generated from the calculated image shift amount. The form of the distance information obtained from the image shift amount includes the defocus amount and the distance information to the subject, and the generation of these distance information by the correlation calculation is known, and it is not the essence required by the present invention. Omit. Here, the distance map information S106 is generated as information in units of small blocks in which the imaging screen is set horizontally and vertically at predetermined intervals, and the arrangement density (hereinafter referred to as spatial resolution of the distance map) is arbitrarily set. It is possible.

また、測距用RAW画像データS102は、画像メモリ114に一旦保持することができる。そして、バッファリングされた現像用および測距用RAW画像データS116として、現像処理回路102と距離マップ生成回路104に各々送出が可能で、過去のRAW画像データに対して、現像処理および距離マップ生成ができる。距離マップ情報S106は、距離マップ応用画像処理回路(画像処理回路)105およびAF制御回路(焦点検出回路)107に送出され、各々の処理において使用される。距離マップ応用画像処理回路105およびAF制御回路107では、距離マップ情報S106に基づいて画素信号に基づく画像信号に対して処理が行われる。 Further, the RAW image data S102 for distance measurement can be temporarily held in the image memory 114. Then, the buffered RAW image data S116 for development and distance measurement can be sent to the development processing circuit 102 and the distance map generation circuit 104, respectively, and the past RAW image data can be developed and the distance map generated. Can be done. The distance map information S106 is sent to the distance map application image processing circuit (image processing circuit) 105 and the AF control circuit (focus detection circuit) 107, and is used in each processing. In the distance map application image processing circuit 105 and the AF control circuit 107, processing is performed on the image signal based on the pixel signal based on the distance map information S106.

距離マップ応用画像処理回路105は、特許文献2にて公開されているように、距離情報に基づいて被写体の形状情報を求める。そして、求めた被写体の形状情報と距離情報と仮想光源の位置に基づいて撮影した画像を処理し、仮想光源により被写体に光を照射した補正画像を生成する。補正済画像データS105は、この処理の結果得られたデータであり、特に、ストロボなどの補助光付きで撮影された、人物顔の部分的なテカリが緩和された画像に出来ることが知られている。補正済画像データS105は、背面液晶パネル106に出力されて表示されることにより、撮影者が確認できる。なお、補正済画像データS105は、図示しない記録系において記録画像としてSDカードなどの記録メディアに記録される。 As disclosed in Patent Document 2, the distance map application image processing circuit 105 obtains the shape information of the subject based on the distance information. Then, the image taken based on the obtained shape information and distance information of the subject and the position of the virtual light source is processed, and a corrected image in which the subject is irradiated with light by the virtual light source is generated. The corrected image data S105 is the data obtained as a result of this processing, and it is known that the corrected image data S105 can be made into an image in which the partial shine of a human face is relaxed, which is taken with an auxiliary light such as a strobe. There is. The corrected image data S105 can be confirmed by the photographer by being output to the rear liquid crystal panel 106 and displayed. The corrected image data S105 is recorded on a recording medium such as an SD card as a recorded image in a recording system (not shown).

一方、AF制御回路107では、距離マップ情報S106からレンズのフォーカスを合わせるべき被写体位置までの距離を選定し、フォーカス自動調整(以後AFと記す)を行う。AF制御回路107は、レンズ制御信号S107をフォーカスレンズ部108に出力することにより、AF制御(焦点検出)を実現する。 On the other hand, the AF control circuit 107 selects the distance from the distance map information S106 to the subject position where the lens should be focused, and automatically adjusts the focus (hereinafter referred to as AF). The AF control circuit 107 realizes AF control (focus detection) by outputting the lens control signal S107 to the focus lens unit 108.

次に、本実施形態に係る構成要素及びその動作について詳細に説明する。図3は、本実施形態に係る撮像装置の撮影シーケンスを示す図である。図3に示すタイミングは、撮影シーケンススタートt0、シャッター半押しt1、シャッター全押しt2、背面パネルへのプレビュー出画t3、次撮影シーケンススタートt4を示す。また、撮影者がカメラを被写体に対して構えるなどの動作を表す第1の撮影フレーミング期間T0、撮影者が撮影意図をもってAF動作に入っている状態を表す第2の撮影フレーミング期間T1を示す。さらに、撮影者が撮影意図をもってシャッターを押した後、そのまま次の撮影に備えるのか、あるいは、撮影した結果を確認する意図を持っているのかを判定する距離マップ生成モード切り替え判定期間T2を示す。そして、撮影者が直前に撮影した結果の確認画像に対して、補正処理を行う、距離マップ応用画像処理期間T3、次撮影モードへの遷移期間T4を示す。 Next, the components and their operations according to the present embodiment will be described in detail. FIG. 3 is a diagram showing a shooting sequence of the imaging device according to the present embodiment. The timings shown in FIG. 3 indicate a shooting sequence start t0, a shutter half-press t1, a shutter full-press t2, a preview image output t3 on the rear panel, and a next shooting sequence start t4. Further, a first shooting framing period T0 indicating an operation such as the photographer holding the camera with respect to the subject, and a second shooting framing period T1 indicating a state in which the photographer intentionally enters the AF operation are shown. Further, the distance map generation mode switching determination period T2 for determining whether the photographer intends to press the shutter with the intention of shooting and then prepares for the next shooting or has the intention of confirming the result of shooting is shown. Then, the distance map application image processing period T3 and the transition period T4 to the next shooting mode are shown, in which the confirmation image of the result taken immediately before by the photographer is corrected.

ここで、距離マップ生成モード切り替え判定期間T2に切り替える、距離マップ生成モードとは、距離マップ応用画像処理モードとAFモードを含む。距離マップ応用画像処理モードは、距離マップ応用画像処理回路105を動作させて撮影者が撮影結果を確認するモードである。AFモードは、AF制御回路107を動作させて撮影者が撮影中にAF動作をさせるモードである。 Here, the distance map generation mode for switching to the distance map generation mode switching determination period T2 includes the distance map application image processing mode and the AF mode. The distance map application image processing mode is a mode in which the photographer confirms the shooting result by operating the distance map application image processing circuit 105. The AF mode is a mode in which the AF control circuit 107 is operated so that the photographer performs the AF operation during shooting.

例えば、撮影者がストロボなどの補助光付きで人物を撮影する際の典型的な撮影動作を説明する。この撮影動作は、撮影シーケンススタートt0において撮影動作を開始し、第1の撮影フレーミング期間T0に被写体となる人物をフレーミングし、シャッター半押しt1によりAF動作を開始する。そして、第2の撮影フレーミング期間T1の後にシャッター全押しt2により、システム制御部113は、補助光発光部111に対して補助光発光指示信号S110を送信することにより補助光が発光し、ワンショットの静止画撮影が完了する。 For example, a typical shooting operation when a photographer shoots a person with an auxiliary light such as a strobe will be described. In this shooting operation, the shooting operation is started at the shooting sequence start t0, the person to be the subject is framed during the first shooting framing period T0, and the AF operation is started by pressing the shutter halfway t1. Then, after the second shooting framing period T1, the shutter is fully pressed t2, and the system control unit 113 transmits the auxiliary light emission instruction signal S110 to the auxiliary light emission unit 111, so that the auxiliary light is emitted and one shot is taken. Still image shooting is completed.

ここで、上記撮影の開始から完了までの期間を第1の期間とする。第1の期間では、図1の撮影モードの切り替えなどのユーザー指示部109は、撮影シーケンススタートt0において、補助光付きの単写静止画撮影モードとして撮影モードフラグS108を発行する。そして、シャッター半押しt1において、シャッターボタン110が撮影者によって半押しされるので、シャッター状態フラグS109は半押し状態として発行される。さらに、シャッター全押しt2において、シャッター状態フラグS109は全押し状態として発行される。第1の期間は明らかに被写体の撮影中であるので、距離マップ生成モードは、AFモードに設定される。 Here, the period from the start to the completion of the above-mentioned shooting is defined as the first period. In the first period, the user instruction unit 109 for switching the shooting mode of FIG. 1 issues the shooting mode flag S108 as the single shooting still image shooting mode with auxiliary light at the shooting sequence start t0. Then, at the shutter half-press t1, the shutter button 110 is half-pressed by the photographer, so that the shutter state flag S109 is issued as a half-pressed state. Further, at the shutter fully pressed t2, the shutter state flag S109 is issued as a fully pressed state. Since the subject is clearly being photographed during the first period, the distance map generation mode is set to the AF mode.

次に、第1の期間の後、次の撮影までの期間を第2の期間とする。第2の期間において、撮影者が撮影完了後にとりうる動作としては、以下の2つに分岐する。1つは、撮像装置を被写体に対してフレーミングしたまま次の撮影に備える。もう1つは、一旦被写体へのフレーミングをやめて、背面パネルを見て撮影結果を確認する。距離マップ生成モード切り替え判定期間T2は、上記2つの動作分岐を判定する期間でもある。本実施形態では、顔検出回路103からの顔検出データS104と、補助光発光部111からの発光用電荷残量信号S111と、ジャイロセンサなどの姿勢検出部112からのカメラ姿勢情報の少なくともいずれかを用いて動作分岐を判定する。 Next, the period from the first period to the next shooting is defined as the second period. In the second period, the actions that the photographer can take after the shooting is completed are divided into the following two. One is to prepare for the next shooting while framing the image pickup device with respect to the subject. The other is to stop framing the subject and check the shooting result by looking at the back panel. The distance map generation mode switching determination period T2 is also a period for determining the above two operation branches. In the present embodiment, at least one of the face detection data S104 from the face detection circuit 103, the light emission charge remaining amount signal S111 from the auxiliary light light emitting unit 111, and the camera attitude information from the attitude detection unit 112 such as a gyro sensor. To determine the operation branch using.

図4は、補助光付きの単写静止画撮影モードにおける動作分岐判定のフローチャートである。ま、ステップS410において、動作分岐判定処理が開始されると、ステップS402に進む。そして、ステップS402において、ストロボ等の補助光機能がユーザーにより有効化されているか否かを判定する。本実施形態では、補助光発光部111を構成要素としているが、その機能を有効にする、しないは、ユーザーの設定にて切替可能とする。ストロボ等の補助光機能がユーザーにより有効化されている場合(Yes)、ステップS403へ進み、動作分岐判定の第1の判定として、ストロボ等の補助光が次発光できるか否かの判定に進む。一方、ストロボ等の補助光機能がユーザーにより有効化されていない場合(No)、動作分岐判定の第1の判定である次発光の可能、不可能の判定はできないので、次の段階としてステップS404の顔検出機能が有効化されているか否かの判定に進む。 FIG. 4 is a flowchart of operation branch determination in the single-shooting still image shooting mode with auxiliary light. When the operation branch determination process is started in step S410, the process proceeds to step S402. Then, in step S402, it is determined whether or not the auxiliary light function such as the strobe is enabled by the user. In the present embodiment, the auxiliary light emitting unit 111 is a component, but whether or not the function is enabled can be switched by the user's setting. When the auxiliary light function such as a strobe is enabled by the user (Yes), the process proceeds to step S403, and as the first determination of the operation branch determination, the determination is made as to whether or not the auxiliary light such as the strobe can emit the next light. .. On the other hand, when the auxiliary light function such as the strobe is not enabled by the user (No), it cannot be determined whether the next light emission is possible or not, which is the first determination of the operation branch determination. Therefore, the next step is step S404. Proceed to the determination of whether or not the face detection function of is enabled.

次に、ステップS403において、発光用電荷残量信号S111に基づき次発光が可能か否かを判定する。そして、判定した結果、次発光が不可能であると判定された場合(No)、次の撮影に備えることができないので、距離マップ生成モードとしては、ステップS408に進み、距離マップ応用画像処理モードに設定する。一方、ステップS403にて、次発光が可能であると判定された場合(Yes)、次の撮影に備えることが可能だが、動作分岐判定をより確かなものにするため、次の段階としてステップS404の顔検出機能が有効化されているか否かの判定に進む。 Next, in step S403, it is determined whether or not the next light emission is possible based on the light emission charge remaining amount signal S111. If, as a result of the determination, it is determined that the next light emission is impossible (No), it is not possible to prepare for the next shooting. Therefore, as the distance map generation mode, the process proceeds to step S408, and the distance map application image processing mode is performed. Set to. On the other hand, if it is determined in step S403 that the next light emission is possible (Yes), it is possible to prepare for the next shooting, but in order to make the operation branch determination more reliable, step S404 is the next step. Proceed to the determination of whether or not the face detection function of is enabled.

そして、前記顔検出機能がユーザーにより有効化されている場合(Yes)、ステップS405へ進み、動作分岐判定の第2の判定として、被写体の顔が検出されているか否かの判定に進む。一方、顔検出機能がユーザーにより有効化されていない場合(No)、動作分岐判定の第2の判定である、被写体の顔が検出されているか否かの判定はないので、動作分岐判定の第3の判定として、ステップS406に進む。そして、ステップS406において、カメラ姿勢情報S112に基づき、撮像装置全体が下向きに遷移していないか否かの判定を行う。 Then, when the face detection function is enabled by the user (Yes), the process proceeds to step S405, and as the second determination of the motion branch determination, the determination of whether or not the face of the subject is detected proceeds. On the other hand, when the face detection function is not enabled by the user (No), there is no determination as to whether or not the face of the subject is detected, which is the second determination of the motion branch determination, so that the motion branch determination is the second. As the determination of 3, the process proceeds to step S406. Then, in step S406, it is determined whether or not the entire image pickup apparatus has transitioned downward based on the camera posture information S112.

次に、ステップS405において、顔検出データS104に基づき、顔が検出され続けているか否かを判定する。顔が検出され続けている場合(Yes)、撮影者は被写体人物へのフレーミングを継続しており、次の撮影に備える意図があるものと判定し、距離マップ生成モードとしては、ステップS407に進み、AFモードに設定する。一方、ステップS405にて顔が検出されていない場合(No)、撮影者が被写体人物へのフレーミングをやめて撮影結果を確認する意図と判定できるが、動作分岐判定をさらにより確かなものにするため、ステップS406に進む。そして、動作分岐判定の第3の判定として、ステップS406にてカメラ姿勢情報S112に基づき、撮像装置全体が下向き(撮像装置の撮影方向が地面を向く方向)に遷移していないか否かを判定する。なお、撮影者が撮像装置に取り付けられた背面パネルを見て撮影結果を確認する動作では、撮像装置のレンズ面が斜め下を向き、すなわち背面パネルが撮影者の顔を向いた状態になることが多い。 Next, in step S405, it is determined whether or not the face is continuously detected based on the face detection data S104. If the face continues to be detected (Yes), it is determined that the photographer continues framing the subject person and intends to prepare for the next shooting, and the distance map generation mode proceeds to step S407. , Set to AF mode. On the other hand, when the face is not detected in step S405 (No), it can be determined that the photographer intends to stop framing the subject person and confirm the shooting result, but in order to make the operation branch determination even more reliable. , Step S406. Then, as a third determination of the motion branch determination, it is determined in step S406 whether or not the entire image pickup apparatus has transitioned downward (the direction in which the image pickup device is facing the ground) based on the camera posture information S112. do. In the operation of the photographer checking the shooting result by looking at the rear panel attached to the image pickup device, the lens surface of the image pickup device faces diagonally downward, that is, the back panel faces the photographer's face. There are many.

次に、ステップS406において、撮像装置が下向きに姿勢変化したと判定された場合(Yes)、撮影者は確かに撮影結果の確認する意図をもつとして、ステップS408に進み、距離マップ生成モードとしては、距離マップ応用画像処理モードに設定する。一方、ステップS406にて撮像装置が下向きに姿勢変化していない場合(No)、ステップS407に進む。つまり、撮影者が別の意図で被写体人物へのフレーミングを中止したが、撮影結果の確認意図はなく、引き続き撮影を継続する意図があるものとしてステップS407に進み、AFモードに設定する。 Next, in step S406, when it is determined that the image pickup device has changed its posture downward (Yes), the photographer certainly has the intention of confirming the shooting result, and proceeds to step S408, and the distance map generation mode is set. , Set to distance map application image processing mode. On the other hand, if the posture of the image pickup apparatus has not changed downward in step S406 (No), the process proceeds to step S407. That is, although the photographer has stopped framing the subject person for another intention, the process proceeds to step S407 and the AF mode is set, assuming that there is no intention of confirming the shooting result and the intention is to continue shooting.

以上説明したように、第2の期間において、動作分岐判定として第1、第2、第3の判定を行うことにより、距離マップ生成モードとしては、AFモードか、距離マップ応用画像処理モードかのいずれかに設定される。そして、上記動作が完了したら、ステップS409において、動作分岐判定処理を終了する。 As described above, in the second period, by performing the first, second, and third determinations as the operation branch determination, the distance map generation mode is the AF mode or the distance map application image processing mode. Set to either. Then, when the above operation is completed, the operation branch determination process is terminated in step S409.

なお、図4に示す処理のフローチャートはあくまで一例であり、撮影者の意図をどのように判断するかにより、フローの組み合わせを変えても、本発明が求める本質としては同様である。また、図4のフローチャートで説明した動作分岐判定は、撮影者の意図をよりくみ取った判定をするものであって、第2の期間においては距離マップ応用画像処理モードに設定するようにしてもよい。さらに、距離マップ生成モードを、AFモードか距離マップ応用画像処理モードのいずれかに選択する上では、その判定方法については本実施形態で開示した方法に限定されない。つまり、顔検出回路103からの顔検出データS104と、補助光発光部111からの発光用電荷残量信号S111と、ジャイロセンサなどの姿勢検出部112からのカメラ姿勢情報S112の少なくともいずれかを用いる判定方法であれば限定されない。 The flow chart of the process shown in FIG. 4 is only an example, and the essence required by the present invention is the same even if the combination of flows is changed depending on how the photographer's intention is determined. Further, the operation branch determination described in the flowchart of FIG. 4 is a determination that captures the intention of the photographer, and may be set to the distance map application image processing mode in the second period. .. Further, in selecting the distance map generation mode to either the AF mode or the distance map application image processing mode, the determination method is not limited to the method disclosed in the present embodiment. That is, at least one of the face detection data S104 from the face detection circuit 103, the light emission charge remaining amount signal S111 from the auxiliary light light emitting unit 111, and the camera attitude information S112 from the attitude detection unit 112 such as the gyro sensor is used. It is not limited as long as it is a judgment method.

図2は、距離マップ生成回路104が生成する距離マップ情報S106の詳細である。図2示すマップ情報は、水平7点、垂直7点の空間分解能の距離マップ情報を示し、撮像画像全体201と、1点の距離情報を生成する範囲をブロック分割202を示す。距離マップの空間分解能は、相関演算に使用できる画素数により上限はあるが、その限度内であれば任意に設定することができる。ただし、距離マップ生成回路104は、距離マップ情報1点分の演算をするために所定の時間を要する。従って、距離マップの空間分解能を上げれば、距離マップ生成に時間がかかり、空間分解能を下げれば距離マップ生成時間が短縮される。 FIG. 2 is a detail of the distance map information S106 generated by the distance map generation circuit 104. The map information shown in FIG. 2 shows distance map information having spatial resolution of 7 horizontal points and 7 vertical points, and shows the entire captured image 201 and the block division 202 for the range in which the distance information of one point is generated. The spatial resolution of the distance map has an upper limit depending on the number of pixels that can be used for the correlation calculation, but can be arbitrarily set as long as it is within the limit. However, the distance map generation circuit 104 requires a predetermined time to calculate one point of distance map information. Therefore, if the spatial resolution of the distance map is increased, it takes time to generate the distance map, and if the spatial resolution is decreased, the distance map generation time is shortened.

図4に示す処理において、距離マップ生成モードが距離マップ応用画像処理モードに選択された場合、距離マップ生成パラメータS113として、空間分解能は、距離マップ応用画像処理に必要な分解能(例えば、100x100)に設定される。その結果、距離マップ情報S106は、距離マップ応用画像処理に必要な分解能となり、距離マップ応用画像処理回路105において所定の画像処理が実行される。 In the process shown in FIG. 4, when the distance map generation mode is selected as the distance map application image processing mode, the spatial resolution is set to the resolution required for the distance map application image processing (for example, 100x100) as the distance map generation parameter S113. Set. As a result, the distance map information S106 has a resolution required for the distance map application image processing, and a predetermined image processing is executed in the distance map application image processing circuit 105.

一方、図4に示すフローチャートにおいて、距離マップ生成モードがAFモードに選択された場合、距離マップ生成パラメータS113として、空間分解能は、AF制御に必要な分解能(例えば、10x10)に設定される。その結果、距離マップ情報S106は、AF制御に必要な分解能となり、AF制御回路107によって所定のAF制御が実行される。 On the other hand, in the flowchart shown in FIG. 4, when the distance map generation mode is selected as the AF mode, the spatial resolution is set to the resolution required for AF control (for example, 10x10) as the distance map generation parameter S113. As a result, the distance map information S106 has a resolution required for AF control, and a predetermined AF control is executed by the AF control circuit 107.

また、距離マップ生成モードが距離マップ応用画像処理モードに選択された場合、図3の距離マップ応用画像処理期間T3において、画像メモリ114からバッファリングされた現像用および測距用RAW画像データS116が読み出される。そして、距離マップ生成回路104で、100x100の空間分解能の距離マップ生成が実行され、現像処理回路102および距離マップ応用画像処理回路105で、現像および距離マップ応用画像処理が行われ、背面液晶パネル106に表示される。 Further, when the distance map generation mode is selected as the distance map application image processing mode, the development and distance measurement RAW image data S116 buffered from the image memory 114 are generated in the distance map application image processing period T3 of FIG. Read out. Then, the distance map generation circuit 104 executes a distance map generation with a spatial resolution of 100x100, the development processing circuit 102 and the distance map application image processing circuit 105 perform development and distance map application image processing, and the rear liquid crystal panel 106 Is displayed in.

以上説明したように、第1の期間は前記距離マップ生成モードをAFモードに設定する。そして、続く第2の期間は、顔検出データ、発光用電荷残量信号、カメラ姿勢情報の少なくともいずれかを用いて距離マップ生成モードをAFモードか、距離マップ応用画像処理モードのいずれかに設定する。これにより、共通の距離マップ生成回路を排他的に使用し、かつ、撮影者に違和感を与えないように、撮像装置を制御することができる。 As described above, the distance map generation mode is set to the AF mode during the first period. Then, in the second period that follows, the distance map generation mode is set to either the AF mode or the distance map application image processing mode using at least one of the face detection data, the charge remaining amount signal for light emission, and the camera attitude information. do. This makes it possible to exclusively use the common distance map generation circuit and control the image pickup device so as not to give a sense of discomfort to the photographer.

(第2実施形態)
図5は、本実施形態に係る撮像装置における、撮影シーケンスを示す。図5において、第1実施形態の図3に示す撮影シーケンスと同一の時間、期間については、図3と同一の符号を付し、その説明は省略する。また、撮像装置の構成要素としても第1実施形態と同様であるので、その説明は省略する。
(Second Embodiment)
FIG. 5 shows a shooting sequence in the imaging device according to the present embodiment. In FIG. 5, the same time and period as those in the photographing sequence shown in FIG. 3 of the first embodiment are designated by the same reference numerals as those in FIG. 3, and the description thereof will be omitted. Further, since the components of the image pickup apparatus are the same as those of the first embodiment, the description thereof will be omitted.

図5において、図3と異なるのは、シャッターOFFt5と、シャッター全押し継続期間T5、撮像プレビューモードOFF期間T6、および撮像プレビューモードON期間T7である。第1実施形態でストロボなどの補助光つきのワンショットの静止画撮影の例を示したのに対し、本実施形態では、撮影者が連写による静止画撮影において人物を撮影する場合における例を示す。 In FIG. 5, what is different from FIG. 3 is a shutter OFF t5, a shutter full press continuation period T5, an imaging preview mode OFF period T6, and an imaging preview mode ON period T7. In the first embodiment, an example of one-shot still image shooting with an auxiliary light such as a strobe is shown, whereas in the present embodiment, an example in which a photographer shoots a person in a still image shooting by continuous shooting is shown. ..

連写時の典型的な撮影動作としては、図5に示す撮影シーケンススタートt0で撮影動作を開始し、第1の撮影フレーミング期間T0に被写体となる人物をフレーミングし、シャッター半押しt1によりAF動作を開始する。そして、第2の撮影フレーミング期間T11の後にシャッター全押しt2を開始し、シャッター全押し継続期間T5中、連写による静止画撮影が継続する。シャッターOFFt5により連写による静止画撮影が停止し、連写の最終コマとして撮影された画像が、背面液晶パネル106上に表示される。 As a typical shooting operation during continuous shooting, the shooting operation is started at the shooting sequence start t0 shown in FIG. 5, the person to be the subject is framed during the first shooting framing period T0, and the AF operation is performed by pressing the shutter halfway t1. To start. Then, the shutter full press t2 is started after the second shooting framing period T11, and the still image shooting by continuous shooting is continued during the shutter full press continuation period T5. Still image shooting by continuous shooting is stopped by the shutter OFFt5, and the image shot as the final frame of continuous shooting is displayed on the rear liquid crystal panel 106.

システム制御部113では、撮影シーケンススタートt0からシャッターOFFt5となるまでを、撮像プレビューモードOFF期間T6とし、シャッターOFFt5から次撮影シーケンススタートt4までを、撮像プレビューモードON期間T7とする。撮像プレビューモードOFF期間T6は、連写撮影中であるので、距離マップ生成モードは、AFモードに設定される。また、撮像プレビューモードOFF期間T6は、第1実施形態の第1の期間、撮像プレビューモードON期間T7は、第1実施形態の第2の期間に相当する。撮像プレビューモードON期間T7においては、第1実施形態と同様、撮影者が撮像装置を被写体に対してフレーミングしたまま次の撮影に備えるか、一旦被写体へのフレーミングをやめて、背面パネルを見て撮影結果を確認するいずれかの動作に分岐する。距離マップ生成モード切り替え判定期間T2は、上記2つの動作分岐を判定する期間である点も、第1実施形態と同様である。 In the system control unit 113, the period from the shooting sequence start t0 to the shutter OFF t5 is set to the imaging preview mode OFF period T6, and the period from the shutter OFF t5 to the next shooting sequence start t4 is set to the imaging preview mode ON period T7. Since the image pickup preview mode OFF period T6 is during continuous shooting, the distance map generation mode is set to the AF mode. Further, the image pickup preview mode OFF period T6 corresponds to the first period of the first embodiment, and the image capture preview mode ON period T7 corresponds to the second period of the first embodiment. In the imaging preview mode ON period T7, as in the first embodiment, the photographer prepares for the next shooting while framing the image pickup device with respect to the subject, or temporarily stops framing the subject and shoots by looking at the back panel. Branch to one of the actions to check the result. The distance map generation mode switching determination period T2 is the same as that of the first embodiment in that the distance map generation mode switching determination period T2 is a period for determining the above two operation branches.

第2実施形態では、連写撮影の適用例とするので、ストロボ等の補助光発光を前提としない。なお、距離情報に基づいて求めた被写体の形状情報と距離情報と仮想光源の位置に基づいて、撮影した画像を処理する。そして、前記仮想光源により被写体に光を照射した補正画像を生成する処理については、補助光発光を必ずしも前提としておらず、距離マップ応用画像処理として成立するものである。 In the second embodiment, since it is an application example of continuous shooting, it is not premised on auxiliary light emission such as a strobe. The captured image is processed based on the shape information and distance information of the subject obtained based on the distance information and the position of the virtual light source. The process of generating a corrected image by irradiating the subject with light by the virtual light source does not necessarily presuppose the auxiliary light emission, and is established as a distance map application image process.

図6は、本実施形態における動作分岐判定のフローチャートである。図4との違いは、フローチャート内より、ストロボ等の補助光発光の機能が有効化されたか否かの判定(図4のステップS402)と、次発光可能か否かの判定(図4のステップS403)が無いだけである。なお、フローチャートの他の処理は、図4で示す第1実施形態の説明と同様であるので、詳細な説明は省略する。 FIG. 6 is a flowchart of the operation branch determination in the present embodiment. The difference from FIG. 4 is the determination of whether or not the auxiliary light emission function such as the strobe is enabled (step S402 in FIG. 4) and the determination of whether or not the next emission is possible (step of FIG. 4) from the flowchart. There is no S403). Since the other processes of the flowchart are the same as the description of the first embodiment shown in FIG. 4, detailed description will be omitted.

第2の期間において、動作分岐判定として、第2、第3の判定を行うことにより、距離マップ生成モードとしては、AFモードか、距離マップ応用画像処理モードのいずれかに設定される。上記動作完了したら、ステップS409において、動作分岐判定処理を終了する。動作分岐判定の結果、距離マップ生成モードとして、AFモードまたは距離マップ応用画像処理モードのいずれかが設定された後の動作については、本発明の本質ではなく、第1実施形態と同様とし、詳細な説明は省略する。 In the second period, by performing the second and third determinations as the operation branch determination, the distance map generation mode is set to either the AF mode or the distance map application image processing mode. When the above operation is completed, the operation branch determination process is terminated in step S409. As a result of the operation branch determination, the operation after either the AF mode or the distance map application image processing mode is set as the distance map generation mode is not the essence of the present invention, but is the same as that of the first embodiment. The explanation is omitted.

以上説明したように、ストロボ等の補助光なしで連写による静止画撮影を行う場合であっても、第1の期間を距離マップ生成モードをAFモードに設定する。そして、続く第2の期間は、顔検出データ、発光用電荷残量信号、カメラ姿勢情報の少なくともいずれかを用いて距離マップ生成モードをAFモードか、距離マップ応用画像処理モードのいずれかに設定する。これにより、共通の距離マップ生成回路を排他的に使用し、かつ、撮影者に違和感を与えないように、撮像装置を制御することができる。 As described above, even when the still image shooting by continuous shooting is performed without the auxiliary light such as the strobe, the distance map generation mode is set to the AF mode for the first period. Then, in the second period that follows, the distance map generation mode is set to either the AF mode or the distance map application image processing mode using at least one of the face detection data, the charge remaining amount signal for light emission, and the camera attitude information. do. This makes it possible to exclusively use the common distance map generation circuit and control the image pickup device so as not to give a sense of discomfort to the photographer.

(第3実施形態)
本実施形態においては、第1実施形態と同様、ストロボなどの補助光付きのワンショットの静止画撮影を行う場合について説明する。第1実施形態と異なる条件としては、撮影モードなどのユーザー指示部109から、三脚等により撮像装置が固定化された場合の撮影モード設定を想定したものである。本実施形態の撮影シーケンスとしては、図3に示す第1実施形態の撮影シーケンスと同じであり、また撮像装置の構成要素としても第1実施形態と同様である。
(Third Embodiment)
In the present embodiment, as in the first embodiment, a case where one-shot still image shooting with auxiliary light such as a strobe is performed will be described. As a condition different from the first embodiment, it is assumed that the shooting mode is set when the image pickup device is fixed by a tripod or the like from the user instruction unit 109 such as the shooting mode. The photographing sequence of the present embodiment is the same as that of the first embodiment shown in FIG. 3, and the components of the image pickup apparatus are the same as those of the first embodiment.

図7は、本実施形態に係る撮像装置における、動作分岐判定を示すフローチャートである。図4に示す第1実施形態における動作分岐判定のフローチャートとの差異は、3点ある。1点目は、フローチャート内より、ステップS406のカメラ姿勢情報S112に基づき、撮像装置全体が下向きに遷移していないか否かの判定(動作分岐判定の第3の判定)が無くなっている点である。2点目は、ステップS404の顔検出機能が有効化されているかの判定において、有効化されていない場合にステップS407に進み、距離マップ生成モードとしては、AFモードに設定する点である。3点目は、ステップS405にて、顔検出データS104に基づき、顔が検出されているか否かの判定において、顔が検出されていない場合、距離マップ生成モードとして、距離マップ応用画像処理モードを設定する点である。他については、第1実施形態と同様であるので、説明は省略する。 FIG. 7 is a flowchart showing an operation branch determination in the image pickup apparatus according to the present embodiment. There are three differences from the flow chart of the operation branch determination in the first embodiment shown in FIG. The first point is that there is no determination (third determination of motion branch determination) as to whether or not the entire image pickup apparatus has transitioned downward based on the camera attitude information S112 in step S406 from the flowchart. be. The second point is that in the determination of whether the face detection function of step S404 is enabled, if it is not enabled, the process proceeds to step S407, and the distance map generation mode is set to AF mode. The third point is that in step S405, when the face is not detected in the determination of whether or not the face is detected based on the face detection data S104, the distance map application image processing mode is set as the distance map generation mode. It is a point to set. Others are the same as those in the first embodiment, and thus the description thereof will be omitted.

本実施形態では、撮像装置は三脚等で固定化されているので、第1実施形態のように、撮影者が背面パネルを見て撮影結果を確認する動作において、撮像装置のレンズ面が斜め下を向く、すなわち背面パネルが撮影者の顔を向いた状態になることがない。そのため、動作分岐判定の第3の判定を行わず、動作分岐判定の第1の判定および、動作分岐判定の第2の判定迄を行い、動作分岐判定の第2の判定において、顔検出がされていない状態を、次の撮影準備が行われていないと想定している。また、顔検出機能が有効化されていない状況では、次の撮影準備の可能性を重視したフローチャートとしている。 In the present embodiment, since the image pickup device is fixed by a tripod or the like, the lens surface of the image pickup device is obliquely lowered in the operation of the photographer looking at the rear panel to check the shooting result as in the first embodiment. That is, the back panel does not face the photographer's face. Therefore, the third determination of the motion branch determination is not performed, the first determination of the motion branch determination and the second determination of the motion branch determination are performed, and the face is detected in the second determination of the motion branch determination. It is assumed that the next shooting preparation is not made in the state where it is not. In addition, when the face detection function is not enabled, the flowchart emphasizes the possibility of preparing for the next shooting.

以上説明したように、三脚等により撮像装置が固定化された場合であっても、第1の期間を距離マップ生成モードをAFモードに設定する。そして、続く第2の期間は、顔検出データ、発光用電荷残量信号、カメラ姿勢情報の少なくともいずれかを用いて距離マップ生成モードをAFモードか、距離マップ応用画像処理モードのいずれかに設定する。これにより、共通の距離マップ生成回路を排他的に使用し、かつ撮影者に違和感を与えないように、撮像装置を制御することができる。 As described above, even when the image pickup apparatus is fixed by a tripod or the like, the distance map generation mode is set to the AF mode for the first period. Then, in the second period that follows, the distance map generation mode is set to either the AF mode or the distance map application image processing mode using at least one of the face detection data, the charge remaining amount signal for light emission, and the camera attitude information. do. This makes it possible to exclusively use the common distance map generation circuit and control the image pickup device so as not to give a sense of discomfort to the photographer.

また、本発明の好ましい実施形態について説明したが、本発明は、これらの実施形態に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 Moreover, although the preferred embodiment of the present invention has been described, the present invention is not limited to these embodiments, and various modifications and modifications can be made within the scope of the gist thereof.

104 距離マップ生成回路(算出回路)
105 距離マップ応用画像処理回路(画像処理回路)
107 AF制御回路(焦点検出回路)
113 システム制御部(制御手段)
104 Distance map generation circuit (calculation circuit)
105 Distance map application image processing circuit (image processing circuit)
107 AF control circuit (focus detection circuit)
113 System control unit (control means)

Claims (10)

視点の異なる複数の画素信号に基づいて、該複数の画素信号に対応する被写体の距離情報を算出する算出回路と、
前記算出回路を制御する制御手段と、
前記距離情報に基づいて該複数の画素信号に基づく画像信号の焦点検出を行う焦点検出回路と、
前記距離情報に基づいて該複数の画素信号に基づく画像信号に画像処理を施す画像処理回路と、
を有し、
前記制御手段は、前記算出回路が用いる画素信号の画素数と生成される距離情報の分解能とを制御し、
前記算出回路は、前記制御手段による前記画素数および前記分解能の設定に基づいて前記焦点検出回路および前記画像処理回路のいずれか1つに算出された距離情報を出力する
ことを特徴とする画像処理装置。
A calculation circuit that calculates distance information of a subject corresponding to the plurality of pixel signals based on a plurality of pixel signals having different viewpoints, and a calculation circuit.
A control means for controlling the calculation circuit and
A focus detection circuit that detects the focus of an image signal based on the plurality of pixel signals based on the distance information, and a focus detection circuit.
An image processing circuit that performs image processing on an image signal based on the plurality of pixel signals based on the distance information, and an image processing circuit.
Have,
The control means controls the number of pixels of the pixel signal used by the calculation circuit and the resolution of the generated distance information.
The calculation circuit is characterized in that it outputs distance information calculated to any one of the focus detection circuit and the image processing circuit based on the setting of the number of pixels and the resolution by the control means. Device.
撮影の開始から次の撮影までの期間のうち第1の期間においては、前記焦点検出回路にて焦点検出を行い、第2の期間においては前記画像処理回路にて画像処理を施す
ことを特徴とする請求項1に記載の画像処理装置。
The feature is that the focus detection is performed by the focus detection circuit in the first period of the period from the start of shooting to the next shooting, and the image processing is performed by the image processing circuit in the second period. The image processing apparatus according to claim 1.
前記第1の期間は、前記撮影の開始から完了までの期間であり、前記第2の期間は、前記第1の期間の後、次の撮影までの期間である
ことを特徴とする請求項2に記載の画像処理装置。
2. The first period is a period from the start to the completion of the imaging, and the second period is a period from the first period to the next imaging. The image processing apparatus according to.
前記視点の異なる複数の画素信号は、1つのマイクロレンズ内に複数の光電変換手段を備える撮像素子から出力される
ことを特徴とする請求項1~3のいずれか1項に記載の画像処理装置。
The image processing apparatus according to any one of claims 1 to 3 , wherein the plurality of pixel signals having different viewpoints are output from an image pickup device including a plurality of photoelectric conversion means in one microlens. ..
前記第2の期間において、補助光発光部が有効である場合、及び前記被写体を検出している場合、前記焦点検出回路により前記焦点検出が行われる
ことを特徴とする請求項2に記載の撮像装置。
The imaging according to claim 2, wherein in the second period, when the auxiliary light emitting unit is effective and when the subject is detected, the focus detection is performed by the focus detection circuit. Device.
前記補助光発光部が有効である場合であっても、前記補助光発光部により次発光ができない場合は、前記画像処理回路により前記画像処理が施される
ことを特徴とする請求項5に記載の撮像装置。
The fifth aspect of the present invention is characterized in that the image processing is performed by the image processing circuit when the next light emission cannot be performed by the auxiliary light emitting unit even when the auxiliary light emitting unit is effective. Imaging device.
前記第2の期間において、前記被写体を検出をしている場合であっても、前記撮像装置の撮影方向が地面を向くように姿勢変化した場合は、前記画像処理回路により前記画像処理が施される
ことを特徴とする請求項5に記載の撮像装置。
Even when the subject is detected in the second period, if the posture of the image pickup apparatus changes so as to face the ground, the image processing is performed by the image processing circuit. The image pickup apparatus according to claim 5.
前記撮像装置が固定された状態である場合、前記第2の期間において、前記被写体を検出していない場合であっても、前記焦点検出回路による前記焦点検出を行われる
ことを特徴とする請求項5に記載の撮像装置。
The claim is characterized in that when the image pickup apparatus is in a fixed state, the focus detection is performed by the focus detection circuit even when the subject is not detected in the second period. 5. The imaging device according to 5.
前記第2の期間において、前記被写体を検出をしている場合であっても、前記被写体が人物であって、該人物の顔が検出されていない場合は、前記画像処理回路による前記画像処理が施される
ことを特徴とする請求項8に記載の撮像装置。
Even when the subject is detected in the second period, if the subject is a person and the face of the person is not detected, the image processing by the image processing circuit is performed. The image pickup apparatus according to claim 8, wherein the image pickup apparatus is provided.
視点の異なる複数の画素信号に基づいて、該複数の画素信号に対応する被写体の距離情報を算出する算出工程と、
前記距離情報に基づいて該複数の画素信号に基づく画像信号の焦点検出を行う焦点検出工程と、
前記距離情報に基づいて該複数の画素信号に基づく画像信号に画像処理を施す画像処理工程と、
前記算出工程で用いられる画素信号の画素数と生成される距離情報の分解能とを制御する制御工程と、
前記制御工程にて前記画素数および前記分解能の設定に基づいて前記焦点検出工程および前記画像処理工程のいずれか1つの工程で算出された距離情報を出力する
ことを特徴とする画像処理装置の制御方法。
A calculation process for calculating distance information of a subject corresponding to the plurality of pixel signals based on a plurality of pixel signals having different viewpoints, and a calculation process.
A focus detection step of performing focus detection of an image signal based on the plurality of pixel signals based on the distance information, and
An image processing step of performing image processing on an image signal based on the plurality of pixel signals based on the distance information, and an image processing step.
A control step that controls the number of pixels of the pixel signal used in the calculation step and the resolution of the generated distance information, and
Control of an image processing apparatus characterized in that the distance information calculated in any one of the focus detection step and the image processing step is output in the control step based on the setting of the number of pixels and the resolution. Method.
JP2017196915A 2017-10-10 2017-10-10 Image pickup device and its control method Active JP7058971B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017196915A JP7058971B2 (en) 2017-10-10 2017-10-10 Image pickup device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017196915A JP7058971B2 (en) 2017-10-10 2017-10-10 Image pickup device and its control method

Publications (2)

Publication Number Publication Date
JP2019071557A JP2019071557A (en) 2019-05-09
JP7058971B2 true JP7058971B2 (en) 2022-04-25

Family

ID=66441377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017196915A Active JP7058971B2 (en) 2017-10-10 2017-10-10 Image pickup device and its control method

Country Status (1)

Country Link
JP (1) JP7058971B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004245701A (en) 2003-02-14 2004-09-02 Toyota Central Res & Dev Lab Inc Distance distribution detecting apparatus
JP2009232118A (en) 2008-03-21 2009-10-08 Canon Inc Image pickup apparatus and its control method
JP2012215785A (en) 2011-04-01 2012-11-08 Canon Inc Solid-state image sensor and image capturing apparatus
JP2013160991A (en) 2012-02-07 2013-08-19 Nikon Corp Imaging apparatus
JP2015036748A (en) 2013-08-13 2015-02-23 キヤノン株式会社 Imaging device, method and program for controlling imaging device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004245701A (en) 2003-02-14 2004-09-02 Toyota Central Res & Dev Lab Inc Distance distribution detecting apparatus
JP2009232118A (en) 2008-03-21 2009-10-08 Canon Inc Image pickup apparatus and its control method
JP2012215785A (en) 2011-04-01 2012-11-08 Canon Inc Solid-state image sensor and image capturing apparatus
JP2013160991A (en) 2012-02-07 2013-08-19 Nikon Corp Imaging apparatus
JP2015036748A (en) 2013-08-13 2015-02-23 キヤノン株式会社 Imaging device, method and program for controlling imaging device

Also Published As

Publication number Publication date
JP2019071557A (en) 2019-05-09

Similar Documents

Publication Publication Date Title
TWI471630B (en) Auto-focus system and method of a digital camera
KR101643321B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JP6838994B2 (en) Imaging device, control method and program of imaging device
US9967451B2 (en) Imaging apparatus and imaging method that determine whether an object exists in a refocusable range on the basis of distance information and pupil division of photoelectric converters
JP2019079024A (en) Imaging apparatus, control method, and program
JP6095266B2 (en) Image processing apparatus and control method thereof
US9894339B2 (en) Image processing apparatus, image processing method and program
JP2009258610A (en) Focal length detecting device, imaging apparatus, imaging method, camera, focusing device, and focusing method
JP2007163527A (en) Digital camera and its control method
JP6175748B2 (en) Imaging device
JP2017102637A (en) Processing apparatus, processing system, imaging device, processing method, program, and recording medium
JP6360338B2 (en) Image processing apparatus, image processing method and program, and imaging apparatus
JP2015046019A (en) Image processing device, imaging device, imaging system, image processing method, program, and storage medium
JP5444651B2 (en) Camera device, photographing method thereof and photographing control program
JP2016001853A (en) Image processing system, imaging device, control method, and program
JP2010154306A (en) Device, program and method for imaging control
JP7058971B2 (en) Image pickup device and its control method
JP2010154311A (en) Compound-eye imaging device and method of obtaining stereoscopic image
JP5233458B2 (en) Image editing apparatus and image editing program
JP6774279B2 (en) Imaging device and its control method, information processing device, and information processing method
JP2001148865A (en) Image input device
JP7014248B2 (en) Imaging device
JPH0946730A (en) Three-dimensional shape extraction device
KR101599434B1 (en) Space detecting apparatus for image pickup apparatus using auto focusing and the method thereof
JP6566800B2 (en) Imaging apparatus and imaging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210928

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211025

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220413

R151 Written notification of patent or utility model registration

Ref document number: 7058971

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151