JP2005318568A - Image compensation device and image compensation method - Google Patents

Image compensation device and image compensation method Download PDF

Info

Publication number
JP2005318568A
JP2005318568A JP2005098901A JP2005098901A JP2005318568A JP 2005318568 A JP2005318568 A JP 2005318568A JP 2005098901 A JP2005098901 A JP 2005098901A JP 2005098901 A JP2005098901 A JP 2005098901A JP 2005318568 A JP2005318568 A JP 2005318568A
Authority
JP
Japan
Prior art keywords
image
camera
movement vector
vehicle
optical flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005098901A
Other languages
Japanese (ja)
Inventor
Toshihiko Kako
俊彦 加來
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2005098901A priority Critical patent/JP2005318568A/en
Publication of JP2005318568A publication Critical patent/JP2005318568A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Traffic Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To compensate blurring at a photographed image caused by run of a vehicle. <P>SOLUTION: The image compensation device of the present invention comprises: a camera for photographing at the front of a vehicle continuously; a move vector calculation means for computing a move vector within an image for each object, based on the position of each object in each image continuously photographed with the camera; and a blurring compensation means for compensating blurring in the photographed image from the camera, by using the computed move vector from the move vector calculation means. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、車両の前方を撮像する画像補正装置、および画像補正方法に関する。特に本発明は、車両の走行により画像に生じたぶれを補正する画像補正装置、および画像補正方法に関する。   The present invention relates to an image correction apparatus and an image correction method for imaging the front of a vehicle. In particular, the present invention relates to an image correction apparatus and an image correction method for correcting a shake generated in an image due to traveling of a vehicle.

従来、光学系を動かすことにより、被写体に追従してぶれを補正するカメラが知られている。このようなカメラを車両に搭載することにより、車両に発生した振動等によるぶれを補正した画像を取得することができる。尚、このような車載カメラについての技術を開示した文献は見つからなかった。   2. Description of the Related Art Conventionally, a camera that corrects shake by following an object by moving an optical system is known. By mounting such a camera on a vehicle, it is possible to acquire an image in which blurring due to vibration or the like generated in the vehicle is corrected. In addition, the literature which disclosed the technique about such a vehicle-mounted camera was not found.

ここで、走行する車両から前方を連続して撮像した場合、画像内のオブジェクトは画像内を、中心から周囲へ流れるように移動してみえる。このため、車両が高速に走行する場合には、撮像された画像内の各オブジェクトにぶれが生じる。しかしながら、上記のぶれ補正の機能を持つカメラは、オブジェクトに対してカメラが上下や左右に動いた場合におけるぶれを補正することはできるが、各オブジェクトとカメラとの距離が変わった場合は、オブジェクト毎に異なる方向へぶれ生じるので、ぶれを補正することができない。   Here, when the front is continuously imaged from the traveling vehicle, the object in the image appears to move in the image so as to flow from the center to the periphery. For this reason, when the vehicle travels at high speed, each object in the captured image is shaken. However, a camera with the above-described camera shake correction function can correct camera shake when the camera moves up and down or left and right with respect to the object, but if the distance between each object and the camera changes, Since blur occurs in a different direction every time, the blur cannot be corrected.

そこで本発明は、上記の課題を解決することのできる画像補正装置、および画像補正方法を提供することを目的とする。この目的は特許請求の範囲における独立項に記載の特徴の組み合わせにより達成される。また従属項は本発明の更なる有利な具体例を規定する。   Therefore, an object of the present invention is to provide an image correction apparatus and an image correction method that can solve the above-described problems. This object is achieved by a combination of features described in the independent claims. The dependent claims define further advantageous specific examples of the present invention.

即ち、本発明の第一の形態によると、車両の前方を連続して撮像するカメラと、カメラにより連続して撮像された各画像におけるオブジェクトの位置に基づいて、各オブジェクトの画像内における移動ベクトルを算出する移動ベクトル算出手段と、移動ベクトル算出手段により算出された移動ベクトルを用いて、カメラにより撮像された画像のぶれを補正するぶれ補正手段とを備えた画像補正装置を提供する。これにより、本発明の画像補正装置は、ぶれのない画像を得ることができる。特に車両が高速で走行中に、車両に搭載されたカメラで撮像を行った場合には、撮像された画像には大きなぶれが生じる。しかしながら本発明の画像補正装置は、このようなぶれを削減することができる。また、本発明の画像補正装置は、ぶれを補正することができるので、ぶれを補正する機能がないカメラに比べてより長い露光時間をかけて撮像を行うことができる。これにより周囲が暗い場合でも、明るい画像を取得できる。   That is, according to the first aspect of the present invention, based on the camera that continuously images the front of the vehicle and the position of the object in each image continuously captured by the camera, the movement vector in the image of each object There is provided an image correction apparatus comprising: a movement vector calculation unit that calculates the image blur; and a blur correction unit that corrects a blur of an image captured by the camera using the movement vector calculated by the movement vector calculation unit. As a result, the image correction apparatus of the present invention can obtain a blur-free image. In particular, when an image is captured by a camera mounted on the vehicle while the vehicle is traveling at a high speed, the captured image is greatly shaken. However, the image correction apparatus of the present invention can reduce such blurring. In addition, since the image correction apparatus of the present invention can correct blur, it can take an image with a longer exposure time than a camera without a function for correcting blur. Thereby, even when the surroundings are dark, a bright image can be acquired.

上記の移動ベクトル算出手段は、カメラにより撮像された画像のオプティカルフローの消失点を求め、各オブジェクトの移動ベクトルが、消失点から放射状に向いていると仮定して移動ベクトルの方向を求めてもよい。また移動ベクトル算出手段は、カメラにより連続して撮像された各画像中のオブジェクトの位置に基づいて、移動ベクトルの放射方向の長さを求めてもよい。これにより、各オブジェクトの移動ベクトルの方向および長さを容易に算出することができる。また例えば安全地帯表示等の同じ模様が等間隔で繰り返される路側物や路上ペイント、類似した車両などがオブジェクトとして画像に含まれると、移動ベクトルを算出する処理において、他のオブジェクトの特徴点を誤って抽出する場合がある。このような場合、算出された移動ベクトルには誤りが含まれるが、本発明の画像補正装置は、このような移動ベクトルの方向と長さの誤りを容易に修正することができる。   The movement vector calculation means obtains the vanishing point of the optical flow of the image captured by the camera, and obtains the direction of the movement vector on the assumption that the movement vector of each object is directed radially from the vanishing point. Good. Further, the movement vector calculation means may determine the length of the movement vector in the radial direction based on the position of the object in each image continuously captured by the camera. Thereby, the direction and length of the movement vector of each object can be easily calculated. In addition, for example, if roadside objects, road paint, similar vehicles, etc. in which the same pattern such as a safety zone display is repeated at equal intervals are included in the image as objects, the feature points of other objects will be mistaken in the process of calculating the movement vector. May be extracted. In such a case, an error is included in the calculated movement vector, but the image correction apparatus of the present invention can easily correct such an error in the direction and length of the movement vector.

上記の画像補正装置は、車両から各オブジェクトまでの距離を測定する距離測定手段と、車両の速度を測定する速度測定手段と、速度測定手段が測定した速度、および距離測定手段が測定した各オブジェクトまでの距離に基づいて、各オブジェクトの計算上のオプティカルフローを算出するオプティカルフロー算出手段とを更に備え移動ベクトル算出手段は、オプティカルフロー算出手段が算出したオプティカルフローに基づいて、第1の画像に含まれるオブジェクトの、第2の画像における位置を算出し、当該位置を中心とする領域で同一のオブジェクトを探すことにより、第2の画像におけるオブジェクトの位置を求めてもよい。このようにオプティカルフローを用いることにより、オブジェクトの位置を素早く求めることができる。またオプティカルフローによって定まる位置を中心とする領域で同一のオブジェクトを探すので、オブジェクトの移動ベクトルを素早く、かつ正確に求めることができる。   The image correction apparatus includes a distance measuring unit that measures a distance from the vehicle to each object, a speed measuring unit that measures the speed of the vehicle, a speed measured by the speed measuring unit, and each object measured by the distance measuring unit. The movement vector calculation means further includes an optical flow calculation means for calculating an optical flow in calculation of each object based on the distance to the first image based on the optical flow calculated by the optical flow calculation means. The position of the object in the second image may be obtained by calculating the position of the included object in the second image and searching for the same object in a region centered on the position. Thus, the position of the object can be quickly obtained by using the optical flow. Further, since the same object is searched for in an area centered on the position determined by the optical flow, the movement vector of the object can be obtained quickly and accurately.

上記の画像補正装置は、車両の速度を測定する速度測定手段が測定した速度および舵角測定手段が測定した舵角に基づいて車両の旋回速度を算出する旋回速度算出手段を更に備え、オプティカルフロー算出手段は、更に、旋回速度算出手段が算出した旋回速度に基づいて、各オブジェクトの計算上のオプティカルフローを算出してもよい。これにより、オブジェクトの位置を素早く、かつ正確に求めることができる。   The image correction apparatus further includes a turning speed calculating means for calculating a turning speed of the vehicle based on the speed measured by the speed measuring means for measuring the speed of the vehicle and the rudder angle measured by the rudder angle measuring means. The calculation means may further calculate a calculation optical flow of each object based on the turning speed calculated by the turning speed calculation means. Thereby, the position of the object can be obtained quickly and accurately.

上記のぶれ補正手段は、各オブジェクトの内部の画像を、移動ベクトルの方向に微分して得られた画像を原画像に足し合わせることによりぶれを補正してもよい。これにより、各オブジェクトに生じたぶれを容易に削減することができる。   The blur correction unit may correct the blur by adding an image obtained by differentiating the image inside each object in the direction of the movement vector to the original image. As a result, it is possible to easily reduce the blurring generated in each object.

上記の画像補正装置は、ぶれ補正手段がぶれを補正した画像を表示する表示装置を更に備えてもよい。これにより、車両の運転手に対して鮮明な画像を表示することができる。   The image correction apparatus may further include a display device that displays an image in which the shake correction unit corrects the shake. Thereby, a clear image can be displayed to the driver of the vehicle.

上記の画像補正装置は、カメラの露光時間を制御する露光時間制御手段と、車両の加速度を測定する加速度測定手段とを更に備え、露光時間制御手段は、加速度測定手段が測定した車両の加速度がより大きい場合に、カメラの露光時間をより短く制御してもよい。   The image correction apparatus further includes an exposure time control unit that controls the exposure time of the camera and an acceleration measurement unit that measures the acceleration of the vehicle, and the exposure time control unit is configured to measure the acceleration of the vehicle measured by the acceleration measurement unit. If it is larger, the exposure time of the camera may be controlled to be shorter.

上記の加速度測定手段は、車両の旋回速度の変化を更に測定し、露光時間制御手段は、加速度測定手段が測定した車両の旋回速度の変化がより大きい場合に、カメラの露光時間をより短く制御してもよい。   The acceleration measuring means further measures a change in the turning speed of the vehicle, and the exposure time control means controls the exposure time of the camera to be shorter when the change in the turning speed of the vehicle measured by the acceleration measuring means is larger. May be.

上記の加速度測定手段は、車両のアクセルの踏み込み量、ブレーキの踏み込み量、およびハンドルの切り返し量の少なくとも1つを測定し、露光時間制御手段は、アクセルの踏み込み量、ブレーキの踏み込み量、およびハンドルの切り返し量の少なくとも1つの変化量がより大きい場合に、カメラの露光時間をより短く制御してもよい。   The acceleration measuring means measures at least one of the accelerator depression amount, the brake depression amount, and the steering wheel turning amount of the vehicle, and the exposure time control means includes an accelerator depression amount, a brake depression amount, and a steering wheel amount. When at least one change amount of the turning-back amount is larger, the exposure time of the camera may be controlled to be shorter.

