JP2010154306A - Device, program and method for imaging control - Google Patents

Device, program and method for imaging control Download PDF

Info

Publication number
JP2010154306A
JP2010154306A JP2008330936A JP2008330936A JP2010154306A JP 2010154306 A JP2010154306 A JP 2010154306A JP 2008330936 A JP2008330936 A JP 2008330936A JP 2008330936 A JP2008330936 A JP 2008330936A JP 2010154306 A JP2010154306 A JP 2010154306A
Authority
JP
Japan
Prior art keywords
imaging
subject distance
subject
image
distance distribution
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.)
Withdrawn
Application number
JP2008330936A
Other languages
Japanese (ja)
Inventor
Takeshi Ioka
健 井岡
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2008330936A priority Critical patent/JP2010154306A/en
Publication of JP2010154306A publication Critical patent/JP2010154306A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain images with an imaging parameter optimally set to each of a plurality of objects without detecting a feature part of each object. <P>SOLUTION: An object distance distribution representing a distribution of object distances showing distances from an imaging system to the objects is calculated based on obtained images by an object distance distribution calculation unit 13; an imaging parameter in imaging the object is determined based on the object distance distribution by an imaging parameter decision unit 14; and the imaging system is controlled by an imaging control unit 15 so that the object is imaged using the determined imaging parameter. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、デジタルカメラ等の撮像装置を制御する撮像制御装置、撮像制御プログラム及び撮像制御方法に関する。   The present invention relates to an imaging control apparatus that controls an imaging apparatus such as a digital camera, an imaging control program, and an imaging control method.

従来、人物を含む被写体を撮像する場合、画面内の被写体の顔領域を検出して、更に主要被写体となる人物の顔を判定して、その人物が最適な撮像状態となるように、カメラの焦点や露出、フラッシュ光量などを制御して撮像する方法が提案されている。   Conventionally, when imaging a subject including a person, the face area of the subject in the screen is detected, and the face of the person who is the main subject is further determined, so that the person is in an optimal imaging state. A method of imaging by controlling the focus, exposure, flash light amount, and the like has been proposed.

例えば、人物の顔にピントを合わせると同時に、露出も顔の明るさに合わせる機能を備えたデジタルカメラが既に発売されている。   For example, a digital camera that has a function of focusing on the face of a person and adjusting the exposure to the brightness of the face has already been released.

更に、特許文献1では、予めプリ撮像を行って取得した補助画像から被写体の特徴部を検出し、特徴部が複数検出された場合、焦点または露出を複数の特徴部にそれぞれ合わせて、本撮像として被写体を複数回撮像させるデジタルカメラが開示されている。実施形態においては、取得された画像から人物の顔を認識し、それぞれの顔に焦点を合わせたり、露出を合わせたりして、複数回撮像する技術と、撮像した複数の画像を1枚の画像に合成する技術が開示されている。
特開2007−259004号公報
Further, in Patent Document 1, when a feature portion of a subject is detected from an auxiliary image acquired by performing pre-imaging in advance, and a plurality of feature portions are detected, the focus or exposure is adjusted to each of the plurality of feature portions to perform main imaging. A digital camera that images a subject multiple times is disclosed. In the embodiment, a technique for recognizing a person's face from the acquired images, focusing on each face, adjusting exposure, and imaging a plurality of times, and a plurality of captured images as one image A technique for synthesizing is disclosed.
JP 2007-259004 A

しかし、従来技術も又は上記特許文献1で開示されている技術も、被写体となる人物の顔を検出する必要があるため、主要被写体が人物でない場合や、人物だけではない場合に適用できない。   However, since the conventional technique or the technique disclosed in Patent Document 1 needs to detect the face of a person serving as a subject, it cannot be applied when the main subject is not a person or not only a person.

本発明は、上記の点に鑑みてなされたもので、被写体の特徴部、つまり人物の顔などを検出することなく、複数の被写体のそれぞれに対して撮像パラメータを最適に設定した画像を得ることができる撮像制御装置、撮像制御プログラム及び撮像制御方法を提供することを目的とする。   The present invention has been made in view of the above points, and obtains an image in which imaging parameters are optimally set for each of a plurality of subjects without detecting a feature of the subject, that is, a human face. It is an object to provide an imaging control apparatus, an imaging control program, and an imaging control method capable of performing the above.

本発明の撮像制御装置の一態様は、
撮像系を介して被写体を写した画像を取得する取得部と、
前記取得された画像をもとに、前記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出する被写体距離分布算出部と、
前記被写体距離分布をもとに、撮像時の撮像パラメータを決定する撮像パラメータ決定部と、
前記決定された撮像パラメータを用いて撮像せしめるよう前記撮像系を制御する撮像制御部と、
を備えることを特徴とする。
また、本発明の撮像制御プログラムの一態様は、
撮像系を介して被写体を写した画像を取得するステップと、
前記取得された画像をもとに、前記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出するステップと、
前記被写体距離分布をもとに、撮像時の撮像パラメータを決定するステップと、
前記決定された撮像パラメータを用いて撮像せしめるよう前記撮像系を制御するステップと、
をコンピュータに発揮させることを特徴とする。
そして、本発明の撮像制御方法の一態様は、
撮像系を介して被写体を写した画像を取得し、
前記取得された画像をもとに、前記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出し、
前記被写体距離分布をもとに、撮像時の撮像パラメータを決定し、
前記決定された撮像パラメータを用いて撮像せしめるよう前記撮像系を制御する、
ことを特徴とする。
これらの態様によれば、例えば、予め取得された画像から、被写体の距離分布を算出し、それをもとに撮像パラメータを最適に設定して撮像を行うので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定して撮像された画像を得ることができるようになる。
One aspect of the imaging control device of the present invention is:
An acquisition unit that acquires an image of the subject through the imaging system;
A subject distance distribution calculating unit that calculates a subject distance distribution representing a distribution of a subject distance indicating a distance from the imaging system to the subject based on the acquired image;
An imaging parameter determination unit that determines imaging parameters at the time of imaging based on the subject distance distribution;
An imaging control unit that controls the imaging system so as to perform imaging using the determined imaging parameter;
It is characterized by providing.
Also, one aspect of the imaging control program of the present invention is:
Obtaining an image of a subject through an imaging system;
Calculating a subject distance distribution representing a subject distance distribution indicating a distance from the imaging system to the subject based on the acquired image;
Determining imaging parameters at the time of imaging based on the subject distance distribution;
Controlling the imaging system to image using the determined imaging parameters;
It is characterized by having a computer exhibit.
And one aspect of the imaging control method of the present invention is:
Obtain an image of the subject through the imaging system,
Based on the acquired image, calculate a subject distance distribution representing a subject distance distribution indicating a distance from the imaging system to the subject,
Based on the subject distance distribution, determine imaging parameters at the time of imaging,
Controlling the imaging system to capture an image using the determined imaging parameter;
It is characterized by that.
According to these aspects, for example, a distance distribution of a subject is calculated from an image acquired in advance, and imaging is performed by optimally setting imaging parameters based on the calculated distance distribution. Instead, it is possible to obtain an image captured by optimally setting imaging parameters for each of a plurality of subjects.

本発明によれば、被写体の特徴部、つまり人物の顔などを検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定して撮像された画像を得ることができる撮像制御装置、撮像制御プログラム及び撮像制御方法を提供することができる。   According to the present invention, an imaging control apparatus capable of obtaining an image captured by optimally setting imaging parameters for each of a plurality of subjects without detecting a feature of the subject, that is, a human face. An imaging control program and an imaging control method can be provided.

以下、本発明を実施するための最良の形態を図面を参照して説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

[第1実施形態]
図1は、本発明の撮像制御装置の第1実施形態が適用されたデジタルカメラ10の構成図である。
[First Embodiment]
FIG. 1 is a configuration diagram of a digital camera 10 to which the first embodiment of the imaging control apparatus of the present invention is applied.

このデジタルカメラ10は、撮像部11、画像取得部12、被写体距離分布算出部13、撮像パラメータ決定部14、撮像制御部15、発光部16、及び画像合成部17を有する。これら画像取得部12、被写体距離分布算出部13、撮像パラメータ決定部14、撮像制御部15及び画像合成部17は、CPU等で構成された図示しないカメラ制御部により、その動作が制御されるようになっている。なお、本明細書においては、上記撮像部11と上記発光部16とを合わせて撮像系と称する。   The digital camera 10 includes an imaging unit 11, an image acquisition unit 12, a subject distance distribution calculation unit 13, an imaging parameter determination unit 14, an imaging control unit 15, a light emitting unit 16, and an image composition unit 17. The operations of the image acquisition unit 12, the subject distance distribution calculation unit 13, the imaging parameter determination unit 14, the imaging control unit 15, and the image synthesis unit 17 are controlled by a camera control unit (not shown) configured by a CPU or the like. It has become. In the present specification, the imaging unit 11 and the light emitting unit 16 are collectively referred to as an imaging system.

撮像部11は、撮像レンズ111、絞り112、イメージセンサ113などを有し、図示しないカメラ制御部からの制御による撮像制御部15の制御に従って、被写体像を電気信号に変換して画像を得る。画像取得部12は、特に図示はしていないが画像の一時保存用のバッファメモリを備え、上記撮像部11で得た画像を取得して、それを該バッファメモリに一時保存する。なお、この画像の取得は、例えば図示しないシャッタ釦の半押しによるプリ撮像時と、シャッタ釦の全押しによる本撮像時に行われる。ここで、プリ撮像時と本撮像時は、互いに略同一の被写体を含む視野範囲を撮像するものとして、以下、説明する。また、本明細書において、プリ撮像時に取得した画像と本撮像時に取得した画像とを区別するために、プリ撮像時の取得画像を「取得された画像」、本撮像時の取得画像を「撮像された画像」とそれぞれ称する。上記本撮像時に画像取得部12によって取得されて不図示バッファメモリに一時保存された上記撮像された画像は、不図示カメラ制御部により、上記バッファメモリから読み出されて図示しない記録媒体に記録される。   The imaging unit 11 includes an imaging lens 111, a diaphragm 112, an image sensor 113, and the like, and obtains an image by converting a subject image into an electrical signal according to control of the imaging control unit 15 by control from a camera control unit (not shown). Although not particularly illustrated, the image acquisition unit 12 includes a buffer memory for temporarily storing an image, acquires the image obtained by the imaging unit 11, and temporarily stores it in the buffer memory. Note that this image acquisition is performed, for example, at the time of pre-imaging by half-pressing a shutter button (not shown) and at the time of actual imaging by fully pressing the shutter button. Here, in the pre-imaging and the main imaging, the following description will be made assuming that the visual field range including substantially the same subject is captured. Further, in this specification, in order to distinguish between an image acquired at the time of pre-imaging and an image acquired at the time of main imaging, the acquired image at the time of pre-imaging is referred to as “acquired image”, and the acquired image at the time of main imaging is referred to as “imaging”. Respectively referred to as “compressed images”. The captured image acquired by the image acquisition unit 12 during the main imaging and temporarily stored in a buffer memory (not shown) is read from the buffer memory and recorded on a recording medium (not shown) by a camera control unit (not shown). The

一方、上記本撮像に先立って行われるプリ撮像時に上記画像取得部12によって取得されて不図示バッファメモリに一時保存された上記取得された画像は、不図示カメラ制御部の制御により、被写体距離分布算出部13によって読み出され、該被写体距離分布算出部13は、その取得された画像をもとに、上記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出する。撮像パラメータ決定部14は、上記被写体距離分布算出部13によって算出した上記被写体距離分布をもとに、本撮像時の撮像パラメータを決定する。撮像制御部15は、上記撮像パラメータ決定部14によって決定された上記撮像パラメータを用いて上記撮像部11に本撮像せしめるよう制御する。なお、上記撮像パラメータ決定部14が複数の撮像パラメータを決定した場合には、撮像制御部15は、それら決定された撮像パラメータごとに順次、その撮像パラメータのそれぞれを用いて本撮像せしめるよう上記撮像部11を制御することで、上記撮像部11に複数枚の画像を連写させる。それら本撮像によって得られた複数枚の画像は上記画像取得部12によって撮像された画像として取得され、不図示バッファメモリに一時保存される。画像合成部17は、そのバッファメモリに一時保存された上記複数枚の撮像された画像を1枚の画像に合成する。   On the other hand, the acquired image acquired by the image acquisition unit 12 and temporarily stored in a buffer memory (not shown) at the time of pre-imaging performed prior to the main imaging is subject distance distribution under the control of a camera control unit (not shown). Read by the calculation unit 13, the subject distance distribution calculation unit 13 calculates a subject distance distribution representing a subject distance distribution indicating the distance from the imaging system to the subject based on the acquired image. The imaging parameter determination unit 14 determines imaging parameters at the time of actual imaging based on the subject distance distribution calculated by the subject distance distribution calculation unit 13. The imaging control unit 15 controls the imaging unit 11 to perform actual imaging using the imaging parameter determined by the imaging parameter determination unit 14. Note that when the imaging parameter determination unit 14 determines a plurality of imaging parameters, the imaging control unit 15 sequentially performs the actual imaging for each of the determined imaging parameters using the imaging parameters. By controlling the unit 11, the image capturing unit 11 continuously captures a plurality of images. A plurality of images obtained by the main imaging are acquired as images captured by the image acquisition unit 12 and temporarily stored in a buffer memory (not shown). The image synthesizing unit 17 synthesizes the plurality of captured images temporarily stored in the buffer memory into one image.

上記被写体距離分布算出部13が不図示バッファメモリに一時記憶されている予め取得された画像から被写体の距離分布を算出する方法としては、例えば、M. Subbarao and G. Surya, ”Depth from Defocus: A Spatial Domain Approach,” International Journal of Computer Vision, Vol. 13, No. 3, pp. 271−294, 1994.に開示されているDepth from Defocus(DFD)方式が考えられる。DFD方式では、撮像レンズ111の制御によりぼけの異なる複数の画像を予めCCDやCMOSなどのイメージセンサ113で捉え、各画像間のぼけの相関量を示すパラメータを所定の画素毎に算出し、そのパラメータと予め対応させてある被写体距離のテーブルを参照することで対象画素の被写体距離の算出を行うことができる。   As a method for calculating the subject distance distribution from the previously acquired image temporarily stored in the buffer memory (not shown), the subject distance distribution calculating unit 13 is, for example, Subbarao and G.M. Surya, “Depth from Defocus: A Spatial Domain Approach,” International Journal of Computer Vision, Vol. 13, no. 3, pp. 271-294, 1994. Depth from Defocus (DFD) method disclosed in Japanese Patent Application No. H7-260707 is conceivable. In the DFD method, a plurality of images with different blurs are captured in advance by an image sensor 113 such as a CCD or a CMOS under the control of the imaging lens 111, and a parameter indicating the correlation amount of blur between the images is calculated for each predetermined pixel. The subject distance of the target pixel can be calculated by referring to a subject distance table previously associated with the parameter.

従って、被写体距離分布算出部13は、このDFD方式により上記取得された画像の画素毎の被写体距離を求めて、被写体距離と、その被写体距離を有する画素の総数である画素数との対応関係の分布を上記被写体距離分布として算出する。図2は、この算出した被写体距離分布の一例を示す図である。横軸(X軸)は被写体距離、縦軸(Y軸)は画素の数を表している。つまり、被写体距離と画素の数のヒストグラムとなっている。図2の被写体距離分布を見ると、ピークが2つ有り、そのピーク値の画素数に対応付けられた距離Aと距離Bにそれぞれ主要被写体があることが判別できる。   Accordingly, the subject distance distribution calculation unit 13 obtains the subject distance for each pixel of the acquired image by this DFD method, and the correspondence relationship between the subject distance and the number of pixels that is the total number of pixels having the subject distance is obtained. The distribution is calculated as the subject distance distribution. FIG. 2 is a diagram showing an example of the calculated subject distance distribution. The horizontal axis (X axis) represents the subject distance, and the vertical axis (Y axis) represents the number of pixels. That is, it is a histogram of the subject distance and the number of pixels. From the subject distance distribution of FIG. 2, it can be determined that there are two peaks and that there are main subjects at distance A and distance B associated with the number of pixels of the peak value.

上記撮像制御部15は、被写体距離分布算出部13で算出した被写体距離分布により表されるピーク値の画素数に対応付けられた被写体距離、図2の例では距離A,B、を用いて、撮像パラメータを決定する。本第1実施形態では、撮像パラメータは、上記撮像部11による撮像時の焦点距離であるとする。   The imaging control unit 15 uses the subject distance associated with the number of pixels of the peak value represented by the subject distance distribution calculated by the subject distance distribution calculation unit 13, the distances A and B in the example of FIG. Determine imaging parameters. In the first embodiment, the imaging parameter is a focal length at the time of imaging by the imaging unit 11.

例えば、プリ撮像時に取得された画像に基づいて算出された、ピーク値の画素数に対応付けられた被写体距離が5mと10mの場合、撮像制御部15は、被写体距離5mにピントが合う焦点距離を第1の焦点距離、被写体距離10mにピントが合う距離を第2の焦点距離として、合計2回の本撮像を順次行うよう撮像部11を制御する。詳細は後述するが、これにより、5mにピントが合った画像と10mにピントが合った撮像された画像をそれぞれ取得でき、それらを一つの画像に合成すれば、5mと10mのそれぞれにピントが合った一つの合成画像を生成できる。   For example, when the subject distances associated with the number of pixels of the peak value calculated based on the image acquired at the time of pre-imaging are 5 m and 10 m, the imaging control unit 15 has a focal length that focuses on the subject distance 5 m. Is the first focal length, and the distance that focuses on the subject distance of 10 m is the second focal length. Although details will be described later, it is possible to acquire an image focused on 5 m and a captured image focused on 10 m, respectively, and if they are combined into one image, each of 5 m and 10 m is focused. One combined image can be generated.

図3は、本実施形態におけるデジタルカメラ10の図示しないカメラ制御部によって制御される一連の処理のフローチャートを示す図である。   FIG. 3 is a flowchart illustrating a series of processes controlled by a camera control unit (not shown) of the digital camera 10 according to the present embodiment.

本実施形態におけるデジタルカメラ10を使って連写合成写真を撮像するとき、まず、所定のメニュー操作等に応じて、図示しないカメラ制御部は、該デジタルカメラ10の動作モードを連写合成モードに設定する(ステップS11)。   When a continuous shooting composite photograph is taken using the digital camera 10 in the present embodiment, first, in response to a predetermined menu operation or the like, a camera control unit (not shown) changes the operation mode of the digital camera 10 to the continuous shooting combining mode. Set (step S11).

そして、この連写合成モードでは、図示しないシャッタ釦が半押しされた状態を検出すると(ステップS12)、図示しないカメラ制御部は、プリ撮像を行わせる。即ち、予め記憶されている撮像パラメータ、この場合は複数の焦点の情報を撮像制御部15に与えて、撮像部11により複数枚のボケの異なる画像を得、画像取得部12にそれらを取得された画像として取得させ、図示しないバッファメモリに一時記憶させる(ステップS13)。なおこのとき、上記カメラ制御部は、図示しない測光回路の出力により発光部16の発光の要否を判定し、発光が必要な場合には、上記予め記憶されている撮像パラメータとして、予め記憶されている光量の情報を撮像制御部15に与えて、発光部16を発光させることも行う。ここで、例えば、被写体距離が大きいほど大きな値の発光量を示す光量の情報が被写体距離に予め対応づけられて記憶されていてもよいが、これに限られない。その後、上記カメラ制御部は、被写体距離分布算出部13に、上記不図示バッファメモリより上記取得されたボケの異なる画像を読み出させ、これらのボケの異なる画像からDFD法によって、被写体距離分布を算出させる(ステップS14)。即ち、このステップS14は、撮像系を介して被写体を写した画像を取得するステップと、それら取得された画像をもとに被写体距離分布を算出するステップとの2つのステップに対応する。   In this continuous shooting composition mode, when a state in which a shutter button (not shown) is half-pressed is detected (step S12), a camera control unit (not shown) performs pre-imaging. That is, imaging parameters stored in advance, in this case, information on a plurality of focal points are given to the imaging control unit 15, a plurality of images with different blurs are obtained by the imaging unit 11, and these are acquired by the image acquisition unit 12. Obtained as an image and temporarily stored in a buffer memory (not shown) (step S13). At this time, the camera control unit determines whether or not the light emitting unit 16 needs to emit light based on an output of a photometric circuit (not shown). If light emission is necessary, the camera control unit is stored in advance as the imaging parameter stored in advance. The information on the amount of light being supplied is given to the imaging control unit 15 to cause the light emitting unit 16 to emit light. Here, for example, information on the amount of light indicating a larger amount of light emission as the subject distance is larger may be stored in association with the subject distance in advance, but is not limited thereto. After that, the camera control unit causes the subject distance distribution calculation unit 13 to read out the images with different blurs obtained from the buffer memory (not shown), and calculate the subject distance distribution from these different blur images by the DFD method. Calculate (step S14). That is, this step S14 corresponds to two steps: a step of acquiring an image showing a subject through the imaging system, and a step of calculating a subject distance distribution based on the acquired image.

ここで、例えば図2に示された被写体距離分布が算出されると、距離Aと距離B前後に主要被写体が存在することが判別できるため、上記カメラ制御部は、撮像パラメータ決定部14に、本撮像のための2つの焦点を決定させる(ステップS15)。 Here, for example, when the subject distance distribution shown in FIG. 2 is calculated, it can be determined that the main subject exists before and after the distance A and the distance B. Therefore, the camera control unit Two focal points for main imaging are determined (step S15).

その後、図示しないシャッタ釦が全押しされた状態が検出されると(ステップS16)、図示しないカメラ制御部は、撮像パラメータ決定部14に上記ステップS15で決定した2つの焦点の情報を撮像制御部15に入力させる(ステップS17)。撮像制御部15は、この入力された複数の焦点に撮像部11を制御し、2枚の焦点の異なる画像を連写させる(ステップS18)。こうして連写して撮像された2枚の焦点の異なる画像は、撮像された画像として画像取得部12によって取得されて、不図示バッファメモリに一時保存される。その後、上記カメラ制御部は、画像合成部17により、上記不図示バッファメモリに保存されている2枚の焦点の異なる撮像された画像を1枚の画像に合成させ(ステップS19)、得られた合成画像を図示しないメモリ等の記録装置に出力する(ステップS20)。なお、画像合成の手法としては、例えば特許第3191928号公報等に開示されているように、様々な技術が知られている。   Thereafter, when a state in which a shutter button (not shown) is fully pressed is detected (step S16), the camera control unit (not shown) sends the information on the two focal points determined in step S15 to the imaging control unit 14. 15 (step S17). The imaging control unit 15 controls the imaging unit 11 to the input multiple focal points, and continuously captures two images with different focal points (step S18). The two images with different focal points that are continuously captured and captured in this way are acquired as captured images by the image acquisition unit 12 and temporarily stored in a buffer memory (not shown). Thereafter, the camera control unit synthesizes two captured images with different focal points stored in the buffer memory (not shown) into one image by the image synthesis unit 17 (step S19). The composite image is output to a recording device such as a memory (not shown) (step S20). Note that various techniques are known as image synthesis methods as disclosed in, for example, Japanese Patent No. 391928.

勿論、不図示のバッファメモリに保存されている2枚の焦点の異なる撮像された画像を、1枚の画像に合成することなく、それぞれ出力できるようにしても構わない。   Of course, two captured images with different focal points stored in a buffer memory (not shown) may be output without being combined into one image.

以上のように、本第1実施形態によれば、予め取得された画像から、被写体の距離分布を算出し、それに基づき撮像パラメータを最適に設定して連写するので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定した複数の撮像された画像を得ることができるようになる。   As described above, according to the first embodiment, the distance distribution of the subject is calculated from the image acquired in advance, and the shooting parameters are optimally set based on the calculated distance. Thus, a plurality of captured images in which imaging parameters are optimally set for a plurality of subjects can be obtained.

特に、本実施形態では、撮像パラメータとして撮像部11の焦点を変えながら連写することで、異なる被写体距離に居る複数の主要被写体それぞれにピントが合った複数枚の撮像された画像を得ることができる。   In particular, in the present embodiment, by continuously shooting while changing the focus of the imaging unit 11 as an imaging parameter, it is possible to obtain a plurality of captured images that are focused on a plurality of main subjects at different subject distances. it can.

そして、それら焦点の異なる複数枚の撮像された画像を1枚の画像に合成することで、主要被写体の全てにピントが合った画像を得ることができる。   Then, by combining a plurality of captured images with different focal points into one image, it is possible to obtain an image in which all the main subjects are in focus.

[第2実施形態]
上記第1実施形態では、撮像パラメータが撮像系の一部をなす撮像部11の焦点であるとしたが、本第2実施形態は、撮像パラメータが撮像系の一部をなす発光部16の撮像時の発光量であるとした場合の例である。
[Second Embodiment]
In the first embodiment, the imaging parameter is the focus of the imaging unit 11 that forms part of the imaging system. However, in the second embodiment, the imaging of the light emitting unit 16 in which the imaging parameter forms part of the imaging system. This is an example in the case of the amount of light emission at the time.

本第2実施形態に係る撮像制御装置の適用されたデジタルカメラの構成は、図1に示した上記第1実施形態と同様である。   The configuration of the digital camera to which the imaging control apparatus according to the second embodiment is applied is the same as that of the first embodiment shown in FIG.

図4は、本実施形態におけるデジタルカメラ10の一連の処理のフローチャートを示す図である。ここで、図3に示した上記第1実施形態と同様のステップには同一の参照符号を付してある。従って、上記第1実施形態と異なる部分のみを以下に説明する。   FIG. 4 is a diagram illustrating a flowchart of a series of processes of the digital camera 10 according to the present embodiment. Here, the same steps as those in the first embodiment shown in FIG. Therefore, only the parts different from the first embodiment will be described below.

上記第1実施形態と同様にして、被写体距離分布算出部13にて被写体距離分布を算出させ(ステップS14)、例えば図2に示された被写体距離分布が算出されると、距離Aと距離B前後に主要被写体が存在することが判別できるため、図示しないカメラ制御部は、撮像パラメータ決定部14に、本撮像のための2つの光量を上記2つの被写体距離に基づいて決定させる(ステップS21)。   In the same manner as in the first embodiment, the subject distance distribution calculation unit 13 calculates the subject distance distribution (step S14). For example, when the subject distance distribution shown in FIG. Since it can be determined that there is a main subject before and after, the camera control unit (not shown) causes the imaging parameter determination unit 14 to determine the two light quantities for the main imaging based on the two subject distances (step S21). .

その後、図示しないシャッタ釦が全押しされた状態が検出されると(ステップS16)、上記カメラ制御部は、撮像パラメータ決定部14に上記ステップS21で決定した2つの光量の情報を撮像制御部15に入力させる(ステップS22)。撮像制御部15は、この入力された複数の光量に発光部16を制御し、2枚の明るさの異なる画像を連写させる(ステップS23)。こうして連写して撮像された2枚の明るさの異なる画像は、撮像された画像として画像取得部12によって取得されて、不図示バッファメモリに一時保存されるので、上記カメラ制御部は、画像合成部17により、上記バッファメモリ12に保存されている2枚の明るさの異なる撮像された画像を1枚の画像に合成させることとなる(ステップS19)。   Thereafter, when a state in which a shutter button (not shown) is fully pressed is detected (step S16), the camera control unit sends information on the two light quantities determined in step S21 to the imaging control unit 15 to the imaging parameter determination unit 14. (Step S22). The imaging control unit 15 controls the light emitting unit 16 to the input plurality of light amounts, and continuously captures two images with different brightness (step S23). The two images with different brightness captured in this way are acquired by the image acquisition unit 12 as captured images and temporarily stored in a buffer memory (not shown). Therefore, the camera control unit performs image synthesis. The unit 17 combines the two captured images stored in the buffer memory 12 with different brightness into one image (step S19).

以上のように、本第2実施形態によれば、予め取得された画像から、被写体の距離分布を算出し、それに基づき撮像パラメータを最適に設定して連写するので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定した複数の撮像された画像を得ることができるようになる。   As described above, according to the second embodiment, the distance distribution of the subject is calculated from an image acquired in advance, and the shooting parameters are optimally set based on the calculated distance. Thus, a plurality of captured images in which imaging parameters are optimally set for a plurality of subjects can be obtained.

特に、本実施形態では、撮像パラメータとして発光部16の光量を変えながら連写することで、異なる被写体距離に居る複数の主要被写体それぞれに最適な明るさで複数枚の撮像された画像を得ることができる。   In particular, in the present embodiment, by continuously shooting while changing the light amount of the light emitting unit 16 as an imaging parameter, a plurality of captured images are obtained with optimum brightness for each of a plurality of main subjects at different subject distances. Can do.

例えば、プリ撮像時に取得された画像に基づいて算出された、ピーク値の画素数に対応付けられた被写体距離が5mと10mの場合、撮像制御部15は、被写体距離5mに対応づけられた光量を第1の光量とし、被写体距離10mに対応付けられた光量を第2の光量として、合計2回の本撮像を順次行うよう撮像部11及び発光部16を制御する。これにより、被写体距離5mと10mのそれぞれに応じて最適な光量で撮像された画像をそれぞれ取得することができ、それらを一つの画像に合成すれば、被写体距離に応じて最適な光量で撮像された一つの合成画像、つまり主要被写体の全てが明るい画像を生成できる。   For example, when the subject distances associated with the number of pixels of the peak value calculated based on the image acquired at the time of pre-imaging are 5 m and 10 m, the imaging control unit 15 determines the amount of light associated with the subject distance 5 m. The imaging unit 11 and the light emitting unit 16 are controlled so as to sequentially perform the main imaging twice in total, with the first light amount and the light amount associated with the subject distance 10 m as the second light amount. As a result, it is possible to acquire images captured with the optimum light amount according to each of the subject distances 5 m and 10 m, and if they are combined into one image, the images are captured with the optimum light amount according to the subject distance. A single composite image, that is, an image in which all of the main subjects are bright can be generated.

なお、本第2実施形態における光量制御と上記第1実施形態における焦点制御とを組み合わせれば、異なる被写体距離に居る複数の主要被写体それぞれにピントが合い且つ最適な明るさの複数枚の画像を得ることができることは言うまでもない。   If the light amount control in the second embodiment and the focus control in the first embodiment are combined, a plurality of images with optimum brightness and in focus for each of a plurality of main subjects at different subject distances are obtained. It goes without saying that you can get it.

また、本第2実施形態における光量制御と被写界深度等の他のパラメータの制御とを組み合わせることも可能である。   It is also possible to combine the light amount control in the second embodiment with the control of other parameters such as the depth of field.

[第3実施形態]
上記第1及び第2実施形態では、被写体距離分布が複数の画素数のピークを持つとき、各ピーク値の画素数に対応付けられた被写体距離を用いて複数の撮像パラメータを決定するようにしている。即ち、被写体距離分布に基づいて撮像パラメータを変更させながら連写するときに、すべてのピーク値の画素数に対応付けられた被写体距離について撮像するようにしている。
[Third Embodiment]
In the first and second embodiments, when the subject distance distribution has a plurality of pixel peaks, the plurality of imaging parameters are determined using the subject distances associated with the number of pixels of each peak value. Yes. That is, when continuous shooting is performed while changing imaging parameters based on the subject distance distribution, imaging is performed for subject distances associated with the number of pixels of all peak values.

本第3実施形態は、すべてのピーク値の画素数に対応付けられた被写体距離ではなく、所定の条件時のみ連写するようにしたものである。   In the third embodiment, continuous shooting is performed only under a predetermined condition, not the subject distance associated with the number of pixels of all peak values.

例えば、被写体距離分布により表されるピーク値が複数存在するとき、その内の所定の画素数の閾値以上を有する(条件1)場合にのみ、その所定の画素数の閾値以上を有するピーク値の被写体距離を用いて連写する。   For example, when there are a plurality of peak values represented by the subject distance distribution, a peak value having a threshold value equal to or greater than the predetermined number of pixels only when it has a threshold value equal to or greater than the predetermined pixel number (condition 1). Continuous shooting using subject distance.

これは、図5に示すように、被写体距離(X軸)と画素の数(Y軸)の被写体距離分布において、例えばA,B,Cの3つのピーク値の画素数に対応付けられた被写体距離がある場合、Pという画素数の閾値を設定し、被写体距離分布において、ピーク値の画素数が閾値P以上の被写体距離のみ連写を行う。つまり、AとCの被写体距離で連写を行い、Bの被写体距離では撮像しないようにする。   As shown in FIG. 5, in the subject distance distribution of the subject distance (X axis) and the number of pixels (Y axis), for example, the subject associated with the number of pixels of three peak values A, B, and C. If there is a distance, a threshold value for the number of pixels, P, is set, and continuous shooting is performed only for a subject distance whose peak value is greater than or equal to the threshold value P in the subject distance distribution. That is, continuous shooting is performed at the subject distances of A and C, and imaging is not performed at the subject distance of B.

このように、撮像パラメータ決定部14は、被写体距離分布における複数のピーク値の内、所定の画素数の閾値P以上を有するピーク値の被写体距離を用いて、複数の撮像パラメータを決定して、撮像制御部15により撮像部11に連写させる。従って、多くの画素が対応している被写体距離が主要被写体の存在する被写体距離であるので、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できる。   As described above, the imaging parameter determination unit 14 determines a plurality of imaging parameters using a subject value having a peak value having a predetermined number of pixels or more among the plurality of peak values in the subject distance distribution, The imaging control unit 15 causes the imaging unit 11 to perform continuous shooting. Accordingly, since the subject distance corresponding to many pixels is the subject distance where the main subject exists, the imaging parameter can be set based on the subject distance with a high probability that the main subject exists.

なお、このときの撮像パラメータは、上記第1実施形態のような撮像部11の焦点であっても良いし、上記第2実施形態のような発光部16の光量であっても良く、またそれらの組み合わせであっても構わない。   Note that the imaging parameter at this time may be the focal point of the imaging unit 11 as in the first embodiment or the light amount of the light emitting unit 16 as in the second embodiment. It may be a combination.

あるいは、被写体距離分布により表される複数のピーク値が複数存在するとき、その内の、それぞれに対応付けられた各被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値を有する(条件2)場合にのみ、その所定の合計数の閾値以上を有するピーク値の被写体距離を用いて連写する。   Alternatively, when there are a plurality of peak values represented by the subject distance distribution, the total number of pixels within the predetermined subject distance range before and after the subject distance associated with each of the peak values is a predetermined total number. Only when it has a peak value that is equal to or greater than the threshold value (condition 2), continuous shooting is performed using the subject distance of the peak value that is equal to or greater than the predetermined total number of threshold values.

これは、図6に示すように、ピーク値の画素数に対応付けられた被写体距離位置の前後の所定被写体距離範囲内(例えば図6のt)の画素の数の合計に対して、閾値を設けて連写する位置を決めるものである。図6のA,B,Cの3つのピーク値の画素数に対応付けられた被写体距離の前後tという被写体距離範囲の中の画素の数の合計がそれぞれa,b,cで、合計数の閾値を未図示のsで、c>b>s>aの関係にあるとすると、BとCの被写体距離のみで連写を行う。   As shown in FIG. 6, the threshold is set for the total number of pixels within a predetermined subject distance range (for example, t in FIG. 6) before and after the subject distance position associated with the number of pixels of the peak value. It is provided to determine the position for continuous shooting. The total number of pixels in the subject distance range of t before and after the subject distance associated with the number of pixels of the three peak values A, B, and C in FIG. 6 is a, b, and c, respectively. Assuming that the threshold is s (not shown) and c> b> s> a, continuous shooting is performed only with the subject distances of B and C.

なお、ここでは所定被写体距離範囲を一律tとしたが、これを被写体距離のA,B,Cによって異なるものと設定してもよい。例えば、被写体距離Aの位置では、所定被写体距離範囲tを小さく、被写体距離Bの位置では、所定被写体距離範囲tを大きく設定する。   Here, although the predetermined subject distance range is uniformly t, it may be set different depending on the subject distances A, B, and C. For example, the predetermined subject distance range t is set to be small at the position of the subject distance A, and the predetermined subject distance range t is set to be large at the position of the subject distance B.

このように、撮像パラメータ決定部14は、被写体距離分布により表されるピーク値が複数存在する場合、各ピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲t内の画素数の合計が所定の合計数の閾値s以上を有するピーク値の被写体距離を用いて、複数の撮像パラメータを決定して、撮像制御部15により撮像部11に連写させる。従って、多くの画素が対応している被写体距離が主要被写体の存在する被写体距離であるので、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できる。なお、このときの撮像パラメータは、上記第1実施形態のような撮像部11の焦点であっても良いし、上記第2実施形態のような発光部16の光量であっても良く、またそれらの組み合わせであっても構わない。   As described above, when there are a plurality of peak values represented by the subject distance distribution, the imaging parameter determination unit 14 is within the predetermined subject distance range t before and after the subject distance associated with the number of pixels of each peak value. A plurality of imaging parameters are determined using peak subject distances in which the total number of pixels is equal to or greater than a predetermined total number of thresholds s, and the imaging control unit 15 causes the imaging unit 11 to perform continuous shooting. Accordingly, since the subject distance corresponding to many pixels is the subject distance where the main subject exists, the imaging parameter can be set based on the subject distance with a high probability that the main subject exists. Note that the imaging parameter at this time may be the focal point of the imaging unit 11 as in the first embodiment or the light amount of the light emitting unit 16 as in the second embodiment. It may be a combination.

また、上記条件1と条件2との両方を満たす場合、つまり、被写体距離分布により表されるピーク値が複数存在するとき、それら記複数のピーク値の内、所定の画素数の閾値以上を有するピーク値であって、且つ、それら画素数の閾値以上を持つピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有する場合にのみ、その所定の合計数の閾値以上を有するピーク値の被写体距離を用いて連写を行うようにしても良い。このようにすることで、より確実に、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できる。   Further, when both of the above conditions 1 and 2 are satisfied, that is, when there are a plurality of peak values represented by the subject distance distribution, the threshold value of a predetermined number of pixels or more is included among the plurality of peak values. The total number of pixels within a predetermined subject distance range is equal to or greater than a predetermined total number of thresholds with respect to each subject distance that is a peak value and is associated with the number of pixels having a peak value that is equal to or greater than the threshold number of pixels. Only in the case where it has, the continuous shooting may be performed using the peak subject distance that is equal to or greater than the predetermined total number of thresholds. In this way, it is possible to set the imaging parameter more reliably based on the subject distance with a high probability that the main subject exists.

なお、被写体距離分布において隣接するピーク値の画素数に対応付けられた被写体距離が、その両者の中間の被写体距離を用いて撮像パラメータを決定しても人がその撮像パラメータの違いを認識できないほど近い場合には、そのような中間の被写体距離を採用するようにしても構わない。この点を考慮して、上記所定距離範囲tを決定しても良い。   Note that the subject distance associated with the number of adjacent peak value pixels in the subject distance distribution is so close that a person cannot recognize the difference in the imaging parameter even if the imaging parameter is determined using an intermediate subject distance between the two. In such a case, such an intermediate subject distance may be adopted. In consideration of this point, the predetermined distance range t may be determined.

また、連写枚数つまり決定する撮像パラメータの数に制限があるときには、上記条件の何れかによって決定した複数の被写体距離のうち、画素数の上位のものから、その制限数に応じた個数の被写体距離を選択的に使用すれば良い。これにより、当該デジタルカメラ10で連写可能な枚数分に絞っても、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できるようになる。   In addition, when there is a limit to the number of continuous shooting images, that is, the number of imaging parameters to be determined, the number of subjects corresponding to the limit number from the top of the number of pixels among the plurality of subject distances determined by any of the above conditions The distance may be selectively used. As a result, even when the number of images that can be continuously shot by the digital camera 10 is reduced, the imaging parameters can be set based on the subject distance with a high probability that the main subject exists.

以上、実施形態に基づいて本発明を説明したが、本発明は上述した実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形や応用が可能なことは勿論である。   The present invention has been described above based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the gist of the present invention. .

例えば、上記被写体距離分布算出部13は、図7(A)に示すように、上記撮像部11によって取得された画像の全領域である全画像領域20の全てを被写体距離分布算出領域21として使用することで、上記取得された画像においてどの位置に主要被写体が居ても撮像パラメータを最適に設定した複数の撮像された画像を得ることができるようにしているが、全画像領域20の予め決められた一部の領域を被写体距離分布算出領域21として使用するようにしても良い。そのようにすれば、被写体距離分布を算出する演算量が少なくなり、処理の高速化が達成できる。   For example, as shown in FIG. 7A, the subject distance distribution calculation unit 13 uses all of the entire image region 20 that is the entire region of the image acquired by the imaging unit 11 as the subject distance distribution calculation region 21. Thus, it is possible to obtain a plurality of captured images in which the imaging parameters are optimally set regardless of the position of the main subject in the acquired image. A part of the obtained area may be used as the subject distance distribution calculation area 21. By doing so, the amount of calculation for calculating the subject distance distribution is reduced, and the processing speed can be increased.

また、この場合、上記一部の領域は、図7(B)又は図7(C)に示すように、全画像領域20の中央部分を含むことが望ましい。つまり、主要被写体が存在する確率の高い中央部分は必ず含むことで、誤った撮像パラメータを設定することを防止できる。   In this case, it is desirable that the partial area includes the central portion of the entire image area 20 as shown in FIG. 7B or 7C. That is, it is possible to prevent setting an incorrect imaging parameter by always including the central portion with a high probability that the main subject exists.

また、上記実施形態では、被写体距離分布算出部13が予め取得された画像から被写体の距離分布を算出する方法としてDFD方式を例に説明したが、本発明はそれに限定されない。   In the above-described embodiment, the DFD method has been described as an example of the method by which the subject distance distribution calculation unit 13 calculates the subject distance distribution from the previously acquired image, but the present invention is not limited thereto.

また、本撮像に先立って行うプリ撮像によって取得された画像をもとに被写体距離分布を算出するものとしたが、図示しない液晶ディスプレイにライブビュー表示することで、構図決めを容易にする機能を備えている場合、プリ撮像に代えて、そのライブビュー表示用に取得した画像をもとに被写体距離分布を算出するようにしても良い。   In addition, the subject distance distribution is calculated based on the image acquired by the pre-imaging performed prior to the main imaging, but the function of facilitating composition determination by displaying live view on a liquid crystal display (not shown). If provided, the subject distance distribution may be calculated based on the image acquired for the live view display instead of the pre-imaging.

また、被写体距離分布算出部13、撮像パラメータ決定部14、撮像制御部15及び画像合成部17の機能の一部又は全部をCPU等で構成された図示しないカメラ制御部により実行されるソフトウェアとして構成することも可能である。勿論、このソフトウェアは、予めデジタルカメラ10の図示しないプログラムメモリに記録されているものであっても良いし、メモリカード等の記録媒体やネットワークを介して該デジタルカメラ10に供給されるものであっても良い。   Further, some or all of the functions of the subject distance distribution calculation unit 13, the imaging parameter determination unit 14, the imaging control unit 15, and the image composition unit 17 are configured as software executed by a camera control unit (not shown) configured by a CPU or the like. It is also possible to do. Of course, this software may be recorded in advance in a program memory (not shown) of the digital camera 10 or supplied to the digital camera 10 via a recording medium such as a memory card or a network. May be.

更に、撮像装置の一例としてデジタルカメラを説明したが、静止画撮像機能を有するビデオカメラ、カメラ機能を備えた携帯電話機やPDA等、他の撮像装置であっても良い。   Furthermore, although a digital camera has been described as an example of an imaging device, other imaging devices such as a video camera having a still image imaging function, a mobile phone having a camera function, and a PDA may be used.

(付記)
前記の具体的実施形態から、以下のような構成の発明を抽出することができる。
(Appendix)
The invention having the following configuration can be extracted from the specific embodiment.

(1) 撮像系を介して被写体を写した画像を取得する取得部と、
上記取得された画像をもとに、上記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出する被写体距離分布算出部と、
上記被写体距離分布をもとに、撮像時の撮像パラメータを決定する撮像パラメータ決定部と、
上記決定された撮像パラメータを用いて撮像せしめるよう上記撮像系を制御する撮像制御部と、
を備えることを特徴とする撮像制御装置。
(1) an acquisition unit that acquires an image of a subject through an imaging system;
A subject distance distribution calculation unit that calculates a subject distance distribution representing a distribution of a subject distance indicating a distance from the imaging system to the subject based on the acquired image;
An imaging parameter determination unit that determines imaging parameters at the time of imaging based on the subject distance distribution;
An imaging control unit that controls the imaging system so as to perform imaging using the determined imaging parameter;
An imaging control apparatus comprising:

(対応する実施形態)
この(1)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。それらの実施形態において、一例として、撮像部11及び発光部16が上記撮像系に、画像取得部12が上記取得部に、被写体距離分布算出部13が上記被写体距離分布算出部に、撮像パラメータ決定部14が上記撮像パラメータ決定部に、撮像制御部15が上記撮像制御部に、それぞれ対応する。
(Corresponding embodiment)
The first to third embodiments correspond to the embodiment related to the imaging control device described in (1). In these embodiments, as an example, the imaging unit 11 and the light emitting unit 16 are in the imaging system, the image acquisition unit 12 is in the acquisition unit, the subject distance distribution calculation unit 13 is in the subject distance distribution calculation unit, and imaging parameter determination is performed. The unit 14 corresponds to the imaging parameter determination unit, and the imaging control unit 15 corresponds to the imaging control unit.

(作用効果)
この(1)に記載の撮像制御装置は、取得された画像から被写体の距離分布を求め、得られた被写体距離分布をもとに、撮像パラメータを決定して撮像する。
従って、この(1)に記載の撮像制御装置によれば、予め取得された画像から、被写体の距離分布を算出し、それをもとに撮像パラメータを最適に設定して撮像するので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定して撮像された画像を得ることができるようになる。
(Function and effect)
The imaging control device described in (1) obtains the distance distribution of the subject from the acquired image, determines the imaging parameter based on the obtained subject distance distribution, and performs imaging.
Therefore, according to the imaging control device described in (1), since the distance distribution of the subject is calculated from the image acquired in advance and the imaging parameter is optimally set based on the calculated distance distribution, the imaging of the subject is performed. It is possible to obtain an image captured by optimally setting imaging parameters for each of a plurality of subjects without detecting a feature portion.

(2) 上記撮像パラメータ決定部は、複数の撮像パラメータを決定するものであり、
上記撮像制御部は、上記決定された撮像パラメータごとに順次、その撮像パラメータのそれぞれを用いて撮像せしめるよう上記撮像系を制御することを特徴とする(1)に記載の撮像制御装置。
(2) The imaging parameter determination unit determines a plurality of imaging parameters.
The imaging control device according to (1), wherein the imaging control unit controls the imaging system so as to sequentially perform imaging using each of the determined imaging parameters.

(対応する実施形態)
この(2)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。
(Corresponding embodiment)
The first to third embodiments correspond to the embodiment related to the imaging control device described in (2).

(作用効果)
この(2)に記載の撮像制御装置は、複数の撮像パラメータを決定し、決定された撮像パラメータごとに順次、その撮像パラメータのそれぞれを用いて複数枚の画像を撮像する。
従って、この(2)に記載の撮像制御装置によれば、被写体の距離分布をもとに複数の撮像パラメータを最適に設定して複数枚の撮像された画像を取得するので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定した複数枚の撮像された画像を得ることができるようになる。
(Function and effect)
The imaging control apparatus described in (2) determines a plurality of imaging parameters, and sequentially captures a plurality of images using each of the imaging parameters for each determined imaging parameter.
Therefore, according to the imaging control device described in (2), a plurality of captured images are acquired by optimally setting a plurality of imaging parameters based on the distance distribution of the subject. It is possible to obtain a plurality of captured images in which imaging parameters are optimally set for each of a plurality of subjects without detecting.

(3) 上上記被写体距離分布算出部は、上記取得された画像の全領域をもとに、上記被写体距離分布を算出することを特徴とする(1)に記載の撮像制御装置。   (3) The imaging control device according to (1), wherein the subject distance distribution calculation unit calculates the subject distance distribution based on the entire area of the acquired image.

(対応する実施形態)
この(3)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。それらの実施形態において、一例として、被写体距離分布算出領域21が上記被写体距離分布算出領域に、全画像領域20が上記取得された画像の全領域に、それぞれ対応する。
(Corresponding embodiment)
The first to third embodiments correspond to the embodiment relating to the imaging control device described in (3). In these embodiments, as an example, the subject distance distribution calculation area 21 corresponds to the subject distance distribution calculation area, and the entire image area 20 corresponds to the entire area of the acquired image.

(作用効果)
この(3)に記載の撮像制御装置は、取得された画像の全領域から被写体距離分布を算出する。
従って、この(3)に記載の撮像制御装置によれば、取得された画像においてどの位置に主要被写体が居ても撮像パラメータを最適に設定して撮像された画像を得ることができる。
(Function and effect)
The imaging control device according to (3) calculates the subject distance distribution from the entire area of the acquired image.
Therefore, according to the imaging control device described in (3), it is possible to obtain an image captured by optimally setting imaging parameters regardless of the position of the main subject in the acquired image.

(4) 上記被写体距離分布算出部は、上記取得された画像の一部の領域をもとに、上記被写体距離分布を算出することを特徴とする(1)に記載の撮像制御装置。   (4) The imaging control device according to (1), wherein the subject distance distribution calculation unit calculates the subject distance distribution based on a partial region of the acquired image.

(対応する実施形態)
この(4)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。
(Corresponding embodiment)
The embodiment related to the imaging control device described in (4) corresponds to the first to third embodiments.

(作用効果)
この(4)に記載の撮像制御装置は、取得された画像の予め決められた少なくとも一つの部分領域から被写体距離分布を算出する。
従って、この(4)に記載の撮像制御装置によれば、被写体距離分布を算出する演算量が少なくなり、処理の高速化が達成できる。
(Function and effect)
The imaging control device according to (4) calculates the subject distance distribution from at least one predetermined partial region of the acquired image.
Therefore, according to the imaging control apparatus described in (4), the calculation amount for calculating the subject distance distribution is reduced, and the processing speed can be increased.

(5) 上記一部の領域は、上記画像の中央部分を含むことを特徴とする(4)に記載の撮像制御装置。   (5) The imaging control device according to (4), wherein the partial area includes a central portion of the image.

(対応する実施形態)
この(4)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。
(Corresponding embodiment)
The embodiment related to the imaging control device described in (4) corresponds to the first to third embodiments.

(作用効果)
この(4)に記載の撮像制御装置は、少なくとも取得された画像の中央部分の領域から被写体距離分布を算出する。
従って、この(4)に記載の撮像制御装置によれば、主要被写体が存在する確率の高い中央部分は必ず含むことで、誤った撮像パラメータを設定することを防止できる。
(Function and effect)
The imaging control apparatus according to (4) calculates the subject distance distribution from at least the central portion of the acquired image.
Therefore, according to the imaging control device described in (4), it is possible to prevent the erroneous imaging parameter from being set by always including the central portion having a high probability that the main subject exists.

(6) 上記被写体距離分布算出部は、上記取得された画像の画素毎の被写体距離を求めて、上記被写体距離と、その被写体距離を有する画素の総数である画素数との対応関係の分布を上記被写体距離分布として算出し、
上記撮像パラメータ決定部は、上記被写体距離分布により表されるピーク値の画素数に対応付けられた被写体距離を用いて、上記撮像パラメータを決定することを特徴とする(1)に記載の撮像制御装置。
(6) The subject distance distribution calculation unit obtains a subject distance for each pixel of the acquired image, and calculates a correspondence distribution between the subject distance and the number of pixels that is the total number of pixels having the subject distance. Calculate as the subject distance distribution,
The imaging control according to (1), wherein the imaging parameter determination unit determines the imaging parameter using a subject distance associated with the number of pixels having a peak value represented by the subject distance distribution. apparatus.

(対応する実施形態)
この(6)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。
(Corresponding embodiment)
The embodiment relating to the imaging control device described in (6) corresponds to the first to third embodiments.

(作用効果)
この(6)に記載の撮像制御装置は、被写体距離分布により表されるピーク値の画素数に対応付けられた被写体距離を用いて撮像パラメータを決定する。
従って、この(6)に記載の撮像制御装置によれば、多くの画素が対応している被写体距離が主要被写体の存在する被写体距離であるので、それら主要被写体が居る被写体距離に最適な撮像パラメータを設定できる。
(Function and effect)
The imaging control device described in (6) determines the imaging parameter using the subject distance associated with the number of pixels of the peak value represented by the subject distance distribution.
Therefore, according to the imaging control device described in (6), since the subject distance corresponding to many pixels is the subject distance where the main subject exists, the imaging parameter optimum for the subject distance where the main subject exists. Can be set.

(7) 上記撮像パラメータ決定部は、上記被写体距離分布により表されるピーク値が複数存在する場合、上記複数のピーク値の内、所定の画素数の閾値以上を有するピーク値の被写体距離を用いて、上記撮像パラメータを決定することを特徴とする(6)に記載の撮像制御装置。   (7) When there are a plurality of peak values represented by the subject distance distribution, the imaging parameter determination unit uses a subject distance of a peak value having a predetermined number of pixels or more among the plurality of peak values. The imaging control apparatus according to (6), wherein the imaging parameter is determined.

(対応する実施形態)
この(7)に記載の撮像制御装置に関する実施形態は、第3実施形態が対応する。その実施形態において、一例として、閾値Pが上記所定の画素数の閾値に対応する。
(Corresponding embodiment)
The embodiment relating to the imaging control device described in (7) corresponds to the third embodiment. In the embodiment, as an example, the threshold value P corresponds to the threshold value of the predetermined number of pixels.

(作用効果)
この(7)に記載の撮像制御装置は、所定の画素数の閾値以上を有するピーク値の被写体距離を用いて撮像パラメータを決定する。
従って、この(7)に記載の撮像制御装置によれば、多くの画素が対応している被写体距離が主要被写体の存在する被写体距離であるので、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できる。
(Function and effect)
The imaging control device according to (7) determines imaging parameters using a peak subject distance that has a predetermined number of pixels or more.
Therefore, according to the imaging control device described in (7), since the subject distance corresponding to many pixels is the subject distance where the main subject exists, it is based on the subject distance with a high probability that the main subject exists. Imaging parameters can be set.

(8) 上記撮像パラメータ決定部は、上記被写体距離分布により表されるピーク値が複数存在する場合、上記複数のピーク値の内、各ピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値の被写体距離を用いて、上記撮像パラメータを決定することを特徴とする(6)に記載の撮像制御装置。   (8) When there are a plurality of peak values represented by the subject distance distribution, the imaging parameter determination unit relates to each subject distance associated with the number of pixels of each peak value among the plurality of peak values. The imaging control apparatus according to (6), wherein the imaging parameter is determined using a subject value having a peak value in which a total number of pixels within a predetermined subject distance range is equal to or greater than a predetermined total number of thresholds. .

(対応する実施形態)
この(8)に記載の撮像制御装置に関する実施形態は、第3実施形態が対応する。その実施形態において、一例として、所定距離範囲tが上記所定被写体距離範囲に、閾値sが上記所定の合計数の閾値に、それぞれ対応する。
(Corresponding embodiment)
The embodiment relating to the imaging control apparatus described in (8) corresponds to the third embodiment. In the embodiment, as an example, the predetermined distance range t corresponds to the predetermined subject distance range, and the threshold value s corresponds to the predetermined total number of threshold values.

(作用効果)
この(8)に記載の撮像制御装置は、各ピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値の被写体距離を用いて撮像パラメータを決定する。
従って、この(8)に記載の撮像制御装置によれば、多くの画素が対応している被写体距離が主要被写体の存在する被写体距離であるので、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できる。
(Function and effect)
The imaging control device according to (8) has a peak in which the total number of pixels within a predetermined subject distance range is greater than or equal to a predetermined total number of thresholds with respect to each subject distance associated with the number of pixels of each peak value. The imaging parameter is determined using the subject distance of the value.
Therefore, according to the imaging control apparatus described in (8), since the subject distance corresponding to many pixels is the subject distance where the main subject exists, it is based on the subject distance with a high probability that the main subject exists. Imaging parameters can be set.

(9) 上記撮像パラメータ決定部は、上記被写体距離分布により表されるピーク値が複数存在する場合、上記複数のピーク値の内、所定の画素数の閾値以上を有するピーク値であって、且つ、それら所定の画素数の閾値以上を持つピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値の被写体距離を用いて、上記複数の撮像パラメータを決定することを特徴とする(6)に記載の撮像制御装置。   (9) When there are a plurality of peak values represented by the subject distance distribution, the imaging parameter determination unit is a peak value having a predetermined number of pixels or more among the plurality of peak values, and The sum of the number of pixels within the predetermined subject distance range before and after each of the subject distances associated with the number of pixels of the peak value having a threshold value of the predetermined number of pixels or more is a peak value having a threshold value of the predetermined total number or more. The imaging control apparatus according to (6), wherein the plurality of imaging parameters are determined using a subject distance.

(対応する実施形態)
この(9)に記載の撮像制御装置に関する実施形態は、第3実施形態が対応する。その実施形態において、一例として、閾値Pが上記所定の画素数の閾値に、所定距離範囲tが上記所定被写体距離範囲に、閾値sが上記所定の合計数の閾値に、それぞれ対応する。
(Corresponding embodiment)
The third embodiment corresponds to the embodiment related to the imaging control device described in (9). In the embodiment, as an example, the threshold P corresponds to the threshold of the predetermined number of pixels, the predetermined distance range t corresponds to the predetermined subject distance range, and the threshold s corresponds to the predetermined total number of thresholds.

(作用効果)
この(9)に記載の撮像制御装置は、所定の画素数の閾値以上を有するピーク値の被写体距離であって、且つ、それら所定の画素数の閾値以上を持つピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値の被写体距離を用いて撮像パラメータを決定する。
従って、この(9)に記載の撮像制御装置によれば、多くの画素が対応している被写体距離が主要被写体の存在する被写体距離であるので、主要被写体が存在する確率がより高い被写体距離に基づいて撮像パラメータを設定できる。
(Function and effect)
The imaging control device according to (9) is associated with a peak value subject distance that has a threshold value equal to or greater than a predetermined number of pixels and a peak value pixel number that is equal to or greater than the predetermined threshold number of pixels. The imaging parameter is determined using the peak subject distance in which the total number of pixels within the predetermined subject distance range before and after each subject distance is greater than or equal to a predetermined total number of thresholds.
Therefore, according to the imaging control device described in (9), since the subject distance corresponding to many pixels is the subject distance where the main subject exists, the subject distance with a higher probability that the main subject exists will be increased. Based on this, the imaging parameters can be set.

(10) 上記撮像パラメータ決定部は、上記決定する撮像パラメータの数に制限があるとき、その数に応じた数の被写体距離に基づいて上記撮像パラメータを決定することを特徴とする(6)に記載の撮像制御装置。   (10) When the number of imaging parameters to be determined is limited, the imaging parameter determination unit determines the imaging parameters based on a number of subject distances corresponding to the number of imaging parameters to be determined (6). The imaging control device described.

(対応する実施形態)
この(10)に記載の撮像制御装置に関する実施形態は、第3実施形態が対応する。
(Corresponding embodiment)
The embodiment relating to the imaging control device described in (10) corresponds to the third embodiment.

(作用効果)
この(10)に記載の撮像制御装置は、決定する撮像パラメータの数に応じて被写体距離に基づく撮像パラメータを決定する。
従って、この(10)に記載の撮像制御装置によれば、当該撮像制御装置で連写可能な枚数分に絞っても、主要被写体が存在する確率の高い被写体距離に基づいて撮像パラメータを設定できる。
(Function and effect)
The imaging control apparatus according to (10) determines imaging parameters based on the subject distance according to the number of imaging parameters to be determined.
Therefore, according to the imaging control device described in (10), the imaging parameters can be set based on the subject distance with a high probability that the main subject exists even if the number of images that can be continuously shot by the imaging control device is limited. .

(11) 上記撮像パラメータ決定部は、上記撮像パラメータとして、撮像時の焦点距離を決定し、
上記撮像制御部は、上記決定された焦点距離を用いて撮像せしめるよう上記撮像系を制御することを特徴とする(1)に記載の撮像制御装置。
(11) The imaging parameter determination unit determines a focal length at the time of imaging as the imaging parameter,
The imaging control device according to (1), wherein the imaging control unit controls the imaging system so as to perform imaging using the determined focal length.

(対応する実施形態)
この(11)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。
(Corresponding embodiment)
The first to third embodiments correspond to the embodiment related to the imaging control device described in (11).

(作用効果)
この(11)に記載の撮像制御装置は、撮像パラメータとして撮像時の焦点距離を決定し、撮像系の焦点距離を制御して撮像を行う。
従って、この(11)に記載の撮像制御装置によれば、異なる被写体距離に居る複数の主要被写体それぞれにピントが合った画像を撮像することができる。
(Function and effect)
The imaging control device described in (11) determines the focal length at the time of imaging as an imaging parameter, and controls the focal length of the imaging system to perform imaging.
Therefore, according to the imaging control device described in (11), it is possible to capture images in focus on each of a plurality of main subjects at different subject distances.

(12) 被上記パラメータ決定部は、上記撮像パラメータとして、撮像時の発光量を決定し、
上記撮像制御部は、上記決定された発光量を用いて撮像せしめるよう上記撮像系を制御することを特徴とすることを特徴とする(1)又は(11)に記載の撮像制御装置。
(12) The parameter determination unit determines a light emission amount at the time of imaging as the imaging parameter,
The imaging control device according to (1) or (11), wherein the imaging control unit controls the imaging system so as to perform imaging using the determined light emission amount.

(対応する実施形態)
この(12)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。それらの実施形態において、一例として、発光部16が上記撮像系に対応する。
(Corresponding embodiment)
The first to third embodiments correspond to the embodiment related to the imaging control device described in (12). In these embodiments, as an example, the light emitting unit 16 corresponds to the imaging system.

(作用効果)
この(12)に記載の撮像制御装置は、撮像パラメータとして撮像時の発光量を決定し、撮像系の発光量距離を制御して撮像を行う。
従って、この(12)に記載の撮像制御装置によれば、異なる被写体距離に居る複数の主要被写体それぞれに最適な明るさで画像を撮像することができる。
(Function and effect)
The imaging control apparatus described in (12) determines the light emission amount at the time of imaging as an imaging parameter, and performs imaging by controlling the light emission amount distance of the imaging system.
Therefore, according to the imaging control device described in (12), it is possible to capture an image with optimal brightness for each of a plurality of main subjects at different subject distances.

(13) 上記決定された撮像パラメータを用いて上記撮像系により撮像された複数枚の画像を1枚の画像に合成する画像合成部を更に具備することを特徴とする(2)に記載の撮像制御装置。   (13) The imaging according to (2), further comprising: an image synthesis unit that synthesizes a plurality of images captured by the imaging system into a single image using the determined imaging parameter. Control device.

(対応する実施形態)
この(13)に記載の撮像制御装置に関する実施形態は、第1乃至第3実施形態が対応する。それらの実施形態において、一例として、画像合成部17が上記画像合成部に対応する。
(Corresponding embodiment)
The embodiment relating to the imaging control device described in (13) corresponds to the first to third embodiments. In these embodiments, as an example, the image composition unit 17 corresponds to the image composition unit.

(作用効果)
この(13)に記載の撮像制御装置は、決定された撮像パラメータを用いて撮像された複数枚の画像を1枚の画像に合成する。
従って、この(13)に記載の撮像制御装置によれば、異なる被写体距離に居る複数の被写体それぞれに最適な撮像パラメータとなるような1枚の画像が得られる。
(Function and effect)
The imaging control device according to (13) combines a plurality of images captured using the determined imaging parameters into one image.
Therefore, according to the imaging control apparatus described in (13), a single image can be obtained that provides optimum imaging parameters for each of a plurality of subjects at different subject distances.

(14) 撮像系を介して被写体を写した画像を取得するステップと、
上記取得された画像をもとに、上記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出するステップと、
上記被写体距離分布をもとに、撮像時の撮像パラメータを決定するステップと、
上記決定された撮像パラメータを用いて撮像せしめるよう上記撮像系を制御するステップと、
をコンピュータに発揮させることを特徴とする撮像制御プログラム。
(14) obtaining an image of the subject via the imaging system;
Calculating a subject distance distribution representing a subject distance distribution indicating a distance from the imaging system to the subject based on the acquired image;
Determining imaging parameters at the time of imaging based on the subject distance distribution;
Controlling the imaging system to capture an image using the determined imaging parameter;
An imaging control program for causing a computer to exhibit the above.

(対応する実施形態)
この(14)に記載の撮像制御プログラムに関する実施形態は、第1乃至第3実施形態が対応する。それらの実施形態において、一例として、ステップS14が上記画像を取得するステップ及び上記被写体距離分布を算出するステップに、ステップS15又はステップ21が上記撮像パラメータを決定するステップに、ステップS17及びステップS18、又はステップS22及びステップS23が上記撮像系を制御するステップに、それぞれ対応する。
(Corresponding embodiment)
The embodiment relating to the imaging control program described in (14) corresponds to the first to third embodiments. In these embodiments, as an example, step S14 includes the step of acquiring the image and the step of calculating the subject distance distribution, step S15 or step 21 is the step of determining the imaging parameter, step S17 and step S18, Or step S22 and step S23 respond | correspond to the step which controls the said imaging system, respectively.

(作用効果)
この(14)に記載の撮像制御プログラムは、コンピュータに、取得された画像から被写体の距離分布を求め、得られた被写体距離分布をもとに、撮像パラメータを決定して、撮像系を制御して撮像させる。
従って、この(14)に記載の撮像制御プログラムによれば、予め取得された画像から、被写体の距離分布を算出し、それをもとに撮像パラメータを最適に設定して撮像系に撮像させるので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定して撮像された画像を得ることができるようになる。
(Function and effect)
The imaging control program described in (14) obtains the distance distribution of the subject from the acquired image on the computer, determines the imaging parameter based on the obtained subject distance distribution, and controls the imaging system. To capture.
Therefore, according to the imaging control program described in (14), the distance distribution of the subject is calculated from an image acquired in advance, and the imaging parameter is optimally set based on the calculated distance distribution so that the imaging system can capture the image. Thus, it is possible to obtain images captured by optimally setting imaging parameters for each of a plurality of subjects without detecting the feature of the subject.

(15) 撮像系を介して被写体を写した画像を取得し、
上記取得された画像をもとに、上記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出し、
上記被写体距離分布をもとに、撮像時の撮像パラメータを決定し、
上記決定された撮像パラメータを用いて撮像せしめるよう上記撮像系を制御する、
ことを特徴とする撮像制御方法。
(15) Obtain an image of the subject through the imaging system,
Based on the acquired image, a subject distance distribution representing a subject distance distribution indicating a distance from the imaging system to the subject is calculated,
Based on the subject distance distribution, determine the imaging parameters at the time of imaging,
Controlling the imaging system to capture an image using the determined imaging parameter;
An imaging control method characterized by the above.

(対応する実施形態)
この(15)に記載の撮像制御方法に関する実施形態は、第1乃至第3実施形態が対応する。
(Corresponding embodiment)
The first to third embodiments correspond to the embodiment relating to the imaging control method described in (15).

(作用効果)
この(15)に記載の撮像制御方法は、取得された画像から被写体の距離分布を求め、得られた被写体距離分布をもとに、撮像パラメータを決定して、撮像系を制御して撮像させる。
従って、この(15)に記載の撮像制御方法によれば、予め取得された画像から、被写体の距離分布を算出し、それをもとに撮像パラメータを最適に設定して撮像系に撮像させるので、被写体の特徴部を検出することなく、複数の被写体にそれぞれに対して撮像パラメータを最適に設定して撮像された画像を得ることができるようになる。
(Function and effect)
The imaging control method described in (15) obtains the distance distribution of the subject from the acquired image, determines the imaging parameter based on the obtained subject distance distribution, and controls the imaging system to perform imaging. .
Therefore, according to the imaging control method described in (15), the distance distribution of the subject is calculated from an image acquired in advance, and the imaging system is optimally set based on the distance distribution of the subject, and is imaged by the imaging system. Thus, it is possible to obtain images captured by optimally setting imaging parameters for each of a plurality of subjects without detecting the feature of the subject.

図1は、本発明の撮像制御装置の第1実施形態が適用されたデジタルカメラの構成を示す図である。FIG. 1 is a diagram showing the configuration of a digital camera to which the first embodiment of the imaging control apparatus of the present invention is applied. 図2は、被写体距離分布の一例を示す図である。FIG. 2 is a diagram illustrating an example of the subject distance distribution. 図3は、第1実施形態におけるデジタルカメラの一連の処理のフローチャートを示す図である。FIG. 3 is a diagram illustrating a flowchart of a series of processes of the digital camera according to the first embodiment. 図4は、本発明の撮像制御装置の第2実施形態が適用されたデジタルカメラの一連の処理のフローチャートを示す図である。FIG. 4 is a diagram showing a flowchart of a series of processes of the digital camera to which the second embodiment of the imaging control apparatus of the present invention is applied. 図5は、本発明の第3実施形態において連写する所定の条件の一例を説明するための被写体距離分布の例を示す図である。FIG. 5 is a diagram illustrating an example of a subject distance distribution for explaining an example of a predetermined condition for continuous shooting in the third embodiment of the present invention. 図6は、連写する所定の条件の別の例を説明するための被写体距離分布の例を示す図である。FIG. 6 is a diagram illustrating an example of a subject distance distribution for explaining another example of the predetermined condition for continuous shooting. 図7は、被写体距離分布算出領域の各種例を示す図である。FIG. 7 is a diagram illustrating various examples of the subject distance distribution calculation region.

符号の説明Explanation of symbols

10…デジタルカメラ、 11…撮像部、 111…撮像レンズ、 112…絞り、 113…イメージセンサ、 12…画像取得部、 13…被写体距離分布算出部、 14…撮像パラメータ決定部、 15…撮像制御部、 16…発光部、 17…画像合成部、 20…全画像領域、 21…被写体距離分布算出領域。     DESCRIPTION OF SYMBOLS 10 ... Digital camera, 11 ... Imaging part, 111 ... Imaging lens, 112 ... Aperture, 113 ... Image sensor, 12 ... Image acquisition part, 13 ... Subject distance distribution calculation part, 14 ... Imaging parameter determination part, 15 ... Imaging control part , 16 ... Light emitting part, 17 ... Image composition part, 20 ... All image area, 21 ... Subject distance distribution calculation area.

Claims (15)

