JP2023047943A - Imaging device, imaging method, and program - Google Patents
Imaging device, imaging method, and program Download PDFInfo
- Publication number
- JP2023047943A JP2023047943A JP2021157147A JP2021157147A JP2023047943A JP 2023047943 A JP2023047943 A JP 2023047943A JP 2021157147 A JP2021157147 A JP 2021157147A JP 2021157147 A JP2021157147 A JP 2021157147A JP 2023047943 A JP2023047943 A JP 2023047943A
- Authority
- JP
- Japan
- Prior art keywords
- target area
- imaging device
- imaging
- focus position
- target
- 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.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
Description
本発明は、撮像装置、撮像方法及びプログラムに関する。 The present invention relates to an imaging device, an imaging method, and a program.
焦点位置を自動的に設定するオートフォーカス方式の撮像装置が知られている。例えば特許文献1には、ユーザが指定した所定の位置にフォーカスを合わせる旨が記載されている。 2. Description of the Related Art An autofocus imaging device that automatically sets a focal position is known. For example, Japanese Patent Application Laid-Open No. 2002-200002 describes that a predetermined position designated by a user is focused.
オートフォーカス方式の撮像装置においては、フォーカスを適切に合わせることが求められている。 2. Description of the Related Art Autofocus imaging apparatuses are required to be properly focused.
本発明は、上記課題に鑑み、フォーカスを適切に合わせることが可能な撮像装置、撮像方法及びプログラムを提供することを目的とする。 In view of the above problems, an object of the present invention is to provide an imaging apparatus, an imaging method, and a program capable of appropriately adjusting the focus.
本発明の一態様にかかる撮像装置は、物体を撮像可能な撮像装置であって、撮像素子と、前記撮像素子の撮像領域に存在する物体の位置情報を取得する物体情報取得部と、前記撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置する、複数の対象領域の位置情報を取得する対象領域取得部と、前記撮像装置の焦点位置を制御する焦点位置制御部と、を有し、前記焦点位置制御部は、それぞれの前記対象領域について、前記対象領域内に物体が存在する場合、その物体に前記焦点位置を合わせる。 An imaging device according to an aspect of the present invention is an imaging device capable of imaging an object, comprising: an imaging element; Position information of a plurality of target regions located between a first position at a first distance from a device and a second position at a second distance from the imaging device at a second distance shorter than the first distance. and a focus position control unit that controls the focus position of the imaging device, and the focus position control unit controls each of the target regions so that an object exists in the target region. If so, the focus position is adjusted to the object.
本発明の一態様にかかる撮像方法は、物体を撮像する撮像方法であって、撮像領域に存在する物体の位置情報を取得するステップと、撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置する、複数の対象領域の位置情報を取得するステップと、前記撮像装置の焦点位置を制御するステップと、を含み、前記焦点位置を制御するステップにおいては、それぞれの前記対象領域について、前記対象領域内に物体が存在する場合、その物体に前記焦点位置を合わせる。 An image capturing method according to an aspect of the present invention is an image capturing method for capturing an image of an object, comprising a step of acquiring position information of an object existing in an image capturing area; and a second position where the distance from the imaging device is a second distance shorter than the first distance; acquiring position information of a plurality of target regions; and, in the step of controlling the focal position, for each of the target regions, if an object exists within the target region, the focal position is adjusted to the object.
本発明の一態様にかかるプログラムは、物体を撮像する撮像方法をコンピュータに実行させるプログラムであって、撮像領域に存在する物体の位置情報を取得するステップと、撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置する、複数の対象領域の位置情報を取得するステップと、前記撮像装置の焦点位置を制御するステップと、を前記コンピュータに実行させ、前記焦点位置を制御するステップにおいては、それぞれの前記対象領域について、前記対象領域内に物体が存在する場合、その物体に前記焦点位置を合わせる。 A program according to one aspect of the present invention is a program that causes a computer to execute an image capturing method for capturing an image of an object, the program comprising steps of acquiring position information of an object existing in an image capturing area, and and a second position where the distance from the imaging device is a second distance shorter than the first distance, acquiring position information of a plurality of target regions; and causing the computer to execute the step of controlling the focal position of the apparatus, and in the step of controlling the focal position, for each of the target regions, if an object exists in the target region, the object is focused on the object. Align.
本発明によれば、フォーカスを適切に合わせることができる。 According to the present invention, it is possible to appropriately focus.
以下に、本発明の実施形態を図面に基づいて詳細に説明する。なお、以下に説明する実施形態により本発明が限定されるものではない。 BEST MODE FOR CARRYING OUT THE INVENTION Below, embodiments of the present invention will be described in detail based on the drawings. In addition, this invention is not limited by embodiment described below.
(第1実施形態)
(撮像装置の構成)
図1は、第1実施形態に係る撮像装置の模式的なブロック図である。第1実施形態に係る撮像装置100は、撮像範囲内の物体を撮像する撮像装置である。撮像装置100は、焦点位置を自動で設定可能なオートフォーカス方式のカメラである。撮像装置100は、所定のフレーム毎に撮像することで動画像を撮像するビデオカメラであってもよいし、静止画像を撮像するカメラであってもよい。撮像装置100は、任意の用途で用いられてよく、例えば設備内や屋外の所定の位置に設定される監視カメラとして用いられてよい。
(First embodiment)
(Configuration of imaging device)
FIG. 1 is a schematic block diagram of an imaging device according to the first embodiment. An
図1に示すように、撮像装置100は、光学素子10と、撮像素子12と、画像処理回路13と、物体位置測定部14と、入力部16と、表示部18と、通信部20と、記憶部22と、制御部24とを有する。
As shown in FIG. 1, the
光学素子10は、例えばレンズなどの光学系の素子である。光学素子10は、1つであっても複数であってもよい。 The optical element 10 is an element of an optical system such as a lens. The number of optical elements 10 may be one or plural.
撮像素子12は、光学素子10を通して入射した光を電気信号である画像信号に変換する素子である。撮像素子12は、例えば、CCD(Charge COupled Device)センサやCMOS(Complementary Metal Oxide Semiconductor)センサなどである。 The imaging device 12 is a device that converts light incident through the optical device 10 into an image signal that is an electrical signal. The imaging element 12 is, for example, a CCD (Charge Coupled Device) sensor, a CMOS (Complementary Metal Oxide Semiconductor) sensor, or the like.
画像処理回路13は、撮像素子12が生成した画像信号から、1フレーム毎の画像データを生成する。画像データは、例えば1つのフレームにおける各画素の輝度や色の情報を含むデータであり、画素毎の階調が割り当てられるデータであってもよい。 The image processing circuit 13 generates image data for each frame from the image signal generated by the imaging element 12 . The image data is, for example, data including luminance and color information of each pixel in one frame, and may be data to which a gradation is assigned to each pixel.
物体位置測定部14は、測定対象となる物体の、撮像装置100に対する位置(物体の相対位置)を測定するセンサである。ここでの物体とは、任意の物であってよく、生物であっても無生物であってもよく、以降においても同様である。また、ここでの物体は、移動可能な物を指してもよいが、それに限られず移動しない物を指してもよい。
The object
物体位置測定部14は、物体の相対位置として、撮像装置100から物体までの距離を測定する。物体位置測定部14は、物体の相対位置を測定可能な任意のセンサであってよいが、例えば、TOF(Time Of Flight)センサであってよい。物体位置測定部14がTOFセンサである場合には、例えば、光を照射する発光素子(例えばLED(Light Emitting Diode)と、光を受光する受光部が設けられており、発光素子から物体に照射されて受光部に戻ってきた光の飛行時間により、物体までの距離を測定する。なお、物体位置測定部14は、物体の相対位置として、撮像装置100から物体までの距離を測定に加えて、例えば撮像装置100に対して物体が存在する方向も測定してよい。言い換えれば、物体位置測定部14は、撮像装置100を原点とする座標系における物体の位置(座標)を、物体の相対位置として測定してもよい。
The object
入力部16は、ユーザからの入力(操作)を受け付ける機構であり、例えばボタン、キーボード、タッチパネルなどであってよい。 The input unit 16 is a mechanism for receiving input (operation) from the user, and may be, for example, buttons, a keyboard, a touch panel, or the like.
表示部18は、画像を表示する表示パネルである。表示部18は、撮像装置100が撮像した画像に加えて、後述の対象領域ARをユーザが設定するための画像も表示可能であってよい。
The display unit 18 is a display panel that displays images. The display unit 18 may be capable of displaying an image for the user to set a target area AR, which will be described later, in addition to the image captured by the
通信部20は、外部の装置と通信を行う通信モジュールであり、例えばアンテナやWi-Fi(登録商標)モジュールなどであってよい。撮像装置100は、無線通信で外部の装置と通信を行うが、有線通信でもよく、通信方式は任意であってよい。
The
記憶部22は、撮像した画像データや、制御部24の演算内容やプログラムなどの各種情報を記憶するメモリであり、例えば、RAM(Random Access Memory)と、ROM(Read Only Memory)のような主記憶装置と、HDD(Hard Disk Drive)などの外部記憶装置とのうち、少なくとも1つ含む。記憶部22が記憶する制御部24用のプログラムは、撮像装置100が読み取り可能な記録媒体に記憶されていてもよい。
The
制御部24は、演算装置であり、例えばCPU(Central Processing Unit)などの演算回路を含む。制御部24は、対象領域取得部30と、物体情報取得部32と、焦点位置制御部34と、撮像制御部36と、画像取得部38とを含む。制御部24は、記憶部22からプログラム(ソフトウェア)を読み出して実行することで、対象領域取得部30と物体情報取得部32と焦点位置制御部34と撮像制御部36と画像取得部38とを実現して、それらの処理を実行する。なお、制御部24は、1つのCPUによってこれらの処理を実行してもよいし、複数のCPUを備えて、それらの複数のCPUで、処理を実行してもよい。また、対象領域取得部30と物体情報取得部32と焦点位置制御部34と撮像制御部36と画像取得部38との処理の少なくとも一部を、ハードウェア回路で実現してもよい。
The control unit 24 is an arithmetic device and includes an arithmetic circuit such as a CPU (Central Processing Unit). The control unit 24 includes a target
(対象領域取得部)
対象領域取得部30は、撮像装置100の撮像領域内に設定された複数の対象領域ARの情報を取得する。対象領域ARとは、焦点位置を自動で合わせるために設定される領域である。対象領域ARの情報とは、対象領域ARの位置を示す情報、すなわち対象領域ARの位置情報である。それぞれの対象領域ARは、異なる位置にあり、互いに重ならないように設定されることが好ましい。
(Target area acquisition unit)
The target
図2及び図3は、対象領域の一例を説明するための模式図である。図2は、撮像装置100や対象領域ARを鉛直方向上方から見た図であり、図3は、撮像装置100や対象領域ARを水平方向から見た図である。以下、方向Zを鉛直方向とし、方向Xを、方向Zに直交する水平方向の一方向とし、方向Yを、方向Z及び方向Xに直交する方向(水平方向)とする。図2及び図3に示すように、撮像装置100によって画像を撮像可能な範囲を、撮像領域AR0とする。撮像領域AR0は、撮像素子12の画角内に入る領域(空間)を指し、言い換えれば、実空間のうちで画像として写る範囲を指す。対象領域ARは、撮像領域AR0の範囲内に設定される領域(空間)である。
2 and 3 are schematic diagrams for explaining an example of the target area. 2 is a view of the
より詳しくは、それぞれの対象領域ARは、撮像領域AR0内であって、第1位置AX1と第2位置AX2との間に位置する領域である。第1位置AX1は、撮像装置100からの距離が第1距離L1となる位置であり、第2位置AX2は、撮像装置100からの距離が、第1距離L1よりも短い第2距離L2となる位置である。図2及び図3に示すように、本実施形態においては、第1位置AX1は、撮像領域AR0内において、撮像装置100からの距離が第1距離L1となる各位置(座標)を含む仮想的な面であるといえる。同様に、第2位置AX2は、撮像領域AR0内において、撮像装置100からの距離が第2距離L2となる各位置(座標)を含む仮想的な面であるといえる。すなわち、それぞれの対象領域ARは、撮像領域AR0内において、撮像装置100からの距離が第2距離L2となる仮想面と、撮像装置100からの距離が第1距離L1となる仮想面とに囲われた範囲内に存在する空間といえる。なお、第1位置AX1は、第1位置AX1に含まれる全ての位置(座標)が、撮像装置100から第1距離L1となる仮想面であることに限られず、第1位置AX1に含まれる少なくとも一部の位置(座標)が、撮像装置100から第1距離L1となる仮想面であってよい。同様に、第2位置AX2は、第2位置AX2に含まれる少なくとも一部の位置(座標)が、撮像装置100から第2距離L2となる仮想面であってよい。
More specifically, each target area AR is an area located between the first position AX1 and the second position AX2 within the imaging area AR0. The first position AX1 is a position that is the first distance L1 from the
図2及び図3においては、対象領域ARとして、第1対象領域AR1と第2対象領域AR2とが設定される場合を例にしている。図2及び図3の例では、第1対象領域AR1及び第2対象領域AR2が、撮像領域AR0内であって、第1位置AX1と第2位置AX2との間に位置している。図2及び図3の例では、撮像領域AR0内であって第1位置AX1と第2位置AX2との間の領域が、第1対象領域AR1と第2対象領域AR2とに区分されており、言い換えれば、ここでは第1位置AX1と第2位置AX2との間の全域が、複数の対象領域に区分されているといえる。図2及び図3の例では、第2対象領域AR2が、第1対象領域AR1に囲われるように位置している。 In FIGS. 2 and 3, a case where a first target area AR1 and a second target area AR2 are set as the target area AR is taken as an example. In the examples of FIGS. 2 and 3, the first target area AR1 and the second target area AR2 are located within the imaging area AR0 and between the first position AX1 and the second position AX2. In the examples of FIGS. 2 and 3, the area within the imaging area AR0 and between the first position AX1 and the second position AX2 is divided into a first target area AR1 and a second target area AR2, In other words, here, it can be said that the entire area between the first position AX1 and the second position AX2 is divided into a plurality of target areas. In the examples of FIGS. 2 and 3, the second target area AR2 is positioned so as to be surrounded by the first target area AR1.
図4及び図5は、対象領域の他の例を示す模式図である。図2及び図3の説明では、第1対象領域AR1は、撮像装置100の光軸方向(画像の奥行き方向)については、撮像領域AR0に対して第1位置AX1及び第2位置AX2によって区切られていたが、撮像装置100の光軸方向に対する放射方向(画角の広がり方向)については、撮像領域AR0に対して区切られていない。言い換えれば、第1対象領域AR1の画角の広がり方向における端面は、撮像領域AR0の画角の広がり方向における端面と一致している。ただしそれに限られず、第1対象領域AR1は、画角の広がり方向についても、撮像領域AR0に対して区切られていてよい。すなわち例えば、図4及び図5に示すように、第1対象領域AR1は、第3位置AX3によって、画角の広がり方向についても、撮像領域AR0に対して区切られていてよい。この例では、第3位置AX3は、撮像装置100の光軸LXに対して、放射方向外側に所定距離離れた位置(座標)を含む仮想的な面(ここでは円筒の側面形状の閉曲面)である。この場合、第1対象領域AR1は、第1位置AX1、第2位置AX2、及び第3位置AX3で囲われた領域(空間)となる。なお、第3位置AX3は、第3位置AX3に含まれる全ての位置(座標)が、光軸LXから第1距離L1となる仮想面であることに限られず、第3位置AX3に含まれる少なくとも一部の位置(座標)が、光軸LXから第3距離L3となる仮想面であってよい。例えば、第3位置AX3は、光軸方向に沿って撮像装置100から離れるに従って、放射方向外側(水平方向及び仰角方向)に所定の角度をもって広がる仮想面であってもよい。
4 and 5 are schematic diagrams showing other examples of target regions. 2 and 3, the first target area AR1 is separated from the imaging area AR0 by the first position AX1 and the second position AX2 in the optical axis direction of the imaging device 100 (the depth direction of the image). However, the radiation direction (the direction in which the angle of view spreads) with respect to the optical axis direction of the
なお、それぞれの対象領域ARの位置は、以上の説明に限られず、撮像領域AR0内であって、第1位置AX1と第2位置AX2との間の任意の位置に配置されてよい。例えば、第2対象領域AR2が、第1対象領域AR1に囲われるように配置されていなくてもよい。対象領域ARの大きさや形状も、以上の説明に限られず任意であってよい。また、対象領域ARの数も2つに限られず、3つ以上など、任意の複数個設定されてよい。また、以上の説明では、対象領域ARは、撮像領域AR0内に設定される領域であったが、それに限られない。例えば、物体位置測定部14によって測距可能な範囲を測距領域(測距空間)とすると、対象領域ARは、測距領域内に設定される領域であってもよい。この場合、図2から図5における撮像領域ARを、測距領域として扱ってよい。
The position of each target area AR is not limited to the above description, and may be arranged at any position between the first position AX1 and the second position AX2 within the imaging area AR0. For example, the second target area AR2 may not be arranged so as to be surrounded by the first target area AR1. The size and shape of the target area AR are not limited to those described above, and may be arbitrary. Also, the number of target areas AR is not limited to two, and any plural number such as three or more may be set. Also, in the above description, the target area AR is an area set within the imaging area AR0, but it is not limited to this. For example, if the range in which distance measurement is possible by the object
対象領域取得部30は、任意の方法で対象領域ARの情報を取得してよい。例えば、それぞれの対象領域ARの位置が予め設定されていてよい。この場合、対象領域取得部30は、予め設定されたそれぞれの対象領域ARの位置情報を、記憶部22から読み出してもよいし、通信部20を介して、他の機器から、それぞれの対象領域ARの位置情報を取得してもよい。また例えば、対象領域ARの位置が予め設定されていない場合には、対象領域取得部30が、それぞれの対象領域ARの位置を自動で設定してもよい。また例えば、ユーザがそれぞれの対象領域ARの位置を設定してもよい。この場合例えば、ユーザが、入力部16に、それぞれの対象領域ARの位置を指定する情報(例えば第1距離L1、第2距離L2、第3距離L3の値など)を入力し、対象領域取得部30は、ユーザによって指定された対象領域ARの位置情報に基づき、それぞれの対象領域ARを設定してもよい。また例えば、対象領域ARは、座標を指定されることにより設定されてもよい。すなわち例えば図2の例では、第1対象領域AR1の頂点位置となる座標P1、P2、P3、P4と、第2対象領域AR2の頂点位置となる座標P5、P6、P7、P8とが指定されてもよく、座標P5~P8に囲われる領域を、第2対象領域AR2として設定し、第2対象領域AR2の外側であって座標P1~P4に囲われる領域を、第1対象領域AR1として設定してよい。
The target
(物体情報取得部)
物体情報取得部32は、撮像領域AR0内に存在する物体の位置情報を取得する。物体情報取得部32は、物体位置測定部14を制御して、物体位置測定部14に、撮像装置100に対する物体の相対位置を測定させる。物体情報取得部32は、物体位置測定部14による、撮像装置100に対する物体の相対位置の測定結果を、物体の位置情報として取得する。物体情報取得部32は、所定時間毎に、物体の位置情報の取得を行うことで、物体の位置情報を逐次取得する。また、物体情報取得部32は、物体の位置情報に基づき、物体の形状を示す情報(例えば物体の3D形状)も取得できる。例えば、物体情報取得部32は、TOF画像情報など、複数の位置情報を集積して、物体の3D形状を取得できる。
(Object information acquisition unit)
The object
(焦点位置制御部)
焦点位置制御部34は、撮像装置100の焦点位置を設定する。焦点位置制御部34は、光学素子10の位置を制御することで、すなわち光学素子10の位置を移動させることで、焦点位置を制御する。
(Focus position control unit)
The focus position control section 34 sets the focus position of the
焦点位置制御部34は、それぞれの対象領域ARについて、対象領域AR内に存在する物体に、焦点位置を合わせる。言い換えれば、焦点位置制御部34は、対象領域AR内に存在すると判断された物体の位置に、焦点位置を設定する。本実施形態では、焦点位置制御部34は、物体情報取得部32によって取得された物体の位置情報に基づき、その物体が対象領域AR内に存在するかを判断する。焦点位置制御部34は、物体情報取得部32によって取得された物体の位置が、対象領域ARの位置と重なる場合には、その物体が対象領域AR内に存在すると判断して、物体情報取得部32によって取得されたその物体の位置に、焦点位置を合わせる。図2及び図3の例では、対象領域ARとして第1対象領域AR1及び第2対象領域AR2が設定されているため、焦点位置制御部34は、第1対象領域AR1内に物体が存在する場合には、第1対象領域AR1内のその物体に焦点位置を合わせ、第2対象領域AR2内に物体が存在する場合には、第2対象領域AR2内のその物体に焦点位置を合わせる。
For each target area AR, the focus position control unit 34 adjusts the focus position to an object existing within the target area AR. In other words, the focal position control unit 34 sets the focal position to the position of the object determined to exist within the target area AR. In this embodiment, the focus position control unit 34 determines whether the object exists within the target area AR based on the position information of the object acquired by the object
焦点位置制御部34は、焦点位置を合わせた物体が、対象領域AR内に存在している期間においては、その物体に焦点位置を合わせ続ける。すなわち、焦点位置制御部34は、物体情報取得部32によって取得された所定時間毎の物体の位置情報に基づき、その物体が対象領域AR内に存在し続けているかを判断して、その物体が対象領域AR内に存在し続けている期間においては、その物体に焦点位置を合わせ続ける。一方、焦点位置を合わせた物体が、対象領域AR外に移動した場合には、すなわち対象領域AR内に存在しなくなった場合には、焦点位置制御部34は、焦点位置をその物体から外して、その物体以外の位置に焦点を合わせる。第1対象領域AR1内の物体に焦点位置を合わせている場合を例にすると、焦点位置制御部34は、その物体が第1対象領域AR1内に存在し続ける期間においては、その物体に焦点位置を合わせ続け、その物体が第1対象領域AR1外に移動した場合には、焦点位置をその物体から外す。ただし、その物体が、第1対象領域AR1から第2対象領域AR2内に直接移動した場合には(すなわち、第1対象領域AR1及び第2対象領域AR2の範囲外に出ることなく、第1対象領域AR1から第2対象領域AR2に移動した場合には)、第2対象領域AR2に移動したその物体に焦点位置を合わせ続けてもよい。
The focal position control unit 34 continues to focus on the object while the object on which the focal position is adjusted exists within the target area AR. That is, the focal position control unit 34 determines whether the object continues to exist within the target area AR based on the position information of the object obtained by the object
なお、焦点位置制御部34は、撮像装置100の稼働開始時(撮像可能な状態となったタイミング)から対象領域AR内に存在している物体に対しては、焦点位置を合わせなくてもよい。すなわち、焦点位置制御部34は、稼働開始後に対象領域AR内に入ってきた物体に対して、焦点位置を合わせるものであってよい。言い換えれば、焦点位置制御部34は、あるタイミングにおいては対象領域AR内に存在するが、そのタイミングより前のタイミングでは対象領域AR内に存在しない物体に対して、対象領域AR内に存在し始めたタイミングから、焦点位置を合わせてよい。言い換えれば、物体が対象領域AR外から対象領域AR内に移動した場合に、その物体を、焦点位置制御部34が焦点を合わせる対象と認識してよい。すなわち、焦点位置制御部34は、対象領域AR外から対象領域AR内に移動した物体に対して焦点位置を合わせてもよい。 Note that the focal position control unit 34 does not need to focus on an object existing within the target area AR from the start of operation of the imaging device 100 (timing when imaging becomes possible). . That is, the focal position control section 34 may adjust the focal position with respect to an object that has entered the target area AR after the start of operation. In other words, the focal position control unit 34 controls an object that exists within the target area AR at a certain timing but does not exist within the target area AR at a timing prior to that timing. You can adjust the focal position from the timing. In other words, when an object moves from outside the target area AR into the target area AR, the object may be recognized as an object to be focused on by the focus position control section 34 . That is, the focal position control unit 34 may focus on an object that has moved from outside the target area AR into the target area AR.
また、焦点位置制御部34は、対象領域AR内に物体が存在しない場合には、予め設定した設定位置に、焦点位置を合わせてよい。設定位置は、任意に設定されてよいが、例えば対象領域ARの中心位置など、対象領域AR内に設定されていることが好ましい。 Further, the focal position control unit 34 may adjust the focal position to a preset set position when an object does not exist within the target area AR. The set position may be set arbitrarily, but is preferably set within the target area AR, such as the center position of the target area AR.
本実施形態においては、それぞれの対象領域ARのうちの一部の対象領域ARについては、その対象領域ARに物体が存在する場合、その物体に焦点位置を合わせつつ、撮像装置100に所定の処理を実行させる。一方、それぞれの対象領域ARのうちの他の一部の対象領域ARについては、その対象領域ARに物体が存在する場合、その物体に焦点位置を合わせるが、撮像装置100に所定の処理を実行させない。本実施形態における所定の処理とは、撮像制御部36によって画像を撮像する処理を指す。すなわち、本実施形態においては、それぞれの対象領域ARのうちの一部の対象領域ARについては、その対象領域ARに物体が存在する場合、焦点位置制御部34が、その物体に焦点位置を合わせつつ、撮像制御部36が、画像を撮像する。すなわちこの場合、撮像制御部36は、その物体に焦点位置が合った状態で、画像を撮像する。一方、それぞれの対象領域ARのうちの他の一部の対象領域ARについては、その対象領域ARに物体が存在する場合、焦点位置制御部34は、その物体に焦点位置を合わせるが、撮像制御部36は、画像を撮像しない。
In the present embodiment, for some target areas AR among the respective target areas AR, if an object exists in the target area AR, the
なお、撮像装置100は、表示部18に撮像領域AR内の画像をリアルタイムで表示する場合には、画像を常に撮像しているともいえる。ただし、その画像は、録画中でない場合には、バッファなどに一時的に記憶された後、記憶部22に保存されずに自動的に消去される。本実施形態における「画像の撮像」とは、このような、記憶部22に保存されずに自動的に消去される画像の撮像を指すものではなく、記憶部22に自動的に保存される画像の撮像を指し、言い換えれば録画用の画像を撮像して、記憶部22に保存させることを指す。
In addition, it can be said that the
以上説明した焦点位置の設定の例を、図2に基づき説明する。図2においては、第1対象領域AR1に物体が位置する場合には所定の処理を実行せず、第2対象領域AR2に物体が位置する場合には所定の処理を実行する場合を例にする。また、図2は、物体Aが、位置A0から、位置A1、位置A2及び位置A3を通って位置A4まで、撮像装置100に向けて移動している場合の例を示している。位置A0は、撮像装置100までの距離が第1距離L1より遠く、第1対象領域AR1及び第2対象領域AR2の範囲外となっている。位置A1は、第1対象領域AR1の範囲内であり、位置A2は、第2対象領域AR2の範囲内であり、位置A3は、第1対象領域AR1の範囲内である。また、位置A4は、撮像装置100との距離が第2距離L2より近く、第1対象領域AR1及び第2対象領域AR2の範囲外となっている。
An example of setting the focal position described above will be described with reference to FIG. In FIG. 2, the case where the predetermined process is not executed when the object is located in the first target area AR1 and the predetermined process is executed when the object is located in the second target area AR2 is taken as an example. . Also, FIG. 2 shows an example in which the object A is moving from the position A0, through the positions A1, A2, and A3 to the position A4 toward the
物体Aが位置A0に存在するタイミングにおいては、焦点位置制御部34は、物体Aに焦点位置を合わせず、例えば設定位置に焦点位置を合わせる。また、このタイミングにおいては、撮像制御部36は、画像を撮像しない。そして、焦点位置制御部34は、物体Aが位置A1に存在するタイミングにおいて、すなわち物体Aが第1対象領域AR1内に入ったタイミングにおいて、物体Aに焦点位置を合わせる。焦点位置制御部34は、物体Aが第1対象領域AR1内に存在し続ける期間中、物体Aに焦点位置を合わせ続ける。また、撮像制御部36は、物体Aが第1対象領域AR1内に存在し続ける期間中は、画像を撮像しない。そして、焦点位置制御部34は、物体Aが位置A2に存在するタイミングにおいて、すなわち物体Aが第1対象領域AR1から第2対象領域AR2に直接移動したタイミングにおいても、物体Aに焦点位置を合わせ続ける。焦点位置制御部34は、物体Aが第2対象領域AR2内に存在し続ける期間中、物体Aに焦点位置を合わせ続ける。一方、撮像制御部36は、物体Aが第2対象領域AR2内に入ったタイミングで、画像の撮像を開始させて、物体Aが第2対象領域AR2内に存在し続ける期間中、撮像を続ける。 At the timing when the object A is present at the position A0, the focus position control unit 34 does not focus on the object A, but focuses on the set position, for example. Also, at this timing, the imaging control unit 36 does not capture an image. Then, the focal position control unit 34 focuses on the object A at the timing when the object A is present at the position A1, that is, at the timing when the object A enters the first target area AR1. The focus position control unit 34 continues to focus on the object A while the object A continues to exist within the first target area AR1. In addition, the imaging control unit 36 does not capture an image while the object A continues to exist within the first target area AR1. Then, the focus position control unit 34 also adjusts the focus position to the object A at the timing when the object A exists at the position A2, that is, at the timing when the object A directly moves from the first target area AR1 to the second target area AR2. continue. The focus position control unit 34 continues to focus on the object A while the object A continues to exist within the second target area AR2. On the other hand, the imaging control unit 36 starts imaging at the timing when the object A enters the second target area AR2, and continues imaging while the object A continues to exist within the second target area AR2. .
その後、物体Aが位置A3に存在するタイミングにおいて、すなわち物体Aが第2対象領域AR2から第1対象領域AR1に直接移動したタイミングにおいても、物体Aに焦点位置を合わせ続ける。焦点位置制御部34は、物体Aが第1対象領域AR1内に存在し続ける期間中、物体Aに焦点位置を合わせ続ける。一方、撮像制御部36は、第2対象領域AR2から第1対象領域AR1に移動したタイミングで、画像の撮像を停止させる。撮像制御部36は、物体Aが第1対象領域AR1内に存在し続ける期間中、撮像を停止させ続ける。その後、物体Aが位置A4に存在するタイミングにおいて、すなわち物体Aが第1対象領域AR1から、第1対象領域AR1及び第2対象領域AR2の範囲外に移動したタイミングにおいて、物体Aから焦点位置を外し、設定位置に焦点位置を戻す。すなわち、焦点位置制御部34は、物体Aが対象領域AR内に侵入したタイミングから、物体Aに焦点位置を合わせて、物体Aが対象領域AR内を移動している期間中、移動する物体Aに合わせて焦点位置を移動させて、物体Aが対象領域AR外に移動したタイミングで、物体Aから焦点位置を外す。撮像制御部36は、物体Aが第2対象領域AR2内に位置する場合には画像を撮像し続け、物体Aが第2対象領域AR2外に位置する場合には、画像を撮像しない。 After that, the object A continues to be focused even at the timing when the object A is present at the position A3, that is, at the timing when the object A directly moves from the second target area AR2 to the first target area AR1. The focus position control unit 34 continues to focus on the object A while the object A continues to exist within the first target area AR1. On the other hand, the imaging control unit 36 stops imaging the image at the timing of moving from the second target area AR2 to the first target area AR1. The imaging control unit 36 continues to stop imaging while the object A continues to exist within the first target area AR1. After that, at the timing when the object A exists at the position A4, that is, at the timing when the object A moves from the first target area AR1 to the outside of the range of the first target area AR1 and the second target area AR2, the focal position is shifted from the object A. Remove it and return the focal position to the set position. That is, the focus position control unit 34 adjusts the focus position to the object A from the timing when the object A enters the target area AR, and during the period when the object A is moving within the target area AR, the moving object A , and the focal position is removed from the object A at the timing when the object A moves out of the target area AR. The imaging control unit 36 continues to capture an image when the object A is positioned within the second target area AR2, and does not capture an image when the object A is positioned outside the second target area AR2.
以上の説明では、画像の撮像を、所定の処理(第2対象領域AR2に物体が存在する場合の処理)としたが、所定の処理は画像の撮像に限られない。所定の処理は、物体に焦点位置を合わせる処理以外の任意の処理であってよいが、例えば、画像を撮像する処理と、物体に向けて光を照射させる処理(例えば照明光を照射する処理)と、第2対象領域AR2に物体が存在していることを示す情報を出力する処理(例えば音声の出力処理)との、少なくとも1つであってよい。また、所定の処理は複数設定されていてよく、この場合例えば、第2対象領域AR2に物体が存在する場合に、それらの複数の所定の処理を全て実行してよい。また、対象領域ARが3つ以上設定されている場合には、対象領域AR毎に異なる所定の処理が割り当てられていてよい。すなわち例えば、第1対象領域、第2対象領域、及び第3対象領域が設定される場合、第1対象領域に物体が存在する場合には所定の処理を行わず、第2対象領域に物体が存在する場合には、第1の所定の処理を行い、第3対象領域に物体が存在する場合には、第1の所定の処理とは異なる第2の所定の処理を行ってもよい。 In the above description, capturing an image is defined as a predetermined process (processing when an object exists in the second target area AR2), but the predetermined process is not limited to capturing an image. The predetermined process may be any process other than the process of adjusting the focus position on the object, but for example, the process of capturing an image and the process of irradiating light toward the object (for example, the process of irradiating illumination light). and a process of outputting information indicating that an object exists in the second target area AR2 (for example, a process of outputting a sound). Also, a plurality of predetermined processes may be set, and in this case, for example, when an object exists in the second target area AR2, all of the plurality of predetermined processes may be executed. Further, when three or more target areas AR are set, a different predetermined process may be assigned to each target area AR. That is, for example, when a first target region, a second target region, and a third target region are set, if an object exists in the first target region, the predetermined processing is not performed, and if an object exists in the second target region, If the object exists, a first predetermined process may be performed, and if the object exists in the third target area, a second predetermined process different from the first predetermined process may be performed.
また、焦点位置は、ユーザによって設定されてもよい。この場合例えば、焦点位置が自動で設定されるオートモードと、焦点位置をユーザが設定するマニュアルモードとが切り替え可能となっていてよい。そして、オートモードの場合には、上述のように、焦点位置制御部34によって焦点位置が設定される。一方、マニュアルモードの場合には、ユーザによって、入力部16に焦点位置を設定する操作が入力されて、焦点位置制御部34が、ユーザの操作に応じて、焦点位置を設定する。 Also, the focus position may be set by the user. In this case, for example, it may be possible to switch between an auto mode in which the focal position is automatically set and a manual mode in which the user sets the focal position. In the auto mode, the focal position is set by the focal position control section 34 as described above. On the other hand, in the manual mode, the user inputs an operation to set the focal position to the input unit 16, and the focal position control unit 34 sets the focal position according to the user's operation.
また、画像の撮像も、ユーザによって行われてもよい。この場合例えば、画像が自動で撮像されるオートモードと、ユーザの操作によって画像が撮像されるマニュアルモードとが切り替え可能となっていてよい。そして、オートモードの場合には、上述のように、撮像制御部36によって、物体Aが第2対象領域AR2に存在する期間において、画像が撮像される。一方、マニュアルモードの場合には、ユーザによって、入力部16に撮像する旨の操作が入力されて、撮像制御部36が、ユーザの操作に応じて、画像を撮像する。 Also, the image capturing may be performed by the user. In this case, for example, it may be possible to switch between an auto mode in which an image is automatically captured and a manual mode in which an image is captured by a user's operation. In the auto mode, as described above, an image is captured by the imaging control unit 36 while the object A is present in the second target area AR2. On the other hand, in the manual mode, the user inputs an operation to the input unit 16 to capture an image, and the image capturing control unit 36 captures an image according to the user's operation.
(撮像制御部)
撮像制御部36は、撮像装置100による撮像を制御するものであり、上述のように画像を撮像させる。撮像制御部36は、例えば撮像素子12を制御して、撮像素子12に画像信号を取得させる。例えば、撮像制御部36は、撮像素子12に、自動で画像信号を取得させてもよいし、ユーザの操作に応じて画像信号を取得させてもよい。
(imaging control unit)
The imaging control unit 36 controls imaging by the
(画像取得部)
画像取得部38は、撮像素子12によって取得された画像データを取得する。画像取得部38は、例えば、画像処理回路13を制御して、画像処理回路13に、撮像素子12が生成した画像信号から画像データを生成させて、その画像データを取得する。画像取得部38は、画像データを記憶部22に記憶させる。
(Image acquisition unit)
The image acquisition unit 38 acquires image data acquired by the imaging device 12 . For example, the image acquisition unit 38 controls the image processing circuit 13 to cause the image processing circuit 13 to generate image data from the image signal generated by the imaging element 12, and acquires the image data. The image acquisition unit 38 causes the
(焦点位置の設定フロー)
次に、以上で説明した焦点位置の設定の処理フローを説明する。図6は、焦点位置の設定の処理フローを説明するフローチャートである。図6に示すように、制御部24は、対象領域取得部30により、対象領域ARの情報を取得し(ステップS10)、所定の処理の内容を取得する(ステップS12)。所定の処理の内容とは、複数の対象領域ARのうちで、所定の処理を実行させる対象領域ARを示す情報(すなわちどの対象領域ARが所定の処理を実行させる対象領域かを示す情報)と、所定の処理の内容(例えば画像の撮像など)とを示す情報である。所定の処理の内容は、予め設定されていてもよいし、ユーザによって指定されてもよい。ここでは、第2対象領域AR2が所定の処理を実行させる対象領域ARであり、所定の処理が画像を撮像する処理であるとして、説明を続ける。
(Focus position setting flow)
Next, a processing flow for setting the focal position described above will be described. FIG. 6 is a flowchart for explaining the processing flow for setting the focal position. As shown in FIG. 6, the control unit 24 acquires information on the target area AR using the target area acquisition unit 30 (step S10), and acquires the content of the predetermined process (step S12). The content of the predetermined process is information indicating the target area AR on which the predetermined process is to be performed among the plurality of target areas AR (that is, information indicating which target area AR is the target area on which the predetermined process is to be performed); , and the content of predetermined processing (for example, capturing an image). The contents of the predetermined process may be set in advance or may be specified by the user. Here, the second target area AR2 is the target area AR on which the predetermined process is executed, and the predetermined process is the process of capturing an image.
制御部24は、物体情報取得部32により、物体の位置情報を取得する(ステップS14)。ステップS10、S12、S14の実施順は任意であってよい。制御部24は、焦点位置制御部34により、物体の位置情報に基づき、物体が第1対象領域AR1内に位置しているかを判断する(ステップS16)。物体が第1対象領域AR1内に位置する場合(ステップS16;Yes)、焦点位置制御部34は、その物体に焦点位置を合わせる(ステップS18)が、所定の処理(ここでは画像の撮像)は実行されない。その後、処理を終了する場合(ステップS20;Yes)、本処理を終了し、処理を終了しない場合(ステップS20;No)、ステップS14に戻り処理を続ける。一方、物体が第1対象領域AR1内に位置しない場合(ステップS16;No)であって、かつ物体が第2対象領域AR2内にも位置しない場合(ステップS22;No)、焦点位置を合わせたり所定の処理を実行したりすることなく、ステップS20に進む。一方、物体が第2対象領域AR2内に位置する場合(ステップS22;Yes)、焦点位置制御部34が、その物体に焦点位置を合わせつつ、撮像制御部36が、所定の処理(ここでは画像の撮像)を実行する(ステップS24)。その後、ステップS20に進む。 The control unit 24 acquires the position information of the object using the object information acquisition unit 32 (step S14). The order in which steps S10, S12, and S14 are performed may be arbitrary. The control unit 24 uses the focus position control unit 34 to determine whether the object is positioned within the first target area AR1 based on the position information of the object (step S16). If the object is located within the first target area AR1 (step S16; Yes), the focus position control unit 34 adjusts the focus position to the object (step S18). Not executed. After that, if the process is to be ended (step S20; Yes), this process is ended, and if the process is not to be ended (step S20; No), the process returns to step S14 and continues. On the other hand, when the object is not located within the first target area AR1 (step S16; No) and when the object is not located within the second target area AR2 (step S22; No), the focus position is adjusted. Without executing a predetermined process, the process proceeds to step S20. On the other hand, if the object is located within the second target area AR2 (step S22; Yes), the focus position control unit 34 focuses on the object, and the imaging control unit 36 executes a predetermined process (here, image imaging) is executed (step S24). After that, the process proceeds to step S20.
なお、以上のような、一部の対象領域AR(ここでは第2対象領域AR2)について所定の処理を実行させる処理は、必須ではない。撮像装置100は、複数の対象領域ARを設定し、それぞれの対象領域ARについて、対象領域AR内に存在する物体に焦点位置を合わせる制御を行うものであればよい。
It should be noted that the process of executing the predetermined process for the partial target area AR (here, the second target area AR2) as described above is not essential. The
(効果)
以上説明したように、本実施形態に係る撮像装置100は、撮像素子12と、撮像素子12の撮像領域AR0に存在する物体の位置情報を取得する物体情報取得部32と、複数の対象領域ARの位置情報を取得する対象領域取得部30と、撮像装置100の焦点位置を制御する焦点位置制御部34と、を有する。複数の対象領域ARは、撮像装置100からの距離が第1距離L1となる第1位置AX1と、撮像装置100からの距離が第1距離L1より短い第2距離L2となる第2位置AX2との間に位置する。焦点位置制御部34は、それぞれの対象領域ARについて、対象領域AR内に物体が存在する場合、その物体に焦点位置を合わせる。
(effect)
As described above, the
ここで、オートフォーカス方式の撮像装置においては、焦点位置を適切に合わせることが求められている。それに対し、本実施形態に係る撮像装置100は、対象領域ARを複数設定し、それらの対象領域ARのいずれかに物体が存在する場合、その物体に焦点位置を合わせる。そのため、例えば監視などにおいて注目すべき領域が複数ある場合でも、各領域に存在する物体にフォーカスを合わせることができる。そのため、本実施形態によると、焦点位置を適切に合わせることが可能となる。
Here, in an autofocus imaging apparatus, it is required to appropriately adjust the focal position. On the other hand, the
また、本実施形態においては、複数の対象領域ARとして、少なくとも第1対象領域AR1と第2対象領域AR2とが設定されている。制御部24は、物体が第2対象領域AR2内に存在する場合には、その物体に焦点位置を合わせつつ、撮像装置100に所定の処理を実行させる。一方、制御部24は、物体が第1対象領域AR1内に存在する場合には、その物体に焦点位置を合わせつつ、所定の処理を実行させない。本実施形態によると、焦点位置を合わせつつ所定の処理を行う領域と、焦点位置を合わせるが所定の処理を行わない領域とに分けるため、撮像などを適切に実行できる。
Further, in the present embodiment, at least a first target area AR1 and a second target area AR2 are set as the plurality of target areas AR. When an object exists within the second target area AR2, the control unit 24 causes the
また、本実施形態においては、所定の処理は、物体を撮像する処理と、物体に向けて光を照射させる処理と、第2対象領域AR2に物体が存在していることを示す情報を出力する処理との、少なくとも1つである。物体が第2対象領域AR2内に存在する場合にこれらの処理を実行することで、撮像などを適切に実行できる。 Further, in the present embodiment, the predetermined processing includes processing for capturing an image of an object, processing for irradiating the object with light, and outputting information indicating that the object exists in the second target area AR2. and at least one of processing. By executing these processes when an object exists within the second target area AR2, it is possible to appropriately execute imaging and the like.
(第2実施形態)
次に、第2実施形態について説明する。第2実施形態においては、同じタイミングで異なる対象領域ARに物体が存在している場合の所定の点で、第1実施形態とは異なる。第2実施形態において、第1実施形態と構成が共通する箇所は、説明を省略する。
(Second embodiment)
Next, a second embodiment will be described. The second embodiment differs from the first embodiment in a predetermined point when objects exist in different target areas AR at the same timing. In the second embodiment, descriptions of parts having the same configuration as in the first embodiment are omitted.
物体情報取得部32は、物体位置測定部14に、それぞれの物体の相対位置を測定させて、撮像領域AR0内に存在するそれぞれの物体の位置情報を取得する。焦点位置制御部34は、それぞれの物体の位置情報に基づき、それぞれの物体について、対象領域AR内に位置しているかを判断する。焦点位置制御部34は、同じタイミングで、異なる対象領域ARのそれぞれに物体が位置していると判断した場合には、優先情報に基づき、焦点位置を設定する。優先情報とは、それぞれの対象領域AR内のうちで優先する対象領域ARを示す情報であり、対象領域取得部30によって取得される。優先情報は、例えば、それぞれの対象領域ARの優先順位を示す情報であってよい。
The object
対象領域取得部30は、任意の方法で優先情報を取得してよい。例えば、優先情報は予め設定されていてよい。この場合、対象領域取得部30は、予め設定された優先情報を記憶部22から読み出してもよいし、通信部20を介して、他の機器から優先情報を取得してもよい。また例えば、優先情報が予め設定されていない場合には、対象領域取得部30が、優先情報を自動で設定してもよい。また例えば、ユーザが優先情報を設定してもよい。この場合例えば、ユーザが、入力部16に、優先情報を指定する情報(例えば対象領域AR毎の優先順位)を入力し、対象領域取得部30は、ユーザによって優先情報を取得する。
The target
焦点位置制御部34は、優先情報に基づき、優先する対象領域AR以外の対象領域ARに位置する物体に焦点位置を合わせることよりも、優先する対象領域ARに位置する物体に焦点位置を合わせることが優先されるように、焦点位置を合わせる。言い換えれば、焦点位置制御部34は、優先順位が低い対象領域ARに位置する物体に焦点位置を合わせることよりも、それよりも優先順位が高い対象領域ARに位置する物体に焦点位置を合わせることが優先されるように、焦点位置を合わせる。以下、優先情報に基づいた焦点位置の合わせ方の具体例を説明する。 Based on the priority information, the focus position control unit 34 focuses on the object located in the priority target area AR rather than focusing on the object located in the target area AR other than the priority target area AR. Adjust the focus position so that In other words, the focus position control unit 34 focuses on an object located in the target area AR with a higher priority than on an object located in the target area AR with a lower priority. Adjust the focus position so that A specific example of how to adjust the focus position based on the priority information will be described below.
図7は、第2実施形態における焦点位置の設定を説明するための模式図である。例えば、焦点位置制御部34は、優先する対象領域AR以外に位置する物体には焦点位置を合わせず、優先する対象領域に位置する物体に焦点位置を合わせてもよい。言い換えれば、焦点位置制御部34は、最も優先順位が高い対象領域ARに位置する物体に焦点位置を合わせて、他の対象領域ARに位置する物体には焦点位置を合わせなくてもよい。図7において、第2対象領域AR2が第1対象領域AR1よりも優先順位が高く、同じタイミングで、第1対象領域AR1に物体Aaが位置し、第2対象領域AR2に物体Abが位置した場合を例に説明する。この場合、焦点位置制御部34は、物体Abに焦点位置を合わせ続けて、物体Aaには焦点位置を合わせない。 FIG. 7 is a schematic diagram for explaining setting of the focal position in the second embodiment. For example, the focus position control unit 34 may focus on an object located in the priority target area without focusing on the object located outside the priority target area AR. In other words, the focus position control unit 34 may focus on the object located in the target area AR with the highest priority and not focus on the object located in the other target areas AR. In FIG. 7, when the second target area AR2 has a higher priority than the first target area AR1, and the object Aa is positioned in the first target area AR1 and the object Ab is positioned in the second target area AR2 at the same timing. will be described as an example. In this case, the focus position control unit 34 continues to focus on the object Ab and does not focus on the object Aa.
また例えば、焦点位置制御部34は、それぞれの対象領域AR内の物体に焦点位置が重なるように、焦点位置を切り替えてもよい。この場合例えば、焦点位置制御部34は、優先する対象領域ARに位置する物体に焦点位置を合わせ続ける期間を、優先する対象領域AR以外の対象領域ARに位置する物体に焦点位置を合わせ続ける期間よりも、長くしてよい。言い換えれば、焦点位置制御部34は、優先順位が高い対象領域ARに位置する物体に焦点位置を合わせ続ける期間を、それよりも優先順位が低い対象領域ARに位置する物体に焦点位置を合わせ続ける期間よりも、長くしてよい。すなわち、優先順位が高いほど、焦点位置を合わせ続ける期間を長くしてよい。図7を例にすると、焦点位置制御部34は、焦点位置が、物体Aaに重なる位置と物体Abに重なる位置とで切り替わるように、焦点位置を設定する。この際、焦点位置制御部34は、優先順位が高い第2対象領域AR2に位置する物体Abに焦点位置を合わせ続ける期間を、それよりも優先順位が低い第1対象領域AR1に位置する物体Aaに焦点位置を合わせ続ける期間よりも、長くする。 Further, for example, the focal position control unit 34 may switch the focal position so that the focal position overlaps with the object in each target area AR. In this case, for example, the focus position control unit 34 changes the period during which the focus position is kept on the object located in the priority target area AR to the period during which the focus position is kept on the object located in the target area AR other than the priority target area AR. may be longer than In other words, the focus position control unit 34 continues to focus on the object located in the target area AR with lower priority during the period in which the focus position is kept on the object located in the target area AR with higher priority. It may be longer than the period. That is, the higher the priority, the longer the period during which the focus position is kept adjusted. Taking FIG. 7 as an example, the focal position control unit 34 sets the focal position such that the focal position switches between a position overlapping the object Aa and a position overlapping the object Ab. At this time, the focus position control unit 34 shifts the period in which the focus position is kept on the object Ab located in the second target area AR2 with the higher priority to the object Aa located in the first target area AR1 with the lower priority. Make it longer than the period during which the focus position is kept on.
また例えば、焦点位置制御部34は、優先する対象領域AR以外の対象領域ARに位置する物体に焦点位置を合わせるよりも前に、優先する対象領域ARに位置する物体に先に焦点位置を合わせてもよい。言い換えれば、焦点位置制御部34は、優先順位が低い対象領域ARに位置する物体に焦点位置を合わせるタイミングよりも前に、それよりも優先順位が高い対象領域ARに位置する物体に焦点位置を合わせ続けてよい。すなわち、優先順位が高いほど、焦点位置を合わせるタイミングを先にしてよい。図7を例にすると、焦点位置制御部34は、焦点位置が、物体Aaに重なる位置と物体Abに重なる位置とで切り替わるように、焦点位置を設定する。この際、焦点位置制御部34は、第2対象領域AR2に位置する物体Abに先に焦点位置を合わせた後で、それよりも優先順位が低い第1対象領域AR1に位置する物体に焦点位置を合わせる。 Further, for example, the focus position control unit 34 first focuses on the object located in the priority target area AR before focusing on the object located in the target area AR other than the priority target area AR. may In other words, the focus position control unit 34 shifts the focus position to the object located in the target area AR with the higher priority before the timing for adjusting the focus position on the object located in the target area AR with the lower priority. You can keep matching. That is, the higher the priority, the earlier the timing for adjusting the focal position. Taking FIG. 7 as an example, the focal position control unit 34 sets the focal position such that the focal position switches between a position overlapping the object Aa and a position overlapping the object Ab. At this time, the focus position control unit 34 first focuses on the object Ab located in the second target area AR2, and then shifts the focus position to the object located in the first target area AR1, which has a lower priority. to match.
次に、以上で説明した焦点位置の設定の処理フローを説明する。図8は、第2実施形態における焦点位置の設定の処理フローを説明するフローチャートである。図8に示すように、制御部24は、対象領域取得部30により、対象領域ARの情報を取得し(ステップS30)、優先情報を取得する(ステップS32)。 Next, a processing flow for setting the focal position described above will be described. FIG. 8 is a flowchart for explaining the processing flow for setting the focal position in the second embodiment. As shown in FIG. 8, the control unit 24 acquires information on the target area AR using the target area acquisition unit 30 (step S30), and acquires priority information (step S32).
制御部24は、物体情報取得部32により、物体の位置情報を取得する(ステップS34)。ステップS10、S12、S14の実施順は任意であってよい。制御部24は、焦点位置制御部34により、物体の位置情報に基づき、第1対象領域AR1と第2対象領域AR2との少なくともいずれかに、物体が位置しているかを判断する(ステップS36)。第1対象領域AR1と第2対象領域AR2との少なくともいずれかに物体が位置しており(ステップS36;Yes)、かつ、第1対象領域AR1と第2対象領域AR2との両方に物体が位置している場合には(ステップS38;Yes)、焦点位置制御部34は、優先情報に基づき、焦点位置を合わせる(ステップS40)。その後、処理を終了する場合(ステップS42;Yes)、本処理を終了し、処理を終了しない場合(ステップS42;No)、ステップS34に戻り処理を続ける。一方、第1対象領域AR1と第2対象領域AR2との両方に物体が位置していない場合には(ステップS38;No)、すなわち、第1対象領域AR1と第2対象領域AR2とのどちらかのみに物体が位置している場合には、焦点位置制御部34は、その物体に焦点位置を合わせて(ステップS44)、ステップS42に進む。また、第1対象領域AR1と第2対象領域AR2との少なくともいずれかに物体が位置しない場合(ステップS36;No)、すなわち第1対象領域AR1にも第2対象領域ARにも物体が位置しない場合、焦点位置の制御は行わず、ステップS42に進む。 The control unit 24 acquires the position information of the object using the object information acquisition unit 32 (step S34). The order in which steps S10, S12, and S14 are performed may be arbitrary. The control unit 24 uses the focus position control unit 34 to determine whether the object is positioned in at least one of the first target area AR1 and the second target area AR2 based on the position information of the object (step S36). . If the object is located in at least one of the first target area AR1 and the second target area AR2 (step S36; Yes) and the object is located in both the first target area AR1 and the second target area AR2 If so (step S38; Yes), the focus position control unit 34 adjusts the focus position based on the priority information (step S40). After that, if the process is to be terminated (step S42; Yes), this process is terminated, and if the process is not to be terminated (step S42; No), the process returns to step S34 and continues. On the other hand, if the object is not positioned in both the first target area AR1 and the second target area AR2 (step S38; No), that is, either the first target area AR1 or the second target area AR2 If the object is positioned only in the direction of the object, the focal position control unit 34 adjusts the focal position to the object (step S44), and proceeds to step S42. If the object is not located in at least one of the first target area AR1 and the second target area AR2 (step S36; No), that is, the object is not located in the first target area AR1 or the second target area AR. In this case, control of the focus position is not performed, and the process proceeds to step S42.
以上説明したように、第2実施形態においては、焦点位置制御部34は、同じタイミングにおいて複数の対象領域ARに物体が存在する場合には、それぞれの対象領域AR内の物体のうちから優先する物体を示す優先情報に基づき、焦点位置を設定する。第2実施形態によると、複数の対象領域ARに同時に物体が移動してきた際にも、優先情報に基づき、焦点位置を適切に設定できる。 As described above, in the second embodiment, when objects exist in a plurality of target areas AR at the same timing, the focal position control unit 34 gives priority to objects in the respective target areas AR. A focus position is set based on the priority information indicating the object. According to the second embodiment, even when objects move to a plurality of target areas AR at the same time, the focal position can be appropriately set based on the priority information.
焦点位置制御部34は、優先情報において優先するとされた対象領域AR以外に位置する物体には焦点位置を合わせず、優先するとされた対象領域ARに位置する物体に焦点位置を合わせてよい。そのため、複数の対象領域ARに同時に物体が移動してきた際にも、優先する物体に焦点位置を適切に合わせることができる。 The focus position control unit 34 may focus on the object positioned in the priority target area AR without adjusting the focus position on the object positioned other than the priority target area AR in the priority information. Therefore, even when objects move to a plurality of target areas AR at the same time, the focus position can be properly adjusted to the preferential object.
焦点位置制御部34は、それぞれの対象領域AR内の物体に焦点位置が重なるように、焦点位置を切り替えてもよい。この場合、焦点位置制御部34は、優先する対象領域ARに位置する物体に焦点位置を合わせる期間を、優先する対象領域AR以外の対象領域ARに位置する物体に焦点位置を合わせる期間よりも、長くする。従って、優先する物体により長く焦点位置を合わせることができる。 The focal position control unit 34 may switch the focal position so that the focal position overlaps with the object in each target area AR. In this case, the focus position control unit 34 makes the period during which the object located in the priority target area AR is focused longer than the period during which the focus position is aligned with the object located in the target area AR other than the priority target area AR. Lengthen. Therefore, the priority object can be focused longer.
(第3実施形態)
次に、第3実施形態について説明する。第3実施形態においては、対象領域AR内に存在して、かつ所定の条件を満たす物体に対して焦点位置を合わせる点で、第1実施形態と異なる。第3実施形態において第1実施形態と構成が共通する箇所は、説明を省略する。第3実施形態は、第1実施形態にも適用可能である。
(Third Embodiment)
Next, a third embodiment will be described. The third embodiment differs from the first embodiment in that the focal position is adjusted to an object that exists within the target area AR and satisfies a predetermined condition. In the third embodiment, descriptions of parts that are common to the first embodiment will be omitted. The third embodiment can also be applied to the first embodiment.
第3実施形態においては、焦点位置制御部34は、対象領域AR内に存在し、かつ、所定の条件を満たす物体に対して、焦点位置を合わせる。焦点位置制御部34は、対象領域AR内に存在することと、所定の条件を満たすこととの、少なくとも一方を満たさない物体に対しては、焦点位置を合わせない。焦点位置制御部34は、焦点位置を合わせた物体が、所定の条件を満たして対象領域AR内に存在し続ける期間中、その物体に焦点位置を合わせ続ける。一方、焦点位置制御部34は、その物体が、対象領域AR内に存在することと、所定の条件を満たすこととの、少なくとも一方を満たさなくなった場合には、その物体から焦点位置を外す。すなわち例えば、焦点位置制御部34は、その物体が所定条件を満たしているが対象領域AR外に移動した場合や、対象領域AR内に存在するが所定条件を満たさなくなった場合には、その物体から焦点位置を外す。 In the third embodiment, the focal position control unit 34 adjusts the focal position to an object that exists within the target area AR and satisfies a predetermined condition. The focal position control unit 34 does not focus on an object that does not satisfy at least one of being present in the target area AR and satisfying a predetermined condition. The focal position control unit 34 continues to focus on the object while the object on which the focal position is adjusted satisfies a predetermined condition and continues to exist within the target area AR. On the other hand, the focus position control unit 34 removes the focus position from the object when at least one of the existence of the object within the target area AR and the satisfaction of the predetermined condition is no longer satisfied. That is, for example, if the object satisfies the predetermined condition but has moved out of the target area AR, or if it exists within the target area AR but no longer satisfies the predetermined condition, the focal position control unit 34 detects that the object Remove the focus position from
焦点位置制御部34は、任意の方法で所定の条件を満たすかを判断してよいが、例えば、物体の位置情報と、物体の画像との少なくとも一方に基づき、所定の条件を満たすかを判断してよい。ここでの物体の位置情報は、物体位置測定部14の測定結果を指してよく、物体の画像は、撮像素子12によって取得された、物体が写っている画像データを指してよい。
The focal position control unit 34 may determine whether or not the predetermined condition is satisfied by any method. You can The positional information of the object here may refer to the measurement result of the object
ここでの所定の条件とは、物体が対象領域AR内に存在する以外であれば、任意の条件であってよい。例えば、所定の条件は、物体が所定の運動を行っていること、物体が所定の形状であること、及び物体が所定方向を向いていること、の少なくとも1つであってよい。また、これらのうちのいずれか2つを所定条件としてよいし、これらの全てを所定条件としてもよい。焦点位置制御部34は、所定の条件が複数設定されている場合には、全ての条件を満たした場合に、所定の条件を満たすと判断する。 The predetermined condition here may be any condition other than that the object exists within the target area AR. For example, the predetermined condition may be at least one of that the object is performing a predetermined motion, that the object has a predetermined shape, and that the object faces a predetermined direction. Also, any two of these may be used as the predetermined conditions, or all of them may be used as the predetermined conditions. When a plurality of predetermined conditions are set, the focus position control unit 34 determines that the predetermined conditions are satisfied when all the conditions are satisfied.
物体の運動を所定の条件とする場合について説明する。この場合、焦点位置制御部34は、時系列で連続して取得された物体の位置情報に基づき、物体が所定の運動を行っているかを判断する。焦点位置制御部34は、対象領域AR内に存在し、かつ、所定の運動を行っている物体に対して、焦点位置を合わせる。焦点位置制御部34は、対象領域AR内に存在することと、所定の運動を行っていることとの、少なくとも一方を満たさない物体に対しては、焦点位置を合わせない。焦点位置制御部34は、焦点位置を合わせた物体が、対象領域AR内に存在して所定の運動を続けている期間中、その物体に焦点位置を合わせ続ける。一方、焦点位置制御部34は、その物体が、対象領域AR内に存在することと、所定の運動を行うこととの、少なくとも一方を満たさなくなった場合には、その物体から焦点位置を外す。なお、ここでの物体の運動とは、物体の移動態様を指しており、例えば、物体の移動方向と移動速度とを指してよい。例えば、所定の運動が、鉛直方向下方に10m/h以上の速度で移動していることを指す場合には、焦点位置制御部34は、対象領域AR内で、鉛直方向下方に10m/h以上の速度で移動する物体に対して、焦点位置を合わせる。なお、物体の運動は、物体の移動方向と移動速度とを指すことに限られず、任意の移動態様を指してよい。例えば、物体の運動は、物体の移動方向と移動速度との少なくとも一方を指してよい。 A case where motion of an object is a predetermined condition will be described. In this case, the focus position control unit 34 determines whether the object is moving in a predetermined manner based on the position information of the object that is continuously acquired in time series. The focal position control unit 34 adjusts the focal position with respect to an object existing within the target area AR and performing a predetermined motion. The focal position control unit 34 does not focus on an object that does not meet at least one of being within the target area AR and performing a predetermined movement. The focal position control unit 34 keeps the focal position on the object while the object on which the focal position is adjusted exists in the target area AR and continues a predetermined movement. On the other hand, the focus position control unit 34 removes the focus position from the object when the object no longer satisfies at least one of being present in the target area AR and performing a predetermined movement. Note that the motion of the object here refers to the mode of movement of the object, and may refer to, for example, the direction and speed of movement of the object. For example, if the predetermined motion means moving downward in the vertical direction at a speed of 10 m/h or more, the focal position control unit 34 moves downward in the vertical direction by 10 m/h or more in the target area AR. Focus on an object moving at a speed of Note that the motion of an object is not limited to indicating the moving direction and moving speed of an object, and may refer to any mode of movement. For example, motion of an object may refer to at least one of the direction and speed of movement of the object.
図9は、物体の運動を所定の条件とする場合の例を説明する模式図である。図9の例では、物体が鉛直方向下方(Z方向と反対方向)に移動することを、すなわち物体の移動方向を、所定の条件としている。そして、図9の例では、物体Aが、位置A0aから、位置A1a、位置A2aを通って位置A3aまで鉛直方向下方に移動し、位置A3aで停止した場合を示している。位置A0aは、対象領域AR外であり、位置A1a、A2a、A3aは、対象領域AR内である。この場合、焦点位置制御部34は、物体Aが位置A0aに存在するタイミングにおいては、物体Aが対象領域AR外であるため、物体Aに焦点位置を合わせず、例えば設定位置に焦点位置を合わせる。そして、焦点位置制御部34は、物体Aが位置A1aに存在するタイミングにおいて、すなわち物体Aが鉛直方向下方に移動しつつ対象領域AR内に入ったタイミングにおいて、物体Aに焦点位置を合わせる。焦点位置制御部34は、物体Aが位置A2aに存在するタイミングにおいても、物体Aに焦点位置を合わせ続けて、物体Aが位置A3aに移動して停止したタイミングにおいて、物体Aから焦点位置を外し、設定位置に焦点位置を戻す。 FIG. 9 is a schematic diagram illustrating an example in which motion of an object is set as a predetermined condition. In the example of FIG. 9, the predetermined condition is that the object moves downward in the vertical direction (direction opposite to the Z direction), that is, the moving direction of the object. In the example of FIG. 9, the object A moves downward in the vertical direction from position A0a through positions A1a and A2a to position A3a and stops at position A3a. The position A0a is outside the target area AR, and the positions A1a, A2a, and A3a are inside the target area AR. In this case, the focus position control unit 34 does not focus on the object A because the object A is outside the target area AR at the timing when the object A exists at the position A0a. . Then, the focal position control unit 34 focuses on the object A at the timing when the object A is present at the position A1a, that is, at the timing when the object A enters the target area AR while moving downward in the vertical direction. The focus position control unit 34 continues to focus on the object A even at the timing when the object A is present at the position A2a, and removes the focus position from the object A at the timing when the object A moves to the position A3a and stops. , to return the focal position to the set position.
次に、物体の形状を所定の条件とする場合について説明する。この場合、焦点位置制御部34は、物体が写った画像データに基づき、物体が所定の形状であるかを判断する。対象領域AR内に存在し、かつ、所定の形状の物体に対して、焦点位置を合わせる。焦点位置制御部34は、対象領域AR内に存在することと、所定の形状であることとの、少なくとも一方を満たさない物体に対しては、焦点位置を合わせない。焦点位置制御部34は、焦点位置を合わせた物体が、所定の形状であり対象領域AR内に存在し続けている期間中、その物体に焦点位置を合わせ続ける。一方、焦点位置制御部34は、その物体が、対象領域AR内に存在することと、所定の形状であることとの、少なくとも一方を満たさなくなった場合には、その物体から焦点位置を外す。ここでの物体の形状は、例えば、物体の大きさと物体の外形との少なくとも一方であってよい。例えば、所定の形状が、所定の大きさ以上であることを指す場合には、焦点位置制御部34は、対象領域AR内に存在する所定の大きさ以上の物体に対して、焦点位置を合わせる。なお、物体の形状情報の取得には、物体情報取得部32の取得する3D形状の情報を用いてもよい。
Next, a case where the shape of an object is set as a predetermined condition will be described. In this case, the focus position control section 34 determines whether the object has a predetermined shape based on the image data showing the object. The focal position is adjusted to an object that exists within the target area AR and has a predetermined shape. The focal position control unit 34 does not focus on an object that does not satisfy at least one of being within the target area AR and having a predetermined shape. The focal position control unit 34 continues to focus on the object while the object on which the focal position is adjusted has a predetermined shape and continues to exist within the target area AR. On the other hand, the focus position control unit 34 removes the focus position from the object when the object no longer satisfies at least one of being in the target area AR and having a predetermined shape. The shape of the object here may be, for example, at least one of the size of the object and the outline of the object. For example, when the predetermined shape indicates a predetermined size or more, the focus position control unit 34 adjusts the focus position to an object of a predetermined size or more that exists within the target area AR. . Note that 3D shape information acquired by the object
物体の向きを所定の条件とする場合について説明する。この場合、焦点位置制御部34は、物体が写った画像データに基づき、物体が所定方向を向いているかを判断する。対象領域AR内に存在し、かつ、所定方向を向く物体に対して、焦点位置を合わせる。焦点位置制御部34は、対象領域AR内に存在することと、所定方向を向いていることとの、少なくとも一方を満たさない物体に対しては、焦点位置を合わせない。焦点位置制御部34は、焦点位置を合わせた物体が、所定方向を向きつつ対象領域AR内に存在し続けている期間中、その物体に焦点位置を合わせ続ける。一方、焦点位置制御部34は、その物体が、対象領域AR内に存在することと、所定方向を向いていることとの、少なくとも一方を満たさなくなった場合には、その物体から焦点位置を外す。なお、物体の向きの情報の取得には、物体情報取得部32の取得する3D形状の情報を用いてもよい。
A case where the orientation of an object is a predetermined condition will be described. In this case, the focal position control unit 34 determines whether the object faces a predetermined direction based on the image data showing the object. A focal position is adjusted to an object that exists within the target area AR and faces in a predetermined direction. The focal position control unit 34 does not focus on an object that does not satisfy at least one of being in the target area AR and being oriented in a predetermined direction. The focal position control unit 34 continues to focus on the object while the object on which the focal position is adjusted continues to exist within the target area AR while facing the predetermined direction. On the other hand, when the object no longer satisfies at least one of being in the target area AR and facing a predetermined direction, the focus position control unit 34 removes the focus position from the object. . Note that 3D shape information acquired by the object
なお、所定の条件は、任意の方法で設定されてよく、例えば、予め設定されていてよい。この場合、焦点位置制御部34は、予め設定された所定の条件を示す情報(例えば移動方向及び移動速度)を、記憶部22から読み出してもよいし、通信部20を介して、他の機器から、所定の条件を取得してもよい。また例えば、所定の条件が予め設定されていない場合には、焦点位置制御部34が、所定の条件を自動で設定してもよい。また例えば、ユーザが所定の条件を設定してもよい。この場合例えば、ユーザが、入力部16に、所定の条件を指定する情報(例えば移動方向及び移動速度)を入力し、焦点位置制御部34は、ユーザによって指定された情報に基づき、所定の条件を設定してもよい。
Note that the predetermined condition may be set by any method, and may be set in advance, for example. In this case, the focal position control unit 34 may read out information indicating a predetermined condition (for example, moving direction and moving speed) from the
以上説明したように、第3実施形態においては、焦点位置制御部34は、対象領域ARに存在し、かつ、所定の運動を行っている物体に、焦点位置を合わせてもよい。焦点位置制御部34は、その物体が所定の運動を行っている期間には、焦点位置をその物体に合わせ続け、その物体が所定の運動を行わなくなったら、焦点位置をその物体から外す。このように、対象領域AR内にあることに加えて、所定の運動を満たすことも焦点位置を合わす条件とすることで、特定の動きをしている物体を追跡して、焦点位置を適切に合わせることが可能となる。 As described above, in the third embodiment, the focus position control unit 34 may focus on an object that is present in the target area AR and is performing a predetermined movement. The focus position control unit 34 keeps the focus position on the object while the object is moving in a predetermined manner, and removes the focus position from the object when the object stops moving in the predetermined direction. In this way, in addition to being within the target area AR, satisfying a predetermined motion is also a condition for focusing, so that an object that is moving in a specific manner can be tracked and the focus position can be adjusted appropriately. It is possible to match.
第3実施形態においては、焦点位置制御部34は、対象領域ARに存在し、かつ、所定の形状の物体に、焦点位置を合わせてもよい。このように、対象領域AR内にあることに加えて、所定の形状であることも焦点位置を合わす条件とすることで、特定の形状の物体を追跡して、焦点位置を適切に合わせることが可能となる。 In the third embodiment, the focus position control unit 34 may focus on an object that exists in the target area AR and has a predetermined shape. In this way, in addition to being within the target area AR, the object having a predetermined shape is also a condition for adjusting the focus position, so that an object with a specific shape can be tracked and the focus position can be appropriately adjusted. It becomes possible.
第3実施形態においては、焦点位置制御部34は、対象領域ARに存在し、かつ、所定の方向を向く物体に、焦点位置を合わせてもよい。このように、対象領域AR内にあることに加えて、所定の方向を向いていることも焦点位置を合わす条件とすることで、特定の向きの物体を追跡して、焦点位置を適切に合わせることが可能となる。 In the third embodiment, the focal position control unit 34 may focus on an object that exists in the target area AR and faces in a predetermined direction. In this way, in addition to being within the target area AR, by setting the condition that the object is oriented in a predetermined direction as a condition for adjusting the focus position, an object in a specific direction is tracked and the focus position is appropriately adjusted. becomes possible.
以上、本発明の実施形態を説明したが、これら実施形態の内容により実施形態が限定されるものではない。また、前述した構成要素には、当業者が容易に想定できるもの、実質的に同一のもの、いわゆる均等の範囲のものが含まれる。さらに、前述した構成要素は適宜組み合わせることが可能であり、各実施形態の構成を組み合わせることも可能である。さらに、前述した実施形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換又は変更を行うことができる。また、各実施形態では、焦点位置を合わせるという動作を特徴点として説明したが、焦点位置を合わせる動作と、他の動作とを組み合わせてもよい。例えば、焦点位置を合わせる動作と、ズームによる拡大縮小の動作と組み合わせてもよい。また、各実施形態の説明において、焦点位置を合わせる動作を、他の動作に置き換えてもよい。例えば、各実施形態の説明において、焦点位置を合わせる動作を、ズームによる拡大縮小の動作に置き換えてもよい。また、各実施形態における撮像装置の制御部24は、例えば物体が所定の対象領域ARに出入りをする、物体が所定の方向の運動をするなどの設定された条件を満たしたとき、通信部20を通して所定の送信先に通知をおこなうようにしてもよい。ここでの設定された条件とは、例えば、物体が対象領域AR内に移動することをトリガとしてその物体に焦点位置を合わせることを指してよい。
Although the embodiments of the present invention have been described above, the embodiments are not limited by the contents of these embodiments. In addition, the components described above include those that can be easily assumed by those skilled in the art, those that are substantially the same, and those within the so-called equivalent range. Furthermore, the components described above can be combined as appropriate, and it is also possible to combine the configurations of the respective embodiments. Furthermore, various omissions, replacements, or modifications of components can be made without departing from the gist of the above-described embodiments. Further, in each embodiment, the operation of adjusting the focal position has been described as a characteristic point, but the operation of adjusting the focal position may be combined with another operation. For example, the operation of adjusting the focal position may be combined with the operation of zooming. Also, in the description of each embodiment, the operation of adjusting the focal position may be replaced with another operation. For example, in the description of each embodiment, the operation of adjusting the focal position may be replaced with the operation of zooming. Further, the control unit 24 of the imaging device in each embodiment, for example, when a set condition such as an object entering or exiting a predetermined target area AR or an object moving in a predetermined direction is satisfied, the
10 光学素子
12 撮像素子
14 物体位置測定部
30 対象領域取得部
32 物体情報取得部
34 焦点位置制御部
AR 対象領域
AR0 撮像領域
AR1 第1対象領域
AR2 第2対象領域
AX1 第1位置
AX2 第2位置
L1 第1距離
L2 第2距離
10 optical device 12
Claims (9)
撮像素子と、
前記撮像素子の撮像領域に存在する物体の位置情報を取得する物体情報取得部と、
前記撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置する、複数の対象領域の位置情報を取得する対象領域取得部と、
前記撮像装置の焦点位置を制御する焦点位置制御部と、
を有し、
前記焦点位置制御部は、それぞれの前記対象領域について、前記対象領域内に物体が存在する場合、その物体に前記焦点位置を合わせる、
撮像装置。 An imaging device capable of imaging an object,
an imaging device;
an object information acquisition unit that acquires position information of an object existing in the imaging area of the imaging device;
A plurality of target regions located between a first position at a first distance from the imaging device and a second position at a second distance shorter than the first distance from the imaging device. a target area acquisition unit that acquires position information;
a focus position control unit that controls the focus position of the imaging device;
has
For each of the target areas, the focus position control unit adjusts the focus position to the object if an object exists in the target area.
Imaging device.
撮像領域に存在する物体の位置情報を取得するステップと、
撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置する、複数の対象領域の位置情報を取得するステップと、
前記撮像装置の焦点位置を制御するステップと、
を含み、
前記焦点位置を制御するステップにおいては、それぞれの前記対象領域について、前記対象領域内に物体が存在する場合、その物体に前記焦点位置を合わせる、
撮像方法。 An imaging method for imaging an object,
a step of acquiring position information of an object existing in the imaging area;
Positions of a plurality of target regions located between a first position at a first distance from an imaging device and a second position at a second distance from the imaging device at a second distance shorter than the first distance. obtaining information;
controlling the focus position of the imaging device;
including
In the step of controlling the focus position, for each of the target regions, if an object exists within the target region, the focus position is adjusted to the object;
Imaging method.
撮像領域に存在する物体の位置情報を取得するステップと、
撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置する、複数の対象領域の位置情報を取得するステップと、
前記撮像装置の焦点位置を制御するステップと、
を前記コンピュータに実行させ、
前記焦点位置を制御するステップにおいては、それぞれの前記対象領域について、前記対象領域内に物体が存在する場合、その物体に前記焦点位置を合わせる、
プログラム。
A program for causing a computer to execute an imaging method for imaging an object,
a step of acquiring position information of an object existing in the imaging area;
Positions of a plurality of target regions located between a first position at a first distance from an imaging device and a second position at a second distance from the imaging device at a second distance shorter than the first distance. obtaining information;
controlling the focus position of the imaging device;
causing said computer to execute
In the step of controlling the focus position, for each of the target regions, if an object exists within the target region, the focus position is adjusted to the object;
program.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021157147A JP2023047943A (en) | 2021-09-27 | 2021-09-27 | Imaging device, imaging method, and program |
CN202280059544.8A CN117917089A (en) | 2021-09-27 | 2022-07-29 | Imaging device and imaging method |
PCT/JP2022/029298 WO2023047802A1 (en) | 2021-09-27 | 2022-07-29 | Imaging device and imaging method |
PCT/JP2022/029384 WO2023047804A1 (en) | 2021-09-27 | 2022-07-29 | Imaging device, imaging system, imaging method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021157147A JP2023047943A (en) | 2021-09-27 | 2021-09-27 | Imaging device, imaging method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023047943A true JP2023047943A (en) | 2023-04-06 |
Family
ID=85779380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021157147A Pending JP2023047943A (en) | 2021-09-27 | 2021-09-27 | Imaging device, imaging method, and program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2023047943A (en) |
CN (1) | CN117917089A (en) |
-
2021
- 2021-09-27 JP JP2021157147A patent/JP2023047943A/en active Pending
-
2022
- 2022-07-29 CN CN202280059544.8A patent/CN117917089A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
CN117917089A (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6204660B2 (en) | Imaging apparatus and control method thereof | |
US7826735B2 (en) | Auto focus unit and digital camera | |
JP5830373B2 (en) | Imaging device | |
JP2005215040A (en) | Autofocus system | |
JP2006099119A (en) | Method for implementing autofocus in an image capture device while compensating for movement | |
US10212330B2 (en) | Autofocusing a macro object by an imaging device | |
KR20150074641A (en) | Auto focus adjusting method and auto focus adjusting apparatus | |
JP2007003656A (en) | Apparatus for determining focal position of imaging lens and method thereof | |
JP2015015592A (en) | Tracking apparatus, tracking method, and tracking program | |
US20160063307A1 (en) | Image acquisition device and control method therefor | |
JP2021005860A (en) | Imaging apparatus and method for controlling imaging apparatus | |
JP2023047943A (en) | Imaging device, imaging method, and program | |
US7990417B2 (en) | Targeted object pursuit system | |
EP3163369B1 (en) | Auto-focus control in a camera to prevent oscillation | |
WO2023047802A1 (en) | Imaging device and imaging method | |
TW202002606A (en) | Image-capturing device and method for operating the same | |
JP2023048019A (en) | Imaging device, imaging method, and program | |
JP2023047715A (en) | Imaging system, imaging method, and program | |
JP2023047764A (en) | Imaging apparatus, imaging method, and program | |
JP2023047714A (en) | Imaging apparatus, imaging method, and program | |
JP2023048013A (en) | Imaging device, imaging method, and program | |
JP2023047944A (en) | Imaging device, imaging method, and program | |
JP2023047942A (en) | Imaging device, imaging method, and program | |
JP2013219531A (en) | Image processing device, and image processing method | |
WO2019123869A1 (en) | Image acquisition device and image acquisition method |