JP2004215122A - Image reading method - Google Patents

Image reading method Download PDF

Info

Publication number
JP2004215122A
JP2004215122A JP2003001652A JP2003001652A JP2004215122A JP 2004215122 A JP2004215122 A JP 2004215122A JP 2003001652 A JP2003001652 A JP 2003001652A JP 2003001652 A JP2003001652 A JP 2003001652A JP 2004215122 A JP2004215122 A JP 2004215122A
Authority
JP
Japan
Prior art keywords
reading
image
unit
document
image sensor
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
JP2003001652A
Other languages
Japanese (ja)
Inventor
Yukio Nohata
之雄 野畠
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2003001652A priority Critical patent/JP2004215122A/en
Publication of JP2004215122A publication Critical patent/JP2004215122A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform highly efficient reading operation by properly performing reading driving control corresponding to the state of a document, e.g., its size, shape or a mode of placing a document on a reading unit or the characteristics of an image on the document. <P>SOLUTION: When a document and a reading means are relatively moved to read the image of the document per line by an image sensor, if the predetermined number of lines not containing effective pixels are detected from the image data with the image sensor (S105, S106), a reading resolution is changed from a normal first reading resolution (600 dpi) to a second value (300 dpi) (S107). After that, if effective pixels are detected from the image data read by the image sensor again (S104, S108), the image sensor is moved backward by the number predetermined lines (S109) to return the reading resolution to the first reading resolution (600 dpi). <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は原稿と読取手段を相対移動させて前記読取手段によりライン単位で原稿の画像を読取る画像読取方法に関するものである。
【0002】
【従来の技術】
従来から、原稿と、読取手段(読取ヘッド)の相対移動によって原稿の読取動作を行なう画像読取装置がスキャナ、ファクシミリ装置、複写装置などにおいて広く用いられている。
【0003】
この種の読取装置の典型的な構成の1つは、たとえばコンタクトガラスなどの原稿載置台に原稿を置き、その原稿載置台の下側に配置されたコンタクトセンサやCCDなどを用いた読取手段を移動させて原稿の読取動作を行なうものである。原稿から読取った画像データは記録部に転送して記録したり、ホストコンピュータや他の装置(他のファクシミリ装置など)に転送される。
【0004】
このような画像読取装置では、原稿載置台に置かれた原稿のサイズを検出する手段を設け、その検出したサイズに応じて読取動作を行なう範囲を決定するか、その原稿サイズを検出する手段を設けていない場合には、原稿載置台の全てのエリアについて読取動作を行なうのが普通である。
【0005】
【発明が解決しようとする課題】
上記のような画像読取装置で、原稿載置台に置かれた原稿のサイズを検出し、検出したサイズに応じて読み取る範囲を決定する場合には、その原稿サイズを検出する手段の分だけ装置本体の製造コストが高くつく。しかしながら、読み取るべき原稿のサイズの検出を行なわずに、原稿載置台の全てのエリアについて読取動作を行なう場合には、原稿載置台に比較して小さな原稿を読み取る場合などには無駄なエリアを読み取ることになり、たとえばこのような読取部と記録部を有する複写機能を持ったファクシミリ装置や複写装置では、その分処理時間が余計にかかる、という問題がある。
【0006】
また、従来の原稿サイズ検出方式では、非定型の原稿のサイズを特定するのは殆ど不可能であり、変形した原稿、あるいはユーザが複数枚の分離した原稿を原稿載置台に載置したような場合や、原稿を原稿載置台上のランダムな位置に載置した場合などは従来の原稿サイズ検出はほとんど無力であり、原稿サイズ情報に基づき読取駆動制御を最適化することは不可能であった。
【0007】
本発明の課題は、原稿の状態、たとえばそのサイズや形状、読取部への載置態様、あるいは原稿上の画像の性質などに応じて読取駆動制御を適切に行ない、高効率な読取動作を行なうことができるようにすることにある。
【0008】
【課題を解決するための手段】
上記の課題を解決するため、本発明によれば、原稿と読取手段を相対移動させて前記読取手段によりライン単位で原稿の画像を読取る画像読取方法において、前記読取手段により読取られた画像データから有効画素を含まない所定数のラインを検出した場合、原稿の単位面積当りに要する読取速度を通常の第1の読取速度より高速な第2の速度に変更し、その後、前記読取手段により読取られた画像データから再び有効画素を検出した場合、原稿の単位面積当りに要する読取速度を前記第1の読取速度に復帰させる構成を採用した。
【0009】
【発明の実施の形態】
以下、図を参照して本発明の実施の形態を説明する。以下では、本発明の画像読取技術を実施する装置としてファクシミリ装置を例示する。
【0010】
図2は、本発明を採用したファクシミリ装置100の制御系の構成を示している。
【0011】
図2において、ファクシミリ本体100は、制御部101、ROM102、DRAM103、SRAM104、画像読取部105、ファクシミリ送受信部107、記録部108、操作部110、電源供給部111から成る。
【0012】
上記のうち、制御部101は、システムバス112を介してファクシミリ装置全体を制御するマイクロプロセッサユニット(MPU)である。システムバス112は、データ信号線、アドレス線からなる。
【0013】
ROM102は、MPUが動作するためのインストラクション群等のプログラムコード、オペレーティングシステム(OS)プログラムコード、初期値データ、テーブルデータ等を格納する。本発明の画像読取制御は、制御部101のプログラムとしてROM102に格納しておくことができる。
【0014】
DRAM103は、ファクシミリ送受信部107との間で送受信する際の画像データを一時的に保持するバッファとして用いられる。すなわち、DRAM103は画像バッファ、画像メモリ、各種動作のワークエリアなどに使用される。また、ファクシミリ送受信部107を介して受信された画像データや、画像読取部105で読み取られた画像データをファイルとして蓄積するためのメモリとしても用いられる。
【0015】
SRAM104はユーザー登録エリアや、ワークエリアなどとして使用され、このSRAM104はバッテリーバックアップによって、ファクシミリ本体100の電源オフ時にもデータが保持可能である。
【0016】
画像読取部105は原稿画像を読み取るためのもので、イメージセンサ1055(たとえば密着型イメージセンサ)、読取画像処理部1054、読取駆動部1052などから構成される。また、本実施形態においては特に制御部101からの指示によってイメージセンサが原稿の1ラインを読み取っている間にイメージセンサ1055を移動させる距離を設定する読取駆動解像度設定部1053、読取画像処理部1054が画像処理を行なう際のバッファとして用いるメモリなどを含むものとする。
【0017】
さらに、本実施形態では、イメージセンサ1055により読み取られた1ラインの情報中に有効な画素が存在するかどうかを判別する有効画素検出手段が必要である。この有効画素検出手段は、画像読取部105内のハードウェアにより構成するか、制御部101のソフトウェア(たとえば画像読取部105の出力画像データを検査するもの)により構成することができる。
【0018】
画像読取部105は概略次のような動作を行なう。本実施形態の場合、原稿に対するイメージセンサ1055の相対移動はイメージセンサ1055を移動させることにより行なう。
【0019】
制御部101が読取駆動部105を起動すると、イメージセンサ1055が駆動され、イメージセンサ1055が原稿の副走査方向に移動しながら、原稿台に置かれた原稿を光学的に読み取って電気的な画像信号に変換する。イメージセンサ1055はたとえばカラーセンサから構成することができ、その場合、イメージセンサ1055は、R(レッド)、G(グリーン)、B(ブルー)の3色のLEDを内蔵し、この3色のLEDを1ライン読取中に順次点灯することにより、そのラインのR、G、Bの反射光データを読み取る構成とする。このような構成において白黒原稿を読み取る場合には、3色のLEDを同時に点灯することにより、モノクロ読取が可能となる。この信号を読取画像補正部にてシェーディング補正などを施し、さらに読取画像処理部1054によって2値化処理および中間調処理等の画像処理を施して高精細な画像データを出力する。
【0020】
記録画像処理部106は記録部108の記録動作を制御するためのもので、インターフェイス制御部114を介して記録部108と接続される。記録画像処理部106は制御部101からのパワーオン指示、パワーオフ指示、回復動作指示、記録紙排出指示等の制御コマンドを受信したり、記録動作がファクシミリ受信画像の記録であるのか、コピー画像の記録であるのか等の記録種別を受信する一方、記録部108のエラー情報、オンライン/オフライン状態などのステータス情報を制御部101に送信する。記録画像処理部106はこのような制御を行なえる制御部(CPUなど)や画像メモリなどにより構成される。
【0021】
制御部101は、記録画像処理部106を介して記録部108に対して各動作の指示を送ることができる。記録時にプリンタを起動するためのパワーオンコマンド、パワーオフコマンド、プリンタ側の各ステータスを要求するステータス要求コマンドなどを送信する。また、記録部108が記録動作する際には、その記録動作がファクシミリ受信画像の記録であるのか、コピー画像の記録であるのかの種別を通知する。
【0022】
記録画像処理部106は、ファクシミリ受信した画像データを記録部108で出力する場合に、受信した画像データをプリンタの主走査解像度600dpi(dots per inch)の生画像データに変換するための解像度変換、スムージング、濃度補正等の各種画像処理を施し、高精細画像データに変換する。
【0023】
インターフェイス(I/F)制御部114は、制御部101からの指示により、記録画像処理部106により画像処理された記録すべき画像データを所定のプロトコル(たとえばIEEE1284規格など)に基づき記録部108へ転送する制御を行なう。図2において、インターフェイス制御部114と記録部108とを結ぶ制御信号線113は記録部108の制御を上記の所定のプロトコルによる通信を行なえる構成を有するパラレルインターフェイスあるいはシリアルインターフェイス(UART)などから構成することができる。
【0024】
記録部108は、画像記録を行なうためのもので、記録ヘッド1081、画像メモリ1082、記録制御部1083、インターフェイス制御部114と通信を行なうためのインターフェース制御部1084、記録ヘッド1081の駆動タイミングの制御などに用いられるタイマー1085などから構成される。その他に各種インストラクションを記述したROM(不図示)、処理手段が必要とする情報を記憶しておくための入力が可能なRAM(不図示)なども記録部108に含まれる。
【0025】
記録部108はたとえばインクジェット方式を用いたカラープリンタとして構成することができ、その場合記録ヘッド1081はカートリッジ式の白黒記録専用のモノクロ記録ヘッドか、あるいは、カートリッジ式のカラー記録ヘッドから構成することができる。このモノクロ記録ヘッドとカラー記録ヘッドとは交換可能な構成であってよい。
【0026】
また、カラー/モノクロのいずれの記録ヘッド1081もインクタンクを内蔵した一体型のインクカートリッジであり、記録解像度600dpi(dots per inch)でインクの吐出を行なう。記録ヘッド1081はキャリッジに保持されながら、記録紙の搬送方向(副走査方向)とは直交する方向(主走査方向)に往復運動する。キャリッジの往復運動は、モータによって駆動されるプーリおよびタイミングベルトによって行われ、この時に記録ヘッド1081に与えられる記録信号や電力は、キャリッジと電気基板を接続しているフレキシブルケーブルによって電気回路より供給されている。記録ヘッド1081とフレキシブルケーブルとは互いの接点を圧接して接続しており、記録ヘッド1081の特定の接点間の開放/接続を検出することでモノクロ記録専用のカートリッジが装着されているかあるいはカラー記録用のカートリッジが装着されているかを認識可能な構成となっている。また、この記録ヘッド1081の吐出面をゴミや埃から保護するために、記録ヘッド未使用時に記録ヘッド1081の吐出面を覆うキャップが設けられている。
【0027】
また、このキャップと連通する記録ヘッド吸引用のピストンがあり、このピストンをモータで駆動することにより、キャップ内に負圧を発生させ、記録ヘッド1081の吐出口内のインクを吸引する。このように記録ヘッド1081のノズルの目詰まりを除去したり、印字のために記録ヘッド1081に加えられた熱エネルギーにより記録ヘッド1081のインク液室内に気泡が発生している場合にはこの気泡を除去することができる。このピストンにはピストンの動きに連動して動作する部材が設けられており、キャリッジの備えられているフォトインタラプタの光軸をこの部材が遮光することによって、ピストンがシリンダー内部であらかじめ決められた位置(ピストンのイニシャル位置)にいることを検出できるような構成になっている。また、この記録ヘッド1081の吸引動作は記録部108に設けられたタイマーで時間を計時することにより、前回の吸引動作からある一定時間経過した場合、再び吸引動作を行なうという制御が可能な構成になっている。
【0028】
ファクシミリ送受信部107は、NCU(網制御装置)などからなる通信制御部1071、モデム(変復調装置)などからなる通信接続部1072によって構成される。本実施形態では、通信制御部1071はアナログPSTN(一般公衆回線網)に接続され、G3のプロトコルによって通信制御、通信回線に対する発呼、着呼等の回線制御を行なうものとする。また、必須ではないが、ファクシミリ送受信部107に電話機(不図示)を接続し、通話やDTMFリモート制御などを行なうことも可能である。
【0029】
画像符号復号化部109は、画像符号化部1091、画像復号化部1092から構成される。画像符号化部1091、画像復号化部1092は、MH、MR、MMRなどの符号化方式により、ファクシミリ送受信データの符号化ないし復号化を行なう。
【0030】
電源供給部111は、本ファクシミリ装置100に電源を供給するための電源回路、たとえばスイッチング電源などから構成される。
【0031】
操作部110は、ファクシミリ通信相手を発呼するときのデータを登録、設定するときなどに用いられるテンキー、各種機能を利用するためのファンクションキー、電話番号等を登録しておきワンタッチでダイヤルするためなどに用いるワンタッチキー、送信やコピー、受信を始めるときに用いるスタートキー、送信や登録、設定などの動作を中止するときに用いるストップキー等の各種キー1101と、通信状況の確認や、データの登録/設定/確認メッセージなど各種メッセージの表示を行なうLCD、各種エラー発生時に点灯するLEDランプ、読取モードや送信モードの表示を行なうLEDランプなどから成る各種LED1102により構成され、ユーザーインターフェース、すなわちファクシミリ装置100の動作指示および各種情報の入力や、装置の状態、発呼する相手の電話番号、時刻情報、操作手順等の表示に用いられる。
【0032】
次に以上のように構成されたファクシミリ装置100の動作について説明する。まず、画像読取動作、画像記録動作、ファクシミリ送信/受信動作、および画像読取制御のそれぞれの概略を先に説明する。これらの動作はいずれも制御部101のプログラムによって制御される。
【0033】
<画像読取動作>
本ファクシミリ装置100が画像読取を行なう場合は、画像読取部105のイメージセンサ1055によって得られた画像データは読取画像補正部により、シェーディング補正などの処理が施され、さらに2値化および画像変換処理が行われ、画像符号復号化部109の画像復号化部1092に入力される。入力された画像データは、DRAM103に展開され、画像符号化部1091によって圧縮符号化されたあと、DRAM103に蓄積される。また、ファクシミリ送信の場合には、同時にその画像データの受付番号、宛先情報、ページ数、格納画像メモリブロック情報等の管理情報がSRAM104に格納される。
【0034】
<画像記録動作>
画像記録において、DRAM103に蓄積された画像符号化データは、画像符号復号化部109の画像復号化部1092によって伸長復号され、記録画像処理部106によって補正および画像変換処理を行った後、記録部108に送信される。
【0035】
<ファクシミリ送信動作>
ファクシミリ送信動作を行なう場合は、あらかじめ送信画像データが上記のようにして読取られ、画像符号復号化部109により符号化され、DRAM103に符号化データの形で蓄積されているものとする。また、送信宛先は、ユーザが操作部110のテンキーやワンタッチキーなどにより指定するものとする。
【0036】
ユーザ操作に応じて、ファクシミリ送受信部107がDTMF信号などの発呼信号をPSTNに送信し、回線が捕捉されると、宛先の装置との間でG3ファクシミリ通信手順信号の送受信を行なった後、DRAM103に蓄積された画像符号化データがDRAM103上の送信バッファを系由して、ファクシミリ送受信部107の入力割り込み信号に応じて制御部101が実行する制御にしたがい、通信接続部(モデム)1072に1バイトづつ転送されて変調され、通信制御部1071を介してPSTNに送出される。また、ファクシミリ送信の際には、SRAM104に時刻や通信相手の識別情報などを含む管理情報が格納される。
【0037】
<ファクシミリ受信動作>
ファクシミリ受信動作においては、PSTNからの呼出信号などを契機としてファクシミリ送受信部107の通信制御部1071により着信が確認されると、相手装置との間でG3ファクシミリ通信手順信号の送受信を行なった後、受信画像データが通信制御部1071を通して通信接続部1072に入力される。受信画像データは、通信接続部1072で復調され、ファクシミリ送受信部107の入力割り込み信号に応じて制御部101が実行する制御にしたがい、DRAM103上の受信バッファに転送される。受信バッファに転送された画像データは画像符号復号化部109の画像復号部によって復号して画像誤りを検査し、DRAM103の画像メモリ領域に画像データとして展開される。展開された画像データは、画像符号復号化部109の画像符号化部1091により圧縮符号化されてDRAM103に蓄積されるとともに、SRAM104に時刻や通信相手の識別情報などを含む管理情報が格納される。
【0038】
<画像読取制御>
次に、本実施形態の画像読取制御につき説明する。
【0039】
図3は、画像読取部105のイメージセンサ廻りの構成を示している。図3において符号201はイメージセンサで、図2のイメージセンサ1055に相当する。イメージセンサ201は駆動モータ203の駆動軸203a〜プーリ205間に張架された駆動ベルト202によりガラスなどの透明材質から成る原稿台200の下部を移動できるようになっている。
【0040】
原稿は原稿台200上に載置され、不図示の圧板により上方より保持される。この圧板の裏面(原稿台200側)は標準白色となっている。図3では原稿は2枚の原稿204a、204bであり、中央部C〜Dの部分には原稿が存在せず、この領域ではイメージセンサ201は圧板裏面の標準白色を読み取ることになる。イメージセンサ201の最大の原稿副走査領域はポイントAからGまでである。
【0041】
次に、図1を参照して制御部101が実行する画像読取制御手順を説明する。図1は図2の制御部101が実行する画像読取制御手順を示している。以下の動作では必要に応じて図1ないし図3のいずれかの参照符号を用いて説明する。
【0042】
まず、ステップS101で、操作部110を介してユーザが原稿のコピーやファクシミリ送信操作など原稿読取が必要な処理を指定すると、読取動作を開始する。
【0043】
まず、読取駆動部1052により駆動モータ203が回転し、駆動ベルト202にイメージセンサ201が図3の左方に引っ張られ、イメージセンサ201が図3の(1)の方向に移動する。
【0044】
次にステップS102で読取開始位置である図3のポイントAにイメージセンサ201が到達したかどうかを待つ。ここでポイントAにイメージセンサ201が到達したならば、ステップS103に進む。ここで制御部101は読取駆動解像度設定部1053に初期値である読取駆動解像度600dpiの設定を行い、イメージセンサ201が1ライン読み取る間のイメージセンサ201の駆動解像度(1ライン読み取る間のイメージセンサの移動量)を本来の読取動作時の駆動量である1/600inchに設定する。そしてこの1/600inchの距離を移動している間にR、G、BのLEDを順次点灯することにより、有効画素検出部(前述のように画像読取部105のハードウェアないし制御部101のソフトウェアにより構成される)にR(赤)のLED点灯時の画像データから順次転送を行なっていく。R、G、BそれぞれのLEDが点灯しているときの画像データが有効画素検出部に転送され、原稿のそのラインの読取動作を終了すると、次にステップS104に進む。
【0045】
ステップS104では有効画素検出部は転送されたR、G、Bそれぞれのデータに対してそのデータ中に有効画素が存在するかどうかを判別する。有効画素検出部は判定を行なったラインに有効画素が存在しないと判断した場合には、ステップS105で白ラインを計数するカウンタcountをインクリメントする。そしてさらに、有効画素検出部はステップS106でカウンタcountの値が規定値xを超えた場合には、ステップS107でそのことを示すフラグwlineをセットする。これらカウンタcount、フラグwlineはDRAM103の所定領域、あるいは制御部101を構成するCPUのレジスタなどにより構成され制御部101により制御される。
【0046】
今回は原稿の端部はポイントBにあるために、ポイントBに達するまではイメージセンサ201は原稿置き台200を通して原稿台の反対側から押さえつけている圧板(不図示)の標準白色をイメージセンサ201が読み取ることになり、ポイントA〜Bの読み取りでは全白のラインが検出される。
【0047】
イメージセンサ201がポイントBまで到達し、ステップS104で有効画素検出部により、有効画素が存在すると判断された場合、ステップS108に進み、ここでフラグwlineがセットされているかどうかが判定される。ここではこのフラグは制御部101により初期化されているので、セットされていないためにステップS110に進み、フラグwlineをリセットし、カウンタcountを0にクリアする。
【0048】
そしてステップS111で再び駆動解像度設定部1053によりイメージセンサ201の駆動解像度を600dpiにセットする。そしてステップS112でイメージセンサ201を駆動し、ステップS113でこの装置の読取可能な範囲であるポイントGにイメージセンサ201が到達したかどうかを調べる。ここではまだ原稿204aを読み取っているので、ステップS103に戻り、次のラインの読取動作を行なう。このようにイメージセンサ201の駆動ピッチを1/600dpiとして順次原稿204aのラインの読取動作を行い、イメージセンサ201が図3のポイントCに到達した場合には、全白の圧板を再び読み取るためにステップS104で有効画素検出部にて有効画素なしと判断される。その場合にはステップS105に進み、全白ラインの連続数をカウントするカウンタcountをインクリメントする。
【0049】
さらにステップS106に進み、このカウンタcountの数値が規定値であるxを超えているかどうかの判断を行なう。ここでは規定値xは50となっておりイメージセンサ201の移動距離に換算すると約2mmに相当する。ここではステップS106でカウンタcountは規定値xを越えていないためにステップS111に進み、駆動解像度600dpiで通常の読取動作を継続する。
【0050】
このように全白の圧板の読取動作を続けてステップS106でカウンタcountの数値がxを越えると(ポイントDにイメージセンサ201が到達したとき)ステップS107に進み、イメージセンサ201の駆動解像度を300dpiにセットするとともに、高速読取中であることを示すフラグwlineをセットする。
【0051】
本実施形態では、イメージセンサ201(1055)の1ラインを読み取るのに必要な時間はイメージセンサ201の移動速度とは無関係で一定であるものとする。この1ラインを読み取る時間内のイメージセンサ201が移動する距離を2倍に設定すれば、単位距離あたりに要する読取所要時間が半分になる。
【0052】
すなわち、イメージセンサ201(1055)の1ラインを読み取るのに必要な時間をTs(秒)とすると、駆動解像度600dpiの場合、副走査速度は(1/600)/Ts(inch/秒)、駆動解像度300dpiの場合、副走査速度は(1/300)/Ts(inch/秒)となり、副走査速度は駆動解像度600dpiの場合ちょうど倍速の高速読取となる。
【0053】
さらにステップS112に進み、この駆動解像度で読取動作を行なう。このように原稿204aと原稿204bの間を300dpiで読み取ってイメージセンサ201がポイントFに到達した場合にはここから有効画素検出部は有効画素ありと判断するので、ステップS108に進む。このときは今までは300dpiの高速読取を行なっていたので、ステップS109に進む。
【0054】
このときイメージセンサ201は300dpiの本来の1/2の解像度での読取動作で原稿204bに到達しているので、原稿204bの端部をイメージセンサ201が越えてしまっている可能性がある。そのためにイメージセンサ201をポイントEまで戻す動作を行なう。このイメージセンサ201の戻し量は300dpiピッチで読取動作を行なっていたものを600dpiピッチで読取なおすことが目的であるので、最低でも600dpi換算で2ライン分はイメージセンサ201を戻す必要がある。この戻す量が大きいと当然全体の読取動作に必要な時間が延びることになる。またここでのイメージセンサ201の戻し量は全白ライン読取中に高速読取動作に移行するまでの規定値であるxを超えてはならない。
【0055】
ここでポイントEまでイメージセンサ201を戻したあと、ステップS110で全白ラインのカウンタcountを0クリアし、フラグwlineをリセットする。そしてステップS111,S112に進み、本来のイメージセンサ201の駆動解像度である600dpiに戻し、読取動作を継続する。イメージセンサ201はポイントEまで戻されているので、この戻された範囲分は再び全白ラインを読み取ることになるが、イメージセンサ201の戻し量は規定値xよりも小さな値であるので再びステップS107で駆動解像度が300dpiに設定されることはない。このようにして600dpiで原稿204bの読取動作を行なう。そしてステップS113でイメージセンサ201が読取の終了地点であるポイントGに到達すると読取動作を終了する。
【0056】
以上のようにして本実施形態によれば、イメージセンサが読み取った1ラインの画像データ中に、有効画素が存在するかどうかを判別する有効画素判別手段と、読取手段の駆動解像度設定手段を設け、有効画素判別手段により所定数の全白のラインが連続したと判定された場合には、駆動解像度設定手段で読取解像度を粗く設定し、原稿の単位面積当りに要する読取時間を短くする(あるいは原稿の単位面積当りの読取速度を通常の第1の速度からそれよりも大きい第2の速度に変更する)ようにしているので、読取エリアの指定などの煩雑な操作を必要とすることなく、原稿の状態、たとえばそのサイズや形状、読取部への載置態様、あるいは原稿上の画像の性質などに応じて読取駆動制御を適切に行ない、高効率な読取動作を行なうことができる、という優れた効果がある。
【0057】
また、全白のラインの連続により読取時間を短くする(あるいは読取速度を大きくする)制御に入った後、有効画素を検出した場合は、イメージセンサを所定ライン数ぶんだけ後方に移動させ、通常の読取時間(読取速度)の読取を再度実行するようにしているので、画像データの欠落を生じることなく読取を行なえる。このとき、全白領域の部分から再読取を行なうようにしており、また、複数ライン分(上記の例では少なくとも通常の読取解像度1/600dpiの2ライン分)イメージセンサを戻すようにしているので、読取誤差によって目視上問題となるような画質低下を生じることがない。
【0058】
なお、上記では、通常の読取解像度を1/600dpi、全白ライン連続を検出した後の読取解像度を1/300dpiとしているが、このように全白ライン連続を検出した後の読取時間(読取速度)が通常の読取時間(読取速度)と整数の比率を持つように設定することにより、読取誤差を少なくすることができる。
【0059】
なお、上記の実施形態では、イメージセンサの駆動解像度を、全白ラインが規定ライン数連続した場合に1/2にして単位時間あたりのイメージセンサの移動量を2倍にすることにより、全体の読取に必要な時間を短縮している。すなわち、上記実施形態では、副走査方向のみに関して読取時間(読取速度)の制御を行なうものとしたが、全白部分において主走査方向にも読取時間(読取速度)を変更する制御を行なってもよい。たとえばイメージセンサの主走査方向の解像度を変更できる手段をさらに設け、この全白ラインが規定ライン数連続した場合にはイメージセンサの単位時間あたりの移動量を多くすると同時に、イメージセンサの主走査方向の解像度を粗く設定すれば、読み取った1ラインの画像データの画素数が少なくなるために、1ラインあたりの読取動作に必要な時間も短くなる。そのためこの間のイメージセンサの移動量と合わせてさらに全白部分の読取に要する時間を短くすることができる。
【0060】
以上では、原稿と読取手段の相対移動を読取手段(イメージセンサ)を移動させることにより行なっているが、上記の技術は原稿の方を移動させる読取装置(たとえば、図3のイメージセンサ201を固定とし、駆動モータ203で原稿を搬送する構成)においても同様に実施できるのはいうまでもない。
【0061】
本発明の読取制御方法は、全てコンピュータプログラムとして実装することができ、その場合、任意の装置に組み込み状態であるいはネットワーク経由などで供給し、その装置で実行させることができる。この本発明の読取制御方法を実施する装置も当然ながら本発明の実施範囲に含まれる。
【0062】
また、本発明の読取制御方法を実施する装置は上記のファクシミリ装置に限定されるものではなく、ハードウェアがスキャナとホストコンピュータ、のように2つ以上に分割されている場合でも、本発明の読取制御方法を実現する制御プログラムは1つあるいは複数のハードウェアで実行することができ、このような場合も本発明の実施範囲に含まれるのはいうまでもない。
【0063】
すなわち、本発明の技術範囲には次のような実施の態様が含まれる。
【0064】
<実施態様>
<実施態様1> 原稿と読取手段を相対移動させて前記読取手段によりライン単位で原稿の画像を読取る画像読取方法において、
前記読取手段により読取られた画像データから有効画素を含まない所定数のラインを検出した場合、
原稿の単位面積当りに要する読取速度を通常の第1の読取速度より高速な第2の速度に変更し、
その後、前記読取手段により読取られた画像データから再び有効画素を検出した場合、原稿の単位面積当りに要する読取速度を前記第1の読取速度に復帰させることを特徴とする画像読取方法。
【0065】
<実施態様2> 前記読取手段により読取られた画像データから再び有効画素を検出し、原稿の単位面積当りに要する読取速度を前記第1の読取速度に復帰させる場合、前記読取手段を所定ライン数分だけ後方に戻してから前記第1の読取速度への復帰を行なうことを特徴とする実施態様1に記載の画像読取方法。
【0066】
<実施態様3> 前記第1と第2の読取速度の比を整数比率とすることを特徴とする実施態様1に記載の画像読取方法。
【0067】
<実施態様4> 実施態様1〜3のいずれか1項に記載の画像読取方法を実行することを特徴とする画像読取装置。
【0068】
<実施態様5> 実施態様1〜3のいずれか1項に記載の画像読取方法を実行することを特徴とする画像読取制御プログラム。
【0069】
【発明の効果】
以上の説明から明らかなように、本発明によれば、原稿と読取手段を相対移動させて前記読取手段によりライン単位で原稿の画像を読取る画像読取方法において、前記読取手段により読取られた画像データから有効画素を含まない所定数のラインを検出した場合、原稿の単位面積当りに要する読取速度を通常の第1の読取速度より高速な第2の速度に変更し、その後、前記読取手段により読取られた画像データから再び有効画素を検出した場合、原稿の単位面積当りに要する読取速度を前記第1の読取速度に復帰させる構成を採用しているので、原稿の状態、たとえばそのサイズや形状、読取部への載置態様、あるいは原稿上の画像の性質などに応じて読取駆動制御を適切に行ない、高効率な読取動作を行なうことができる、という優れた効果がある。
【図面の簡単な説明】
【図1】本発明の原稿読取制御を示したフローチャート図である。
【図2】本発明の原稿読取制御を実施可能なファクシミリ装置の構成を示したブロック図である。
【図3】本発明の画像読取動作を示した説明図である。
【符号の説明】
100 ファクシミリ本体
101 制御部
102 ROM
103 DRAM
104 SRAM
105 画像読取部
106 記録画像処理部
107 ファクシミリ送受信部
108 記録部
109 画像符号復号化部
110 操作部
111 電源供給部
112 システムバス
113 シリアルインターフェイス
114 インターフェイス制御部
200 原稿台
201 イメージセンサ
202 駆動ベルト
203 駆動モータ
204a,204b 原稿
205 プーリ
1053 読取駆動解像度設定部
1054 読取画像処理部
1055 イメージセンサ
1071 通信制御部
1072 通信接続部
1081 記録ヘッド
1082 画像メモリ
1083 記録制御部
1084 インターフェース制御部
1091 画像符号化部
1092 画像復号化部
1101 各種キー
1102 各種LED
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image reading method in which a document and a reading unit are relatively moved and an image of the document is read line by line by the reading unit.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an image reading apparatus that performs an original reading operation by a relative movement of an original and a reading unit (reading head) has been widely used in a scanner, a facsimile apparatus, a copying apparatus, and the like.
[0003]
One typical configuration of a reading apparatus of this type is to place a document on a document table such as a contact glass, and to use a reading unit using a contact sensor or a CCD disposed below the document table. The original is read while being moved. Image data read from a document is transferred to a recording unit for recording, or transferred to a host computer or another device (such as another facsimile device).
[0004]
In such an image reading apparatus, means for detecting the size of the document placed on the document table is provided, and a range in which the reading operation is performed is determined according to the detected size, or means for detecting the document size is provided. If not provided, the reading operation is generally performed for all areas of the document table.
[0005]
[Problems to be solved by the invention]
In the image reading apparatus as described above, when detecting the size of the original placed on the original placing table and determining the reading range according to the detected size, the apparatus main body is equivalent to the means for detecting the original size. Manufacturing costs are high. However, when the reading operation is performed for all areas of the document table without detecting the size of the document to be read, useless areas are read when a document smaller than the document table is read. That is, for example, in a facsimile apparatus or a copying apparatus having such a reading unit and a recording unit and having a copying function, there is a problem that an extra processing time is required.
[0006]
Also, with the conventional document size detection method, it is almost impossible to specify the size of an atypical document, such as when a deformed document or a user places a plurality of separated documents on a document table. In the case where the original is placed at a random position on the original placing table, the conventional original size detection is almost ineffective, and it is impossible to optimize the reading drive control based on the original size information. .
[0007]
An object of the present invention is to perform reading drive control appropriately in accordance with the state of a document, for example, its size and shape, the mounting state on a reading unit, or the nature of an image on a document, and perform a highly efficient reading operation. Is to be able to do that.
[0008]
[Means for Solving the Problems]
According to an embodiment of the present invention, there is provided an image reading method for reading an image of a document line by line by the reading unit by relatively moving the document and the reading unit. When a predetermined number of lines that do not include effective pixels are detected, the reading speed required per unit area of the document is changed to a second speed that is higher than the normal first reading speed, and then the reading speed is read by the reading unit. When an effective pixel is detected again from the read image data, the reading speed required per unit area of the document is returned to the first reading speed.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. Hereinafter, a facsimile apparatus will be exemplified as an apparatus for implementing the image reading technique of the present invention.
[0010]
FIG. 2 shows a configuration of a control system of the facsimile apparatus 100 employing the present invention.
[0011]
2, the facsimile main body 100 includes a control unit 101, a ROM 102, a DRAM 103, an SRAM 104, an image reading unit 105, a facsimile transmitting / receiving unit 107, a recording unit 108, an operation unit 110, and a power supply unit 111.
[0012]
Among the above, the control unit 101 is a microprocessor unit (MPU) that controls the entire facsimile machine via the system bus 112. The system bus 112 includes a data signal line and an address line.
[0013]
The ROM 102 stores program codes such as an instruction group for operating the MPU, an operating system (OS) program code, initial value data, table data, and the like. The image reading control of the present invention can be stored in the ROM 102 as a program of the control unit 101.
[0014]
The DRAM 103 is used as a buffer for temporarily storing image data for transmission and reception with the facsimile transmission / reception unit 107. That is, the DRAM 103 is used for an image buffer, an image memory, a work area for various operations, and the like. Further, it is used as a memory for storing image data received via the facsimile transmission / reception unit 107 and image data read by the image reading unit 105 as a file.
[0015]
The SRAM 104 is used as a user registration area, a work area, and the like. The SRAM 104 can hold data even when the power of the facsimile main body 100 is turned off by battery backup.
[0016]
The image reading unit 105 is for reading a document image, and includes an image sensor 1055 (for example, a contact type image sensor), a read image processing unit 1054, a reading drive unit 1052, and the like. Further, in the present embodiment, in particular, a reading drive resolution setting unit 1053 and a read image processing unit 1054 for setting a distance for moving the image sensor 1055 while the image sensor is reading one line of the document in accordance with an instruction from the control unit 101. Includes a memory used as a buffer when performing image processing.
[0017]
Further, in the present embodiment, an effective pixel detection unit that determines whether an effective pixel exists in the information of one line read by the image sensor 1055 is required. This effective pixel detecting means can be constituted by hardware in the image reading unit 105 or by software of the control unit 101 (for example, one for inspecting output image data of the image reading unit 105).
[0018]
The image reading unit 105 performs the following operation. In the case of this embodiment, relative movement of the image sensor 1055 with respect to the document is performed by moving the image sensor 1055.
[0019]
When the control unit 101 activates the reading driving unit 105, the image sensor 1055 is driven, and the image sensor 1055 optically reads the original placed on the original platen while moving in the sub-scanning direction of the original, thereby obtaining an electrical image. Convert to a signal. The image sensor 1055 can be composed of, for example, a color sensor. In this case, the image sensor 1055 incorporates LEDs of three colors of R (red), G (green), and B (blue). Are sequentially turned on during reading of one line, thereby reading the R, G, B reflected light data of that line. When reading a black-and-white original in such a configuration, monochrome reading is possible by simultaneously turning on the three color LEDs. This signal is subjected to shading correction and the like by a read image correction unit, and further subjected to image processing such as binarization processing and halftone processing by a read image processing unit 1054 to output high-definition image data.
[0020]
The recording image processing unit 106 controls the recording operation of the recording unit 108 and is connected to the recording unit 108 via the interface control unit 114. The recording image processing unit 106 receives control commands such as a power-on instruction, a power-off instruction, a recovery operation instruction, and a recording paper discharge instruction from the control unit 101, and determines whether the recording operation is recording of a facsimile received image or a copy image. While receiving the recording type such as whether or not the recording is the recording of the information, the control unit 101 transmits error information of the recording unit 108 and status information such as an online / offline state to the control unit 101. The recording image processing unit 106 includes a control unit (such as a CPU) capable of performing such control, an image memory, and the like.
[0021]
The control unit 101 can send an instruction of each operation to the recording unit 108 via the recording image processing unit 106. A power-on command and a power-off command for starting the printer at the time of recording, a status request command for requesting each status of the printer, and the like are transmitted. Further, when the recording unit 108 performs a recording operation, the recording unit 108 notifies the type of whether the recording operation is the recording of a facsimile reception image or the recording of a copy image.
[0022]
The recording image processing unit 106 converts the received image data into raw image data having a main scanning resolution of 600 dpi (dots per inch) when the facsimile-received image data is output by the recording unit 108. Various image processing such as smoothing and density correction are performed to convert the data into high-definition image data.
[0023]
The interface (I / F) control unit 114 transfers the image data to be recorded, which has been subjected to the image processing by the recording image processing unit 106, to the recording unit 108 based on a predetermined protocol (for example, IEEE1284 standard) in accordance with an instruction from the control unit 101. Control the transfer. In FIG. 2, a control signal line 113 connecting the interface control unit 114 and the recording unit 108 controls the recording unit 108 by a parallel interface or a serial interface (UART) having a configuration capable of performing communication according to the above-described predetermined protocol. can do.
[0024]
The recording unit 108 performs image recording, and controls the drive timing of the recording head 1081, the image memory 1082, the recording control unit 1083, the interface control unit 1084 for communicating with the interface control unit 114, and the recording head 1081. It is composed of a timer 1085 and the like used for the above. In addition, the recording unit 108 includes a ROM (not shown) in which various instructions are described, and a RAM (not shown) capable of inputting information for storing information required by the processing unit.
[0025]
The recording unit 108 can be configured as, for example, a color printer using an ink jet system. In this case, the recording head 1081 can be configured as a cartridge type monochrome recording head dedicated to black and white recording, or a cartridge type color recording head. it can. The monochrome recording head and the color recording head may have a replaceable configuration.
[0026]
Each of the color / monochrome recording heads 1081 is an integrated ink cartridge having a built-in ink tank, and discharges ink at a recording resolution of 600 dpi (dots per inch). The recording head 1081 reciprocates in a direction (main scanning direction) orthogonal to the recording paper conveyance direction (sub-scanning direction) while being held by the carriage. The reciprocation of the carriage is performed by a pulley and a timing belt driven by a motor. At this time, a print signal and power supplied to the print head 1081 are supplied from an electric circuit by a flexible cable connecting the carriage and an electric board. ing. The recording head 1081 and the flexible cable are connected by pressing the contacts of each other, and by detecting opening / connection between specific contacts of the recording head 1081, a cartridge dedicated to monochrome recording is mounted or color recording is performed. It is configured to be able to recognize whether or not a cartridge is mounted. In order to protect the ejection surface of the recording head 1081 from dust and dust, a cap is provided to cover the ejection surface of the recording head 1081 when the recording head is not used.
[0027]
In addition, there is a print head suction piston communicating with the cap, and by driving this piston with a motor, a negative pressure is generated in the cap and ink in the discharge port of the print head 1081 is sucked. When bubbles are generated in the ink liquid chamber of the recording head 1081 by removing the clogging of the nozzles of the recording head 1081 or by thermal energy applied to the recording head 1081 for printing, the bubbles are removed. Can be removed. This piston is provided with a member that operates in conjunction with the movement of the piston, and this member shields the optical axis of the photo interrupter provided with the carriage, thereby moving the piston to a predetermined position inside the cylinder. (The initial position of the piston). The suction operation of the recording head 1081 is measured by a timer provided in the recording unit 108, so that the suction operation can be performed again after a certain period of time from the previous suction operation. Has become.
[0028]
The facsimile transmission / reception unit 107 includes a communication control unit 1071 including an NCU (network control device) and a communication connection unit 1072 including a modem (modulation / demodulation device). In the present embodiment, the communication control unit 1071 is connected to an analog PSTN (general public line network), and performs communication control and line control such as outgoing and incoming calls to the communication line by the G3 protocol. Although not essential, it is also possible to connect a telephone (not shown) to the facsimile transmission / reception unit 107 to perform a telephone call, DTMF remote control, and the like.
[0029]
The image coding / decoding unit 109 includes an image coding unit 1091 and an image decoding unit 1092. The image encoding unit 1091 and the image decoding unit 1092 encode or decode facsimile transmission / reception data using an encoding method such as MH, MR, or MMR.
[0030]
The power supply unit 111 includes a power supply circuit for supplying power to the facsimile apparatus 100, for example, a switching power supply.
[0031]
The operation unit 110 registers a ten-key used for registering and setting data for calling a facsimile communication partner, a function key for using various functions, a telephone number, etc., and dials with one touch. Various keys 1101 such as a one-touch key used for starting transmission, copying, receiving, and a stop key used for stopping operations such as transmission, registration, and setting, and a communication key. A user interface, that is, a facsimile machine, includes an LCD for displaying various messages such as a registration / setting / confirmation message, an LED lamp for lighting when various errors occur, and an LED lamp for displaying a reading mode and a transmission mode. 100 operation instructions and various Input or distribution, state of the device, the calling telephone number of the other party, time information, used to display the operating procedure and the like.
[0032]
Next, the operation of the facsimile apparatus 100 configured as described above will be described. First, an outline of each of the image reading operation, the image recording operation, the facsimile transmission / reception operation, and the image reading control will be described first. All of these operations are controlled by the program of the control unit 101.
[0033]
<Image reading operation>
When the facsimile apparatus 100 performs image reading, image data obtained by the image sensor 1055 of the image reading unit 105 is subjected to processing such as shading correction by a read image correction unit, and is further subjected to binarization and image conversion processing. Is performed and input to the image decoding unit 1092 of the image code decoding unit 109. The input image data is expanded in the DRAM 103, compressed and encoded by the image encoding unit 1091, and then stored in the DRAM 103. In the case of facsimile transmission, management information such as the reception number, destination information, number of pages, and stored image memory block information of the image data is stored in the SRAM 104 at the same time.
[0034]
<Image recording operation>
In the image recording, the encoded image data stored in the DRAM 103 is decompressed and decoded by the image decoding unit 1092 of the image encoding and decoding unit 109, and is corrected and image-converted by the recording image processing unit 106. 108.
[0035]
<Facsimile transmission operation>
When performing a facsimile transmission operation, it is assumed that transmission image data is read in advance as described above, encoded by the image encoding / decoding unit 109, and stored in the DRAM 103 in the form of encoded data. It is assumed that the transmission destination is specified by the user using the ten keys or one-touch keys of the operation unit 110.
[0036]
In response to the user operation, the facsimile transmission / reception unit 107 transmits a call signal such as a DTMF signal to the PSTN, and when the line is seized, after transmitting / receiving a G3 facsimile communication procedure signal to / from the destination device, The encoded image data stored in the DRAM 103 is transmitted to the communication connection unit (modem) 1072 according to the control executed by the control unit 101 in response to the input interrupt signal of the facsimile transmission / reception unit 107 via the transmission buffer in the DRAM 103. The data is transferred and modulated byte by byte, and transmitted to the PSTN via the communication control unit 1071. Further, at the time of facsimile transmission, management information including the time and the identification information of the communication partner is stored in the SRAM 104.
[0037]
<Facsimile reception operation>
In the facsimile receiving operation, when an incoming call is confirmed by the communication control unit 1071 of the facsimile transmitting / receiving unit 107 in response to a call signal from the PSTN or the like, a G3 facsimile communication procedure signal is transmitted / received to / from the partner apparatus. The received image data is input to the communication connection unit 1072 through the communication control unit 1071. The received image data is demodulated by the communication connection unit 1072 and transferred to a reception buffer on the DRAM 103 in accordance with control executed by the control unit 101 in response to an input interrupt signal of the facsimile transmission / reception unit 107. The image data transferred to the reception buffer is decoded by the image decoding unit of the image code decoding unit 109 to check for an image error, and is developed as image data in the image memory area of the DRAM 103. The expanded image data is compression-encoded by the image encoding unit 1091 of the image encoding / decoding unit 109 and stored in the DRAM 103, and management information including time and identification information of a communication partner is stored in the SRAM 104. .
[0038]
<Image reading control>
Next, the image reading control according to the present embodiment will be described.
[0039]
FIG. 3 shows a configuration around the image sensor of the image reading unit 105. In FIG. 3, reference numeral 201 denotes an image sensor, which corresponds to the image sensor 1055 in FIG. The image sensor 201 can move below the original table 200 made of a transparent material such as glass by a drive belt 202 stretched between a drive shaft 203 a of a drive motor 203 and a pulley 205.
[0040]
The document is placed on a document table 200 and held from above by a pressure plate (not shown). The back surface of this pressure plate (the side of the document table 200) is standard white. In FIG. 3, the originals are two originals 204a and 204b, and no original exists in the central portions C to D. In this area, the image sensor 201 reads the standard white on the back surface of the pressure plate. The maximum document sub-scanning area of the image sensor 201 is from point A to point G.
[0041]
Next, an image reading control procedure executed by the control unit 101 will be described with reference to FIG. FIG. 1 shows an image reading control procedure executed by the control unit 101 in FIG. The following operation will be described with reference to any one of FIGS. 1 to 3 as necessary.
[0042]
First, in step S101, when the user specifies a process that requires document reading, such as a document copy or facsimile transmission operation, via the operation unit 110, a reading operation is started.
[0043]
First, the drive motor 203 is rotated by the reading drive unit 1052, the image sensor 201 is pulled to the left in FIG. 3 by the drive belt 202, and the image sensor 201 moves in the direction (1) in FIG.
[0044]
Next, in step S102, it is waited whether the image sensor 201 has reached point A in FIG. 3 which is the reading start position. If the image sensor 201 has reached point A, the process proceeds to step S103. Here, the control unit 101 sets the reading drive resolution 600 dpi, which is the initial value, in the reading drive resolution setting unit 1053, and sets the drive resolution of the image sensor 201 while the image sensor 201 reads one line (the image sensor during the one line reading). (Movement amount) is set to 1/600 inch, which is the driving amount at the time of the original reading operation. The R, G, and B LEDs are sequentially turned on while moving this 1/600 inch distance, so that the effective pixel detection unit (the hardware of the image reading unit 105 or the software of the control unit 101 as described above) ) Are sequentially transferred from the image data when the R (red) LED is lit. The image data when the R, G, and B LEDs are turned on is transferred to the valid pixel detecting unit, and when the reading operation of the line of the document is completed, the process proceeds to step S104.
[0045]
In step S104, the valid pixel detecting unit determines whether or not there is a valid pixel in the transferred R, G, and B data. If the valid pixel detecting unit determines that there is no valid pixel in the line for which the determination has been made, the counter count for counting white lines is incremented in step S105. Further, when the value of the counter count exceeds the specified value x in step S106, the valid pixel detection unit sets a flag wline indicating this in step S107. The counter “count” and the flag “wline” are configured by a predetermined area of the DRAM 103 or a register of a CPU constituting the control unit 101 and controlled by the control unit 101.
[0046]
In this case, since the end of the document is at point B, until the point B is reached, the image sensor 201 uses the standard white color of the pressure plate (not shown) pressed from the opposite side of the document table through the document table 200. Is read, and in reading the points A and B, an all white line is detected.
[0047]
When the image sensor 201 reaches the point B and the effective pixel detection unit determines in step S104 that an effective pixel exists, the process proceeds to step S108, where it is determined whether the flag wline is set. In this case, since this flag has been initialized by the control unit 101, since the flag has not been set, the process proceeds to step S110, the flag wline is reset, and the counter count is cleared to 0.
[0048]
Then, in step S111, the driving resolution of the image sensor 201 is set to 600 dpi again by the driving resolution setting unit 1053. Then, in step S112, the image sensor 201 is driven. In step S113, it is checked whether the image sensor 201 has reached a point G, which is a readable range of the apparatus. Here, since the document 204a is still being read, the process returns to step S103, and the reading operation of the next line is performed. As described above, the drive pitch of the image sensor 201 is set to 1/600 dpi, and the reading operation of the lines of the document 204a is sequentially performed. When the image sensor 201 reaches the point C in FIG. In step S104, the valid pixel detecting unit determines that there is no valid pixel. In that case, the process proceeds to step S105, and the counter count for counting the number of continuous white lines is incremented.
[0049]
Further, the process proceeds to step S106, and it is determined whether or not the numerical value of the counter “count” exceeds the specified value x. Here, the specified value x is 50, which is equivalent to about 2 mm when converted into the moving distance of the image sensor 201. Here, since the counter does not exceed the specified value x in step S106, the process proceeds to step S111, and the normal reading operation is continued at the driving resolution of 600 dpi.
[0050]
As described above, when the reading operation of the all-white pressure plate is continued and the value of the counter count exceeds x in step S106 (when the image sensor 201 reaches the point D), the process proceeds to step S107, and the driving resolution of the image sensor 201 is set to 300 dpi. And a flag wline indicating that high-speed reading is being performed.
[0051]
In the present embodiment, it is assumed that the time required to read one line of the image sensor 201 (1055) is constant regardless of the moving speed of the image sensor 201. If the moving distance of the image sensor 201 within the time for reading one line is set to be twice, the required reading time per unit distance is halved.
[0052]
That is, assuming that the time required to read one line of the image sensor 201 (1055) is Ts (second), in the case of a driving resolution of 600 dpi, the sub-scanning speed is (1/600) / Ts (inch / second). In the case of a resolution of 300 dpi, the sub-scanning speed is (1/300) / Ts (inch / sec), and the sub-scanning speed is a double speed high-speed reading in the case of a driving resolution of 600 dpi.
[0053]
Then, the process proceeds to step S112, where a reading operation is performed at this driving resolution. When the image sensor 201 reaches the point F after reading between the document 204a and the document 204b at 300 dpi, the valid pixel detecting unit determines from this that there is a valid pixel, and the process proceeds to step S108. At this time, since the high-speed reading of 300 dpi has been performed so far, the process proceeds to step S109.
[0054]
At this time, since the image sensor 201 has reached the document 204b by the reading operation at the original half resolution of 300 dpi, there is a possibility that the image sensor 201 has passed the end of the document 204b. Therefore, an operation of returning the image sensor 201 to the point E is performed. Since the purpose of returning the image sensor 201 is to read again at a pitch of 600 dpi from a reading operation at a pitch of 300 dpi, it is necessary to return the image sensor 201 by at least two lines in 600 dpi conversion. If this return amount is large, the time required for the entire reading operation naturally increases. Further, the return amount of the image sensor 201 here must not exceed x which is a prescribed value before shifting to the high-speed reading operation during reading of all white lines.
[0055]
Here, after returning the image sensor 201 to the point E, the counter count of the all white line is cleared to 0 and the flag wline is reset in step S110. Then, the process proceeds to steps S111 and S112, returns to the original driving resolution of the image sensor 201 of 600 dpi, and continues the reading operation. Since the image sensor 201 has returned to the point E, the returned white portion is read again for the returned area. However, since the return amount of the image sensor 201 is smaller than the specified value x, the step is performed again. The drive resolution is not set to 300 dpi in S107. Thus, the reading operation of the document 204b is performed at 600 dpi. Then, in step S113, when the image sensor 201 reaches the point G, which is the reading end point, the reading operation ends.
[0056]
As described above, according to the present embodiment, an effective pixel determining unit that determines whether an effective pixel exists in one line of image data read by the image sensor, and a driving resolution setting unit of the reading unit are provided. If the effective pixel determining means determines that a predetermined number of all white lines are continuous, the driving resolution setting means sets the reading resolution to a coarse value to shorten the reading time required per unit area of the document (or The reading speed per unit area of the document is changed from the normal first speed to the second speed, which is higher than the normal speed, so that complicated operations such as designation of the reading area are not required. Properly controlling the reading drive in accordance with the state of the document, for example, its size and shape, the mounting state on the reading unit, or the nature of the image on the document, and performing a highly efficient reading operation Can be, there is an excellent effect that.
[0057]
Also, after entering the control to shorten the reading time (or increase the reading speed) by continuation of all white lines, if an effective pixel is detected, the image sensor is moved backward by a predetermined number of lines, Since the reading for the reading time (reading speed) is performed again, the reading can be performed without causing the loss of the image data. At this time, re-reading is performed from the portion of the all white area, and the image sensor for a plurality of lines (in the above example, at least two lines with a normal reading resolution of 1/600 dpi) is returned. In addition, there is no occurrence of a deterioration in image quality that causes a visual problem due to a reading error.
[0058]
In the above description, the normal reading resolution is set to 1/600 dpi, and the reading resolution after detecting all white line continuations is set to 1/300 dpi. ) Is set to have a ratio of a normal reading time (reading speed) to an integer, so that a reading error can be reduced.
[0059]
In the above-described embodiment, the driving resolution of the image sensor is reduced to 場合 when the number of all white lines continues for a predetermined number of lines, and the amount of movement of the image sensor per unit time is doubled. The time required for reading is reduced. That is, in the above-described embodiment, the reading time (reading speed) is controlled only in the sub-scanning direction. However, the control for changing the reading time (reading speed) also in the main scanning direction in the all white portion is performed. Good. For example, a means for changing the resolution of the image sensor in the main scanning direction is further provided. When all the white lines are continuous for a predetermined number of lines, the amount of movement of the image sensor per unit time is increased, and at the same time, the image sensor is moved in the main scanning direction. If the resolution is set roughly, the number of pixels of one line of read image data is reduced, and the time required for the reading operation per line is also reduced. Therefore, the time required for reading the entire white portion can be further reduced in accordance with the amount of movement of the image sensor during this period.
[0060]
In the above description, the relative movement between the original and the reading unit is performed by moving the reading unit (image sensor). It is needless to say that the present invention can be similarly implemented in a configuration in which the original is transported by the drive motor 203).
[0061]
The reading control method of the present invention can be all implemented as a computer program. In this case, the reading control method can be supplied to an arbitrary device in a built-in state or via a network and executed by the device. An apparatus for performing the reading control method of the present invention is also included in the scope of the present invention.
[0062]
Further, the apparatus for implementing the reading control method of the present invention is not limited to the facsimile apparatus described above, and even if the hardware is divided into two or more like a scanner and a host computer, the present invention The control program for realizing the reading control method can be executed by one or a plurality of hardware, and it goes without saying that such a case is also included in the scope of the present invention.
[0063]
That is, the technical scope of the present invention includes the following embodiments.
[0064]
<Embodiment>
<Embodiment 1> In an image reading method in which an original and a reading unit are relatively moved and an image of the original is read line by line by the reading unit,
When a predetermined number of lines that do not include valid pixels are detected from the image data read by the reading unit,
Changing the reading speed required per unit area of the document to a second speed higher than the normal first reading speed;
Thereafter, when an effective pixel is detected again from the image data read by the reading unit, the reading speed required per unit area of the document is returned to the first reading speed.
[0065]
<Embodiment 2> When valid pixels are detected again from the image data read by the reading unit and the reading speed required per unit area of the document is returned to the first reading speed, the reading unit is set to a predetermined number of lines. The image reading method according to claim 1, wherein the image reading method is returned to the first reading speed after returning to the rear by a distance.
[0066]
<Embodiment 3> The image reading method according to Embodiment 1, wherein the ratio between the first and second reading speeds is an integer ratio.
[0067]
<Embodiment 4> An image reading apparatus that performs the image reading method according to any one of Embodiments 1 to 3.
[0068]
Fifth Embodiment An image reading control program for executing the image reading method according to any one of the first to third embodiments.
[0069]
【The invention's effect】
As is apparent from the above description, according to the present invention, in an image reading method in which an original and a reading unit are relatively moved and an image of the original is read line by line by the reading unit, the image data read by the reading unit When a predetermined number of lines that do not include effective pixels are detected, the reading speed required per unit area of the document is changed to a second speed that is higher than the normal first reading speed, and then read by the reading unit. When an effective pixel is detected again from the obtained image data, the reading speed required per unit area of the document is returned to the first reading speed. Therefore, the state of the document, for example, its size and shape, An excellent effect that the reading drive control is appropriately performed according to the mounting state on the reading unit or the nature of the image on the document, and the reading operation can be performed with high efficiency. There is.
[Brief description of the drawings]
FIG. 1 is a flowchart illustrating document reading control according to the present invention.
FIG. 2 is a block diagram showing a configuration of a facsimile apparatus capable of performing document reading control of the present invention.
FIG. 3 is an explanatory diagram showing an image reading operation of the present invention.
[Explanation of symbols]
100 facsimile body
101 control unit
102 ROM
103 DRAM
104 SRAM
105 Image reading unit
106 recording image processing unit
107 Facsimile transmission / reception unit
108 Recorder
109 Image code decoder
110 Operation unit
111 Power supply unit
112 System bus
113 Serial Interface
114 Interface control unit
200 platen
201 Image sensor
202 drive belt
203 drive motor
204a, 204b manuscript
205 pulley
1053 Reading drive resolution setting unit
1054 Read image processing unit
1055 Image sensor
1071 Communication control unit
1072 Communication connection
1081 Recording head
1082 Image memory
1083 Recording control unit
1084 Interface control unit
1091 Image encoding unit
1092 Image decoding unit
1101 Various keys
1102 Various LEDs

Claims (1)

原稿と読取手段を相対移動させて前記読取手段によりライン単位で原稿の画像を読取る画像読取方法において、
前記読取手段により読取られた画像データから有効画素を含まない所定数のラインを検出した場合、
原稿の単位面積当りに要する読取速度を通常の第1の読取速度より高速な第2の速度に変更し、
その後、前記読取手段により読取られた画像データから再び有効画素を検出した場合、原稿の単位面積当りに要する読取速度を前記第1の読取速度に復帰させることを特徴とする画像読取方法。
An image reading method in which an image of a document is read line by line by the reading unit by relatively moving the document and the reading unit,
When a predetermined number of lines that do not include valid pixels are detected from the image data read by the reading unit,
Changing the reading speed required per unit area of the document to a second speed higher than the normal first reading speed;
Thereafter, when an effective pixel is detected again from the image data read by the reading unit, the reading speed required per unit area of the document is returned to the first reading speed.
JP2003001652A 2003-01-08 2003-01-08 Image reading method Pending JP2004215122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003001652A JP2004215122A (en) 2003-01-08 2003-01-08 Image reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003001652A JP2004215122A (en) 2003-01-08 2003-01-08 Image reading method

Publications (1)

Publication Number Publication Date
JP2004215122A true JP2004215122A (en) 2004-07-29

Family

ID=32819619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003001652A Pending JP2004215122A (en) 2003-01-08 2003-01-08 Image reading method

Country Status (1)

Country Link
JP (1) JP2004215122A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007013742A (en) * 2005-06-30 2007-01-18 Brother Ind Ltd Image scanner
JP2014131135A (en) * 2012-12-28 2014-07-10 Brother Ind Ltd Image reading device and image reading program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007013742A (en) * 2005-06-30 2007-01-18 Brother Ind Ltd Image scanner
JP4636246B2 (en) * 2005-06-30 2011-02-23 ブラザー工業株式会社 Image reading device
US7995250B2 (en) 2005-06-30 2011-08-09 Brother Kogyo Kabushiki Kaisha Image-reading device employing contact image sensor
JP2014131135A (en) * 2012-12-28 2014-07-10 Brother Ind Ltd Image reading device and image reading program

Similar Documents

Publication Publication Date Title
US7564578B2 (en) Image communication apparatus, method and storage medium for transmitting or receiving a color image
US6809836B1 (en) Image communication apparatus and its control method
JP3689569B2 (en) Image processing apparatus and method, and image processing system
WO1998031140A1 (en) Color facsimile machine
US6985255B2 (en) Image communication apparatus and its control method
KR100344509B1 (en) Image communication apparatus and communication control method thereof
JP2004215122A (en) Image reading method
US7314259B2 (en) Image processing apparatus and display control method for image processing apparatus
JP2001086349A (en) Image communications equipment and method therefor
US6810150B1 (en) Image communication method and apparatus
JP3972871B2 (en) Color image communication apparatus and color image communication method
JP3420514B2 (en) Facsimile machine with hand scanner, communication method of hand scanner of facsimile machine with hand scanner, and memory backup method of facsimile machine with hand scanner
JP3556301B2 (en) Facsimile machine
JP3652355B2 (en) Image forming apparatus and control method thereof
JP2003333237A (en) Image communication device and control method thereof
KR100238154B1 (en) Method for preventing overload of power supply in a facsimile
JP2000134441A (en) Image communication device and communication control method for the device
JPH08167991A (en) Facsimile equipment
JP2003219122A (en) Facsimile machine with cordless hand scanner
US20040090655A1 (en) Color image transmitting device
JP2000134432A (en) Facsimile equipment with hand scanner, method for backing up data of the facsimile equipment with hand scanner and storage medium
JP2001313789A (en) Original reader
JPH09284459A (en) Facsimile equipment
JP2001345994A (en) Image processor and its control method, image forming system and its control method and storage medium
JP2000022917A (en) Device and method for image transmission