JP2019174308A - Imaging device, distance calculation method for imaging device, and distance calculation program for imaging device - Google Patents
Imaging device, distance calculation method for imaging device, and distance calculation program for imaging device Download PDFInfo
- Publication number
- JP2019174308A JP2019174308A JP2018063399A JP2018063399A JP2019174308A JP 2019174308 A JP2019174308 A JP 2019174308A JP 2018063399 A JP2018063399 A JP 2018063399A JP 2018063399 A JP2018063399 A JP 2018063399A JP 2019174308 A JP2019174308 A JP 2019174308A
- Authority
- JP
- Japan
- Prior art keywords
- light
- distance
- subject
- reference distance
- pixel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Measurement Of Optical Distance (AREA)
- Studio Devices (AREA)
- Optical Radar Systems And Details Thereof (AREA)
Abstract
Description
本発明の実施形態は、被写体までの距離画像を取得する撮像装置、撮像装置の距離算出
方法及び撮像装置の距離算出プログラムに関する。
Embodiments described herein relate generally to an imaging apparatus that acquires a distance image to a subject, a distance calculation method for the imaging apparatus, and a distance calculation program for the imaging apparatus.
一般に、被写体までの距離を測定できるTOF(Time Of Flight)カメラなどの3次元
カメラが知られている。TOFカメラは、照射光が被写体に当たって撮像部に戻ってくる
までの時間により、距離を測定する技術である。しかし、被写体が細い円柱など平面が少
ない形状の場合、照射光が被写体により拡散し、反射光の受光量が減少してしまうため、
十分な精度で距離の測定ができないという問題がある。また、被写体が局所的に鏡面反射
するような場合は、鏡面反射した箇所の反射光が撮像部に戻らない場合や、光源からの照
射光のほとんどが撮像部に戻り、撮像部が飽和して距離を算出できない、という問題があ
る。このような例はビニールのような凹凸のある被写体や、アルミ箔で被写体を覆ったよ
うなケースで発生する。
In general, a three-dimensional camera such as a TOF (Time Of Flight) camera capable of measuring a distance to a subject is known. The TOF camera is a technique for measuring a distance based on a time until irradiation light hits a subject and returns to an imaging unit. However, if the subject has a shape with few planes, such as a thin cylinder, the irradiation light is diffused by the subject and the amount of reflected light received decreases.
There is a problem that the distance cannot be measured with sufficient accuracy. In addition, when the subject is specularly reflected locally, the reflected light from the specularly reflected part does not return to the imaging unit, or most of the irradiation light from the light source returns to the imaging unit and the imaging unit is saturated. There is a problem that the distance cannot be calculated. Such an example occurs in a case where the subject is uneven, such as vinyl, or the subject is covered with aluminum foil.
本発明が解決しようとする課題は、被写体までの距離を高精度に測定できる撮像装置、
撮像装置の距離算出方法、及び撮像装置の距離算出プログラムを提供することである。
The problem to be solved by the present invention is an imaging device capable of measuring the distance to a subject with high accuracy,
An object is to provide a distance calculation method for an imaging apparatus and a distance calculation program for the imaging apparatus.
実施形態によれば、撮像装置は、3つ以上の光源と、撮像部と、参照距離算出部と、記
憶部と、距離選択部とを備える。3つ以上の光源は、光を被写体に照射する。撮像部は、
光源が照射した光の被写体からの反射光を受光する。参照距離算出部は、3つ以上の光源
のうち、少なくとも1つの光源を除く光源が光を照射する点灯光源の組合せにより、光を
照射してから撮像部が被写体からの反射光を受光するまでの時間に基づいて、それぞれの
点灯光源の組合せにおいて画素ごとに前記被写体までの参照距離を算出して、参照距離画
像を生成する。記憶部は参照距離算出部が生成した参照距離画像における画素ごとの参照
距離と、参照距離を算出するのに用いた被写体からの反射光の受光量とを対応付けて記憶
する。距離選択部は、記憶部に記憶された参照距離のうち有効な距離が算出された参照距
離と受光量とに基づいて、所定の参照距離を画素ごとに当該画素における被写体までの距
離として選択する。
According to the embodiment, the imaging apparatus includes three or more light sources, an imaging unit, a reference distance calculation unit, a storage unit, and a distance selection unit. Three or more light sources irradiate the subject with light. The imaging unit
The reflected light from the subject of the light irradiated by the light source is received. The reference distance calculation unit is a combination of lighting light sources in which light sources other than at least one light source among three or more light sources emit light, and from when the imaging unit receives reflected light from the subject. On the basis of this time, a reference distance to the subject is calculated for each pixel in each combination of lighting light sources to generate a reference distance image. The storage unit stores the reference distance for each pixel in the reference distance image generated by the reference distance calculation unit and the received light amount of the reflected light from the subject used to calculate the reference distance. The distance selection unit selects a predetermined reference distance for each pixel as a distance to the subject on the basis of the reference distance for which an effective distance is calculated from the reference distances stored in the storage unit and the received light amount. .
以下、実施形態に係る撮像装置1を、図面を用いて説明する。
図1(A)は、実施形態に係る撮像装置1としてのTOFカメラの外観の一例を示す正面
図である。撮像装置1は、被写体に光を照射する複数の光源2a乃至2f、撮像部3を備
える。なお、光源については、図1に示した6個の光源2a乃至2fを個々に区別する必
要がないときは、光源2と略記する。
Hereinafter,
FIG. 1A is a front view illustrating an example of the appearance of a TOF camera as the
撮像装置1は、光源2からの照射光が被写体に当たって、撮像部3で受光するまでの時
間に基づいて、被写体までの距離を画素ごとに測定することが可能に構成されている。ま
た、撮像装置1は、測定した距離の情報を画素ごとに表わした距離画像を生成することが
可能である。
The
光源2は、撮像部3の周囲に3つ以上設置され、図1(A)では6つの光源2から光を
被写体に向けて照射する。光源2が照射する光は、赤外線でも良いし、可視光でも良く、
撮像部3が受光することが可能な波長帯の光であれば良い。また、光源2は、被写体に照
射する光量、もしくは照射強度を高めるために、それぞれの光源に複数のLED光源を有
しても良い。
Three or
Any light in a wavelength band that can be received by the
光源2は6つの光源2のうち、少なくとも1つの光源2を除く光源2が光を照射する点
灯光源の組合せにより光源2を点灯させる。図1(B)は光源2の点灯の組合せを示す図
であり、光源2a乃至2fのうち少なくとも1つを除く光源2を順次点灯させる組合せを
示している。
The
なお、光源2の設置位置、個数は図1に限定されるものではない。例えば、図1におい
て光源2は、撮像部3を中心に対称に設置されているが、非対称に設置されても良い。ま
た、光量を増加したいときはそれぞれの光源2a乃至2fに複数のLEDを配置してもよ
い。
In addition, the installation position and the number of the
撮像部3は、光源2が照射した光の被写体からの反射光を受光し、2次元画像を撮像す
る。例えば、撮像部3は、被写体からの反射光を、図示しない開口部、レンズ、受光部を
介して受光する。
The
開口部は、レンズに入射する光量を調節するための絞りである。また、レンズは、被写
体からの光を受光部に集光する。なお、レンズは、1枚に限らず、例えば、複数枚を組み
合わせることで、フォーカスレンズや、ズームレンズを構成しても良い。受光部は、イメ
ージセンサなどの受光素子である。
The opening is a stop for adjusting the amount of light incident on the lens. The lens condenses light from the subject on the light receiving unit. The number of lenses is not limited to one, and a focus lens or a zoom lens may be configured by combining a plurality of lenses, for example. The light receiving unit is a light receiving element such as an image sensor.
次に、図2を用いて、撮像装置1が備える制御部について説明する。図2は実施形態に
係る撮像装置1が備える機能構成の一例を示すブロック図である。
Next, the control part with which the
制御部4は、図示しないCPUを備え、撮像装置1が有する各構成部の動作を統括的に
制御する。また、制御部4は、参照距離算出部5、2次元画像生成部6、発光制御部7、
記憶部8、距離選択部9、距離画像出力部10を備える。
The
A
参照距離算出部5は、撮像部3が受光した被写体からの反射光に基づいて、被写体まで
の距離である参照距離を算出する処理を行う。つまり、参照距離算出部5は、3つ以上の
光源2のうち、少なくとも1つの光源2を除く光源2が光を照射する点灯光源の組合せに
より、光を照射してから撮像部3が被写体からの反射光を受光するまでの時間に基づいて
、それぞれの点灯光源の組合せにおいて画素ごとに被写体までの参照距離を算出し、参照
距離画像を生成する。
The reference
また、例えば被写体によって鏡面反射した光が全て撮像部3に到達した画素については
、撮像部3の受光量が飽和して有効な参照距離が得られないことがある。また、逆に鏡面
反射した光が撮像部3以外の方向に反射して撮像部3の受光量が不足して有効な参照距離
が得られない画素も存在する場合がある。つまり、参照距離算出部5は、有効な距離が算
出できず、距離を0とする場合がある。
Further, for example, with respect to a pixel in which all of the light specularly reflected by the subject reaches the
2次元画像生成部6は、撮像部3が受光した光に基づいて、2次元画像を生成する。な
お、参照距離算出部5が算出する被写体までの参照距離、参照距離画像は、2次元画像生
成部6が生成する2次元画像の画素毎に算出される。
The two-dimensional
2次元画像は、光源2が照射した光の被写体からの反射光に基づいて2次元画像生成部
6によって生成されるため、グレースケール画像や、赤外画像など、光源に依存した種類
の画像である。
Since the two-dimensional image is generated by the two-dimensional
発光制御部7は、6つの光源2に対し、図1(B)に示すようにそれぞれ独立に点灯と
消灯を制御する。被写体を撮像する際には、6つの光源2のうち、少なくとも1つの光源
2を除く光源2が光を照射する点灯光源の組合せに従って、光源2を点灯させる。
The light
また、制御部4は、被写体までの参照距離を測定する際には、全ての点灯光源の組合せ
に対して撮像を行うように各部を制御しても良いし、特定の点灯光源の組合せに対して撮
像を行うように各部を制御しても良い。
In addition, when measuring the reference distance to the subject, the
記憶部8は、図示しないがROM(Read Only Memory)や、RAM(Random Access Me
mory)などで構成されるメモリである。ROMは、制御プログラム及び制御データなどが
予め記憶された不揮発性のメモリである。ROMに記憶される制御プログラム及び制御デ
ータは、制御部4の仕様に応じて予め組み込まれる。ROMは、たとえば、制御部4の回
路基板を制御するプログラムなどを格納する。
Although not shown, the
memory). The ROM is a non-volatile memory in which a control program, control data, and the like are stored in advance. The control program and control data stored in the ROM are incorporated in advance according to the specifications of the
RAMは、揮発性のメモリである。RAMは、制御部4の処理中のデータなどを一時的
に格納する。ROMは、制御部4からの命令に基づき種々のアプリケーションプログラム
を格納する。また、ROMは、アプリケーションプログラムの実行に必要なデータ及びア
プリケーションプログラムの実行結果などを格納してもよい。
The RAM is a volatile memory. The RAM temporarily stores data being processed by the
さらに、記憶部8は、参照距離算出部5が生成した参照距離画像における画素ごとの参
照距離と、当該参照距離を算出するのに用いた被写体からの反射光の受光量とを対応付け
て記憶する。また、記憶部8は、2次元画像生成部6が生成する2次元画像を記憶しても
良い。さらに、記憶部8は、後述する距離画像出力部10が出力する距離画像を記憶する
。
Further, the
距離選択部9は、記憶部8に記憶された参照距離のうち有効な距離が算出された参照距
離と受光量とに基づいて、所定の参照距離を画素ごとに当該画素における被写体までの距
離として選択する。例えば、距離選択部9は、それぞれの点灯光源の組合せにおいて、各
画素における最も多くの受光量が記憶されている参照距離を当該画素における被写体まで
の距離として選択する。或いは、距離選択部9は、それぞれの点灯光源の組合せにおいて
、各画素における所定の範囲内で最も多くの受光量が記憶されている参照距離を当該画素
における被写体までの距離として選択する、としても良い。
The
距離画像出力部10は、距離選択部9によって選択された各画素の距離を距離画像とし
て出力する。
The distance
次に、図3及び図4を用いて参照距離算出部5が画素ごとに参照距離を算出する方法を
説明する。まず、図3は、実施形態に係る撮像装置1を用いた撮像状況の一例を示す図で
ある。図3には、撮像装置1の正面に直方体の物体12と、撮像装置1と物体12との間
に柵11がある状況を示す。なお、物体12は、撮像装置1から見ると物体12の一面の
みが見える角度で位置しているとする。
Next, a method in which the reference
図4は、実施形態に係る撮像装置1が取得する参照距離画像の画素の一例を示す図であ
る。また、図4に示す画素は、図3の撮像状況において、撮像した画素の一例である。な
お、図4の画素は、光源2b、2eを点灯させた点灯光源の組合せにおいて撮像されたも
のとする。また、説明を簡易にするために、図4に示す画素の行と列にはそれぞれアルフ
ァベットと数字を振っている。例えば、一番左上に位置する画素はA行1列と呼称する。
FIG. 4 is a diagram illustrating an example of pixels of the reference distance image acquired by the
また、各画素に記載されている数値は、被写体までの距離を意味しており、数字が大き
いほど被写体までの距離が遠いこととしている。ただし、数値0の画素は距離を算出する
ことができなかったことを意味している。数値0の画素が意味する、距離を算出すること
ができないとは、例えば被写体までの距離が遠すぎる場合や、受光する光量が少なすぎる
場合や、受光する光量が多すぎるため撮像部3が飽和してしまうなどである。
The numerical value described in each pixel means the distance to the subject, and the larger the number, the farther the distance to the subject. However, a pixel with a numerical value of 0 means that the distance could not be calculated. The
図4に示す画素には、5列と8列を除く、B行4列とB行9列とF行4列とF行9列の
画素を頂点とする四角形の範囲に数値6が示されている。これは、物体12の平面までの
距離が示されたもので、5列と8列は柵11によって物体12が遮られていることを示し
ている。TOFカメラは、一般的に、平面までの距離を測定するには有利であるが、エッ
ジである柵11までの距離については照射光が拡散してしまうため、測定するには不利で
あることを例示した極端な例である。
In the pixel shown in FIG. 4, a
ここで、図4では、光源2b、2eを点灯させた点灯光源の組合せにより撮像したが、
光源2b、2eに加え、例えば、光源2a、2dを点灯させた場合、位置、角度が違う光
源2からの光の照射が与えられるため、柵11までの距離を算出できる場合がある。従っ
て、ある点灯光源の組合せでは、ある画素の被写体までの距離を算出できなかったとして
も、他の点灯光源の組合せを用いることで、その画素の被写体までの距離を算出でき、算
出結果を補完することが可能である。
Here, in FIG. 4, imaging is performed by a combination of lighting light sources in which the
In addition to the
図1では、6個の光源2を設置しているため、6つの光源2のうち、少なくとも1つの
光源2を除く光源2が光を照射する点灯光源の組合せは図1(B)に示すように63通り
存在する。この場合、63通り全てに対して距離を算出すると、組合せが多すぎるため、
かえって不便となることも考えられる。従って、参照距離を算出する点灯光源の組合せは
、事前に制限するよう設定しても良い。例えば、6つの光源2のうち、少なくとも1つの
光源2を除く光源2が点灯するのであれば、撮像部3との距離が短い光源2b、2eは必
ず点灯させるとしても良い。また、光源2の数は6つに限らず3つ以上あればよい。
In FIG. 1, since six
On the contrary, it may be inconvenient. Therefore, the combination of the lighting light sources for calculating the reference distance may be set to be limited in advance. For example, the
次に、図5を用いて、実施形態に係る撮像装置1が備える記憶部8が、参照距離と、当
該参照距離を算出するのに用いた被写体からの反射光の受光量とを対応付けて記憶するデ
ータについて説明する。図5は、実施形態に係る撮像装置1が備える記憶部8が、記憶す
るデータの一例を示す図である。
Next, with reference to FIG. 5, the
図5では、図4の撮像装置1が取得した参照距離画像の画素の一例を示す図である。点
灯光源の組合せを10例、画素をA行11列目、及びB行の1列目から7列目までの、参
照距離と受光量とを対応付けたデータとして示している。なお、受光量は100%を最大
とした比率で示している。
FIG. 5 is a diagram illustrating an example of pixels of the reference distance image acquired by the
図5に示すようにA行11列目は全て10%以下の受光量であるので有効な受光量でな
いとして参照距離は有効でない「0」となっている。また、B行の1列目から3列目も受
光量は10%以下であるので有効な受光量ではないので、参照距離は有効でない「0」と
なっている。次に、B行4列目は全てが有効な受光量である。この組合せの中で最大の受
光量を示しているのは3番目と4番目の組合せで、いずれも90%の受光量である。この
ため、最大の受光量と対応付けて記憶されている「6.0」の参照距離がB行4列目の距
離として選択されることになる。
同様にB行6列目についても、90%の受光量が最大であるので、この最大の受光量に対
応付けて記憶されている3番目乃至5番目の組合せである、参照距離「6.0」がB行6
列目の距離として選択される。B行7列目は4番目と5番目の組合せで90%の受光量が
最大の受光量であるのでこの受光量に対応付けて記憶されている参照距離「6.0」のB
行7列目の距離として選択される。
As shown in FIG. 5, the Ath row and the eleventh column all have a received light amount of 10% or less, so the reference distance is “0” which is not effective because it is not an effective received light amount. Also, the first to third columns of the B row are not effective since the amount of received light is 10% or less, so the reference distance is “0” which is not effective. Next, the B row and the fourth column are all effective received light amounts. Among these combinations, the third and fourth combinations show the maximum amount of received light, and both are 90% received. For this reason, the reference distance of “6.0” stored in association with the maximum received light amount is selected as the distance in the Bth row and the fourth column.
Similarly, since the 90% received light amount is the maximum for the Bth row and the 6th column, the reference distance “6.0, which is the third to fifth combinations stored in association with the maximum received light amount. Is
It is selected as the distance of the column. In the Bth row and the 7th column, 90% of the received light amount is the maximum received light amount in the fourth and fifth combination, and therefore the reference distance “6.0” stored in association with this received light amount is B.
It is selected as the distance in
なお、上記の実施形態では最大の受光量に対応付けて記憶された参照距離を選択するよ
うにしたが、受光量が大きすぎると飽和して正確な距離を得られないときは有効な受光量
を例えば15〜89%と設定したときは、上記の例では88%の受光量が所定の範囲内で
の最も多い受光量であるので、それに対応付けて記憶された参照距離「5.9」が当該画
素の距離として選択される。
次に、図6を用いて、実施形態に係る撮像装置1が備える制御部4が、被写体までの距離
を算出する方法を説明する。図6は、実施形態に係る撮像装置1が備える制御部4が、被
写体までの距離を算出する流れの一例を示すフローチャートである。
In the above embodiment, the reference distance stored in association with the maximum amount of received light is selected. However, if the amount of received light is too large, it is saturated and an accurate distance cannot be obtained. Is set to 15 to 89%, for example, in the above example, the received light amount of 88% is the largest received light amount within the predetermined range, so the reference distance “5.9” stored in association with it is stored. Is selected as the distance of the pixel.
Next, a method in which the
まず、制御部4は、設定された全ての点灯光源の組合せにおいて参照距離を算出する(
ステップS00)。次に、制御部4は、任意の画素を一つ選択し(ステップS01)、全
ての参照距離の選択した画素に対応する画素の参照距離のうち、数値が0でない有効な参
照距離が存在するか否かを判定する(ステップS03)。制御部4は、有効な参照距離が
存在する場合(ステップS03、Yes)、選択した画素に対応し、距離が算出できなか
った数値0を除く有効な参照距離のうち、所定の条件を満たす参照距離を被写体までの距
離として選択する(ステップS05)。なお、所定の条件とは、例えば最も多くの受光量が
記憶されている参照距離、或いは各画素における所定の範囲内で最も多くの受光量が記憶
されている参照距離などである。所定の範囲とは、例えば撮像部3が飽和してしまう受光
量の5割から8割の範囲などである。
First, the
Step S00). Next, the
また、ステップS03において、有効な参照距離が存在しない場合(ステップS03、
No)、制御部4は、数値0を被写体までの距離として選択する(ステップS07)。
In step S03, when there is no effective reference distance (step S03,
No), the
次に、制御部4は、全ての画素に対して処理を行ったか判定し(ステップS09)、全
ての画素に対して処理を行ったと判定した場合(ステップS09、Yes)、選択された
各画素の距離を距離画像として出力し(ステップS10)、処理を終了する。
Next, the
また、全ての画素に対して処理を行っていないと判定した場合(ステップS09、No
)、処理をステップS01に戻して次の画素に対する選択処理を実行する。
Further, when it is determined that processing has not been performed for all the pixels (step S09, No)
), The process is returned to step S01, and the selection process for the next pixel is executed.
以上の流れで動作を実行することにより、実施形態に係る撮像装置1は、光源2から照
射される光が被写体によって拡散されてしまうことが少ない、かつ、受光量が多すぎて撮
像部3が飽和しない最適な点灯光源の組合せにより得られる被写体までの距離を画素ごと
に選択することができる。その結果、被写体までの距離をより高精度に測定することが可
能である。
By performing the operation according to the above flow, the
なお、上記の実施形態では6つの光源2を例に説明したが、光源2は3つ以上であれば
良く、その数は制限されるものではない。
In the above embodiment, six
また、上記した実施形態の撮像装置1における処理はいくつかのソフトウェアによって
実行することが可能である。このため、上記処理の手順を実行するいくつかのプログラム
を格納したコンピュータ読み取り可能な記憶媒体を通じてこれらプログラムを撮像装置1
(TOFカメラ)へインストールして実行するだけで、上記処理を容易に実現することが
できる。例えば、撮像装置1は、上記プログラムをネットワーク経由でダウンロードし、
ダウンロードしたプログラムを記憶し、プログラムのインストールを完了することができ
る。或いは、撮像装置1は、上記プログラムを情報記憶媒体から読み取り、読み取ったプ
ログラムを記憶し、プログラムのインストールを完了することができる。
Moreover, the process in the
The above-described processing can be easily realized simply by installing it on the (TOF camera) and executing it. For example, the
Stores downloaded programs and completes program installation. Alternatively, the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したも
のであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その
他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の
省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や
要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる
。
Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1 撮像装置
2、2a、2b、2d、2e、2f 光源
3 撮像部
4 制御部
5 参照距離算出部
6 次元画像生成部
7 発光制御部
8 記憶部
9 距離選択部
10 距離画像出力部
11 柵
12 物体
DESCRIPTION OF
Claims (6)
前記光源が照射した光の前記被写体からの反射光を受光する撮像部と、
前記3つ以上の光源のうち、少なくとも1つの光源を除く光源が光を照射する点灯光源
の組合せにより、光を照射してから前記撮像部が前記被写体からの反射光を受光するまで
の時間に基づいて、それぞれの前記点灯光源の組合せにおいて画素ごとに前記被写体まで
の参照距離を算出して参照距離画像を生成する参照距離算出部と、
前記参照距離算出部が生成した前記参照距離画像における画素ごとの前記参照距離と、
前記参照距離を算出するのに用いた前記被写体からの反射光の受光量とを対応付けて記憶
する記憶部と、
前記記憶部に記憶された前記参照距離のうち有効な距離が算出された前記参照距離と前
記受光量とに基づいて、所定の参照距離を画素ごとに当該画素における前記被写体までの
距離として選択する距離選択部と、
を備える撮像装置。 Three or more light sources that irradiate the subject with light;
An imaging unit that receives reflected light from the subject of light emitted by the light source;
Of the three or more light sources, a combination of a lighting light source that emits light from at least one light source, and a time from when the imaging unit receives reflected light from the subject after irradiation with light. A reference distance calculating unit that calculates a reference distance to the subject for each pixel in each combination of the lighting light sources and generates a reference distance image;
The reference distance for each pixel in the reference distance image generated by the reference distance calculator;
A storage unit for storing the received light amount of reflected light from the subject used to calculate the reference distance in association with each other;
A predetermined reference distance is selected for each pixel as a distance to the subject on the basis of the reference distance for which an effective distance is calculated among the reference distances stored in the storage unit and the received light amount. A distance selector;
An imaging apparatus comprising:
くの受光量が記憶されている前記参照距離を当該画素における前記被写体までの距離とし
て選択する、
請求項1に記載の撮像装置。 The distance selection unit selects, as the distance to the subject in the pixel, the reference distance in which the most received light amount in each pixel is stored in each combination of the lighting light sources.
The imaging device according to claim 1.
範囲内で最も多くの受光量が記憶されている前記参照距離を当該画素における前記被写体
までの距離として選択する、
請求項1に記載の撮像装置。 The distance selection unit selects, as the distance to the subject in the pixel, the reference distance in which the most received light amount is stored in a predetermined range in each pixel in each combination of the lighting light sources.
The imaging device according to claim 1.
力部、
をさらに備える請求項1乃至請求項3のいずれか1項に記載の撮像装置。 A distance image output unit that outputs the distance of each pixel selected by the distance selection unit as a distance image;
The imaging device according to any one of claims 1 to 3, further comprising:
、
前記3つ以上の光源のうち、少なくとも1つの光源を除く光源が光を照射する点灯光源
の組合せにより、光を照射してから前記被写体からの反射光を受光するまでの時間に基づ
いて、それぞれの前記点灯光源の組合せにおいて画素ごとに前記被写体までの参照距離を
算出して参照距離画像を生成し、
生成した前記参照距離画像における画素ごとの前記参照距離と、前記参照距離を算出す
るのに用いた前記被写体からの反射光の受光量とを対応付けて記憶し、
記憶された前記参照距離のうち有効な距離が算出された前記参照距離と前記受光量とに
基づいて、所定の参照距離を画素ごとに当該画素における前記被写体までの距離として選
択する、
撮像装置の距離算出方法。 Receiving light reflected from the subject by three or more light sources that irradiate the subject with light;
Of the three or more light sources, a combination of lighting light sources that emit light from at least one light source, based on the time from irradiating light to receiving reflected light from the subject, A reference distance image is calculated by calculating a reference distance to the subject for each pixel in the combination of the lighting light source,
Storing the reference distance for each pixel in the generated reference distance image in association with the amount of reflected light received from the subject used to calculate the reference distance;
A predetermined reference distance is selected as a distance to the subject in the pixel for each pixel based on the reference distance for which an effective distance is calculated from the stored reference distances and the received light amount.
The distance calculation method of an imaging device.
前記TOFカメラに、
光を被写体に照射する3つ以上の光源が照射した光の前記被写体からの反射光を受光す
る手順と、
前記3つ以上の光源のうち、少なくとも1つの光源を除く光源が光を照射する点灯光源
の組合せにより、光を照射してから前記被写体からの反射光を受光するまでの時間に基づ
いて、それぞれの前記点灯光源の組合せにおいて画素ごとに前記被写体までの参照距離を
算出して参照距離画像を生成する手順と、
生成した前記参照距離画像における画素ごとの前記参照距離と、前記参照距離を算出す
るのに用いた前記被写体からの反射光の受光量とを対応付けて記憶する手順と、
記憶された前記参照距離のうち有効な距離が算出された前記参照距離と前記受光量とに
基づいて、所定の参照距離を画素ごとに当該画素における前記被写体までの距離として選
択する手順と、
選択された各画素の距離を距離画像として出力する手順と、
を実行させる撮像装置の距離算出プログラム。 A program for controlling a TOF camera having three or more light sources,
To the TOF camera,
Receiving light reflected from the subject by three or more light sources that irradiate the subject with light;
Of the three or more light sources, a combination of lighting light sources that emit light from at least one light source, based on the time from receiving light to receiving reflected light from the subject, A procedure for calculating a reference distance to the subject for each pixel in the combination of the lighting light source and generating a reference distance image;
A procedure for storing the reference distance for each pixel in the generated reference distance image and the received light amount of the reflected light from the subject used to calculate the reference distance in association with each other;
A procedure for selecting a predetermined reference distance as a distance to the subject in the pixel for each pixel based on the reference distance for which an effective distance is calculated from the stored reference distances and the received light amount;
A procedure for outputting the distance of each selected pixel as a distance image;
The distance calculation program of the imaging device that executes
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018063399A JP2019174308A (en) | 2018-03-29 | 2018-03-29 | Imaging device, distance calculation method for imaging device, and distance calculation program for imaging device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018063399A JP2019174308A (en) | 2018-03-29 | 2018-03-29 | Imaging device, distance calculation method for imaging device, and distance calculation program for imaging device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019174308A true JP2019174308A (en) | 2019-10-10 |
Family
ID=68168846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018063399A Pending JP2019174308A (en) | 2018-03-29 | 2018-03-29 | Imaging device, distance calculation method for imaging device, and distance calculation program for imaging device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019174308A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021091105A1 (en) * | 2019-11-06 | 2021-05-14 | Samsung Electronics Co., Ltd. | Electronic apparatus and control method thereof |
-
2018
- 2018-03-29 JP JP2018063399A patent/JP2019174308A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021091105A1 (en) * | 2019-11-06 | 2021-05-14 | Samsung Electronics Co., Ltd. | Electronic apparatus and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6597150B2 (en) | Distance measuring device, distance measuring method, distance measuring program, and table creation method | |
US10041787B2 (en) | Object detection device | |
US11561290B2 (en) | Distance image generating device and distance image generating method | |
JP6484071B2 (en) | Object detection device | |
US10638038B2 (en) | System and method for enhancing the intrinsic spatial resolution of optical sensors | |
CA2957514C (en) | Structured light for 3d sensing | |
US10094656B2 (en) | Chromatic confocal sensor and measurement method | |
JP6073501B2 (en) | Method and apparatus for generating a variable illumination pattern infrared illumination beam | |
EP2657782A3 (en) | Image forming apparatus that controls correction of image forming positions and method of controlling the same | |
US11385184B2 (en) | System and method for optical inspection of an object | |
JP2017003469A (en) | Three-dimensional measurement device, three-dimensional measurement device control method and program | |
JPWO2018193609A1 (en) | Distance measuring device and moving object | |
JP2021500742A5 (en) | ||
JP2019174308A (en) | Imaging device, distance calculation method for imaging device, and distance calculation program for imaging device | |
JP6601264B2 (en) | Lighting condition setting device, lighting condition setting method, and lighting condition setting computer program | |
JP7042582B2 (en) | Image pickup device and distance calculation method for image pickup device | |
US20200258246A1 (en) | Inspection Device | |
US20230216273A1 (en) | Diffuse illumination and multimode illumination devices | |
WO2022254854A1 (en) | Three-dimensional measurement device | |
JP2011133360A (en) | Distance measuring device, distance measurement method, and program | |
TWI719383B (en) | Multi-image projector and electronic device having multi-image projector | |
JP2019164172A (en) | Distance measuring apparatus, distance measuring method, distance measuring program, and table creation method | |
JP2018009977A (en) | Pattern irradiation device, imaging system, and handling system | |
CN111512127A (en) | Apparatus and method for determining spectral information | |
JP2020060377A (en) | Multi-image projector and electronic device having multi-image projector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180831 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20190125 |