JP2004341865A - Method, device and program for correcting inclination of image - Google Patents
Method, device and program for correcting inclination of image Download PDFInfo
- Publication number
- JP2004341865A JP2004341865A JP2003138183A JP2003138183A JP2004341865A JP 2004341865 A JP2004341865 A JP 2004341865A JP 2003138183 A JP2003138183 A JP 2003138183A JP 2003138183 A JP2003138183 A JP 2003138183A JP 2004341865 A JP2004341865 A JP 2004341865A
- Authority
- JP
- Japan
- Prior art keywords
- image
- angle
- linear guide
- minimum unit
- inclination
- 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
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、コンピュータに取り込まれた画像について、人間がその傾き(回転)角度を指定することにより、画像の傾き(回転)を補正する方法、及び、装置、並びに、プログラムに関する。
【0002】
【従来の技術】
文書をスキャナ(走査装置)で画像として取り込むとき、文書が傾いて(回転して)いたり、書かれている文書内容自体が文書用紙に対して傾いて(回転して)いた場合、入力された文書は、傾いた(回転した)状態で見苦しい画像となってしまう。その文書画像に対して文字認識を行うと、傾いた(回転した)状態のままでは、認識率に悪影響を及ぼす。また、圧縮してファイリングする場合でも、傾いて(回転して)いると圧縮率が悪くなることが多い。従って、傾いた(回転した)角度分を逆に回転し、文書画像が水平線、あるいは、垂直線に対して平行になるよう傾きを補正しておくことが必要となる。
【0003】
傾き(回転)補正するために、取り込まれた画像をコンピュータ処理し、自動的に傾き(回転)角度を検出する方法がある。しかし、その文書が、文字だけでなく斜め線の多い図形や写真などの画像を含んでいると、傾き(回転)角度を自動的に検出することは不可能なことが多い。このような場合は、文書の傾き(回転)角度を人間が対話的に指定することが必要となる。
【0004】
文書の傾き(回転)角度を人間が指定する方法として、特許文献1の従来技術がある。これは、文書画像を表示装置に表示し、表示装置の画面に表示されている文書画像上で、文書の文字列に沿った矩形領域をポインティングデバイスであるマウスによって人間が指定し、矩形領域内の文字を認識しようとするものである。このとき、文書画像が傾いて(回転して)いても、矩形領域の1辺を文字列に平行になるように指定することで、文書画像の傾き(回転)角度を与えている。文書画像が表示されている表示画面上でマウスの位置表示カーソルを移動させ、マウスをクリックした時点での位置表示カーソルの位置で、3つの点を与えることにより矩形領域を指定するもので、文書画像の傾き(回転)角度は、3つの点の内の第1点と第2点の表示画面上の位置から求めている。
【特許文献1】
特開平4−288691号公報
【0005】
【発明が解決しようとする課題】
しかし、マウスの画面上にある位置表示カーソルでの位置指定は、精度が悪く、思い通りの位置を正確に指定できないことが多い。マウスに限らず、ジョイスティック、ポインティングスティック、トラックボール、トラックパッド、グライドポイント、ペンなど、ポインティングデバイスの位置表示カーソルの位置による位置指定は、指示精度が悪い。例えば、ポインティングデバイスの画面上の位置をクリックすることで2点を与え、傾きのない水平線、あるいは、垂直線を引くのに、かなりの集中力を必要とすることからも説明できる。集中力が必要となるのは、ポインティングデバイスで位置表示カーソルを指定したい位置に置き、その位置を固定した状態のまま、ポインティングデバイスのクリックボタンをクリックしなければならず、クリック動作が指定したい位置をずらしてしまう可能性があるからである。
【0006】
文書中の直線の角度が0.1度、あるいは、0.01度傾いて(回転して)も、画面上に表示されている直線が階段状になり、見苦しくなってしまうため、文書の傾き(回転)角度は、精度良く与える必要がある。
このような状況から、本発明は、人間が、比較的容易に、文書画像等の傾き(回転)角度を、精度良く与えることを目的としている。
【0007】
【課題を解決するための手段】
画像の傾き(回転)角度を精度良く与えるための本発明の第1の方法は、画像を表示した画面上に、線分で示される直線ガイドを表示し、その直線ガイドを最小単位の角度、あるいは、最小単位の倍数の角度で回転できるようにし、ポインティングデバイスのクリック回数、あるいは、キーボードのキータッチ回数で、単位角度、あるいは、単位角度の倍数の回転を行い、直線ガイドが画像の傾き(回転)角度と平行になるよう人間が操作することで、画像の傾き(回転)角度を指定するものである。
【0008】
また、本発明の第2の方法は、画像を表示した画面上に、線分で示される直線ガイドを表示し、その直線ガイドの片方の端点が位置座標の最小単位、あるいは、最小単位の倍数の座標を移動できるようにし、ポインティングデバイスのクリック回数、あるいは、キーボードのキータッチ回数で、単位座標、あるいは、単位座標の倍数の移動を行い、直線ガイドが画像の傾き(回転)角度と平行になるよう人間が操作することで、画像の傾き(回転)角度を指定するものである。
【0009】
また、本発明の第3の方法は、前記第1の方法と第2の方法を合わせたもので、画像を表示した画面上に、線分で示される直線ガイドを表示し、その直線ガイドを最小単位の角度、あるいは、最小単位の倍数の角度で回転できるようにし、あるいは、その直線ガイドの片方の端点が位置座標の最小単位、あるいは、最小単位の倍数の座標を移動できるようにし、ポインティングデバイスのクリック回数、あるいは、キーボードのキータッチ回数で、単位角度、あるいは、単位角度の倍数の回転、あるいは、単位座標、あるいは、単位座標の倍数の移動を行い、直線ガイドが画像の傾き(回転)角度と平行になるよう人間が操作することで、画像の傾き(回転)角度を指定するものである。
【0010】
【発明の実施の形態】
図1は、本発明の第1の方法で、表示装置に表示された、画像の傾き(回転)角度を指定するための操作画面である。
人間と対話的に画像の傾き(回転)補正する処理を含む、ファイリングプログラムや文字認識プログラムを実行させることにより、表示装置の画面に図1の窓101を表示させ、窓内の画像表示領域103に編集したい画像104を表示させる。対象となる画像が傾いて(回転して)いた場合、傾き(回転)処理を次のようにして行う。
【0011】
まず、操作メニューの「編集(E)」105の場所にポインティングデバイスの位置表示カーソルを置き、ポインティングデバイスのクリックボタンを押す(クリックする)ことにより、編集種類メニュー106を表示させる。この操作を”「編集(E)」をクリックする”ということにする。以下、同様である。編集種類メニュー106中の「回転」107をクリックすることにより、「回転方法指定」窓108を出現させる。「回転方法指定」窓内メニューの「直線ガイドによる傾き補正」110をクリックすることにより、「直線ガイドによる傾き補正」窓111を表示し、さらに、適当な長さの直線ガイド112を画像104上の適当な位置に重ねて表示させる。図1では、この直線ガイドの初期表示を水平線で与えているが、垂直線にしてもよい。直線ガイドは、破線にしたり、色を付けるなどして、画像104と区別がつくようにしておく。ここでは、自動的に直線ガイドを表示することを想定しているが、ポインティングデバイスで2点を指定する方法で、直線ガイドを与えてもよい。
【0012】
本発明は、人間がポインティングデバイス、あるいは、キーボードを操作することにより、この直線ガイドの中点を中心として直線ガイドのみを回転させ、直線ガイドを画像の傾きと平行にすることで、この直線ガイドの傾きから画像の傾き(回転)角度を与える。ここでは、直線ガイドの中点を中心に回転させるが、回転の中心は中点に限定されない。
【0013】
「直線ガイドによる傾き補正」窓111内の回転方向指定ボタン116内で、ポインティングデバイスの左ボタンをクリックすることにより直線ガイドを左回転させ、右ボタンをクリックすることにより直線ガイドを右回転させる。それぞれ、左クリック、右クリックということにする。ポインティングデバイスの中のマウスなどは、左クリックと右クリックを行うことができるが、ペンなど左右別のクリックを行えないポインティングデバイスでは、回転方向指定ボタン116内の左部分117をクリックしたときに直線ガイドを左回転させ、回転方向指定ボタン116内の右部分118をクリックしたときに直線ガイドを右回転させる。あるいは、キーボードの「J」をキータッチしたときに直線ガイドを左回転させ、キーボードの「K」をキータッチしたときに直線ガイドを右回転させる。左右の回転を指示するキーボードのキーは、「J」、「K」に限定されるものではない。別のキーを割り当ててもよいが、片手で操作する場合は、キーボードの中で隣り合ったキーを与えた方が便利である。
【0014】
ポインティングデバイスの1回のクリックやキーボードの1回のキータッチにより、直線ガイド112を最小単位の角度で回転させる。角度の最小単位は、例えば0.01度とすることが考えられるが、これに限定されるものではない。
【0015】
最小単位での動作では遅いことがあり、速度を速めるためには、シフトキーを押しながらポインティングデバイスのクリックボタンを1回クリックする、あるいは、シフトキーを押しながらキーボードのキーを1回キータッチすることにより、最小単位のn倍の角度を回転させればよい。ここではシフトキーを使っているが、これに限定されない。例としてn=10とすることが考えられるが、これに限定されるものではない。また、速度を速めるために、ポインティングデバイスのクリックボタンを押したままでいる、あるいは、キーボードのキーをキータッチしたままでいることで、クリックボタンをはなすまで、あるいは、キーをはなすまで、最小単位、あるいは、最小単位のn倍の回転をし続けるようにする方法もある。
【0016】
直線ガイド112全体を、画像の傾き(回転)角度と平行にしやすい別の場所に移動したい場合は、「直線ガイドによる傾き補正」窓111内の矢印で示された各移動方向指示ボタン119、120、121、122をクリックする、あるいは、キーボードの各矢印キーをキータッチして、適当な位置に移動させる。あるいは、直線ガイドをポインティングデバイスでクリックしたまま、ポインティングデバイスを移動させることにより、直線ガイド全体を移動する方法もある。
【0017】
直線ガイド112が、画像の傾き(回転)角度と平行になるように指定できた時点で、「直線ガイドによる傾き補正」窓111内の「傾き補正」ボタン127をクリックする。この方法によるポインティングデバイスのクリック動作、及び、キータッチ動作は、直線ガイドの傾きを変化させないため、傾き(回転)角度を正確に指定できる。これにより、コンピュータは、現在の直線ガイドの傾きから傾き(回転)角度を計算し、その傾き(回転)角度分画像を逆回転させることで傾き(回転)補正を行い、傾き(回転)補正された画像を画像表示領域103に表示する。表示された画像でよければ、この画像を保存する、あるいは、この画像に対して文字認識を行う。
【0018】
図2は、本発明の第2の方法で、表示装置に表示された、画像の傾き(回転)角度を指定するための操作画面である。画像の傾き(回転)補正処理を含む、ファイリングプログラムや文字認識プログラムを実行させることにより、表示装置の画面に図2の窓201を表示させ、窓内の画像表示領域203に編集したい画像204を表示させる。対象となる画像が傾いて(回転して)いた場合、傾き(回転)処理を次のようにして行う。
【0019】
まず、操作メニューの「編集(E)」205をポインティングデバイスでクリックすることにより、編集種類メニュー206を表示させる。編集種類メニュー中の「回転」207をクリックすることにより、「回転方法指定」窓208を出現させる。「回転方法指定」窓内メニューの「直線ガイドによる傾き補正」210をクリックすることにより、「直線ガイドによる傾き補正」窓211を表示し、さらに、画像204上に直線ガイド212を重ねて表示させる。直線ガイドの左側の端点214を端点1、右側の端点215を端点2とする。図2では、この直線ガイドを水平線で与えているが、垂直線にしてもよい。
【0020】
本発明は、人間がポインティングデバイス、あるいは、キーボードを操作することにより、この直線ガイドの端点を移動させ、直線ガイドを画像の傾きと平行にすることで、この直線ガイドの傾きから画像の傾き(回転)角度を与える。「直線ガイドによる傾き補正」窓211内の「端点1」ボタン223、あるいは、「端点2」ボタン224をポインティングデバイスでクリックすることにより、直線ガイド212の1つの端点を、別の端点を固定したまま移動できるようにする。直線ガイドが表示された初期状態では、「直線ガイドによる傾き補正」窓211内の「端点2」ボタン224をクリックしなくても端点2が移動できるようにしておくと作業効率がよい。端点の移動は、「直線ガイドによる傾き補正」窓211内の矢印で示された各移動方向指示ボタン219、220、221、222、あるいは、キーボードの各矢印キーで行う。移動方向は、上下左右4つの方向があり、それぞれ、ポインティングデバイスで1回クリックする、あるいは、キーボードの矢印キーを1回キータッチすることにより、直線ガイド212の端点214、または、端点215を位置座標の最小単位で該当方向に移動させる。位置座標の最小単位は、表示装置の最小画素にすることが考えられるが、これに限定されるものではない。
【0021】
最小単位での動作では遅いことがあり、速度を速めるためには、シフトキーを押しながらポインティングデバイスのクリックボタンを1回クリックする、あるいは、シフトキーを押しながらキーボードのキーを1回キータッチすることにより、最小単位のn倍を移動させればよい。また、速度を速めるために、ポインティングデバイスのクリックボタンを押したままでいる、あるいは、キーボードのキーをキータッチしたままでいることで、クリックボタンをはなすまで、あるいは、キーをはなすまで、最小単位、あるいは、最小単位のn倍を移動し続けるようにする方法もある。
【0022】
直線ガイド212全体を、画像の傾き(回転)角度と平行にしやすい位置に移動したい場合は、「直線ガイドによる傾き補正」窓211内の「直線」ボタン225をクリックし、「直線ガイドによる傾き補正」窓211内の方向指示ボタン219、220、221、222をクリックするか、キーボードの矢印キーをキータッチすることによって適当な位置に移動させる。
【0023】
直線ガイド212が、画像の傾き(回転)角度と平行になるように指定できた時点で、「傾き補正」ボタン227をクリックする。この方法によるポインティングデバイスのクリック動作、及び、キータッチ動作は、直線ガイドの傾きを変化させないため、傾き(回転)角度を正確に指定できる。これにより、コンピュータは、現在の直線ガイドの傾きから傾き角度を計算し、その傾き角度分画像を逆回転させることで傾き補正を行い、傾き補正された画像を画像表示領域203に表示する。表示された画像でよければ、この画像を保存する、あるいは、この画像に対して文字認識を行う。
【0024】
図3は、本発明の第3の方法であり、第1の方法と第2の方法を合わせたもので、表示装置に表示された、画像の傾き(回転)角度を指定するための操作画面である。人間と対話的に画像の傾き(回転)補正する処理を含む、ファイリングプログラムや文字認識プログラムを実行させることにより、表示装置の画面に図3の窓301を表示させ、窓内の画像表示領域303に編集したい画像304を表示させる。対象となる画像が傾いて(回転して)いた場合、傾き(回転)処理を次のようにして行う。
【0025】
まず、操作メニューの「編集(E)」305をクリックすることにより、編集種類メニュー306を表示させる。編集種類メニュー中の「回転」307をクリックすることにより、「回転方法指定」窓308を出現させる。「回転方法指定」窓内メニューの「直線ガイドによる傾き補正」310をクリックすることにより、「直線ガイドによる傾き補正」窓311を表示し、さらに、適当な長さの直線ガイド312を画像304上の適当な位置に重ねて表示させる。
【0026】
本発明は、人間がポインティングデバイス、あるいは、キーボードを操作することにより、この直線ガイドの中点を中心として直線ガイドのみを回転させ、あるいは、この直線ガイドの端点を移動させ、直線ガイドを画像の傾きと平行にすることで、この直線ガイドの傾きから画像の傾き(回転)角度を与える。
【0027】
「直線ガイドによる傾き補正」窓311内の回転方向指定ボタン316内で、左クリックすることにより直線ガイドを左回転させ、右クリックすることにより直線ガイドを右回転させる。あるいは、キーボードの「J」をキータッチしたときに直線ガイドを左回転させ、キーボードの「K」をキータッチしたときに直線ガイドを右回転させる。
【0028】
また、「直線ガイドによる傾き補正」窓311内の「端点1」ボタン323、あるいは、「端点2」ボタン324をポインティングデバイスでクリックすることにより、直線ガイド312の1つの端点を、別の端点を固定したまま移動できるようにする。端点の移動は、「直線ガイドによる傾き補正」窓311内の矢印で示された各移動方向指示ボタン319、320、321、322、あるいは、キーボードの各矢印キーで行う。移動方向は、上下左右4つの方向があり、それぞれ、ポインティングデバイスで1回クリックする、あるいは、キーボードの矢印キーを1回キータッチすることにより、直線ガイドの端点を位置座標の最小単位で該当方向に移動させる。
【0029】
直線ガイド312が、画像の傾き(回転)角度と平行になるように指定できた時点で、「直線ガイドによる傾き補正」窓311内の「傾き補正」ボタン327をクリックする。これにより、コンピュータは、現在の直線ガイドの傾きから傾き角度を計算し、その傾き角度分画像を逆回転させることで傾き補正を行い、傾き補正された画像を画像表示領域303に表示する。表示された画像でよければ、この画像を保存する、あるいは、この画像に対して文字認識を行う。
【0030】
【実施例】
図4は、上記の方法で画像の傾き(回転)補正を行う画像編集プログラムを実行するための装置の構成を示すブロック図である。
装置の各部はバス410に接続され、全体の動作は制御部420により制御される。制御部420には、人間が操作を行うための、キーボード421、及び、ポインティングデバイスであるマウス422が接続されている。演算処理部430は、制御部420の制御により、メモリ450、ハードディスク460、表示装置440等に係る演算を行う。
【0031】
最初に、キーボード421、及び、マウス422を使い、ハードディスク460にある画像編集プログラムを起動する。画像編集プログラムはメモリ450に格納され、この画像編集プログラムに制御が渡り、以下は、このプログラムの管理のもとに動作する。このプログラムに制御が渡ると、図1、図2、図3のような窓を表示装置440に表示し、キーボード421、マウス422による人間の指示を待つ。編集したい画像は、スキャナ470で観測し、あるいは、ネットワーク480を通して、ハードディスク460に格納されているものとする。
【0032】
人間は、マウス422、キーボード421を操作し、表示装置440に表示されている窓内の指示メニュー上に、マウスのカーソル位置を移動させクリックする、あるいは、適当なキーボードをキータッチすることにより、対象とする画像を表示し、表示されている画像の傾き(回転)角度と平行な位置に直線ガイドを移動回転させ、その画像の傾き(回転)角度を決定する。
編集プログラムは、決定された直線ガイドの傾きから、画像の傾き(回転)補正を行い、表示装置440の画面に表示し、ハードディスク460に格納する。
【0033】
【発明の効果】
本発明による、画像の傾き(回転)角度の指定は、角度の決定操作が、最終的に指定したい傾き(回転)角度を変化させない動作であるため、画像の傾き(回転)角度を人間にとって少ない負担で正確に指定でき、画像をファイリングするときの作業効率を上げることができる。また、この方法で求められた角度で画像の傾き(回転)補正を行えば、角度が正確に指定されているため、画像を圧縮してファイリングするときの圧縮率の向上や、文字認識する場合の認識性能の向上が期待できる。
【図面の簡単な説明】
【図1】本発明の第1の方法で、表示装置に表示された、画像の傾き(回転)角度を指定するための操作画面であり、直線ガイドを回転させるための指示ボタンを含む。
【図2】本発明の第2の方法で、表示装置に表示された、画像の傾き(回転)角度を指定するための操作画面であり、直線ガイドの端点を移動させるための指示ボタンを含む。
【図3】本発明の第3の方法で、表示装置に表示された、画像の傾き(回転)角度を指定するための操作画面であり、直線ガイドを回転させるための指示ボタン、及び、直線ガイドの端点を移動させるための指示ボタンを含む。
【図4】画像の傾き(回転)補正を行う画像編集プログラムを実行するための装置の構成を示すブロック図。
【符号の説明】
101、201、301: 画像編集プログラムの操作画面
104、204、304: 傾き(回転)補正の対象となる画像
111、211、311: 「直線ガイドによる傾き補正」を行う操作窓
112、212、312: 直線ガイド
410: バス
420: 制御部
430: 演算処理部
440: 表示装置
450: メモリ
460: ハードディスク
470: スキャナ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method, a device, and a program for correcting a tilt (rotation) of an image captured by a computer by specifying a tilt (rotation) angle of the image by a human.
[0002]
[Prior art]
When a document is captured as an image with a scanner (scanning device), if the document is tilted (rotated) or the written document content itself is tilted (rotated) with respect to the document paper, the input is performed. The document becomes an unsightly image when it is tilted (rotated). When character recognition is performed on the document image, the recognition rate is adversely affected if the document image remains tilted (rotated). Even when filing is performed by compression, the compression ratio often deteriorates when the file is inclined (rotated). Therefore, it is necessary to rotate the tilted (rotated) angle in the opposite direction and correct the tilt so that the document image is parallel to the horizontal line or the vertical line.
[0003]
In order to correct the tilt (rotation), there is a method in which a captured image is processed by a computer and the tilt (rotation) angle is automatically detected. However, if the document contains not only characters but also images such as figures and photographs having many oblique lines, it is often impossible to automatically detect the inclination (rotation) angle. In such a case, it is necessary for a human to interactively specify the inclination (rotation) angle of the document.
[0004]
As a method of designating a tilt (rotation) angle of a document by a human, there is a conventional technique of Patent Document 1. In this method, a document image is displayed on a display device, and a human designates a rectangular area along a character string of the document with a mouse as a pointing device on the document image displayed on the screen of the display apparatus. Character is to be recognized. At this time, even if the document image is tilted (rotated), the tilt (rotation) angle of the document image is given by designating one side of the rectangular area to be parallel to the character string. Move the mouse position display cursor on the display screen where the document image is displayed, and specify the rectangular area by giving three points at the position of the position display cursor when the mouse is clicked. The tilt (rotation) angle of the image is obtained from the positions on the display screen of the first point and the second point of the three points.
[Patent Document 1]
JP-A-4-288691
[Problems to be solved by the invention]
However, the position specification using the position display cursor on the screen of the mouse is inferior in accuracy, and often the position cannot be specified exactly as desired. Not only a mouse but also a joystick, a pointing stick, a trackball, a trackpad, a glide point, a pen, and the like, the position designation based on the position of the position display cursor of the pointing device has poor pointing accuracy. For example, it can be explained that two points are given by clicking a position on the screen of the pointing device, and considerable concentration is required to draw a horizontal line or a vertical line without inclination. To concentrate, you need to place the position display cursor on the pointing device at the position you want to specify, click the pointing device's click button with the position fixed, and click the position you want to specify Is likely to be shifted.
[0006]
Even if the angle of the straight line in the document is inclined (rotated) by 0.1 degrees or 0.01 degrees, the straight line displayed on the screen becomes stair-like and becomes unsightly. The (rotation) angle needs to be given with high accuracy.
Under such circumstances, an object of the present invention is to allow a human to relatively easily and accurately give an inclination (rotation) angle of a document image or the like.
[0007]
[Means for Solving the Problems]
A first method of the present invention for accurately giving a tilt (rotation) angle of an image is to display a straight line guide indicated by a line segment on a screen displaying an image, and to set the straight line guide at an angle of a minimum unit. Alternatively, the image can be rotated at an angle that is a multiple of the minimum unit, and the number of clicks on the pointing device or the number of key touches on the keyboard is used to rotate the unit angle or a multiple of the unit angle. The tilt (rotation) angle of the image is designated by a human operation so as to be parallel to the (rotation) angle.
[0008]
Further, according to a second method of the present invention, a straight line guide indicated by a line segment is displayed on a screen displaying an image, and one end point of the straight line guide is a minimum unit of position coordinates or a multiple of the minimum unit. The coordinates of the image can be moved, and the number of clicks on the pointing device or the number of key touches on the keyboard can be used to move the unit coordinates or a multiple of the unit coordinates, so that the linear guide is parallel to the tilt (rotation) angle of the image. The tilt (rotation) angle of the image is designated by a human operation so as to be as desired.
[0009]
Further, a third method of the present invention is a combination of the first method and the second method. A straight line guide indicated by a line segment is displayed on a screen displaying an image, and the straight line guide is displayed. Pointing to allow rotation at the minimum unit angle or an angle that is a multiple of the minimum unit, or that one end point of the linear guide can move the minimum unit of position coordinates or a coordinate that is a multiple of the minimum unit. The number of clicks on the device or the number of key touches on the keyboard rotates the unit angle or a multiple of the unit angle, or moves the unit coordinates or a multiple of the unit coordinates. (2) A human operation is performed so as to be parallel to the angle, thereby designating the inclination (rotation) angle of the image.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is an operation screen for designating a tilt (rotation) angle of an image displayed on a display device in the first method of the present invention.
By executing a filing program or a character recognition program including a process of correcting the tilt (rotation) of the image interactively with a human, the
[0011]
First, the cursor of the pointing device is displayed at the position of "Edit (E)" 105 in the operation menu, and the click button of the pointing device is pressed (clicked) to display the
[0012]
According to the present invention, by operating a pointing device or a keyboard by a human, only the linear guide is rotated about the center of the linear guide, and the linear guide is made parallel to the inclination of the image, so that the linear guide is rotated. The inclination (rotation) angle of the image is given from the inclination of. Here, the linear guide is rotated around the midpoint, but the center of rotation is not limited to the midpoint.
[0013]
Clicking the left button of the pointing device in the rotation
[0014]
One click of the pointing device or one key touch of the keyboard rotates the
[0015]
The operation in the minimum unit may be slow.To increase the speed, click the click button of the pointing device once while holding down the shift key, or touch the key on the keyboard once while holding down the shift key. , An angle n times the minimum unit may be used. Although the shift key is used here, the present invention is not limited to this. As an example, n = 10 can be considered, but the present invention is not limited to this. In order to increase the speed, holding down the click button of the pointing device or holding down the key of the keyboard key, until the click button is released, or until the key is released, the minimum unit, Alternatively, there is a method of keeping the rotation of n times the minimum unit.
[0016]
If it is desired to move the entire
[0017]
When the
[0018]
FIG. 2 is an operation screen for designating a tilt (rotation) angle of an image displayed on the display device according to the second method of the present invention. By executing a filing program or a character recognition program including an image inclination (rotation) correction process, the
[0019]
First, an
[0020]
According to the present invention, by manipulating a pointing device or a keyboard to move an end point of the linear guide and to make the linear guide parallel to the inclination of the image, the inclination of the linear guide is changed from the inclination of the image ( Rotation) to give the angle. By clicking the "end point 1"
[0021]
The operation in the minimum unit may be slow.To increase the speed, click the click button of the pointing device once while holding down the shift key, or touch the key on the keyboard once while holding down the shift key. , N times the minimum unit. In order to increase the speed, holding down the click button of the pointing device or holding down the key of the keyboard key, until the click button is released, or until the key is released, the minimum unit, Alternatively, there is a method of continuously moving n times the minimum unit.
[0022]
If it is desired to move the entire
[0023]
When the
[0024]
FIG. 3 shows a third method of the present invention, which is a combination of the first method and the second method, and is an operation screen for designating an inclination (rotation) angle of an image displayed on a display device. It is. By executing a filing program or a character recognition program including a process of correcting the inclination (rotation) of the image interactively with a human, the
[0025]
First, an “edit (E)” 305 in the operation menu is clicked to display an
[0026]
According to the present invention, by manipulating a pointing device or a keyboard, only the linear guide is rotated around the center of the linear guide, or the end point of the linear guide is moved, and the linear guide is moved to an image. By making the inclination parallel to the inclination, the inclination (rotation) angle of the image is given from the inclination of the linear guide.
[0027]
In the rotation
[0028]
Further, by clicking the “end point 1”
[0029]
When the
[0030]
【Example】
FIG. 4 is a block diagram showing a configuration of an apparatus for executing an image editing program for correcting the inclination (rotation) of an image by the above method.
Each part of the device is connected to a
[0031]
First, an image editing program on the
[0032]
The human operates the
The editing program corrects the inclination (rotation) of the image based on the determined inclination of the linear guide, displays the image on the screen of the
[0033]
【The invention's effect】
According to the present invention, the designation of the inclination (rotation) angle of the image is an operation that does not change the inclination (rotation) angle desired to be finally specified, so that the inclination (rotation) angle of the image is small for humans. It is possible to specify accurately with a burden, and work efficiency when filing an image can be improved. Also, if the inclination (rotation) of the image is corrected at the angle obtained by this method, the angle is accurately specified, so that the compression ratio when compressing and filing the image is improved, and when the character is recognized. Can be expected to improve recognition performance.
[Brief description of the drawings]
FIG. 1 is an operation screen for specifying a tilt (rotation) angle of an image displayed on a display device according to the first method of the present invention, and includes an instruction button for rotating a linear guide.
FIG. 2 is an operation screen for specifying an inclination (rotation) angle of an image displayed on the display device according to the second method of the present invention, and includes an instruction button for moving an end point of a linear guide. .
FIG. 3 is an operation screen for designating a tilt (rotation) angle of an image, which is displayed on the display device according to the third method of the present invention, and includes an instruction button for rotating a straight guide, and a straight line. Includes an instruction button for moving the end point of the guide.
FIG. 4 is a block diagram showing a configuration of an apparatus for executing an image editing program for performing image tilt (rotation) correction.
[Explanation of symbols]
101, 201, 301: Operation screens 104, 204, 304 of the image editing program:
Claims (9)
当該対象画像の傾き角度を指定するためのガイドとなる直線ガイドを前記操作画面上に表示し、
前記直線ガイドを最小単位の角度、あるいは、最小単位の倍数の角度で回転させて、前記直線ガイドの傾き角度を当該対象画像の傾き角度と平行になるよう操作することで、当該画像の傾き角度を指定する、
ことを特徴とする画像の傾き補正方法。An operation screen for performing an operation interactively with a human and a target image to be operated are displayed on the operation screen,
A linear guide that serves as a guide for specifying the inclination angle of the target image is displayed on the operation screen,
By rotating the linear guide at the minimum unit angle, or at an angle that is a multiple of the minimum unit, and operating the tilt angle of the linear guide parallel to the tilt angle of the target image, the tilt angle of the image Specify,
A method for correcting image inclination.
当該対象画像の傾き角度を指定するためのガイドとなる直線ガイドを前記操作画面上に表示し、
前記直線ガイドの片方の端点を最小単位の座標値、あるいは、最小単位の倍数の座標値で移動させて、前記直線ガイドの傾き角度を当該対象画像の傾き角度と平行になるよう操作することで、当該画像の傾き角度を指定する、
ことを特徴とする画像の傾き補正方法。An operation screen for performing an operation interactively with a human and a target image to be operated are displayed on the operation screen,
A linear guide that serves as a guide for specifying the inclination angle of the target image is displayed on the operation screen,
By moving one end point of the linear guide by the coordinate value of the minimum unit or the coordinate value of a multiple of the minimum unit, by operating the inclination angle of the linear guide so as to be parallel to the inclination angle of the target image. , Specify the tilt angle of the image,
A method for correcting image inclination.
当該対象画像の傾き角度を指定するためのガイドとなる直線ガイドを前記操作画面上に表示し、
前記直線ガイドを最小単位の角度、あるいは、最小単位の倍数の角度で回転させ、あるいは、前記直線ガイドの片方の端点を最小単位の座標値、あるいは、最小単位の倍数の座標値で移動させて、前記直線ガイドの傾き角度を当該対象画像の傾き角度と平行になるよう操作することで、当該画像の傾き角度を指定する、ことを特徴とする画像の傾き補正方法。An operation screen for performing an operation interactively with a human and a target image to be operated are displayed on the operation screen,
A linear guide that serves as a guide for specifying the inclination angle of the target image is displayed on the operation screen,
The linear guide is rotated at an angle of the minimum unit, or an angle of a multiple of the minimum unit, or one end point of the linear guide is moved at the coordinate value of the minimum unit, or the coordinate value of a multiple of the minimum unit. A tilt angle of the image is designated by operating the tilt angle of the linear guide so as to be parallel to the tilt angle of the target image.
当該対象画像の傾き角度を指定するためのガイドとなる直線ガイドを前記操作画面上に表示し、
前記直線ガイドを最小単位の角度、あるいは、最小単位の倍数の角度で回転させて、前記直線ガイドの傾き角度を当該対象画像の傾き角度と平行になるよう操作することで、当該画像の傾き角度を指定する、
各手順を実行する画像の傾き補正プログラム。An operation screen for performing an operation interactively with a human and a target image to be operated are displayed on the operation screen,
A linear guide that serves as a guide for specifying the inclination angle of the target image is displayed on the operation screen,
By rotating the linear guide at the minimum unit angle, or at an angle that is a multiple of the minimum unit, and operating the tilt angle of the linear guide parallel to the tilt angle of the target image, the tilt angle of the image Specify,
Image inclination correction program that executes each procedure.
当該対象画像の傾き角度を指定するためのガイドとなる直線ガイドを前記操作画面上に表示し、
前記直線ガイドの片方の端点を最小単位の座標値、あるいは、最小単位の倍数の座標値で移動させて、前記直線ガイドの傾き角度を当該対象画像の傾き角度と平行になるよう操作することで、当該画像の傾き角度を指定する、
各手順を実行する画像の傾き補正プログラム。An operation screen for performing an operation interactively with a human and a target image to be operated are displayed on the operation screen,
A linear guide that serves as a guide for specifying the inclination angle of the target image is displayed on the operation screen,
By moving one end point of the linear guide by the coordinate value of the minimum unit or the coordinate value of a multiple of the minimum unit, by operating the inclination angle of the linear guide so as to be parallel to the inclination angle of the target image. , Specify the tilt angle of the image,
Image inclination correction program that executes each procedure.
当該対象画像の傾き角度を指定するためのガイドとなる直線ガイドを前記操作画面上に表示し、
前記直線ガイドを最小単位の角度、あるいは、最小単位の倍数の角度で回転させ、あるいは、前記直線ガイドの片方の端点を最小単位の座標値、あるいは、最小単位の倍数の座標値で移動させて、前記直線ガイドの傾き角度を当該対象画像の傾き角度と平行になるよう操作することで、当該画像の傾き角度を指定する、各手順を実行する画像の傾き補正プログラム。An operation screen for performing an operation interactively with a human and a target image to be operated are displayed on the operation screen,
A linear guide that serves as a guide for specifying the inclination angle of the target image is displayed on the operation screen,
The linear guide is rotated at an angle of the minimum unit, or an angle of a multiple of the minimum unit, or one end point of the linear guide is moved at the coordinate value of the minimum unit, or the coordinate value of a multiple of the minimum unit. An image inclination correction program for executing each procedure, by designating the inclination angle of the image by operating the inclination angle of the linear guide so as to be parallel to the inclination angle of the target image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003138183A JP2004341865A (en) | 2003-05-16 | 2003-05-16 | Method, device and program for correcting inclination of image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003138183A JP2004341865A (en) | 2003-05-16 | 2003-05-16 | Method, device and program for correcting inclination of image |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004341865A true JP2004341865A (en) | 2004-12-02 |
Family
ID=33527630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003138183A Pending JP2004341865A (en) | 2003-05-16 | 2003-05-16 | Method, device and program for correcting inclination of image |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004341865A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100444195C (en) * | 2005-09-09 | 2008-12-17 | 株式会社理光 | Image forming apparatus, image output apparatus, image processing method |
JP2010220060A (en) * | 2009-03-18 | 2010-09-30 | Casio Computer Co Ltd | Image processing apparatus, program, method and system |
JP7418198B2 (en) | 2019-12-16 | 2024-01-19 | キヤノン株式会社 | Image processing device, image processing system, image processing method and program |
-
2003
- 2003-05-16 JP JP2003138183A patent/JP2004341865A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100444195C (en) * | 2005-09-09 | 2008-12-17 | 株式会社理光 | Image forming apparatus, image output apparatus, image processing method |
JP2010220060A (en) * | 2009-03-18 | 2010-09-30 | Casio Computer Co Ltd | Image processing apparatus, program, method and system |
JP7418198B2 (en) | 2019-12-16 | 2024-01-19 | キヤノン株式会社 | Image processing device, image processing system, image processing method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10095392B2 (en) | Recognizing selection regions from multiple simultaneous input | |
US6043805A (en) | Controlling method for inputting messages to a computer | |
US9069437B2 (en) | Window management method, apparatus and computing device | |
US8830184B2 (en) | Image displaying device, image displaying method, and program for displaying images | |
JP5678324B2 (en) | Display device, computer program, and display method | |
US7884834B2 (en) | In-context paint stroke characteristic adjustment | |
JP2010049679A (en) | Information processing apparatus, information processing method and computer program | |
JP2003162370A (en) | Image processing apparatus, display apparatus with touch panel, image processing method, and program which makes computer execute image processing method | |
US11003340B2 (en) | Display device | |
TW201235904A (en) | Electronic apparatus with touch screen and associated displaying control method | |
TWI354223B (en) | ||
JP6145738B2 (en) | Display device and computer program | |
JP2004341865A (en) | Method, device and program for correcting inclination of image | |
JP6614516B2 (en) | Display device and computer program | |
JP7097774B2 (en) | Display device, display method and program | |
JP2003308147A (en) | Data input device and program | |
JP2005148555A (en) | Image projection display device, image projection display method, and image projection display program | |
JP2011164475A (en) | Programmable display unit | |
JP2018036787A (en) | Information processor, display control method of character string, and program for character string edition | |
JP6344670B2 (en) | Display device and computer program | |
JP2007052156A (en) | Electronic musical instrument and waveform display program | |
JP2003122474A (en) | Computer device, image display method, program, and recording medium | |
JP2017123055A (en) | Image processing apparatus, preview image display control method, and computer program | |
JP2020080051A (en) | Information processing apparatus, display method, and program | |
JP2001282405A (en) | Coordinate input device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041124 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070612 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070619 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20071030 |