上記のぶれ補正手段は、カメラにより連続して撮像された各画像の右辺近傍の領域および左辺近傍の領域におけるぶれの補正を、当該画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正よりも、より高い精度で行ってもよい。   The above blur correction means corrects the blur in the region near the right side and the region near the left side of each image continuously captured by the camera by correcting the blur in the region near the upper side and the region near the lower side of the image. Alternatively, it may be performed with higher accuracy.

上記のぶれ補正手段は、カメラにより連続して撮像された各画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正を行わなくともよい。   The blur correction unit does not need to correct the blur in the region near the upper side and the region near the lower side of each image continuously captured by the camera.

上記の移動ベクトル算出手段は、カメラにより撮像された画像のオプティカルフローの消失点を求め、ぶれ補正手段は、オプティカルフローの消失点の近傍の領域におけるぶれの補正を、当該消失点の近傍の領域以外の領域よりも低い精度で行ってもよい。   The movement vector calculation means obtains the vanishing point of the optical flow of the image captured by the camera, and the blur correction means corrects the blur in the area near the vanishing point of the optical flow, and the area near the vanishing point. It may be performed with lower accuracy than other areas.

上記のぶれ補正手段は、カメラにより連続して撮像された各画像の略中央の領域におけるぶれの補正を、当該略中央の領域以外の領域よりも低い精度で行ってもよい。   The blur correction unit may perform blur correction in a substantially central region of each image continuously captured by the camera with a lower accuracy than regions other than the substantially central region.

本発明の第二の形態によると、車両の前方をカメラにより連続して撮像するステップと、カメラにより連続して撮像された各画像におけるオブジェクトの位置に基づいて、各オブジェクトの画像内における移動ベクトルを算出する移動ベクトル算出ステップと、移動ベクトル算出ステップにより算出された移動ベクトルを用いて、カメラにより撮像された画像のぶれを補正するぶれ補正ステップと、車両の舵角を測定する舵角測定ステップとを備えた画像補正方法を提供する。   According to the second aspect of the present invention, based on the step of continuously capturing the front of the vehicle with the camera and the position of the object in each image continuously captured by the camera, the movement vector in the image of each object A movement vector calculation step for calculating the image, a blur correction step for correcting the blur of the image captured by the camera using the movement vector calculated in the movement vector calculation step, and a steering angle measurement step for measuring the steering angle of the vehicle An image correction method comprising:

上記の移動ベクトル算出ステップは、カメラにより撮像された画像のオプティカルフローの消失点を求め、各オブジェクトの移動ベクトルが、消失点から放射状に向いていると仮定して移動ベクトルの方向を修正してもよい。   The movement vector calculation step described above obtains the vanishing point of the optical flow of the image captured by the camera and corrects the direction of the movement vector assuming that the movement vector of each object is radially directed from the vanishing point. Also good.

上記の移動ベクトル算出ステップは、カメラにより連続して撮像された各画像中のオブジェクトの修正された方向に基づいて、移動ベクトルの長さを修正してもよい。   In the movement vector calculation step, the length of the movement vector may be corrected based on the corrected direction of the object in each image continuously captured by the camera.

上記の画像補正方法は、車両から各オブジェクトまでの距離を測定する距離測定ステップと、車両の速度を測定する速度測定ステップと、速度測定ステップが測定した速度、および距離測定ステップが測定した各オブジェクトまでの距離に基づいて、各オブジェクトの計算上のオプティカルフローを算出するオプティカルフロー算出ステップとを更に備え、移動ベクトル算出ステップは、オプティカルフロー算出ステップが算出したオプティカルフローに基づいて、第1の画像に含まれるオブジェクトの、第2の画像における位置を算出し、当該位置を中心とする領域で同一のオブジェクトを探すことにより、第2の画像におけるオブジェクトの位置を求めてもよい。   The image correction method includes a distance measuring step for measuring a distance from the vehicle to each object, a speed measuring step for measuring the speed of the vehicle, a speed measured by the speed measuring step, and each object measured by the distance measuring step. And an optical flow calculation step of calculating an optical flow in calculation of each object based on the distance to the first image based on the optical flow calculated by the optical flow calculation step. The position of the object in the second image may be obtained by calculating the position of the object included in the second image and searching for the same object in a region centered on the position.

上記の画像補正方法は、車両の速度を測定する速度測定ステップが測定した速度および舵角測定ステップが測定した舵角に基づいて車両の旋回速度を算出する旋回速度算出ステップを更に備え、オプティカルフロー算出ステップは、更に、旋回速度算出ステップが算出した旋回速度に基づいて、各オブジェクトの計算上のオプティカルフローを算出してもよい。   The image correction method further includes a turning speed calculation step for calculating a turning speed of the vehicle based on the speed measured by the speed measurement step for measuring the speed of the vehicle and the rudder angle measured by the rudder angle measurement step. The calculating step may further calculate a calculation optical flow of each object based on the turning speed calculated by the turning speed calculating step.

上記のぶれ補正ステップは、個々のオブジェクトの内部の画像を、移動ベクトルの方向に微分して得られた画像を原画像に足し合わせることによりぶれを補正してもよい。   In the blur correction step, blur may be corrected by adding an image obtained by differentiating an image inside each object in the direction of the movement vector to the original image.

上記の画像補正方法は、ぶれ補正ステップがぶれを補正した画像を表示する表示ステップを更に備えてもよい。   The image correction method may further include a display step for displaying an image in which the shake correction step corrects the shake.

上記のぶれ補正ステップは、カメラにより連続して撮像された各画像の右辺近傍の領域および左辺近傍の領域におけるぶれの補正を、当該画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正よりも、より高い精度で行ってもよい。   The blur correction step described above is to correct the blur in the area near the right side and the area near the left side of each image continuously captured by the camera by correcting the blur in the area near the upper side and the area near the lower side of the image. Alternatively, it may be performed with higher accuracy.

上記のぶれ補正ステップは、カメラにより連続して撮像された各画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正を行わなくともよい。   In the blur correction step described above, it is not necessary to perform blur correction in the region near the upper side and the region near the lower side of each image continuously captured by the camera.

上記の移動ベクトル算出ステップは、カメラにより撮像された画像のオプティカルフローの消失点を求め、ぶれ補正ステップは、オプティカルフローの消失点の近傍の領域におけるぶれの補正を、当該消失点の近傍の領域以外の領域よりも低い精度で行ってもよい。   The movement vector calculation step obtains the vanishing point of the optical flow of the image captured by the camera, and the blur correction step corrects the blur in the region near the vanishing point of the optical flow, and the region near the vanishing point. It may be performed with lower accuracy than other areas.

上記のぶれ補正ステップは、カメラにより連続して撮像された各画像の略中央の領域におけるぶれの補正を、当該中央の領域以外の領域よりも低い精度で行ってもよい。   In the blur correction step, the blur correction in a substantially central region of each image continuously captured by the camera may be performed with a lower accuracy than the region other than the central region.

なお上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションも又発明となりうる。   The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are included. It is not necessarily essential for the solution of the invention.

図1は、本実施形態に係る車両10に搭載された画像補正装置100の一例を示す。画像補正装置100は内部にカメラを備えており、車両10の前方を連続して撮像する。図2は、本実施形態に係る画像補正装置100が取得する画像の一例である画像12を示す。車両10の走行中に、カメラが連続したフレームを撮像すると、画像の略中央に含まれるオブジェクト602は、車両10が一定の速度で直進している場合、次のフレームにおいて、画像12の周辺部へと移動したオブジェクト604として現われる。ここで車両10が高速で走行している場合には、撮像されたオブジェクト604にはぶれが生じる場合がある。そこで本発明の画像補正装置100は、オブジェクトのぶれを補正した画像を運転手に提供することを目的とする。   FIG. 1 shows an example of an image correction apparatus 100 mounted on a vehicle 10 according to this embodiment. The image correction apparatus 100 includes a camera inside, and continuously images the front of the vehicle 10. FIG. 2 shows an image 12 that is an example of an image acquired by the image correction apparatus 100 according to the present embodiment. When the camera captures a series of frames while the vehicle 10 is traveling, the object 602 included in the approximate center of the image is a peripheral portion of the image 12 in the next frame when the vehicle 10 is traveling straight at a constant speed. Appears as an object 604 moved to. Here, when the vehicle 10 is traveling at high speed, the imaged object 604 may be shaken. Accordingly, an object of the image correction apparatus 100 of the present invention is to provide a driver with an image obtained by correcting object shake.

複数のフレーム内の同一のオブジェクトの位置を結ぶと、車両10に対するオブジェクトの相対速度に応じた移動ベクトルが得られる。そしてオブジェクトが静止している場合、車両10の走行により生じる移動ベクトルは、画像の中心付近では小さく生じ、周囲においては大きい。また、各オブジェクトの移動ベクトルは、車両10からオブジェクトまでの距離が近いほど大きくなる。本明細書では、このような、車両10の走行状態とオブジェクトの距離によって定まる画像内における各オブジェクトの動きをオプティカルフローと呼び、画像内におけるオブジェクトの実際の動きを移動ベクトルと呼ぶ。そして各オブジェクトのオプティカルフローは、車両10の進行方向とカメラの光軸方向が一致している場合、消失点600から放射状に生じる。本発明では、更に、このオプティカルフローを用いてぶれを補正することを目的とする。   When the positions of the same object in a plurality of frames are connected, a movement vector corresponding to the relative speed of the object with respect to the vehicle 10 is obtained. When the object is stationary, the movement vector generated by the traveling of the vehicle 10 is small near the center of the image and large around. Moreover, the movement vector of each object becomes larger as the distance from the vehicle 10 to the object is shorter. In this specification, the movement of each object in the image determined by the traveling state of the vehicle 10 and the distance of the object is called an optical flow, and the actual movement of the object in the image is called a movement vector. The optical flow of each object occurs radially from the vanishing point 600 when the traveling direction of the vehicle 10 matches the optical axis direction of the camera. Another object of the present invention is to correct blur using this optical flow.

図3は、本実施形態に係る画像補正装置100の機能構成の一例を示す。本例の画像補正装置100は、速度測定手段40、カメラ41、舵角測定手段42、移動ベクトル算出手段43、ぶれ補正手段44、旋回速度算出手段46、および表示装置51を備える。   FIG. 3 shows an example of a functional configuration of the image correction apparatus 100 according to the present embodiment. The image correction apparatus 100 of this example includes a speed measurement unit 40, a camera 41, a steering angle measurement unit 42, a movement vector calculation unit 43, a shake correction unit 44, a turning speed calculation unit 46, and a display device 51.

カメラ41は、画像補正装置100が搭載される車両10の進行方向に光軸が一致するように車両10に予め配置され、車両10の前方を連続して撮像する。   The camera 41 is disposed in advance in the vehicle 10 so that the optical axis coincides with the traveling direction of the vehicle 10 on which the image correction apparatus 100 is mounted, and continuously images the front of the vehicle 10.

移動ベクトル算出手段43は、カメラ41が連続して撮像した各画像におけるオブジェクトの位置に基づいて、各オブジェクトの画像内における移動ベクトルを算出する。本例の移動ベクトル算出手段43は、各オブジェクトにおいて、異なるフレーム間における同じ特徴点の位置の差分を求めることにより移動ベクトルを算出する。これによりカメラ41に撮像された画像のオプティカルフローが算出される。ここで移動ベクトル算出手段43は、画像のオプティカルフローから画像の消失点を算出する。本例の移動ベクトル算出手段43は、各オブジェクトの移動ベクトルを延長した直線を生成し、各直線までの距離の2乗の総和が最小となる点を、消失点として算出する。   The movement vector calculation unit 43 calculates a movement vector in the image of each object based on the position of the object in each image continuously captured by the camera 41. The movement vector calculation means 43 of this example calculates a movement vector by obtaining the difference in the position of the same feature point between different frames in each object. Thereby, the optical flow of the image captured by the camera 41 is calculated. Here, the movement vector calculation means 43 calculates the vanishing point of the image from the optical flow of the image. The movement vector calculation means 43 of this example generates a straight line obtained by extending the movement vector of each object, and calculates a point at which the sum of the squares of the distances to each straight line is minimum as a vanishing point.

ここで、例えば安全地帯表示等の同じ模様が等間隔で繰り返される路側物や路上ペイント、類似した車両などがオブジェクトとして画像に含まれると、移動ベクトルを算出する処理において、他のオブジェクトの特徴点を抽出する場合がある。このような場合、算出された移動ベクトルには誤りが含まれる。そこで本発明の画像補正装置100は、移動ベクトルの方向と長さを修正する。   Here, for example, when roadside objects, road paint, similar vehicles, etc. in which the same pattern such as a safety zone display is repeated at equal intervals are included in the image as objects, the feature points of other objects in the process of calculating the movement vector May be extracted. In such a case, the calculated movement vector includes an error. Therefore, the image correction apparatus 100 of the present invention corrects the direction and length of the movement vector.

図4は、本実施形態に係る移動ベクトルを修正する動作の一例を説明する図である。本発明の移動ベクトル算出手段43は、各オブジェクトの移動ベクトルが、消失点から放射状に向いていると仮定して移動ベクトルの方向を修正する。この場合、修正された移動ベクトルの方向とは、消失点から各オブジェクトの位置へ向かう方向である。本図の例において、移動ベクトル606を修正する場合、移動ベクトル算出手段43は、消失点600aから、オブジェクトの位置605へ向かう方向を、修正された移動ベクトルの方向とする。   FIG. 4 is a diagram illustrating an example of an operation for correcting a movement vector according to the present embodiment. The movement vector calculation means 43 of the present invention corrects the direction of the movement vector on the assumption that the movement vector of each object is directed radially from the vanishing point. In this case, the direction of the corrected movement vector is a direction from the vanishing point to the position of each object. In the example of this figure, when correcting the movement vector 606, the movement vector calculation means 43 sets the direction from the vanishing point 600a to the object position 605 as the direction of the corrected movement vector.

また移動ベクトル算出手段43は、修正された方向に基づいて、移動ベクトルの長さを修正する。本例の移動ベクトル算出手段43は、修正された方向への、修正する前の移動ベクトルの成分を算出することにより、移動ベクトルの長さ修正する。本図の例では、ベクトル608の長さが、修正された長さに相当する。これにより移動ベクトル算出手段43は、各オブジェクトの移動ベクトルの方向、および長さを容易に算出することができる。   Moreover, the movement vector calculation means 43 corrects the length of the movement vector based on the corrected direction. The movement vector calculation means 43 of this example corrects the length of the movement vector by calculating the component of the movement vector before correction in the corrected direction. In the example of this figure, the length of the vector 608 corresponds to the corrected length. Thereby, the movement vector calculation means 43 can calculate easily the direction and length of the movement vector of each object.

ぶれ補正手段44は、移動ベクトル算出手段43により算出された移動ベクトルを用いて、カメラ41により撮像された画像のぶれを補正する。なお、ぶれ補正手段の詳細な動作は後述する。表示装置51は、ぶれ補正手段44がぶれを補正した画像を、運転手へ表示する。これにより、車両の運転手に対して鮮明な画像を表示することができる。   The blur correction unit 44 corrects the blur of the image captured by the camera 41 using the movement vector calculated by the movement vector calculation unit 43. The detailed operation of the shake correction unit will be described later. The display device 51 displays an image obtained by correcting the shake by the shake correction unit 44 to the driver. Thereby, a clear image can be displayed to the driver of the vehicle.

このように、本発明の画像補正装置100は、ぶれのない画像を生成することができる。特に車両10が高速にした場合に撮像された画像には大きなぶれが生じるが、本発明の画像補正装置100は、このようなぶれを削減することができる。また、本発明の画像補正装置100は、ぶれを補正することができるので、ぶれを補正する機能がないカメラに比べて、より長い露光時間をかけて撮像を行うことができる。これにより、周囲が暗い場合でも、より明るい画像を運転手に表示することができる。   As described above, the image correction apparatus 100 according to the present invention can generate a blur-free image. In particular, large blurring occurs in an image captured when the vehicle 10 is operated at high speed. However, the image correction apparatus 100 of the present invention can reduce such blurring. In addition, since the image correction apparatus 100 of the present invention can correct blur, it can take an image with a longer exposure time compared to a camera that does not have the function of correcting blur. Thereby, even when the surroundings are dark, a brighter image can be displayed to the driver.

また本発明のカメラ41は、内部に2つのカメラを含む3Dカメラであってもよい。この場合、カメラ41は、内部に含む2つのカメラにより撮像されたオブジェクトの特徴点の位置のずれを用いて、車両10からオブジェクトまでの距離を算出する。この場合、カメラ41は、距離測定手段の一例であって、各カメラにより撮像されたオブジェクトの特徴点の位置ずれを用いて、車両10を基準としたオブジェクトまでの距離を測定する。   The camera 41 of the present invention may be a 3D camera including two cameras inside. In this case, the camera 41 calculates the distance from the vehicle 10 to the object using the shift of the position of the feature point of the object imaged by the two cameras included therein. In this case, the camera 41 is an example of a distance measuring unit, and measures the distance to the object with reference to the vehicle 10 using the positional deviation of the feature points of the object imaged by each camera.

速度測定手段40は車両10の速度を測定し、舵角測定手段42は車両10の舵角を測定する。旋回速度算出手段46は、速度測定手段40が測定した速度および舵角測定手段42が測定した舵角に基づいて車両の旋回速度を算出する。本例の旋回速度算出手段46は、速度測定手段40が測定した速度に、舵角測定手段42が測定した舵角の変化の大きさを乗じることにより、車両10の旋回速度を算出する。   The speed measuring means 40 measures the speed of the vehicle 10, and the steering angle measuring means 42 measures the steering angle of the vehicle 10. The turning speed calculating means 46 calculates the turning speed of the vehicle based on the speed measured by the speed measuring means 40 and the rudder angle measured by the rudder angle measuring means 42. The turning speed calculating means 46 of this example calculates the turning speed of the vehicle 10 by multiplying the speed measured by the speed measuring means 40 by the magnitude of the change in the steering angle measured by the steering angle measuring means 42.

移動ベクトル算出手段43は、オプティカルフロー算出手段48を有する。ここで、画像内における消失点の位置は、車両10の進行方向とカメラ41の光軸の方向とから予め定まる。この場合、車両10が走行することにより、各オブジェクトには、消失点からオブジェクトへ向かう方向のオプティカルフローが生じる。このオプティカルフローの長さは、車両10の速度、車両10からオブジェクトまでの距離、および車両10に対するオブジェクトの方向から定まる。そこで本例のオプティカルフロー算出手段48は、速度測定手段40が測定した速度、各オブジェクトまでの距離、およびオブジェクトの方向、即ち画像内におけるオブジェクトの位置に基づいて、各オブジェクトの計算上のオプティカルフローを算出する。この場合、計算上のオプティカルフローとは、車両10が直進した場合に各オブジェクトに生じる画像内におけるオプティカルフローである。   The movement vector calculation means 43 has an optical flow calculation means 48. Here, the position of the vanishing point in the image is determined in advance from the traveling direction of the vehicle 10 and the direction of the optical axis of the camera 41. In this case, when the vehicle 10 travels, an optical flow in a direction from the vanishing point toward the object occurs in each object. The length of the optical flow is determined from the speed of the vehicle 10, the distance from the vehicle 10 to the object, and the direction of the object with respect to the vehicle 10. Therefore, the optical flow calculation means 48 of this example calculates the optical flow in calculation of each object based on the speed measured by the speed measurement means 40, the distance to each object, and the direction of the object, that is, the position of the object in the image. Is calculated. In this case, the calculated optical flow is an optical flow in an image generated in each object when the vehicle 10 goes straight.

また車両10が微小時間内において旋回した場合、画像内におけるオブジェクトには、左右の方向へのオプティカルフローが生じる。このオプティカルフローの方向は、旋回を行った方向と逆方向であり、その大きさは、車両10の旋回速度に比例する。そこで旋回速度算出手段46は、速度測定手段40が算出した速度、および舵角測定手段42が測定した舵角から旋回速度を算出し、オプティカルフロー算出手段48は、算出された旋回速度を用いて、旋回によって生じる計算上のオプティカルフローを算出する。本例では、旋回した場合に生じた各オブジェクトのオプティカルフローを、車両10が直進した場合に生じた各オブジェクトのオプティカルフローへ加算することにより、車両10が旋回しながら進む場合における各オブジェクトの計算上のオプティカルフローを算出する。   Further, when the vehicle 10 turns in a minute time, an optical flow in the left and right direction is generated in the object in the image. The direction of this optical flow is opposite to the direction in which the vehicle turns, and its magnitude is proportional to the turning speed of the vehicle 10. Therefore, the turning speed calculating means 46 calculates the turning speed from the speed calculated by the speed measuring means 40 and the rudder angle measured by the rudder angle measuring means 42, and the optical flow calculating means 48 uses the calculated turning speed. Calculate the optical flow calculated by turning. In this example, the optical flow of each object that occurs when the vehicle 10 turns is added to the optical flow of each object that occurs when the vehicle 10 goes straight, thereby calculating each object when the vehicle 10 moves while turning. Calculate the optical flow above.

図5は、本実施形態に係る移動ベクトルを修正する動作の他の例を説明する図である。移動ベクトル算出手段43は、オプティカルフロー算出手段48が算出した各オブジェクトの計算上のオプティカルフローに基づいて、第1の画像に含まれるオブジェクトの、第2の画像における位置を算出する。ここで第1の画像と第2の画像とは連続して撮像された画像である。本例では、第2の画像は、第1の画像が撮像された後に撮像された画像である。オプティカルフロー算出手段48は、算出した位置を中心とする領域で同一のオブジェクトを、例えばパターンマッチング処理を用いて探すことにより、第2の画像におけるオブジェクトの位置を求める。   FIG. 5 is a diagram for explaining another example of the operation for correcting the movement vector according to the present embodiment. The movement vector calculation unit 43 calculates the position of the object included in the first image in the second image based on the optical flow in calculation of each object calculated by the optical flow calculation unit 48. Here, the first image and the second image are images captured continuously. In this example, the second image is an image captured after the first image is captured. The optical flow calculation means 48 obtains the position of the object in the second image by searching for the same object in a region centered on the calculated position using, for example, pattern matching processing.

本図の例では、移動ベクトル算出手段43は、消失点600bを起点とする計算上のオプティカルフロー610を算出することにより、第2の画像における位置612を算出し、位置612を中心とする領域614において、第2の画像におけるオブジェクトの位置616を求める。そして移動ベクトル算出手段43は、第1の画像におけるオブジェクトの位置611、および、算出した第2の画像におけるオブジェクトの位置616から、オブジェクトの移動ベクトル618を算出する。このようにオプティカルフローを用いることにより、オブジェクトの位置を素早く求めることができる。またオプティカルフローによって定まる位置を中心とする領域614で同一のオブジェクトを探すので、オブジェクトの移動ベクトルを素早く、かつ正確に求めることができる。   In the example of this figure, the movement vector calculation means 43 calculates a position 612 in the second image by calculating a calculation optical flow 610 starting from the vanishing point 600b, and an area centered on the position 612. In 614, the position 616 of the object in the second image is determined. The movement vector calculation unit 43 calculates an object movement vector 618 from the object position 611 in the first image and the calculated object position 616 in the second image. Thus, the position of the object can be quickly obtained by using the optical flow. Further, since the same object is searched for in the area 614 centered on the position determined by the optical flow, the movement vector of the object can be obtained quickly and accurately.

そしてぶれ補正手段44は、移動ベクトル算出手段43が算出した移動ベクトル618の方向および長さを用いてぶれを補正し、表示装置51は、ぶれ補正手段44がぶれを補正した画像を運転手へ表示する。   Then, the shake correction unit 44 corrects the shake using the direction and length of the movement vector 618 calculated by the movement vector calculation unit 43, and the display device 51 displays the image corrected by the shake correction unit 44 to the driver. indicate.

このように、本発明の画像補正装置100は、ぶれのない画像を生成することができる。特に、車両10が走行することにより生じるオブジェクトのぶれの大きさは、車両10からオブジェクトまでの距離によって異なる。しかしながら本発明では、各オブジェクトの距離に応じたぶれの大きさを算出した上でぶれを補正するので、各オブジェクトのぶれを適切に補正することができる。   As described above, the image correction apparatus 100 according to the present invention can generate a blur-free image. In particular, the size of the object shake caused by the traveling of the vehicle 10 varies depending on the distance from the vehicle 10 to the object. However, in the present invention, since the shake is corrected after calculating the size of the shake according to the distance of each object, the shake of each object can be corrected appropriately.

図6は、本実施形態に係る画像補正装置100の動作の一例を示すフローチャートである。カメラ41は、画像補正装置100が搭載される車両10の進行方向に光軸が一致するように車両10に予め配置され、車両10の前方を連続して撮像する(S100)。   FIG. 6 is a flowchart illustrating an example of the operation of the image correction apparatus 100 according to the present embodiment. The camera 41 is arranged in advance in the vehicle 10 so that the optical axis coincides with the traveling direction of the vehicle 10 on which the image correction apparatus 100 is mounted, and continuously images the front of the vehicle 10 (S100).

移動ベクトル算出手段43は、カメラ41が連続して撮像した各画像におけるオブジェクトの位置に基づいて、各オブジェクトの画像内における移動ベクトルを算出する(S105)。そして移動ベクトル算出手段43は、画像のオプティカルフローから画像の消失点を算出する(S110)。   The movement vector calculation means 43 calculates the movement vector in the image of each object based on the position of the object in each image continuously captured by the camera 41 (S105). Then, the movement vector calculation unit 43 calculates the vanishing point of the image from the optical flow of the image (S110).

次に移動ベクトル算出手段43は、各オブジェクトの各移動ベクトルの方向と長さを修正する(S115)。具体的には、各オブジェクトの移動ベクトルが、消失点から放射状に向いていると仮定して移動ベクトルの方向を修正する。また移動ベクトル算出手段43は、カメラにより連続して撮像された各画像中のオブジェクトの位置に基づいて、移動ベクトルの放射方向の長さを求める。この場合、放射方向とは、消失点から移動ベクトルの始点へ向かう方向である。   Next, the movement vector calculation means 43 corrects the direction and length of each movement vector of each object (S115). Specifically, the direction of the movement vector is corrected assuming that the movement vector of each object is directed radially from the vanishing point. Moreover, the movement vector calculation means 43 calculates | requires the length of the radial direction of a movement vector based on the position of the object in each image imaged continuously with the camera. In this case, the radiation direction is a direction from the vanishing point toward the starting point of the movement vector.

そして、ぶれ補正手段44は、移動ベクトル算出手段43により算出された移動ベクトルを用いて、カメラ41により撮像された画像のぶれを補正し(S120)、表示装置51は、ぶれ補正手段44がぶれを補正した画像を、運転手へ表示する(S125)。これにより、本発明の画像補正装置100は、車両10の運転手に対してぶれのない画像を表示することができる。   Then, the shake correction unit 44 corrects the shake of the image captured by the camera 41 using the movement vector calculated by the movement vector calculation unit 43 (S120). An image with the correction corrected is displayed to the driver (S125). As a result, the image correction apparatus 100 of the present invention can display an image without blurring for the driver of the vehicle 10.

図7は、ステップS120の詳細な動作の一例を示すフローチャートである。カメラ41が撮像した画像に生じるぶれは、画像を撮像した露光時間内に、オブジェクトと車両10との相対的な位置が変化することにより生じる。従って、生じたぶれの方向は、オブジェクトの移動ベクトルの方向に等しく、生じたぶれの幅は、露光時間内にオブジェクトが画像内を移動した距離に等しい。   FIG. 7 is a flowchart showing an example of detailed operation of step S120. The shake that occurs in the image captured by the camera 41 is caused by a change in the relative position of the object and the vehicle 10 within the exposure time when the image is captured. Therefore, the direction of the generated blur is equal to the direction of the movement vector of the object, and the width of the generated blur is equal to the distance that the object has moved in the image within the exposure time.

ここで、ぶれ補正手段44は、移動ベクトル算出手段43が算出した移動ベクトルの方向と長さを受け取る。するとぶれ補正手段44は、受け取った移動ベクトルの方向、および長さに基づいてぶれを補正するための領域を定める(S200)。この場合、ぶれ補正手段44は、各特徴点の移動ベクトルに対して、移動ベクトルが示す方向を、ぶれを補正する方向として定める。またぶれ補正手段44は、受け取った移動ベクトルと、画像の露光時間に基づいてぶれの幅を算出する。本例のぶれ補正手段44は、露光時間を移動ベクトルが算出されたタイミング間隔で割った値に、移動ベクトルを乗じることによりぶれの幅を算出する。これにより、各特徴点に対してぶれを補正すべき方向、および幅が定まる。   Here, the blur correction unit 44 receives the direction and length of the movement vector calculated by the movement vector calculation unit 43. Then, the shake correction unit 44 determines an area for correcting shake based on the direction and length of the received movement vector (S200). In this case, the shake correction unit 44 determines the direction indicated by the movement vector as the direction for correcting the shake with respect to the movement vector of each feature point. The blur correction unit 44 calculates the blur width based on the received movement vector and the exposure time of the image. The blur correction unit 44 of this example calculates the blur width by multiplying the value obtained by dividing the exposure time by the timing interval at which the movement vector is calculated, by the movement vector. As a result, the direction and width in which blurring is to be corrected for each feature point is determined.

そしてぶれ補正手段44は、特徴点に対してぶれを補正すべき方向および幅によって定まる領域において、個々のオブジェクトの内部の画像を、移動ベクトルの方向に微分し、(S205)、得られた画像を原画像に足し合わせる(S210)ことによりぶれを補正する。ぶれ補正手段44は、上記の処理を全てのオブジェクトに対して行うことにより、各オブジェクトに生じたぶれを補正する。これにより、本発明の画像補正装置100は、各オブジェクトに生じたぶれを容易に削減することができる。そしてフローチャートは、ステップS125へ進む。   Then, the blur correction unit 44 differentiates the image inside each object in the direction of the movement vector in an area determined by the direction and width in which the blur is to be corrected with respect to the feature point (S205), and the obtained image. Is added to the original image (S210) to correct the blur. The shake correction unit 44 corrects the shake generated in each object by performing the above-described processing on all the objects. As a result, the image correction apparatus 100 according to the present invention can easily reduce blurring that occurs in each object. Then, the flowchart proceeds to step S125.

図8は、本実施形態に係る画像補正装置100の他の動作の一例を示すフローチャートである。本動作例において画像補正装置100は、図6において説明したステップS105からステップS115の動作に代えて、以下に説明するステップS150を行う。   FIG. 8 is a flowchart illustrating an example of another operation of the image correction apparatus 100 according to the present embodiment. In this operation example, the image correction apparatus 100 performs step S150 described below instead of the operations from step S105 to step S115 described in FIG.

カメラ41は、内部に2つのカメラを含む3Dカメラであってもよく、カメラ41は、内部に含む2つのカメラにより撮像されたオブジェクトの特徴点の位置のずれを用いて、車両10からオブジェクトまでの距離を測定する(S300)。   The camera 41 may be a 3D camera including two cameras inside, and the camera 41 uses the displacement of the position of the feature point of the object imaged by the two cameras included therein to move from the vehicle 10 to the object. Is measured (S300).

速度測定手段40は車両10の速度を測定し、舵角測定手段42は車両10の舵角を測定する(S305)。また、旋回速度算出手段46は、速度測定手段40が測定した速度および舵角測定手段42が測定した舵角に基づいて車両10の旋回速度を算出する(S310)。本例の旋回速度算出手段46は、速度測定手段40が測定した速度に、舵角測定手段42が測定した舵角の変化の大きさを乗じることにより、車両10の旋回速度を算出する。   The speed measuring means 40 measures the speed of the vehicle 10, and the steering angle measuring means 42 measures the steering angle of the vehicle 10 (S305). Further, the turning speed calculating means 46 calculates the turning speed of the vehicle 10 based on the speed measured by the speed measuring means 40 and the rudder angle measured by the rudder angle measuring means 42 (S310). The turning speed calculating means 46 of this example calculates the turning speed of the vehicle 10 by multiplying the speed measured by the speed measuring means 40 by the magnitude of the change in the steering angle measured by the steering angle measuring means 42.

オプティカルフロー算出手段48は、速度測定手段40が測定した速度、およびカメラ41が測定した各オブジェクトまでの距離、および画像内におけるオブジェクトの左右方向の位置に基づいて、各オブジェクトの計算上のオプティカルフローを算出する(S315)。更にオプティカルフロー算出手段48は、旋回速度算出手段46が算出した旋回速度、および舵角変化が生じた方向に基づいて、旋回によって生じるオプティカルフローを算出し、先に算出したオプティカルフローへ加算することにより、各オブジェクトの計算上のオプティカルフローを算出する。   The optical flow calculation means 48 calculates the optical flow in calculation of each object based on the speed measured by the speed measurement means 40, the distance to each object measured by the camera 41, and the position of the object in the horizontal direction in the image. Is calculated (S315). Further, the optical flow calculation means 48 calculates the optical flow generated by the turning based on the turning speed calculated by the turning speed calculation means 46 and the direction in which the steering angle change has occurred, and adds it to the previously calculated optical flow. Thus, the optical flow in calculation of each object is calculated.

そして、移動ベクトル算出手段43は、オプティカルフロー算出手段48が算出したオプティカルフローに基づいて、次に撮像される画像におけるオブジェクトの位置を算出し(S320)し、算出した位置を中心とする領域で同一のオブジェクトを、例えばパターンマッチング処理を用いて探すことにより、次に撮像される画像におけるオブジェクトの位置を求める(S325)。そして移動ベクトル算出手段43は、算出したオブジェクトの位置から、オブジェクトの移動ベクトルを算出する(S330)。そして本フローチャートは、ステップS120へ進む。   Then, based on the optical flow calculated by the optical flow calculation unit 48, the movement vector calculation unit 43 calculates the position of the object in the next image to be captured (S320), and the movement vector calculation unit 43 is an area centered on the calculated position. By searching for the same object using, for example, pattern matching processing, the position of the object in the next image to be captured is obtained (S325). Then, the movement vector calculation unit 43 calculates the movement vector of the object from the calculated position of the object (S330). Then, the flowchart proceeds to step S120.

図9は、本実施形態の変形例に係る画像補正装置105の機能構成の一例を示すブロック図である。本実施形態の変形例に係る画像補正装置105は、図1から図8にかけて説明した画像補正装置100が備える機能に加えて、画像を撮像する場合の露光時間を制御したり、撮像した画像に対して、領域毎に異なる精度でぶれを補正したりする機能を備えることにより、より精度よく、また、より効率的にぶれの補正を行うことを目的とする。   FIG. 9 is a block diagram illustrating an example of a functional configuration of the image correction apparatus 105 according to the modification of the present embodiment. In addition to the functions of the image correction apparatus 100 described with reference to FIGS. 1 to 8, the image correction apparatus 105 according to the modification of the present embodiment controls the exposure time when an image is captured, or changes the captured image to the captured image. On the other hand, an object of the present invention is to perform shake correction more accurately and more efficiently by providing a function of correcting shake with different accuracy for each region.

画像補正装置105は、速度測定手段40、舵角測定手段42、旋回速度算出手段46、加速度測定手段47、露光時間制御手段45、カメラ41、移動ベクトル算出手段43、ぶれ補正手段44、及び表示装置51を備える。なお、本図に示した画像補正装置105が備える要素のうち、図3に示した画像補正装置100が備える要素と同一の符号を付した要素は、図1から図8にかけて説明した、対応する要素と略同一の機能及び構成を有するので、相違点を除き、説明を省略する。   The image correction apparatus 105 includes a speed measurement unit 40, a steering angle measurement unit 42, a turning speed calculation unit 46, an acceleration measurement unit 47, an exposure time control unit 45, a camera 41, a movement vector calculation unit 43, a shake correction unit 44, and a display. A device 51 is provided. Of the elements included in the image correction apparatus 105 shown in this figure, elements denoted by the same reference numerals as the elements included in the image correction apparatus 100 shown in FIG. 3 correspond to those described with reference to FIGS. Since it has substantially the same function and configuration as the element, its description is omitted except for the differences.

加速度測定手段47は、車両10の加速度を測定する。具体的には、加速度測定手段47は、速度測定手段40によって測定された車両10の速度を受け取り、受け取った車両10の速度の時間変化に基づいて、車両10の加速度を測定してよい。そして、加速度測定手段47は、測定した車両10の加速度を露光時間制御手段45に出力する。露光時間制御手段45は、加速度測定手段47から受け取った車両10の加速度に基づいて、カメラ41の露光時間を制御する。ぶれ補正手段44は、図1から図8にかけて説明した画像補正装置100が備えるぶれ補正手段44と同様に、カメラ41により撮像された画像のぶれを補正する。但し、本実施形態の変形例に係るぶれ補正手段44は、撮像された画像を複数の領域に分割すると共に、当該複数の領域のうち、少なくとも一部の領域において、互いに異なる精度でぶれを補正する。   The acceleration measuring unit 47 measures the acceleration of the vehicle 10. Specifically, the acceleration measuring unit 47 may receive the speed of the vehicle 10 measured by the speed measuring unit 40 and measure the acceleration of the vehicle 10 based on the time change of the received speed of the vehicle 10. Then, the acceleration measuring unit 47 outputs the measured acceleration of the vehicle 10 to the exposure time control unit 45. The exposure time control unit 45 controls the exposure time of the camera 41 based on the acceleration of the vehicle 10 received from the acceleration measurement unit 47. The blur correction unit 44 corrects the blur of the image captured by the camera 41 in the same manner as the blur correction unit 44 included in the image correction apparatus 100 described with reference to FIGS. However, the shake correction unit 44 according to the modification of the present embodiment divides the captured image into a plurality of areas and corrects the shake with different accuracy in at least some of the plurality of areas. To do.

図10は、本実施形態の変形例に係る露光時間制御手段45による露光時間の制御の第1の例を示す。本例において、露光時間制御手段45は、加速度測定手段47が測定した車両10の加速度がより大きい場合に、カメラ41の露光時間をより短く制御する。例えば、車両10の加速度αが0以上かつA未満の場合に、露光時間制御手段45は、利用者等によって標準の露光時間として予め定められた露光時間で、カメラ41に画像を撮像させてよい。また、車両10の加速度αがA以上かつB未満の場合に、露光時間制御手段45は、標準の露光時間を90%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。また、車両10の加速度αがB以上かつC未満の場合に、露光時間制御手段45は、標準の露光時間を81%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。   FIG. 10 shows a first example of exposure time control by the exposure time control means 45 according to a modification of the present embodiment. In this example, the exposure time control means 45 controls the exposure time of the camera 41 to be shorter when the acceleration of the vehicle 10 measured by the acceleration measurement means 47 is larger. For example, when the acceleration α of the vehicle 10 is 0 or more and less than A, the exposure time control means 45 may cause the camera 41 to capture an image with an exposure time that is predetermined as a standard exposure time by a user or the like. . Further, when the acceleration α of the vehicle 10 is greater than or equal to A and less than B, the exposure time control means 45 may cause the camera 41 to capture an image with an exposure time obtained by reducing the standard exposure time by a reduction rate of 90%. . Further, when the acceleration α of the vehicle 10 is greater than or equal to B and less than C, the exposure time control means 45 may cause the camera 41 to capture an image with an exposure time obtained by shortening the standard exposure time by a reduction rate of 81%. .

本実施形態の変形例にかかる画像補正装置105によれば、ぶれ補正手段44によって、撮像された画像におけるぶれを補正することができる。しかし、画像におけるぶれの量が非常に大きい場合には、ぶれ補正手段44が、十分に高い精度でぶれを補正することが困難な場合がある。しかし、以上に説明したように、本実施形態の変形例に係る画像補正装置105によれば、車両10の加速度がより大きい場合に、露光時間をより短くすることにより、画像の撮像時における画像のぶれを低減することができる。従って、表示装置51において、ぶれの無い高品質な画像を表示することができる。   According to the image correction apparatus 105 according to the modification of the present embodiment, the shake correction unit 44 can correct the shake in the captured image. However, when the amount of blur in the image is very large, it may be difficult for the blur correction unit 44 to correct the blur with sufficiently high accuracy. However, as described above, according to the image correction apparatus 105 according to the modification of the present embodiment, when the acceleration of the vehicle 10 is larger, the exposure time is shortened, so that the image at the time of image capture The blur can be reduced. Therefore, the display device 51 can display a high-quality image without blurring.

また、露光時間制御手段45は、車両10の旋回速度の変化に基づいて、カメラ41の露光時間を制御してもよい。この場合、加速度測定手段47は、旋回速度算出手段46から車両10の旋回速度を受け取り、受け取った旋回速度の時間変化に基づいて、車両10の旋回速度の変化を測定してよい。そして、露光時間制御手段45は、加速度測定手段47から受け取った、車両10の旋回速度の変化がより大きい場合に、カメラ41の露光時間をより短く制御してよい。   Further, the exposure time control means 45 may control the exposure time of the camera 41 based on a change in the turning speed of the vehicle 10. In this case, the acceleration measuring means 47 may receive the turning speed of the vehicle 10 from the turning speed calculation means 46 and measure the change in the turning speed of the vehicle 10 based on the time change of the received turning speed. The exposure time control unit 45 may control the exposure time of the camera 41 to be shorter when the change in the turning speed of the vehicle 10 received from the acceleration measurement unit 47 is larger.

このように、車両10の旋回速度の変化がより大きい場合においても、露光時間をより短くすることにより、画像の撮像時における画像のぶれを低減することができる。従って、表示装置51において、ぶれの無い高品質な画像を表示することができる。   As described above, even when the change in the turning speed of the vehicle 10 is larger, it is possible to reduce the blurring of the image when the image is captured by shortening the exposure time. Therefore, the display device 51 can display a high-quality image without blurring.

図11は、本実施形態の変形例に係る画像補正装置105における処理の流れの一例を示すフローチャートである。なお、本図に示したステップのうち、図6から図8にかけて説明したステップと同一の符号を付したステップは、図6から図8にかけて説明した、対応するステップと略同一の処理を行うので、相違点を除き、説明を省略する。   FIG. 11 is a flowchart illustrating an example of a processing flow in the image correction apparatus 105 according to the modification of the present embodiment. Of the steps shown in this figure, steps denoted by the same reference numerals as those described in FIGS. 6 to 8 perform substantially the same processing as the corresponding steps described in FIGS. Except for the differences, the description is omitted.

まず、加速度測定手段47は、車両10の加速度を測定する(S200)。続いて、露光時間制御手段45は、測定された加速度に基づいて、カメラ41の露光時間を制御する(S205)。続いて、画像補正装置105は、S100からS125までのそれぞれのステップにおいて、図6から図8にかけて示した、同一の符号を付したステップと略同一の処理を行うことにより、撮像した画像におけるぶれを補正して、補正した画像を表示する。   First, the acceleration measuring means 47 measures the acceleration of the vehicle 10 (S200). Subsequently, the exposure time control means 45 controls the exposure time of the camera 41 based on the measured acceleration (S205). Subsequently, the image correction apparatus 105 performs blurring in the captured image by performing substantially the same processing as the steps denoted by the same reference numerals shown in FIGS. 6 to 8 in each step from S100 to S125. Is corrected and the corrected image is displayed.

図12は、本実施形態の変形例に係る露光時間制御手段45による露光時間の制御の他の例を示す。図12(a)は、露光時間制御手段45による露光時間の制御における第2の例を示す。図12(b)は、露光時間制御手段45による露光時間の制御における第3の例を示す。図12(c)は、露光時間制御手段45による露光時間の制御における第4の例を示す。   FIG. 12 shows another example of exposure time control by the exposure time control means 45 according to a modification of the present embodiment. FIG. 12A shows a second example in the exposure time control by the exposure time control means 45. FIG. 12B shows a third example of exposure time control by the exposure time control means 45. FIG. 12C shows a fourth example in the exposure time control by the exposure time control means 45.

加速度測定手段47は、図9及び図10において説明したように、速度測定手段40によって測定された車両10の速度に基づいて、車両10の加速度を測定したり、また、旋回速度算出手段46によって算出された車両10の旋回速度に基づいて、車両10の旋回速度の変化を測定したりしてよい。しかし、加速度測定手段47は、これに代えて、車両10のアクセルの踏み込み量、ブレーキの踏み込み量、及びハンドルの切り返し量の少なくとも1つを測定してもよい。そして、この場合、露光時間制御手段45は、加速度測定手段47によって測定された、アクセルの踏み込み量、ブレーキの踏み込み量、及びハンドルの切り返し量の少なくとも1つの変化量がより大きい場合に、カメラ41の露光時間をより短く制御してよい。   The acceleration measuring means 47 measures the acceleration of the vehicle 10 based on the speed of the vehicle 10 measured by the speed measuring means 40 as described in FIG. 9 and FIG. A change in the turning speed of the vehicle 10 may be measured based on the calculated turning speed of the vehicle 10. However, instead of this, the acceleration measuring means 47 may measure at least one of the accelerator depression amount, the brake depression amount, and the steering wheel turning amount of the vehicle 10. In this case, the exposure time control unit 45 determines that the camera 41 has a larger change amount of at least one of the accelerator stepping amount, the brake stepping amount, and the steering wheel turning amount measured by the acceleration measuring unit 47. The exposure time may be controlled to be shorter.

例えば、図12(a)に示すように、アクセルの踏み込み量の変化量V1が0以上かつA1未満の場合に、露光時間制御手段45は、利用者等によって標準の露光時間として予め定められた露光時間で、カメラ41に画像を撮像させてよい。そして、アクセルの踏み込み量の変化量V1がA1以上かつB1未満の場合に、露光時間制御手段45は、標準の露光時間を90%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。また、アクセルの踏み込み量の変化量V1がB1以上かつC1未満の場合に、露光時間制御手段45は、標準の露光時間を80%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。   For example, as shown in FIG. 12A, when the change amount V1 of the accelerator depression amount is 0 or more and less than A1, the exposure time control means 45 is predetermined as a standard exposure time by the user or the like. The camera 41 may capture an image with the exposure time. When the change amount V1 of the accelerator depression amount is not less than A1 and less than B1, the exposure time control means 45 takes an image on the camera 41 with the exposure time obtained by shortening the standard exposure time by 90%. You may let me. Further, when the change amount V1 of the accelerator depression amount is B1 or more and less than C1, the exposure time control means 45 takes an image on the camera 41 with an exposure time obtained by shortening the standard exposure time by a reduction rate of 80%. You may let me.

