JP2005018195A - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP2005018195A JP2005018195A JP2003179031A JP2003179031A JP2005018195A JP 2005018195 A JP2005018195 A JP 2005018195A JP 2003179031 A JP2003179031 A JP 2003179031A JP 2003179031 A JP2003179031 A JP 2003179031A JP 2005018195 A JP2005018195 A JP 2005018195A
- Authority
- JP
- Japan
- Prior art keywords
- vertex
- rectangle
- image
- foot
- draw
- 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
Links
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims description 24
- 230000009466 transformation Effects 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、あおり撮影された画像の歪みを補正する画像処理装置および画像処理プログラムに関する。
【0002】
【従来の技術】
白板やシートに記した文字、図形等を撮影して記録することが古くより行われているが、近年、デジタルカメラとパーソナルコンピュータの普及に伴い、デジタルカメラで撮影した白板等の画像をパーソナルコンピュータで再生表示することが、日常的に行われるようになってきた。ところが、撮影対象に対して正対する方向から撮影すれば歪みのない画像が得られるが、撮影対象に対して斜めの方向から撮影するあおり撮影を行うと、通常、撮影した画像に歪みが生じて、画像内の文字が読みづらくなったり、図形が変形したりするという問題が生じる。
【0003】
あおり撮影をしても画像に歪みを生じさせない特殊な撮影レンズも従来より実用化されているが、多くの場合、そのような特殊な撮影レンズを使用せずに、再生時に歪みを補正するようにしている。あおりによる歪みの補正では、式(1)、(2)による透視変換が採用される。ここで、(x,y)は補正前の画像の点Pの座標、(x’,y’)は点Pに対応する補正後の画像の点P’の座標である。
x’=(m1・x+m2・y+m3)/(m7・x+m8・y+1) … (1)
y’=(m4・x+m5・y+m6)/(m7・x+m8・y+1) … (2)
【0004】
式(1)、(2)によって座標変換を行うためには、8つのパラメータm1〜m8を定める必要がある。これらのパラメータm1〜m8は、撮影対象に正対する方向からの縦方向および横方向についてのカメラの傾き、ならびにカメラと撮影対象の距離から求めることができる。しかし、撮影時にこれらの情報を取得することは煩雑であり、通常、行われない。そこで、撮影された画像自体からパラメータm1〜m8を求めることが、特開2001−84365号公報にて提案されている。この公報では、長方形であるべき部分が歪みによって台形になったときに、その台形の平行でない二辺の各々の中点を通る直線に基づいて、その台形を長方形とするためのパラメータm1〜m8を求めるようにしている。
【0005】
【特許文献1】特開2001−84365号公報
【0006】
【発明が解決しようとする課題】
ところが、上記公報の方法は、縦方向について斜めから撮影した場合と、横方向について斜めから撮影した場合には適用可能であるものの、縦方向と横方向の双方について斜めから撮影した場合には適用することができない。このため、撮影対象に対するカメラの位置に制約が生じる。
【0007】
本発明はこのような問題点に鑑みてなされたもので、どの方向からあおり撮影した画像であっても歪みを補正することが可能な画像処理装置および画像処理プログラムを提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明では、あおり撮影による歪みを有する長方形の画像の歪みを補正する画像処理装置は、画像の一部の領域を示す四角形を指定され、指定された四角形の四辺のうち画像の縦方向の辺よりも横方向の辺に対して平行に近い対辺を成す第1の辺と第2の辺のそれぞれの横方向の長さを求めて、長い方を短い方で除して第1の値とし、指定された四角形の四辺のうち画像の横方向の辺よりも縦方向の辺に対して平行に近い対辺を成す第3の辺と第4の辺のそれぞれの縦方向の長さを求めて、長い方を短い方で除して第2の値とし、第1の辺と第2の辺の横方向の長さの和からそれらの辺の横方向の重なり部分の長さを減じた値に第2の値を乗じた値を横方向の辺の長さ、第3の辺と第4の辺の縦方向の長さの和からそれらの辺の縦方向の重なり部分の長さを減じた値に第1の値を乗じた値を縦方向の辺の長さとする長方形を生成して、指定された四角形の4つの頂点を生成した長方形の4つの頂点に一致させる透視変換によって画像の歪みを補正するものとする。
【0009】
前記目的を達成するために、本発明ではまた、あおり撮影による歪みを有する長方形の画像の歪みを補正する画像処理装置は、画像の一部の領域を示す四角形を指定されて、その頂点を並び順にA、B、C、Dとし、画像の辺に平行な辺を有し、四角形ABCDに外接する最小の長方形を生成して、その長方形の頂点を、辺EFが四角形ABCDの頂点Aおよび頂点Bの少なくとも一方に接し、辺GHが四角形ABCDの頂点Cおよび頂点Dの少なくとも一方に接するように、並び順にE、F、G、Hとし、頂点Aから辺HEに垂線を下ろしてその足をIとし、頂点Bから辺FGに垂線を下ろしてその足をJとし、頂点Cから辺FGに垂線を下ろしてその足をKとし、頂点Dから辺HEに垂線を下ろしてその足をLとし、頂点Aから辺EFに垂線を下ろしてその足をOとし、頂点Bから辺EFに垂線を下ろしてその足をPとし、頂点Cから辺GHに垂線を下ろしてその足をQとし、頂点Dから辺GHに垂線を下ろしてその足をRとし、長方形EFGHを、頂点Eから頂点Fに向かう方向に、線分ILと線分JKのうち短い方に対する長い方の長さの比だけ拡大するとともに、頂点Eから頂点Hに向かう方向に、線分OPと線分QRのうち短い方に対する長い方の長さの比だけ拡大して、長方形EMSTを作成し、四角形ABCDの頂点A、B、C、Dを長方形EMSTの頂点E、M、S、Tにそれぞれ一致させる透視変換によって画像の歪みを補正するものとする。
【0010】
これらの画像処理装置は、使用者によって指定された任意の形状の四角形の領域が、画像の辺に平行な長方形になるように補正をする。四角形の横方向の大きさを縦方向の対辺の長さの比(≧1)だけ拡大し、縦方向の大きさを横方向の対辺の長さの比(≧1)だけ拡大することにより、適切な補正を行うことが可能な長方形が容易に得られる。使用者は、画像のうちの本来長方形である部分、例えば、白板やシートの像の四隅を頂点とする四角形を指定すればよい。
【0011】
ここで、指定された四角形の領域が補正後に補正前の画像全体よりも大きくなるときに、補正後の画像を、互いに垂直な2方向について同じ率で、縮小するようにするとよい。このようにすると、補正前の画像を表示する範囲内に、指定された補正後の領域を確実に収めることができる。
【0012】
補正前に、指定された四角形の領域を画像と共に表示するようにしてもよい。指定した四角形の領域が適切であるか否かが使用者に判り易い。
【0013】
上記の各画像処理装置が行う処理は、コンピュータが実行するプログラムとして記すことができる。
【0014】
【発明の実施の形態】
以下、本発明の実施形態について図面を参照しながら説明する。図1に、画像処理装置の一例であるパーソナルコンピュータ1を示す。パーソナルコンピュータは、CPU、ハードディスク等を内蔵した本体と、その上に設けられた表示部のほか、図示しないキーボードおよびマウスを備えている。本体には、光ディスク2を装着することが可能である。パーソナルコンピュータ1が画像に対して行う処理を記した画像処理プログラムは光ディスク2に記録されており、パーソナルコンピュータ1はそのプログラムを内蔵のハードディスクに複写して使用する。パーソナルコンピュータ1が画像に対して行う処理には、あおり撮影された画像の歪みを補正する処理が含まれる。
【0015】
デジタルカメラによって白板を撮影する様子を図2に示す。デジタルカメラ11が白板12に対して正対するAの方向から撮影したときと、白板12に対して横方向について斜めになるBの方向から撮影したときの画像を、図3の(A)、(B)にそれぞれ示す。図3(A)、(B)における四角形は白板12の縁の像を表しており、正対する方向から撮影した場合、(A)に示すように、長方形である白板12の縁は歪みのない長方形の像となる。白板12に描かれていた文字、図形等も歪みのない像となる。
【0016】
一方、横方向について斜めの方向から撮影した場合、(B)に示すように、長方形である白板12の縁は歪んで台形の像となり、白板12に描かれていた文字等も歪んだ像となる。横方向だけでなく縦方向についても斜めの方向から白板12を撮影すると、白板12の縁の像は、多くの場合、全ての辺の長さが異なる四角形となる。
【0017】
パーソナルコンピュータ1は、あおり撮影による歪みを有する画像上の任意の形状の四角形の領域を指定されて、その四角形を辺が長方形である画像の辺に平行な長方形に変換する補正を行う。なお、補正対象の画像は、着脱可能な記録媒体またはケーブルを介してデジタルカメラ11からパーソナルコンピュータ1に伝送され、四角形の領域は、マウス等を用いる使用者の操作によって指定される。
【0018】
補正のための変換は、前述の式(1)、(2)に従って行う。これらの式には8つのパラメータm1〜m8が含まれているが、例えば図4の補正前の歪みを有する画像の四角形の4つの頂点A、B、C、Dの座標(x、y)と、これらに対応する補正後の画像の長方形の4つの頂点A’、B’、C’、D’の座標(x’、y’)を式(1)、(2)に代入することで、パラメータm1〜m8は容易に得られる。ただし、長方形A’B’C’D’を適切に定めなければ、歪みを良好に補正することはできない。
【0019】
本発明では、長方形A’B’C’D’を定めるために次のようにする。指定された四角形ABCDの2組の対辺のうち、横方向(x方向)に対してより平行に近い対辺(図4の例では辺ABと辺CD)について横方向の長さ(x座標差)を求めて、短い方に対する長い方の比RHを求める。また、残りの対辺(四角形ABCDの2組の対辺のうち、縦方向(y方向)に対して平行に近い対辺、図4の例では辺DAと辺BC)について縦方向の長さ(y座標差)を求めて、短い方に対する長い方の比RVを求める。そして、四角形ABCDの横方向の大きさに縦方向についての比RVを乗じて、これを長方形A’B’C’D’の横方向の辺の長さとし、四角形ABCDの縦方向の大きさに横方向についての比RHを乗じて、これを長方形A’B’C’D’縦方向の辺の長さとする。
【0020】
このような簡単な処理で、あおり撮影による歪みを良好に補正し得るパラメータm1〜m8が得られる。以下、この方法ついて、図5を参照してより具体的に説明する。
【0021】
まず、辺が画像の辺に平行で、指定された任意の形状の四角形ABCD(頂点はこの順に並ぶように設定する)に外接する最小の長方形EFGHを作成する(図5(A))。外接する最小の四角形EFGHは、四角形ABCDの4つの頂点のx座標、y座標の最大値と最小値から容易に求まる。なお、長方形EFGHの頂点は、辺EFが四角形ABCDの頂点A、Bの少なくとも一方に接し、辺GHが四角形ABCDの頂点C、Dの少なくとも一方に接するように、順にE、F、G、Hとする。
【0022】
次いで、四角形ABCDの頂点Aから長方形EFGHの辺HEに垂線を下ろしてその足をIとし、頂点Bから辺FGに垂線を下ろしてその足をJとし、頂点Cから辺FGに垂線を下ろしてその足をKとし、頂点Dから辺HEに垂線を下ろしてその足をLとする(図5(B))。なお、この例では、四角形ABCDの頂点Aが長方形EFGHの辺EFに接しているため、点Iは長方形EFGHの頂点Eに一致している。また、四角形ABCDの頂点Dが長方形EFGHの辺GHと辺HEの双方に接している(頂点Hに接している)ため、点Lは頂点Dと頂点Hに一致している。
【0023】
次に、線分ILと線分JKの長さを比較して、短い方に対する長い方の長さの比R1(この例ではIL/JK)を求める。そして、長方形EFGHを、頂点Eを基準に頂点F方向にR1倍に拡大して、長方形EMNHを作成する(図5(C))。
【0024】
さらに、四角形ABCDの頂点Aから長方形EFGHの辺EFに垂線を下ろしてその足をOとし、頂点Bから辺EFに垂線を下ろしてその足をPとし、頂点Cから辺GHに垂線を下ろしてその足をQとし、頂点Dから辺GHに垂線を下ろしてその足をRとする(図5(D))。なお、この例では、四角形ABCDの頂点Aが長方形EFGHの辺EFに接しているため、点Oは四角形ABCDの頂点Aに一致しており、四角形ABCDの頂点Cが長方形EFGHの辺FGに接しているため、点Qは長方形EFGHの頂点Gに一致している。また、四角形ABCDの頂点Dが長方形EFGHの辺GHと辺HEの双方に接している(頂点Hに接している)ため、点Rは頂点Dと頂点Hに一致している。
【0025】
次いで、線分OPと線分QRの長さを比較して、短い方に対する長い方の長さの比R2(この例ではQR/OP)を求める。そして、長方形EMNHを、頂点Eを基準に頂点H方向にR2倍に拡大して、長方形EMSTを作成する(図5(E))。
【0026】
この長方形EMSTが図4の長方形A’B’C’D’であり、四角形ABCDの頂点A、B、C、Dと長方形EMSTの頂点E、M、S、Tをそれぞれ対応づけて、それらの座標を式(1)、(2)に代入することにより、パラメータm1〜m8を求める。なお、ここでは、長方形EFGHの拡大を横方向(x方向)について先に行い、縦方向(y方向)について後で行っているが、その順序は逆にしてもかまわなわない。また、途中で長方形EMNHを作成せずに、線分の長さの比R1とR2を求めて、長方形EFGHを横方向と縦方向に直接拡大して長方形EMSTを作成するようにしてもよい。
【0027】
ここに示した例では、四角形ABCDの辺の長さにAB<CD、BC<DAの関係があるが、上記の方法は、辺の長さの関係がこれとは異なる任意の四角形に適用することができる。
【0028】
パーソナルコンピュータ1における歪み補正の処理の流れを図6のフローチャートに示す。まず、歪みを有する補正対象の画像を読み込み(ステップ#1)、その画像全体を表示部に表示する(#2)。この表示例を図7に示す。ここでは、読み込んだ画像21に加えて、歪み補正の処理をするか否かを指示するためのボタン22、下地とばし処理をするか否かを指示するためのボタン23、および、処理の実行を指示するボタン24が表示される。この段階で、使用者はボタン22、23をマウスによって操作し、さらにボタン24を操作して処理の実行を指示する。
【0029】
次いで、画像の領域を示す既定の四角形を、画像に重ねて表示する(#3)。この表示例を図8に示す。所定の四角形32は画像の中央に位置する長方形である。なお、図8において、31は長方形の撮影対象の歪んだ像(例えば、白板の縁の像)である。四角形32の表示後、長方形とする領域の指定を受け付ける(#4)。使用者は、表示されている四角形32の4つの頂点をマウスを用いて移動させることにより、領域を指定する。この例では、四角形32の頂点を像31の頂点上に位置させることになる。指定後の領域を表す四角形33を図9に示す。なお、指定した領域が使用者に明確に判るように、既定の四角形32や形状変更後の四角形33の外部は、内部よりも低い輝度で表示される。
【0030】
領域指定を受け付けた後、図7のボタン22の操作により歪み補正を行う指示が与えられていたか否かを判定する(#5)。その指示が与えられていたときは、前述の方法によって式(1)、(2)のパラメータm1〜m8を決定し、画像21のうち四角形33の内部について歪みを補正する処理を行う(#6)。補正処理の終了後、およびステップ#5の判定で補正の指示を与えられていなかったときは、図7のボタン23の操作により下地とばし処理を行う指示が与えられていたか否かを判定する(#7)。
【0031】
この指示が与えられていたときは、輝度が所定値以上の画素の輝度を高める下地とばし処理を行う(#8)。この処理により、画像のうち何も描かれていない下地の部分が白色に観察されるようになり、描かれている文字、図形等が一層明瞭になる。なお、下地とばし処理については、例えば特開2002−281369号公報に開示されている。
【0032】
下地とばし処理の終了後、およびステップ#7の判定でその指示が与えられていなかったときは、補正後の画像(四角形33の領域に対応する部分)を表示して(#9)、処理を終了する。補正後の画像の表示例を図10に示す。図8、図9の画像は歪みを有し、そのため文字の大きさも異なっていたが、補正後の画像は歪みが除去され、文字の大きさも均一になる。
【0033】
指定された四角形を拡大する本発明の方法では、補正後の画像(四角形を拡大して長方形とした部分)が、補正前の画像全体よりも大きくなって、その全体を表示部に表示することができなくなることがある。その場合、補正後の画像を補正前の画像以下の大きさとなるように縮小するとよい。その縮小に際しては、歪みの補正によって画像の縦横比が適切になっているのを損なわないようにするために、縮小率を縦方向と横方向とで同じにするのが好ましい。
【0034】
また、ここでは、指定された四角形の領域内のみを補正するようにしているが、画像全体を補正するようにしてもよい。使用者が指定した四角形の領域の外に文字、図形等が描かれていることもあるからである。そのような事態は、例えば次のような場合に生じる。白板には縦横に罫線の引かれたものもあり、このような罫線は長方形を成すから、白板の縁と同様に、補正後に長方形とする領域として利用可能である。使用者が、この罫線が引かれた白板のうち文字、図形等が描かれた部分のみを、画像の一端から他端に達する程度に大きく撮影し、罫線に沿って比較的小さな四角形の領域を指定したときは、その領域の外に文字、図形等が位置することになる。
【0035】
画像全体を補正した場合は、補正後の画像全体を表示するとよい。補正後の画像全体は長方形にはならないが、その全体を観察できるように縮小して表示し、その画像について使用者が長方形の領域を指定できるようにして、指定された長方形の領域のみを拡大して再表示するようにするとよい。この場合も、縮小率や拡大率は縦方向と横方向とで等しくするのが好ましい。
【0036】
なお、本実施形態では、デジタルカメラ11で撮影した画像をパーソナルコンピュータ1で補正する構成としたが、デジタルカメラ11自体で補正を行うようにすることもできる。また、ここでは、光ディスク2によって画像処理プログラムを提供する例を掲げたが、インターネットを介して画像処理プログラムを提供するようにすることもできる。
【0037】
【発明の効果】
本発明の画像処理装置や画像処理プログラムによれば、あおり撮影した画像の歪みを、その画像のみに基づいて、かつ、あおりの方向に関わらず、容易に補正することができる。
【0038】
指定された四角形の領域が補正後に補正前の画像全体よりも大きくなるときに、補正後の画像を、互いに垂直な2方向について同じ率で、縮小するようにすると、補正前の画像を表示する範囲内に、指定された補正後の領域を確実に収めることができる。
【0039】
補正前に、指定された四角形の領域を画像と共に表示するようにすると、指定した四角形の領域が適切であるか否かが使用者に判り易い。
【図面の簡単な説明】
【図1】本発明の画像処理装置の一実施形態であるパーソナルコンピュータを示す模式的に示す図。
【図2】デジタルカメラによって白板を撮影する様子を示す図。
【図3】図2のようにして撮影した画像を示す図。
【図4】補正前の画像と補正後の画像の対応関係を示す図。
【図5】歪み補正に必要なパラメータを求めるための処理を示す図。
【図6】歪み補正の処理の流れ全体を示す図。
【図7】歪み補正の処理の初期段階での表示例を示す図。
【図8】領域指定に先だって表示する既定の四角形の領域の例を示す図。
【図9】使用者によって指定された四角形の領域を示す図。
【図10】歪み補正後の画像の例を示す図。
【符号の説明】
1 パーソナルコンピュータ
2 光ディスク
11 デジタルカメラ
12 白板
21 画像
22 あおり補正ボタン
23 下地とばしボタン
24 実行ボタン
31 白板像
32 既定領域
33 指定領域[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and an image processing program for correcting distortion of a tilted image.
[0002]
[Prior art]
Photographing and recording characters and figures on white boards and sheets has long been done, but in recent years, with the spread of digital cameras and personal computers, images of white boards taken with digital cameras have been taken into personal computers. Replaying and displaying on the Internet has come to be performed on a daily basis. However, an image without distortion can be obtained by shooting from the direction facing the shooting target. However, when tilt shooting is performed on the shooting target from an oblique direction, the shot image is usually distorted. The problem is that the characters in the image are difficult to read and the figure is deformed.
[0003]
Special shooting lenses that do not cause distortion in the image even when tilted shooting have been put to practical use in the past, but in many cases, distortion is corrected during playback without using such special shooting lenses. I have to. In the correction of distortion due to tilting, perspective transformation according to equations (1) and (2) is employed. Here, (x, y) is the coordinates of the point P of the image before correction, and (x ′, y ′) is the coordinates of the point P ′ of the corrected image corresponding to the point P.
x ′ = (m1 · x + m2 · y + m3) / (m7 · x + m8 · y + 1) (1)
y ′ = (m4 · x + m5 · y + m6) / (m7 · x + m8 · y + 1) (2)
[0004]
In order to perform coordinate conversion by the equations (1) and (2), it is necessary to determine eight parameters m1 to m8. These parameters m1 to m8 can be obtained from the tilt of the camera in the vertical direction and the horizontal direction from the direction facing the object to be imaged, and the distance between the camera and the object to be imaged. However, acquiring such information at the time of shooting is complicated and is not usually performed. Therefore, Japanese Patent Laid-Open No. 2001-84365 proposes to obtain parameters m1 to m8 from a photographed image itself. In this publication, when a portion that should be a rectangle becomes a trapezoid due to distortion, parameters m1 to m8 for making the trapezoid a rectangle based on a straight line passing through the midpoints of the two sides of the trapezoid that are not parallel to each other. Asking for.
[0005]
[Patent Document 1] Japanese Patent Application Laid-Open No. 2001-84365
[Problems to be solved by the invention]
However, the method described in the above publication is applicable when the image is taken from the oblique direction in the vertical direction and when the image is taken from the oblique direction in the horizontal direction, but is applied when the image is taken obliquely in both the vertical direction and the horizontal direction. Can not do it. For this reason, there is a restriction on the position of the camera with respect to the photographing target.
[0007]
The present invention has been made in view of such problems, and an object thereof is to provide an image processing apparatus and an image processing program capable of correcting distortion even if an image is taken from any direction. .
[0008]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, an image processing apparatus that corrects distortion of a rectangular image having distortion due to tilt shooting is specified with a quadrangle indicating a partial region of the image, and the four sides of the specified quadrangle Of each of the first side and the second side forming the opposite sides that are closer to the side parallel to the horizontal side than the vertical side of the image. The first value is divided and the third side and the fourth side forming opposite sides that are closer to the vertical side than the horizontal side of the image among the four sides of the specified quadrangle. Find the length in the vertical direction and divide the long side by the short side to get the second value. From the sum of the horizontal lengths of the first side and the second side, overlap the sides in the horizontal direction. The value obtained by multiplying the value obtained by subtracting the length of the portion by the second value is the sum of the length of the side in the horizontal direction and the length in the vertical direction of the third side and the fourth side. Generates a rectangle whose vertical length is the value obtained by multiplying the length of the vertical overlap of those sides by the first value, and generates four vertices of the specified rectangle. The distortion of the image is corrected by perspective transformation that matches the four vertices of the rectangle.
[0009]
In order to achieve the above object, according to the present invention, an image processing apparatus that corrects distortion of a rectangular image having distortion caused by tilt shooting is specified with a quadrangle indicating a partial area of the image, and the apexes are arranged. A, B, C, and D are set in this order, and the smallest rectangle that has a side parallel to the side of the image and circumscribes the rectangle ABCD is generated. The vertex of the rectangle is the vertex A and the vertex of the rectangle ABCD. E, F, G, H in order of arrangement so that side GH touches at least one of B and side GH touches at least one of vertex C and vertex D of quadrilateral ABCD. Let I be a perpendicular from the vertex B to the side FG and let the foot be J, drop a perpendicular from the vertex C to the side FG and let the foot be K, drop a perpendicular from the vertex D to the side HE and let the foot be L , From vertex A to edge EF Lower the line to make the foot O, drop the perpendicular from the vertex B to the side EF and make the foot P, drop the perpendicular from the vertex C to the side GH and make the foot Q, and make the perpendicular from the vertex D to the side GH Lower the leg to R and expand the rectangle EFGH in the direction from the vertex E to the vertex F by the ratio of the longer length of the line segment IL and line segment JK to the shorter one, and from the vertex E to the vertex In a direction toward H, a rectangle EMST is created by expanding the ratio of the longer one of the line segment OP and line segment QR to the shorter one, and the vertices A, B, C, and D of the rectangle ABCD are formed into the rectangle EMST. It is assumed that image distortion is corrected by perspective transformation that matches the vertices E, M, S, and T respectively.
[0010]
These image processing apparatuses perform correction so that a rectangular region having an arbitrary shape designated by the user becomes a rectangle parallel to the side of the image. By enlarging the horizontal size of the quadrangle by the ratio of the length of opposite sides in the vertical direction (≧ 1), and expanding the size of the vertical direction by the ratio of the length of the opposite sides in the horizontal direction (≧ 1), A rectangle that can be appropriately corrected is easily obtained. The user may specify a part of the image that is originally a rectangle, for example, a quadrangle having apexes at the four corners of a white plate or sheet image.
[0011]
Here, when the specified rectangular area becomes larger than the whole image before correction after correction, the corrected image may be reduced at the same rate in two directions perpendicular to each other. In this way, it is possible to reliably fit the designated corrected area within the range in which the image before correction is displayed.
[0012]
Prior to correction, a designated rectangular area may be displayed together with the image. It is easy for the user to determine whether or not the designated rectangular area is appropriate.
[0013]
The processing performed by each of the image processing apparatuses can be described as a program executed by a computer.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a
[0015]
FIG. 2 shows how a white board is photographed with a digital camera. 3A and 3B are images taken when the
[0016]
On the other hand, when the image is taken from an oblique direction in the horizontal direction, as shown in (B), the edge of the rectangular
[0017]
The
[0018]
Conversion for correction is performed according to the above-described equations (1) and (2). These equations include eight parameters m1 to m8. For example, the coordinates (x, y) of the four vertices A, B, C, and D of the square of the image having the distortion before correction shown in FIG. By substituting the coordinates (x ′, y ′) of the four vertices A ′, B ′, C ′, D ′ of the corrected image rectangle corresponding to these into the equations (1), (2), Parameters m1 to m8 are easily obtained. However, unless the rectangles A′B′C′D ′ are appropriately determined, the distortion cannot be corrected satisfactorily.
[0019]
In the present invention, in order to define the rectangle A′B′C′D ′, the following is performed. Of the two pairs of opposite sides of the specified quadrangle ABCD, the length in the horizontal direction (the x coordinate difference) of the opposite side (side AB and side CD in the example of FIG. 4) that is more parallel to the horizontal direction (x direction). And the ratio RH of the longer side to the shorter side is obtained. Further, the length (y coordinate) in the vertical direction of the remaining opposite sides (of the two opposite sides of the quadrangle ABCD, the opposite side that is nearly parallel to the vertical direction (y direction), side DA and side BC in the example of FIG. 4). The difference RV is calculated, and the longer ratio RV to the shorter one is determined. Then, the horizontal size of the rectangle ABCD is multiplied by the ratio RV in the vertical direction to obtain the length of the side in the horizontal direction of the rectangle A′B′C′D ′, and the vertical size of the rectangle ABCD is obtained. Multiply by the ratio RH in the horizontal direction to make this the length of the sides in the vertical direction of the rectangle A′B′C′D ′.
[0020]
With such a simple process, parameters m1 to m8 that can satisfactorily correct distortion caused by tilt shooting can be obtained. Hereinafter, this method will be described more specifically with reference to FIG.
[0021]
First, a minimum rectangle EFGH that is parallel to the side of the image and circumscribes a specified rectangular ABCD (the vertices are arranged in this order) is created (FIG. 5A). The minimum bounding rectangle EFGH can be easily obtained from the maximum and minimum values of the x and y coordinates of the four vertices of the rectangle ABCD. The vertices of the rectangle EFGH are E, F, G, H in order so that the side EF touches at least one of the vertices A and B of the quadrangle ABCD and the side GH touches at least one of the vertices C and D of the quadrangle ABCD. And
[0022]
Next, a vertical line is dropped from the vertex A of the rectangle ABCD to the side HE of the rectangle EFGH, the leg is set to I, a vertical line is dropped from the vertex B to the side FG, the leg is set to J, and a vertical line is dropped from the vertex C to the side FG. The foot is set as K, and a perpendicular is dropped from the vertex D to the side HE to set the foot as L (FIG. 5B). In this example, since the vertex A of the rectangle ABCD is in contact with the side EF of the rectangle EFGH, the point I coincides with the vertex E of the rectangle EFGH. In addition, since the vertex D of the rectangle ABCD is in contact with both the side GH and the side HE of the rectangle EFGH (is in contact with the vertex H), the point L coincides with the vertex D and the vertex H.
[0023]
Next, the lengths of the line segment IL and the line segment JK are compared to determine the ratio R1 of the longer length to the shorter one (IL / JK in this example). Then, the rectangle EFGH is enlarged R1 times in the direction of the vertex F with respect to the vertex E, thereby creating a rectangle EMNH (FIG. 5C).
[0024]
Furthermore, a perpendicular line is dropped from the vertex A of the rectangle ABCD to the side EF of the rectangle EFGH, the foot is set to O, a vertical line is dropped from the vertex B to the side EF, the foot is set to P, and a vertical line is dropped from the vertex C to the side GH. The leg is defined as Q, a perpendicular is dropped from the vertex D to the side GH, and the leg is defined as R (FIG. 5D). In this example, since the vertex A of the rectangle ABCD is in contact with the side EF of the rectangle EFGH, the point O is coincident with the vertex A of the rectangle ABCD, and the vertex C of the rectangle ABCD is in contact with the side FG of the rectangle EFGH. Therefore, the point Q coincides with the vertex G of the rectangle EFGH. Further, since the vertex D of the rectangle ABCD is in contact with both the side GH and the side HE of the rectangle EFGH (is in contact with the vertex H), the point R coincides with the vertex D and the vertex H.
[0025]
Next, the lengths of the line segment OP and the line segment QR are compared to determine the ratio R2 of the longer length to the shorter one (QR / OP in this example). Then, the rectangle EMNH is enlarged R2 times in the vertex H direction with reference to the vertex E, thereby creating a rectangle EMST (FIG. 5E).
[0026]
This rectangle EMST is the rectangle A′B′C′D ′ of FIG. 4, and the vertexes A, B, C, D of the rectangle ABCD are associated with the vertices E, M, S, T of the rectangle EMST, respectively. The parameters m1 to m8 are obtained by substituting the coordinates into the equations (1) and (2). Here, the enlargement of the rectangle EFGH is performed first in the horizontal direction (x direction) and later in the vertical direction (y direction), but the order may be reversed. Alternatively, the rectangle EMNH may be created by directly enlarging the rectangle EFGH in the horizontal direction and the vertical direction by obtaining the ratios R1 and R2 of the lengths of the line segments without creating the rectangle EMNH in the middle.
[0027]
In the example shown here, the side length of the rectangle ABCD has a relationship of AB <CD and BC <DA. However, the above method is applied to any rectangle having a different side length relationship. be able to.
[0028]
The flow of distortion correction processing in the
[0029]
Next, a predetermined rectangle indicating the area of the image is displayed so as to overlap the image (# 3). An example of this display is shown in FIG. The
[0030]
After accepting the area designation, it is determined whether or not an instruction to correct distortion is given by operating the button 22 in FIG. 7 (# 5). When the instruction is given, the parameters m1 to m8 in the equations (1) and (2) are determined by the above-described method, and the distortion correction is performed on the inside of the
[0031]
If this instruction has been given, a background removal process is performed to increase the luminance of pixels whose luminance is greater than or equal to a predetermined value (# 8). By this processing, the base portion on which nothing is drawn is observed in white in the image, and the drawn characters, figures, and the like become clearer. The ground removal process is disclosed in, for example, Japanese Patent Application Laid-Open No. 2002-281369.
[0032]
After completion of the background removal process and when the instruction is not given in the determination in
[0033]
In the method of the present invention for enlarging a specified quadrangle, the corrected image (the portion obtained by enlarging the quadrangle into a rectangle) is larger than the entire image before correction, and the entire image is displayed on the display unit. May not be possible. In that case, the corrected image may be reduced so as to be smaller than the image before the correction. At the time of the reduction, it is preferable that the reduction ratio is the same in the vertical direction and the horizontal direction so as not to impair that the aspect ratio of the image is appropriate by correcting the distortion.
[0034]
In this example, only the designated rectangular area is corrected. However, the entire image may be corrected. This is because characters, figures, and the like may be drawn outside the rectangular area designated by the user. Such a situation occurs, for example, in the following case. Some white plates have ruled lines in the vertical and horizontal directions, and such ruled lines form a rectangle, so that the white plate can be used as a rectangular region after correction in the same manner as the edge of the white plate. The user shoots only the portion of the white board with the ruled lines on which characters, figures, etc. are drawn so that it reaches the other end from one end of the image, and creates a relatively small rectangular area along the ruled line. When specified, characters, figures, etc. will be located outside that area.
[0035]
When the entire image is corrected, the entire corrected image may be displayed. Although the entire image after correction does not become a rectangle, it is displayed in a reduced size so that it can be observed, and the user can specify a rectangular area for that image, and only the specified rectangular area is enlarged. And redisplay it. Also in this case, it is preferable that the reduction ratio and the enlargement ratio are equal in the vertical direction and the horizontal direction.
[0036]
In the present embodiment, the image captured by the
[0037]
【The invention's effect】
According to the image processing apparatus and the image processing program of the present invention, distortion of a tilted image can be easily corrected based on only the image and irrespective of the tilt direction.
[0038]
When the specified rectangular area becomes larger than the entire image before correction after correction, if the image after correction is reduced at the same rate in two directions perpendicular to each other, the image before correction is displayed. The specified corrected area can be reliably contained within the range.
[0039]
If the designated rectangular area is displayed together with the image before correction, it is easy for the user to know whether or not the designated rectangular area is appropriate.
[Brief description of the drawings]
FIG. 1 is a diagram schematically showing a personal computer which is an embodiment of an image processing apparatus of the present invention.
FIG. 2 is a diagram showing a state in which a white board is photographed by a digital camera.
FIG. 3 is a view showing an image taken as shown in FIG. 2;
FIG. 4 is a diagram illustrating a correspondence relationship between an image before correction and an image after correction.
FIG. 5 is a diagram showing a process for obtaining parameters necessary for distortion correction.
FIG. 6 is a diagram showing an overall flow of distortion correction processing;
FIG. 7 is a diagram showing a display example at an initial stage of distortion correction processing;
FIG. 8 is a diagram showing an example of a default rectangular area to be displayed prior to area designation.
FIG. 9 is a view showing a rectangular area designated by a user.
FIG. 10 is a diagram illustrating an example of an image after distortion correction.
[Explanation of symbols]
DESCRIPTION OF
Claims (6)
画像の一部の領域を示す四角形を指定され、
指定された四角形の四辺のうち画像の縦方向の辺よりも横方向の辺に対して平行に近い対辺を成す第1の辺と第2の辺のそれぞれの横方向の長さを求めて、長い方を短い方で除して第1の値とし、
指定された四角形の四辺のうち画像の横方向の辺よりも縦方向の辺に対して平行に近い対辺を成す第3の辺と第4の辺のそれぞれの縦方向の長さを求めて、長い方を短い方で除して第2の値とし、
第1の辺と第2の辺の横方向の長さの和からそれらの辺の横方向の重なり部分の長さを減じた値に第2の値を乗じた値を横方向の辺の長さ、第3の辺と第4の辺の縦方向の長さの和からそれらの辺の縦方向の重なり部分の長さを減じた値に第1の値を乗じた値を縦方向の辺の長さとする長方形を生成して、
指定された四角形の4つの頂点を生成した長方形の4つの頂点に一致させる透視変換によって画像の歪みを補正する
ことを特徴とする画像処理装置。In an image processing apparatus that corrects distortion of a rectangular image having distortion due to tilt shooting,
Given a rectangle that represents a partial area of the image,
Finding the horizontal lengths of the first and second sides of the four sides of the specified quadrangle, which are opposite to each other and closer to the horizontal side than the vertical side of the image, Divide the longer one by the shorter one to get the first value,
Finding the vertical lengths of the third and fourth sides of the four sides of the specified quadrangle, which are opposite to each other and closer to the vertical side than the horizontal side of the image, Divide the longer one by the shorter one to get the second value,
The length of the side in the horizontal direction is obtained by multiplying the sum of the lengths in the horizontal direction of the first side and the second side by the value obtained by subtracting the length of the overlapping portion in the horizontal direction of those sides and the second value. The vertical side is a value obtained by multiplying the sum of the vertical lengths of the third side and the fourth side by the length obtained by subtracting the length of the vertical overlapping portion of those sides and the first value. Generate a rectangle with the length of
An image processing apparatus that corrects image distortion by perspective transformation that matches four vertices of a specified rectangle with four vertices of a generated rectangle.
画像の一部の領域を示す四角形を指定されて、その頂点を並び順にA、B、C、Dとし、
画像の辺に平行な辺を有し、四角形ABCDに外接する最小の長方形を生成して、その長方形の頂点を、辺EFが四角形ABCDの頂点Aおよび頂点Bの少なくとも一方に接し、辺GHが四角形ABCDの頂点Cおよび頂点Dの少なくとも一方に接するように、並び順にE、F、G、Hとし、
頂点Aから辺HEに垂線を下ろしてその足をIとし、
頂点Bから辺FGに垂線を下ろしてその足をJとし、
頂点Cから辺FGに垂線を下ろしてその足をKとし、
頂点Dから辺HEに垂線を下ろしてその足をLとし、
頂点Aから辺EFに垂線を下ろしてその足をOとし、
頂点Bから辺EFに垂線を下ろしてその足をPとし、
頂点Cから辺GHに垂線を下ろしてその足をQとし、
頂点Dから辺GHに垂線を下ろしてその足をRとし、
長方形EFGHを、頂点Eから頂点Fに向かう方向に、線分ILと線分JKのうち短い方に対する長い方の長さの比だけ拡大するとともに、頂点Eから頂点Hに向かう方向に、線分OPと線分QRのうち短い方に対する長い方の長さの比だけ拡大して、長方形EMSTを作成し、
四角形ABCDの頂点A、B、C、Dを長方形EMSTの頂点E、M、S、Tにそれぞれ一致させる透視変換によって画像の歪みを補正する
ことを特徴とする画像処理装置。In an image processing apparatus that corrects distortion of a rectangular image having distortion due to tilt shooting,
Given a quadrangle that indicates a partial area of the image, the vertices are A, B, C, and D in order,
A smallest rectangle having sides parallel to the sides of the image and circumscribing the rectangle ABCD is generated, and the vertex of the rectangle is touched by at least one of the vertex A and the vertex B of the rectangle ABCD, and the side GH is E, F, G, H in order of arrangement so as to contact at least one of the vertex C and the vertex D of the rectangle ABCD,
Draw a perpendicular from the vertex A to the side HE and let that foot be I,
Draw a perpendicular from the vertex B to the side FG and let that foot be J,
Draw a perpendicular from the vertex C to the side FG and let that foot be K,
Draw a perpendicular from the vertex D to the side HE and let that foot be L,
Draw a perpendicular line from the vertex A to the side EF and set the foot to O.
Draw a perpendicular from vertex B to side EF and let that foot be P,
Draw a perpendicular from the vertex C to the side GH and let that foot be Q,
Draw a perpendicular from the vertex D to the side GH and let that foot be R,
The rectangle EFGH is enlarged in the direction from the vertex E to the vertex F by the ratio of the longer length of the line segment IL and the line segment JK to the shorter one, and the line segment in the direction from the vertex E to the vertex H. A rectangle EMST is created by enlarging by the ratio of the longer length of the OP and the line segment QR to the shorter one,
An image processing apparatus that corrects image distortion by perspective transformation in which vertices A, B, C, and D of a quadrangle ABCD coincide with vertices E, M, S, and T of a rectangle EMST, respectively.
画像の一部の領域を示す四角形の指定を受け付ける処理と、
指定された四角形の四辺のうち画像の縦方向の辺よりも横方向の辺に対して平行に近い対辺を成す第1の辺と第2の辺のそれぞれの横方向の長さを求めて、長い方を短い方で除して第1の値とする処理と、
指定された四角形の四辺のうち画像の横方向の辺よりも縦方向の辺に対して平行に近い対辺を成す第3の辺と第4の辺のそれぞれの縦方向の長さを求めて、長い方を短い方で除して第2の値とする処理と、
第1の辺と第2の辺の横方向の長さの和からそれらの辺の横方向の重なり部分の長さを減じた値に第2の値を乗じた値を横方向の辺の長さ、第3の辺と第4の辺の縦方向の長さの和からそれらの辺の縦方向の重なり部分の長さを減じた値に第1の値を乗じた値を縦方向の辺の長さとする長方形を生成する処理と、
指定された四角形の4つの頂点を生成した長方形の4つの頂点に一致させる透視変換によって画像の歪みを補正する処理
が記されていることを特徴とする画像処理プログラム。In an image processing program in which processing for correcting distortion of a rectangular image having distortion due to tilt shooting is described,
A process of accepting specification of a rectangle indicating a partial area of the image;
Finding the horizontal lengths of the first and second sides of the four sides of the specified quadrangle, which are opposite to each other and closer to the horizontal side than the vertical side of the image, A process of dividing the long side by the short side to obtain the first value;
Finding the vertical lengths of the third and fourth sides of the four sides of the specified quadrangle, which are opposite to each other and closer to the vertical side than the horizontal side of the image, A process of dividing the longer one by the shorter one to obtain the second value;
The length of the side in the horizontal direction is obtained by multiplying the sum of the lengths in the horizontal direction of the first side and the second side by the value obtained by subtracting the length of the overlapping portion in the horizontal direction of those sides and the second value. The vertical side is a value obtained by multiplying the sum of the vertical lengths of the third side and the fourth side by the length obtained by subtracting the length of the vertical overlapping portion of those sides and the first value. Processing to generate a rectangle with the length of
An image processing program characterized in that a process for correcting image distortion is described by perspective transformation for matching four vertices of a specified rectangle with four vertices of a generated rectangle.
画像の一部の領域を示す四角形の指定を受け付けて、その頂点を並び順にA、B、C、Dとする処理と、
画像の辺に平行な辺を有し、四角形ABCDに外接する最小の長方形を生成して、その長方形の頂点を、辺EFが四角形ABCDの頂点Aおよび頂点Bの少なくとも一方に接し、辺GHが四角形ABCDの頂点Cおよび頂点Dの少なくとも一方に接するように、並び順にE、F、G、Hとする処理と、
頂点Aから辺HEに垂線を下ろしてその足をIとし、
頂点Bから辺FGに垂線を下ろしてその足をJとし、
頂点Cから辺FGに垂線を下ろしてその足をKとし、
頂点Dから辺HEに垂線を下ろしてその足をLとし、
頂点Aから辺EFに垂線を下ろしてその足をOとし、
頂点Bから辺EFに垂線を下ろしてその足をPとし、
頂点Cから辺GHに垂線を下ろしてその足をQとし、
頂点Dから辺GHに垂線を下ろしてその足をRとする処理と、
長方形EFGHを、頂点Eから頂点Fに向かう方向に、線分ILと線分JKのうち短い方に対する長い方の長さの比だけ拡大するとともに、頂点Eから頂点Hに向かう方向に、線分OPと線分QRのうち短い方に対する長い方の長さの比だけ拡大して、長方形EMSTを作成する処理と、
四角形ABCDの頂点A、B、C、Dを長方形EMSTの頂点E、M、S、Tにそれぞれ一致させる透視変換によって画像の歪みを補正する処理
が記されていることを特徴とする画像処理プログラム。In an image processing program in which processing for correcting distortion of a rectangular image having distortion due to tilt shooting is described,
A process of accepting designation of a quadrangle indicating a partial area of an image and setting the vertices to A, B, C, and D in the order of arrangement;
A smallest rectangle having a side parallel to the side of the image and circumscribing the rectangle ABCD is generated, and the vertex of the rectangle is touched by at least one of the vertex A and the vertex B of the rectangle ABCD, and the side GH is A process of setting E, F, G, and H in the arrangement order so as to contact at least one of the vertex C and the vertex D of the rectangle ABCD;
Draw a perpendicular from the vertex A to the side HE and let that foot be I,
Draw a perpendicular from the vertex B to the side FG and let that foot be J,
Draw a perpendicular from the vertex C to the side FG and let that foot be K,
Draw a perpendicular from the vertex D to the side HE and let that foot be L,
Draw a perpendicular line from the vertex A to the side EF and set the foot to O.
Draw a perpendicular from vertex B to side EF and let that foot be P,
Draw a perpendicular from the vertex C to the side GH and let that foot be Q,
A process of dropping a perpendicular from the vertex D to the side GH and setting the foot to R;
The rectangle EFGH is enlarged in the direction from the vertex E to the vertex F by the ratio of the longer length of the line segment IL and the line segment JK to the shorter one, and the line segment in the direction from the vertex E to the vertex H. A process of enlarging by a ratio of the longer length of the OP and the line segment QR to the shorter one to create a rectangle EMST;
An image processing program characterized in that a process for correcting image distortion is described by perspective transformation in which the vertices A, B, C, and D of the rectangle ABCD are made to coincide with the vertices E, M, S, and T of the rectangle EMST, respectively. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003179031A JP2005018195A (en) | 2003-06-24 | 2003-06-24 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003179031A JP2005018195A (en) | 2003-06-24 | 2003-06-24 | Image processing apparatus and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005018195A true JP2005018195A (en) | 2005-01-20 |
Family
ID=34180447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003179031A Pending JP2005018195A (en) | 2003-06-24 | 2003-06-24 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005018195A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100685858B1 (en) | 2005-01-20 | 2007-02-22 | (주)제이투엠소프트 | Perspective Distortion Correction Method and System |
JP2007058634A (en) * | 2005-08-25 | 2007-03-08 | Ricoh Co Ltd | Image processing method and image processor, digital camera equipment, and recording medium with image processing program stored thereon |
KR101028171B1 (en) | 2009-04-22 | 2011-04-08 | 이화여자대학교 산학협력단 | How to determine the aspect ratio for a rectangular document projected on a camera based on three-dimensional perspective projection |
US8127730B2 (en) | 2007-12-13 | 2012-03-06 | Schaeffler Technologies Gmbh & Co. Kg | Device for coupling valve activating levers of an internal combustion engine |
US8411998B2 (en) | 2008-07-17 | 2013-04-02 | Aptina Imaging Corporation | Method and apparatus providing perspective correction and/or image dewarping |
JP2014021647A (en) * | 2012-07-17 | 2014-02-03 | Kurabo Ind Ltd | Tilt correction device, tilt correction method and computer program for tilt correction |
KR101784315B1 (en) * | 2016-06-10 | 2017-10-12 | 한국과학기술원 | Devices for correcting perspective distortion and method of correcting perspective distortion |
CN110390339A (en) * | 2019-07-16 | 2019-10-29 | 北京市计算中心 | A kind of method for correcting image, device and storage medium |
CN113628184A (en) * | 2021-08-06 | 2021-11-09 | 信利光电股份有限公司 | Method and device for detecting defects of display screen based on Fourier transform and readable storage medium |
-
2003
- 2003-06-24 JP JP2003179031A patent/JP2005018195A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100685858B1 (en) | 2005-01-20 | 2007-02-22 | (주)제이투엠소프트 | Perspective Distortion Correction Method and System |
JP2007058634A (en) * | 2005-08-25 | 2007-03-08 | Ricoh Co Ltd | Image processing method and image processor, digital camera equipment, and recording medium with image processing program stored thereon |
JP4712487B2 (en) * | 2005-08-25 | 2011-06-29 | 株式会社リコー | Image processing method and apparatus, digital camera apparatus, and recording medium recording image processing program |
US8127730B2 (en) | 2007-12-13 | 2012-03-06 | Schaeffler Technologies Gmbh & Co. Kg | Device for coupling valve activating levers of an internal combustion engine |
US8411998B2 (en) | 2008-07-17 | 2013-04-02 | Aptina Imaging Corporation | Method and apparatus providing perspective correction and/or image dewarping |
KR101028171B1 (en) | 2009-04-22 | 2011-04-08 | 이화여자대학교 산학협력단 | How to determine the aspect ratio for a rectangular document projected on a camera based on three-dimensional perspective projection |
JP2014021647A (en) * | 2012-07-17 | 2014-02-03 | Kurabo Ind Ltd | Tilt correction device, tilt correction method and computer program for tilt correction |
KR101784315B1 (en) * | 2016-06-10 | 2017-10-12 | 한국과학기술원 | Devices for correcting perspective distortion and method of correcting perspective distortion |
CN110390339A (en) * | 2019-07-16 | 2019-10-29 | 北京市计算中心 | A kind of method for correcting image, device and storage medium |
CN113628184A (en) * | 2021-08-06 | 2021-11-09 | 信利光电股份有限公司 | Method and device for detecting defects of display screen based on Fourier transform and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4493113B2 (en) | Projector and projection image correction apparatus | |
CN109104596B (en) | Projection system and correction method of display image | |
JP4363151B2 (en) | Imaging apparatus, image processing method thereof, and program | |
JP4341629B2 (en) | Imaging apparatus, image processing method, and program | |
JP2020187358A (en) | Projection system, projection apparatus and calibrating method for displayed image thereof | |
CN101990079A (en) | Projector and trapezoidal distortion correcting method | |
JP2002247614A (en) | Projector | |
EP1936969A2 (en) | Projection type display device | |
JP2006074512A (en) | Photographing device, and image processing method, and program for photographing device | |
JP5997882B2 (en) | Projector and projector control method | |
JP2009206800A (en) | Image processing apparatus, projector and image processing method | |
JP2000221586A5 (en) | ||
CN103581636B (en) | Image display device, method for displaying image and image display program | |
JP5644461B2 (en) | Image processing apparatus and program | |
JP2005051577A (en) | Projector and projection image correction method thereof | |
JP2002057879A (en) | Apparatus and method for image processing, and computer readable recording medium | |
JP2019220887A (en) | Image processing system, image processing method, and program | |
JP2005018195A (en) | Image processing apparatus and image processing program | |
JP5099312B2 (en) | Projector, program, and information storage medium | |
CN110784692B (en) | Projection device, projection system and image correction method | |
JP4238749B2 (en) | Image processing apparatus, image projection apparatus, image processing method, and program | |
JP4363154B2 (en) | Imaging apparatus, image processing method thereof, and program | |
TWI858231B (en) | Resolution measurement method, resolution measurement system, computer device and computer readable medium | |
JP2006211046A (en) | Photographing apparatus, image processing method for photographing apparatus, and program | |
JP7391502B2 (en) | Image processing device, image processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20050615 |