JP2023047714A - Imaging apparatus, imaging method, and program - Google Patents

Imaging apparatus, imaging method, and program Download PDF

Info

Publication number
JP2023047714A
JP2023047714A JP2021156799A JP2021156799A JP2023047714A JP 2023047714 A JP2023047714 A JP 2023047714A JP 2021156799 A JP2021156799 A JP 2021156799A JP 2021156799 A JP2021156799 A JP 2021156799A JP 2023047714 A JP2023047714 A JP 2023047714A
Authority
JP
Japan
Prior art keywords
target area
imaging device
imaging
area
acquisition unit
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
Application number
JP2021156799A
Other languages
Japanese (ja)
Inventor
伸基 中島
Nobumoto Nakajima
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.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2021156799A priority Critical patent/JP2023047714A/en
Priority to PCT/JP2022/029384 priority patent/WO2023047804A1/en
Priority to CN202280059605.0A priority patent/CN117917090A/en
Priority to EP22872558.6A priority patent/EP4383740A1/en
Priority to EP22872560.2A priority patent/EP4394497A1/en
Priority to PCT/JP2022/029298 priority patent/WO2023047802A1/en
Publication of JP2023047714A publication Critical patent/JP2023047714A/en
Priority to US18/591,030 priority patent/US20240205543A1/en
Priority to US18/596,685 priority patent/US20240210793A1/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

To properly adjust a focal position.SOLUTION: An imaging apparatus 100 comprises: an image pickup device; a self position acquisition unit for acquiring position information of the imaging apparatus 100; an object information acquisition unit for acquiring position information of an object existing in an image-pickup area AR0 of the image pickup device; a target area acquisition unit for setting a target area AR within the image-pickup area AR0; and a focal position control unit which in a case where an object exists in the target area AR, controls the focal position of the imaging apparatus 100 so as to adjust the focal position on the object. The target area acquisition unit keeps the fixed position of the target area AR when the self position acquisition unit determines that the imaging apparatus 100 has moved.SELECTED DRAWING: Figure 2

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.

国際公開第2017/141746号WO2017/141746

オートフォーカス方式の撮像装置においては、フォーカスを適切に合わせることが求められている。 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.

本発明の一態様にかかる撮像装置は、物体を撮像可能な撮像装置であって、撮像素子と、前記撮像装置の位置情報を取得する自己位置取得部と、前記撮像素子の撮像領域に存在する物体の位置情報を取得する物体情報取得部と、前記撮像領域内に対象領域を設定する対象領域取得部と、前記対象領域内に物体が存在する場合、その物体に焦点位置を合わせるように、前記撮像装置の焦点位置を制御する焦点位置制御部と、を有し、前記対象領域取得部は、前記自己位置取得部によって前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定したままとする。 An imaging device according to an aspect of the present invention is an imaging device capable of imaging an object, and includes an imaging device, a self-position acquisition unit that acquires position information of the imaging device, and an imaging region of the imaging device. an object information acquisition unit that acquires position information of an object; a target region acquisition unit that sets a target region within the imaging region; and a focal position control unit that controls the focal position of the imaging device, and the target region acquisition unit determines the position of the target region when the self-position acquisition unit determines that the imaging device has moved. remain fixed.

本発明の一態様にかかる撮像方法は、物体を撮像する撮像方法であって、撮像装置の位置情報を取得するステップと、撮像素子の撮像領域に存在する物体の位置情報を取得するステップと、前記撮像領域内に対象領域を設定するステップと、前記対象領域内に物体が存在する場合、その物体に焦点位置を合わせるように、前記撮像装置の焦点位置を制御するステップと、を含み、前記対象領域を設定するステップにおいては、前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定したままとする。 An image capturing method according to an aspect of the present invention is an image capturing method for capturing an image of an object, and includes a step of acquiring position information of an image capturing device, a step of acquiring position information of an object existing in an image capturing area of an image sensor, and setting a target area within the imaging area; and, if an object exists within the target area, controlling the focal position of the imaging device so as to focus on the object, In the step of setting the target area, the position of the target area is kept fixed when it is determined that the imaging device has moved.

本発明の一態様にかかるプログラムは、物体を撮像する撮像方法をコンピュータに実行させるプログラムであって、撮像装置の位置情報を取得するステップと、撮像素子の撮像領域に存在する物体の位置情報を取得するステップと、前記撮像領域内に対象領域を設定するステップと、前記対象領域内に物体が存在する場合、その物体に焦点位置を合わせるように、前記撮像装置の焦点位置を制御するステップと、を前記コンピュータに実行させ、前記対象領域を設定するステップにおいては、前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定したままとする。 A program according to an 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: acquiring position information of an image capturing device; setting a target area within the imaging area; and, if an object exists within the target area, controlling the focal position of the imaging device so as to focus on the object. and setting the target area, the position of the target area is kept fixed when it is determined that the imaging device has moved.

本発明によれば、フォーカスを適切に合わせることができる。 According to the present invention, it is possible to appropriately focus.

図1は、第1実施形態に係る撮像装置の模式的なブロック図である。FIG. 1 is a schematic block diagram of an imaging device according to the first embodiment. 図2は、対象領域の一例を説明するための模式図である。FIG. 2 is a schematic diagram for explaining an example of the target area. 図3は、対象領域の一例を説明するための模式図である。FIG. 3 is a schematic diagram for explaining an example of the target area. 図4は、対象領域の他の例を示す模式図である。FIG. 4 is a schematic diagram showing another example of the target area. 図5は、対象領域の他の例を示す模式図である。FIG. 5 is a schematic diagram showing another example of the target area. 図6は、第1モードに設定された場合の対象領域の一例を示す模式図である。FIG. 6 is a schematic diagram showing an example of the target area when the first mode is set. 図7は、第2モードに設定された場合の対象領域の一例を示す模式図である。FIG. 7 is a schematic diagram showing an example of the target area when the second mode is set. 図8は、撮像装置が移動した場合の対象領域の設定フローを説明するフローチャートである。FIG. 8 is a flowchart for explaining the target area setting flow when the imaging device is moved. 図9は、焦点位置の設定の処理フローを説明するフローチャートである。FIG. 9 is a flowchart for explaining the processing flow for setting the focal position. 図10は、第2実施形態に係る撮像装置の模式的なブロック図である。FIG. 10 is a schematic block diagram of an imaging device according to the second embodiment. 図11は、第2実施形態における対象領域の一例を示す模式図である。FIG. 11 is a schematic diagram showing an example of a target area in the second embodiment. 図12は、警報の通知フローを説明するフローチャートである。FIG. 12 is a flowchart for explaining the alarm notification flow. 図13は、物体の運動を所定の条件とする場合の例を説明する模式図である。FIG. 13 is a schematic diagram illustrating an example in which motion of an object is set as a predetermined condition.

以下に、本発明の実施形態を図面に基づいて詳細に説明する。なお、以下に説明する実施形態により本発明が限定されるものではない。 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 imaging device 100 according to the first embodiment is an imaging device that images an object within an imaging range. The imaging device 100 is an autofocus camera capable of automatically setting a focal position. The imaging device 100 may be a video camera that captures a moving image by capturing each predetermined frame, or may be a camera that captures a still image. The imaging device 100 may be used for any purpose, and may be used, for example, as a monitoring camera set at a predetermined position inside a facility or outdoors.

図1に示すように、撮像装置100は、光学素子10と、撮像素子12と、画像処理回路13と、物体位置測定部14と、自己位置測定部15と、入力部16と、表示部18と、通信部20と、記憶部22と、制御部24とを有する。 As shown in FIG. 1, the imaging device 100 includes an optical device 10, an imaging device 12, an image processing circuit 13, an object position measurement unit 14, a self-position measurement unit 15, an input unit 16, and a display unit 18. , a communication unit 20 , a storage unit 22 , and a control unit 24 .

光学素子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 position measuring unit 14 is a sensor that measures the position of the object to be measured with respect to the imaging device 100 (relative position of the object). An object here may be any object, and may be a living thing or an inanimate object, and the same shall apply hereinafter. Also, the object here may refer to a movable object, but is not limited to that and may refer to an immovable object.

本実施形態では、物体位置測定部14は、物体の相対位置として、撮像装置100から物体までの距離を測定する。物体位置測定部14は、物体の相対位置を測定可能な任意のセンサであってよいが、例えば、TOF(Time Of Flight)センサであってよい。物体位置測定部14がTOFセンサである場合には、例えば、光を照射する発光素子(例えばLED(Light Emitting Diode)と、光を受光する受光部が設けられており、発光素子から物体に照射されて受光部に戻ってきた光の飛行時間により、物体までの距離を測定する。なお、物体位置測定部14は、物体の相対位置として、撮像装置100から物体までの距離を測定に加えて、例えば撮像装置100に対して物体が存在する方向も測定してよい。言い換えれば、物体位置測定部14は、撮像装置100を原点とする座標系における物体の位置(座標)を、物体の相対位置として測定してもよい。 In this embodiment, the object position measuring unit 14 measures the distance from the imaging device 100 to the object as the relative position of the object. The object position measuring unit 14 may be any sensor capable of measuring the relative position of an object, and may be, for example, a TOF (Time Of Flight) sensor. When the object position measuring unit 14 is a TOF sensor, for example, a light emitting element (e.g., LED (Light Emitting Diode)) that emits light and a light receiving unit that receives light are provided. The distance to the object is measured from the time of flight of the light that has returned to the light-receiving unit.The object position measuring unit 14 measures the distance from the imaging device 100 to the object as the relative position of the object. For example, the direction in which the object exists with respect to the imaging device 100 may also be measured.In other words, the object position measurement unit 14 measures the position (coordinates) of the object in a coordinate system having the imaging device 100 as the origin, and calculates the relative position of the object. May be measured as position.

自己位置測定部15は、撮像装置100の位置(すなわち自己位置)を測定するセンサである。本実施形態では、自己位置測定部15は、撮像装置100の位置(座標)及び姿勢(向き)を測定する。自己位置測定部15は、撮像装置100の位置及び姿勢を測定可能な任意のセンサであってよいが、例えば、撮像装置100の3軸における加速度を測定する3次元加速度センサや、ジャイロセンサであってよい。例えば、自己位置測定部15は、撮像装置100の3軸における加速度を測定することで、撮像装置100の位置及び姿勢を、すなわち移動前の撮像装置100の位置及び姿勢に対する、移動後の撮像装置100の位置及び姿勢を、測定できる。ただし、自己位置測定部15は、撮像装置100の位置及び姿勢の両方を測定することに限られず、撮像装置100の位置及び姿勢の少なくとも一方を測定するものであってよい。 The self-position measuring unit 15 is a sensor that measures the position of the imaging device 100 (that is, the self-position). In this embodiment, the self-localization unit 15 measures the position (coordinates) and orientation (orientation) of the imaging device 100 . The self-localization unit 15 may be any sensor capable of measuring the position and orientation of the imaging device 100, but may be, for example, a three-dimensional acceleration sensor or a gyro sensor that measures acceleration in three axes of the imaging device 100. you can For example, the self-localization unit 15 measures the acceleration in three axes of the imaging device 100 to determine the position and orientation of the imaging device 100, that is, the position and orientation of the imaging device 100 before movement. 100 positions and orientations can be measured. However, the self-localization unit 15 is not limited to measuring both the position and orientation of the imaging device 100 , and may measure at least one of the position and orientation of the imaging device 100 .

入力部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 imaging device 100 .

通信部20は、外部の装置と通信を行う通信モジュールであり、例えばアンテナやWi-Fi(登録商標)モジュールなどであってよい。撮像装置100は、無線通信で外部の装置と通信を行うが、有線通信でもよく、通信方式は任意であってよい。 The communication unit 20 is a communication module that communicates with an external device, and may be, for example, an antenna or a Wi-Fi (registered trademark) module. The imaging device 100 communicates with an external device by wireless communication, but may be wired communication, and any communication method may be used.

記憶部22は、撮像した画像データや、制御部24の演算内容やプログラムなどの各種情報を記憶するメモリであり、例えば、RAM(Random Access Memory)と、ROM(Read Only Memory)のような主記憶装置と、HDD(Hard Disk Drive)などの外部記憶装置とのうち、少なくとも1つ含む。記憶部22が記憶する制御部24用のプログラムは、撮像装置100が読み取り可能な記録媒体に記憶されていてもよい。 The storage unit 22 is a memory that stores various types of information such as captured image data, calculation contents of the control unit 24, and programs. At least one of a storage device and an external storage device such as a HDD (Hard Disk Drive) is included. The program for the control unit 24 stored in the storage unit 22 may be stored in a recording medium readable by the imaging device 100 .

制御部24は、演算装置であり、例えばCPU(Central Processing Unit)などの演算回路を含む。制御部24は、自己位置取得部28と、対象領域取得部30と、物体情報取得部32と、焦点位置制御部34と、撮像制御部36と、画像取得部38とを含む。制御部24は、記憶部22からプログラム(ソフトウェア)を読み出して実行することで、自己位置取得部28と対象領域取得部30と物体情報取得部32と焦点位置制御部34と撮像制御部36と画像取得部38とを実現して、それらの処理を実行する。なお、制御部24は、1つのCPUによってこれらの処理を実行してもよいし、複数のCPUを備えて、それらの複数のCPUで、処理を実行してもよい。また、自己位置取得部28と対象領域取得部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 self-position acquisition unit 28 , a target area acquisition unit 30 , an object information acquisition unit 32 , a focus position control unit 34 , an imaging control unit 36 and an image acquisition unit 38 . By reading and executing a program (software) from the storage unit 22, the control unit 24 controls the self-position acquisition unit 28, the target area acquisition unit 30, the object information acquisition unit 32, the focus position control unit 34, and the imaging control unit 36. An image acquisition unit 38 is implemented to execute those processes. Note that the control unit 24 may execute these processes by one CPU, or may be provided with a plurality of CPUs and may execute the processes by the plurality of CPUs. Moreover, at least part of the processing of the self-position acquisition unit 28, the target area acquisition unit 30, the object information acquisition unit 32, the focus position control unit 34, the imaging control unit 36, and the image acquisition unit 38 is realized by hardware circuits. may

(自己位置取得部)
自己位置取得部28は、撮像装置100の位置情報を取得する。撮像装置100の位置情報とは、撮像装置100の位置(座標)及び姿勢(向き)を示す情報である。自己位置取得部28は、自己位置測定部15を制御して、自己位置測定部15に、撮像装置100の位置及び姿勢を測定させる。自己位置取得部28は、自己位置測定部15による、撮像装置100の位置及び姿勢の測定結果を、撮像装置100の位置情報として取得する。物体情報取得部32は、所定時間毎に撮像装置100の位置情報の取得を行うことで、撮像装置100の位置情報を逐次取得する。なお、撮像装置100の位置情報は、撮像装置100の位置及び姿勢の両方であることに限られず、撮像装置100の位置及び姿勢の少なくとも一方を示す情報であってよい。
(Self-position acquisition unit)
The self-position acquisition unit 28 acquires position information of the imaging device 100 . The position information of the imaging device 100 is information indicating the position (coordinates) and orientation (orientation) of the imaging device 100 . The self-position acquisition unit 28 controls the self-position measurement unit 15 to cause the self-position measurement unit 15 to measure the position and orientation of the imaging device 100 . The self-position acquisition unit 28 acquires the measurement result of the position and orientation of the imaging device 100 by the self-position measurement unit 15 as position information of the imaging device 100 . The object information acquisition unit 32 sequentially acquires the position information of the imaging device 100 by acquiring the position information of the imaging device 100 at predetermined time intervals. Note that the position information of the imaging device 100 is not limited to both the position and orientation of the imaging device 100 , and may be information indicating at least one of the position and orientation of the imaging device 100 .

自己位置取得部28は、撮像装置100の位置情報に基づき、撮像装置100が移動したかを判断する。自己位置取得部28は、撮像装置100の位置情報が変化している場合に、撮像装置100が移動したと判断し、撮像装置100の位置情報が変化していない場合に、撮像装置100が移動していないと判断する。撮像装置100の位置情報が変化するとは、直前に取得した撮像装置100の位置情報(ここでは位置及び姿勢の少なくとも一方)と、今回取得した撮像装置100の位置情報(ここでは位置及び姿勢の少なくとも一方)との差分が、所定値以上であることを指してよい。 Based on the position information of the imaging device 100, the self-position acquisition unit 28 determines whether the imaging device 100 has moved. The self-position acquisition unit 28 determines that the imaging device 100 has moved when the position information of the imaging device 100 has changed, and determines that the imaging device 100 has moved when the position information of the imaging device 100 has not changed. decide not to. The change in the position information of the imaging device 100 means that the previously acquired position information of the imaging device 100 (here, at least one of the position and orientation) and the currently acquired position information of the imaging device 100 (here, at least one of the position and orientation). on the other hand) is equal to or greater than a predetermined value.

自己位置取得部28は、撮像装置100が移動したと判断した場合には、撮像装置100の移動度合いを取得してもよい。ここでの撮像装置100の移動度合いとは、撮像装置100の位置(座標)や姿勢(向き)の、移動方向及び移動量を指す。自己位置取得部28は、直前に取得した撮像装置100の位置及び姿勢から、今回取得した撮像装置100の位置及び姿勢まで変化した際の変化方向と変化量とを、撮像装置100の移動度合いとして算出してよい。 The self-position acquisition unit 28 may acquire the degree of movement of the imaging device 100 when determining that the imaging device 100 has moved. The degree of movement of the imaging device 100 here refers to the direction and amount of movement of the position (coordinates) and orientation (orientation) of the imaging device 100 . The self-position acquisition unit 28 uses the direction and amount of change when the position and orientation of the imaging device 100 acquired immediately before to the position and orientation of the imaging device 100 acquired this time as the degree of movement of the imaging device 100. can be calculated.

(対象領域取得部)
(対象領域の取得)
対象領域取得部30は、撮像装置100の撮像領域内に設定された対象領域ARの情報を取得する。対象領域ARとは、焦点位置を自動で合わせるために設定される領域である。対象領域ARの情報とは、対象領域ARの位置を示す情報、すなわち対象領域ARの位置情報である。以下、対象領域ARについて説明する。
(Target area acquisition unit)
(Acquisition of target area)
The target area acquisition unit 30 acquires information on the target area AR set within the imaging area of the imaging device 100 . The target area AR is an area set for automatically adjusting the focal position. The information of the target area AR is information indicating the position of the target area AR, that is, the position information of the target area AR. The target area AR will be described below.

図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 imaging device 100 and the target area AR viewed from above in the vertical direction, and FIG. 3 is a view of the imaging device 100 and the target region AR viewed from the horizontal direction. Hereinafter, the direction Z is defined as a vertical direction, the direction X is defined as one horizontal direction orthogonal to the direction Z, and the direction Y is defined as a direction orthogonal to the direction Z and the direction X (horizontal direction). As shown in FIGS. 2 and 3, the range in which an image can be captured by the imaging device 100 is defined as an imaging area AR0. The imaging area AR0 refers to an area (space) within the angle of view of the imaging device 12, in other words, refers to a range captured as an image in real space. The target area AR is an area (space) set within the range of the imaging area AR0.

より詳しくは、対象領域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, the target area AR is an area within the imaging area AR0 and between the first position AX1 and the second position AX2. The first position AX1 is a position that is the first distance L1 from the imaging device 100, and the second position AX2 is the second distance L2 that is shorter than the first distance L1 from the imaging device 100. position. As shown in FIGS. 2 and 3, in the present embodiment, the first position AX1 is a virtual position (coordinates) including positions (coordinates) at a first distance L1 from the imaging device 100 in the imaging area AR0. It can be said that it is a positive aspect. Similarly, the second position AX2 can be said to be a virtual plane that includes positions (coordinates) within the imaging region AR0 that are the second distance L2 from the imaging device 100 . That is, the target area AR is surrounded by a virtual plane at a second distance L2 from the imaging device 100 and a virtual plane at a first distance L1 from the imaging device 100 in the imaging region AR0. It can be said that it is space. Note that the first position AX1 is not limited to a virtual plane in which all positions (coordinates) included in the first position AX1 are the first distance L1 from the imaging device 100, and at least A part of the positions (coordinates) may be a virtual plane that is the first distance L1 from the imaging device 100 . Similarly, the second position AX2 may be a virtual plane in which at least some positions (coordinates) included in the second position AX2 are the second distance L2 from the imaging device 100 .

図4及び図5は、対象領域の他の例を示す模式図である。図2及び図3の説明では、対象領域ARは、撮像装置100の光軸方向(画像の奥行き方向)については、撮像領域AR0に対して第1位置AX1及び第2位置AX2によって区切られていたが、撮像装置100の光軸方向に対する放射方向(画角の広がり方向)については、撮像領域AR0に対して区切られていない。言い換えれば、対象領域ARの画角の広がり方向における端面は、撮像領域AR0の画角の広がり方向における端面と一致している。ただしそれに限られず、対象領域ARは、画角の広がり方向についても、撮像領域AR0に対して区切られていてよい。すなわち例えば、図4及び図5に示すように、対象領域ARは、第3位置AX3によって、画角の広がり方向についても、撮像領域AR0に対して区切られていてよい。この例では、第3位置AX3は、撮像装置100の光軸LXに対して、放射方向外側に所定距離離れた位置(座標)を含む仮想的な面(ここでは円筒の側面形状の閉曲面)である。この場合、対象領域ARは、第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 target area AR 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 imaging device 100 is not partitioned with respect to the imaging area AR0. In other words, the end surface of the target area AR in the widening direction of the angle of view matches the end surface of the imaging area AR0 in the widening direction of the angle of view. However, the target area AR may be separated from the imaging area AR0 also in the widening direction of the angle of view. That is, for example, as shown in FIGS. 4 and 5, the target area AR may be separated from the imaging area AR0 by the third position AX3 also in the widening direction of the angle of view. In this example, the third position AX3 is a virtual surface (here, a closed curved surface of a cylindrical side surface) including a position (coordinates) at a predetermined distance radially outward from the optical axis LX of the imaging device 100. is. In this case, the target area AR is an area (space) surrounded by the first position AX1, the second position AX2, and the third position AX3. Note that the third position AX3 is not limited to a virtual plane in which all positions (coordinates) included in the third position AX3 are the first distance L1 from the optical axis LX, and at least A part of the positions (coordinates) may be a virtual plane that is the third distance L3 from the optical axis LX. For example, the third position AX3 may be a virtual plane that spreads outward in the radial direction (horizontal direction and elevation angle direction) at a predetermined angle as it moves away from the imaging device 100 along the optical axis direction.

なお、対象領域ARの大きさや形状は、以上の説明に限られず任意であってよい。また、対象領域ARの位置も、以上の説明に限られず任意であってよい。例えば、対象領域ARは、第1位置AX1と第2位置AX2との間に位置していることに限られない。また、以上の説明では、対象領域ARは、撮像領域AR0内に設定される領域であったが、それに限られない。例えば、物体位置測定部14によって測距可能な範囲を測距領域(測距空間)とすると、対象領域ARは、測距領域内に設定される領域であってもよい。この場合、図2から図5における撮像領域AR0を、測距領域として扱ってよい。 Note that the size and shape of the target area AR are not limited to those described above and may be arbitrary. Also, the position of the target area AR is not limited to the above description and may be arbitrary. For example, the target area AR is not limited to being positioned between the first position AX1 and the second position AX2. 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 position measuring unit 14 is a ranging area (ranging space), the target area AR may be an area set within the ranging area. In this case, the imaging area AR0 in FIGS. 2 to 5 may be treated as the ranging area.

対象領域取得部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の例では、対象領域ARの頂点位置となる座標P1、P2、P3、P4が指定されてもよく、座標P1~P4に囲われる領域を、対象領域ARとして設定してよい。 The target area acquisition unit 30 may acquire information on the target area AR by any method. For example, the position of the target area AR may be set in advance. In this case, the target area acquisition unit 30 may read the preset position information of the target area AR from the storage unit 22, or may receive the position information of the target area AR from another device via the communication unit 20. may be obtained. Further, for example, when the position of the target area AR is not set in advance, the target area acquiring unit 30 may automatically set the position of the target area AR. Further, for example, the user may set the position of the target area AR. In this case, for example, the user inputs information specifying the position of the target area AR (for example, the values of the first distance L1, the second distance L2, and the third distance L3) to the input unit 16, and the target area acquisition unit 30 may set the target area AR based on the position information of the target area AR specified by the user. Further, for example, the target area AR may be set by specifying coordinates. That is, for example, in the example of FIG. 2, coordinates P1, P2, P3, and P4, which are the vertex positions of the target area AR, may be specified, and an area surrounded by the coordinates P1 to P4 may be set as the target area AR.

(撮像装置が移動した際の対象領域)
ここで、撮像装置100が移動した場合にも、対象領域ARを適切に設定することが求められる。それに対し、対象領域取得部30は、自己位置取得部28によって撮像装置100が移動したと判断された場合に、対象領域ARの位置を固定して、対象領域ARを移動させない。これにより、対象領域ARを固定して、撮像装置100の移動によって注目する領域が意図せず変化してしまうことを抑制できる。
(Target area when imaging device moves)
Here, it is required to appropriately set the target area AR even when the imaging device 100 moves. On the other hand, when the self-position acquiring unit 28 determines that the imaging device 100 has moved, the target area acquiring unit 30 fixes the position of the target area AR and does not move the target area AR. Accordingly, by fixing the target area AR, it is possible to suppress unintentional change of the area of interest due to the movement of the imaging device 100 .

さらに言えば、本実施形態においては、対象領域取得部30は、対象領域ARを移動させるか否かを示すモード情報を取得しておき、自己位置取得部28によって撮像装置100が移動したと判断された場合には、モード情報に基づき、対象領域ARを移動させるか否かを判断する。以下、具体的に説明する。 Furthermore, in this embodiment, the target area acquisition unit 30 acquires mode information indicating whether or not to move the target area AR, and the self-position acquisition unit 28 determines that the imaging device 100 has moved. If so, it is determined whether or not to move the target area AR based on the mode information. A specific description will be given below.

対象領域取得部30は、モード情報を取得する。モード情報とは、撮像装置100が移動した際に対象領域ARも移動させるか否かを示す情報である。モード情報は、第1モードである旨を示す情報と、第2モードである旨を示す情報との、いずれかが割り当てられる。第1モードとは、撮像装置100が移動した際に対象領域ARを移動させない(対象領域ARの位置を固定させる)モードであり、第2モードとは、撮像装置100が移動した際に対象領域ARを移動させるモードである。 The target area acquisition unit 30 acquires mode information. Mode information is information indicating whether or not to move the target area AR when the imaging device 100 moves. Either information indicating the first mode or information indicating the second mode is assigned to the mode information. The first mode is a mode in which the target area AR is not moved (the position of the target area AR is fixed) when the imaging device 100 is moved. This is the mode for moving the AR.

図6は、第1モードに設定された場合の対象領域の一例を示す模式図である。対象領域取得部30は、第1モードを示すモード情報を取得した場合には、対象領域ARを固定する第1モードに設定して、自己位置取得部28によって撮像装置100が移動したと判断された場合にも、対象領域ARを移動させない。すなわち、第1モードにおいては、撮像装置100の位置に関わらず、対象領域ARの位置が固定される。図6は、撮像装置100が位置100aから位置100bまで移動した場合を例にしている。この場合、撮像領域AR0の位置が、位置AR0aから位置AR0bに移動する。しかし、第1モードに設定されている場合には、対象領域ARの位置は固定されたまま移動しない。なお、撮像装置100の移動に伴い測距領域も移動するため、測距領域が位置AR0aから位置AR0bに移動すると言い換えることもできる。 FIG. 6 is a schematic diagram showing an example of the target area when the first mode is set. When the target area acquisition unit 30 acquires the mode information indicating the first mode, the target area acquisition unit 30 sets the target area AR to the first mode in which the target area AR is fixed, and the self-position acquisition unit 28 determines that the imaging device 100 has moved. Also, the target area AR is not moved. That is, in the first mode, regardless of the position of the imaging device 100, the position of the target area AR is fixed. FIG. 6 exemplifies a case where the imaging device 100 moves from the position 100a to the position 100b. In this case, the position of the imaging area AR0 moves from the position AR0a to the position AR0b. However, when the first mode is set, the position of the target area AR remains fixed and does not move. Since the range-finding area also moves along with the movement of the imaging device 100, it can be said that the range-finding area moves from the position AR0a to the position AR0b.

図7は、第2モードに設定された場合の対象領域の一例を示す模式図である。対象領域取得部30は、第2モードを示すモード情報を取得した場合には、対象領域ARの移動を許可する第2モードに設定して、自己位置取得部28によって撮像装置100が移動したと判断された場合には、対象領域ARを移動させる。この場合、対象領域取得部30は、対象領域ARの形状及び大きさが同一を保つように、対象領域ARを移動させることが好ましい。また、対象領域取得部30は、撮像装置100の移動度合いに基づき、撮像装置100に対する対象領域ARの位置(相対位置)を同一に保つように、対象領域ARを移動させることが好ましい。すなわち、対象領域ARの移動前後で、撮像装置100に対する対象領域ARの位置(相対位置)を変化させないことが好ましい。この場合例えば、対象領域取得部30は、撮像装置100の移動度合いと同じ分だけ、対象領域ARを移動させる。図7は、撮像装置100が、位置100aから位置100bまで移動した場合を例にしている。この場合、撮像領域AR0の位置が、位置AR0aから位置AR0bに移動する。第2モードに設定されている場合には、対象領域ARの位置が、位置ARaから位置ARbに移動する。すなわち、撮像装置100が位置100aにある際は、対象領域ARは位置ARaに位置し、撮像装置100が位置100bに移動したら、対象領域ARが位置ARbに移動する。 FIG. 7 is a schematic diagram showing an example of the target area when the second mode is set. When the target area acquisition unit 30 acquires the mode information indicating the second mode, the target area acquisition unit 30 sets the target area AR to the second mode that permits the movement of the target area AR. If so, the target area AR is moved. In this case, the target area acquiring unit 30 preferably moves the target area AR so that the shape and size of the target area AR are kept the same. Further, the target area acquiring unit 30 preferably moves the target area AR based on the degree of movement of the imaging apparatus 100 so that the position (relative position) of the target area AR with respect to the imaging apparatus 100 is kept the same. That is, it is preferable not to change the position (relative position) of the target area AR with respect to the imaging device 100 before and after the target area AR is moved. In this case, for example, the target area acquiring unit 30 moves the target area AR by the same amount as the degree of movement of the imaging device 100 . FIG. 7 exemplifies a case where the imaging device 100 moves from the position 100a to the position 100b. In this case, the position of the imaging area AR0 moves from the position AR0a to the position AR0b. When the second mode is set, the position of the target area AR moves from the position ARa to the position ARb. That is, when the imaging device 100 is at the position 100a, the target area AR is positioned at the position ARa, and when the imaging device 100 moves to the position 100b, the target area AR moves to the position ARb.

なお、対象領域取得部30は、撮像装置100が移動しない場合には、第1モードであっても第2モードであっても、対象領域ARの位置を移動させないことが好ましい。 Note that when the imaging device 100 does not move, the target area acquisition unit 30 preferably does not move the position of the target area AR in either the first mode or the second mode.

対象領域取得部30は、任意の方法でモード情報の情報を取得してよい。例えば、モード情報が、すなわち第1モードとするか第2モードとするかが、予め設定されていてよい。この場合、対象領域取得部30は、予め設定されたモード情報を、記憶部22から読み出してもよいし、通信部20を介して、他の機器からモード情報を取得してもよい。また例えば、モード情報が予め設定されていない場合には、対象領域取得部30が、モード情報を自動で設定してもよい。また例えば、ユーザがモード情報を設定してもよい。この場合例えば、ユーザが、入力部16に、モードを指定する情報(第1モードとするか第2モードとするかを指定する情報)を入力し、対象領域取得部30は、ユーザによって指定されたモード情報に基づき、モードを設定してもよい。 The target area acquisition unit 30 may acquire the information of the mode information by any method. For example, mode information, that is, whether to set the first mode or the second mode may be set in advance. In this case, the target area acquisition unit 30 may read preset mode information from the storage unit 22 or acquire mode information from another device via the communication unit 20 . Further, for example, when the mode information is not set in advance, the target area acquiring section 30 may automatically set the mode information. Alternatively, for example, the user may set the mode information. In this case, for example, the user inputs information designating the mode (information designating whether the first mode or the second mode) to the input unit 16, and the target area acquisition unit 30 receives the information specified by the user. The mode may be set based on the mode information obtained.

対象領域取得部30は、第1モードと第2モードとを切り替えてもよい。この場合、対象領域取得部30は、モードを切り替える旨のモード情報を取得したら、そのモード情報に基づき、モードを切り替えてよい。 The target region acquisition unit 30 may switch between the first mode and the second mode. In this case, when the target area acquiring section 30 acquires the mode information indicating that the mode is to be switched, the target area acquiring section 30 may switch the mode based on the mode information.

以上説明した、撮像装置100が移動した場合の対象領域ARの設定フローを、フローチャートに基づき説明する。図8は、撮像装置が移動した場合の対象領域の設定フローを説明するフローチャートである。図8に示すように、制御部24は、対象領域取得部30により、モード情報と対象領域ARの情報を取得し(ステップS10)、モード情報に基づきモードを設定し、対象領域ARの情報に基づき対象領域ARを設定する。そして、制御部24は、自己位置取得部28により、撮像装置100が移動したかを判断する(ステップS12)。自己位置取得部28は、撮像装置100の位置情報に基づき、撮像装置100が移動したかを判断する。撮像装置100が移動したと判断された場合(ステップS12;Yes)であって、第2モードに設定されている場合には(ステップS14;Yes)、対象領域取得部30は、対象領域ARを移動させる(ステップS16)。その後、処理を終了しない場合は(ステップS18;No)、ステップS12に戻り、処理を終了する場合(ステップS18;Yes)、本処理を終了する。一方、撮像装置100が移動しないと判断された場合(ステップS12;No)も、対象領域ARを移動させずに、ステップS18に進む。また、撮像装置100が移動したと判断された場合であって、第2モードに設定されている場合には(ステップS14;No)、対象領域ARを移動させずに、ステップS18に進む。 The flow of setting the target area AR when the imaging apparatus 100 moves as described above will be described based on a flowchart. FIG. 8 is a flowchart for explaining the target area setting flow when the imaging device is moved. As shown in FIG. 8, the control unit 24 acquires the mode information and the information of the target area AR by the target area acquiring unit 30 (step S10), sets the mode based on the mode information, and sets the mode to the information of the target area AR. Based on this, the target area AR is set. Then, the control unit 24 uses the self-position acquisition unit 28 to determine whether the imaging device 100 has moved (step S12). Based on the position information of the imaging device 100, the self-position acquisition unit 28 determines whether the imaging device 100 has moved. When it is determined that the imaging device 100 has moved (step S12; Yes) and when the second mode is set (step S14; Yes), the target region acquiring unit 30 acquires the target region AR. Move (step S16). Thereafter, if the process is not to be ended (step S18; No), the process returns to step S12, and if the process is to be ended (step S18; Yes), this process is ended. On the other hand, when it is determined that the imaging device 100 does not move (step S12; No), the process proceeds to step S18 without moving the target area AR. If it is determined that the imaging device 100 has moved and the second mode is set (step S14; No), the process proceeds to step S18 without moving the target area AR.

なお、第1実施形態においては、以上のように第1モードと第2モードとのいずれかに設定されることは必須ではなく、撮像装置100が移動しても、対象領域ARの位置が移動しないように設定可能となっていればよい。 In the first embodiment, it is not essential to set either the first mode or the second mode as described above, and even if the imaging device 100 moves, the position of the target area AR moves. It is sufficient if it can be set so as not to do so.

(物体情報取得部)
物体情報取得部32は、撮像領域AR0内に存在する物体の位置情報を取得する。物体情報取得部32は、物体位置測定部14を制御して、物体位置測定部14に、撮像装置100に対する物体の相対位置を測定させる。物体情報取得部32は、物体位置測定部14による、撮像装置100に対する物体の相対位置の測定結果を、物体の位置情報として取得する。物体情報取得部32は、所定時間毎に、物体の位置情報の取得を行うことで、物体の位置情報を逐次取得する。また、物体情報取得部32は、物体の位置情報に基づき、物体の形状を示す情報(例えば物体の3D形状)も取得できる。例えば、物体情報取得部32は、TOF画像情報など、複数の位置情報を集積して、物体の3D形状を取得できる。
(Object information acquisition unit)
The object information acquisition unit 32 acquires position information of an object existing within the imaging area AR0. The object information acquisition unit 32 controls the object position measurement unit 14 to cause the object position measurement unit 14 to measure the relative position of the object with respect to the imaging device 100 . The object information acquisition unit 32 acquires the measurement result of the relative position of the object with respect to the imaging device 100 by the object position measurement unit 14 as the position information of the object. The object information acquisition unit 32 sequentially acquires the position information of the object by acquiring the position information of the object at predetermined time intervals. The object information acquisition unit 32 can also acquire information indicating the shape of the object (for example, the 3D shape of the object) based on the positional information of the object. For example, the object information acquisition unit 32 can acquire the 3D shape of the object by accumulating a plurality of pieces of position information such as TOF image information.

(焦点位置制御部)
焦点位置制御部34は、撮像装置100の焦点位置を設定する。焦点位置制御部34は、光学素子10の位置を制御することで、すなわち光学素子10の位置を移動させることで、焦点位置を制御する。
(Focus position control unit)
The focus position control section 34 sets the focus position of the imaging device 100 . The focal position control section 34 controls the focal position by controlling the position of the optical element 10 , that is, by moving the position of the optical element 10 .

焦点位置制御部34は、対象領域AR内に存在する物体に、焦点位置を合わせる。言い換えれば、焦点位置制御部34は、対象領域AR内に存在すると判断された物体の位置に、焦点位置を設定する。本実施形態では、焦点位置制御部34は、物体情報取得部32によって取得された物体の位置情報に基づき、その物体が対象領域AR内に存在するかを判断する。焦点位置制御部34は、物体情報取得部32によって取得された物体の位置が、対象領域ARの位置と重なる場合には、その物体が対象領域AR内に存在すると判断して、物体情報取得部32によって取得されたその物体の位置に、焦点位置を合わせる。すなわち例えば、撮像装置100から物体までの距離が第1距離L1以下であり、かつ、第2距離L2以上である場合には、焦点位置制御部34は、その物体が対象領域AR内に存在すると判断し、その物体に焦点位置を合わせる。一方、焦点位置制御部34は、対象領域AR内に存在しない物体に対しては、焦点位置を合わせない。すなわち例えば、撮像装置100から物体までの距離が、第1距離L1より遠い場合や、第2距離L2より近い場合には、焦点位置制御部34は、その物体が対象領域AR内に存在しないと判断し、その物体に焦点位置を合わせない。 The focal position control unit 34 adjusts the focal 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 information acquisition unit 32 . When the position of the object acquired by the object information acquiring unit 32 overlaps with the position of the target area AR, the focus position control unit 34 determines that the object exists within the target area AR, and the object information acquiring unit Focus on the position of the object obtained by 32 . That is, for example, when the distance from the imaging device 100 to the object is the first distance L1 or less and the second distance L2 or more, the focus position control unit 34 determines that the object exists within the target area AR. Decide and focus on the object. On the other hand, the focus position control unit 34 does not adjust the focus position for an object that does not exist within the target area AR. That is, for example, when the distance from the imaging device 100 to the object is longer than the first distance L1 or shorter than the second distance L2, the focus position control unit 34 determines that the object does not exist within the target area AR. Make a decision and do not focus on that object.

焦点位置制御部34は、焦点位置を合わせた物体が、対象領域AR内に存在している期間においては、その物体に焦点位置を合わせ続ける。すなわち、焦点位置制御部34は、物体情報取得部32によって取得された所定時間毎の物体の位置情報に基づき、その物体が対象領域AR内に存在し続けているかを判断して、その物体が対象領域AR内に存在し続けている期間においては、その物体に焦点位置を合わせ続ける。一方、焦点位置を合わせた物体が、対象領域AR外に移動した場合には、すなわち対象領域AR内に存在しなくなった場合には、焦点位置制御部34は、焦点位置をその物体から外して、その物体以外の位置に焦点を合わせる。 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 information obtaining unit 32 at predetermined time intervals, and determines whether the object continues to exist within the target area AR. During the period in which the object continues to exist within the target area AR, the object continues to be focused. On the other hand, when the focused object moves out of the target area AR, that is, when it no longer exists within the target area AR, the focus position control unit 34 removes the focus position from the object. , focus on a position other than 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.

また、焦点位置制御部34は、停止している物体には焦点位置を合わせず、移動している物体に対して焦点位置を合わせることが好ましい。より詳しくは、焦点位置制御部34は、第2モードに設定されている際に、撮像装置100の移動に伴い対象領域ARが移動することにより、停止している(移動していない)物体が対象領域AR内に位置することとなった場合には、その物体には焦点位置を合わせない。すなわち、焦点位置制御部34は、停止している物体に対しては、例えその物体が対象領域AR内に位置する場合であっても、焦点位置を合わせる物体としては取り扱わず、その物体に焦点位置を合わせない。一方、焦点位置制御部34は、移動している物体が対象領域AR内に位置する場合、すなわち移動している物体が対象領域AR内に到達した場合、その物体に焦点位置を合わせる。なお、物体が移動しているかは、物体情報取得部32による物体の位置情報に基づき判断できる。すなわち、時系列で連続する物体の位置情報が変化している場合には、その物体が移動していると判断できる。 In addition, it is preferable that the focus position control unit 34 does not focus on a stationary object, but focuses on a moving object. More specifically, when the second mode is set, the focus position control unit 34 moves the target area AR along with the movement of the imaging device 100 so that the stationary (non-moving) object is If the object is located within the target area AR, the object is not focused. That is, the focal position control unit 34 does not treat a stationary object as an object to be focused on, even if the object is located within the target area AR. Do not align. On the other hand, when the moving object is positioned within the target area AR, that is, when the moving object reaches the target area AR, the focus position control unit 34 adjusts the focus position to the object. Whether or not the object is moving can be determined based on the position information of the object obtained by the object information acquisition unit 32 . That is, when the position information of an object that is continuous in time series changes, it can be determined that the object is moving.

以上説明した焦点位置の設定の例を、図2に基づいて説明する。図2は、物体Aが、位置A0から、位置A1及び位置A2を通って位置A3まで、撮像装置100に向けて移動している場合の例を示している。位置A0は、撮像装置100までの距離が第1距離L1より遠く、対象領域AR外となっている。位置A1、位置A2は、撮像装置100までの距離が第1距離L1以下であって第2距離L2以上であるため、対象領域AR内となっている。位置A3は、撮像装置100との距離が第2距離L2より近く、対象領域AR外となっている。この場合、焦点位置制御部34は、物体Aが位置A0に存在するタイミングにおいては、物体Aに焦点位置を合わせず、例えば設定位置に焦点位置を合わせる。そして、焦点位置制御部34は、物体Aが位置A1に存在するタイミングにおいて、すなわち物体Aが対象領域AR内に入ったタイミングにおいて、物体Aに焦点位置を合わせる。焦点位置制御部34は、物体Aが位置A2に存在するタイミングにおいても、物体Aに焦点位置を合わせ続けて、物体Aが位置A3に移動したタイミングにおいて、すなわち物体Aが対象領域AR外に出たタイミングにおいて、物体Aから焦点位置を外し、設定位置に焦点位置を戻す。すなわち、焦点位置制御部34は、物体Aが対象領域AR内に侵入したタイミングから、物体Aに焦点位置を合わせて、物体Aが対象領域AR内を移動している期間中、移動する物体Aに合わせて焦点位置を移動させて、物体Aが対象領域AR外に移動したタイミングで、物体Aから焦点位置を外す。 An example of setting the focal position described above will be described with reference to FIG. FIG. 2 shows an example in which the object A moves from position A0, through positions A1 and A2, to position A3, toward the imaging device 100. In FIG. The position A0 is farther from the imaging device 100 than the first distance L1 and is outside the target area AR. The positions A1 and A2 are within the target area AR because the distances to the imaging device 100 are equal to or less than the first distance L1 and equal to or more than the second distance L2. The position A3 is closer to the imaging device 100 than the second distance L2 and is outside the target area AR. In this case, the focus position control unit 34 does not focus on the object A at the timing when the object A is present at the position A0, and instead focuses on the set position, for example. Then, the focus 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 target area AR. 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 A2, and at the timing when the object A moves to the position A3, that is, when the object A moves out of the target area AR. At this timing, the focal position is removed from the object A and the focal position is returned 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.

なお、焦点位置は、ユーザによって設定されてもよい。この場合例えば、焦点位置が自動で設定されるオートモードと、焦点位置をユーザが設定するマニュアルモードとが切り替え可能となっていてよい。そして、オートモードの場合には、上述のように、焦点位置制御部34によって焦点位置が設定される。一方、マニュアルモードの場合には、ユーザによって、入力部16に焦点位置を設定する操作が入力されて、焦点位置制御部34が、ユーザの操作に応じて、焦点位置を設定する。 Note that 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は、撮像装置100による撮像を制御して、画像を撮像させる。撮像制御部36は、例えば撮像素子12を制御して、撮像素子12に画像信号を取得させる。例えば、撮像制御部36は、撮像素子12に、自動で画像信号を取得させてもよいし、ユーザの操作に応じて画像信号を取得させてもよい。
(imaging control unit)
The imaging control unit 36 controls imaging by the imaging device 100 to capture an image. The imaging control unit 36 controls, for example, the imaging element 12 and causes the imaging element 12 to acquire an image signal. For example, the imaging control unit 36 may cause the imaging element 12 to automatically acquire an image signal, or may acquire an image signal according to a user's operation.

(画像取得部)
画像取得部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 storage unit 22 to store the image data.

(焦点位置の設定フロー)
次に、以上で説明した焦点位置の設定の処理フローを説明する。図9は、焦点位置の設定の処理フローを説明するフローチャートである。図9に示すように、制御部24は、対象領域取得部30により、対象領域ARの情報を取得し(ステップS20)、物体情報取得部32により、物体の位置情報を取得する(ステップS22)。ステップS20、S22の実施順は任意であってよい。制御部24は、焦点位置制御部34により、物体の位置情報に基づき、物体が対象領域AR内に位置しているかを判断する(ステップS24)。物体が対象領域AR内に位置しない場合(ステップS24;No)、ステップS22に戻り、物体の位置情報の取得を続ける。一方、物体が対象領域AR内に位置する場合(ステップS24;Yes)、焦点位置制御部34は、その物体に焦点位置を合わせる(ステップS26)。その後、物体の位置情報の取得を続けて、物体が対象領域AR外に移動したかを判断する(ステップS28)。物体が対象領域AR外に移動しない場合(ステップS28;No)、すなわち物体が対象領域AR内に存在し続ける場合、ステップS26に戻り、その物体に焦点位置を合わせ続ける。物体が対象領域AR外に移動した場合(ステップS28;Yes)、焦点位置制御部34は、その物体から焦点位置を外す(ステップS30)。その後、処理を終了しない場合は(ステップS32;No)、ステップS22に戻り、処理を終了する場合(ステップS32;Yes)、本処理を終了する。
(Focus position setting flow)
Next, a processing flow for setting the focal position described above will be described. FIG. 9 is a flowchart for explaining the processing flow for setting the focal position. As shown in FIG. 9, the control unit 24 acquires information about the target area AR using the target area acquiring unit 30 (step S20), and acquires object position information using the object information acquiring unit 32 (step S22). . The order in which steps S20 and S22 are performed may be arbitrary. The controller 24 uses the focus position controller 34 to determine whether the object is positioned within the target area AR based on the position information of the object (step S24). If the object is not located within the target area AR (step S24; No), the process returns to step S22 to continue acquiring the position information of the object. On the other hand, if the object is located within the target area AR (step S24; Yes), the focus position control unit 34 focuses on the object (step S26). After that, the acquisition of the position information of the object is continued, and it is determined whether the object has moved outside the target area AR (step S28). If the object does not move outside the target area AR (step S28; No), that is, if the object continues to exist within the target area AR, the process returns to step S26 to continue focusing on the object. If the object has moved outside the target area AR (step S28; Yes), the focus position control unit 34 defocuses the object (step S30). Thereafter, if the process is not to be ended (step S32; No), the process returns to step S22, and if the process is to be ended (step S32; Yes), this process is ended.

(効果)
以上説明したように、本実施形態に係る撮像装置100は、撮像素子12と、自己位置取得部28と、物体情報取得部32と、対象領域取得部30と、焦点位置制御部34とを有する。自己位置取得部28は、撮像装置100の位置情報を取得し、物体情報取得部32は、撮像素子12の撮像領域AR0に存在する物体の位置情報を取得し、対象領域取得部30は、撮像領域AR0内に対象領域ARを設定し、焦点位置制御部34は、対象領域AR内に物体が存在する場合、その物体に焦点位置を合わせるように、撮像装置100の焦点位置を制御する。対象領域取得部30は、自己位置取得部28によって撮像装置1000が移動したと判断された場合に、対象領域ARの位置を固定させる。
(effect)
As described above, the imaging device 100 according to the present embodiment includes the imaging element 12, the self-position acquisition unit 28, the object information acquisition unit 32, the target area acquisition unit 30, and the focal position control unit 34. . The self position acquisition unit 28 acquires position information of the imaging device 100, the object information acquisition unit 32 acquires position information of an object existing in the imaging area AR0 of the imaging device 12, and the target area acquisition unit 30 acquires the image A target area AR is set within the area AR0, and if an object exists within the target area AR, the focus position control unit 34 controls the focus position of the imaging device 100 so as to focus on the object. The target area acquiring unit 30 fixes the position of the target area AR when the self-position acquiring unit 28 determines that the imaging device 1000 has moved.

ここで、オートフォーカス方式の撮像装置においては、焦点位置を適切に合わせることが求められている。それに対し、本実施形態に係る撮像装置100は、対象領域AR内に物体が存在する場合、その物体に焦点位置を合わせるように、撮像装置100の焦点位置を制御する。そして、撮像装置100が移動した場合でも、対象領域ARの位置を固定する。従って、本実施形態によると、撮像領域AR0が移動した場合でも対象領域ARの位置を固定することができるため、撮像領域AR0を変化させつつ、注目する領域内の物体に適切に焦点位置を合わせることができる。 Here, in an autofocus imaging apparatus, it is required to appropriately adjust the focal position. On the other hand, the imaging device 100 according to the present embodiment controls the focal position of the imaging device 100 so that the focal position is aligned with the object when the object exists within the target area AR. Then, even when the imaging device 100 moves, the position of the target area AR is fixed. Therefore, according to the present embodiment, the position of the target area AR can be fixed even if the imaging area AR0 moves, so that the object in the target area can be appropriately focused while changing the imaging area AR0. be able to.

また、対象領域取得部30は、対象領域ARの位置を固定する第1モードに設定されている場合には、自己位置取得部28によって撮像装置100が移動したと判断された場合に、対象領域ARの位置を固定させる。一方、対象領域取得部30は、対象領域ARの位置を固定しない第2モードに設定されている場合には、自己位置取得部28によって撮像装置100が移動したと判断された場合に、対象領域ARの位置を変化させる。従って、本実施形態によると、状況に応じて、撮像領域AR0に合わせて注目する領域を変化させるか固定させるかを設定することができるため、適切に焦点位置を合わせることができる。 In addition, when the target area acquisition unit 30 is set to the first mode in which the position of the target area AR is fixed, the target area acquisition unit 30 determines that the imaging device 100 has moved when the self-position acquisition unit 28 determines that the imaging device 100 has moved. Fix the AR position. On the other hand, when the target area acquisition unit 30 is set to the second mode in which the position of the target area AR is not fixed, the target area acquisition unit 30 determines that the imaging device 100 has moved. Change the position of AR. Therefore, according to the present embodiment, it is possible to set whether the focused area is changed or fixed in accordance with the imaging area AR0 depending on the situation, so that the focal position can be adjusted appropriately.

また、対象領域取得部30は、対象領域ARが、撮像装置100からの距離が第1距離L1となる第1位置AX1と、撮像装置100からの距離が第1距離L1より短い第2距離L2となる第2位置AX2との間に位置するように、対象領域ARを設定してよい。そのため、対象領域AR内に入ってきた物体に対して、適切に焦点位置を合わせることができる。 Further, the target area acquisition unit 30 determines that the target area AR is located at a first position AX1 at which the distance from the imaging device 100 is the first distance L1, and at a second distance L2 at which the distance from the imaging device 100 is shorter than the first distance L1. The target area AR may be set so as to be located between the second position AX2 where Therefore, it is possible to properly focus on an object that has entered the target area AR.

(第2実施形態)
次に、第2実施形態について説明する。第2実施形態においては、対象領域ARの位置を固定している状態で撮像装置100Aが移動することにより、撮像領域AR0の境界と対象領域ARとの距離が所定距離未満となった場合に、警報を通知する点で、第1実施形態とは異なる。第2実施形態において、第1実施形態と構成が共通する箇所は、説明を省略する。
(Second embodiment)
Next, a second embodiment will be described. In the second embodiment, when the imaging device 100A moves while the position of the target area AR is fixed, and the distance between the boundary of the imaging area AR0 and the target area AR becomes less than the predetermined distance, This differs from the first embodiment in that an alarm is notified. In the second embodiment, descriptions of parts having the same configuration as in the first embodiment are omitted.

図10は、第2実施形態に係る撮像装置の模式的なブロック図である。図10に示すように、第2実施形態に係る撮像装置100Aは、制御部24に、通知制御部40が含まれている。 FIG. 10 is a schematic block diagram of an imaging device according to the second embodiment. As shown in FIG. 10 , an imaging device 100</b>A according to the second embodiment includes a notification control section 40 in the control section 24 .

第2実施形態に係る通知制御部40は、撮像装置100Aが移動しても対象領域ARの位置が移動しない場合において(すなわち第1モードに設定されている場合において)、距離Dを算出する。距離Dは、撮像領域AR0の境界Bと、対象領域ARとの間の距離である。撮像領域AR0の境界Bとは、撮像領域AR0の範囲内と、撮像領域AR0の範囲外との境界位置を指し、言い換えれば、撮像領域AR0の周縁といえる。通知制御部40は、対象領域ARが撮像領域AR0内に位置している状態での、撮像領域AR0の境界Bと対象領域ARとの最短距離を、距離Dとして算出する。すなわち、通知制御部40は、対象領域ARの周縁上の各点から撮像領域AR0の境界B上の各点までを結ぶ直線のうちで、最も短い直線の長さを、距離Dとするといえる。なお、距離Dは、任意の方法で算出されてよいが、例えば、通知制御部40は、撮像装置100Aの位置に対応する撮像領域AR0の境界Bの位置を予め把握しておき、境界Bと、設定された対象領域ARの位置とから、距離Dを算出してよい。 The notification control unit 40 according to the second embodiment calculates the distance D when the position of the target area AR does not move even when the imaging device 100A moves (that is, when the first mode is set). A distance D is the distance between the boundary B of the imaging area AR0 and the target area AR. The boundary B of the imaging area AR0 refers to the boundary position between the inside of the imaging area AR0 and the outside of the imaging area AR0, in other words, the edge of the imaging area AR0. The notification control unit 40 calculates, as a distance D, the shortest distance between the boundary B of the imaging area AR0 and the target area AR when the target area AR is located within the imaging area AR0. That is, it can be said that the notification control unit 40 regards the length of the shortest straight line as the distance D among the straight lines connecting each point on the periphery of the target area AR to each point on the boundary B of the imaging area AR0. Note that the distance D may be calculated by any method. , and the position of the set target area AR, the distance D may be calculated.

通知制御部40は、距離Dが所定距離未満であるかを判断する。すなわち、通知制御部40は、撮像装置100Aが移動することにより、距離Dが所定距離未満になったかを判断する。ここでの所定距離は、任意に設定されてよい。通知制御部40は、距離Dが所定距離未満である場合には、撮像装置100Aに警報を出力させる。ここでの警報とは、距離Dが所定距離未満であることを示す情報であり、任意の内容であってよい。例えば、通知制御部40は、表示部18に、距離Dが所定距離未満であることを示す任意の情報(例えば警告を示す文字や記号)を表示させてもよいし、撮像装置100Aに設けられる不図示の音声出力部(スピーカ)に、距離Dが所定距離未満であることを示す任意の音声(例えばアラーム)を出力させてもよいし、撮像装置100Aに設けられる不図示の触覚刺激(例えば振動)を出力する装置に、距離Dが所定距離未満であることを示す任意の触覚刺激(例えば振動)を出力させてもよい。一方、通知制御部40は、距離Dが所定距離未満でない場合、すなわち距離Dが所定距離以上である場合には、警報を出力させない。 Notification control unit 40 determines whether distance D is less than a predetermined distance. That is, the notification control unit 40 determines whether the distance D has become less than the predetermined distance due to the movement of the imaging device 100A. The predetermined distance here may be set arbitrarily. The notification control unit 40 causes the imaging device 100A to output an alarm when the distance D is less than the predetermined distance. The warning here is information indicating that the distance D is less than a predetermined distance, and may be of any content. For example, the notification control unit 40 may cause the display unit 18 to display arbitrary information (for example, characters or symbols indicating a warning) indicating that the distance D is less than a predetermined distance. Any sound (for example, an alarm) indicating that the distance D is less than a predetermined distance may be output to a sound output unit (speaker) (not shown), or a tactile stimulus (not shown) provided in the imaging device 100A (for example, A device that outputs a vibration) may output any tactile stimulus (eg, vibration) that indicates that the distance D is less than a predetermined distance. On the other hand, the notification control unit 40 does not output an alarm when the distance D is not less than the predetermined distance, that is, when the distance D is equal to or greater than the predetermined distance.