また、例えば、図12(b)に示すように、ブレーキの踏み込み量の変化量V2が0以上かつA2未満の場合に、露光時間制御手段45は、標準の露光時間で、カメラ41に画像を撮像させてよい。そして、ブレーキの踏み込み量の変化量V2がA2以上かつB2未満の場合に、露光時間制御手段45は、標準の露光時間を90%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。また、ブレーキの踏み込み量の変化量V2がB2以上かつC2未満の場合に、露光時間制御手段45は、標準の露光時間を80%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。   For example, as shown in FIG. 12 (b), when the change amount V2 of the brake depression amount is not less than 0 and less than A2, the exposure time control means 45 displays an image on the camera 41 with the standard exposure time. You may make it image. When the amount of change V2 in the brake depression amount is not less than A2 and less than B2, the exposure time control means 45 captures an image on the camera 41 with the exposure time obtained by shortening the standard exposure time by 90%. You may let me. Further, when the change amount V2 of the brake depression amount is B2 or more and less than C2, the exposure time control means 45 captures an image on the camera 41 with an exposure time obtained by shortening the standard exposure time by a reduction rate of 80%. You may let me.

また、例えば、図12(c)に示すように、ハンドルの切り返し量の変化量V3が0以上かつA3未満の場合に、露光時間制御手段45は、標準の露光時間で、カメラ41に画像を撮像させてよい。そして、ハンドルの切り返し量の変化量V3がA3以上かつB3未満の場合に、露光時間制御手段45は、標準の露光時間を90%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。また、ハンドルの切り返し量の変化量V3がB3以上かつC3未満の場合に、露光時間制御手段45は、標準の露光時間を80%の短縮率で短縮した露光時間で、カメラ41に画像を撮像させてよい。   Further, for example, as shown in FIG. 12C, when the change amount V3 of the turning amount of the handle is 0 or more and less than A3, the exposure time control means 45 displays an image on the camera 41 with the standard exposure time. You may make it image. When the change amount V3 of the turning amount of the handle is greater than or equal to A3 and less than B3, the exposure time control means 45 captures an image on the camera 41 with an exposure time obtained by shortening the standard exposure time by 90%. You may let me. When the change amount V3 of the steering wheel turning amount is B3 or more and less than C3, the exposure time control means 45 captures an image on the camera 41 with the exposure time obtained by shortening the standard exposure time by a reduction rate of 80%. You may let me.

以上のようにして、アクセルの踏み込み量、ブレーキの踏み込み量、及びハンドルの切り返し量の変化量に基づいて、車両の加速度や旋回速度の変化を測定して、露光時間を制御することにより、速度測定手段40による速度の測定結果や、旋回速度算出手段46による旋回速度の算出結果に基づいて露光時間を制御する場合に比べて、より簡易な構成で車両の加速度や旋回速度の変化を検出することができる。   By controlling the exposure time by measuring changes in the acceleration and turning speed of the vehicle based on the amount of accelerator depression, brake depression, and steering turnback, as described above, the exposure time is controlled. Compared to the case where the exposure time is controlled based on the measurement result of the speed by the measuring unit 40 and the calculation result of the turning speed by the turning speed calculating unit 46, a change in the vehicle acceleration and the turning speed is detected with a simpler configuration. be able to.

図13は、本実施形態の変形例に係るカメラ41により撮像された画像の第1の例である画像700を示す。ぶれ補正手段44は、カメラ41により連続して撮像された各画像のぶれを補正する場合に、撮像された画像を複数の領域に分割すると共に、当該複数の領域のうち、少なくとも一部の領域において、互いに異なる精度でぶれを補正してよい。例えば、ぶれ補正手段44は、本図に示すように、撮像された画像700を対角線で4分割すると共に、当該画像の右辺近傍の領域710及び左辺近傍の領域720におけるぶれの補正を、当該画像の上辺近傍の領域730及び下辺近傍の領域740におけるぶれの補正よりも、より高い精度で行ってよい。   FIG. 13 shows an image 700 that is a first example of an image captured by the camera 41 according to a modification of the present embodiment. The blur correction unit 44 divides the captured image into a plurality of areas and corrects at least a part of the plurality of areas when correcting blur of each image continuously captured by the camera 41. In this case, the shake may be corrected with different accuracy. For example, as shown in the figure, the blur correction unit 44 divides the captured image 700 into four diagonal lines, and corrects the blur in the region 710 near the right side and the region 720 near the left side of the image. The correction may be performed with higher accuracy than the blur correction in the region 730 near the upper side and the region 740 near the lower side.

ここで、ぶれの補正における精度とは、例えば、ぶれ補正手段44が、それぞれの画像に含まれる特徴点に対してぶれを補正する場合の、特徴点の数であってよい。また、ぶれの補正における精度とは、例えば、ぶれ補正手段44が、各画像における特徴点近傍の画像を移動ベクトルの方向に微分して、得られた画像を原画像に足し合わせることにより、画像におけるぶれを補正する場合の、微分の階数であってもよい。   Here, the accuracy in shake correction may be, for example, the number of feature points when the shake correction unit 44 corrects shake for feature points included in each image. The accuracy in blur correction is, for example, that the blur correction unit 44 differentiates an image in the vicinity of the feature point in each image in the direction of the movement vector, and adds the obtained image to the original image. It may be the rank of the derivative when correcting the shake at.

また、移動ベクトル算出手段43も、ぶれ補正手段44と同様にして、撮像された画像における複数の領域のうち、少なくとも一部の領域において、互いに異なる精度で移動ベクトルの算出を行ってよい。ここで、移動ベクトルの算出における精度とは、例えば、複数の画像における対応するオブジェクトの検出に公知の相互相関法を用いる場合における、相関領域の検出精度であってよい。   Further, the movement vector calculation unit 43 may calculate the movement vector with different accuracy in at least some of the plurality of areas in the captured image in the same manner as the blur correction unit 44. Here, the accuracy in the calculation of the movement vector may be, for example, the detection accuracy of the correlation region when a known cross-correlation method is used for detecting corresponding objects in a plurality of images.

車両から前方を撮像する場合、通常、画像の上部には空が写っており、また、画像の下部には路面が写っていることが多い。しかし、空や路面における画像のぶれは、車両10の運転者等の利用者にとって、気にならない場合が多い。従って、画像の上部や下部等の、利用者にとってぶれが気にならない領域に対するぶれの補正を、画像の左右の領域に比べてより低い精度で行うことにより、利用者が感じる画質の低下を抑えつつ、ぶれの補正処理に要する時間を短縮することができる。   When an image is taken from the front of a vehicle, the sky is usually shown at the top of the image, and the road surface is often shown at the bottom of the image. However, image blurring in the sky or on the road surface often does not matter to users such as the driver of the vehicle 10. Therefore, the image quality perceived by the user can be suppressed by correcting the blur for areas where the blur is not noticeable to the user, such as the upper and lower parts of the image, with lower accuracy than the left and right areas of the image. However, the time required for the shake correction process can be shortened.

また、ぶれ補正手段44は、撮像された各画像における複数の領域のうち、少なくとも一部の領域におけるぶれの補正を行わなくともよい。例えば、ぶれ補正手段44は、撮像された画像700の上辺近傍の領域730及び下辺近傍の領域740におけるぶれの補正を行わなくともよい。これにより、画像補正装置105は、ぶれの補正処理に要する時間を更に短縮することができる。   Further, the blur correction unit 44 may not perform blur correction in at least some of the plurality of regions in each captured image. For example, the shake correction unit 44 does not have to perform shake correction in the region 730 near the upper side and the region 740 near the lower side of the captured image 700. As a result, the image correction apparatus 105 can further reduce the time required for blur correction processing.

図14は、本実施形態の変形例に係るカメラ41により撮像された画像の第2の例である画像800を示す。本例において、移動ベクトル算出手段43は、オプティカルフロー算出手段48を用いて、図4及び図5にて説明したように、画像800のオプティカルフローの消失点810を求める。そして、ぶれ補正手段44は、画像800に対する、オプティカルフローの消失点810の近傍の領域におけるぶれの補正を、当該消失点810の近傍の領域以外の領域よりも低い精度で行う。具体的には、ぶれ補正手段44は、消失点810の近傍の領域820におけるぶれの補正を、領域820の外部に存在する領域830よりも低い精度で行う。また、ぶれ補正手段44は、領域830におけるぶれの補正を、領域830に比べて消失点810からの距離がより大きい領域840よりも低い精度で行ってよい。   FIG. 14 shows an image 800 that is a second example of an image captured by the camera 41 according to a modification of the present embodiment. In this example, the movement vector calculation unit 43 uses the optical flow calculation unit 48 to obtain the optical flow vanishing point 810 of the image 800 as described with reference to FIGS. Then, the blur correction unit 44 performs blur correction on the image 800 in a region near the vanishing point 810 of the optical flow with a lower accuracy than a region other than the region near the vanishing point 810. Specifically, the shake correction unit 44 performs shake correction in the region 820 near the vanishing point 810 with lower accuracy than the region 830 existing outside the region 820. Further, the shake correction unit 44 may correct the shake in the region 830 with a lower accuracy than the region 840 having a larger distance from the vanishing point 810 than the region 830.

車両に設けられるカメラ41によって撮像された画像におけるぶれは、消失点により近い領域において、より小さくなる。つまり、消失点により近い領域におけるぶれは、利用者にとって気にならないことが多い。従って、消失点により近い領域におけるぶれの補正をより低い精度で行うことにより、利用者が感じる画質の低下を抑えつつ、ぶれの補正に要する時間を短縮することができる。   The blurring in the image captured by the camera 41 provided in the vehicle becomes smaller in a region closer to the vanishing point. That is, the blurring in the region closer to the vanishing point is often not noticed by the user. Therefore, by performing blur correction in a region closer to the vanishing point with lower accuracy, it is possible to reduce the time required for blur correction while suppressing deterioration in image quality felt by the user.

なお、ぶれ補正手段44は、消失点の近傍の領域におけるぶれの補正を、他の領域に比べてより低くする代わりに、消失点の近傍の領域におけるぶれの補正を行わなくともよい。これにより、ぶれ補正手段44は、ぶれの補正に要する時間を更に短縮することができる。   Note that the blur correction unit 44 does not have to perform blur correction in the region near the vanishing point, instead of lowering the blur correction in the region near the vanishing point as compared with other regions. Thereby, the blur correction unit 44 can further reduce the time required for blur correction.

図15は、本実施形態の変形例に係るカメラ41により撮像された画像の第3の例である画像900を示す。本例において、ぶれ補正手段44は、画像900の略中央の領域におけるぶれの補正を、当該略中央の領域以外の領域よりも低い精度で行う。具体的には、ぶれ補正手段44は、画像中心910の近傍の領域920におけるぶれの補正を、領域920の外部に存在する領域930よりも低い精度で行う。また、ぶれ補正手段44は、領域930におけるぶれの補正を、領域930に比べて画像中心910からの距離がより大きい領域940よりも低い精度で行ってよい。   FIG. 15 shows an image 900 that is a third example of an image captured by the camera 41 according to a modification of the present embodiment. In this example, the blur correction unit 44 performs blur correction in a substantially central region of the image 900 with a lower accuracy than regions other than the substantially central region. Specifically, the blur correction unit 44 performs blur correction in the region 920 near the image center 910 with a lower accuracy than the region 930 existing outside the region 920. In addition, the blur correction unit 44 may perform blur correction in the region 930 with a lower accuracy than the region 940 having a larger distance from the image center 910 than the region 930.

カメラ41によって車両の前方を撮像する場合、カメラ41は、撮像された画像の中心点が、オプティカルフローの消失点の近傍に位置するべく設けられている場合が多い。従って、撮像された画像の中央領域におけるぶれの補正を、他の領域より低い精度で行うことによっても、利用者が感じる画質の低下を抑えつつ、ぶれの補正に要する時間を短縮することができる。そして、この場合、オプティカルフローの消失点を算出する処理を行う必要がないので、ぶれの補正に要する時間をより短縮することができる。   When the front of the vehicle is imaged by the camera 41, the camera 41 is often provided so that the center point of the captured image is positioned near the vanishing point of the optical flow. Therefore, by performing blur correction in the central area of the captured image with lower accuracy than other areas, it is possible to reduce the time required for blur correction while suppressing the deterioration in image quality felt by the user. . In this case, since it is not necessary to perform the process of calculating the vanishing point of the optical flow, the time required for blur correction can be further shortened.

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

本発明の実施形態に係る車両10に搭載された画像補正装置100を示す図である。1 is a diagram illustrating an image correction apparatus 100 mounted on a vehicle 10 according to an embodiment of the present invention. 本発明の実施形態に係る画像補正装置100が取得する画像の一例である画像12を示す図である。It is a figure which shows the image 12 which is an example of the image which the image correction apparatus 100 which concerns on embodiment of this invention acquires. 本発明の実施形態に係る画像補正装置100の機能構成の一例を示す図である。It is a figure which shows an example of a function structure of the image correction apparatus 100 which concerns on embodiment of this invention. 本発明の実施形態に係る移動ベクトルを修正する動作の一例を説明する図である。It is a figure explaining an example of the operation | movement which corrects the movement vector which concerns on embodiment of this invention. 本発明の実施形態に係る移動ベクトルを修正する動作の他の例を説明する図である。It is a figure explaining the other example of the operation | movement which corrects the movement vector which concerns on embodiment of this invention. 本発明の実施形態に係る画像補正装置100の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the image correction apparatus 100 which concerns on embodiment of this invention. ステップS120の詳細な動作の一例を示すフローチャートである。It is a flowchart which shows an example of the detailed operation | movement of step S120. 本発明の実施形態に係る画像補正装置100の他の動作の一例を示すフローチャートである。It is a flowchart which shows an example of other operation | movement of the image correction apparatus 100 which concerns on embodiment of this invention. 本発明の実施形態の変形例に係る画像補正装置105の機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the image correction apparatus 105 which concerns on the modification of embodiment of this invention. 本発明の実施形態の変形例に係る露光時間制御手段45による露光時間の制御の第1の例を示す図である。It is a figure which shows the 1st example of control of the exposure time by the exposure time control means 45 which concerns on the modification of embodiment of this invention. 本発明の実施形態の変形例に係る画像補正装置105における処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process in the image correction apparatus 105 which concerns on the modification of embodiment of this invention. 本発明の実施形態の変形例に係る露光時間制御手段45による露光時間の制御の他の例を示す図である。It is a figure which shows the other example of control of the exposure time by the exposure time control means 45 which concerns on the modification of embodiment of this invention. 本発明の実施形態の変形例に係るカメラ41により撮像された画像の第1の例である画像700を示す図である。It is a figure which shows the image 700 which is a 1st example of the image imaged with the camera 41 which concerns on the modification of embodiment of this invention. 本発明の実施形態の変形例に係るカメラ41により撮像された画像の第2の例である画像800を示す図である。It is a figure which shows the image 800 which is the 2nd example of the image imaged with the camera 41 which concerns on the modification of embodiment of this invention. 本発明の実施形態の変形例に係るカメラ41により撮像された画像の第3の例である画像900を示す図である。It is a figure which shows the image 900 which is the 3rd example of the image imaged with the camera 41 which concerns on the modification of embodiment of this invention.

符号の説明Explanation of symbols

10・・・車両、12・・・画像、40・・・速度測定手段、41・・・カメラ、42・・・舵角測定手段、43・・・移動ベクトル算出手段、44・・・ぶれ補正手段、45・・・露光時間制御手段、46・・・旋回速度算出手段、47・・・加速度測定手段、48・・・オプティカルフロー算出手段、51・・・表示装置、100・・・画像補正装置、105・・・画像補正装置 DESCRIPTION OF SYMBOLS 10 ... Vehicle, 12 ... Image, 40 ... Speed measurement means, 41 ... Camera, 42 ... Steering angle measurement means, 43 ... Movement vector calculation means, 44 ... Shake correction Means 45 ... Exposure time control means 46 ... Turning speed calculation means 47 ... Acceleration measurement means 48 ... Optical flow calculation means 51 ... Display device 100 ... Image correction Device, 105... Image correction device

Claims (25)

