JP2014138331A - Imaging apparatus and program - Google Patents

Imaging apparatus and program Download PDF

Info

Publication number
JP2014138331A
JP2014138331A JP2013006747A JP2013006747A JP2014138331A JP 2014138331 A JP2014138331 A JP 2014138331A JP 2013006747 A JP2013006747 A JP 2013006747A JP 2013006747 A JP2013006747 A JP 2013006747A JP 2014138331 A JP2014138331 A JP 2014138331A
Authority
JP
Japan
Prior art keywords
coefficient
correction
unit
update
image
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
JP2013006747A
Other languages
Japanese (ja)
Inventor
Shin Aoki
青木  伸
Naoki Kikuchi
直樹 菊池
Kiichiro Saito
樹一郎 齊藤
Atsushi Yoshida
淳 吉田
Junichiro Asaba
淳一郎 浅羽
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 JP2013006747A priority Critical patent/JP2014138331A/en
Publication of JP2014138331A publication Critical patent/JP2014138331A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus and a program capable of preventing a control system that utilizes a corrected photographed image from making a false recognition even a corrected amount is large in correction of coordinate deviation of the photographed image.SOLUTION: An imaging apparatus includes: one or more imaging section for photographing an image; an update section for periodically updating a coefficient for a correction formula applied for correcting the coordinate deviation in a photographed image resulting from aging positional deviation of the imaging section on the basis of the one or more photographed images; a division update section for updating the coefficient in two or more times by calculating the difference of the coefficients before and after the update for each item in the correction formula, and adding a value in which the difference was divided in two or more times to the coefficient before the update one after another; and a correction section for correcting the photographed image using the correction formula whose coefficient is updated.

Description

本発明は、撮影装置及びプログラムに関する。   The present invention relates to a photographing apparatus and a program.

撮影装置の経時的な位置ずれに起因する撮影画像の座標のずれを補正する技術が知られている。例えば、ステレオカメラにより撮影された撮影画像の座標のずれを補正する技術が知られている。ステレオカメラでは、2台のカメラで同時に被写体を撮影することにより、各撮影画像上の像位置の差分から被写体までの距離を計測することができる。ステレオカメラは、例えば、車両制御システムに利用されている。車両制御システムでは、一定のフレーム間隔で撮影及び測距を繰り返し、画像内に被写体までの距離の情報を含む視差画像を、動画として生成する。車両制御システムは、当該視差画像を利用して路線逸脱や障害物を検知し、回避制御等に利用している。   There is known a technique for correcting a deviation in coordinates of a photographed image caused by a positional deviation of the photographing apparatus over time. For example, a technique for correcting a shift in coordinates of a captured image captured by a stereo camera is known. In the stereo camera, the distance to the subject can be measured from the difference in image position on each captured image by photographing the subject simultaneously with two cameras. Stereo cameras are used in, for example, vehicle control systems. In the vehicle control system, photographing and ranging are repeated at a constant frame interval, and a parallax image including information on the distance to the subject in the image is generated as a moving image. The vehicle control system uses the parallax image to detect a departure from a route or an obstacle and uses it for avoidance control and the like.

ステレオカメラで、正確に距離を計測するためには、各単眼カメラの歪曲特性や、2台のカメラ間の相対位置が既知でなければならない。しかしながら、現実には、経時変化や温度特性等に起因する撮影装置の微小な変形は避けられない。そのため、周期的な測距動作と並行して、撮影画像の座標のずれを補正する自動キャリブレーションが行われている。自動キャリブレーションでは、撮影画像やその他のセンサ等の情報を利用して、2台のカメラ間の相対位置及び方向等のカメラ特性のずれを計測し、自動的に撮影画像の座標のずれを補正している。   In order to accurately measure the distance with a stereo camera, the distortion characteristics of each monocular camera and the relative position between the two cameras must be known. However, in reality, minute deformation of the photographing apparatus due to change with time, temperature characteristics, and the like is unavoidable. For this reason, automatic calibration for correcting the deviation of the coordinates of the captured image is performed in parallel with the periodic distance measuring operation. In automatic calibration, information on the captured image and other sensors is used to measure deviations in camera characteristics such as the relative position and direction between the two cameras, and the deviation in the coordinates of the captured image is automatically corrected. doing.

自動キャリブレーション技術として、特許文献1が知られている。特許文献1には、撮影画像に含まれる車線両側の白線等の平行線の消失点を利用する自動キャリブレーション技術が開示されている。   Patent Document 1 is known as an automatic calibration technique. Patent Document 1 discloses an automatic calibration technique that uses vanishing points of parallel lines such as white lines on both sides of a lane included in a captured image.

しかしながら、撮影画像の座標のずれを補正する際に、補正量が大きいと補正された撮影画像を利用する制御システムで誤認識が発生する可能性があった。   However, when correcting the deviation of the coordinates of the captured image, if the correction amount is large, erroneous recognition may occur in the control system using the corrected captured image.

本発明は、上記に鑑みてなされたものであって、撮影画像の座標のずれを補正する際に、補正量が大きい場合でも、補正された撮影画像を利用する制御システムで誤認識を発生させない撮影装置及びプログラムを提供することを目的にする。   The present invention has been made in view of the above, and does not cause misrecognition in a control system that uses a corrected captured image even when the correction amount is large when correcting a coordinate shift of the captured image. An object is to provide a photographing apparatus and a program.

上述した課題を解決し、目的を達成するために、本発明の撮影装置は、撮影画像を撮影する1以上の撮影部と、1以上の前記撮影画像に基づいて、前記撮影部の経時的な位置ずれに起因する前記撮影画像の座標のずれを補正する補正式の係数を、定期的に更新する更新部と、前記補正式の各項について、更新前の前記係数と、更新後の前記係数の差分を算出し、更新前の前記係数に前記差分を複数に分割した値を順次加算することによって前記係数を複数回に分けて更新する分割更新部と、前記係数を更新した前記補正式を使用して前記撮影画像を補正する補正部とを備える。   In order to solve the above-described problems and achieve the object, the imaging device of the present invention includes one or more imaging units that capture a captured image and the time-lapse of the imaging unit based on the one or more captured images. An update unit that periodically updates the coefficient of the correction formula that corrects the shift of the coordinates of the captured image caused by the position shift, the coefficient before the update, and the coefficient after the update for each term of the correction formula A division update unit that updates the coefficient in a plurality of times by sequentially adding a value obtained by dividing the difference into a plurality of the coefficients before the update, and the correction formula that updates the coefficient And a correction unit for correcting the captured image.

また、本発明のプログラムは、コンピュータを、1以上の撮影画像に基づいて、撮影部の経時的な位置ずれに起因する前記撮影画像の座標のずれを補正する補正式の係数を、定期的に更新する更新部と、前記補正式の各項について、更新前の前記係数と、更新後の前記係数の差分を算出し、更新前の前記係数に前記差分を複数に分割した値を順次加算することによって前記係数を複数回に分けて更新する分割更新部と、前記係数を更新した前記補正式を使用して前記撮影画像を補正する補正部として機能させる。   In addition, the program of the present invention causes the computer to periodically calculate a coefficient of a correction formula for correcting a shift in the coordinates of the captured image caused by a positional shift of the captured unit over time based on one or more captured images. For each item of the update unit to be updated and the correction formula, the difference between the coefficient before update and the coefficient after update is calculated, and the value obtained by dividing the difference into a plurality of the coefficients before update is sequentially added. Thus, the coefficient update unit functions as a division update unit that updates the coefficient in a plurality of times and a correction unit that corrects the captured image using the correction formula in which the coefficient is updated.

本発明によれば、撮影画像の座標のずれを補正する際に、補正量が大きい場合でも、補正された撮影画像を利用する制御システムで誤認識を発生させない撮影装置及びプログラムを提供することができるという効果を奏する。   According to the present invention, it is possible to provide a photographing apparatus and a program that do not cause erroneous recognition in a control system that uses a corrected photographed image even when the correction amount is large when correcting the coordinate deviation of the photographed image. There is an effect that can be done.

図1は、本実施の形態の撮影装置の構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of the configuration of the photographing apparatus according to the present embodiment. 図2は、本実施の形態の撮影装置の第1撮影部及び第2撮影部を説明するための図である。FIG. 2 is a diagram for explaining the first photographing unit and the second photographing unit of the photographing apparatus of the present embodiment. 図3は、本実施の形態の撮影装置の撮影画像の座標のずれの補正(座標変換)の一例を示す図である。FIG. 3 is a diagram illustrating an example of correction (coordinate conversion) of coordinate shift of a captured image of the imaging apparatus of the present embodiment. 図4は、本実施の形態の撮影装置の撮影画像の補正方法の一例を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining an example of a method for correcting a photographed image of the photographing apparatus according to the present embodiment. 図5は、本実施の形態の撮影装置の移動距離を算出する座標を選ぶ方法の一例を説明するための図である。FIG. 5 is a diagram for explaining an example of a method for selecting coordinates for calculating the moving distance of the photographing apparatus according to the present embodiment. 図6は、本実施の形態の撮影装置の撮影画像を複数回に分割して補正する場合の一例を説明するための図である。FIG. 6 is a diagram for explaining an example in which a captured image of the imaging apparatus according to the present embodiment is corrected by being divided into a plurality of times. 図7は、本実施の形態の撮影装置のハードウェア構成の一例を示す図である。FIG. 7 is a diagram illustrating an example of a hardware configuration of the imaging apparatus according to the present embodiment.

以下に添付図面を参照して、撮影装置及びプログラムの実施の形態を詳細に説明する。図1は、本実施の形態の撮影装置10の構成の一例を示す図である。本実施の形態の撮影装置10は、第1撮影部1、第2撮影部2、記憶部3、更新部4、分割更新部5、補正部6及び視差算出部7を備える。記憶部3は、撮影画像11、補正パラメータ12、分割補正パラメータ13、補正画像14及び視差画像15を記憶する。   Embodiments of a photographing apparatus and a program will be described in detail below with reference to the accompanying drawings. FIG. 1 is a diagram illustrating an example of a configuration of an imaging device 10 according to the present embodiment. The imaging apparatus 10 according to the present embodiment includes a first imaging unit 1, a second imaging unit 2, a storage unit 3, an update unit 4, a division update unit 5, a correction unit 6, and a parallax calculation unit 7. The storage unit 3 stores the captured image 11, the correction parameter 12, the division correction parameter 13, the corrected image 14, and the parallax image 15.

第1撮影部1及び第2撮影部2は、被写体を撮影するステレオカメラである。以下、第1撮影部1が撮影した撮影画像を「第1撮影画像」という。また、第2撮影部2が撮影した撮影画像を「第2撮影画像」という。また、第1撮影画像及び第2撮影画像を区別しない場合は、単に「撮影画像」という。撮影装置10は、撮影タイミングを同期して第1撮影部1及び第2撮影部2により、同一の被写体を撮影することができる。   The first photographing unit 1 and the second photographing unit 2 are stereo cameras that photograph a subject. Hereinafter, a photographed image photographed by the first photographing unit 1 is referred to as a “first photographed image”. The captured image captured by the second imaging unit 2 is referred to as a “second captured image”. Further, when the first captured image and the second captured image are not distinguished, they are simply referred to as “captured images”. The photographing apparatus 10 can photograph the same subject by the first photographing unit 1 and the second photographing unit 2 in synchronization with photographing timing.

ここで、第1撮影部1及び第2撮影部2によるステレオカメラ及びステレオカメラの距離計測原理について説明する。図2は、本実施の形態の撮影装置10の第1撮影部1及び第2撮影部2を説明するための図である。   Here, the principle of distance measurement of the stereo camera and the stereo camera by the first photographing unit 1 and the second photographing unit 2 will be described. FIG. 2 is a diagram for explaining the first photographing unit 1 and the second photographing unit 2 of the photographing apparatus 10 of the present embodiment.

図2の例では、焦点距離f、光学中心O、撮像面Sの第1撮影部1がZ軸を光軸方向として配置されている。また、焦点距離f、光学中心O、撮像面Sの第2撮影部2がZ軸を光軸方向として配置されている。第1撮影部1及び第2撮影部2は、X軸に対して平行に、距離B(基線長)だけ離れた位置に配置される。 In the example of FIG. 2, the focal length f, the optical center O 0 , and the first imaging unit 1 on the imaging surface S 0 are arranged with the Z axis as the optical axis direction. Further, the focal length f, the optical center O 1 , and the second imaging unit 2 on the imaging surface S 1 are arranged with the Z axis as the optical axis direction. The first imaging unit 1 and the second imaging unit 2 are disposed in parallel to the X axis at positions separated by a distance B (baseline length).

第1撮影部1の光学中心Oから光軸方向に距離dだけ離れた位置にある被写体Aは、直線A−Oと撮像面Sの交点であるPに像を結ぶ。一方、第2撮影部2では、同じ被写体Aが、撮像面S上の位置Pに像を結ぶ。 The subject A located at a distance d in the optical axis direction from the optical center O 0 of the first imaging unit 1 forms an image at P 0 , which is the intersection of the straight line A-O 0 and the imaging surface S 0 . On the other hand, the second imaging unit 2, the same subject A is forms an image at a position P 1 on the imaging surface S 1.

ここで、第2撮影部2の光学中心Oを通り、直線A−Oと平行な直線と、撮像面Sとの交点をP’とする。また、P’とPの距離をpとする。距離pは、同じ被写体の像を二台のカメラで撮影した画像上での位置のずれ量(以下、「視差」という。)を表す。三角形A−O−Oと、三角形O−P’−Pは相似である。そのため、d=B×f/pである。すなわち、基線長B、焦点距離f及び視差pから、被写体Aまでの距離dを求めることができる。 Here, an intersection of a straight line passing through the optical center O 1 of the second imaging unit 2 and parallel to the straight line A-O 0 and the imaging surface S 1 is defined as P 0 ′. Further, the distance between P 0 ′ and P 1 is p. The distance p represents a positional shift amount (hereinafter referred to as “parallax”) on an image obtained by capturing the same subject image with two cameras. The triangle AO 0 -O 1 and the triangle O 1 -P 0 ′ -P 1 are similar. Therefore, d = B × f / p. That is, the distance d to the subject A can be obtained from the base line length B, the focal length f, and the parallax p.

ここで、制御システムが車両制御システムである場合を例にして、ステレオカメラの距離計測処理及び自動キャリブレーション処理の組み合わせによって、制御システムが誤認識する例について説明する。   Here, an example in which the control system erroneously recognizes the combination of the distance measurement process and the automatic calibration process of the stereo camera will be described by taking a case where the control system is a vehicle control system as an example.

視差算出部7が、自動キャリブレーションによって撮影画像11の座標のずれが補正された補正画像14を使用して視差を算出すると、被写体までの測距結果が変化する。例えば、100mで視差1画素のステレオカメラを考える(焦点距離f、基線長B及び画像センサによる)。また、ある被写体の正しい距離が、100mであるとする。すなわち、撮影画像11(第1撮影画像及び第2撮影画像)において、当該被写体の視差が1画素であるとする。   When the parallax calculation unit 7 calculates the parallax using the corrected image 14 in which the deviation of the coordinates of the captured image 11 is corrected by automatic calibration, the distance measurement result to the subject changes. For example, consider a stereo camera with 100 m and 1 pixel parallax (by focal length f, baseline length B, and image sensor). Further, it is assumed that the correct distance of a certain subject is 100 m. That is, in the captured image 11 (the first captured image and the second captured image), it is assumed that the parallax of the subject is one pixel.

ここで、このステレオカメラにおいて、撮影画像11の座標のずれに基づく視差オフセット(視差の誤差)が−0.5画素であったとする。このとき、あるフレーム(フレーム0)で、視差0.5画素(=正しい視差(1.0)−誤差(0.5)=距離200mに相当)という計測結果が得られていたとする。このとき、次のフレームでの視差演算処理を実行する前に、誤差0.5画素を正しく補正すると、フレーム1の計測結果は1画素(=100m)が得られる。つまり、撮影装置10は、実際には一定の距離100mに存在している被写体を、フレーム0では200m、次のフレーム1では100mの距離にあるように計測する。車両制御システムが、この2フレームの結果のみから自然に外挿すると、次のフレーム2では、距離0m、つまり衝突すると予測する。車両制御システムは、緊急制動又は回避等の操作が必要と判断してしまう可能性がある。   Here, in this stereo camera, it is assumed that the parallax offset (parallax error) based on the deviation of the coordinates of the captured image 11 is −0.5 pixel. At this time, it is assumed that a measurement result of parallax 0.5 pixels (= correct parallax (1.0) −error (0.5) = corresponding to a distance of 200 m) is obtained in a certain frame (frame 0). At this time, if the error 0.5 pixel is corrected correctly before executing the parallax calculation process in the next frame, the measurement result of frame 1 is 1 pixel (= 100 m). That is, the photographing apparatus 10 measures a subject that is actually present at a certain distance of 100 m so that it is at a distance of 200 m in the frame 0 and 100 m in the next frame 1. When the vehicle control system naturally extrapolates only from the results of these two frames, the next frame 2 predicts a distance of 0 m, that is, a collision. The vehicle control system may determine that an operation such as emergency braking or avoidance is necessary.

しかしながら、通常、車両制御システムでは、制御開始には複数回の衝突判定を必要とする等のマージンを設けている。そのため、上記の状況で必ずしも不要な制御が発生するとは限らないが、ステレオカメラモジュール単体での信頼性が高い方が望ましいのは当然である。このように、距離計測の精度を向上するための自動キャリブレーション処理によって、被写体が見かけ上、移動しているように見えてしまう問題が起こりうる。通常は、自動キャリブレーションが有効に働いていれば、ずれが生じれば即補正されるため、誤差は0近辺に保たれているはずである。   However, normally, a vehicle control system is provided with a margin that requires multiple collision determinations to start control. Therefore, unnecessary control does not always occur in the above situation, but it is naturally desirable that the stereo camera module alone has high reliability. As described above, the automatic calibration process for improving the accuracy of distance measurement may cause a problem that the subject appears to move apparently. Normally, if the automatic calibration is working effectively, the error should be kept near zero because the correction is made immediately if a deviation occurs.

しかしながら、ステレオカメラ起動後、最初の自動キャリブレーション更新時や、短時間でカメラ特性が大きく変化する場合は、ある程度大きなずれが一度に計測される可能性がある。補正部6が、このずれを一度に補正すると、計測結果の距離が大きく変化してしまう可能性がある。なお、短時間でカメラ特性が大きく変化する例は、例えば、日影から日向へ(または逆方向)の車両の移動、若しくは車内冷暖房の稼動又は停止等による温度変化等があげられる。なお、ここでは、車両制御システムの場合を例にして説明したが、本実施の形態の撮影装置10を、車両制御システム以外に使用してもよい。   However, when the auto-calibration is updated for the first time after the stereo camera is activated or when the camera characteristics change greatly in a short time, there is a possibility that a large deviation is measured at a time. If the correction unit 6 corrects this shift at once, the distance of the measurement result may change greatly. Examples of the camera characteristics that change greatly in a short time include, for example, movement of the vehicle from the shade to the sun (or the reverse direction), or a change in temperature due to operation or stop of the interior air conditioning. Here, the case of the vehicle control system has been described as an example, but the photographing apparatus 10 of the present embodiment may be used other than the vehicle control system.

図1に戻り、撮影画像11は、第1撮影画像又は第2撮影画像である。補正パラメータ12は、第1撮影部1(第2撮影部2)の経時的な位置ずれに起因する第1撮影画像(第2撮影画像)の座標のずれを補正する補正式の係数である。例えば、当該補正式は次式である。   Returning to FIG. 1, the captured image 11 is a first captured image or a second captured image. The correction parameter 12 is a coefficient of a correction equation that corrects a coordinate shift of the first captured image (second captured image) caused by a positional shift of the first capturing unit 1 (second captured unit 2) with time. For example, the correction formula is the following formula.

x’=a+ax+ay+a+axy+a
y’=b+bx+by+b+bxy+b
x ′ = a 0 + a 1 x + a 2 y + a 3 x 2 + a 4 xy + a 5 y 2
y ′ = b 0 + b 1 x + b 2 y + b 3 x 2 + b 4 xy + b 5 y 2

ここで、(x,y)は変換元の座標とし、(x’,y’)は変換後の座標とする。このとき、補正パラメータ12は、a〜a及びb〜bである。なお、補正式は、補正画像の座標を(x,y)とし、補正前画像(撮影画像)の座標を(x’,y’)として管理してもよい。すなわち、補正式は、座標変換後の座標を基準にしてもよいし、座標変換前の座標を基準にして管理してもよい。なお、本実施の形態では、補正式を2次式としているが、任意の次数でよい。分割補正パラメータ13、補正画像14及び視差画像15の詳細については後述する。 Here, (x, y) is the coordinates of the conversion source, and (x ′, y ′) is the coordinates after the conversion. At this time, the correction parameter 12 is a 0 ~a 5 and b 0 ~b 5. The correction formula may be managed with the coordinates of the corrected image as (x, y) and the coordinates of the pre-correction image (captured image) as (x ′, y ′). In other words, the correction formula may be based on coordinates after coordinate conversion, or may be managed based on coordinates before coordinate conversion. In the present embodiment, the correction formula is a quadratic formula, but any order may be used. Details of the division correction parameter 13, the correction image 14, and the parallax image 15 will be described later.

更新部4は、1以上の撮影画像に基づいて、第1撮影部1(第2撮影部2)の経時的な位置ずれに起因する第1撮影画像(第2撮影画像)の座標のずれを補正する補正式の係数を定期的に更新する。なお、1以上の撮影画像に基づいて、当該座標のずれを補正する補正式の係数を決定する具体的な方法は、どのような方法でもよい。例えば、更新部4は、当該補正式の係数を、変換前の座標(x,y)と変換後の座標(x’,y’)の組から、最小二乗法等によって近似することにより決定(更新)してもよい。   Based on one or more photographed images, the update unit 4 detects a coordinate shift of the first photographed image (second photographed image) due to a temporal positional shift of the first photographing unit 1 (second photographer 2). The coefficient of the correction formula to be corrected is updated periodically. Note that a specific method for determining the coefficient of the correction formula for correcting the shift of the coordinates based on one or more captured images may be any method. For example, the update unit 4 determines the coefficient of the correction formula by approximating the coefficient (x, y) before conversion and the coordinate (x ′, y ′) after conversion by the least square method or the like ( Update).

分割更新部5は、補正式の各項について、更新前の係数と、更新後の係数の差分を算出し、更新前の係数に当該差分を複数に分割した値を順次加算することによって当該係数を複数回に分けて更新する。なお、撮影装置10は、分割更新部5を常に動作させなくてもよい。例えば、更新前の係数の補正式による補正結果と、更新後の係数の補正式による補正結果の差異が小さい場合には、撮影装置10は、分割更新部5を動作させなくてもよい。例えば、本実施の形態では、当該差異が1画素の長さの1/10(以下「1/10画素」という。)以下であれば、分割更新部5を動作させなくてもよい。   The division update unit 5 calculates the difference between the coefficient before update and the coefficient after update for each term of the correction formula, and sequentially adds the value obtained by dividing the difference into a plurality of coefficients before update. Is updated in several times. Note that the imaging apparatus 10 does not always have to operate the division update unit 5. For example, when the difference between the correction result based on the coefficient correction formula before the update and the correction result based on the coefficient correction formula after the update is small, the imaging apparatus 10 does not have to operate the split update unit 5. For example, in the present embodiment, if the difference is 1/10 of the length of one pixel (hereinafter referred to as “1/10 pixel”) or less, the division update unit 5 may not be operated.

補正部6は、係数を更新した補正式を使用して撮影画像を補正する。補正部6は、更新部4により係数を更新した補正式を使用して撮影画像を補正する場合は、撮影画像11を1回で補正する。補正部6は、分割更新部5により係数を更新した補正式を使用して撮影画像を補正する場合は、撮影画像11を複数回に分けて補正する。   The correction unit 6 corrects the captured image using a correction formula with updated coefficients. The correction unit 6 corrects the captured image 11 at a time when the captured image is corrected using the correction formula whose coefficient is updated by the update unit 4. The correction unit 6 corrects the captured image 11 in a plurality of times when the captured image is corrected using the correction formula whose coefficient is updated by the division update unit 5.

視差算出部7は、補正された第1撮影画像及び補正された第2撮影画像から視差を算出する。視差算出部7は、当該視差を利用して、撮影画像11の座標の視差の情報を含む視差画像を生成する。具体的な視差算出方法は、周知の平行等位ステレオカメラと同様である。視差算出部7は、基準カメラ画像から抽出される特徴点周辺の画像領域と、比較カメラ画像上で1画素単位に対応候補領域をずらしながら相関を計算し、相関最大値付近での相関値を放物線などで補間することにより、画素単位以下の精度で視差を算出する。本実施の形態の視差算出部7は、最小視差1画素(1画素以下の視差は遠すぎて信頼性が低いため、本実施の形態の視差算出部7では、1画素に切り上げた結果を出力するものとする。)、精度1/10画素の視差画像15を生成する。   The parallax calculation unit 7 calculates the parallax from the corrected first captured image and the corrected second captured image. The parallax calculation unit 7 uses the parallax to generate a parallax image including parallax information of the coordinates of the captured image 11. A specific parallax calculation method is the same as that of a known parallel equipotential stereo camera. The parallax calculation unit 7 calculates the correlation while shifting the corresponding candidate area in units of one pixel on the image area around the feature point extracted from the reference camera image and the comparison camera image, and calculates the correlation value near the maximum correlation value. By interpolating with a parabola or the like, the parallax is calculated with an accuracy of a pixel unit or less. The parallax calculation unit 7 of the present embodiment outputs the result of rounding up to one pixel in the parallax calculation unit 7 of the present embodiment because the parallax of the minimum parallax is one pixel. The parallax image 15 having an accuracy of 1/10 pixel is generated.

撮影装置10は、上述の各処理部(第1撮影部1、第2撮影部2、記憶部3、更新部4、分割更新部5、補正部6及び視差算出部7)により、周期的に繰り返して撮影画像の撮影、補正及び視差計算を実行し、視差画像15を生成し続ける。   The imaging device 10 is periodically operated by the above-described processing units (the first imaging unit 1, the second imaging unit 2, the storage unit 3, the update unit 4, the division update unit 5, the correction unit 6, and the parallax calculation unit 7). The captured image is repeatedly captured, corrected, and calculated for parallax, and the parallax image 15 is continuously generated.

図3は、本実施の形態の撮影装置10の撮影画像11の座標のずれの補正(座標変換)の一例を示す図である。補正部6は、補正式及び補正パラメータ12(当該補正式の項の係数)により、補正画像の座標と補正前画像(撮影画像11)の座標を変換する。なお、補正画像の画素値を決定するために、補正式により対応する撮影画像の画素値を参照する。このとき、変換後の座標の値が整数にならないことがある。補正部6は、座標の値が整数にならない座標の画素値を、補正前画像上の周囲の画素値から補間して決定する処理(画素値補間処理)を行う。補正部6は、例えば、双1次補間(バイリニア補間)により画素値補間処理を行う。補正部6は、全画素について、補正式による座標変換と画素値補間処理とにより撮影画像の幾何補正を行い、補正画像を生成する。   FIG. 3 is a diagram illustrating an example of correction (coordinate conversion) of coordinate deviation of the captured image 11 of the imaging apparatus 10 according to the present embodiment. The correction unit 6 converts the coordinates of the corrected image and the coordinates of the pre-correction image (the photographed image 11) by using the correction formula and the correction parameter 12 (the coefficient of the correction formula term). In order to determine the pixel value of the corrected image, the pixel value of the corresponding captured image is referred to by the correction formula. At this time, the coordinate value after conversion may not be an integer. The correction unit 6 performs processing (pixel value interpolation processing) in which pixel values of coordinates whose coordinate values are not integers are determined by interpolation from surrounding pixel values on the pre-correction image. For example, the correction unit 6 performs pixel value interpolation processing by bilinear interpolation (bilinear interpolation). The correction unit 6 performs geometric correction of the captured image by coordinate conversion using a correction formula and pixel value interpolation processing for all pixels to generate a corrected image.

図4は、本実施の形態の撮影装置10の撮影画像11の補正方法の一例を説明するためのフローチャートである。第1撮影部1及び第2撮影部2は、撮影画像11(第1撮影画像及び第2撮影画像)を撮影する(ステップS1)。更新部4は、1以上の撮影画像11に基づいて、第1撮影部1又は第2撮影部2、或いは両方の撮影部の経時的な位置ずれに起因する撮影画像11の座標のずれを補正する補正式の係数(補正パラメータ12)を更新し、記憶部3に記憶する(ステップS2)。   FIG. 4 is a flowchart for explaining an example of a correction method for the captured image 11 of the imaging apparatus 10 according to the present embodiment. The first photographing unit 1 and the second photographing unit 2 photograph the photographed image 11 (first photographed image and second photographed image) (step S1). Based on one or more captured images 11, the update unit 4 corrects the displacement of the coordinates of the captured image 11 caused by the positional displacement of the first capturing unit 1, the second capturing unit 2, or both capturing units over time. The coefficient (correction parameter 12) of the correction formula to be updated is updated and stored in the storage unit 3 (step S2).

分割更新部5は、当該補正式の係数(補正パラメータ12)を分割するか否かを判定する(ステップS3)。   The division update unit 5 determines whether or not to divide the coefficient (correction parameter 12) of the correction formula (step S3).

ここで、ステップS3の判定方法の一例について説明する。分割更新部5は、係数を更新前の補正式による補正後の座標と、係数を更新後の補正式による補正後の座標との距離に基づいて、当該補正式の係数(補正パラメータ12)を分割するか否かを判定してもよい。ここで、当該距離を求める座標としてどの座標を選ぶかについて、一例を説明する。図5は、本実施の形態の撮影装置10の移動距離を算出する座標を選ぶ方法の一例を説明するための図である。通常、カメラの回転により、四隅が大きく移動することが多いので、ここでは画像領域の上下左右の端部(a〜d点)の座標について、係数を更新前の補正式による補正後の座標と、係数を更新後の補正式による補正後の座標との距離を計算する。次に、分割更新部5は、4つの距離の中から、例えば、最大値を取得する。分割更新部5は、当該距離の最大値に基づいて、当該補正式の係数(補正パラメータ12)を分割するか否かを判定してもよい。   Here, an example of the determination method in step S3 will be described. The division updating unit 5 calculates the coefficient (correction parameter 12) of the correction formula based on the distance between the coordinate after correction using the correction formula before updating the coefficient and the coordinate after correction using the correction formula after updating the coefficient. You may determine whether to divide | segment. Here, an example of which coordinate is selected as the coordinate for obtaining the distance will be described. FIG. 5 is a diagram for explaining an example of a method for selecting coordinates for calculating the moving distance of the photographing apparatus 10 according to the present embodiment. In general, the four corners often move greatly due to the rotation of the camera. Therefore, here, for the coordinates of the upper, lower, left and right ends (points a to d) of the image area, the coefficients are the coordinates after correction by the correction formula before update. Then, the distance from the coordinate after correction by the correction formula after updating the coefficient is calculated. Next, the division update unit 5 acquires, for example, the maximum value from the four distances. The division update unit 5 may determine whether or not to divide the coefficient of the correction formula (correction parameter 12) based on the maximum value of the distance.

図4に戻り、当該補正式の係数(補正パラメータ12)を分割する場合(ステップS3、Yes)は、ステップS4に進む。分割更新部5は、補正パラメータ12から分割補正パラメータ13を決定する(ステップS4)。具体的には、例えば、分割更新部5は、更新前の係数と、更新後の係数の差分を算出し、更新前の係数に当該差分を複数に分割した値を順次加算することによって当該係数を複数回に分けて更新するための係数(分割補正パラメータ13)を決定する。分割更新部5は、分割補正パラメータ13を記憶部3に記憶する(ステップS5)。分割更新部5によるステップS4及び5の処理の詳細については後述する。当該補正式の係数(補正パラメータ12)を分割しない場合(ステップS3、No)は、ステップS6に進む。   Returning to FIG. 4, when the coefficient (correction parameter 12) of the correction formula is divided (step S3, Yes), the process proceeds to step S4. The division update unit 5 determines the division correction parameter 13 from the correction parameter 12 (step S4). Specifically, for example, the division update unit 5 calculates the difference between the coefficient before update and the coefficient after update, and sequentially adds the value obtained by dividing the difference into a plurality of coefficients before update. A coefficient (division correction parameter 13) for updating the plurality of times is determined. The division update unit 5 stores the division correction parameter 13 in the storage unit 3 (step S5). Details of the processes of steps S4 and S5 by the division update unit 5 will be described later. When the coefficient (correction parameter 12) of the correction formula is not divided (step S3, No), the process proceeds to step S6.

補正部6は、撮影画像11を補正する(ステップS6)。補正部6は、補正パラメータ12を使用する場合は、1回で撮影画像11を補正する。補正部6は、分割補正パラメータ13が記憶部3に記憶されている場合は、分割補正パラメータ13を使用して複数回に分けて撮影画像11を補正する。   The correction unit 6 corrects the captured image 11 (step S6). The correction unit 6 corrects the captured image 11 at a time when the correction parameter 12 is used. When the division correction parameter 13 is stored in the storage unit 3, the correction unit 6 uses the division correction parameter 13 to correct the captured image 11 in a plurality of times.

次に、分割更新部5によるステップS4及び5の処理の詳細について説明する。図6は、本実施の形態の撮影装置10の撮影画像を複数回に分割して補正する場合の一例を説明するための図である。(x,y)は、撮影画像の座標である。(x’,y’)は、補正式の係数を更新する前の補正式による補正後の座標である。(x”,y”)は、補正式の係数を更新した後の補正式による補正後の座標である。(x’,y’)から(x”,y”)までの距離は、例えば、図5の説明で算出した距離を用いる。   Next, details of the processing of steps S4 and S5 by the division update unit 5 will be described. FIG. 6 is a diagram for explaining an example in which a captured image of the imaging apparatus 10 according to the present embodiment is corrected by being divided into a plurality of times. (X, y) is the coordinates of the captured image. (X ′, y ′) are coordinates after correction by the correction formula before updating the coefficient of the correction formula. (X ″, y ″) are coordinates after correction by the correction formula after updating the coefficient of the correction formula. As the distance from (x ′, y ′) to (x ″, y ″), for example, the distance calculated in the description of FIG. 5 is used.

本実施の形態では、分割更新部5は、1回の分割補正パラメータ13の変更による補正式の補正像の位置が、最大で1/10画素の変化となるようにする。この理由について説明する。本実施の形態の撮影装置10では、視差算出部7が出力する最小の視差を1画素としている。そのため、補正部6による補正(自動キャリブレーション)により、この1画素より十分小さい距離、例えば、1/10画素だけ視差が変化しても、計測される距離としては、1/1.1≒90.9%(距離は視差の逆数に比例)と、10%以下の変化しか生じない。すなわち、視差算出部7の処理に対する影響は小さい。そのため、当該視差の情報を利用する制御システムにおいて、誤認識を発生させることがない。   In the present embodiment, the division update unit 5 changes the position of the correction-type correction image by one change of the division correction parameter 13 to a change of 1/10 pixel at the maximum. The reason for this will be described. In the imaging device 10 according to the present embodiment, the minimum parallax output by the parallax calculation unit 7 is one pixel. Therefore, even if the parallax is changed by a distance sufficiently smaller than this one pixel, for example, 1/10 pixel by correction (automatic calibration) by the correction unit 6, the measured distance is 1 / 1.1≈90. .9% (distance is proportional to the reciprocal of parallax) and changes of 10% or less. That is, the influence on the processing of the parallax calculation unit 7 is small. Therefore, erroneous recognition does not occur in a control system that uses the parallax information.

分割更新部5は、(x’,y’)から(x”,y”)までの距離を1/10画素の長さで割った回数に分けて、分割補正パラメータ13を生成する。なお、余りの長さが生じた場合は、分割更新部5は、余りの長さ分だけあと1回補正するための分割補正パラメータ13を生成する。なお、除算の結果があまりに大きい場合は、処理に時間がかかってしまう可能性がある。更新処理の終了までの時間が問題になる場合には、分割数の上限を、例えば10回に制限してもよい。このようにすると、本実施の形態のステレオカメラ(第1撮影部1及び第2撮影部2)の処理間隔を10fpsと仮定すると、更新処理の終了までの時間は1秒分に相当する。なお、分割更新部5は、(x’,y’)から(x”,y”)までの距離を割る長さ(以下「分割長」という。)は、1/10画素に限られない。   The division update unit 5 generates the division correction parameter 13 by dividing the distance from (x ′, y ′) to (x ″, y ″) by the number of times divided by the length of 1/10 pixel. If the remainder length occurs, the division update unit 5 generates a division correction parameter 13 for correcting once more by the remainder length. If the result of division is too large, processing may take time. When the time until the end of the update process becomes a problem, the upper limit of the number of divisions may be limited to 10 times, for example. In this case, assuming that the processing interval of the stereo camera (the first photographing unit 1 and the second photographing unit 2) of the present embodiment is 10 fps, the time until the end of the update process corresponds to one second. Note that the length of the division update unit 5 that divides the distance from (x ′, y ′) to (x ″, y ″) (hereinafter referred to as “division length”) is not limited to 1/10 pixel.

分割更新部5は、分割補正パラメータ13を具体的には次のようにして決定する。分割更新部5は、補正式の各項について、i回目の補正で使用する補正式の係数を、p+{i*(p−p)}/Nにより決定する。ここで、pは、更新部4による更新前の補正式の係数である。また、pは、更新部4による更新後の補正式の係数である。また、Nは分割数である。このような係数を使用することにより、各段階の分割更新後の座標が、図6に例示されているような軌跡を描きながら、最終的に、更新部4が更新した補正式の係数による補正結果の座標に変換される。すなわち、分割更新部5は、補正式の各項の係数の変化量を等分割することにより、変換先の座標を等距離ずつ移動させる。分割更新部5は、当該分割補正パラメータ13を記憶部3に記憶する。 Specifically, the division update unit 5 determines the division correction parameter 13 as follows. The division update unit 5 determines the coefficient of the correction formula used for the i-th correction for each term of the correction formula by p 0 + {i * (p 1 −p 0 )} / N. Here, p 0 is a coefficient of the correction formula before being updated by the updating unit 4. Further, p 1 is a coefficient of the correction formula after being updated by the updating unit 4. N is the number of divisions. By using such a coefficient, the coordinates after the divisional update at each stage draws a trajectory as illustrated in FIG. 6 and is finally corrected by the coefficient of the correction formula updated by the update unit 4. Converted to the resulting coordinates. In other words, the division update unit 5 moves the coordinates of the conversion destination by equal distances by equally dividing the variation amount of the coefficient of each term of the correction formula. The division update unit 5 stores the division correction parameter 13 in the storage unit 3.

補正部6は、フレーム毎に徐々に補正画像14が変形するように、補正式の係数の補正を、ステレオカメラ(第1撮影部1及び第2撮影部2)の1フレームの動作につき一回ずつ実行する。補正部6による撮影画像11の一連の分割補正が終了すると、撮影装置10は、ステレオカメラ(第1撮影部1及び第2撮影部2)の経時的な位置ずれに応じて、補正式の係数を更新する処理を再び開始する。   The correction unit 6 corrects the coefficient of the correction formula once for each frame operation of the stereo camera (the first imaging unit 1 and the second imaging unit 2) so that the corrected image 14 is gradually deformed for each frame. Run one by one. When a series of division corrections of the captured image 11 by the correction unit 6 is completed, the imaging apparatus 10 determines the coefficient of the correction formula according to the positional deviation of the stereo camera (the first imaging unit 1 and the second imaging unit 2) with time. The process of updating is started again.

次に、本実施の形態の撮影装置10のハードウェア構成の一例について説明する。図7は、本実施の形態の撮影装置10のハードウェア構成の一例を示す図である。本実施の形態の撮影装置10は、カメラ21、カメラ22、制御部23、主記憶部24、補助記憶部25及び通信I/F部26を備える。カメラ21、カメラ22、制御部23、主記憶部24、補助記憶部25及び通信I/F26は、バス27を介して互いに接続されている。   Next, an example of a hardware configuration of the imaging apparatus 10 according to the present embodiment will be described. FIG. 7 is a diagram illustrating an example of a hardware configuration of the imaging apparatus 10 according to the present embodiment. The photographing apparatus 10 according to the present embodiment includes a camera 21, a camera 22, a control unit 23, a main storage unit 24, an auxiliary storage unit 25, and a communication I / F unit 26. The camera 21, camera 22, control unit 23, main storage unit 24, auxiliary storage unit 25, and communication I / F 26 are connected to each other via a bus 27.

制御部23は、補助記憶部25から主記憶部24に読み出されたプログラムを実行する。主記憶部24は、ROM(Read Only Memory)やRAM(Random Access Memory)等のメモリである。補助記憶部25は、メモリカード等である。通信I/F26は、ネットワークを介して、他の装置と通信するためのインタフェースである。   The control unit 23 executes the program read from the auxiliary storage unit 25 to the main storage unit 24. The main storage unit 24 is a memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory). The auxiliary storage unit 25 is a memory card or the like. The communication I / F 26 is an interface for communicating with other devices via a network.

本実施の形態の撮影装置10で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、メモリカード、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されてコンピュータ・プログラム・プロダクトとして提供される。   The program executed by the photographing apparatus 10 of the present embodiment is an installable or executable file and can be read by a computer such as a CD-ROM, memory card, CD-R, or DVD (Digital Versatile Disk). Recorded on a simple recording medium and provided as a computer program product.

また、本実施の形態の撮影装置10で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態の撮影装置10で実行されるプログラムをインターネット等のネットワーク経由で提供、又は配布するように構成してもよい。   Further, the program executed by the imaging apparatus 10 of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the program executed by the photographing apparatus 10 of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

また、本実施の形態の撮影装置10のプログラムを、ROM等に予め組み込んで提供するように構成してもよい。   Further, the program of the photographing apparatus 10 according to the present embodiment may be configured to be provided by being incorporated in advance in a ROM or the like.

本実施の形態の撮影装置10で実行されるプログラムは、上述した各機能ブロック(更新部4、分割更新部5、補正部6及び視差算出部7)を含むモジュール構成となっている。当該各機能ブロックは、実際のハードウェアとしては、制御部23が上記記憶媒体からプログラムを読み出して実行することにより、上記各機能ブロックが主記憶部24上にロードされる。すなわち、上記各機能ブロックは、主記憶部24上に生成される。   The program executed by the imaging apparatus 10 according to the present embodiment has a module configuration including the above-described functional blocks (update unit 4, division update unit 5, correction unit 6, and parallax calculation unit 7). As the actual hardware, each functional block is loaded onto the main storage unit 24 when the control unit 23 reads and executes the program from the storage medium. That is, each functional block is generated on the main storage unit 24.

なお、上述した各部(更新部4、分割更新部5、補正部6及び視差算出部7)の一部、又は全部を、ソフトウェアにより実現せずに、IC(Integrated Circuit)等のハードウェアにより実現してもよい。また、記憶部3は、例えば、補助記憶部25である。また、第1撮影部1は、カメラ21に対応する。第2撮影部2は、カメラ22に対応する。なお、本実施の形態の撮影装置10では、撮影部の数を2つとして、ステレオカメラである場合を例にして説明した。しかしながら、撮影部の数は2つに限られず、1以上の撮影部でもよい。   In addition, some or all of the above-described units (update unit 4, division update unit 5, correction unit 6, and parallax calculation unit 7) are realized by hardware such as IC (Integrated Circuit) without being realized by software. May be. The storage unit 3 is, for example, an auxiliary storage unit 25. The first photographing unit 1 corresponds to the camera 21. The second photographing unit 2 corresponds to the camera 22. In addition, in the imaging device 10 of this Embodiment, the number of imaging | photography parts was set as two, and the case where it was a stereo camera was demonstrated to the example. However, the number of photographing units is not limited to two, and one or more photographing units may be used.

本実施の形態の撮影装置10は、撮影画像11の座標のずれを補正する際に、補正量が大きい場合は、係数を分割して更新した補正式を使用し、複数回に分けて撮影画像11を補正する。そのため、本実施の形態の撮影装置10によれば、補正された撮影画像11(補正画像14)を利用する制御システムで誤認識を発生させないという効果を奏する。   When the correction amount is large when correcting the deviation of the coordinates of the captured image 11, the imaging apparatus 10 of the present embodiment uses the correction formula obtained by dividing the coefficient and updates the captured image in multiple times. 11 is corrected. Therefore, according to the imaging device 10 of the present embodiment, there is an effect that no erroneous recognition occurs in the control system that uses the corrected captured image 11 (corrected image 14).

1 第1撮影部
2 第2撮影部
3 記憶部
4 更新部
5 分割更新部
6 補正部
7 視差算出部
10 撮影装置
11 撮影画像
12 補正パラメータ
13 分割補正パラメータ
14 補正画像
15 視差画像
21 カメラ
22 カメラ
23 制御部
24 主記憶部
25 補助記憶部
26 通信I/F部
27 バス
DESCRIPTION OF SYMBOLS 1 1st imaging | photography part 2 2nd imaging | photography part 3 Memory | storage part 4 Update part 5 Division | segmentation update part 6 Correction | amendment part 7 Parallax calculation part 10 Imaging device 11 Captured image 12 Correction parameter 13 Division | segmentation correction parameter 14 Correction | amendment image 15 Parallax image 21 Camera 22 Camera 23 Control Unit 24 Main Storage Unit 25 Auxiliary Storage Unit 26 Communication I / F Unit 27 Bus

特開2001−160137号公報JP 2001-160137 A

Claims (5)

撮影画像を撮影する1以上の撮影部と、
1以上の前記撮影画像に基づいて、前記撮影部の経時的な位置ずれに起因する前記撮影画像の座標のずれを補正する補正式の係数を、定期的に更新する更新部と、
前記補正式の各項について、更新前の前記係数と、更新後の前記係数の差分を算出し、更新前の前記係数に前記差分を複数に分割した値を順次加算することによって前記係数を複数回に分けて更新する分割更新部と、
前記係数を更新した前記補正式を使用して前記撮影画像を補正する補正部と
を備える撮影装置。
One or more shooting sections for taking a shot image;
An update unit that periodically updates a coefficient of a correction formula for correcting a shift in coordinates of the captured image caused by a positional shift of the captured unit over time based on the one or more captured images;
For each term of the correction formula, the difference between the coefficient before update and the coefficient after update is calculated, and the coefficient is obtained by sequentially adding a value obtained by dividing the difference into a plurality of coefficients before update. A split update unit that updates in batches,
A correction unit that corrects the captured image using the correction formula in which the coefficient is updated.
前記分割更新部は、
前記差分を複数に分割した値が等しくなるように前記差分を複数に分割する
請求項1に記載の撮影装置。
The split update unit
The imaging device according to claim 1, wherein the difference is divided into a plurality of values so that values obtained by dividing the difference into a plurality of values are equal.
前記分割更新部は、
前記係数を更新前の前記補正式による補正後の前記座標と、前記係数を更新後の前記補正式による補正後の前記座標との距離を、所定の長さを表す分割長で割り、1回の補正により前記分割長だけ補正後の座標が移動する前記補正式が決定されるように前記係数を複数回に分けて更新する
請求項1に記載の撮影装置。
The split update unit
Divide the distance between the coordinate after the correction by the correction formula before updating the coefficient and the coordinate after the correction by the correction formula after updating the coefficient by a division length representing a predetermined length, and The imaging apparatus according to claim 1, wherein the coefficient is updated in a plurality of times so that the correction formula in which the corrected coordinates move by the division length is determined by the correction.
前記撮影装置は、
第1撮影画像を撮影する第1撮影部と、第2撮影画像を撮影する第2撮影部として2つの撮影部を備え、
前記分割更新部は、
前記分割長を、前記第1撮影画像と前記第2撮影画像との視差の計測の単位となる長さを表す最小視差よりも小さい値とする
請求項3に記載の撮影装置。
The imaging device
The first photographing unit for photographing the first photographed image and the two photographing units as the second photographing unit for photographing the second photographed image,
The split update unit
The imaging apparatus according to claim 3, wherein the division length is set to a value smaller than a minimum parallax representing a length as a unit of measurement of parallax between the first captured image and the second captured image.
コンピュータを、
1以上の撮影画像に基づいて、撮影部の経時的な位置ずれに起因する前記撮影画像の座標のずれを補正する補正式の係数を、定期的に更新する更新部と、
前記補正式の各項について、更新前の前記係数と、更新後の前記係数の差分を算出し、更新前の前記係数に前記差分を複数に分割した値を順次加算することによって前記係数を複数回に分けて更新する分割更新部と、
前記係数を更新した前記補正式を使用して前記撮影画像を補正する補正部
として機能させるためのプログラム。
Computer
An update unit that periodically updates a coefficient of a correction formula for correcting a shift in the coordinates of the captured image caused by a positional shift of the captured unit over time based on one or more captured images;
For each term of the correction formula, the difference between the coefficient before update and the coefficient after update is calculated, and the coefficient is obtained by sequentially adding a value obtained by dividing the difference into a plurality of coefficients before update. A split update unit that updates in batches,
The program for functioning as a correction | amendment part which correct | amends the said picked-up image using the said correction formula which updated the said coefficient.
JP2013006747A 2013-01-17 2013-01-17 Imaging apparatus and program Pending JP2014138331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013006747A JP2014138331A (en) 2013-01-17 2013-01-17 Imaging apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013006747A JP2014138331A (en) 2013-01-17 2013-01-17 Imaging apparatus and program

Publications (1)

Publication Number Publication Date
JP2014138331A true JP2014138331A (en) 2014-07-28

Family

ID=51415610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013006747A Pending JP2014138331A (en) 2013-01-17 2013-01-17 Imaging apparatus and program

Country Status (1)

Country Link
JP (1) JP2014138331A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3070675A1 (en) 2015-03-20 2016-09-21 Ricoh Company, Ltd. Image processor for correcting deviation of a coordinate in a photographed image at appropriate timing
JP2016176919A (en) * 2015-03-20 2016-10-06 株式会社リコー Image processor, imaging apparatus, program, apparatus control system, and apparatus
JP2016218758A (en) * 2015-05-20 2016-12-22 株式会社ソニー・インタラクティブエンタテインメント Information processing apparatus and information processing method
EP3288260A1 (en) 2016-08-25 2018-02-28 Ricoh Company, Ltd. Image processing device, imaging device, equipment control system, equipment, image processing method, and carrier means

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07122973A (en) * 1993-10-20 1995-05-12 Yamaha Corp Digital signal processing circuit
JPH10307352A (en) * 1997-05-07 1998-11-17 Fuji Heavy Ind Ltd Adjustment device for stereoscopic camera
JP2001160137A (en) * 1999-09-22 2001-06-12 Fuji Heavy Ind Ltd Device for correcting distance of monitoring system and device for correcting vanishing point of monitoring system
JP2011232564A (en) * 2010-04-28 2011-11-17 Yazaki Corp Driving voltage control method of liquid crystal display device and driving circuit of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07122973A (en) * 1993-10-20 1995-05-12 Yamaha Corp Digital signal processing circuit
JPH10307352A (en) * 1997-05-07 1998-11-17 Fuji Heavy Ind Ltd Adjustment device for stereoscopic camera
JP2001160137A (en) * 1999-09-22 2001-06-12 Fuji Heavy Ind Ltd Device for correcting distance of monitoring system and device for correcting vanishing point of monitoring system
JP2011232564A (en) * 2010-04-28 2011-11-17 Yazaki Corp Driving voltage control method of liquid crystal display device and driving circuit of the same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3070675A1 (en) 2015-03-20 2016-09-21 Ricoh Company, Ltd. Image processor for correcting deviation of a coordinate in a photographed image at appropriate timing
JP2016176919A (en) * 2015-03-20 2016-10-06 株式会社リコー Image processor, imaging apparatus, program, apparatus control system, and apparatus
US10007998B2 (en) 2015-03-20 2018-06-26 Ricoh Company, Ltd. Image processor, apparatus, and control system for correction of stereo images
JP2016218758A (en) * 2015-05-20 2016-12-22 株式会社ソニー・インタラクティブエンタテインメント Information processing apparatus and information processing method
US10638120B2 (en) 2015-05-20 2020-04-28 Sony Interactive Entertainment Inc. Information processing device and information processing method for stereoscopic image calibration
EP3288260A1 (en) 2016-08-25 2018-02-28 Ricoh Company, Ltd. Image processing device, imaging device, equipment control system, equipment, image processing method, and carrier means
JP2018033035A (en) * 2016-08-25 2018-03-01 株式会社リコー Image processing apparatus, imaging device, program, instrument control system, and instrument
US10643077B2 (en) 2016-08-25 2020-05-05 Ricoh Company, Ltd. Image processing device, imaging device, equipment control system, equipment, image processing method, and recording medium storing program

Similar Documents

Publication Publication Date Title
JP6167525B2 (en) Distance measuring device and vehicle
US10659762B2 (en) Stereo camera
EP2466542B1 (en) Correction value calculation apparatus, compound eye imaging apparatus, and method of controlling correction value calculation apparatus
WO2015198930A1 (en) Distance measurement device, and distance measurement correction device using correction parameter
JP2008039491A (en) Stereo image processing apparatus
JP6515650B2 (en) Calibration apparatus, distance measuring apparatus and calibration method
JP2014138331A (en) Imaging apparatus and program
JP6395429B2 (en) Image processing apparatus, control method thereof, and storage medium
JP2014138332A (en) Image processing system and program
JP6867487B2 (en) Imaging device
US10726528B2 (en) Image processing apparatus and image processing method for image picked up by two cameras
US10949988B2 (en) Information processing apparatus, information processing method, and program
US10867400B2 (en) System for processing an image obtained by using stereo photography
JP6747176B2 (en) Image processing device, photographing device, program, device control system and device
JP6604783B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP6602089B2 (en) Image processing apparatus and control method thereof
US20170034423A1 (en) Image capturing apparatus
JP6443502B2 (en) Image processing apparatus, photographing apparatus, control system, moving object, and program
JP6674127B2 (en) Image processing device, photographing device, program, device control system and device
JP2011171991A (en) Image processing apparatus, electronic device, image processing method and image processing program
US20230260159A1 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
EP4030746A1 (en) Image processing device and stereo camera device using same
JP6074198B2 (en) Image processing apparatus and image processing method
WO2020166403A1 (en) Image processing device
JP5581193B2 (en) Stereo image processing method, stereo image processing apparatus, and display apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170613