以上の処理を、図11に基づき説明する。図11は、第2実施形態における対象領域の一例を示す模式図である。図11は、撮像装置100Aが、位置100Aaから位置100Abまで移動した場合を例にしている。この場合、撮像領域AR0の位置が、位置AR0aから位置AR0bに移動する。本例では、第1モードに設定されているため、対象領域ARの位置は固定されたまま移動しない。この例において、撮像装置100Aが位置100Aaにある場合には、撮像領域AR0の境界Baから対象領域ARまでの距離Daは、所定距離以上であり、撮像装置100Aが位置100Abにある場合には、撮像領域AR0の境界Bbから対象領域ARまでの距離Dbは、所定距離未満となる。そのため、通知制御部40は、撮像装置100Aが位置100Aaにある際には、警報を出力せず、撮像装置100Bが位置100Abにある場合に、警報を出力する。なお、撮像装置100の移動に伴い測距領域も移動するため、測距領域が位置AR0aから位置AR0bに移動し、測距領域の境界を、境界Bと言い換えることもできる。 The above processing will be described based on FIG. FIG. 11 is a schematic diagram showing an example of a target area in the second embodiment. FIG. 11 exemplifies a case where the imaging device 100A moves from the position 100Aa to the position 100Ab. In this case, the position of the imaging area AR0 moves from the position AR0a to the position AR0b. In this example, since the first mode is set, the position of the target area AR is fixed and does not move. In this example, when the imaging device 100A is at the position 100Aa, the distance Da from the boundary Ba of the imaging region AR0 to the target region AR is greater than or equal to the predetermined distance, and when the imaging device 100A is at the position 100Ab, A distance Db from the boundary Bb of the imaging area AR0 to the target area AR is less than the predetermined distance. Therefore, the notification control unit 40 does not output an alarm when the imaging device 100A is at the position 100Aa, and outputs an alarm when the imaging device 100B is at the position 100Ab. Since the range-finding area also moves along with the movement of the imaging device 100, the range-finding area moves from the position AR0a to the position AR0b, and the boundary between the range-finding areas can also be called the boundary B. FIG.

このように、距離Dが所定距離未満である場合に警報を出力させることで、例えば撮像装置100Aが移動することにより、対象領域ARが撮像領域AR0の範囲外に出るリスクがあることを、ユーザに事前に通知することが可能となる。従って、さらに撮像装置100Aを動かして、対象領域ARが撮像領域AR0の範囲外に出てしまうことを抑制できる。 In this way, by outputting an alarm when the distance D is less than the predetermined distance, the user is notified that there is a risk that the target area AR may move out of the range of the imaging area AR0 due to movement of the imaging device 100A, for example. can be notified in advance. Therefore, it is possible to prevent the target area AR from moving out of the range of the imaging area AR0 by further moving the imaging apparatus 100A.

なお、以上の第2実施形態の説明では、第1モードと第2モードとのいずれかのモードに設定されており、第1モードにおいて、撮像領域AR0の境界と対象領域ARとの距離が所定距離未満となった場合に、警報を通知する旨を前提としていた。ただし、第2実施形態においては、第1モードと第2モードとのいずれかのモードに設定されなくてもよく、撮像装置100Aが移動しても、対象領域ARの位置が移動しないように設定可能となっていればよい。すなわち、第2実施形態に係る撮像装置100Aは、撮像装置100が移動しても対象領域ARの位置が移動しないように設定されており、かつ、撮像領域AR0の境界と対象領域ARとの距離が所定距離未満となった場合に、警報を通知するものであってよい。 In the above description of the second embodiment, the mode is set to either the first mode or the second mode, and in the first mode, the distance between the boundary of the imaging area AR0 and the target area AR is predetermined. It was assumed that an alarm would be issued when the distance becomes less than the distance. However, in the second embodiment, either the first mode or the second mode may not be set, and the position of the target area AR is set so as not to move even if the imaging device 100A moves. It should be possible. That is, the imaging apparatus 100A according to the second embodiment is set so that the position of the target area AR does not move even if the imaging apparatus 100 moves, and the distance between the boundary of the imaging area AR0 and the target area AR is less than a predetermined distance, an alarm may be issued.

(警報の通知フロー)
次に、以上で説明した警報の通知フローを説明する。図12は、警報の通知フローを説明するフローチャートである。図12に示すように、制御部24は、対象領域取得部30により、対象領域ARの情報を取得し(ステップS40)、対象領域ARを設定する。そして、制御部24は、自己位置取得部28により、撮像装置100Aが移動したかを判断する(ステップS42)。撮像装置100Aが移動したと判断された場合(ステップS42;Yes)、制御部24は、通知制御部40により、対象領域ARと境界Bとの距離Dが所定距離未満であるかを判断する(ステップS44)。対象領域ARと境界Bとの距離Dが所定距離未満である場合、通知制御部40は、警報を出力させる(ステップS46)。その後、処理を終了しない場合は(ステップS48;No)、ステップS42に戻り、処理を終了する場合(ステップS48;Yes)、本処理を終了する。一方、撮像装置100Aが移動しないと判断された場合(ステップS42;No)も、ステップS48に進む。また、撮像装置100Aが移動したと判断された場合であって、対象領域ARと境界Bとの距離Dが所定距離未満でない場合には(ステップS44;No)、すなわち距離Dが所定距離以上である場合には、対象領域ARを移動させずに、ステップS48に進む。
(Warning notification flow)
Next, the notification flow of the above-described alarm will be described. FIG. 12 is a flowchart for explaining the alarm notification flow. As shown in FIG. 12, the control unit 24 acquires information on the target area AR using the target area acquisition unit 30 (step S40), and sets the target area AR. Then, the control unit 24 uses the self-position acquisition unit 28 to determine whether the imaging device 100A has moved (step S42). If it is determined that the imaging device 100A has moved (step S42; Yes), the control unit 24 causes the notification control unit 40 to determine whether the distance D between the target area AR and the boundary B is less than a predetermined distance ( step S44). If the distance D between the target area AR and the boundary B is less than the predetermined distance, the notification control unit 40 outputs an alarm (step S46). Thereafter, if the process is not to be ended (step S48; No), the process returns to step S42, and if the process is to be ended (step S48; Yes), this process is ended. On the other hand, when it is determined that the imaging device 100A does not move (step S42; No), the process also proceeds to step S48. Further, when it is determined that the imaging device 100A has moved and the distance D between the target area AR and the boundary B is not less than the predetermined distance (step S44; No), that is, the distance D is equal to or greater than the predetermined distance. If there is, the process proceeds to step S48 without moving the target area AR.

以上説明したように、第2実施形態においては、撮像装置100Aが移動することにより撮像領域AR0が移動して、対象領域ARから、撮像領域AR0内と撮像領域AR0外との境界Bまでの距離Dが、所定距離未満となった場合に、通知制御部40は、警報を出力させる。このように、距離Dが所定距離未満である場合に警報を出力させることで、例えば撮像装置100Aが移動することにより、対象領域ARが撮像領域AR0の範囲外に出るリスクがあることを、ユーザに事前に通知することが可能となる。そのため、さらに撮像装置100Aを動かして、対象領域ARが撮像領域AR0の範囲外に出てしまうことを抑制できる。 As described above, in the second embodiment, as the image pickup apparatus 100A moves, the image pickup area AR0 moves, and the distance from the target area AR to the boundary B between the inside of the image pickup area AR0 and the outside of the image pickup area AR0 When D becomes less than the predetermined distance, the notification control unit 40 outputs an alarm. In this way, by outputting an alarm when the distance D is less than the predetermined distance, the user is notified that there is a risk that the target area AR may move out of the range of the imaging area AR0 due to movement of the imaging device 100A, for example. can be notified in advance. Therefore, it is possible to prevent the target area AR from moving out of the range of the imaging area AR0 by further moving the imaging apparatus 100A.

なお、例えば撮像装置100Aが、図示しない移動機構により自動で移動する場合には、距離Dが所定距離未満となった場合には、制御部24は、移動機構を制御して、距離Dが更に短くなる方向への撮像装置100Aの移動を停止させてもよい。この移動の停止処理は、警報の出力と共に行ってもよいし、警報の出力の代わりに移動の停止処理を行ってもよい。 For example, when the imaging device 100A is automatically moved by a moving mechanism (not shown), when the distance D becomes less than a predetermined distance, the control unit 24 controls the moving mechanism so that the distance D is further increased. The movement of the imaging device 100A in the shortening direction may be stopped. This movement stop processing may be performed together with the output of the alarm, or the movement stop processing may be performed instead of the output of the alarm.

(第3実施形態)
次に、第3実施形態について説明する。第3実施形態においては、対象領域AR内に存在して、かつ所定の条件を満たす物体に対して焦点位置を合わせる点で、第1実施形態と異なる。第3実施形態において第1実施形態と構成が共通する箇所は、説明を省略する。第3実施形態は、第2実施形態にも適用可能である。
(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 is also applicable to the second 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 position measuring unit 14, and the image of the object may refer to image data of the object captured by the imaging device 12. FIG.

ここでの所定の条件とは、物体が対象領域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.

図13は、物体の運動を所定の条件とする場合の例を説明する模式図である。図13の例では、物体が鉛直方向下方(Z方向と反対方向)に移動することを、すなわち物体の移動方向を、所定の条件としている。そして、図13の例では、物体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. 13 is a schematic diagram illustrating an example in which motion of an object is set as a predetermined condition. In the example of FIG. 13, the predetermined condition is that the object moves downward in the vertical direction (the direction opposite to the Z direction), that is, the moving direction of the object. In the example of FIG. 13, the object A moves vertically downward 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 information acquiring unit 32 may be used to acquire the shape information of 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 information acquisition unit 32 may be used to acquire information on the orientation of 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 storage unit 22, or may read the information indicating the predetermined condition from the storage unit 22, or may transmit the information to another device via the communication unit 20. A predetermined condition may be obtained from. Further, for example, when the predetermined condition is not set in advance, the focus position control section 34 may automatically set the predetermined condition. Alternatively, for example, the user may set a predetermined condition. In this case, for example, the user inputs information specifying a predetermined condition (for example, moving direction and moving speed) to the input unit 16, and the focal position control unit 34 controls the predetermined condition based on the information specified by the user. may be set.

以上説明したように、第3実施形態においては、焦点位置制御部34は、対象領域ARに存在し、かつ、所定の運動を行っている物体に、焦点位置を合わせてもよい。焦点位置制御部34は、その物体が所定の運動を行っている期間には、焦点位置をその物体に合わせ続け、その物体が所定の運動を行わなくなったら、焦点位置をその物体から外す。このように、対象領域AR内にあることに加えて、所定の運動を満たすことも焦点位置を合わす条件とすることで、特定の動きをしている物体を追跡して、焦点位置を適切に合わせることが可能となる。例えば対象領域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. For example, it is possible to detect a fall within the target area AR.

第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 communication unit 20 You may make it notify to a predetermined transmission destination through. The set condition here may mean, for example, that the movement of the object within the target area AR is used as a trigger to bring the object into focus.

10 光学素子
12 撮像素子
14 物体位置測定部
15 自己位置測定部
28 自己位置取得部
30 対象領域取得部
32 物体情報取得部
34 焦点位置制御部
40 通知制御部
AR 対象領域
AR0 撮像領域
10 optical device 12 imaging device 14 object position measurement unit 15 self position measurement unit 28 self position acquisition unit 30 target area acquisition unit 32 object information acquisition unit 34 focal position control unit 40 notification control unit AR target area AR0 imaging area

Claims (6)

物体を撮像可能な撮像装置であって、
撮像素子と、
前記撮像装置の位置情報を取得する自己位置取得部と、
前記撮像素子の撮像領域に存在する物体の位置情報を取得する物体情報取得部と、
前記撮像領域内に対象領域を設定する対象領域取得部と、
前記対象領域内に物体が存在する場合、その物体に焦点位置を合わせるように、前記撮像装置の焦点位置を制御する焦点位置制御部と、
を有し、
前記対象領域取得部は、前記自己位置取得部によって前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定したままとする、
撮像装置。
An imaging device capable of imaging an object,
an imaging device;
a self-position acquisition unit that acquires position information of the imaging device;
an object information acquisition unit that acquires position information of an object existing in the imaging area of the imaging device;
a target area acquiring unit that sets a target area within the imaging area;
a focal position control unit that controls the focal position of the imaging device so that the focal position is aligned with the object when the object exists in the target area;
has
The target area acquisition unit keeps the position of the target area fixed when the self-position acquisition unit determines that the imaging device has moved.
Imaging device.
前記対象領域取得部は、
前記対象領域の位置を固定する第1モードに設定されている場合には、前記自己位置取得部によって前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定させ、
前記対象領域の位置を固定しない第2モードに設定されている場合には、前記自己位置取得部によって前記撮像装置が移動したと判断された場合に、前記対象領域の位置を変化させる、請求項1に記載の撮像装置。
The target area acquisition unit is
When the first mode for fixing the position of the target area is set, fixing the position of the target area when the self-position acquisition unit determines that the imaging device has moved,
and changing the position of the target area when the position of the target area is not fixed and the position of the target area is determined to be moved by the self-position acquisition unit. 1. The imaging device according to 1.
前記撮像装置が移動することにより前記撮像領域が移動して、前記対象領域から、前記撮像領域内と前記撮像領域外との境界位置までの距離が、所定距離未満となった場合に、警報を出力させる通知制御部を更に有する、請求項1又は請求項2に記載の撮像装置。 An alarm is issued when the imaging area moves due to the movement of the imaging device and the distance from the target area to the boundary position between the inside of the imaging area and the outside of the imaging area becomes less than a predetermined distance. 3. The imaging apparatus according to claim 1, further comprising a notification control unit for outputting. 前記対象領域取得部は、前記対象領域が、前記撮像装置からの距離が第1距離となる第1位置と、前記撮像装置からの距離が前記第1距離より短い第2距離となる第2位置との間に位置するように、前記対象領域を設定する、請求項1から請求項3のいずれか1項に記載の撮像装置。 The target region acquisition unit is configured such that the target region is located at a first position where the distance from the imaging device is a first distance, and a second position where the distance from the imaging device is a second distance shorter than the first distance. 4. The imaging apparatus according to any one of claims 1 to 3, wherein the target area is set so as to be located between and. 物体を撮像する撮像方法であって、
撮像装置の位置情報を取得するステップと、
撮像素子の撮像領域に存在する物体の位置情報を取得するステップと、
前記撮像領域内に対象領域を設定するステップと、
前記対象領域内に物体が存在する場合、その物体に焦点位置を合わせるように、前記撮像装置の焦点位置を制御するステップと、
を含み、
前記対象領域を設定するステップにおいては、前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定したままとする、
撮像方法。
An imaging method for imaging an object,
a step of obtaining position information of the imaging device;
a step of acquiring position information of an object existing in an imaging area of an imaging device;
setting a target area within the imaging area;
a step of controlling the focus position of the imaging device so as to adjust the focus position to the object when the object exists in the target area;
including
In the step of setting the target area, when it is determined that the imaging device has moved, the position of the target area is kept fixed.
Imaging method.
物体を撮像する撮像方法をコンピュータに実行させるプログラムであって、
撮像装置の位置情報を取得するステップと、
撮像素子の撮像領域に存在する物体の位置情報を取得するステップと、
前記撮像領域内に対象領域を設定するステップと、
前記対象領域内に物体が存在する場合、その物体に焦点位置を合わせるように、前記撮像装置の焦点位置を制御するステップと、
を前記コンピュータに実行させ、
前記対象領域を設定するステップにおいては、前記撮像装置が移動したと判断された場合に、前記対象領域の位置を固定したままとする、
プログラム。
A program for causing a computer to execute an imaging method for imaging an object,
a step of obtaining position information of the imaging device;
a step of acquiring position information of an object existing in an imaging area of an imaging element;
setting a target area within the imaging area;
a step of controlling the focus position of the imaging device so as to adjust the focus position to the object when the object exists in the target area;
causing the computer to execute
In the step of setting the target area, when it is determined that the imaging device has moved, the position of the target area is kept fixed.
program.
JP2021156799A 2021-09-27 2021-09-27 Imaging apparatus, imaging method, and program Pending JP2023047714A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2021156799A JP2023047714A (en) 2021-09-27 2021-09-27 Imaging apparatus, imaging method, and program
PCT/JP2022/029384 WO2023047804A1 (en) 2021-09-27 2022-07-29 Imaging device, imaging system, imaging method, and program
CN202280059605.0A CN117917090A (en) 2021-09-27 2022-07-29 Imaging device, imaging system, imaging method, and program
EP22872558.6A EP4383740A1 (en) 2021-09-27 2022-07-29 Imaging device and imaging method
EP22872560.2A EP4394497A1 (en) 2021-09-27 2022-07-29 Imaging device, imaging system, imaging method, and program
PCT/JP2022/029298 WO2023047802A1 (en) 2021-09-27 2022-07-29 Imaging device and imaging method
US18/591,030 US20240205543A1 (en) 2021-09-27 2024-02-29 Imaging device and imaging method
US18/596,685 US20240210793A1 (en) 2021-09-27 2024-03-06 Imaging device, imaging system, imaging method, and non-transitory storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021156799A JP2023047714A (en) 2021-09-27 2021-09-27 Imaging apparatus, imaging method, and program

Publications (1)

Publication Number Publication Date
JP2023047714A true JP2023047714A (en) 2023-04-06

Family

ID=85779297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021156799A Pending JP2023047714A (en) 2021-09-27 2021-09-27 Imaging apparatus, imaging method, and program

Country Status (2)

Country Link
JP (1) JP2023047714A (en)
CN (1) CN117917090A (en)

Also Published As

Publication number Publication date
CN117917090A (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US7826735B2 (en) Auto focus unit and digital camera
CN106954007B (en) Image pickup apparatus and image pickup method
US20120327195A1 (en) Auto Focusing Method and Apparatus
JP5483953B2 (en) Focus adjustment device, focus adjustment method and program
EP3163346B1 (en) Autofocusing a macro object by an imaging device
JP2008026802A (en) Imaging apparatus
JP5845023B2 (en) FOCUS DETECTION DEVICE, LENS DEVICE HAVING THE SAME, AND IMAGING DEVICE
JP2012234152A (en) Imaging apparatus and control method thereof
JP2011239131A (en) Imaging apparatus
JP2008268815A (en) Automatic focusing device
JP5322593B2 (en) Focus adjustment apparatus and method
US20160227102A1 (en) Image capturing apparatus and control method thereof, and storage medium
JP2023047714A (en) Imaging apparatus, imaging method, and program
US7884876B2 (en) Image-pickup apparatus, method of determining attachment of accessory device and method of distinguishing attached accessory device
WO2023047804A1 (en) Imaging device, imaging system, imaging method, and program
US9854150B2 (en) Auto-focus control in a camera to prevent oscillation
JP2023047943A (en) Imaging device, imaging method, and program
JP2023048019A (en) Imaging device, imaging method, and program
JP2023047764A (en) Imaging apparatus, imaging method, and program
JP2023047942A (en) Imaging device, imaging method, and program
JP2023047944A (en) Imaging device, imaging method, and program
JP2023047715A (en) Imaging system, imaging method, and program
JP2023048013A (en) Imaging device, imaging method, and program
JP6702736B2 (en) IMAGING CONTROL DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
US20240244319A1 (en) Image capturing apparatus that captures image of moving object, image capturing system, method of controlling image capturing apparatus, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240910