車両の前方を連続して撮像するカメラと、
前記カメラにより連続して撮像された各画像におけるオブジェクトの位置に基づいて、各オブジェクトの画像内における移動ベクトルを算出する移動ベクトル算出手段と、
前記移動ベクトル算出手段により算出された前記移動ベクトルを用いて、前記カメラにより撮像された前記画像のぶれを補正するぶれ補正手段と、
を備えた画像補正装置。
A camera that continuously images the front of the vehicle;
A movement vector calculation means for calculating a movement vector in the image of each object based on the position of the object in each image continuously captured by the camera;
Using the movement vector calculated by the movement vector calculation means, a shake correction means for correcting blur of the image captured by the camera;
An image correction apparatus comprising:
前記移動ベクトル算出手段は、前記カメラにより撮像された前記画像のオプティカルフローの消失点を求め、各オブジェクトの前記移動ベクトルが、前記消失点から放射状に向いていると仮定して前記移動ベクトルの方向を修正する請求項1に記載の画像補正装置。   The movement vector calculation means obtains a vanishing point of the optical flow of the image captured by the camera, and assumes that the movement vector of each object is radially directed from the vanishing point. The image correction apparatus according to claim 1, wherein the correction is performed. 前記移動ベクトル算出手段は、前記カメラにより連続して撮像された各画像中のオブジェクトの修正された方向に基づいて、前記移動ベクトルの長さを修正する請求項2に記載の画像補正装置。   The image correction apparatus according to claim 2, wherein the movement vector calculation unit corrects the length of the movement vector based on a corrected direction of an object in each image continuously captured by the camera. 前記車両から各オブジェクトまでの距離を測定する距離測定手段と、
前記車両の速度を測定する速度測定手段と、
前記速度測定手段が測定した速度、および前記距離測定手段が測定した各オブジェクトまでの距離に基づいて、各オブジェクトの計算上のオプティカルフローを算出するオプティカルフロー算出手段と
を更に備え
前記移動ベクトル算出手段は、前記オプティカルフロー算出手段が算出した前記オプティカルフローに基づいて、第1の画像に含まれるオブジェクトの、第2の画像における位置を算出し、当該位置を中心とする領域で同一のオブジェクトを探すことにより、前記第2の画像における前記オブジェクトの位置を求める
請求項1に記載の画像補正装置。
Distance measuring means for measuring a distance from the vehicle to each object;
Speed measuring means for measuring the speed of the vehicle;
Optical flow calculation means for calculating an optical flow in calculation of each object based on the speed measured by the speed measurement means and the distance to each object measured by the distance measurement means, The movement vector calculation means Calculates the position of the object included in the first image in the second image based on the optical flow calculated by the optical flow calculation means, and searches for the same object in a region centered on the position. The image correction apparatus according to claim 1, wherein the position of the object in the second image is obtained.
前記車両の舵角を測定する舵角測定手段と、
前記速度測定手段が測定した速度および前記舵角測定手段が測定した舵角に基づいて前記車両の旋回速度を算出する旋回速度算出手段と
を更に備え
前記オプティカルフロー算出手段は、更に、前記旋回速度算出手段が算出した前記旋回速度に基づいて、各オブジェクトの計算上のオプティカルフローを算出する
請求項4に記載の画像補正装置。
Rudder angle measuring means for measuring the rudder angle of the vehicle;
A turning speed calculating means for calculating a turning speed of the vehicle based on the speed measured by the speed measuring means and the rudder angle measured by the rudder angle measuring means; and the optical flow calculating means further comprises the turning speed. The image correction apparatus according to claim 4, wherein an optical flow in calculation of each object is calculated based on the turning speed calculated by the calculation unit.
前記ぶれ補正手段は、各オブジェクトの内部の画像を、前記移動ベクトルの方向に微分して得られた画像を原画像に足し合わせることによりぶれを補正する請求項1に記載の画像補正装置。   The image correction apparatus according to claim 1, wherein the shake correction unit corrects shake by adding an image obtained by differentiating an image inside each object in a direction of the movement vector to an original image. 前記ぶれ補正手段がぶれを補正した画像を表示する表示装置を更に備えた請求項6に記載の画像補正装置。   The image correction apparatus according to claim 6, further comprising a display device that displays an image in which the shake correction unit corrects the shake. 前記カメラの露光時間を制御する露光時間制御手段と、
前記車両の加速度を測定する加速度測定手段と
を更に備え、
前記露光時間制御手段は、前記加速度測定手段が測定した前記車両の前記加速度がより大きい場合に、前記カメラの露光時間をより短く制御する
請求項1に記載の画像補正装置。
Exposure time control means for controlling the exposure time of the camera;
An acceleration measuring means for measuring the acceleration of the vehicle,
The image correction apparatus according to claim 1, wherein the exposure time control unit controls the exposure time of the camera to be shorter when the acceleration of the vehicle measured by the acceleration measurement unit is larger.
前記加速度測定手段は、前記車両の旋回速度の変化を更に測定し、
前記露光時間制御手段は、前記加速度測定手段が測定した前記車両の前記旋回速度の変化がより大きい場合に、前記カメラの露光時間をより短く制御する
請求項8に記載の画像補正装置。
The acceleration measuring means further measures a change in the turning speed of the vehicle;
The image correction apparatus according to claim 8, wherein the exposure time control unit controls the exposure time of the camera to be shorter when the change in the turning speed of the vehicle measured by the acceleration measurement unit is larger.
前記加速度測定手段は、前記車両のアクセルの踏み込み量、ブレーキの踏み込み量、およびハンドルの切り返し量の少なくとも1つを測定し、
前記露光時間制御手段は、前記アクセルの踏み込み量、前記ブレーキの踏み込み量、および前記ハンドルの切り返し量の少なくとも1つの変化量がより大きい場合に、前記カメラの露光時間をより短く制御する
請求項8に記載の画像補正装置。
The acceleration measuring means measures at least one of an accelerator depression amount, a brake depression amount, and a steering wheel turning amount of the vehicle;
The exposure time control unit controls the exposure time of the camera to be shorter when at least one change amount of the accelerator depression amount, the brake depression amount, and the steering wheel return amount is larger. The image correction apparatus described in 1.
前記ぶれ補正手段は、前記カメラにより連続して撮像された前記各画像の右辺近傍の領域および左辺近傍の領域におけるぶれの補正を、当該画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正よりも、より高い精度で行う請求項1に記載の画像補正装置。   The blur correction unit corrects blurring in a region near the right side and a region near the left side of each image continuously captured by the camera, and corrects a blur in a region near the top side and a region near the bottom side of the image. The image correction apparatus according to claim 1, wherein the image correction apparatus is performed with higher accuracy. 前記ぶれ補正手段は、前記カメラにより連続して撮像された前記各画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正を行わない請求項11に記載の画像補正装置。   The image correction apparatus according to claim 11, wherein the shake correction unit does not perform shake correction in a region near the upper side and a region near the lower side of each image continuously captured by the camera. 前記移動ベクトル算出手段は、前記カメラにより撮像された前記画像のオプティカルフローの消失点を求め、
前記ぶれ補正手段は、前記オプティカルフローの消失点の近傍の領域におけるぶれの補正を、当該消失点の近傍の領域以外の領域よりも低い精度で行う
請求項1に記載の画像補正装置。
The movement vector calculation means obtains a vanishing point of the optical flow of the image captured by the camera,
The image correction apparatus according to claim 1, wherein the blur correction unit performs blur correction in a region near the vanishing point of the optical flow with a lower accuracy than a region other than a region near the vanishing point.
前記ぶれ補正手段は、前記カメラにより連続して撮像された前記各画像の略中央の領域におけるぶれの補正を、当該略中央の領域以外の領域よりも低い精度で行う請求項1に記載の画像補正装置。   The image according to claim 1, wherein the blur correction unit corrects blur in a substantially central region of each of the images continuously captured by the camera with a lower accuracy than regions other than the substantially central region. Correction device. 車両の前方をカメラにより連続して撮像するステップと、
前記カメラにより連続して撮像された各画像におけるオブジェクトの位置に基づいて、各オブジェクトの画像内における移動ベクトルを算出する移動ベクトル算出ステップと、
前記移動ベクトル算出ステップにより算出された移動ベクトルを用いて、前記カメラにより撮像された画像のぶれを補正するぶれ補正ステップと、
前記車両の舵角を測定する舵角測定ステップと
を備えた画像補正方法。
Continuously capturing the front of the vehicle with a camera;
A movement vector calculating step for calculating a movement vector in the image of each object based on the position of the object in each image continuously captured by the camera;
Using the movement vector calculated in the movement vector calculation step, a blur correction step of correcting blur of an image captured by the camera;
An image correction method comprising: a rudder angle measuring step for measuring a rudder angle of the vehicle.
前記移動ベクトル算出ステップは、前記カメラにより撮像された画像のオプティカルフローの消失点を求め、各オブジェクトの前記移動ベクトルが、前記消失点から放射状に向いていると仮定して前記移動ベクトルの方向を修正する請求項15に記載の画像補正方法。   The movement vector calculation step obtains the vanishing point of the optical flow of the image captured by the camera, and assumes the movement vector of each object is directed radially from the vanishing point. The image correction method according to claim 15 to be corrected. 前記移動ベクトル算出ステップは、前記カメラにより連続して撮像された各画像中のオブジェクトの修正された方向に基づいて、前記移動ベクトルの長さを修正する請求項16に記載の画像補正方法。   The image correction method according to claim 16, wherein the movement vector calculation step corrects the length of the movement vector based on a corrected direction of an object in each image continuously captured by the camera. 前記車両から各オブジェクトまでの距離を測定する距離測定ステップと、
前記車両の速度を測定する速度測定ステップと、
前記速度測定ステップが測定した速度、および前記距離測定ステップが測定した各オブジェクトまでの距離に基づいて、各オブジェクトの計算上のオプティカルフローを算出するオプティカルフロー算出ステップと
を更に備え
前記移動ベクトル算出ステップは、前記オプティカルフロー算出ステップが算出したオプティカルフローに基づいて、第1の画像に含まれるオブジェクトの、第2の画像における位置を算出し、当該位置を中心とする領域で同一のオブジェクトを探すことにより、前記第2の画像における前記オブジェクトの位置を求める
請求項15に記載の画像補正方法。
A distance measuring step for measuring a distance from the vehicle to each object;
A speed measuring step for measuring the speed of the vehicle;
An optical flow calculation step of calculating an optical flow in calculation of each object based on the speed measured in the velocity measurement step and the distance to each object measured in the distance measurement step; Calculates the position in the second image of the object included in the first image based on the optical flow calculated in the optical flow calculation step, and searches for the same object in a region centered on the position. The image correction method according to claim 15, wherein the position of the object in the second image is obtained.
前記車両の舵角を測定する舵角測定ステップと、
前記速度測定ステップが測定した速度および前記舵角測定ステップが測定した舵角に基づいて前記車両の旋回速度を算出する旋回速度算出ステップと
を更に備え、
前記オプティカルフロー算出ステップは、更に、前記旋回速度算出ステップが算出した前記旋回速度に基づいて、各オブジェクトの計算上のオプティカルフローを算出する
請求項18に記載の画像補正方法。
Rudder angle measuring step for measuring the rudder angle of the vehicle;
A turning speed calculating step of calculating a turning speed of the vehicle based on the speed measured by the speed measuring step and the rudder angle measured by the rudder angle measuring step;
The image correction method according to claim 18, wherein the optical flow calculation step further calculates a calculation optical flow of each object based on the turning speed calculated by the turning speed calculation step.
前記ぶれ補正ステップは、個々のオブジェクトの内部の画像を、前記移動ベクトルの方向に微分して得られた画像を原画像に足し合わせることによりぶれを補正する請求項15に記載の画像補正方法。   The image correction method according to claim 15, wherein the blur correction step corrects blur by adding an image obtained by differentiating an image inside each object in a direction of the movement vector to an original image. 前記ぶれ補正ステップがぶれを補正した画像を表示する表示ステップを更に備えた請求項20に記載の画像補正方法。   The image correction method according to claim 20, further comprising a display step of displaying an image in which the blur correction step corrects the blur. 前記ぶれ補正ステップは、前記カメラにより連続して撮像された前記各画像の右辺近傍の領域および左辺近傍の領域におけるぶれの補正を、当該画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正よりも、より高い精度で行う請求項15に記載の画像補正方法。   The blur correction step includes correcting blurs in a region near the right side and a region near the left side of each image continuously captured by the camera, and correcting a blur in a region near the top side and a region near the bottom side of the image. The image correction method according to claim 15, wherein the image correction method is performed with higher accuracy. 前記ぶれ補正ステップは、前記カメラにより連続して撮像された前記各画像の上辺近傍の領域および下辺近傍の領域におけるぶれの補正を行わない
請求項22に記載の画像補正方法。
The image correction method according to claim 22, wherein the shake correction step does not perform shake correction in a region near the upper side and a region near the lower side of each image continuously captured by the camera.
前記移動ベクトル算出ステップは、前記カメラにより撮像された前記画像のオプティカルフローの消失点を求め、
前記ぶれ補正ステップは、前記オプティカルフローの消失点の近傍の領域におけるぶれの補正を、当該消失点の近傍の領域以外の領域よりも低い精度で行う
請求項15に記載の画像補正方法。
The movement vector calculation step obtains a vanishing point of the optical flow of the image captured by the camera,
The image correction method according to claim 15, wherein the blur correction step performs blur correction in a region near the vanishing point of the optical flow with a lower accuracy than a region other than a region near the vanishing point.
前記ぶれ補正ステップは、前記カメラにより連続して撮像された前記各画像の略中央の領域におけるぶれの補正を、当該中央の領域以外の領域よりも低い精度で行う請求項15に記載の画像補正方法。   The image correction according to claim 15, wherein the blur correction step performs blur correction in a substantially central region of each of the images continuously captured by the camera with lower accuracy than a region other than the central region. Method.
JP2005098901A 2004-03-30 2005-03-30 Image compensation device and image compensation method Pending JP2005318568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005098901A JP2005318568A (en) 2004-03-30 2005-03-30 Image compensation device and image compensation method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004100514 2004-03-30
JP2005098901A JP2005318568A (en) 2004-03-30 2005-03-30 Image compensation device and image compensation method

Publications (1)

Publication Number Publication Date
JP2005318568A true JP2005318568A (en) 2005-11-10

Family

ID=35445461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005098901A Pending JP2005318568A (en) 2004-03-30 2005-03-30 Image compensation device and image compensation method

Country Status (1)

Country Link
JP (1) JP2005318568A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012004640A (en) * 2010-06-14 2012-01-05 Nikon Corp Image processor and image processing program
JP2013200778A (en) * 2012-03-26 2013-10-03 Fujitsu Ltd Image processing device and image processing method
KR20150089677A (en) * 2014-01-28 2015-08-05 엘지이노텍 주식회사 Camera system, calibration device and calibration method
JP2017028527A (en) * 2015-07-23 2017-02-02 株式会社Jvcケンウッド Moving picture pickup device, moving picture pickup method and program
WO2017042903A1 (en) * 2015-09-09 2017-03-16 日立マクセル株式会社 Vehicle-use image processing apparatus
WO2022075039A1 (en) * 2020-10-08 2022-04-14 ソニーセミコンダクタソリューションズ株式会社 Information processing device, information processing system, and information processing method
WO2023002826A1 (en) * 2021-07-21 2023-01-26 パナソニックIpマネジメント株式会社 Imaging system and moving vehicle provided with same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012004640A (en) * 2010-06-14 2012-01-05 Nikon Corp Image processor and image processing program
JP2013200778A (en) * 2012-03-26 2013-10-03 Fujitsu Ltd Image processing device and image processing method
KR20150089677A (en) * 2014-01-28 2015-08-05 엘지이노텍 주식회사 Camera system, calibration device and calibration method
KR102234376B1 (en) * 2014-01-28 2021-03-31 엘지이노텍 주식회사 Camera system, calibration device and calibration method
JP2017028527A (en) * 2015-07-23 2017-02-02 株式会社Jvcケンウッド Moving picture pickup device, moving picture pickup method and program
WO2017042903A1 (en) * 2015-09-09 2017-03-16 日立マクセル株式会社 Vehicle-use image processing apparatus
WO2022075039A1 (en) * 2020-10-08 2022-04-14 ソニーセミコンダクタソリューションズ株式会社 Information processing device, information processing system, and information processing method
WO2023002826A1 (en) * 2021-07-21 2023-01-26 パナソニックIpマネジメント株式会社 Imaging system and moving vehicle provided with same

Similar Documents

Publication Publication Date Title
EP2988169B1 (en) Imaging device and image shake correction method
US7982772B2 (en) Image correction apparatus and image correction method for correcting image blur using a mobile vector
JP5792091B2 (en) Object detection apparatus and object detection method
JP4440341B2 (en) Calibration method, calibration apparatus, and calibration system including the apparatus
JP2018026143A (en) Detection of vertical contour of road
JP2005318568A (en) Image compensation device and image compensation method
JP4914726B2 (en) Current position calculation device, current position calculation method
JP5612915B2 (en) Moving body detection apparatus and moving body detection method
CN104345517A (en) Image shake correcting apparatus and method, lens barrel, optical apparatus, and imaging apparatus
JP2010276429A (en) Device and method for detecting calibration target, and program for device for detecting calibration target
CN101861255A (en) Image processing device and method, drive assist system, and vehicle
JP2007240422A (en) Depression angle calculator, depression angle calculation method, depression angle calculation program, and image processor
JP2007034989A (en) Slippage detection method and slippage correction method of imaging device, and imaging device
WO2012066999A1 (en) Displacement magnitude detection device for vehicle-mounted camera
JP6693314B2 (en) Vehicle approaching object detection device
US9827906B2 (en) Image processing apparatus
JP6462557B2 (en) Vehicle pitch angle estimation device
JP2014138332A (en) Image processing system and program
US7406182B2 (en) Image capturing apparatus, image capturing method, and machine readable medium storing thereon image capturing program
CN111316322B (en) Road surface area detection device
JP2015001812A (en) Image processing device, image processing method and image processing program
WO2016157666A1 (en) Camera attitude estimating device, operation supporting device and camera attitude estimating method
JP6152646B2 (en) Compound eye camera device and vehicle equipped with the same
JP4531609B2 (en) Imaging apparatus, imaging method, and imaging program
JP2017034616A (en) Image processing apparatus and control method therefor

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061211