JP2001084365A - Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program - Google Patents

Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program

Info

Publication number
JP2001084365A
JP2001084365A JP25718599A JP25718599A JP2001084365A JP 2001084365 A JP2001084365 A JP 2001084365A JP 25718599 A JP25718599 A JP 25718599A JP 25718599 A JP25718599 A JP 25718599A JP 2001084365 A JP2001084365 A JP 2001084365A
Authority
JP
Japan
Prior art keywords
straight line
end points
points
coordinates
tilt
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
JP25718599A
Other languages
Japanese (ja)
Inventor
Naoki Chiba
直樹 千葉
Hiroshi Kano
浩 蚊野
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP25718599A priority Critical patent/JP2001084365A/en
Publication of JP2001084365A publication Critical patent/JP2001084365A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a picture without 'tilt' from the picture with 'tilt' by fluoroscopically converting an original picture with a simple operation based on a perspective conversion matrix. SOLUTION: An original picture before tilt correction, which is designated by a user, is read into a memory and is displayed on a display. When a user designates two straight lines L1 and L2, the coordinates of an intermediate point M1 in the straight line L1 is obtained from the coordinates of both end points A and B in the straight line L1 and the coordinates of an intermediate point M2 in the straight line L2 from the coordinates of both end points C and D in the straight line L2. The coordinates of points (a) and (b) obtained by projecting the end points A and B of the straight line L1 to a straight line N1 are calculated and the coordinates of points (c) and (d) obtained by projecting the end points C and D of the straight line L2 to a straight line N2 are calculated. The perspective conversion matrix where the points A, B, C and D are converted into the point (a), (b), (c) and (d) is calculated. An original picture is perspectively converted by using the obtained perspective conversion matrix. Thus, the picture where the tilt is corrected is obtained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、画像のあおり補
正方法、画像のあおり補正装置およびあおり補正用プロ
グラムを記録したコンピュータ読み取り可能な記録媒体
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image tilt correcting method, an image tilt correcting apparatus, and a computer-readable recording medium storing a tilt correcting program.

【0002】[0002]

【従来の技術】たとえば、図8(a)に示すような建築
物を下から撮像した場合には、撮像画像は、図8(b)
示すように、建築物の鉛直線が斜めに傾いた画像(”あ
おり”のある画像)となる。
2. Description of the Related Art For example, when an image of a building as shown in FIG.
As shown in the figure, an image in which the vertical line of the building is obliquely inclined (an image with a tilt) is obtained.

【0003】そこで、従来は、特殊なレンズを用いて建
築物を撮像することによって、建築物中の鉛直線がすべ
て平行となるような画像を得ている。しかしながら、従
来方法は、特殊なレンズが必要となるため、撮像機器が
高価となるいう問題がある。
Conventionally, an image of a building is taken by using a special lens to obtain an image in which all vertical lines in the building are parallel. However, the conventional method has a problem that an image pickup device is expensive because a special lens is required.

【0004】[0004]

【発明が解決しようとする課題】この発明は、通常のデ
ジタルカメラで撮像された”あおり”のある画像か
ら、”あおり”のない画像を簡単な操作で生成すること
ができる、画像のあおり補正方法、画像のあおり補正装
置およびあおり補正用プログラムを記録したコンピュー
タ読み取り可能な記録媒体を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention provides an image tilt correction that can generate an image without tilt by a simple operation from an image with tilt in a normal digital camera. It is an object of the present invention to provide a method, an image tilt correction apparatus, and a computer-readable recording medium that stores a tilt correction program.

【0005】[0005]

【課題を解決するための手段】この発明による画像のあ
おり補正方法は、表示器に表示された原画像から、本来
的には地上に垂直でかつ互いに平行となるべき2つの直
線を、各直線について2つの端点を指定させることによ
り、ユーザに指定させる第1ステップ、ユーザによって
指定された第1の直線の中点を通る垂直線に、第1の直
線の両端点を投影することによって得られる、両端点に
対応する2つの点の座標を求める第2ステップ、ユーザ
によって指定された第2の直線の中点を通る垂直線に、
第2の直線の両端点を投影することによって得られる、
両端点に対応する2つの点の座標を求める第3ステッ
プ、第1の直線の両端点および第2の直線の両端点が、
第2ステップおよび第3ステップで求められた対応点に
変換されるような透視変換行列を求める第4ステップ、
ならびに第4ステップで求められた透視変換行列に基づ
いて、原画像を透視変換する第5ステップを備えている
ことを特徴とする。
According to the present invention, there is provided a method for correcting a tilt of an image, comprising the steps of forming two straight lines which are originally perpendicular to the ground and parallel to each other from an original image displayed on a display unit. A first step of allowing the user to specify the two end points of the first line, and projecting both end points of the first line onto a vertical line passing through the midpoint of the first line specified by the user. A second step of obtaining coordinates of two points corresponding to both end points, a vertical line passing through a midpoint of a second straight line specified by the user,
Obtained by projecting the endpoints of the second straight line,
A third step of obtaining coordinates of two points corresponding to the both end points, both end points of the first straight line and both end points of the second straight line,
A fourth step of obtaining a perspective transformation matrix that is converted to the corresponding point obtained in the second step and the third step;
And a fifth step of perspectively transforming the original image based on the perspective transformation matrix obtained in the fourth step.

【0006】この発明による画像のあおり補正装置は、
表示器に表示された原画像から、本来的には地上に垂直
でかつ互いに平行となるべき2つの直線を、各直線につ
いて2つの端点を指定させることにより、ユーザに指定
させるための第1手段、ユーザによって指定された第1
の直線の中点を通る垂直線に、第1の直線の両端点を投
影することによって得られる、両端点に対応する2つの
点の座標を求める第2手段、ユーザによって指定された
第2の直線の中点を通る垂直線に、第2の直線の両端点
を投影することによって得られる、両端点に対応する2
つの点の座標を求める第3手段、第1の直線の両端点お
よび第2の直線の両端点が、第2手段および第3手段で
求められた対応点に変換されるような透視変換行列を求
める第4手段、ならびに第4手段で求められた透視変換
行列に基づいて、原画像を透視変換する第5手段を備え
ていることを特徴とする。
[0006] The image tilt correction apparatus according to the present invention comprises:
A first means for allowing a user to specify two straight lines which should be originally perpendicular to the ground and parallel to each other from the original image displayed on the display by designating two end points for each straight line. , The first specified by the user
Second means for obtaining coordinates of two points corresponding to both end points obtained by projecting both end points of the first straight line onto a vertical line passing through the middle point of the straight line of 2 corresponding to both end points obtained by projecting both end points of the second straight line onto a vertical line passing through the midpoint of the straight line
A third means for obtaining the coordinates of the two points, a perspective transformation matrix in which both end points of the first straight line and both end points of the second straight line are converted into corresponding points obtained by the second means and the third means. It is characterized by comprising a fourth means for obtaining and a fifth means for performing a perspective transformation of the original image based on the perspective transformation matrix obtained by the fourth means.

【0007】この発明によるコンピュータ読み取り可能
な記録媒体は、あおりのある原画像からあおりのない画
像を得るためのあおり補正用プログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、表示器に表
示された原画像から、本来的には地上に垂直でかつ互い
に平行となるべき2つの直線を、各直線について2つの
端点を指定させることにより、ユーザに指定させる第1
ステップ、ユーザによって指定された第1の直線の中点
を通る垂直線に、第1の直線の両端点を投影することに
よって得られる、両端点に対応する2つの点の座標を求
める第2ステップ、ユーザによって指定された第2の直
線の中点を通る垂直線に、第2の直線の両端点を投影す
ることによって得られる、両端点に対応する2つの点の
座標を求める第3ステップ、第1の直線の両端点および
第2の直線の両端点が、第2ステップおよび第3ステッ
プで求められた対応点に変換されるような透視変換行列
を求める第4ステップ、ならびに第4ステップで求めら
れた透視変換行列に基づいて、原画像を透視変換する第
5ステップをコンピュータに実行させるためのあおり補
正用プログラムを記録していることを特徴とする。
A computer-readable recording medium according to the present invention is a computer-readable recording medium that stores a tilt correction program for obtaining a tilt-free image from a tilted original image, and is displayed on a display. First, the user designates two straight lines that should be perpendicular to the ground and parallel to each other from the original image by designating two end points for each straight line.
A second step of obtaining coordinates of two points corresponding to both end points, obtained by projecting both end points of the first straight line onto a vertical line passing through the middle point of the first straight line specified by the user; A third step of obtaining coordinates of two points corresponding to both end points, obtained by projecting both end points of the second straight line onto a vertical line passing through the midpoint of the second straight line specified by the user; Fourth step for obtaining a perspective transformation matrix such that both end points of the first straight line and both end points of the second straight line are converted to corresponding points obtained in the second step and the third step, and A tilt correction program for causing a computer to execute a fifth step of perspectively transforming the original image based on the obtained perspective transformation matrix is recorded.

【0008】[0008]

【発明の実施の形態】以下、この発明の実施の形態につ
いて説明する。
Embodiments of the present invention will be described below.

【0009】図1は、画像のあおり補正装置の構成を示
している。パーソナルコンピュータ10には、ディスプ
レイ21、マウス22およびキーボード23が接続され
ている。パーソナルコンピュータ10は、CPU11、
メモリ12、ハードディスク13、CD−ROMのよう
なリムーバブルディスクのドライブ(ディスクドライ
ブ)14を備えている。
FIG. 1 shows the configuration of an image tilt correction apparatus. A display 21, a mouse 22, and a keyboard 23 are connected to the personal computer 10. The personal computer 10 includes a CPU 11,
A memory 12, a hard disk 13, and a removable disk drive (disk drive) 14 such as a CD-ROM are provided.

【0010】ハードディスク13には、OS(オペレー
ティングシステム)等の他、あおり補正用プログラムが
格納されている。あおり補正用プログラムは、それが格
納されたCD−ROM20を用いて、ハードディスク1
3にインストールされる。また、ハードディスク13に
は、デジタルカメラによって撮像されたあおり補正前の
画像が格納されているものとする。
The hard disk 13 stores a tilt correction program in addition to an OS (operating system). The tilt correction program is stored on the hard disk 1 using the CD-ROM 20 in which the tilt correction program is stored.
3 is installed. It is also assumed that the hard disk 13 stores an image before tilt correction, which is captured by a digital camera.

【0011】図2は、あおり補正用プログラムが起動せ
しめられた場合にCPU11によって行われるあおり補
正処理手順を示している。
FIG. 2 shows a procedure of a tilt correction process performed by the CPU 11 when the tilt correction program is activated.

【0012】説明の便宜上、図3に示すあおりのある画
像(高さ方向の透視歪みのある画像)を、図4に示すよ
うな、あおりを修正した画像(高さ方向の透視歪みを修
正した画像)に変換する場合を例にとって説明する。
For convenience of explanation, the image with tilt shown in FIG. 3 (the image with the perspective distortion in the height direction) is modified from the image with the tilt shown in FIG. 4 (the perspective distortion in the height direction) as shown in FIG. (Image) will be described as an example.

【0013】まず、ユーザによって指定されたあおり補
正前の原画像(図3の画像)がメモリ12に読み込まれ
るとともにディスプレイ21に表示される(ステップ
1)。
First, an original image (image in FIG. 3) before tilt correction specified by the user is read into the memory 12 and displayed on the display 21 (step 1).

【0014】次に、図5に示すように、ユーザは、マウ
ス22を用いて、表示された画像において、地面に垂直
でかつ互いに平行となるべき2本の直線L1、L2を、
各直線毎に2点の端点を指定することによって選択す
る。この際、右斜め上方に傾斜している直線のうち鉛直
線からの傾斜度が最も大きい直線と、左斜め上方に傾斜
している直線のうち鉛直線からの傾斜度が最も大きい直
線とを選択することが好ましい。
Next, as shown in FIG. 5, the user uses the mouse 22 to draw two straight lines L1 and L2 that are to be perpendicular to the ground and parallel to each other in the displayed image.
The selection is made by designating two end points for each straight line. At this time, select the straight line that is the most inclined from the vertical line among the straight lines that are inclined upward and to the right, and the straight line that is the most inclined from the vertical line among the straight lines that are inclined left and upward. Is preferred.

【0015】ユーザによって、2本の直線L1、L2が
指定されると(ステップ2)、図6に示すように、直線
L1の両端点A、Bの座標から、直線L1の中点M1の
座標を求めるとともに、直線L2の両端点C、Dの座標
から、直線L2の中点M2の座標を求める(ステップ
3)。
When two straight lines L1 and L2 are designated by the user (step 2), as shown in FIG. 6, the coordinates of the midpoint M1 of the straight line L1 are calculated from the coordinates of the both ends A and B of the straight line L1. And the coordinates of the midpoint M2 of the straight line L2 are determined from the coordinates of the end points C and D of the straight line L2 (step 3).

【0016】直線L1の端点Aの座標を(xA ,yA
とし、直線L1の端点Bの座標を(xB ,yB )とする
と、直線L1の中点M1の座標(xM1,yM1)は、次の
数式1に基づいて算出される。
The coordinates of the end point A of the straight line L1 are (x A , y A )
And, the coordinates of the end point B of the straight line L1 (x B, y B) When the coordinates of the midpoint M1 of the straight line L1 (x M1, y M1) is calculated based on Equation 1 below.

【0017】[0017]

【数1】 (Equation 1)

【0018】直線L2の端点Cの座標を(xC ,yC
とし、直線L2の端点Dの座標を(xD ,yD )とする
と、直線L2の中点M2の座標(xM2,yM2)は、次の
数式2に基づいて算出される。
Let the coordinates of the end point C of the straight line L2 be (x C , y C )
And, the coordinates of the end point D of the straight line L2 (x D, y D) When the coordinates of the midpoint M2 of the straight line L2 (x M2, y M2) is calculated based on the following formula 2.

【0019】[0019]

【数2】 (Equation 2)

【0020】次に、図6および図7に示すように、直線
L1の中点M1を通る垂直な直線N1に、直線L1の両
端点A、Bを投影した点a、bの座標を算出する。同様
に、直線L2の中点M2を通る垂直な直線N2に、直線
L2の両端点C、Dを投影した点c、dの座標を算出す
る(ステップ4)。
Next, as shown in FIGS. 6 and 7, the coordinates of points a and b obtained by projecting both end points A and B of the straight line L1 onto a vertical straight line N1 passing through the midpoint M1 of the straight line L1 are calculated. . Similarly, the coordinates of points c and d where both ends C and D of the straight line L2 are projected onto the vertical straight line N2 passing through the midpoint M2 of the straight line L2 are calculated (step 4).

【0021】点aの座標を(xa ,ya )、点bの座標
を(xb ,yb )、点cの座標を(xc ,yc )、点d
の座標を(xd ,yd )とすると、xa 、ya 、xb
b、xc 、yc 、xd およびyd は、次の数式3に基
づいて算出される。
The coordinates of point a are (x a , y a ), the coordinates of point b are (x b , y b ), the coordinates of point c are (x c , y c ), and the point d
The coordinates (x d, y d) When, x a, y a, x b,
y b , x c , y c , x d, and y d are calculated based on the following Expression 3.

【0022】[0022]

【数3】 (Equation 3)

【0023】次に、点A、B、C、Dが、それぞれ点
a、b、c、dに変換されるような透視変換行列を算出
する(ステップ5)。この透視変換行列は、4点の対応
点から計算できることが知られている。透視変換行列H
は、次の数式4に示すように、3行3列の行列で表され
る。
Next, a perspective transformation matrix is calculated so that the points A, B, C and D are transformed into points a, b, c and d, respectively (step 5). It is known that this perspective transformation matrix can be calculated from four corresponding points. Perspective transformation matrix H
Is represented by a matrix of 3 rows and 3 columns as shown in the following Expression 4.

【0024】[0024]

【数4】 (Equation 4)

【0025】数式4の行列は、その要素の比だけが問題
となるので、点p(x,y)から点p’(x’,y’)
への変換は、同次座標を使って、次の数式5で記述され
る。
In the matrix of Equation 4, since only the ratio of its elements matters, the point p (x, y) is changed from the point p (x, y) to the point p '(x', y ').
The conversion to is described by the following equation 5 using homogeneous coordinates.

【0026】[0026]

【数5】 (Equation 5)

【0027】数式5を書き換えると、次の数式6とな
る。
By rewriting equation 5, the following equation 6 is obtained.

【0028】[0028]

【数6】 (Equation 6)

【0029】数式6をさらに書き換えると、次の数式7
となる。
By further rewriting equation (6), the following equation (7) is obtained.
Becomes

【0030】[0030]

【数7】 (Equation 7)

【0031】4組の対応点を考えて、それらを連立させ
ると、次の数式8を得る。
Considering the four sets of corresponding points and combining them, the following equation 8 is obtained.

【0032】[0032]

【数8】 (Equation 8)

【0033】数式8の左辺の最初の8×8の行列をA、
左辺の列ベクトルをM、右辺の列ベクトルをbとする
と、数式8は次の数式9に書き換えられる。
The first 8 × 8 matrix on the left side of Equation 8 is represented by A,
Assuming that the column vector on the left side is M and the column vector on the right side is b, Equation 8 can be rewritten as Equation 9 below.

【0034】[0034]

【数9】 (Equation 9)

【0035】ここで、求めたいのは、列ベクトルMであ
るので、通常の行列演算によって、列ベクトルMは、次
の数式10に基づいて算出することができる。
Here, since what is desired is the column vector M, the column vector M can be calculated based on the following equation 10 by ordinary matrix operation.

【0036】[0036]

【数10】 (Equation 10)

【0037】そして、得られた透視変換行列を用いて、
原画像を透視変換する(ステップ6)。具体的には、上
記数式10で求められたm1 〜m8 と、上記数式6の変
換式とを用いて、原画像を透視変換する。これにより、
図4に示すような、あおりが修正された画像が得られ
る。
Then, using the obtained perspective transformation matrix,
The original image is perspective-transformed (step 6). Specifically, the original image is perspective-transformed using m 1 to m 8 obtained by Expression 10 and the conversion expression of Expression 6. This allows
As shown in FIG. 4, an image in which the tilt is corrected is obtained.

【0038】[0038]

【発明の効果】この発明によれば、通常のデジタルカメ
ラで撮像された”あおり”のある画像から、”あおり”
のない画像を簡単な操作で生成することができるように
なる。
According to the present invention, an image with a tilt is taken from an image with a tilt by a normal digital camera.
An image without images can be generated by a simple operation.

【図面の簡単な説明】[Brief description of the drawings]

【図1】画像のあおり補正を行う装置の構成を示してい
る。
FIG. 1 shows the configuration of an apparatus for performing image tilt correction.

【図2】あおり補正用プログラムが起動せしめられた場
合にCPU11によって行われるあおり補正処理手順を
示すフローチャートである。
FIG. 2 is a flowchart illustrating a procedure of a tilt correction process performed by a CPU 11 when a tilt correction program is activated.

【図3】あおりのある画像の例を示す模式図てある。FIG. 3 is a schematic diagram showing an example of a tilted image.

【図4】図3の画像に対して、あおりを修正した後の画
像を示す模式図である。
FIG. 4 is a schematic view showing an image after correcting the tilt of the image of FIG. 3;

【図5】原画像上において、ユーザによって指定された
2本の直線L1、L2を示す模式図である。
FIG. 5 is a schematic diagram showing two straight lines L1 and L2 specified by a user on an original image.

【図6】直線L1の中点M1および直線L2の中点M2
を示す模式図である。
FIG. 6 shows a middle point M1 of the straight line L1 and a middle point M2 of the straight line L2.
FIG.

【図7】直線L1の中点M1を通る直線N1に、直線L
1の端点A、Bを投影することによって得られる対応点
a、bを示す模式図である。
FIG. 7 shows a straight line L1 on a straight line N1 passing through a midpoint M1 of the straight line L1.
It is a schematic diagram which shows the corresponding points a and b obtained by projecting the 1 end points A and B.

【図8】通常のカメラで建築物を撮像した場合に、建築
物の鉛直線が斜めに傾いた画像(”あおり”のある画
像)が得られることを示す模式図である。
FIG. 8 is a schematic diagram showing that when a building is imaged with a normal camera, an image in which a vertical line of the building is inclined obliquely (an image with “tilt”) is obtained.

【符号の説明】[Explanation of symbols]

10 パーソナルコンピュータ 11 CPU 12 メモリ 13 ハードディスク 14 ディスクドライバ 21 ディスプレイ 22 マウス 23 キーボード DESCRIPTION OF SYMBOLS 10 Personal computer 11 CPU 12 Memory 13 Hard disk 14 Disk driver 21 Display 22 Mouse 23 Keyboard

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 BA24 CA08 CA12 CA16 CB08 CB12 CB16 CC01 CD12 CH08 CH20 DB02 DB09 DC07 5C022 AA13 AB51  ──────────────────────────────────────────────────の Continued on the front page F term (reference) 5B057 BA24 CA08 CA12 CA16 CB08 CB12 CB16 CC01 CD12 CH08 CH20 DB02 DB09 DC07 5C022 AA13 AB51

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 表示器に表示された原画像から、本来的
には地上に垂直でかつ互いに平行となるべき2つの直線
を、各直線について2つの端点を指定させることによ
り、ユーザに指定させる第1ステップ、 ユーザによって指定された第1の直線の中点を通る垂直
線に、第1の直線の両端点を投影することによって得ら
れる、両端点に対応する2つの点の座標を求める第2ス
テップ、 ユーザによって指定された第2の直線の中点を通る垂直
線に、第2の直線の両端点を投影することによって得ら
れる、両端点に対応する2つの点の座標を求める第3ス
テップ、 第1の直線の両端点および第2の直線の両端点が、第2
ステップおよび第3ステップで求められた対応点に変換
されるような透視変換行列を求める第4ステップ、なら
びに第4ステップで求められた透視変換行列に基づい
て、原画像を透視変換する第5ステップ、 を備えている画像のあおり補正方法。
1. A user designates two straight lines which should be originally perpendicular to the ground and parallel to each other from an original image displayed on a display by designating two end points for each straight line. A first step of obtaining coordinates of two points corresponding to both end points, obtained by projecting both end points of the first straight line onto a vertical line passing through the midpoint of the first straight line specified by the user; 2nd step: obtaining coordinates of two points corresponding to both end points, obtained by projecting both end points of the second straight line onto a vertical line passing through the midpoint of the second straight line specified by the user. Step, the two end points of the first straight line and the two end points of the second straight line
A fourth step of obtaining a perspective transformation matrix converted to corresponding points obtained in the step and the third step, and a fifth step of performing perspective transformation of the original image based on the perspective transformation matrix obtained in the fourth step An image tilt correction method that has,.
【請求項2】 表示器に表示された原画像から、本来的
には地上に垂直でかつ互いに平行となるべき2つの直線
を、各直線について2つの端点を指定させることによ
り、ユーザに指定させるための第1手段、 ユーザによって指定された第1の直線の中点を通る垂直
線に、第1の直線の両端点を投影することによって得ら
れる、両端点に対応する2つの点の座標を求める第2手
段、 ユーザによって指定された第2の直線の中点を通る垂直
線に、第2の直線の両端点を投影することによって得ら
れる、両端点に対応する2つの点の座標を求める第3手
段、 第1の直線の両端点および第2の直線の両端点が、第2
手段および第3手段で求められた対応点に変換されるよ
うな透視変換行列を求める第4手段、ならびに第4手段
で求められた透視変換行列に基づいて、原画像を透視変
換する第5手段、 を備えている画像のあおり補正装置。
2. A user designates two straight lines which are originally perpendicular to the ground and are parallel to each other from the original image displayed on the display by designating two end points for each straight line. First means for projecting the coordinates of two points corresponding to both end points, obtained by projecting both end points of the first straight line onto a vertical line passing through the midpoint of the first straight line specified by the user. A second means for obtaining the coordinates of two points corresponding to both end points, obtained by projecting both end points of the second straight line onto a vertical line passing through the midpoint of the second straight line specified by the user; Third means, both end points of the first straight line and both end points of the second straight line
Means and a fourth means for obtaining a perspective transformation matrix converted to corresponding points obtained by the third means, and a fifth means for performing perspective transformation on the original image based on the perspective transformation matrix obtained by the fourth means An image tilt correction device comprising:
【請求項3】 あおりのある原画像からあおりのない
画像を得るためのあおり補正用プログラムを記録したコ
ンピュータ読み取り可能な記録媒体であって、表示器に
表示された原画像から、本来的には地上に垂直でかつ互
いに平行となるべき2つの直線を、各直線について2つ
の端点を指定させることにより、ユーザに指定させる第
1ステップ、 ユーザによって指定された第1の直線の中点を通る垂直
線に、第1の直線の両端点を投影することによって得ら
れる、両端点に対応する2つの点の座標を求める第2ス
テップ、 ユーザによって指定された第2の直線の中点を通る垂直
線に、第2の直線の両端点を投影することによって得ら
れる、両端点に対応する2つの点の座標を求める第3ス
テップ、 第1の直線の両端点および第2の直線の両端点が、第2
ステップおよび第3ステップで求められた対応点に変換
されるような透視変換行列を求める第4ステップ、なら
びに第4ステップで求められた透視変換行列に基づい
て、原画像を透視変換する第5ステップ、 をコンピュータに実行させるためのあおり補正用プログ
ラムを記録したコンピュータ読み取り可能な記録媒体。
3. A computer-readable recording medium on which a tilt correction program for obtaining a tilt-free image from a tilted original image is recorded. A first step of allowing the user to specify two straight lines that are to be perpendicular to the ground and parallel to each other, by designating two end points for each straight line, a vertical line passing through the midpoint of the first straight line specified by the user A second step of obtaining the coordinates of two points corresponding to the two endpoints, obtained by projecting the two endpoints of the first straight line onto the line, a vertical line passing through the midpoint of the second straight line specified by the user A third step of obtaining coordinates of two points corresponding to both end points obtained by projecting both end points of the second straight line, both end points of the first straight line and both ends of the second straight line The point is the second
A fourth step of obtaining a perspective transformation matrix converted to corresponding points obtained in the step and the third step, and a fifth step of performing perspective transformation of the original image based on the perspective transformation matrix obtained in the fourth step A computer-readable recording medium that stores a tilt correction program for causing a computer to execute the steps.
JP25718599A 1999-09-10 1999-09-10 Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program Pending JP2001084365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25718599A JP2001084365A (en) 1999-09-10 1999-09-10 Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25718599A JP2001084365A (en) 1999-09-10 1999-09-10 Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program

Publications (1)

Publication Number Publication Date
JP2001084365A true JP2001084365A (en) 2001-03-30

Family

ID=17302870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25718599A Pending JP2001084365A (en) 1999-09-10 1999-09-10 Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program

Country Status (1)

Country Link
JP (1) JP2001084365A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006047178A (en) * 2004-08-06 2006-02-16 Satake Corp Simple area measuring method for damage area in farm field
KR100685858B1 (en) 2005-01-20 2007-02-22 (주)제이투엠소프트 Method And System For Revising Distance Distortion
US7545993B2 (en) 2005-07-04 2009-06-09 Fuji Xerox Co., Ltd. Image processing device and image processing method
KR101028171B1 (en) 2009-04-22 2011-04-08 이화여자대학교 산학협력단 Determination of aspect ratio from perspective projection images
US9033517B2 (en) 2012-06-11 2015-05-19 Ricoh Company, Ltd. Image processing method, and recording medium storing image processing control program
CN113177885A (en) * 2021-03-30 2021-07-27 新东方教育科技集团有限公司 Method, device, storage medium and electronic equipment for correcting image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006047178A (en) * 2004-08-06 2006-02-16 Satake Corp Simple area measuring method for damage area in farm field
JP4561972B2 (en) * 2004-08-06 2010-10-13 株式会社サタケ Simple measurement method for damaged area of farmland
KR100685858B1 (en) 2005-01-20 2007-02-22 (주)제이투엠소프트 Method And System For Revising Distance Distortion
US7545993B2 (en) 2005-07-04 2009-06-09 Fuji Xerox Co., Ltd. Image processing device and image processing method
KR101028171B1 (en) 2009-04-22 2011-04-08 이화여자대학교 산학협력단 Determination of aspect ratio from perspective projection images
US9033517B2 (en) 2012-06-11 2015-05-19 Ricoh Company, Ltd. Image processing method, and recording medium storing image processing control program
CN113177885A (en) * 2021-03-30 2021-07-27 新东方教育科技集团有限公司 Method, device, storage medium and electronic equipment for correcting image

Similar Documents

Publication Publication Date Title
JP5218071B2 (en) Image processing apparatus, image processing method, and program
US5465121A (en) Method and system for compensating for image distortion caused by off-axis image projection
JP4508553B2 (en) Captured image projection device and captured image correction method
JP4470930B2 (en) Image processing apparatus, image processing method, and program
JP2003263148A (en) Index image display control device
JP4010754B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP4902568B2 (en) Electronic document generation apparatus, electronic document generation method, computer program, and storage medium
JP2006293783A (en) Image processing device and image processing program
CN101490708A (en) Image processing device, image processing method, and program
US20130169671A1 (en) Projector and method for controlling image display of the same
JP2021157600A (en) Image processing device and image processing method
JP2001177716A (en) Image processing method and image processor
WO2005041124A1 (en) Image processing method, image processing device, and program
JP2001084365A (en) Method and device for correcting tilt of picture and computer readable recording medium recording tilt correction program
JP2000010705A (en) Output image deforming system and record medium recording program for output image deformation
JP2007081611A (en) Method of setting display screen correction parameter
JP5348035B2 (en) projector
US7522189B2 (en) Automatic stabilization control apparatus, automatic stabilization control method, and computer readable recording medium having automatic stabilization control program recorded thereon
JPH1196346A (en) Image processing method and image processor
JP4075725B2 (en) Projector and projection image correction method thereof
JP3520041B2 (en) Image tilt correction method, image tilt correction device, and computer-readable recording medium storing tilt correction program
JP2003029714A (en) Method for correcting image of projection type display device
JP2020061662A (en) Video processing device, video processing method, and program
JP3255117B2 (en) Multimedia authoring system, material data image attribute conversion method, and recording medium recording image attribute conversion program
JP2010245682A (en) Image processing device, image processing method, and computer program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040511