JP7754101B2 - Imaging device, imaging method, and program - Google Patents
Imaging device, imaging method, and programInfo
- Publication number
- JP7754101B2 JP7754101B2 JP2022553806A JP2022553806A JP7754101B2 JP 7754101 B2 JP7754101 B2 JP 7754101B2 JP 2022553806 A JP2022553806 A JP 2022553806A JP 2022553806 A JP2022553806 A JP 2022553806A JP 7754101 B2 JP7754101 B2 JP 7754101B2
- Authority
- JP
- Japan
- Prior art keywords
- pupil
- area
- focus
- region
- subject
- 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
Links
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B15/00—Special procedures for taking photographs; Apparatus therefor
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B17/00—Details of cameras or camera bodies; Accessories therefor
- G03B17/18—Signals indicating condition of a camera member or suitability of light
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Optics & Photonics (AREA)
- Studio Devices (AREA)
Description
本技術は、撮像装置、撮像方法、およびプログラムに関し、特に、ユーザが所望する品質の画像を取得することができるようにした撮像装置、撮像方法、およびプログラムに関する。 This technology relates to an imaging device, an imaging method, and a program, and in particular to an imaging device, an imaging method, and a program that enable a user to obtain images of the quality desired.
特許文献1においては、人物の顔の領域である顔領域を検出し、検出した顔領域の中から、瞳の領域である瞳領域が検出できた場合、瞳領域に対して合焦を行い、瞳領域が検出できなかった場合、顔領域に対して合焦を行う撮像装置が提案されている。 Patent document 1 proposes an imaging device that detects a face area, which is the area of a person's face, and if an pupil area, which is the area of the pupil, can be detected from the detected face area, focuses on the pupil area, and if an pupil area cannot be detected, focuses on the face area.
しかしながら、撮像装置においては、動物の撮像を行う場合、動物の顔領域を検出せずに、瞳領域の検出が行われる。したがって、この撮像装置においては、動物の瞳領域が検出できなかった場合、合焦の対象が存在せず、ユーザが所望する品質の画像を取得することが難しかった。However, when capturing images of animals, imaging devices detect the animal's pupil area without detecting the animal's face area. Therefore, if this imaging device cannot detect the animal's pupil area, there is no object to focus on, making it difficult for users to obtain images of the quality they desire.
本技術はこのような状況に鑑みてなされたものであり、ユーザが所望する品質の画像を取得することができるようにするものである。 This technology was developed in light of these circumstances, allowing users to obtain images of the quality they desire.
本技術の一側面の撮像装置は、被写体の第1の特定部位を含む第1の領域を、焦点を合わせる合焦領域として設定する設定部を備え、前記設定部は、前記第1の特定部位が検出されなかった場合、前記第1の特定部位と同じ種類の特定部位である、前記被写体の第2の特定部位を含む第2の領域を前記合焦領域として設定する。 An imaging device according to one aspect of the present technology includes a setting unit that sets a first region including a first specific part of a subject as a focus region to be focused on, and if the first specific part is not detected, the setting unit sets a second region including a second specific part of the subject, which is a specific part of the same type as the first specific part, as the focus region.
本技術の一側面においては、被写体の第1の特定部位を含む第1の領域が、焦点を合わせる合焦領域として設定される。また、前記第1の特定部位が検出されなかった場合、前記第1の特定部位と同じ種類の特定部位である、前記被写体の第2の特定部位を含む第2の領域が前記合焦領域として設定される。In one aspect of the present technology, a first region including a first specific part of a subject is set as a focus region to be focused on. Furthermore, if the first specific part is not detected, a second region including a second specific part of the subject that is the same type of specific part as the first specific part is set as the focus region.
以下、本技術を実施するための形態について説明する。説明は以下の順序で行う。
1.撮像装置
2.各被写体の瞳検出モード
3.動物の瞳検出モード
4.撮像装置の動作
5.その他
Hereinafter, embodiments of the present technology will be described in the following order.
1. Image capture device 2. Subject pupil detection mode 3. Animal pupil detection mode 4. Operation of image capture device 5. Other
<1.撮像装置>
<撮像装置の構成例>
図1は、本技術の一実施形態に係る撮像装置の構成例を示すブロック図である。
<1. Imaging device>
<Configuration example of imaging device>
FIG. 1 is a block diagram showing an example of the configuration of an imaging device according to an embodiment of the present technology.
図1の撮像装置100は、人物、動物、鳥などの被写体の特定部位に焦点を合わせる領域を検出する特定部位毎の検出モードを有している。特定部位は、顔や瞳などである。被写体の特定部位毎の検出モードとしては、例えば、人物の瞳検出モード、動物の瞳検出モード、および鳥の瞳検出モードなどがある。The imaging device 100 in Figure 1 has a specific part detection mode that detects an area that focuses on a specific part of a subject, such as a person, animal, or bird. Specific parts include a face or an eye. Examples of detection modes for specific parts of a subject include a human eye detection mode, an animal eye detection mode, and a bird eye detection mode.
なお、撮像装置100においては、人物の瞳または動物の瞳に限らず、特定部位に応じた検出モードを設けることが可能である。ユーザは、被写体や被写体の特定部位の各検出モードから、所望の検出モードを選択して、設定することができる。 In addition, the imaging device 100 can provide detection modes for specific parts of the body, not just the eyes of a person or an animal. The user can select and set the desired detection mode from among the detection modes for the subject or specific parts of the subject.
図1に示されるように、撮像装置100は、レンズ101、絞り102、撮像素子103、アナログ信号処理部104、A/D変換部105、およびデジタル信号処理部106を含むように構成される。撮像装置100は、レンズドライバ121、TG(Timing Generator)122、ジャイロ(センサ)123、およびシステムコントローラ131を含むように構成される。 As shown in Figure 1, the imaging device 100 is configured to include a lens 101, an aperture 102, an image sensor 103, an analog signal processing unit 104, an A/D conversion unit 105, and a digital signal processing unit 106. The imaging device 100 is configured to include a lens driver 121, a TG (Timing Generator) 122, a gyro (sensor) 123, and a system controller 131.
また、撮像装置100は、表示部141、記憶部142、入力部143、出力部144、通信部145、操作部146、およびドライブ147を含むように構成される。 The imaging device 100 is also configured to include a display unit 141, a memory unit 142, an input unit 143, an output unit 144, a communication unit 145, an operation unit 146, and a drive 147.
レンズ101は、被写体に対する焦点を調整し、被写体からの光を集光する。絞り102は、露出の調整を行う。 The lens 101 adjusts the focus on the subject and collects light from the subject. The aperture 102 adjusts the exposure.
撮像素子103は、被写体を撮像して撮影画像を得る。すなわち、撮像素子103は、被写体からの光を光電変換して画像信号としてアナログ信号処理部104に出力する。撮像素子103は、このような光電変換により、静止画像を取り込むこともできるし、動画像を取り込むこともできる。 The image sensor 103 captures an image of a subject to obtain a captured image. That is, the image sensor 103 photoelectrically converts light from the subject and outputs the converted image signal to the analog signal processing unit 104. Through this photoelectric conversion, the image sensor 103 can capture both still images and moving images.
アナログ信号処理部104は、撮像素子103により得られた画像信号に対してアナログ信号処理を行う。A/D変換部105は、アナログ信号処理された画像信号をA/D変換し、デジタル信号である画像データを得る。 The analog signal processing unit 104 performs analog signal processing on the image signal obtained by the image sensor 103. The A/D conversion unit 105 A/D converts the analog signal processed image signal to obtain image data as a digital signal.
デジタル信号処理部106は、A/D変換部105において得られた画像データに対してデジタル信号処理を行う。デジタル信号処理部106は、デジタル信号処理として、少なくとも、画像データとして供給される動画像から被写体または被写体の特定部位の領域を検出し、焦点を合わせる領域である合焦領域を設定する処理などを行う。以下、被写体の特定部位を、単に特定部位と称する。 The digital signal processing unit 106 performs digital signal processing on the image data obtained by the A/D conversion unit 105. As part of its digital signal processing, the digital signal processing unit 106 performs at least processing to detect the area of the subject or a specific part of the subject from the moving image supplied as image data, and to set a focus area, which is the area on which to focus. Hereinafter, the specific part of the subject will be simply referred to as the "specific part."
また、デジタル信号処理部106においては、被写体または特定部位の領域の検出結果に基づいて、いずれかの領域を合焦領域に設定し、合焦開始前に合焦領域に設定される予定の領域を予告する合焦予告枠や、合焦開始後に合焦領域を示す合焦枠などの表示を制御する処理なども行われる。 In addition, the digital signal processing unit 106 also performs processing to set one of the areas as the focus area based on the detection results of the area of the subject or specific part, and to control the display of a focus preview frame that notifies the area that will be set as the focus area before focusing begins, and a focus frame that indicates the focus area after focusing begins.
なお、デジタル信号処理の内容は任意であり、上述した以外の処理も行われるようにしてもよい。例えば、デジタル信号処理部106が、混色補正、黒レベル補正、ホワイトバランス調整、デモザイク処理、マトリックス処理、ガンマ補正、およびYC変換などをデジタル信号処理として行うようにしてもよい。また、デジタル信号処理部106が、デジタル信号処理として、画像データの符号化や復号に関する処理であるコーデック処理を行うようにしてもよい。 The content of the digital signal processing is arbitrary, and processing other than that described above may also be performed. For example, the digital signal processing unit 106 may perform color mixing correction, black level correction, white balance adjustment, demosaic processing, matrix processing, gamma correction, and YC conversion as digital signal processing. Furthermore, the digital signal processing unit 106 may perform codec processing, which is processing related to the encoding and decoding of image data, as digital signal processing.
レンズドライバ121は、レンズ101および絞り102を駆動し、焦点距離または露出などを制御する。TG122は、同期信号を生成して撮像素子103に供給することにより撮像素子103を駆動し、撮像を制御する。ジャイロ123は、撮像装置100の位置および姿勢を検知するセンサである。ジャイロ123は、撮像装置100の位置および姿勢を示す情報をA/D変換部105に出力する。 The lens driver 121 drives the lens 101 and aperture 102 to control the focal length, exposure, etc. The TG 122 generates a synchronization signal and supplies it to the image sensor 103 to drive the image sensor 103 and control imaging. The gyro 123 is a sensor that detects the position and orientation of the image sensor 100. The gyro 123 outputs information indicating the position and orientation of the image sensor 100 to the A/D conversion unit 105.
システムコントローラ131は、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、およびRAM(Random Access Memory)などよりなり、プログラムを実行したり、データを処理したりして撮像装置100の各処理部の制御を行う。また、システムコントローラ131は、操作部146から供給された信号に基づいて、ユーザによる操作入力を受け、操作入力に対応する処理または制御を行う。 The system controller 131 is composed of, for example, a CPU (Central Processing Unit), ROM (Read Only Memory), and RAM (Random Access Memory), and executes programs and processes data to control each processing unit of the imaging device 100. The system controller 131 also receives operation inputs from the user based on signals supplied from the operation unit 146, and performs processing or control corresponding to the operation inputs.
例えば、システムコントローラ131は、デジタル信号処理部106から供給される合焦領域を示す情報などに基づいて、焦点距離または露出などを制御することができる。 For example, the system controller 131 can control the focal length or exposure, etc. based on information indicating the focus area supplied from the digital signal processing unit 106.
表示部141は、例えば、液晶ディスプレイなどにより構成され、デジタル信号処理部106のメモリに記憶されている画像データに対応する画像を表示する。例えば、表示部141は、撮像素子103において得られた取り込み画像や保存した撮影画像などを表示することができる。 The display unit 141 is configured, for example, by a liquid crystal display, and displays an image corresponding to image data stored in the memory of the digital signal processing unit 106. For example, the display unit 141 can display captured images obtained by the image sensor 103, stored captured images, etc.
記憶部142は、デジタル信号処理部106のメモリに記憶されている画像データを記憶する。その際、記憶部142は、データ量を低減させるために、デジタル信号処理部106により符号化された符号化データを記憶する。記憶部142に記憶されている符号化データは、デジタル信号処理部106により読み出され、復号されて、例えば、表示部141に表示される。 The storage unit 142 stores image data stored in the memory of the digital signal processing unit 106. In doing so, the storage unit 142 stores encoded data encoded by the digital signal processing unit 106 in order to reduce the amount of data. The encoded data stored in the storage unit 142 is read and decoded by the digital signal processing unit 106 and displayed, for example, on the display unit 141.
入力部143は、外部入力端子などの外部入力インタフェースを有し、外部入力インタフェースを介して撮像装置100の外部から供給される各種データ(例えば画像データや符号化データ)をデジタル信号処理部106に出力する。 The input unit 143 has an external input interface such as an external input terminal, and outputs various data (e.g., image data and encoded data) supplied from outside the imaging device 100 via the external input interface to the digital signal processing unit 106.
出力部144は、外部出力端子などの外部出力インタフェースを有し、デジタル信号処理部106を介して供給される各種データを、外部出力インタフェースを介して撮像装置100の外部に出力する。 The output unit 144 has an external output interface such as an external output terminal, and outputs various data supplied via the digital signal processing unit 106 to the outside of the imaging device 100 via the external output interface.
通信部145は、他の装置と、有線通信および無線通信の少なくとも一方である所定の通信を行い、所定の通信を介して他の装置とデータの授受を行う。例えば、通信部145は、デジタル信号処理部106から供給される各種データ(例えば画像データや符号化データ)を、所定の通信を介して他の装置に送信する。また、通信部145は、所定の通信を介して他の装置から各種データを受信し、受信したデータをデジタル信号処理部106に出力する。 The communication unit 145 performs predetermined communication with other devices, which may be wired communication or wireless communication, and transmits and receives data to and from other devices via the predetermined communication. For example, the communication unit 145 transmits various data (e.g., image data and encoded data) supplied from the digital signal processing unit 106 to other devices via the predetermined communication. The communication unit 145 also receives various data from other devices via the predetermined communication and outputs the received data to the digital signal processing unit 106.
操作部146は、例えば、キー、ボタン、またはタッチパネルなどの任意の入力デバイスにより構成される。操作部146には、例えば、シャッタボタンが含まれる。操作部146は、ユーザによる操作入力を受け、操作入力に対応する信号をシステムコントローラ131に出力する。 The operation unit 146 is composed of any input device, such as a key, button, or touch panel. The operation unit 146 includes, for example, a shutter button. The operation unit 146 receives operation input from the user and outputs a signal corresponding to the operation input to the system controller 131.
ドライブ147は、自身に装着された、例えば、半導体メモリなどのリムーバブル記録媒体148に記憶されている情報(プログラムやデータなど)を読み出す。ドライブ147は、リムーバブル記録媒体148から読み出した情報をシステムコントローラ131に供給する。また、ドライブ147は、書き込み可能なリムーバブル記録媒体148が装着された場合、システムコントローラ131を介して供給される情報(画像データや符号化データなど)を、リムーバブル記録媒体148に記憶させることができる。 Drive 147 reads information (programs, data, etc.) stored on a removable recording medium 148, such as a semiconductor memory, attached to the drive 147. Drive 147 supplies the information read from the removable recording medium 148 to system controller 131. Furthermore, when a writable removable recording medium 148 is attached, drive 147 can store information (image data, encoded data, etc.) supplied via system controller 131 on the removable recording medium 148.
なお、以上に説明したレンズ101、絞り102、およびレンズドライバ121は、撮像装置100とは別筐体で、撮像装置100に着脱可能な(交換可能な)交換式レンズ151として形成されるようにしてもよい。 In addition, the lens 101, aperture 102, and lens driver 121 described above may be formed as an interchangeable lens 151 that is detachable (interchangeable) from the imaging device 100 in a separate housing from the imaging device 100.
<デジタル信号処理部の構成例>
図2は、デジタル信号処理部106の構成例を示すブロック図である。
<Configuration example of digital signal processing unit>
FIG. 2 is a block diagram showing an example of the configuration of the digital signal processing unit 106.
デジタル信号処理部106は、メモリ211、被写体検出部212、被写体追尾部213、領域設定部214、表示制御部215、およびコーデック処理部216を有する。 The digital signal processing unit 106 has a memory 211, a subject detection unit 212, a subject tracking unit 213, an area setting unit 214, a display control unit 215, and a codec processing unit 216.
メモリ211は、A/D変換部105から供給される画像データを記憶する。画像データは、例えば、動画像の各フレームの画像データまたは静止画像の画像データである。 The memory 211 stores image data supplied from the A/D conversion unit 105. The image data is, for example, image data of each frame of a moving image or image data of a still image.
被写体検出部212は、システムコントローラ131から供給されるユーザの操作入力に対応する信号に基づいて、メモリ211に記憶されている画像データから被写体または特定部位の領域を検出する。被写体検出部212は、被写体または特定部位の領域の検出結果を、領域設定部214および表示制御部215に出力する。The subject detection unit 212 detects the area of the subject or specific body part from the image data stored in the memory 211 based on a signal corresponding to a user's operation input supplied from the system controller 131. The subject detection unit 212 outputs the detection result of the area of the subject or specific body part to the area setting unit 214 and the display control unit 215.
被写体検出部212は、人物検出部212-1、動物検出部212-2、および鳥検出部212-3から構成される。 The subject detection unit 212 consists of a person detection unit 212-1, an animal detection unit 212-2, and a bird detection unit 212-3.
人物検出部212-1は、被写体の特定部位毎の検出モードが人物の瞳検出モードに設定されている場合に、人物の顔領域を検出し、検出した顔領域の検出結果を、領域設定部214および表示制御部215に出力する。人物検出部212-1は、合焦開始を指示する操作がユーザにより行われた場合、顔領域の検出結果に基づいて、人物の瞳領域を検出し、瞳領域の検出結果を、領域設定部214および表示制御部215に出力する。 When the detection mode for each specific part of the subject is set to the person's pupil detection mode, the person detection unit 212-1 detects the person's face area and outputs the detection result of the detected face area to the area setting unit 214 and the display control unit 215. When the user performs an operation to instruct the start of focusing, the person detection unit 212-1 detects the person's pupil area based on the detection result of the face area and outputs the detection result of the pupil area to the area setting unit 214 and the display control unit 215.
動物検出部212-2は、被写体の特定部位毎の検出モードが動物の瞳検出モードに設定されている場合に、動物の瞳領域を検出し、検出した動物の瞳領域の検出結果を、領域設定部214および表示制御部215に出力する。 When the detection mode for each specific part of the subject is set to the animal pupil detection mode, the animal detection unit 212-2 detects the animal pupil area and outputs the detection result of the detected animal pupil area to the area setting unit 214 and the display control unit 215.
動物の瞳の検出には、例えば、動物辞書を用いたディープラーニングなどの手法が用いられる。動物辞書には、正面向き用と横向き用の2種類の辞書がある。動物検出部212-2は、合焦開始を指示する操作がユーザにより行われた場合、フォーカス枠に応じて、動物の瞳領域を検出し、検出した動物の瞳領域の検出結果を、領域設定部214および表示制御部215に出力する。 To detect animal pupils, techniques such as deep learning using an animal dictionary are used. There are two types of animal dictionaries: one for front-facing images and one for side-facing images. When the user performs an operation to instruct the start of focusing, the animal detection unit 212-2 detects the animal's pupil area according to the focus frame and outputs the detection results of the detected animal's pupil area to the area setting unit 214 and the display control unit 215.
フォーカス枠とは、ユーザがおおよその焦点合わせの位置を設定するために用いられる枠である。フォーカス枠が設定されている場合、フォーカス枠の内側から優先的に領域の検出処理が行われる。 A focus frame is a frame used by the user to set the approximate focus position. When a focus frame is set, area detection processing is performed preferentially from inside the focus frame.
動物の種類は、例えば、犬、猫、ライオンなどがあげられるが、それらに限定されない。なお、例えば、検出する特徴が同様の動物の種類毎にそれぞれ異なる動物検出部が設けられてもよい。 Examples of animal types include, but are not limited to, dogs, cats, lions, etc. It is also possible to provide a different animal detection unit for each type of animal that has similar characteristics to be detected.
鳥検出部212-3は、被写体の特定部位毎の検出モードが鳥の瞳検出モードに設定されている場合に、鳥の瞳領域を検出し、検出した鳥の瞳領域の検出結果を、領域設定部214および表示制御部215に出力する。 When the detection mode for each specific part of the subject is set to bird's pupil detection mode, the bird detection unit 212-3 detects the bird's pupil area and outputs the detection result of the detected bird's pupil area to the area setting unit 214 and the display control unit 215.
鳥の瞳の検出には、例えば、鳥辞書を用いたディープラーニングなどの手法が用いられる。鳥検出部212-3は、合焦開始を指示する操作がユーザにより行われた場合、フォーカス枠に応じて、鳥の瞳領域を検出し、検出した鳥の瞳領域の検出結果を、領域設定部214および表示制御部215に出力する。 To detect the bird's pupil, for example, a method such as deep learning using a bird dictionary is used. When the user performs an operation to instruct the start of focusing, the bird detection unit 212-3 detects the bird's pupil area according to the focus frame and outputs the detection result of the detected bird's pupil area to the area setting unit 214 and the display control unit 215.
被写体追尾部213は、領域設定部214により設定された合焦領域を追尾する。例えば、追尾は、領域設定部214により合焦領域として設定された各領域(検出または追尾された顔領域、瞳領域、または後述する通常のAF(オートフォーカス)枠により指定される領域)に対して行われる。被写体追尾部213は、追尾した合焦領域を示す情報を、追尾結果として、領域設定部214および表示制御部215に出力する。 The subject tracking unit 213 tracks the focus area set by the area setting unit 214. For example, tracking is performed on each area set as a focus area by the area setting unit 214 (a detected or tracked face area, pupil area, or an area specified by a normal AF (autofocus) frame, described below). The subject tracking unit 213 outputs information indicating the tracked focus area as a tracking result to the area setting unit 214 and the display control unit 215.
領域設定部214は、被写体の特定部位毎の検出モードに応じて、被写体検出部212により検出された被写体の特定部位の領域を合焦領域に設定する。領域設定部214は、被写体検出部212により被写体の特定部位の領域が検出されなかった場合、代わりに、被写体追尾部213により追尾された被写体の特定部位の追尾結果を用いる。 The area setting unit 214 sets the area of the specific part of the subject detected by the subject detection unit 212 as the focus area according to the detection mode for each specific part of the subject. If the subject detection unit 212 does not detect the area of the specific part of the subject, the area setting unit 214 instead uses the tracking result of the specific part of the subject tracked by the subject tracking unit 213.
なお、領域設定部214は、被写体の特定部位の領域が検出されず、かつ、追尾できなかった場合、被写体の特定部位ごとの検出モードではなく、通常のAF(オートフォーカス)モードにおいて、合焦領域に設定される領域を合焦領域に設定する。この領域は、ユーザにより移動可能であり、通常のAFモードのAF枠(以下、通常のAF枠と称する)により指定することができる。領域設定部214は、設定した合焦領域の情報をシステムコントローラ131に供給する。 If the area of a specific part of the subject is not detected and cannot be tracked, the area setting unit 214 sets the area that would be set as the focus area in normal AF (autofocus) mode as the focus area, rather than in the detection mode for each specific part of the subject. This area can be moved by the user and can be specified using the AF frame in normal AF mode (hereinafter referred to as the normal AF frame). The area setting unit 214 supplies information about the set focus area to the system controller 131.
表示制御部215は、システムコントローラ131から供給されるユーザの操作入力に対応する信号に応じて、フォーカス枠を生成し、メモリ211からの画像に重畳して表示部141に表示させる。フォーカス枠の情報は、被写体検出部212に出力される。 The display control unit 215 generates a focus frame in response to a signal corresponding to a user's operation input supplied from the system controller 131, and displays it on the display unit 141 by superimposing it on the image from the memory 211. Information about the focus frame is output to the subject detection unit 212.
また、表示制御部215は、システムコントローラ131から供給されるユーザの操作入力に対応する信号に基づいて、合焦予告枠、合焦枠、フォーカス枠、通常のAF枠などを生成する。表示制御部215は、生成した合焦予告枠、合焦枠、フォーカス枠、通常のAF枠をメモリ211からの画像に重畳して表示部141に表示させる。合焦予告枠、合焦枠、フォーカス枠、通常のAF枠の情報は、必要に応じて、被写体検出部212に出力される。 The display control unit 215 also generates a focus preview frame, in-focus frame, focus frame, normal AF frame, etc. based on a signal corresponding to a user's operation input supplied from the system controller 131. The display control unit 215 superimposes the generated focus preview frame, in-focus frame, focus frame, and normal AF frame on the image from the memory 211 and displays them on the display unit 141. Information on the focus preview frame, in-focus frame, focus frame, and normal AF frame is output to the subject detection unit 212 as necessary.
なお、表示制御部215は、メニュー、ボタン、またはカーソルなどのGUI(Graphical User Interface)の画像を生成して、取り込み画像や撮影画像などとともに表示する。 In addition, the display control unit 215 generates GUI (Graphical User Interface) images such as menus, buttons, or cursors, and displays them together with captured images, photographed images, etc.
コーデック処理部216は、メモリ211に記憶されている動画像や静止画像の画像データの符号化や復号に関する処理を行う。 The codec processing unit 216 performs processing related to encoding and decoding of image data of moving images and still images stored in memory 211.
<2.各被写体の瞳検出モード>
<各被写体の瞳検出モードの概要>
図3は、各被写体の瞳検出モード設定時の表示例を示す図である。
<2. Eye detection mode for each subject>
<Outline of eye detection modes for each subject>
FIG. 3 shows an example of a display when the pupil detection mode for each subject is set.
図3においては、上から順に、撮像装置11が有している、人物の瞳検出モード、動物の瞳検出モード、および鳥の瞳検出モードが設定されている場合に表示部141に表示される画面例が示されている。 Figure 3 shows, from top to bottom, example screens displayed on the display unit 141 when the human eye detection mode, animal eye detection mode, and bird eye detection mode of the imaging device 11 are set.
図3の中央の画面A1乃至画面A3は、合焦開始を指示する操作がユーザにより行われる前に表示される画面である。右側の画面B1乃至画面B3は、合焦開始を指示する操作がユーザにより行われた後に表示される画面である。 Screens A1 to A3 in the center of Figure 3 are screens that are displayed before the user performs an operation to instruct the camera to start focusing.Screens B1 to B3 on the right are screens that are displayed after the user performs an operation to instruct the camera to start focusing.
人物の瞳検出モード、動物の瞳検出モード、および鳥の瞳検出モードの切り換えは、ユーザにより行われる。 The user can switch between human eye detection mode, animal eye detection mode, and bird eye detection mode.
人物の瞳検出モードが設定されている場合、画面A1に示すように、人物の顔の領域である顔領域のうち、フォーカス枠Fに重なる顔領域の検出が行われ、検出された顔領域に、合焦予告枠PFが表示される。画面A1の例においては、フォーカス枠Fに一部重なる形で合焦予告枠PFが表示されている。When the person's eye detection mode is set, as shown on screen A1, the face area of the person's face that overlaps the focus frame F is detected, and the focus preview frame PF is displayed in the detected face area. In the example of screen A1, the focus preview frame PF is displayed so that it partially overlaps the focus frame F.
この状態において合焦開始を指示する操作がユーザにより行われた場合、画面B1に示すように、顔領域を対象として瞳の領域である瞳領域の検出が行われ、検出された瞳領域が合焦領域に設定される。そして、合焦領域に、合焦枠AFが合焦予告枠PFに代えて表示され、合焦枠AFにより囲まれる合焦領域を対象として合焦が行われる。なお、詳しくは後述するが、人物の瞳検出モードにおいては、瞳領域が検出されなかった場合、検出されている顔領域が合掌領域に設定され、合掌枠が表示される。 When the user performs an operation to start focusing in this state, as shown on screen B1, the pupil area is detected within the face area, and the detected pupil area is set as the in-focus area. An AF focusing frame is then displayed in place of the focus preview frame PF within the in-focus area, and focusing is performed on the in-focus area surrounded by the AF focusing frame. In human pupil detection mode, as will be described in more detail below, if no pupil area is detected, the detected face area is set as the hand-held area and a hand-held frame is displayed.
動物の瞳検出モードが設定されている場合、画面A2に示されるように、フォーカス枠Fの内と外を対象として、動物の瞳領域の検出が行われ、検出された瞳領域に合焦予告枠PFが表示される。なお、このとき、瞳領域の検出は、フォーカス枠F内を優先して行われる。When animal pupil detection mode is set, as shown on screen A2, the animal's pupil area is detected both inside and outside the focus frame F, and the focus preview frame PF is displayed in the detected pupil area. Note that at this time, pupil area detection is performed with priority given to the area inside the focus frame F.
この状態において合焦開始を指示する操作がユーザにより行われた場合、画面B2に示すように、瞳領域が合焦領域に設定され、合焦予告枠PFに代えて、合焦枠AFが合焦領域に表示される。また、合焦枠AFにより囲まれる瞳領域を対象として合焦が行われる。なお、詳しくは後述するが、動物の瞳検出モードにおいては、一方の瞳領域が検出されなかった場合、検出されている他方の瞳領域が合掌領域に設定され、合掌枠が表示される。 If the user performs an operation to start focusing in this state, the pupil area is set as the in-focus area, and an in-focus frame AF is displayed in place of the focus preview frame PF, as shown on screen B2. Focusing is also performed on the pupil area surrounded by the in-focus frame AF. In animal pupil detection mode, as will be described in more detail below, if one pupil area is not detected, the other detected pupil area is set as the hand-holding area, and a hand-holding frame is displayed.
鳥の瞳検出モードが設定されている場合、画面A3に示されるように、フォーカス枠Fの内と外を対象として、鳥の瞳領域の検出が行われ、検出された瞳領域に、合焦予告枠PFが表示される。なお、瞳領域の検出は、フォーカス枠F内を優先して行われる。 When bird's eye detection mode is set, bird's eye areas are detected both inside and outside the focus frame F, as shown on screen A3, and a focus preview frame PF is displayed in the detected eye area. Note that eye area detection is performed with priority given to areas inside the focus frame F.
この状態において合焦開始を指示する操作がユーザにより行われた場合、画面B3に示すように、瞳領域が合焦領域に設定され、合焦予告枠PFに代えて、合焦枠AFが合焦領域に表示される。また、合焦枠AFにより囲まれる瞳領域を対象として合焦が行われる。 If the user performs an operation to start focusing in this state, the pupil area is set as the focus area, as shown in screen B3, and the focus frame AF is displayed in place of the focus preview frame PF. Furthermore, focusing is performed on the pupil area surrounded by the focus frame AF.
鳥の瞳検出モードにおいては、左右の瞳領域が検出された場合、撮像装置に近い、手前の瞳領域に合焦予告枠PFが表示され、合焦領域に設定され、合焦枠AFが表示される。なお、詳しくは後述するが、鳥の瞳検出モードにおいては、瞳領域が検出されなかった場合、ユーザにより予め設定された領域が合掌領域に設定され、合掌枠が表示される。 In bird's eye detection mode, if the left and right pupil areas are detected, a focus preview frame PF is displayed in the pupil area closest to the imaging device, which is set as the in-focus area, and the in-focus frame AF is displayed. Note that, as will be described in more detail later, if the pupil area is not detected in bird's eye detection mode, an area preset by the user is set as the prayer area, and a prayer frame is displayed.
また、例えば、合焦予告枠PFが白い枠で表示され、合焦枠AFが緑色の枠で表示されるというように、合焦枠AFは、合焦予告枠PFと異なる表示方法で表示される。 In addition, the focus frame AF is displayed in a different way from the focus preview frame PF, for example, the focus preview frame PF is displayed in a white frame and the focus frame AF is displayed in a green frame.
以上のように、人間の瞳検出モードが設定されている場合、合焦開始を指示する操作がユーザにより行われる前に、顔領域の検出が行われ、検出された顔領域に合焦予告枠PFが表示される。 As described above, when the human eye detection mode is set, the face area is detected before the user performs an operation to instruct the start of focusing, and the focus preview frame PF is displayed in the detected face area.
一方、動物や鳥の瞳検出モードが設定されている場合、合焦開始を指示する操作がユーザにより行われる前に、瞳領域の検出が行われ、検出された瞳領域に合焦予告枠PFが表示される。 On the other hand, when the animal or bird eye detection mode is set, the eye area is detected before the user performs an operation to instruct the camera to start focusing, and a focus preview frame PF is displayed in the detected eye area.
合焦開始を指示する操作がユーザにより行われる前に合焦予告枠が表示されることにより、ユーザが意図する位置、または、意図しない位置が検出されていることが事前にわかるため、ユーザが自動合焦を行わないことを選択することが可能である。これにより、被写体の特定部位に着目した撮像を容易に行うことができるようになる。 By displaying the focus preview frame before the user performs an operation to start focusing, the user can know in advance whether the intended or unintended position has been detected, allowing the user to choose not to perform autofocus. This makes it easy to capture images that focus on specific parts of the subject.
<瞳検出モードに関連する設定>
図4は、撮像装置11の瞳検出モードに関連する設定の一部を示す図である。
<Settings related to eye detection mode>
FIG. 4 is a diagram showing some of the settings related to the pupil detection mode of the imaging device 11.
図4においては、瞳検出モードの検出対象として、人物、動物、鳥、オートが設定可能であることが示されている。 Figure 4 shows that the detection targets for the pupil detection mode can be set to people, animals, birds, and auto.
人物が検出対象として設定される場合、瞳検出モードにおいては、人物の顔または瞳が検出される。動物が検出対象として設定される場合、瞳検出モードにおいては、動物の瞳が検出される。鳥が検出対象として設定される場合、瞳検出モードにおいては、鳥の瞳が検出される。 When a person is set as the detection target, the person's face or eyes will be detected in the eye detection mode. When an animal is set as the detection target, the animal's eyes will be detected in the eye detection mode. When a bird is set as the detection target, the bird's eyes will be detected in the eye detection mode.
オートが検出対象として設定される場合、別途設定される優先順に被写体の瞳が検出される。例えば、人物、動物、鳥の優先順が設定されている場合には、人物の瞳が検出され、人物の瞳が検出されなければ、動物の瞳が検出され、人物および動物の瞳が検出されなければ、鳥の瞳が検出されるというように、設定されている優先順に瞳が検出される。 When Auto is set as the detection target, the subject's eyes are detected in a separately set priority order. For example, if the priority order is set to people, animals, and birds, people's eyes are detected, and if people's eyes are not detected, animal eyes are detected, and if people's and animals' eyes are not detected, bird eyes are detected, and so on. Eyes are detected in the set priority order.
また、図4においては、瞳検出モードの左右瞳選択として、オート、右側の瞳、左側の瞳が設定可能であることが示されている。 Figure 4 also shows that the left and right pupil selection in the pupil detection mode can be set to auto, right pupil, or left pupil.
オートが瞳検出モードの左右瞳選択として設定される場合、焦点を合わせる合焦対象の瞳が撮像装置111に任せられる。右側の瞳が瞳検出モードの左右瞳選択として設定される場合、右側の瞳が合焦対象とされる。左側の瞳が瞳検出モードの左右瞳選択として設定される場合、左側の瞳が合焦対象とされる。 When Auto is set as the left/right pupil selection in the pupil detection mode, the pupil to be focused on is left to the imaging device 111. When the right pupil is set as the left/right pupil selection in the pupil detection mode, the right pupil is the focus target. When the left pupil is set as the left/right pupil selection in the pupil detection mode, the left pupil is the focus target.
これらの瞳検出モードの左右瞳選択が設定されている場合でも、ユーザが所定のボタンなどの操作を行うことで、合焦対象の瞳を一時的に切り換えることが可能である。なお、以下、ユーザが合焦対象の瞳を一時的に切り換える操作を、マニュアル指定と称する。 Even when left/right pupil selection is set for these pupil detection modes, the user can temporarily switch the pupil to be focused on by operating a specific button, etc. Note that, hereafter, the operation of the user to temporarily switch the pupil to be focused on will be referred to as "manual specification."
なお、上記の左右瞳選択は、人物の瞳検出モードの場合に実行される。動物の瞳検出モードの場合は、左右瞳優先選択が実行される。ここでの「優先」の意味は、「右側の瞳と左側の瞳を両方選べる状態であるならば、指定された瞳を合焦対象とする」ことである。 The above left/right pupil selection is performed in human eye detection mode. In animal eye detection mode, left/right pupil priority selection is performed. "Priority" here means "if both the right eye and the left eye can be selected, the specified eye will be the focus target."
また、これらの瞳検出モードの左右瞳(優先)選択が設定されている場合でも、ユーザのマニュアル指定に応じて、合焦対象の瞳を一時的に切り換えることが可能である。なお、動物の瞳検出モードの場合、右側の瞳と左側の瞳を両方選べる状態であるならば、指定された瞳の方を合焦対象とすることができる。 Even when left/right pupil (priority) selection is set for these pupil detection modes, it is possible to temporarily switch the eye to be focused on according to manual user selection. In the case of animal pupil detection mode, if both the right and left pupils can be selected, the specified eye can be used as the focus target.
以上のように、人物の瞳検出モードと動物の瞳検出モードでは、左右瞳選択に係る動作が異なっている。 As described above, the operation for selecting the left or right pupil differs between the human pupil detection mode and the animal pupil detection mode.
以下、動物の瞳検出モードについて詳しく説明する。 The animal eye detection mode is explained in detail below.
<3.動物の瞳検出モード>
<内部処理の概要>
図5は、動物の瞳検出モードにおける内部処理の例を示す図である。
<3. Animal Eye Detection Mode>
<Overview of internal processing>
FIG. 5 is a diagram showing an example of internal processing in the animal pupil detection mode.
動物の瞳検出モードにおいては、動物の瞳(領域)の検出処理と追尾処理が並行して行われている。 In animal pupil detection mode, the detection and tracking processes of the animal's pupil (area) are performed in parallel.
図5においては、上から順に、表示部141に表示される表示画面、動物の瞳の検出結果、および動物の瞳の追尾結果が時間の経過に沿って示されている。各表示画面には、瞳の検出対象である動物(キツネ)が正面向きで表示され、各タイミングにおいてキツネの瞳を検出または追尾した結果に基づいて合焦領域を設定したときの合焦枠AFが表示されている。 In Figure 5, from top to bottom, the display screen displayed on the display unit 141, the results of animal eye detection, and the results of animal eye tracking are shown over time. Each display screen shows the animal (a fox) whose eye is being detected facing forward, and displays the focus frame AF when the focus area is set based on the results of detecting or tracking the fox's eye at each timing.
ここで、検出OKは、検出処理により瞳が検出できていることを示し、検出NGは、被写体の動きの大きさやボケ、検出の性能不足など様々な理由のために、検出処理により瞳が検出できていないことを示す。追尾OKは、追尾処理により瞳を追尾できていることを示す。 Here, "Detection OK" indicates that the pupil was detected by the detection process, while "Detection NG" indicates that the pupil could not be detected by the detection process due to various reasons such as the size of the subject's movement, blur, or insufficient detection performance. "Tracking OK" indicates that the pupil was tracked by the tracking process.
また、検出結果または追尾結果のどちらかに示される枠Pは、そのタイミングで検出結果と追尾結果のどちらの結果に基づいて合焦領域が設定され、合焦枠AFが表示されているのかを示す。 In addition, the frame P displayed for either the detection result or the tracking result indicates whether the focus area is set based on the detection result or the tracking result at that time, and the focus frame AF is displayed based on that result.
以下、時間に沿って説明する。図5のタイミングt1において、表示画面においてキツネの左側の瞳に合焦枠AFが表示されている。タイミングt1においては、キツネの左側の瞳が検出OKかつ追尾OKである。すなわち、タイミングt1において表示される合焦枠AFは、キツネの左側の瞳の検出結果に基づいて合焦領域が設定されて表示されたものである。 The following is an explanation in chronological order. At timing t1 in Figure 5, an AF focus frame is displayed on the fox's left eye on the display screen. At timing t1, the fox's left eye is successfully detected and tracked. In other words, the AF focus frame displayed at timing t1 is displayed with the focus area set based on the detection results of the fox's left eye.
タイミングt2において、表示画面においてキツネの左側の瞳に合焦枠AFが表示されている。タイミングt2においては、キツネの左側の瞳が検出NGであり、追尾OKである。すなわち、タイミングt2において表示される合焦枠AFは、キツネの左側の瞳の追尾結果に基づいて合焦領域が設定されて表示されたものである。 At time t2, an AF focus frame is displayed on the fox's left eye on the display screen. At time t2, the fox's left eye was not detected, but was tracked successfully. In other words, the AF focus frame displayed at time t2 is displayed with the focus area set based on the tracking results of the fox's left eye.
タイミングt3において、表示画面においてキツネの左側の瞳に合焦枠AFが表示されている。タイミングt3においては、キツネの左側の瞳が検出NGであり、追尾OKである。すなわち、タイミングt3において表示される合焦枠AFは、キツネの左側の瞳の追尾結果に基づいて合焦領域が設定されて表示されたものである。 At time t3, an AF focus frame is displayed on the fox's left eye on the display screen. At time t3, the fox's left eye was not detected, but was tracked successfully. In other words, the AF focus frame displayed at time t3 is displayed with the focus area set based on the tracking results of the fox's left eye.
タイミングt4において、表示画面においてキツネの左側の瞳に合焦枠AFが表示される。タイミングt4においては、キツネの左側の瞳が検出OKかつ追尾OKである。すなわち、タイミングt4において表示される合焦枠AFは、キツネの左側の瞳の検出結果に基づいて合焦領域が設定されて表示されたものである。 At time t4, an AF focus frame is displayed on the display screen over the fox's left eye. At time t4, the fox's left eye is successfully detected and tracked. In other words, the AF focus frame displayed at time t4 is displayed with the focus area set based on the detection results of the fox's left eye.
以上のように、動物の瞳検出モードにおいては、動物の瞳が検出OKの場合、検出結果に基づいて合焦領域が設定されて合焦枠AFが表示され、動物の瞳が検出NGで、追尾OKである場合、追尾結果に基づいて合焦領域が設定されて合焦枠AFが表示される。 As described above, in animal eye detection mode, if the animal's eye is detected successfully, the focus area is set based on the detection results and the AF focus frame is displayed.If the animal's eye cannot be detected but tracking is successful, the focus area is set based on the tracking results and the AF focus frame is displayed.
すなわち、表示画面上はほとんど変わらないが、タイミングt2およびタイミングt3においては、合焦枠AFが、動物の瞳の検出結果ではなく、追尾結果に基づいて合焦領域が設定されて表示されている。なお、これらのタイミングにおいては、合焦枠AFが表示されている反対(右)側の瞳の検出精度は保証されていない。 In other words, although the display screen remains largely unchanged, at times t2 and t3 the AF focus frame is displayed with the focus area set based on the tracking results, rather than the detection results of the animal's eye. Note that at these times, the detection accuracy of the eye on the opposite side (right) of the AF focus frame is not guaranteed.
しかしながら、合焦枠AFが、検出結果および追尾結果のどちらに基づいて表示されるかは、内部的な処理であるため、ユーザにはわからない。 However, whether the AF focus frame is displayed based on the detection results or the tracking results is an internal process, so the user does not know.
<人物の瞳検出モードの左右瞳選択の設定が適用された場合の内部処理>
図6は、動物の瞳検出モードにおいて、人物の瞳検出モードの左右瞳選択の設定が適用された場合の内部処理の例が示されている。
<Internal processing when the left/right pupil selection setting in the human eye detection mode is applied>
FIG. 6 shows an example of internal processing when the left/right pupil selection setting in the human pupil detection mode is applied in the animal pupil detection mode.
図6においては、図5と同様に、上から順に、表示部141に表示される表示画面、動物の瞳の検出結果、および動物の瞳の追尾結果が時間の経過に沿って示されている。さらに、図6においては、追尾結果の下に、左右瞳選択の設定が追加されている。 In Figure 6, similar to Figure 5, from top to bottom, the display screen displayed on the display unit 141, the results of detecting the animal's pupil, and the results of tracking the animal's pupil are shown over time. Furthermore, in Figure 6, a setting for selecting the left or right pupil has been added below the tracking results.
撮像装置11においては、上述したように、左右瞳選択として、合焦対象の瞳を予め設定することができる。また、ユーザによるマニュアル指定に応じて、撮像処理中に、合焦対象の瞳を切り換えることもできる。 As described above, the imaging device 11 allows the pupil to be focused on to be set in advance by selecting the left or right pupil. It is also possible to switch the pupil to be focused on during imaging processing in response to manual specification by the user.
図6のタイミングt11において、表示画面においてキツネの左側の瞳に合焦枠AFが表示される。タイミングt11においては、合焦対象として、左側の瞳が選択されており、キツネの左側の瞳が検出OKかつ追尾OKである。すなわち、タイミングt11において表示される合焦枠AFは、キツネの左側の瞳の検出結果に基づいて合焦領域が設定されて表示されたものである。 At timing t11 in Figure 6, an in-focus frame AF is displayed on the display screen over the fox's left eye. At timing t11, the left eye is selected as the focus target, and the fox's left eye is successfully detected and tracked. In other words, the in-focus frame AF displayed at timing t11 is displayed with the in-focus area set based on the detection results of the fox's left eye.
ここで、撮像装置11は、ユーザによるマニュアル指定に応じて、合焦対象を右側の瞳に切り換える。 Here, the imaging device 11 switches the focus target to the right pupil in accordance with manual specification by the user.
タイミングt12およびt13において、表示画面においてキツネの鼻付近に合焦枠Eが表示されている。タイミングt12およびt13においては、合焦対象が右側の瞳に切り換えられる。しかしながら、右側の瞳は検出NGかつ追尾NGである。なお、追尾が継続されている左側の瞳は追尾OKである。 At times t12 and t13, a focus frame E is displayed on the display screen near the fox's nose. At times t12 and t13, the focus target switches to the right eye. However, the right eye cannot be detected or tracked. However, the left eye, which continues to be tracked, can be tracked.
キツネの左側の瞳は追尾OKであるものの、切り換えられた右側の瞳が検出も追尾もNGであるため、合焦領域は、上述したように、通常のAFモードにおける合焦領域として設定される領域に設定される。すなわち、タイミングt12およびt13において表示される合焦枠Eは、通常のAFにおいて合焦領域として設定される領域(図6においては、キツネの鼻付近に位置する領域)が合焦領域に設定され、表示されたものである。 Although the fox's left eye can be tracked successfully, the switched right eye cannot be detected or tracked, so the in-focus area is set to the area that would be set as the in-focus area in normal AF mode, as described above. In other words, the in-focus frame E displayed at times t12 and t13 is the area that would be set as the in-focus area in normal AF (in Figure 6, the area located near the fox's nose).
つまり、右側の瞳に切り換えるタイミングによって、右側の瞳の検出や追尾に対応できない場合、通常AFモードの動作となり、瞳検出モードの動作が実行されなくなる。 In other words, if the timing of switching to the right eye means that the camera is unable to detect and track the right eye, it will operate in normal AF mode and the eye detection mode will not be performed.
その後、タイミングt14において、表示画面においてキツネの右側の瞳に合焦枠AFが表示される。タイミングt14においては、合焦対象として、右側の瞳が選択されており、右側の瞳の検出処理および追尾処理が復帰し、キツネの右側の瞳が検出OKかつ追尾OKである。すなわち、タイミングt14において表示される合焦枠AFは、右側の瞳の検出結果に基づいて合焦領域が設定されて表示されたものとなる。 Then, at timing t14, an in-focus frame AF is displayed on the display screen over the fox's right eye. At timing t14, the right eye is selected as the focus target, the detection and tracking processes for the right eye return, and the fox's right eye is successfully detected and tracked. In other words, the in-focus frame AF displayed at timing t14 is displayed with the in-focus area set based on the detection results of the right eye.
以上のように、動物の瞳検出モードにおける追尾処理は、瞳の切り換えに対応できないタイミングが多い。また、人物の瞳検出モードの場合は、瞳検出ができない場合、検出されている顔に合焦するように設定されているが、動物の瞳検出モードにおいては、顔の検出が行われていないため、通常AFの動作となってしまう。なお、被写界深度が浅い時、鼻に一度合焦が行われると、瞳がぼけてしまい、瞳に焦点を復帰させ難くなる。 As mentioned above, there are many times when the tracking process in animal eye detection mode cannot respond to eye switching. Furthermore, in human eye detection mode, if an eye cannot be detected, the camera is set to focus on the detected face, but in animal eye detection mode, no face is detected, so normal AF operation occurs. Furthermore, when the depth of field is shallow, once the camera has focused on the nose, the pupil becomes blurred, making it difficult to return focus to the pupil.
以上により、動物の瞳検出モードにおいては、合焦対象である瞳を、反対側の瞳に切り換えるタイミングが難しい。 For these reasons, in animal eye detection mode, it is difficult to determine the timing for switching the focus from the eye to the opposite eye.
そこで、本技術においては、動物の瞳検出モードにおいて左右瞳選択が行われた場合、左右瞳“優先”選択が実行される。 Therefore, in this technology, when left or right pupil selection is performed in animal pupil detection mode, left or right pupil "priority" selection is performed.
<左右瞳優先選択における内部処理>
図7は、本技術の動物の瞳検出モードにおける左右瞳優先選択の設定が適用された場合の内部処理の例が示されている。
<Internal processing for left/right pupil priority selection>
FIG. 7 shows an example of internal processing when a setting of left/right pupil priority selection is applied in the animal pupil detection mode of the present technology.
図7においては、図6と同様に、上から順に、表示部141に表示される表示画面、動物の瞳の検出結果、動物の瞳の追尾結果、および左右瞳優先選択の設定内容が時間の経過に沿って示されている。 In Figure 7, as in Figure 6, from top to bottom, the display screen displayed on the display unit 141, the results of detecting the animal's pupil, the results of tracking the animal's pupil, and the settings for left/right pupil priority selection are shown over time.
図7のタイミングt21において、表示画面においてキツネの左側の瞳に合焦枠AFが表示される。タイミングt21においては、合焦対象として、左側の瞳が優先選択されており、キツネの左側の瞳が検出OKかつ追尾OKである。すなわち、タイミングt21において表示される合焦枠AFは、左側の瞳の検出結果に基づいて合焦領域が設定されて表示されたものである。 At timing t21 in Figure 7, an in-focus frame AF is displayed on the display screen over the fox's left eye. At timing t21, the left eye is selected as the focus target, and the fox's left eye is successfully detected and tracked. In other words, the in-focus frame AF displayed at timing t21 is displayed with the in-focus area set based on the detection results of the left eye.
ここで、撮像装置11は、ユーザによるマニュアル指定に応じて、合焦対象を右側の瞳に切り換える。 Here, the imaging device 11 switches the focus target to the right pupil in accordance with manual specification by the user.
タイミングt22およびt23において、表示画面においてキツネの左側の瞳に合焦枠AFが表示される。タイミングt22およびt23において、合焦対象は、右側の瞳に切り換えられている。しかしながら、優先選択であるので、例えば、右側の瞳が検出されていない、または、検出されていても検出精度がよくないなど、切り換え可能なタイミングではない場合、切り換える前の左側の瞳を検出および追尾した結果が用いられる。 At times t22 and t23, an AF focus frame is displayed on the fox's left eye on the display screen. At times t22 and t23, the focus target is switched to the right eye. However, because this is a priority selection, if the timing is not right for switching, for example, because the right eye has not been detected, or if it has been detected but the detection accuracy is poor, the results of detecting and tracking the left eye before the switch are used.
すなわち、タイミングt22およびt23において、キツネの右側の瞳が検出NGかつ追尾NGであり、左側の瞳が検出NGであり、追尾OKである。したがって、タイミングt22およびt23において表示される合焦枠AFは、左側の瞳の追尾結果に基づいて合焦領域が設定されて表示されたものとなる。 In other words, at times t22 and t23, the fox's right eye could not be detected or tracked, while the left eye could not be detected but could be tracked. Therefore, the in-focus frame AF displayed at times t22 and t23 is displayed with the in-focus area set based on the tracking results of the left eye.
タイミングt24において、表示画面においてキツネの右側の瞳に合焦枠AFが表示される。タイミングt24において、合焦対象は、ユーザによるマニュアル指定に応じて右側の瞳に切り換えられている。At timing t24, an in-focus frame AF is displayed on the fox's right eye on the display screen. At timing t24, the focus target is switched to the right eye in response to manual selection by the user.
すなわち、タイミングt24において、キツネの右側の瞳が検出OKかつ追尾OKであり、合焦対象を切り換えられるタイミングである。したがって、タイミングt24において表示される合焦枠AFは、右側の瞳の検出結果に基づいて合焦領域が設定されて表示されたものとなる。 In other words, at time t24, the fox's right eye is detected and tracked successfully, and it is time to switch the focus target. Therefore, the focus frame AF displayed at time t24 is displayed with the focus area set based on the detection result of the right eye.
以上のように、動物の瞳検出モードにおいては、優先選択が設定されている側、またはマニュアル指定されている側の瞳に切り換えられるタイミングである場合には、優先選択が設定されている側、または、マニュアル指定されている側の瞳が合焦に用いられる。 As described above, in animal pupil detection mode, when the timing is right to switch to the pupil on the side where priority selection is set or the side where manual selection is specified, the pupil on the side where priority selection is set or the side where manual selection is specified will be used for focusing.
一方、優先選択が設定されている側、またはマニュアル指定されている側の瞳に切り換えられないタイミングである場合には、優先選択が設定されていない側、または、マニュアル指定されていない側の瞳が合焦に用いられる。 On the other hand, if the timing is such that it is not possible to switch to the pupil on the side for which priority selection is set or the side for which manual selection is specified, the pupil on the side for which priority selection is not set or the side for which manual selection is not specified will be used for focusing.
これにより、ユーザの操作を考慮しつつ、品質のよい画像を得ることができる。 This allows for high-quality images to be obtained while taking user operations into consideration.
<4.撮像装置の動作>
<人物の瞳検出モードの撮像処理>
図8乃至図10は、撮像装置100の人物の瞳検出モードの撮像処理を説明するフローチャートである。
4. Operation of the Imaging Device
<Image capture process in human eye detection mode>
8 to 10 are flowcharts illustrating the image capture process of the image capture device 100 in the person's pupil detection mode.
図8乃至図10の人物の瞳検出モードの撮像処理は、例えば、電源ボタンが操作されることにより電源がオンにされたとき開始される。被写体の特定部位毎の検出モードは、設定画面などから人物の瞳検出モードとして予め設定されている。 The imaging process in the human eye detection mode shown in Figures 8 to 10 begins when the power is turned on, for example, by operating the power button. The detection mode for each specific part of the subject is pre-set as the human eye detection mode from a settings screen, etc.
図8のステップS11において、撮像装置11は、画像を取得し、表示させる。具体的には、撮像素子103は、レンズ101および絞り102を介して集光された被写体からの光を画素単位で光電変換することにより各画素の電気信号を取得する。各画素の電気信号からなる画像信号は、アナログ信号処理部104およびA/D変換部105を介して、デジタルの画像データが生成され、デジタル信号処理部106のメモリ211に記憶される。 In step S11 of Figure 8, the imaging device 11 acquires and displays an image. Specifically, the imaging element 103 acquires an electrical signal for each pixel by photoelectrically converting light from the subject collected via the lens 101 and aperture 102 on a pixel-by-pixel basis. The image signal consisting of the electrical signals for each pixel is passed through the analog signal processing unit 104 and the A/D conversion unit 105 to generate digital image data, which is then stored in the memory 211 of the digital signal processing unit 106.
表示制御部215は、メモリ211に記憶されている画像データに基づく画像をライブビュー画像として表示部141に表示させる。 The display control unit 215 displays an image based on the image data stored in the memory 211 as a live view image on the display unit 141.
ステップS12において、人物検出部212-1は、メモリ211に記憶されている画像データから顔領域を検出する。人物検出部212-1は、検出した顔領域の情報を領域設定部214および表示制御部215に供給する。 In step S12, the person detection unit 212-1 detects a face area from the image data stored in the memory 211. The person detection unit 212-1 supplies information about the detected face area to the area setting unit 214 and the display control unit 215.
ステップS13において、人物検出部212-1は、システムコントローラ131の制御に従って、フォーカス枠内の顔領域に対して瞳領域を検出し、検出結果(瞳領域の情報)を、領域設定部214および表示制御部215に出力する。 In step S13, the person detection unit 212-1, under the control of the system controller 131, detects the pupil area from the face area within the focus frame and outputs the detection result (information on the pupil area) to the area setting unit 214 and the display control unit 215.
ステップS14において、領域設定部214は、瞳を検出できているか否かを判定する。瞳を検出できているとステップS14において判定された場合、処理は、ステップS15に進む。In step S14, the area setting unit 214 determines whether or not the pupil has been detected. If it is determined in step S14 that the pupil has been detected, the processing proceeds to step S15.
ステップS15において、領域設定部214は、瞳検出結果を使用し、合焦領域を設定するための以降の処理を行う。 In step S15, the area setting unit 214 uses the pupil detection results to perform subsequent processing to set the focus area.
ステップS16において、領域設定部214は、左右瞳選択の設定がオートであるか否かを判定する。左右瞳選択の設定がオートであるとステップS16において判定された場合、処理は、ステップS17に進む。In step S16, the area setting unit 214 determines whether the left/right pupil selection setting is auto. If it is determined in step S16 that the left/right pupil selection setting is auto, processing proceeds to step S17.
ステップS17において、領域設定部214は、顔領域を合焦領域として設定する。ステップS17の後、処理は、図9のステップS18に進む。In step S17, the area setting unit 214 sets the face area as the focus area. After step S17, processing proceeds to step S18 in Figure 9.
ステップS18において、被写体追尾部213は、領域設定部214により設定された合焦領域を追尾し、追尾結果を、領域設定部214および表示制御部215に出力する。ステップS18における追尾処理は、合焦領域として設定された顔領域に対して行われる。 In step S18, the subject tracking unit 213 tracks the focus area set by the area setting unit 214 and outputs the tracking result to the area setting unit 214 and the display control unit 215. The tracking process in step S18 is performed on the face area set as the focus area.
ユーザは、所定ボタンの押下、またはシャッタボタンの半押しなどの操作を行うことにより、合焦開始を指示する。なお、合焦開始の指示は、画像の撮像単位(フレーム)毎に行われる。操作部146は、ユーザによる操作入力を受け、操作入力に対応する信号をシステムコントローラ131に出力する。 The user issues a command to start focusing by pressing a specific button or half-pressing the shutter button. The command to start focusing is issued for each image capture unit (frame). The operation unit 146 receives operation input from the user and outputs a signal corresponding to the operation input to the system controller 131.
ステップS19において、システムコントローラ131は、合焦開始が指示されたか否かを判定する。合焦開始が指示されたとステップS19において判定された場合、処理はステップS20に進む。In step S19, the system controller 131 determines whether or not a command to start focusing has been issued. If it is determined in step S19 that a command to start focusing has been issued, processing proceeds to step S20.
ステップS20において、システムコントローラ131は、レンズドライバ121を制御し、合焦領域内の手前の瞳に焦点が合うように、レンズ101および絞り102などの光学系を駆動する。すなわち、合焦領域内に左右の瞳が検出されている場合がある。この場合、人物の瞳検出モードにおいては、撮像装置100から見て手前の瞳に焦点が合うように制御される。領域設定部214は、手前の瞳を判別する。 In step S20, the system controller 131 controls the lens driver 121 to drive the optical system, such as the lens 101 and aperture 102, so that the focus is on the front pupil within the focus area. In other words, both the left and right pupils may be detected within the focus area. In this case, in the person pupil detection mode, the image capture device 100 is controlled to focus on the front pupil as seen from the perspective of the image capture device 100. The area setting unit 214 identifies the front pupil.
ステップS21において、領域設定部214は、手前の瞳を判別できたか否かを判定する。手前の瞳を判別できたとステップS21において判定された場合、処理はステップS22に進む。In step S21, the area setting unit 214 determines whether the foreground pupil has been identified. If it is determined in step S21 that the foreground pupil has been identified, processing proceeds to step S22.
ステップS22において、領域設定部214は、合焦領域を手前の瞳に変更する。ステップS22の後、処理は、ステップS35に進む。In step S22, the area setting unit 214 changes the focus area to the front pupil. After step S22, processing proceeds to step S35.
ステップS21において、手前の瞳が判別できなかったと判定された場合、処理は、ステップS35に進む。すなわち、合焦領域は、顔領域のままであり、変更されない。 If it is determined in step S21 that the foreground pupil could not be identified, processing proceeds to step S35. In other words, the focus area remains the face area and is not changed.
また、ステップS19において、合焦開始が指示されていないと判定された場合、処理は、ステップS36に進む。 Also, if it is determined in step S19 that no instruction to start focusing has been given, processing proceeds to step S36.
図8に戻って、ステップS16において、左右瞳選択の設定がオートではないと判定された場合、処理はステップS23に進む。 Returning to Figure 8, if it is determined in step S16 that the left/right pupil selection setting is not auto, processing proceeds to step S23.
ステップS23において、領域設定部214は、ユーザにより指定された瞳が選択可能であるか否かを判定する。なお、ユーザにより指定された瞳には、上述したように、左右瞳選択により設定された瞳、およびマニュアル指定された瞳が含まれる。例えば、ユーザにより指定された瞳が検出されており、検出の精度も高い場合、ユーザにより指定された瞳が選択可能であるとステップS23において判定され、処理は、ステップS24に進む。In step S23, the area setting unit 214 determines whether the pupil specified by the user is selectable. Note that, as described above, pupils specified by the user include pupils set by left/right pupil selection and pupils specified manually. For example, if the pupil specified by the user has been detected and the detection accuracy is high, it is determined in step S23 that the pupil specified by the user is selectable, and processing proceeds to step S24.
ステップS24において、領域設定部214は、ユーザにより指定された瞳領域を合焦領域として設定する。 In step S24, the area setting unit 214 sets the pupil area specified by the user as the focus area.
ステップS23において、ユーザにより指定された瞳が選択可能ではないと判定された場合、処理は、ステップS26に進む。 If it is determined in step S23 that the pupil specified by the user is not selectable, processing proceeds to step S26.
ステップS14において、瞳を検出できていないと判定された場合、処理は、ステップS25に進む。 If it is determined in step S14 that the pupil has not been detected, processing proceeds to step S25.
ステップS25において、領域設定部214は、顔を検出できているか否かを判定する。顔が検出できているとステップS25において判定された場合、処理は、ステップS26に進む。In step S25, the area setting unit 214 determines whether a face has been detected. If it is determined in step S25 that a face has been detected, processing proceeds to step S26.
ステップS26において、領域設定部214は、顔領域を合焦領域として設定する。 In step S26, the area setting unit 214 sets the face area as the focus area.
ステップS25において、顔が検出されていないと判定された場合、処理は、ステップS27に進む。 If it is determined in step S25 that a face has not been detected, processing proceeds to step S27.
ステップS27において、領域設定部214は、合焦領域を追尾できているか否かを判定する。合焦領域を追尾できているとステップS27において判定された場合、処理は、ステップS28に進む。In step S27, the area setting unit 214 determines whether or not the in-focus area is being tracked. If it is determined in step S27 that the in-focus area is being tracked, the processing proceeds to step S28.
ステップS28において、領域設定部214は、追尾結果に基づいて合焦領域を設定する。 In step S28, the area setting unit 214 sets the focus area based on the tracking results.
ステップS24、ステップS26、およびステップS28の後、処理は、図9のステップS32に進む。 After steps S24, S26, and S28, processing proceeds to step S32 in Figure 9.
一方、ステップS27において、合焦領域を追尾できていないと判定された場合、処理は、図9のステップS29に進む。 On the other hand, if it is determined in step S27 that the focus area has not been tracked, processing proceeds to step S29 in Figure 9.
ステップS29において、領域設定部214は、通常のAF枠でAFを行う設定になっているか否かを判定する。通常のAF枠でAFを行う設定になっているとステップS29において判定された場合、処理は、ステップS30に進む。In step S29, the area setting unit 214 determines whether AF is set to be performed using a normal AF frame. If it is determined in step S29 that AF is set to be performed using a normal AF frame, processing proceeds to step S30.
ステップS30において、領域設定部214は、通常のAF枠により指定されている領域を合焦領域として設定する。 In step S30, the area setting unit 214 sets the area specified by the normal AF frame as the focus area.
ステップS31において、領域設定部214は、通常のAF枠で追尾を行う設定となっているか否かを判定する。通常のAF枠により指定されている領域で追尾を行う設定となっているとステップS31において判定された場合、処理は、ステップS32に進む。In step S31, the area setting unit 214 determines whether or not tracking is set to be performed using a normal AF frame. If it is determined in step S31 that tracking is set to be performed using an area specified by a normal AF frame, processing proceeds to step S32.
ステップS32において、被写体追尾部213は、合焦領域を追尾し、追尾結果を、領域設定部214および表示制御部215に出力する。ここでの追尾は、ステップS24、S26、S28、およびS30において合焦領域としてそれぞれ設定された領域(検出または追尾された瞳領域、顔領域、通常のAF枠により指定されている領域)に対して行われる。ステップS32の後、処理は、ステップS33に進む。In step S32, the subject tracking unit 213 tracks the in-focus area and outputs the tracking results to the area setting unit 214 and the display control unit 215. Tracking here is performed on the areas set as in-focus areas in steps S24, S26, S28, and S30 (detected or tracked pupil area, face area, area specified by a normal AF frame). After step S32, processing proceeds to step S33.
ステップS31において、通常のAF枠で追尾を行う設定となっていないと判定された場合、処理は、ステップS33に進む。 If it is determined in step S31 that tracking is not set to be performed using the normal AF frame, processing proceeds to step S33.
ステップS33において、システムコントローラ131は、合焦開始が指示されたか否かを判定する。合焦開始が指示されたとステップS33において判定された場合、処理はステップS34に進む。In step S33, the system controller 131 determines whether or not a command to start focusing has been issued. If it is determined in step S33 that a command to start focusing has been issued, processing proceeds to step S34.
ステップS34において、システムコントローラ131は、レンズドライバ121を制御し、合焦領域に焦点が合うように、レンズ101および絞り102などの光学系を駆動する。その後、処理は、ステップS35に進む。In step S34, the system controller 131 controls the lens driver 121 to drive the optical system, such as the lens 101 and the aperture 102, so that the focus is on the in-focus area. Processing then proceeds to step S35.
ステップS35において、表示制御部215は、メモリ211に記憶されている画像データに基づく画像をライブビュー画像として表示部141に表示させる。また、表示制御部215は、設定された合焦領域を示す合焦枠をライブビュー画像に重畳して表示部141に表示させる。In step S35, the display control unit 215 causes the display unit 141 to display an image based on the image data stored in the memory 211 as a live view image. The display control unit 215 also causes the display unit 141 to display a focus frame indicating the set focus area superimposed on the live view image.
ステップS33において、合焦開始が指示されていないと判定された場合、処理はステップS36に進む。 If it is determined in step S33 that no instruction to start focusing has been given, processing proceeds to step S36.
ステップS36において、表示制御部215は、合焦領域に設定される予定の領域を示す合焦予告枠を生成し、ライブビュー画像に合焦予告枠を重畳して、表示部141に表示させる。 In step S36, the display control unit 215 generates a focus preview frame indicating the area that is to be set as the focus area, and displays the focus preview frame on the display unit 141 by superimposing it on the live view image.
ステップS35およびS36の後、処理は、図10のステップS37に進む。 After steps S35 and S36, processing proceeds to step S37 in Figure 10.
また、ステップS29において、通常のAF枠でAFを行う設定となっていないと判定された場合、処理は、図10のステップS37に進む。この場合、ライブビュー画像に合焦領域を示す枠の表示は行われない。 Also, if it is determined in step S29 that the setting is not to perform AF using the normal AF frame, processing proceeds to step S37 in Figure 10. In this case, a frame indicating the in-focus area is not displayed on the live view image.
ステップS37において、システムコントローラ131は、操作部146からの操作入力に対応する信号に基づいて、シャッタボタンの全押しが行われたか否かを判定する。シャッタボタンの全押しが行われたとステップS37において判定された場合、処理はステップS38に進む。In step S37, the system controller 131 determines whether the shutter button has been fully pressed based on a signal corresponding to an operation input from the operation unit 146. If it is determined in step S37 that the shutter button has been fully pressed, processing proceeds to step S38.
ステップS38において、撮像素子103は、レンズ101および絞り102などの光学系を介して集光された被写体からの光を画素単位で光電変換することにより画像の各画素の電気信号を取得する。画像の各画素の電気信号である画像信号は、アナログ信号処理部104およびA/D変換部105を介して、デジタルの画像データが生成され、デジタル信号処理部106のメモリ211に撮影画像データとして記憶される。In step S38, the image sensor 103 obtains an electrical signal for each pixel of the image by photoelectrically converting, on a pixel-by-pixel basis, light from the subject that is collected through an optical system such as the lens 101 and the aperture 102. The image signal, which is the electrical signal for each pixel of the image, is converted into digital image data via the analog signal processing unit 104 and the A/D conversion unit 105, and stored as captured image data in the memory 211 of the digital signal processing unit 106.
ステップS39において、表示制御部215は、メモリ211に記憶されている撮影画像データに基づく画像を撮影画像として表示部141に表示させる。 In step S39, the display control unit 215 displays an image based on the captured image data stored in the memory 211 on the display unit 141 as a captured image.
ステップS40において、コーデック処理部216は、メモリ211に記憶されている撮影画像データを符号化する。コーデック処理部216は、符号化後の画像データを記憶部142に供給する。 In step S40, the codec processing unit 216 encodes the captured image data stored in the memory 211. The codec processing unit 216 supplies the encoded image data to the storage unit 142.
ステップS41において、コーデック処理部216は、記憶部142に、符号化後の撮影画像データを記憶させる。 In step S41, the codec processing unit 216 stores the encoded captured image data in the memory unit 142.
ステップS42において、システムコントローラ131は、処理を終了するか否か、例えば、電源ボタンが操作されたか否かを判定する。 In step S42, the system controller 131 determines whether to terminate the processing, for example, whether the power button has been operated.
ステップS42において処理を終了すると判定された場合、撮像処理は終了される。 If it is determined in step S42 that processing is to be terminated, the imaging process is terminated.
ステップS42において処理を終了しないと判定された場合、処理は、図8のステップS11に戻り、それ以降の処理が繰り返される。 If it is determined in step S42 that the processing should not be terminated, the processing returns to step S11 in Figure 8 and the subsequent processing is repeated.
以上のように、人物の瞳検出モードにおいては、瞳の領域が検出できなかった場合、顔領域が、合焦領域として設定される。 As described above, in the person's eye detection mode, if the eye area cannot be detected, the face area is set as the focus area.
<動物の瞳検出モードの撮像処理>
図11乃至図13は、撮像装置100の動物の瞳検出モードの撮像処理を説明するフローチャートである。
<Image capture processing in animal pupil detection mode>
11 to 13 are flowcharts illustrating the imaging process of the imaging device 100 in the animal pupil detection mode.
図11乃至図13の動物の瞳検出モードの撮像処理は、例えば、電源ボタンが操作されることにより電源がオンにされたとき開始される。被写体の特定部位毎の検出モードは、設定画面などで動物の瞳検出モードが予め設定されている。図11乃至図13においては、猫または犬の瞳を検出する動物検出部212-2により動物の瞳が検出される例が説明される。 The imaging process in the animal pupil detection mode shown in Figures 11 to 13 begins when the power is turned on, for example, by operating the power button. The detection mode for each specific part of the subject is set in advance as the animal pupil detection mode on a settings screen, etc. Figures 11 to 13 illustrate an example in which the animal pupil is detected by the animal detection unit 212-2, which detects the pupils of a cat or dog.
図11のステップS61において、図8のステップS11の処理と同様に、画像が取得され、表示される。 In step S61 of Figure 11, an image is acquired and displayed, similar to the processing in step S11 of Figure 8.
ステップS62において、動物検出部212-2は、メモリ211に記憶されている画像データから、動物辞書を用いて瞳領域を検出する。動物検出部212-2は、検出結果(検出した瞳領域の情報)を、領域設定部214および表示制御部215に供給する。 In step S62, the animal detection unit 212-2 uses the animal dictionary to detect the pupil area from the image data stored in the memory 211. The animal detection unit 212-2 supplies the detection result (information on the detected pupil area) to the area setting unit 214 and the display control unit 215.
ステップS63において、領域設定部214は、瞳領域を検出できているか否かを判定する。瞳領域を検出できているとステップS63において判定された場合、処理は、ステップS64に進む。In step S63, the region setting unit 214 determines whether the pupil region has been detected. If it is determined in step S63 that the pupil region has been detected, processing proceeds to step S64.
ステップS64において、領域設定部214は、瞳検出結果を使用して、合焦領域を設定するための以降の処理を行う。 In step S64, the area setting unit 214 uses the pupil detection results to perform subsequent processing to set the focus area.
ステップS65において、領域設定部214は、左右瞳選択の設定がオートであるか否かを判定する。左右瞳選択の設定がオートであるとステップS65において判定された場合、処理は、ステップS66に進む。In step S65, the area setting unit 214 determines whether the left/right pupil selection setting is auto. If it is determined in step S65 that the left/right pupil selection setting is auto, processing proceeds to step S66.
ステップS66において、領域設定部214は、瞳領域を自動選択して、合焦領域に設定する。 In step S66, the area setting unit 214 automatically selects the pupil area and sets it as the focus area.
<オートの設定の場合の瞳領域の選択>
図14は、図11のステップS66における左右瞳選択がオートの設定である場合の瞳領域の選択例を示す図である。
<Selecting the pupil area when set to auto>
FIG. 14 is a diagram showing an example of selection of pupil regions when the left/right pupil selection in step S66 of FIG. 11 is set to auto.
図14には、キツネを被写体とした画像P1乃至画像P7が示されている。画像P1乃至画像P7に写っているキツネは、顔の向き(角度)が異なる。実線の矩形は、各画像において検出された手前の瞳領域を示しており、破線の矩形は、各画像において検出された奥の瞳領域を示している。 Figure 14 shows images P1 to P7 of a fox as the subject. The foxes in images P1 to P7 have different facial orientations (angles). The solid rectangles indicate the foreground pupil regions detected in each image, and the dashed rectangles indicate the background pupil regions detected in each image.
画像P1には、左方向に顔を向けているキツネが写っている。画像P2には、左斜め前方向に顔を向けているキツネが写っている。画像P3には、ごく僅かに左斜め前方向に顔を向けているキツネが写っている。画像P4には、正面方向に顔を向けているキツネが写っている。画像P5には、ごく僅かに右斜め前方向に顔を向けているキツネが写っている。画像P6には、右斜め前方向に顔を向けているキツネが写っている。画像P7には、右方向に顔を向けているキツネが写っている。 Image P1 shows a fox facing to the left. Image P2 shows a fox facing diagonally forward to the left. Image P3 shows a fox facing slightly diagonally forward to the left. Image P4 shows a fox facing straight ahead. Image P5 shows a fox facing slightly diagonally forward to the right. Image P6 shows a fox facing diagonally forward to the right. Image P7 shows a fox facing to the right.
これらの画像のうち、斜め前方向乃至横(左右)方向に顔を向けているキツネが写っている画像P1、画像P2、画像P6、および画像P7では、それぞれ、撮像装置100から見て手前に位置する瞳領域しか検出されなかった場合を示している。 Of these images, images P1, P2, P6, and P7, which show a fox facing diagonally forward or to the side (left or right), each show cases in which only the pupil area located in front of the imaging device 100 was detected.
ごく僅かに斜め前方向に顔を向けているキツネが写っている画像P3と画像P5では、それぞれ2つの瞳領域が検出され、かつ、どちらか一方の瞳領域が撮像装置100から見て手前に位置し、どちらか他方の瞳領域が奥に位置するかを判定しやすい。 In images P3 and P5, which show a fox facing slightly diagonally forward, two pupil areas are detected in each image, and it is easy to determine whether one pupil area is located closer to the image capture device 100 and the other pupil area is located further back.
正面方向に顔を向けているキツネが写っている画像P4では、左の瞳領域と右の瞳領域のうち、どちらの瞳領域が手前であるのかを判定するのが難しい。この場合、上述したように、撮像装置100から見て手前に位置し、フォーカス枠の中心に近い瞳領域が選択され、選択された瞳領域に、合焦予告枠または合焦枠が表示される。In image P4, which shows a fox facing forward, it is difficult to determine which pupil area, the left or right, is in the foreground. In this case, as described above, the pupil area that is in the foreground as seen from the image capture device 100 and closest to the center of the focus frame is selected, and a focus preview frame or focus frame is displayed in the selected pupil area.
図11に戻って、ステップS65において、左右瞳選択の設定がオートではないと判定された場合、処理は、ステップS67に進む。 Returning to Figure 11, if it is determined in step S65 that the left/right pupil selection setting is not auto, processing proceeds to step S67.
ステップS67において、領域設定部214は、ユーザにより指定された瞳が選択可能であるか否かを判定する。例えば、指定された瞳領域が検出できている、または、指定された瞳領域の検出精度が所定の閾値よりも高い場合など、マニュアル指定された瞳が選択可能であるとステップS67において判定され、処理は、ステップS68に進む。In step S67, the area setting unit 214 determines whether the pupil specified by the user is selectable. For example, if the specified pupil area can be detected or the detection accuracy of the specified pupil area is higher than a predetermined threshold, it is determined in step S67 that the manually specified pupil is selectable, and processing proceeds to step S68.
ステップS68において、領域設定部214は、ユーザにより指定された一方の瞳領域を合焦領域として設定する。 In step S68, the area setting unit 214 sets one of the pupil areas specified by the user as the focus area.
ステップS67において、ユーザにより指定された一方の瞳領域が選択可能ではないと判定された場合、処理は、ステップS69に進む。 If it is determined in step S67 that one of the pupil areas specified by the user is not selectable, processing proceeds to step S69.
ステップS69において、領域設定部214は、もう一方の瞳を合焦領域として設定する。 In step S69, the area setting unit 214 sets the other pupil as the focus area.
ステップS63において、瞳領域を検出できていないと判定された場合、処理は、ステップS70に進む。 If it is determined in step S63 that the pupil area has not been detected, processing proceeds to step S70.
ステップS70において、領域設定部214は、合焦領域を追尾できているか否かを判定する。合焦領域を追尾できているとステップS70において判定された場合、処理は、ステップS71に進む。In step S70, the area setting unit 214 determines whether the in-focus area is being tracked. If it is determined in step S70 that the in-focus area is being tracked, the processing proceeds to step S71.
ステップS71において、領域設定部214は、追尾結果に基づいて合焦領域を設定する。 In step S71, the area setting unit 214 sets the focus area based on the tracking results.
ステップS66、S68、S69、およびS71の後、処理は、図12のステップS75に進む。 After steps S66, S68, S69, and S71, processing proceeds to step S75 in Figure 12.
ステップS70において、合焦領域を追尾できていないと判定された場合、処理は、図12のステップS72に進む。 If it is determined in step S70 that the focus area cannot be tracked, processing proceeds to step S72 in Figure 12.
ステップS72において、領域設定部214は、通常のAF枠でAFを行う設定になっているか否かを判定する。通常のAF枠でAFを行う設定になっているとステップS72において判定された場合、処理は、ステップS73に進む。In step S72, the area setting unit 214 determines whether AF is set to be performed using a normal AF frame. If it is determined in step S72 that AF is set to be performed using a normal AF frame, processing proceeds to step S73.
ステップS73において、領域設定部214は、通常のAF枠により指定されている領域を合焦領域として設定する。 In step S73, the area setting unit 214 sets the area specified by the normal AF frame as the focus area.
ステップS74において、領域設定部214は、通常のAF枠で追尾を行う設定になっているか否かを判定する。通常のAF枠で追尾を行う設定になっているとステップS74において判定された場合、処理は、ステップS75に進む。In step S74, the area setting unit 214 determines whether or not tracking is set to be performed using a normal AF frame. If it is determined in step S74 that tracking is set to be performed using a normal AF frame, processing proceeds to step S75.
ステップS75において、被写体追尾部213は、合焦領域を追尾する。ここでの追尾は、ステップS66、S68、S69、S71、およびS73において合焦領域としてそれぞれ設定された領域(検出または追尾された瞳領域、顔領域、通常のAF枠により指定されている領域)に対して行われる。その後、処理は、ステップS76に進む。In step S75, the subject tracking unit 213 tracks the in-focus area. Tracking here is performed on the areas set as in-focus areas in steps S66, S68, S69, S71, and S73 (detected or tracked pupil area, face area, area specified by a normal AF frame). Processing then proceeds to step S76.
ステップS74において、通常のAF枠で追尾を行う設定になっていないと判定された場合、ステップS75はスキップされ、処理は、ステップS76に進む。 If it is determined in step S74 that tracking is not set to be performed using the normal AF frame, step S75 is skipped and processing proceeds to step S76.
ステップS72において通常のAF枠でAFを行う設定となっていないと判定された場合、処理は、図13のステップS80に進む。 If it is determined in step S72 that the setting is not to perform AF using the normal AF frame, processing proceeds to step S80 in Figure 13.
なお、図12のステップS76乃至図13のステップS85は、図9のステップS33乃至図10のステップS42と基本的に同様の処理であるので、その説明は繰り返しになるので、省略する。 Note that steps S76 in Figure 12 to S85 in Figure 13 are basically the same processes as steps S33 in Figure 9 to S42 in Figure 10, so their explanation will be omitted to avoid repetition.
以上のように、動物の瞳検出モードにおいては、選択されている一方の瞳領域が検出できなかった場合、もう一方の瞳領域が、合焦領域として設定される。 As described above, in animal pupil detection mode, if one of the selected pupil areas cannot be detected, the other pupil area is set as the focus area.
<鳥の瞳検出モードの撮像処理>
図15は、撮像装置100の鳥の瞳検出モードの撮像処理を説明するフローチャートである。
<Image capture processing in bird eye detection mode>
FIG. 15 is a flowchart illustrating the imaging process of the imaging device 100 in the bird's eye detection mode.
図15の鳥の瞳検出モードの撮像処理は、例えば、電源ボタンが操作されることにより電源がオンにされたとき開始される。被写体の特定部位毎の検出モードは、設定画面などで鳥の瞳検出モードが予め設定されている。図15においては、鳥の瞳を検出する鳥検出部212-3により鳥の瞳が検出される例が説明される。 The imaging process in the bird's eye detection mode in Figure 15 begins, for example, when the power is turned on by operating the power button. The detection mode for each specific part of the subject is set in advance as the bird's eye detection mode on a settings screen, etc. Figure 15 illustrates an example in which the bird's eye is detected by the bird detection unit 212-3 that detects the bird's eye.
図15のステップS101において、図8のステップS11の処理と同様に、画像が取得され、表示される。 In step S101 of Figure 15, an image is acquired and displayed, similar to the processing in step S11 of Figure 8.
ステップS102において、鳥検出部212-3は、メモリ211に記憶されている画像データから、鳥辞書を用いて瞳領域を検出する。鳥検出部212-3は、検出した検出結果を、領域設定部214および表示制御部215に供給する。 In step S102, the bird detection unit 212-3 uses a bird dictionary to detect the pupil area from the image data stored in the memory 211. The bird detection unit 212-3 supplies the detection results to the area setting unit 214 and the display control unit 215.
ステップS103において、領域設定部214は、瞳領域を検出できているか否かを判定する。瞳領域を検出できているとステップS103において判定された場合、処理は、ステップS104に進む。In step S103, the region setting unit 214 determines whether the pupil region has been detected. If it is determined in step S103 that the pupil region has been detected, processing proceeds to step S104.
ステップS104において、領域設定部214は、瞳検出結果を使用して、合焦領域を設定するための以降の処理を行う。 In step S104, the area setting unit 214 uses the pupil detection results to perform subsequent processing to set the focus area.
ステップS105において、領域設定部214は、瞳領域を自動選択して、合焦領域に設定する。 In step S105, the area setting unit 214 automatically selects the pupil area and sets it as the focus area.
ステップS103において、瞳領域を検出できていないと判定された場合、処理は、ステップS106に進む。 If it is determined in step S103 that the pupil area has not been detected, processing proceeds to step S106.
ステップS106において、領域設定部214は、合焦領域を追尾できているか否かを判定する。合焦領域を追尾できているとステップS106において判定された場合、処理は、ステップS107に進む。In step S106, the area setting unit 214 determines whether or not the in-focus area is being tracked. If it is determined in step S106 that the in-focus area is being tracked, the process proceeds to step S107.
ステップS107において、領域設定部214は、追尾結果に基づいて合焦領域を設定する。 In step S107, the area setting unit 214 sets the focus area based on the tracking results.
ステップS105およびS107の後、処理は、図16のステップS111に進む。 After steps S105 and S107, processing proceeds to step S111 in Figure 16.
ステップS106において、合焦領域を追尾できていないと判定された場合、処理は、図16のステップS108に進む。 If it is determined in step S106 that the focus area cannot be tracked, processing proceeds to step S108 in Figure 16.
ステップS108において、領域設定部214は、通常のAF枠でAFを行う設定になっているか否かを判定する。通常のAF枠でAFを行う設定になっているとステップS108において判定された場合、処理は、ステップS109に進む。In step S108, the area setting unit 214 determines whether AF is set to be performed using a normal AF frame. If it is determined in step S108 that AF is set to be performed using a normal AF frame, processing proceeds to step S109.
ステップS109において、領域設定部214は、通常のAF枠により指定されている領域を合焦領域として設定する。 In step S109, the area setting unit 214 sets the area specified by the normal AF frame as the focus area.
ステップS110において、領域設定部214は、通常のAF枠で追尾を行う設定になっているか否かを判定する。通常のAF枠で追尾を行う設定になっているとステップS110において判定された場合、処理は、ステップS111に進む。In step S110, the area setting unit 214 determines whether or not tracking is set to be performed using a normal AF frame. If it is determined in step S110 that tracking is set to be performed using a normal AF frame, processing proceeds to step S111.
ステップS111において、被写体追尾部213は、合焦領域を追尾する。ここでの追尾は、ステップS105、S107、およびS109において合焦領域としてそれぞれ設定された領域(検出または追尾された瞳領域、顔領域、通常のAF枠により指定されている領域)に対して行われる。その後、処理は、ステップS112に進む。In step S111, the subject tracking unit 213 tracks the focus area. Tracking here is performed on the areas set as focus areas in steps S105, S107, and S109 (detected or tracked pupil area, face area, area specified by a normal AF frame). Processing then proceeds to step S112.
ステップS110において、通常のAF枠で追尾を行う設定になっていないと判定された場合、ステップS111をスキップし、処理は、ステップS112に進む。 If it is determined in step S110 that tracking is not set to be performed using the normal AF frame, step S111 is skipped and processing proceeds to step S112.
ステップS108において通常のAF枠でAFを行う設定となっていないと判定された場合、処理は、図17のステップS116に進む。 If it is determined in step S108 that the setting is not to perform AF using the normal AF frame, processing proceeds to step S116 in Figure 17.
なお、図16のステップS112乃至図17のステップS121は、図9のステップS33乃至図10のステップS42と基本的に同様の処理であるので、その説明は繰り返しになるので、省略する。 Note that steps S112 in Figure 16 to S121 in Figure 17 are basically the same processes as steps S33 in Figure 9 to S42 in Figure 10, so their explanation will be omitted to avoid duplication.
以上のように、鳥の瞳検出モードにおいては、瞳の領域が検出できなかった場合、通常のAFモードにおいて合焦領域に設定される、すなわち、通常のAF枠により指定される領域が、合焦領域として設定される。 As described above, in bird eye detection mode, if the eye area cannot be detected, it will be set as the focus area in normal AF mode, i.e., the area specified by the normal AF frame will be set as the focus area.
<5.その他>
<検出対象切り換え設定画面>
図18は、検出対象切換設定画面の例を示す図である。
<5. Other>
<Detection target switching setting screen>
FIG. 18 is a diagram showing an example of a detection target switching setting screen.
検出対象切換設定画面は、被写体の特定部位の検出モードのうち、所定の操作により切り換え可能な検出モードを設定する画面である。 The detection target switching setting screen is a screen for setting detection modes that can be switched by performing a specified operation among detection modes for specific parts of the subject.
図18においては、左から順に、人物のアイコンと、人物アイコンの下のチェックボックス、動物のアイコンと、動物のアイコンの下のチェックボックス、および鳥のアイコンと、鳥のアイコンの下のチェックボックスが表示されている。 In Figure 18, from left to right, a person icon and a check box below the person icon, an animal icon and a check box below the animal icon, and a bird icon and a check box below the bird icon are displayed.
検出対象切換画面においては、カーソルCを移動させることにより、各被写体のアイコンを選択することができる。そして、選択された被写体のアイコンの下にあるチェックボックスへのチェックの有無を切り替えることができる。 On the detection target switching screen, you can select the icon of each subject by moving cursor C. You can then check or uncheck the checkbox below the selected subject icon.
そして、画面の右下に設けられている実行ボタンが押下されると、チェックが入力されている検出モードが、ユーザの操作に応じて選択可能な検出モードに設定される。 Then, when the execute button located at the bottom right of the screen is pressed, the detection mode that has been checked will be set as the detection mode that can be selected in response to user operation.
また、ユーザが必要としない被写体の検出モードは、チェックボックスのチェックを外すことにより、無効にすることができる。すなわち、チェックボックスのチェックが外された被写体の検出モードは、選択対象から外すことができる。これにより、ユーザの嗜好に応じた使い分けを行うことができる。 In addition, subject detection modes that the user does not need can be disabled by unchecking the checkbox. In other words, subject detection modes with unchecked checkboxes can be excluded from selection. This allows users to use modes according to their preferences.
すなわち、人物のアイコンの下のチェックボックスにチェックが入力されている場合、人物の瞳検出モードが有効になり、選択可能な状態になる。 In other words, if the checkbox below the person icon is checked, the person's eye detection mode is enabled and becomes selectable.
動物のアイコンの下のチェックボックスにチェックが入力されている場合、動物の瞳を検出する動物の瞳検出モードが有効になり、選択可能な状態になる。 If the checkbox below the animal icon is checked, the Animal Eye Detection mode, which detects animal eyes, will be enabled and selectable.
鳥のアイコンの下のチェックボックスにチェックが入力されている場合、撮像装置11の検出モードを、鳥の瞳を検出する鳥の瞳検出モードが有効になり、選択可能な状態になる。 If a check mark is entered in the checkbox below the bird icon, the detection mode of the imaging device 11 will be enabled and selectable as the bird eye detection mode, which detects the bird's eyes.
なお、検出対象切換画面において、動物の瞳や鳥の瞳の検出の設定に限らず、魚、爬虫類、両生類などあらゆる生物の瞳、顔、顔の一部、首、頭部などの被写体の特定部位または全身(被写体)などの検出を設定できるようにしてもよい。 In addition, on the detection target switching screen, it is not limited to setting the detection of animal eyes or bird eyes, but it may also be possible to set the detection of specific parts of the subject, such as the eyes, face, part of the face, neck, head, or the entire body (subject), of any living creature such as fish, reptiles, and amphibians.
また、検出対象の被写体は、生物に限らず、車両のヘッドライト、フロントエンブレム、フロントガラス、ハンドル、運転手、または運転席、あるいは、バイクのヘッドライトまたはヘルメットなど、被写体の特定部位などの検出を設定できるようにしてもよい。 In addition, the subject to be detected is not limited to living things; it may be possible to set the detection of specific parts of the subject, such as a vehicle's headlights, front emblem, windshield, handlebars, driver or driver's seat, or a motorcycle's headlights or helmet.
<検出対象が切り換えられた場合の表示画面>
図18においては、人物のアイコンの下のチェックボックス、動物のアイコンの下のチェックボックス、および鳥のアイコンの下のチェックボックスにチェックが入っている。したがって、図19に示されるように、撮像装置11の検出モードを、ユーザの操作に応じて、人物の瞳検出モード、動物の瞳検出モード、および鳥の瞳検出モードのいずれかに切り換えることができる。
<Display screen when detection target is switched>
In Fig. 18, the check boxes below the person icon, the animal icon, and the bird icon are checked. Therefore, as shown in Fig. 19, the detection mode of the imaging device 11 can be switched to any one of the person pupil detection mode, the animal pupil detection mode, and the bird pupil detection mode in response to a user operation.
図19は、検出対象が切り換えられた場合の表示画面の例を示す図である。 Figure 19 shows an example of the display screen when the detection target is switched.
図19において、左側には、人物の瞳検出モードに切り換えられた場合の表示画面Mode_Hが示されている。中央には、動物の瞳検出モードに切り換えられた場合の表示画面Mode_Aが示されている。右側には、鳥の瞳検出モードに切り換えられた場合の表示画面Mode_Bが示されている。なお、各表示画面には、人物、動物、鳥が表示されている。 In Figure 19, the left side shows the display screen Mode_H when switched to human pupil detection mode. The center shows the display screen Mode_A when switched to animal pupil detection mode. The right side shows the display screen Mode_B when switched to bird pupil detection mode. Each display screen displays a person, an animal, and a bird.
表示画面Mode_Hにおいては、合焦開始が指示される前に表示される合焦予告枠PFが、検出対象となる人物の顔の周りに表示されている。 In display screen Mode_H, a focus preview frame PF is displayed around the face of the person to be detected before the focus start command is issued.
表示画面Mode_Aにおいては、合焦開始が指示される前に表示される合焦予告枠PFが、検出対象となる動物の瞳の周りに表示されている。 In display screen Mode_A, a focus preview frame PF is displayed around the eyes of the animal to be detected before the focus start command is given.
表示画面Mode_Bにおいては、検出対象が鳥であり、合焦開始が指示される前に表示される合焦予告枠PFが、検出対象となる鳥の瞳の周りに表示されている。 In display screen Mode_B, the detection target is a bird, and a focus preview frame PF, which is displayed before the focus start command is issued, is displayed around the eye of the bird to be detected.
撮像装置11において、検出モードが人物の瞳検出モードであり、表示画面Mode_Hが表示されている場合に、ユーザの所定のボタンの操作が行われると、検出モードが動物の瞳検出モードに切り換えられ、表示画面Mode_Hが表示画面Mode_Aに変わる。 In the imaging device 11, when the detection mode is human pupil detection mode and the display screen Mode_H is displayed, if the user operates a specified button, the detection mode is switched to animal pupil detection mode and the display screen Mode_H changes to the display screen Mode_A.
撮像装置11において、検出モードが動物の瞳検出モードであり、表示画面Mode_Aが表示されている場合に、ユーザの所定のボタンの操作が行われると、検出モードが鳥の瞳検出モードに切り換えられ、表示画面Mode_Aが表示画面Mode_Bに変わる。 In the imaging device 11, when the detection mode is animal pupil detection mode and the display screen Mode_A is displayed, if the user operates a specified button, the detection mode is switched to bird pupil detection mode and the display screen Mode_A changes to the display screen Mode_B.
撮像装置11において、検出モードが鳥の瞳検出モードであり、表示画面Mode_Bが表示されている場合に、ユーザの所定のボタンの操作が行われると、検出モードが人物の瞳検出モードに切り換えられ、表示画面Mode_Bが表示画面Mode_Hに変わる。 In the imaging device 11, when the detection mode is bird pupil detection mode and the display screen Mode_B is displayed, if a user operates a predetermined button, the detection mode is switched to human pupil detection mode and the display screen Mode_B is changed to the display screen Mode_H.
<被写体の種類の階層構造例>
なお、上記説明においては、人物の瞳検出モード、動物の瞳検出モード、および鳥の検出モードを同じ階層で管理されるようにしたが、例えば、鳥の検出モードは、動物の瞳検出モードの下の階層で管理されるようにしてもよい。
<Example of subject type hierarchy>
In the above explanation, the human pupil detection mode, animal pupil detection mode, and bird detection mode are managed at the same hierarchical level, but for example, the bird detection mode may be managed at a hierarchical level below the animal pupil detection mode.
図20は、被写体の種類の階層構造を示す図である。 Figure 20 shows the hierarchical structure of subject types.
図20の例においては、人物と動物とは同じ階層で管理される。犬や猫、小動物、鳥は、動物の下の階層において管理される。 In the example of Figure 20, people and animals are managed at the same level. Dogs, cats, small animals, and birds are managed at a level below animals.
このように、各被写体の種類を、階層構造で管理することも可能である。 In this way, it is possible to manage each subject type in a hierarchical structure.
<各検出モードの次善の手段>
なお、上述した各処理において、瞳領域が検出されなかった場合、顔領域で合焦処理を実行したり、もう一方の瞳領域で合焦処理を実行したり、通常のAF枠などの他の条件で合焦処理を実行したりするように説明した。
<Suboptimal means for each detection mode>
In each of the above processes, if the pupil area is not detected, the focusing process is performed on the face area, the focusing process is performed on the other pupil area, or the focusing process is performed under other conditions such as the normal AF frame.
瞳領域が検出されなかった場合の動作は、上記処理に限定されず、ユーザによる設定などで使い分けられるようにしてもよい。その際、検出されなかった対象被写体や特定部位に応じて、検出されなかった場合の動作が「次善の手段」に変更される。 The action taken when the pupil region is not detected is not limited to the above process, and may be differentiated by user settings. In this case, the action taken when the pupil region is not detected is changed to the "next best option" depending on the target subject or specific part that was not detected.
例えば、被写体の種類やユーザの好みによって、ユーザが焦点を合わせたい場所は異なる。また、被写体によって、認識できる部位が異なることもある。For example, the location on which a user wants to focus varies depending on the type of subject and the user's preferences. Also, the parts that can be recognized may differ depending on the subject.
具体的には、人物においては、「顔」、「右側の瞳」、「左側の瞳」が認識可能とされる。動物においては、「右側の瞳」、「左側の瞳」、「鼻」(内部的)が認識可能とされる。鳥においては、「瞳(手前の瞳)」が認識可能とされる。クルマにおいては、「ヘッドライト」、「フロントウィンドウ」、「ドライバ」が認識可能とされる。 Specifically, for people, the "face," "right pupil," and "left pupil" can be recognized. For animals, the "right pupil," "left pupil," and "nose" (internal) can be recognized. For birds, the "pupil (front pupil)" can be recognized. For cars, the "headlights," "windshield," and "driver" can be recognized.
また、瞳は、「右側の瞳」と「左側の瞳」が存在する。焦点を「右側の瞳」に合わせるように撮像装置11に指示していても、「右側の瞳」が見えない(検出できない)場合、被写体の種類によって、「次善」の手段が異なる。 Furthermore, there are "right pupils" and "left pupils." Even if the imaging device 11 is instructed to focus on the "right pupil," if the "right pupil" cannot be seen (detected), the "next best" method will differ depending on the type of subject.
例えば、被写体が動物であり、焦点を「右側の瞳」に合わせるように撮像装置11に指示した場合に、「右側の瞳」が見えないとき、次善の手段として、「顔」にピントを合わせようとしても、高い「鼻」に焦点が合ってしまうことになる。ただし、「鼻」に焦点を合わせるよりも、見えている「左側の瞳」に合わせるほうが次善の手段として好ましい。For example, if the subject is an animal and the imaging device 11 is instructed to focus on the "right eye," if the "right eye" is not visible, the next best option would be to focus on the "face," but the focus will end up on the high "nose." However, focusing on the "left eye," which is visible, is preferable to focusing on the "nose."
被写体が人物である場合、焦点を「右側の瞳」に合わせるように撮像装置11に指示していても、「右側の瞳」が見えないとき、人物が、動物ほど「鼻」が高くないために、「顔」に焦点を合わせる方が、ユーザは自然に感じる。また、被写体が人物である場合、動物のように、見えている「瞳」に焦点を合わせた場合、ユーザは、撮像装置11が、ユーザの指示を無視しているように感じてしまう。したがって、被写体が人物である場合、「顔」が次善の手段として好ましい。 When the subject is a person, even if the imaging device 11 is instructed to focus on the "right pupil," if the "right pupil" is not visible, it will feel more natural to the user to focus on the "face" because people do not have as high "noses" as animals. Also, when the subject is a person, if the imaging device 11 focuses on the visible "pupil" as with an animal, the user will feel that the imaging device 11 is ignoring the user's instructions. Therefore, when the subject is a person, the "face" is preferable as the next best option.
また、クルマなど、被写体の構成部位がそもそもクルマ毎に異なるような被写体も存在する。 Also, there are subjects such as cars, where the components of the subject differ from car to car.
鳥のように、「手前の瞳」しか認識できないなどの、認識手段の制約や特性の差異がある場合も考えられる。この場合、ユーザにより予め設定されている領域が次善の手段となる。 There may be limitations or differences in the characteristics of the recognition method, such as being able to recognize only the "nearest eye," as in the case of birds. In this case, the area preset by the user becomes the next best option.
以上のように、被写体に応じて「次善の手段」を個別に制御することで、ユーザの意図により寄り添って自動的に焦点を合わせることができる。また、異なった特性に応じて、ユーザに提供できる「次善の手段」を自動的に選択することができる。 As described above, by individually controlling the "next best means" depending on the subject, it is possible to automatically focus in line with the user's intentions. It is also possible to automatically select the "next best means" that can be provided to the user depending on different characteristics.
以上、本技術においては、ユーザの操作に応じて、被写体の第1の特定部位の領域が、焦点を合わせる合焦領域として設定される。また、第1の特定部位の領域が検出されなかった場合、第1の特定部位と同じ種類の特定部位である、被写体の第2の特定部位の領域が合焦領域として設定される。As described above, with this technology, the area of a first specific part of the subject is set as the focus area in response to a user's operation. Furthermore, if the area of the first specific part is not detected, the area of a second specific part of the subject, which is a specific part of the same type as the first specific part, is set as the focus area.
また、本技術においては、第1の特定部位の領域が検出されなかった場合、被写体の種類に応じた領域が合焦領域として設定される。 In addition, in this technology, if the area of the first specific part is not detected, an area according to the type of subject is set as the focus area.
したがって、ユーザの意図により寄り添って自動的に焦点を合わせることができる。 This allows the focus to be automatically adjusted in line with the user's intentions.
なお、上記説明においては、犬や猫などの動物の瞳を検出する処理について説明したが、本技術は、鳥、魚、爬虫類、両生類などあらゆる生物の瞳、顔、顔の一部、首、頭部などの被写体の特定部位または全身(被写体)に適用することができる。また、本技術は、これらの被写体の特定部位や被写体の組み合わせにも適用することができる。 Note that while the above explanation focuses on the process of detecting the eyes of animals such as dogs and cats, this technology can be applied to the eyes, face, parts of a face, neck, head, or other specific parts of a subject, or the entire body (subject), of all living creatures, including birds, fish, reptiles, and amphibians. This technology can also be applied to specific parts of these subjects or combinations of subjects.
さらに、本技術は、生物に限らず、車両のヘッドライト、フロントエンブレム、フロントガラス、または運転席、あるいは、バイクのヘッドライトまたはヘルメットなど、被写体の特定部位にも適用することができる。 Furthermore, this technology is not limited to living organisms; it can also be applied to specific parts of a subject, such as a vehicle's headlights, front emblem, windshield, or driver's seat, or a motorcycle's headlights or helmet.
これらの場合、被写体の特定部位を検出するための検出モードが予め設定されて用いられる。このようにすることで、複数ある検出結果や検出方法のうち、どの検出結果や検出方法を優先するか、あるいは、複数ある被写体の中で、どの被写体を優先するかなどのユーザの意図を撮像装置に伝えることができる。In these cases, a detection mode for detecting specific parts of the subject is set in advance and used. This allows the user to communicate their intentions to the imaging device, such as which of multiple detection results or detection methods to prioritize, or which of multiple subjects to prioritize.
なお、人物の場合と異なり、毛が長い動物などの場合、瞳に焦点を合わせようとすると、瞳ではなく、瞳にかかる毛に焦点が合ってしまうことがある。この場合、焦点の位置を後ろに調整したり、毛に合焦しやすい被写体であることを撮像装置に予め設定し、設定に基づいて撮像装置が合焦したりすることで、ユーザの意図により即した撮像結果を得ることができる。 Unlike people, when focusing on the pupils of animals with long fur, the focus may end up on the hair that covers the pupils instead of the pupils. In this case, you can adjust the focal position further back or set the imaging device in advance to focus on hair as a subject that is easy to focus on, and then have the imaging device focus based on that setting, thereby obtaining imaging results that better reflect the user's intentions.
なお、上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。上述した一連の処理をソフトウェアにより実行させる場合には、ソフトウェアを構成するプログラムが、ネットワークや記録媒体からインストールされる。 The above-described series of processes can be executed by hardware or software. When the above-described series of processes are executed by software, the programs that make up the software are installed from a network or recording medium.
この記録媒体は、例えば、図1に示されるように、装置本体とは別に、ユーザにプログラムを配信するために配布される、プログラムが記録されているリムーバブル記録媒体148により構成される。このリムーバブル記録媒体148には、磁気ディスク(フレキシブルディスクを含む)や光ディスク(CD-ROMやDVDを含む)が含まれる。さらに、光磁気ディスク(MD(Mini Disc)を含む)や半導体メモリなども含まれる。 This recording medium may be, for example, as shown in Figure 1, a removable recording medium 148 on which the program is recorded, which is distributed separately from the device itself for distribution to users. This removable recording medium 148 includes magnetic disks (including flexible disks) and optical disks (including CD-ROMs and DVDs). It also includes magneto-optical disks (including MDs (Mini Discs)) and semiconductor memories.
この場合、プログラムは、リムーバブル記録媒体148をドライブ147に装着することにより、記憶部142にインストールすることができる。 In this case, the program can be installed in the memory unit 142 by inserting the removable recording medium 148 into the drive 147.
また、このプログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することもできる。この場合、プログラムは、通信部145を介して受信し、記憶部142にインストールすることができる。 The program can also be provided via a wired or wireless transmission medium, such as a local area network, the Internet, or digital satellite broadcasting. In this case, the program can be received via the communication unit 145 and installed in the storage unit 142.
その他、このプログラムは、記憶部142やシステムコントローラ131内のROM(Read Only Memory)などに、あらかじめインストールしておくこともできる。 In addition, this program can also be pre-installed in the memory unit 142 or ROM (Read Only Memory) in the system controller 131.
コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたときなどの必要なタイミングで処理が行われるプログラムであってもよい。 The program executed by the computer may be a program that processes in chronological order according to the order described in this specification, or it may be a program that processes in parallel or at the required timing, such as when called.
なお、本明細書において、システムとは、複数の構成要素(装置、モジュール(部品)など)の集合を意味し、すべての構成要素が同一筐体中にあるか否かは問わない。したがって、別個の筐体に収納され、ネットワークを介して接続されている複数の装置、及び、1つの筐体の中に複数のモジュールが収納されている1つの装置は、いずれも、システムである。 In this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all of the components are contained in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device with multiple modules housed in a single housing, are both systems.
本技術の実施の形態は、上述した実施の形態に限定されるものではなく、本技術の要旨を逸脱しない範囲において種々の変更が可能である。 The embodiments of this technology are not limited to the above-described embodiments, and various modifications are possible within the scope of the gist of this technology.
例えば、本技術は、1つの機能を、ネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。 For example, this technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.
また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。 In addition, each step described in the above flowchart can be performed on a single device, or can be shared and executed by multiple devices.
さらに、1つのステップに複数の処理が含まれる場合には、1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。 Furthermore, if one step includes multiple processes, the multiple processes included in one step can be executed by one device, or can be shared and executed by multiple devices.
なお、本明細書に記載された効果はあくまで例示であって限定されるものでは無く、また他の効果があってもよい。 Please note that the effects described in this specification are merely examples and are not limiting, and other effects may also be present.
<構成の組み合わせ例>
本技術は、以下のような構成をとることもできる。
(1)
被写体の第1の特定部位を含む第1の領域を、焦点を合わせる合焦領域として設定する設定部を備え、
前記設定部は、前記第1の特定部位が検出されなかった場合、前記第1の特定部位と同じ種類の特定部位である、前記被写体の第2の特定部位を含む第2の領域を前記合焦領域として設定する
撮像装置。
(2)
前記第1の特定部位は、前記被写体の左右の瞳のうち一方の瞳であり、前記第2の特定部位は、他方の瞳である
前記(1)に記載の撮像装置。
(3)
ユーザにより前記第1の特定部位を前記被写体の左の瞳または右の瞳に設定することが可能である
前記(2)に記載の撮像装置。
(4)
前記被写体は、動物である
前記(1)乃至(3)のいずれかに記載の撮像装置。
(5)
前記設定部は、前記第1の特定部位が検出された場合でも、前記第1の特定部位の検出精度が所定の閾値より低いとき、前記第2の領域を前記合焦領域として設定する
前記(1)乃至(4)のいずれかに記載の撮像装置。
(6)
前記設定部は、前記第1の特定部位が検出されなかった場合、前記被写体の種類に応じた領域を前記合焦領域として設定する
前記(1)に記載の撮像装置。
(7)
前記設定部は、前記第1の特定部位が検出されなかった場合、前記被写体の種類に応じて、前記第2の領域、または、前記第1の特定部位を含み、前記第1の特定部位よりも大きい前記被写体の第3の特定部位を含む第3の領域を前記合焦領域として設定する
前記(6)に記載の撮像装置。
(8)
前記第1の特定部位は、左右の瞳のうち一方の瞳であり、および前記第2の特定部位は、他方の瞳であり、前記第3の特定部位は、顔である
前記(7)に記載の撮像装置。
(9)
前記設定部は、前記第1の特定部位が検出されなかった場合、前記被写体の種類に応じて、前記第2の領域、前記第1の特定部位を含み、前記第1の特定部位よりも大きい前記被写体の第3の特定部位を含む第3の領域、または、ユーザの操作により指定された第4の領域を前記合焦領域に設定する
前記(6)に記載の撮像装置。
(10)
前記被写体の種類は、人、動物、または鳥である
前記(6)乃至(9)のいずれかに記載の撮像装置。
(11)
検出対象となる前記被写体の種類は、予め設定可能である
前記(1)乃至(10)のいずれかに記載の撮像装置。
(12)
前記被写体の種類に応じた辞書を用いて、少なくとも前記第1の領域を検出する領域検出部をさらに備える
前記(1)乃至(11)のいずれかに記載の撮像装置。
(13)
少なくとも前記第1の領域を追尾する追尾部をさらに備え、
前記設定部は、前記第1の領域が追尾できなかった場合、前記第2の領域を前記合焦領域として設定する
前記(1)乃至(12)のいずれかに記載の撮像装置。
(14)
画像の撮像単位で、合焦の開始を指示する合焦指示部画像の撮像単位で、合焦の開始を指示する合焦指示部と、
前記合焦の開始が指示された場合、前記合焦領域を示す情報の表示を制御する表示制御部と
をさらに備える前記(1)乃至(13)のいずれかに記載の撮像装置。
(15)
撮像を指示する撮像指示部と、
前記撮像が指示された場合、前記設定部により設定された前記合焦領域に焦点を合わせて前記撮像を行うように、撮像部を制御する合焦制御部と
をさらに備える前記(1)乃至(14)のいずれかに記載の撮像装置。
(16)
撮像装置が、
被写体の第1の特定部位を含む第1の領域を、焦点を合わせる合焦領域として設定し、
前記第1の特定部位が検出されなかった場合、前記第1の特定部位と同じ種類の特定部位である、前記被写体の第2の特定部位を含む第2の領域を前記合焦領域として設定する
撮像方法。
(17)
被写体の第1の特定部位を含む第1の領域を、焦点を合わせる合焦領域として設定する設定部として、コンピュータを機能させ、
前記設定部は、前記第1の特定部位が検出されなかった場合、前記第1の特定部位と同じ種類の特定部位である、前記被写体の第2の特定部位を含む第2の領域を前記合焦領域として設定する
プログラム。
<Configuration combination example>
The present technology can also be configured as follows.
(1)
a setting unit that sets a first area including a first specific portion of the subject as a focusing area;
When the first specific part is not detected, the setting unit sets a second area including a second specific part of the subject, which is a specific part of the same type as the first specific part, as the focusing area.
(2)
The imaging device according to (1), wherein the first specific portion is one of the left and right pupils of the subject, and the second specific portion is the other pupil.
(3)
The imaging device according to (2), wherein a user can set the first specific portion to the left pupil or the right pupil of the subject.
(4)
The imaging device according to any one of (1) to (3), wherein the subject is an animal.
(5)
The imaging device described in any one of (1) to (4), wherein the setting unit sets the second area as the focus area when the detection accuracy of the first specific area is lower than a predetermined threshold even when the first specific area is detected.
(6)
The imaging device according to (1), wherein the setting unit sets an area according to a type of the subject as the focus area when the first specific portion is not detected.
(7)
The imaging device described in (6), wherein, when the first specific part is not detected, the setting unit sets the second area or a third area including the first specific part and a third specific part of the subject that is larger than the first specific part as the focusing area depending on the type of the subject.
(8)
The imaging device according to (7), wherein the first specific part is one of the left and right pupils, the second specific part is the other pupil, and the third specific part is a face.
(9)
The imaging device described in (6), wherein, when the first specific portion is not detected, the setting unit sets the focusing area to the second area, a third area including the first specific portion and including a third specific portion of the subject that is larger than the first specific portion, or a fourth area specified by user operation, depending on the type of the subject.
(10)
The imaging device according to any one of (6) to (9), wherein the type of the subject is a person, an animal, or a bird.
(11)
The imaging device according to any one of (1) to (10), wherein the type of the subject to be detected can be set in advance.
(12)
The imaging device according to any one of (1) to (11), further comprising a region detection unit that detects at least the first region using a dictionary according to the type of the subject.
(13)
Further comprising a tracking unit that tracks at least the first area,
The imaging device according to any one of (1) to (12), wherein the setting unit sets the second area as the in-focus area when the first area cannot be tracked.
(14)
a focus instruction unit that instructs the start of focusing for each image capture unit; and
The imaging device according to any one of (1) to (13), further comprising: a display control unit that controls, when a command to start focusing is given, display of information indicating the focusing area.
(15)
an imaging instruction unit that instructs imaging;
and a focus control unit that controls the imaging unit so that, when the imaging is instructed, the imaging unit focuses on the focus area set by the setting unit and performs the imaging.
(16)
The imaging device
A first area including a first specific portion of the subject is set as a focus area to be focused on;
If the first specific portion is not detected, a second area including a second specific portion of the subject that is the same type as the first specific portion is set as the focused area.
(17)
causing the computer to function as a setting unit that sets a first region including a first specific portion of the subject as a focusing region;
The setting unit sets a second area including a second specific part of the subject, which is a specific part of the same type as the first specific part, as the focus area when the first specific part is not detected.
100 撮像装置, 101 レンズ, 102 絞り, 103 撮像素子, 104 アナログ信号処理部, 105 A/D変換部, 106 デジタル信号処理部, 121 レンズドライバ, 131 システムコントローラ, 141 表示部, 142 記憶部, 146 操作部, 211 メモリ, 212 被写体検出部, 212-1 人物検出部, 212-2 動物検出部,212-3 鳥検出部, 213 被写体追尾部, 214 領域設定部, 215 表示制御部, 216 コーデック処理部100 Imaging device, 101 Lens, 102 Aperture, 103 Imaging element, 104 Analog signal processing unit, 105 A/D conversion unit, 106 Digital signal processing unit, 121 Lens driver, 131 System controller, 141 Display unit, 142 Storage unit, 146 Operation unit, 211 Memory, 212 Subject detection unit, 212-1 Person detection unit, 212-2 Animal detection unit, 212-3 Bird detection unit, 213 Subject tracking unit, 214 Area setting unit, 215 Display control unit, 216 Codec processing unit
Claims (14)
前記設定部は、前記一方の瞳の検出結果に応じて前記第1の瞳領域を合焦領域として選択できない場合、前記被写体の種類に応じた第1のモードでは、前記左右の瞳のうち他方の瞳を含む第2の瞳領域を前記合焦領域として設定する
撮像装置。 a setting unit that sets a first pupil region including one of the left and right pupils of the subject as a focusing region;
When the setting unit cannot select the first pupil region as the focus region according to the detection result of the one pupil , in a first mode according to the type of subject, the setting unit sets a second pupil region including the other of the left and right pupils as the focus region.
請求項1に記載の撮像装置。 2. The imaging device according to claim 1, wherein the setting unit sets a face area as the focus area when the first pupil area cannot be selected as the focus area based on the detection result of the one pupil in a second mode according to the type of the subject.
請求項2に記載の撮像装置。 3. The imaging device according to claim 2, wherein, in a third mode according to the type of subject, when the first pupil region cannot be selected as the focus region according to the detection result of the one pupil, the setting unit sets the region of the focus frame as the focus region .
請求項3に記載の撮像装置。 The imaging device according to claim 3 , wherein the first mode, the second mode, and the third mode can be switched by a user operation .
前記第2のモードは、前記被写体の種類が人物のモードであり、
前記第3のモードは、前記被写体の種類が鳥のモードである
請求項3に記載の撮像装置。 the first mode is a mode in which the type of subject is an animal;
the second mode is a mode in which the type of subject is a person,
The imaging device according to claim 3 , wherein the third mode is a mode in which the type of subject is a bird .
請求項1に記載の撮像装置。 The imaging device according to claim 1 , wherein the setting unit sets the second pupil region as the focus region when the one pupil is detected in the first mode with a detection accuracy lower than a predetermined threshold.
請求項1に記載の撮像装置。 In the first mode, when the second pupil region cannot be selected as the focusing region according to the detection result of the other pupil, the setting unit sets the region of the focusing frame as the focusing region.
The imaging device according to claim 1 .
請求項2に記載の撮像装置。 In the second mode, the setting unit first detects the face area and then detects the first pupil area for the detected face area.
The imaging device according to claim 2 .
前記設定部は、前記第2の瞳領域を合焦領域とするユーザの操作がされたが前記第2の瞳領域を合焦領域として選択できない場合、追尾結果に基づく前記第1の瞳領域を前記合焦領域として設定する
請求項1に記載の撮像装置。 further comprising a tracking unit that tracks at least the first pupil region;
2. The imaging device according to claim 1, wherein when a user performs an operation to set the second pupil region as the focus region but the second pupil region cannot be selected as the focus region, the setting unit sets the first pupil region based on a tracking result as the focus region.
請求項9に記載の撮像装置。 10. The imaging device according to claim 9, wherein the setting unit changes the in-focus area from the first pupil area to the second pupil area when the second pupil area changes from a state in which it cannot be selected to a state in which it can be selected while the first pupil area is being tracked .
前記合焦の開始が指示された場合、前記合焦領域を示す情報の表示を制御する表示制御部と
をさらに備える
請求項1に記載の撮像装置。 a focus instruction unit that instructs the start of focusing for each image capture unit;
The imaging device according to claim 1 , further comprising: a display control unit that controls display of information indicating the in-focus area when the start of the focusing is instructed.
前記撮像が指示された場合、前記設定部により設定された前記合焦領域に焦点を合わせて前記撮像を行うように、撮像部を制御する合焦制御部と
をさらに備える
請求項1に記載の撮像装置。 an imaging instruction unit that instructs imaging;
The imaging device according to claim 1 , further comprising: a focus control unit that controls the imaging unit so that, when the imaging is instructed, the imaging unit focuses on the focus area set by the setting unit and performs the imaging.
被写体の左右の瞳のうち一方の瞳を含む第1の瞳領域を、焦点を合わせる合焦領域として設定することと、
前記一方の瞳の検出結果に応じて前記第1の瞳領域を合焦領域として選択できない場合、前記被写体の種類に応じた第1のモードでは、前記左右の瞳のうち他方の瞳を含む第2の瞳領域を前記合焦領域として設定することと
を含む撮像方法。 The imaging device
setting a first pupil region including one of the left and right pupils of the subject as a focusing region;
When the first pupil region cannot be selected as the focus region according to the detection result of the one pupil , in a first mode according to the type of the subject, a second pupil region including the other of the left and right pupils is set as the focus region .
An imaging method comprising :
被写体の左右の瞳のうち一方の瞳を含む第1の瞳領域を、焦点を合わせる合焦領域として設定することと、
前記一方の瞳の検出結果に応じて前記第1の瞳領域を合焦領域として選択できない場合、前記被写体の種類に応じた第1のモードでは、前記左右の瞳のうち他方の瞳を含む第2の瞳領域を前記合焦領域として設定することと
を含む処理を実行させるためのプログラム。 On the computer,
setting a first pupil region including one of the left and right pupils of the subject as a focusing region;
When the first pupil region cannot be selected as the focus region according to the detection result of the one pupil , in a first mode according to the type of the subject, a second pupil region including the other of the left and right pupils is set as the focus region .
A program for executing a process including :
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020164650 | 2020-09-30 | ||
| JP2020164650 | 2020-09-30 | ||
| PCT/JP2021/034034 WO2022070938A1 (en) | 2020-09-30 | 2021-09-16 | Imaging device, imaging method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2022070938A1 JPWO2022070938A1 (en) | 2022-04-07 |
| JP7754101B2 true JP7754101B2 (en) | 2025-10-15 |
Family
ID=80950237
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022553806A Active JP7754101B2 (en) | 2020-09-30 | 2021-09-16 | Imaging device, imaging method, and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7754101B2 (en) |
| WO (1) | WO2022070938A1 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011130043A (en) | 2009-12-16 | 2011-06-30 | Sanyo Electric Co Ltd | Electronic camera |
| JP2012123301A (en) | 2010-12-10 | 2012-06-28 | Olympus Imaging Corp | Imaging apparatus |
| JP2019075771A (en) | 2017-10-17 | 2019-05-16 | キヤノン株式会社 | Electronic device and control method of the same |
| WO2020137602A1 (en) | 2018-12-28 | 2020-07-02 | ソニー株式会社 | Imaging device, imaging method, and program |
| WO2020138497A1 (en) | 2018-12-28 | 2020-07-02 | 株式会社ニコン | Electronic apparatus, camera, and program |
| JP2021152578A (en) | 2020-03-24 | 2021-09-30 | オリンパス株式会社 | Imaging apparatus and tracking method |
| JP2022048077A (en) | 2020-09-14 | 2022-03-25 | キヤノン株式会社 | Image processing apparatus and control method for the same |
-
2021
- 2021-09-16 JP JP2022553806A patent/JP7754101B2/en active Active
- 2021-09-16 WO PCT/JP2021/034034 patent/WO2022070938A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011130043A (en) | 2009-12-16 | 2011-06-30 | Sanyo Electric Co Ltd | Electronic camera |
| JP2012123301A (en) | 2010-12-10 | 2012-06-28 | Olympus Imaging Corp | Imaging apparatus |
| JP2019075771A (en) | 2017-10-17 | 2019-05-16 | キヤノン株式会社 | Electronic device and control method of the same |
| WO2020137602A1 (en) | 2018-12-28 | 2020-07-02 | ソニー株式会社 | Imaging device, imaging method, and program |
| WO2020138497A1 (en) | 2018-12-28 | 2020-07-02 | 株式会社ニコン | Electronic apparatus, camera, and program |
| JP2021152578A (en) | 2020-03-24 | 2021-09-30 | オリンパス株式会社 | Imaging apparatus and tracking method |
| JP2022048077A (en) | 2020-09-14 | 2022-03-25 | キヤノン株式会社 | Image processing apparatus and control method for the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2022070938A1 (en) | 2022-04-07 |
| WO2022070938A1 (en) | 2022-04-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12120420B2 (en) | Imaging device, imaging method, and program | |
| US9210318B2 (en) | Imaging device and imaging method | |
| US9420169B2 (en) | Imaging device, imaging method, and program | |
| KR101539043B1 (en) | Image composition apparatus and method | |
| US9716831B2 (en) | Imaging control apparatus, imaging control method, and program | |
| KR102407190B1 (en) | Image capture apparatus and method for operating the image capture apparatus | |
| JP2011182252A (en) | Imaging device, and image imaging method | |
| US20170187954A1 (en) | Information terminal apparatus, image pickup apparatus, image-information processing system, and image-information processing method | |
| JP2021124669A (en) | Electronics | |
| KR20220058593A (en) | Systems and methods for acquiring smart panoramic images | |
| JPWO2020129620A1 (en) | Imaging control device, imaging device, imaging control method | |
| JP7754101B2 (en) | Imaging device, imaging method, and program | |
| JP7175772B2 (en) | Imaging device and imaging method | |
| JP2022023643A (en) | Line-of-sight position processing device, imaging device, learning device, line-of-sight position processing method, learning method, and program | |
| WO2021251298A1 (en) | Image processing device and control method for same | |
| JP6988355B2 (en) | Imaging device | |
| JP6602093B2 (en) | Imaging apparatus, imaging method, imaging system, and program | |
| CN119450187A (en) | Shooting method, device, electronic device and medium | |
| JP2024013019A (en) | Control device, imaging device, control method, and program | |
| JP2013081136A (en) | Image processing apparatus, and control program | |
| JP2022027826A (en) | Imaging apparatus | |
| CN116802539A (en) | Image processing equipment, image processing methods and programs | |
| WO2021205979A1 (en) | Imaging device, method for controlling imaging device, and program | |
| US20260006309A1 (en) | Imaging device, imaging control method, and program | |
| US20250168490A1 (en) | Imaging device, imaging control method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240801 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250603 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250707 |
|
| 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: 20250902 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250915 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7754101 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |