Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7043707B2 - Scene recognition device, image pickup device, scene recognition method, and program - Google Patents
[go: Go Back, main page]

JP7043707B2 - Scene recognition device, image pickup device, scene recognition method, and program - Google Patents

Scene recognition device, image pickup device, scene recognition method, and program Download PDF

Info

Publication number
JP7043707B2
JP7043707B2 JP2020113027A JP2020113027A JP7043707B2 JP 7043707 B2 JP7043707 B2 JP 7043707B2 JP 2020113027 A JP2020113027 A JP 2020113027A JP 2020113027 A JP2020113027 A JP 2020113027A JP 7043707 B2 JP7043707 B2 JP 7043707B2
Authority
JP
Japan
Prior art keywords
image
scene
distance
scene recognition
image pickup
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.)
Expired - Fee Related
Application number
JP2020113027A
Other languages
Japanese (ja)
Other versions
JP2022011712A (en
Inventor
長波 周
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology Co Ltd
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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Priority to JP2020113027A priority Critical patent/JP7043707B2/en
Publication of JP2022011712A publication Critical patent/JP2022011712A/en
Application granted granted Critical
Publication of JP7043707B2 publication Critical patent/JP7043707B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)

Description

本発明は、シーン認識装置、撮像装置、シーン認識方法、及びプログラムに関する。 The present invention relates to a scene recognition device, an image pickup device, a scene recognition method, and a program.

特許文献1には、「物体50の位置を確定する前に、計測データから背景と物体50との分離を行い、ノイズ処理を行う」と記載されている。
[先行技術文献]
[特許文献]
[特許文献1] 特開平11-63989号公報
Patent Document 1 describes that "before determining the position of the object 50, the background and the object 50 are separated from the measurement data and noise processing is performed".
[Prior Art Document]
[Patent Document]
[Patent Document 1] Japanese Unexamined Patent Publication No. 11-63889

画像の内容によっては、画像のシーン認識の精度が低下することがある。 Depending on the content of the image, the accuracy of scene recognition of the image may decrease.

本発明の一態様に係るシーン認識装置は、測距センサを備える撮像装置により撮像される画像、及び測距センサの測距結果に基づく画像の深度マップを取得するように構成される回路を備える。回路は、深度マップに基づいて、画像から、被写体までの距離に応じた複数の部分画像をクロップするように構成されてよい。回路は、複数の部分画像ごとにそれぞれのアルゴリズムに従ってシーン認識を実行するように構成されてよい。回路は、複数の部分画像のそれぞれのシーン認識の結果に基づいて、画像のシーンを決定するように構成されてよい。 The scene recognition device according to one aspect of the present invention includes a circuit configured to acquire an image captured by an image pickup device including a range-finding sensor and a depth map of an image based on the range-finding result of the range-finding sensor. .. The circuit may be configured to crop a plurality of partial images according to the distance from the image to the subject based on the depth map. The circuit may be configured to perform scene recognition for each of the plurality of partial images according to their respective algorithms. The circuit may be configured to determine the scene of the image based on the result of each scene recognition of the plurality of partial images.

回路は、深度マップに基づいて、画像から、撮像装置からの距離が予め定められた距離以下である被写体を含む第1部分画像と、撮像装置からの距離が予め定められた距離より遠い被写体を含む第2部分画像とをクロップするように構成される。回路は、第1アルゴリズムに従って第1部分画像に対する第1シーン認識を実行するように構成される。回路は、第2アルゴリズムに従って第2部分画像に対する第2シーン認識を実行するように構成される。回路は、第1シーン認識の結果及び第2シーン認識の結果に基づいて、画像のシーンを決定するように構成される。 Based on the depth map, the circuit captures the first partial image including the subject whose distance from the image pickup device is less than or equal to the predetermined distance from the image, and the subject whose distance from the image pickup device is longer than the predetermined distance. It is configured to crop the included second partial image. The circuit is configured to perform first scene recognition for the first partial image according to the first algorithm. The circuit is configured to perform a second scene recognition for the second partial image according to the second algorithm. The circuit is configured to determine the scene of the image based on the result of the first scene recognition and the result of the second scene recognition.

それぞれのアルゴリズムは、異なるアルゴリズムでよい。 Each algorithm may be a different algorithm.

回路は、複数の部分画像が画像に占めるそれぞれの割合にさらに基づいて、画像のシーンを決定するように構成されてよい。 The circuit may be configured to determine the scene of the image based further on the proportion of each of the plurality of partial images in the image.

測距センサは、TOFセンサでよい。 The distance measuring sensor may be a TOF sensor.

本発明の一態様に係る撮像装置は、上記シーン認識装置と、測距センサと、イメージセンサとを備えてよい。回路は、決定された画像のシーンに基づいて、撮像条件及び画像処理条件の少なくとも一方を決定するように構成されてよい。 The image pickup apparatus according to one aspect of the present invention may include the scene recognition device, a distance measuring sensor, and an image sensor. The circuit may be configured to determine at least one of the imaging conditions and the image processing conditions based on the determined image scene.

本発明の一態様に係るシーン認識方法は、測距センサを備える撮像装置により撮像される画像、及び測距センサの測距結果に基づく画像の深度マップを取得する段階を備える。シーン認識方法は、深度マップに基づいて、画像から、被写体までの距離に応じた複数の部分画像をクロップする段階を備えてよい。シーン認識方法は、複数の部分画像ごとにそれぞれのアルゴリズムに従ってシーン認識を実行する段階を備えてよい。シーン認識方法は、複数の部分画像のそれぞれのシーン認識の結果に基づいて、画像のシーンを決定する段階を備えてよい。 The scene recognition method according to one aspect of the present invention includes a step of acquiring an image captured by an image pickup apparatus equipped with a distance measuring sensor and a depth map of an image based on the distance measuring result of the distance measuring sensor. The scene recognition method may include a step of cropping a plurality of partial images according to the distance from the image to the subject based on the depth map. The scene recognition method may include a step of executing scene recognition according to each algorithm for each of a plurality of partial images. The scene recognition method may include a step of determining the scene of the image based on the result of each scene recognition of the plurality of partial images.

本発明の一態様に係るプログラムは、上記シーン認識装置としてコンピュータを機能させるためのプログラムでよい。 The program according to one aspect of the present invention may be a program for operating a computer as the scene recognition device.

本発明の一態様によれば、画像の内容によって、画像のシーン認識の精度が低下することを抑制できる。 According to one aspect of the present invention, it is possible to suppress a decrease in the accuracy of image scene recognition depending on the content of the image.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。 The outline of the above invention does not list all the necessary features of the present invention. A subcombination of these feature groups can also be an invention.

撮像装置の機能ブロックを示す図である。It is a figure which shows the functional block of an image pickup apparatus. 画像のクロップ及びシーン認識について説明するための図である。It is a figure for demonstrating image cropping and scene recognition. シーン認識の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of scene recognition. 無人航空機及び遠隔操作装置の外観の一例を示す図である。It is a figure which shows an example of the appearance of an unmanned aerial vehicle and a remote control device. ハードウェア構成の一例を示す図である。It is a figure which shows an example of a hardware configuration.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施の形態は特許請求の範囲に係る発明を限定するものではない。また、実施の形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。以下の実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. Also, not all combinations of features described in the embodiments are essential to the means of solving the invention. It will be apparent to those skilled in the art that various changes or improvements can be made to the following embodiments. It is clear from the description of the claims that the form with such changes or improvements may be included in the technical scope of the present invention.

特許請求の範囲、明細書、図面、及び要約書には、著作権による保護の対象となる事項が含まれる。著作権者は、これらの書類の何人による複製に対しても、特許庁のファイルまたはレコードに表示される通りであれば異議を唱えない。ただし、それ以外の場合、一切の著作権を留保する。 The claims, description, drawings, and abstracts include matters subject to copyright protection. The copyright holder will not object to any person's reproduction of these documents as long as they appear in the Patent Office files or records. However, in other cases, all copyrights are reserved.

