JP4847384B2 - Image reading apparatus, image reading apparatus control method, and image reading apparatus control program - Google Patents
Image reading apparatus, image reading apparatus control method, and image reading apparatus control program Download PDFInfo
- Publication number
- JP4847384B2 JP4847384B2 JP2007089575A JP2007089575A JP4847384B2 JP 4847384 B2 JP4847384 B2 JP 4847384B2 JP 2007089575 A JP2007089575 A JP 2007089575A JP 2007089575 A JP2007089575 A JP 2007089575A JP 4847384 B2 JP4847384 B2 JP 4847384B2
- Authority
- JP
- Japan
- Prior art keywords
- image reading
- reading
- image
- sensor
- dust
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title description 19
- 239000000428 dust Substances 0.000 claims description 54
- 238000001514 detection method Methods 0.000 claims description 36
- 238000007906 compression Methods 0.000 claims description 11
- 230000006835 compression Effects 0.000 claims description 9
- 239000011521 glass Substances 0.000 description 14
- 238000003705 background correction Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 238000005286 illumination Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000012925 reference material Substances 0.000 description 1
Images
Landscapes
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
Description
本発明は、搬送路を搬送される原稿の画像を読み取る画像読取装置、画像読取装置の制御方法および画像読取装置の制御プログラムに関する。 The present invention relates to an image reading apparatus that reads an image of a document conveyed on a conveyance path, a control method for the image reading apparatus, and a control program for the image reading apparatus.
画像読取装置には、主走査方向に走査を繰り返して1ラインずつ画像を読み取るイメージセンサが固定配置され、コンタクトガラス上を原稿が搬送されてイメージセンサに対して副走査方向に移動することにより原稿画像を読み取る、原稿搬送型のものがある。 In the image reading apparatus, an image sensor that reads an image line by line by repeating scanning in the main scanning direction is fixedly arranged, and the document is conveyed on the contact glass and moved in the sub scanning direction with respect to the image sensor. There is a document conveyance type that reads an image.
原稿搬送型の画像読取装置では、コンタクトガラス上の原稿読取位置にごみや汚れまたは傷があると、読取画像に黒スジ等のノイズが発生してしまい良好な画像が取得できない場合がある。 In a document conveyance type image reading apparatus, if there is dust, dirt or scratches on the document reading position on the contact glass, noise such as black streaks may occur in the read image, and a good image may not be acquired.
また、各画素に対応する照明光の明るさやイメージセンサの受光素子の感度等が一定であることが理想ではあるが、実際には照明光の光量ムラや光学系の歪みや受光素子の感度のばらつきに起因して読み取られる各画素の濃度にばらつきが生じる。 In addition, it is ideal that the brightness of the illumination light corresponding to each pixel and the sensitivity of the light receiving element of the image sensor are constant, but in reality, the unevenness of the light quantity of the illumination light, distortion of the optical system, and the sensitivity of the light receiving element. Variations occur in the density of each pixel read due to the variation.
そのため、原稿画像読み取り開始に先だって、白色基準板を読み取ることにより画像の1ラインを構成する画素ごとの白レベルデータの集まりであるシェーディング補正データを取得する。 Therefore, prior to starting the document image reading, the white reference plate is read to obtain shading correction data that is a collection of white level data for each pixel constituting one line of the image.
取得したシェーディング補正データを基準として、原稿を読み取って得られる画像データを画素単位で補正することで、照明光のむら等に影響されない良好な原稿画像の読み取りが可能となる。 By correcting the image data obtained by reading the document on a pixel basis with the acquired shading correction data as a reference, it is possible to read a good document image that is not affected by unevenness of illumination light or the like.
しかし、このようなシェーディング補正を行うためのシェーディング補正データの取得を、コンタクトガラス上の読取位置にごみや汚れまたは傷がある状態で行うと、原稿を読み取ってシェーディング補正を行った読み取り画像上に白スジ等のノイズが発生してしまい、良好な画像が取得できない場合がある。 However, if acquisition of shading correction data for performing such shading correction is performed in a state where the reading position on the contact glass has dust, dirt, or scratches, the original is read and the shading correction is performed on the read image. Noise such as white stripes may occur, and a good image may not be acquired.
一方、読み取った原稿画像に生じる黒スジに対処する技術として、読み取った画像データの主走査方向の同一画素位置において副走査方向に連続して黒画素が存在した場合に黒スジ発生と判断して警告を発するものが提案されている(特許文献1および特許文献2参照)。
しかし、上記特許文献1および特許文献2では、単に、読み取った画像データの主走査方向の同一画素位置において副走査方向に連続して黒画素が存在した場合に黒スジ発生と判断して警告を発するもので、黒スジなどの読取画像不良の発生を未然に防止しようとするものではない。
However, in Patent Document 1 and
そこで、本発明は、画像読取部の原稿の画像読取位置に汚れやゴミ等が付着したり傷がついたりしていても高画質の画像を読み取ることができる画像読取装置、画像読取装置の制御方法および画像読取装置の制御プログラムを提供することを目的とする。 Therefore, the present invention provides an image reading apparatus capable of reading a high-quality image even when dirt or dust adheres to the image reading position of the document in the image reading unit, or controls the image reading apparatus. It is an object to provide a method and a control program for an image reading apparatus.
上記目的を達成するために、本発明の画像読取装置は、搬送路に沿って搬送される原稿を検知する原稿通過検知センサと、前記原稿通過検知センサの検知結果に基づいて原稿の画像読み取りが開始される画像読取センサと、該画像読取センサを前記搬送路に沿って移動させる画像読取センサ移動手段と、前記画像読取センサが画像を読み取り可能な読取位置に存在するゴミを検出するゴミ検出手段と、前記画像読取センサの出力に基づいて取得した画像データを一時的に保存する記憶手段と、該記憶手段から画像データを読み出す読出手段とを備え、前記ゴミ検出手段がゴミを検出しない位置に前記読取位置を移動させるように、前記画像読取センサ移動手段が前記画像読取センサを移動させたとき、前記読取位置の移動量に応じて、前記読出手段は前記記憶手段に保存された画像データの読出位置を変更することを特徴とする。 To achieve the above object, an image reading apparatus of the present invention, a document passing detection sensor for detecting the document that will be conveyed along the conveying path, the image reading of the document based on the document passing detection sensor of the detection result An image reading sensor to be started, an image reading sensor moving unit that moves the image reading sensor along the conveyance path, and a dust detection unit that detects dust existing at a reading position where the image reading sensor can read an image. And storage means for temporarily storing the image data acquired based on the output of the image reading sensor, and reading means for reading the image data from the storage means , wherein the dust detection means is in a position where it does not detect dust. When the image reading sensor moving unit moves the image reading sensor so as to move the reading position, the reading position is moved according to the amount of movement of the reading position. Means and changes the read position of the image data stored in the storage means.
本発明の画像読取装置の制御方法は、搬送路に沿って搬送される原稿を検知する原稿通過検知センサと、前記原稿通過検知センサの検知結果に基づいて原稿の画像読み取りが開始される画像読取センサと、該画像読取センサを前記搬送路に沿って移動させる画像読取センサ移動手段と、前記画像読取センサが画像を読み取り可能な読取置に存在するゴミを検出するゴミ検出手段と、前記画像読取センサの出力に基づいて取得した画像データを一時的に保存する記憶手段と、該記憶手段から画像データを読み出す読出手段とを備えた画像読取装置を制御するに際し、前記ゴミ検出手段がゴミを検出しない位置に前記読取位置を移動させるように、前記画像読取センサ移動手段が前記画像読取センサを移動させるステップと、前記読取位置の移動量に応じて、前記読出手段は前記記憶手段に保存された画像データの読出位置を変更するステップと、を備えることを特徴とする。 Method for controlling the image reading apparatus of the present invention, a document passing detection sensor for detecting the document that will be conveyed along the conveying path, the image reading image reading of the document is started on the basis of the document passing detection sensor of the detection result A sensor, an image reading sensor moving means for moving the image reading sensor along the conveyance path, a dust detecting means for detecting dust existing in a reading device where the image reading sensor can read an image, and the image reading upon controlling storage means for temporarily storing the image data acquired based on the output of the sensor, an image reading device provided with reading means for reading out image data from said storing means, said dust detecting means detects dust A step of moving the image reading sensor by the image reading sensor moving means so as to move the reading position to a position where the reading is not performed, and movement of the reading position Depending on, the reading unit is characterized by having the steps of: changing the read position of the image data stored in the storage means.
本発明の画像読取装置の制御プログラムは、搬送路に沿って搬送される原稿を検知する原稿通過検知センサと、前記原稿通過検知センサの検知結果に基づいて原稿の画像読み取りが開始される画像読取センサと、該画像読取センサを前記搬送路に沿って移動させる画像読取センサ移動手段と、前記画像読取センサが画像を読み取り可能な読取位置に存在するゴミを検出するゴミ検出手段と、前記画像読取センサの出力に基づいて取得した画像データを一時的に保存する記憶手段と、該記憶手段から画像データを読み出す読出手段とを備えた画像読取装置に接続されたコンピュータから前記画像読取装置を制御するにあたり、前記ゴミ検出手段がゴミを検出しない位置に前記読取位置を移動させるように、前記画像読取センサ移動手段が前記画像読取センサを移動させるステップと、前記読取位置の移動量に応じて、前記読出手段は前記記憶手段に保存された画像データの読出位置を変更するステップと、を前記コンピュータに実行させることを特徴とする。 A control program of the image reading apparatus of the present invention, a document passing detection sensor for detecting the document that will be conveyed along the conveying path, the image reading image reading of the document is started on the basis of the document passing detection sensor of the detection result A sensor, an image reading sensor moving means for moving the image reading sensor along the conveyance path, a dust detecting means for detecting dust existing at a reading position where the image reading sensor can read an image, and the image reading The image reading apparatus is controlled from a computer connected to an image reading apparatus having a storage means for temporarily storing image data acquired based on the output of the sensor and a reading means for reading the image data from the storage means. per the, the dust detection means to move the reading position to a position that does not detect the dust, the image reading sensor moving means said image And moving the reading sensor, in accordance with the movement amount of the reading position, the reading means and characterized in that to execute a step of changing the read position of the image data stored in said storage means, to said computer To do.
本発明によれば、画像読取部の原稿の画像読取位置に汚れやゴミ等が付着したり傷がついたりしていても高画質の画像を読み取ることができる。 According to the present invention, a high-quality image can be read even if dirt, dust, or the like is attached to or scratched at the image reading position of the document in the image reading unit.
以下、本発明の実施の形態を図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の第1の実施形態である画像読取装置をホストコンピュータに接続した状態を示す斜視図、図2は本発明の第1の実施形態である画像読取装置の概略断面図である。 FIG. 1 is a perspective view showing a state in which an image reading apparatus according to a first embodiment of the present invention is connected to a host computer, and FIG. 2 is a schematic sectional view of the image reading apparatus according to the first embodiment of the present invention. is there.
図1に示すように、本実施形態の画像読取装置1は、SCSI(Small Computer System Interface)ケーブル3を介してホストコンピュータ2に接続されている。画像読取装置1は、原稿の画像を読み取り、読み取った画像データをSCSIケーブル3を介してホストコンピュータ2に転送する。ホストコンピュータ2は、画像読取装置1から転送された画像データを保存する。
As shown in FIG. 1, the image reading apparatus 1 according to the present embodiment is connected to a
画像読取装置1は、図2に示すように、原稿210を積載する原稿台201、原稿台201に原稿210があるか否かを検知する不図示の原稿検知センサ、分離給送ローラ対202、搬送ローラ対203〜 206、画像読取部207、スキャナ基板208、ピックアップローラ209、基準板211、原稿通過検知センサ212を備える。
As shown in FIG. 2, the image reading apparatus 1 includes a document table 201 on which
画像読取部207と原稿の搬送路との間には、コンタクトガラス213が配置されている。なお、コンタクトガラス213は、画像読取部207に固定されていてもよく、また、画像読取部207とは独立して設けられていてもよい。
A
搬送路を挟んでコンタクトガラス213と反対側の位置には、基準板211が設置されており、原稿210を搬送する前に画像読取部207で基準板211を読み取ることでシェーディング補正データを取得する処理を行う。
A
基準板211は、一方の面が略白色(色彩学上の白色も含む)の白色部とされ、他方の面が略黒色(色彩学上の黒色も含む)の黒色部とされており、その回転動作により画像読取部207による原稿の画像の読取時に該原稿の背景色を切り換えられるようになっている。なお、基準板211は、回転でなく、同一面に白色部と黒色部とを設けて搬送路に沿って平行移動させてもよい。また、基準板に代えて、円周方向に白色領域と黒色領域とを有する回転部材を用いてもよい。
One surface of the
ピックアップローラ209および各ローラ対202〜206は、原稿210を搬送し、原稿210が原稿通過検知センサ212を通過した時点で、画像読取部207が原稿210の画像の読取りを開始する。
The
図3は、図1に示す画像読取装置1の制御系を説明するためのブロック図である。 FIG. 3 is a block diagram for explaining a control system of the image reading apparatus 1 shown in FIG.
画像読取装置1は、図3に示すように、装置全体の動作を制御するCPU250と、CPU250に実行される制御プログラムを格納するROM254と、ワークメモリとして機能するRAM253と、SCSIインターフェース(I/F)255とを備える。
As shown in FIG. 3, the image reading apparatus 1 includes a
CPU250、ROM254、RAM253、およびSCSIインターフェース(I/F)255はシステムバス256を介して互いに接続されている。また、システムバス256には、画像読取部207に組み込まれた画像読取センサ251が不図示の画像処理部を介して接続され、また、画像読取センサ移動部252が接続されている。
The
画像読取センサ251で読み取られ、不図示の画像処理部でA/D変換等の処理がなされた画像データはシステムバス256に送出されてRAM253に格納され、所定のタイミングでSCSIインターフェース(I/F)255およびSCSIケーブル3を介してホストコンピュータ2に転送される。CPU250は、システムバス256を介して画像読取センサ251を移動させる画像読取センサ移動部252の動作を制御する。
Image data read by the
図4は、ホストコンピュータ2の内部構成を説明するためのブロック図である。
FIG. 4 is a block diagram for explaining the internal configuration of the
ホストコンピュータ2は、図4に示すように、CPU301、メモリ303、およびハードディスク305を備える。また、ホストコンピュータ2は、キーボード302、およびディスプレイ304を備える。
As shown in FIG. 4, the
CPU301は、SCSIインターフェイス307とSCSIケーブル3を介して画像読取装置1との間でデータの送受信を行う。メモリ303は、制御プログラムの記憶や画像データの一時的な記憶を行う。ハードディスク305には、画像読取装置1の画像読取部207で読み取った原稿の画像データが保存される。キーボード302は、ユーザにより入力操作を行うために用いられる。ユーザは、キーボード302を用いて原稿読み取り条件等を設定する。ディスプレイ304には、画像読取装置1の画像読取部207で読み取った原稿の画像が表示される。
The
次に、図5〜図7を参照して、画像読取装置1の画像読取動作について説明する。 Next, an image reading operation of the image reading apparatus 1 will be described with reference to FIGS.
図5に示すように、画像読取センサ251は、コンタクトガラス213の内側で原稿210の搬送方向に沿って画像読取センサ移動部252を駆動する不図示のステッピングモータ等により、0.1mm単位で、最大10mmまで移動することが可能である。
As shown in FIG. 5, the
そして、原稿210を搬送する前に、画像読取センサ251に基準板211の黒色基準面を対向させ、画像読取センサ251により基準板211の黒色基準面を読み取る。続けて基準板211を回転して白色基準面を対向させ、画像読取センサ251により基準板211の白色基準面を読み取る。
Before the original 210 is conveyed, the black reference surface of the
画像読取センサ251で黒色基準面および白色基準面を読み取ったときに両方の読取結果に異常な値が現れない位置、すなわちコンタクトガラス213上にゴミや傷のない位置まで画像読取センサ251を画像読取センサ移動部252により移動する。
When the
なお、このように、黒色基準面および白色基準面の両方を画像読取センサ251で読み取ってゴミ等を検出することが好適であるが、黒色基準面および白色基準面の一方を用いてゴミ等を検出できる場合は、どちらか一方の基準面を読み取ってゴミを検出してもよい。例えば、ゴミが主に紙粉等のように白いゴミである場合は黒色基準面を読み取り、ゴミが主に黒い汚れ等である場合は白色基準面を読み取るようにしてもよい。
As described above, it is preferable that both the black reference surface and the white reference surface are read by the
このときの白色基準面の読取データからシェーディング補正データを取得する。なお、より厳密な画像補正処理を行うために、黒色基準面の読取データからも黒レベル補正データを取得して黒レベル補正を行うようにしてもよい。コンタクトガラス213上にゴミや傷のない位置を見つけるための判定方法については、図8にて後述する。
Shading correction data is acquired from the read data of the white reference plane at this time. Note that in order to perform more strict image correction processing, black level correction data may be acquired from black reference surface read data to perform black level correction. A determination method for finding a position free of dust and scratches on the
次に、原稿210を搬送ローラ202,203により搬送し、原稿210が画像読取開始センサ212を通過した時点で、画像読取センサ251にて原稿の画像の読取を開始し、読み取った画像データに対してシェーディング補正を行い、RAM253(図3参照)に一時的に格納する。
Next, when the original 210 is conveyed by the conveying
図6は、RAM253内に一時的に格納された読取画像データを示す図である。
FIG. 6 is a diagram illustrating read image data temporarily stored in the
画像読取センサ251が図5の「a」の位置にある状態で読み取った画像データを図示したものが画像510である。
An
画像読取センサ251が図5の「b」の位置にある状態で読み取った画像データを図示したものが画像511である。
An
画像読取センサ251が図5の「c」の位置にある状態で読み取った画像データを図示したものが画像512である。
An
画像読取センサ251が図5の「a」、「b」、「c」のそれぞれの位置にある状態で読み取ってRAM253に格納した画像データには、上下に余白(図6では黒で表した部分)があるが、画像読取センサ251の読取時の位置情報から読取位置の移動量(本実施例では画像読取センサの移動量に等しい)がわかる。
The image data read by the
この移動量からRAM253内に一時保存された画像データのうちの原稿端位置を計算し、CPU250は計算された原稿端位置を開始点としてRAM253内の画像データを読み出し、SCSIインターフェース(I/F)255を介してホストコンピュータ2に送信する。
From this amount of movement, the document edge position of the image data temporarily stored in the
次に、原稿端位置と画像データのバイト数を計算する方法を説明する。 Next, a method for calculating the document edge position and the number of bytes of image data will be described.
まず、ユーザが設定した画像モードにより、BPP値をもとめる。BPP(bits per pixel)は、画素あたりのビット数であり、白黒のときは1、グレーのときは例えば8、カラーのときは例えば24となる。 First, the BPP value is obtained according to the image mode set by the user. BPP (bits per pixel) is the number of bits per pixel, and is 1 for black and white, 8 for gray, and 24 for color, for example.
画像データの読み出しの開始点とする位置(メモリアドレス)の計算を説明する。 The calculation of the position (memory address) as the starting point for reading image data will be described.
基準位置に対する画像読取センサ251の移動量(mm)×読取解像度(dpi)/25.4=Aとなる。ゆえに第0ラインから第A−1ラインは読み出さず、第Aラインから読み出しを開始すればよい。なお、主走査方向と副走査方向とで読取解像度は等しいものとする。端数が出た場合は、切り捨てを行い整数にする。
The amount of movement of the
このときの読み出しを開始するメモリアドレスを計算するために、まず、1ラインあたりのバイト数Bを計算する。設定された読取解像度における読取センサの1ラインあたりの読取画素数×BPP/8=Bとなり、読取画像データの1ラインあたりのバイト数Bを求める。端数が出た場合は、切り上げを行い整数にする。 In order to calculate the memory address at which reading starts at this time, first, the number of bytes B per line is calculated. The number of read pixels per line of the reading sensor at the set reading resolution × BPP / 8 = B, and the number of bytes B per line of the read image data is obtained. If a fraction is given, round it up to an integer.
次に、メモリ先頭アドレスはB×Aライン=Cとなり、第0バイトから第C−1バイトまでは無視し、第Cバイトから読み出しを開始する。 Next, the memory top address is B × A line = C, the 0th byte to the (C-1) th byte are ignored, and reading is started from the Cth byte.
次に、読み出すライン数を計算する。 Next, the number of lines to be read is calculated.
原稿の長さ(mm)×読取解像度(dpi)/25.4=Dとなり、Dライン分のデータを読み出せばよいことがわかる。端数が出た場合は、切り捨てを行い整数にする。 Document length (mm) × reading resolution (dpi) /25.4=D, and it can be seen that it is sufficient to read data for D lines. If a fraction is left, it is rounded down to an integer.
上記の条件を求めたら、読み出すべきバイト数を計算する。 After obtaining the above conditions, calculate the number of bytes to be read.
B×D=Eバイトとなり、読み出すべき画像データの総バイト数はEバイトとなる。従って、RAM253内から読み出すべきデータは、Cバイト目を先頭として合計Eバイトとなり、これらを読み出してSCSIインターフェース(I/F)255を用いてホストコンピュータ2に送信する。
B × D = E bytes, and the total number of bytes of image data to be read is E bytes. Therefore, the data to be read from the
上記の計算式から、読み取った画像データが、600dpi,8ビットグレーのとき、画像読取センサ251の読取位置が、たとえば原稿検知センサ212から2mmの位置にあり、読み取りを開始した解像度が600dpiの場合、2/25.4×600≒47ライン(端数切捨て)となるので、第0ラインから第46ラインまでは余白部分であり、第47ラインから原稿の画像データ先端が格納されている。
From the above calculation formula, when the read image data is 600 dpi, 8-bit gray, the reading position of the
画像読取センサ251が1ライン走査する時の読取画素数が解像度600dpiで5500画素となる場合、5500×8/8=5500が画像の1ラインのバイト数となり、47×5500=258500バイト目から、読み出しを開始する。
When the number of read pixels when the
原稿の長さが300mmの場合、画像データの長さは解像度600dpiのとき、300/25.4×600≒7086ライン(端数切捨て)で、出力データは5500×7086=38973000バイトを読み出してSCSIインターフェース(I/F)255を用いてホストコンピュータ2に送信する。
When the length of the original is 300 mm, the length of the image data is 300 / 25.4 × 600≈7086 lines (rounded down) when the resolution is 600 dpi, and the output data is 5500 × 7086 = 38973000 bytes and the SCSI interface is read out. (I / F) 255 is used for transmission to the
一方、画像読取センサ251が1ライン走査するときの読取画素数が解像度300dpiで2750画素となる場合は、これにあわせて読み出しを開始する位置(メモリアドレス)を決定する。
On the other hand, when the number of read pixels when the
上述したように、読み出し位置をセンサ位置により調整することで、図6のどのケースにおいても、図7の画像を出力する。 As described above, the image of FIG. 7 is output in any case of FIG. 6 by adjusting the reading position according to the sensor position.
図8は、画像読取センサ251を画像読取センサ移動部252によりコンタクトガラス213上のゴミや傷のない位置まで移動する処理を説明するためのフローチャート図である。なお、図8での各処理は、ROM254に記憶された制御プログラムがRAM253にロードされて、CPU250により実行される。
FIG. 8 is a flowchart for explaining the process of moving the
まず、画像読取センサ251は、画像読取センサ移動部252により初期位置に戻る(ステップS1002)。次に、基準板211を回転させ、画像読取センサ251に対向する面を黒色側の面にする(ステップS1003)。
First, the
画像読取センサ251は対向する基準板211の黒色基準面を読み取る(ステップS1004)。基準板211を読み取って得た1ライン分の画素ごとの明度を表す画像データを所定の黒色閾値と比較して(ステップS1005)、当該所定の黒色閾値よりも明度が高い画素がある場合には、コンタクトガラス213にゴミや傷があると判断し(ステップS1006)、ステップS1007に進む。このときの1ライン分の画像データは、図15に示すようになる。
The
ステップS1007では、基準板211の可動範囲内で画像読取センサ251を画像読取センサ移動部252により現在の読取位置から移動(1007)した上でステップS1003に戻る。
In step S1007, the
一方、基準板211を読み取って得た1ライン分の画素ごとの明度を表す画像データを所定の黒色閾値と比較し(ステップS1005)、ステップS1006で当該所定の黒色閾値よりも全て明度が低い画素である場合(図14に示すゴミがないと判断できる出力の場合)には、ステップS1008に進み、基準板211を回転させて画像読取センサ251に対向する面を白色側の面にする。
On the other hand, the image data representing the brightness of each pixel for one line obtained by reading the
次に、ステップS1009で、画像読取センサ251は対向する基準板211の白色基準面を読み取る。基準板211を読み取って得た1ライン分の画像データを構成する画素ごとに明度レベルを所定の白色閾値と比較して(ステップS1010)、当該所定の白色閾値よりも明度が低い画素がある場合(ステップS1011のNO)には、コンタクトガラス213にゴミや傷等があると判断し、ステップS1007に進む。このときの1ライン分の画像データは、図13に示すようになる。
In step S <b> 1009, the
基準板211を読み取って得た1ライン分の画像データが、ステップS1011において図12に示す出力になると、ステップS1012に進み、最終的に白色基準面を読み取って得た1ライン分の画素ごとの明度を表す画像データの全てが前記所定の閾値よりも高くなった読取位置で白色基準面を読み取った画像データをシェーディング補正データとして取得する。
When the image data for one line obtained by reading the
このときに画像読取センサ移動部252により移動させた画像読取センサ251の読取位置を、画像読み取り位置とする(ステップS1013)。
At this time, the reading position of the
図9は、画像読取センサ251により読み取った原稿の画像データをホストコンピュータ2に送信する処理を説明するためのフローチャート図である。なお、図9での各処理は、ROM254に記憶された制御プログラムがRAM253にロードされて、CPU250により実行される。
FIG. 9 is a flowchart for explaining processing for transmitting image data of a document read by the
まず、原稿台201の原稿210をピックアップローラ209および各ローラ対202〜206により搬送し(ステップS2001)、原稿先端が原稿通過検知センサ212を通過した時点を基準として(ステップS2002)、画像読取センサ251で原稿の画像の読み取りを開始する。
First, the
画像読取センサ251で読み取った原稿の画像データは、RAM253に一時的に格納され(ステップS2003)、原稿後端が原稿通過検知センサ212を通過した時点を基準として、原稿後端が画像読取部207を通過する時間を推定し(ステップS2004)、この推定された時点で画像読取センサ251での原稿の画像の読み取りを終了する。
The image data of the document read by the
RAM253に格納された画像データは上下に余白部があるので、上述した方法で画像読取センサ移動部252により移動した画像読取センサ251の読取位置を基に、RAM253に格納された画像データ内の原稿部分の格納位置を計算し(ステップS2005)、画像データのうちの原稿部分が格納された位置を先頭アドレスとしてRAM253に格納された画像データを読み出す。
Since the image data stored in the
そして、RAM253から読み出した画像データをSCSIインターフェース(I/F)255およびSCSIケーブル3を経由してホストコンピュータ2に送信する(ステップS2007)。
Then, the image data read from the
以上説明したように、本実施形態では、基準板211の白色基準面を読み取って得たシェーディング補正データに基づき、シェーディング補正を行う際に、画像読み取り位置のライン上に汚れやゴミ等が付着していても、画像読取センサ251の位置を移動し、良好なシェーディング補正データを取得することができ、読み取った原稿画像に白スジなどの画像不良を起こさないようにすることができる。なお、シェーディング補正データの取得は、原稿を一枚又は複数枚読み取るごとに再取得してもよい。その場合にも再度ゴミ検出を行なうようにしてもよい。
As described above, in the present embodiment, when shading correction is performed based on the shading correction data obtained by reading the white reference surface of the
また、原稿の画像読み取り時に読み取りライン上にゴミや汚れまたは傷がある場合でも、画像読取センサ251の位置を移動して、画像データのメモリ読み出し位置を変更するので、画像データに黒スジなどのノイズがなく、かつ画像の前後の余白部が切り取られた、良好な画像を読み取ることができる。
Further, even if there is dust, dirt or scratches on the reading line when reading an image of a document, the position of the
次に、図10および図11を参照して、本発明の第2の実施形態である画像読取装置について説明する。なお、上記第1の実施形態と重複する部分には図に同一符号を付してその説明を省略する。 Next, an image reading apparatus according to a second embodiment of the present invention will be described with reference to FIGS. In addition, the same code | symbol is attached | subjected to a figure and the part which overlaps with the said 1st Embodiment, and the description is abbreviate | omitted.
本実施形態の画像読取装置歯、図10に示すように、画像データの圧縮を行う圧縮処理部700がシステムバス256に接続される。
As shown in FIG. 10, the image reading device teeth of the present embodiment are connected to a
図11は、画像読取センサ251により読み取った原稿の画像データをホストコンピュータ2に送信する処理を説明するためのフローチャート図である。なお、図11での各処理は、ROM254に記憶された制御プログラムがRAM253にロードされて、CPU250により実行される。また、図11のステップS2001〜ステップS2006については、上記第1の実施形態の図9で説明した処理と同様であるので、その説明を省略する。
FIG. 11 is a flowchart for explaining processing for transmitting image data of a document read by the
ステップS3001では、RAM253から読み出した画像データに圧縮処理部700でJPEG等の圧縮処理を行い、ステップS3002で、圧縮画像データをSCSIインターフェース(I/F)255およびSCSIケーブル3を介してホストコンピュータ2に送信する。
In step S3001, the
このように、圧縮処理部700を有する画像読取装置では、圧縮処理を行う前に画像データをRAM253に記憶し、該画像データのうちの原稿部分の格納位置に記憶された画像データをRAM253から読み出した後に圧縮を行う。なお、圧縮処理は、制御プログラムによりCPU250で行ってもよい。
As described above, in the image reading apparatus having the
本実施形態では、圧縮機能を追加することで1枚の原稿にかかる出力データ転送時間を減らすことができるので、一定時間にスキャンすることができる原稿枚数を増やすことができる。その他の構成および作用効果は、上記第1の実施形態と同様である。 In the present embodiment, since the output data transfer time for one original can be reduced by adding a compression function, the number of originals that can be scanned in a certain time can be increased. Other configurations and operational effects are the same as those of the first embodiment.
なお、本発明は、上記実施の形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.
また、本発明の目的は、以下の処理を実行することによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。 The object of the present invention is achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.
また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。 Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.
更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。 Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.
1 画像読取装置
2 ホストコンピュータ
3 SCSIケーブル
201 原稿台
202 分離給送ローラ対
203 搬送ローラ対
204 搬送ローラ対
205 搬送ローラ対
206 搬送ローラ対
207 画像読取部
208 スキャナ基板
209 ピックアップローラ
210 原稿
211 基準板(基準部材)
212 原稿通過検知センサ
213 コンタクトガラス
250 CPU(ゴミ検出手段、読出手段、設定手段)
251 画像読取センサ
252 画像読取センサ移動部(画像読取センサ移動手段)
253 RAM(記憶手段)
254 ROM
255 SCSIインターフェース
256 システムバス
301 ホストコンピュータCPU
302 キーボード
303 ホストコンピュータメモリ
304 ディスプレイ
305 ハードディスク
307 SCSIインターフェース
700 圧縮処理部(圧縮手段)
DESCRIPTION OF SYMBOLS 1
212 Document
251
253 RAM (storage means)
254 ROM
255
302
Claims (8)
前記原稿通過検知センサの検知結果に基づいて原稿の画像読み取りが開始される画像読取センサと、
該画像読取センサを前記搬送路に沿って移動させる画像読取センサ移動手段と、
前記画像読取センサが画像を読み取り可能な読取位置に存在するゴミを検出するゴミ検出手段と、
前記画像読取センサの出力に基づいて取得した画像データを一時的に保存する記憶手段と、
該記憶手段から画像データを読み出す読出手段とを備え、
前記ゴミ検出手段がゴミを検出しない位置に前記読取位置を移動させるように、前記画像読取センサ移動手段が前記画像読取センサを移動させたとき、前記読取位置の移動量に応じて、前記読出手段は前記記憶手段に保存された画像データの読出位置を変更することを特徴とする画像読取装置。 A document passing detection sensor for detecting the document that will be conveyed along the conveying path,
An image reading sensor for starting image reading of a document based on a detection result of the document passage detection sensor ;
Image reading sensor moving means for moving the image reading sensor along the conveyance path ;
Dust detection means for detecting dust present at a reading position where the image reading sensor can read an image;
Storage means for temporarily storing image data acquired based on the output of the image reading sensor;
Reading means for reading image data from the storage means ,
When the image reading sensor moving means moves the image reading sensor so that the dust detecting means moves the reading position to a position where dust is not detected, the reading means is determined according to the amount of movement of the reading position. And changing the reading position of the image data stored in the storage means.
前記ゴミ検出手段がゴミを検出しない位置に前記読取位置を移動させるように、前記画像読取センサ移動手段が前記画像読取センサを移動させるステップと、
前記読取位置の移動量に応じて、前記読出手段は前記記憶手段に保存された画像データの読出位置を変更するステップと、を備えることを特徴とする画像読取装置の制御方法。 A document passing detection sensor for detecting the document that will be conveyed along the conveying path, and an image reading sensor which image reading of the document is started on the basis of the document passing detection sensor of the detection result, the conveyance path of the image reading sensor an image reading sensor moving unit that moves along the dust detection means for the image reading sensor detects dust present in possible reading location to read an image, the image data obtained on the basis of the output of the image reading sensor When controlling an image reading apparatus comprising a storage means for temporarily storing and a reading means for reading out image data from the storage means ,
The image reading sensor moving means moving the image reading sensor so that the dust detecting means moves the reading position to a position where no dust is detected;
And a step of changing the reading position of the image data stored in the storage means in accordance with the amount of movement of the reading position.
前記ゴミ検出手段がゴミを検出しない位置に前記読取位置を移動させるように、前記画像読取センサ移動手段が前記画像読取センサを移動させるステップと、
前記読取位置の移動量に応じて、前記読出手段は前記記憶手段に保存された画像データの読出位置を変更するステップと、を前記コンピュータに実行させることを特徴とする画像読取装置の制御プログラム。 A document passing detection sensor for detecting the document that will be conveyed along the conveying path, and an image reading sensor which image reading of the document is started on the basis of the document passing detection sensor of the detection result, the conveyance path of the image reading sensor an image reading sensor moving unit that moves along the dust detection means for the image reading sensor detects dust present in readable reading position an image, the image data obtained on the basis of the output of the image reading sensor In controlling the image reading apparatus from a computer connected to an image reading apparatus provided with a storage means for temporarily storing and a reading means for reading out image data from the storage means ,
The image reading sensor moving means moving the image reading sensor so that the dust detecting means moves the reading position to a position where no dust is detected;
Depending on the amount of movement of the reading position, the reading unit is an image reading apparatus control program, characterized in that to execute a step of changing the read position of the image data stored in the storage unit to the computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007089575A JP4847384B2 (en) | 2007-03-29 | 2007-03-29 | Image reading apparatus, image reading apparatus control method, and image reading apparatus control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007089575A JP4847384B2 (en) | 2007-03-29 | 2007-03-29 | Image reading apparatus, image reading apparatus control method, and image reading apparatus control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008252379A JP2008252379A (en) | 2008-10-16 |
JP4847384B2 true JP4847384B2 (en) | 2011-12-28 |
Family
ID=39976835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007089575A Active JP4847384B2 (en) | 2007-03-29 | 2007-03-29 | Image reading apparatus, image reading apparatus control method, and image reading apparatus control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4847384B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6502154B2 (en) * | 2015-04-16 | 2019-04-17 | 株式会社日立情報通信エンジニアリング | Image reading apparatus and image reading method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001333253A (en) * | 2000-05-19 | 2001-11-30 | Ricoh Co Ltd | Image reader |
JP3631135B2 (en) * | 2000-12-15 | 2005-03-23 | キヤノン株式会社 | Image reading apparatus, image reading method, and storage medium |
JP2004056672A (en) * | 2002-07-23 | 2004-02-19 | Pfu Ltd | Backing switching mechanism of image reading device and method of controlling image reading device |
JP2005123915A (en) * | 2003-10-17 | 2005-05-12 | Ricoh Co Ltd | Image reader and image forming apparatus employing it |
-
2007
- 2007-03-29 JP JP2007089575A patent/JP4847384B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008252379A (en) | 2008-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5336939B2 (en) | Image processing apparatus, image processing method, and program | |
US20110181919A1 (en) | Image reading apparatus, control method thereof and computer-readable storage medium | |
US20070285690A1 (en) | Image processing apparatus and computer readable medium storing image processing program | |
CN101729723A (en) | Image reading method and image reading apparatus | |
US7830563B2 (en) | Image scanner and image forming apparatus | |
JP5850295B2 (en) | Image reading apparatus, image forming apparatus, and program | |
US20100165417A1 (en) | Image processing method, image processing apparatus, and computer-readable storage medium | |
JP4847384B2 (en) | Image reading apparatus, image reading apparatus control method, and image reading apparatus control program | |
KR100509483B1 (en) | Method and apparatus scanning a picture | |
JP5618664B2 (en) | Image processing method, program, image reading apparatus, and information device | |
US8422785B2 (en) | Image processing apparatus, image processing method, and program | |
JP2009284190A (en) | Image reading apparatus and image reading system | |
CN102542266A (en) | Image processing apparatus and method for controlling same | |
JP3569059B2 (en) | Image reading device | |
JP5215113B2 (en) | Image reading device | |
JP4194210B2 (en) | Image reading apparatus and method for controlling image reading apparatus | |
JP2006173933A (en) | Image reading apparatus and control method thereof | |
JP3852247B2 (en) | Image forming apparatus and transfer image distortion correction method | |
JP2015216551A (en) | Image forming apparatus | |
JPH0888704A (en) | Image processing unit | |
JP2005039485A (en) | Image extracting method, program, recording medium, and image processing apparatus | |
JP2011023920A (en) | Image reading apparatus and image forming apparatus | |
JP2002290727A (en) | Image processing method, apparatus, storage medium, and program | |
JP2003198838A (en) | Image processing system and image processing method | |
JP2002176542A (en) | Device and method for reading image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100329 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110715 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110726 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110908 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111004 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111013 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141021 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4847384 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |