JP2013045276A - Image processing method and stereo camera system - Google Patents

Image processing method and stereo camera system Download PDF

Info

Publication number
JP2013045276A
JP2013045276A JP2011182369A JP2011182369A JP2013045276A JP 2013045276 A JP2013045276 A JP 2013045276A JP 2011182369 A JP2011182369 A JP 2011182369A JP 2011182369 A JP2011182369 A JP 2011182369A JP 2013045276 A JP2013045276 A JP 2013045276A
Authority
JP
Japan
Prior art keywords
value
image
pixel data
pixel
integer
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.)
Granted
Application number
JP2011182369A
Other languages
Japanese (ja)
Other versions
JP5821408B2 (en
Inventor
Masato Kusanagi
真人 草▲なぎ▼
Shin Aoki
青木  伸
Soichiro Yokota
聡一郎 横田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011182369A priority Critical patent/JP5821408B2/en
Publication of JP2013045276A publication Critical patent/JP2013045276A/en
Application granted granted Critical
Publication of JP5821408B2 publication Critical patent/JP5821408B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing method capable of obtaining distance information in a shorter processing time.SOLUTION: The image processing method includes: a step for photographing a first image and a second image; a total value calculation step for allowing addition means 241 to calculate a first total value of the first image and a second total value of the second image; an approximate average value calculation step for allowing shift means 242 to calculate a first approximate average value by shifting the first total value to the right by a predetermined number of bits and a second approximate average value similarly; an integral multiple step for allowing integral multiple means 243 and 244 to multiply the value of each pixel data in small regions of the first image and the second image by an integer; and a correlation value calculation step for allowing correlation value calculation means 249 to obtain each of first data obtained by subtracting the first approximate average value from the value obtained by multiplying the value of the pixel data by an integer and second data obtained by subtracting the second approximate average value from the value obtained by multiplying the pixel data by an integer, and calculating the square-sum of the difference between the first data and the second data for each pixel data.

Description

本発明は、ステレオカメラにより距離情報を検出する画像処理方法に関する。   The present invention relates to an image processing method for detecting distance information with a stereo camera.

ステレオカメラが撮影した画像を利用した車両の運転者支援システムが知られている。運転支援システムは、例えば、車の前方に設置したステレオカメラによって車両前方を監視し、歩行者、他車両、障害物等との距離を測定し、それらに衝突する可能性がある場合は、運転者に報知したり、車両のブレーキを作動させて減速させたり停止させたりすることができる。   A vehicle driver assistance system using an image captured by a stereo camera is known. The driving support system, for example, monitors the front of the vehicle with a stereo camera installed in front of the car, measures the distance from pedestrians, other vehicles, obstacles, etc. The user can be notified, or the vehicle brake can be operated to decelerate or stop.

ステレオカメラは、異なる視点位置から同じ対象物体を撮影した時に、撮影画像上での結像位置が物体の距離によって変化することを利用して物体の距離や位置を計測する。   A stereo camera measures the distance and position of an object by taking advantage of the fact that the imaging position on the captured image changes according to the distance of the object when the same target object is captured from different viewpoint positions.

図1はステレオカメラの測距原理を説明する図の一例である。基線長B(カメラ間の距離)、焦点距離f、及び、視差d(視点による物体の結像点の位置の差)から、物体までの距離Zは以下の式で表すことができる。
Z=B・f/d …(1)
視差dの算出には、左右のカメラから得られた一対の画像のある小領域の相関値を計算し、最も相関が高い画素位置が得られた際の画像間のシフト量を視差として算出するブロックマッチングがよく用いられる。
FIG. 1 is an example of a diagram illustrating the distance measuring principle of a stereo camera. From the base line length B (distance between cameras), the focal length f, and the parallax d (difference in the position of the imaging point of the object from the viewpoint), the distance Z to the object can be expressed by the following equation.
Z = B · f / d (1)
To calculate the parallax d, the correlation value of a small area of a pair of images obtained from the left and right cameras is calculated, and the shift amount between the images when the pixel position with the highest correlation is obtained is calculated as the parallax. Block matching is often used.

相関の評価値としては、2つの小領域の各画素値の差の絶対値和SAD(sum of absolute difference)や差の二乗和SSD(sum of squared difference)が用いられることが多い。SADやSSDではカメラ特性に影響を受けやすいため、両画像の輝度差やノイズの影響を抑えることが可能な相関値の算出方法が提案されている(例えば、特許文献1参照。)。特許文献1には、2つの画像のそれぞれの各小領域の各画素値から各小領域の平均値を減算してからブロックマッチングを行う平均値差分マッチングが開示されている。   As a correlation evaluation value, an absolute value sum SAD (sum of absolute difference) or a sum of squared differences (SSD) of differences between pixel values of two small regions is often used. Since SAD and SSD are easily affected by camera characteristics, a method of calculating a correlation value that can suppress the influence of the luminance difference between both images and noise has been proposed (for example, see Patent Document 1). Patent Document 1 discloses average value difference matching in which block matching is performed after the average value of each small region is subtracted from each pixel value of each small region of two images.

しかしながら、平均値差分マッチングでは演算装置が除算処理しなければならないという問題がある。というのは、ステレオカメラの距離演算を車載用途等で利用する場合には、高精度かつリアルタイムで処理可能であることが望ましく、専用に設計されたハードウェアが搭載されることが多い。ハードウェアによる処理はソフトウェアによる処理よりも高速であるが、除算回路の除算処理は処理時間が長くなる(クロック数が多く必要になる)ため、除算回路を用いないことが理想的である。   However, the average value difference matching has a problem that the arithmetic unit must perform division processing. This is because, when the distance calculation of a stereo camera is used for in-vehicle applications, it is desirable that it can be processed with high accuracy and in real time, and dedicated hardware is often mounted. Although the processing by hardware is faster than the processing by software, the division processing of the division circuit takes longer processing time (a larger number of clocks are required), so it is ideal that no division circuit is used.

ところが、平均値差分マッチングでは、小領域内の画素値の和を画素数で除算するため除算回路が必要である。例えば、7×7の小領域の画素平均値を求めるのであれば、除算回路は、小領域内の「画素値の和÷49」を行う。したがって、平均値差分マッチングでは除算回路が必要となるため、距離を得るための処理時間が長くなるという問題があった。   However, in average value difference matching, a division circuit is required to divide the sum of pixel values in a small region by the number of pixels. For example, if the pixel average value of a 7 × 7 small area is to be obtained, the division circuit performs “sum of pixel values / 49” in the small area. Therefore, the average value difference matching requires a division circuit, and there is a problem that the processing time for obtaining the distance becomes long.

また、特許文献1で提案されている平均値差分マッチングでは、高周波ノイズの影響でミスマッチを起こし、正確な視差値が得られないという問題があった。そこで、小領域の平均値から算出した判定値と小領域内の画素値を比較して有効か否かを判定し、有効な画素のみで相関計算を行う技術も提案されている(例えば、特許文献2参照。)。しかしながら、特許文献2のミスマッチの低減方法では、対象とする小領域の全画素において有効判定を行った上でマッチング処理を行うため、計算の処理コストが高いという問題がある。   In addition, the average value difference matching proposed in Patent Document 1 has a problem that a mismatch occurs due to the influence of high-frequency noise, and an accurate parallax value cannot be obtained. Therefore, a technique has also been proposed in which a determination value calculated from the average value of a small area is compared with a pixel value in the small area to determine whether it is valid, and correlation calculation is performed using only valid pixels (for example, patents). Reference 2). However, the mismatch reduction method of Patent Document 2 has a problem in that the calculation processing cost is high because matching processing is performed after valid determination is performed on all pixels in a target small region.

本発明は、上記課題に鑑み、より短い処理時間で距離情報が得られる画像処理方法を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide an image processing method capable of obtaining distance information in a shorter processing time.

本発明は、一対のステレオカメラが第1の画像と第2の画像を撮影するステップと、加算手段が、前記第1の画像の小領域内の画素データの第1の合計値、及び、前記第2の画像の小領域内の画素データの第2の合計値を算出する合計値算出ステップと、シフト手段が、前記第1の合計値を所定ビット数、右にシフトして第1の近似平均値を算出し、前記第2の合計値を前記所定ビット数、右にシフトして第2の近似平均値を算出する近似平均値算出ステップと、整数倍手段が、前記第1の画像の小領域内の各画素データの値を整数倍し、前記第2の画像の小領域内の各画素データの値を整数倍する整数倍ステップと、相関値算出手段が、前記第1の画像の小領域内の画素データ毎に、該画素データの値を整数倍した値から前記第1の近似平均値を引いた第1のデータと、前記第2の画像の小領域内の画素データ毎に、該画素データを整数倍した値から前記第2の近似平均値を引いた第2のデータをそれぞれ求め、画素データ毎に前記第1のデータと前記第2のデータとの差分の二乗和又は差の絶対値和を算出する相関値算出ステップと、を有する画像処理方法を提供する。   In the present invention, a pair of stereo cameras captures the first image and the second image, and the adding means includes a first total value of pixel data in a small area of the first image, and A total value calculating step for calculating a second total value of the pixel data in the small area of the second image; and a shift means shifts the first total value to the right by a predetermined number of bits to make a first approximation An approximate average value calculating step of calculating an average value, shifting the second total value to the right by the predetermined number of bits to calculate the second approximate average value, and an integer multiplying unit include: An integer multiple step of multiplying the value of each pixel data in the small region by an integer and multiplying the value of each pixel data in the small region of the second image by an integer, and a correlation value calculating means includes: For each pixel data in the small area, the first approximate plane is calculated from a value obtained by multiplying the value of the pixel data by an integer. First data obtained by subtracting a value and second data obtained by subtracting the second approximate average value from a value obtained by multiplying the pixel data by an integer for each pixel data in the small area of the second image. And a correlation value calculating step of calculating a sum of squares of differences or a sum of absolute values of differences between the first data and the second data for each pixel data.

より短い処理時間で距離情報が得られる画像処理方法を提供することができる。   An image processing method capable of obtaining distance information in a shorter processing time can be provided.

ステレオカメラの測距原理を説明する図の一例である。It is an example of the figure explaining the ranging principle of a stereo camera. 相関値の算出方法を説明する図の一例である。It is an example of the figure explaining the calculation method of a correlation value. 4つのステレオカメラの搭載位置を模式的に示す図の一例である。It is an example of the figure which shows typically the mounting position of four stereo cameras. ステレオカメラシステムの車両への搭載例を示す図の一例である。It is an example of the figure which shows the example of mounting to the vehicle of a stereo camera system. 画像処理ICの基本構成の一例を示す図である。It is a figure which shows an example of the basic composition of an image processing IC. ステレオ演算処理部における視差値算出の流れを示すフローチャートである。It is a flowchart which shows the flow of the parallax value calculation in a stereo calculation process part. ブロックマッチングを説明する図の一例である。It is an example of the figure explaining block matching. 等角直線フィッティングを説明する図の一例である。It is an example of the figure explaining equiangular straight line fitting. ステップS12の処理の詳細な手順を示すフローチャート図の一例である。It is an example of the flowchart figure which shows the detailed procedure of the process of step S12. ステレオ演算処理部の回路構成を模式的に示す図の一例である。It is an example of the figure which shows the circuit structure of a stereo arithmetic processing part typically. 除算処理により求めたサブピクセルの視差値と本実施例の方法で求めたサブピクセルの視差値の比較例を示す図である。It is a figure which shows the comparative example of the parallax value of the sub pixel calculated | required by the division process, and the parallax value of the sub pixel calculated | required by the method of the present Example. 並進量とサブピクセルの関係のグラフを示す図の一例である。It is an example of the figure which shows the graph of the relationship between a translation amount and a sub pixel. ステップS12の処理の詳細な手順を示すフローチャート図の一例である(実施例2)。FIG. 10 is an example of a flowchart illustrating a detailed procedure of processing in step S12 (second embodiment). ステレオ演算処理部の回路構成を模式的に示す図の一例である(実施例2)。It is an example of the figure which shows the circuit structure of a stereo arithmetic processing part typically (Example 2). ステップS12の処理の詳細な手順を示すフローチャート図の一例である(実施例2の変形例)。It is an example of the flowchart figure which shows the detailed procedure of the process of step S12 (modified example of Example 2). ステレオ演算処理部の回路構成を模式的に示す図の一例である(実施例2の変形例)。It is an example of the figure which shows the circuit structure of a stereo arithmetic processing part typically (modified example of Example 2).

以下、本発明を実施するための形態について図面を参照しながら説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

図2は、本実施例の相関値の算出方法を説明する図の一例である。ステレオカメラの一方の画像を基準画像、他方を比較画像と呼ぶ。ブロックマッチングでは、比較画像の注目画素を含む小領域(図では7×7)を、基準画像に対し1画素ずつシフトさせながら、相関値を計算する。
S1:ステレオカメラシステムはまず、比較画像と基準画像それぞれの48画素の画素値の和を算出する。48画素となるのは注目画素を除いたためである。
S2:ステレオカメラシステムは、48画素の画素値の和を4bit右シフトする。右シフトは除算と同等なので、16で除算したことと同等の除算結果が得られる。48画素あるのに対し16で除算することは、48個の画素の画素値の平均を3倍した値が得られることを意味する。以下、4bit右シフト結果を近似平均値と称す。
S3:次に、ステレオカメラシステムは比較画像と基準画像それぞれの画素の画素値を3倍する。
S4:次に、ステレオカメラシステムはZSSD(zero-mean sum of squared difference)値を相関値として算出する。すなわち、比較画像において、各画素毎に3倍の画素値から近似平均値を減じ、基準画像において3倍の画素値から近似平均値を減ずる。そして、48個の画素について、これら(「3×Sij−4bitシフト結果」と「3×Mij−4bitシフト結果」)の差の二乗和を求めることでZSSD値が得られる。
FIG. 2 is an example of a diagram for explaining a correlation value calculation method according to the present embodiment. One image of the stereo camera is called a reference image, and the other is called a comparative image. In block matching, a correlation value is calculated while shifting a small region (7 × 7 in the figure) including the target pixel of the comparison image pixel by pixel with respect to the reference image.
S1: The stereo camera system first calculates the sum of the pixel values of 48 pixels of each of the comparison image and the reference image. The reason why the number of pixels is 48 is that the pixel of interest is excluded.
S2: The stereo camera system shifts the sum of the pixel values of 48 pixels to the right by 4 bits. Since the right shift is equivalent to division, a division result equivalent to division by 16 is obtained. Dividing by 16 with respect to 48 pixels means that a value obtained by multiplying the average of the pixel values of 48 pixels by 3 is obtained. Hereinafter, the 4-bit right shift result is referred to as an approximate average value.
S3: Next, the stereo camera system triples the pixel value of each pixel of the comparison image and the reference image.
S4: Next, the stereo camera system calculates a ZSSD (zero-mean sum of squared difference) value as a correlation value. That is, in the comparative image, the approximate average value is subtracted from the tripled pixel value for each pixel, and the approximate average value is subtracted from the tripled pixel value in the reference image. Then, the ZSSD value is obtained by calculating the sum of squares of the difference between these (“3 × S ij -4 bit shift result” and “3 × M ij -4 bit shift result”) for 48 pixels.

したがって、本実施例のステレオカメラシステムは、近似平均値の算出にシフト演算を用い、除算処理を行っていないので、高速に演算することができる。また、近似平均値を画素値から減じるので、2つのカメラのカメラ特性を高精度に調整したり、わずかな経年変化が生じても再調整が必要になることなく、高精度に距離を計測することが可能である。   Therefore, the stereo camera system according to the present embodiment uses a shift operation for calculating the approximate average value and does not perform a division process, so that the operation can be performed at high speed. In addition, since the approximate average value is subtracted from the pixel value, the camera characteristics of the two cameras can be adjusted with high accuracy, and even if a slight aging occurs, the distance can be measured with high accuracy without requiring readjustment. It is possible.

〔ステレオカメラの搭載例〕
図3は、4つのステレオカメラ1〜4の搭載位置を模式的に示す図の一例である。ステレオカメラ1は前方に、ステレオカメラ2は右側方に、ステレオカメラ3は左側方に、ステレオカメラ4は後部に、それぞれ配置されている。ステレオカメラ1は、室内ルームミラーや車両前部バンパに、車両前方のやや水平下向きに光軸を向けて配置される。ステレオカメラ2は、例えば、右ドアミラー、車両右側面のドアノブ設置部分の窪み、ドアウィンドウのフレーム、Aピラー、Bピラー又はCピラーなどに、車両右側方、車両右側方よりもやや後方又は車両右側方よりもやや前方に光軸を向けて配置される。ステレオカメラ3は、例えば、左ドアミラー、車両左側面のドアノブ設置部分の窪み、ドアウィンドウのフレーム、Aピラー、Bピラー又はCピラーなどに、車両左側方、車両左側方よりもやや後方又は車両左側方よりもやや前方に光軸を向けて配置される。ステレオカメラ4は、後部ナンバープレートの周辺や、後部バンパなどに配置されている。
[Example of stereo camera]
FIG. 3 is an example of a diagram schematically illustrating the mounting positions of the four stereo cameras 1 to 4. The stereo camera 1 is disposed forward, the stereo camera 2 is disposed on the right side, the stereo camera 3 is disposed on the left side, and the stereo camera 4 is disposed on the rear. The stereo camera 1 is disposed on the indoor mirror or the front bumper of the vehicle with the optical axis directed slightly downward horizontally in front of the vehicle. The stereo camera 2 is, for example, a right door mirror, a depression in a door knob installation portion on the right side of the vehicle, a door window frame, an A pillar, a B pillar, or a C pillar. It is arranged with the optical axis facing slightly ahead of the direction. The stereo camera 3 is, for example, a left door mirror, a depression in a door knob installation portion on the left side of the vehicle, a door window frame, an A pillar, a B pillar, or a C pillar. It is arranged with the optical axis facing slightly ahead of the direction. The stereo camera 4 is arranged around the rear license plate, the rear bumper, and the like.

ステレオカメラ1は、主に、車両前方の歩行者との距離、先行車両との距離、その他の地物(標識、信号機、電柱、ガードレール等)や障害物との距離を測定するために用いられる。障害物との距離に応じて、ステレオカメラシステムは運転者に警告したり、制動をかけることができる。   The stereo camera 1 is mainly used to measure the distance from a pedestrian in front of the vehicle, the distance from a preceding vehicle, other features (signs, traffic lights, utility poles, guardrails, etc.) and distances from obstacles. . Depending on the distance to the obstacle, the stereo camera system can alert the driver or apply braking.