本発明の様々な実施形態は、フローチャート及びブロック図を参照して記載されてよく、ここにおいてブロックは、(1)操作が実行されるプロセスの段階または(2)操作を実行する役割を持つ装置の「部」を表わしてよい。特定の段階及び「部」が、プログラマブル回路、及び/またはプロセッサによって実装されてよい。専用回路は、デジタル及び/またはアナログハードウェア回路を含んでよい。集積回路(IC)及び/またはディスクリート回路を含んでよい。プログラマブル回路は、再構成可能なハードウェア回路を含んでよい。再構成可能なハードウェア回路は、論理AND、論理OR、論理XOR、論理NAND、論理NOR、及び他の論理操作、フリップフロップ、レジスタ、フィールドプログラマブルゲートアレイ(FPGA)、プログラマブルロジックアレイ(PLA)等の様なメモリ要素等を含んでよい。 Various embodiments of the present invention may be described with reference to flowcharts and block diagrams, wherein the block is (1) a stage of the process in which the operation is performed or (2) a device having a role of performing the operation. May represent a "part" of. Specific steps and "parts" may be implemented by programmable circuits and / or processors. Dedicated circuits may include digital and / or analog hardware circuits. It may include integrated circuits (ICs) and / or discrete circuits. The programmable circuit may include a reconfigurable hardware circuit. Reconfigurable hardware circuits include logical AND, logical OR, logical XOR, logical NAND, logical NOR, and other logical operations, flip-flops, registers, field programmable gate arrays (FPGA), programmable logic arrays (PLA), etc. It may include a memory element such as.

コンピュータ可読媒体は、適切なデバイスによって実行される命令を格納可能な任意の有形なデバイスを含んでよい。その結果、そこに格納される命令を有するコンピュータ可読媒体は、フローチャートまたはブロック図で指定された操作を実行するための手段を作成すべく実行され得る命令を含む、製品を備えることになる。コンピュータ可読媒体の例としては、電子記憶媒体、磁気記憶媒体、光記憶媒体、電磁記憶媒体、半導体記憶媒体等が含まれてよい。コンピュータ可読媒体のより具体的な例としては、フロッピー(登録商標)ディスク、ディスケット、ハードディスク、ランダムアクセスメモリ(RAM)、リードオンリメモリ(ROM)、消去可能プログラマブルリードオンリメモリ(EPROMまたはフラッシュメモリ)、電気的消去可能プログラマブルリードオンリメモリ(EEPROM(登録商標))、静的ランダムアクセスメモリ(SRAM)、コンパクトディスクリードオンリメモリ(CD-ROM)、デジタル多用途ディスク(DVD)、ブルーレイ(登録商標)ディスク、メモリスティック、集積回路カード等が含まれてよい。 The computer readable medium may include any tangible device capable of storing instructions executed by the appropriate device. As a result, the computer-readable medium having the instructions stored therein will include the product, including instructions that can be executed to create means for performing the operation specified in the flowchart or block diagram. Examples of computer-readable media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer-readable media include floppy (registered trademark) disks, diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), Electrically erasable programmable read-only memory (EPROM®), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disc (DVD), Blu-ray (registered trademark) disc , Memory sticks, integrated circuit cards, etc. may be included.

コンピュータ可読命令は、1または複数のプログラミング言語の任意の組み合わせで記述されたソースコードまたはオブジェクトコードの何れかを含んでよい。ソースコードまたはオブジェクトコードは、従来の手続型プログラミング言語を含む。従来の手続型プログラミング言語は、アセンブラ命令、命令セットアーキテクチャ(ISA)命令、マシン命令、マシン依存命令、マイクロコード、ファームウェア命令、状態設定データ、またはSmalltalk(登録商標)、JAVA(登録商標)、C++等のようなオブジェクト指向プログラミング言語、及び「C」プログラミング言語または同様のプログラミング言語でよい。コンピュータ可読命令は、汎用コンピュータ、特殊目的のコンピュータ、若しくは他のプログラム可能なデータ処理装置のプロセッサまたはプログラマブル回路に対し、ローカルにまたはローカルエリアネットワーク(LAN)、インターネット等のようなワイドエリアネットワーク(WAN)を介して提供されてよい。プロセッサまたはプログラマブル回路は、フローチャートまたはブロック図で指定された操作を実行するための手段を作成すべく、コンピュータ可読命令を実行してよい。プロセッサの例としては、コンピュータプロセッサ、処理ユニット、マイクロプロセッサ、デジタル信号プロセッサ、コントローラ、マイクロコントローラ等を含む。 Computer-readable instructions may include either source code or object code written in any combination of one or more programming languages. Source code or object code includes traditional procedural programming languages. Traditional procedural programming languages are assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcodes, firmware instructions, state setting data, or Smalltalk®, JAVA®, C ++. It may be an object-oriented programming language such as, and a "C" programming language or a similar programming language. Computer-readable instructions are used locally or on a local area network (LAN), wide area network (WAN), etc., to the processor or programmable circuit of a general purpose computer, special purpose computer, or other programmable data processing device. ) May be provided. The processor or programmable circuit may execute computer-readable instructions to create means for performing the operations specified in the flowchart or block diagram. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, and the like.

図1は、本実施形態に係る撮像装置100の機能ブロックの一例を示す。撮像装置100は、撮像部102、TOFセンサ160、及びレンズ部200を備える。撮像部102は、イメージセンサ120、撮像制御部110、メモリ170、表示部180、及び操作部182を有する。 FIG. 1 shows an example of a functional block of the image pickup apparatus 100 according to the present embodiment. The image pickup apparatus 100 includes an image pickup unit 102, a TOF sensor 160, and a lens unit 200. The image pickup unit 102 includes an image sensor 120, an image pickup control unit 110, a memory 170, a display unit 180, and an operation unit 182.

イメージセンサ120は、CCDまたはCMOSにより構成されてよい。イメージセンサ120は、複数のレンズ154を介して結像された光学像の画像データを撮像制御部110に出力する。撮像制御部110は、CPUまたはMPU等のマイクロプロセッサ、MCU等のマイクロコントローラ等により構成されてよい。 The image sensor 120 may be configured by CCD or CMOS. The image sensor 120 outputs the image data of the optical image formed through the plurality of lenses 154 to the image pickup control unit 110. The image pickup control unit 110 may be configured by a microprocessor such as a CPU or MPU, a microcontroller such as an MCU, or the like.

撮像制御部110は、操作部182からの撮像装置100の動作命令に応じて、撮像制御部110は、イメージセンサ120から出力された画像信号にデモザイク処理を施すことで画像データを生成する。撮像制御部110は、画像データをメモリ170に格納する。撮像制御部110は、TOFセンサ160を制御する。撮像制御部110は、回路の一例である。TOFセンサ160は、対象物までの距離を測距する飛行時間型センサである。撮像装置100は、TOFセンサ160により測距された距離に基づいて、フォーカスレンズの位置を調整することで、合焦制御を実行する。 The image pickup control unit 110 generates image data by performing demosaic processing on the image signal output from the image sensor 120 in response to an operation command of the image pickup device 100 from the operation unit 182. The image pickup control unit 110 stores the image data in the memory 170. The image pickup control unit 110 controls the TOF sensor 160. The image pickup control unit 110 is an example of a circuit. The TOF sensor 160 is a time-of-flight sensor that measures the distance to an object. The image pickup apparatus 100 executes focusing control by adjusting the position of the focus lens based on the distance measured by the TOF sensor 160.

メモリ170は、コンピュータ可読可能な記録媒体でよく、SRAM、DRAM、EPROM、EEPROM、及びUSBメモリ等のフラッシュメモリの少なくとも1つを含んでよい。メモリ170は、撮像制御部110がイメージセンサ120等を制御するのに必要なプログラム等を格納する。メモリ170は、撮像装置100の筐体の内部に設けられてよい。 The memory 170 may be a computer-readable recording medium and may include at least one of flash memories such as SRAM, DRAM, EEPROM, EEPROM, and USB memory. The memory 170 stores a program or the like necessary for the image pickup control unit 110 to control the image sensor 120 or the like. The memory 170 may be provided inside the housing of the image pickup apparatus 100.

複数のレンズ154は、ズームレンズ、バリフォーカルレンズ、及びフォーカスレンズとして機能してよい。複数のレンズ154の少なくとも一部または全部は、光軸に沿って移動可能に配置される。レンズ制御部150は、撮像制御部110からのレンズ制御命令に従って、レンズ駆動部152を駆動して、1または複数のレンズ154を光軸方向に沿って移動させる。レンズ制御命令は、例えば、ズーム制御命令、及びフォーカス制御命令である。レンズ駆動部152は、複数のレンズ154の少なくとも一部または全部を光軸方向に移動させるボイスコイルモータ(VCM)を含んでよい。レンズ駆動部152は、DCモータ、コアレスモータ、または超音波モータ等の電動機を含んでよい。レンズ駆動部152は、電動機からの動力をカム環、ガイド軸等の機構部材を介して複数のレンズ154の少なくとも一部または全部に伝達して、複数のレンズ154の少なくとも一部または全部を光軸に沿って移動させてよい。本実施形態では、複数のレンズ154は、撮像装置100と一体型の例について説明する。しかし、複数のレンズ154は、交換レンズでよく、撮像装置100とは別体で構成されてもよい。 The plurality of lenses 154 may function as a zoom lens, a varifocal lens, and a focus lens. At least some or all of the plurality of lenses 154 are movably arranged along the optical axis. The lens control unit 150 drives the lens drive unit 152 in accordance with a lens control command from the image pickup control unit 110 to move one or more lenses 154 along the optical axis direction. The lens control command is, for example, a zoom control command and a focus control command. The lens driving unit 152 may include a voice coil motor (VCM) that moves at least a part or all of the plurality of lenses 154 in the optical axis direction. The lens drive unit 152 may include an electric motor such as a DC motor, a coreless motor, or an ultrasonic motor. The lens driving unit 152 transmits power from the electric motor to at least a part or all of the plurality of lenses 154 via a mechanical member such as a cam ring and a guide shaft, and emits light at least a part or all of the plurality of lenses 154. It may be moved along the axis. In this embodiment, an example in which the plurality of lenses 154 are integrated with the image pickup apparatus 100 will be described. However, the plurality of lenses 154 may be interchangeable lenses and may be configured separately from the image pickup apparatus 100.

表示部180は、イメージセンサ120から出力された画像を表示してよい。表示部180は、撮像装置100の各種の設定情報を表示してよい。表示部180は、液晶ディスプレイ、タッチパネルディスプレイなどでよい。表示部180は、複数の液晶ディスプレイ、またはタッチパネルディスプレイを含んでよい。 The display unit 180 may display the image output from the image sensor 120. The display unit 180 may display various setting information of the image pickup apparatus 100. The display unit 180 may be a liquid crystal display, a touch panel display, or the like. The display unit 180 may include a plurality of liquid crystal displays or touch panel displays.

TOFセンサ160は、発光部162、受光部164、発光制御部166、受光制御部167、及びメモリ168を備える。TOFセンサ160は、測距センサの一例である。撮像装置100は、TOFセンサ160の代わりに、視差に基づいて測距するステレオカメラなどの他の測距センサを備えてもよい。発光部162は、少なくとも1つの発光素子163を含む。発光素子163は、LEDまたはレーザ等の高速変調されたパルス光を繰り返し出射するデバイスである。発光素子163は、赤外光であるパルス光を出射してよい。発光制御部166は、発光素子163の発光を制御する。発光制御部166は、発光素子163から出射されるパルス光のパルス幅を制御してよい。 The TOF sensor 160 includes a light emitting unit 162, a light receiving unit 164, a light emitting control unit 166, a light receiving control unit 167, and a memory 168. The TOF sensor 160 is an example of a distance measuring sensor. The image pickup apparatus 100 may include another distance measuring sensor such as a stereo camera that measures the distance based on the parallax instead of the TOF sensor 160. The light emitting unit 162 includes at least one light emitting element 163. The light emitting element 163 is a device that repeatedly emits high-speed modulated pulsed light such as an LED or a laser. The light emitting element 163 may emit pulsed light which is infrared light. The light emission control unit 166 controls the light emission of the light emitting element 163. The light emission control unit 166 may control the pulse width of the pulsed light emitted from the light emitting element 163.

受光部164は、複数の測距領域のそれぞれに関連する被写体までの距離を測距する複数の受光素子165を含む。複数の受光素子165は、複数の測距領域のそれぞれに対応する。受光素子165は、対象物からのパルス光の反射光を繰り返し受光する。受光制御部167は、受光素子165の受光を制御する。受光制御部167は、予め定められた受光期間に受光素子165が繰り返し受光する反射光の量に基づいて、複数の測距領域のそれぞれに関連する被写体までの距離を測距する。受光制御部167は、予め定められた受光期間に受光素子165が繰り返し受光する反射光の量に基づいて、パルス光と反射光との間の位相差を特定することで、被写体までの距離を測距してよい。受光部164は、反射波の周波数変化を読み取ることで、被写体までの距離を測距してよい。これはFMCW(Frequency Modulated Continuous Wave)方式と呼ばれる。 The light receiving unit 164 includes a plurality of light receiving elements 165 that measure the distance to the subject associated with each of the plurality of distance measuring regions. The plurality of light receiving elements 165 correspond to each of the plurality of ranging regions. The light receiving element 165 repeatedly receives the reflected light of the pulsed light from the object. The light receiving control unit 167 controls the light receiving of the light receiving element 165. The light receiving control unit 167 measures the distance to the subject associated with each of the plurality of distance measuring regions based on the amount of reflected light repeatedly received by the light receiving element 165 during a predetermined light receiving period. The light receiving control unit 167 determines the distance to the subject by specifying the phase difference between the pulsed light and the reflected light based on the amount of reflected light repeatedly received by the light receiving element 165 during a predetermined light receiving period. You may measure the distance. The light receiving unit 164 may measure the distance to the subject by reading the frequency change of the reflected wave. This is called an FMCW (Frequency Modulated Continuous Wave) method.

メモリ168は、コンピュータ可読可能な記録媒体でよく、SRAM、DRAM、EPROM、及びEEPROMの少なくとも1つを含んでよい。メモリ168は、発光制御部166が発光部162を制御するために必要なプログラム、及び受光制御部167が受光部164を制御するのに必要なプログラム等を格納する。 The memory 168 may be a computer-readable recording medium and may include at least one of SRAM, DRAM, EPROM, and EEPROM. The memory 168 stores a program required for the light emitting control unit 166 to control the light emitting unit 162, a program required for the light receiving control unit 167 to control the light receiving unit 164, and the like.

TOFセンサ160は、受光部164の画素数に対応する複数の測距領域のそれぞれに関連する被写体までの距離を測距できる。 The TOF sensor 160 can measure the distance to the subject associated with each of the plurality of distance measuring regions corresponding to the number of pixels of the light receiving unit 164.

このように構成された撮像装置100は、撮像装置100により撮像される画像のシーン認識を実行する。撮像装置100は、画像のシーン認識の結果に基づいて、撮像条件及び画像処理条件の少なくとも一方を決定する。撮像条件は、シャッター速度、絞り(F値)、及びISO感度を含む露出条件を含む。画像処理条件は、ホワイトバランス調整、階調(トーンカーブ)制御、色調整等のデジタル信号処理の条件を含む。 The image pickup apparatus 100 configured in this way executes scene recognition of the image captured by the image pickup apparatus 100. The image pickup apparatus 100 determines at least one of an image pickup condition and an image processing condition based on the result of scene recognition of an image. Imaging conditions include exposure conditions including shutter speed, aperture (F value), and ISO sensitivity. Image processing conditions include digital signal processing conditions such as white balance adjustment, gradation (tone curve) control, and color adjustment.

撮像装置100は、画像の輝度情報、画像の色情報、及び画像を構成する画素値のヒストグラムの少なくとも1つと、シーンの種類ごとに予め定められた基準の輝度情報、色情報、及び画素値のヒストグラムの少なくとも1つとの類似度に基づいて、画像のシーン認識を実行してよい。撮像装置100は、画像の輝度情報、画像の色情報、及び画素値のヒストグラムの少なくとも1つに基づいて、画像のシーンとして、風景、人物、植物、料理、夜景、花火などを判別してよい。撮像装置100は、シーンの種類ごとの教師データと判別対象の画像との類似度に基づいて、画像のシーン認識を実行してよい。 The image pickup apparatus 100 includes at least one of image brightness information, image color information, and a histogram of pixel values constituting the image, and a reference brightness information, color information, and pixel values predetermined for each scene type. Scene recognition of an image may be performed based on its similarity to at least one of the histograms. The image pickup apparatus 100 may discriminate a landscape, a person, a plant, a dish, a night view, a firework, or the like as an image scene based on at least one of an image luminance information, an image color information, and a histogram of pixel values. .. The image pickup apparatus 100 may execute scene recognition of an image based on the degree of similarity between the teacher data for each type of scene and the image to be discriminated.

