JP2002077582A - Method and apparatus for reading image - Google Patents

Method and apparatus for reading image

Info

Publication number
JP2002077582A
JP2002077582A JP2000261676A JP2000261676A JP2002077582A JP 2002077582 A JP2002077582 A JP 2002077582A JP 2000261676 A JP2000261676 A JP 2000261676A JP 2000261676 A JP2000261676 A JP 2000261676A JP 2002077582 A JP2002077582 A JP 2002077582A
Authority
JP
Japan
Prior art keywords
image
predetermined
compression
shift
image signal
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.)
Withdrawn
Application number
JP2000261676A
Other languages
Japanese (ja)
Inventor
Yuichi Sato
雄一 佐藤
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 JP2000261676A priority Critical patent/JP2002077582A/en
Publication of JP2002077582A publication Critical patent/JP2002077582A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Input (AREA)
  • Facsimile Heads (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently process to compress image data acquired by deviating a pixel by using the capacity of less buffer memories. SOLUTION: A method for reading the image comprises a step (S2) of shifting a imaged position on a photoelectric converter of an optical image on an original, a first imaging step (S3) of reading originals divided into a plurality of predetermined ranges at each predetermined range after shifting and outputting an image signal, a first compressing step (S4) of compressing and holding the signal, a step (S5) of further shifting the imaged position, a second imaging step (S6) of reading the same predetermined range as that of the first imaging step and outputting the signal, a second compressing step (S7) of compressing and holding the signal, a compositing step of compressing and compositing the compressed image signal and holding the image, and an outputting step (S24) of outputting the compressed composite image signal. In this method, the first compressing and outputting steps are executed at each reading of the predetermined range in the first imaging step. In the first imaging step, a next predetermined range is read after the process in the compositing step of the one predetermined range.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は高解像度の画像読み
取りに関し、特に画像情報を効率よく圧縮するための画
像読み取り装置の制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to high-resolution image reading, and more particularly to control of an image reading device for efficiently compressing image information.

【0002】[0002]

【従来の技術】従来、画像情報の圧縮に関してはファク
シミリ等で用いられるランレングス圧縮法など、様々な
圧縮方法が提案されており、更に、ライン単位またはブ
ロック単位に圧縮する方法なども提案されている。
2. Description of the Related Art Conventionally, various compression methods such as a run-length compression method used in facsimile and the like have been proposed for compressing image information. Further, a method of compressing image information in line units or block units has been proposed. I have.

【0003】また、ビデオ画像の圧縮技術としては、J
PEG等の圧縮方法が提案されている。
[0003] As a video image compression technique, J.
Compression methods such as PEG have been proposed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来例では、画素ずらしにより高解像度化を行う場合は、
解像度変換後に圧縮処理を行う必要があり、大きなバッ
ファメモリを必要とし、効率が悪かった。
However, in the above conventional example, when the resolution is increased by shifting the pixels,
Compression processing had to be performed after resolution conversion, which required a large buffer memory and was inefficient.

【0005】本発明は上記問題点を鑑みてなされたもの
であり、より少ないバッファメモリの容量を用いて、画
素ずらしをして読み込まれた画像データの圧縮処理を効
率よく行うことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to efficiently perform compression processing of image data read by shifting pixels by using a smaller buffer memory capacity. .

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、原稿の光学像を電気信号に変換して画像信号を出力
する撮像手段を用いて前記原稿を読み込む画像読み取り
装置の本発明の制御方法は、前記原稿の光学像の前記撮
像手段上の結像位置を所定方向に第1の所定量シフトす
る第1のシフト工程と、前記第1のシフト工程によるシ
フト後に、前記撮像手段を用いて、複数の所定範囲に分
割された原稿を所定範囲ずつ読み込み、画像信号を出力
する第1の撮像工程と、前記所定範囲の画像信号を圧縮
して保持する第1の圧縮工程と、前記原稿の光学像の前
記撮像手段上の結像位置を所定方向に第2の所定量シフ
トする第2のシフト工程と、前記第2のシフト工程によ
るシフト後に、前記第1の撮像工程で読み込んだ所定範
囲と同じ領域を読み込んで画像信号を出力する第2の撮
像工程と、前記第2の撮像工程で出力された前記所定領
域の画像信号を圧縮して保持する第2の圧縮工程と、前
記第1及び第2の圧縮工程で圧縮した画像信号を圧縮合
成して保持する合成工程と、前記合成工程において圧縮
合成された画像信号を出力する出力工程とを有し、前記
第1の圧縮工程乃至出力工程は、前記第1の撮像工程で
所定範囲を読み込む毎に実施され、前記第1の撮像工程
では、一所定範囲について前記合成工程での処理後、次
の所定範囲を読み込む。
In order to achieve the above object, according to the present invention, there is provided an image reading apparatus for reading an original by using an image pickup means for converting an optical image of the original into an electric signal and outputting an image signal. The method includes the steps of: a first shift step of shifting an image forming position of the optical image of the document on the imaging unit in a predetermined direction by a first predetermined amount; and using the imaging unit after shifting by the first shifting step. A first imaging step of reading a document divided into a plurality of predetermined ranges by a predetermined range and outputting an image signal; a first compression step of compressing and holding the image signal of the predetermined range; A second shift step of shifting the image formation position of the optical image on the image pickup means in the predetermined direction by a second predetermined amount, and after the shift by the second shift step, the predetermined read in the first image pickup step Read the same area as the range A second image capturing step of outputting the image signal in the predetermined area, compressing and holding the image signal of the predetermined area output in the second image capturing step, and the first and second image capturing steps. A combining step of compressing and synthesizing the image signal compressed in the compression step, and an output step of outputting the image signal compressed and combined in the combining step; The first imaging step is performed every time a predetermined range is read. In the first imaging step, the next predetermined range is read after the processing in the synthesis step for one predetermined range.

【0007】また、本発明の画像読み取り装置は、原稿
の光学像を電気信号に変換して画像信号を出力する撮像
手段と、前記原稿の光学像の前記撮像手段上の結像位置
を所定方向に第1の所定量または第2の所定量シフトす
るシフト手段と、第1の圧縮方法により圧縮を行う圧縮
手段と、第2の圧縮方法により圧縮合成を行う合成手段
と、前記圧縮手段及び合成手段の出力を記憶する記憶手
段と、前記記憶手段に記憶された前記合成手段の出力を
出力する出力手段と、前記シフト手段による第1の所定
量のシフト及び第2の所定量のシフト後に、前記撮像手
段を用いて複数の所定範囲に分割された原稿を所定範囲
ずつ読み込み、それぞれ得られた画像信号を前記圧縮手
段により圧縮して前記記憶手段に記憶し、前記記憶手段
に記憶された圧縮された画像信号を前記合成手段により
圧縮合成して前記記憶手段に記憶するように制御する制
御手段とを有し、前記制御手段は、一所定範囲の画像信
号を前記合成手段により合成した後、次の所定範囲の読
み込みを行うように制御する。
According to another aspect of the present invention, there is provided an image reading apparatus which converts an optical image of a document into an electric signal and outputs an image signal, and sets an image forming position of the optical image of the document on the image capturing means in a predetermined direction. Shifting means for shifting by a first predetermined amount or a second predetermined amount, compression means for performing compression by a first compression method, synthesis means for performing compression and synthesis by a second compression method, the compression means and the synthesis means Storage means for storing an output of the means, output means for outputting the output of the synthesizing means stored in the storage means, and after a first predetermined amount shift and a second predetermined amount shift by the shift means, The document divided into a plurality of predetermined ranges is read by the predetermined range using the imaging unit, and the obtained image signals are compressed by the compression unit and stored in the storage unit, and the compression stored in the storage unit is performed. Control means for compressing and synthesizing the obtained image signal by the synthesizing means and storing the compressed image signal in the storage means, wherein the control means synthesizes a predetermined range of image signals by the synthesizing means, Control is performed so as to read the next predetermined range.

【0008】本発明の好適な一様態によれば、前記第1
の圧縮工程及び第2の圧縮工程では、同じ圧縮方法によ
り圧縮を行う。
According to one preferred embodiment of the present invention, the first
In the compression step and the second compression step, compression is performed by the same compression method.

【0009】また、本発明の好適な一様態によれば、前
記第1及び第2の圧縮工程では、前記画像信号の前記所
定方向の低周波成分と、前記所定方向と垂直な方向の低
周波成分及び高周波成分とを保持し、前記合成工程で
は、更に前記画像信号の前記所定方向の高周波成分を保
持する。また、前記圧縮手段は、前記画像信号の前記所
定方向の低周波成分と、前記所定方向と垂直な方向の低
周波成分及び高周波成分とを出力し、前記合成手段は、
更に前記画像信号の前記所定方向の高周波成分を出力す
る。
According to a preferred aspect of the present invention, in the first and second compression steps, a low-frequency component in the predetermined direction of the image signal and a low-frequency component in a direction perpendicular to the predetermined direction are included. And a high-frequency component in the predetermined direction of the image signal. The compression unit outputs a low-frequency component of the image signal in the predetermined direction, and a low-frequency component and a high-frequency component in a direction perpendicular to the predetermined direction.
Further, it outputs a high-frequency component of the image signal in the predetermined direction.

【0010】また、上記目的を達成するために、本発明
の別の一様態によれば、原稿の光学像を電気信号に変換
して画像信号を出力する撮像手段を用いて前記原稿を読
み込む画像読み取り装置の本発明の制御方法は、前記原
稿の光学像の前記撮像手段上の結像位置を所定方向に第
1の所定量シフトする第1のシフト工程と、前記第1の
シフト工程によるシフト後に、前記撮像手段を用いて、
複数の所定範囲に分割された原稿を所定範囲ずつ読み込
み、画像信号を出力する第1の撮像工程と、前記所定範
囲の画像信号を圧縮して保持する圧縮工程と、前記原稿
の光学像の前記撮像手段上の結像位置を所定方向に第2
の所定量シフトする第2のシフト工程と、前記第2のシ
フト工程によるシフト後に、前記第1の撮像工程で読み
込んだ所定範囲と同じ領域を読み込んで画像信号を出力
する第2の撮像工程と、前記第1の圧縮工程で圧縮した
画像信号と、前記第2の撮像工程で出力された前記所定
領域の画像信号とを圧縮合成して保持する合成工程と、
前記合成工程において圧縮合成された画像信号を出力す
る出力工程とを有し、前記第1の圧縮工程乃至出力工程
は、前記第1の撮像工程で所定範囲を読み込む毎に実施
され、前記第1の撮像工程では、一所定範囲について前
記合成工程での処理後、次の所定範囲を読み込む。
According to another aspect of the present invention, there is provided an image reading apparatus for converting an optical image of an original into an electric signal and outputting an image signal by reading the original. The control method according to the present invention for the reading apparatus includes a first shift step of shifting an image forming position of the optical image of the document on the imaging unit by a first predetermined amount in a predetermined direction, and a shift by the first shift step. Later, using the imaging means,
A first imaging step of reading a document divided into a plurality of predetermined ranges by a predetermined range and outputting an image signal; a compression step of compressing and holding the image signal of the predetermined range; and The image forming position on the imaging means is shifted in a predetermined direction
A second shift step of shifting by a predetermined amount, and a second imaging step of reading the same area as the predetermined range read in the first imaging step and outputting an image signal after the shift by the second shift step. A synthesizing step of compressing and synthesizing the image signal compressed in the first compression step and the image signal of the predetermined area output in the second imaging step, and
An output step of outputting an image signal compressed and synthesized in the synthesis step, wherein the first compression step to the output step are performed every time a predetermined range is read in the first imaging step. In the imaging step, after the processing in the synthesizing step for one predetermined range, the next predetermined range is read.

【0011】また、本発明の画像読み取り装置は、原稿
の光学像を電気信号に変換して画像信号を出力する撮像
手段と、前記原稿の光学像の前記撮像手段上の結像位置
を所定方向に第1の所定量または第2の所定量シフトす
るシフト手段と、第1の圧縮方法により圧縮を行う圧縮
手段と、第2の圧縮方法により圧縮合成を行う合成手段
と、前記圧縮手段及び合成手段の出力を記憶する記憶手
段と、前記記憶手段に記憶された前記合成手段の出力を
出力する出力手段と、前記シフト手段による第1の所定
量のシフト後に、前記撮像手段を用いて複数の所定範囲
に分割された原稿の一所定範囲を読み込み、得られた画
像信号を前記圧縮手段により圧縮して前記記憶手段に記
憶し、前記シフト手段による第2の所定量のシフト後
に、前記撮像手段を用いて前記シフト前に読み込んだ所
定範囲と同一の所定範囲を読み込み、得られた画像信号
と、前記記憶手段に記憶された圧縮された画像信号を前
記合成手段により圧縮合成して前記記憶手段に記憶する
ように制御する制御手段とを有し、前記制御手段は、一
所定範囲の画像信号を前記合成手段により合成した後、
次の所定範囲の読み込みを行うように制御する。
According to another aspect of the present invention, there is provided an image reading apparatus for converting an optical image of a document into an electric signal to output an image signal, and for setting an image forming position of the optical image of the document on the imaging means in a predetermined direction. Shifting means for shifting by a first predetermined amount or a second predetermined amount, compression means for performing compression by a first compression method, synthesis means for performing compression and synthesis by a second compression method, the compression means and the synthesis means Storage means for storing the output of the means, output means for outputting the output of the synthesizing means stored in the storage means, and, after a first predetermined amount of shifting by the shifting means, a plurality of One predetermined range of the document divided into a predetermined range is read, and the obtained image signal is compressed by the compression unit and stored in the storage unit. After the shift unit shifts by a second predetermined amount, the image pickup unit To A predetermined range identical to the predetermined range read before the shift is read, and the obtained image signal and the compressed image signal stored in the storage unit are compression-synthesized by the synthesis unit and stored in the storage unit. Control means for performing control so that the image signal of one predetermined range is synthesized by the synthesizing means,
Control is performed so as to read the next predetermined range.

【0012】本発明の好適な一様態によれば、前記圧縮
工程では、前記画像信号の前記所定方向の低周波成分
と、前記所定方向と垂直な方向の低周波成分及び高周波
成分とを保持し、前記合成工程では、更に前記画像信号
の前記所定方向の高周波成分と、前記所定方向と垂直な
方向の低周波成分及び高周波成分とを保持する。また、
前記圧縮手段は、前記画像信号の前記所定方向の低周波
成分と、前記所定方向と垂直な方向の低周波成分及び高
周波成分とを出力し、前記合成手段は、更に前記画像信
号の前記所定方向の高周波成分を出力する。
According to a preferred aspect of the present invention, in the compression step, a low-frequency component in the predetermined direction of the image signal and a low-frequency component and a high-frequency component in a direction perpendicular to the predetermined direction are held. In the synthesizing step, the image signal further holds a high-frequency component in the predetermined direction and a low-frequency component and a high-frequency component in a direction perpendicular to the predetermined direction. Also,
The compression unit outputs a low-frequency component of the image signal in the predetermined direction, and a low-frequency component and a high-frequency component of a direction perpendicular to the predetermined direction, and the synthesizing unit further outputs the image signal in the predetermined direction. Output the high frequency component of

【0013】また、本発明の好適な一様態によれば、前
記所定方向と垂直な方向は副走査方向であり、更に好ま
しくは、前記原稿は、前記所定方向と垂直な方向に分割
される。また、前記所定方向は主走査方向である。
According to a preferred aspect of the present invention, the direction perpendicular to the predetermined direction is a sub-scanning direction, and more preferably, the document is divided in a direction perpendicular to the predetermined direction. Further, the predetermined direction is a main scanning direction.

【0014】また、本発明の好適な一様態によれば、前
記第1の所定量と前記第2の所定量との差は、半画素で
ある。
According to a preferred aspect of the present invention, the difference between the first predetermined amount and the second predetermined amount is a half pixel.

【0015】更に、本発明の好適な一様態によれば、前
記第1の所定量は0である。
Further, according to a preferred aspect of the present invention, the first predetermined amount is zero.

【0016】[0016]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0017】<第1の実施形態>図1は本発明の第1の
実施形態に係る画像読み取り装置の構成を示すブロック
図である。
<First Embodiment> FIG. 1 is a block diagram showing a configuration of an image reading apparatus according to a first embodiment of the present invention.

【0018】図1において、1は原稿、2は原稿を保持
するための原稿台ガラス、3はコンタクトセンサー(C
IS)であり、本第1の実施形態ではラインセンサーで
ある。4はCIS3を主走査方向にシフトするための圧
電素子、5はCIS3を圧電素子4によって主走査方向
にシフト可能に構成されたキャリッジユニット、6はキ
ャリッジユニット5を副走査方向に駆動するためのキャ
リッジ駆動機構で、ガイドレール、駆動プーリー61、
従属プーリー62、減速ギア及びベルト63から構成さ
れる。また、7はキャリッジ駆動機構6を介してキャリ
ッジユニット5を移動し、副走査を行うためのステッピ
ングモーター、8はステッピングモータ7を駆動するた
めのモーター駆動回路、9はスキャナーのシーケンス制
御およびインターフェースを介しての通信制御および画
像処理制御を行うためのCPU、13はCIS3を駆動
するためのCIS駆動回路、14は画素ずらしを行うた
めにCIS3を主走査方向に移動するための圧電素子4
を駆動するための圧電素子駆動回路、15はCIS3か
ら読み出される画像信号をデジタルデータに変換するた
めのA/Dコンバータ、16はシェーディング補正や階
調処理を行うための画像処理回路、18は読み取った画
像を圧縮するための圧縮回路、19はバッファメモリ2
0を制御して画像データの制御を行うメモリ制御回路、
20は画像データを一時的に記憶するためのバッファメ
モリ、21はホストコンピュータとの通信や画像データ
の送信などを制御するためのインターフェース制御回
路、22はホストコンピュータである。
In FIG. 1, reference numeral 1 denotes an original, reference numeral 2 denotes an original platen glass for holding the original, and reference numeral 3 denotes a contact sensor (C
IS), and is a line sensor in the first embodiment. 4 is a piezoelectric element for shifting the CIS 3 in the main scanning direction, 5 is a carriage unit configured to shift the CIS 3 in the main scanning direction by the piezoelectric element 4, and 6 is a driving unit for driving the carriage unit 5 in the sub scanning direction. With a carriage drive mechanism, a guide rail, a drive pulley 61,
It consists of a dependent pulley 62, a reduction gear and a belt 63. Reference numeral 7 denotes a stepping motor for moving the carriage unit 5 through the carriage driving mechanism 6 to perform sub-scanning. Reference numeral 8 denotes a motor drive circuit for driving the stepping motor 7, and reference numeral 9 denotes sequence control and interface of the scanner. CPU 13 for performing communication control and image processing control via the CIS 13 is a CIS driving circuit for driving the CIS 3, 14 is a piezoelectric element 4 for moving the CIS 3 in the main scanning direction to perform pixel shift
, A reference numeral 15 denotes an A / D converter for converting an image signal read from the CIS 3 into digital data, a reference numeral 16 denotes an image processing circuit for performing shading correction and gradation processing, and a reference numeral 18 denotes reading. A compression circuit for compressing the compressed image;
A memory control circuit that controls image data by controlling 0
Reference numeral 20 denotes a buffer memory for temporarily storing image data, 21 denotes an interface control circuit for controlling communication with a host computer, transmission of image data, and the like, and 22 denotes a host computer.

【0019】また、CIS3は、原稿1を照明するため
のLED31、LED31の照明光を原稿1の読取範囲
に導くための導光体32、原稿画像を結像するためのセ
ルホックレンズ33、光電変換素子34、光電変換素子
34やLED31を保持するための基板35を含む。
The CIS 3 includes an LED 31 for illuminating the original 1, a light guide 32 for guiding the illumination light of the LED 31 to a reading range of the original 1, a cell hook lens 33 for forming an image of the original, and a photoelectric converter. It includes a conversion element 34, a substrate 35 for holding the photoelectric conversion element 34 and the LED 31.

【0020】図2は本発明の第1の実施形態に係る画像
読み取り装置のキャリッジユニットを原稿面側から見た
図であり、図1と同様の構成には同じ参照番号を付して
いる。
FIG. 2 is a view of the carriage unit of the image reading apparatus according to the first embodiment of the present invention as viewed from the document surface side. The same components as those in FIG. 1 are denoted by the same reference numerals.

【0021】同図において、36はCIS3を圧電素子
方向に付勢するためのばね、37と38は圧電素子4の
保持部材である。
In FIG. 2, reference numeral 36 denotes a spring for urging the CIS 3 in the direction of the piezoelectric element, and 37 and 38 denote holding members for the piezoelectric element 4.

【0022】図3は、原稿読み取り範囲と画素ずらし処
理を行う単位ブロックを示す図である。図3において、
25は原稿台上の画像読み取り可能範囲、26は指定さ
れた画像読み取り範囲、Sは画像読み取り範囲の先端、
Eは画像読み取り範囲の後端、Pは画像読み取り範囲の
主走査方向の基本解像度での画素数、Lは画像読み取り
範囲の副走査方向の基本解像度でのライン数、B1〜B
5はCPU9が画像読み取り範囲26の大きさとバッフ
ァメモリ20の記憶容量と読み取り解像度に基づいて処
理の単位として決定したブロック、そしてBLはB1の
ライン数を示す。
FIG. 3 is a diagram showing a document reading range and a unit block for performing a pixel shifting process. In FIG.
25 is the image readable range on the platen, 26 is the designated image reading range, S is the tip of the image reading range,
E is the rear end of the image reading range, P is the number of pixels of the image reading range at the basic resolution in the main scanning direction, L is the number of lines of the image reading range at the basic resolution in the sub-scanning direction, B1 to B
Reference numeral 5 denotes a block determined as a unit of processing by the CPU 9 based on the size of the image reading range 26, the storage capacity of the buffer memory 20, and the reading resolution, and BL denotes the number of lines of B1.

【0023】図4は圧縮処理に使う変換回路の一構成例
を示すブロック図であり、図1の圧縮回路18に含まれ
ている。図4において、41は変換特性1の第1のフィ
ルター、42は変換特性2の第2のフィルター、43は
変換特性3の第3のフィルター、44は変換特性の異な
るフィルター出力を選択するためのセレクター、KSE
Lは変換特性を決定するパラメーターを選択する選択信
号、Dinは変換回路への入力データ、Dout変換回
路の出力データである。
FIG. 4 is a block diagram showing an example of the configuration of a conversion circuit used for the compression processing, which is included in the compression circuit 18 of FIG. In FIG. 4, reference numeral 41 denotes a first filter having a conversion characteristic 1, 42 denotes a second filter having a conversion characteristic 2, 43 denotes a third filter having a conversion characteristic 3, and 44 denotes a filter for selecting filter outputs having different conversion characteristics. Selector, KSE
L is a selection signal for selecting a parameter for determining the conversion characteristic, Din is input data to the conversion circuit, and output data of the Dout conversion circuit.

【0024】変換特性の一例として、本発明の第1の実
施形態では、第1のフィルター41は主走査、副走査と
もに低周波成分に対応する出力データが得られるような
変換を行い、第2のフィルター42は主走査が低周波成
分、副走査が高周波成分に対応する出力データが得られ
るような変換を行い、第3のフィルター43は主走査方
向の高周波成分に対応する出力データが得られるような
変換を行う。
As an example of the conversion characteristic, in the first embodiment of the present invention, the first filter 41 performs conversion such that output data corresponding to a low-frequency component is obtained in both the main scanning and the sub-scanning, and Filter 42 performs conversion such that output data corresponding to a low-frequency component in the main scanning and high-frequency components in the sub-scanning are obtained, and a third filter 43 obtains output data corresponding to a high-frequency component in the main scanning direction. Perform such a conversion.

【0025】選択信号KSELは、CPU9により圧縮
処理に必要な周波数特性のデータを得るために、第1の
フィルター、第2のフィルター、第3のフィルターが順
次選ばれるように供給される。
The selection signal KSEL is supplied by the CPU 9 so that the first filter, the second filter, and the third filter are sequentially selected in order to obtain frequency characteristic data required for the compression processing.

【0026】図5は圧縮処理に使う変換回路の別の構成
例を示すブロック図であり、51は変換特性が設定可能
な変換フィルター、52は変換特性を決めるパラメータ
ーを選択するためのセレクター、K0は変換特性0に対
応するパラメーター、K1は変換特性1に対応するパラ
メーター、K2は変換特性2に対応するパラメーター、
K3は変換特性3に対応するパラメーター、KSELは
変換特性を決定するパラメーターを選択する選択信号、
Dinは変換回路の入力データ、Dout変換回路の出
力データである。
FIG. 5 is a block diagram showing another example of the construction of the conversion circuit used for the compression processing. Reference numeral 51 denotes a conversion filter capable of setting conversion characteristics, 52 denotes a selector for selecting a parameter for determining the conversion characteristics, and K0 Is a parameter corresponding to the conversion characteristic 0, K1 is a parameter corresponding to the conversion characteristic 1, K2 is a parameter corresponding to the conversion characteristic 2,
K3 is a parameter corresponding to the conversion characteristic 3, KSEL is a selection signal for selecting a parameter for determining the conversion characteristic,
Din is input data of the conversion circuit and output data of the Dout conversion circuit.

【0027】パラメーターK0〜K3は予め設定されて
いるものであり、CPU9により圧縮処理に必要な特性
のデータを順次得るために、その変換特性のパラメータ
を選択する選択信号KSELを供給する。
The parameters K0 to K3 are preset and supply a selection signal KSEL for selecting the parameters of the conversion characteristics in order for the CPU 9 to sequentially obtain the data of the characteristics required for the compression processing.

【0028】なお、変換特性はパラメーターK0〜K3
の設定によって画像に応じて帰ることも可能で、パラメ
ーターK0〜K3の設定によっては無変換となる処理に
も対応することができる。
The conversion characteristics are determined by parameters K0 to K3.
It is also possible to return according to the image by the setting of, and it is possible to cope with non-conversion processing depending on the setting of the parameters K0 to K3.

【0029】図6は圧縮及び画素ずらしを行う場合にお
ける、メイン処理のシーケンスを示すフローチャートで
ある。
FIG. 6 is a flow chart showing the sequence of the main processing when compression and pixel shift are performed.

【0030】画像読み取りが開始され、ステップS1で
読み取り解像度や読み取り領域に関する設定およびキャ
リッジの移動速度、最適なブロックのライン数BLの計
算等のスキャン開始準備を行う。その後、ステップS2
で画素ずらし読み取りを実現するために、主走査方向に
ついて所定のCIS3の位置を主走査基準位置とした場
合に、その主走査基準位置と実際に読み取りを行う場合
のCIS3との位置との差を示す第1のシフト量を設定
する。ステップS3では、主走査方向の読み取り開始位
置を第1のシフト量に相当する分ずらし、主走査方向に
は基本解像度、副走査方向には基本解像度の2倍の解像
度で、BLライン分の走査を行う。
Image reading is started, and in step S1, preparations for scanning, such as setting of reading resolution and reading area, moving speed of the carriage, calculation of the optimal number of lines BL of the block, and the like are performed. Then, step S2
In order to realize the pixel-shifted reading, when a predetermined position of the CIS 3 in the main scanning direction is set as a main scanning reference position, the difference between the main scanning reference position and the position of the CIS 3 when reading is actually performed is calculated. The first shift amount shown is set. In step S3, the reading start position in the main scanning direction is shifted by an amount corresponding to the first shift amount, and the scanning for the BL lines is performed at the basic resolution in the main scanning direction and twice the basic resolution in the sub-scanning direction. I do.

【0031】ステップS3でBLライン分の走査を終え
ると、ステップS4では圧縮回路18により、BLライ
ン分の画像データに対して、変換特性1と変換特性2の
フィルター1及びフィルター2を使って主走査方向が低
周波成分で副走査方向が低周波成分の画像情報と、主走
査方向が低周波成分で副走査方向が高周波成分の画像情
報を抽出する演算を行う第1の変換を行い、バッファメ
モリ20の第1ブロックに第1のシフト量に対する画像
データと第1の変換後のデータとを記憶する。
After the scanning for the BL lines is completed in step S3, the compression circuit 18 applies the filter 1 and the filter 2 of the conversion characteristics 1 and 2 to the image data for the BL lines in step S4. A first conversion is performed to perform an operation of extracting image information of a low-frequency component in the scanning direction and a low-frequency component in the sub-scanning direction and image information of a low-frequency component in the main scanning direction and a high-frequency component in the sub-scanning direction. The image data corresponding to the first shift amount and the data after the first conversion are stored in the first block of the memory 20.

【0032】次にステップS5で副走査方向にBLライ
ン分戻り、主走査基準位置とCIS3の位置との差を示
す第2のシフト量を設定する。この第2のシフト量は、
第1のシフト量と半画素ピッチずれた位置がCIS3の
位置となるように設定される。ステップS6で、再度、
主走査方向には基本解像度、副走査方向には基本解像度
の2倍の解像度でBLライン分の走査を行う。
Next, in step S5, the image data is returned by BL lines in the sub-scanning direction, and a second shift amount indicating the difference between the main scanning reference position and the position of CIS3 is set. This second shift amount is
The position shifted by a half pixel pitch from the first shift amount is set to be the position of CIS3. In step S6, again
Scanning for BL lines is performed at a basic resolution in the main scanning direction and twice the basic resolution in the sub-scanning direction.

【0033】ステップS6でBLライン分の走査を終え
ると、ステップS7では圧縮回路18によって、BLラ
イン分の画像データに対して、フィルター1及びフィル
ター2を用いて前記第1の変換を行い、バッファメモリ
20の第2ブロックに第2のシフト量に対する画像デー
タと第1の変換後のデータとを記憶する。
When the scanning for the BL lines is completed in step S6, the first conversion is performed on the image data for the BL lines by the compression circuit 18 using the filter 1 and the filter 2 in step S7. The image data corresponding to the second shift amount and the data after the first conversion are stored in the second block of the memory 20.

【0034】この時点で、バッファメモリ20の第1ブ
ロックと第2ブロックに、互いに半画素ピッチずれた画
像データと、各々の画像の主走査方向が低周波成分で副
走査方向が低周波数成分及び高周波数成分のデータが揃
うことになる。
At this point, the first block and the second block of the buffer memory 20 have image data shifted by a half pixel pitch from each other, and have a low frequency component in the main scanning direction and a low frequency component in the sub scanning direction of each image. The data of the high-frequency component is completed.

【0035】次にステップS8において、バッファメモ
リ20の第3ブロックに空き容量が十分にあるか調べ、
十分な空き容量があれば、ステップS10に進み、無け
ればステップS9に進む。
Next, in step S8, it is checked whether the third block of the buffer memory 20 has sufficient free space.
If there is sufficient free space, the process proceeds to step S10, and if not, the process proceeds to step S9.

【0036】ステップS9ではタイムアウトなどのエラ
ーが発生していないか調べ、エラーが発生していたら処
理を中断し、エラーが発生していなければ、ステップS
8に戻る。
In step S9, it is checked whether an error such as a timeout has occurred. If an error has occurred, the process is interrupted. If no error has occurred, the process proceeds to step S9.
Return to 8.

【0037】一方、十分な空き容量がある場合、ステッ
プS10において圧縮回路18で、バッファメモリ20
の第1ブロックと第2ブロックに記憶されたデータに対
し、変換特性3のフィルター3を使って主走査方向の高
周波成分を抽出すると共に、周波数成分毎に抽出した画
像データを基に最終段階の圧縮処理を行う第2の変換を
行い、圧縮後のデータをバッファメモリ20の第3ブロ
ックに記憶する。
On the other hand, if there is sufficient free space, the compression circuit 18 in step S10
The high-frequency component in the main scanning direction is extracted from the data stored in the first block and the second block using the filter 3 of the conversion characteristic 3, and based on the image data extracted for each frequency component, A second conversion for performing a compression process is performed, and the data after compression is stored in a third block of the buffer memory 20.

【0038】第3のブロックへのデータ格納が終了した
ら、ステップS11に進んでデータレディフラグを立て
る。後述するデータ転送タスクでは、このデータレディ
フラグが立つと第3ブロックに記憶されたデータを転送
する。
When the data storage in the third block is completed, the flow advances to step S11 to set a data ready flag. In a data transfer task described later, when the data ready flag is set, the data stored in the third block is transferred.

【0039】ステップS12ではスキャンを終了したか
どうかを調べ、スキャン終了ならばステップS13へ進
み、そうでなければステップS2に戻る。
In step S12, it is determined whether or not the scanning has been completed. If the scanning has been completed, the process proceeds to step S13. If not, the process returns to step S2.

【0040】ステップS13では、データ転送が終了し
たかどうかを確認し、データ転送が終了したら処理を終
了する。
In step S13, it is confirmed whether or not the data transfer has been completed, and when the data transfer has been completed, the process is terminated.

【0041】図7はデータ転送を行うタスク処理を示し
たものであり、データ転送タスクが起動されると、ステ
ップS21においてデータ転送モードになるまで待ち、
データ転送モードになると、ステップS22に進む。
FIG. 7 shows a task process for performing data transfer. When the data transfer task is started, it waits until the data transfer mode is set in step S21.
In the data transfer mode, the process proceeds to step S22.

【0042】ステップS22においてデータレディフラ
グを監視し、データレディフラグが立つまで待ち、デー
タレディフラグが立つと、ステップS23に進み、デー
タレディフラグをクリアしてステップS24に進む。
In step S22, the data ready flag is monitored, and the process waits until the data ready flag is set. When the data ready flag is set, the process proceeds to step S23, where the data ready flag is cleared and the process proceeds to step S24.

【0043】ステップS24ではバッファメモリ20の
第3ブロックに記憶されたデータの転送を行う。データ
転送が終了するとステップS21に戻る。
In step S24, the data stored in the third block of the buffer memory 20 is transferred. When the data transfer ends, the process returns to step S21.

【0044】図8はステップS3及びステップS6で、
読み取り開始位置を半画素ずらして読み込んで得た画像
データを合成して高解像度の画像データに合成する方法
の概念を説明する図である。同図において、P1は第1
のシフト量が設定されている時にCIS3から1番目に
出力される画像データで、合成後は1画素目になる画像
データ、P2は第2のシフト量が設定されている時にC
IS3から1番目に出力される画像データで合成後は2
画素目になる画像データ、P3は第1のシフト量の時に
CIS3から2番目に出力される画像データで合成後は
3画素目になる画像データ、P4は第2のシフト量の時
にCIS3から2番目に出力される画像データで合成後
は4画素目になる画像データ、P5は第1のシフト量の
時にCIS3から3番目に出力される画像データで合成
後は5画素目になる画像データ、P6は第2のシフト量
の時にCIS3から3番目に出力される画像データで合
成後は6画素目になる画像データ、P7は第1のシフト
量の時にCIS3から4番目に出力される画像データで
合成後は7画素目になる画像データ、P8は第2のシフ
ト量の時にCIS3から4番目に出力される画像データ
で合成後は8画素目になる画像データ、P9は第1のシ
フト量の時にCIS3から5番目に出力される画像デー
タで合成後は9画素目になる画像データ、P10は第2
のシフト量の時にCIS3から5番目に出力される画像
データで合成後は10画素目になる画像データである。
FIG. 8 shows steps S3 and S6.
FIG. 4 is a diagram illustrating the concept of a method of combining image data obtained by shifting a reading start position by a half pixel and combining the image data with high-resolution image data. In the figure, P1 is the first
Is the first image data output from the CIS 3 when the shift amount is set, the image data becomes the first pixel after the composition, and P2 is the image data when the second shift amount is set.
The first image data output from IS3.
The image data that becomes the pixel, P3 is the image data that is output second from the CIS3 at the first shift amount, the image data that becomes the third pixel after synthesis, and P4 is the image data that becomes the second pixel from the CIS3 at the second shift amount. P5 is the image data output fourth from the CIS3 when the first shift amount is set, and image data which becomes the fifth pixel after synthesis is obtained. P6 is the third image data output from CIS3 at the second shift amount, which is the sixth pixel after synthesis, and P7 is the fourth image data output from CIS3 at the first shift amount. , P8 is the fourth image data output from CIS3 at the time of the second shift amount, P8 is the image data of the eighth pixel after synthesis, and P9 is the first shift amount. At the time of CI After synthesis in the image data output from 3 to 5 th image data to be 9 th pixel, P10 is the second
Is the fifth image data output from the CIS 3 when the shift amount is, and becomes the tenth pixel after combination.

【0045】また、L1は第1のシフト量の時及び第2
のシフト量の時に各読み取りブロックの1ライン目の画
像データ、L2は第1のシフト量の時及び第2のシフト
量の時に各読み取りブロックの2ライン目の画像データ
である。
L1 is the value for the first shift amount and the value for the second shift amount.
L2 is the image data of the first line of each read block at the shift amount of, and L2 is the image data of the second line of each read block at the time of the first shift amount and the second shift amount.

【0046】主走査方向には、基本解像度、副走査方向
には基本解像度の2倍の解像度で走査し、ブロック毎に
同じ副走査範囲を、主走査方向に1/2画素シフトした
位置で画像読み取りを行って合成することにより、CI
S3の基本解像度の2倍の解像度の画像を得ることがで
きる。本発明では、複数ラインのブロック毎に、圧縮処
理を行いながら合成を行い、圧縮かつ合成した結果をブ
ロック毎にPCに出力する。
Scanning is performed at the basic resolution in the main scanning direction and at twice the basic resolution in the sub-scanning direction, and the same sub-scanning area is shifted by 1/2 pixel in the main scanning direction in each block. By reading and combining, the CI
An image having twice the resolution of the basic resolution of S3 can be obtained. According to the present invention, synthesis is performed for each block of a plurality of lines while performing compression processing, and the result of compression and synthesis is output to a PC for each block.

【0047】以上説明したように、第1の実施形態によ
れば、画素ずらしをブロック毎に行うとともに、第1の
シフト量の時の画像読み取り時は低周波成分に関する圧
縮処理を行い、第2のシフト量の画像読み取り時は高周
波成分に関する圧縮処理を行うようにしたので、必要と
するバッファメモリの容量が少なくて済み、圧縮処理を
効率よく行うことができる。
As described above, according to the first embodiment, pixel shifting is performed for each block, and at the time of image reading with the first shift amount, compression processing for low-frequency components is performed. When the image with the shift amount is read, the compression processing for the high-frequency component is performed. Therefore, the required capacity of the buffer memory is small, and the compression processing can be performed efficiently.

【0048】<第2の実施形態>次に第2の実施形態に
ついて説明する。
<Second Embodiment> Next, a second embodiment will be described.

【0049】本第2の実施形態で用いる画像読み取り装
置の構成は第1の実施形態で説明したものと同様である
ため、ここでは説明を省略する。
Since the configuration of the image reading apparatus used in the second embodiment is the same as that described in the first embodiment, the description is omitted here.

【0050】第1の実施形態では、同じブロックを異な
るシフト量分シフトした画像読み出し開始位置から画像
を読み取る毎に、読み取って得た画像データに対して同
じ変換を行って低周波成分を抽出し、後から高周波成分
を計算する。これに対し、第2の実施形態では、第1の
シフト時と第2のシフト時とで変換の仕方を変えて、効
率よく変換を行う。
In the first embodiment, every time an image is read from the image reading start position obtained by shifting the same block by a different shift amount, the same conversion is performed on the read image data to extract a low frequency component. , And calculate the high-frequency components later. On the other hand, in the second embodiment, the conversion method is changed between the first shift and the second shift to perform the conversion efficiently.

【0051】図9は圧縮しながら画素ずらしを行う場合
のメイン処理のシーケンスを示すフローチャートで、ス
テップS7’及びS10’以外は図6の同じステップ番
号で示す処理と同様である。
FIG. 9 is a flowchart showing the sequence of the main process in the case where the pixel is shifted while being compressed. The process is the same as the process shown by the same step numbers in FIG. 6 except for steps S7 'and S10'.

【0052】本第2の実施形態においては、ステップS
6で第2のシフト量で走査を行った後、ステップS7’
において、圧縮回路18によって、第1のシフト量のと
きの画像に対して第1の変換を施された第1ブロックに
記憶されたデータと、第2のシフト量のBLライン分の
画像データに対して、変換特性3のフィルターを使って
主走査方向の高周波成分に対応する変換を含む第2の変
換を行い、バッファメモリの第2のブロックに変換結果
を記憶する。
In the second embodiment, step S
After scanning is performed with the second shift amount in step S6, step S7 '
, The data stored in the first block obtained by performing the first conversion on the image at the first shift amount by the compression circuit 18 and the image data for the BL lines of the second shift amount On the other hand, the second conversion including the conversion corresponding to the high-frequency component in the main scanning direction is performed using the filter having the conversion characteristic 3, and the conversion result is stored in the second block of the buffer memory.

【0053】上記処理により、ステップS7’を終えた
時点で第2のブロックには画像の低周波成分と高周波成
分のデータが揃うことになる。
By the above processing, the data of the low frequency component and the data of the high frequency component of the image are aligned in the second block when step S7 'is completed.

【0054】次のステップS8ではバッファメモリ20
の第3ブロックに空き容量が十分にあるか調べ、十分な
空き容量があればステップS10’に進み、そうでなけ
ればステップS9に進む。
In the next step S8, the buffer memory 20
It is checked whether the third block has enough free space. If there is enough free space, the process proceeds to step S10 ′, and if not, the process proceeds to step S9.

【0055】ステップS10’では、圧縮回路18で、
バッファメモリ20の第2のブロックに記憶されたデー
タに対し、ランレングス圧縮法などによる第3の変換を
行い圧縮後のデータをバッファメモリ20の第3のブロ
ックに記憶する。
In step S10 ', the compression circuit 18
The data stored in the second block of the buffer memory 20 is subjected to a third conversion by a run-length compression method or the like, and the compressed data is stored in the third block of the buffer memory 20.

【0056】以降の処理は、図6で説明した処理と同様
であり、データ転送処理についても、図7で示すフロー
チャートと同様の手順で行われる。
The subsequent processing is the same as the processing described with reference to FIG. 6, and the data transfer processing is performed in the same procedure as the flowchart shown in FIG.

【0057】上記の通り第2の実施形態によれば、第1
の実施形態よりも再現性は多少劣るが、より効率よくデ
ータの圧縮処理を行うことができる。
As described above, according to the second embodiment, the first
Although the reproducibility is slightly inferior to that of the embodiment, the data can be compressed more efficiently.

【0058】なお、本実施の形態においては、CIS3
を圧電素子4により主走査方向にシフトすることによ
り、原稿の読み出し開始位置をシフトしたが、本発明は
これに限るものではなく、原稿を移動したり、また、原
稿からの反射光とCIS3との間に反射光の光路を変更
する手段を設けるなど、原稿の光学像がCIS3上で結
像する位置をシフトできるものであれば、どのような構
成であっても良い。
In this embodiment, the CIS3
Is shifted in the main scanning direction by the piezoelectric element 4, thereby shifting the reading start position of the original. However, the present invention is not limited to this, and the original can be moved or reflected light from the original and CIS 3 Any configuration may be used as long as the position at which the optical image of the document is formed on the CIS 3 can be shifted, for example, a unit for changing the optical path of the reflected light is provided between the two.

【0059】また、本実施の形態においては、反射原稿
を読み取る画像読み取り装置について説明したが、これ
に限るものではなく、例えば透明原稿を読み取る場合に
も適用できることは言うまでもない。
Further, in the present embodiment, the image reading apparatus for reading a reflection original has been described. However, it is needless to say that the present invention is not limited to this and can be applied to, for example, reading a transparent original.

【0060】また、本実施の形態においては、CIS3
がラインセンサである場合について説明したが、エリア
センサを用いることも可能である。
In this embodiment, the CIS3
Is described as a line sensor, but it is also possible to use an area sensor.

【0061】また、本実施の形態においてはセルホック
レンズを用いた、いわゆる密着型のラインセンサーを用
いたが、本発明はこれに限るものではなく、固定の撮像
素子を用い、原稿画像の異なる位置の光学像を、光学系
を用いて当該撮像素子上に導くように構成しても良い。
In the present embodiment, a so-called close contact type line sensor using a cell hook lens is used. However, the present invention is not limited to this, and a fixed image pickup device is used, and the image of the original is different. The optical image at the position may be configured to be guided onto the image sensor using an optical system.

【0062】[0062]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0063】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても、
達成されることは言うまでもない。この場合、記憶媒体
から読み出されたプログラムコード自体が前述した実施
形態の機能を実現することになり、そのプログラムコー
ドを記憶した記憶媒体は本発明を構成することになる。
また、コンピュータが読み出したプログラムコードを実
行することにより、前述した実施形態の機能が実現され
るだけでなく、そのプログラムコードの指示に基づき、
コンピュータ上で稼働しているオペレーティングシステ
ム(OS)などが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, an object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer (a computer) of the system or the apparatus. Or a CPU or MPU) reads out and executes the program code stored in the storage medium,
Needless to say, this is achieved. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
In addition, by the computer executing the readout program code, not only the functions of the above-described embodiments are realized, but also based on the instructions of the program code,
The operating system (OS) running on the computer performs part or all of the actual processing,
It goes without saying that a case where the functions of the above-described embodiments are realized by the processing is also included.

【0064】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. , The CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the functions of the above-described embodiments are realized by the processing is also included.

【0065】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した図6または図9及びFに
示すフローチャートに対応するプログラムコードが格納
されることになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts shown in FIGS. 6 or 9 and F described above.

【0066】[0066]

【発明の効果】上記の通り、本発明によれば、より少な
いバッファメモリの容量を用いて、画素ずらしをして読
み込まれた画像データの圧縮処理を効率よく行うことが
できる。
As described above, according to the present invention, it is possible to efficiently perform compression processing of image data read by shifting pixels by using a smaller capacity of the buffer memory.

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

【図1】本発明の第1の実施形態に係る画像読み取り装
置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image reading device according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態に係る画像読み取り装
置のキャリッジユニットを原稿面側から見た図である。
FIG. 2 is a diagram of a carriage unit of the image reading apparatus according to the first embodiment of the present invention as viewed from a document surface side.

【図3】原稿読み取り範囲と画素ずらし処理ブロックと
の関係を説明するための図である。
FIG. 3 is a diagram for explaining a relationship between a document reading range and a pixel shift processing block.

【図4】圧縮処理で用いられる変換回路の一構成例であ
る。
FIG. 4 is a configuration example of a conversion circuit used in compression processing.

【図5】圧縮処理で用いられる変換回路の別の構成例で
ある。
FIG. 5 is another configuration example of the conversion circuit used in the compression processing.

【図6】本発明の第1の実施形態における圧縮及び画素
ずらしを行う時のメイン処理のシーケンスを示すフロー
チャートである。
FIG. 6 is a flowchart illustrating a sequence of a main process when performing compression and pixel shift according to the first embodiment of the present invention.

【図7】データ転送を行うタスク処理を示すフローチャ
ートである。
FIG. 7 is a flowchart illustrating a task process for performing data transfer.

【図8】画素ずらしにより読み込まれた画像データとそ
の合成処理の概念を示す図である。
FIG. 8 is a diagram illustrating the concept of image data read by pixel shifting and a synthesizing process thereof.

【図9】本発明の第2の実施形態における圧縮及び画素
ずらしを行う時のメイン処理ののシーケンスを示すフロ
ーチャートである。
FIG. 9 is a flowchart illustrating a sequence of a main process when performing compression and pixel shift according to the second embodiment of the present invention.

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

1 原稿 2 原稿台ガラス 3 コンタクトセンサー(CIS) 4 圧電素子 5 キャリッジユニット 6 キャリッジ駆動機構 7 ステッピングモーター 8 モーター駆動回路 9 CPU 13 CIS駆動回路 14 圧電素子駆動回路 15 A/Dコンバータ 18 圧縮回路 19 メモリ制御回路 20 バッファメモリ 21 インターフェース制御回路 22 ホストコンピュータ 31 LED 32 導光体 33 セルホックレンズ 34 光電変換素子 35 基板 DESCRIPTION OF SYMBOLS 1 Original 2 Original platen glass 3 Contact sensor (CIS) 4 Piezoelectric element 5 Carriage unit 6 Carriage drive mechanism 7 Stepping motor 8 Motor drive circuit 9 CPU 13 CIS drive circuit 14 Piezoelectric element drive circuit 15 A / D converter 18 Compression circuit 19 Memory Control circuit 20 Buffer memory 21 Interface control circuit 22 Host computer 31 LED 32 Light guide 33 Cell hook lens 34 Photoelectric conversion element 35 Substrate

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B047 BB02 BC16 CA11 5C051 AA01 DA03 DC07 DE09 DE12 EA03 FA01 5C072 AA01 BA16 MA10 MB08 UA08 WA03 XA01 5C076 AA01 AA19 AA36 BA01 BA03 BA06 CA08  ──────────────────────────────────────────────────の Continued on the front page F term (reference) 5B047 BB02 BC16 CA11 5C051 AA01 DA03 DC07 DE09 DE12 EA03 FA01 5C072 AA01 BA16 MA10 MB08 UA08 WA03 XA01 5C076 AA01 AA19 AA36 BA01 BA03 BA06 CA08

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 原稿の光学像を電気信号に変換して画像
信号を出力する撮像手段を用いて前記原稿を読み込む画
像読み取り方法であって、 前記原稿の光学像の前記撮像手段上の結像位置を所定方
向に第1の所定量シフトする第1のシフト工程と、 前記第1のシフト工程によるシフト後に、前記撮像手段
を用いて、複数の所定範囲に分割された原稿を所定範囲
ずつ読み込み、画像信号を出力する第1の撮像工程と、 前記所定範囲の画像信号を圧縮して保持する第1の圧縮
工程と、 前記原稿の光学像の前記撮像手段上の結像位置を所定方
向に第2の所定量シフトする第2のシフト工程と、 前記第2のシフト工程によるシフト後に、前記第1の撮
像工程で読み込んだ所定範囲と同じ領域を読み込んで画
像信号を出力する第2の撮像工程と、 前記第2の撮像工程で出力された前記所定領域の画像信
号を圧縮して保持する第2の圧縮工程と、 前記第1及び第2の圧縮工程で圧縮した画像信号を圧縮
合成して保持する合成工程と、 前記合成工程において圧縮合成された画像信号を出力す
る出力工程とを有し、 前記第1の圧縮工程乃至出力工程は、前記第1の撮像工
程で所定範囲を読み込む毎に実施され、前記第1の撮像
工程では、一所定範囲について前記合成工程での処理
後、次の所定範囲を読み込むことを特徴とする画像読み
取り方法。
1. An image reading method for reading an original using an imaging unit that converts an optical image of the original into an electric signal and outputs an image signal, comprising: forming an optical image of the original on the imaging unit. A first shift step of shifting a position in a predetermined direction by a first predetermined amount, and after the shift in the first shift step, reading the document divided into a plurality of predetermined ranges by the predetermined range using the imaging unit. A first imaging step of outputting an image signal; a first compression step of compressing and holding the image signal in the predetermined range; and an image forming position of the optical image of the document on the imaging unit in a predetermined direction. A second shift step of shifting by a second predetermined amount; and a second imaging step of, after shifting by the second shift step, reading an area same as the predetermined range read in the first imaging step and outputting an image signal. The step; A second compression step of compressing and holding the image signal of the predetermined area output in the imaging step of 2, and a combining step of compressing and combining the image signals compressed in the first and second compression steps. And an output step of outputting an image signal compressed and synthesized in the synthesis step. The first compression step to the output step are performed every time a predetermined range is read in the first imaging step. In the first imaging step, an image reading method is characterized in that after the processing in the synthesizing step for one predetermined range, the next predetermined range is read.
【請求項2】 前記第1の圧縮工程及び第2の圧縮工程
では、同じ圧縮方法により圧縮を行うことを特徴とする
請求項1に記載の画像読み取り方法。
2. The image reading method according to claim 1, wherein in the first compression step and the second compression step, compression is performed by the same compression method.
【請求項3】 前記第1及び第2の圧縮工程では、前記
画像信号の前記所定方向の低周波成分と、前記所定方向
と垂直な方向の低周波成分及び高周波成分とを保持し、
前記合成工程では、更に前記画像信号の前記所定方向の
高周波成分を保持することを特徴とする請求項2に記載
の画像読み取り方法。
3. In the first and second compression steps, a low-frequency component in the predetermined direction of the image signal and a low-frequency component and a high-frequency component in a direction perpendicular to the predetermined direction are held.
3. The image reading method according to claim 2, wherein the synthesizing step further holds a high-frequency component of the image signal in the predetermined direction.
【請求項4】 原稿の光学像を電気信号に変換して画像
信号を出力する撮像手段を用いて前記原稿を読み込む画
像読み取り方法であって、 前記原稿の光学像の前記撮像手段上の結像位置を所定方
向に第1の所定量シフトする第1のシフト工程と、 前記第1のシフト工程によるシフト後に、前記撮像手段
を用いて、複数の所定範囲に分割された原稿を所定範囲
ずつ読み込み、画像信号を出力する第1の撮像工程と、 前記所定範囲の画像信号を圧縮して保持する圧縮工程
と、 前記原稿の光学像の前記撮像手段上の結像位置を所定方
向に第2の所定量シフトする第2のシフト工程と、 前記第2のシフト工程によるシフト後に、前記第1の撮
像工程で読み込んだ所定範囲と同じ領域を読み込んで画
像信号を出力する第2の撮像工程と、 前記第1の圧縮工程で圧縮した画像信号と、前記第2の
撮像工程で出力された前記所定領域の画像信号とを圧縮
合成して保持する合成工程と、 前記合成工程において圧縮合成された画像信号を出力す
る出力工程とを有し、 前記第1の圧縮工程乃至出力工程は、前記第1の撮像工
程で所定範囲を読み込む毎に実施され、前記第1の撮像
工程では、一所定範囲について前記合成工程での処理
後、次の所定範囲を読み込むことを特徴とする画像読み
取り方法。
4. An image reading method for reading an original using an imaging unit that converts an optical image of the original into an electric signal and outputs an image signal, comprising: forming an optical image of the original on the imaging unit. A first shift step of shifting a position in a predetermined direction by a first predetermined amount, and after the shift in the first shift step, reading the document divided into a plurality of predetermined ranges by the predetermined range using the imaging unit. A first imaging step of outputting an image signal, a compression step of compressing and holding the image signal in the predetermined range, and a second step of setting an image formation position of the optical image of the document on the imaging means in a predetermined direction. A second shift step of shifting by a predetermined amount; a second imaging step of reading an area that is the same as the predetermined range read in the first imaging step and outputting an image signal after the shift in the second shift step; The first pressure A combining step of compressing and combining the image signal compressed in the compression step and the image signal of the predetermined area output in the second imaging step, and outputting the image signal compressed and combined in the combining step An output step, wherein the first compression step to the output step are performed each time a predetermined range is read in the first imaging step, and in the first imaging step, one of the predetermined ranges is An image reading method for reading a next predetermined range after the processing of (1).
【請求項5】 前記圧縮工程では、前記画像信号の前記
所定方向の低周波成分と、前記所定方向と垂直な方向の
低周波成分及び高周波成分とを保持し、前記合成工程で
は、更に前記画像信号の前記所定方向の高周波成分と、
前記所定方向と垂直な方向の低周波成分及び高周波成分
とを保持することを特徴とする請求項4に記載の画像読
み取り方法。
5. The compression step holds a low-frequency component of the image signal in the predetermined direction, and a low-frequency component and a high-frequency component of a direction perpendicular to the predetermined direction. A high frequency component of the signal in the predetermined direction;
5. The image reading method according to claim 4, wherein a low frequency component and a high frequency component in a direction perpendicular to the predetermined direction are held.
【請求項6】 前記所定方向と垂直な方向は副走査方向
であることを特徴とする請求項3または5に記載の画像
読み取り方法。
6. The image reading method according to claim 3, wherein the direction perpendicular to the predetermined direction is a sub-scanning direction.
【請求項7】 前記原稿は、前記所定方向と垂直な方向
に分割されることを特徴とする請求項1乃至6のいずれ
かに記載の画像読み取り方法。
7. The image reading method according to claim 1, wherein the document is divided in a direction perpendicular to the predetermined direction.
【請求項8】 前記所定方向は主走査方向であることを
特徴とする請求項1乃至7のいずれかに記載の画像読み
取り方法。
8. The image reading method according to claim 1, wherein the predetermined direction is a main scanning direction.
【請求項9】 前記第1のシフト工程における第1の所
定量と前記第2のシフト工程における第2の所定量との
差は、半画素であることを特徴とする請求項1乃至8の
いずれかに記載の画像読み取り方法。
9. The method according to claim 1, wherein a difference between a first predetermined amount in the first shift step and a second predetermined amount in the second shift step is a half pixel. The image reading method according to any one of the above.
【請求項10】 前記第1の所定量は0であることを特
徴とする請求項1乃至9のいずれかに記載の画像読み取
り方法。
10. The image reading method according to claim 1, wherein the first predetermined amount is zero.
【請求項11】 原稿の光学像を電気信号に変換して画
像信号を出力する撮像手段と、 前記原稿の光学像の前記撮像手段上の結像位置を所定方
向に第1の所定量または第2の所定量シフトするシフト
手段と、 第1の圧縮方法により圧縮を行う圧縮手段と、 第2の圧縮方法により圧縮合成を行う合成手段と、 前記圧縮手段及び合成手段の出力を記憶する記憶手段
と、 前記記憶手段に記憶された前記合成手段の出力を出力す
る出力手段と、 前記シフト手段による第1の所定量のシフト及び第2の
所定量のシフト後に、前記撮像手段を用いて複数の所定
範囲に分割された原稿を所定範囲ずつ読み込み、それぞ
れ得られた画像信号を前記圧縮手段により圧縮して前記
記憶手段に記憶し、前記記憶手段に記憶された圧縮され
た画像信号を前記合成手段により圧縮合成して前記記憶
手段に記憶するように制御する制御手段とを有し、 前記制御手段は、一所定範囲の画像信号を前記合成手段
により合成した後、次の所定範囲の読み込みを行うよう
に制御することを特徴とする画像読み取り装置。
11. An image pickup means for converting an optical image of a document into an electric signal and outputting an image signal, and an image forming position of the optical image of the document on the image pickup means for a first predetermined amount or a predetermined amount in a predetermined direction. Shift means for shifting by a predetermined amount of 2, compression means for performing compression by a first compression method, synthesis means for performing compression and synthesis by a second compression method, and storage means for storing outputs of the compression means and the synthesis means. An output unit that outputs an output of the synthesizing unit stored in the storage unit; and a plurality of shifts using the imaging unit after a first predetermined amount shift and a second predetermined amount shift by the shift unit. A document divided into a predetermined range is read by a predetermined range, and the obtained image signals are compressed by the compression means and stored in the storage means, and the compressed image signals stored in the storage means are combined by the synthesis means. And control means for performing control so that the image signals are compressed and synthesized by the storage means and stored in the storage means. The control means performs reading of the next predetermined range after synthesizing image signals of one predetermined range by the synthesis means. An image reading apparatus characterized in that the control is performed in such a manner.
【請求項12】 原稿の光学像を電気信号に変換して画
像信号を出力する撮像手段と、 前記原稿の光学像の前記撮像手段上の結像位置を所定方
向に第1の所定量または第2の所定量シフトするシフト
手段と、 第1の圧縮方法により圧縮を行う圧縮手段と、 第2の圧縮方法により圧縮合成を行う合成手段と、 前記圧縮手段及び合成手段の出力を記憶する記憶手段
と、 前記記憶手段に記憶された前記合成手段の出力を出力す
る出力手段と、 前記シフト手段による第1の所定量のシフト後に、前記
撮像手段を用いて複数の所定範囲に分割された原稿の一
所定範囲を読み込み、得られた画像信号を前記圧縮手段
により圧縮して前記記憶手段に記憶し、前記シフト手段
による第2の所定量のシフト後に、前記撮像手段を用い
て前記シフト前に読み込んだ所定範囲と同一の所定範囲
を読み込み、得られた画像信号と、前記記憶手段に記憶
された圧縮された画像信号を前記合成手段により圧縮合
成して前記記憶手段に記憶するように制御する制御手段
とを有し、 前記制御手段は、一所定範囲の画像信号を前記合成手段
により合成した後、次の所定範囲の読み込みを行うよう
に制御することを特徴とする画像読み取り装置。
12. An image pickup means for converting an optical image of a document into an electric signal and outputting an image signal, and an image forming position of the optical image of the document on the image pickup means in a predetermined direction by a first predetermined amount or a predetermined amount. Shift means for shifting by a predetermined amount of 2, compression means for performing compression by a first compression method, synthesis means for performing compression and synthesis by a second compression method, and storage means for storing outputs of the compression means and the synthesis means. Output means for outputting an output of the synthesizing means stored in the storage means; and after shifting by a first predetermined amount by the shift means, a document divided into a plurality of predetermined ranges using the imaging means One predetermined range is read, the obtained image signal is compressed by the compression unit and stored in the storage unit, and after the shift of the second predetermined amount by the shift unit, read using the imaging unit before the shift. Control for reading the same predetermined range as the predetermined range, controlling the obtained image signal and the compressed image signal stored in the storage means to be compression-synthesized by the synthesis means and stored in the storage means. An image reading device, comprising: a control unit configured to perform a read operation in a next predetermined range after the image signal in one predetermined range is synthesized by the synthesis unit.
【請求項13】 前記圧縮手段は、前記画像信号の前記
所定方向の低周波成分と、前記所定方向と垂直な方向の
低周波成分及び高周波成分とを出力し、前記合成手段
は、更に前記画像信号の前記所定方向の高周波成分を出
力することを特徴とする請求項11または12に記載の
画像読み取り装置。
13. The compression unit outputs a low-frequency component in the predetermined direction of the image signal, and a low-frequency component and a high-frequency component in a direction perpendicular to the predetermined direction, and the synthesizing unit further outputs the image signal. The image reading apparatus according to claim 11, wherein a high-frequency component of the signal in the predetermined direction is output.
【請求項14】 前記所定方向と垂直な方向は副走査方
向であることを特徴とする請求項13に記載の画像読み
取り装置。
14. The image reading apparatus according to claim 13, wherein the direction perpendicular to the predetermined direction is a sub-scanning direction.
【請求項15】 前記原稿は、前記所定方向と垂直な方
向に分割されることを特徴とする請求項11乃至14の
いずれかに記載の画像読み取り装置。
15. The image reading apparatus according to claim 11, wherein the document is divided in a direction perpendicular to the predetermined direction.
【請求項16】 前記所定方向は主走査方向であること
を特徴とする請求項11乃至15のいずれかに記載の画
像読み取り装置。
16. The image reading apparatus according to claim 11, wherein the predetermined direction is a main scanning direction.
【請求項17】 前記第1の所定量と前記第2の所定量
との差は、半画素であることを特徴とする請求項11乃
至16のいずれかに記載の画像読み取り装置。
17. The image reading apparatus according to claim 11, wherein a difference between the first predetermined amount and the second predetermined amount is a half pixel.
【請求項18】 前記第1の所定量は0であることを特
徴とする請求項11乃至17のいずれかに記載の画像読
み取り装置。
18. The image reading apparatus according to claim 11, wherein the first predetermined amount is zero.
【請求項19】 請求項1乃至10のいずれかに記載の
画像読み取り方法を実現するためのプログラムコードを
保持する記憶媒体。
19. A storage medium storing a program code for realizing the image reading method according to claim 1. Description:
【請求項20】 請求項1乃至10のいずれかに記載の
画像読み取り方法を実現するためのプログラム。
A program for realizing the image reading method according to any one of claims 1 to 10.
JP2000261676A 2000-08-30 2000-08-30 Method and apparatus for reading image Withdrawn JP2002077582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000261676A JP2002077582A (en) 2000-08-30 2000-08-30 Method and apparatus for reading image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000261676A JP2002077582A (en) 2000-08-30 2000-08-30 Method and apparatus for reading image

Publications (1)

Publication Number Publication Date
JP2002077582A true JP2002077582A (en) 2002-03-15

Family

ID=18749481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000261676A Withdrawn JP2002077582A (en) 2000-08-30 2000-08-30 Method and apparatus for reading image

Country Status (1)

Country Link
JP (1) JP2002077582A (en)

Similar Documents

Publication Publication Date Title
US9082205B2 (en) Image processing apparatus for processing image data to produce compressed image data and display data
US20010019429A1 (en) Image processing apparatus
EP1542447B1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
JPH0962826A (en) Picture reader
JP4250000B2 (en) Image reading apparatus and image reading method
US20020001410A1 (en) Image processing apparatus
US20010031093A1 (en) Image input apparatus, image processing apparatus, image input method, image processing method and image input system
JP2002077582A (en) Method and apparatus for reading image
JPH04301966A (en) Color image reader
CN101729729A (en) Document reading apparatus
JPH10336470A (en) Image reader
JPH11331556A (en) Image processor
JPH0844875A (en) Encoding processor
JP2002077547A (en) Apparatus and method for reading image
JP3875465B2 (en) Image reduction method, image processing apparatus and image processing apparatus control method
JPH11306320A (en) Picture processing method, picture read system, and storage medium
JP3652123B2 (en) Image sensor, image processing apparatus, image processing system, and storage medium
JPS61198872A (en) Picture input device
JP4080726B2 (en) Image reduction method, image processing apparatus, and image processing apparatus control method
JP3395924B2 (en) Image input control device
JPS59223061A (en) Picture reader
JP2000184129A (en) Picture reader
JPH0865524A (en) Picture reader
JPH04240963A (en) Picture reader
JPH0377475A (en) Picture reader

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20071106