JPH10115519A - Apparatus for recognizing position of vehicle - Google Patents
Apparatus for recognizing position of vehicleInfo
- Publication number
- JPH10115519A JPH10115519A JP27002296A JP27002296A JPH10115519A JP H10115519 A JPH10115519 A JP H10115519A JP 27002296 A JP27002296 A JP 27002296A JP 27002296 A JP27002296 A JP 27002296A JP H10115519 A JPH10115519 A JP H10115519A
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- bright
- image
- distance
- preceding vehicle
- 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
- 238000012545 processing Methods 0.000 claims abstract description 23
- 238000005259 measurement Methods 0.000 abstract description 14
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Landscapes
- Traffic Control Systems (AREA)
- Measurement Of Optical Distance (AREA)
- Image Processing (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は車群の走行制御な
どに採用される車両の位置認識装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for recognizing a position of a vehicle which is used for controlling the running of a vehicle group.
【0002】[0002]
【従来の技術】道路利用効率の向上や運転者の負担軽減
などを図るため、先頭車両に複数台の後続車両が1列に
連なる接近追走を行う車群の自動運転システムが開発さ
れている。このような走行システムにおいては、1列に
連なる接近追走を制御する上から、車両間の相対位置を
適確に捉らえる必要があり、そのため先行車両の車体後
面にIR−LED(赤外線LED)を設け、後続車両に
先行車両の車体後面を撮影するIRーカメラと、その画
像を2値画像に変換する手段を設け、その2値画像から
先行車両に対する後続車両の相対位置を計測する認識技
術が知られている(『The second world congress on i
ntelligent transport systems '95 Yokohama』発行 P
roceeding volumeШ P1272~P1277 『Platoon system b
ased opitical inter vehicle communication』)。2. Description of the Related Art In order to improve road use efficiency and reduce a burden on a driver, an automatic driving system for a group of vehicles that performs a close-up run in which a plurality of succeeding vehicles are arranged in a line with a leading vehicle has been developed. . In such a traveling system, it is necessary to accurately grasp the relative position between the vehicles in order to control the approaching and following in a row, and therefore, an IR-LED (infrared LED) is provided on the rear surface of the body of the preceding vehicle. ), An IR camera for photographing the rear surface of the preceding vehicle on the succeeding vehicle, and means for converting the image into a binary image, and a recognition technology for measuring the relative position of the succeeding vehicle with respect to the preceding vehicle from the binary image. Is known ("The second world congress on i
ntelligent transport systems '95 Yokohama 'P
roceeding volumeШ P1272 ~ P1277 『Platoon system b
ased opitical inter vehicle communication ”).
【0003】[0003]
【発明が解決しようとする課題】ところが、この認識技
術ではIRーLEDが2つのため、その1つが故障して
しまうと、車両間の相対位置を捉らえられないという不
具合があった。また、車間距離の計測処理において、I
R−LEDの認識位置のズレが計測誤差に大きく影響
し、この誤差は距離に比例するため、車間距離の計測範
囲を広く取れない。つまり、高い認識精度を期待できな
いという不具合もあった。However, in this recognition technology, since there are two IR-LEDs, if one of them fails, the relative position between the vehicles cannot be detected. In the process of measuring the distance between vehicles, I
The deviation of the recognition position of the R-LED greatly affects the measurement error, and this error is proportional to the distance, so that the measurement range of the inter-vehicle distance cannot be widened. That is, there is a problem that high recognition accuracy cannot be expected.
【0004】この発明はこのような問題点を解決するこ
とを目的とする。An object of the present invention is to solve such a problem.
【0005】[0005]
【課題を解決するための手段】第1の発明では、図10
のように先行車両の車体後面に高明度の識別手段aを設
け、後続車両に先行車両の車体後面を撮影するカメラ手
段bと、その2値画像をもとに先行車両との相対位置を
計測する画像処理手段cを備える認識装置において、先
行車両の車体後面に3つ以上の識別手段aを配置する。In the first invention, FIG.
A high-brightness identification means a is provided on the rear surface of the vehicle body of the preceding vehicle, and a camera means b for photographing the rear surface of the vehicle body of the preceding vehicle on the following vehicle, and the relative position with respect to the preceding vehicle is measured based on the binary image. In the recognition device provided with the image processing means c, three or more identification means a are arranged on the rear surface of the vehicle body of the preceding vehicle.
【0006】第2の発明では、第1の発明における図1
0の画像処理手段cは、入力画像を明度レベルの2値画
像に変換する手段dと、2値画像の各識別手段に対応す
る明点のx方向とy方向のヒストグラムを作成する手段
eと、そのヒストグラムから各明点の座標位置を確定す
る手段fと、これらの座標位置から各明点間距離を計算
する手段gと、その計算値とカメラレンズの焦点距離お
よび実際の明点間距離とから各明点間距離毎に車間距離
を求める手段hと、これらの平均値を車間距離の計測値
として計算する手段iを備える。[0006] In the second invention, FIG.
The image processing means c for converting the input image into a binary image having a lightness level; a means e for generating histograms in the x and y directions of bright points corresponding to each identification means of the binary image; Means f for determining the coordinate position of each bright point from the histogram, means g for calculating the distance between each bright point from these coordinate positions, the calculated value, the focal length of the camera lens and the actual distance between the bright points. And means for calculating an inter-vehicle distance for each bright spot distance, and means for calculating an average value of these as a measured value of the inter-vehicle distance.
【0007】第3の発明では、第1の発明における画像
処理手段cは、図11のように入力画像を明度レベルの
2値画像に変換する手段jと、2値画像の各識別手段に
対応する明点のx方向のヒストグラムを作成する手段k
と、そのヒストグラムからx座標上の明点位置を確定す
る手段mと、これらの少なくとも3点のx座標位置から
2つの明点間距離の比率を計算する手段nと、この比率
とこれに対応する実際の比率との差から先行車両との相
対的なヨー角を求める手段pを備える。In the third invention, the image processing means c in the first invention corresponds to means j for converting an input image into a binary image of a lightness level as shown in FIG. Means k for creating a histogram in the x direction of the bright spot
Means m for determining a bright spot position on the x coordinate from the histogram, means n for calculating the ratio of the distance between two bright points from the x coordinate positions of at least three of these points, Means p for calculating the relative yaw angle with respect to the preceding vehicle from the difference from the actual ratio.
【0008】第4の発明では、第1の発明において、先
行車両の車体後面に識別手段aを2等辺三角形または正
三角形の各角に配置する。In a fourth aspect based on the first aspect, the identification means a is arranged at each corner of an isosceles triangle or equilateral triangle on the rear surface of the vehicle body of the preceding vehicle.
【0009】第5の発明では、第1の発明において、識
別手段aとして赤外線LEDを、カメラ手段bとして赤
外線カメラを設ける。According to a fifth aspect, in the first aspect, an infrared LED is provided as the identification means a and an infrared camera is provided as the camera means b.
【0010】[0010]
【作用】第1の発明では、複数の明点間距離(画像上の
識別手段間の距離)を用い、各識別手段間距離毎に車間
距離が求められ、これらの平均値により車間距離を精度
よく計測できる。識別手段の1つが故障しても、残る2
つの識別手段に基づく計測値が得られる。3つの識別手
段から複数の明点間距離が得られるので、車両間の相対
的なヨー角の計測も可能になる。According to the first aspect of the present invention, a plurality of distances between bright spots (distances between the identification means on the image) are used to determine an inter-vehicle distance for each of the distances between the identification means. Can measure well. If one of the identification means fails, the remaining 2
Measurement values based on the two identification means are obtained. Since a plurality of distances between bright spots can be obtained from the three identification means, it is possible to measure a relative yaw angle between the vehicles.
【0011】第2の発明では、2値画像のx方向とy方
向のヒストグラムから、各明点の座標位置が確定され、
これらの座標位置から各明点間距離を計算する。そし
て、カメラレンズの焦点距離および実際の明点間距離と
から、各明点間距離毎に車間距離が計算され、これらの
平均値を取ることにより、車両距離の計測精度を向上で
きる。In the second invention, the coordinate position of each bright spot is determined from the histograms of the binary image in the x and y directions,
The distance between each bright point is calculated from these coordinate positions. Then, the inter-vehicle distance is calculated for each inter-bright point distance from the focal length of the camera lens and the actual inter-bright point distance, and by taking an average of these distances, the measurement accuracy of the vehicle distance can be improved.
【0012】第3の発明では、2値画像のx方向のヒス
トグラムから、x座標上の明点位置が確定され、これら
の少なくとも3点のx座標位置から2つの明点間距離の
比率を計算する。画像上のx座標位置は透視変換によ
り、先行車両との相対的なヨー角に応じてズレを生じる
ため、x座標上の2つの明点間距離の比率とこれに対応
する実際の比率との差から、先行車両とのヨー角を適確
に計測できる。In the third invention, a bright spot position on the x coordinate is determined from a histogram of the binary image in the x direction, and a ratio of a distance between two bright spots is calculated from the x coordinate positions of at least three points. I do. Since the x-coordinate position on the image shifts in accordance with the relative yaw angle with respect to the preceding vehicle by the perspective transformation, the ratio of the distance between the two bright points on the x-coordinate and the corresponding actual ratio is calculated. From the difference, the yaw angle with respect to the preceding vehicle can be accurately measured.
【0013】第4の発明では、計算処理が容易になるほ
か、2等辺三角形や正三角形の対称軸を車体後面の中心
に位置させることにより、車両間の相対的なヨー角の計
測も容易に図れる。According to the fourth aspect of the present invention, the calculation processing is facilitated, and the relative yaw angle between the vehicles is easily measured by positioning the symmetry axis of the isosceles triangle or the equilateral triangle at the center of the rear surface of the vehicle body. I can do it.
【0014】第5の発明では、昼夜の別なく明瞭な2値
画像が得られる。According to the fifth aspect, a clear binary image can be obtained day and night.
【0015】[0015]
【発明の実施の形態】図1〜図4は先頭車両に複数台の
後続車両が1列に接近追走する車群の走行制御への適用
例を説明するもので、先行車両1の車体後面1aに3つ
のIR−LED2(赤外線LED)が、この例では水平
な底辺を備える2等辺三角形(正三角形でも良い)の各
角に配置される。後続車両3には先行車両1の車体後面
1aを撮影するIR−カメラ4と、その画像処理装置5
が設けられる。なお、車群の先頭車両と最後車両を除く
これらの中間車両は、前方車両に対しては後続車両、後
方車両に対しては先行車両になるので、1台にIR−L
ED2とIR−カメラ4および画像処理装置5を装備す
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIGS. 1 to 4 illustrate an example of application to traveling control of a group of vehicles in which a plurality of succeeding vehicles approach and follow a single line to a leading vehicle. In this example, three IR-LEDs 2 (infrared LEDs) are arranged at each corner of an isosceles triangle (or an equilateral triangle) having a horizontal base in this example. The following vehicle 3 includes an IR-camera 4 for photographing the rear surface 1a of the vehicle body of the preceding vehicle 1 and its image processing device 5
Is provided. In addition, since these intermediate vehicles except the first vehicle and the last vehicle of the vehicle group become the following vehicle with respect to the preceding vehicle and the preceding vehicle with respect to the following vehicle, one IR-L is used.
The ED 2 is equipped with an IR-camera 4 and an image processing device 5.
【0016】画像処理装置5で行われるIR−LED2
の抽出方法を図5において説明すると、IR−カメラ4
の画像は明度レベルに基づく2種類に分類される。この
2値化処理により、図(a)の2値画像が得られる。先
行車両1の車体後面1aを背景にIR−LED2は分離
され、2値画像(a)に3つの明点A1〜A3(明度の高
い画素)を与える。The IR-LED 2 performed by the image processing device 5
The extraction method of FIG. 5 will be described with reference to FIG.
Are classified into two types based on the lightness level. By this binarization processing, the binary image shown in FIG. Prior IR-LED2 against the background of the vehicle body rear 1a of the vehicle 1 are separated to provide a binary image (a) on three bright points A 1 to A 3 (high lightness pixels).
【0017】各明点A1〜A3の座標位置(x1,y1)、
(x2,y2)、(x1,y2)を求めるため、2値画像
(a)からy方向のヒストグラムが作成される。このヒ
ストグラムには2つのピークが出るから、この画像
(a)はヒストグラムの谷で上下2つに分離される。図
(b)は分離後の2値画像を表すもので、2つの画像b
1,b2からそれぞれのx方向のヒストグラムが作成され
る。画像b1のx方向のヒストグラムはピークが1つの
ため、y方向のヒストグラムとx方向のヒストグラムと
から、これらのピークを明点A1の座標位置(x1,
y1)として確定する。The coordinate positions (x 1 , y 1 ) of each of the bright points A 1 to A 3 ,
In order to obtain (x 2 , y 2 ) and (x 1 , y 2 ), a histogram in the y direction is created from the binary image (a). Since this histogram has two peaks, this image (a) is separated into two parts by the valley of the histogram. FIG. 2B shows the binary image after separation, and shows two images b.
1, each of the x-direction histogram from b 2 is created. Image b 1 in the x-direction histogram peak for one, and a y-direction histogram and the x-direction histogram, a coordinate position of the bright point A 1 of these peaks (x 1,
y 1 ).
【0018】画像b2のx方向のヒストグラムはピーク
が2つ出るから、画像b2はヒストグラムの谷で左右2
つに分離される。図(c)は分離後の2値画像を表すも
ので、画像c1のy方向のヒストグラムとx方向のヒス
トグラムとから、これらのピークを明点A2の座標位置
(x2,y2)として確定する。同じく画像c2のy方向
のヒストグラムとx方向のヒストグラムとから、これら
のピークをA3の座標位置(x3,y3)として確定す
る。[0018] Since the x-direction histogram peak image b 2 has two exits, the image b 2 is left in the valley of the histogram 2
Separated into two. FIG. 9C shows the binary image after separation. From the histogram in the y direction and the histogram in the x direction of the image c 1 , these peaks are represented by the coordinate position (x 2 , y 2 ) of the light point A 2. Is determined. Similarly, these peaks are determined as the coordinate position (x 3 , y 3 ) of A 3 from the histogram of the image c 2 in the y direction and the histogram in the x direction.
【0019】このようにして、各IRーLED2の座標
位置(x1,y1)、(x2,y2)、(x1,y2)は抽出
されるが、これらの明点A1〜A3間の距離関係を表す
と、図6のようになる。画像上の明点間距離d1〜d
3は、 d1=[(x3−x2)2+(y3−y2)2]1/2 …(1) d2=[(x2−x1)2+(y2−y1)2]1/2 …(2) d3=[(x1−x3)2+(y1−y3)2]1/2 …(3) で求められる。In this way, the coordinate positions (x 1 , y 1 ), (x 2 , y 2 ) and (x 1 , y 2 ) of each IR-LED 2 are extracted, but these bright points A 1 expressed distant relationships between to a 3, is as shown in FIG. Akira points on the image distance d 1 to d
3, d 1 = [(x 3 -x 2) 2 + (y 3 -y 2) 2] 1/2 ... (1) d 2 = [(x 2 -x 1) 2 + (y 2 -y 1) 2] obtained by the 1/2 ... (2) d 3 = [(x 1 -x 3) 2 + (y 1 -y 3) 2] 1/2 ... (3).
【0020】先行車両1との車間距離を求める場合は、
これら明点間距離d1〜d3の計算値と、実際のIR−L
ED間距離k1〜k3と、IR−カメラ4のレンズ焦点距
離Fとから、明点間距離d1〜d3毎の車間距離z1〜z3
として、 z1=F・k1/d1 …(4) z2=F・k2/d2 …(5) z3=F・k3/d3 …(6) を計算し、これらの平均値 z=(z1+z2+z3)/3 …(7) を求め、この値zを車間距離の計測値とする。When obtaining the inter-vehicle distance from the preceding vehicle 1,
Calculated values between these bright point distance d 1 to d 3, the actual IR-L
From the ED distances k 1 to k 3 and the lens focal length F of the IR-camera 4, the inter-vehicle distances z 1 to z 3 for each of the bright spot distances d 1 to d 3.
Z 1 = F · k 1 / d 1 (4) z 2 = F · k 2 / d 2 (5) z 3 = F · k 3 / d 3 (6) An average value z = (z 1 + z 2 + z 3 ) / 3 (7) is obtained, and this value z is used as a measured value of the following distance.
【0021】このように計測値z1〜z3の平均値とし
て、先行車両1との車間距離zを与えることにより、計
測精度は最低1.732倍に向上できる。そのため、計
測精度を従来と同じ程度に保つと仮定すると、車間距離
の計測範囲を1.732倍に広げられる。また、3つの
IR−LED2の1つが故障しても、残る2つのIR−
LED2に基づいて、計測精度は落ちるものの、車間距
離の計測機能(車両の位置認識機能のひとつ)は確保で
きる。By giving the inter-vehicle distance z to the preceding vehicle 1 as an average value of the measured values z 1 to z 3 , the measuring accuracy can be improved to at least 1.732 times. Therefore, assuming that the measurement accuracy is maintained at the same level as in the related art, the measurement range of the inter-vehicle distance can be expanded to 1.732 times. Also, if one of the three IR-LEDs 2 fails, the remaining two IR-LEDs 2
Although the measurement accuracy is reduced based on the LED 2, the function of measuring the distance between vehicles (one of the functions of recognizing the position of the vehicle) can be secured.
【0022】図7,図8のフローチャートにおいて、車
間距離の計測処理を説明すると、IR−カメラ4により
先行車両1の車体後面1aの画像入力を行う(ステップ
1)。IR−カメラ4の入力画像を図5(a)の2値画
像に変換し、IR−LED2の検出数を表すフラグをn
=0にする(ステップ2,ステップ3)。2値画像から
y方向のヒストグラムを求め、このヒストグラムにピー
クがあるかどうかを判定する(ステップ4,ステップ
5)。Referring to the flowcharts of FIGS. 7 and 8, the measurement of the following distance will be described. An image of the rear surface 1a of the preceding vehicle 1 is input by the IR-camera 4 (step 1). The input image of the IR-camera 4 is converted into the binary image of FIG. 5A, and a flag indicating the number of detections of the IR-LED 2 is set to n.
= 0 (steps 2 and 3). A histogram in the y direction is obtained from the binary image, and it is determined whether or not the histogram has a peak (steps 4 and 5).
【0023】ピークが2つある場合、2値画像を図5
(b)の上下2つの画像b1,b2に分離し、上部の画像
b1について、y方向のヒストグラムとx方向のヒスト
グラムとから、明点A1の座標位置(x1,y1)を確定
し、IR−LED2の検出数フラグをn=n+1にする
(ステップ6〜ステップ10)。ついで、ステップ12
へ進むのであるが、図5(a)の2値画像のヒストグラ
ムに2つのピークがない場合は、ステップ6からステッ
プ11へ移行し、この2値画像を画像b2とみなし、ス
テップ12へ進む。When there are two peaks, the binary image is shown in FIG.
(B) is separated into upper and lower two images b 1 and b 2 , and the coordinate position (x 1 , y 1 ) of the bright point A 1 is determined for the upper image b 1 from the histogram in the y direction and the histogram in the x direction. Is determined, and the detection number flag of the IR-LED 2 is set to n = n + 1 (steps 6 to 10). Then step 12
Although proceed to, if there are two peaks in the histogram of the binary image of FIG. 5 (a), the process proceeds from step 6 to step 11 considers the binary image and image b 2, the process proceeds to step 12 .
【0024】ステップ12では画像b2のx方向のヒス
トグラムを求める。そして、このヒストグラムについて
も、ピークが2つあるかどうかを判定し、ピークが2つ
の場合、画像b2をピークの谷で左右2つの画像c1,c
2に分離し、画像c1のy方向のヒストグラムとx方向の
ヒストグラムとから、明点A2の座標位置(x2,y2)
を確定し、IR−LED2の検出数フラグをn=n+1
にする(ステップ14〜ステップ17)。ついで、ステ
ップ19へ進むのであるが、画像b2のx方向のヒスト
グラムに2つのピークがない場合は、ステップ13から
ステップ18へ移行し、画像b2を画像c2とみなし、ス
テップ19へ進む。[0024] At step 12 a histogram of the x direction of the image b 2. Then, also for this histogram, it is determined whether or not there are two peaks. If there are two peaks, the image b 2 is divided into two images c 1 and c at the valley of the peak.
2 and the coordinate position (x 2 , y 2 ) of the bright spot A 2 is obtained from the histogram of the image c 1 in the y direction and the histogram in the x direction.
And set the detection number flag of the IR-LED 2 to n = n + 1.
(Steps 14 to 17). Then, although the processing proceeds to step 19, if there is no two peaks in the histogram of the x-direction of the image b 2, the process proceeds from step 13 to step 18 regards the image b 2 and the image c 2, the process proceeds to step 19 .
【0025】ステップ19では画像c2のx方向のヒス
トグラムを求める。ついで、y方向のヒストグラムとx
方向のヒストグラムとから、明点A3の座標位置(x3,
y3)を確定し、IR−LED2の検出数フラグをn=
n+1にする(ステップ21,ステップ22)。[0025] determining x-direction histogram of the image c 2 in step 19. Next, the histogram in the y direction and x
And a direction histogram, the coordinate position of the bright point A 3 (x 3,
y 3 ) is determined, and the detection number flag of the IR-LED 2 is set to n =
It is set to n + 1 (steps 21 and 22).
【0026】n=2のときは、IRーLED2の1つが
故障の場合であり、残る2つのIRーLED2に基づい
て、明点間距離d1〜d3の1つから導かれる車間距離z
1〜z3の1つを計測値zとする(ステップ22,ステッ
プ23)。n=3のときは、3つの明点間距離d1〜d3
から導かれる車間距離z1〜z3の平均値zとして車間距
離zを与える(ステップ24,ステップ25)。n=2
およびn=3以外のときは、明点間距離d1〜d3が出な
いので、車間距離zを計測不可とする(ステップ2
6)。When n = 2, one of the IR-LEDs 2 is out of order, and based on the remaining two IR-LEDs 2, the inter-vehicle distance z derived from one of the bright spot distances d 1 to d 3.
One of 1 to z 3 are the measured value z (step 22, step 23). When n = 3, distances between three bright points d 1 to d 3
The inter-vehicle distance z is given as an average value z of the inter-vehicle distances z 1 to z 3 derived from the above (steps 24 and 25). n = 2
When n and n are other than 3, since the light-to-light distances d 1 to d 3 do not appear, the inter-vehicle distance z cannot be measured (step 2).
6).
【0027】3つのIR−LED2はこれらを結ぶと、
既述のような2等辺三角形(正三角形でも良い)を形成
するから、図9のように画像上の明点A1の座標位置x1
と明点間A2−A3の中心点p=(x3−x2)/2との偏
差△dをもとに先行車両1に対する後続車両3の相対的
なヨー角θも容易に計測できる。When the three IR-LEDs 2 are connected to each other,
Since an isosceles triangle (or an equilateral triangle) is formed as described above, the coordinate position x 1 of the bright spot A 1 on the image as shown in FIG.
The relative yaw angle θ of the following vehicle 3 with respect to the preceding vehicle 1 is also easily measured based on the deviation △ d between the center point p = (x 3 −x 2 ) / 2 between the light point A 2 -A 3 and the bright point A 2 -A 3. it can.
【0028】車両の姿勢パラメータはヨー角θ、ピッチ
角φ、ロール角ψであり、これらに対して後方車両3の
IRーカメラ4が捉える、先行車両1のIR−LED2
の空間座標u,v,wは次式のように変化する。なお、
座標xはIR−カメラ4の横方向位置、座標yは同じく
地面から高さ位置、座標zはIRーカメラ4から各IR
ーLED2までの車間距離を表す。The vehicle attitude parameters are the yaw angle θ, the pitch angle φ, and the roll angle ψ, and the IR-LED 2 of the preceding vehicle 1 captured by the IR camera 4 of the rear vehicle 3.
The space coordinates u, v, w of the following equation change as follows. In addition,
The coordinate x is the horizontal position of the IR-camera 4, the coordinate y is the height position from the ground, and the coordinate z is each IR from the IR-camera 4.
-Indicates the inter-vehicle distance to LED2.
【0029】[0029]
【数1】 (Equation 1)
【0030】ヨー角θの計測を目的とするため、いまピ
ッチ角φとロール角ψは発生していないものと仮定する
と、この式は u=x−zθ v=y w=xθ+z で表される。For the purpose of measuring the yaw angle θ, assuming that the pitch angle φ and the roll angle ψ are not generated, this equation is expressed by u = x−zθ v = yw = xθ + z .
【0031】図6の明点A1〜A3のx方向の座標x1,
x2,x3を上式に代入し、さらに透視変換により、レン
ズ焦点距離Fの画像上におけるx−y平面の座標に変換
すると、 x(A1)=F・u(A1)/w(A1)=F・(x1−zθ)/(x1θ+z) x(A2)=F・u(A2)/w(A2)=F・(x2−zθ)/(x2θ+z) x(A3)=F・u(A3)/w(A3)=F・(x3−zθ)/(x3θ+z) となる。IR−LED2の配置は2等辺三角形(正三角
形でも良い)のため、x1,x2,x3の間には、 2(x1−x2)=x3−x2 が成り立つ。x2を原点0と考えれば、2x1=x3とな
る。これをx−y平面の座標x(A3)の式に代入すると、 x(A3)=F・u(A3)/w(A3)=F・(2x1−zθ)/(2
x1θ+z) となり、図6のd1/dxlは x(A3)/x(A1)=(2x1-zθ)(x1θ+z)/(2x1θ+
z)(x1−zθ) で表される。The coordinates x 1 of the bright points A 1 to A 3 in FIG.
By substituting x 2 and x 3 into the above equation, and further transforming them into perspective coordinates on the xy plane on the image of the lens focal length F, x (A 1 ) = F · u (A 1 ) / w (A 1 ) = F · (x 1 −zθ) / (x 1 θ + z) x (A 2 ) = F · u (A 2 ) / w (A 2 ) = F · (x 2 −zθ) / (x 2 θ + z) x (A 3 ) = F · u (A 3 ) / w (A 3 ) = F · (x 3 −zθ) / (x 3 θ + z) Since the arrangement of the IR-LED 2 is an isosceles triangle (or an equilateral triangle), 2 (x 1 −x 2 ) = x 3 −x 2 holds between x 1 , x 2 , and x 3 . Given x 2 as the origin 0, a 2x 1 = x 3. Substituting this into the equation of the coordinate x (A 3 ) on the xy plane, x (A 3 ) = F ・ u (A 3 ) / w (A 3 ) = F ・ (2x 1 −zθ) / (2
x 1 θ + z) becomes, d 1 / dx l is x (A 3 in FIG. 6) / x (A 1) = (2x 1 -zθ) (x 1 θ + z) / (2x 1 θ +
z) (x 1 −zθ).
【0032】この式からヨー角θが0の場合はx(A3)/
x(A1)=2で、A1のx座標はA2−A3のx座標の中心
点となるが、ヨー角θが0以外のときは中心点とならな
い。つまり、x(A3)/x(A1)=2以外のときは、図9の
△dに相当するのヨー角θが発生しており、この式にお
いて、x(A3)/x(A1)、x1、zが決まると、そのヨー
角θは容易に計算できる。From this equation, when the yaw angle θ is 0, x (A 3 ) /
When x (A 1 ) = 2, the x coordinate of A 1 becomes the center point of the x coordinate of A 2 −A 3 , but does not become the center point when the yaw angle θ is other than 0. That is, when x (A 3 ) / x (A 1 ) = 2, a yaw angle θ corresponding to △ d in FIG. 9 is generated. In this equation, x (A 3 ) / x ( Once A 1 ), x 1 and z are determined, the yaw angle θ can be easily calculated.
【0033】x(A3)/x(A1)=(2x1-zθ)(x1θ+z)
/(2x1θ+z)(x1−zθ)において、ヨー角θ(sin
θ)が非常に小さいと仮定すると、x1θはゼロに近い
値となるため、x(A3)/x(A1)は (2x1-zθ)z/z(x1−zθ)=(2x1-zθ)/(x1
−zθ) に簡略化できる。したがって、x(A3)/x(A1)=aとす
れば、ヨー角θは θ=(ax1−2x1)/z(a−1) で求められる。X (A 3 ) / x (A 1 ) = (2 × 1 −zθ) (x 1 θ + z)
/ (2x 1 θ + z) in (x 1 -zθ), the yaw angle theta (sin
Assuming that θ) is very small, x 1 θ is a value close to zero, so x (A 3 ) / x (A 1 ) is (2x 1 -zθ) z / z (x 1 -zθ) = (2x 1 -zθ) / (x 1
−zθ). Therefore, if x (A 3 ) / x (A 1 ) = a, the yaw angle θ can be obtained by θ = (ax 1 −2 × 1 ) / z (a−1).
【0034】図8のフローチャートにおいては、ステッ
プ26の処理後、ステップ27で画像処理のヒストグラ
ムから座標位置x1,x2,x3を求め、x(A3)=x3−
x2,x(A3)=x3−x2を計算する。そして、ステップ
28に進み、x(A3)/x(A3)=2かどうかを判定し、
x(A3)/x(A3)=2のときは、ステップ29でヨー角
θ=0とする。これに対して、x(A3)/x(A3)=2で
ないときは、ステップ30でθ=(ax1−2x1)/z
(a−1)を計算するのである。In the flowchart of FIG. 8, after the processing in step 26, the coordinate positions x 1 , x 2 , x 3 are obtained from the histogram of the image processing in step 27, and x (A 3 ) = x 3 −
x 2 , x (A 3 ) = x 3 −x 2 is calculated. Then, the process proceeds to a step 28, wherein it is determined whether or not x (A 3 ) / x (A 3 ) = 2.
If x (A 3 ) / x (A 3 ) = 2, the yaw angle θ is set to 0 in step 29. On the other hand, when x (A 3 ) / x (A 3 ) = 2 is not satisfied, in step 30, θ = (ax 1 −2 × 1 ) / z
(A-1) is calculated.
【0035】IR−LED2については、計測精度をさ
らに高めるため、その数を増やしても良い。IRーLE
D2の配置状態は2等辺三角形や正三角形に限定される
ものではなく、どんな平面形状に配置しても、計算処理
は複雑化するが、3つ以上のIRーLED2を備える場
合、2辺以上の明点間距離を生じるから、ヨー角θの計
測も可能である。The number of IR-LEDs 2 may be increased in order to further increase the measurement accuracy. IR-LE
The arrangement state of D2 is not limited to isosceles triangles or equilateral triangles, and any arrangement in any plane shape complicates the calculation process. However, when three or more IR-LEDs 2 are provided, two or more sides are used. , The measurement of the yaw angle θ is also possible.
【0036】[0036]
【発明の効果】第1の発明によれば、先行車両の車体後
面に高明度の識別手段を設け、後続車両に先行車両の車
体後面を撮影するカメラ手段と、その2値画像をもとに
先行車両との相対位置を計測する画像処理手段を備える
認識装置において、先行車両の車体後面に3つ以上の識
別手段を配置したので、複数の識別手段間毎に車間距離
が求められ、これらの平均値を取ることにより、車間距
離の計測精度を向上できる。識別手段の1つが故障して
も、残る2つの識別手段に基づく車間距離の計測は可能
なため、高いフェイルセーフ機能が得られる。3つ以上
の識別手段を備えるため、車両間の相対的なヨー角の計
測も可能になる。According to the first aspect of the invention, a high-brightness identification means is provided on the rear surface of the vehicle body of the preceding vehicle, and the camera means for photographing the rear surface of the vehicle body of the preceding vehicle on the following vehicle, and the binary image based on the binary image. In the recognition device including the image processing means for measuring the relative position with respect to the preceding vehicle, three or more identification means are arranged on the rear surface of the vehicle body of the preceding vehicle. Therefore, the inter-vehicle distance is obtained for each of the plurality of identification means. By taking the average value, the measurement accuracy of the inter-vehicle distance can be improved. Even if one of the identification means fails, the inter-vehicle distance can be measured based on the remaining two identification means, so that a high fail-safe function can be obtained. Since three or more identification means are provided, measurement of a relative yaw angle between vehicles is also possible.
【0037】第2の発明によれば、第1の発明における
画像処理手段は、入力画像を明度レベルの2値画像に変
換する手段と、2値画像の各識別手段に対応する明点の
x方向とy方向のヒストグラムを作成する手段と、その
ヒストグラムから各明点の座標位置を確定する手段と、
これらの座標位置から各明点間距離を計算する手段と、
その計算値とカメラレンズの焦点距離および実際の明点
間距離とから各明点間距離毎に車間距離を求める手段
と、これらの平均値を車間距離の計測値として計算する
手段を備えたので、各明点間距離毎に車間距離が計算さ
れ、これらの平均値を取ることにより、車両距離の高い
計測精度が得られる。According to the second invention, the image processing means in the first invention comprises: means for converting the input image into a binary image having a lightness level; and x of a bright point corresponding to each of the identification means for the binary image. Means for creating a histogram in the direction and y direction, means for determining the coordinate position of each bright spot from the histogram,
Means for calculating the distance between each bright spot from these coordinate positions;
Since there is provided a means for obtaining an inter-vehicle distance for each inter-bright distance from the calculated value, the focal length of the camera lens, and the actual inter-bright distance, and a means for calculating an average value of these as a measured value of the inter-vehicle distance The distance between vehicles is calculated for each distance between bright spots, and by taking an average value of them, a high measurement accuracy of the vehicle distance can be obtained.
【0038】第3の発明によれば、第1の発明における
画像処理手段は、入力画像を明度レベルの2値画像に変
換する手段と、2値画像の各識別手段に対応する明点の
x方向のヒストグラムを作成する手段と、そのヒストグ
ラムからx座標上の明点位置を確定する手段と、これら
の少なくとも3点のx座標位置から2つの明点間距離の
比率を計算する手段と、この比率とこれに対応する実際
の比率との差から先行車両との相対的なヨー角を求める
手段を備えたので、画像上のx座標位置に生じるズレか
ら、先行車両とのヨー角を適確に計測できる。According to the third invention, the image processing means in the first invention comprises: means for converting an input image into a binary image of a lightness level; and x of a bright point corresponding to each identification means of the binary image. Means for creating a histogram of directions, means for determining a bright spot position on the x coordinate from the histogram, means for calculating the ratio of the distance between two bright spots from the x coordinate positions of at least three of these, A means for calculating the relative yaw angle with respect to the preceding vehicle from the difference between the ratio and the actual ratio corresponding to the ratio is provided. Can be measured.
【0039】第4の発明によれば、第1の発明におい
て、先行車両の車体後面に識別手段を2等辺三角形また
は正三角形の各角に配置したので、計算処理が容易にな
るほか、2等辺三角形や正三角形の対称軸を車体後面の
中心に位置させることにより、車両間の相対的なヨー角
の計測も容易に図れる。According to the fourth aspect, in the first aspect, the identification means is arranged at each corner of an isosceles triangle or an equilateral triangle on the rear surface of the vehicle body of the preceding vehicle, so that the calculation process is facilitated and the isosceles triangle is provided. By positioning the symmetry axis of the triangle or equilateral triangle at the center of the rear surface of the vehicle body, the relative yaw angle between the vehicles can be easily measured.
【0040】第5の発明によれば、第1の発明におい
て、識別手段として赤外線LEDを、カメラ手段として
赤外線カメラを設けたので、昼夜の別なく明瞭な2値画
像が得られる。According to the fifth aspect, in the first aspect, since the infrared LED is provided as the identification means and the infrared camera is provided as the camera means, a clear binary image can be obtained regardless of day or night.
【図1】先行車両と後続車両との側面図である。FIG. 1 is a side view of a preceding vehicle and a following vehicle.
【図2】同じく平面図である。FIG. 2 is a plan view of the same.
【図3】先行車両の車体後面図である。FIG. 3 is a rear view of the vehicle body of the preceding vehicle.
【図4】後続車両の概略平面図である。FIG. 4 is a schematic plan view of a following vehicle.
【図5】画像処理の説明図である。FIG. 5 is an explanatory diagram of image processing.
【図6】画像上の明点間の距離関係を表す説明図であ
る。FIG. 6 is an explanatory diagram illustrating a distance relationship between bright points on an image.
【図7】画像処理を説明するフローチャートである。FIG. 7 is a flowchart illustrating image processing.
【図8】画像処理を説明するフローチャートである。FIG. 8 is a flowchart illustrating image processing.
【図9】ヨー角の計測手法を表す説明図である。FIG. 9 is an explanatory diagram illustrating a yaw angle measurement technique.
【図10】この発明の構成図である。FIG. 10 is a configuration diagram of the present invention.
【図11】この発明の一部構成図である。FIG. 11 is a partial configuration diagram of the present invention.
1 先行車両 2 IR−LED 3 後続車両 4 IR−カメラ 5 画像処理装置 REFERENCE SIGNS LIST 1 preceding vehicle 2 IR-LED 3 succeeding vehicle 4 IR-camera 5 image processing device
Claims (5)
設け、後続車両に先行車両の車体後面を撮影するカメラ
手段と、その2値画像をもとに先行車両との相対位置を
計測する画像処理手段を備える認識装置において、先行
車両の車体後面に3つ以上の識別手段を配置したことを
特徴とする車両の位置認識装置。A high-brightness identification means is provided on the rear surface of a vehicle body of a preceding vehicle, a camera means for photographing the rear surface of the vehicle body of the preceding vehicle on a following vehicle, and a relative position of the preceding vehicle is measured based on a binary image thereof. A recognition device comprising an image processing means for locating a vehicle, wherein three or more identification means are arranged on a rear surface of a vehicle body of a preceding vehicle.
値画像に変換する手段と、2値画像の各識別手段に対応
する明点のx方向とy方向のヒストグラムを作成する手
段と、そのヒストグラムから各明点の座標位置を確定す
る手段と、これらの座標位置から各明点間距離を計算す
る手段と、その計算値とカメラレンズの焦点距離および
実際の明点間距離とから各明点間距離毎に車間距離を求
める手段と、これらの平均値を車間距離の計測値として
計算する手段を備えたことを特徴とする請求項1に記載
の位置認識装置。2. The image processing means according to claim 1, wherein the input image is a lightness level 2
Means for converting into a value image, means for creating histograms in the x and y directions of bright points corresponding to each identification means of the binary image, means for determining the coordinate position of each bright point from the histogram, Means for calculating each inter-bright distance from the coordinate position of the above, means for calculating the inter-vehicle distance for each inter-bright distance from the calculated value, the focal length of the camera lens and the actual inter-bright distance, and the average of these 2. The position recognition apparatus according to claim 1, further comprising means for calculating a value as a measured value of an inter-vehicle distance.
値画像に変換する手段と、2値画像の各識別手段に対応
する明点のx方向のヒストグラムを作成する手段と、そ
のヒストグラムからx座標上の明点位置を確定する手段
と、これらの少なくとも3点のx座標位置から2つの明
点間距離の比率を計算する手段と、この比率とこれに対
応する実際の比率との差から先行車両との相対的なヨー
角を求める手段を備えたことを特徴とする請求項1に記
載の位置認識装置。3. An image processing means for converting an input image into a lightness level 2
Means for converting into a value image, means for creating a histogram in the x direction of bright points corresponding to each identification means of a binary image, means for determining a bright spot position on the x coordinate from the histogram, Means for calculating the ratio of the distance between two bright spots from the three x-coordinate positions, and means for determining the relative yaw angle with respect to the preceding vehicle from the difference between this ratio and the corresponding actual ratio. The position recognition device according to claim 1, wherein:
角形または正三角形の各角に配置したことを特徴とする
請求項1に記載の位置認識装置。4. The position recognizing device according to claim 1, wherein the identification means is arranged at each corner of an isosceles triangle or an equilateral triangle on the rear surface of the body of the preceding vehicle.
段として赤外線カメラを設けたことを特徴とする請求項
1に記載の位置認識装置。5. The position recognition device according to claim 1, wherein an infrared LED is provided as identification means, and an infrared camera is provided as camera means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27002296A JPH10115519A (en) | 1996-10-11 | 1996-10-11 | Apparatus for recognizing position of vehicle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27002296A JPH10115519A (en) | 1996-10-11 | 1996-10-11 | Apparatus for recognizing position of vehicle |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10115519A true JPH10115519A (en) | 1998-05-06 |
Family
ID=17480456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27002296A Pending JPH10115519A (en) | 1996-10-11 | 1996-10-11 | Apparatus for recognizing position of vehicle |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10115519A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006235807A (en) * | 2005-02-23 | 2006-09-07 | Honda Motor Co Ltd | Vehicle recognition device |
| JP2006232008A (en) * | 2005-02-23 | 2006-09-07 | Honda Motor Co Ltd | Vehicle recognition device |
| JP2006264403A (en) * | 2005-03-22 | 2006-10-05 | Honda Motor Co Ltd | Vehicle recognition device |
| JP2008076094A (en) * | 2006-09-19 | 2008-04-03 | Nec Access Technica Ltd | Target discrimination system, target discrimination method, and target discrimination control program |
| WO2021010013A1 (en) * | 2019-07-17 | 2021-01-21 | 村田機械株式会社 | Traveling vehicle, traveling vehicle system, and traveling vehicle detection method |
| CN116718155A (en) * | 2023-07-24 | 2023-09-08 | 浙江浙能温州发电有限公司 | A safe distance detection method for ship unloader cab in thermal power plants based on machine vision |
| CN119984170A (en) * | 2024-12-31 | 2025-05-13 | 北京智锐凯能科技有限公司 | Distance measurement method, device, system, equipment and readable storage medium |
-
1996
- 1996-10-11 JP JP27002296A patent/JPH10115519A/en active Pending
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006235807A (en) * | 2005-02-23 | 2006-09-07 | Honda Motor Co Ltd | Vehicle recognition device |
| JP2006232008A (en) * | 2005-02-23 | 2006-09-07 | Honda Motor Co Ltd | Vehicle recognition device |
| US7656283B2 (en) | 2005-02-23 | 2010-02-02 | Honda Motor Co., Ltd. | Vehicle recognizing apparatus |
| DE102006008278B4 (en) * | 2005-02-23 | 2010-06-10 | Honda Motor Co., Ltd. | Device for detecting a vehicle |
| US7933690B2 (en) | 2005-02-23 | 2011-04-26 | Honda Motor Co., Ltd. | Vehicle recognition allowing device |
| DE102006008279B4 (en) * | 2005-02-23 | 2011-06-09 | Honda Motor Co., Ltd. | Vehicle detection device |
| JP2006264403A (en) * | 2005-03-22 | 2006-10-05 | Honda Motor Co Ltd | Vehicle recognition device |
| JP2008076094A (en) * | 2006-09-19 | 2008-04-03 | Nec Access Technica Ltd | Target discrimination system, target discrimination method, and target discrimination control program |
| WO2021010013A1 (en) * | 2019-07-17 | 2021-01-21 | 村田機械株式会社 | Traveling vehicle, traveling vehicle system, and traveling vehicle detection method |
| CN116718155A (en) * | 2023-07-24 | 2023-09-08 | 浙江浙能温州发电有限公司 | A safe distance detection method for ship unloader cab in thermal power plants based on machine vision |
| CN119984170A (en) * | 2024-12-31 | 2025-05-13 | 北京智锐凯能科技有限公司 | Distance measurement method, device, system, equipment and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6801244B2 (en) | Obstacle detection apparatus and method | |
| JP3895238B2 (en) | Obstacle detection apparatus and method | |
| JP3822515B2 (en) | Obstacle detection device and method | |
| JP3619628B2 (en) | Driving environment recognition device | |
| CN117078717B (en) | Road vehicle trajectory extraction method based on UAV monocular camera | |
| KR101261409B1 (en) | System for recognizing road markings of image | |
| US10509971B2 (en) | Landmark recognition device and landmark recognition method using a database storing landmark extraction information | |
| US11335099B2 (en) | Proceedable direction detection apparatus and proceedable direction detection method | |
| CN108444390A (en) | A kind of pilotless automobile obstacle recognition method and device | |
| CN107430775A (en) | Method and industrial vehicle for positioning using a ceiling light | |
| CN101006464A (en) | Diagrammatizing apparatus | |
| CN103065323A (en) | Subsection space aligning method based on homography transformational matrix | |
| JPH11203458A (en) | Road shape recognition device | |
| KR100816377B1 (en) | Parking Lot Recognition Method and Apparatus Using Hough Transformation and Parking Assistance System Using the Same | |
| CN111323767A (en) | Night unmanned vehicle obstacle detection system and method | |
| CN114913695B (en) | Vehicle reverse running detection method, system, equipment and storage medium based on AI vision | |
| JPH10115519A (en) | Apparatus for recognizing position of vehicle | |
| JP3192616B2 (en) | Local position grasping apparatus and method | |
| CN106874897A (en) | A kind of licence plate recognition method and device | |
| JP2002175534A (en) | Road white line detection method | |
| JP3757502B2 (en) | Moving object travel control device | |
| JP2002150302A (en) | Road surface recognition device | |
| JP3304905B2 (en) | Object tracking recognition device | |
| JPH0778258A (en) | Object recognition device | |
| JPH11353580A (en) | Method and device for discriminating kind of vehicle at night |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Effective date: 20040406 Free format text: JAPANESE INTERMEDIATE CODE: A02 |