JP5949005B2 - IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM - Google Patents

IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM Download PDF

Info

Publication number
JP5949005B2
JP5949005B2 JP2012060036A JP2012060036A JP5949005B2 JP 5949005 B2 JP5949005 B2 JP 5949005B2 JP 2012060036 A JP2012060036 A JP 2012060036A JP 2012060036 A JP2012060036 A JP 2012060036A JP 5949005 B2 JP5949005 B2 JP 5949005B2
Authority
JP
Japan
Prior art keywords
control unit
light emission
subject
size
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012060036A
Other languages
Japanese (ja)
Other versions
JP2013195500A (en
Inventor
彩恭子 山本
彩恭子 山本
橋本 信雄
信雄 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2012060036A priority Critical patent/JP5949005B2/en
Publication of JP2013195500A publication Critical patent/JP2013195500A/en
Application granted granted Critical
Publication of JP5949005B2 publication Critical patent/JP5949005B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stroboscope Apparatuses (AREA)
  • Studio Devices (AREA)

Description

本発明は、撮像装置および撮像装置の制御プログラムに関する。   The present invention relates to an imaging apparatus and a control program for the imaging apparatus.

閃光照明光が顔に当たると好ましくない乳幼児等の主要被写体の画像を予めメモリに記憶し、スルー画像の主要被写体とメモリに記憶されている画像の主要被写体が合致する場合に、閃光照明装置の発光を禁止するカメラが知られている。
[先行技術文献]
[特許文献]
[特許文献1]特開2006−41673号公報
When the flash illumination light hits the face, an image of a main subject, such as an infant, which is not preferable, is stored in the memory in advance, and the flash illumination device emits light when the main subject of the through image matches the main subject of the image stored in the memory. Cameras that ban are known.
[Prior art documents]
[Patent Literature]
[Patent Document 1] JP-A-2006-41673

撮影者は、被写体を撮影する前に、閃光照明装置の照明光を照射させたくない乳幼児等の主要被写体の画像を、予めメモリに記憶させる必要があった。   The photographer has to store in advance an image of a main subject such as an infant who does not want to irradiate the illumination light of the flash illumination device before photographing the subject.

本発明の第1の態様における撮像装置は、撮像部と、撮像部により撮像された被写体である人物の顔部の大きさを解析する解析部と、人物までの距離を取得する取得部と、大きさが距離に対して設定された第1の基準大きさ未満である場合に、被写体を照射する照射部の発光を、第1の基準大きさ以上である場合よりも小さい発光量とし、大きさが第1の基準大きさよりも小さい第2の基準大きさ未満である場合に、照射部の発光を発光量よりも小さくする発光制限部とを備える。 The imaging device according to the first aspect of the present invention includes an imaging unit, an analysis unit that analyzes the size of the face of a person that is a subject imaged by the imaging unit, an acquisition unit that acquires a distance to the person, When the magnitude is less than the first reference magnitude set with respect to the distance, the emission of the irradiating unit that irradiates the subject is set to a smaller emission quantity than when the magnitude is equal to or greater than the first reference magnitude. And a light emission limiting unit that reduces the light emission of the irradiation unit to be smaller than the light emission amount when the light intensity is less than the second reference size smaller than the first reference size .

また、本発明の第2の態様における撮像装置の制御プログラムは、撮像ステップと、撮像ステップにより撮像された被写体である人物の顔部の大きさを解析する解析ステップと、人物までの距離を取得する取得ステップと、大きさが距離に対して設定された第1の基準大きさ未満である場合に、被写体を照射する照射部の発光を、第1の基準大きさ以上である場合よりも小さい発光量とし、大きさが第1の基準大きさよりも小さい第2の基準大きさ未満である場合に、照射部の発光を発光量よりも小さくする発光制限ステップとをコンピュータに実行させる。 In addition, the control program for the imaging apparatus according to the second aspect of the present invention acquires an imaging step, an analysis step for analyzing the size of the face of the person who is the subject imaged by the imaging step, and a distance to the person And when the size is less than the first reference size set with respect to the distance, the light emission of the irradiating unit that irradiates the subject is smaller than when the size is greater than or equal to the first reference size. When the light emission amount is less than the second reference size smaller than the first reference size , the computer is caused to execute a light emission limiting step for making the light emission of the irradiation unit smaller than the light emission amount .

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

本実施形態に係るカメラの概要を説明する図である。It is a figure explaining the outline | summary of the camera which concerns on this embodiment. 本実施形態に係るカメラのシステム構成図である。1 is a system configuration diagram of a camera according to an embodiment. 本実施形態におけるスピードライトの発光制限処理を説明する図である。It is a figure explaining the light emission restriction | limiting process of the speedlight in this embodiment. 人物の顔部の抽出画像である。It is an extracted image of a human face. 本実施形態の撮影処理を示すフロー図である。It is a flowchart which shows the imaging | photography process of this embodiment.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、本実施形態に係る撮像装置としてのカメラ10の概要を説明する図である。図1(a)および図1(b)に示すとおり、カメラ10は、スピードライト11、背面表示部12、レリーズスイッチ13を備える。スピードライト11は、キセノン管、LED等の発光部材を備え、撮影動作時に発光部材を閃光発光させて被写体を照射する照射部として機能する。背面表示部12は、カメラ10内の撮像部が撮像した画像、メニュー画面等の各種情報を表示する。レリーズスイッチ13は、撮影者から撮影指示を受け付ける操作部材である。   FIG. 1 is a diagram illustrating an overview of a camera 10 as an imaging apparatus according to the present embodiment. As shown in FIGS. 1A and 1B, the camera 10 includes a speedlight 11, a rear display unit 12, and a release switch 13. The speedlight 11 includes a light emitting member such as a xenon tube or an LED, and functions as an irradiation unit that irradiates the subject by flashing the light emitting member during photographing operation. The rear display unit 12 displays various information such as an image captured by the imaging unit in the camera 10 and a menu screen. The release switch 13 is an operation member that receives a shooting instruction from a photographer.

撮影者がカメラ10で人物20を被写体として撮影する図1(a)の例を用いて、本実施形態のカメラ10の概要を説明する。まず、撮影者は、カメラ10を人物20の方へ向ける。すると、カメラ10は、図1(b)のカメラ10の背面図に示すように、内部の撮像部が撮像した人物20の画像を背面表示部12に表示させる。また、カメラ10は、画像内における人物20の顔部21の領域を検出する顔検出機能を実行し、顔部21の領域を囲む外周枠30を背面表示部12の画面に表示させる。   An outline of the camera 10 of the present embodiment will be described with reference to an example of FIG. 1A in which a photographer photographs a person 20 with the camera 10 as a subject. First, the photographer points the camera 10 toward the person 20. Then, as shown in the rear view of the camera 10 in FIG. 1B, the camera 10 causes the rear display unit 12 to display an image of the person 20 captured by the internal imaging unit. Further, the camera 10 executes a face detection function for detecting the area of the face portion 21 of the person 20 in the image, and displays an outer peripheral frame 30 surrounding the area of the face portion 21 on the screen of the rear display unit 12.

カメラ10は、後述するように画像データを参照して人物20の顔部21の長さHを顔部21の大きさHとして解析する。また、カメラ10は、後述するようにAF動作時に人物20までの距離Dを取得する。   As will be described later, the camera 10 analyzes the length H of the face 21 of the person 20 as the size H of the face 21 with reference to image data. Moreover, the camera 10 acquires the distance D to the person 20 at the time of AF operation | movement so that it may mention later.

カメラ10は、被写体の距離と顔部の基準大きさとを対応付けたテーブル等の対応情報を参照して、人物20までの距離Dに対して設定された顔部の基準大きさを決定する。そして、カメラ10は、レリーズスイッチ13が押下された場合において、顔部21の大きさHが距離Dに対する基準大きさ未満である場合に、スピードライト11の発光を制限する。   The camera 10 refers to correspondence information such as a table in which the distance of the subject and the reference size of the face are associated, and determines the reference size of the face set for the distance D to the person 20. Then, when the release switch 13 is pressed, the camera 10 restricts the light emission of the speedlight 11 when the size H of the face 21 is less than the reference size with respect to the distance D.

例えば、顔部の基準大きさとして、大人と乳児の間である10歳児の顔部の大きさの平均値を、複数の距離の各々に対して予め対応付けされている。そして、カメラ10は、顔部21の大きさHが距離Dに対する基準大きさ未満である場合に、スピードライト11の発光を禁止する。したがって、被写体が乳児である場合には自動でスピードライト11の閃光発光が禁止となり、メニュー画面等で予め発光禁止を設定したり乳児の画像をメモリに登録したりすることなく、乳児をまぶしい閃光から保護することができる。一方、被写体が大人である場合には、通常どおりスピードライト11の閃光発光が行われる。   For example, as the reference size of the face, an average value of the size of the face of a 10-year-old child between an adult and an infant is associated in advance with each of a plurality of distances. Then, the camera 10 prohibits the speedlight 11 from emitting light when the size H of the face 21 is less than the reference size with respect to the distance D. Therefore, when the subject is an infant, the flashing of the speedlight 11 is automatically prohibited, and the infant is prevented from a bright flash without setting the flashing prohibition in advance on the menu screen or the like and registering the infant image in the memory. Can be protected. On the other hand, when the subject is an adult, the flashlight of the speedlight 11 is emitted as usual.

図2は、本実施形態に係るカメラ10のシステム構成図である。カメラ10は光学系120を備える。光学系120は、ズームレンズ121、フォーカスレンズ122、レンズシャッタ123等により構成される。被写体像は光軸110に沿って光学系120に入射し、撮像素子131の結像面に結像する。   FIG. 2 is a system configuration diagram of the camera 10 according to the present embodiment. The camera 10 includes an optical system 120. The optical system 120 includes a zoom lens 121, a focus lens 122, a lens shutter 123, and the like. The subject image enters the optical system 120 along the optical axis 110 and forms an image on the imaging surface of the image sensor 131.

撮像素子131は、光学系120を透過して入射する被写体像である光学像を光電変換する素子であり、例えば、CCD、CMOSセンサが用いられる。撮像素子131は、被写体を撮像する撮像部の少なくとも一部として機能する。撮像素子131で光電変換された被写体像は、A/D変換器132でアナログ信号からデジタル信号に変換される。撮像素子131の電荷読み出し制御およびA/D変換器132の変換制御は、メモリ制御部133の同期制御を受けたタイミング発生部134が供給するクロック信号により同期が計られる。   The imaging element 131 is an element that photoelectrically converts an optical image that is a subject image that is incident through the optical system 120, and for example, a CCD or a CMOS sensor is used. The imaging element 131 functions as at least a part of an imaging unit that images a subject. The subject image photoelectrically converted by the image sensor 131 is converted from an analog signal to a digital signal by the A / D converter 132. The charge readout control of the image sensor 131 and the conversion control of the A / D converter 132 are synchronized by a clock signal supplied from the timing generator 134 that receives the synchronization control of the memory control unit 133.

デジタル信号に変換された被写体像は、画像データとして順次処理される。A/D変換器132によりデジタル信号に変換された画像データは、メモリ制御部133の制御に従い、一旦内部メモリ135に記憶される。内部メモリ135は、高速で読み書きのできるランダムアクセスメモリであり、例えばDRAM、SRAMなどが用いられる。内部メモリ135は、連写撮影、動画撮影において高速に連続して画像データが生成される場合に、画像処理の順番を待つバッファメモリとしての役割を担う。   The subject image converted into the digital signal is sequentially processed as image data. The image data converted into a digital signal by the A / D converter 132 is temporarily stored in the internal memory 135 under the control of the memory control unit 133. The internal memory 135 is a random access memory that can be read and written at high speed. For example, a DRAM, an SRAM, or the like is used. The internal memory 135 serves as a buffer memory that waits for the order of image processing when image data is continuously generated at high speed in continuous shooting and moving image shooting.

また、内部メモリ135は、画像処理部136が行う画像処理、圧縮処理において、ワークメモリとしての役割も担う。更に、内部メモリ135は、所定の目的に即して加工処理された画像データを一時的に保管する役割も担う。したがって、内部メモリ135は、これらの役割を担うに相当する十分なメモリ容量を備える。メモリ制御部133は、いかなる作業にどれくらいのメモリ容量を割り当てるかを制御する。   The internal memory 135 also serves as a work memory in image processing and compression processing performed by the image processing unit 136. Furthermore, the internal memory 135 also plays a role of temporarily storing image data processed for a predetermined purpose. Therefore, the internal memory 135 has a sufficient memory capacity corresponding to these roles. The memory control unit 133 controls how much memory capacity is allocated to what work.

画像処理部136は、設定されている撮影モード、ユーザからの指示に則して、画像データを所定の画像フォーマットに従った画像ファイルに変換する。例えば、静止画像としてJPEGファイルを生成する場合、色変換処理、ガンマ処理、ホワイトバランス処理等の画像処理を行った後に適応離散コサイン変換等を施して圧縮処理を行う。また、動画像としてMPEGファイルを生成する場合、所定の画素数に縮小されて生成された連続する静止画としてのフレーム画像に対して、フレーム内符号化、フレーム間符号化を施して圧縮処理を行う。   The image processing unit 136 converts the image data into an image file according to a predetermined image format in accordance with the set shooting mode and an instruction from the user. For example, when a JPEG file is generated as a still image, image processing such as color conversion processing, gamma processing, and white balance processing is performed, and then adaptive discrete cosine conversion is performed to perform compression processing. Also, when an MPEG file is generated as a moving image, intra-frame coding and inter-frame coding are applied to a frame image as a continuous still image generated by reducing the number of pixels to a compression process. Do.

画像処理部136によって生成された静止画像ファイル、動画像ファイルは、メモリ制御部133の制御により、内部メモリ135から記録媒体IF137を介して、記録媒体150に記録される。記録媒体150は、フラッシュメモリ等により構成される、カメラ10に対して着脱可能な不揮発性メモリである。ただし、記録媒体150は、着脱式に限らず、カメラ10に内蔵される例えばSSDなどの記録媒体であっても良い。このとき、記録媒体150に記録された静止画像ファイル、動画像ファイルは、有線によるUSB、無線によるLAN等により外部へ出力される。   The still image file and the moving image file generated by the image processing unit 136 are recorded on the recording medium 150 from the internal memory 135 via the recording medium IF 137 under the control of the memory control unit 133. The recording medium 150 is a non-volatile memory that is configured with a flash memory or the like and is detachable from the camera 10. However, the recording medium 150 is not limited to a detachable type, and may be a recording medium such as an SSD built in the camera 10. At this time, the still image file and the moving image file recorded on the recording medium 150 are output to the outside through a wired USB, a wireless LAN, or the like.

画像処理部136で処理された画像データは、記録用に処理される画像データに並行して、表示用の画像データを生成する。表示用の画像データは、記録用に処理される画像データをコピーして間引き処理された、画素数の少ない画像データである。生成された表示用の画像データは、表示制御部138の制御に従って、タイミング発生部134からのクロック信号に同期するD/A変換器139でアナログ信号に変換されて、背面表示部12に表示される。記録の有無に関わらず、逐次表示用の画像データを生成して背面表示部12に表示すれば、ライブビュー機能を実現することができる。また、画像の表示と共に、もしくは画像を表示することなく、カメラ10の各種設定に関する様々なメニュー項目も、背面表示部12に表示することができる。   The image data processed by the image processing unit 136 generates display image data in parallel with the image data processed for recording. The display image data is image data with a small number of pixels, which has been thinned out by copying image data processed for recording. The generated image data for display is converted into an analog signal by the D / A converter 139 synchronized with the clock signal from the timing generator 134 under the control of the display controller 138 and displayed on the rear display unit 12. The Regardless of whether or not recording is performed, if live display image data is generated and displayed on the rear display unit 12, a live view function can be realized. Various menu items relating to various settings of the camera 10 can be displayed on the rear display unit 12 together with or without displaying an image.

また、画像処理部136は、撮像された被写体である人物の顔部の大きさを解析する解析部として機能する。具体的には、まず、画像処理部136は、表示用画像データの画像内における人物の顔部を検出する顔検出機能を実行する。そして、画像処理部136は、表示用画像データにおける顔部の画素単位の大きさを、人物の顔部の大きさとして演算する。画像処理部136は、解析結果を顔情報としてシステム制御部141へ送信する。顔情報には、顔部の位置、顔部の大きさ等の情報が含まれる。   In addition, the image processing unit 136 functions as an analysis unit that analyzes the size of the face of a person who is a captured subject. Specifically, first, the image processing unit 136 executes a face detection function for detecting a human face in an image of display image data. Then, the image processing unit 136 calculates the size of the face unit in the display image data as the size of the face of the person. The image processing unit 136 transmits the analysis result to the system control unit 141 as face information. The face information includes information such as the position of the face and the size of the face.

カメラ10は、上記の画像処理における各々の要素も含めて、システム制御部141により直接的または間接的に制御される。システム制御部141は、システムメモリ142を備える。システムメモリ142は、電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM(登録商標)等により構成される。システムメモリ142は、カメラ10の動作時に必要な定数、変数、プログラム等を、カメラ10の非動作時にも失われないように記録している。システム制御部141は、定数、変数、プログラム等を適宜内部メモリ135に展開して、カメラ10の制御に利用する。   The camera 10 is directly or indirectly controlled by the system control unit 141 including each element in the image processing described above. The system control unit 141 includes a system memory 142. The system memory 142 is an electrically erasable / recordable non-volatile memory, and is composed of, for example, an EEPROM (registered trademark). The system memory 142 records constants, variables, programs, and the like necessary when the camera 10 is operating so that they are not lost even when the camera 10 is not operating. The system control unit 141 appropriately expands constants, variables, programs, and the like in the internal memory 135 and uses them for controlling the camera 10.

光学系120を構成するズームレンズ121およびフォーカスレンズ122は、システム制御部141の統括制御のもと、ズーム制御部143およびフォーカス制御部144によってそれぞれ制御される。ズーム制御部143は、ユーザの指示に応じてズームレンズ121を駆動して、被写体像の画角を変更する。フォーカス制御部144は、連続して取得される画像データを用いたコントラストAFの情報を参照して、特定の領域の被写体像が撮像素子131の受光面上で合焦するように、フォーカスレンズ122を駆動する。ズームレンズ121の焦点距離の情報およびフォーカスレンズの位置情報は、システムメモリ142に記録される。   The zoom lens 121 and the focus lens 122 constituting the optical system 120 are respectively controlled by the zoom control unit 143 and the focus control unit 144 under the overall control of the system control unit 141. The zoom control unit 143 drives the zoom lens 121 according to a user instruction to change the angle of view of the subject image. The focus control unit 144 refers to the contrast AF information using continuously acquired image data, and focuses the focus lens 122 so that the subject image in a specific area is focused on the light receiving surface of the image sensor 131. Drive. Information on the focal length of the zoom lens 121 and position information on the focus lens are recorded in the system memory 142.

また、フォーカス制御部144は、上述の顔検出機能により人物の顔部が検出された場合に、当該顔部の被写体像が撮像素子131の受光面上で合焦するように、フォーカスレンズ122を駆動する。そして、システム制御部141は、ズームレンズ121の焦点距離およびフォーカスレンズ122の位置に応じて、当該人物までの距離を演算する。例えば、システム制御部141は、ズームレンズ121の焦点距離において被写体までの距離とフォーカスレンズ122の位置とが対応付けられた距離テーブルを参照して、フォーカスレンズ122の位置に対応する距離を当該人物までの距離として決定する。距離テーブルは、システムメモリ142に予め記録されている。本実施形態において、システム制御部141は、被写体である人物までの距離を取得する取得部として機能する。   Further, the focus control unit 144 controls the focus lens 122 so that the subject image of the face is focused on the light receiving surface of the image sensor 131 when the face of the person is detected by the face detection function described above. To drive. Then, the system control unit 141 calculates the distance to the person according to the focal length of the zoom lens 121 and the position of the focus lens 122. For example, the system control unit 141 refers to a distance table in which the distance to the subject and the position of the focus lens 122 are associated with each other at the focal length of the zoom lens 121, and determines the distance corresponding to the position of the focus lens 122 Determine as the distance to. The distance table is recorded in the system memory 142 in advance. In the present embodiment, the system control unit 141 functions as an acquisition unit that acquires a distance to a person who is a subject.

システム制御部141は、後述する顔部の基準大きさと距離との対応関係を示す情報を参照して、人物までの距離に対応する顔部の基準大きさを決定する。システム制御部141は、人物の顔部の大きさが基準大きさ未満である場合に、スピードライト11の発光を禁止するか、それともスピードライト11の発光量を低減するかを判断する。システム制御部141は、スピードライト11の発光を禁止させる場合には、発光制御部145へ発光制御信号を送信しない。一方、システム制御部141は、スピードライト11の発光量を低減する場合には、スピードライト11の発光量を予め定められた割合、例えば30%に制限する発光量制限信号を発光制御部145へ送信する。   The system control unit 141 determines the reference size of the face corresponding to the distance to the person with reference to information indicating a correspondence relationship between the reference size and distance of the face described later. The system control unit 141 determines whether to prohibit the light emission of the speedlight 11 or reduce the light emission amount of the speedlight 11 when the size of the human face is less than the reference size. The system control unit 141 does not transmit a light emission control signal to the light emission control unit 145 when prohibiting the light emission of the speedlight 11. On the other hand, when reducing the light emission amount of the speedlight 11, the system control unit 141 transmits a light emission amount restriction signal that restricts the light emission amount of the speedlight 11 to a predetermined ratio, for example, 30%, to the light emission control unit 145. .

発光制御部145は、レリーズスイッチ13のSW2が押下された場合に、システム制御部141からの制御信号に応じてスピードライト11の発光部材を駆動する。発光制御部145は、スピードライト11の発光を制限する発光制限部として機能する。具体的には、発光制御部145は、システム制御部141から発光制御信号を受信しない場合には、スピードライト11の発光部材を駆動しない。また、発光制御部145は、システム制御部141から発光量制限信号を受信した場合に、スピードライト11の発光量が予め定められた割合に制限されるように、発光部材を駆動する。   The light emission control unit 145 drives the light emitting member of the speedlight 11 in response to a control signal from the system control unit 141 when SW2 of the release switch 13 is pressed. The light emission control unit 145 functions as a light emission restriction unit that restricts light emission of the speedlight 11. Specifically, the light emission control unit 145 does not drive the light emitting member of the speedlight 11 when the light emission control signal is not received from the system control unit 141. Further, when the light emission control unit 145 receives a light emission amount restriction signal from the system control unit 141, the light emission control unit 145 drives the light emitting member so that the light emission amount of the speedlight 11 is limited to a predetermined ratio.

光学系120を構成するレンズシャッタ123は、システム制御部141の統括制御のもと、露光制御部146によってそれぞれ制御される。システム制御部141は、画像処理部136が処理した画像データを解析して露出値を演算する。露光制御部146は、システム制御部141が演算した露出値に示される絞り値およびシャッタスピードに応じて、レンズシャッタ123を駆動する。   The lens shutter 123 constituting the optical system 120 is controlled by the exposure control unit 146 under the overall control of the system control unit 141. The system control unit 141 analyzes the image data processed by the image processing unit 136 and calculates an exposure value. The exposure control unit 146 drives the lens shutter 123 according to the aperture value and the shutter speed indicated by the exposure value calculated by the system control unit 141.

カメラ10は、ユーザからの操作を受け付ける操作部材147を複数備えているが、システム制御部141は、これら操作部材147が操作されたことを検知し、操作に応じた動作を実行する。また、カメラ10は操作部材147の類として上述のレリーズスイッチ13を備える。レリーズスイッチ13は、押下げ方向に2段階に検知できる押しボタンで構成されている。システム制御部141は、レリーズスイッチ13の1段階目の押下げであるSW1の検知により撮影準備動作であるAF、AE等を実行する。そして、システム制御部141は、レリーズスイッチ13の2段階目の押下げであるSW2の検知により撮像素子131による被写体像の取得動作を実行する。   The camera 10 includes a plurality of operation members 147 that receive operations from the user, but the system control unit 141 detects that these operation members 147 have been operated, and executes an operation corresponding to the operation. Further, the camera 10 includes the release switch 13 described above as a kind of the operation member 147. The release switch 13 includes a push button that can be detected in two stages in the push-down direction. The system control unit 141 executes AF, AE, etc., which are shooting preparation operations, upon detection of SW1, which is the first depression of the release switch 13. Then, the system control unit 141 executes an object image acquisition operation by the image sensor 131 upon detection of SW2 that is the second depression of the release switch 13.

カメラ10は、電源160から電力供給を受ける。電源制御部148は、電源160と通信して残電力の検出、電力供給の監視を行う。電源160は、2次電池、家庭用AC電源等により構成される。   The camera 10 receives power supply from the power supply 160. The power supply control unit 148 communicates with the power supply 160 to detect remaining power and monitor power supply. The power source 160 includes a secondary battery, a household AC power source, and the like.

図3は、被写体の顔部の基準大きさと被写体までの距離との対応関係を示す参照テーブルを説明する図である。図3(a)の曲線200は、10歳児を基準被写体として焦点距離fmmで撮影した場合における、基準被写体までの距離に対する基準被写体の顔部の大きさを表す。基準被写体の顔部の大きさを顔部の基準大きさと称する。本実施形態において、顔部の基準大きさは、10歳児の顔部の実際の大きさに対する表示用画像データにおける顔部の画素単位の大きさである。なお、10歳児の顔部の実際の大きさは、統計的に算出された平均値が用いられる。 FIG. 3 is a diagram for explaining a reference table showing the correspondence between the reference size of the face portion of the subject and the distance to the subject. A curve 200 in FIG. 3A represents the size of the face portion of the reference subject with respect to the distance to the reference subject when a 10-year-old child is photographed with a focal length f 1 mm. The size of the face portion of the reference subject is referred to as the reference size of the face portion. In the present embodiment, the reference size of the face is the size of the face in pixel units in the display image data with respect to the actual size of the face of a 10-year-old child. Note that an average value calculated statistically is used as the actual size of the face of a 10-year-old child.

顔部の基準大きさは、曲線200が示すように、焦点距離が一定であれば、被写体までの距離に反比例する。また、顔部の基準大きさは、被写体までの距離が一定であれば、焦点距離に比例する。本実施形態において、複数の焦点距離の各々に対して、顔部の基準大きさと被写体までの距離との対応関係を示す参照テーブルが規定される。複数の焦点距離にそれぞれ対応する複数の参照テーブルは、実験的またはシミュレーション的に規定され、システムメモリ142に予め記録されている。   The reference size of the face is inversely proportional to the distance to the subject if the focal length is constant, as indicated by the curve 200. Further, the reference size of the face is proportional to the focal length if the distance to the subject is constant. In the present embodiment, for each of a plurality of focal lengths, a reference table indicating a correspondence relationship between the reference size of the face and the distance to the subject is defined. The plurality of reference tables respectively corresponding to the plurality of focal lengths are defined experimentally or simulationally and recorded in advance in the system memory 142.

次に、被写体が乳児である場合と大人である場合とを区別したスピードライトの発光制限処理について説明する。まず、システム制御部141は、ズームレンズ121の焦点距離に対応する参照テーブルをシステムメモリ142から取得する。次に、システム制御部141は、ズームレンズ121の焦点距離およびフォーカスレンズ122の位置に応じて、撮像された被写体である人物までの距離を演算する。そして、システム制御部141は、人物までの距離に対して設定された顔部の基準大きさを参照テーブルから抽出する。ここで、図3(a)に示すように、焦点距離をfmm、人物までの距離をDm、顔部の基準大きさをHピクセルとして以下説明する。 Next, a description will be given of the speedlight emission limiting process in which the subject is an infant and the adult is distinguished. First, the system control unit 141 acquires a reference table corresponding to the focal length of the zoom lens 121 from the system memory 142. Next, the system control unit 141 calculates the distance to the person who is the imaged subject in accordance with the focal length of the zoom lens 121 and the position of the focus lens 122. Then, the system control unit 141 extracts the reference size of the face part set for the distance to the person from the reference table. Here, as shown in FIG. 3A, the following description will be made assuming that the focal length is f 1 mm, the distance to the person is D 1 m, and the reference size of the face is H 1 pixel.

被写体が乳児である場合、表示用画像データにおける被写体の顔部の大きさは、10歳児の顔部に対する基準大きさより小さい。そこで、システム制御部141は、表示用画像データにおける被写体の顔部の大きさが距離Dmに対する顔部の基準大きさHピクセルより小さいHピクセルである場合に、スピードライト11の発光を禁止する制御信号を発光制御部145へ送信する。したがって、被写体が乳児である場合には自動でスピードライト11の閃光発光が禁止となり、メニュー画面等で予め発光禁止を設定したり乳児の画像をメモリに登録したりすることなく、乳児をまぶしい閃光から保護することができる。 When the subject is an infant, the size of the face of the subject in the display image data is smaller than the reference size for the face of a 10-year-old child. Therefore, the system control unit 141 emits the speedlight 11 when the face size of the subject in the display image data is H 2 pixels smaller than the reference size H 1 pixel of the face with respect to the distance D 1 m. A control signal to be prohibited is transmitted to the light emission control unit 145. Therefore, when the subject is an infant, the flashing of the speedlight 11 is automatically prohibited, and the infant is prevented from a bright flash without setting the flashing prohibition in advance on the menu screen or the like and registering the infant image in the memory. Can be protected.

一方、被写体が大人の場合、表示用画像データにおける被写体の顔部の大きさは、10歳児の顔部に対する基準大きさより大きい。そこで、システム制御部141は、表示用画像データにおける被写体の顔部の大きさが距離Dmに対する顔部の基準大きさHピクセルより大きいHピクセルである場合に、スピードライト11の発光を許可する制御信号を発光制御部145へ送信する。したがって、被写体が大人である場合には、通常どおりスピードライト11の閃光発光が行われる。 On the other hand, when the subject is an adult, the size of the face of the subject in the display image data is larger than the reference size for the face of a 10-year-old child. Therefore, the system control unit 141 emits the speedlight 11 when the size of the face of the subject in the display image data is H 3 pixels larger than the reference size H 1 pixel of the face with respect to the distance D 1 m. A control signal to be permitted is transmitted to the light emission control unit 145. Therefore, when the subject is an adult, the flashlight of the speedlight 11 is emitted as usual.

なお、カメラ10と被写体である人物との距離が近い場合には、被写体が大人であってもスピードライト11の閃光発光が眩しくて目がくらむことがある。そこで、システム制御部141は、人物までの距離が予め定められた距離Dm未満である場合には、表示用画像データにおける顔部の大きさに関わらず、スピードライト11の発光を禁止する。距離Dとして、スピードライト11の発光により大人が目をくらませる可能性のある距離、例えば1mが予め規定される。距離Dの情報は、システムメモリ142に記録されている。 If the distance between the camera 10 and the person who is the subject is short, even if the subject is an adult, the flashlight of the speedlight 11 may be dazzling and dizzy. Therefore, when the distance to the person is less than the predetermined distance D 0 m, the system control unit 141 prohibits the light emission of the speedlight 11 regardless of the size of the face portion in the display image data. As the distance D 0 , a distance at which an adult may be blinded by the light emitted from the speedlight 11, for example, 1 m is defined in advance. Information on the distance D 0 is recorded in the system memory 142.

上述の図3(a)の例においては1つの距離に1つの顔部の基準大きさを対応付けた。次に、1つの距離に複数の顔部の基準大きさを対応付けてスピードライトの発光制限処理を実行する例を、図3(b)を用いて説明する。   In the example of FIG. 3A described above, the reference size of one face is associated with one distance. Next, an example of executing the speedlight emission limiting process by associating a reference distance of a plurality of face portions with one distance will be described with reference to FIG.

第1曲線210は、1歳児を基準被写体として焦点距離fmmで撮影した場合における、基準被写体までの距離に対する基準被写体の顔部の大きさを表す。第2曲線220は、5歳児を基準被写体として焦点距離fmmで撮影した場合における、基準被写体までの距離に対する基準被写体の顔部の大きさを表す。第3曲線230は、10歳児を基準被写体として焦点距離fmmで撮影した場合における、基準被写体までの距離に対する基準被写体の顔部の大きさを表す。 The first curve 210 represents the size of the face portion of the reference subject relative to the distance to the reference subject when a one-year-old child is photographed at a focal length f 1 mm. The second curve 220 represents the size of the face portion of the reference subject relative to the distance to the reference subject when a five-year-old child is photographed at a focal length f 1 mm. The third curve 230 represents the size of the face portion of the reference subject relative to the distance to the reference subject when a 10-year-old child is photographed with a focal length f 1 mm.

システム制御部141は、表示用画像データにおける被写体の顔部の大きさが第1曲線210で規定する顔部の基準大きさ未満の場合、スピードライト11の発光を禁止する。また、システム制御部141は、表示用画像データにおける被写体の顔部の大きさが第1曲線210で規定する顔部の基準大きさ以上かつ第2曲線220で規定する顔部の基準大きさ未満の場合、スピードライト11の発光量を20%に制限する。   When the size of the face of the subject in the display image data is less than the reference size of the face defined by the first curve 210, the system control unit 141 prohibits the speedlight 11 from emitting light. In addition, the system control unit 141 has a face size of the subject in the display image data that is greater than or equal to the reference size of the face defined by the first curve 210 and less than the reference size of the face defined by the second curve 220. In this case, the light emission amount of the speedlight 11 is limited to 20%.

さらに、システム制御部141は、表示用画像データにおける被写体の顔部の大きさが第2曲線220で規定する顔部の基準大きさ以上かつ第3曲線230で規定する顔部の基準大きさ未満の場合、スピードライト11の発光量を50%に制限する。また、システム制御部141は、表示用画像データにおける被写体の顔部の大きさが第3曲線230で規定する顔部の基準大きさ以上の場合、スピードライト11の発光を許可する。   Further, the system control unit 141 has the face size of the subject in the display image data equal to or larger than the reference size of the face defined by the second curve 220 and less than the reference size of the face defined by the third curve 230. In this case, the light emission amount of the speedlight 11 is limited to 50%. Further, the system control unit 141 permits the speedlight 11 to emit light when the size of the face of the subject in the display image data is equal to or larger than the reference size of the face defined by the third curve 230.

このように1つの距離に複数の顔部の基準大きさを対応付けることにより、被写体である人物の年齢に応じたスピードライト11の発光量の制限を実行することができる。なお、図3(a)の例と同様に、システム制御部141は、被写体までの距離が予め定められた距離D0未満である場合には、表示用画像データにおける被写体の顔部の大きさに関わらず、スピードライト11の発光を禁止する。   In this way, by associating the reference sizes of a plurality of face portions with one distance, it is possible to limit the light emission amount of the speedlight 11 according to the age of the person who is the subject. As in the example of FIG. 3A, the system control unit 141 determines the size of the face of the subject in the display image data when the distance to the subject is less than the predetermined distance D0. Regardless, the light emission of the speedlight 11 is prohibited.

上述の実施形態では、被写体である人物を合焦状態である場合について説明したが、実際には被写体がカメラ10に接近し過ぎて被写体に合焦できない場合がある。そこで、システム制御部141は、フォーカス制御部144からフォーカス状況を示す情報を取得し、被写体の合焦状態を判定する。そして、システム制御部141は、最近接位置までフォーカスレンズ122を移動させても被写体を非合焦状態であると判定した場合に、スピードライト11の発光を制限する。これにより、人物がカメラ10に接近し過ぎた状態でレリーズスイッチ13が押下されても、当該人物が目をくらませることはない。本実施形態において、システム制御部141は、被写体の合焦状態を判定する判定部として機能する。   In the above-described embodiment, the case where the person who is the subject is in focus has been described. However, in reality, the subject may be too close to the camera 10 to focus on the subject. Therefore, the system control unit 141 acquires information indicating the focus state from the focus control unit 144 and determines the in-focus state of the subject. When the system control unit 141 determines that the subject is out of focus even when the focus lens 122 is moved to the closest position, the system control unit 141 limits the light emission of the speedlight 11. Thereby, even if the release switch 13 is pressed in a state where the person is too close to the camera 10, the person is not blinded. In the present embodiment, the system control unit 141 functions as a determination unit that determines the in-focus state of the subject.

システム制御部141は、被写体の色情報を加味して合焦状態を判定してもよい。具体的には、システム制御部141は、画像全体に対して予め定められた割合以上の人の肌に対する色が被写体の色に含まれている場合に、人物の接近に起因する非合焦状態であると判定する。予め定められた割合は、例えば30%である。そして、システム制御部141は、スピードライト11の発光を制限する。なお、実際の人の肌の色にばらつきがあることから、人の肌に対する色情報は、色の範囲の情報であってもよい。人の肌に対する色情報は、システムメモリ142に予め記録されている。   The system control unit 141 may determine the in-focus state in consideration of subject color information. Specifically, the system control unit 141 is in an out-of-focus state caused by the approach of a person when a color of the subject's skin that is greater than or equal to a predetermined ratio with respect to the entire image is included in the subject color. It is determined that The predetermined ratio is, for example, 30%. Then, the system control unit 141 limits the light emission of the speedlight 11. In addition, since there is variation in the color of the actual human skin, the color information for the human skin may be color range information. Color information for human skin is recorded in advance in the system memory 142.

人の肌の色は個人差があることから、特定の人物に対して発光制限を実行する場合には、システム制御部141は、特定の人物の肌に対する色情報をシステムメモリ142に登録してもよい。具体的には、まず、システム制御部141は、特定の人物を合焦している撮影画像の選択を、操作部材147で受け付ける。次に、システム制御部141は、選択された画像における人物の顔部の画像を抽出する。そして、システム制御部141は、抽出した画像のうち一番割合の多い色の情報を、特定の人物の肌に対する色情報としてシステムメモリ142へ登録する。なお、システムメモリ142に登録された色を登録色と称する。   Since the skin color of a person varies from person to person, the system control unit 141 registers color information for the skin of a specific person in the system memory 142 when performing light emission restriction on the specific person. Also good. Specifically, first, the system control unit 141 accepts selection of a captured image focusing on a specific person by the operation member 147. Next, the system control unit 141 extracts an image of a person's face in the selected image. Then, the system control unit 141 registers, in the system memory 142, color information having the largest proportion of the extracted images as color information for the skin of a specific person. The color registered in the system memory 142 is referred to as a registered color.

色情報の登録処理の具体例について図4を用いて説明する。図4は、人物20の顔部21の抽出画像である。システム制御部141は、図1(b)で示す人物20の撮影画像を撮影者が選択した場合、外周枠30に囲まれた顔部21の画像を抽出する。そして、システム制御部141は、抽出した顔部21の画像のうち、一番割合の多い色である領域300の色の情報を、人物20の肌に対する色情報としてシステムメモリ142に登録する。実際の人の肌の色にばらつきがあることから、登録色の情報は、色の範囲の情報であってもよい。   A specific example of color information registration processing will be described with reference to FIG. FIG. 4 is an extracted image of the face portion 21 of the person 20. When the photographer selects a photographed image of the person 20 shown in FIG. 1B, the system control unit 141 extracts an image of the face part 21 surrounded by the outer peripheral frame 30. Then, the system control unit 141 registers the color information of the region 300, which is the color with the highest ratio among the extracted images of the face unit 21, in the system memory 142 as color information for the skin of the person 20. Since the actual human skin color varies, the registered color information may be color range information.

システム制御部141は、画像全体に対して予め定められた割合以上の登録色が被写体の色に含まれている場合に、人物の接近に起因する非合焦状態であると判定する。予め定められた割合は、例えば30%である。そして、システム制御部141は、スピードライト11の発光を制限する。   The system control unit 141 determines that the subject is out of focus when the color of the subject includes more than a predetermined ratio of registered colors with respect to the entire image. The predetermined ratio is, for example, 30%. Then, the system control unit 141 limits the light emission of the speedlight 11.

図5は、本実施形態の撮影処理を示すフロー図である。本フローでは、図3(a)を用いて説明した発光制限処理を含む撮影処理を示す。本フローは、例えば、カメラ10の電源がオンになったときに開始される。本実施形態において、システム制御部141は、画像処理部136、フォーカス制御部144等と協働して本フローの処理を実行する。   FIG. 5 is a flowchart showing the photographing process of the present embodiment. This flow shows a photographing process including the light emission restriction process described with reference to FIG. This flow is started, for example, when the camera 10 is turned on. In the present embodiment, the system control unit 141 executes the processing of this flow in cooperation with the image processing unit 136, the focus control unit 144, and the like.

ステップS101では、システム制御部141は、ズームレンズ121の焦点距離の情報をシステムメモリ142から取得する。ステップS102では、システム制御部141は、上述したように、ズームレンズ121の焦点距離に対応する参照テーブルをシステムメモリ142から取得する。   In step S <b> 101, the system control unit 141 acquires information on the focal length of the zoom lens 121 from the system memory 142. In step S <b> 102, the system control unit 141 acquires a reference table corresponding to the focal length of the zoom lens 121 from the system memory 142 as described above.

ステップS103では、システム制御部141は、レリーズスイッチ13のSW1がオンになったか否かを検知する。システム制御部141は、SW1のオンを検知しない場合にはステップS101へ戻り、SW1のオンを検知した場合にはステップS104へ移行する。ステップS104では、画像処理部136は、上述の顔検出機能を実行し、顔部を検出した場合には表示用画像データにおける顔部の大きさを解析する。そして、システム制御部141は、顔部の位置、顔部の大きさ等の情報を含む顔情報を画像処理部136から取得する。   In step S103, the system control unit 141 detects whether SW1 of the release switch 13 is turned on. The system control unit 141 returns to step S101 when it does not detect that SW1 is turned on, and proceeds to step S104 when it detects that SW1 is turned on. In step S104, the image processing unit 136 executes the face detection function described above, and analyzes the size of the face in the display image data when the face is detected. Then, the system control unit 141 acquires face information including information such as the position of the face and the size of the face from the image processing unit 136.

ステップS105では、フォーカス制御部144は、上述したようにコントラストAFの情報を参照して合焦動作を実行する。フォーカス制御部144は、ステップS104において顔部の領域が検出されている場合には、顔部の領域の被写体像が撮像素子131の受光面上で合焦するように、フォーカスレンズ122を駆動する。ステップS106では、システム制御部141は、上述したようにズームレンズ121の焦点距離およびフォーカスレンズ122の位置に応じて、被写体である人物までの距離を演算する。なお、システム制御部141は、ステップS104において顔部が検出されなかった場合に、ステップS106の処理を実行しなくてもよい。   In step S105, the focus control unit 144 performs the focusing operation with reference to the contrast AF information as described above. When the face area is detected in step S104, the focus control unit 144 drives the focus lens 122 so that the subject image in the face area is focused on the light receiving surface of the image sensor 131. . In step S106, the system control unit 141 calculates the distance to the person who is the subject according to the focal length of the zoom lens 121 and the position of the focus lens 122 as described above. Note that the system control unit 141 does not have to execute the process of step S106 when no face is detected in step S104.

ステップS107では、システム制御部141は、画像処理部136が処理した画像データを解析して露出値を演算する。そして、ステップS108では、システム制御部141は、露出値に対応する被写体の明るさを考慮して、スピードライト11の発光が必要か否かを判断する。システム制御部141は、スピードライト11の発光が必要であると判断した場合にはステップS110へ移行し、スピードライト11の発光は不要であると判断した場合にはステップS113へ移行する。   In step S107, the system control unit 141 analyzes the image data processed by the image processing unit 136 and calculates an exposure value. In step S108, the system control unit 141 determines whether or not the speedlight 11 needs to emit light in consideration of the brightness of the subject corresponding to the exposure value. If the system control unit 141 determines that the light emission of the speedlight 11 is necessary, the system control unit 141 proceeds to step S110. If the system control unit 141 determines that the light emission of the speedlight 11 is not necessary, the system control unit 141 proceeds to step S113.

ステップS109では、システム制御部141は、図3(a)を用いて説明したように、ステップS102で取得した参照テーブルおよびステップS106で算出した距離に応じて、スピードライト11の発光を許可するか否かを判断する。システム制御部141は、スピードライト11の発光を許可すると判断した場合には、ステップS110へ移行してフラグfgを1に設定する。一方、システム制御部141は、スピードライト11の発光を禁止すると判断した場合には、ステップS111へ移行してフラグfgを0に設定する。なお、システム制御部141は、被写体を合焦状態であり且つステップS104において顔部が検出されていない場合には、ステップS110へ移行する。   In step S109, as described with reference to FIG. 3A, the system control unit 141 determines whether to allow the speedlight 11 to emit light according to the reference table acquired in step S102 and the distance calculated in step S106. Determine whether. If the system control unit 141 determines that the light emission of the speedlight 11 is permitted, the system control unit 141 proceeds to step S110 and sets the flag fg to 1. On the other hand, when the system control unit 141 determines that the light emission of the speedlight 11 is prohibited, the system control unit 141 proceeds to step S111 and sets the flag fg to 0. Note that the system control unit 141 proceeds to step S110 when the subject is in focus and the face is not detected in step S104.

ステップS112では、システム制御部141は、画像処理部136が処理した画像データを解析して露出値を再演算する。具体的には、システム制御部141は、ステップS109においてスピードライト11の発光を許可すると判断した場合には、スピードライト11の発光によって照射された被写体の明るさを考慮した露出値を再演算する。また、システム制御部141は、ステップS109においてスピードライト11の発光を禁止する場合には、ISO感度を上げて露出値を再演算する。   In step S112, the system control unit 141 analyzes the image data processed by the image processing unit 136 and recalculates the exposure value. Specifically, when the system control unit 141 determines in step S109 that the light emission of the speedlight 11 is permitted, the system control unit 141 recalculates the exposure value in consideration of the brightness of the subject irradiated by the light emission of the speedlight 11. Further, when the light emission of the speedlight 11 is prohibited in step S109, the system control unit 141 increases the ISO sensitivity and recalculates the exposure value.

システム制御部141は、ステップS108においてスピードライト11の発光は不要であると判断した場合に、ステップS113へ移行してフラグfgを0に設定する。ステップS114では、システム制御部141は、レリーズスイッチ13の2段階目の押下げであるSW2がオンになったか否かを検知する。システム制御部141は、SW2のオンを検知した場合には、ステップS115へ移行する。一方、システム制御部141は、SW1のオンを検知してから一定時間内、例えば5秒以内にSW2のオンを検知しなかった場合にはステップS101へ戻る。   If the system control unit 141 determines in step S108 that the light from the speedlight 11 is not required, the system control unit 141 proceeds to step S113 and sets the flag fg to 0. In step S <b> 114, the system control unit 141 detects whether SW <b> 2, which is the second-stage depression of the release switch 13, is turned on. If the system control unit 141 detects that SW2 is turned on, the system control unit 141 proceeds to step S115. On the other hand, if the system control unit 141 does not detect that SW2 is turned on within a predetermined time, for example, within 5 seconds after detecting that SW1 is turned on, the system control unit 141 returns to step S101.

ステップS115では、システム制御部141は、撮像素子131を電荷蓄積状態とする。そして、露光制御部146は、システム制御部141によって算出された露出値が示す絞り値およびシャッタスピードに応じて、レンズシャッタ123の駆動を開始する。ステップS116では、システム制御部141は、フラグfgが1に設定されているか否かを判断する。システム制御部141は、フラグfgが1に設定されている場合にはステップS117へ移行し、フラグfgが0に設定されている場合にはステップS118へ移行する。   In step S115, the system control unit 141 sets the image sensor 131 to a charge accumulation state. Then, the exposure control unit 146 starts driving the lens shutter 123 according to the aperture value and the shutter speed indicated by the exposure value calculated by the system control unit 141. In step S116, the system control unit 141 determines whether the flag fg is set to 1. The system control unit 141 proceeds to step S117 when the flag fg is set to 1, and proceeds to step S118 when the flag fg is set to 0.

ステップS117では、システム制御部141は、スピードライト11を発光させる制御信号を発光制御部145へ送信する。発光制御部145は、当該制御信号に応じてスピードライト11の発光部材を駆動して閃光発光させる。ステップS118では、露光制御部146は、レンズシャッタ123の駆動を終了する。   In step S <b> 117, the system control unit 141 transmits a control signal for causing the speedlight 11 to emit light to the light emission control unit 145. The light emission control unit 145 drives the light emitting member of the speedlight 11 according to the control signal to emit flash light. In step S118, the exposure control unit 146 ends the driving of the lens shutter 123.

ステップS119では、画像処理部136は、撮像素子131の出力から画像ファイルを生成し、画像ファイルを記録媒体150へ記録する。ステップS120では、システム制御部141は、カメラ10の電源がオフになったか否かを判断する。システム制御部141は、電源オンが継続されている場合にはステップS101へ戻り、電源がオフになったと判断した場合には本フローを終了する。   In step S 119, the image processing unit 136 generates an image file from the output of the image sensor 131 and records the image file on the recording medium 150. In step S120, the system control unit 141 determines whether or not the camera 10 is turned off. The system control unit 141 returns to step S101 when the power-on is continued, and ends this flow when it is determined that the power is off.

上述のフローでは、図3(a)を用いて説明した発光制限処理を含むが、これに代わって図3(b)を用いて説明した発光制限処理を適用することもできる。ステップS109において、システム制御部141は、スピードライト11の発光を禁止すると判断した場合にはフラグfgを0に設定し、スピードライト11の発光を許可すると判断した場合にはフラグfgを1に設定する。また、システム制御部141は、スピードライト11の発光量を20%に制限すると判断した場合にはフラグfgを2に設定し、スピードライト11の発光量を50%に制限すると判断した場合にはフラグfgを3に設定する。   Although the above-described flow includes the light emission restriction process described with reference to FIG. 3A, the light emission restriction process described with reference to FIG. 3B can be applied instead. In step S109, the system control unit 141 sets the flag fg to 0 when it is determined that the light emission of the speedlight 11 is prohibited, and sets the flag fg to 1 when it is determined that the light emission of the speedlight 11 is permitted. The system control unit 141 sets the flag fg to 2 when determining that the light emission amount of the speedlight 11 is limited to 20%, and sets the flag fg when determining that the light emission amount of the speedlight 11 is limited to 50%. Is set to 3.

そして、ステップS116において、システム制御部141は、フラグfgが1、2、3のいずれかであるか否かを判断する。ステップS117では、システム制御部141は、フラグfgが1である場合、スピードライト11を発光させる制御信号を発光制御部145へ送信する。発光制御部145は、当該制御信号に応じて、スピードライト11を100%の発光量で発光させる。   In step S116, the system control unit 141 determines whether the flag fg is any one of 1, 2, and 3. In step S117, when the flag fg is 1, the system control unit 141 transmits a control signal for causing the speedlight 11 to emit light to the light emission control unit 145. The light emission control unit 145 causes the speedlight 11 to emit light with a light emission amount of 100% according to the control signal.

また、システム制御部141は、フラグfgが2の場合、スピードライト11の発光量を20%に制限する発光制限信号を発光制御部145へ送信する。発光制御部145は、当該発光制限信号に応じて、スピードライト11を20%の発光量で発光させる。同様に、システム制御部141は、フラグfgが3の場合、スピードライト11の発光量を50%に制限する制御信号を発光制御部145へ送信する。発光制御部145は、当該発光制限信号に応じて、スピードライト11を50%の発光量で発光させる。   Further, when the flag fg is 2, the system control unit 141 transmits a light emission restriction signal for limiting the light emission amount of the speedlight 11 to 20% to the light emission control unit 145. The light emission control unit 145 causes the speedlight 11 to emit light with a light emission amount of 20% according to the light emission restriction signal. Similarly, when the flag fg is 3, the system control unit 141 transmits a control signal for limiting the light emission amount of the speedlight 11 to 50% to the light emission control unit 145. The light emission control unit 145 causes the speedlight 11 to emit light with a light emission amount of 50% in accordance with the light emission restriction signal.

上述の実施形態では、複数の焦点距離に対応する複数の参照テーブルが用いられたが、これに限らず、焦点距離および基準被写体までの距離を入力とし顔部の基準大きさを出力とする関数が用いられてもよい。当該関数は、実験的またはシミュレーション的に規定される。システム制御部141は、当該関数に焦点距離と被写体までの距離を代入し、顔部の基準大きさを演算する。   In the above-described embodiment, a plurality of reference tables corresponding to a plurality of focal lengths are used. However, the present invention is not limited to this, and a function that inputs the focal length and the distance to the reference subject and outputs the reference size of the face is output. May be used. The function is defined experimentally or simulationally. The system control unit 141 substitutes the focal length and the distance to the subject for the function, and calculates the reference size of the face.

上述の実施形態において、スピードライト11に発光制限処理を適用したが、これに限らず、被写体を照射する高輝度のLED照明部材に上述の発光制限処理を適用してもよい。被写体が乳児である場合に自動で高輝度のLED照明部材の照射が禁止となり、メニュー画面等で予め照射禁止を設定したり乳児の画像をメモリに登録したりすることなく、乳児をまぶしい高輝度の光から保護することができる。   In the above-described embodiment, the light emission restriction process is applied to the speedlight 11. However, the present invention is not limited thereto, and the above light emission restriction process may be applied to a high-luminance LED illumination member that irradiates the subject. When the subject is an infant, it is automatically prohibited to irradiate the high-brightness LED lighting member, and the high-brightness that brightens the infant without setting the irradiation prohibition in advance on the menu screen or registering the infant image in the memory. Can be protected from light.

上述の実施形態において、表示用画像データにおける顔部の画素単位の大きさを人物の顔部の大きさとしたが、これに限らない。システム制御部141は、表示用画像データにおける顔部に対応する撮像素子131の受光面上の被写体像の大きさに変換し、変換した被写体像の大きさを人物の顔部の大きさとしてもよい。この場合、顔部の基準大きさは、基準顔部に対応する撮像素子131の受光面上の被写体像の大きさとなる。撮像素子131の受光面上での顔部の大きさを用いることにより、撮像素子131のユニットが交換されて画素値が変更になっても、システム制御部141は、顔部の基準大きさを変更せずに上述の発光制限処理を実行することができる。   In the above-described embodiment, the size of the face unit in the display image data is the size of the face of the person, but is not limited thereto. The system control unit 141 converts the size of the subject image on the light receiving surface of the image sensor 131 corresponding to the face in the display image data, and the size of the converted subject image is the size of the face of the person. Good. In this case, the reference size of the face portion is the size of the subject image on the light receiving surface of the image sensor 131 corresponding to the reference face portion. By using the size of the face on the light receiving surface of the image sensor 131, the system control unit 141 sets the reference size of the face even if the unit of the image sensor 131 is changed and the pixel value is changed. The above-described light emission restriction process can be executed without change.

上述の実施形態において、システム制御部141は、顔検出機能で検出した顔部を用いて顔部の大きさを決定したが、これに限らない。システム制御部141は、表示用画像データから顔部の輪郭を抽出し、顔部の輪郭から顔部の大きさを決定してもよい。また、上述の実施形態において、顔部の長さが顔部の大きさとして用いられたが、顔部の幅、または顔部の長さ×顔部の幅が顔部の大きさとして用いられてもよい。   In the above-described embodiment, the system control unit 141 determines the size of the face part using the face part detected by the face detection function, but the present invention is not limited to this. The system control unit 141 may extract the outline of the face from the display image data and determine the size of the face from the outline of the face. In the above embodiment, the length of the face is used as the size of the face, but the width of the face or the length of the face × the width of the face is used as the size of the face. May be.

上述の実施形態において、システム制御部141は、フォーカスレンズ122の位置に応じて人物までの距離を演算したがこれに限らない。被写体との距離を計測する超音波センサ等の測距センサをカメラ10に設け、システム制御部141は、測距センサの出力に応じて被写体である人物までの距離を演算してもよい。   In the above-described embodiment, the system control unit 141 calculates the distance to the person according to the position of the focus lens 122, but is not limited thereto. A ranging sensor such as an ultrasonic sensor for measuring the distance to the subject may be provided in the camera 10, and the system control unit 141 may calculate the distance to the person who is the subject according to the output of the ranging sensor.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記の実施形態に記載の範囲には限定されない。上記の実施形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in said embodiment. It will be apparent to those skilled in the art that various modifications and improvements can be made to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that the output can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the description, and the drawings, even if it is described using “first”, “next”, etc. for convenience, it means that it is essential to carry out in this order. It is not a thing.

10 カメラ、11 スピードライト、12 背面表示部、13 レリーズスイッチ、20 人物、21 顔部、30 外周枠、110 光軸、120 光学系、121 ズームレンズ、122 フォーカスレンズ、123 レンズシャッタ、131 撮像素子、132 A/D変換器、133 メモリ制御部、134 タイミング発生部、135 内部メモリ、136 画像処理部、137 記録媒体IF、138 表示制御部、139 D/A変換器、141 システム制御部、142 システムメモリ、143 ズーム制御部、144 フォーカス制御部、145 発光制御部、146 露光制御部、147 操作部材、148 電源制御部、150 記録媒体、160 電源、200 曲線、210 第1曲線、220 第2曲線、230 第3曲線、300 領域 10 Camera, 11 Speedlight, 12 Rear display, 13 Release switch, 20 Person, 21 Face, 30 Outer frame, 110 Optical axis, 120 Optical system, 121 Zoom lens, 122 Focus lens, 123 Lens shutter, 131 Image sensor, 132 A / D converter, 133 memory control unit, 134 timing generation unit, 135 internal memory, 136 image processing unit, 137 recording medium IF, 138 display control unit, 139 D / A converter, 141 system control unit, 142 system Memory, 143 Zoom control unit, 144 Focus control unit, 145 Light emission control unit, 146 Exposure control unit, 147 Operation member, 148 Power supply control unit, 150 Recording medium, 160 Power supply, 200 Curve, 210 First curve, 220 Second curve 230 third curve, 300 Area

Claims (7)

撮像部と、
前記撮像部により撮像された被写体である人物の顔部の大きさを解析する解析部と、
前記人物までの距離を取得する取得部と、
前記大きさが前記距離に対して設定された第1の基準大きさ未満である場合に、前記被写体を照射する照射部の発光を、第1の基準大きさ以上である場合よりも小さい発光量とし、前記大きさが前記第1の基準大きさよりも小さい第2の基準大きさ未満である場合に、前記照射部の発光を前記発光量よりも小さくする発光制限部と
を備える撮像装置。
An imaging unit;
An analysis unit that analyzes the size of the face of a person that is a subject imaged by the imaging unit;
An acquisition unit for acquiring a distance to the person;
When the magnitude is less than a first reference magnitude set with respect to the distance , the emission amount of the irradiation unit that irradiates the subject is smaller than the first reference magnitude. An imaging apparatus comprising: a light emission limiting unit configured to reduce light emission of the irradiation unit to be smaller than the light emission amount when the size is less than a second reference size smaller than the first reference size .
前記発光制限部は、前記距離が予め定められた基準距離未満である場合には、前記大きさに関わらず、前記照射部の発光を禁止する請求項1に記載の撮像装置。 The imaging apparatus according to claim 1, wherein the light emission restriction unit prohibits light emission of the irradiation unit regardless of the size when the distance is less than a predetermined reference distance. 前記被写体の合焦状態を判定する判定部を備え、
前記発光制限部は、前記判定部が前記被写体を非合焦状態と判定した場合には、前記照射部の発光を制限する請求項1または2に記載の撮像装置。
A determination unit for determining the in-focus state of the subject;
The imaging device according to claim 1, wherein the light emission restriction unit restricts light emission of the irradiation unit when the determination unit determines that the subject is out of focus.
前記判定部は、前記被写体の色情報を加味して前記合焦状態を判定する請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein the determination unit determines the in-focus state in consideration of color information of the subject. 前記判定部は、予め登録された色情報に基づいて前記合焦状態を判定する請求項4に記載の撮像装置。   The imaging device according to claim 4, wherein the determination unit determines the in-focus state based on color information registered in advance. 前記発光制限部は、前記大きさが前記第2の基準大きさ未満である場合に、前記照射部の発光を禁止する請求項1から5のいずれか1項に記載の撮像装置。 The imaging device according to claim 1, wherein the light emission restriction unit prohibits light emission of the irradiation unit when the size is less than the second reference size . 撮像ステップと、
前記撮像ステップにより撮像された被写体である人物の顔部の大きさを解析する解析ステップと、
前記人物までの距離を取得する取得ステップと、
前記大きさが前記距離に対して設定された第1の基準大きさ未満である場合に、前記被写体を照射する照射部の発光を、第1の基準大きさ以上である場合よりも小さい発光量とし、前記大きさが前記第1の基準大きさよりも小さい第2の基準大きさ未満である場合に、前記照射部の発光を前記発光量よりも小さくする発光制限ステップと
をコンピュータに実行させる撮像装置の制御プログラム。
Imaging step;
An analysis step of analyzing the size of the face of the person who is the subject imaged in the imaging step;
An acquisition step of acquiring a distance to the person;
When the magnitude is less than a first reference magnitude set with respect to the distance , the emission amount of the irradiation unit that irradiates the subject is smaller than the first reference magnitude. When the magnitude is less than a second reference magnitude that is smaller than the first reference magnitude, an image that causes a computer to execute a light emission limiting step of making the emission of the irradiation unit smaller than the emission quantity Device control program.
JP2012060036A 2012-03-16 2012-03-16 IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM Active JP5949005B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012060036A JP5949005B2 (en) 2012-03-16 2012-03-16 IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012060036A JP5949005B2 (en) 2012-03-16 2012-03-16 IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM

Publications (2)

Publication Number Publication Date
JP2013195500A JP2013195500A (en) 2013-09-30
JP5949005B2 true JP5949005B2 (en) 2016-07-06

Family

ID=49394567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012060036A Active JP5949005B2 (en) 2012-03-16 2012-03-16 IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM

Country Status (1)

Country Link
JP (1) JP5949005B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3044144B2 (en) * 1992-12-25 2000-05-22 キヤノン株式会社 camera
JP4551295B2 (en) * 2005-08-11 2010-09-22 富士フイルム株式会社 Imaging device
JP4554529B2 (en) * 2006-02-06 2010-09-29 富士フイルム株式会社 Imaging device
JP5421691B2 (en) * 2009-08-18 2014-02-19 キヤノン株式会社 Focus adjustment device and focus adjustment method

Also Published As

Publication number Publication date
JP2013195500A (en) 2013-09-30

Similar Documents

Publication Publication Date Title
JP6321145B2 (en) Ranging device, ranging method, and ranging program
JP2008122534A (en) Imaging apparatus, control method and program therefor
US8294785B2 (en) Method for adjusting photosensitiveness of digital camera
JP2006270218A (en) Electronic camera and electronic camera system
JP2008070611A (en) Imaging apparatus, exposure condition adjustment method and program
JP5052263B2 (en) Image processing apparatus and image processing method
JP2010259088A (en) Imaging apparatus
JP2014137482A (en) Photographing device and photographing illumination device
US7679653B2 (en) Digital image acquisition arranged to acquire image data related to different light configurations
WO2016203536A1 (en) Calculation method, calculation program, and imaging device
JP2010154438A (en) Photographic apparatus and control method therefor
JP5949005B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM
JP2008099101A (en) Digital camera and control method thereof
JP2008172732A (en) Imaging apparatus, control method thereof, and program
JP6123162B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM
JP2007228532A (en) Imaging apparatus and program therefor
JP2012178666A (en) Imaging apparatus
JP2010078631A (en) Imaging apparatus and program
JP2009002789A (en) Portable measuring device, and measuring method using the same
JP6779753B2 (en) Imaging system, imaging device, and its control method
JP7158880B2 (en) IMAGING DEVICE, CONTROL METHOD THEREOF, AND CONTROL PROGRAM
JP2008242054A (en) Stroboscope control method and stroboscope controller for camera
JP2007104586A (en) Non-interlocking automatic system processing device for compound eye photographing device
JP2008249956A (en) Camera with projection function
JP2020098314A (en) Imaging device, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160324

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160523

R150 Certificate of patent or registration of utility model

Ref document number: 5949005

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250