JP2001251492A - Device for correcting image information tilt - Google Patents

Device for correcting image information tilt

Info

Publication number
JP2001251492A
JP2001251492A JP2000061008A JP2000061008A JP2001251492A JP 2001251492 A JP2001251492 A JP 2001251492A JP 2000061008 A JP2000061008 A JP 2000061008A JP 2000061008 A JP2000061008 A JP 2000061008A JP 2001251492 A JP2001251492 A JP 2001251492A
Authority
JP
Japan
Prior art keywords
image information
inclination
correction
amount
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
JP2000061008A
Other languages
Japanese (ja)
Inventor
Kunio Yoshida
邦男 吉田
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2000061008A priority Critical patent/JP2001251492A/en
Publication of JP2001251492A publication Critical patent/JP2001251492A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image information tilt correcting device for preventing the occurrence of distortion surpassing an allowed range. SOLUTION: This device has an inclination quantity detecting means (e.g. CPU 2) for detecting the tilt amount of image information, corrects the tilt of image information by moving pixel information horizontally and vertically in accordance with the tilt amount detected by the tilt amount detecting means when the image information is inputted in a tilted state. The device is provided with an allowable distortion quantity storing means (e.g. allowable distortion quantity setting part 16) for storing allowable distortion quantity and a correction deciding means (e.g. CPU 2) for deciding whether the tilt correction of the inputted image information is to be performed on the basis of the correlation between the tilt amount detected by the tilt amount detecting means and the allowable distortion quantity stored in the allowable distortion quantity storing means.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、スキャナなどの文
書入力装置により読み込まれた画像情報に対して、その
傾きを補正するための画像情報傾き補正装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image information inclination correcting device for correcting the inclination of image information read by a document input device such as a scanner.

【0002】[0002]

【従来の技術】画像情報をスキャナなどの画像入力装置
により読み込んで、ディスプレイ上に表示したり、印刷
装置により印刷すると、得られる画像情報が傾いてしま
うことがある。
2. Description of the Related Art When image information is read by an image input device such as a scanner and displayed on a display or printed by a printing device, the obtained image information may be inclined.

【0003】例えば、図10に示すように、複写機によ
り原稿21をコピーする際に、原稿21を原稿台の指示
ガイド23に合わせないままコピーしてしまうと、画像
情報24が傾いて読み込まれ、その結果得られる複製画
像(複写物22)も傾いてしまう。また、操作者が指示
ガイド23に合わせて原稿21を原稿台上に載置したつ
もりであっても、原稿カバーの操作時に原稿21がずれ
てしまうこともあり、この場合にも同様に、得られる複
製画像が傾いてしまう。さらに、原稿21の画像情報そ
のものが用紙の周辺に対して傾いている場合には、原稿
21を原稿台の指示ガイド23に合わせること自体意味
がなくなる。したがって、現実には、傾きのない複製文
書を得ることは非常に難しい。
For example, as shown in FIG. 10, when copying an original 21 by a copying machine, if the original 21 is copied without being aligned with the instruction guide 23 on the original platen, the image information 24 is read at an angle. The resulting duplicate image (copy 22) is also inclined. Further, even if the operator intends to place the original 21 on the original plate in accordance with the instruction guide 23, the original 21 may be displaced when the original cover is operated. The resulting duplicated image is tilted. Further, when the image information of the original 21 is inclined with respect to the periphery of the sheet, it is meaningless to align the original 21 with the instruction guide 23 of the original platen. Therefore, in reality, it is very difficult to obtain a copy document without inclination.

【0004】従来より、このような問題を解決するた
め、文書を一旦記憶装置に読み込んだ後、傾き量を検出
し、検出した傾き量に基づいて画像情報を補正する方法
が提案されている。
Conventionally, in order to solve such a problem, there has been proposed a method of once reading a document into a storage device, detecting a tilt amount, and correcting image information based on the detected tilt amount.

【0005】具体的な画像情報の傾き補正は、図11に
示すように、大まかに分けて次の3つのステップで行わ
れる。 1)画像情報を読み込む。 2)読み込まれた画像情報の傾きを検出する。 3)検出または入力した傾き量に基づいて、画像情報の
傾きを補正する。
As shown in FIG. 11, specific inclination correction of image information is roughly performed in the following three steps. 1) Read image information. 2) The inclination of the read image information is detected. 3) The tilt of the image information is corrected based on the detected or input tilt amount.

【0006】画像入力装置により読み込まれた画像情報
の傾きを検出する方法が、特公昭63−25391号公
報、特開平7−105310号公報、特開平9−311
907号公報等に開示されている。
A method for detecting the inclination of image information read by an image input device is disclosed in Japanese Patent Publication No. 63-25391, Japanese Patent Application Laid-Open No. 7-105310, and Japanese Patent Application Laid-Open No. 9-311.
907 and the like.

【0007】また、検出した画像情報の傾き量に基づい
て、画像情報の傾きを補正する方法としては、図12に
示す変換式(A)を用いる方法がよく知られている。こ
の画像情報の傾き補正方法は、直交座標における原画像
情報の画素の位置X,Yおよび傾き量θから補正後の位
置x,yを求める方法である。この画像情報の傾き補正
方法は、画素毎に前記の変換式(A)を用いて補正後の
位置を求めるため、膨大な処理時間を要する。
As a method of correcting the inclination of the image information based on the detected amount of inclination of the image information, a method using a conversion formula (A) shown in FIG. 12 is well known. This method of correcting the inclination of the image information is a method of obtaining the corrected positions x and y from the positions X and Y of the pixels of the original image information and the amount of inclination θ in the orthogonal coordinates. This method of correcting the inclination of the image information requires an enormous amount of processing time because the position after correction is obtained for each pixel using the above-described conversion formula (A).

【0008】このように膨大な処理時間を要する方法に
代わる画像情報の傾き補正方法が、特開平6−6824
5号公報、特開平9−6914号公報に開示されてい
る。この画像情報の傾き補正方法は、分割幅を決定し、
分割された領域毎に画素を水平方向および垂直方向に分
けてシフトを行うことにより、画像情報の傾きを補正す
るものである。すなわち、この画像情報の傾き補正方法
は、従来用いられていた変換式(A)に代わる変換式と
して、図13に示す変換式(B)や図14に示す変換式
(C)を用いている。これらの変換式は、画素単位で処
理を行うのではなく、領域単位で処理を行うことができ
るため、高速な処理を行うことができるという特徴があ
る。
A method for correcting the inclination of image information which is an alternative to the method requiring an enormous amount of processing time is disclosed in Japanese Patent Laid-Open No. 6-6824.
No. 5, JP-A-9-6914. This image information inclination correction method determines the division width,
The tilt of the image information is corrected by shifting the pixel in each of the divided areas in the horizontal direction and the vertical direction. That is, this image information inclination correction method uses a conversion equation (B) shown in FIG. 13 and a conversion equation (C) shown in FIG. 14 as a conversion equation instead of the conversion equation (A) used conventionally. . These conversion formulas can perform processing in units of regions, not in units of pixels, and thus have a feature that high-speed processing can be performed.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、変換式
(A)、変換式(B)、変換式(C)を比較すれば判る
ように、変換式(B)および変換式(C)で得られる座
標値は、cosθを乗じたり、cosθで除したものと
なっており、これが歪みとなって現れる。
However, as can be seen by comparing the conversion formulas (A), (B) and (C), they can be obtained by the conversion formulas (B) and (C). The coordinate values are multiplied by cos θ or divided by cos θ, which appears as distortion.

【0010】変換式(B)および変換式(C)で生じる
歪みを、図15に示す。例えば、一辺の長さがS1の正
方形や、直径がS1の円が、26.5度傾いて入力さ
れ、垂直方向(y方向)、水平方向(x方向)の順で補
正を行ったとすると(図13参照)、図15(a)に示
すように、回転処理は行われるものの、回転後の形が歪
んでしまう。すなわち、正方形では、垂直方向に伸びる
とともに、水平方向に縮んでしまう。これは、円におい
ても同様である。
FIG. 15 shows distortions generated by the conversion equations (B) and (C). For example, suppose that a square having a side length of S1 or a circle having a diameter of S1 is input at an inclination of 26.5 degrees, and correction is performed in the vertical direction (y direction) and the horizontal direction (x direction) ( As shown in FIG. 13) and FIG. 15A, the rotation process is performed, but the shape after the rotation is distorted. That is, a square expands vertically and shrinks horizontally. This is the same for circles.

【0011】また、水平方向(x方向)、垂直方向(y
方向)の順で補正を行ったとしても(図14参照)、図
15(b)に示すように、正方形および円ともに、上述
したと同様に歪みが生じてしまう。このような歪みに対
する対応策については、上述した特開平6−68245
号公報、特開平9−6914号公報において、何ら触れ
られていない。
The horizontal direction (x direction) and the vertical direction (y
Even if the correction is performed in the order of (direction) (see FIG. 14), as shown in FIG. 15B, distortion occurs in both the square and the circle as described above. For measures against such distortion, see the above-mentioned Japanese Patent Application Laid-Open No. 6-68245.
Nothing is mentioned in Japanese Unexamined Patent Application Publication No. Hei 9-6914.

【0012】ところで、画像情報は、文字、罫線、図
形、写真など様々な要素で構成されているが、これらの
画像情報が傾いて入力され、傾きの補正を行った際に発
生する歪みは、その画像情報の内容によって、許容され
る場合と許容し難い場合とがある。例えば、原画像情報
が設計図面である場合には、許容される歪みの範囲は小
さいが、原画像情報が文字と罫線のみで構成されている
場合には、許容される歪みの範囲はより大きいと考えら
れる。
By the way, image information is composed of various elements such as characters, ruled lines, figures, photographs, etc. Distortion that occurs when these image information is input while being inclined and the inclination is corrected is as follows. Depending on the content of the image information, there are cases where it is allowed and cases where it is hardly allowed. For example, if the original image information is a design drawing, the allowable distortion range is small, but if the original image information is composed of only characters and ruled lines, the allowable distortion range is large. it is conceivable that.

【0013】本発明は、上述した事情に鑑み提案された
もので、画像情報の傾きを補正する際に発生する歪み量
を予め取得し、許容される範囲の歪み量と比較すること
により、許容される範囲を超える歪みの発生を防止する
ための画像情報傾き補正装置を提供することを目的とす
る。
The present invention has been proposed in view of the above-described circumstances, and obtains in advance a distortion amount generated when correcting the inclination of image information and compares the distortion amount with an allowable range of distortion amount. It is an object of the present invention to provide an image information inclination correction device for preventing generation of distortion exceeding a range to be corrected.

【0014】[0014]

【課題を解決するための手段】本発明に係る画像情報傾
き補正装置は、上述した目的を達成するため、以下の特
徴点を備えている。
The image information inclination correcting apparatus according to the present invention has the following features in order to achieve the above object.

【0015】本発明に係る画像情報傾き補正装置は、画
像情報の傾き量を検出するための傾き量検出手段を有
し、画像情報が傾いて入力された場合に、前記傾き量検
出手段により検出された傾き量に応じて水平および垂直
方向に画素情報を移動して画像情報の傾きを補正するた
めの画像情報傾き補正装置において、許容歪み量を記憶
するための許容歪み量記憶手段と、前記傾き量検出手段
により検出された傾き量と、前記許容歪み量記憶手段に
記憶された許容歪み量との相関関係に基づいて、入力さ
れた画像情報の傾き補正を行うか否かを判定するための
補正判定手段とを備えたことを特徴とするものである。
The image information skew correction apparatus according to the present invention has a skew amount detecting means for detecting the skew amount of the image information. An image information inclination correcting apparatus for correcting the inclination of the image information by moving the pixel information in the horizontal and vertical directions according to the amount of the inclination, and an allowable distortion amount storing means for storing an allowable distortion amount; To determine whether or not to perform the inclination correction of the input image information based on the correlation between the inclination amount detected by the inclination amount detecting means and the allowable distortion amount stored in the allowable distortion amount storing means. And a correction judging means.

【0016】ところで、上述した特開平6−68245
号公報、特開平9−6914号公報に開示されている画
像情報傾き補正方法では、図13に示す変換式(B)や
図14に示す変換式(C)を用いて画像情報の傾きを補
正しているが、この補正に伴う歪みが発生する要因が明
確になれば、歪みの程度と許容される歪みの比較を行う
ことができ、以降の処理の選択が可能になる。
Incidentally, the above-mentioned Japanese Patent Application Laid-Open No.
In the image information skew correction method disclosed in Japanese Patent Application Laid-Open No. 9-6914, the skew of image information is corrected using the conversion formula (B) shown in FIG. 13 and the conversion formula (C) shown in FIG. However, if the cause of the distortion caused by the correction becomes clear, the degree of the distortion can be compared with the allowable distortion, and the subsequent processing can be selected.

【0017】すなわち、本発明に係る画像情報傾き補正
装置では、図11に示す第3ステップを実行するのか、
あるいは原稿の設置方法を修正するために処理を中断さ
せるのかの対策を取ることができ、無駄なコピーなどを
防止することができる。
That is, the image information inclination correcting apparatus according to the present invention executes the third step shown in FIG.
Alternatively, it is possible to take measures to interrupt the processing to correct the method of setting the original, and to prevent useless copying or the like.

【0018】また、本発明に係る画像情報傾き補正装置
は、前記傾き量検出手段により検出された画像情報の傾
き量と、前記許容歪み量記憶手段に記憶された許容歪み
量との相関関係に基づいて、操作者に対して補正時に発
生すると想定される歪み量を報知するための想定歪み量
報知手段を備えたことを特徴とするものである。
Further, the image information inclination correcting apparatus according to the present invention provides a correlation between the inclination amount of the image information detected by the inclination amount detecting means and the allowable distortion amount stored in the allowable distortion amount storing means. The apparatus further includes an estimated distortion amount notifying unit for notifying the operator of the amount of distortion expected to occur at the time of correction based on the estimated distortion amount.

【0019】このように、本発明に係る画像情報傾き補
正装置では、歪み量と傾き量との相関関係に基づいて、
傾き量から歪み量を導き出し、想定される歪み量が許容
される範囲を超えている場合は処理を中断して、その旨
を操作者に報知することによって、文字が主体の文書な
どのように、歪みを無視してそのまま処理を続行するの
か、あるいは図面などのように、傾きを小さくするため
原稿を再設置するのかという処置を、操作者の判断で行
うことが可能となり、作業の効率化を高めるとともに、
不要な複製物の作成を防止することができる。
As described above, in the image information inclination correction apparatus according to the present invention, based on the correlation between the amount of distortion and the amount of inclination,
Deriving the amount of distortion from the amount of inclination, and if the amount of expected distortion exceeds the allowable range, suspends the processing and notifies the operator to that effect, such as in a document mainly composed of characters, etc. The operator can decide whether to ignore the distortion and continue processing as it is or to re-install the original to reduce the inclination as in the case of drawings, etc. Together with
Unnecessary duplication can be prevented from being created.

【0020】また、本発明に係る画像情報傾き補正装置
は、前記許容歪み量記憶手段において記憶すべき許容歪
み量を操作者が設定するための許容歪み量入力手段を備
えたことを特徴とするものである。このように、本発明
に係る画像情報傾き補正装置では、歪みの許容量を操作
者に設定させることにより、原稿の内容に応じた選択が
可能となり、作業の効率を高めるとともに、不要な複製
物の作成を防止することができる。
Further, the image information inclination correcting apparatus according to the present invention is provided with an allowable distortion amount input means for allowing an operator to set an allowable distortion amount to be stored in the allowable distortion amount storage means. Things. As described above, in the image information skew correction apparatus according to the present invention, by allowing the operator to set the allowable amount of distortion, selection according to the content of the document can be performed, thereby improving the work efficiency and reducing unnecessary copies. Can be prevented from being created.

【0021】また、本発明に係る画像情報傾き補正装置
は、傾き補正を行わない設定手段を備えたことを特徴と
するものである。原稿の内容によっては傾きの補正を行
わずにそのまま出力したい場合があるが(例えば、図1
6に示すように、斜線が主体の図形)、傾き補正を行わ
ない設定を行うことを可能とすることにより、補正処理
の要否を操作者が選択することができ、さらに作業効率
を高めることができる。
Further, the image information inclination correcting apparatus according to the present invention is characterized in that the image information inclination correcting apparatus is provided with setting means for not performing inclination correction. Depending on the content of the original, there is a case where it is desired to output the original without correcting the inclination (for example, FIG.
As shown in FIG. 6, by making it possible to make settings that do not perform inclination correction, the operator can select whether or not correction processing is necessary, thereby further improving work efficiency. Can be.

【0022】また、本発明に係る画像情報傾き補正装置
は、前記補正判定手段により画像情報の傾き補正を行わ
ないと判定された場合に、前記傾き量検出手段により検
出された画像情報の傾き量と、当該画像情報の原稿サイ
ズから導き出される原稿の再設置位置に関する数値情報
を、操作者に対して報知するための再設置位置情報報知
手段を備えたことを特徴とするものである。
In the image information inclination correcting apparatus according to the present invention, when the correction judging means judges that the inclination correction of the image information is not performed, the inclination amount of the image information detected by the inclination amount detecting means is determined. And a reset position information notifying unit for notifying the operator of numerical information on the reset position of the document derived from the document size of the image information.

【0023】このように、本発明に係る画像情報傾き補
正装置では、所定の歪み量を超える場合には、操作者に
設置された原稿の所定の部分をどれだけずらせばよいか
を報知することにより、より使い勝手を向上させること
ができる。特に、スキャナや複写機においては、原稿面
を裏側から見ることになるため、どちらにどれだけずら
せればよいのかが分かりにくい状況にあるが、例えば、
「原稿の右下隅を18mm下へ」という表示を行うこと
により、非常に分かり易いマンマシンインタフェイスを
提供することができる。
As described above, in the image information inclination correcting apparatus according to the present invention, when a predetermined amount of distortion is exceeded, the operator is notified of how much to shift the predetermined portion of the placed document. Thereby, usability can be further improved. In particular, in a scanner or a copier, since the document surface is viewed from the back side, it is difficult to know which direction to shift and how much, for example,
By displaying "the lower right corner of the document is 18 mm below", a very easy-to-understand man-machine interface can be provided.

【0024】また、本発明に係る画像情報傾き補正装置
は、画像情報の傾きを補正することにより得られた画像
の歪みを除去するための歪み除去手段を備えたことを特
徴とするものである。
Further, the image information skew correction apparatus according to the present invention is characterized in that it has a distortion removing means for removing distortion of an image obtained by correcting the skew of image information. .

【0025】このように、本発明に係る画像情報傾き補
正装置では、傾き量から歪み量を導き出すことにより画
像の歪みを補正することができ、良好な画像を得ること
ができる。
As described above, in the image information inclination correcting apparatus according to the present invention, the image distortion can be corrected by deriving the distortion amount from the inclination amount, and a good image can be obtained.

【0026】[0026]

【発明の実施の形態】以下、図面に基づいて、本発明に
係る画像情報傾き補正装置の一実施形態を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of an image information inclination correcting apparatus according to the present invention will be described with reference to the drawings.

【0027】<歪み量の特定>まず、本発明の一実施形
態に係る画像情報傾き補正装置において、どのようにし
て画像情報の歪み量を特定するかを説明する。本発明の
一実施形態に係る画像情報傾き補正装置では、上述した
特開平6−68245号公報、特開平9−6914号公
報に開示されている画像情報傾き補正方法と同様の方法
により、画像の傾きの補正を行う。すなわち、上述した
画像情報の傾き補正方法は、垂直方向の補正と水平方向
の補正を合成したものであるが、どちらの補正を先に行
うかにより歪み方が異なってくる。
<Specification of Distortion Amount> First, how to specify the distortion amount of the image information in the image information inclination correcting apparatus according to one embodiment of the present invention will be described. In the image information tilt correction apparatus according to one embodiment of the present invention, an image information tilt correction method disclosed in Japanese Patent Application Laid-Open Nos. 6-68245 and 9-6914 is used. Perform tilt correction. That is, the above-described image information inclination correction method combines vertical correction and horizontal correction, but the distortion method differs depending on which correction is performed first.

【0028】ここでは、垂直方向の補正を先に行った場
合について述べる。図1は、画像を垂直方向に補正し、
その後水平方向に補正した場合を示す説明図である。画
像を垂直方向に補正する場合には、図13に示す変換式
(Ba)を用いて補正を行う。また、画像を水平方向に
補正する場合には、図13に示す変換式(Bb)を用い
て補正を行う。
Here, the case where the vertical correction is performed first will be described. Figure 1 corrects the image vertically,
It is explanatory drawing which shows the case where it correct | amended in the horizontal direction after that. When correcting the image in the vertical direction, the correction is performed using the conversion formula (Ba) shown in FIG. When correcting the image in the horizontal direction, the correction is performed using the conversion formula (Bb) shown in FIG.

【0029】すなわち、図1において、長方形ABCD
は、θだけ傾いて入力された画像を示し、平行四辺形J
QRMは、長方形ABCDを垂直方向に補正したもので
あり、長方形PQRSは、平行四辺形JQRMを水平方
向に補正したものである。この場合、原点Oの位置はど
こであってもよい。補正処理により生成される平行四辺
形JQRMや長方形PQRSの形は、原点の位置に左右
されず、形状は不変である。図1では、理解を容易にす
るために、原点Oの位置を辺BCの延長線と線分QRの
延長線との交点に置いている。
That is, in FIG.
Indicates an image input by being inclined by θ, and the parallelogram J
The QRM is obtained by correcting the rectangle ABCD in the vertical direction, and the rectangle PQRS is obtained by correcting the parallelogram JQRM in the horizontal direction. In this case, the position of the origin O may be anywhere. The shape of the parallelogram JQRM or the rectangle PQRS generated by the correction process is not affected by the position of the origin, and the shape is unchanged. In FIG. 1, the origin O is located at the intersection of the extension of the side BC and the extension of the line segment QR for easy understanding.

【0030】最初の垂直方向の補正により、点A,B,
C,Dは、点J,Q,R,Mに移動する。また、次の水
平方向の補正により、点J,Q,R,Mは、点P,Q,
R,Sに移動する(点Q、Rは移動しない)。したがっ
て、辺ADは、辺PSとなり、これらの長さの比を求め
ることにより、水平方向の歪み量がわかる。同様に、辺
ABと辺PQの長さの比を求めることにより、垂直方向
の歪み量がわかる。
With the first vertical correction, points A, B,
C and D move to points J, Q, R and M. By the following horizontal correction, points J, Q, R, and M are changed to points P, Q,
Move to R and S (points Q and R do not move). Therefore, the side AD becomes the side PS, and the amount of distortion in the horizontal direction can be determined by calculating the ratio of these lengths. Similarly, by determining the ratio of the length of the side AB to the length of the side PQ, the amount of distortion in the vertical direction can be determined.

【0031】X、Yを原画像の座標、x、yを補正後の
座標、θを傾き量とする変換式(B)より、 x=(Xcosθ+Ysinθ)・cosθ y=(Ycosθ−Xsinθ)/cosθ となる。
From the conversion equation (B) where X and Y are the coordinates of the original image, x and y are the coordinates after correction, and θ is the amount of inclination, x = (Xcos θ + Ysin θ) · cos θ y = (Ycos θ−Xsin θ) / cos θ Becomes

【0032】この変換式を用いた場合に、どのような歪
みが発生するのかを導き出す。理解を容易にするため
に、長方形ABCDにおいて、AD=BC=a、AB=
DC=bとし、各点の座標はサフィックスx、yを付加
して表す。水平方向の歪み量は、AD(=a)とPSの
長さの比で表現することができ、垂直方向の歪み量は、
AB(=b)とPQの長さの比で表現することができ
る。
Using this conversion formula, what kind of distortion is generated is derived. To facilitate understanding, in a rectangular ABCD, AD = BC = a, AB =
DC = b, and the coordinates of each point are represented by adding suffixes x and y. The amount of distortion in the horizontal direction can be represented by the ratio of AD (= a) and the length of PS, and the amount of distortion in the vertical direction is
It can be expressed by the ratio of AB (= b) to the length of PQ.

【0033】点Pのxおよびy座標値は、 Px=(Axcosθ+Aysinθ)・cosθ Py=(Aycosθ−Axsinθ)/cosθ となる。The x and y coordinate values of the point P are as follows: Px = (Axcosθ + Aysinθ) · cosθ Py = (Aycosθ−Axsinθ) / cosθ

【0034】また、点Sのx座標値は、 Sx=(Dxcosθ+Dysinθ)・cosθ となる。The x coordinate value of the point S is given by Sx = (Dxcosθ + Dysinθ) · cosθ.

【0035】一方、点Dの座標値は、 Dx=Ax+acosθ Dy=Ay+asinθ であるから、線分PSの長さは、 PS=Sx−Px =(Dxcosθ+Dysinθ)・cosθ−(Axcosθ+Aysinθ)・cosθ =(Axcosθ+acos2θ+Aysinθ+asin2θ−Axcosθ−Aysinθ)・cosθ =a(cos2θ+sin2θ)・cosθ =acosθ となる。On the other hand, since the coordinate value of the point D is Dx = Ax + acosθ Dy = Ay + asinθ, the length of the line segment PS is: PS = Sx−Px = (Dxcosθ + Dysinθ) · cosθ− (Axcosθ + Aysinθ) · cosθ = (Axcosθ + acos the 2 θ + Aysinθ + asin 2 θ -Axcosθ-Aysinθ) · cosθ = a (cos 2 θ + sin 2 θ) · cosθ = acosθ.

【0036】また、線分PQの長さは、Qy=0である
から、点Pのy座標値であり、 PQ=Py=(Aycosθ−Axsinθ)/cosθ となる。
Further, since the length of the line segment PQ is Qy = 0, it is the y coordinate value of the point P, and PQ = Py = (Aycos θ−Axsin θ) / cos θ.

【0037】一方、点Bの座標値は、 Bx=Ax+bsinθ By=Ay−bcosθ であるから、線分PQの長さは、 PQ=Py =((By+bcosθ)cosθ−(Bx−bsinθ)sinθ)/cosθ =(Bycosθ−Bxsinθ+b)/cosθ =b/cosθ(∵Bycosθ=Bxsinθ) となる。すなわち、線分AD(=a)は、acosθと
なり、(1−cosθ)×100%だけ縮むことにな
る。
On the other hand, since the coordinate value of the point B is Bx = Ax + bsinθ By = Ay−bcosθ, the length of the line segment PQ is PQ = Py = ((By + bcosθ) cosθ− (Bx−bsinθ) sinθ) / cosθ = (Bycosθ−Bxsinθ + b) / cosθ = b / cosθ (∵Bycosθ = Bxsinθ) That is, the line segment AD (= a) becomes acos θ, which is reduced by (1−cos θ) × 100%.

【0038】また、線分ABは、(1/cosθ−1)
×100%だけ伸びることになる。ここで、横方向の許
容歪み量をα%、縦方向の許容歪み量をβ%とすると、
これらの値と傾き量θとの間で、次の関係が成立すると
きのみ、原画像情報の傾き補正処理を行い、成立しない
ときは、補正を行わない方法を取ることができる。
The line segment AB is (1 / cos θ-1)
× 100%. Here, when the allowable distortion amount in the horizontal direction is α% and the allowable distortion amount in the vertical direction is β%,
Only when the following relationship is established between these values and the amount of inclination θ, the inclination correction processing of the original image information is performed, and if not, no correction is performed.

【0039】α≧(1−cosθ)×100 β≧(1/cosθ−1)×100 以下、この関係式を判定式(1)とする。なお、上述し
たように、α、βは、別々に設定することが可能である
が、α=βとし、同じ値を用いてもよい。
Α ≧ (1-cos θ) × 100 β ≧ (1 / cos θ−1) × 100 Hereinafter, this relational expression is defined as a judgment formula (1). Note that, as described above, α and β can be set separately, but α = β and the same value may be used.

【0040】また、補正の順序を変更して、水平方向、
垂直方向の順で移動を行う場合の歪み量は、次のように
なる。 α≧(1/cosθ−1)×100 β≧(1−cosθ)×100
Also, by changing the order of correction, the horizontal direction,
The amount of distortion when moving in the vertical direction is as follows. α ≧ (1 / cosθ−1) × 100 β ≧ (1-cosθ) × 100

【0041】<画像情報傾き補正装置>本発明の一実施
形態に係る画像情報傾き補正装置の具体的構成を説明す
る。図2は、本発明の一実施形態に係る画像情報傾き補
正装置の具体的構成を示すブロック図である。
<Image Information Tilt Correction Apparatus> A specific configuration of an image information tilt correction apparatus according to an embodiment of the present invention will be described. FIG. 2 is a block diagram showing a specific configuration of the image information tilt correction apparatus according to one embodiment of the present invention.

【0042】本発明の一実施形態に係る画像情報傾き補
正装置1は、図2に示すように、CPU(部)2、操作
部3、原稿読み取り部4、画像表示又は画像印刷部5、
原稿サイズ検出部6、表示部7、画素情報記憶部8、処
理用記憶部9、垂直方向の補正制御部10、水平方向の
補正制御部11、水平方向の是正部12、垂直方向の是
正部13を主な構成要素としている。
As shown in FIG. 2, an image information inclination correcting apparatus 1 according to an embodiment of the present invention includes a CPU (unit) 2, an operation unit 3, an original reading unit 4, an image display or image printing unit 5,
Document size detection unit 6, display unit 7, pixel information storage unit 8, processing storage unit 9, vertical correction control unit 10, horizontal correction control unit 11, horizontal correction unit 12, vertical correction unit 13 is a main component.

【0043】なお、図2に示す画像情報傾き補正装置1
では、許容歪み量設定部16と、水平方向の是正部12
および垂直方向の是正部13が同時に図示されている
が、歪みを持つ画像が生成された際に、当該歪みを是正
するための水平方向の是正部12および垂直方向の是正
部13が設けられる場合には、許容歪み量設定部16は
不要である。なお、CPU2およびその周辺機器が、傾
き量検出手段、補正判定手段として機能する。
Incidentally, the image information inclination correcting device 1 shown in FIG.
Then, the allowable distortion amount setting unit 16 and the horizontal correction unit 12
And a vertical correction unit 13 are illustrated at the same time, but when a distorted image is generated, a horizontal correction unit 12 and a vertical correction unit 13 for correcting the distortion are provided. Does not require the allowable distortion amount setting unit 16. Note that the CPU 2 and its peripheral devices function as a tilt amount detecting unit and a correction determining unit.

【0044】<操作部>上記した操作部3は、種々の設
定を行うキーや画像の読み込みを指示するキーを備えた
キー部14と、読み込まれた画像に傾きがあった場合
に、画像の傾きを補正するのか補正せずにそのまま出力
するのかを選択するための傾き補正要・不要設定部15
と、傾きの補正を行うときその画像についての許容歪み
量を設定するための許容歪み量設定部等を備えている。
なお、傾き補正要・不要設定部15および許容歪み量設
定部16は、キー部14を構成するキーと同様に、操作
キーから構成される。また、傾きが補正された画像に対
して、後に詳述する画像の伸張、圧縮処理(後述する図
9におけるSTEP7)が行われる場合には、許容歪み
量設定部16は不要である。この操作部3が、許容歪み
量入力手段として機能する。
<Operation Unit> The operation unit 3 includes a key unit 14 having keys for performing various settings and a key for instructing reading of an image. Tilt correction required / unnecessary setting unit 15 for selecting whether to correct the tilt or to output as it is without correction
And an allowable distortion amount setting unit for setting an allowable distortion amount for the image when the inclination is corrected.
The tilt correction necessity / unnecessary setting unit 15 and the allowable distortion amount setting unit 16 are composed of operation keys, like the keys constituting the key unit 14. When the image whose inclination has been corrected is subjected to image expansion / compression processing (STEP 7 in FIG. 9 described later), the allowable distortion amount setting unit 16 is not required. The operation unit 3 functions as an allowable distortion amount input unit.

【0045】<原稿読み取り部>上記した原稿読み取り
部4は、CPU2の信号に基づいて、原稿上の画像を読
み取り、必要ならば加工した上で画像記憶部に転送す
る。
<Document Reading Unit> The document reading unit 4 reads an image on a document based on a signal from the CPU 2, processes the image if necessary, and transfers it to the image storage unit.

【0046】<画像表示又は画像印刷部>上記した画像
表示または画像印刷部5は、CPU2の信号に基づい
て、画素情報記憶部8に記憶されている情報を表示また
は印刷する。
<Image Display or Image Printing Unit> The image display or image printing unit 5 displays or prints information stored in the pixel information storage unit 8 based on a signal from the CPU 2.

【0047】<原稿サイズ検出部>上記した原稿サイズ
検出部6は、設置された原稿のサイズを検出する。通常
の場合、斜めに設置された原稿のサイズを検出するのは
難しいが、傾きの量が小さければ、閾値で判定されるた
め、ほぼ正しく判定することができる。傾き量(θ)と
原稿のサイズ、置き方(縦か横か)等から、図3に示す
下辺部の長さ(L)を取得し、CPU2によりLsin
θを演算する。
<Document Size Detector> The above-described document size detector 6 detects the size of the placed document. In normal cases, it is difficult to detect the size of a document placed obliquely, but if the amount of tilt is small, the determination is made with a threshold, so that the determination can be made almost correctly. The length (L) of the lower side shown in FIG. 3 is obtained from the amount of tilt (θ), the size of the document, the placement (vertical or horizontal), and the like.
Calculate θ.

【0048】<表示部>上記した表示部7は、検出され
た傾き量が許容歪み量より大きい場合に、例えば、「右
端部をxx(=Lsinθ)だけ下げてください」とい
うメッセージを表示する。なお、傾きが、図3に示す場
合と逆方向の場合には、「下げて」を「上げて」に変更
し、Lsinθを絶対値で表示すればよい。
<Display Unit> The display unit 7 displays, for example, a message “Please lower the right end by xx (= Lsin θ)” when the detected tilt amount is larger than the allowable distortion amount. When the inclination is in the opposite direction to the case shown in FIG. 3, it is only necessary to change “lower” to “raise” and display Lsin θ as an absolute value.

【0049】また、図3に示す例は、画像は傾いていな
いが、原稿21の置き方が傾いた場合である。実際に
は、図4(a)に示すように、原稿21は正しく設置で
きたが、画像が傾いている場合もある。このような場合
には、「原稿をガイドに合わせて・・・」というメッセ
ージは有効でなく、上述したように「右端部をxx(=
Lsinθ)だけ下げてください」というメッセージが
有効である。このような指示を受けた操作者は、図4
(b)に示すように、原稿21を回転させて、画像の傾
きを修正する。ただし、この場合には、図4(c)に示
すように、原稿21の情報が一部失われ、何も印刷され
ない領域もできる可能性がある。この表示部7が、想定
歪み量報知手段および再設置位置情報報知手段として機
能する。
In the example shown in FIG. 3, the image is not tilted, but the document 21 is tilted. Actually, as shown in FIG. 4A, the original 21 was correctly set, but the image may be inclined. In such a case, the message "Match the document to the guide ..." is not valid, and as described above, "the right end is xx (=
Lsinθ) "is effective. The operator who has received such an instruction is shown in FIG.
As shown in (b), the original 21 is rotated to correct the inclination of the image. However, in this case, as shown in FIG. 4C, there is a possibility that a part of the information of the document 21 is lost and an area where nothing is printed may be formed. The display unit 7 functions as an assumed distortion amount informing unit and a re-installation position information informing unit.

【0050】<画素情報記憶部>上記した画素情報記憶
部8は、読み込まれた画像情報を記憶する。また、CP
U2の信号や、垂直方向の補正制御部10,水平方向の補
正制御部11、垂直方向の是正部13、水平方向の是正
部に基づいて、処理用記憶部9と連動することにより、
垂直・水平方向の補正、垂直・水平方向の是正を行う。
この画像情報記憶部8が、許容歪み量記憶手段として機
能する。
<Pixel Information Storage Unit> The above-described pixel information storage unit 8 stores the read image information. Also, CP
By interlocking with the processing storage unit 9 based on the signal of U2, the vertical correction control unit 10, the horizontal correction control unit 11, the vertical correction unit 13, and the horizontal correction unit,
Perform vertical / horizontal correction and vertical / horizontal correction.
The image information storage unit 8 functions as an allowable distortion amount storage unit.

【0051】<処理用記憶部>上記した処理用記憶部9
は、画素情報記憶部8に記憶されている画像情報を処理
する(垂直・水平方向の補正、垂直・水平方向の是正な
ど)際に、一時的にデータを保持する。すなわち、CP
U2の信号に基づいて、種々の処理において必要なデー
タを記憶する。
<Processing Storage Unit> The processing storage unit 9 described above.
Temporarily holds data when processing image information stored in the pixel information storage unit 8 (vertical / horizontal correction, vertical / horizontal correction, etc.). That is, CP
Based on the signal of U2, data necessary for various processes is stored.

【0052】<垂直方向の補正制御部>上記した垂直方
向の補正制御部10は、CPU2で傾き量θが計算さ
れ、生ずる歪み量が許容歪み量以下であると判定された
際に、垂直方向の補正処理を行う。垂直方向の補正の方
法を、図5に示す。図5(a)は、補正前の状態、図5
(b)は、垂直方向の補正処理後の状態を示す。
<Vertical Correction Control Unit> The vertical correction control unit 10 described above calculates the tilt amount θ by the CPU 2 and determines that the generated distortion amount is equal to or less than the allowable distortion amount. Is performed. FIG. 5 shows a method of vertical correction. FIG. 5A shows a state before correction, and FIG.
(B) shows a state after the vertical correction processing.

【0053】垂直方向の補正処理における原点はどこで
もよいが、図6に示すように、画素のx座標値がすべて
正ならば、画素を移動させる方向がすべて同じになる。
垂直方向の補正には、図13に示す変換式(Ba)を用
いる。すなわち、各画素の位置は、x座標は変わらず
(X=x’)、y座標のみ元の位置からXtanθだけ
y軸の負の方向へ移動する。
Although the origin in the vertical correction process may be anywhere, as shown in FIG. 6, if the x-coordinate values of the pixels are all positive, the directions in which the pixels move are all the same.
For the correction in the vertical direction, a conversion formula (Ba) shown in FIG. 13 is used. That is, the position of each pixel does not change the x coordinate (X = x ′), and moves only the y coordinate from the original position by Xtanθ in the negative direction of the y axis.

【0054】一方、移動ドット数は整数であり、Xta
nθに対して丸めが行われ、その結果、図5(a)に示
す領域(丸印3)に含まれる画素は、例えば3ドット、
領域(丸印4)に含まれる画素は、例えば4ドット移動
させられる。すなわち、領域(丸印3)にある画素は、
すべて3ドット、領域(丸印4)にある画素は、すべて
4ドット、移動させればよい。このような処理を行う
と、図5(b)に示す状態となる。
On the other hand, the number of moving dots is an integer, and Xta
nθ is rounded. As a result, the pixels included in the area (circle 3) shown in FIG.
The pixels included in the area (circle 4) are moved, for example, by four dots. That is, the pixels in the area (circle 3)
Pixels in all three dots and in the area (circle 4) may be moved by four dots. When such processing is performed, the state shown in FIG.

【0055】ここで、図5(a)に示す長方形ABCD
は、図5(b)に示す平行四辺形PQRSに対応する。
また、平行四辺形の辺PSや辺QRにおいて、1ドット
の凹凸が生じるが、計算上はこれ以上の凹凸は発生しな
い。垂直方向の補正制御部10は、上述した処理を画素
情報記憶部8、処理用記憶部9を用いてCPU2の信号
に基づいて行う。
Here, the rectangular ABCD shown in FIG.
Corresponds to the parallelogram PQRS shown in FIG.
In addition, although irregularities of one dot occur on the side PS and the side QR of the parallelogram, no further irregularities occur in the calculation. The vertical correction control unit 10 performs the above-described processing using the pixel information storage unit 8 and the processing storage unit 9 based on a signal from the CPU 2.

【0056】<水平方向の補正制御部>上記した水平方
向の補正制御部11における処理は、上述した垂直方向
の補正制御部10における処理と同様であるが、移動さ
せるドット数の計算には、図13の変換式(Bb)を用
いる。
<Horizontal Correction Control Unit> The processing in the horizontal correction control unit 11 is the same as the processing in the vertical correction control unit 10 described above. The conversion formula (Bb) shown in FIG. 13 is used.

【0057】<水平方向の是正部、垂直方向の是正部>
上記した水平方向の是正部12および垂直方向の是正部
13は、それぞれ水平方向および垂直方向の傾き補正に
よる歪みを是正し、元の形に戻す。すなわち、上述した
ような補正を行うことにより、元の画像は水平方向に対
してcosθ倍に圧縮されており、垂直方向に対して1
/cosθ倍に伸張される(図7参照)。
<Horizontal Correction Section, Vertical Correction Section>
The horizontal correction unit 12 and the vertical correction unit 13 correct distortions due to horizontal and vertical tilt corrections, respectively, and return to the original shape. That is, by performing the above-described correction, the original image is compressed by cos θ times in the horizontal direction, and 1 × in the vertical direction.
/ Cos θ times (see FIG. 7).

【0058】したがって、垂直方向の是正(垂直方向に
圧縮する是正)は、画素情報記憶部8の各画素を、水平
方向に1/(1−cosθ)ライン毎に1ライン削除す
ればよい(図8(a)参照)。また、水平方向の是正
(水平方向に伸張する是正)は、画素情報記憶部8の各
画素を、垂直方向にcosθ/(1−cosθ)ライン
毎に1ライン追加すればよい(図8(b)参照)。追加
する画素の情報は、左右に隣接する画素情報を平均化し
て求めたり、左右どちらかの画素情報をコピーして求め
る。
Therefore, correction in the vertical direction (correction to compress in the vertical direction) can be performed by deleting each pixel in the pixel information storage unit 8 in the horizontal direction for every 1 / (1-cos θ) line (FIG. 8 (a)). Further, the correction in the horizontal direction (correction to expand in the horizontal direction) may be performed by adding one line of each pixel of the pixel information storage unit 8 in the vertical direction for each cos θ / (1−cos θ) line (FIG. 8B )reference). The information of the pixel to be added is obtained by averaging the pixel information adjacent to the left and right or by copying the pixel information of either the left or right.

【0059】水平方向の是正部12および垂直方向の是
正部13は、上述した処理を画素情報記憶部8、処理用
記憶部9を用いてCPU2の信号に基づいて行う。この
水平方向の是正部12および垂直方向の是正部13が、
歪み除去手段として機能する。
The horizontal correction unit 12 and the vertical correction unit 13 perform the above-described processing using the pixel information storage unit 8 and the processing storage unit 9 based on the signal of the CPU 2. The horizontal correction unit 12 and the vertical correction unit 13
It functions as a distortion removing unit.

【0060】<画像情報の補正処理>次に、本発明の一
実施形態に係る画像情報傾き補正装置1における画像情
報の傾き補正処理の手順を説明する。図9は、本発明の
一実施形態に係る画像情報傾き補正装置1における画像
情報の傾き補正処理の手順を示すフローチャートであ
る。
<Image Information Correction Processing> Next, a procedure of image information inclination correction processing in the image information inclination correction apparatus 1 according to an embodiment of the present invention will be described. FIG. 9 is a flowchart illustrating a procedure of a tilt correction process of image information in the image information tilt correction device 1 according to an embodiment of the present invention.

【0061】本発明の一実施形態に係る画像情報傾き補
正装置1を用いて、画像情報の傾きを補正するには、図
9に示すように、まず、スキャナ等の入力装置に原稿を
設置しコピーキーなどを操作して、画像を読み込む(S
TEP0)。続いて、入力装置により読み込まれた文書
データを記憶装置に記憶させ(STEP1)、傾きの補
正が必要か否かを判定する(STEP2)。ここで、傾
きの補正が不要な場合には、画像の表示または印刷を行
う(STEP8)。一方、傾きの補正が必要な場合に
は、記憶されたデータから文書全体の傾きを検出する
(STEP3)。なお、傾きの検出方法については、上
述したように種々の方法が提案されており、ここでは説
明を省略する。
To correct the inclination of image information using the image information inclination correction apparatus 1 according to one embodiment of the present invention, first, as shown in FIG. 9, a document is placed on an input device such as a scanner. Read the image by operating the copy key (S
TEP0). Subsequently, the document data read by the input device is stored in the storage device (STEP 1), and it is determined whether or not the inclination needs to be corrected (STEP 2). If it is not necessary to correct the tilt, the image is displayed or printed (STEP 8). On the other hand, if the inclination needs to be corrected, the inclination of the entire document is detected from the stored data (STEP 3). Note that, as described above, various methods for detecting the inclination have been proposed, and a description thereof will be omitted.

【0062】続いて、検出された傾きと許容歪み量を比
較判定する(STEP4)。この場合、許容歪み量は、
操作者が選択できるようにしてもよいし、設計者が予め
決定してもよいが、後者の場合は一定の許容歪み量とな
り、文書の内容によって許容歪み量を選択することはで
きない。また、縦方向と横方向とにおいて、別々の許容
歪み量を設定できるようにしてもよい。歪み量の判定に
は、上述した判定式(1)を用いる。
Subsequently, a comparison is made between the detected inclination and the allowable distortion amount (STEP 4). In this case, the allowable distortion amount is
The operator may be able to select it, or the designer may determine it in advance, but in the latter case, the amount of allowable distortion is constant, and the amount of allowable distortion cannot be selected depending on the contents of the document. Further, different allowable distortion amounts may be set in the vertical direction and the horizontal direction. The above-described determination equation (1) is used to determine the amount of distortion.

【0063】判定の結果、判定式(1)を満たす場合に
は、垂直方向の補正(STEP5)および水平方向の補
正(STEP6)を実行する。さらに、水平方向に圧縮
された画像の是正や、垂直方向に伸張された画像の是正
(STEP7)を行い、印刷装置などへ出力する(ST
EP8)。
As a result of the judgment, when the judgment formula (1) is satisfied, a vertical correction (STEP 5) and a horizontal correction (STEP 6) are executed. Further, the image compressed in the horizontal direction is corrected and the image expanded in the vertical direction is corrected (STEP 7), and output to a printing device or the like (ST7).
EP8).

【0064】一方、判定(STEP4)の結果、判定式
(1)を満たさない場合には、「傾きが大きすぎる」こ
とを操作者に報知し(STEP11)、処理を中断する
(STEP12)。ここで、操作者が再度コピーキーな
どを操作した場合(STEP14)には、上述した判定
式(1)を満たしたものとみなして、上述した補正処理
を行う。このとき得られる画像は、傾きは除去されてい
るものの、歪みは許容量以上となる。また、処理が中断
された際に、原稿カバーを開いて原稿の置き方が修正さ
れ、コピーキーが操作された場合(STEP15)に
は、処理を最初からやり直すことになる。なお、(ST
EP14)、(STEP15)におけるキー操作の区別
は、原稿カバーが開かれたどうか、あるいは原稿の設置
位置が変更されたかどうかをセンサで検知すればよい。
On the other hand, if the result of the determination (STEP 4) does not satisfy the determination formula (1), the operator is informed that "the inclination is too large" (STEP 11), and the processing is interrupted (STEP 12). Here, when the operator operates the copy key or the like again (STEP 14), it is regarded that the above-described determination formula (1) is satisfied, and the above-described correction processing is performed. In the image obtained at this time, although the inclination is removed, the distortion is equal to or more than an allowable amount. When the process is interrupted, the document cover is opened and the way of placing the document is corrected, and if the copy key is operated (STEP 15), the process is restarted from the beginning. (ST
The distinction between the key operations in EP14) and (STEP15) may be made by detecting whether or not the document cover is opened or whether or not the position of the document has been changed.

【0065】[0065]

【発明の効果】本発明に係る画像情報傾き補正装置は、
上述した構成を備えているため、以下に説明する効果を
奏することができる。
The image information inclination correcting apparatus according to the present invention comprises:
With the above-described configuration, the following effects can be obtained.

【0066】本発明に係る画像情報傾き補正装置では、
検出された傾き量と、記憶された許容歪み量との相関関
係に基づいて、入力された画像情報の傾き補正を行うか
否かを判定する。したがって、歪み量を規定値以内に抑
えることができるため、無駄な作業やミスコピーを防止
することができ、作業効率を高めることができる。
In the image information inclination correcting apparatus according to the present invention,
Based on the correlation between the detected tilt amount and the stored allowable distortion amount, it is determined whether or not to perform the tilt correction of the input image information. Therefore, since the amount of distortion can be suppressed within the specified value, useless work and erroneous copy can be prevented, and work efficiency can be improved.

【0067】また、本発明に係る画像情報傾き補正装置
では、操作者に対して補正時に発生すると想定される歪
み量を報知する。したがって、操作者は、予め許容歪み
量を超える歪みが発生することを認識することにより、
許容歪み量以内に抑えるために原稿の設置方法を修正す
ることができる。このため、無駄な作業やミスコピーを
防止することができ、作業効率を高めることができる。
Further, in the image information inclination correcting apparatus according to the present invention, the operator is notified of the amount of distortion assumed to occur at the time of correction. Therefore, the operator recognizes in advance that distortion exceeding the allowable distortion amount occurs,
The document placement method can be modified to keep the distortion within the allowable distortion amount. Therefore, useless work and erroneous copy can be prevented, and work efficiency can be improved.

【0068】また、本発明に係る画像情報傾き補正装置
では、記憶すべき許容歪み量を操作者が設定することが
できる。歪みが許容されるか否かは、原稿の内容や複写
物の使用目的、あるいは、歪み量によって異なってい
る。したがって、操作者の判断により許容歪み量を設定
することができるため、無駄な作業やミスコピーを防止
することができ、作業効率を高めることができる。
Further, in the image information inclination correcting apparatus according to the present invention, the operator can set the allowable distortion amount to be stored. Whether or not distortion is allowed depends on the contents of the document, the purpose of use of the copy, or the amount of distortion. Therefore, since the allowable distortion amount can be set by the operator's judgment, useless work and erroneous copy can be prevented, and work efficiency can be improved.

【0069】また、補正処理の要否を操作者が選択する
ことができるので、画像情報の相違に基づいた適正な処
理を行うことにより、さらに作業効率を高めることがで
きる。
Further, since the operator can select whether or not the correction processing is necessary, the work efficiency can be further improved by performing the appropriate processing based on the difference in the image information.

【0070】また、本発明に係る画像情報傾き補正装置
では、原稿の再設置位置に関する数値情報を操作者に対
して報知することができる。一般的に、スキャナ、複写
機などの画像入力装置において原稿の設置方法を変更す
る場合には、原稿を裏面から見るため、どちらの方向に
どれだけ修正すればよいのかが分かり難い。したがっ
て、原稿の再設置位置を数値的に表現することにより、
修正に関する情報を非常に分かり易くすることができ
る。
Further, in the image information skew correction apparatus according to the present invention, it is possible to notify the operator of numerical information relating to the re-installation position of the document. In general, when changing the setting method of a document in an image input apparatus such as a scanner or a copying machine, it is difficult to know in which direction and how much correction should be performed because the document is viewed from the back side. Therefore, by numerically expressing the re-installation position of the original,
The information about the modification can be made very easy to understand.

【0071】また、本発明に係る画像情報傾き補正装置
では、画像情報の傾きを補正することにより得られた画
像の歪みを除去することができる。したがって、傾きを
補正した後の画像の歪みを高速に補正して、元の画像の
形状に戻すことができるので、高品位な画像を得ること
ができる。
Further, the image information skew correction apparatus according to the present invention can remove the distortion of the image obtained by correcting the skew of the image information. Therefore, the distortion of the image after the inclination has been corrected can be corrected at high speed to restore the original image shape, so that a high-quality image can be obtained.

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

【図1】画像を垂直方向に補正した場合と、水平方向に
補正した場合を示す説明図である。
FIG. 1 is an explanatory diagram showing a case where an image is corrected in a vertical direction and a case where an image is corrected in a horizontal direction.

【図2】本発明の一実施形態に係る画像情報傾き補正装
置の具体的構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a specific configuration of an image information inclination correction apparatus according to an embodiment of the present invention.

【図3】原稿の傾き検出を説明する説明図である。FIG. 3 is an explanatory diagram illustrating detection of the inclination of a document.

【図4】原稿中の画像の傾き検出を説明する説明図であ
る。
FIG. 4 is an explanatory diagram illustrating detection of the inclination of an image in a document.

【図5】画像の歪み補正処理を説明する説明図である。FIG. 5 is an explanatory diagram illustrating an image distortion correction process.

【図6】垂直方向・水平方向の補正処理を説明する説明
図である。
FIG. 6 is an explanatory diagram illustrating correction processing in a vertical direction and a horizontal direction.

【図7】画像の圧縮・伸張を説明する説明図である。FIG. 7 is an explanatory diagram illustrating compression / expansion of an image.

【図8】画像の圧縮・伸張を説明する説明図であるFIG. 8 is an explanatory diagram illustrating compression / expansion of an image.

【図9】本発明の一実施形態に係る画像情報傾き補正装
置における画像情報の傾き補正処理の手順を示すフロー
チャートである。
FIG. 9 is a flowchart illustrating a procedure of image information inclination correction processing in the image information inclination correction apparatus according to an embodiment of the present invention.

【図10】原稿の設置により生じる画像の傾きを説明す
るための説明図である。
FIG. 10 is an explanatory diagram for explaining an image inclination caused by placing a document.

【図11】画像情報の傾き補正の大まかなステップを示
す説明図である。
FIG. 11 is an explanatory diagram showing rough steps of inclination correction of image information.

【図12】従来の画像情報の傾き補正方法で用いる変換
式の説明図である。
FIG. 12 is an explanatory diagram of a conversion formula used in a conventional image information inclination correction method.

【図13】従来の画像情報の傾き補正方法で用いる変換
式の説明図である。
FIG. 13 is an explanatory diagram of a conversion formula used in a conventional image information inclination correction method.

【図14】従来の画像情報の傾き補正方法に用いる変換
式の説明図である。
FIG. 14 is an explanatory diagram of a conversion formula used for a conventional image information inclination correction method.

【図15】画像の歪みを説明するための説明図である。FIG. 15 is an explanatory diagram for explaining image distortion.

【図16】画像情報の相違に基づく傾き補正の要否を説
明する説明図である。
FIG. 16 is an explanatory diagram for explaining the necessity of tilt correction based on a difference in image information.

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

1 画像情報傾き補正装置 2 CPU 3 操作部 4 原稿読み取り部 5 画像表示又は画像印刷部 6 原稿サイズ検出部 7 表示部 8 画素情報記憶部 9 処理用記憶部 10 垂直方向の補正制御部 11 水平方向の補正制御部 12 水平方向の是正部 13 垂直方向の是正部 14 キー部 15 傾き補正要・不要設定部 16 許容歪み量設定部 21 原稿 22 複写物 23 指示ガイド 24 画像情報 DESCRIPTION OF SYMBOLS 1 Image information inclination correction device 2 CPU 3 Operation part 4 Document reading part 5 Image display or image printing part 6 Document size detection part 7 Display part 8 Pixel information storage part 9 Processing storage part 10 Vertical correction control part 11 Horizontal direction Correction control unit 12 Horizontal correction unit 13 Vertical correction unit 14 Key unit 15 Tilt correction required / unnecessary setting unit 16 Allowable distortion amount setting unit 21 Original document 22 Copy 23 Instruction guide 24 Image information

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像情報の傾き量を検出するための傾き
量検出手段を有し、画像情報が傾いて入力された場合
に、前記傾き量検出手段により検出された傾き量に応じ
て水平および垂直方向に画素情報を移動して画像情報の
傾きを補正するための画像情報傾き補正装置において、 許容歪み量を記憶するための許容歪み量記憶手段と、 前記傾き量検出手段により検出された傾き量と、前記許
容歪み量記憶手段に記憶された許容歪み量との相関関係
に基づいて、入力された画像情報の傾き補正を行うか否
かを判定するための補正判定手段とを備えたことを特徴
とする画像情報傾き補正装置。
1. An image processing apparatus, comprising: a tilt amount detecting means for detecting a tilt amount of image information. When image information is input while being tilted, horizontal and horizontal shifts are performed in accordance with the tilt amount detected by the tilt amount detecting means. In an image information inclination correction device for correcting the inclination of image information by moving pixel information in a vertical direction, an allowable distortion amount storage unit for storing an allowable distortion amount, and an inclination detected by the inclination amount detection unit. Correction judgment means for judging whether or not to perform inclination correction of the input image information based on a correlation between the amount and the allowable distortion amount stored in the allowable distortion amount storage means. An image information inclination correction device characterized by the above-mentioned.
【請求項2】 前記傾き量検出手段により検出された画
像情報の傾き量と、前記許容歪み量記憶手段に記憶され
た許容歪み量との相関関係に基づいて、操作者に対して
補正時に発生すると想定される歪み量を報知するための
想定歪み量報知手段を備えたことを特徴とする請求項1
記載の画像情報傾き補正装置。
2. A correction operation is performed for an operator based on a correlation between a tilt amount of image information detected by the tilt amount detecting means and a permissible distortion amount stored in the permissible distortion amount storing means. 2. The apparatus according to claim 1, further comprising an estimated distortion amount notifying unit configured to notify the estimated distortion amount.
The image information inclination correction device described in the above.
【請求項3】 前記許容歪み量記憶手段において記憶す
べき許容歪み量を操作者が設定するための許容歪み量入
力手段を備えたことを特徴とする請求項1または2記載
の画像情報傾き補正装置。
3. The image information tilt correction according to claim 1, further comprising an allowable distortion amount input unit for setting an allowable distortion amount to be stored in the allowable distortion amount storage unit by an operator. apparatus.
【請求項4】 前記補正判定手段により画像情報の傾き
補正を行わないと判定された場合に、前記傾き量検出手
段により検出された画像情報の傾き量と、当該画像情報
の原稿サイズから導き出される原稿の再設置位置に関す
る数値情報を、操作者に対して報知するための再設置位
置情報報知手段を備えたことを特徴とする請求項1〜3
のうちいずれか1項記載の画像情報傾き補正装置。
4. When the correction judging means judges that the inclination correction of the image information is not performed, it is derived from the inclination amount of the image information detected by the inclination amount detecting means and the document size of the image information. 4. A reset position information notifying means for notifying an operator of numerical information relating to a reset position of a document to an operator.
The image information inclination correction device according to any one of the above.
【請求項5】 画像情報の傾きを補正することにより得
られた画像の歪みを除去するための歪み除去手段を備え
たことを特徴とする請求項1〜4のうちいずれか1項記
載の画像情報傾き補正装置。
5. The image according to claim 1, further comprising a distortion removing unit for removing distortion of the image obtained by correcting the inclination of the image information. Information tilt correction device.
【請求項6】 前記許容歪み量入力手段は、傾き補正を
行わない設定を行うことが可能なことを特徴とする請求
項3記載の画像情報傾き補正装置。
6. The image information tilt correction apparatus according to claim 3, wherein said allowable distortion amount input means can perform setting for not performing tilt correction.
JP2000061008A 2000-03-06 2000-03-06 Device for correcting image information tilt Pending JP2001251492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000061008A JP2001251492A (en) 2000-03-06 2000-03-06 Device for correcting image information tilt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000061008A JP2001251492A (en) 2000-03-06 2000-03-06 Device for correcting image information tilt

Publications (1)

Publication Number Publication Date
JP2001251492A true JP2001251492A (en) 2001-09-14

Family

ID=18581228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000061008A Pending JP2001251492A (en) 2000-03-06 2000-03-06 Device for correcting image information tilt

Country Status (1)

Country Link
JP (1) JP2001251492A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011120962A1 (en) 2010-12-21 2012-10-11 Canon K.K. Image processing apparatus, method for controlling the apparatus and program
JP2014112934A (en) * 2014-02-13 2014-06-19 Sharp Corp Image processing apparatus, image forming apparatus, image processing method, image processing program and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011120962A1 (en) 2010-12-21 2012-10-11 Canon K.K. Image processing apparatus, method for controlling the apparatus and program
US9179036B2 (en) 2010-12-21 2015-11-03 Canon Kabushiki Kaisha Image processing apparatus corresponding to a plurality of documents on a document plate, method for controlling the same, and program
JP2014112934A (en) * 2014-02-13 2014-06-19 Sharp Corp Image processing apparatus, image forming apparatus, image processing method, image processing program and recording medium

Similar Documents

Publication Publication Date Title
JPH03144863A (en) Detecting method and correcting method for inclination of picture and picture information processor
EP1715673A1 (en) Additional information processing device, additional information processing system, and additional information processing method
JP4419269B2 (en) Two-dimensional code extraction method
CN101009754A (en) Image processing device and method, image forming device and method, tint block image, program recording medium
JP3679671B2 (en) Image processing apparatus, image processing method, program thereof, and storage medium
JPH0535938A (en) Picture processor
JP4762327B2 (en) Image processing apparatus and image forming apparatus
US8675245B2 (en) Apparatus with capability of detecting two-dimensional code
JP2001251492A (en) Device for correcting image information tilt
US20070133035A1 (en) Image-forming apparatus, image-processing apparatus, confidential document reading method, image-processing method, and image-forming method
US5113267A (en) Apparatus for and method of reconstructing a document
JP3582988B2 (en) Non-contact image reader
JPH10341332A (en) Image-forming device
JPH06311333A (en) Picture processing unit
JPH09147109A (en) Method and device for specific mark detection
CN110174989B (en) Display device, control method of display device, and recording medium
TWI804452B (en) Duplex document copying system and method thereof
JP4055805B2 (en) Image processing apparatus and control method thereof
JPH09135331A (en) Image processor
JP2006295484A (en) Image forming apparatus, image forming method, and image forming program
JPH02170280A (en) Document inclination corrector
JP2009093360A (en) Image processor, image processing method, and program
US20210256333A1 (en) Image forming apparatus
JP4389942B2 (en) Digital watermarking method for binary images
JP2022116985A (en) Image processing device and image formation device