JP2016208396A - Image processing system, control method of the same, and program - Google Patents

Image processing system, control method of the same, and program Download PDF

Info

Publication number
JP2016208396A
JP2016208396A JP2015090256A JP2015090256A JP2016208396A JP 2016208396 A JP2016208396 A JP 2016208396A JP 2015090256 A JP2015090256 A JP 2015090256A JP 2015090256 A JP2015090256 A JP 2015090256A JP 2016208396 A JP2016208396 A JP 2016208396A
Authority
JP
Japan
Prior art keywords
focus lens
main subject
focus
lens
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015090256A
Other languages
Japanese (ja)
Other versions
JP2016208396A5 (en
JP6525710B2 (en
Inventor
玄志郎 芝上
Genshiro Shibaue
玄志郎 芝上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015090256A priority Critical patent/JP6525710B2/en
Publication of JP2016208396A publication Critical patent/JP2016208396A/en
Publication of JP2016208396A5 publication Critical patent/JP2016208396A5/en
Application granted granted Critical
Publication of JP6525710B2 publication Critical patent/JP6525710B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system capable of securely taking a moving image whose focus is varying.SOLUTION: A camera 100 sets a position of a focus lens 104, which does not focus at a main subject area 301, at an imaging start position and sets a main subject focus position at a moving destination position of the focus lens 104. The imaging start position is set on the basis of distant information of each subject.SELECTED DRAWING: Figure 2

Description

本発明は、画像処理装置及びその制御方法、並びにプログラムに関し、特に、動画撮影可能な画像処理装置及びその制御方法、並びにプログラムに関する。   The present invention relates to an image processing apparatus, a control method thereof, and a program, and more particularly, to an image processing apparatus capable of capturing a moving image, a control method thereof, and a program.

ユーザに設定された短い撮影時間、例えば、数秒間の動画を撮影可能な画像処理装置としてのデジタルカメラが知られている。撮影された動画には、被写体の動き等を強調するために、早送りや巻き戻し等の特殊な効果が付加されることがある。特殊な効果を付加する技術として、例えば、デジタルカメラが、複数の被写体が含まれる動画を撮影する際、主被写体を示す領域(以下、「主被写体領域」という。)及び当該主被写体領域に対して深度の差が大きい副被写体を示す領域(以下、「副被写体領域」という。)を夫々設定する技術が知られている。この技術では、最初に副被写体領域へピントを合わせて撮影を開始し、徐々にピントを副被写体領域から主被写体領域へ移行させ、最終的にピントを主被写体領域に合わせる(例えば、特許文献1参照)。これにより、副被写体領域の表示がピントが合った鮮明な表示からピントが合わない不鮮明な表示に変化し、主被写体領域の表示が不鮮明な表示から鮮明な表示に変化するような、ピントが変化していく動画像を取得することが可能となる。   There is known a digital camera as an image processing apparatus capable of shooting a moving image of a short shooting time set by a user, for example, several seconds. Special effects such as fast-forward and rewind may be added to the captured moving image in order to emphasize the movement of the subject. As a technique for adding a special effect, for example, when a digital camera shoots a moving image including a plurality of subjects, an area indicating a main subject (hereinafter referred to as a “main subject area”) and the main subject area. There are known techniques for setting areas indicating sub-subjects having a large difference in depth (hereinafter referred to as “sub-subject areas”). In this technique, the sub-subject area is first focused and shooting is started, the focus is gradually shifted from the sub-subject area to the main subject area, and finally the focus is adjusted to the main subject area (for example, Patent Document 1). reference). This changes the focus so that the display of the sub-subject area changes from a clear display that is in focus to an unclear display that is out of focus, and the display of the main object area changes from an unclear display to a clear display. It is possible to acquire a moving image.

特開2010−286752号公報JP 2010-286752 A

しかしながら、特許文献1の技術を主被写体領域に対して深度の差が小さい副被写体領域しか存在しない動画の撮影に用いた場合、最初に副被写体領域へピントを合わせたときに主被写体領域へもほぼピントが合う。そのため、徐々にピントを副被写体領域から主被写体領域へ移行させても副被写体領域の表示及び主被写体領域の表示はほぼ鮮明なままであり、ピントが変化していく動画を撮影することができない。   However, when the technique of Patent Document 1 is used to shoot a moving image in which only a sub-subject area having a small depth difference with respect to the main subject area is present, the main subject area is also moved when the sub-subject area is first focused. Almost in focus. Therefore, even if the focus is gradually shifted from the sub subject area to the main subject area, the display of the sub subject area and the display of the main subject area remain almost clear, and it is not possible to shoot a moving image in which the focus changes. .

本発明の目的は、ピントが変化していく動画を確実に撮影することができる画像処理装置及びその制御方法、並びにプログラムを提供することにある。   An object of the present invention is to provide an image processing apparatus, a control method therefor, and a program that can reliably capture a moving image that changes focus.

上記目的を達成するために、本発明の画像処理装置は、フォーカスレンズの位置を移動させて焦点を合わせ、主被写体を含む複数の被写体の動画撮影を行う画像処理装置において、前記複数の被写体の距離情報を取得する距離情報取得手段と、前記フォーカスレンズの撮影開始位置及び前記動画撮影を実行中に前記フォーカスレンズを移動させる前記フォーカスレンズの移動先位置の各々を設定するレンズ位置設定手段と、前記フォーカスレンズを前記撮影開始位置から前記移動先位置に移動させながら動画撮影を行う動画撮影手段とを備え、前記レンズ位置設定手段は、前記主被写体に焦点が合うフォーカスレンズの位置を前記移動先位置に設定するとともに、前記主被写体の距離情報及び他の前記被写体の距離情報に基づいて前記主被写体に焦点が合わないフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする。   In order to achieve the above object, an image processing apparatus of the present invention is an image processing apparatus that performs moving image shooting of a plurality of subjects including a main subject by moving the position of a focus lens to focus the plurality of subjects. Distance information acquisition means for acquiring distance information, lens position setting means for setting each of a focus start position of the focus lens and a movement destination position of the focus lens that moves the focus lens during the moving image shooting; Moving image shooting means for moving image shooting while moving the focus lens from the shooting start position to the movement destination position, and the lens position setting means sets the position of the focus lens focused on the main subject to the movement destination And the main subject based on the distance information of the main subject and the distance information of the other subject. The position of the focus lens where the focus is not fit and sets the imaging start position.

本発明によれば、ピントが変化していく動画を確実に撮影することができる。   According to the present invention, it is possible to reliably shoot a moving image whose focus changes.

本発明の実施の形態に係る画像形成装置としてのカメラの構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a camera as an image forming apparatus according to an embodiment of the present invention. 図1のカメラで実行される特殊効果動画撮影処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the special effect moving image shooting process performed with the camera of FIG. 図1のカメラで撮影された画像データの一例を示す図である。It is a figure which shows an example of the image data image | photographed with the camera of FIG. 図2におけるステップS206の分類処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the classification | category process of step S206 in FIG. 図2におけるステップS209のピント変化動画撮影処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a focus change moving image | photographing process of step S209 in FIG. 図2の特殊効果動画撮影処理の変形例の手順を示すフローチャートである。It is a flowchart which shows the procedure of the modification of the special effect moving image shooting process of FIG.

以下、本発明の実施の形態を図面を参照しながら詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

本実施の形態では、画像処理装置としてのカメラに本発明を適用した場合について説明するが、本発明の適用先はカメラに限られず、動画撮影を実行中にピント調整可能な画像処理装置であれば本発明を適用することができる。   In this embodiment, the case where the present invention is applied to a camera as an image processing apparatus will be described. However, the application destination of the present invention is not limited to the camera, and may be an image processing apparatus that can adjust the focus while performing moving image shooting. The present invention can be applied.

図1は、本発明の実施の形態に係る画像形成装置としてのカメラ100の構成を概略的に示すブロック図である。   FIG. 1 is a block diagram schematically showing a configuration of a camera 100 as an image forming apparatus according to an embodiment of the present invention.

図1において、カメラ100は、撮影レンズ101、シャッター102、AE処理部103、フォーカスレンズ104、モータ105、AF処理部106、撮像素子107、A/D変換部108、画像処理部109、及びフォーマット変換部110を備える。また、カメラ100は、DRAM111、外部記録I/F112、システム制御部113、VRAM114、画像表示部115、及び操作部116を備える。システム制御部113は、AE処理部103、AF処理部106、画像処理部109、DRAM111、画像表示部115、及び操作部116と夫々互いに接続されている。シャッター102はAE処理部103と接続され、モータ105はフォーカスレンズ104及びAF処理部106と夫々接続されている。撮像素子107はA/D変換部108と接続され、A/D変換部108は画像処理部109と接続され、画像処理部109はフォーマット変換部110と接続されている。DRAM111はフォーマット変換部110、外部記録I/F112、及びVRAM114と夫々接続され、VRAM114は画像表示部115と接続されている。   In FIG. 1, a camera 100 includes a photographing lens 101, a shutter 102, an AE processing unit 103, a focus lens 104, a motor 105, an AF processing unit 106, an image sensor 107, an A / D conversion unit 108, an image processing unit 109, and a format. A conversion unit 110 is provided. The camera 100 also includes a DRAM 111, an external recording I / F 112, a system control unit 113, a VRAM 114, an image display unit 115, and an operation unit 116. The system control unit 113 is connected to the AE processing unit 103, the AF processing unit 106, the image processing unit 109, the DRAM 111, the image display unit 115, and the operation unit 116, respectively. The shutter 102 is connected to the AE processing unit 103, and the motor 105 is connected to the focus lens 104 and the AF processing unit 106, respectively. The image sensor 107 is connected to an A / D converter 108, the A / D converter 108 is connected to an image processor 109, and the image processor 109 is connected to a format converter 110. The DRAM 111 is connected to the format conversion unit 110, the external recording I / F 112, and the VRAM 114, and the VRAM 114 is connected to the image display unit 115.

カメラ100は、設定された撮影時間、例えば、数秒の短い動画を撮影可能であり、撮影される動画に被写体や当該被写体の動きを強調するような特殊な効果を付加可能である。本実施の形態では、被写体を強調する効果を付加するために、例えば、主被写体に徐々にピント(焦点)が合っていくような動画の撮影が行われる。   The camera 100 can shoot a moving image having a set shooting time, for example, a few seconds, and can add a special effect that emphasizes the subject and the movement of the subject to the moving image. In the present embodiment, in order to add an effect of enhancing the subject, for example, a moving image that gradually focuses on the main subject is taken.

撮影レンズ101はズーム機構を含み、シャッター102は絞り機能を有する。AE処理部103はシャッター102を制御して撮影レンズ101から透過された光の光量を制御する。フォーカスレンズ104はモータ105の駆動によって移動可能である。AF処理部106はモータ105を制御してフォーカスレンズ104の位置を移動させる。カメラ100では、フォーカスレンズ104の位置を移動させて被写体のピント調整が行われる。また、AF処理部106は、システム制御部113等から取得した画像データに基づいて画像データのコントラストを解析し、当該解析した結果に基づいて画像データにおけるコントラストの強さを示すAF評価値を算出する。AF評価値が高いと画像データのコントラストが強いことを示し、AF評価値が低いと画像データのコントラストが弱いことを示す。撮像素子107はフォーカスレンズ104を透過した光を受光し、受光した光を電気的なアナログ信号に光電変換する。本実施の形態では、撮像素子107は、像面位相差方式に対応した撮像素子であり、カメラ100は、撮像素子107を用いて位相の異なる被写体画像情報を取得し、取得された位相の異なる被写体画像情報を用いて被写体の距離を測定可能である。   The taking lens 101 includes a zoom mechanism, and the shutter 102 has a diaphragm function. The AE processing unit 103 controls the shutter 102 to control the amount of light transmitted from the photographing lens 101. The focus lens 104 can be moved by driving a motor 105. The AF processing unit 106 controls the motor 105 to move the position of the focus lens 104. In the camera 100, the focus of the subject is adjusted by moving the position of the focus lens 104. Further, the AF processing unit 106 analyzes the contrast of the image data based on the image data acquired from the system control unit 113 and the like, and calculates an AF evaluation value indicating the strength of contrast in the image data based on the analysis result. To do. A high AF evaluation value indicates that the contrast of the image data is strong, and a low AF evaluation value indicates that the contrast of the image data is weak. The image sensor 107 receives the light transmitted through the focus lens 104 and photoelectrically converts the received light into an electrical analog signal. In the present embodiment, the image sensor 107 is an image sensor compatible with the image plane phase difference method, and the camera 100 acquires subject image information having different phases using the image sensor 107, and the acquired phases are different. The subject distance can be measured using the subject image information.

A/D変換部108は撮像素子107で光電変換されたアナログ信号をデジタル信号に変換する。画像処理部109はA/D変換部108で変換されたデジタル信号に基づいて画像データを生成し、生成された画像データに含まれるエッジ成分を用いて領域の判別や、各被写体領域を検出する。本実施の形態では、撮影された各被写体から主被写体領域及び副被写体領域を検出する。フォーマット変換部110は画像処理部109で生成された画像データをAF処理部106等で読み込み可能なフォーマットに変換する。DRAM111は高速な内蔵メモリであり、外部記録I/F112はメモリカード等の各種外部記録媒体とデータ通信を行う。システム制御部113は図示しないCPU及び当該CPUで実行可能な各種プログラムを格納する格納部を備える。システム制御部113は、CPUが格納部に格納された各種プログラムを実行することによって、当該システム制御部113に接続された各構成要素を統括的に制御する。VRAM114は画像表示部115に各種表示を行うために必要な表示データを格納する。画像表示部115はVRAM114に格納された表示データに基づいて各種画面、例えば、撮影中の動画像や各種設定画面を表示する。操作部116は各種操作ボタンを備え、カメラ100の各種設定や各種撮影の操作を行う。   The A / D converter 108 converts the analog signal photoelectrically converted by the image sensor 107 into a digital signal. The image processing unit 109 generates image data based on the digital signal converted by the A / D conversion unit 108, determines an area using an edge component included in the generated image data, and detects each subject area. . In the present embodiment, a main subject area and a sub-subject area are detected from each photographed subject. The format conversion unit 110 converts the image data generated by the image processing unit 109 into a format that can be read by the AF processing unit 106 or the like. The DRAM 111 is a high-speed built-in memory, and the external recording I / F 112 performs data communication with various external recording media such as a memory card. The system control unit 113 includes a CPU (not shown) and a storage unit that stores various programs that can be executed by the CPU. The system control unit 113 performs overall control of each component connected to the system control unit 113 by the CPU executing various programs stored in the storage unit. The VRAM 114 stores display data necessary for performing various displays on the image display unit 115. The image display unit 115 displays various screens based on the display data stored in the VRAM 114, for example, moving images being shot and various setting screens. The operation unit 116 includes various operation buttons, and performs various settings of the camera 100 and various shooting operations.

図2は、図1におけるカメラ100で実行される特殊効果動画撮影処理の手順を示すフローチャートである。   FIG. 2 is a flowchart showing a procedure of special effect moving image shooting processing executed by the camera 100 in FIG.

図2の処理は、システム制御部113が各種プログラムを実行することによって行われ、被写体の動画を撮影する場合を前提とする。   The processing in FIG. 2 is performed by the system control unit 113 executing various programs, and it is assumed that a moving image of the subject is shot.

図2において、まず、システム制御部113は、撮影された全ての被写体が静止しているか否かを判別する(ステップS201)。   In FIG. 2, first, the system control unit 113 determines whether or not all the photographed subjects are stationary (step S201).

ステップS201の判別の結果、撮影された被写体のうちいずれかの被写体が静止していないとき、システム制御部113は動きのある被写体に適した早送りや逆戻し等の特殊効果を撮影中の動画に付与することを決定する(ステップS202)。その後、システム制御部113はステップS202の処理を実行した後に本処理を終了する。   As a result of the determination in step S201, when any one of the photographed subjects is not stationary, the system control unit 113 adds special effects such as fast-forward and reverse movement suitable for the moving subject to the moving image being photographed. It decides to give (step S202). Thereafter, the system control unit 113 ends the process after executing the process of step S202.

ステップS201の判別の結果、撮影された全ての被写体が静止しているとき、システム制御部113は、撮影された画像データを図3(a)に示すように等間隔に分割し、分割された分割領域毎に距離情報を算出して距離マップを生成する。その後、システム制御部113は生成された距離マップから各被写体の距離情報を取得する(ステップS203)(距離情報取得手段)。距離マップはカメラ100と各被写体との距離情報を含み、距離情報は、例えば、AF処理部106で算出されるAF評価値や像面位相差方式で用いられる各種情報に基づいて算出される。   As a result of the determination in step S201, when all photographed subjects are stationary, the system control unit 113 divides the photographed image data into equal intervals as shown in FIG. A distance map is generated by calculating distance information for each divided region. Thereafter, the system control unit 113 acquires distance information of each subject from the generated distance map (step S203) (distance information acquisition means). The distance map includes distance information between the camera 100 and each subject, and the distance information is calculated based on, for example, AF evaluation values calculated by the AF processing unit 106 and various information used in the image plane phase difference method.

次いで、システム制御部113は、生成された距離マップの各分割領域のうち主被写体領域301を設定する(ステップS204)。本実施の形態では、例えば、距離マップの各分割領域のうち、距離マップにおける中央付近に位置し、且つ顔等を含む分割領域、及び当該分割領域に隣接する分割領域を主被写体領域301に設定する。次いで、システム制御部113は、生成された距離マップの各分割領域のうち副被写体領域302を設定する(ステップS205)。ステップS205では、システム制御部113は背景に対応する分割領域等を副被写体領域302に設定する。例えば、同じ距離情報が所定の範囲以上連続する被写体を含む分割領域や、カメラ100との距離が最も遠い被写体を含む分割領域、及び当該分割領域に隣接する分割領域を副被写体領域302に設定する。次いで、システム制御部113は、後述する図4の分類処理を行う(ステップS206)。分類処理では、システム制御部113は、副被写体領域302にピントが合うフォーカスレンズ104の位置(以下、「副被写体ピント位置」という。)を撮影開始時のフォーカスレンズ104の位置(以下、「撮影開始位置」という。)に利用可能若しくは利用不可能のいずれかに分類する。次いで、システム制御部113は、副被写体ピント位置が利用可能であるか否かを判別する(ステップS207)。   Next, the system control unit 113 sets the main subject area 301 among the divided areas of the generated distance map (step S204). In the present embodiment, for example, among the divided areas of the distance map, a divided area that is located near the center of the distance map and includes a face and the divided area adjacent to the divided area are set as the main subject area 301. To do. Next, the system control unit 113 sets the sub-subject area 302 among the divided areas of the generated distance map (step S205). In step S <b> 205, the system control unit 113 sets a divided area or the like corresponding to the background in the sub subject area 302. For example, the sub-subject area 302 is set to a sub-area including a sub-area including a subject where the same distance information continues for a predetermined range or more, a sub-area including a subject farthest from the camera 100, and a sub-area adjacent to the sub-area. . Next, the system control unit 113 performs a classification process shown in FIG. 4 to be described later (step S206). In the classification process, the system control unit 113 determines the position of the focus lens 104 (hereinafter referred to as “sub-subject focus position”) that focuses on the sub-subject region 302 (hereinafter referred to as “photo-capture position”). It is classified as either “available or unavailable” in the “starting position”. Next, the system control unit 113 determines whether or not the sub subject focus position is available (step S207).

ステップS207の判別の結果、副被写体ピント位置が利用可能であるとき、システム制御部113は、副被写体ピント位置を撮影開始位置に設定する(ステップS208)(レンズ位置設定手段)。次いで、システム制御部113は、後述する図5のピント変化動画撮影処理を行って(ステップS209)、フォーカスレンズ104の位置を移動させてピントが変化する動画を撮影して、本処理を終了する。   As a result of the determination in step S207, when the sub-subject focus position is available, the system control unit 113 sets the sub-subject focus position as the shooting start position (step S208) (lens position setting means). Next, the system control unit 113 performs a focus change movie shooting process of FIG. 5 to be described later (step S209), moves a position of the focus lens 104 to shoot a movie that changes the focus, and ends this process. .

ステップS207の判別の結果、副被写体ピント位置が利用不可能であるとき、システム制御部113は、主被写体ピント位置がフォーカスレンズ104の移動可能領域の境界となる境界位置の近傍であるか否かを判別する(ステップS210)。以下の説明では、主被写体領域301にピントが合うフォーカスレンズ104の位置は主被写体ピント位置とし、また、フォーカスレンズ104の移動可能領域の境界となる境界位置はフォーカスレンズ104の移動境界位置とする。例えば、主被写体ピント位置がフォーカスレンズ104の移動境界位置の近傍となる場合は、図3(b)に示すような風景の場合である。この場合、主被写体領域の距離情報はほぼ無限遠となる。   As a result of the determination in step S207, when the sub subject focus position cannot be used, the system control unit 113 determines whether or not the main subject focus position is in the vicinity of the boundary position that is the boundary of the movable region of the focus lens 104. Is discriminated (step S210). In the following description, the position of the focus lens 104 that focuses on the main subject area 301 is the main subject focus position, and the boundary position that is the boundary of the movable area of the focus lens 104 is the movement boundary position of the focus lens 104. . For example, the case where the main subject focus position is in the vicinity of the movement boundary position of the focus lens 104 is a landscape as shown in FIG. In this case, the distance information of the main subject area is almost infinite.

ステップS210の判別の結果、主被写体ピント位置がフォーカスレンズ104の移動境界位置の近傍であるとき、システム制御部113はフォーカスレンズ104の移動境界位置に基づいて撮影開始位置を設定する(ステップS211)。具体的に、システム制御部113は、光軸に沿ってフォーカスレンズ104の移動可能領域の内側となる方向、つまり、移動境界位置から離れる方向に移動させて主被写体領域301にピントが合わなくなる位置を撮影開始位置に設定する(レンズ位置設定手段)。これにより、システム制御部113は撮影開始位置をフォーカスレンズ104の移動可能領域の位置に確実に設定可能である。ステップS211では、主被写体領域301にピントが合わなくなる位置として、主被写体領域301と深度の差が予め規定された所定の閾値となる他の被写体領域にピントが合うフォーカスレンズ104の位置が設定される。本実施の形態では、所定の閾値は10深度以上であることとするが、閾値は適宜設定可能である。以下の説明では、上記主被写体領域と深度の差が所定の閾値となる他の被写体領域にピントが合うフォーカスレンズ104の位置は他の被写体ピント位置とする。次いで、システム制御部113はステップS209の処理を行って、本処理を終了する。   As a result of the determination in step S210, when the main subject focus position is in the vicinity of the movement boundary position of the focus lens 104, the system control unit 113 sets the shooting start position based on the movement boundary position of the focus lens 104 (step S211). . Specifically, the system control unit 113 moves the focus lens 104 along the optical axis in a direction that is inside the movable region, that is, a direction away from the moving boundary position, so that the main subject region 301 cannot be focused. Is set as the photographing start position (lens position setting means). Accordingly, the system control unit 113 can reliably set the photographing start position to the position of the movable region of the focus lens 104. In step S211, the position of the focus lens 104 that focuses on the other subject area where the difference in depth from the main subject area 301 is a predetermined threshold value is set as the position at which the main subject area 301 is out of focus. The In the present embodiment, the predetermined threshold is 10 depths or more, but the threshold can be set as appropriate. In the following description, the position of the focus lens 104 that focuses on another subject region in which the difference in depth from the main subject region has a predetermined threshold is assumed to be another subject focus position. Next, the system control unit 113 performs the process of step S209 and ends this process.

ステップS210の判別の結果、主被写体ピント位置がフォーカスレンズ104の移動境界位置の近傍でないとき、システム制御部113は、他の被写体ピント位置を撮影開始位置に設定する(ステップS212)(レンズ位置設定手段)。すなわち、本実施の形態では、主被写体領域301にピントが合わないフォーカスレンズ104の位置が撮影開始位置に必ず設定される。次いで、システム制御部113はステップS209の処理を行って、本処理を終了する。   As a result of the determination in step S210, when the main subject focus position is not in the vicinity of the movement boundary position of the focus lens 104, the system control unit 113 sets another subject focus position as a shooting start position (step S212) (lens position setting). means). That is, in the present embodiment, the position of the focus lens 104 that is out of focus with the main subject area 301 is always set as the shooting start position. Next, the system control unit 113 performs the process of step S209 and ends this process.

図2の処理では、ステップS205で主被写体領域301に含まれる顔の大きさに対して所定の割合、具体的に、1/4〜1/5以下の大きさの顔以外を含む分割領域を検知し(検知手段)、検知された分割領域から副被写体領域を設定してもよい。   In the process of FIG. 2, in step S205, a divided area including a face having a predetermined ratio with respect to the face size included in the main subject area 301, specifically, a face other than a face having a size of 1/4 to 1/5 or less. It is also possible to detect (detecting means) and set a sub-subject area from the detected divided areas.

図4は、図2におけるステップS206の分類処理の手順を示すフローチャートである。   FIG. 4 is a flowchart showing the procedure of the classification process in step S206 in FIG.

図4において、まず、システム制御部113は主被写体ピント位置を算出する(ステップS401)。その後、システム制御部113は、算出された主被写体ピント位置を後述する図5のピント変化動画撮影処理で用いられるフォーカスレンズ104の移動先の位置(以下、「移動先位置」という。)に設定する(レンズ位置設定手段)。次いで、システム制御部113は副被写体ピント位置を算出する(ステップS402)。ステップS401及びS402では、例えば、主被写体領域301の距離情報及び副被写体領域302の距離情報の各々の平均値や、AF処理部106で算出されるAF評価値に基づいて主被写体ピント位置及び副被写体ピント位置が算出される。次いで、システム制御部113は、主被写体ピント位置及び副被写体ピント位置の差に基づいてフォーカスレンズ104の移動量を算出する(ステップS403)。次いで、システム制御部113は、算出されたフォーカスレンズ104の移動量及び予め設定された撮影時間(以下、「撮影設定時間」という。)に基づいてフォーカスレンズ104の移動速度を算出する(ステップS404)。撮影設定時間(実行時間)はユーザによって予め設定される(実行時間設定手段)。本実施の形態では、主被写体を強調するために、主被写体領域301にピントが合った後、所定の時間フォーカスレンズ104の位置を移動させずに撮影を行う。そのため、ステップS404では、フォーカスレンズ104の移動量及び撮影設定時間からフォーカスレンズ104の位置を移動させない所定の時間を除く時間に基づいてフォーカスレンズ104の移動速度が算出される。次いで、システム制御部113は、算出されたフォーカスレンズ104の移動速度が予め設定されたフォーカスレンズ104が移動可能な最大移動速度(以下、「フォーカスレンズ104の最大移動速度」という。)を超えているか否かを判別する(ステップS405)。フォーカスレンズ104の最大移動速度は、フォーカスレンズ104を動かすモータ105の駆動限界速度である。   In FIG. 4, first, the system control unit 113 calculates the main subject focus position (step S401). After that, the system control unit 113 sets the calculated main subject focus position to the position of the focus lens 104 that is used in the focus change movie shooting process of FIG. 5 (to be described later) (hereinafter referred to as “movement destination position”). (Lens position setting means). Next, the system control unit 113 calculates the sub subject focus position (step S402). In steps S401 and S402, for example, the main subject focus position and sub-subject position based on the average value of the distance information of the main subject region 301 and the distance information of the sub-subject region 302 and the AF evaluation value calculated by the AF processing unit 106. The subject focus position is calculated. Next, the system control unit 113 calculates the amount of movement of the focus lens 104 based on the difference between the main subject focus position and the sub subject focus position (step S403). Next, the system control unit 113 calculates the moving speed of the focus lens 104 based on the calculated moving amount of the focus lens 104 and a preset shooting time (hereinafter referred to as “shooting setting time”) (step S404). ). The shooting setting time (execution time) is preset by the user (execution time setting means). In this embodiment, in order to emphasize the main subject, after focusing on the main subject region 301, shooting is performed without moving the position of the focus lens 104 for a predetermined time. Therefore, in step S404, the moving speed of the focus lens 104 is calculated based on a time excluding a predetermined time during which the position of the focus lens 104 is not moved from the moving amount of the focus lens 104 and the shooting setting time. Next, the system control unit 113 exceeds the calculated maximum moving speed at which the focus lens 104 can move (hereinafter referred to as “the maximum moving speed of the focus lens 104”). It is determined whether or not there is (step S405). The maximum moving speed of the focus lens 104 is a driving limit speed of the motor 105 that moves the focus lens 104.

ステップS405の判別の結果、フォーカスレンズ104の移動速度が最大移動速度を超えているとき、システム制御部113は、副被写体ピント位置及び主被写体ピント位置の間隔が長過ぎると判断する。その後、システム制御部113は、絞り値の変更によってフォーカスレンズ104の移動速度を調整可能であるか否かを判別する(ステップS406)。絞り値は、各被写体にピントが合う深度の範囲を示す被写界深度を調整し、フォーカスレンズ104の移動量を調整するために用いられる。例えば、設定されている絞り値より大きい絞り値を設定すると、副被写体ピント位置及び主被写体ピント位置の間隔を短くすることができ、フォーカスレンズ104を副被写体ピント位置から主被写体ピント位置に移動させる移動量が小さくなる。これにより、フォーカスレンズ104の移動速度をステップS404で算出されたフォーカスレンズ104の移動速度より遅くすることが可能となる。ステップS406では、例えば、設定された絞り値より大きい絞り値を設定してフォーカスレンズ104の移動量を最大移動速度を超えない移動量に調整可能である場合、フォーカスレンズ104の移動速度の調整が可能であると判別される。一方、設定された絞り値より大きい絞り値を設定してもフォーカスレンズ104の移動量を最大移動速度を超えない移動量に調整不可能である場合、フォーカスレンズ104の移動速度の調整が不可能であると判別される。   As a result of the determination in step S405, when the moving speed of the focus lens 104 exceeds the maximum moving speed, the system control unit 113 determines that the interval between the sub subject focus position and the main subject focus position is too long. Thereafter, the system control unit 113 determines whether or not the moving speed of the focus lens 104 can be adjusted by changing the aperture value (step S406). The aperture value is used to adjust the depth of field indicating the depth range in which each subject is in focus, and to adjust the amount of movement of the focus lens 104. For example, if an aperture value larger than the set aperture value is set, the interval between the sub subject focus position and the main subject focus position can be shortened, and the focus lens 104 is moved from the sub subject focus position to the main subject focus position. The moving amount becomes smaller. Thereby, the moving speed of the focus lens 104 can be made slower than the moving speed of the focus lens 104 calculated in step S404. In step S406, for example, when the aperture value larger than the set aperture value is set and the movement amount of the focus lens 104 can be adjusted to a movement amount that does not exceed the maximum movement speed, the movement speed of the focus lens 104 is adjusted. It is determined that it is possible. On the other hand, if the moving amount of the focus lens 104 cannot be adjusted to a moving amount that does not exceed the maximum moving speed even if an aperture value that is larger than the set aperture value is set, the moving speed of the focus lens 104 cannot be adjusted. It is determined that

ステップS406の判別の結果、フォーカスレンズ104の移動速度を調整不可能であるとき、システム制御部113は副被写体ピント位置を撮影開始時のフォーカスレンズ104の位置に設定不可能であると判断する。その後、システム制御部113は副被写体ピント位置を利用不可能に分類し(ステップS407)、図2のステップS207以降の処理を行う。   As a result of the determination in step S406, when the moving speed of the focus lens 104 cannot be adjusted, the system control unit 113 determines that the sub subject focus position cannot be set to the position of the focus lens 104 at the start of shooting. Thereafter, the system control unit 113 classifies the sub-subject focus position as unusable (step S407), and performs the processing after step S207 in FIG.

ステップS406の判別の結果、フォーカスレンズ104の移動速度を調整可能であるとき、システム制御部113は変更する絞り値(以下、「変更絞り値」という。)を選択する。次いで、システム制御部113は、選択された変更絞り値をDRAM111等に格納し(ステップS408)、変更絞り値を設定した際の主被写体ピント位置及び副被写体ピント位置の移動量を算出する(ステップS409)。次いで、システム制御部113は、フォーカスレンズ104の移動量を算出し(ステップS410)、副被写体ピント位置を利用可能に分類し(ステップS411)、図2のステップS207以降の処理を行う。   As a result of the determination in step S406, when the moving speed of the focus lens 104 can be adjusted, the system control unit 113 selects an aperture value to be changed (hereinafter referred to as “changed aperture value”). Next, the system control unit 113 stores the selected changed aperture value in the DRAM 111 or the like (step S408), and calculates the movement amount of the main subject focus position and the sub subject focus position when the changed aperture value is set (step S408). S409). Next, the system control unit 113 calculates the amount of movement of the focus lens 104 (step S410), classifies the sub subject focus position as usable (step S411), and performs the processing after step S207 in FIG.

ステップS405の判別の結果、フォーカスレンズ104の移動速度が最大移動速度を超えていないとき、システム制御部113は、主被写体領域301が副被写体領域302と所定の深度差以上であるか否かを判別する(ステップS412)。所定の深度は、主被写体ピント位置において副被写体領域302にピントが合わず十分にぼやける深度を示し、本実施の形態では10深度以上を示す。   As a result of the determination in step S405, when the moving speed of the focus lens 104 does not exceed the maximum moving speed, the system control unit 113 determines whether or not the main subject area 301 is greater than or equal to a predetermined depth difference from the sub subject area 302. A determination is made (step S412). The predetermined depth indicates a depth at which the sub subject area 302 is not in focus at the focus position of the main subject and is sufficiently blurred. In the present embodiment, the predetermined depth is 10 depths or more.

ステップS412の判別の結果、主被写体領域301が副被写体領域302と所定の深度差以上でないとき、システム制御部113は、主被写体領域301及び副被写体領域302の深度を調整可能であるか否かを判別する(ステップS413)。ステップS413では、例えば、設定された絞り値より小さい絞り値を設定して主被写体領域301及び副被写体領域302の深度を所定の深度差以上に調整可能である場合、主被写体領域301及び副被写体領域302の深度の調整が可能であると判別される。一方、設定された絞り値より小さい絞り値を設定しても主被写体領域301及び副被写体領域302の深度を所定の深度差以上に調整不可能である場合、主被写体領域301及び副被写体領域302の深度の調整不可能であると判別される。   As a result of the determination in step S412, when the main subject area 301 is not greater than the predetermined depth difference from the sub subject area 302, the system control unit 113 determines whether the depths of the main subject area 301 and the sub subject area 302 can be adjusted. Is discriminated (step S413). In step S413, for example, when the aperture value smaller than the set aperture value is set and the depths of the main subject region 301 and the sub subject region 302 can be adjusted to a predetermined depth difference or more, the main subject region 301 and the sub subject It is determined that the depth of the region 302 can be adjusted. On the other hand, if the depths of the main subject region 301 and the sub subject region 302 cannot be adjusted to a predetermined depth difference or more even if an aperture value smaller than the set aperture value is set, the main subject region 301 and the sub subject region 302 It is determined that the depth cannot be adjusted.

ステップS413の判別の結果、主被写体領域301及び副被写体領域302の深度を調整可能であるとき、変更絞り値をDRAM111等に格納し(ステップS414)、ステップS411以降の処理を行う。   If the depth of the main subject region 301 and the sub subject region 302 can be adjusted as a result of the determination in step S413, the changed aperture value is stored in the DRAM 111 or the like (step S414), and the processing after step S411 is performed.

ステップS413の判別の結果、主被写体領域301及び副被写体領域302の深度を調整不可能であるとき、システム制御部113はステップS407以降の処理を行う。   As a result of the determination in step S413, when the depths of the main subject region 301 and the sub subject region 302 cannot be adjusted, the system control unit 113 performs the processing from step S407.

ステップS412の判別の結果、主被写体領域301が副被写体領域302と所定の深度差以上であるとき、システム制御部113はステップS411以降の処理を行う。   As a result of the determination in step S412, when the main subject region 301 is greater than or equal to a predetermined depth difference from the sub-subject region 302, the system control unit 113 performs the processing from step S411.

図5は、図2におけるステップS209のピント変化動画撮影処理の手順を示すフローチャートである。   FIG. 5 is a flowchart showing the procedure of the focus change movie shooting process in step S209 in FIG.

図5において、まず、システム制御部113は絞り値の設定を変更するか否かを判別する(ステップS501)。本実施の形態では、例えば、DRAM111等に変更絞り値が格納されている場合、システム制御部113は絞り値の設定を変更すると判別する。一方、DRAM111等に変更絞り値が格納されていない場合、システム制御部113は絞り値の設定を変更しないと判別する。   In FIG. 5, first, the system control unit 113 determines whether or not to change the aperture value setting (step S501). In the present embodiment, for example, when a changed aperture value is stored in the DRAM 111 or the like, the system control unit 113 determines to change the aperture value setting. On the other hand, when the changed aperture value is not stored in the DRAM 111 or the like, the system control unit 113 determines that the aperture value setting is not changed.

ステップS501の判別の結果、絞り値の設定を変更するとき、システム制御部113はDRAM111等に格納された変更絞り値を設定する(ステップS502)。次いで、システム制御部113はステップS208、S211、及びS212のいずれかで設定された撮影開始位置にフォーカスレンズ104を移動する(ステップS503)。例えば、副被写体ピント位置が撮影開始位置である場合、図3(b)に示すような、副被写体領域302が鮮明となり、主被写体領域301が不鮮明となる動画が撮影される。次いで、システム制御部113は、動画の撮影を開始し(ステップS504)、フォーカスレンズ104を撮影開始位置から移動先位置に移動させる(ステップS505)。これにより、副被写体領域302では鮮明な表示(例えば、図3(c))から不鮮明な表示(例えば、図3(d))に変化し、主被写体領域301では不鮮明な表示(例えば、図3(c))から鮮明な表示(例えば、図3(d))に変化する動画が撮影される。次いで、システム制御部113は、主被写体を強調するために、フォーカスレンズ104の位置を主被写体ピント位置に維持して所定の時間の撮影を行う(ステップS506)。本実施の形態では、所定の時間は約1秒である。次いで、システム制御部113は撮影を完了して(ステップS507)、本処理を終了する。   As a result of the determination in step S501, when changing the aperture value setting, the system control unit 113 sets the changed aperture value stored in the DRAM 111 or the like (step S502). Next, the system control unit 113 moves the focus lens 104 to the shooting start position set in any of steps S208, S211 and S212 (step S503). For example, when the sub subject focus position is the shooting start position, a moving image in which the sub subject area 302 becomes clear and the main subject area 301 becomes unclear as shown in FIG. 3B is taken. Next, the system control unit 113 starts shooting a moving image (step S504), and moves the focus lens 104 from the shooting start position to the destination position (step S505). As a result, the sub-subject area 302 changes from a clear display (for example, FIG. 3C) to an unclear display (for example, FIG. 3D), and the main subject area 301 has a non-clear display (for example, FIG. 3). A moving image that changes from (c)) to a clear display (for example, FIG. 3D) is taken. Next, in order to emphasize the main subject, the system control unit 113 performs photographing for a predetermined time while maintaining the position of the focus lens 104 at the main subject focus position (step S506). In the present embodiment, the predetermined time is about 1 second. Next, the system control unit 113 completes photographing (step S507), and ends this processing.

図2、図4、及び図5の処理によれば、主被写体領域301にピントが合わないフォーカスレンズ104の位置が撮影開始位置に設定され、主被写体ピント位置がフォーカスレンズ104の移動先位置に設定される。さらに、撮影開始位置は各被写体の距離情報に基づいて設定される。これにより、主被写体領域の距離情報との差が少ない距離情報を有する他の被写体領域にピントが合うフォーカスレンズ104の位置が撮影開始位置に設定されるのを防止して動画の撮影開始から主被写体領域にピントが合うのを防止することができる。その結果、主被写体領域にピントが合わない状態から主被写体領域にピントが合う状態に変化するような、フォーカスレンズ104のピントが変化していく動画を確実に撮影することができる。   2, 4, and 5, the position of the focus lens 104 that does not focus on the main subject region 301 is set as the shooting start position, and the main subject focus position becomes the movement destination position of the focus lens 104. Is set. Further, the shooting start position is set based on the distance information of each subject. As a result, the position of the focus lens 104 that focuses on another subject area having distance information with a small difference from the distance information of the main subject area is prevented from being set as the shooting start position, and the moving picture is started from the start of moving picture shooting. It is possible to prevent the subject area from being focused. As a result, it is possible to reliably shoot a moving image in which the focus of the focus lens 104 changes such that the main subject area changes from being out of focus to being in focus.

また、図2、図4、及び図5の処理によれば、主被写体領域301と深度の差が閾値以上となるフォーカスレンズ104の位置が撮影開始位置に設定される。これにより、動画の撮影開始から主被写体にピントが合うのを確実に防止することができる。   2, 4, and 5, the position of the focus lens 104 where the difference in depth from the main subject region 301 is equal to or greater than the threshold is set as the shooting start position. Accordingly, it is possible to reliably prevent the main subject from being focused from the start of moving image shooting.

図2、図4、及び図5の処理によれば、主被写体領域301にピントが合った後、所定の時間に亘ってフォーカスレンズ104の位置を移動させずに撮影が行われる。これにより、動画において主被写体領域にピントが合う時間を長くすることができ、もって、主被写体を強調した動画像を得ることができる。   2, 4, and 5, after focusing on the main subject area 301, photographing is performed without moving the position of the focus lens 104 for a predetermined time. As a result, it is possible to lengthen the time for focusing on the main subject area in the moving image, thereby obtaining a moving image in which the main subject is emphasized.

また、図2、図4、及び図5の処理によれば、副被写体ピント位置で主被写体にピントが合わない場合、副被写体ピント位置が撮影開始位置に設定される。これにより、主被写体領域の距離情報及び他の被写体領域の距離情報を用いることなく、撮影開始位置を簡単に設定することができ、もって、フォーカスレンズ104のピントが変化していく動画像を簡単に得ることができる。   In addition, according to the processing of FIGS. 2, 4, and 5, when the main subject is not focused at the sub subject focus position, the sub subject focus position is set as the shooting start position. As a result, the shooting start position can be easily set without using the distance information of the main subject area and the distance information of other subject areas, and thus the moving image in which the focus lens 104 is in focus can be easily changed. Can get to.

以上、本発明について実施の形態を用いて説明したが、本発明は上述した実施の形態に限定されるものではない。   Although the present invention has been described above by using the embodiment, the present invention is not limited to the above-described embodiment.

例えば、後述する図6に示すように、主被写体領域301及び副被写体領域302の各々をユーザが設定してもよい(被写体領域設定手段)。   For example, as shown in FIG. 6 to be described later, the user may set each of the main subject area 301 and the sub-subject area 302 (subject area setting means).

図6は、図2の特殊効果動画撮影処理の変形例の手順を示すフローチャートである。   FIG. 6 is a flowchart showing the procedure of a modified example of the special effect moving image shooting process of FIG.

図6の処理は、システム制御部113が各種プログラムを実行することによって行われ、被写体の動画を撮影する場合を前提とする。   The processing in FIG. 6 is performed when the system control unit 113 executes various programs, and presupposes a case where a moving image of a subject is shot.

図6において、まず、システム制御部113は図2のステップS201と同様の処理を実行する。   In FIG. 6, first, the system control unit 113 executes the same process as in step S <b> 201 of FIG. 2.

ステップS201の判別の結果、撮影された被写体のうちいずれかの被写体が静止していないとき、システム制御部113はユーザに被写体を設定不可能である旨を示す警告通知を行って(ステップS601)、ステップS201の処理に戻る。   As a result of the determination in step S201, when any one of the photographed subjects is not stationary, the system control unit 113 notifies the user that the subject cannot be set (step S601). The process returns to step S201.

ステップS201の判別の結果、撮影された全ての被写体が静止しているとき、システム制御部113はユーザによって主被写体領域301が選択されたか否かを判別する(ステップS602)。その後、システム制御部113は主被写体領域301が選択されると(ステップS602でYES)、副被写体領域302が選択されたか否かを判別する(ステップS603)。本実施の形態では、画像表示部115に表示された画像において、ユーザによって選択された領域が主被写体領域301及び副被写体領域302として夫々設定される。その後、システム制御部113は、副被写体領域302が選択されると(ステップS603でYES)、図2のステップS206及びS207の処理を実行する。   As a result of the determination in step S201, when all the photographed subjects are stationary, the system control unit 113 determines whether or not the main subject region 301 has been selected by the user (step S602). Thereafter, when the main subject region 301 is selected (YES in step S602), the system control unit 113 determines whether or not the sub subject region 302 has been selected (step S603). In the present embodiment, in the image displayed on the image display unit 115, the areas selected by the user are set as the main subject area 301 and the sub subject area 302, respectively. Thereafter, when the sub-subject area 302 is selected (YES in step S603), the system control unit 113 executes the processes of steps S206 and S207 in FIG.

ステップS207の判別の結果、副被写体ピント位置が利用不可能であるとき、システム制御部113は、画像表示部115に副被写体領域302の設定を再度行うか否かをユーザが選択可能な選択画面を表示する。その後、システム制御部113は、ユーザの選択に基づいて副被写体領域302の設定を再度行うか否かを決定する(ステップS604)。   As a result of the determination in step S207, when the sub-subject focus position cannot be used, the system control unit 113 can select whether the user can again set the sub-subject region 302 on the image display unit 115. Is displayed. Thereafter, the system control unit 113 determines whether or not to set the sub-subject area 302 again based on the user's selection (step S604).

ステップS604において、副被写体領域302の設定を再度行うことを決定したとき、システム制御部113は、ステップS603に戻る。一方、ステップS604において、副被写体領域302の設定を再度行わないことを決定したとき、システム制御部113は図2のステップS210以降の処理を実行して、本処理を終了する。   When it is determined in step S604 that the sub-subject area 302 is set again, the system control unit 113 returns to step S603. On the other hand, when it is determined in step S604 that the setting of the sub-subject area 302 is not performed again, the system control unit 113 executes the processes after step S210 in FIG. 2 and ends this process.

ステップS207の判別の結果、副被写体ピント位置が利用可能であるとき、システム制御部113は図2のステップS208以降の処理を実行して、本処理を終了する。   As a result of the determination in step S207, when the sub-subject focus position is available, the system control unit 113 executes the processing after step S208 in FIG. 2 and ends this processing.

図6の処理によれば、主被写体領域301及び副被写体領域302の各々がユーザによって設定されるので、フォーカスレンズ104のピントが変化していく動画像を得る際のユーザの利便性を向上することができる。   According to the processing of FIG. 6, since each of the main subject area 301 and the sub-subject area 302 is set by the user, the convenience for the user when obtaining a moving image in which the focus lens 104 changes in focus is improved. be able to.

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

100 カメラ
104 フォーカスレンズ
113 システム制御部
301 主被写体領域
302 副被写体領域
100 Camera 104 Focus Lens 113 System Control Unit 301 Main Subject Area 302 Sub-Subject Area

Claims (10)

フォーカスレンズの位置を移動させて焦点を合わせ、主被写体を含む複数の被写体の動画撮影を行う画像処理装置において、
前記複数の被写体の距離情報を取得する距離情報取得手段と、
前記フォーカスレンズの撮影開始位置及び前記動画撮影を実行中に前記フォーカスレンズを移動させる前記フォーカスレンズの移動先位置の各々を設定するレンズ位置設定手段と、
前記フォーカスレンズを前記撮影開始位置から前記移動先位置に移動させながら動画撮影を行う動画撮影手段とを備え、
前記レンズ位置設定手段は、前記主被写体に焦点が合うフォーカスレンズの位置を前記移動先位置に設定するとともに、前記主被写体の距離情報及び他の前記被写体の距離情報に基づいて前記主被写体に焦点が合わないフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする画像処理装置。
In an image processing apparatus that moves a focus lens to focus, and shoots a plurality of subjects including a main subject,
Distance information acquisition means for acquiring distance information of the plurality of subjects;
Lens position setting means for setting each of the focus lens moving start position and the moving position of the focus lens for moving the focus lens during execution of the moving image shooting;
Moving image shooting means for moving image shooting while moving the focus lens from the shooting start position to the destination position;
The lens position setting means sets the position of the focus lens that focuses on the main subject as the movement destination position, and focuses on the main subject based on the distance information of the main subject and the distance information of other subjects. An image processing apparatus, wherein a position of a focus lens that does not match is set as the shooting start position.
前記主被写体と各前記フォーカスレンズの位置との深度の差に関する閾値が規定され、
前記レンズ位置設定手段は、前記主被写体と前記深度の差が前記閾値以上となる前記フォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする請求項1記載の画像処理装置。
A threshold for a difference in depth between the main subject and the position of each focus lens is defined,
The image processing apparatus according to claim 1, wherein the lens position setting unit sets a position of the focus lens at which a difference between the main subject and the depth is equal to or greater than the threshold as the photographing start position.
前記フォーカスレンズは移動可能な最大移動速度が規定され、
前記レンズ位置設定手段は、前記動画撮影時の前記フォーカスレンズの移動速度が最大移動速度を超えない位置であって、且つ前記主被写体に焦点が合わないフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする請求項1又は2記載の画像処理装置。
The focus lens has a maximum moving speed that can be moved,
The lens position setting means sets a position of the focus lens at which the moving speed of the focus lens at the time of moving image shooting does not exceed a maximum moving speed and the focus on the main subject is not focused as the shooting start position. The image processing apparatus according to claim 1 or 2, wherein
前記フォーカスレンズの移動可能領域が規定され、
前記レンズ位置設定手段は、前記フォーカスレンズの移動可能領域を超えない位置であって、且つ前記主被写体に焦点が合わないフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。
A movable area of the focus lens is defined,
The lens position setting means sets a position of a focus lens that does not exceed a movable region of the focus lens and does not focus on the main subject as the shooting start position. The image processing apparatus according to any one of 1 to 3.
前記動画撮影の実行時間を設定する実行時間設定手段を更に備え、
前記動画撮影手段は、前記設定された実行時間から前記フォーカスレンズが前記撮影開始位置から前記移動先位置への移動に要した時間を除いた時間に亘り、前記フォーカスレンズを前記移動先位置から移動させずに動画撮影を行うことを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。
An execution time setting means for setting an execution time of the moving image shooting;
The moving image photographing means moves the focus lens from the destination position for a time excluding the time required for the focus lens to move from the photographing start position to the destination position from the set execution time. 5. The image processing apparatus according to claim 1, wherein the moving image shooting is performed without the image processing.
前記複数の被写体は、前記主被写体と異なる副被写体を含み、
前記レンズ位置設定手段は、前記副被写体に焦点が合うフォーカスレンズの位置で前記主被写体に焦点が合わない場合、前記副被写体に焦点が合うフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする請求項1乃至5のいずれか1項に記載の画像処理装置。
The plurality of subjects include sub-subjects different from the main subject,
The lens position setting means sets the position of the focus lens focused on the sub subject as the shooting start position when the main subject is not focused at the position of the focus lens focused on the sub subject. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記主被写体を示す主被写体領域及び前記副被写体を示す副被写体領域の各々を検知する検知手段を更に備え、
前記検知手段は、前記主被写体領域に顔が含まれる場合、前記主被写体領域に含まれる顔の大きさに対して所定の割合より小さい顔以外の領域を前記副被写体領域として検知することを特徴とする請求項6記載の画像処理装置。
Detection means for detecting each of a main subject area indicating the main subject and a sub-subject area indicating the sub-subject;
When the main subject region includes a face, the detection unit detects, as the sub subject region, a region other than a face smaller than a predetermined ratio with respect to the size of the face included in the main subject region. The image processing apparatus according to claim 6.
前記主被写体及び前記副被写体の各々をユーザによって設定可能な被写体領域設定手段を更に備えることを特徴とする請求項6記載の画像処理装置。   The image processing apparatus according to claim 6, further comprising subject area setting means capable of setting each of the main subject and the sub-subject by a user. フォーカスレンズの位置を移動させて焦点を合わせ、主被写体を含む複数の被写体の動画撮影を行う画像処理装置の制御方法であって、
前記複数の被写体の距離情報を取得する距離情報取得ステップと、
前記フォーカスレンズの撮影開始位置及び前記動画撮影を実行中に前記フォーカスレンズを移動させる前記フォーカスレンズの移動先位置の各々を設定するレンズ位置設定ステップと、
前記フォーカスレンズを前記撮影開始位置から前記移動先位置に移動させながら動画撮影を行う動画撮影ステップとを有し、
前記レンズ位置設定ステップは、前記主被写体に焦点が合うフォーカスレンズの位置を前記移動先位置に設定するとともに、前記主被写体の距離情報及び他の前記被写体の距離情報に基づいて前記主被写体に焦点が合わないフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とする画像処理装置の制御方法。
A method of controlling an image processing apparatus that moves a focus lens to focus and shoot a plurality of subjects including a main subject.
A distance information acquisition step of acquiring distance information of the plurality of subjects;
A lens position setting step for setting each of a focus start position of the focus lens and a movement destination position of the focus lens for moving the focus lens during the moving image shooting;
A moving image shooting step of moving image shooting while moving the focus lens from the shooting start position to the destination position;
The lens position setting step sets the position of the focus lens focused on the main subject as the movement destination position, and focuses on the main subject based on the distance information of the main subject and the distance information of the other subjects. A control method for an image processing apparatus, wherein a position of a focus lens that does not match is set as the shooting start position.
フォーカスレンズの位置を移動させて焦点を合わせ、主被写体を含む複数の被写体の動画撮影を行う画像処理装置の制御方法をコンピュータに実行させるプログラムにおいて、
前記画像処理装置の制御方法は、
前記複数の被写体の距離情報を取得する距離情報取得ステップと、
前記フォーカスレンズの撮影開始位置及び前記動画撮影を実行中に前記フォーカスレンズを移動させる前記フォーカスレンズの移動先位置の各々を設定するレンズ位置設定ステップと、
前記フォーカスレンズを前記撮影開始位置から前記移動先位置に移動させながら動画撮影を行う動画撮影ステップとを有し、
前記レンズ位置設定ステップは、前記主被写体に焦点が合うフォーカスレンズの位置を前記移動先位置に設定するとともに、前記主被写体の距離情報及び他の前記被写体の距離情報に基づいて前記主被写体に焦点が合わないフォーカスレンズの位置を前記撮影開始位置に設定することを特徴とするプログラム。
In a program for causing a computer to execute a control method of an image processing apparatus that moves a focus lens to focus and moves a plurality of subjects including a main subject.
The control method of the image processing apparatus is:
A distance information acquisition step of acquiring distance information of the plurality of subjects;
A lens position setting step for setting each of a focus start position of the focus lens and a movement destination position of the focus lens for moving the focus lens during the moving image shooting;
A moving image shooting step of moving image shooting while moving the focus lens from the shooting start position to the destination position;
The lens position setting step sets the position of the focus lens focused on the main subject as the movement destination position, and focuses on the main subject based on the distance information of the main subject and the distance information of the other subjects. A position of a focus lens that does not match is set as the shooting start position.
JP2015090256A 2015-04-27 2015-04-27 Imaging device, control method therefor, and program Active JP6525710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015090256A JP6525710B2 (en) 2015-04-27 2015-04-27 Imaging device, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015090256A JP6525710B2 (en) 2015-04-27 2015-04-27 Imaging device, control method therefor, and program

Publications (3)

Publication Number Publication Date
JP2016208396A true JP2016208396A (en) 2016-12-08
JP2016208396A5 JP2016208396A5 (en) 2018-06-14
JP6525710B2 JP6525710B2 (en) 2019-06-05

Family

ID=57490620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015090256A Active JP6525710B2 (en) 2015-04-27 2015-04-27 Imaging device, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP6525710B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019032370A (en) * 2017-08-04 2019-02-28 キヤノン株式会社 Imaging device and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010286752A (en) * 2009-06-15 2010-12-24 Olympus Imaging Corp Imaging device and imaging method
JP2011101345A (en) * 2009-10-09 2011-05-19 Nikon Corp Imaging apparatus
JP2014048393A (en) * 2012-08-30 2014-03-17 Nikon Corp Imaging device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010286752A (en) * 2009-06-15 2010-12-24 Olympus Imaging Corp Imaging device and imaging method
JP2011101345A (en) * 2009-10-09 2011-05-19 Nikon Corp Imaging apparatus
JP2014048393A (en) * 2012-08-30 2014-03-17 Nikon Corp Imaging device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019032370A (en) * 2017-08-04 2019-02-28 キヤノン株式会社 Imaging device and control method thereof

Also Published As

Publication number Publication date
JP6525710B2 (en) 2019-06-05

Similar Documents

Publication Publication Date Title
EP3318054B1 (en) Systems and methods for autofocus trigger
JP4843002B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
CN107439006B (en) Method and apparatus for reducing defocus using laser autofocus
JP6518452B2 (en) Imaging apparatus and imaging method
JP2009133903A (en) Imaging apparatus and imaging method
JP4730478B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
US11184524B2 (en) Focus control device, focus control method, program, and imaging device
JP4890370B2 (en) Imaging device
JP6391304B2 (en) Imaging apparatus, control method, and program
JP2020022012A (en) Imaging device and control method thereof
JP2015119323A (en) Imaging apparatus, image acquiring method and program
JP2015111811A (en) Image processing apparatus and control method of the same
JP5409483B2 (en) Imaging device
JP2007133301A (en) Autofocus camera
JP6057608B2 (en) Focus adjustment apparatus and control method thereof
JP6431429B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2016171541A (en) Motion vector detector, dynamic body angular speed calculation device, imaging apparatus and lens device
JP6525710B2 (en) Imaging device, control method therefor, and program
JP2023033355A (en) Image processing device and control method therefor
JP5484129B2 (en) Imaging device
JP6164978B2 (en) FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE
JP2019032370A (en) Imaging device and control method thereof
JP6645711B2 (en) Image processing apparatus, image processing method, and program
JP2013210572A (en) Imaging device and control program of the same
JP7122916B2 (en) IMAGING DEVICE AND CONTROL METHOD THEREOF, PROGRAM AND STORAGE MEDIUM

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180420

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190123

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190320

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190507

R151 Written notification of patent or utility model registration

Ref document number: 6525710

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151