JP2009060593A - Image reader and image reading method - Google Patents

Image reader and image reading method Download PDF

Info

Publication number
JP2009060593A
JP2009060593A JP2008187914A JP2008187914A JP2009060593A JP 2009060593 A JP2009060593 A JP 2009060593A JP 2008187914 A JP2008187914 A JP 2008187914A JP 2008187914 A JP2008187914 A JP 2008187914A JP 2009060593 A JP2009060593 A JP 2009060593A
Authority
JP
Japan
Prior art keywords
image data
image
pixel
pixels
reading apparatus
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.)
Granted
Application number
JP2008187914A
Other languages
Japanese (ja)
Other versions
JP2009060593A5 (en
JP4981759B2 (en
Inventor
Satoshi Tada
悟史 多田
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 JP2008187914A priority Critical patent/JP4981759B2/en
Priority to US12/183,511 priority patent/US8149469B2/en
Publication of JP2009060593A publication Critical patent/JP2009060593A/en
Publication of JP2009060593A5 publication Critical patent/JP2009060593A5/ja
Application granted granted Critical
Publication of JP4981759B2 publication Critical patent/JP4981759B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable processing of image data of a joint pixel in a multi-output type image sensor in relatively simple circuit arrangement without newly holding a line memory in an image reader. <P>SOLUTION: The image reader has an image sensor in which a plurality of sensor arrays for reading a document image are connected into a line, and which parallel outputs image data for each sensor array. Of the image data outputted from each sensor array, image data of a pixel at one end and image data of the remaining pixels are compressed by different compression methods. The compressed data of one line are decompressed by a set method in timing of reaching a preset number of pixels. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は原稿の画像を読み取る画像読取装置及びその画像読取方法に関する。   The present invention relates to an image reading apparatus that reads an image of a document and an image reading method thereof.

一般的な画像読取装置は、LED等からなる光源を制御して読み取り対象原稿に光を照射し、複数の素子からなるライン状のイメージセンサによって該原稿からの反射光を光電変換し電荷を蓄積することで画像を読み取る。原稿の幅に対応した長さのこのライン状のイメージセンサを原稿に対して走査させながら、1ラインごとに画像を読み取る。1ライン分の画像を読み取ることで得た1ライン分の画像データについて、センサの片側端部の素子によって読み取られた画素の画像データから、1画素ごとに各処理を行っていく。   A general image reading apparatus controls light sources such as LEDs to irradiate a document to be read with light, and photoelectrically converts reflected light from the document by a line-shaped image sensor composed of a plurality of elements to accumulate charges. To read the image. An image is read line by line while the line-shaped image sensor having a length corresponding to the width of the document is scanned with respect to the document. For the image data for one line obtained by reading the image for one line, each process is performed for each pixel from the image data of the pixel read by the element at one end of the sensor.

図6は、1画素の画像データごとに行われる各処理のフローを説明するフローチャートである。まず、イメージセンサ116によって読み取られた1ライン分の画像における画像データを、1画素ごとに、順次シリアルに、A/D変換部112に転送する。その後、デジタルデータに変換し、読み取り制御部107に出力する。読み取り制御部107では、まず、画像データパック部201においてA/D変換部112から入力した画像データを、1画素の画像データあたり16bitにパッキングする。その後、シェーディング補正部202とγ補正部203において、それぞれシェーディング補正及びγ補正を行う。γ補正とは、画像信号を入力し適正な濃度で記録がされるようにそのレベルを補正して出力する処理のことである。その後、画素切り出し部204において特定の画像データ範囲のみを切り出し、切り出された画像データを画像データ圧縮部205において圧縮する。その後、DMAコントローラ117を介して、画像読取装置に内蔵されているRAMに順次格納される。   FIG. 6 is a flowchart illustrating the flow of each process performed for each pixel of image data. First, image data in an image for one line read by the image sensor 116 is sequentially transferred to the A / D converter 112 serially for each pixel. Thereafter, it is converted into digital data and output to the reading control unit 107. The reading control unit 107 first packs the image data input from the A / D conversion unit 112 in the image data pack unit 201 into 16 bits per pixel image data. Thereafter, the shading correction unit 202 and the γ correction unit 203 perform shading correction and γ correction, respectively. The gamma correction is a process of inputting an image signal and correcting the level so that recording is performed at an appropriate density. Thereafter, the pixel cutout unit 204 cuts out only a specific image data range, and the image data compression unit 205 compresses the cutout image data. Thereafter, the data are sequentially stored in a RAM built in the image reading apparatus via the DMA controller 117.

近年では画像の読み取りを高速で行うことが要求されている。このため、高速で読み取りを行うことができるイメージセンサが要求されている。これは原稿の幅に対応した長さのライン状イメージセンサであり、複数チップにて構成されている。このセンサは、端部素子により読み取られた画素の画像データから順次シリアルに出力する上記の「シングル出力タイプ」のイメージセンサとは異なるセンサである。このようなタイプのセンサを「マルチ出力タイプ」のイメージセンサと呼ぶ。「マルチ出力タイプ」のイメージセンサは、複数のセンサチップをライン状につなぎ合わせ、センサチップごとに画像データを並列に出力することにより高速で読み取りを行うものである。例えば、3つのセンサチップを設け、1ライン分の画像データを3つ並列出力することで、「シングル出力タイプ」のイメージセンサの3倍相当の読み取り速度を達成できる。   In recent years, it has been required to read images at high speed. For this reason, an image sensor capable of reading at high speed is required. This is a line image sensor having a length corresponding to the width of the document, and is composed of a plurality of chips. This sensor is a sensor different from the “single output type” image sensor that sequentially outputs serially the image data of the pixels read by the end element. This type of sensor is referred to as a “multi-output type” image sensor. The “multi-output type” image sensor performs reading at high speed by connecting a plurality of sensor chips in a line and outputting image data in parallel for each sensor chip. For example, by providing three sensor chips and outputting three pieces of image data for one line in parallel, a reading speed equivalent to three times that of a “single output type” image sensor can be achieved.

一方、圧縮された画像データの圧縮方法を判別して異なる処理を行う技術が開示されている(特許文献1参照)。また、所望の画像データを選択して出力する復号化装置が知られている(特許文献2参照)。この復号化装置では、2種類の異なる処理が施され符号化された画像データが順次入力された場合、この画像データを判別する手段を有する構成になっている。画像データ種類を判別し、その後の処理を変更するために、判別のための回路が複雑な構成となっていた。
特開平6−086790号公報 特開平7―298266号公報
On the other hand, a technique for performing a different process by determining a compression method of compressed image data is disclosed (see Patent Document 1). Also, a decoding device that selects and outputs desired image data is known (see Patent Document 2). This decoding apparatus is configured to include means for discriminating image data when encoded image data that has been subjected to two different types of processing is sequentially input. In order to discriminate the image data type and change the subsequent processing, the discrimination circuit has a complicated configuration.
JP-A-6-086790 JP-A-7-298266

ところで、図6における画像データ圧縮部(エンコード部)205では、画像データを一時格納するRAMの容量削減等のため、画像データを圧縮する。この方法として、画像データ圧縮部205においてDPCMエンコード方式を採用し圧縮する方法、つまり、前画素に基づいて対象画素の画像データを16bitから8bitへ圧縮する方法がある。画像用データの圧縮技術としては、画像信号をモデルするモデル化技術と、このモデル化技術により変換された信号系列に実際に符号を割り当てる符号化技術とが存在する。モデル化技術としては、ラン・レングス・モデル、マルコフ・モデル、差分符号化(=Differential Pulse Code Modulationで以下DPCMという)等がある。一方、符号化技術としては、ハフマン符号や算術符号等が知られている。これらの技術の中で、DPCMとは、ある画素値は、それに先行する直前の画素値と近い値を取る確率が高いという画像データの性質を利用したものであり、画像用データの圧縮技術として使用されることが多いものとなっている。ただし、この圧縮方法では、読み取り画像の1ライン毎に、イメージセンサから最初に出力された画素の画像データは、前画素の画像データが存在しない。このため、前画素に基づくDPCMエンコード方式での圧縮処理を行わず、1画素16bitデータの中から、上位の8bitのデータを使って16bitから8bitのデータに圧縮している。つまり、圧縮処理後のデータ[7:0]=圧縮処理前のデータ[15:8]としている。その後の画素の画像データは、順次DPCMエンコード方式で圧縮処理され、RAMに順次格納される。   Incidentally, the image data compression unit (encoding unit) 205 in FIG. 6 compresses the image data in order to reduce the capacity of the RAM for temporarily storing the image data. As this method, there is a method of compressing the image data compression unit 205 by adopting the DPCM encoding method, that is, a method of compressing the image data of the target pixel from 16 bits to 8 bits based on the previous pixel. Image data compression techniques include a modeling technique for modeling an image signal and an encoding technique that actually assigns a code to a signal sequence converted by this modeling technique. Modeling techniques include a run length model, a Markov model, differential coding (= differential pulse code modulation, hereinafter referred to as DPCM), and the like. On the other hand, Huffman codes, arithmetic codes, and the like are known as encoding techniques. Among these technologies, DPCM uses the property of image data that a certain pixel value has a high probability of taking a value close to the immediately preceding pixel value, and is used as a compression technique for image data. It is often used. However, in this compression method, the image data of the pixel first output from the image sensor for each line of the read image does not include the image data of the previous pixel. For this reason, compression processing by the DPCM encoding method based on the previous pixel is not performed, and compression is performed from 16-bit data to 16-bit data using higher-order 8-bit data from 16-bit data per pixel. That is, the data after compression processing [7: 0] = data before compression processing [15: 8]. The subsequent pixel image data is sequentially compressed by the DPCM encoding method and stored in the RAM sequentially.

その後、圧縮処理された画像データは、RAMからDMAコントローラを介して順次読み出され、画像読取装置内の画像データ伸張部において、順次8bitから16bitに伸張される。なお、上記に述べたようにイメージセンサから最初に出力された画素の画像データは、圧縮前の画像データの上位8bitを用いて圧縮処理されている。このため、伸張する際は、伸張部に入力された伸張前の8bitのデータを、伸張後の出力16bitにおける下位の8bitのデータとして伸張処理を行う。その後に伸張部に入力される画素の画像データは、DPCMエンコード方式を用いて前画素に基づいて圧縮されているため、伸張する際も同様に、DPCMデコード方式、つまり、前画素に基づいてデータを16bitに伸張する。つまり、どの画素の画像データかによって伸張時の伸張の方式を変更して伸張処理を行っている。   Thereafter, the compressed image data is sequentially read from the RAM via the DMA controller, and is sequentially expanded from 8 bits to 16 bits in the image data expansion unit in the image reading apparatus. Note that, as described above, the image data of the pixel output first from the image sensor is compressed using the upper 8 bits of the image data before compression. For this reason, when decompressing, decompression processing is performed by using the 8-bit data before decompression input to the decompression unit as lower 8-bit data in the decompressed output 16 bits. Since the image data of the pixels that are subsequently input to the decompression unit are compressed based on the previous pixel using the DPCM encoding method, the data is also based on the DPCM decoding method, that is, based on the previous pixel. Is expanded to 16 bits. That is, the expansion process is performed by changing the expansion method at the time of expansion depending on the image data of which pixel.

しかし、「マルチ出力タイプ」のイメージセンサでは、1ラインが複数のセンサチップにて構成されている。このような構成のセンサにおいて、1ライン分の画像データの圧縮及び伸張がされるためには、1ライン分のラインメモリを保持しなければならない。つまり、画像読取時は読み取り速度向上を目的に1ラインを構成する各センサチップから並列に画像データが出力される。そのため、各センサチップのつなぎ目の画素については圧縮時に前画素の画像データは既にセンサから出力されて存在しない。上記差分符号化を行うためには1ライン分の画像データを保持するためのラインメモリが必要となるからである。   However, in the “multi-output type” image sensor, one line is composed of a plurality of sensor chips. In the sensor having such a configuration, in order to compress and expand image data for one line, a line memory for one line must be held. That is, at the time of image reading, image data is output in parallel from each sensor chip constituting one line for the purpose of improving reading speed. Therefore, for the joint pixels of each sensor chip, the image data of the previous pixel is not already output from the sensor at the time of compression. This is because a line memory for holding image data for one line is necessary to perform the differential encoding.

一方、上記特許文献2には、圧縮された画像データの圧縮方法を判別する回路を備え、その判別結果に応じて異なる処理を行う技術が開示されている。異なる圧縮処理を行なった、フレーム間画像データと、フレーム内画像データとが順次入力された場合に、フレーム間画像データとフレーム内画像データとを判別する回路を備えている。ここで、フレーム内画像データと判別されたタイミングにおいて出力する処理方法を変更する方法が開示されている。なお、フレーム間画像データとは、前フレームと現フレームとの差分をとることにより圧縮された画像データである。フレーム内画像データとは、前フレームと現フレームとの差分をとることなく現フレーム内で圧縮された画像データのことである。しかし、フレーム間画像データか、フレーム内画像データかを判別する手段を有することは、結果として回路が複雑になり、コストアップにつながってしまうため好ましくなかった。   On the other hand, Patent Document 2 discloses a technology that includes a circuit that determines a compression method of compressed image data, and performs different processing according to the determination result. A circuit is provided that discriminates between inter-frame image data and intra-frame image data when inter-frame image data and intra-frame image data subjected to different compression processes are sequentially input. Here, a method of changing a processing method to be output at a timing determined as intra-frame image data is disclosed. The inter-frame image data is image data compressed by taking a difference between the previous frame and the current frame. The intra-frame image data is image data compressed in the current frame without taking the difference between the previous frame and the current frame. However, it is not preferable to have a means for discriminating between inter-frame image data and intra-frame image data because the circuit becomes complicated as a result and the cost increases.

このように、マルチ出力タイプのイメージセンサを用いた画像読取装置において、圧縮時に新たにラインメモリを保持することなく比較的簡単な回路構成によって、1ライン分の画像データを高速に処理することが困難であった。そして、具体的にこれを開示するものもなかった。   As described above, in an image reading apparatus using a multi-output type image sensor, image data for one line can be processed at high speed by a relatively simple circuit configuration without newly holding a line memory during compression. It was difficult. And there was nothing that specifically disclosed this.

そこで、本発明は上記課題を鑑みてなされたものであり、新たにラインメモリを保持することなく比較的簡単な回路構成によって、高速な処理を可能とする画像読取装置を提供することを目的とする。この画像読取装置は、マルチ出力タイプのイメージセンサを用いるものである。さらに、本発明は、この画像読取装置の画像読取方法を提供することを目的とする。   Accordingly, the present invention has been made in view of the above problems, and an object thereof is to provide an image reading apparatus capable of high-speed processing with a relatively simple circuit configuration without newly holding a line memory. To do. This image reading apparatus uses a multi-output type image sensor. Another object of the present invention is to provide an image reading method of the image reading apparatus.

上記課題を解決するための本発明は、 原稿画像を読み取る複数のセンサがライン状につなぎ合わされ、1ラインずつ前記原稿画像を読み取り、前記センサごとに画像データを並列に出力するイメージセンサを備えた画像読取装置であって、
前記複数のセンサそれぞれから出力された前記原稿画像の画像データのうち、前記複数のセンサそれぞれで読み取られた一端側の画素の画像データと、該画素の他の残りの画素の画像データとを異なる圧縮方法により圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データを格納する記憶手段と、
前記記憶手段から出力された前記画像データを伸張する伸張手段と、
前記伸張手段に入力される画素数をカウントするカウント手段と、
前記伸張手段が備える画素数設定手段とを備え、
前記カウント手段によりカウントされた画素数が、前記画素数設定手段に設定された画素数と一致した場合、前記伸張手段による前記画像データの伸張方法を変更する
ことを特徴とする。
In order to solve the above-described problems, the present invention includes an image sensor in which a plurality of sensors that read a document image are connected in a line, the document image is read line by line, and image data is output in parallel for each sensor. An image reading device,
Among the image data of the original image output from each of the plurality of sensors, the image data of one end side pixel read by each of the plurality of sensors is different from the image data of the other remaining pixels of the pixel. A compression means for compressing by a compression method;
Storage means for storing the image data compressed by the compression means;
Decompression means for decompressing the image data output from the storage means;
Counting means for counting the number of pixels input to the expansion means;
A pixel number setting means included in the decompression means,
When the number of pixels counted by the counting unit coincides with the number of pixels set by the pixel number setting unit, the expansion method of the image data by the expansion unit is changed.

また、上記課題を解決するための別の本発明は、原稿画像を読み取る複数のセンサがライン状につなぎ合わされ、1ラインずつ前記原稿画像を読み取り、前記センサごとに画像データを並列に出力するイメージセンサを備えた画像読取装置による画像読取方法であって、
前記複数のセンサそれぞれからそれぞれ出力された前記原稿画像の画像データのうち、前記複数のセンサそれぞれで読み取られた一端側の画素の画像データと、該画素の他の残りの画素の画像データとを異なる圧縮方法により圧縮する圧縮工程と、
前記圧縮工程により圧縮された画像データを記憶手段に格納する格納工程と、
前記記憶手段から出力された前記画像データを伸張手段によって伸張する工程と、
前記伸張手段に設定される画素数と、カウント手段によりカウントされた画素数とが一致した場合、前記伸張手段による前記画像データの伸張方法を変更する工程とを有し、
原稿画像を読み取る
ことを特徴とする。
In another aspect of the present invention for solving the above-described problems, a plurality of sensors that read a document image are connected in a line, the document image is read line by line, and image data is output in parallel for each sensor. An image reading method by an image reading apparatus provided with a sensor,
Out of the image data of the original image output from each of the plurality of sensors, the image data of the pixel on one end read by each of the plurality of sensors and the image data of the other remaining pixels of the pixel A compression step of compressing with different compression methods;
A storage step of storing the image data compressed by the compression step in a storage means;
Expanding the image data output from the storage means by expansion means;
A step of changing the expansion method of the image data by the expansion means when the number of pixels set in the expansion means matches the number of pixels counted by the counting means;
It is characterized by reading the original image.

本発明により、新たに圧縮用のラインメモリを保持することなく、比較的簡単な回路構成によるマルチ出力タイプのイメージセンサによる画像読取装置およびその画像読取方法を提供することが可能となる。   According to the present invention, it is possible to provide an image reading apparatus and an image reading method using a multi-output type image sensor having a relatively simple circuit configuration without newly holding a line memory for compression.

以下に、本発明の実施例について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

1ライン上に3つのセンサチップが設けられ、3つのセンサからの出力が並列に行なわれる「マルチ出力タイプ」のイメージセンサで原稿の画像を読み取った場合の、本発明の画像データの圧縮処理及び伸張処理を、図1及び図2A、図2Bを用いて説明する。   Image data compression processing according to the present invention when an image of a document is read by a “multi-output type” image sensor in which three sensor chips are provided on one line and outputs from the three sensors are performed in parallel. The decompression process will be described with reference to FIGS. 1, 2A, and 2B.

まず、1ラインのイメージセンサは左端のセンサ列206、中央のセンサ列207、右端のセンサ列208の3つから構成されており、対象となる原稿の画像を読み取る。センサ列とは、読取画素が列状に配置されているセンサチップのことを意味する。読み取り後、図2Aのように各センサ列から並列に画像データが順次A/D変換部112へ出力される。各センサ列からの画像データはシリアルに出力される。画像データ圧縮部205での圧縮処理において、左端のセンサ列206から最初に出力される画素の画像データ400は、前画素(隣の画素)の画像データが存在しない。このため、1画素分の16bitのデータの内の上位8bitのデータを使って16bitから8bitへ画像データを圧縮する。画像データ400以降にセンサ列206から出力されるその後の画素についての画像データは、DPCMエンコード方式によって圧縮処理される。   First, the one-line image sensor is composed of a leftmost sensor array 206, a central sensor array 207, and a rightmost sensor array 208, and reads an image of a target document. A sensor row means a sensor chip in which read pixels are arranged in a row. After reading, image data is sequentially output from each sensor array to the A / D converter 112 in parallel as shown in FIG. 2A. Image data from each sensor array is output serially. In the compression processing by the image data compression unit 205, the image data 400 of the pixel output first from the leftmost sensor array 206 does not include image data of the previous pixel (adjacent pixel). For this reason, the image data is compressed from 16 bits to 8 bits using the upper 8 bits of the 16 bits of data for one pixel. The image data for the subsequent pixels output from the sensor array 206 after the image data 400 is compressed by the DPCM encoding method.

一方、中央のセンサ列207から最初に出力される画素の画像データ402は、本来、左端のセンサ列206から最後に出力される画素の画像データ401に基づいて圧縮されるべきである。また、同様に右端のセンサ列208から最初に出力される画素の画像データ404は、本来中央のセンサ列206から最後に出力される画素の画像データ403に基づいて圧縮されるべきである。しかし、「マルチ出力タイプ」のイメージセンサにおいてこのように圧縮されるためには1ライン分のラインメモリを保持しなければならない。例えば、センサ列207の画像データ402をDPCM圧縮するためには、センサ列206の画像データ401が必要である。ところが画像データ401は、画像データ402よりも読み取るタイミングが早いため、画像データ402を保持しておくメモリ領域が必要となる。したがって、そのような不要なラインメモリを持たずに圧縮処理をするために、センサ列207、208の最初の画素の画像データ402、404もセンサ列206の最初の画素の画像データ400と同様の圧縮を行う。つまり、1画素分の16bitの画像データの内の上位8bitの画像データを使って16bitから8bitへ画像データを圧縮する。なお、その後の画像データは、DPCMエンコード方式によって圧縮する。図2Aにおいて、405は、センサ列208から出力される最後の画素データである。   On the other hand, the image data 402 of the pixel output first from the central sensor array 207 should be compressed based on the image data 401 of the pixel output last from the sensor array 206 at the left end. Similarly, the pixel image data 404 output first from the rightmost sensor array 208 should be compressed based on the pixel image data 403 output last from the center sensor array 206. However, in order to be compressed in this way in the “multi-output type” image sensor, a line memory for one line must be held. For example, in order to compress the image data 402 of the sensor array 207 by DPCM compression, the image data 401 of the sensor array 206 is necessary. However, since the image data 401 is read earlier than the image data 402, a memory area for holding the image data 402 is required. Therefore, in order to perform the compression process without having such an unnecessary line memory, the image data 402 and 404 of the first pixel in the sensor array 207 and 208 are the same as the image data 400 of the first pixel in the sensor array 206. Perform compression. That is, the image data is compressed from 16 bits to 8 bits using the upper 8 bits of the 16 bits of image data for one pixel. The subsequent image data is compressed by the DPCM encoding method. In FIG. 2A, 405 is the last pixel data output from the sensor array 208.

次に、伸張処理について同様に図1及び図2Bをもとに説明する。   Next, the decompression process will be described with reference to FIGS. 1 and 2B.

画像データ圧縮部205において画像データが8bitに圧縮されてからDMAコントローラ117を介してRAMに書き込まれるまでの間は、図1で示される通り、各センサ列から出力された画像データは順次並列に処理される。RAMから画像データが読み出される際、例えばエッジ強調などのその後に行われる画像処理を考慮して、原稿画像の1ライン分の画素についての画像データをこの1ライン分の画素の並び順に対応して並べ替えて読み出される。圧縮後であるためデータ量が小さく、よって1ライン分の画素についての画像データを持ったとしても、メモリの容量が少なくて済むことは言うまでもない。   From the time the image data is compressed to 8 bits in the image data compression unit 205 to the time when the image data is written to the RAM via the DMA controller 117, the image data output from each sensor array is sequentially parallel as shown in FIG. It is processed. When image data is read from the RAM, for example, image processing performed later such as edge enhancement is considered, and image data for pixels for one line of the original image is associated with the arrangement order of the pixels for one line. Sorted and read. Needless to say, the amount of data is small because it is after compression, so even if the image data for one line of pixels is stored, the memory capacity is small.

伸張時は、図2Bのように圧縮後の原稿画像の1ライン分の画素についての画像データをこの1ライン分の画素の並び順に対応して並べ替えた後、その順番でシリアルに画像データを伸張部に入力し、順次伸張処理をする。この伸張処理において、画像データ400はセンサ列206から出力された最初の画素の画像データである。従って、入力された8bitの画像データを、伸張後の16bitの画像データにおける下位の8bitの画像データとして16bitに伸張する。つまり、伸張処理後のデータ[15:0]=伸張処理前のデータ[7:0]+伸張処理前のデータ[7:0]とする。その後の画素の画像データは、順次DPCMデコード方式によって16bitに伸張する。   At the time of decompression, as shown in FIG. 2B, the image data for the pixels for one line of the original document image after compression is rearranged corresponding to the arrangement order of the pixels for one line, and then the image data is serially converted in that order. The data is input to the decompression unit and sequentially decompressed. In this decompression process, the image data 400 is the image data of the first pixel output from the sensor array 206. Accordingly, the input 8-bit image data is expanded to 16 bits as lower 8-bit image data in the expanded 16-bit image data. That is, data [15: 0] after decompression processing = data [7: 0] before decompression processing + data [7: 0] before decompression processing. The subsequent pixel image data is sequentially expanded to 16 bits by the DPCM decoding method.

「シングル出力タイプ」のイメージセンサでは、最初の画素の画像データ以外はDPCMデコード方式によって伸張すればよい。しかし、「マルチ出力タイプ」のイメージセンサでは、センサ列207から出力される最初の画素の画像データ402は、センサ列206から出力される最後の画素の画像データ401に基づいて圧縮されているのではない。センサ列206から出力される最初の画素の画像データ400と同様に、16bitの画像データの内の上位8bitの画像データに基づいて圧縮されている。このため、画像データ402は画像データ400と同様の伸張処理を施している。   In the “single output type” image sensor, other than the image data of the first pixel may be expanded by the DPCM decoding method. However, in the “multi-output type” image sensor, the image data 402 of the first pixel output from the sensor array 207 is compressed based on the image data 401 of the last pixel output from the sensor array 206. is not. Similar to the image data 400 of the first pixel output from the sensor array 206, compression is performed based on the upper 8 bits of the 16 bits of image data. For this reason, the image data 402 is subjected to the same expansion process as the image data 400.

したがって、画像データ402が伸張部に入力されたタイミングで、それまで行われていたDPCMデコード方式での伸張処理を一旦変更し、その後、再びDPCMデコード方式での伸張処理をしている。なお、画像データ404についても同様である。つまり、圧縮後の1ライン分の画素の画像データを伸張する際、画像データの途中の伸張処理において、各画素の画像データの圧縮方法によって各画素の画像データの伸張処理方法を変えている。   Therefore, at the timing when the image data 402 is input to the decompression unit, the decompression process using the DPCM decoding method that has been performed is temporarily changed, and then the decompression process using the DPCM decoding method is performed again. The same applies to the image data 404. That is, when decompressing image data of pixels for one line after compression, in the decompression process in the middle of the image data, the decompression method of the image data of each pixel is changed depending on the compression method of the image data of each pixel.

図3は、本発明を適用可能な画像読取装置101の全体構成図である。   FIG. 3 is an overall configuration diagram of an image reading apparatus 101 to which the present invention can be applied.

103はシステム全体を制御するメインCPUであり、ROM制御部105を介してROM106に格納された制御プログラムを読み出して実行する。114はCPU103のワークエリアおよび読み取った画像データを格納する記憶部としてのRAMであり、RAM制御部110を介して書き込み及び読み出しが行われる。108はこの画像読取装置に備えられたモータ113を制御するモータ制御部である。107は画像データの読み取り制御部である。読み取り制御部107は光源電流制御部111に対して光源115の点灯消灯制御信号を送り、光源115は光源電流制御部111を介して適切な電流値で上記点灯消灯制御信号に基づいて点灯消灯動作を行う。光源115から読み取り対象となる原稿に光を照射し、電荷蓄積型のイメージセンサ116によって該原稿からの反射光を光電変換して画像信号を蓄積する。読み取り制御部107はイメージセンサ116に対してライン同期信号を送り、イメージセンサ116は上記ライン同期信号に基づいて、順次画像信号を出力する。イメージセンサ116から出力された画像信号はA/D変換部112においてデジタルデータに変換され、順次読み取り制御部107に転送される。読み取られた画像データは、読み取り制御部107で処理され、DMAコントローラ117を介してRAM114に格納される。その後、画像データはRAM114からDMAコントローラ118を介して順次読み出され、画像処理部109によって画像処理され、USBデバイスI/F104を介して順次Host PC102に転送される。   A main CPU 103 controls the entire system, and reads and executes a control program stored in the ROM 106 via the ROM control unit 105. Reference numeral 114 denotes a RAM serving as a storage unit for storing the work area of the CPU 103 and the read image data, and writing and reading are performed via the RAM control unit 110. A motor control unit 108 controls a motor 113 provided in the image reading apparatus. Reference numeral 107 denotes an image data reading control unit. The read control unit 107 sends a light source 115 on / off control signal to the light source current control unit 111, and the light source 115 is turned on / off based on the light on / off control signal at an appropriate current value via the light source current control unit 111. I do. Light is emitted from a light source 115 to a document to be read, and reflected light from the document is photoelectrically converted by a charge storage type image sensor 116 to store an image signal. The reading control unit 107 sends a line synchronization signal to the image sensor 116, and the image sensor 116 sequentially outputs image signals based on the line synchronization signal. The image signal output from the image sensor 116 is converted into digital data by the A / D converter 112 and sequentially transferred to the reading controller 107. The read image data is processed by the reading control unit 107 and stored in the RAM 114 via the DMA controller 117. Thereafter, the image data is sequentially read out from the RAM 114 via the DMA controller 118, subjected to image processing by the image processing unit 109, and sequentially transferred to the host PC 102 via the USB device I / F 104.

図1を用いて読み取り制御部107の詳細を説明する。図2Aのようにセンサ列206、207、208の3つの領域に分割されたイメージセンサ116によって読み取られた画像データは、A/D変換部112によってデジタルデータに変換される。その後、読み取り制御部107に送られる。さらに、画像データパック部201において、A/D変換部112からシリアルに入力されたデジタルデータを各画素16bitのデータにパッキングする。また、同時に、各センサ列(センサチップ)から並列に出力される画像データを読み取り制御部107内の各々のデータ処理チャンネル(0ch、1ch、2ch)に振り分ける。各チャンネルに振り分けられた画像データは順次シェーディング補正部202、γ補正部203に入力され、それぞれシェーディング補正処理、γ補正処理される。その後、画素切り出し部204において所望の画像データ範囲のみを切り出し、切り出された画像データは、RAM114の容量削減のため、画像データ圧縮部(エンコード部)205において圧縮する。そして、圧縮された画像データは、DMAコントローラ117を介して、RAM114に順次格納される。   Details of the reading control unit 107 will be described with reference to FIG. Image data read by the image sensor 116 divided into the three regions of the sensor arrays 206, 207, and 208 as shown in FIG. 2A is converted into digital data by the A / D converter 112. Thereafter, it is sent to the reading control unit 107. Further, the image data pack unit 201 packs the digital data serially input from the A / D conversion unit 112 into data of each pixel 16 bits. At the same time, image data output in parallel from each sensor array (sensor chip) is distributed to each data processing channel (0ch, 1ch, 2ch) in the reading control unit 107. The image data distributed to each channel is sequentially input to the shading correction unit 202 and the γ correction unit 203, and subjected to shading correction processing and γ correction processing, respectively. Thereafter, only the desired image data range is cut out by the pixel cutout unit 204, and the cut out image data is compressed by the image data compression unit (encoding unit) 205 in order to reduce the capacity of the RAM 114. The compressed image data is sequentially stored in the RAM 114 via the DMA controller 117.

RAM114に格納された圧縮後の画像データは、DMAコントローラ118を介して原稿画像の1ライン分の画素の並び順に対応した順番で順次読み出され、画像処理部109にシリアルに入力される。画像処理部109において、画像データ圧縮部205にて圧縮された画像データが順次伸張処理された後、様々な画像処理を施され、Host PC102へ転送される。   The compressed image data stored in the RAM 114 is sequentially read out via the DMA controller 118 in an order corresponding to the pixel arrangement order of one line of the document image, and is serially input to the image processing unit 109. In the image processing unit 109, the image data compressed by the image data compression unit 205 is sequentially expanded and then subjected to various image processing and transferred to the host PC 102.

ここで、画像処理部109における伸張処理の流れについて図4を元にさらに詳細に説明する。   Here, the flow of the decompression process in the image processing unit 109 will be described in more detail with reference to FIG.

まず、画像処理部109内の画像データ伸張部300の内部レジスタ301に、画素数を設定する(つまり、画像処理部109は、画素数設定部として機能する)。具体的には、(1)左端のセンサ列206の、最初に出力される画素の画像データ400をスタートとし、中央のセンサ列207から最初に出力される画素の画像データ402までに至る画素数を第1の画素数として設定する。同様に、(2)左端のセンサ列206の、最初に出力される画素の画像データ400をスタートとし、右端のセンサ列208から最初に出力される画素の画像データ404までの画素数を、第2の画素数として設定する。同時に、(3)設定した第1の画素数と第2の画素数に達したタイミングで、データの伸張方式を「変更する」かまたは「変更しない」ようにいずれかを設定しておく。本実施例では、DPCMデコード方式をそのタイミングでリセットするように設定しておく。画像データ伸張部300には、シリアルに入力される画像データの数を画素ごとに数えるカウンタ302が実装されており、順次入力される画像データから画素数を計数する。   First, the number of pixels is set in the internal register 301 of the image data decompression unit 300 in the image processing unit 109 (that is, the image processing unit 109 functions as a pixel number setting unit). Specifically, (1) the number of pixels from the leftmost sensor row 206 starting from the image data 400 of the first output pixel to the image data 402 of the first output pixel from the central sensor row 207 Is set as the first pixel number. Similarly, (2) the image data 400 of the first output pixel of the leftmost sensor array 206 is started, and the number of pixels from the rightmost sensor array 208 to the image data 404 of the first output pixel is set to 2 is set as the number of pixels. At the same time, (3) at the timing when the set first pixel number and second pixel number are reached, either the data expansion method is set to “change” or “do not change”. In this embodiment, the DPCM decoding method is set to be reset at that timing. The image data decompression unit 300 is equipped with a counter 302 that counts the number of serially input image data for each pixel, and counts the number of pixels from sequentially input image data.

内部レジスタ301に、最初に入力される画素の画像データ400は、圧縮前の16bitの画像データにおける上位の8bitを用いて、16bitから8bitに圧縮されている。このため、この8bitの画像データは、まずシリアルにRAM114から画像データ伸張部300に入力される。そして伸張後の16bitの画像データにおける下位の8bitの画像データとして、伸張演算処理部303で16bitの画像データに伸張される。その後に入力される画像データは、順次DPCMデコード方式によって伸張演算処理部303において伸張され、16bitに伸張されて出力される。DPCMデコード方式によって画像データを伸張する際、SRAM304に前画素の画像データを保存し、その都度読み出すことでDPCMデコードの処理を行う。カウンタ302は、伸張演算処理部303が伸張処理を行うと同時に、入力された画像データから画素数を順次計数しておく。   The pixel image data 400 that is first input to the internal register 301 is compressed from 16 bits to 8 bits using the upper 8 bits of the 16-bit image data before compression. Therefore, the 8-bit image data is first serially input from the RAM 114 to the image data expansion unit 300. The decompression calculation processing unit 303 decompresses the image data to 16-bit image data as lower-order 8-bit image data in the decompressed 16-bit image data. The image data inputted thereafter is sequentially decompressed by the decompression arithmetic processing unit 303 by the DPCM decoding method, decompressed to 16 bits, and output. When decompressing image data by the DPCM decoding method, the image data of the previous pixel is stored in the SRAM 304 and read out each time to perform DPCM decoding processing. The counter 302 sequentially counts the number of pixels from the input image data at the same time as the expansion calculation processing unit 303 performs the expansion processing.

画像データ伸張部300内には、比較回路305が実装されており、カウンタ302によって計数された画素数と内部レジスタ301に設定した第1の画素数とを比較する。そして、両者が一致した場合、その一致したタイミングで、一致検出信号306を出力する。内部レジスタ301にDPCMデコード方式でのデコードをリセットする設定がされている場合、一致検出信号306との論理演算が成される。その後、伸張演算処理部303にDPCMデコード方式でのデコードをリセットするリセット信号307を出力する。リセット信号307が出力された上記タイミングで伸張演算処理部303はDPCMデコード方式でのデコードをリセットする。すなわち、そのタイミングで画像データ伸張部300に入力された画像データ402に対して、DPCMデコード方式ではない伸張処理を行なう。具体的には、伸張後の16bitの画像データにおける下位の8bitの画像データとして16bitの画像データに伸張する方式で伸張する。その後の画素についての画像データについては、再び順次DPCMデコード方式で伸張し、16bitに伸張する。   A comparison circuit 305 is mounted in the image data decompression unit 300 and compares the number of pixels counted by the counter 302 with the first number of pixels set in the internal register 301. If the two match, the coincidence detection signal 306 is output at the coincidence timing. When the internal register 301 is set to reset the DPCM decoding, a logical operation with the coincidence detection signal 306 is performed. Thereafter, a reset signal 307 for resetting decoding by the DPCM decoding method is output to the decompression arithmetic processing unit 303. At the timing when the reset signal 307 is output, the expansion arithmetic processing unit 303 resets the decoding by the DPCM decoding method. That is, decompression processing that is not based on the DPCM decoding method is performed on the image data 402 input to the image data decompression unit 300 at that timing. Specifically, the decompression is performed by a method of decompressing the 16-bit image data as the lower 8-bit image data in the decompressed 16-bit image data. The image data for the subsequent pixels is sequentially expanded again by the DPCM decoding method and expanded to 16 bits.

同様に、カウンタ302によって計数された画素数と内部レジスタ301に設定した第2の画素数とを比較する。そして、両者が一致した場合、その一致したタイミングで、一致検出信号308を出力する。内部レジスタ301にDPCMデコード方式でのデコードをリセットする設定がなされていた場合、この一致検出信号308との論理演算が成される。その後、伸張演算処理部303にDPCMデコード方式でのデコードをリセットするリセット信号307を出力する。リセット信号307が出力された上記タイミングで伸張演算処理部303はDPCMデコード方式でのデコードをリセットする。そのタイミングで画像データ伸張部300に入力された画像データ404に対して、DPCMデコード方式ではない伸張処理を行なう。具体的には、伸張後の16bitの画像データにおける下位の8bitの画像データとして16bitの画像データに伸張する方式で伸張する。その後の画素についての画像データについては、再び順次DPCMデコード方式で伸張し、16bitに伸張する。   Similarly, the number of pixels counted by the counter 302 is compared with the second number of pixels set in the internal register 301. If the two match, the coincidence detection signal 308 is output at the coincidence timing. When the internal register 301 is set to reset the decoding by the DPCM decoding method, a logical operation with the coincidence detection signal 308 is performed. Thereafter, a reset signal 307 for resetting decoding by the DPCM decoding method is output to the decompression arithmetic processing unit 303. At the timing when the reset signal 307 is output, the expansion arithmetic processing unit 303 resets the decoding by the DPCM decoding method. The image data 404 input to the image data expansion unit 300 at that timing is subjected to expansion processing that is not based on the DPCM decoding method. Specifically, the decompression is performed by a method of decompressing the 16-bit image data as the lower 8-bit image data in the decompressed 16-bit image data. The image data for the subsequent pixels is sequentially expanded again by the DPCM decoding method and expanded to 16 bits.

圧縮後の1ライン分の画素の画像データが全て伸張されて、次の圧縮後の1ライン分の画素の画像データが画像データ伸張部300に入力されると、カウンタ302はクリアされる。新たに入力された1ライン分の画素の画像データも上記と同様に順次伸張処理される。   When all the compressed image data of pixels for one line is expanded and the next compressed image data of pixels for one line is input to the image data expansion unit 300, the counter 302 is cleared. Newly input image data of pixels for one line is also sequentially expanded as described above.

以下に、本発明の画像読み取り方法の一例について図5のフローチャートを用いて説明する。   Hereinafter, an example of the image reading method of the present invention will be described with reference to the flowchart of FIG.

まず、ステップS110で、センサ列それぞれから出力された各1ライン分の原稿画像の画像データを、原稿画像の1ライン分の画素の並び順に応じて異なる圧縮方法により圧縮する。具体的には、前記センサ列それぞれで読み取られた一方の端(一端側)の画素の画像データと該画素以外の残りの画素の画像データとを異なる圧縮方法により圧縮する。例えば、センサ列の一端側の画素の画像データは該画素の画像データに基づいて圧縮し、前記残りの画素の画像データは先に読み取られる隣の画素の画像データに基づいて圧縮する。次に、ステップS120で、圧縮された画像データをメモリに格納する。次に、ステップS130で、圧縮後の画像データについて、原稿画像の1ライン分の画素の並び順に対応して前記メモリから画像データをシリアルに読み出す。次に、ステップS140で、ステップS130で読み出した画像データに対応する画素数を計数する。そして、ステップS150で、ステップS140で計数された画素数に応じて、異なる圧縮方法に対応する複数種類の伸張方法により、読み出した画像データを伸張する。このように読み取り対象の原稿画像の読み取りが終了するまで行う(ステップS160)。   First, in step S110, the image data of one line of document image output from each sensor array is compressed by different compression methods depending on the arrangement order of pixels of one line of the document image. Specifically, the image data of the pixel at one end (one end side) read by each sensor array and the image data of the remaining pixels other than the pixel are compressed by different compression methods. For example, the image data of the pixel on one end side of the sensor array is compressed based on the image data of the pixel, and the image data of the remaining pixel is compressed based on the image data of the adjacent pixel read first. Next, in step S120, the compressed image data is stored in the memory. Next, in step S130, the image data is read out serially from the memory corresponding to the arrangement order of pixels for one line of the original image with respect to the compressed image data. Next, in step S140, the number of pixels corresponding to the image data read in step S130 is counted. In step S150, the read image data is decompressed by a plurality of decompression methods corresponding to different compression methods in accordance with the number of pixels counted in step S140. This is repeated until the reading of the document image to be read is completed (step S160).

このように、本発明の画像読取装置の構成では、マルチ出力タイプのイメージセンサを用い、指定したタイミングで指定した方法にて伸張方式を変更することが可能である。カウンタによるカウントと、設定した処理方法の選択有無を選ぶだけの簡単な回路構成であり、データ圧縮に際して新たにデータ保持用のラインメモリを備えることなく圧縮処理、伸張処理をすることができる。また、DPCMデコード方式でデコードすることをリセットする画素数を任意に設定可能にすることで、イメージセンサの仕様に関わらず適用することが可能となる。また、元の画像データから希望の画像範囲を切り出す処理を行った場合など、処理すべき画素数がその都度異なる場合においても適用することが可能となる。さらに、DPCM方式でデコードすることをリセットする画素数を複数設定可能とすることで、3つより多いパラレル出力を行うイメージセンサに対しても適用することが可能となる。(5つのパラレル出力、6つのパラレル出力を行うイメージセンサ等)。また、伸張方法を、リセットするか否かをユーザにより設定可能(伸張方法選択可能)とすることで、3つより少ないパラレル出力を行うイメージセンサ(2つのパラレル出力を行うイメージセンサ等)に対しても適用することが可能となる。   As described above, in the configuration of the image reading apparatus according to the present invention, it is possible to change the expansion method by a designated method at a designated timing using a multi-output type image sensor. It is a simple circuit configuration in which only counting by the counter and selection of the set processing method is selected, and compression processing and decompression processing can be performed without newly providing a data holding line memory at the time of data compression. Further, by making it possible to arbitrarily set the number of pixels to be reset by decoding using the DPCM decoding method, it is possible to apply regardless of the specifications of the image sensor. Further, the present invention can be applied even when the number of pixels to be processed is different each time, for example, when a process of extracting a desired image range from the original image data is performed. Furthermore, by making it possible to set a plurality of pixels to be reset by decoding using the DPCM method, the present invention can be applied to an image sensor that performs more than three parallel outputs. (An image sensor or the like that performs 5 parallel outputs and 6 parallel outputs). In addition, by making it possible for the user to set whether or not to reset the expansion method (expansion method can be selected), for image sensors that perform fewer than three parallel outputs (image sensors that perform two parallel outputs, etc.) However, it can be applied.

本発明の画像読取装置における読み取り制御部での画像データの流れを示す図である。It is a figure which shows the flow of the image data in the reading control part in the image reading apparatus of this invention. マルチタイプの出力センサによる画像データの圧縮処理の流れを示す図である。It is a figure which shows the flow of the compression process of the image data by a multitype output sensor. マルチタイプの出力センサによる画像データの伸張処理の流れを示す図である。It is a figure which shows the flow of the expansion process of the image data by a multitype output sensor. 本発明の実施例である画像読取装置の全体構成図である。1 is an overall configuration diagram of an image reading apparatus that is an embodiment of the present invention. 本発明の実施例である画像読取装置内部の画像データ伸張部の構成図である。1 is a configuration diagram of an image data expansion unit inside an image reading apparatus that is an embodiment of the present invention. FIG. 本発明の画像読み取り方法の一例を示すフローチャートである。It is a flowchart which shows an example of the image reading method of this invention. 従来の画像読取装置における読み取り制御部での画像データの流れを示す図である。It is a figure which shows the flow of the image data in the reading control part in the conventional image reading apparatus.

符号の説明Explanation of symbols

101 画像読取装置
107 読み取り制御部
109 画像処理部
114 RAM
116 イメージセンサ
206 センサ列
207 センサ列
208 センサ列
101 Image Reading Device 107 Reading Control Unit 109 Image Processing Unit 114 RAM
116 Image sensor 206 Sensor array 207 Sensor array 208 Sensor array

Claims (8)

原稿画像を読み取る複数のセンサがライン状につなぎ合わされ、1ラインずつ前記原稿画像を読み取り、前記センサごとに画像データを並列に出力するイメージセンサを備えた画像読取装置であって、
前記複数のセンサそれぞれから出力された前記原稿画像の画像データのうち、前記複数のセンサそれぞれで読み取られた一端側の画素の画像データと、該画素の他の残りの画素の画像データとを異なる圧縮方法により圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データを格納する記憶手段と、
前記記憶手段から出力された前記画像データを伸張する伸張手段と、
前記伸張手段に入力される画素数をカウントするカウント手段と、
前記伸張手段が備える画素数設定手段とを備え、
前記カウント手段によりカウントされた画素数が、前記画素数設定手段に設定された画素数と一致した場合、前記伸張手段による前記画像データの伸張方法を変更する
ことを特徴とする画像読取装置。
A plurality of sensors that read a document image are connected in a line shape, the image reading device includes an image sensor that reads the document image line by line and outputs image data in parallel for each sensor,
Among the image data of the original image output from each of the plurality of sensors, the image data of one end side pixel read by each of the plurality of sensors is different from the image data of the other remaining pixels of the pixel. A compression means for compressing by a compression method;
Storage means for storing the image data compressed by the compression means;
Decompression means for decompressing the image data output from the storage means;
Counting means for counting the number of pixels input to the expansion means;
A pixel number setting means included in the decompression means,
The image reading apparatus according to claim 1, wherein when the number of pixels counted by the counting unit matches the number of pixels set by the pixel number setting unit, the expansion method of the image data by the expansion unit is changed.
前記記憶手段に記憶された前記複数のセンサごとの画像データを、前記原稿画像の1ライン分の画素の並び順に対応した順番で読み出し、前記圧縮手段にシリアルに入力する制御手段をさらに備える
ことを特徴とする請求項1に記載された画像読取装置。
The image processing apparatus further includes a control unit that reads out image data for each of the plurality of sensors stored in the storage unit in an order corresponding to an arrangement order of pixels for one line of the document image and serially inputs the data to the compression unit. The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
前記圧縮手段は、前記複数のセンサそれぞれの一端側の画素の画像データは該画素の画像データに基づいて圧縮し、前記残りの画素の画像データは先に読み取られる隣の画素の画像データに基づいて圧縮する
ことを特徴とする請求項1に記載の画像読取装置。
The compression means compresses image data of one end side of each of the plurality of sensors based on the image data of the pixel, and image data of the remaining pixel is based on image data of an adjacent pixel that is read first. The image reading apparatus according to claim 1, wherein the image reading apparatus is compressed.
前記伸張手段は、複数の伸張手段を設定可能であり、それぞれの伸張方法を選択する/しないを設定可能な伸張方法選択手段を備える
ことを特徴とする請求項2に記載された画像読取装置。
The image reading apparatus according to claim 2, wherein the decompression unit includes a decompression method selection unit that can set a plurality of decompression units and can select whether or not to select each decompression method.
前記画素数設定手段に設定される画素数は、前記複数のセンサそれぞれにおいて読み込まれる最初の画素に基づく画素数である
ことを特徴とする請求項1に記載された画像読取装置。
The image reading apparatus according to claim 1, wherein the number of pixels set in the pixel number setting unit is a number of pixels based on a first pixel read by each of the plurality of sensors.
前記伸張手段は、前記複数のセンサそれぞれの一端側の画素の画像データは該画素の画像データに基づいて伸張し、前記残りの画素の画像データは先に読み取られる隣の画素の画像データに基づいて伸張する
ことを特徴とする請求項1に記載された画像読取装置。
The expansion means expands the image data of the pixel on one end side of each of the plurality of sensors based on the image data of the pixel, and the image data of the remaining pixel is based on the image data of the adjacent pixel that is read first. The image reading apparatus according to claim 1, wherein the image reading apparatus is expanded.
前記カウント手段によりカウントされた画素数が、前記画素数設定手段に設定された画素数と一致した場合、前記伸張手段による前記画像データの伸張方法を変更する/しないの選択が可能である
ことを特徴とする請求項1に記載された画像読取装置。
When the number of pixels counted by the counting unit matches the number of pixels set by the pixel number setting unit, it is possible to select whether or not to change the expansion method of the image data by the expansion unit. The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
原稿画像を読み取る複数のセンサがライン状につなぎ合わされ、1ラインずつ前記原稿画像を読み取り、前記センサごとに画像データを並列に出力するイメージセンサを備えた画像読取装置による画像読取方法であって、
前記複数のセンサそれぞれから出力された前記原稿画像の画像データのうち、前記複数のセンサそれぞれで読み取られた一端側の画素の画像データと、該画素の他の残りの画素の画像データとを異なる圧縮方法により圧縮する圧縮工程と、
前記圧縮工程により圧縮された画像データを記憶手段に格納する格納工程と、
前記記憶手段から出力された前記画像データを伸張手段によって伸張する工程と、
前記伸張手段に設定される画素数と、カウント手段によりカウントされた画素数とが一致した場合、前記伸張手段による前記画像データの伸張方法を変更する工程とを有し、
原稿画像を読み取る
ことを特徴とする画像読取方法。
An image reading method by an image reading apparatus including an image sensor that includes a plurality of sensors that read document images connected in a line, reads the document image line by line, and outputs image data in parallel for each sensor,
Among the image data of the original image output from each of the plurality of sensors, the image data of one end side pixel read by each of the plurality of sensors is different from the image data of the other remaining pixels of the pixel. A compression step of compressing by a compression method;
A storage step of storing the image data compressed by the compression step in a storage means;
Expanding the image data output from the storage means by expansion means;
A step of changing the expansion method of the image data by the expansion means when the number of pixels set in the expansion means matches the number of pixels counted by the counting means;
An image reading method comprising reading an original image.
JP2008187914A 2007-08-03 2008-07-18 Image reading apparatus and image reading method Active JP4981759B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008187914A JP4981759B2 (en) 2007-08-03 2008-07-18 Image reading apparatus and image reading method
US12/183,511 US8149469B2 (en) 2007-08-03 2008-07-31 Image reading apparatus and image reading method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007203402 2007-08-03
JP2007203402 2007-08-03
JP2008187914A JP4981759B2 (en) 2007-08-03 2008-07-18 Image reading apparatus and image reading method

Publications (3)

Publication Number Publication Date
JP2009060593A true JP2009060593A (en) 2009-03-19
JP2009060593A5 JP2009060593A5 (en) 2011-08-04
JP4981759B2 JP4981759B2 (en) 2012-07-25

Family

ID=40555865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008187914A Active JP4981759B2 (en) 2007-08-03 2008-07-18 Image reading apparatus and image reading method

Country Status (1)

Country Link
JP (1) JP4981759B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0447753A (en) * 1990-06-15 1992-02-17 Canon Inc Picture reader
JPH10200757A (en) * 1997-01-09 1998-07-31 Canon Inc Image processing unit, its method, and image processing system
JP2007096738A (en) * 2005-09-29 2007-04-12 Seiko Epson Corp Image processing device, and program for allowing computer to perform image processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0447753A (en) * 1990-06-15 1992-02-17 Canon Inc Picture reader
JPH10200757A (en) * 1997-01-09 1998-07-31 Canon Inc Image processing unit, its method, and image processing system
JP2007096738A (en) * 2005-09-29 2007-04-12 Seiko Epson Corp Image processing device, and program for allowing computer to perform image processing method

Also Published As

Publication number Publication date
JP4981759B2 (en) 2012-07-25

Similar Documents

Publication Publication Date Title
US8867612B2 (en) Decoding method for decoding an incoming bitstream and method for performing the same
JPS63236472A (en) Picture information encoding processing system
US20060233444A1 (en) JBIG coding apparatus and method with low cost, high-performance ping-pong buffer arrangement
JP3621512B2 (en) Digital information encoding apparatus, digital information decoding apparatus, digital information encoding / decoding apparatus, digital information encoding method, and digital information decoding method
JP5101962B2 (en) Image coding apparatus, control method therefor, and computer program
JP2010074676A (en) Image compression apparatus and image decompression apparatus
US7848582B2 (en) Image processing method, image processing apparatus, program of image processing method and recording medium recording program of image processing method
US8554003B2 (en) Image data processing apparatus, image data processing method, and computer readable medium
US8149469B2 (en) Image reading apparatus and image reading method
JP4981759B2 (en) Image reading apparatus and image reading method
US6160640A (en) Image scanning apparatus for scanning both sides of an original sheet with a simple memory structure and an image data outputting apparatus for separating image data of each side from image data of both sides
JP2009212800A (en) Image compression apparatus
US8280177B2 (en) Encoding device using parallelized encoding, decoding device using parallelized decoding, and image forming device, method, and program storage medium including the same
JP4956517B2 (en) Data compression device, image reading device
CN115250351A (en) Compression method, decompression method and related products for image data
JP3866568B2 (en) Image compression method
JP3854849B2 (en) Data decompression processing method and data decompression processing apparatus
JP2019201288A5 (en)
JP3249647B2 (en) Image processing device
JP2000138933A (en) Image coder
JP2001217722A (en) Device and method for encoding information, and computer readable storage medium
JP4133678B2 (en) Image encoding device
JP2002199227A (en) Image compression method and device, recording medium
CN117333559A (en) Image compression method, device, electronic equipment and storage medium
JPS6393077A (en) Image input device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110622

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120314

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120323

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120420

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150427

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4981759

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151