JP2012053740A - Image processing method and image processing system - Google Patents

Image processing method and image processing system Download PDF

Info

Publication number
JP2012053740A
JP2012053740A JP2010196641A JP2010196641A JP2012053740A JP 2012053740 A JP2012053740 A JP 2012053740A JP 2010196641 A JP2010196641 A JP 2010196641A JP 2010196641 A JP2010196641 A JP 2010196641A JP 2012053740 A JP2012053740 A JP 2012053740A
Authority
JP
Japan
Prior art keywords
distortion
image
pixel
distortion amount
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010196641A
Other languages
Japanese (ja)
Other versions
JP5645556B2 (en
Inventor
Toru Aoki
青木  透
Norihiro Matoba
成浩 的場
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2010196641A priority Critical patent/JP5645556B2/en
Publication of JP2012053740A publication Critical patent/JP2012053740A/en
Application granted granted Critical
Publication of JP5645556B2 publication Critical patent/JP5645556B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing method and an image processing system with which the shape of a picture after distortion correction is not in a polygonal line but in a smoothly changing shape.SOLUTION: Based on the angle OT of a polar coordinate showing the notice pixel of a picture subject to distortion correction, distortion amount tables A, B which are set to be biaxial and sandwich the notice picture are selected and the distortion amounts A, B corresponding to the distance OR are calculated. From trigonometrical function of the angle OT, an interpolation coefficient is calculated, thereby performing interpolation of the distortion amounts A, B. By using an interpolation amount C, the distance OR is corrected. The polar coordinate expressed by the angle OT and the corrected distance IR is converted into the orthogonal coordinate, thereby obtaining reference coordinate showing the notice pixel of the image before distortion correction.

Description

この発明は、撮像データの画像中に生じた歪みを補正する画像処理方法および画像処理装置に関するものである。   The present invention relates to an image processing method and an image processing apparatus that correct distortion generated in an image of captured data.

デジタルカメラ等でデジタル画像を撮像すると、レンズの歪曲収差(ディストーション)の影響でデジタル画像中の像が歪む場合がある。この現象は、構造がシンプルなレンズを使用したカメラに発生しやすい。このようなデジタル画像中の像の歪みを、デジタル画像処理によって補正する手法がこれまでにも提案されてきた。   When a digital image is captured by a digital camera or the like, an image in the digital image may be distorted due to the influence of distortion of the lens. This phenomenon is likely to occur in a camera using a lens with a simple structure. Techniques for correcting such image distortion in a digital image by digital image processing have been proposed so far.

例えば、特許文献1に記載された歪曲補正装置は、歪みを補正した後に出力する画像中の着目する画素に対応する参照座標を、歪みが有る補正前の画像の中から算出し、算出した参照座標に基づいて補正前の画像中の画素を補間することにより、補正後画像中の画素の座標を算出している。補正前の画像中から参照座標を算出する際には、ディストーションデータと呼ばれる歪み量を表すデータを参照している。しかし、このディストーションデータは、画像の中心からの距離のみに依存して歪み量が変化するような形状の歪みしか表すことができない。   For example, the distortion correction apparatus described in Patent Document 1 calculates reference coordinates corresponding to a pixel of interest in an image to be output after correcting the distortion from the uncorrected image having distortion, and the calculated reference. By interpolating the pixels in the image before correction based on the coordinates, the coordinates of the pixels in the image after correction are calculated. When calculating reference coordinates from an image before correction, data representing distortion amount called distortion data is referred to. However, the distortion data can only represent a distortion having a shape in which the distortion amount depends only on the distance from the center of the image.

図10に示すように、レンズ100とイメージセンサの受光面101とは必ずしも正対しておらず、図中に傾きφとして表すようにわずかに傾いている場合が多い。受光面101の傾きφがない場合には、画像中で同じ歪み量となる点の軌跡は図11(a)に示す同心円状になるが、傾きφがある場合には同心円状にならず、図11(b)に示す歪んだ円状になる。図11(b)のような歪み形状は画像の中心からの距離が同じでも歪み量が異なるため、特許文献1の補正方法で正しく補正することができなかった。   As shown in FIG. 10, the lens 100 and the light receiving surface 101 of the image sensor are not necessarily directly facing each other, and are often slightly inclined as represented by an inclination φ in the drawing. When there is no inclination φ of the light receiving surface 101, the locus of points having the same distortion amount in the image is concentric as shown in FIG. 11A, but when there is an inclination φ, it is not concentric. A distorted circle shown in FIG. The distortion shape as shown in FIG. 11B cannot be correctly corrected by the correction method of Patent Document 1 because the distortion amount differs even when the distance from the center of the image is the same.

図11(b)のような、歪みの形状が中心からの距離以外の要因で変化する歪みを補正する方法として、特許文献2に記載されている方法がある。図12は、特許文献2に係る撮像装置による歪み補正方法を説明する図である。この方法では、予め、画像中に中心Oから外側に向かって放射状に伸びる複数の軸L1〜L8を設定する。各軸上に、中心Oからの距離に対する歪み量を指定して、歪み量曲線を作成する。この歪み量曲線は、軸毎に独立に設定することができる。そして、撮像装置は、各軸について作成した歪み量曲線の近似式を用いて撮像画像の歪み補正処理を行う。これにより、画像の中心からの距離以外の要因で変化する歪みを補正することができる。   As a method of correcting a distortion in which the shape of the distortion changes due to a factor other than the distance from the center as shown in FIG. 11B, there is a method described in Patent Document 2. FIG. 12 is a diagram for explaining a distortion correction method by the imaging apparatus according to Patent Document 2. In this method, a plurality of axes L1 to L8 extending radially outward from the center O in the image are set in advance. On each axis, a distortion amount curve with respect to the distance from the center O is designated to create a distortion amount curve. This distortion amount curve can be set independently for each axis. Then, the imaging apparatus performs distortion correction processing of the captured image using the approximate expression of the distortion amount curve created for each axis. Thereby, the distortion which changes with factors other than the distance from the center of an image can be corrected.

特許第4104571号公報Japanese Patent No. 4104571 特開2008−227582号公報JP 2008-227582 A

しかしながら、特許文献2では各軸上に対して独立に歪み量を指定する方法にしては開示されているが、各軸上にない画素の歪み量を算出する具体的な方法については開示されていない。   However, Patent Document 2 discloses a method for designating the amount of distortion independently for each axis, but does not disclose a specific method for calculating the amount of distortion for a pixel not on each axis. Absent.

例えば、図12に示すように軸L1上のA点およびB点と軸L8上のC点およびD点とで囲まれた領域ABCD内の歪み量を、A点、B点、C点およびD点にてそれぞれ指定されている歪み量を用いた線形補間で表すとすると、同じ歪み量の軌跡は図12中の点線で表される線分の形状となる。同じ歪み量の軌跡の形状は円弧状になることが多いため、線形補間により算出した歪み量に従って画像を補正すると、上記領域ABCDの境界で歪み補正後の絵柄が折れ線形状に変化してしまう。   For example, as shown in FIG. 12, the distortion amount in the area ABCD surrounded by the points A and B on the axis L1 and the points C and D on the axis L8 is represented by points A, B, C, and D. If it is expressed by linear interpolation using the amount of distortion designated by each point, the locus of the same amount of distortion has the shape of a line segment represented by a dotted line in FIG. Since the shape of the locus of the same distortion amount is often an arc shape, when an image is corrected according to the distortion amount calculated by linear interpolation, the distortion-corrected pattern changes to a polygonal line shape at the boundary of the region ABCD.

この発明は上記のような問題点を解決するためになされたものであり、画像上の歪み中心位置からの距離以外の要因によって変化する歪みを補正する際に、歪み補正後の絵柄の形状が折れ線状にならず、滑らかに変化する形状に補正可能な画像処理方法および画像処理装置を提供することを目的とする。   The present invention has been made to solve the above problems, and when correcting distortion that changes due to factors other than the distance from the distortion center position on the image, the shape of the pattern after distortion correction is It is an object of the present invention to provide an image processing method and an image processing apparatus that can be corrected to a shape that changes smoothly without being broken.

この発明に係る画像処理方法は、撮像データを歪み補正して得られる歪み補正後画像上の所定位置に歪み中心座標を設定する歪み中心座標設定ステップと、歪み補正後画像上において歪み中心から放射状に伸びる複数の直線毎に、歪み中心からの距離に応じた歪み量を指定した歪み量テーブルを設定する歪み量テーブル設定ステップと、歪み補正後画像上の着目画素の直交座標を極座標に変換して、歪み中心を中心とした距離と角度で表す極座標変換ステップと、極座標上の角度に基づいて、複数の直線のうちから着目画素を間に挟む2直線を選択し、当該2直線に設定された2つの歪み量テーブルを選択する歪み量テーブル選択ステップと、歪み量テーブル選択ステップで選択した2つの歪み量テーブルから、極座標の距離に応じた歪み量をそれぞれ選択する歪み量選択ステップと、極座標上の角度を表す三角関数から補間係数を求めて歪み量選択ステップで選択した2つの歪み量を補間し、補間歪み量を算出する歪み量補間ステップと、歪み量補間ステップで算出した補間歪み量を用いて極座標の距離を補正して直交座標に変換する直交座標変換ステップと、撮像データの画像上の、直交座標変換ステップで変換した直交座標近傍の画素値を補間して、歪み補正後画像上の着目画素の画素値に設定する画素値設定ステップとを備えるものである。   An image processing method according to the present invention includes a distortion center coordinate setting step for setting a distortion center coordinate at a predetermined position on a distortion-corrected image obtained by distortion-correcting imaging data, and a radial pattern from the distortion center on the image after distortion correction. A distortion amount table setting step for setting a distortion amount table in which a distortion amount corresponding to the distance from the distortion center is specified for each of a plurality of straight lines extending in a straight line, and converting the orthogonal coordinates of the pixel of interest on the image after distortion correction into polar coordinates Based on the polar coordinate conversion step expressed by the distance and angle centered on the distortion center, and the angle on the polar coordinate, two straight lines sandwiching the pixel of interest are selected from a plurality of straight lines, and the two straight lines are set. The distortion amount according to the polar coordinate distance from the distortion amount table selection step for selecting two distortion amount tables and the two distortion amount tables selected in the distortion amount table selection step. A distortion amount selection step for selecting each, a distortion amount interpolation step for calculating an interpolation distortion amount by interpolating the two distortion amounts selected in the distortion amount selection step by obtaining an interpolation coefficient from a trigonometric function representing an angle on polar coordinates, Orthogonal coordinate conversion step that corrects polar coordinate distance using the interpolation distortion amount calculated in the distortion amount interpolation step and converts it into orthogonal coordinates, and pixels in the vicinity of the orthogonal coordinates converted in the orthogonal coordinate conversion step on the image of the imaging data A pixel value setting step of interpolating the values and setting the pixel value of the pixel of interest on the image after distortion correction.

この発明に係る画像処理装置は、撮像データを歪み補正して得られる歪み補正後画像上の所定位置に歪み中心座標を設定し、当該歪み補正後画像上の着目画素の直交座標を極座標に変換して、歪み中心を中心とした距離と角度で表す極座標変換部と、歪み補正後画像上において歪み中心から放射状に伸びる複数の直線毎に、歪み中心からの距離に応じた歪み量を指定した歪み量テーブルを設定し、極座標変換部が変換した極座標に基づいて、着目画素を間に挟む2直線の歪み量テーブルから2つの歪み量を取得し、極座標上の角度を表す三角関数から補間係数を求めて2つの歪み量を補間して補間歪み量を算出し、当該補間歪み量を用いて極座標の距離を補正して直交座標に変換する参照座標算出部と、撮像データの画像上の、参照座標算出部が変換した直交座標近傍の画素値を補間して、歪み補正後画像上の着目画素の画素値に設定する画素補間処理部とを備えるものである。   An image processing apparatus according to the present invention sets a distortion center coordinate at a predetermined position on a distortion-corrected image obtained by distortion-correcting captured image data, and converts orthogonal coordinates of a target pixel on the distortion-corrected image into polar coordinates. Then, a polar coordinate conversion unit expressed by a distance and an angle centered on the strain center, and a strain amount corresponding to the distance from the strain center for each of a plurality of straight lines extending radially from the strain center on the strain-corrected image are specified. Based on the polar coordinates converted by the polar coordinate conversion unit, two distortion amounts are acquired from the two linear distortion amount tables sandwiching the pixel of interest, and an interpolation coefficient is obtained from a trigonometric function representing an angle on the polar coordinates. Interpolating the two distortion amounts to calculate the interpolation distortion amount, correcting the polar coordinate distance using the interpolation distortion amount and converting it to orthogonal coordinates, and on the image of the imaging data, Reference coordinate calculation There by interpolating the pixel values of the rectangular coordinate neighborhood converted, in which and a pixel interpolation processing unit for setting the pixel value of the target pixel on the distortion corrected image.

この発明によれば、歪み補正後画像上の着目画素を示す極座標に基づいて、着目画素を間に挟む2直線の歪み量テーブルから2つの歪み量を取得し、極座標上の角度を表す三角関数から求まる補間係数で補間するようにしたので、画像上の歪み中心位置からの距離以外の要因によって変化する歪みを補正する際に、歪み補正後の絵柄の形状が折れ線状にならず、滑らかに変化する形状に補正できる画像処理方法および画像処理装置を提供することができる。   According to this invention, based on the polar coordinates indicating the pixel of interest on the image after distortion correction, two distortion amounts are obtained from a two-line distortion amount table sandwiching the pixel of interest, and a trigonometric function representing an angle on the polar coordinate Since the interpolation is performed with the interpolation coefficient obtained from the above, when correcting distortion that changes due to factors other than the distance from the distortion center position on the image, the shape of the pattern after distortion correction is not a polygonal line, but smooth It is possible to provide an image processing method and an image processing apparatus that can correct to a changing shape.

この発明の実施の形態1に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on Embodiment 1 of this invention. 実施の形態1に係る撮像装置のうち、画像処理部の動作を示すフローチャートである。3 is a flowchart illustrating an operation of an image processing unit in the imaging apparatus according to Embodiment 1. 実施の形態1に係る撮像装置において、歪み補正後画像に設定される歪み量テーブルを説明する図である。6 is a diagram illustrating a distortion amount table set in a distortion-corrected image in the imaging apparatus according to Embodiment 1. FIG. 実施の形態1による参照座標算出部の動作を示すブロック図である。6 is a block diagram illustrating an operation of a reference coordinate calculation unit according to Embodiment 1. FIG. 実施の形態1による参照座標算出部の動作を示すフローチャートである。6 is a flowchart illustrating an operation of a reference coordinate calculation unit according to Embodiment 1. 実施の形態1の参照座標算出部による、極座標の角度OTを用いて歪み量を補間する方法の概要を示す図である。6 is a diagram illustrating an outline of a method of interpolating a distortion amount using an angle OT of polar coordinates by the reference coordinate calculation unit according to the first embodiment. FIG. 実施の形態1の参照座標算出部による、極座標の角度OTを用いて歪み量を補間する方法の概要を示す続きの図である。FIG. 6 is a continuation diagram illustrating an outline of a method for interpolating a distortion amount using an angle OT of polar coordinates by the reference coordinate calculation unit according to the first embodiment. この発明の実施の形態2に係る撮像装置において、歪み補正後画像に設定される歪み量テーブルを説明する図である。In the imaging device which concerns on Embodiment 2 of this invention, it is a figure explaining the distortion amount table set to the image after distortion correction. 実施の形態2による参照座標算出部の動作を示すブロック図である。FIG. 10 is a block diagram illustrating an operation of a reference coordinate calculation unit according to Embodiment 2. 撮像装置のレンズとイメージセンサ受光面の位置関係を示す図である。It is a figure which shows the positional relationship of the lens of an imaging device, and an image sensor light-receiving surface. 撮像画像の歪みを説明する図であり、図11(a)はレンズに対しイメージセンサ受光面が正対する場合の同じ歪み量の軌跡を示し、図11(b)はレンズに対しイメージセンサ受光面が傾いた場合の同じ歪み量の軌跡を示す。FIGS. 11A and 11B are diagrams illustrating distortion of a captured image. FIG. 11A illustrates a locus of the same distortion amount when the image sensor light-receiving surface faces the lens, and FIG. 11B illustrates the image sensor light-receiving surface with respect to the lens. The locus | trajectory of the same distortion amount when is inclined is shown. 特許文献2に係る撮像装置の歪み補正方法を説明する図である。It is a figure explaining the distortion correction method of the imaging device concerning patent documents 2.

実施の形態1.
図1に示す撮像装置1は、レンズ2と、レンズ2の集光を光電変換して撮像画像(デジタルデータ)を出力するイメージセンサ3と、撮像画像に生じる歪みを補正する画像処理部4と、歪み補正に必要な情報を記憶したメモリ8とを備える。なお、レンズ2およびイメージセンサ3を有して撮像画像を生成するデジタルカメラ本体と、画像処理部4およびメモリ8を有して撮像画像の歪曲収差を補正する画像処理装置とを別体で構成してもよい。
Embodiment 1 FIG.
An imaging apparatus 1 shown in FIG. 1 includes a lens 2, an image sensor 3 that photoelectrically converts light collected by the lens 2 and outputs a captured image (digital data), and an image processing unit 4 that corrects distortion generated in the captured image. And a memory 8 storing information necessary for distortion correction. The digital camera body that has the lens 2 and the image sensor 3 to generate a captured image, and the image processing apparatus that has the image processing unit 4 and the memory 8 to correct distortion of the captured image are configured separately. May be.

この画像処理部4は、極座標変換部5、参照座標算出部6および画素補間処理部7からなり、撮像画像、即ち歪み補正前画像中の歪曲収差を補正するために、歪み補正後画像の着目画素の画素値を算出する。図2は、画像処理部4の動作を示すフローチャートである。撮像画像を歪み補正して歪み補正後画像を生成する際の補正対象となる着目画素の座標が画像処理部4に入力されると、先ず画像処理部4がメモリ8に記憶されている歪み中心座標および画素アスペクト比を参照して、着目画素を直交座標から極座標に変換する(ステップST1)。次に、参照座標算出部6がメモリ8に記憶されている歪み量パラメータを参照して、極座標に対応する歪み補正前画像(即ち、撮像画像)中の参照座標を算出する(ステップST2)。最後に、画素補間処理部7が、算出した参照座標と、イメージセンサ3が出力する歪み補正前画像中の画素値とを用いて補間演算を行い、歪み補正後画像の着目画素の画素値を算出する(ステップST3)。   The image processing unit 4 includes a polar coordinate conversion unit 5, a reference coordinate calculation unit 6, and a pixel interpolation processing unit 7. In order to correct distortion in the captured image, that is, the image before distortion correction, attention is paid to the image after distortion correction. The pixel value of the pixel is calculated. FIG. 2 is a flowchart showing the operation of the image processing unit 4. When the coordinates of the target pixel to be corrected when the captured image is subjected to distortion correction to generate an image after distortion correction are input to the image processing unit 4, the image processing unit 4 first stores the distortion center stored in the memory 8. With reference to the coordinates and the pixel aspect ratio, the pixel of interest is converted from orthogonal coordinates to polar coordinates (step ST1). Next, the reference coordinate calculation unit 6 refers to the distortion amount parameter stored in the memory 8, and calculates the reference coordinates in the pre-distortion correction image (that is, the captured image) corresponding to the polar coordinates (step ST2). Finally, the pixel interpolation processing unit 7 performs an interpolation operation using the calculated reference coordinates and the pixel value in the pre-distortion image output from the image sensor 3, and calculates the pixel value of the target pixel in the post-distortion correction image. Calculate (step ST3).

ステップST1において、極座標変換部5は下式(1)および式(2)に従って、歪み補正後画像の着目画素を表す直交座標に対応する極座標を算出する。この際、極座標変換部5は、歪み中心座標(CX,CY)および画素アスペクト比ASPをメモリ8から取得する。   In step ST1, the polar coordinate conversion unit 5 calculates polar coordinates corresponding to the orthogonal coordinates representing the target pixel of the image after distortion correction according to the following equations (1) and (2). At this time, the polar coordinate conversion unit 5 acquires the distortion center coordinates (CX, CY) and the pixel aspect ratio ASP from the memory 8.

OR=SQRT(POW((OX−CX)×ASP,2)+POW(OY−CY,2))
・・・(1)
OT=atan((OY−CY)÷(OX−CX)×ASP):OX≠CXの場合
OT= 90:OX=CXかつOY>CYの場合
OT=270:OX=CXかつOY<CYの場合
OT= 0:OX=CXかつOY=CYの場合
・・・(2)
(OR,OT) :歪み補正後画像着目画素の極座標
(OX,OY) :歪み補正後画像着目画素の座標
(CX,CY) :歪み中心座標
ASP :画素アスペクト比(水平÷垂直)
SQRT(p) :pの平方根を算出する関数
POW(p,q):pのq乗の値を算出する関数
atan(p) :pの逆正接を算出する関数
OR = SQRT (POW ((OX−CX) × ASP, 2) + POW (OY−CY, 2))
... (1)
OT = atan ((OY−CY) ÷ (OX−CX) × ASP): When OX ≠ CX OT = 90: When OX = CX and OY> CY OT = 270: When OX = CX and OY <CY OT = 0: OX = CX and OY = CY (2)
(OR, OT): Polar coordinates of the pixel of interest after distortion correction (OX, OY): Coordinates of the pixel of interest after distortion correction (CX, CY): Center coordinates of distortion ASP: Pixel aspect ratio (horizontal / vertical)
SQRT (p): a function for calculating the square root of p POW (p, q): a function for calculating the value of p to the power of q atan (p): a function for calculating the arc tangent of p

外部から指示される歪み補正後画像着目画素の座標(OX,OY)は、画像データの水平方向と垂直方向を直交するX軸とY軸の座標で表した直交座標である。同様に、歪み中心(CX,CY)も直交座標である。一方、極座標変換部5が変換する極座標(OR,OT)は、歪み中心座標(CX,CT)を中心とした着目画素座標(OX,OY)までの距離ORと、歪み中心を通る始線からの傾きを示す角度OTとで表す。   The coordinates (OX, OY) of the distortion-corrected image target pixel instructed from the outside are orthogonal coordinates represented by the coordinates of the X axis and the Y axis that are orthogonal to the horizontal direction and the vertical direction of the image data. Similarly, the distortion center (CX, CY) is also an orthogonal coordinate. On the other hand, the polar coordinates (OR, OT) converted by the polar coordinate conversion unit 5 are based on the distance OR from the distortion center coordinates (CX, CT) to the target pixel coordinates (OX, OY) and the starting line passing through the distortion center. It is represented by an angle OT that indicates the inclination of.

なお、歪み中心座標の算出は公知の方法を用いればよく、キャリブレーション処理として撮像装置1で碁盤の目状の被写体を撮像したときの碁盤の目の歪み具合から歪み中心座標(CX,CT)を算出すればよい。本実施の形態1では、予め算出した歪み中心座標(CX,CT)をメモリ8に保持しておく。   A known method may be used to calculate the distortion center coordinates, and distortion center coordinates (CX, CT) are calculated based on the degree of distortion of the grid when the imaging apparatus 1 images the grid-shaped subject as a calibration process. May be calculated. In the first embodiment, the previously calculated distortion center coordinates (CX, CT) are stored in the memory 8.

また、本実施の形態1では歪み中心座標(CX,CT)からの距離に応じて歪み量を算出する方式であるため、画素自体が正方形でない場合(例えば、イメージセンサ3の1画素の形状が正方形でない場合)には、画像データの水平方向と垂直方向の距離が異なり、歪み量を正しく算出することができない。そのため、上式(1)および式(2)では、水平方向または垂直方向に対して画素アスペクト比に応じた係数ASPを乗じて、正しい距離が算出できるようにする。   In the first embodiment, since the distortion amount is calculated according to the distance from the distortion center coordinates (CX, CT), when the pixel itself is not square (for example, the shape of one pixel of the image sensor 3 is When the image data is not square), the distance between the horizontal direction and the vertical direction of the image data is different, and the amount of distortion cannot be calculated correctly. Therefore, in the above formulas (1) and (2), a correct distance can be calculated by multiplying the horizontal or vertical direction by a coefficient ASP corresponding to the pixel aspect ratio.

続くステップST2において、参照座標算出部6は、歪み補正後画像の着目極座標とメモリ8に保持されている歪み量パラメータを参照して、歪み補正前画像の参照座標を算出する。   In subsequent step ST <b> 2, the reference coordinate calculation unit 6 refers to the target polar coordinates of the image after distortion correction and the distortion amount parameter held in the memory 8, and calculates the reference coordinates of the image before distortion correction.

図3は、参照座標算出部6の参照座標算出方法を説明する図である。画像中の歪み中心座標(CX,CY)から周辺へ放射状に伸び、かつ、互いに直交する4方向の軸10−1〜10−4に対して、歪み中心からの距離に応じた歪み量を保持する歪み量テーブル20−1〜20−4を予め設定しておく。歪み量テーブル20−1〜20−4は、入力値の距離に対する出力値の歪み量の組が、複数組、入力値の昇順に並んだ構造となっている。入力値である距離と出力値である歪み量は離散的に変化し、また、複数組の間でも離散的に変化する。
また、歪み量テーブルに歪み量として設定する値は、歪み補正後の歪み中心からの距離に対する歪み補正前の歪み中心からの距離の比率を用いる。また、この比率の代わりに、歪み補正前の歪み中心からの距離と、歪み補正後の歪み中心からの距離との差を用いてもよい。
FIG. 3 is a diagram for explaining a reference coordinate calculation method of the reference coordinate calculation unit 6. Holds the amount of distortion corresponding to the distance from the distortion center for the four axes 10-1 to 10-4 extending radially from the distortion center coordinates (CX, CY) in the image to the periphery and orthogonal to each other. The distortion amount tables 20-1 to 20-4 to be set are set in advance. The distortion amount tables 20-1 to 20-4 have a structure in which a plurality of combinations of distortion amounts of output values with respect to distances of input values are arranged in ascending order of input values. The distance as the input value and the distortion amount as the output value change discretely, and also change discretely among a plurality of sets.
The value set as the distortion amount in the distortion amount table uses the ratio of the distance from the distortion center before distortion correction to the distance from the distortion center after distortion correction. Instead of this ratio, the difference between the distance from the distortion center before distortion correction and the distance from the distortion center after distortion correction may be used.

歪み量パラメータとしては、軸10−1〜10−4に対してそれぞれ独立に設定された歪み量テーブルの他、歪み中心を通る水平方向の軸(図3に示す破線であって、上述した始線に相当する)に対する軸10−1の傾きθも予め設定しておく。   As the distortion amount parameter, in addition to the distortion amount table set independently for each of the axes 10-1 to 10-4, the horizontal axis passing through the distortion center (the broken line shown in FIG. The inclination θ of the axis 10-1 relative to the line) is also set in advance.

着目極座標(OR,OT)で表される着目画素が軸10−1〜10−4の真上にない場合、この着目画素を間に挟む位置にくる2本の軸に設定された歪み量テーブルの値を補間して歪み量を得る必要がある。以下、歪み量の補間方法を説明する。   When the target pixel represented by the target polar coordinates (OR, OT) is not directly above the axes 10-1 to 10-4, the distortion amount tables set on the two axes located between the target pixels. It is necessary to obtain a distortion amount by interpolating the value of. Hereinafter, a distortion amount interpolation method will be described.

図4は、参照座標算出部6の動作を説明するブロック図である。図5は、参照座標算出部6の動作を説明するフローチャートである。
参照座標算出部6は、先の極座標変換処理(ステップST1)で得られた着目画素の角度OTと、メモリ8に予め設定された軸10−1の傾きθとを参照して、着目画素を間に挟む2軸のうちの一方の軸に設定された歪み量テーブルを選択して歪み量テーブルAとする(ステップST2−1A)。ここでは、歪み中心から見て、歪み中心と着目画素をつなぐ直線の左側にくる軸に設定された歪み量テーブルを歪み量テーブルAとし、この直線の右側にくる軸に設定された歪み量テーブルを歪み量テーブルBとする。先ず、歪み量テーブルA選択の条件を以下に列挙する。
0度<=OT−θ< 90度の場合:歪み量テーブル20−1を選択
90度<=OT−θ<180度の場合:歪み量テーブル20−2を選択
180度<=OT−θ<270度の場合:歪み量テーブル20−3を選択
270度<=OT−θ<360度の場合:歪み量テーブル20−4を選択
FIG. 4 is a block diagram for explaining the operation of the reference coordinate calculation unit 6. FIG. 5 is a flowchart for explaining the operation of the reference coordinate calculation unit 6.
The reference coordinate calculation unit 6 refers to the angle OT of the pixel of interest obtained in the previous polar coordinate conversion process (step ST1) and the inclination θ of the axis 10-1 preset in the memory 8 to determine the pixel of interest. The distortion amount table set for one of the two axes sandwiched between them is selected as the distortion amount table A (step ST2-1A). Here, when viewed from the distortion center, the distortion amount table set on the axis on the left side of the straight line connecting the distortion center and the pixel of interest is the distortion amount table A, and the distortion amount table set on the axis on the right side of the straight line Is a distortion amount table B. First, the conditions for selecting the distortion amount table A are listed below.
When 0 degree <= OT−θ <90 degrees: Select the distortion amount table 20-1 When 90 degrees <= OT−θ <180 degrees: Select the distortion amount table 20-2 180 degrees <= OT−θ < When 270 degrees: distortion amount table 20-3 is selected. When 270 degrees <= OT-θ <360 degrees: distortion amount table 20-4 is selected.

参照座標算出部6は同様に、着目極座標の角度OTとメモリ8に予め設定された軸10−1の傾きθとを参照して、着目画素を間に挟む2軸のうちの他方の軸(即ち、歪み中心から見て、歪み中心と着目画素をつなぐ直線の右側にくる軸)に設定された歪み量テーブルを選択して歪み量テーブルBとする(ステップST2−1B)。歪み量テーブルB選択の条件を以下に列挙する。
0度<=OT−θ< 90度の場合:歪み量テーブル20−2を選択
90度<=OT−θ<180度の場合:歪み量テーブル20−3を選択
180度<=OT−θ<270度の場合:歪み量テーブル20−4を選択
270度<=OT−θ<360度の場合:歪み量テーブル20−1を選択
Similarly, the reference coordinate calculation unit 6 refers to the angle OT of the target polar coordinate and the inclination θ of the axis 10-1 preset in the memory 8, and the other axis (the other axis between the two axes sandwiching the target pixel) ( That is, the distortion amount table set to the distortion amount table B is selected by selecting the distortion amount table set on the right side of the straight line connecting the distortion center and the pixel of interest when viewed from the distortion center (step ST2-1B). The conditions for selecting the distortion amount table B are listed below.
When 0 degree <= OT−θ <90 degrees: Select the distortion amount table 20-2 When 90 degrees <= OT−θ <180 degrees: Select the distortion amount table 20-3 180 degrees <= OT−θ < When 270 degrees: distortion amount table 20-4 is selected. When 270 degrees <= OT-θ <360 degrees: distortion amount table 20-1 is selected.

続いて参照座標算出部6は、着目極座標の距離ORを参照して、歪み量テーブルAから歪み量Aを算出する(ステップST2−2A)。参照座標算出部6は、距離ORが歪み量テーブルAの入力値である距離と一致する場合には、対応する出力値である歪み量をそのまま歪み量Aとして算出する。
一方、距離ORが歪み量テーブルAの入力値である距離と一致しない場合には、近傍の入力値および出力値を補間して歪み量Aを算出する。補間方法としては、距離に対する線形補間、スプライン補間等があり、どの方法を用いても構わない。一例として、下式(3)に線形補間による歪み量Aの算出式を示す。
Subsequently, the reference coordinate calculation unit 6 calculates the distortion amount A from the distortion amount table A with reference to the distance OR of the target polar coordinates (step ST2-2A). When the distance OR matches the distance that is the input value of the distortion amount table A, the reference coordinate calculation unit 6 calculates the distortion amount that is the corresponding output value as it is as the distortion amount A.
On the other hand, when the distance OR does not coincide with the distance that is the input value of the distortion amount table A, the distortion amount A is calculated by interpolating neighboring input values and output values. Examples of the interpolation method include linear interpolation with respect to distance, spline interpolation, and the like, and any method may be used. As an example, the following formula (3) shows a formula for calculating the distortion amount A by linear interpolation.

DA=(TAO[N+1]−TAO[N])÷(TAI[N+1]−TAI[N])
×(OR−TAI[N])+TAO[N]
・・・(3)
ただし、ORがTAI[N]の最大要素以上の場合は、DAをTAO[N]の最大要素とする。
DA :歪み量A
OR :極座標の距離OR
TAI[N]:歪み量テーブルA入力値(距離)の第N要素
TAO[N]:歪み量テーブルA出力値(歪み量)の第N要素
N :TAI[N]<=OR<TAI[N+1]を満たす要素番号N
DA = (TAO [N + 1] −TAO [N]) ÷ (TAI [N + 1] −TAI [N])
× (OR-TAI [N]) + TAO [N]
... (3)
However, when OR is equal to or greater than the maximum element of TAI [N], DA is set as the maximum element of TAO [N].
DA: Distortion amount A
OR: Polar coordinate distance OR
TAI [N]: Nth element of distortion amount table A input value (distance) TAO [N]: Nth element of distortion value table A output value (distortion amount) N: TAI [N] <= OR <TAI [N + 1] ] Element number N satisfying

参照座標算出部6は同様に、着目極座標の距離ORを参照して、歪み量テーブルBから歪み量Bを算出する(ステップST2−2B)。また、参照座標算出部6は歪み量Aの処理と同様、距離ORが歪み量テーブルBの入力値である距離と一致する場合には、対応する出力値である歪み量を歪み量Bとして算出する。また、距離ORが歪み量テーブルBの入力値である距離と一致しない場合には、近傍の入力値および出力値を補間して歪み量Bを算出する。補間方法としては、距離に対する線形補間、スプライン補間等があり、どの方法を用いても構わない。一例として、下式(4)に線形補間による歪み量Bの算出式を示す。   Similarly, the reference coordinate calculation unit 6 refers to the distance OR of the target polar coordinates and calculates the distortion amount B from the distortion amount table B (step ST2-2B). Similarly to the processing of the distortion amount A, the reference coordinate calculation unit 6 calculates the distortion amount that is the corresponding output value as the distortion amount B when the distance OR matches the distance that is the input value of the distortion amount table B. To do. If the distance OR does not match the distance that is the input value of the distortion amount table B, the distortion amount B is calculated by interpolating nearby input values and output values. Examples of the interpolation method include linear interpolation with respect to distance, spline interpolation, and the like, and any method may be used. As an example, the following formula (4) shows a formula for calculating the distortion amount B by linear interpolation.

DB=(TBO[M+1]−TBO[M])÷(TBI[M+1]−TBI[M])
×(OR−TBI[M])+TBO[M]
・・・(4)
ただし、ORがTBI[M]の最大要素以上の場合は、DBをTBO[M]の最大要素とする。
DB :歪み量B
OR :極座標の距離OR
TBI[M]:歪み量テーブルB入力値(距離)の第M要素
TBO[M]:歪み量テーブルB出力値(歪み量)の第M要素
M :TBI[M]<=OR<TBI[M+1]を満たす要素番号M
DB = (TBO [M + 1] −TBO [M]) ÷ (TBI [M + 1] −TBI [M])
× (OR−TBI [M]) + TBO [M]
... (4)
However, when OR is equal to or greater than the maximum element of TBI [M], DB is set as the maximum element of TBO [M].
DB: Distortion amount B
OR: Polar coordinate distance OR
TBI [M]: Mth element of the distortion amount table B input value (distance) TBO [M]: Mth element of the distortion value table B output value (distortion amount) M: TBI [M] <= OR <TBI [M + 1 ] Element number M

続いて、参照座標算出部6は歪み量A,Bを補間して、着目極座標の位置に相当する補間歪み量Cを算出する(ステップST2−3)。即ち、着目画素を間に挟む2軸のうちの一方の軸に設定された歪み量テーブルAから算出した歪み量Aと、他方の軸に設定された歪み量テーブルBから算出した歪み量Bとを、角度OTを用いて補間して、着目画素の補間歪み量Cを算出する。   Subsequently, the reference coordinate calculation unit 6 interpolates the distortion amounts A and B, and calculates an interpolation distortion amount C corresponding to the position of the target polar coordinate (step ST2-3). That is, the distortion amount A calculated from the distortion amount table A set on one of the two axes sandwiching the pixel of interest, and the distortion amount B calculated from the distortion amount table B set on the other axis Is interpolated using the angle OT to calculate the interpolation distortion amount C of the pixel of interest.

図6および図7に、角度OTを用いた補間方法の概要を示す。図示例は、Z軸がレンズ2の光軸である場合に、イメージセンサ3の受光面βが、光軸Zに垂直な面αから角度φだけ傾いている場合の様子を表している。このとき面αは、X−Y平面と一致しており、受光面βの傾きの中心軸はY軸と一致している。   6 and 7 show an outline of the interpolation method using the angle OT. The illustrated example shows a state where the light receiving surface β of the image sensor 3 is inclined by an angle φ from the surface α perpendicular to the optical axis Z when the Z axis is the optical axis of the lens 2. At this time, the surface α coincides with the XY plane, and the central axis of the inclination of the light receiving surface β coincides with the Y axis.

X−Y平面をZ軸を中心にしてθ度回転したX’−Y’平面(Y’軸は不図示)上で、X’−Y’平面と受光面βとの間の角度をμ度とする。角度θは、上述した軸10−1の傾きである。図7に示すように、φ度の傾きがない面αでの歪み中心からの距離を1とすると、φ度傾いた受光面βにおける歪み中心からの距離を下式(5)で表すことができる。
tan(μ)=cos(θ)÷cos(φ) ・・・(5)
The angle between the X′-Y ′ plane and the light receiving surface β is μ degrees on the X′-Y ′ plane (Y ′ axis is not shown) obtained by rotating the XY plane about the Z axis by θ degrees. And The angle θ is the inclination of the axis 10-1 described above. As shown in FIG. 7, when the distance from the strain center on the plane α without the inclination of φ degree is 1, the distance from the distortion center on the light receiving surface β inclined by φ degree can be expressed by the following equation (5). it can.
tan (μ) = cos (θ) ÷ cos (φ) (5)

参照座標算出部6は、上式(5)に従い、歪み量間の補間係数に、角度OTの三角関数を用いることで、補間後の同一歪み量の軌跡の形状を円弧状にすることができ、滑らかに変化する形状になる。   The reference coordinate calculation unit 6 can make the shape of the locus of the same distortion amount after the interpolation into an arc shape by using a trigonometric function of the angle OT as an interpolation coefficient between the distortion amounts according to the above equation (5). The shape changes smoothly.

下式(6)は、歪み量Aと歪み量Bから、補間によって補間歪み量Cを算出する式の具体例である。下式(6)では余弦を返す関数を用いて表すが、同じ内容であれば、正弦を返す関数を用いてもよいし、正接を返す関数を用いてもよい。   The following equation (6) is a specific example of an equation for calculating the interpolation distortion amount C from the distortion amount A and the distortion amount B by interpolation. In the following formula (6), a function that returns a cosine is used. However, as long as the content is the same, a function that returns a sine or a function that returns a tangent may be used.

DC=DA×|cos(OT−θ)|+DB×(1−|cos(OT−θ)|)
・・・(6)
DA :歪み量A
DB :歪み量B
DC :補間歪み量C
OT :極座標の角度OT
θ :軸10−1の傾き
cos(p):pの余弦を返す関数
|p| :pの絶対値
DC = DA × | cos (OT−θ) | + DB × (1− | cos (OT−θ) |)
... (6)
DA: Distortion amount A
DB: Distortion amount B
DC: interpolation distortion amount C
OT: Polar coordinate angle OT
θ: inclination of axis 10-1 cos (p): function that returns cosine of p | p |: absolute value of p

このように、着目極座標(OR,OT)で表される着目画素が軸10−1〜10−4の真上にない場合には、この着目画素を間に挟む位置にくる2本の軸に設定された歪み量テーブルの値を補間して、補間歪み量Cを算出する。補間の際には2本の軸からの角度を使用しており、補間係数は0:1〜1:0の間で変化することになる。
一方、着目画素が軸10−1〜10−4のいずれかの軸の真上に存在する場合には、補間係数が0:1または1:0になるので、当該軸に設定された歪み量テーブルを参照して距離ORに対応する歪み量をそのまま補間歪み量Cとして取得できる。
Thus, when the target pixel represented by the target polar coordinates (OR, OT) is not directly above the axes 10-1 to 10-4, the two axes that are located between the target pixels are arranged on the two axes. The interpolation distortion amount C is calculated by interpolating the set distortion amount table values. In the interpolation, an angle from two axes is used, and the interpolation coefficient changes between 0: 1 and 1: 0.
On the other hand, when the pixel of interest is located immediately above any of the axes 10-1 to 10-4, the interpolation coefficient is 0: 1 or 1: 0, so the distortion amount set for the axis The distortion amount corresponding to the distance OR can be directly acquired as the interpolation distortion amount C with reference to the table.

続いて参照座標算出部6は、算出した補間歪み量Cを用いて、着目極座標の距離ORを補正し、歪み補正前画像における歪み中心からの距離IRを算出する(ステップST2−4)。歪み量テーブル20−1〜20−4に歪み量として設定されている値が、歪み補正後の歪み中心からの距離に対する歪み補正前の歪み中心からの距離の比率である場合の、距離IR算出式を下式(7)に示す。   Subsequently, the reference coordinate calculation unit 6 corrects the distance OR of the polar coordinates of interest using the calculated interpolation distortion amount C, and calculates the distance IR from the distortion center in the image before distortion correction (step ST2-4). Distance IR calculation when the value set as the distortion amount in the distortion amount tables 20-1 to 20-4 is the ratio of the distance from the distortion center before distortion correction to the distance from the distortion center after distortion correction. The formula is shown in the following formula (7).

IR=OR×DC ・・・(7)
IR:歪み補正前画像における歪み中心からの距離
OR:歪み補正後画像における歪み中心からの距離(着目極座標)
DC:補間歪み量C
IR = OR × DC (7)
IR: distance from the distortion center in the image before distortion correction OR: distance from the distortion center in the image after distortion correction (focused polar coordinates)
DC: Interpolation distortion amount C

また、ステップST2−4において、歪み量テーブル20−1〜20−4に歪み量として設定されている値が、歪み補正前の歪み中心からの距離と、歪み補正後の歪み中心からの距離との差である場合には、参照座標算出部6は上式(7)に代えて下式(8)を用いる。   In step ST2-4, the values set as distortion amounts in the distortion amount tables 20-1 to 20-4 are the distance from the distortion center before distortion correction, and the distance from the distortion center after distortion correction. In the case of the difference between them, the reference coordinate calculation unit 6 uses the following equation (8) instead of the above equation (7).

IR=OR+DC ・・・(8)
IR:歪み補正前画像における歪み中心からの距離
OR:歪み補正後画像における歪み中心からの距離(着目極座標)
DC:補間歪み量C
IR = OR + DC (8)
IR: distance from the distortion center in the image before distortion correction OR: distance from the distortion center in the image after distortion correction (focused polar coordinates)
DC: Interpolation distortion amount C

続いて参照座標算出部6は、算出した補正前画像の着目極座標の距離IRと、補正後画像の着目極座標の角度OTとを直交座標に変換して、参照座標(IX,IY)を算出する(ステップST2−5)。着目極座標の距離IRおよび角度OTを参照座標(IX,IY)に変換する式(9)および式(10)を以下に示す。なお、参照座標は1画素未満の単位まで算出して、後段の画素補間処理部7による補間演算(ステップST3)にて使用する。   Subsequently, the reference coordinate calculation unit 6 converts the calculated distance IR of the target polar coordinates of the pre-correction image and the angle OT of the target polar coordinates of the corrected image into orthogonal coordinates, and calculates reference coordinates (IX, IY). (Step ST2-5). Expressions (9) and (10) for converting the distance IR and the angle OT of the target polar coordinates into the reference coordinates (IX, IY) are shown below. The reference coordinates are calculated up to a unit of less than one pixel and used in the interpolation calculation (step ST3) by the pixel interpolation processing unit 7 in the subsequent stage.

IX=IR×cos(OT)+CX ・・・(9)
ただし、IR=0の場合は、IX=CXとする。
IY=IR×sin(OT)+CY ・・・(10)
ただし、IR=0の場合は、IY=CYとする。
OT :歪み補正後画像着目極座標の角度
IR :歪み補正前画像着目極座標の距離
(IX,IY):歪み補正前画像着目画素の参照座標(直交座標)
(CX,CY):歪み中心座標
cos(p) :pの余弦を算出する関数
sin(p) :pの正弦を算出する関数
IX = IR × cos (OT) + CX (9)
However, when IR = 0, IX = CX.
IY = IR × sin (OT) + CY (10)
However, when IR = 0, IY = CY.
OT: Angle of polar coordinates focused on image after distortion IR: Distance of polar coordinates focused on image before distortion correction (IX, IY): Reference coordinates (orthogonal coordinates) of pixel focused on image before distortion correction
(CX, CY): strain center coordinates cos (p): function for calculating cosine of p sin (p): function for calculating sine of p

最後にステップST3において、画素補間処理部7が、イメージセンサ3が出力する歪み補正前画像中から、算出した参照座標(IX,IY)の近傍の画素値を取得して補間演算を行い、歪み補正後画像の着目画素の画素値を算出する。補間演算時には、参照座標の1画素未満の値を補間係数として使用する。画素補間処理における画素値の補間演算は、線形補間、バイキュービック補間、またはその他の方法でも構わない。
一方、歪み補正前画像の着目画素における直交座標がちょうど整数値となる場合(即ち参照座標が1画素となる場合)には、補間係数を1:0とすることで直交座標位置の画素の画素値をそのまま着目画素の画素値として用いることができる。
Finally, in step ST3, the pixel interpolation processing unit 7 obtains a pixel value in the vicinity of the calculated reference coordinates (IX, IY) from the pre-distortion image output from the image sensor 3, performs an interpolation operation, and performs distortion. The pixel value of the target pixel of the corrected image is calculated. At the time of interpolation calculation, a value less than one pixel of the reference coordinates is used as an interpolation coefficient. The pixel value interpolation calculation in the pixel interpolation process may be linear interpolation, bicubic interpolation, or other methods.
On the other hand, when the orthogonal coordinates in the target pixel of the image before distortion correction are exactly integer values (that is, when the reference coordinates are one pixel), the pixel at the orthogonal coordinate position is set by setting the interpolation coefficient to 1: 0. The value can be used as it is as the pixel value of the pixel of interest.

なお、極座標変換部5、参照座標算出部6および画素補間処理部7の各部をそれぞれ専用の回路で構成してもよいし、各部の処理内容を記述しているプログラムをメモリに格納し、CPU(Central Processing Unit)、DSP(Digital Signal Processor)等のマイクロプロセッサがメモリ中のプログラムを実行するように構成してもよい。   In addition, each part of the polar coordinate conversion unit 5, the reference coordinate calculation unit 6, and the pixel interpolation processing unit 7 may be configured by a dedicated circuit, or a program describing the processing contents of each unit is stored in a memory, and the CPU A microprocessor such as (Central Processing Unit) or DSP (Digital Signal Processor) may be configured to execute the program in the memory.

以上より、実施の形態1に係る画像処理方法によれば、極座標変換部5が、撮像データを歪み補正して得られる歪み補正後画像上に歪み中心座標を設定する歪み中心座標設定ステップと、参照座標算出部6が、歪み補正後画像上において歪み中心から放射状に、互いに直交する角度方向に伸びる4本の軸10−1〜10−4を設定し、当該直線毎に、歪み中心からの距離に応じた歪み量を指定した歪み量テーブル20−1〜20−4を設定する歪み量テーブル設定ステップと、参照座標算出部6が、歪み補正後画像上の着目画素の直交座標を極座標に変換して、歪み中心を中心とした距離と角度で表す極座標変換ステップと、参照座標算出部6が、極座標上の角度に基づいて、4本の軸10−1〜10−4のうちから着目画素を間に挟む2軸を選択し、当該2軸に設定された2つの歪み量テーブルを選択する歪み量テーブル選択ステップと、参照座標算出部6が、歪み量テーブル選択ステップで選択した2つの歪み量テーブルから、極座標の距離に応じた歪み量をそれぞれ選択する歪み量選択ステップと、極座標上の角度を表す三角関数から補間係数を求めて歪み量選択ステップで選択した2つの歪み量を補間し、補間歪み量を算出する歪み量補間ステップと、参照座標算出部6が、歪み量補間ステップで算出した補間歪み量を用いて極座標の距離を補正して直交座標に変換する直交座標変換ステップと、画素補間処理部7が、撮像データの画像上の、直交座標変換ステップで変換した直交座標近傍の画素値を補間して、歪み補正後画像上の着目画素の画素値に設定する画素値設定ステップとを備えるように構成した。このため、画像上の歪み中心位置からの距離以外の要因によって変化する歪みを補正する際に、歪み補正後の絵柄の形状が折れ線状にならず、滑らかに変化する形状に補正できる。   As described above, according to the image processing method according to the first embodiment, the polar coordinate conversion unit 5 sets the distortion center coordinate on the distortion-corrected image obtained by distortion-correcting the imaging data, The reference coordinate calculation unit 6 sets four axes 10-1 to 10-4 that extend radially from the distortion center on the distortion-corrected image in an angular direction orthogonal to each other, and for each straight line, from the distortion center. The distortion amount table setting step for setting the distortion amount tables 20-1 to 20-4 in which the distortion amount corresponding to the distance is set, and the reference coordinate calculation unit 6 uses the orthogonal coordinates of the pixel of interest on the distortion-corrected image as polar coordinates. The polar coordinate conversion step that converts and expresses the distance and angle centered on the distortion center and the reference coordinate calculation unit 6 pays attention to the four axes 10-1 to 10-4 based on the angle on the polar coordinate. 2 axes with pixels in between The distance of polar coordinates from the distortion amount table selection step for selecting and selecting the two distortion amount tables set for the two axes, and the two distortion amount tables selected by the reference coordinate calculation unit 6 in the distortion amount table selection step A distortion amount selection step for selecting a distortion amount according to each, and an interpolation coefficient is obtained from a trigonometric function representing an angle in polar coordinates, and the two distortion amounts selected in the distortion amount selection step are interpolated to calculate an interpolation distortion amount. A distortion amount interpolation step, an orthogonal coordinate conversion step in which the reference coordinate calculation unit 6 corrects the polar coordinate distance using the interpolation distortion amount calculated in the distortion amount interpolation step, and converts it into orthogonal coordinates, and a pixel interpolation processing unit 7 Pixel value setting to set the pixel value of the pixel of interest on the image after distortion correction by interpolating the pixel value in the vicinity of the Cartesian coordinate transformed in the Cartesian coordinate transformation step It was configured with a step. For this reason, when correcting the distortion that changes due to factors other than the distance from the distortion center position on the image, the shape of the pattern after distortion correction is not a polygonal line but can be corrected to a smoothly changing shape.

また、実施の形態1によれば、極座標変換部5が、極座標変換ステップにおいて直交座標から極座標に変換するときに画素アスペクト比を用いて補正するように構成したので、イメージセンサ3の1画素の形状が正方形でない場合にも、着目画素の正しい極座標を得ることができ、結果として歪み補正精度を向上できる。   Further, according to the first embodiment, the polar coordinate conversion unit 5 is configured to perform correction using the pixel aspect ratio when converting from the orthogonal coordinates to the polar coordinates in the polar coordinate conversion step, so that one pixel of the image sensor 3 is corrected. Even when the shape is not square, correct polar coordinates of the target pixel can be obtained, and as a result, distortion correction accuracy can be improved.

実施の形態2.
本実施の形態2に係る撮像装置1は、図1に示す撮像装置1と図面上では同様の構成であるため、以下では図1を援用して説明する。本実施の形態2では、メモリ8に保持しておく歪み量パラメータが上記実施の形態1とは異なっており、そのために参照座標算出部6の動作も異なる。以下、異なる部分を中心に説明する。
Embodiment 2. FIG.
Since the imaging apparatus 1 according to the second embodiment has the same configuration as that of the imaging apparatus 1 shown in FIG. 1, the following description will be given with reference to FIG. In the second embodiment, the distortion amount parameter stored in the memory 8 is different from that in the first embodiment, and therefore the operation of the reference coordinate calculation unit 6 is also different. The following description will focus on the different parts.

図8は、参照座標算出部6の参照座標算出方法を説明する図である。画像中の歪み中心座標(CX,CY)から任意の方向へ伸びるK本の軸10−1〜10−Kに対して、歪み中心からの距離に応じた歪み量を保持する歪み量テーブル20−1〜20−Kを予め設定しておく。歪み量テーブル20−1〜20−Kは、上記実施の形態1と同様に、入力値の距離に対する出力値の歪み量の組が、複数組、入力値の昇順に並んだ構造となっている。入力値である距離と出力値であるゆがみ量は離散的に変化し、また、複数組の間でも離散的に変化する。   FIG. 8 is a diagram for explaining a reference coordinate calculation method of the reference coordinate calculation unit 6. A distortion amount table 20-holding distortion amounts corresponding to the distance from the distortion center with respect to K axes 10-1 to 10 -K extending in an arbitrary direction from the distortion center coordinates (CX, CY) in the image. 1 to 20-K is set in advance. Similar to the first embodiment, the distortion amount tables 20-1 to 20-K have a structure in which a plurality of combinations of distortion amounts of output values with respect to distances of input values are arranged in ascending order of input values. . The distance that is an input value and the amount of distortion that is an output value change discretely, and also change discretely between multiple sets.

また、上記実施の形態1では軸10−1のみに傾きθを設定するようにしたが、本実施の形態2では軸10−1〜10−Kに対してそれぞれの傾きθ1〜θKを設定する。   In the first embodiment, the inclination θ is set only for the axis 10-1. However, in the second embodiment, the inclinations θ1 to θK are set for the axes 10-1 to 10-K. .

図9は、実施の形態2に係る参照座標算出部6の動作を示すブロック図であり、実施の形態1における図4に対応している。
参照座標算出部6は、先の極座標変換処理(図2に示すステップST1)で得られた歪み補正後画像の着目画素の角度OTと、メモリ8に予め設定された各軸10−1〜10−Kの傾きθ1〜θKとを参照して、着目画素を間に挟む2軸のうちの一方の軸(即ち、歪み中心から見て、歪み中心と着目画素をつなぐ直線の左側にくる軸)に設定された歪み量テーブルを選択して歪み量テーブルAとする(ステップST2−1A’)。歪み量テーブルA選択の条件を以下に列挙する。
θ1<=OT<θ2の場合:歪み量テーブル10−1を選択
θ2<=OT<θ3の場合:歪み量テーブル10−2を選択
: : :
θK<=OTまたはOT<θ1の場合:歪み量テーブル10−Kを選択
FIG. 9 is a block diagram illustrating the operation of the reference coordinate calculation unit 6 according to the second embodiment, and corresponds to FIG. 4 in the first embodiment.
The reference coordinate calculation unit 6 uses the angle OT of the pixel of interest of the image after distortion correction obtained in the previous polar coordinate conversion process (step ST1 shown in FIG. 2) and the axes 10-1 to 10-10 set in advance in the memory 8. Referring to the inclinations θ1 to θK of −K, one of the two axes sandwiching the pixel of interest in between (ie, the axis on the left side of the straight line connecting the distortion center and the pixel of interest when viewed from the distortion center) Is selected as a distortion amount table A (step ST2-1A ′). The conditions for selecting the distortion amount table A are listed below.
If θ1 <= OT <θ2: Select the distortion amount table 10-1 If θ2 <= OT <θ3: Select the distortion amount table 10-2:::
When θK <= OT or OT <θ1: Select the distortion amount table 10-K

参照座標算出部6は同様に、着目極座標の角度OTとメモリ8に予め設定された軸10−1〜10−Kの傾きθ1〜θKとを参照して、着目画素を間に挟む2軸のうちの他方の軸(即ち、歪み中心から見て、歪み中心と着目画素をつなぐ直線の左側にくる軸)に設定された歪み量テーブルを選択して歪み量テーブルBとする(ステップST2−1B’)。歪み量テーブルB選択の条件を以下に列挙する。
θ1<=OT<θ2の場合:歪み量テーブル10−2を選択
θ2<=OT<θ3の場合:歪み量テーブル10−3を選択
: : :
θK<=OTまたはOT<θ1の場合:歪み量テーブル10−1を選択
Similarly, the reference coordinate calculation unit 6 refers to the angle OT of the target polar coordinate and the inclinations θ1 to θK of the axes 10-1 to 10-K set in the memory 8 in advance, so that the biaxial axis sandwiching the target pixel therebetween. The distortion amount table set on the other axis (that is, the axis on the left side of the straight line connecting the distortion center and the pixel of interest when viewed from the distortion center) is selected as the distortion amount table B (step ST2-1B). '). The conditions for selecting the distortion amount table B are listed below.
When θ1 <= OT <θ2: Select the distortion amount table 10-2. When θ2 <= OT <θ3: Select the distortion amount table 10-3.
When θK <= OT or OT <θ1: Select the distortion amount table 10-1.

続くステップST2−2A,ST2−2Bは、図4に示すステップST2−2A,ST2−2Bと同様の処理のため説明を省略する。   The subsequent steps ST2-2A and ST2-2B are the same as steps ST2-2A and ST2-2B shown in FIG.

続いて参照座標算出部6は、下式(11)を用いて歪み量A,Bを補間して、着目極座標の位置に相当する補間歪み量Cを算出する(ステップST2−3’)。   Subsequently, the reference coordinate calculation unit 6 interpolates the distortion amounts A and B using the following equation (11), and calculates an interpolation distortion amount C corresponding to the position of the target polar coordinate (step ST2-3 ').

DC=DA×(|cos(OT−θ1)|−|cos(θB−θ1)|)
÷(|cos(θA−θ1)|−|cos(θB−θ1)|)
+DB×(|cos(OA−θ1)|−|cos(θT−θ1)|)
÷(|cos(θA−θ1)|−|cos(θB−θ1)|)
・・・(11)
DA :歪み量A
DB :歪み量B
DC :補間歪み量C
OT :極座標の角度OT
θA :歪み量テーブルAが設定された軸Aの傾き
θB :歪み量テーブルBが設定された軸Bの傾き
cos(p):pの余弦を返す関数
|p| :pの絶対値
DC = DA × (| cos (OT−θ1) | − | cos (θB−θ1) |)
÷ (| cos (θA−θ1) | − | cos (θB−θ1) |)
+ DB × (| cos (OA−θ1) | − | cos (θT−θ1) |)
÷ (| cos (θA−θ1) | − | cos (θB−θ1) |)
(11)
DA: Distortion amount A
DB: Distortion amount B
DC: interpolation distortion amount C
OT: Polar coordinate angle OT
θA: inclination of the axis A where the distortion amount table A is set θB: inclination of the axis B where the distortion amount table B is set cos (p): function that returns the cosine of p | p |: absolute value of p

続くステップST2−4,ST2−5は、図4に示すステップST2−4,ST2−5と同様の処理のため説明を省略する。   Subsequent steps ST2-4 and ST2-5 are the same as steps ST2-4 and ST2-5 shown in FIG.

以上より、実施の形態2に係る画像処理方法によれば、参照座標算出部6は、歪み量テーブル設定ステップで、歪み補正後画像上において歪み中心から放射状に伸びる複数の軸10−1〜10−K毎に、歪み中心からの距離に応じた歪み量を指定した歪み量テーブル20−1〜20−Kを設定し、歪み量テーブル選択ステップで、極座標上の角度に基づいて、複数の軸10−1〜10−Kのうちから着目画素を間に挟む2軸を選択するように構成した。このため、上記実施の形態1と同様に、画像上の歪み中心位置からの距離以外の要因によって変化する歪みを補正する際に、歪み補正後の絵柄の形状が折れ線状にならず、滑らかに変化する形状に補正できる。また、上記実施の形態1では4本だった軸をK本まで増やすことで、より細かな歪み形状にも対応することができる。   As described above, according to the image processing method according to the second embodiment, the reference coordinate calculation unit 6 includes a plurality of axes 10-1 to 10-10 extending radially from the distortion center on the distortion-corrected image in the distortion amount table setting step. For each −K, a strain amount table 20-1 to 20-K in which a strain amount corresponding to the distance from the strain center is specified is set, and a plurality of axes are selected based on the polar coordinate angle in the strain amount table selection step. Two axes that sandwich the pixel of interest between 10-1 to 10-K are selected. For this reason, as in the first embodiment, when correcting distortion that changes due to factors other than the distance from the distortion center position on the image, the shape of the pattern after distortion correction is not a polygonal line, but smooth. The shape can be corrected to change. Further, by increasing the number of axes from four in the first embodiment to K, it is possible to cope with a finer distortion shape.

また、実施の形態2においても、上記実施の形態1と同様に、極座標変換部5が極座標変換ステップにおいて直交座標から極座標に変換するときに画素アスペクト比を用いて補正するように構成してもよい。この構成であれば、イメージセンサ3の1画素の形状が正方形でない場合にも、着目画素の正しい極座標を得ることができ、結果として歪み補正精度を向上できる。   Also in the second embodiment, as in the first embodiment, the polar coordinate conversion unit 5 may be configured to perform correction using the pixel aspect ratio when converting from the orthogonal coordinates to the polar coordinates in the polar coordinate conversion step. Good. With this configuration, the correct polar coordinates of the pixel of interest can be obtained even when the shape of one pixel of the image sensor 3 is not square, and as a result, distortion correction accuracy can be improved.

上記実施の形態1,2では、歪みが変化する原因として、図6に示すようなレンズ光軸に対するイメージセンサ受光面の傾きを例に挙げて説明したが、その他にも、レンズの形状に微小な歪みがある場合、イメージセンサ受光面自体が平面から微小に歪んでいる場合にも歪みの形状が中心からの距離以外の要因で変化する。そのような場合にも、上記実施の形態1,2に係る画像処理方法を用いれば画像データの歪みを補正することができる。ただし、歪みが変化する原因に応じて歪み中心座標(CX,CT)の設定位置も変える必要がある。
なお、本願発明の範囲内において、実施の形態を適宜組合せ、変更、省略等することが可能である。
In the first and second embodiments, the cause of the distortion change has been described by taking the inclination of the light receiving surface of the image sensor with respect to the lens optical axis as shown in FIG. 6 as an example. When the image sensor light-receiving surface itself is slightly distorted from the plane, the shape of the distortion changes due to factors other than the distance from the center. Even in such a case, distortion of the image data can be corrected by using the image processing method according to the first and second embodiments. However, it is necessary to change the set position of the distortion center coordinates (CX, CT) according to the cause of the distortion change.
It should be noted that the embodiments can be appropriately combined, changed, omitted, etc. within the scope of the present invention.

1 撮像装置、2 レンズ、3 イメージセンサ、4 画像処理部、5 極座標変換部、6 参照座標算出部、7 画素補間処理部、8 メモリ、10−1〜10−K,L1〜L8 軸、20−1〜20−K 歪み量テーブル、100 レンズ、101 イメージセンサの受光面。   DESCRIPTION OF SYMBOLS 1 Imaging device, 2 Lens, 3 Image sensor, 4 Image processing part, 5 Polar coordinate conversion part, 6 Reference coordinate calculation part, 7 Pixel interpolation process part, 8 Memory, 10-1-10-K, L1-L8 axis | shaft, 20 −1 to 20-K Distortion amount table, 100 lens, 101 Image sensor light receiving surface.

Claims (4)

撮像データの画像中に生じた歪みを補正する画像処理方法において、
前記撮像データを歪み補正して得られる歪み補正後画像上の所定位置に歪み中心座標を設定する歪み中心座標設定ステップと、
前記歪み補正後画像上において前記歪み中心から放射状に伸びる複数の直線毎に、前記歪み中心からの距離に応じた歪み量を指定した歪み量テーブルを設定する歪み量テーブル設定ステップと、
前記歪み補正後画像上の着目画素の直交座標を極座標に変換して、前記歪み中心を中心とした距離と角度で表す極座標変換ステップと、
前記極座標の角度に基づいて、前記複数の直線のうちから前記着目画素を間に挟む2直線を選択し、当該2直線に設定された2つの歪み量テーブルを選択する歪み量テーブル選択ステップと、
前記歪み量テーブル選択ステップで選択した2つの歪み量テーブルから、前記極座標の距離に応じた歪み量をそれぞれ選択する歪み量選択ステップと、
前記極座標上の角度を表す三角関数から補間係数を求めて前記歪み量選択ステップで選択した2つの歪み量を補間し、補間歪み量を算出する歪み量補間ステップと、
前記歪み量補間ステップで算出した補間歪み量を用いて前記極座標の距離を補正して直交座標に変換する直交座標変換ステップと、
前記撮像データの画像上の、前記直交座標変換ステップで変換した直交座標近傍の画素値を補間して、前記歪み補正後画像上の着目画素の画素値に設定する画素値設定ステップとを備えることを特徴とする画像処理方法。
In an image processing method for correcting distortion generated in an image of imaging data,
A distortion center coordinate setting step for setting a distortion center coordinate at a predetermined position on the image after distortion correction obtained by distortion correcting the imaging data;
A distortion amount table setting step for setting a distortion amount table specifying a distortion amount according to a distance from the distortion center for each of a plurality of straight lines extending radially from the distortion center on the image after distortion correction;
A polar coordinate conversion step that converts the orthogonal coordinates of the pixel of interest on the image after distortion correction into polar coordinates, and represents the distance and angle centered on the distortion center;
A distortion amount table selecting step of selecting two straight lines sandwiching the pixel of interest between the plurality of straight lines based on the polar coordinate angle, and selecting two distortion amount tables set to the two straight lines;
A strain amount selection step of selecting a strain amount according to the distance of the polar coordinates from the two strain amount tables selected in the strain amount table selection step;
A distortion amount interpolation step of calculating an interpolation distortion amount by interpolating two distortion amounts selected in the distortion amount selection step by obtaining an interpolation coefficient from a trigonometric function representing an angle on the polar coordinate;
An orthogonal coordinate conversion step for correcting the distance of the polar coordinates using the interpolation distortion amount calculated in the distortion amount interpolation step and converting it into orthogonal coordinates;
A pixel value setting step of interpolating a pixel value in the vicinity of the orthogonal coordinates converted in the orthogonal coordinate conversion step on the image of the imaging data, and setting the pixel value of the pixel of interest on the image after distortion correction An image processing method characterized by the above.
前記歪み量テーブル設定ステップは、前記歪み補正後画像上において歪み中心から放射状に、互いに直交する角度方向に伸びる4本の直線を設定し、当該直線毎に、前記歪み中心からの距離に応じた歪み量を指定した歪み量テーブルを設定することを特徴とする請求項1記載の画像処理方法。   The distortion amount table setting step sets four straight lines extending radially from the distortion center on the image after distortion correction and extending in an angular direction perpendicular to each other, and each line corresponds to a distance from the distortion center. The image processing method according to claim 1, wherein a distortion amount table specifying a distortion amount is set. 前記極座標変換ステップは、直交座標から極座標に変換するときに画素アスペクト比を用いて補正することを特徴とする請求項1または請求項2記載の画像処理方法。   3. The image processing method according to claim 1, wherein the polar coordinate conversion step performs correction using a pixel aspect ratio when converting from orthogonal coordinates to polar coordinates. 撮像データの画像中に生じた歪みを補正する画像処理装置において、
前記撮像データを歪み補正して得られる歪み補正後画像上の所定位置に歪み中心座標を設定し、当該歪み補正後画像上の着目画素の直交座標を極座標に変換して、前記歪み中心を中心とした距離と角度で表す極座標変換部と、
前記歪み補正後画像上において前記歪み中心から放射状に伸びる複数の直線毎に、前記歪み中心からの距離に応じた歪み量を指定した歪み量テーブルを設定し、前記極座標変換部が変換した前記極座標に基づいて、前記着目画素を間に挟む2直線の歪み量テーブルから2つの歪み量を取得し、前記極座標上の角度を表す三角関数から補間係数を求めて当該2つの歪み量を補間して補間歪み量を算出し、当該補間歪み量を用いて前記極座標の距離を補正して直交座標に変換する参照座標算出部と、
前記撮像データの画像上の、前記参照座標算出部が変換した直交座標近傍の画素値を補間して、前記歪み補正後画像上の着目画素の画素値に設定する画素補間処理部とを備えることを特徴とする画像処理装置。
In an image processing apparatus that corrects distortion generated in an image of imaging data,
A distortion center coordinate is set at a predetermined position on a distortion-corrected image obtained by distortion-correcting the imaging data, and the orthogonal coordinates of the pixel of interest on the distortion-corrected image are converted into polar coordinates, so that the distortion center is centered. A polar coordinate conversion unit represented by the distance and angle,
For each of a plurality of straight lines extending radially from the distortion center on the image after distortion correction, a distortion amount table specifying a distortion amount according to a distance from the distortion center is set, and the polar coordinates converted by the polar coordinate conversion unit To obtain two distortion amounts from a two-line distortion amount table with the pixel of interest in between, obtain an interpolation coefficient from a trigonometric function representing an angle on the polar coordinates, and interpolate the two distortion amounts. A reference coordinate calculation unit that calculates an interpolation distortion amount, corrects the distance of the polar coordinates using the interpolation distortion amount, and converts it into orthogonal coordinates;
A pixel interpolation processing unit that interpolates the pixel values in the vicinity of the orthogonal coordinates converted by the reference coordinate calculation unit on the image of the imaging data and sets the pixel values of the pixel of interest on the image after distortion correction. An image processing apparatus.
JP2010196641A 2010-09-02 2010-09-02 Image processing method and image processing apparatus Active JP5645556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010196641A JP5645556B2 (en) 2010-09-02 2010-09-02 Image processing method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010196641A JP5645556B2 (en) 2010-09-02 2010-09-02 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
JP2012053740A true JP2012053740A (en) 2012-03-15
JP5645556B2 JP5645556B2 (en) 2014-12-24

Family

ID=45906963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010196641A Active JP5645556B2 (en) 2010-09-02 2010-09-02 Image processing method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP5645556B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994367A (en) * 2015-06-30 2015-10-21 华为技术有限公司 Image correcting method and camera
US9466237B2 (en) 2013-12-23 2016-10-11 Samsung Display Co., Ltd. Image processor, display device and driving method thereof
CN107622627A (en) * 2017-09-25 2018-01-23 南京律智诚专利技术开发有限公司 A kind of intelligent safety and defence system
JPWO2017056787A1 (en) * 2015-09-29 2018-08-09 富士フイルム株式会社 Image processing apparatus, image processing method, and program
CN109961401A (en) * 2017-12-14 2019-07-02 西安全志科技有限公司 A kind of method for correcting image and storage medium of binocular camera
CN115963130A (en) * 2022-12-29 2023-04-14 中国科学院福建物质结构研究所 Correction method for non-Gaussian deviation of high-angle diffraction data of X-ray single crystal diffraction experiment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0838475A (en) * 1994-08-02 1996-02-13 Hitachi Medical Corp Ultrasonic diagnostic device
JP2000224481A (en) * 1999-01-28 2000-08-11 Toshiba Corp X-ray diagnostic device
JP2000333953A (en) * 1999-05-28 2000-12-05 Kanda Tsushin Kogyo Co Ltd Ultrasonograph with zoom display function
JP2002077695A (en) * 2000-09-01 2002-03-15 Melles Griot Kk Wide angle scanning television
JP2003123064A (en) * 2001-08-07 2003-04-25 Toyota Central Res & Dev Lab Inc Image converter and image pickup and/or display device in which the same is incorporated
JP2004289367A (en) * 2003-03-20 2004-10-14 Minolta Co Ltd Image taking-in device and image recognition device
JP2007192832A (en) * 2007-03-06 2007-08-02 Iwate Univ Calibrating method of fish eye camera
JP2008061260A (en) * 2007-09-21 2008-03-13 Fujitsu Ltd Fisheye lens camera apparatus and image distortion correcting method thereof
JP2008227582A (en) * 2007-03-08 2008-09-25 Hoya Corp Imaging apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0838475A (en) * 1994-08-02 1996-02-13 Hitachi Medical Corp Ultrasonic diagnostic device
JP2000224481A (en) * 1999-01-28 2000-08-11 Toshiba Corp X-ray diagnostic device
JP2000333953A (en) * 1999-05-28 2000-12-05 Kanda Tsushin Kogyo Co Ltd Ultrasonograph with zoom display function
JP2002077695A (en) * 2000-09-01 2002-03-15 Melles Griot Kk Wide angle scanning television
JP2003123064A (en) * 2001-08-07 2003-04-25 Toyota Central Res & Dev Lab Inc Image converter and image pickup and/or display device in which the same is incorporated
JP2004289367A (en) * 2003-03-20 2004-10-14 Minolta Co Ltd Image taking-in device and image recognition device
JP2007192832A (en) * 2007-03-06 2007-08-02 Iwate Univ Calibrating method of fish eye camera
JP2008227582A (en) * 2007-03-08 2008-09-25 Hoya Corp Imaging apparatus
JP2008061260A (en) * 2007-09-21 2008-03-13 Fujitsu Ltd Fisheye lens camera apparatus and image distortion correcting method thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9466237B2 (en) 2013-12-23 2016-10-11 Samsung Display Co., Ltd. Image processor, display device and driving method thereof
CN104994367A (en) * 2015-06-30 2015-10-21 华为技术有限公司 Image correcting method and camera
JPWO2017056787A1 (en) * 2015-09-29 2018-08-09 富士フイルム株式会社 Image processing apparatus, image processing method, and program
US10559068B2 (en) 2015-09-29 2020-02-11 Fujifilm Corporation Image processing device, image processing method, and program processing image which is developed as a panorama
CN107622627A (en) * 2017-09-25 2018-01-23 南京律智诚专利技术开发有限公司 A kind of intelligent safety and defence system
CN109961401A (en) * 2017-12-14 2019-07-02 西安全志科技有限公司 A kind of method for correcting image and storage medium of binocular camera
CN109961401B (en) * 2017-12-14 2022-10-04 西安全志科技有限公司 Image correction method and storage medium for binocular camera
CN115963130A (en) * 2022-12-29 2023-04-14 中国科学院福建物质结构研究所 Correction method for non-Gaussian deviation of high-angle diffraction data of X-ray single crystal diffraction experiment
CN115963130B (en) * 2022-12-29 2023-09-29 中国科学院福建物质结构研究所 Correction method for non-Gaussian deviation of high-angle diffraction data of X-ray single crystal diffraction experiment

Also Published As

Publication number Publication date
JP5645556B2 (en) 2014-12-24

Similar Documents

Publication Publication Date Title
JP5645556B2 (en) Image processing method and image processing apparatus
US20200288059A1 (en) Image processor, image processing method and program, and imaging system
JP5057948B2 (en) Distortion correction image generation unit and distortion correction image generation method
JP4297111B2 (en) Imaging apparatus, image processing method and program thereof
JP5666069B1 (en) Coordinate calculation apparatus and method, and image processing apparatus and method
JP4629131B2 (en) Image converter
TW201535318A (en) Image transformation and multi-view output systems and methods
JP2008187566A (en) Camera calibration apparatus and method and vehicle
US20080218607A1 (en) Distortion correction for photographing device
KR20090078463A (en) Distorted image correction apparatus and method
CN111383264B (en) Positioning method, positioning device, terminal and computer storage medium
JP2004342067A (en) Image processing method, image processor and computer program
JP2010199650A (en) Image processing apparatus and method
CN112598747A (en) Combined calibration method for monocular camera and projector
JP2008225522A (en) Image processor, camera device, image processing method, and program
JP2005149500A (en) Method for correcting distortion in multi-focus image stack
JP2013246606A (en) Data derivation device and data derivation method
CN111696141B (en) Three-dimensional panoramic scanning acquisition method, device and storage device
JP2008298589A (en) Device and method for detecting positions
JP2019090755A (en) Calibration method and calibration device
WO2017163527A1 (en) Image processing system, image processing method, and program
JP2017103695A (en) Image processing apparatus, image processing method, and program of them
JP6071364B2 (en) Image processing apparatus, control method thereof, and control program
JP2014225182A (en) Image projection system, image processing apparatus, and program
JP5047912B2 (en) In-vehicle image processing apparatus and image processing method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140319

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140715

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140929

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20141007

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141028

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141104

R150 Certificate of patent or registration of utility model

Ref document number: 5645556

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250