ステレオカメラ2,3は、乗員がドアの開閉をする際に、周囲から近づいてくる人や物との距離を検出するために用いられる。駐車場などで、隣の他車両との距離を測定し、また、駐車中に後側方から接近する自転車、バイク、及び、歩行者との距離を測定する。ステレオカメラシステムは、距離に応じて、運転者に警告したり、ドアの開放を禁止することができる。   The stereo cameras 2 and 3 are used to detect the distance from a person or an object approaching from the surroundings when the passenger opens or closes the door. At a parking lot or the like, measure the distance to other adjacent vehicles, and measure the distance from a bicycle, motorcycle, or pedestrian approaching from the rear side during parking. The stereo camera system can warn the driver or prohibit the opening of the door according to the distance.

ステレオカメラ4は、後方の障害物との距離を検出したり、乗員が後部ドアを開放する際に障害物との距離を測定する。障害物が所定の距離内にある場合、ドアの開放を禁止することができる。また、バック走行中、ステレオカメラは障害物との距離に応じて、運転者に警告したり、制動をかけることができる。   The stereo camera 4 detects the distance from the obstacle behind and measures the distance from the obstacle when the occupant opens the rear door. When the obstacle is within a predetermined distance, the opening of the door can be prohibited. In addition, during back travel, the stereo camera can warn the driver or apply braking according to the distance from the obstacle.

この他、すでに車両に乗車している乗員を検知するステレオカメラを搭載してもよい。乗員検知カメラの設置位置は、車内を前方から後方に向けて撮像できる位置(例えば、ルームミラー、サンバイザ、Aピラー、天井部等)、又は、車内の側方から前方に向けて撮像できる位置(例えば、Cピラー、後部ドアフレーム、天井部等)等である。また、車両の側方から車内側を撮像できる位置(例えば、ドア、Aピラー、Bピラー、Cピラー)に設置して、搭乗者を横から撮像することも有効である。   In addition, a stereo camera that detects an occupant already in the vehicle may be mounted. The installation position of the occupant detection camera is a position where the interior of the vehicle can be imaged from the front to the rear (for example, a room mirror, a sun visor, an A pillar, a ceiling portion, etc.) For example, C pillar, rear door frame, ceiling part, etc.). It is also effective to install a passenger at the position where the inside of the vehicle can be imaged from the side of the vehicle (for example, a door, an A-pillar, a B-pillar, and a C-pillar) and image the passenger from the side.

〔構成例〕
図4はステレオカメラシステム100の車両への搭載例を示す図の一例を示す。車両には多くのマイコンが搭載されており、1つ以上のマイコンが搭載された1つの装置をECU(Electronic Control Unit)と呼ぶことが多い。代表的なECUとしては、エンジンを制御するエンジンECU、ブレーキを制御するブレーキECU、ドアやシートを制御するボディECU、ナビやAV機器を制御する情報系ECU等が知られている。本実施例では、距離情報を取得するECUを画像処理ECU12と呼ぶこととする。
[Configuration example]
FIG. 4 shows an example of a diagram illustrating an example of mounting the stereo camera system 100 on a vehicle. Many microcomputers are mounted on a vehicle, and one device on which one or more microcomputers are mounted is often referred to as an ECU (Electronic Control Unit). As typical ECUs, an engine ECU that controls an engine, a brake ECU that controls a brake, a body ECU that controls a door and a seat, an information system ECU that controls a navigation system and an AV device, and the like are known. In this embodiment, the ECU that acquires distance information is referred to as an image processing ECU 12.

画像処理ECU12は、CAN(Controller Area Network)やFrexRayなどの規格の車載LANを介して他の不図示のECUと通信可能に接続されている。車載LAN上のデータは、車載LANに接続された全てのECUが参照可能であり、画像処理ECU12を含め各ECUは、予め定められたデータを受信して処理に使用する。   The image processing ECU 12 is communicably connected to another ECU (not shown) via a standard in-vehicle LAN such as CAN (Controller Area Network) or FlexRay. All ECUs connected to the in-vehicle LAN can refer to data on the in-vehicle LAN, and each ECU including the image processing ECU 12 receives predetermined data and uses it for processing.

画像処理ECU12は、表示装置11、及び、ステレオカメラ13(図では1つのみだが複数個を搭載してもよい)と接続されている。画像処理ECU12には一台以上のマイコンが搭載されており、一般的なマイコンと同様にCPU,RAM、ROM、CANC(CAN Controller)、I/O等を有すると共に、画像処理のための画像処理IC20を有している。これらは、システムバスや外部バス及びバスコントローラを介して接続されている。   The image processing ECU 12 is connected to the display device 11 and the stereo camera 13 (only one in the figure, but a plurality may be mounted). The image processing ECU 12 is equipped with one or more microcomputers, and has a CPU, RAM, ROM, CANC (CAN Controller), I / O, etc., as well as general microcomputers, and image processing for image processing. It has IC20. These are connected via a system bus, an external bus, and a bus controller.

ステレオカメラ13はI/Oに接続され、撮影された画像データは適宜、画像処理IC20がRAMを用いて画像処理する。CANCは、CANプロトコルに基づき他のECUと通信を行う。CPUは、ROMに記憶されたプログラムを、RAMを作業メモリに実行して、CANCを介して、画像処理結果を他のECUに送信するなどの各種の制御を行う。なお、表示装置11は、ステレオカメラ13が撮影した映像を表示する液晶や有機ELなどのディスプレイ、又は、HUD(Head Up Display)である。表示装置11は、画像処理により検出された例えば歩行者や障害物を強調して表示するために用いられるが、必ずしも必要ではない。また、表示装置11は、道路地図を表示するナビゲーション装置と兼用されることが多い。   The stereo camera 13 is connected to the I / O, and the captured image data is appropriately processed by the image processing IC 20 using the RAM. The CANC communicates with other ECUs based on the CAN protocol. The CPU performs various controls such as executing a program stored in the ROM in the working memory and transmitting the image processing result to another ECU via the CANC. The display device 11 is a display such as a liquid crystal display or an organic EL display that displays an image captured by the stereo camera 13 or a HUD (Head Up Display). The display device 11 is used to emphasize and display, for example, a pedestrian or an obstacle detected by image processing, but is not necessarily required. The display device 11 is often used also as a navigation device that displays a road map.

図5は、画像処理IC20の基本構成の一例を示す図である。画像処理IC20は、ステレオ画像入力部21、ステレオ画像校正部22、ステレオ画像記憶部23、ステレオ演算処理部24、及び、視差データ記憶部25を有している。   FIG. 5 is a diagram illustrating an example of a basic configuration of the image processing IC 20. The image processing IC 20 includes a stereo image input unit 21, a stereo image calibration unit 22, a stereo image storage unit 23, a stereo calculation processing unit 24, and a parallax data storage unit 25.

ステレオカメラ13は、二台の単眼カメラがほぼ同時にそれぞれ撮影する画像データをステレオ画像校正部22に入力する。   The stereo camera 13 inputs image data captured by the two monocular cameras almost simultaneously to the stereo image calibration unit 22.

ステレオ画像校正部22は、ステレオカメラ13から入力された2つの画像データに対して、単眼カメラにおける光学的なずれ、単眼カメラ間における幾何的なずれを補正する。ステレオ画像記憶部23は、ステレオ画像校正部22が校正した2つの画像データをステレオ演算のための元画像として記憶する。ステレオ演算処理部24は、2つの画像データを処理して視差データを算出する。視差データ記憶部25は、距離情報の算出のための視差データを記憶する。   The stereo image calibrating unit 22 corrects the optical shift in the monocular camera and the geometric shift between the monocular cameras with respect to the two image data input from the stereo camera 13. The stereo image storage unit 23 stores the two image data calibrated by the stereo image calibration unit 22 as an original image for stereo calculation. The stereo calculation processing unit 24 processes two pieces of image data to calculate parallax data. The parallax data storage unit 25 stores parallax data for calculating distance information.

ステレオカメラ13は、ある焦点距離fのレンズ光学系と撮像素子からなる単眼カメラ1L、単眼カメラ1Rを有している。これら二つの単眼カメラ1L、1Rは、露光時間やゲインが可変のCCDカメラであり、両者は互いに同期が取られ、同一タイミングで画像を撮影している。なお、撮像素子はCCDに限らず、CMOS等の撮像素子でもよい。ステレオカメラ13には、これら二つの単眼カメラ1L、1Rがある所定の基線長Bの距離を置いて、光軸が平行になるよう配置されている。   The stereo camera 13 includes a monocular camera 1L and a monocular camera 1R each including a lens optical system having a certain focal length f and an image sensor. These two monocular cameras 1L and 1R are CCD cameras with variable exposure times and gains, and they are synchronized with each other and take images at the same timing. The image sensor is not limited to a CCD, and may be an image sensor such as a CMOS. The stereo camera 13 is arranged such that the optical axes are parallel with a distance of a predetermined baseline length B between the two monocular cameras 1L and 1R.

ステレオ画像校正部22は、レンズ光学系と撮像素子の機械的なずれやレンズ光学系により生じる歪曲収差、また、単眼カメラの取り付け位置のずれを補正する。具体的には例えばLUT(Look Up Table)により画素位置が置き換えられる。ステレオ画像校正部22は、例えば、所定の画像処理機能を実現するFPGA等から構成される電気回路である。前述の補正項目における補正量は、事前に非特許文献1等のキャリブレーション手法により求めておくが、補正項目、キャリブレーション手法共に非特許文献1の内容に限定されない。   The stereo image calibration unit 22 corrects mechanical displacement between the lens optical system and the image sensor, distortion aberration caused by the lens optical system, and displacement of the mounting position of the monocular camera. Specifically, for example, the pixel position is replaced by a LUT (Look Up Table). The stereo image calibrating unit 22 is an electric circuit including, for example, an FPGA that realizes a predetermined image processing function. The correction amount in the above correction item is obtained in advance by a calibration method such as Non-Patent Document 1, but the correction item and the calibration method are not limited to the contents of Non-Patent Document 1.

ステレオ演算処理部24は、ステレオ画像記憶部23に記憶された左カメラの画像データ(比較画像とする)と右カメラの画像データ(基準画像とする)に対して、両画像の小領域ごとの相関値を求めることで対応点を検出するブロックマッチングを行い、両画像間の対応点の画素のずれ(視差)を算出する。この視差データは、式(1)の視差dに対応し、焦点距離f、基線長Bを用いて測定対象物までの3次元距離情報を取得することを可能にする。ステレオ演算処理部24もステレオ画像校正部22と同様に、FPGA等から構成される電気回路である。ステレオ演算処理部24の詳細は後述する。   The stereo calculation processing unit 24 applies the left camera image data (referred to as a comparison image) and the right camera image data (referred to as a reference image) stored in the stereo image storage unit 23 for each small region of both images. Block matching for detecting corresponding points is performed by obtaining a correlation value, and pixel shift (parallax) of corresponding points between both images is calculated. This parallax data corresponds to the parallax d of the equation (1), and makes it possible to acquire three-dimensional distance information to the measurement object using the focal length f and the base line length B. Similarly to the stereo image calibration unit 22, the stereo calculation processing unit 24 is an electric circuit including an FPGA or the like. Details of the stereo operation processing unit 24 will be described later.

ステレオ演算処理部24により得られた視差データは、視差データ記憶部25に記憶され、車両制御や認識処理等に利用される。なお、視差データ記憶部25に記憶する際、式(1)を用いて視差データを距離情報に換算しておいてもよい。   The parallax data obtained by the stereo arithmetic processing unit 24 is stored in the parallax data storage unit 25 and used for vehicle control, recognition processing, and the like. Note that when storing in the parallax data storage unit 25, the parallax data may be converted into distance information using the equation (1).

〔ステレオ演算処理部の処理の詳細〕
図6は、ステレオ演算処理部24における視差値算出の流れを示すフローチャートである。
[Details of the processing of the stereo processing unit]
FIG. 6 is a flowchart showing a flow of parallax value calculation in the stereo calculation processing unit 24.

S11:ステレオカメラ13が2つの画像データを撮像し、入力画像をステレオ画像校正部22に入力する。ステレオ画像校正部22はLUT等により2つの画像データを校正し、ステレオ画像記憶部23に記憶する。   S 11: The stereo camera 13 captures two image data, and inputs the input image to the stereo image calibrating unit 22. The stereo image calibration unit 22 calibrates two pieces of image data using an LUT or the like, and stores them in the stereo image storage unit 23.

S12:ステレオ演算処理部24は、左右の2つの画像データ(比較画像と基準画像)に対してブロックマッチングを行い、ピクセル単位での視差値dintを算出する。S12の処理手順は後に詳述する。 S12: The stereo calculation processing unit 24 performs block matching on the two left and right image data (comparison image and reference image), and calculates a parallax value d int in pixel units. The processing procedure of S12 will be described in detail later.

図7は、ブロックマッチングを説明する図の一例である。ブロックマッチングでは、入力画像を小領域の探索ブロックに分割し、基準画像の探索ブロックに対して比較画像の探索ブロックの位置を、画像の水平方向に1画素ずつずらしながら(シフトしながら)相関値の計算を行う。本実施例では、
探索ブロックのサイズ : 7×7
基準画像の各画素の輝度値 : Mi,j(i=1〜7、j=1〜7)
比較画像の各画素の輝度値 : Si,j(i=1〜7、j=1〜7)
とする。ただし、探索ブロックのサイズは一例に過ぎない。
FIG. 7 is an example of a diagram illustrating block matching. In block matching, an input image is divided into search blocks of small regions, and the position of the search block of the comparative image is shifted by one pixel in the horizontal direction of the image with respect to the search block of the reference image (while shifting). Perform the calculation. In this example,
Search block size: 7 × 7
Luminance value of each pixel of the reference image: Mi, j (i = 1 to 7, j = 1 to 7)
Luminance value of each pixel of the comparison image: Si, j (i = 1 to 7, j = 1 to 7)
And However, the size of the search block is only an example.

予め探索範囲を制限するため、探索した(ずらした)画素数が閾値THを満たした時点で相関値が最も相関を示す(この場合は相関値が小さい)シフト量を決定する。この最も相関値が小さかった画素位置におけるシフト量が、ピクセル単位での視差値dintを表す。 To limit the advance search range and search (shifted) (if the correlation value is small) showing the highest correlation is the correlation value at the time when the number of pixels satisfying the threshold value TH 1 to determine the shift amount. The shift amount at the pixel position with the smallest correlation value represents the parallax value d int in pixel units.

なお、上述したように、本実施例では、ZSSD値を相関値とするが、このZSSD値は一般のZSSD値を3倍したものになっている。   As described above, in this embodiment, the ZSSD value is used as a correlation value, but this ZSSD value is a value obtained by multiplying a general ZSSD value by three.

S13:ステレオ演算処理部24は、ステップS12で算出された相関値を用いて、サブピクセル単位での視差値を算出する。   S13: The stereo calculation processing unit 24 calculates a parallax value in units of sub-pixels using the correlation value calculated in step S12.

サブピクセルの視差値の算出方法としては、等角直線フィッティングやパラボラフィッティングなどが知られている。本実施例では等角直線フィッティングを用いて、サブピクセルの視差値dsubを算出する。 As a method for calculating the parallax value of the sub-pixel, equiangular straight line fitting, parabolic fitting or the like is known. In this embodiment, the disparity value d sub of the sub-pixel is calculated using equiangular straight line fitting.

図8は、等角直線フィッティングを説明する図の一例である。等角直線フィッティングでは、最小の相関値R(0)、2番目に小さい相関値R(1)、及び、3番目に小さい相関値R(-1)を用いる。
(i)最小の相関値(図の黒丸)と3番目に小さな相関値(図のR(-1))を通る直線を引く
(ii)その直線の傾きの符号を逆にした直線で、2番目に小さな相関値(図の(R(1))を通る直線を引く
(iii)2直線の交点位置を求め、最小の相関値から交点までの距離をサブピクセル単位での視差値dsubの推定値とする
等角直線フィッティングを数式で表現すると式(2)により表される。もっとも相関が高い画素の相関値がR(0)、隣接画素の相関値がR(-1)、R(1)である。なお、本実施例では相関値の3倍を算出しているが、相関値が定数倍されてもサブピクセルでの視差値dsubは変化しない。
FIG. 8 is an example of a diagram illustrating equiangular straight line fitting. In the equiangular straight line fitting, the smallest correlation value R (0), the second smallest correlation value R (1), and the third smallest correlation value R (-1) are used.
(i) Draw a straight line that passes through the smallest correlation value (black circle in the figure) and the third smallest correlation value (R (-1) in the figure)
(ii) A straight line with the sign of the slope of the straight line reversed, and a straight line that passes through the second smallest correlation value ((R (1)) in the figure)
(iii) Finding the position of the intersection of two straight lines, and using the distance from the smallest correlation value to the intersection as an estimated value of the parallax value d sub in sub-pixel units. Is done. The correlation value of the pixel with the highest correlation is R (0), and the correlation values of adjacent pixels are R (-1) and R (1). In this embodiment, three times the correlation value is calculated, but the parallax value d sub at the subpixel does not change even if the correlation value is multiplied by a constant.

Figure 2013045276
S14:ステレオ演算処理部24は、ピクセル単位での視差値dintとサブピクセル単位での視差値dsubを加算することで、視差データdを算出する。
Figure 2013045276
S14: The stereo calculation processing unit 24 calculates the parallax data d by adding the parallax value d int in pixel units and the parallax value d sub in sub-pixel units.

<S12の処理>
図9は、ステップS12の処理の詳細な手順を示すフローチャート図の一例を、図10はステレオ演算処理部24の回路構成を模式的に示す図の一例をそれぞれ示す。加算器241は比較画像の探索ブロックの48個の画素の画素値を加算し、シフト部242は加算結果を4bit右シフトする。シフト部243は比較画像の探索ブロックの48個の画素の画素値をそれぞれ1bit左シフトし、加算器244は1bit左シフトされた画素値と元の画素値とを加算する。基準画像側のブロックについても同様である。ZSSD演算器249はZSSD値を算出する。
S12−1:加算器241は比較画像の探索ブロックの注目画素以外の48画素の和を算出し、加算器245は基準画像の探索ブロックの注目画素以外の48画素の和を算出する。なお、注目画素とは探索ブロック内の中心画素を意味し、本実施例ではM4,4、S4,4である。
<Processing of S12>
FIG. 9 shows an example of a flowchart showing the detailed procedure of the processing in step S12, and FIG. 10 shows an example of a diagram schematically showing the circuit configuration of the stereo arithmetic processing unit 24. The adder 241 adds the pixel values of 48 pixels of the comparison image search block, and the shift unit 242 shifts the addition result to the right by 4 bits. The shift unit 243 shifts the pixel values of 48 pixels of the search block of the comparison image by 1 bit to the left, and the adder 244 adds the pixel value shifted by 1 bit to the left and the original pixel value. The same applies to the block on the reference image side. The ZSSD calculator 249 calculates a ZSSD value.
S12-1: The adder 241 calculates the sum of 48 pixels other than the target pixel of the search block of the comparison image, and the adder 245 calculates the sum of 48 pixels other than the target pixel of the search block of the reference image. Note that the pixel of interest means a central pixel in the search block, which is M4,4, S4,4 in this embodiment.

加算器241,245は、1画素毎に加算を48回繰り返す回路でもよいが、48画素の加算を1回で行う回路、又は、m個の画素の加算を1度に行いそれを48/m回繰り返す回路など、さまざまな実装形態がある。一般に1度に加算可能な画素数が多いほど演算が速いが回路規模が大きくなる傾向にあるので、回路規模の制約と必要な演算速度から加算器241,245を設計する。   The adders 241 and 245 may be a circuit that repeats the addition 48 times for each pixel, but a circuit that performs the addition of 48 pixels at a time, or an addition of m pixels at a time and performs 48 / m There are various mounting forms such as a circuit that repeats times. In general, the larger the number of pixels that can be added at one time, the faster the operation is, but the circuit scale tends to increase. Therefore, the adders 241 and 245 are designed from the limitation of the circuit scale and the required calculation speed.

S12−2:次に、シフト部242は加算器241が加算した48個の画素の加算結果を4bit右シフトし、シフト部246は加算器245が加算した48個の画素の加算結果を4bit右シフトする。これは算術シフトであり、上位4桁にはゼロ(正値を意味する)が補充され、下位4桁は捨てられる。4bitの右シフトは16で除算することと等価である。本来、48個の画素の画素値の平均値を求めるのであれば、48で除算すればよいが、シフト演算では2のべき乗の数でしか除算できない。そこで、本実施例では、4bit右シフトすることで16で除算し、注目画素以外の48画素の画素値の平均値×3を近似平均値としている。
近似平均値
=48画素の画素値の合計を4bit右シフトした値
=48画素の画素値の平均値×3
S12−3:シフト部243と加算器244が、比較画像の探索ブロック内の48個の画素の画素値を3倍した値を計算し、シフト部247と加算器248が、基準画像の探索ブロック内の48個の画素の画素値を3倍した値を計算する。すなわち、シフト部243は比較画像の各画素の画素値を1bit左シフトし、シフト部247は基準画像の各画素の画素値を1bit左シフトする。最上位ビットには正値を意味するゼロを保持したまま、最上位ビット以外の下位ビットをそれぞれ1ビット左にシフトし、最下位ビットにゼロを補充する。これにより、2倍した値が得られる。
S12-2: Next, the shift unit 242 shifts the addition result of 48 pixels added by the adder 241 to the right by 4 bits, and the shift unit 246 shifts the addition result of 48 pixels added by the adder 245 to the right by 4 bits. shift. This is an arithmetic shift where the upper 4 digits are filled with zeros (meaning positive values) and the lower 4 digits are discarded. A 4-bit right shift is equivalent to dividing by 16. Originally, if an average value of pixel values of 48 pixels is to be obtained, it is sufficient to divide by 48. However, in a shift operation, division can be performed only by the power of 2. Therefore, in this embodiment, by shifting right by 4 bits, division is performed by 16, and an average value × 3 of 48 pixel values other than the target pixel is set as an approximate average value.
Approximate average value = value obtained by shifting the total of the pixel values of 48 pixels to the right by 4 bits = average value of pixel values of 48 pixels × 3
S12-3: The shift unit 243 and the adder 244 calculate a value obtained by multiplying the pixel values of 48 pixels in the comparison image search block by three, and the shift unit 247 and the adder 248 perform the reference image search block. A value obtained by multiplying the pixel values of 48 pixels among them by three is calculated. That is, the shift unit 243 shifts the pixel value of each pixel of the comparison image to the left by 1 bit, and the shift unit 247 shifts the pixel value of each pixel of the reference image to the left by 1 bit. While the most significant bit holds a zero representing a positive value, the lower bits other than the most significant bit are shifted to the left by 1 bit, respectively, and the least significant bit is supplemented with zero. Thereby, a doubled value is obtained.

シフト部243は画素値を2倍した値を加算器244に入力し、加算器244は比較画像の各画素の画素値と2倍された画素値を加算する。同様に、シフト部247は画素値を2倍した値を加算器248に入力し、加算器248は比較画像の各画素の画素値と2倍された画素値を加算する。これにより、比較画像と基準画像それぞれの画素の画素値を3倍した値が得られる。   The shift unit 243 inputs a value obtained by doubling the pixel value to the adder 244, and the adder 244 adds the pixel value of each pixel of the comparison image and the doubled pixel value. Similarly, the shift unit 247 inputs a value obtained by doubling the pixel value to the adder 248, and the adder 248 adds the pixel value of each pixel of the comparison image and the doubled pixel value. Thereby, a value obtained by multiplying the pixel value of each pixel of the comparison image and the reference image by three is obtained.

S12−4:ZSSD演算器249が、式(3)を用いて、ZSSD値を3倍した値と同等の値を算出する。以下、この値を単にZSSD値という。
3×ZSSD=Σ{(3×Sij−近似平均値)−(3×Mij−近似平均値)} …(3)
すなわち、ZSSD演算器249は、比較画像について、各素毎に、画素値を3倍した値から近似平均値を減じ、基準画像について、各素毎に、画素値を3倍した値から近似平均値を減じる。そして、比較画像の減算値(3×Sij−近似平均値)から基準画像の減算値(3×Mij−近似平均値)を減じた値を二乗する。そして、48個得られる二乗値を全て加算する。
S12-4: The ZSSD computing unit 249 calculates a value equivalent to a value obtained by multiplying the ZSSD value by three, using Expression (3). Hereinafter, this value is simply referred to as a ZSSD value.
3 × ZSSD = Σ {(3 × S ij −approximate average value) − (3 × M ij −approximate average value)} 2 (3)
That is, the ZSSD computing unit 249 subtracts the approximate average value from the value obtained by multiplying the pixel value by 3 for each prime of the comparison image, and approximates the reference image from the value obtained by multiplying the pixel value by 3 for each prime. Decrease the value. Then, the value obtained by subtracting the subtraction value (3 × M ij −approximation average value) of the reference image from the subtraction value (3 × S ij −approximation average value) of the comparison image is squared. Then, all the 48 square values obtained are added.

このような演算により、除算処理することなく相関値としてZSSD値が得られる。   By such an operation, a ZSSD value can be obtained as a correlation value without performing division processing.

S12−5:ステレオ演算処理部24は、探索画素数が閾値TH以上か否かを判定する。 S12-5: stereo processing unit 24 determines whether or not the search number of pixels is the threshold value TH 1 or more.

S12−6:探索画素数が閾値THより大きくない場合、ステレオ演算処理部24は、探索画素数を1つ増やし(注目画素を水平方向に1画素ずつずらして)、S12−1〜12−4の処理を、探索画素数が閾値THより大きくなるまで演算する。したがって、閾値TH個の相関値が得られ、このうち最も小さいZSSD値が得られたシフト量が、ピクセル単位での視差値dintである。 S 12 - 6: If the search the number of pixels is not greater than the threshold value TH 1, the stereo processing unit 24, the number of search pixel incremented by one (by shifting by one pixel the pixel of interest in the horizontal direction), S12-1~12- 4 processing of calculating to search the number of pixels is larger than the threshold value TH 1. Therefore, to obtain the threshold value TH 1 correlation values, the shift amount of the smallest ZSSD value is obtained among this is the disparity value d int in pixels.

なお、ステップS12−2において、4bit右シフトと3倍の処理は、探索ブロックのサイズを7×7画素とした場合の値であって、シフト量と3倍という値は上記に制限されない。例えば、探索ブロックのサイズを4×4とした場合、まず、注目画素を含めて16画素の画素値の合計を算出する。この場合シフト量は右4bitとすればよく、各画素の画素値を3倍する必要はない。   In step S12-2, the 4-bit right shift and triple processing are values when the size of the search block is 7 × 7 pixels, and the shift amount and the triple value are not limited to the above. For example, when the size of the search block is 4 × 4, first, the sum of pixel values of 16 pixels including the target pixel is calculated. In this case, the shift amount may be 4 bits on the right, and it is not necessary to triple the pixel value of each pixel.

また、例えば、探索ブロックのサイズを6×6とした場合、まず、注目画素を含めて36画素の画素値の合計を算出する。シフト量は右2bitとなり、この場合、各画素の画素値を9倍する。このように、探索ブロックのサイズ、着目画素の画素値を加算するか否か、シフト量、定倍数は適宜、定めることができる。   For example, when the size of the search block is set to 6 × 6, first, the sum of pixel values of 36 pixels including the target pixel is calculated. The shift amount is 2 bits to the right. In this case, the pixel value of each pixel is multiplied by nine. As described above, the size of the search block, whether to add the pixel value of the pixel of interest, the shift amount, and the fixed multiple can be determined as appropriate.

〔従来法との比較〕
図11は、除算処理により求めたサブピクセルの視差値と本実施例の方法で求めたサブピクセルの視差値の比較例を示す図であり、図12は並進量とサブピクセルの関係のグラフを示す図の一例である。サブピクセル単位で視差値dsubを比較するのは、ピクセル単位では両者の算出結果が完全に一致してしまい、差異が確認できないためである。
[Comparison with conventional methods]
FIG. 11 is a diagram showing a comparative example of the sub-pixel parallax value obtained by the division process and the sub-pixel parallax value obtained by the method of the present embodiment, and FIG. 12 is a graph showing the relationship between the translation amount and the sub-pixel. It is an example of the figure shown. The reason why the parallax values d sub are compared in units of sub-pixels is that the calculation results of both are completely the same in units of pixels, and the difference cannot be confirmed.

例えば、実験者は、測距ターゲットとステレオカメラ13との間の距離を一定に保ち、ステレオカメラ13を測距ターゲットと平行の方向に0.2ピクセルずつ5回並進させた。それぞれの並進量の際に、サブピクセルの視差値dsubを、ステレオ演算処理部24が従来法と本実施例の算出方法で算出した。図12では横軸がステレオカメラ13の並進量[pix]、縦軸がサブピクセルの視差値dsubである。 For example, the experimenter kept the distance between the distance measurement target and the stereo camera 13 constant, and translated the stereo camera 13 five times by 0.2 pixels in a direction parallel to the distance measurement target. For each translation amount, the parallax value d sub of the sub-pixel was calculated by the stereo calculation processing unit 24 using the conventional method and the calculation method of the present embodiment. In FIG. 12, the horizontal axis represents the translation amount [pix] of the stereo camera 13, and the vertical axis represents the parallax value d sub of the subpixel.

図11、図12から明らかなように、本実施例の視差値dsubの算出結果と、除算処理による視差値dsubの算出結果とが同等の値(ほぼ同じ)になっている。 As is clear from FIGS. 11 and 12, the calculation result of the parallax value d sub of the present embodiment and the calculation result of the parallax value d sub by the division process are equivalent (substantially the same).

したがって、本実施例のステレオカメラシステム100は、除算回路又は除算処理を用いて平均値差分マッチングを行ったときと同等の精度を、より高速な処理で実現できることが検証された。   Therefore, it was verified that the stereo camera system 100 according to the present embodiment can realize the same accuracy as that obtained when the average value difference matching is performed using the division circuit or the division process by the higher-speed processing.

本実施例では、ノイズの影響により相関性の低い小領域をミスマッチすることを防止するステレオカメラシステム100について説明する。本実施例では、基準画像及び比較画像の小領域の平均値を算出後に、両平均値の差の絶対値を算出し、差の絶対値が閾値より大きい場合は両領域が異なる領域であると判断してマッチング処理を行わない。こうすることで、相関性の低い小領域をミスマッチすることを防止することができる。また、従来技術用のように、小領域内の各画素単位で演算しないので演算コストも低減できる。   In this embodiment, a stereo camera system 100 that prevents a small area having low correlation due to the influence of noise from being mismatched will be described. In this embodiment, after calculating the average value of the small areas of the reference image and the comparison image, the absolute value of the difference between the two average values is calculated. If the absolute value of the difference is larger than the threshold value, the two areas are different areas. Judgment is not performed by matching. By doing so, it is possible to prevent mismatching of small areas with low correlation. In addition, since the calculation is not performed for each pixel in the small area as in the prior art, the calculation cost can be reduced.

本実施例では、図6の処理手順は実施例1と同様だが、ステップS12の処理内容が異なっている。   In the present embodiment, the processing procedure of FIG. 6 is the same as that of the first embodiment, but the processing content of step S12 is different.

<S12の処理>
図13は、図6のステップS12の処理の詳細な手順を示すフローチャート図の一例を示す。図14はステレオ演算処理部24の回路構成を模式的に示す図の一例をそれぞれ示す。本実施例のステレオ演算処理部24は減算器250を有する。減算器250は、シフト部242と246が出力する2つの近似平均値の差の絶対値を算出し、閾値以下か否かの判定結果をZSSD演算器249に出力する。
<Processing of S12>
FIG. 13 shows an example of a flowchart showing a detailed procedure of the process of step S12 of FIG. FIG. 14 shows an example of a diagram schematically showing the circuit configuration of the stereo arithmetic processing unit 24. The stereo arithmetic processing unit 24 of this embodiment has a subtracter 250. The subtractor 250 calculates the absolute value of the difference between the two approximate average values output from the shift units 242 and 246, and outputs a determination result as to whether or not it is equal to or less than the threshold value to the ZSSD calculator 249.

S12−11:加算器241は比較画像の注目画素以外の48画素の和を算出し、加算器245は基準画像の注目画素以外の48画素の和を算出する。   S12-11: The adder 241 calculates the sum of 48 pixels other than the target pixel of the comparison image, and the adder 245 calculates the sum of 48 pixels other than the target pixel of the reference image.

S12−12:次に、シフト部242は、加算器241が加算した48個の画素の加算結果を4bit右シフトする。これにより、近似平均値2が得られる。同様に、シフト部246は、加算器245が加算した48個の画素の加算結果を4bit右シフトする。これにより、近似平均値1が得られる。   S12-12: Next, the shift unit 242 shifts the addition result of the 48 pixels added by the adder 241 to the right by 4 bits. Thereby, the approximate average value 2 is obtained. Similarly, the shift unit 246 shifts the addition result of 48 pixels added by the adder 245 to the right by 4 bits. Thereby, the approximate average value 1 is obtained.

なお、必ずしもシフトする必要はなく、基準画像と比較画像の48画素又は49画素の画素値の合計値の差の絶対値を求めてもよい。   Note that it is not always necessary to shift, and the absolute value of the difference between the total values of the 48 pixels or 49 pixels of the reference image and the comparison image may be obtained.

S12−13:減算器250は2つの近似平均値1,2の差の絶対値を算出し、その差が類似判定閾値TH21より小さいか否かを判定する。
2つの探索ブロックが類似している、つまり両探索ブロック領域が2つの画像中で対応する領域の場合、それぞれの探索ブロックで算出した近似平均値はほぼ同等の値になる。これに対し、両探索ブロックが異なる領域の場合は、それぞれの探索ブロックで算出した近似平均値も異なる値となる。
S12-13: The subtracter 250 calculates the absolute value of the difference between the two approximations average 1,2, determines the difference is whether the difference is less than the similarity determination threshold TH 21.
When two search blocks are similar, that is, when both search block areas are corresponding areas in the two images, the approximate average values calculated by the respective search blocks are substantially equivalent. On the other hand, when the two search blocks are different areas, the approximate average values calculated in the respective search blocks are also different values.

この考え方により、両探索ブロック内の近似平均値1,2の差の絶対値が類似判定閾値TH21より小さい場合、両探索ブロックが類似していると判断できる。両探索ブロック内の近似平均値1,2の差の絶対値が類似判定閾値TH21以上の場合、両探索ブロックが異なる領域であると判断される。 This concept, when the absolute value of the difference between the approximate average 1,2 in both search block is smaller than the similarity determination threshold TH 21, it can be determined that both the search blocks are similar. When the absolute value of the difference between the approximate average values 1 and 2 in both search blocks is equal to or greater than the similarity determination threshold TH 21 , it is determined that the two search blocks are different areas.

S12−14:両探索ブロックが類似していると判断された場合、ZSSD演算部249はZSSD値を算出する。算出方法は実施例1と同様である。   S12-14: When it is determined that both search blocks are similar, the ZSSD calculation unit 249 calculates a ZSSD value. The calculation method is the same as in the first embodiment.

S12−15:両探索ブロックが類似していないと判断された場合、ステレオ演算処理部24は、探索した画素数が予め設定した閾値TH以上か否かを判定する。探索した画素数が予め設定した閾値TH以上の場合、算出されたいくつかのZSSD値のうち最も小さい相関値が得られたシフト量が、ピクセル単位での視差値dintである。 S12-15: When both the search block is determined not to be similar, the stereo processing unit 24 determines whether the number of pixels of searching a threshold TH 1 or more preset. If the searched number of pixels is the threshold value TH 1 or more set in advance, the amount of shift smallest correlation value is obtained among several ZSSD value calculated is the disparity value d int in pixels.

S12−16:探索した画素数が予め設定した閾値TH以上でない場合、ステレオ演算処理部24は、1画素隣りの画素位置に移り、S12-11〜S12−15の処理を継続する。 S12-16: when the number of pixels of searching is not the threshold value TH 1 or more set in advance, the stereo processing unit 24 shifts to the pixel position of one pixel adjacent to continue the process of S12-11~S12-15.

本実施例では、単に基準画像と比較画像の探索ブロックの平均を求めるだけなので、探索ブロックの各画素の画素値から平均値を引くような処理が不要であり、演算コストを低減できる。   In this embodiment, since the average of the search blocks of the reference image and the comparison image is simply obtained, a process for subtracting the average value from the pixel values of the pixels of the search block is unnecessary, and the calculation cost can be reduced.

<変形例>
本実施例のミスマッチの防止処理は、除算回路を用いたステレオ演算処理部24によっても実現できる。
<Modification>
The mismatch prevention process of the present embodiment can also be realized by the stereo arithmetic processing unit 24 using a division circuit.

図15は、図6のステップS12の処理の詳細な手順を示すフローチャート図の一例を示す。図16はステレオ演算処理部24の回路構成を模式的に示す図の一例をそれぞれ示す。図16のステレオ演算処理部24は除算回路251、252を有する。除算回路251、252は、加算器241、245が加算した49画素の画素値の合計を、定数49で除算する。したがって、基準画像および比較画像の探索ブロックにおける画素値の平均値MAVE、SAVEがそれぞれ算出される。 FIG. 15 shows an example of a flowchart showing a detailed procedure of the process of step S12 of FIG. FIG. 16 shows an example of a diagram schematically showing the circuit configuration of the stereo arithmetic processing unit 24. The stereo calculation processing unit 24 in FIG. 16 includes division circuits 251 and 252. The division circuits 251 and 252 divide the sum of the pixel values of 49 pixels added by the adders 241 and 245 by a constant 49. Therefore, the average values M AVE and S AVE of the pixel values in the reference image and comparison image search blocks are calculated.

Figure 2013045276
減算器250は、平均値MAVE、SAVEの差の絶対値を算出し、閾値以下か否かの判定結果をZSSD演算器249に出力する。したがって、図13と同様に、両探索ブロックが2つの画像中で対応する領域の場合にだけ、ブロックマッチング処理を行うことができる。
Figure 2013045276
The subtractor 250 calculates the absolute value of the difference between the average values M AVE and S AVE , and outputs a determination result as to whether the difference is equal to or less than the threshold value to the ZSSD calculator 249. Therefore, as in FIG. 13, the block matching process can be performed only when both search blocks are corresponding regions in the two images.

S12−11:加算器241は比較画像の49画素の和を算出し、加算器245は基準画像の49画素の和を算出する。   S12-11: The adder 241 calculates the sum of 49 pixels of the comparison image, and the adder 245 calculates the sum of 49 pixels of the reference image.

S12−12´:次に、除算回路251が加算器241が加算した49個の画素の加算結果を49で除算し、除算回路252が加算器245が加算した49個の画素の加算結果を49で除算する。これにより、平均値MAVE、SAVEが得られる。 S12-12 ′: Next, the division circuit 251 divides the addition result of 49 pixels added by the adder 241 by 49, and the division circuit 252 adds the addition result of 49 pixels added by the adder 245 to 49. Divide by. Thereby, average values M AVE and S AVE are obtained.

S12−13´:減算器250は2つの平均値MAVE、SAVEの差の絶対値を算出し、その差が類似判定閾値TH22より小さいか否かを判定する。両探索ブロック内の近似平均値の差の絶対値が類似判定閾値TH22より小さい場合、両探索ブロックが類似していると判断できる。両探索ブロック内の近似平均値の差の絶対値が類似判定閾値TH22以上の大きい場合、両探索ブロックが異なる領域であると判断される。 S12-13': subtractor 250 determines two average values M AVE, calculates the absolute value of the difference between S AVE, the difference is whether the difference is less than the similarity determination threshold TH 22. If the absolute value of the difference between the approximate average values in both search blocks is smaller than the similarity determination threshold TH 22 , it can be determined that both search blocks are similar. If the absolute value of the difference between the approximate average value in both the search block is greater than similarity determination threshold TH 22, it is determined that both the search block is different regions.

S12−14:両探索ブロックが類似していると判断された場合、ZSSD演算部249はZSSD値を算出する。算出方法は実施例1と同様でもよいが、除算回路251,252を有する場合は以下のようにして算出できる。
ZSSD=Σ{(Sij−SAVE)−(Mij−MAVE …(4)
すなわち、ZSSD演算器249は、探索ブロックの比較画像の画素毎に、画素値Sijから平均値SAVEを減じ、基準画像の画素毎に画素値Mijから平均値MAVEを減じる。それらの差分の二乗和がZSSD値である。
S12-14: When it is determined that both search blocks are similar, the ZSSD calculation unit 249 calculates a ZSSD value. The calculation method may be the same as that of the first embodiment, but when the division circuits 251 and 252 are included, the calculation can be performed as follows.
ZSSD = Σ {(S ij −S AVE ) − (M ij −M AVE } 2 (4)
That is, the ZSSD calculator 249 subtracts the average value S AVE from the pixel value S ij for each pixel of the comparison image of the search block, and subtracts the average value M AVE from the pixel value M ij for each pixel of the reference image. The square sum of these differences is the ZSSD value.

S12−15:両探索ブロックが類似していないと判断された場合、ステレオ演算処理部24は、探索した画素数が予め設定した閾値TH以上か否かを判定する。探索した画素数が予め設定した閾値TH以上の場合、算出されたいくつかのZSSD値のうち最も小さいZSSD値が得られたシフト量が、ピクセル単位での視差値dintである。 S12-15: When both the search block is determined not to be similar, the stereo processing unit 24 determines whether the number of pixels of searching a threshold TH 1 or more preset. If the searched number of pixels is the threshold value TH 1 or more set in advance, the amount of shift smallest ZSSD value is obtained among several ZSSD value calculated is the disparity value d int in pixels.

S12−16:探索した画素数が予め設定した閾値TH以上でない場合、ステレオ演算処理部24は、1画素隣りの画素位置に移り、S12-11〜S12−15の処理を継続する。 S12-16: when the number of pixels of searching is not the threshold value TH 1 or more set in advance, the stereo processing unit 24 shifts to the pixel position of one pixel adjacent to continue the process of S12-11~S12-15.

このような演算方法でも、探索ブロックの各画素の画素値から平均値を引くような処理が不要であり、演算コストを低減できる。   Even with such a calculation method, a process of subtracting the average value from the pixel value of each pixel of the search block is unnecessary, and the calculation cost can be reduced.

11 表示装置
12 画像処理ECU
13 ステレオカメラ
20 画像処理IC
21 ステレオ画像入力部
22 ステレオ画像校正部
23 ステレオ画像記憶部
24 ステレオ演算処理部
25 視差データ記憶部
100 ステレオカメラシステム
11 Display device 12 Image processing ECU
13 Stereo camera 20 Image processing IC
21 Stereo image input unit 22 Stereo image calibration unit 23 Stereo image storage unit 24 Stereo calculation processing unit 25 Parallax data storage unit 100 Stereo camera system

特開平11−234701号公報Japanese Patent Laid-Open No. 11-234701 特開2003−288584号公報JP 2003-288484 A

Z.Zhang, "A Flexible New Technique for Camera Calibration", Technical Report MSR-TR-98-71, Microsoft Research, 1998Z. Zhang, "A Flexible New Technique for Camera Calibration", Technical Report MSR-TR-98-71, Microsoft Research, 1998

Claims (8)

一対のステレオカメラが第1の画像と第2の画像を撮影するステップと、
加算手段が、前記第1の画像の小領域内の画素データの第1の合計値、及び、前記第2の画像の小領域内の画素データの第2の合計値を算出する合計値算出ステップと、
シフト手段が、前記第1の合計値を所定ビット数、右にシフトして第1の近似平均値を算出し、前記第2の合計値を前記所定ビット数、右にシフトして第2の近似平均値を算出する近似平均値算出ステップと、
整数倍手段が、前記第1の画像の小領域内の各画素データの値を整数倍し、前記第2の画像の小領域内の各画素データの値を整数倍する整数倍ステップと、
相関値算出手段が、前記第1の画像の小領域内の画素データ毎に、該画素データの値を整数倍した値から前記第1の近似平均値を引いた第1のデータと、前記第2の画像の小領域内の画素データ毎に、該画素データを整数倍した値から前記第2の近似平均値を引いた第2のデータをそれぞれ求め、前記第1のデータと前記第2のデータとの差の二乗和又は差の絶対値和を算出する相関値算出ステップと、
を有する画像処理方法。
A pair of stereo cameras capturing a first image and a second image;
A total value calculating step in which the adding means calculates a first total value of the pixel data in the small area of the first image and a second total value of the pixel data in the small area of the second image. When,
A shift means shifts the first total value to the right by a predetermined number of bits to calculate a first approximate average value, and shifts the second total value to the right by the predetermined number of bits to obtain a second An approximate average value calculating step for calculating an approximate average value;
An integer multiplying step, the integer multiplying unit multiplying the value of each pixel data in the small area of the first image by an integer, and multiplying the value of each pixel data in the small area of the second image by an integer;
Correlation value calculation means, for each pixel data in the small area of the first image, first data obtained by subtracting the first approximate average value from a value obtained by multiplying the value of the pixel data by an integer, and the first data Second data obtained by subtracting the second approximate average value from a value obtained by multiplying the pixel data by an integer is obtained for each pixel data in the small area of the second image, and the first data and the second data are obtained. A correlation value calculating step for calculating a sum of squares of differences with respect to data or a sum of absolute values of differences;
An image processing method.
前記整数倍手段は、前記第1の画像の小領域内の各画素データ毎に、該画素データの値を左に所定ビット数シフトした値に該画素データの値を加算することで、前記第1の画像の小領域内の各画素データの値を整数倍し、
前記第2の画像の小領域内の各画素データ毎に、該画素データの値を左に所定ビット数シフトした値に該画素データの値を加算することでし、前記第2の画像の小領域内の各画素データの値を整数倍する、
ことを特徴とする請求項1記載の画像処理方法。
The integer multiplication means adds the value of the pixel data to a value obtained by shifting the value of the pixel data to the left by a predetermined number of bits for each pixel data in the small area of the first image. Multiply the value of each pixel data in a small area of one image by an integer,
For each pixel data in the small area of the second image, the value of the pixel data is added to a value obtained by shifting the value of the pixel data to the left by a predetermined number of bits. Multiply the value of each pixel data in the area by an integer,
The image processing method according to claim 1.
加算手段が加算した、前記第1の画像の小領域内の画素データの数又は前記第2の画像の小領域内の画素データの数を、前記シフト手段がシフトした所定ビット数の2のべき乗により除した数と、
整数倍手段による整数倍の倍数が等しい、
ことを特徴とする請求項1又は2記載の画像処理方法。
The number of pixel data in the small area of the first image or the number of pixel data in the small area of the second image, which is added by the adding means, is a power of 2 of the predetermined number of bits shifted by the shifting means. And the number divided by
Multiples of integer multiples by integer multiple means are equal,
The image processing method according to claim 1, wherein the image processing method is an image processing method.
減算手段が、前記第1の近似平均値と前記第2の近似平均値の差の絶対値が閾値より小さいか否かを判定するステップを有し、
前記絶対値が閾値より小さい場合にのみ、前記整数倍手段は整数倍ステップを行い、前記相関値算出手段は相関値算出ステップを行う、
ことを特徴とする請求項1〜3いずれか1項記載の画像処理方法。
The subtracting means has a step of determining whether or not an absolute value of a difference between the first approximate average value and the second approximate average value is smaller than a threshold;
Only when the absolute value is smaller than a threshold value, the integer multiplication means performs an integer multiplication step, and the correlation value calculation means performs a correlation value calculation step.
The image processing method according to any one of claims 1 to 3.
加算手段が加算して得た前記第1の合計値を、除算回路が、前記第1の画像の小領域内の画素データの数で除算した第1の除算結果と、
前記第2の合計値を前記第2の画像の小領域内の画素データの数で除算した第2の除算結果をそれぞれ求める除算ステップをさらに有し、
前記第1の除算結果と前記第2の除算結果の差の絶対値が閾値より小さいか否かを判定するステップを有し、
前記第1の除算結果と前記第2の除算結果の差の絶対値が閾値より小さい場合にのみ、前記整数倍手段は整数倍ステップを行い、前記相関値算出手段は相関値算出ステップを行う、
ことを特徴とする請求項1〜3いずれか1項記載の画像処理方法。
A first division result obtained by dividing the first total value obtained by addition by the adding means by the number of pixel data in the small area of the first image;
A division step for respectively obtaining a second division result obtained by dividing the second total value by the number of pixel data in a small area of the second image;
Determining whether an absolute value of a difference between the first division result and the second division result is smaller than a threshold;
Only when the absolute value of the difference between the first division result and the second division result is smaller than a threshold value, the integer multiplication unit performs an integer multiplication step, and the correlation value calculation unit performs a correlation value calculation step.
The image processing method according to any one of claims 1 to 3.
演算手段が、前記第1の画像の小領域を1画素ずつずらして得られた複数の相関値から最も小さい相関値を選択し、該相関値が得られた際のずらし量により、前記第1の画像と前記第2の画像に共通に撮影された対象物との距離を算出するステップ、
をさらに有することを特徴とする請求項1〜4いずれか1項記載の画像処理方法。
The computing means selects the smallest correlation value from a plurality of correlation values obtained by shifting the small area of the first image pixel by pixel, and the first correlation value is obtained based on the shift amount when the correlation value is obtained. Calculating a distance between the image of the object and an object photographed in common with the second image;
The image processing method according to claim 1, further comprising:
前記演算手段は、複数の前記相関値から小さい順に3つの相関値を抽出し、3つの相関値に等角直線フィッティングを施しサブピクセル単位の視差情報を算出する、
ことを特徴とする請求項6記載の画像処理方法。
The calculation means extracts three correlation values in ascending order from the plurality of correlation values, performs equiangular straight line fitting on the three correlation values, and calculates disparity information in sub-pixel units.
The image processing method according to claim 6.
請求項1〜7いずれか1項記載の画像処理方法を搭載したステレオカメラシステム。   The stereo camera system carrying the image processing method of any one of Claims 1-7.
JP2011182369A 2011-08-24 2011-08-24 Image processing method, stereo camera system Active JP5821408B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011182369A JP5821408B2 (en) 2011-08-24 2011-08-24 Image processing method, stereo camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011182369A JP5821408B2 (en) 2011-08-24 2011-08-24 Image processing method, stereo camera system

Publications (2)

Publication Number Publication Date
JP2013045276A true JP2013045276A (en) 2013-03-04
JP5821408B2 JP5821408B2 (en) 2015-11-24

Family

ID=48009138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011182369A Active JP5821408B2 (en) 2011-08-24 2011-08-24 Image processing method, stereo camera system

Country Status (1)

Country Link
JP (1) JP5821408B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015025730A (en) * 2013-07-26 2015-02-05 株式会社リコー Stereo camera apparatus, mobile object control system, mobile object, and program
WO2017090705A1 (en) * 2015-11-27 2017-06-01 Necソリューションイノベータ株式会社 Image processing device, image processing method and computer-readable recording medium
US9819927B2 (en) 2014-06-09 2017-11-14 Ricoh Company, Ltd. Image processing device, image processing method, and device control system
US10520309B2 (en) 2015-07-02 2019-12-31 Ricoh Company, Ltd. Object recognition device, object recognition method, equipment control system, and distance image generation device
KR20200023631A (en) * 2017-07-05 2020-03-05 에이아이모티브 케이에프티. Method, system and computer readable medium for camera calibration

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0983804A (en) * 1995-09-14 1997-03-28 Matsushita Electric Ind Co Ltd Noise reduction device
JPH11234701A (en) * 1998-02-18 1999-08-27 Fuji Heavy Ind Ltd Stereoscopic image processing unit
WO2011010438A1 (en) * 2009-07-22 2011-01-27 パナソニック株式会社 Parallax detection apparatus, ranging apparatus and parallax detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0983804A (en) * 1995-09-14 1997-03-28 Matsushita Electric Ind Co Ltd Noise reduction device
JPH11234701A (en) * 1998-02-18 1999-08-27 Fuji Heavy Ind Ltd Stereoscopic image processing unit
WO2011010438A1 (en) * 2009-07-22 2011-01-27 パナソニック株式会社 Parallax detection apparatus, ranging apparatus and parallax detection method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015025730A (en) * 2013-07-26 2015-02-05 株式会社リコー Stereo camera apparatus, mobile object control system, mobile object, and program
US9819927B2 (en) 2014-06-09 2017-11-14 Ricoh Company, Ltd. Image processing device, image processing method, and device control system
US10520309B2 (en) 2015-07-02 2019-12-31 Ricoh Company, Ltd. Object recognition device, object recognition method, equipment control system, and distance image generation device
WO2017090705A1 (en) * 2015-11-27 2017-06-01 Necソリューションイノベータ株式会社 Image processing device, image processing method and computer-readable recording medium
JPWO2017090705A1 (en) * 2015-11-27 2018-09-20 Necソリューションイノベータ株式会社 Image processing apparatus, image processing method, and program
KR20200023631A (en) * 2017-07-05 2020-03-05 에이아이모티브 케이에프티. Method, system and computer readable medium for camera calibration
JP2020525894A (en) * 2017-07-05 2020-08-27 エーアイモーティブ ケーエフティー. Method, system and computer readable medium for camera calibration
JP7253745B2 (en) 2017-07-05 2023-04-07 エーアイモーティブ ケーエフティー. Method, system and computer readable medium for camera calibration
KR102530344B1 (en) * 2017-07-05 2023-05-09 에이아이모티브 케이에프티. Method, system and computer readable medium for camera calibration

Also Published As

Publication number Publication date
JP5821408B2 (en) 2015-11-24

Similar Documents

Publication Publication Date Title
JP6417729B2 (en) Image processing apparatus, image processing method, program, parallax data production method, device control system
US10183621B2 (en) Vehicular image processing apparatus and vehicular image processing system
CN107615749B (en) Signal processing apparatus and imaging apparatus
JP5821408B2 (en) Image processing method, stereo camera system
US11431958B2 (en) Vision system and method for a motor vehicle
US9946938B2 (en) In-vehicle image processing device and semiconductor device
WO2012121107A1 (en) Vehicle-mounted camera and vehicle-mounted camera system
JP6565188B2 (en) Parallax value deriving apparatus, device control system, moving body, robot, parallax value deriving method, and program
US10300854B2 (en) Apparatus and method of generating top-view image
JP2016013793A (en) Image display device and image display method
WO2017195459A1 (en) Imaging device and imaging method
JP6337504B2 (en) Image processing apparatus, moving body, robot, device control method and program
WO2018008426A1 (en) Signal processing device and method, and imaging device
WO2018198512A1 (en) Parking assistance device
JPWO2019123795A1 (en) Image processing equipment and image processing methods and programs
JP6564127B2 (en) VISUAL SYSTEM FOR AUTOMOBILE AND METHOD FOR CONTROLLING VISUAL SYSTEM
KR20130015326A (en) Camera system and method for recognition distance using the same
WO2020209079A1 (en) Distance measurement sensor, signal processing method, and distance measurement module
JP6435660B2 (en) Image processing apparatus, image processing method, and device control system
WO2021065500A1 (en) Distance measurement sensor, signal processing method, and distance measurement module
JP2021175137A (en) Imaging apparatus
US20190279385A1 (en) Vision system and method for a motor vehicle
JPWO2018101055A1 (en) Image correction apparatus and image correction method
CN111465818B (en) Image processing apparatus, image processing method, program, and information processing system
US20230289938A1 (en) Image processing device, image processing method, program, and image processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150326

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150407

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150520

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: 20150908

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150921

R151 Written notification of patent or utility model registration

Ref document number: 5821408

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151