ここで、画像は二次元の情報であり、奥行き情報を有さないので、撮像装置100は、画像の内容によっては、シーン認識を適切に行えない場合がある。撮像装置100は、例えば、風景画の画像と、実際の風景の画像とを区別してシーン認識できない場合がある。 Here, since the image is two-dimensional information and does not have depth information, the image pickup apparatus 100 may not be able to properly recognize the scene depending on the content of the image. For example, the image pickup apparatus 100 may not be able to distinguish between a landscape image and an actual landscape image for scene recognition.

そこで、本実施形態に係る撮像装置100は、画像から取得できる二次元の情報に加えて、TOFセンサ160からの測距結果に基づく深度マップを利用して、シーン認識を実行する。 Therefore, the image pickup apparatus 100 according to the present embodiment performs scene recognition by using the depth map based on the distance measurement result from the TOF sensor 160 in addition to the two-dimensional information that can be acquired from the image.

撮像制御部110は、撮像部102により撮像される画像を取得する。撮像制御部110は、TOFセンサ160の測距結果に基づく画像の深度マップを取得する。深度マップは、被写体までの距離の分布を示す情報でよい。 The image pickup control unit 110 acquires an image captured by the image pickup unit 102. The image pickup control unit 110 acquires a depth map of the image based on the distance measurement result of the TOF sensor 160. The depth map may be information showing the distribution of the distance to the subject.

撮像制御部110は、深度マップに基づいて、画像から、撮像部102からの距離が予め定められた距離以下である被写体を含む近景部分画像と、撮像部102からの距離が予め定められた距離より遠い被写体を含む遠景部分画像とをクロップする。撮像制御部110は、画像の各画素と深度マップの各画素との予め定められた対応関係に基づいて、画像内の被写体までの距離を特定してよい。撮像制御部110は、画像を、予め定められた距離以下の被写体を含む領域と、予め定められた距離より遠い被写体を含む領域とに分割することで、近景部分画像と遠景部分画像とを生成する。 Based on the depth map, the image pickup control unit 110 has a foreground partial image including a subject whose distance from the image pickup unit 102 is less than or equal to a predetermined distance from the image, and a predetermined distance from the image pickup unit 102. Crop a distant view partial image including a distant subject. The image pickup control unit 110 may specify the distance to the subject in the image based on a predetermined correspondence relationship between each pixel of the image and each pixel of the depth map. The image pickup control unit 110 generates a near-view partial image and a distant partial image by dividing the image into a region including a subject within a predetermined distance and a region including a subject farther than the predetermined distance. do.

撮像制御部110は、予め定められた近景用アルゴリズムに従って近景部分画像に対する近景用シーン認識を実行する。近景用アルゴリズムは、近景のシーンの認識に特化したアルゴリズムでよい。近景用アルゴリズムは、認識結果として、近景のシーンのみを出力し、遠景のシーンを出力しないアルゴリズムでよい。 The image pickup control unit 110 executes near-view scene recognition for a near-view partial image according to a predetermined near-view algorithm. The foreground algorithm may be an algorithm specialized for recognizing a foreground scene. The near view algorithm may be an algorithm that outputs only the near view scene and does not output the distant view scene as the recognition result.

撮像制御部110は、予め定められた遠景用アルゴリズムに従って遠景部分画像に対する遠景用シーン認識を実行する。遠景用アルゴリズムは、遠景のシーンの認識に特化したアルゴリズムでよい。遠景用アルゴリズムは、認識結果として、遠景のシーンのみを出力し、近景のシーンを出力しないアルゴリズムでよい。遠景のシーンは、予め定められた距離より遠い距離にある被写体を含むシーンであり、山、空、夜景、花火などのシーンである。近景のシーンは、予め定められた距離以下の距離にある被写体を含むシーンであり、人物、料理、花などのシーンである。 The image pickup control unit 110 executes distant view scene recognition for the distant view partial image according to a predetermined distant view algorithm. The distant view algorithm may be an algorithm specialized for recognizing a distant view scene. The distant view algorithm may be an algorithm that outputs only the distant view scene and does not output the near view scene as the recognition result. A distant view scene is a scene including a subject at a distance farther than a predetermined distance, and is a scene such as a mountain, a sky, a night view, and fireworks. The foreground scene is a scene including a subject at a distance equal to or less than a predetermined distance, and is a scene of a person, food, a flower, or the like.

近景用アルゴリズムと遠景用アルゴリズムとは異なるアルゴリズムでよい。しかし、撮像制御部110は、同じアルゴリズムに従って、近景部分画像及び遠景部分画像のそれぞれに対するシーン認識を実行してもよい。 An algorithm different from the near view algorithm and the distant view algorithm may be used. However, the image pickup control unit 110 may execute scene recognition for each of the near view partial image and the distant view partial image according to the same algorithm.

撮像制御部110は、近景部分画像のシーンの認識結果と、遠景部分画像のシーンの認識結果とに基づいて、画像のシーンを決定する。撮像制御部110は、近景部分画像のシーンの認識結果と、遠景部分画像のシーンの認識結果とを合わせた結果を、画像のシーンとして決定してよい。例えば、近景部分画像のシーンの認識結果が「山」で、遠景部分画像のシーンの認識結果が「人物」であれば、撮像制御部110は、画像のシーンを「山」+「人物」と決定してよい。 The image pickup control unit 110 determines the scene of the image based on the recognition result of the scene of the near view partial image and the recognition result of the scene of the distant view partial image. The image pickup control unit 110 may determine the result of combining the recognition result of the scene of the near view partial image and the recognition result of the scene of the distant view partial image as the scene of the image. For example, if the recognition result of the scene of the near view partial image is "mountain" and the recognition result of the scene of the distant view partial image is "person", the image pickup control unit 110 sets the image scene as "mountain" + "person". You may decide.

撮像制御部110は、近景部分画像及び遠景部分画像が、画像に占めるそれぞれの割合にさらに基づいて、画像のシーンを決定してよい。撮像制御部110は、例えば、画像に占める割合が多い近景部分画像及び遠景部分画像のいずれか一方のシーンの認識結果を、画像のシーンとして決定してよい。撮像制御部110は、近景部分画像及び遠景部分画像のそれぞれのシーンの認識結果と、画像に占める近景部分画像及び遠景部分画像のそれぞれの割合とを、画像のシーンとして決定してよい。例えば、撮像制御部110は、「山」が70%を占め、「人物」が30%を占めるシーンとして、画像のシーンを決定してよい。 The image pickup control unit 110 may determine the scene of the image based on the ratio of the near view partial image and the distant view partial image to the image. The image pickup control unit 110 may determine, for example, the recognition result of one of the near view partial image and the distant view partial image, which occupy a large proportion of the image, as the image scene. The image pickup control unit 110 may determine the recognition result of each scene of the near view partial image and the distant view partial image and the ratio of each of the near view partial image and the distant view partial image to the image as the scene of the image. For example, the image pickup control unit 110 may determine an image scene as a scene in which "mountains" occupy 70% and "people" occupy 30%.

撮像制御部110は、図2に示すように、撮像部102により撮像された画像300と、TOFセンサ160による測距結果に基づく深度マップ310とを比較することで、予め定められた距離より遠い被写体を含む遠景部分画像320と、予め定められた距離以下の被写体を含む近景部分画像322とを画像300からクロップする。 As shown in FIG. 2, the image pickup control unit 110 is farther than a predetermined distance by comparing the image 300 captured by the image pickup unit 102 with the depth map 310 based on the distance measurement result by the TOF sensor 160. A distant view partial image 320 including a subject and a near view partial image 322 including a subject within a predetermined distance are cropped from the image 300.

撮像制御部110は、遠景部分画像320及び近景部分画像322の境界部分がオーバーラップするように、画像300をクロップしてよい。撮像制御部110は、画像300と深度マップ310とを画像マッチングすることで、画像300の各画素と、深度マップ310の各画素との対応関係を特定してよい。予め定められた距離は、TOFセンサ160の測距範囲に基づいて定められてよい。予め定められた距離は、TOFセンサ160が予め定められた精度以上で測距可能な測距範囲で最も遠い距離でよい。 The image pickup control unit 110 may crop the image 300 so that the boundary portions of the distant view partial image 320 and the near view partial image 322 overlap. The image pickup control unit 110 may specify the correspondence between each pixel of the image 300 and each pixel of the depth map 310 by image matching the image 300 and the depth map 310. The predetermined distance may be determined based on the distance measuring range of the TOF sensor 160. The predetermined distance may be the farthest distance in the range measuring range that the TOF sensor 160 can measure with a predetermined accuracy or higher.

撮像制御部110は、遠景用アルゴリズムに従って、遠景部分画像320のシーン認識を実行し、遠景部分画像320のシーンを「風景」と決定する。また、撮像制御部110は、近景用アルゴリズムに従って、近景部分画像322のシーン認識を実行し、近景部分画像322のシーンを「人物」と決定する。次いで、撮像制御部110は、遠景部分画像320のシーン認識の結果と、近景部分画像322のシーン認識の結果とに基づいて、画像300のシーンを、「風景」+「人物」と決定する。 The image pickup control unit 110 executes scene recognition of the distant view partial image 320 according to the distant view algorithm, and determines the scene of the distant view partial image 320 as "landscape". Further, the image pickup control unit 110 executes scene recognition of the near view partial image 322 according to the near view algorithm, and determines the scene of the near view partial image 322 as a “person”. Next, the image pickup control unit 110 determines the scene of the image 300 as "landscape" + "person" based on the result of the scene recognition of the distant view partial image 320 and the result of the scene recognition of the near view partial image 322.

図3は、シーン認識の手順の一例を示すフローチャートである。 FIG. 3 is a flowchart showing an example of the scene recognition procedure.

撮像制御部110は、撮像部102により撮像される画像と、TOFセンサ160により測距された測距結果に基づく、画像に対応する深度マップとを取得する(S100)。撮像制御部110は、画像と深度マップとの位置関係を対応付ける(S102)。撮像制御部110は、画像と深度マップとを画像マッチングすることで、位置関係を対応付けてよい。 The image pickup control unit 110 acquires an image captured by the image pickup unit 102 and a depth map corresponding to the image based on the distance measurement result measured by the TOF sensor 160 (S100). The image pickup control unit 110 associates the positional relationship between the image and the depth map (S102). The image pickup control unit 110 may associate the positional relationship with the image by matching the image with the depth map.

撮像制御部110は、深度マップを参照することで、画像から、被写体までの距離が予め定められた距離以下の領域である近景部分画像と、被写体までの距離が予め定められた距離より遠い領域である遠景部分画像とをクロップする(S104)。撮像制御部110は、近景用アルゴリズムに従って近景部分画像のシーン認識を実行し、遠景用アルゴリズムに従って遠景部分画像のシーン認識を実行する(S106)。 By referring to the depth map, the image pickup control unit 110 refers to a near-view partial image in which the distance from the image to the subject is equal to or less than a predetermined distance, and a region in which the distance to the subject is farther than the predetermined distance. The distant view partial image is cropped (S104). The image pickup control unit 110 executes scene recognition of the near view partial image according to the near view algorithm, and executes scene recognition of the distant view partial image according to the distant view algorithm (S106).

撮像制御部110は、近景部分画像のシーン認識の結果と、遠景部分画像のシーン認識の結果とに基づいて、画像のシーン認識を実行して、画像のシーンを決定する(S108)。 The image pickup control unit 110 executes scene recognition of the image based on the result of the scene recognition of the near view partial image and the result of the scene recognition of the distant view partial image, and determines the scene of the image (S108).

本実施形態によれば、撮像制御部110は、画像から取得できる情報に加えて、TOFセンサ160からの測距結果に基づく深度マップを利用して、シーン認識を実行する。撮像制御部110は、画像を被写体までの距離に応じた部分画像に分割して、それぞれの分割画像ごとに、シーン認識を実行する。これにより、より精度よく画像のシーン認識を実行できる。例えば、風景画の画像と、実際の風景の画像とを区別して、シーン認識を実行できる。 According to the present embodiment, the image pickup control unit 110 executes scene recognition by using the depth map based on the distance measurement result from the TOF sensor 160 in addition to the information that can be acquired from the image. The image pickup control unit 110 divides the image into partial images according to the distance to the subject, and executes scene recognition for each divided image. This makes it possible to perform scene recognition of the image with higher accuracy. For example, scene recognition can be performed by distinguishing between a landscape painting image and an actual landscape image.

なお、本実施形態では、撮像制御部110は、画像を、近景部分画像及び遠景部分画像の2つに分割する例について説明した。しかしながら、撮像制御部110は、画像に含まれる被写体までの距離に応じて、3つ以上の部分画像に分割して、それぞれの部分画像のアルゴリズムに従って、それぞれの部分画像のシーン認識を実行してもよい。 In this embodiment, an example in which the image pickup control unit 110 divides an image into two, a near view partial image and a distant view partial image, has been described. However, the image pickup control unit 110 divides into three or more partial images according to the distance to the subject included in the image, and executes scene recognition of each partial image according to the algorithm of each partial image. May be good.

撮像制御部110は、画像から、第1距離範囲の被写体を含む第1部分画像、第1距離範囲より遠い第2距離範囲の被写体を含む第2部分画像、及び第2距離範囲より遠い第3距離範囲の被写体を含む第3部分画像をクロップしてよい。撮像制御部110は、第1距離範囲のアルゴリズム、第2距離範囲のアルゴリズム、及び第3距離範囲のアルゴリズムのそれぞれに従って、第1部分画像、第2部分画像、及び第3部分画像のそれぞれのシーン認識を実行し、第1部分画像、第2部分画像、及び第3部分画像のそれぞれのシーン認識の結果に基づいて、画像のシーンを決定してよい。 From the image, the image pickup control unit 110 includes a first partial image including a subject in the first distance range, a second partial image including a subject in the second distance range farther than the first distance range, and a third partial image far from the second distance range. A third partial image containing a subject in a distance range may be cropped. The image pickup control unit 110 determines the scenes of the first partial image, the second partial image, and the third partial image according to the algorithm of the first range, the algorithm of the second range, and the algorithm of the third range, respectively. The recognition may be performed and the scene of the image may be determined based on the results of the scene recognition of the first partial image, the second partial image, and the third partial image.

上記のような撮像装置100は、移動体に搭載されてもよい。撮像装置100は、図4に示すような、無人航空機(UAV)に搭載されてもよい。UAV1000は、UAV本体20、ジンバル50、複数の撮像装置60、及び撮像装置100を備えてよい。ジンバル50、及び撮像装置100は、撮像システムの一例である。UAV1000は、推進部により推進される移動体の一例である。移動体とは、UAVの他、空中を移動する他の航空機などの飛行体、地上を移動する車両、水上を移動する船舶等を含む概念である。 The image pickup apparatus 100 as described above may be mounted on a moving body. The image pickup apparatus 100 may be mounted on an unmanned aerial vehicle (UAV) as shown in FIG. The UAV 1000 may include a UAV main body 20, a gimbal 50, a plurality of image pickup devices 60, and an image pickup device 100. The gimbal 50 and the image pickup apparatus 100 are examples of an image pickup system. The UAV1000 is an example of a moving body propelled by a propulsion unit. The moving body is a concept including a UAV, a flying object such as another aircraft moving in the air, a vehicle moving on the ground, a ship moving on the water, and the like.

UAV本体20は、複数の回転翼を備える。複数の回転翼は、推進部の一例である。UAV本体20は、複数の回転翼の回転を制御することでUAV1000を飛行させる。UAV本体20は、例えば、4つの回転翼を用いてUAV1000を飛行させる。回転翼の数は、4つには限定されない。また、UAV1000は、回転翼を有さない固定翼機でもよい。 The UAV main body 20 includes a plurality of rotary wings. The plurality of rotor blades are an example of a propulsion unit. The UAV main body 20 flies the UAV 1000 by controlling the rotation of a plurality of rotary blades. The UAV body 20 flies the UAV 1000 using, for example, four rotor blades. The number of rotor blades is not limited to four. Further, the UAV1000 may be a fixed-wing aircraft having no rotor blades.

