JP2018203450A - Image reading device, method for controlling the same, and program - Google Patents
Image reading device, method for controlling the same, and program Download PDFInfo
- Publication number
- JP2018203450A JP2018203450A JP2017110249A JP2017110249A JP2018203450A JP 2018203450 A JP2018203450 A JP 2018203450A JP 2017110249 A JP2017110249 A JP 2017110249A JP 2017110249 A JP2017110249 A JP 2017110249A JP 2018203450 A JP2018203450 A JP 2018203450A
- Authority
- JP
- Japan
- Prior art keywords
- skew correction
- skew
- correction
- document
- reading
- 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
- Controlling Sheets Or Webs (AREA)
- Registering Or Overturning Sheets (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、画像読取装置、その制御方法、及びプログラムに関するものである。 The present invention relates to an image reading apparatus, a control method thereof, and a program.
従来、複写機等に使用される原稿読取装置には、原稿搬送装置により原稿を1ページずつ原稿台ガラス上に搬送し、その搬送路に肯定して設けられたイメージセンサによって原稿の画像が読み取られる、いわゆる「流し読み」を行うものが知られている。この流し読みでは、傾いた状態で搬送された原稿を読み取ると、原稿画像が傾いて読み取られてしまう問題がある。このような問題を解決するために、原稿の傾き及び位置を検出し、検出した結果から原稿の傾き及び位置を調整する、いわゆる原稿の幾何補正を行うものがある。 2. Description of the Related Art Conventionally, in a document reading apparatus used for a copying machine or the like, a document is transported one page at a time on a platen glass by a document transport device, and an image of a document is scanned by an image sensor provided in an affirmative manner on the transport path. What performs so-called “flow-reading” is known. In the flow-reading, there is a problem that when a document conveyed in a tilted state is read, the document image is inclined and read. In order to solve such a problem, there is a technique that performs so-called geometric correction of a document by detecting the tilt and position of the document and adjusting the tilt and position of the document based on the detected result.
当該幾何補正には、メモリ容量等の制限により、大きく傾いた原稿に対して補正可能な角度が限定されてしまうことがある。そこで、特許文献1では、斜行補正用のメモリの容量、変倍率及び原稿サイズから最大補正角度を演算し、原稿が最大補正角度よりも大きく傾いた時には最大角度の警告を表示する技術が提案されている。 In the geometric correction, the angle that can be corrected with respect to a highly inclined document may be limited due to a limitation in memory capacity or the like. Therefore, Patent Document 1 proposes a technique for calculating the maximum correction angle from the capacity of the skew correction memory, the magnification, and the document size, and displaying a warning of the maximum angle when the document is tilted more than the maximum correction angle. Has been.
しかしながら、上記従来技術には以下に記載する課題がある。原稿の幾何補正を行うための画像データの処理は、画像データをメモリに記憶し、メモリに記憶された画像データを随時処理していくことで行われる。よって処理される画像データを記憶しておくメモリ容量により、幾何補正を行う幾何補正量が制限される。しかし、原稿はユーザによって原稿台に載置されるため、原稿の斜行量は変化し、大きな斜行量を持ったまま原稿が読みとられる可能性もある。その結果、画像データを記憶しておくメモリが限定的な場合には、斜行補正が適切に実施されない虞もある。 However, the above prior art has the following problems. Processing of image data for performing geometric correction of a document is performed by storing the image data in a memory and processing the image data stored in the memory as needed. Therefore, the amount of geometric correction for performing geometric correction is limited by the memory capacity for storing the image data to be processed. However, since the document is placed on the document table by the user, the skew amount of the document changes, and the document may be read with a large skew amount. As a result, when the memory for storing the image data is limited, there is a possibility that the skew correction is not appropriately performed.
また、ユーザが原稿台に載置する原稿は様々な種類があり、中にはそもそも原稿端が直線ではない原稿が存在したり、ユーザが幾何補正の実施を要望しない場合もある。そのような原稿に対しても幾何補正を行うと、誤った幾何補正が行われる等の誤作動を起こす結果となる。 In addition, there are various types of documents placed on the document table by the user, and in some cases, there is a document whose document edge is not a straight line in the first place, or the user does not desire to perform geometric correction. If geometric correction is performed on such a document, an erroneous operation such as incorrect geometric correction is caused.
本発明は、上述の問題に鑑みて成されたものであり、原稿の斜行量に応じて、ユーザの意図に反しない斜行補正を好適に行う仕組みを提供することを目的とする。 The present invention has been made in view of the above-described problems, and an object thereof is to provide a mechanism for suitably performing skew correction that does not contradict the user's intention according to the skew amount of a document.
本発明は、画像読取装置であって、読取対象の原稿を搬送する搬送手段と、前記搬送手段によって搬送されている原稿を読み取る読取手段と、前記読取手段によって読み取った画像データに対して斜行補正を実施する程度がそれぞれ異なる複数の斜行補正モードのうちのいずれかの斜行補正モードを、ユーザ入力によって設定された設定内容に従って選択する選択手段と、前記選択手段によって選択された前記斜行補正モードに応じて、前記読取手段によって読み取った画像データへの斜行補正の実施を制御する制御手段とを備えることを特徴とすることを特徴とする。 The present invention relates to an image reading apparatus, a conveying unit that conveys a document to be read, a reading unit that reads a document conveyed by the conveying unit, and an image data read by the reading unit. Selection means for selecting any one of a plurality of skew correction modes having different degrees of correction according to the setting contents set by user input, and the skew selected by the selection means And control means for controlling the execution of skew correction on the image data read by the reading means in accordance with the row correction mode.
本発明によれば、原稿の斜行量に応じて、ユーザの意図に反しない斜行補正を好適に行うことができる。 According to the present invention, skew correction that is not contrary to the user's intention can be suitably performed according to the skew amount of the document.
以下に本発明の一実施形態を示す。以下で説明される個別の実施形態は、本発明の上位概念、中位概念及び下位概念など種々の概念を理解するために役立つであろう。また、本発明の技術的範囲は、特許請求の範囲によって確立されるのであって、以下の個別の実施形態によって限定されるわけではない。 An embodiment of the present invention is shown below. The individual embodiments described below will help to understand various concepts, such as superordinate concepts, intermediate concepts and subordinate concepts of the present invention. Further, the technical scope of the present invention is established by the claims, and is not limited by the following individual embodiments.
<第1の実施形態>
<画像読取装置の構成>
以下では、本発明の第1の実施形態について説明する。まず、図1を参照して、本実施形態に係る画像読取装置の構成について説明する。本実施形態では、画像読取装置の一例として自動原稿搬送機構を搭載した原稿読取装置を例に説明する。
<First Embodiment>
<Configuration of image reading apparatus>
Hereinafter, a first embodiment of the present invention will be described. First, the configuration of the image reading apparatus according to the present embodiment will be described with reference to FIG. In the present embodiment, a document reading apparatus equipped with an automatic document transport mechanism will be described as an example of an image reading apparatus.
まず、図1(a)を参照して説明する。101は原稿トレイであり、読取対象の原稿102を積載する。原稿トレイ101には原稿ガイド103と連動して動く不図示の原稿幅検出用ボリューム抵抗器104が設けられている。さらに、原稿トレイ101には原稿102の長手方向(以下では、副走査方向と称する。)検出用の不図示の原稿長検出センサ110が設けられている。原稿搬送モーター105は、原稿トレイ101上に載置された原稿102を機内に給紙し、原稿読取ユニット106と、不図示の原稿背景板109との間の原稿読取位置107上を通過させる。原稿読取ユニット106は、原稿読取位置107を通過する原稿102の画像情報を読み取る。原稿読取ユニット106で原稿102の画像読取が終了すると、原稿102は、原稿搬送モーター105によって排紙トレイ108に排出される。
First, a description will be given with reference to FIG.
図1(b)は、原稿トレイ101を上から見た図である。載置した原稿102に合わせてユーザは原稿ガイド103をスライドさせることができる。スライドさせた幅aによって載置されている原稿102の幅(以下では、主走査幅と称する。)を検出できる。110は、原稿102の副走査サイズを判定する原稿長検出センサであり、原稿幅検出用ボリューム抵抗器104の検出値との組み合わせにより、原稿サイズを決定する。111は、原稿検知センサであり、原稿トレイ101に原稿が搭載されたか否かを判断することができる信号を出力する。
FIG. 1B is a view of the
<原稿読取ユニットの構成>
次に、図2を参照して、原稿読取ユニット106の詳細な構成について説明する。原稿読取ユニット106は、LED光源201、208、レンズ202、CCDラインセンサ203、及びミラー204、205、206、207を備える。
<Configuration of document reading unit>
Next, a detailed configuration of the
LED光源201、208は、原稿読取位置107を通過する原稿に対して光を照射する。レンズ202は、ミラー204、205、206、207によって導かれた、原稿102からの反射光を受光する。CCDラインセンサ203は、レンズ202によって導かれた原稿102からの反射光を受光素子で光電変換し、入射光量に応じた電気信号を出力する。原稿読取装置では、原稿102を図中の進行方向に向けて搬送させながら、原稿読取位置107で原稿102の画像を読み取る。
The
<制御構成>
次に、図3を参照して、本実施形態に係る原稿読取装置の制御構成について説明する。なお、既に説明した構成については同一の参照符号を付し、説明を省略する。CPU301は、原稿読取装置を制御するためのメインCPUであり、操作部312に入力されたユーザからの指示に基づき、LED光源201、208、CCDラインセンサ203、及び原稿搬送モーター105を制御し、原稿読取制御を統括的に制御する。
<Control configuration>
Next, a control configuration of the document reading apparatus according to the present embodiment will be described with reference to FIG. In addition, about the structure already demonstrated, the same referential mark is attached | subjected and description is abbreviate | omitted. The
ここで、画像信号の流れについて説明する。CCDラインセンサ203によって出力される、読み取られた原稿の濃度に応じた電気信号は、A/D変換部303に入力される。A/D変換部303は、入力信号を、アナログ電気信号からデジタル画像信号に変換して、変換したデジタル画像信号をシェーディング補正部304に出力する。シェーディング補正部304は、LED光源201、208の光量の不均一性の影響やCCDラインセンサ203の画素感度の影響を補正したデジタル画像信号を出力する。シェーディング補正部304から出力されたデジタル画像信号は、斜行量検知部305、エッジ連続性判断部306、傾き式算出部308、補正基準位置算出部309、斜行補正部310、斜行補正制御部311、及びメモリ307へ入力される。
Here, the flow of the image signal will be described. An electric signal output by the
斜行量検知部305は、シェーディング補正部304からのデジタル画像信号を基に、原稿読取ユニット106の読み取りばらつきによるランダムノイズ除去機能や、原稿のエッジを検出し、その結果をCPU301に通知する機能を有する。また、斜行量検知部305は、原稿のエッジ位置情報を取得し、その結果をメモリ307に格納する機能を有する。また、斜行量検知部305は、メモリ307に格納された画像データを読み出し、読み出した画像データを基にエッジ位置情報を取得してその結果をメモリ307に格納する機能も有する。
The skew amount detection unit 305 detects a random noise caused by reading variation of the
エッジ連続性判断部306は、斜行量検知部305の結果をメモリ307から読み出し、CPU301から指示された原稿エッジ判断値を用いて原稿のエッジを判断する。例えば、エッジ連続性判断部306は、上記原稿エッジ判断値以上に原稿エッジが連続した場合、原稿の先端が存在すると判断し、原稿エッジの連続性開始位置が原稿の端部であると確定し、原稿先端開始位置(左・右端部主走査位置)として出力する。
The edge
傾き式算出部308は、エッジ連続性判断部306で算出された左・右端部主走査位置から原稿サイズを求め、一次式算出用のデータ範囲を判断する処理を実行する。さらに、傾き式算出部308は、斜行量検知部305で検出しメモリ307に格納されたエッジ位置情報から判断した範囲のデータを取得して一次式(斜行量(傾き量)、傾き方向、切片、切片向き)を算出し、その結果をCPU301に出力する。
The inclination
傾き補正基準位置算出部309は、CPU301からの指示によりエッジ位置情報と、斜行量とを含む一次式情報に基づき、原稿の左角(または、右角)の位置をエッジ連続性判断部306で算出した左・右端部主走査位置から主走査位置を微調整する。そして、傾き式算出部308で算出した一次式へ微調整した主走査位置を代入することで左・右端部副走査位置を推定算出し、これにより原稿劣化及び原稿斜行量に関わらず正確な原稿角位置を確定し、CPU301へ出力する。
The inclination correction reference
斜行補正部310は、CPU301から指示により、原稿斜行量と傾き方向、傾き補正基準位置(左角または、右角位置情報)に基づいてメモリ307に格納されたデジタル画像信号の傾きを補正し、画像データを出力する。
The
<アフィン変換>
ここで幾何補正処理として一般的に用いられるアフィン変換と、アフィン変換の演算簡略化処理について説明する。なお、幾何補正処理は、斜行補正部310でハードウェアとして実現される。しかしながら、本発明はこれに限定されず、CPU301でソフトウェアとして実現することも可能である。
<Affine transformation>
Here, the affine transformation generally used as the geometric correction processing and the calculation simplification processing of the affine transformation will be described. The geometric correction process is realized as hardware by the
アフィン変換は、斜行量に応じた角度θを補正するための画素の位置(主走査(X)、副走査(Y))を算出する。x0及びy0は傾き補正されたデータを平行移動させるための移動量であり、画像の先端部及び端部の出力位置を合わせることが可能となる。アフィン変換の一般式を示す。 The affine transformation calculates pixel positions (main scanning (X), sub-scanning (Y)) for correcting the angle θ according to the skew amount. x0 and y0 are movement amounts for translating the tilt-corrected data, and it is possible to match the output positions of the front end and the end of the image. The general formula of affine transformation is shown.
X = xcosθ ‐ ysinθ + x0
Y = xsinθ + ycosθ + y0
X:主走査方向の補正後の画素位置、Y:副走査方向の補正後の画素位置
x:補正前の主走査方向の画素位置、y:補正前の副走査方向の画素位置
x0:主走査方向の平行移動量(主走査傾き補正基準位置)
y0:副走査方向の平行移動量(副走査傾き補正基準位置)
θ:原稿先端から算出された傾き基づく角度
上記で述べたアフィン変換は、一般式であり集積回路で実現する際にcosθ=1として、下記演算式が用いられている。
X = xcosθ-ysinθ + x0
Y = xsinθ + ycosθ + y0
X: pixel position after correction in the main scanning direction, Y: pixel position after correction in the sub-scanning direction x: pixel position in the main scanning direction before correction, y: pixel position in the sub-scanning direction before correction x0: main scanning Direction translation (main scanning tilt correction reference position)
y0: parallel movement amount in the sub-scanning direction (sub-scanning tilt correction reference position)
θ: Angle based on the inclination calculated from the leading edge of the document
The affine transformation described above is a general expression, and the following arithmetic expression is used with cos θ = 1 when realized by an integrated circuit.
X = x ‐ ytanθ + x0
Y = xtanθ + y + y2
X:主走査方向の補正後の画素位置、Y:副走査方向の補正後の画素位置
x:補正前の主走査方向の画素位置、y:補正前の副走査方向の画素位置
x0:主走査方向の平行移動量(主走査傾き補正基準位置)
y0:副走査方向の平行移動量(副走査傾き補正基準位置)
tanθ:原稿の斜行量。
X = x-ytanθ + x0
Y = xtan θ + y + y2
X: pixel position after correction in the main scanning direction, Y: pixel position after correction in the sub-scanning direction x: pixel position in the main scanning direction before correction, y: pixel position in the sub-scanning direction before correction x0: main scanning Direction translation (main scanning tilt correction reference position)
y0: parallel movement amount in the sub-scanning direction (sub-scanning tilt correction reference position)
tan θ: skew amount of the document.
<斜行補正処理>
次に、図4を参照して、本実施形態に係る、ユーザが斜行補正動作モードを選択してから斜行補正動作を行う際のCPU301による斜行補正の処理手順について説明する。以下で説明する処理は、例えばCPU301がメモリ307等の記憶部に格納された制御プログラムを読み出して実行することにより実現される。
<Skew correction processing>
Next, a skew correction processing procedure performed by the
S400で、CPU301は、操作部312からの選択情報に基づいて、斜行補正動作モードを決定する。斜行補正動作モードには、補正角度限界まで補正を行う第1斜行補正モードと、最大補正角度まで補正を行う第2斜行補正モードと、斜行補正を実施しない斜行補正非実施モードとが含まれる。第1斜行補正モードと第2斜行補正モードとは、それぞれ斜行補正により解消される斜行量の程度が異なる。なお、斜行補正動作モードの詳細及びその選択については図5を用いて後述する。続いて、S401で、CPU301は、原稿トレイ101に搭載された原稿検知センサ111で原稿102の有無を判断する。原稿が無ければ待機状態となり、原稿が存在すればS402に移行する。
In step S <b> 400, the
S402で、CPU301は、操作部312からの情報に基づき、スタートボタンが操作されたか否かを判断する。操作されていなければ待機状態となり、操作さ有れていれば、S403へ移行する。S403で、CPU301は、原稿搬送モーター105を駆動させ、原稿102の搬送を開始する。さらに、CPU301は、LED光源201を点灯させ、駆動させたCCDラインセンサ203によって原稿102の画像情報の読み取りを開始する。
In step S <b> 402, the
次に、S404で、CPU301は、S400で選択した斜行補正動作モードを判断する。斜行補正非実施モードが選択されていればS409へ移行する。一方、斜行補正を行う場合、即ち、第1斜行補正モード又は第2斜行補正モードが選択されている場合はS405へ移行する。
Next, in S404, the
S405で、CPU301は、斜行量検出処理及び回転補正基準座標検出処理を行う。なお、斜行量検出方法及び回転補正基準座標検出方法に関しては、一般的に知られているハフ変換や、2値化によるエッジ検出方法を用いればよい。よって、詳細な説明は省略する。続いて、S406で、CPU301は、斜行量及び回転補正基準座標が検出されたか否か判断する。検出されなければ待機状態となり、検出されればS407に移行する。
In step S405, the
S407で、CPU301は、S400で選択した斜行補正動作モードを判断する。斜行補正を斜行補正限界まで実施する第1斜行補正モードが選択されていればS409へ移行し、斜行補正の最大角度まで補正を行う第2斜行補正モードが選択されていればS410へ移行する。
In step S407, the
S408で、CPU301は、斜行補正非実施モードが選択されているため、読み取った画像データに対し斜行補正は施さず、そのまま出力し、S411へ移行する。一方、S409で、CPU301は、第1斜行補正モードが選択されているためS406で確定した斜行量・回転基準座標を使用して斜行補正を施しデジタル画像データを出力し、S411へ移行する。また、S410で、CPU301は、第2斜行補正モードが選択されているため、S406で確定した斜行量・回転基準座標を使用して斜行補正を施し、デジタル画像データを出力し、S411へ移行する。
In step S408, since the skew correction non-execution mode is selected, the
S411で、CPU301は、原稿トレイ101に搭載された原稿検知センサ111にて原稿102の有無を判断する。原稿があればS403に移行し、原稿がなければ一連の動作を終了する。
In step S <b> 411, the
<モード選択処理>
次に、図5を参照して、図4中のS400で行われる斜行補正動作モードの選択処理について説明する。以下で説明する処理は、例えばCPU301がメモリ307等の記憶部に格納された制御プログラムを読み出して実行することにより実現される。
<Mode selection processing>
Next, the skew correction operation mode selection process performed in S400 in FIG. 4 will be described with reference to FIG. The process described below is realized by, for example, the
S500で、CPU301は、斜行補正を実施するか否かをユーザに選択させる。なお、選択方法としては、図9を用いて後述する操作部312からのユーザ入力に従った選択情報で決定される。斜行補正を実施する場合は、S501へ移行する。一方、斜行補正を実施しない場合はS505へ移行する。
In step S500, the
S501で、CPU301は、斜行補正の限界角度まで斜行補正を実施するか否かを操作部312を介してユーザに選択させる。実施する場合はS503へ移行し、実施しない場合はS502へ移行する。S502で、CPU301は、最大斜行補正角度を操作部312を介してユーザに指定させる。最大斜行補正角度の指定範囲は、装置の斜行補正角度限界までであり、それ以上を選択することはできない。その後、S504に進み、CPU301は、斜行補正の動作モードを、第2斜行補正モードに決定し、処理を終了する。本動作モードは、読取原稿端の状態によっては斜行補正角度を大きく検知してしまう場合に有効である。
In step S <b> 501, the
一方、S503で、CPU301は、斜行補正の動作モードを、第1斜行補正モードとして決定し、処理を終了する。本動作モードは、全ての読取原稿に対して読取原稿がどのような状態であっても斜行角度を検知し、斜行補正したい場合に有効である。また、S505で、CPU301は、斜行補正の動作モードを、斜行補正非実施モードとして決定し、処理を終了する。本動作モードは、例えば読取原稿端がそもそも曲がっている場合や、斜行補正をせずそのまま出力したい場合に使用される。
On the other hand, in S503, the
このように、本実施形態によれば、斜行補正モードとして、斜行補正を実施するモードと、斜行補正を実施しないモードとをユーザ入力に従って選択する。また、第1斜行補正モードにおいては、原稿の斜行量が、補正限界角度以下の場合は、読み取った画像データへ斜行補正が実施されて斜行の影響が解消される。一方、原稿の斜行量が、補正限界角度を超える場合は、読み取った画像データへ補正限界角度までの斜行補正が実施され、可能な範囲で斜行の影響が解消される。 As described above, according to the present embodiment, as the skew correction mode, the mode for performing the skew correction and the mode for not performing the skew correction are selected according to the user input. In the first skew correction mode, if the skew amount of the document is equal to or smaller than the correction limit angle, skew correction is performed on the read image data to eliminate the influence of skew. On the other hand, if the skew amount of the document exceeds the correction limit angle, skew correction up to the correction limit angle is performed on the read image data, and the influence of skew is eliminated as much as possible.
また、本実施形態によれば、第2斜行補正モードにおいては、原稿の斜行量が、ユーザ入力によって指定された補正角度以下であれば、読み取った画像データへ斜行補正が実施され、斜行の影響が解消される。一方、原稿の斜行量が、ユーザ入力によって指定された補正角度を超える場合は、読み取った画像データへの斜行補正は実施されない。 Further, according to the present embodiment, in the second skew correction mode, if the skew amount of the document is equal to or less than the correction angle designated by the user input, skew correction is performed on the read image data, The effect of skew is eliminated. On the other hand, when the skew amount of the document exceeds the correction angle specified by the user input, skew correction is not performed on the read image data.
<斜行補正非実施処理>
次に、図6を参照して、図4中のS408で行われる斜行補正非実施処理について説明する。以下で説明する処理は、例えばCPU301がメモリ307等の記憶部に格納された制御プログラムを読み出して実行することにより実現される。
<Declination correction processing>
Next, the skew correction non-execution process performed in S408 in FIG. 4 will be described with reference to FIG. The process described below is realized by, for example, the
S601で、CPU301は、斜行補正を行わず、原稿を読み取った画像データをそのまま出力し、処理を終了する。
In step S <b> 601, the
<第1斜行補正処理>
次に、図7を参照して、図4中のS409で行われる斜行角度限界斜行補正処理について説明する。以下で説明する処理は、例えばCPU301がメモリ307等の記憶部に格納された制御プログラムを読み出して実行することにより実現される。
<First skew correction processing>
Next, the skew angle limit skew correction process performed in S409 in FIG. 4 will be described with reference to FIG. The process described below is realized by, for example, the
S700で、CPU301は、S406で確定した斜行量及び回転基準座標をメモリ307から読み出す。続いて、S701で、CPU301は、読み出した斜行量が斜行補正部310で斜行補正可能な斜行量か否かを判断する。補正可能であればS702へ移行し、補正不可能であればS703へ移行する。
In step S <b> 700, the
S702で、CPU301は、S700で読み出した斜行量及び回転基準座標に基づき、斜行補正部310で斜行補正を行い、処理を終了する。一方、S703で、CPU301は、S700で読み出した斜行量が斜行補正部310の斜行補正限界を超えているため、斜行補正部310の補正限界値の斜行量まで斜行補正を行い、処理を終了する。
In step S702, the
<第2斜行補正処理>
次に、図8を参照して、図4中のS410で行われる最大補正角度指定斜行補正処理について説明する。以下で説明する処理は、例えばCPU301がメモリ307等の記憶部に格納された制御プログラムを読み出して実行することにより実現される。
<Second skew correction processing>
Next, the maximum correction angle designation skew correction process performed in S410 in FIG. 4 will be described with reference to FIG. The process described below is realized by, for example, the
S800で、CPU301は、S406で確定した斜行量及び回転基準座標をメモリ307から読み出す。続いて、S801で、CPU301は、読み出した斜行量がS502で指定した最大補正角度以下か否かを判断する。最大補正角度以下であれば、S802へ移行し、最大補正角度を超える場合はS803へ移行する。
In step S <b> 800, the
S802で、CPU301は、S800で読み出した斜行量及び回転基準座標に基づき、斜行補正部310で斜行補正を行い、処理を終了する。一方、S803で、CPU301は、S800で読み出した斜行量がS502で指定した最大補正角度を超えているため、斜行補正をせずに、そのまま原稿から読み取った画像データを出力し、処理を終了する。
In step S802, the
<操作部>
次に、図9を参照して、本実施形態に係る斜行補正モードを選択するための操作部312について説明する。操作部312に表示された選択画面では、斜行補正動作モード及び斜行補正角度に関する設定を行うことができる。
<Operation unit>
Next, the
900は、斜行補正を実施するか否かの設定領域であり、斜行補正を実施する(=ON)901か、斜行補正を実施しない(=OFF)902かを選択可能である。ON901が押下されると前述した原稿の傾きを検知し、斜行補正部310にて斜行補正が実施される。即ち、ON901が選択されると、第1斜行補正モード又は第2斜行補正モードが選択されたことになる。OFF902が押下されると、前述した斜行補正処理は実施されず、読み取られた原稿のまま出力される。即ち、OFF902が選択されると、斜行補正非実施モードとなる。
903は、補正角度を設定する領域であり、ON901が選択されたときに有効(入力可能)になる。OFF902が選択された場合には、矛盾する設定を防ぐため、入力できないように制御され、例えばグレーアウト表示に制御される。
補正角度最大904が選択された場合は、第1斜行補正モードとして動作する。一方、補正角度指定905が選択された場合は、補正角度を入力する補正角度入力欄906が有効となり、最大補正角度をユーザが入力し、前述した図8の第2斜行補正モードとして動作する。
When the
選択画面における設定内容を反映する場合は、ユーザは、最終的にOKボタン907を操作し、設定内容をキャンセルしたい場合はキャンセルボタン908を操作する。これにより、斜行補正動作モード及び斜行補正角度設定が終了となる。
When reflecting the setting contents on the selection screen, the user finally operates the
以上説明したように、本実施形態に係る画像読取装置は、読み取った画像データに対して斜行補正を実施する程度がそれぞれ異なる複数の斜行補正モードのうちのいずれかの斜行補正モードを、ユーザ入力によって設定された設定内容に従って選択する。また、本画像読取装置は、選択された斜行補正モードに応じて、読み取った画像データへの斜行補正の実施を制御する。また、斜行補正モードとしては、斜行補正を実施するモードと斜行補正を実施しない補正モードが含まれ、斜行補正を実施するモードには、それぞれ斜行補正の程度が異なる第1斜行補正モードと第2斜行補正モードとが含まれる。これにより、ユーザの指示に従い斜行補正を実施する場合はメモリ容量の制限まで最適に原稿の傾きを補正することができ、ユーザの指示に応じた傾きまで斜行補正が実施することで、誤った幾何補正を防止することが可能となる。また斜行補正を実施したくない原稿に対しても最適な動作を選択することで、誤った幾何補正やユーザの意図に反した幾何補正を防止することが可能となり、誤動作のない斜行補正機能を搭載した画像読取装置を提供できる。 As described above, the image reading apparatus according to the present embodiment performs any one of the skew correction modes among the plurality of skew correction modes having different degrees of performing skew correction on the read image data. The selection is made according to the setting contents set by the user input. Further, the image reading apparatus controls the execution of skew correction on the read image data in accordance with the selected skew correction mode. In addition, the skew correction mode includes a mode for performing skew correction and a correction mode for not performing skew correction. The modes for performing skew correction include a first skew having different degrees of skew correction. A line correction mode and a second skew correction mode are included. As a result, when skew correction is performed according to the user's instruction, the skew of the document can be optimally corrected up to the limit of the memory capacity, and the skew correction is performed up to the inclination according to the user's instruction. It is possible to prevent the geometric correction. In addition, by selecting the optimal operation even for documents that do not require skew correction, it is possible to prevent erroneous geometric correction or geometric correction against the user's intention. An image reading apparatus having a function can be provided.
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
101:原稿トレイ、102:原稿、103:原稿ガイド、105:原稿搬送モーター、104:原稿幅検出用ボリューム抵抗、106:原稿読み取りユニット、107:原稿読み取り位置、108:排紙トレイ、109:原稿背景板、110:原稿副走査位置検出ユニット、111:原稿検知センサ、201、208:LED光源、202:レンズ、203:CCDラインセンサ、204、206、207:ミラー、301:CPU、303:A/D変換部、304:シェーディング補正部、305:斜行量検知部、306:エッジ連続性判断部、307:メモリ、308:傾き式算出部、309:補正基準位置算出部、310:斜行補正部、312:操作部、314:倍率誤差係数算出部 101: Document tray, 102: Document, 103: Document guide, 105: Document conveyance motor, 104: Document width detection volume resistor, 106: Document reading unit, 107: Document reading position, 108: Paper discharge tray, 109: Document Background plate, 110: Document sub-scanning position detection unit, 111: Document detection sensor, 201, 208: LED light source, 202: Lens, 203: CCD line sensor, 204, 206, 207: Mirror, 301: CPU, 303: A / D conversion unit, 304: shading correction unit, 305: skew amount detection unit, 306: edge continuity determination unit, 307: memory, 308: inclination formula calculation unit, 309: correction reference position calculation unit, 310: skew Correction unit, 312: operation unit, 314: magnification error coefficient calculation unit
Claims (10)
読取対象の原稿を搬送する搬送手段と、
前記搬送手段によって搬送されている原稿を読み取る読取手段と、
前記読取手段によって読み取った画像データに対して斜行補正を実施する程度がそれぞれ異なる複数の斜行補正モードのうちのいずれかの斜行補正モードを、ユーザ入力によって設定された設定内容に従って選択する選択手段と、
前記選択手段によって選択された前記斜行補正モードに応じて、前記読取手段によって読み取った画像データへの斜行補正の実施を制御する制御手段と
を備えることを特徴とする画像読取装置。 An image reading device,
Conveying means for conveying a document to be read;
Reading means for reading a document conveyed by the conveying means;
Any one of a plurality of skew correction modes having different degrees of skew correction performed on the image data read by the reading unit is selected according to the setting content set by the user input. A selection means;
An image reading apparatus comprising: control means for controlling execution of skew correction on image data read by the reading means in accordance with the skew correction mode selected by the selection means.
前記画像読取装置が斜行を補正可能な補正限界角度まで斜行補正を実施する第1斜行補正モードと、
前記原稿の斜行量が前記ユーザ入力によって指定された補正角度以下であれば、斜行補正を実施する第2斜行補正モードと、が含まれることを特徴とする請求項2に記載の画像読取装置。 In the mode for performing the skew correction,
A first skew correction mode in which the image reading apparatus performs skew correction up to a correction limit angle capable of correcting skew;
3. The image according to claim 2, further comprising: a second skew correction mode for performing skew correction if the skew amount of the document is equal to or less than a correction angle specified by the user input. Reader.
前記原稿の斜行量が、前記補正限界角度以下の場合は、前記読取手段によって読み取った画像データへ斜行補正を実施し、
前記原稿の斜行量が、前記補正限界角度を超える場合は、前記読取手段によって読み取った画像データへ前記補正限界角度までの斜行補正を実施することを特徴とする請求項3に記載の画像読取装置。 The control means in the first skew correction mode,
When the skew amount of the document is equal to or smaller than the correction limit angle, skew correction is performed on the image data read by the reading unit,
4. The image according to claim 3, wherein when the skew amount of the document exceeds the correction limit angle, skew correction up to the correction limit angle is performed on the image data read by the reading unit. Reader.
前記原稿の斜行量が、前記ユーザ入力によって指定された補正角度以下であれば、前記読取手段によって読み取った画像データへ斜行補正を実施し、
前記原稿の斜行量が、前記ユーザ入力によって指定された補正角度を超える場合は、前記読取手段によって読み取った画像データへ斜行補正を実施しないことを特徴とする請求項3又は4に記載の画像読取装置。 The control means in the second skew correction mode,
If the skew amount of the document is equal to or less than the correction angle specified by the user input, skew correction is performed on the image data read by the reading unit,
5. The skew correction is not performed on the image data read by the reading unit when the skew amount of the document exceeds a correction angle designated by the user input. Image reading device.
選択手段が、前記読取手段によって読み取った画像データに対して斜行補正を実施する程度がそれぞれ異なる複数の斜行補正モードのうちのいずれかの斜行補正モードを、ユーザ入力によって設定された設定内容に従って選択する選択工程と、
制御手段が、前記選択工程で選択された前記斜行補正モードに応じて、前記読取手段によって読み取った画像データへの斜行補正の実施を制御する制御工程と
を実行することを特徴とする画像読取装置の制御方法。 A control method for an image reading apparatus, comprising: a conveying unit that conveys a document to be read; and a reading unit that reads a document conveyed by the conveying unit,
A setting in which a skew correction mode is set by user input from among a plurality of skew correction modes in which the selection means performs different skew corrections on the image data read by the reading means. A selection process to select according to the content;
The control means executes a control process for controlling the execution of the skew correction on the image data read by the reading means in accordance with the skew correction mode selected in the selection process. A method for controlling a reader.
選択手段が、前記読取手段によって読み取った画像データに対して斜行補正を実施する程度がそれぞれ異なる複数の斜行補正モードのうちのいずれかの斜行補正モードを、ユーザ入力によって設定された設定内容に従って選択する選択工程と、
制御手段が、前記選択工程で選択された前記斜行補正モードに応じて、前記読取手段によって読み取った画像データへの斜行補正の実施を制御する制御工程と
を実行することを特徴とするプログラム。 A program for causing a computer to execute each step in a control method of an image reading apparatus, comprising: a conveying unit that conveys a document to be read; and a reading unit that reads a document conveyed by the conveying unit, The control method is
A setting in which a skew correction mode is set by user input from among a plurality of skew correction modes in which the selection means performs different skew corrections on the image data read by the reading means. A selection process to select according to the content;
The control means executes a control process for controlling execution of the skew correction on the image data read by the reading means in accordance with the skew correction mode selected in the selection process. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017110249A JP2018203450A (en) | 2017-06-02 | 2017-06-02 | Image reading device, method for controlling the same, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017110249A JP2018203450A (en) | 2017-06-02 | 2017-06-02 | Image reading device, method for controlling the same, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018203450A true JP2018203450A (en) | 2018-12-27 |
JP2018203450A5 JP2018203450A5 (en) | 2020-08-06 |
Family
ID=64955162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017110249A Pending JP2018203450A (en) | 2017-06-02 | 2017-06-02 | Image reading device, method for controlling the same, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018203450A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020130387A (en) * | 2019-02-15 | 2020-08-31 | 株式会社ソフイア | Game machine |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000244728A (en) * | 1999-02-23 | 2000-09-08 | Konica Corp | Device for correcting tilt of picture, original reader and image forming device |
JP2016158162A (en) * | 2015-02-25 | 2016-09-01 | 京セラドキュメントソリューションズ株式会社 | Image reading device and image forming apparatus |
JP2017092562A (en) * | 2015-11-04 | 2017-05-25 | キヤノン株式会社 | Image reading device and image reading method |
-
2017
- 2017-06-02 JP JP2017110249A patent/JP2018203450A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000244728A (en) * | 1999-02-23 | 2000-09-08 | Konica Corp | Device for correcting tilt of picture, original reader and image forming device |
JP2016158162A (en) * | 2015-02-25 | 2016-09-01 | 京セラドキュメントソリューションズ株式会社 | Image reading device and image forming apparatus |
JP2017092562A (en) * | 2015-11-04 | 2017-05-25 | キヤノン株式会社 | Image reading device and image reading method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020130387A (en) * | 2019-02-15 | 2020-08-31 | 株式会社ソフイア | Game machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6332081B2 (en) | Reading apparatus and image forming apparatus provided with the same | |
US9369599B2 (en) | Image reading device, image forming apparatus, and method for controlling image reading device to remove blank sheet image data | |
JP6671927B2 (en) | Image reading apparatus and image reading method | |
US10491770B2 (en) | Image reading apparatus with skew feed correction and image reading method thereof | |
JP6541502B2 (en) | Image reading apparatus, image reading method | |
US12022039B2 (en) | Image reading apparatus and control method for determining a blank page | |
US8169670B2 (en) | Image scanning device | |
US20090116081A1 (en) | Image Scanning Device and Image Scanning Method | |
JP2018203450A (en) | Image reading device, method for controlling the same, and program | |
JPH11331547A (en) | Original detector | |
JP2000244728A (en) | Device for correcting tilt of picture, original reader and image forming device | |
JP2016005187A (en) | Image reading apparatus | |
JP5742476B2 (en) | Image reading apparatus and read image data correction method | |
JP7482625B2 (en) | IMAGE PROCESSING APPARATUS, CONTROL METHOD FOR IMAGE PROCESSING APPARATUS, AND PROGRAM | |
JP2022012616A (en) | Image reading apparatus | |
JP2020039093A (en) | Reading device and program | |
JP6424574B2 (en) | Image reading apparatus and image forming apparatus | |
JP2019004314A (en) | Image reading apparatus | |
JP2016197773A (en) | Image reading device | |
JPH11298683A (en) | Image processor and image reader | |
JP2009171429A (en) | Image reading apparatus, and control method of the image reading apparatus | |
JP2017201755A (en) | Reading device | |
JP2023015617A (en) | Image forming apparatus, method for controlling image forming apparatus, and program | |
JP2018207380A (en) | Image processing apparatus, information processing method, manuscript reading apparatus, and program | |
JP2017092561A (en) | Image reading device and image reading method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200601 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200601 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210330 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210405 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20211008 |