撮像系を介して被写体を写した画像を取得する取得部と、
前記取得された画像をもとに、前記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出する被写体距離分布算出部と、
前記被写体距離分布をもとに、撮像時の撮像パラメータを決定する撮像パラメータ決定部と、
前記決定された撮像パラメータを用いて撮像せしめるよう前記撮像系を制御する撮像制御部と、
を備えることを特徴とする撮像制御装置。
An acquisition unit that acquires an image of the subject through the imaging system;
A subject distance distribution calculating unit that calculates a subject distance distribution representing a distribution of a subject distance indicating a distance from the imaging system to the subject based on the acquired image;
An imaging parameter determination unit that determines imaging parameters at the time of imaging based on the subject distance distribution;
An imaging control unit that controls the imaging system to perform imaging using the determined imaging parameter;
An imaging control apparatus comprising:
前記撮像パラメータ決定部は、複数の撮像パラメータを決定するものであり、
前記撮像制御部は、前記決定された撮像パラメータごとに順次、その撮像パラメータのそれぞれを用いて撮像せしめるよう前記撮像系を制御することを特徴とする請求項1に記載の撮像制御装置。
The imaging parameter determination unit determines a plurality of imaging parameters,
The imaging control apparatus according to claim 1, wherein the imaging control unit controls the imaging system so that imaging is performed using each of the imaging parameters sequentially for each of the determined imaging parameters.
前記被写体距離分布算出部は、前記取得された画像の全領域をもとに、前記被写体距離分布を算出することを特徴とする請求項1に記載の撮像制御装置。   The imaging control apparatus according to claim 1, wherein the subject distance distribution calculation unit calculates the subject distance distribution based on the entire area of the acquired image. 前記被写体距離分布算出部は、前記取得された画像の一部の領域をもとに、前記被写体距離分布を算出することを特徴とする請求項1に記載の撮像制御装置。   The imaging control apparatus according to claim 1, wherein the subject distance distribution calculation unit calculates the subject distance distribution based on a partial region of the acquired image. 前記一部の領域は、前記画像の中央部分を含むことを特徴とする請求項4に記載の撮像制御装置。   The imaging control apparatus according to claim 4, wherein the partial area includes a central portion of the image. 前記被写体距離分布算出部は、前記取得された画像の画素毎の被写体距離を求めて、前記被写体距離と、その被写体距離を有する画素の総数である画素数との対応関係の分布を前記被写体距離分布として算出し、
前記撮像パラメータ決定部は、前記被写体距離分布により表されるピーク値の画素数に対応付けられた被写体距離を用いて、前記撮像パラメータを決定することを特徴とする請求項1に記載の撮像制御装置。
The subject distance distribution calculation unit obtains a subject distance for each pixel of the acquired image, and calculates a distribution of correspondence between the subject distance and the number of pixels that is the total number of pixels having the subject distance. Calculated as a distribution,
2. The imaging control according to claim 1, wherein the imaging parameter determination unit determines the imaging parameter using a subject distance associated with a number of pixels having a peak value represented by the subject distance distribution. apparatus.
前記撮像パラメータ決定部は、前記被写体距離分布により表されるピーク値が複数存在する場合、前記複数のピーク値の内、所定の画素数の閾値以上を有するピーク値の被写体距離を用いて、前記撮像パラメータを決定することを特徴とする請求項6に記載の撮像制御装置。   When there are a plurality of peak values represented by the subject distance distribution, the imaging parameter determination unit uses a subject value of a peak value having a predetermined number of pixels or more among the plurality of peak values, The imaging control apparatus according to claim 6, wherein an imaging parameter is determined. 前記撮像パラメータ決定部は、前記被写体距離分布により表されるピーク値が複数存在する場合、前記複数のピーク値の内、各ピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値の被写体距離を用いて、前記撮像パラメータを決定することを特徴とする請求項6に記載の撮像制御装置。   When there are a plurality of peak values represented by the subject distance distribution, the imaging parameter determination unit determines a predetermined subject before and after each subject distance associated with the number of pixels of each peak value among the plurality of peak values. The imaging control apparatus according to claim 6, wherein the imaging parameter is determined using a subject value having a peak value having a total number of pixels in the distance range equal to or greater than a predetermined total number of thresholds. 前記撮像パラメータ決定部は、前記被写体距離分布により表されるピーク値が複数存在する場合、前記複数のピーク値の内、所定の画素数の閾値以上を有するピーク値であって、且つ、それら所定の画素数の閾値以上を持つピーク値の画素数に対応付けられたそれぞれの被写体距離に関し前後所定被写体距離範囲内の画素数の合計が所定の合計数の閾値以上を有するピーク値の被写体距離を用いて、前記複数の撮像パラメータを決定することを特徴とする請求項6に記載の撮像制御装置。   The imaging parameter determination unit, when there are a plurality of peak values represented by the subject distance distribution, is a peak value having a predetermined number of pixels or more among the plurality of peak values, and the predetermined value For the subject distance associated with the number of pixels of the peak value having a threshold value greater than or equal to the number of pixels, the subject value of the peak value in which the total number of pixels within the predetermined subject distance range is greater than or equal to the predetermined total number of threshold values The imaging control apparatus according to claim 6, wherein the plurality of imaging parameters are used. 前記撮像パラメータ決定部は、前記決定する撮像パラメータの数に制限があるとき、その数に応じた数の被写体距離に基づいて前記撮像パラメータを決定することを特徴とする請求項6に記載の撮像制御装置。   7. The imaging according to claim 6, wherein when the number of imaging parameters to be determined is limited, the imaging parameter determination unit determines the imaging parameters based on a number of subject distances corresponding to the number. Control device. 前記撮像パラメータ決定部は、前記撮像パラメータとして、撮像時の焦点距離を決定し、
前記撮像制御部は、前記決定された焦点距離を用いて撮像せしめるよう前記撮像系を制御することを特徴とする請求項1に記載の撮像制御装置。
The imaging parameter determination unit determines a focal length at the time of imaging as the imaging parameter,
The imaging control apparatus according to claim 1, wherein the imaging control unit controls the imaging system to perform imaging using the determined focal length.
前記パラメータ決定部は、前記撮像パラメータとして、撮像時の発光量を決定し、
前記撮像制御部は、前記決定された発光量を用いて撮像せしめるよう前記撮像系を制御することを特徴とすることを特徴とする請求項1又は11に記載の撮像制御装置。
The parameter determination unit determines a light emission amount at the time of imaging as the imaging parameter,
The imaging control apparatus according to claim 1, wherein the imaging control unit controls the imaging system to perform imaging using the determined light emission amount.
前記決定された撮像パラメータを用いて前記撮像系により撮像された複数枚の画像を1枚の画像に合成する画像合成部を更に具備することを特徴とする請求項2に記載の撮像制御装置。   The imaging control apparatus according to claim 2, further comprising an image synthesis unit that synthesizes a plurality of images captured by the imaging system using the determined imaging parameters into a single image. 撮像系を介して被写体を写した画像を取得するステップと、
前記取得された画像をもとに、前記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出するステップと、
前記被写体距離分布をもとに、撮像時の撮像パラメータを決定するステップと、
前記決定された撮像パラメータを用いて撮像せしめるよう前記撮像系を制御するステップと、
をコンピュータに発揮させることを特徴とする撮像制御プログラム。
Obtaining an image of a subject through an imaging system;
Calculating a subject distance distribution representing a subject distance distribution indicating a distance from the imaging system to the subject based on the acquired image;
Determining imaging parameters at the time of imaging based on the subject distance distribution;
Controlling the imaging system to image using the determined imaging parameters;
An imaging control program for causing a computer to exhibit the above.
撮像系を介して被写体を写した画像を取得し、
前記取得された画像をもとに、前記撮像系から被写体までの距離を示す被写体距離の分布を表す被写体距離分布を算出し、
前記被写体距離分布をもとに、撮像時の撮像パラメータを決定し、
前記決定された撮像パラメータを用いて撮像せしめるよう前記撮像系を制御する、
ことを特徴とする撮像制御方法。
Obtain an image of the subject through the imaging system,
Based on the acquired image, calculate a subject distance distribution representing a subject distance distribution indicating a distance from the imaging system to the subject,
Based on the subject distance distribution, determine imaging parameters at the time of imaging,
Controlling the imaging system to capture an image using the determined imaging parameter;
An imaging control method characterized by the above.
JP2008330936A 2008-12-25 2008-12-25 Device, program and method for imaging control Withdrawn JP2010154306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008330936A JP2010154306A (en) 2008-12-25 2008-12-25 Device, program and method for imaging control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008330936A JP2010154306A (en) 2008-12-25 2008-12-25 Device, program and method for imaging control

Publications (1)

Publication Number Publication Date
JP2010154306A true JP2010154306A (en) 2010-07-08

Family

ID=42572840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008330936A Withdrawn JP2010154306A (en) 2008-12-25 2008-12-25 Device, program and method for imaging control

Country Status (1)

Country Link
JP (1) JP2010154306A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013065226A (en) * 2011-09-20 2013-04-11 Sony Corp Image processing device, method of controlling image processing device and program causing computer to execute said method
JP2014154980A (en) * 2013-02-06 2014-08-25 Canon Inc Image reproduction device and control method of the same
JP2014232181A (en) * 2013-05-28 2014-12-11 キヤノン株式会社 Imaging device and control method thereof
CN104883480A (en) * 2014-02-27 2015-09-02 奥林巴斯株式会社 Imaging Device And Imaging Method
KR101679398B1 (en) * 2015-08-10 2016-11-28 김제형 3d studio system
JP2018117211A (en) * 2017-01-17 2018-07-26 キヤノン株式会社 Image processing apparatus and image processing method, imaging apparatus, program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013065226A (en) * 2011-09-20 2013-04-11 Sony Corp Image processing device, method of controlling image processing device and program causing computer to execute said method
US9131148B2 (en) 2011-09-20 2015-09-08 Sony Corporation Image processing device, method of controlling image processing device and program causing computer to execute the method
JP2014154980A (en) * 2013-02-06 2014-08-25 Canon Inc Image reproduction device and control method of the same
JP2014232181A (en) * 2013-05-28 2014-12-11 キヤノン株式会社 Imaging device and control method thereof
US9854149B2 (en) 2013-05-28 2017-12-26 Canon Kabushiki Kaisha Image processing apparatus capable of obtaining an image focused on a plurality of subjects at different distances and control method thereof
CN104883480A (en) * 2014-02-27 2015-09-02 奥林巴斯株式会社 Imaging Device And Imaging Method
JP2015162779A (en) * 2014-02-27 2015-09-07 オリンパス株式会社 imaging device, imaging method, and program
KR101679398B1 (en) * 2015-08-10 2016-11-28 김제형 3d studio system
WO2017026751A1 (en) * 2015-08-10 2017-02-16 김제형 Three-dimensional studio system
US10397477B2 (en) 2015-08-10 2019-08-27 Je Hyung Kim Three-dimensional studio system
JP2018117211A (en) * 2017-01-17 2018-07-26 キヤノン株式会社 Image processing apparatus and image processing method, imaging apparatus, program

Similar Documents

Publication Publication Date Title
JP6271990B2 (en) Image processing apparatus and image processing method
US8629915B2 (en) Digital photographing apparatus, method of controlling the same, and computer readable storage medium
KR100890949B1 (en) Electronic device and method in an electronic device for processing image data
JP5643563B2 (en) Image processing apparatus and control method thereof
JP6202860B2 (en) Imaging apparatus and imaging method
JP6833415B2 (en) Image processing equipment, image processing methods, and programs
JP6116277B2 (en) Imaging apparatus and control method thereof
JP6223059B2 (en) Imaging apparatus, control method thereof, and program
JP2008187260A (en) Imaging device
US9071766B2 (en) Image capturing apparatus and control method thereof
US9961319B2 (en) Image processing apparatus and control method thereof
JP2010154306A (en) Device, program and method for imaging control
JP2007129310A (en) Imaging apparatus
JP2010279054A (en) Image pickup device, image processing device, image pickup method, and image processing method
JP4584884B2 (en) Imaging apparatus and imaging method
JP2010081357A (en) Image processing apparatus, image processing method, image processing program, and imaging device
JP2011066827A (en) Image processing apparatus, image processing method and program
JP2011015201A (en) Electronic camera
US20120188437A1 (en) Electronic camera
JP2009017427A (en) Imaging device
JP2010134309A (en) Autofocus device, autofocus method and imaging apparatus
JP6645711B2 (en) Image processing apparatus, image processing method, and program
JP2008048152A (en) Moving picture processing apparatus, moving picture photographing apparatus and moving picture photographing program
JP2013162272A (en) Imaging device
JP7475846B2 (en) Information processing device, imaging device, information processing method, and imaging device control method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120306