撮像装置100は、所望の撮像範囲に含まれる被写体を撮像する撮像用のカメラである。ジンバル50は、撮像装置100を回転可能に支持する。ジンバル50は、支持機構の一例である。例えば、ジンバル50は、撮像装置100を、アクチュエータを用いてピッチ軸で回転可能に支持する。ジンバル50は、撮像装置100を、アクチュエータを用いて更にロール軸及びヨー軸のそれぞれを中心に回転可能に支持する。ジンバル50は、ヨー軸、ピッチ軸、及びロール軸の少なくとも1つを中心に撮像装置100を回転させることで、撮像装置100の姿勢を変更してよい。 The image pickup apparatus 100 is a camera for taking an image of a subject included in a desired imaging range. The gimbal 50 rotatably supports the image pickup device 100. The gimbal 50 is an example of a support mechanism. For example, the gimbal 50 rotatably supports the image pickup device 100 on a pitch axis using an actuator. The gimbal 50 further rotatably supports the image pickup device 100 around each of the roll axis and the yaw axis by using an actuator. The gimbal 50 may change the posture of the image pickup device 100 by rotating the image pickup device 100 around at least one of the yaw axis, the pitch axis, and the roll axis.

複数の撮像装置60は、UAV1000の飛行を制御するためにUAV1000の周囲を撮像するセンシング用のカメラである。2つの撮像装置60が、UAV1000の機首である正面に設けられてよい。更に他の2つの撮像装置60が、UAV1000の底面に設けられてよい。正面側の2つの撮像装置60はペアとなり、いわゆるステレオカメラとして機能してよい。底面側の2つの撮像装置60もペアとなり、ステレオカメラとして機能してよい。複数の撮像装置60により撮像された画像に基づいて、UAV1000の周囲の3次元空間データが生成されてよい。UAV1000が備える撮像装置60の数は4つには限定されない。UAV1000は、少なくとも1つの撮像装置60を備えていればよい。UAV1000は、UAV1000の機首、機尾、側面、底面、及び天井面のそれぞれに少なくとも1つの撮像装置60を備えてもよい。撮像装置60で設定できる画角は、撮像装置100で設定できる画角より広くてよい。撮像装置60は、単焦点レンズまたは魚眼レンズを有してもよい。 The plurality of image pickup devices 60 are sensing cameras that image the surroundings of the UAV 1000 in order to control the flight of the UAV 1000. Two image pickup devices 60 may be provided in front of the nose of the UAV 1000. Yet two other imaging devices 60 may be provided on the bottom surface of the UAV 1000. The two image pickup devices 60 on the front side may be paired and function as a so-called stereo camera. The two image pickup devices 60 on the bottom side may also be paired and function as a stereo camera. Three-dimensional spatial data around the UAV 1000 may be generated based on the images captured by the plurality of image pickup devices 60. The number of image pickup devices 60 included in the UAV 1000 is not limited to four. The UAV 1000 may include at least one image pickup device 60. The UAV1000 may be equipped with at least one image pickup device 60 on each of the nose, tail, side surface, bottom surface, and ceiling surface of the UAV1000. The angle of view that can be set by the image pickup device 60 may be wider than the angle of view that can be set by the image pickup device 100. The image pickup apparatus 60 may have a single focus lens or a fisheye lens.

遠隔操作装置600は、UAV1000と通信して、UAV1000を遠隔操作する。遠隔操作装置600は、UAV1000と無線で通信してよい。遠隔操作装置600は、UAV1000に上昇、下降、加速、減速、前進、後進、回転等のUAV1000の移動に関する各種命令を示す指示情報を送信する。指示情報は、例えば、UAV1000の高度を上昇させる指示情報を含む。指示情報は、UAV1000が位置すべき高度を示してよい。UAV1000は、遠隔操作装置600から受信した指示情報により示される高度に位置するように移動する。指示情報は、UAV1000を上昇させる上昇命令を含んでよい。UAV1000は、上昇命令を受け付けている間、上昇する。UAV1000は、上昇命令を受け付けても、UAV1000の高度が上限高度に達している場合には、上昇を制限してよい。 The remote control device 600 communicates with the UAV 1000 to remotely control the UAV 1000. The remote control device 600 may communicate wirelessly with the UAV 1000. The remote control device 600 transmits to the UAV 1000 instruction information indicating various commands related to the movement of the UAV 1000 such as ascending, descending, accelerating, decelerating, advancing, reversing, and rotating. The instruction information includes, for example, instruction information for raising the altitude of the UAV 1000. The instruction information may indicate the altitude at which the UAV 1000 should be located. The UAV 1000 moves so as to be located at an altitude indicated by the instruction information received from the remote control device 600. The instruction information may include an ascending instruction to ascend the UAV 1000. The UAV1000 rises while accepting the rise order. Even if the UAV1000 accepts an ascending order, the ascending may be restricted if the altitude of the UAV1000 has reached the upper limit altitude.

図5は、本発明の複数の態様が全体的または部分的に具現化されてよいコンピュータ1200の一例を示す。コンピュータ1200にインストールされたプログラムは、コンピュータ1200に、本発明の実施形態に係る装置に関連付けられるオペレーションまたは当該装置の1または複数の「部」として機能させることができる。または、当該プログラムは、コンピュータ1200に当該オペレーションまたは当該1または複数の「部」を実行させることができる。当該プログラムは、コンピュータ1200に、本発明の実施形態に係るプロセスまたは当該プロセスの段階を実行させることができる。そのようなプログラムは、コンピュータ1200に、本明細書に記載のフローチャート及びブロック図のブロックのうちのいくつかまたはすべてに関連付けられた特定のオペレーションを実行させるべく、CPU1212によって実行されてよい。 FIG. 5 shows an example of a computer 1200 in which a plurality of aspects of the present invention may be embodied in whole or in part. The program installed on the computer 1200 can cause the computer 1200 to function as an operation associated with the device according to an embodiment of the present invention or as one or more "parts" of the device. Alternatively, the program may cause the computer 1200 to perform the operation or the one or more "parts". The program may cause the computer 1200 to perform a process according to an embodiment of the present invention or a step of the process. Such a program may be run by the CPU 1212 to cause the computer 1200 to perform certain operations associated with some or all of the blocks of the flowcharts and block diagrams described herein.

本実施形態によるコンピュータ1200は、CPU1212、及びRAM1214を含み、それらはホストコントローラ1210によって相互に接続されている。コンピュータ1200はまた、通信インタフェース1222、入力/出力ユニットを含み、それらは入力/出力コントローラ1220を介してホストコントローラ1210に接続されている。コンピュータ1200はまた、ROM1230を含む。CPU1212は、ROM1230及びRAM1214内に格納されたプログラムに従い動作し、それにより各ユニットを制御する。 The computer 1200 according to this embodiment includes a CPU 1212 and a RAM 1214, which are connected to each other by a host controller 1210. The computer 1200 also includes a communication interface 1222, an input / output unit, which are connected to the host controller 1210 via an input / output controller 1220. The computer 1200 also includes a ROM 1230. The CPU 1212 operates according to a program stored in the ROM 1230 and the RAM 1214, thereby controlling each unit.

通信インタフェース1222は、ネットワークを介して他の電子デバイスと通信する。ハードディスクドライブが、コンピュータ1200内のCPU1212によって使用されるプログラム及びデータを格納してよい。ROM1230はその中に、アクティブ化時にコンピュータ1200によって実行されるブートプログラム等、及び/またはコンピュータ1200のハードウェアに依存するプログラムを格納する。プログラムが、CR-ROM、USBメモリまたはICカードのようなコンピュータ可読記録媒体またはネットワークを介して提供される。プログラムは、コンピュータ可読記録媒体の例でもあるRAM1214、またはROM1230にインストールされ、CPU1212によって実行される。これらのプログラム内に記述される情報処理は、コンピュータ1200に読み取られ、プログラムと、上記様々なタイプのハードウェアリソースとの間の連携をもたらす。装置または方法が、コンピュータ1200の使用に従い情報のオペレーションまたは処理を実現することによって構成されてよい。 The communication interface 1222 communicates with other electronic devices via the network. A hard disk drive may store programs and data used by the CPU 1212 in the computer 1200. The ROM 1230 stores in it a boot program or the like executed by the computer 1200 at the time of activation and / or a program depending on the hardware of the computer 1200. The program is provided via a computer-readable recording medium such as a CR-ROM, USB memory or IC card or a network. The program is installed in RAM 1214, which is also an example of a computer-readable recording medium, or ROM 1230, and is executed by the CPU 1212. The information processing described in these programs is read by the computer 1200 and provides a link between the program and the various types of hardware resources described above. The device or method may be configured to implement the operation or processing of information in accordance with the use of the computer 1200.

例えば、通信がコンピュータ1200及び外部デバイス間で実行される場合、CPU1212は、RAM1214にロードされた通信プログラムを実行し、通信プログラムに記述された処理に基づいて、通信インタフェース1222に対し、通信処理を命令してよい。通信インタフェース1222は、CPU1212の制御の下、RAM1214、またはUSBメモリのような記録媒体内に提供される送信バッファ領域に格納された送信データを読み取り、読み取られた送信データをネットワークに送信し、またはネットワークから受信した受信データを記録媒体上に提供される受信バッファ領域等に書き込む。 For example, when communication is executed between the computer 1200 and an external device, the CPU 1212 executes a communication program loaded in the RAM 1214, and performs communication processing with respect to the communication interface 1222 based on the processing described in the communication program. You may order. Under the control of the CPU 1212, the communication interface 1222 reads the transmission data stored in the transmission buffer area provided in the RAM 1214 or a recording medium such as a USB memory, and transmits the read transmission data to the network, or The received data received from the network is written to the reception buffer area or the like provided on the recording medium.

また、CPU1212は、USBメモリ等のような外部記録媒体に格納されたファイルまたはデータベースの全部または必要な部分がRAM1214に読み取られるようにし、RAM1214上のデータに対し様々なタイプの処理を実行してよい。CPU1212は次に、処理されたデータを外部記録媒体にライトバックしてよい。 Further, the CPU 1212 makes the RAM 1214 read all or necessary parts of a file or a database stored in an external recording medium such as a USB memory, and executes various types of processing on the data on the RAM 1214. good. The CPU 1212 may then write back the processed data to an external recording medium.

様々なタイプのプログラム、データ、テーブル、及びデータベースのような様々なタイプの情報が記録媒体に格納され、情報処理を受けてよい。CPU1212は、RAM1214から読み取られたデータに対し、本開示の随所に記載され、プログラムの命令シーケンスによって指定される様々なタイプのオペレーション、情報処理、条件判断、条件分岐、無条件分岐、情報の検索/置換等を含む、様々なタイプの処理を実行してよく、結果をRAM1214に対しライトバックする。また、CPU1212は、記録媒体内のファイル、データベース等における情報を検索してよい。例えば、各々が第2の属性の属性値に関連付けられた第1の属性の属性値を有する複数のエントリが記録媒体内に格納される場合、CPU1212は、第1の属性の属性値が指定される、条件に一致するエントリを当該複数のエントリの中から検索し、当該エントリ内に格納された第2の属性の属性値を読み取り、それにより予め定められた条件を満たす第1の属性に関連付けられた第2の属性の属性値を取得してよい。 Various types of information such as various types of programs, data, tables, and databases may be stored in recording media and processed. The CPU 1212 describes various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, and information retrieval described in various parts of the present disclosure with respect to the data read from the RAM 1214. Various types of processing may be performed, including / replacement, etc., and the results are written back to the RAM 1214. Further, the CPU 1212 may search for information in a file, database, or the like in the recording medium. For example, when a plurality of entries each having an attribute value of the first attribute associated with the attribute value of the second attribute are stored in the recording medium, the CPU 1212 specifies the attribute value of the first attribute. Search for an entry that matches the condition from the plurality of entries, read the attribute value of the second attribute stored in the entry, and associate it with the first attribute that satisfies the predetermined condition. The attribute value of the second attribute obtained may be acquired.

上で説明したプログラムまたはソフトウェアモジュールは、コンピュータ1200上またはコンピュータ1200近傍のコンピュータ可読記憶媒体に格納されてよい。また、専用通信ネットワークまたはインターネットに接続されたサーバーシステム内に提供されるハードディスクまたはRAMのような記録媒体が、コンピュータ可読記憶媒体として使用可能であり、それによりプログラムを、ネットワークを介してコンピュータ1200に提供する。 The program or software module described above may be stored on a computer 1200 or in a computer readable storage medium near the computer 1200. Also, a recording medium such as a hard disk or RAM provided in a dedicated communication network or a server system connected to the Internet can be used as a computer readable storage medium, thereby allowing the program to be transferred to the computer 1200 over the network. offer.

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

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

100 撮像装置
102 撮像部
110 撮像制御部
120 イメージセンサ
150 レンズ制御部
152 レンズ駆動部
154 レンズ
160 TOFセンサ
162 発光部
163 発光素子
164 受光部
165 受光素子
166 発光制御部
167 受光制御部
168 メモリ
170 メモリ
180 表示部
182 操作部
200 レンズ部
1000 UAV
20 UAV本体
50 ジンバル
60 撮像装置
600 遠隔操作装置
1200 コンピュータ
1210 ホストコントローラ
1212 CPU
1214 RAM
1220 入力/出力コントローラ
1222 通信インタフェース
1230 ROM
100 Imaging device 102 Imaging unit 110 Imaging control unit 120 Image sensor 150 Lens control unit 152 Lens drive unit 154 Lens 160 TOF sensor 162 Light emitting unit 163 Light emitting element 164 Light receiving unit 165 Light receiving element 166 Light receiving control unit 167 Light receiving control unit 168 Memory 170 Memory 180 Display unit 182 Operation unit 200 Lens unit 1000 UAV
20 UAV main unit 50 gimbal 60 image pickup device 600 remote control device 1200 computer 1210 host controller 1212 CPU
1214 RAM
1220 Input / Output Controller 1222 Communication Interface 1230 ROM

Claims (6)

TOFセンサである測距センサ及びイメージセンサを備える撮像装置の前記イメージセンサで撮像される画像、及び前記測距センサの測距結果に基づく前記画像の深度マップを取得し、
前記深度マップに基づいて、前記画像から、被写体までの距離に応じた複数の部分画像をクロップし、
前記複数の部分画像ごとにそれぞれのアルゴリズムに従ってシーン認識を実行し、
前記複数の部分画像のそれぞれのシーン認識の結果に基づいて、前記画像のシーンを決定するように構成される回路を備え
前記回路は、
前記深度マップに基づいて、前記画像から、前記撮像装置からの距離が予め定められた距離以下である被写体を含む第1部分画像と、前記撮像装置からの距離が前記予め定められた距離より遠い被写体を含む第2部分画像とをクロップし、
第1アルゴリズムに従って前記第1部分画像に対する第1シーン認識を実行し、
第2アルゴリズムに従って前記第2部分画像に対する第2シーン認識を実行し、
前記第1シーン認識の結果及び前記第2シーン認識の結果に基づいて、前記画像のシーンを決定するように構成され、
前記予め定められた距離は、前記TOFセンサが予め定められた精度以上で測距可能な測距範囲で最も遠い距離である、シーン認識装置。
An image captured by the image sensor of an image pickup device including a distance measurement sensor which is a TOF sensor and an image sensor, and a depth map of the image based on the distance measurement result of the distance measurement sensor are acquired.
Based on the depth map, a plurality of partial images according to the distance from the image to the subject are cropped.
Scene recognition is executed according to each algorithm for each of the plurality of partial images, and the scene recognition is performed.
A circuit configured to determine the scene of the image based on the result of each scene recognition of the plurality of partial images is provided .
The circuit is
Based on the depth map, the first partial image including a subject whose distance from the image pickup device is equal to or less than a predetermined distance from the image, and the distance from the image pickup device are farther than the predetermined distance. Crop the second part image including the subject,
The first scene recognition for the first partial image is executed according to the first algorithm,
The second scene recognition for the second partial image is executed according to the second algorithm.
It is configured to determine the scene of the image based on the result of the first scene recognition and the result of the second scene recognition.
The predetermined distance is the farthest distance in the distance measuring range in which the TOF sensor can measure a distance with a predetermined accuracy or higher .
それぞれの前記アルゴリズムは、異なるアルゴリズムである、請求項1に記載のシーン認識装置。 The scene recognition device according to claim 1, wherein each of the algorithms is a different algorithm. 前記回路は、前記複数の部分画像が前記画像に占めるそれぞれの割合にさらに基づいて、前記画像のシーンを決定するように構成される、請求項1に記載のシーン認識装置。 The scene recognition device according to claim 1, wherein the circuit is configured to determine a scene of the image based on the ratio of each of the plurality of partial images to the image. 請求項1からの何れか1つに記載のシーン認識装置と、
前記測距センサと、
前記イメージセンサと
を備え、
前記回路は、決定された前記画像のシーンに基づいて、撮像条件及び画像処理条件の少なくとも一方を決定するように構成される、撮像装置。
The scene recognition device according to any one of claims 1 to 3 .
With the distance measuring sensor
Equipped with the image sensor
The circuit is an imaging device configured to determine at least one of an imaging condition and an image processing condition based on the determined scene of the image.
TOFセンサである測距センサ及びイメージセンサを備える撮像装置の前記イメージセンサで撮像される画像、及び前記測距センサの測距結果に基づく前記画像の深度マップを取得する段階と、
前記深度マップに基づいて、前記画像から、被写体までの距離に応じた複数の部分画像をクロップする段階と、
前記複数の部分画像ごとにそれぞれのアルゴリズムに従ってシーン認識を実行する段階と、
前記複数の部分画像のそれぞれのシーン認識の結果に基づいて、前記画像のシーンを決定する段階とを備え
前記クロップする段階は、
前記深度マップに基づいて、前記画像から、前記撮像装置からの距離が予め定められた距離以下である被写体を含む第1部分画像と、前記撮像装置からの距離が前記予め定められた距離より遠い被写体を含む第2部分画像とをクロップする段階を含み、
前記画像のシーンを決定する段階は、
第1アルゴリズムに従って前記第1部分画像に対する第1シーン認識を実行する段階と、
第2アルゴリズムに従って前記第2部分画像に対する第2シーン認識を実行する段階と、
前記第1シーン認識の結果及び前記第2シーン認識の結果に基づいて、前記画像のシーンを決定する段階と
を含み、
前記予め定められた距離は、前記TOFセンサが予め定められた精度以上で測距可能な測距範囲で最も遠い距離である、シーン認識方法。
A step of acquiring an image captured by the image sensor of an image pickup device including a distance measurement sensor which is a TOF sensor and an image sensor, and a step of acquiring a depth map of the image based on the distance measurement result of the distance measurement sensor.
Based on the depth map, a step of cropping a plurality of partial images according to the distance from the image to the subject, and
The stage of executing scene recognition according to each algorithm for each of the plurality of partial images, and
A step of determining the scene of the image based on the result of each scene recognition of the plurality of partial images is provided .
The cropping stage is
Based on the depth map, the first partial image including a subject whose distance from the image pickup device is equal to or less than a predetermined distance from the image, and the distance from the image pickup device are farther than the predetermined distance. Including the stage of cropping the second part image including the subject,
The stage of determining the scene of the image is
The stage of executing the first scene recognition for the first partial image according to the first algorithm, and
The stage of executing the second scene recognition for the second partial image according to the second algorithm, and
The stage of determining the scene of the image based on the result of the first scene recognition and the result of the second scene recognition.
Including
The predetermined distance is a scene recognition method in which the TOF sensor is the farthest distance in a distance measuring range that can be measured with a predetermined accuracy or higher .
請求項1からの何れか1つに記載のシーン認識装置としてコンピュータを機能させるためのプログラム。 A program for operating a computer as the scene recognition device according to any one of claims 1 to 3 .
JP2020113027A 2020-06-30 2020-06-30 Scene recognition device, image pickup device, scene recognition method, and program Expired - Fee Related JP7043707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020113027A JP7043707B2 (en) 2020-06-30 2020-06-30 Scene recognition device, image pickup device, scene recognition method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020113027A JP7043707B2 (en) 2020-06-30 2020-06-30 Scene recognition device, image pickup device, scene recognition method, and program

Publications (2)

Publication Number Publication Date
JP2022011712A JP2022011712A (en) 2022-01-17
JP7043707B2 true JP7043707B2 (en) 2022-03-30

Family

ID=80148372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020113027A Expired - Fee Related JP7043707B2 (en) 2020-06-30 2020-06-30 Scene recognition device, image pickup device, scene recognition method, and program

Country Status (1)

Country Link
JP (1) JP7043707B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015211233A (en) 2014-04-23 2015-11-24 キヤノン株式会社 Image processing apparatus and image processing apparatus control method
JP2017229033A (en) 2016-06-24 2017-12-28 キヤノン株式会社 Imaging apparatus and control method thereof and program
CN108989783A (en) 2018-08-22 2018-12-11 Oppo广东移动通信有限公司 Electronic device and control method for electronic device
WO2019239715A1 (en) 2018-06-11 2019-12-19 富士フイルム株式会社 Imaging device, imaging method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015211233A (en) 2014-04-23 2015-11-24 キヤノン株式会社 Image processing apparatus and image processing apparatus control method
JP2017229033A (en) 2016-06-24 2017-12-28 キヤノン株式会社 Imaging apparatus and control method thereof and program
WO2019239715A1 (en) 2018-06-11 2019-12-19 富士フイルム株式会社 Imaging device, imaging method, and program
CN108989783A (en) 2018-08-22 2018-12-11 Oppo广东移动通信有限公司 Electronic device and control method for electronic device

Also Published As

Publication number Publication date
JP2022011712A (en) 2022-01-17

Similar Documents

Publication Publication Date Title
JP6768997B1 (en) Control devices, imaging devices, moving objects, control methods, and programs
JP6630939B2 (en) Control device, imaging device, moving object, control method, and program
JP2020012878A (en) Control device, moving object, control method, and program
JP2019216343A (en) Determination device, moving body, determination method, and program
JP6543875B2 (en) Control device, imaging device, flying object, control method, program
JP6961889B1 (en) Control device, imaging device, control method, and program
US11125970B2 (en) Method for lens autofocusing and imaging device thereof
JP7043707B2 (en) Scene recognition device, image pickup device, scene recognition method, and program
JP2020016703A (en) Control device, moving object, control method, and program
JP6801161B1 (en) Image processing equipment, imaging equipment, moving objects, image processing methods, and programs
JP2019161486A (en) Dynamic body detection device, control device, moving body, dynamic body detection method, and program
JP6972456B1 (en) Distance measuring sensor, image pickup device, control method, and program
JP2021085893A (en) Control device, image capturing device, control method, and program
WO2021031840A1 (en) Device, photographing apparatus, moving body, method, and program
JP6790318B2 (en) Unmanned aerial vehicles, control methods, and programs
JP6818987B1 (en) Image processing equipment, imaging equipment, moving objects, image processing methods, and programs
JP7173657B2 (en) Control device, imaging device, control method, and program
WO2019223614A1 (en) Control apparatus, photographing apparatus, moving body, control method, and program
JPWO2018185940A1 (en) Imaging control apparatus, imaging apparatus, imaging system, moving object, imaging control method, and program
JP2021032990A (en) Control devices, imaging systems, control methods, and programs
JP6547984B2 (en) CONTROL DEVICE, IMAGING DEVICE, IMAGING SYSTEM, MOBILE OBJECT, CONTROL METHOD, AND PROGRAM
CN112313943A (en) Apparatus, imaging apparatus, moving body, method, and program
JP6805448B2 (en) Control devices, imaging systems, moving objects, control methods, and programs
JP2022024252A (en) Control device, distance measuring sensor, imaging device, control method, and program
JP7043706B2 (en) Control device, imaging system, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220201

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220215

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220218

R150 Certificate of patent or registration of utility model

Ref document number: 7043707

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees