JP2012095010A - Image reading device - Google Patents
Image reading device Download PDFInfo
- Publication number
- JP2012095010A JP2012095010A JP2010239092A JP2010239092A JP2012095010A JP 2012095010 A JP2012095010 A JP 2012095010A JP 2010239092 A JP2010239092 A JP 2010239092A JP 2010239092 A JP2010239092 A JP 2010239092A JP 2012095010 A JP2012095010 A JP 2012095010A
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- cis
- pixel data
- image
- data
- 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.)
- Ceased
Links
Images
Landscapes
- Image Input (AREA)
- Facsimile Heads (AREA)
- Storing Facsimile Image Data (AREA)
Abstract
Description
本発明は、原稿の画像を読み取る画像読取装置に関する。 The present invention relates to an image reading apparatus that reads an image of a document.
従来から、原稿の画像をCIS(Contact Image Sensor)により読み取り、その読み取った画像データをメモリに格納し、画像補正処理等の際に、メモリから画像データを読み出して、画像に各種の処理を施す画像読取装置が知られている。 Conventionally, an image of a document is read by a CIS (Contact Image Sensor), the read image data is stored in a memory, and the image data is read from the memory and subjected to various kinds of processing during image correction processing or the like. An image reading apparatus is known.
CISは、1方向に配列された複数の受光素子を有しており、各受光素子に対して相対移動する原稿の画像を、受光素子により1ラインずつ読み取り、各受光素子の受光量を画像の各画素データとする。画像読取装置は、CISから出力された各画素データをメモリに書き込む。 The CIS has a plurality of light receiving elements arranged in one direction. An image of a document that moves relative to each light receiving element is read line by line by the light receiving elements, and the amount of light received by each light receiving element is calculated. Each pixel data is used. The image reading apparatus writes each pixel data output from the CIS into the memory.
このようなCISには、画素データの出力方式が異なるリニア出力タイプと分離出力タイプが在る。リニア出力タイプは、各画素データを画素配列順に出力する。分離出力タイプは、各画素を、基準画素から数えて奇数番目に配置された画素から成る奇数画素グループと、基準画素から数えて偶数番目に配置された画素から成る偶数画素グループとに分離して、それら分離されたグループ毎に画素データを画素配列順に出力する。 Such CIS includes a linear output type and a separate output type that differ in the output method of pixel data. The linear output type outputs each pixel data in the order of pixel arrangement. The separated output type separates each pixel into an odd-numbered pixel group composed of odd-numbered pixels counted from the reference pixel and an even-numbered pixel group composed of even-numbered pixels counted from the reference pixel. The pixel data is output in the pixel arrangement order for each of the separated groups.
上記画像読取装置においては、いずれの出力タイプのCISを用いるかによって、メモリ内の画素データの書き込み位置が異なる。従って、従来の画像読取装置においては、製造時に、CISの出力タイプ毎に、CISに対応して画素データを画素配列順に読み出す画像読出し回路を用意して組み込み、これにより、出荷後、画素データを画素配列順に読み出して、画像への各種処理を正確に実行できるようにしている。しかしながら、製造時に、CISの出力タイプ別に、CISに対応した画像読出し回路を準備する必要があり、製造コストが増加してしまう。 In the image reading apparatus, the writing position of the pixel data in the memory differs depending on which output type CIS is used. Therefore, in the conventional image reading apparatus, for each CIS output type, an image reading circuit that reads out pixel data corresponding to the CIS in the order of pixel arrangement is prepared and incorporated at the time of manufacture. It reads out in the pixel arrangement order so that various processes on the image can be executed accurately. However, at the time of manufacturing, it is necessary to prepare an image reading circuit corresponding to the CIS for each output type of the CIS, which increases the manufacturing cost.
ところで、CISの出力方式に応じて、メモリにおいてCISによる読取画像データの書き込みアドレスを制御する画像読取装置が知られている(例えば、特許文献1参照)。また、画像読取装置ではないが、読み取った画像を複数のブロックに分割し、各ブロックの画像を並行に出力可能なCIS(例えば、特許文献2参照)や、解像度に応じた読取速度が実現可能であり、かつ、高速なCIS(例えば、特許文献3参照)が知られている。しかしながら、特許文献1〜3に記載の技術では、上記の問題を解決することは難しい。
By the way, an image reading apparatus that controls a write address of read image data by CIS in a memory in accordance with a CIS output method is known (for example, see Patent Document 1). Moreover, although it is not an image reading device, it can realize a CIS that can divide the read image into a plurality of blocks and output the image of each block in parallel (for example, see Patent Document 2) and a reading speed according to the resolution. And high-speed CIS (see, for example, Patent Document 3) is known. However, it is difficult to solve the above problems with the techniques described in
本発明は、上記の従来の問題を解決するためになされたものであり、出力タイプが異なるCISのいずれが設けられたとしても、製造コストを抑えながら、CISから記憶手段に記憶される各画素データを画素配列順に読み出すことができ、画像への各種処理を正確に実行することができる画像読取装置を提供することを目的とする。 The present invention has been made to solve the above-described conventional problems, and each pixel stored in the storage means from the CIS while suppressing the manufacturing cost regardless of which of the CISs having different output types is provided. An object of the present invention is to provide an image reading apparatus capable of reading data in the order of pixel arrangement and accurately executing various processes on an image.
上記目的を達成するために本発明の画像読取装置は、1方向に配列された複数の受光素子を有し、該複数の受光素子に対して相対移動する原稿の画像を該受光素子により1ラインずつ読み取り、各受光素子の受光量を該画像の各画素データとするCIS(Contact Image Sensor)と、前記CISにより読み取られた各ラインの画像データを記憶するための記憶手段と、前記CISにより読み取られ該CISから出力される各ラインの画像データを前記記憶手段に記憶させる記憶制御手段と、前記記憶手段に記憶されている各ラインの画像データを読み出す画像読出し手段と、前記画像読出し手段により読み出された各ラインの画像データを基に各種処理を実行可能な処理手段と、を備え、前記記憶制御手段は、前記CISからの各画素データの出力順と各画素データのアドレスの順序とが同じになるように各画素データを前記記憶手段に記憶させる画像読取装置において、前記CISは、前記各画素データを画素配列順に出力する第1の出力タイプであるか、又は、前記各画素を、基準画素から数えて奇数番目に配置された画素から成る奇数画素グループと、該基準画素から数えて偶数番目に配置された画素から成る偶数画素グループとに分離して、それら分離されたグループ毎に画素データを画素配列順に出力する第2の出力タイプであり、前記CISが前記第1の出力タイプと前記第2の出力タイプのいずれであるかをユーザが入力するためのタイプ判別手段と、を備え、前記記憶制御手段は、前記タイプ判別手段により前記CISが第1の出力タイプであると判別されたときには、前記記憶手段の予め設定された第1のスタートアドレスから順に前記各画素データを記憶させ、前記タイプ判別手段により前記CISが第2の出力タイプであると判別されたときには、該CISから出力される各画素データが前記奇数画素グループと前記偶数画素グループのいずれであるかを判別し、前記奇数画素グループと判別された画素データを、前記記憶手段の予め設定された第2のスタートアドレスから順に記憶させ、前記偶数画素グループと判別された画素データを、該記憶手段の予め設定された第3のスタートアドレスから順に記憶させ、前記画像読出し手段は、前記タイプ判別手段により前記CISが第1の出力タイプであると判別されたときには、前記第1のスタートアドレスから順に画素データを読み出すことにより、各画素データを画素配列順に読み出し、前記タイプ判別手段により前記CISが第2の出力タイプであると判別されたときには、前記第2のスタートアドレスと前記第3のスタートアドレスとから順に、前記奇数画素グループの画素データと前記偶数画素グループの画素データとを交互に読み出すことにより、各画素データを画素配列順に読み出すことを特徴とする。 In order to achieve the above object, an image reading apparatus of the present invention has a plurality of light receiving elements arranged in one direction, and an image of an original that moves relative to the plurality of light receiving elements is displayed on the line by the light receiving elements. CIS (Contact Image Sensor) that reads each pixel and uses the amount of light received by each light receiving element as each pixel data of the image, storage means for storing image data of each line read by the CIS, and reading by the CIS Storage control means for storing the image data of each line output from the CIS in the storage means, image reading means for reading out the image data of each line stored in the storage means, and reading by the image reading means. Processing means capable of executing various processes based on the output image data of each line, and the storage control means outputs each pixel data from the CIS In the image reading apparatus that stores the pixel data in the storage means so that the order of the addresses of the pixel data is the same, the CIS is a first output type that outputs the pixel data in the order of pixel arrangement. Or each pixel is separated into an odd pixel group consisting of odd-numbered pixels counted from a reference pixel and an even pixel group consisting of even-numbered pixels counted from the reference pixel Then, it is a second output type that outputs pixel data in order of pixel arrangement for each of the separated groups, and the user determines whether the CIS is the first output type or the second output type. A type discriminating means for inputting, when the storage discriminating means judges that the CIS is the first output type by the type discriminating means. Each pixel data is stored in order from the preset first start address of the storage means, and when the CIS is determined to be the second output type by the type determination means, it is output from the CIS. It is determined whether each pixel data is the odd pixel group or the even pixel group, and the pixel data determined as the odd pixel group is stored in order from a preset second start address of the storage means. The pixel data determined as the even-numbered pixel group is stored in order from a preset third start address of the storage means, and the image reading means is configured to output the first output of the CIS by the type determination means. When it is determined that it is a type, each pixel is read out in order from the first start address, thereby Data is read in order of pixel arrangement, and when the CIS is determined to be the second output type by the type determining means, the odd pixel group is sequentially read from the second start address and the third start address. Each pixel data is read in order of pixel arrangement by alternately reading pixel data and pixel data of the even-numbered pixel group.
この発明において、前記CISは、前記受光素子の受光量の分解能が予め定められた複数種類のいずれかであり、前記分解能が前記複数種類のいずれであるかを入力するための分解能入力手段と、前記画像読出し手段から前記処理手段に伝送される前記画素データを一時的に記憶する画素記憶手段と、前記画素記憶手段に前記画素データが格納される毎に該画素記憶手段のポインタをインクリメントするポインタインクリメント手段と、をさらに備え、前記ポインタインクリメント手段は、前記分解能入力手段により入力される分解能情報を基に、前記ポインタのインクリメントの回数を調整することが好ましい。 In the present invention, the CIS is one of a plurality of predetermined resolutions of the amount of light received by the light receiving element, and resolution input means for inputting which of the plurality of resolutions is the resolution. Pixel storage means for temporarily storing the pixel data transmitted from the image reading means to the processing means, and a pointer for incrementing a pointer of the pixel storage means each time the pixel data is stored in the pixel storage means Preferably, the pointer increment means adjusts the number of increments of the pointer based on the resolution information input by the resolution input means.
本発明によれば、CISが、読み取った各画素データを異なった方式で出力する出力タイプのいずれであったとしても、画像読出し手段は、タイプ判別手段により判別されたCISの出力タイプ情報を基に、CISから出力され記憶手段に記憶される各画素データを画素配列順に読み出すことができ、画像への各種処理を正確に実行することができる。しかも、画像処理を正確に行えるようにするために、製造の際、CISの出力タイプ毎に、CISに対応した画像読出し手段を用意する必要がなくなり、従って、部品の共通化を図ることができ、製造コストを抑えることができる。 According to the present invention, regardless of the output type in which each read pixel data is output in a different manner, the image reading means is based on the CIS output type information determined by the type determining means. In addition, each pixel data output from the CIS and stored in the storage means can be read in the order of pixel arrangement, and various processes on the image can be executed accurately. In addition, in order to perform image processing accurately, it is not necessary to prepare an image reading means corresponding to CIS for each output type of CIS at the time of manufacturing, and therefore, it is possible to share parts. Manufacturing costs can be reduced.
以下、本発明の一実施形態に係る画像読取装置について図面を参照して説明する。図1は、本実施形態の画像読取装置の構成を示す。この画像読取装置1は、原稿の画像を読み取るスキャナ等に適用される。画像読取装置1は、上記画像を読み取るCIS(Contact Image Sensor)2と、CIS2により読み取られた画像データを記憶するためのメモリ3(記憶手段)と、CIS2により読み取られた画像データをメモリ3に記憶させ、かつ、メモリ3から適宜、画像データを読み出す記憶制御回路4(記憶制御手段、画像読出し手段)とを備える。記憶制御回路4は、CIS2の後述する出力タイプ及び分解能の種類に応じて、データ読出し処理の内容を変更する。
Hereinafter, an image reading apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of the image reading apparatus of the present embodiment. The
また、画像読取装置1は、記憶制御回路4により読み出された画像データに所定の処理を施すことにより、画像のガンマ補正を行うガンマ補正回路5(処理手段)と、記憶制御回路4からガンマ補正回路5へのデータ伝送経路中に設けられ、画像データを一時的に記憶するFIFO(First in, First Out)回路6(画素記憶手段)とを備える。さらに、画像読取装置1は、CIS2の分解能の種類を入力するための入力回路7(分解能入力手段)と、上記各回路を制御し、かつCIS2の出力タイプを判別するマイクロプロセッサ8(タイプ判別手段)とを備える。
In addition, the
CIS2は、1方向に配列された複数の受光素子を有するラインセンサである。このラインセンサは、複数の受光素子に対して相対移動する原稿の画像を一定期間毎又は一定移動距離毎に、受光素子により1ラインずつ読み取り、各受光素子の受光量を、読み取った画像の各画素データとし、各画素データをライン毎に画素配列順に出力する。上記受光素子の配列方向は、原稿の副走査方向と同じである。上記受光素子と原稿とを相対的に移動させるため、CIS2が原稿の主走査方向に移動可能に構成されていてもよいし、画像読取装置1に、原稿を上記受光素子の配列方向と直交する方向に移動させる移動機構が設けられていてもよい。
The CIS 2 is a line sensor having a plurality of light receiving elements arranged in one direction. This line sensor reads an image of a document that moves relative to a plurality of light receiving elements, line by line by a light receiving element at regular intervals or at constant movement distances, and determines the amount of light received by each light receiving element. The pixel data is output in the pixel arrangement order for each line. The arrangement direction of the light receiving elements is the same as the sub-scanning direction of the document. In order to relatively move the light receiving element and the original, the
CIS2は、画素データの出力方式が異なるリニア出力タイプと分離出力タイプのいずれでもよい。リニア出力タイプ(第1の出力タイプ)は、各画素データを画素配列順に出力する。分離出力タイプ(第2の出力タイプ)は、各画素を、基準画素から数えて奇数番目に配置された画素(以下、奇数画素という)から成る奇数画素グループと、基準画素から数えて偶数番目に配置された画素(以下、偶数画素という)から成る偶数画素グループとに分離して、それら分離されたグループ毎に画素データを画素配列順に出力する。画像読取装置1は、CIS2がいずれの出力タイプであっても、CIS2と通信可能に構成されている。CIS2は、分離出力タイプの場合、まず奇数画素グループの画素データを送出し、次に偶数画素グループの画素データを送出する。また、CIS2は、各受光素子の受光量の分解能が予め定められた複数種類のいずれかであり、画像読取装置1は、それら複数種類の分解能のいずれにも対応可能に構成されている。本実施形態のCIS2の分解能は、例えば8ビットと16ビット(実際に使用されるのは12ビットの画素データ)の2種類のいずれかである。
The
メモリ3は、CIS2により読み取られた各ラインの画像データを記憶可能なSDRAM(Synchronous Dynamic Random Access Memory)等により構成される。メモリ3の記憶単位は例えば8ビットである。
The
記憶制御回路4は、DMA I/F(Direct Memory Access Interface)等により構成される。記憶制御回路4は、CIS2から出力される各ラインの画像データをメモリ3に記憶させる。各ラインの画像データは、1ラインの画素データ列から成っている。記憶制御回路4は、ライン毎に、CIS2からの各画素データの出力順と各画素データのアドレスの順序とが同じになるように各画素データをメモリ3に記憶させる。
The
また、記憶制御回路4(ポインタインクリメント手段)は、FIFO回路6に画素データが格納される毎にFIFO回路6のポインタをインクリメントする機能を有する。
The storage control circuit 4 (pointer increment means) has a function of incrementing the pointer of the
FIFO回路6は、記憶制御回路4からガンマ補正回路5に転送される画素データを一時的に記憶するバッファリング方式のフロー制御回路により構成される。このフロー制御回路は、転送される画素データを、ガンマ補正回路5が処理可能な状態になるまで記憶し、その後、ガンマ補正回路5に出力する。この出力順は、画素データがFIFO回路6に入力された順と同じ順序である。FIFO回路6の記憶単位は例えば8ビットにする。
The
入力回路7は、CIS2の各受光素子の分解能が上記複数種類のいずれであるかを入力するためのインタフェース等により構成されており、本実施形態では、上記分解能が8ビットと16ビットの2種類のいずれであるかを入力可能とされている。入力回路7は、例えば、そのような入力のためのトグルスイッチ、波形スイッチ、又はスライドスイッチ等の2極スイッチを有する。上記分解能についての入力情報に基づき、記憶制御回路4は、FIFO回路6のポインタのインクリメントの回数を調整する。具体的には、記憶制御回路4は、上記分解能が8ビットと入力されたとき、インクリメントの回数を1回とし、上記分解能が16ビットと入力されたとき、インクリメントの回数を2回とする。入力回路7は、上記分解能の種類だけでなく、他の情報も入力可能であってもよい。
The
マイクロプロセッサ8には、CIS2により出力された画素データが入力され、マイクロプロセッサ8は、その入力された画素データを記憶制御回路4に転送する。記憶制御回路4は、この転送された画素データをメモリ3に格納する。また、マイクロプロセッサ8は、CIS2がリニア出力タイプと分離出力タイプのいずれであるかを判別する。この判別処理は、例えば、マイクロプロセッサ8においてCIS2からの画素データ入力用に設けた端子のうち、実際に画素データが入力された端子数に応じて行われる。その端子数が1つであればCIS2はリニア出力タイプと判別され、上記端子数が2つであれば分離出力タイプと判別される。
The microprocessor 8 receives the pixel data output from the
次に、記憶制御回路4におけるメモリ3へのデータ書込み処理について説明する。記憶制御回路4は、マイクロプロセッサ8によりCIS2がリニア出力タイプであると判別されたときには、メモリ3の予め設定された第1スタートアドレスから順に各画素データを記憶させる。CIS2により読み取られたライン画像が複数である場合、最初に読み取られたライン画像の画素データ列は、上記のように格納される。そして、次以降に読み取られたライン画像の画素データ列は、最初のライン画像が格納されたアドレス領域の続きに連続して、ラインの読取り順と同じアドレス順で格納される。
Next, data write processing to the
記憶制御回路4は、マイクロプロセッサ8によりCIS2が分離出力タイプであると判別されたときには、CIS2から出力される各画素データが奇数画素グループと偶数画素グループのいずれであるかを判別する。この判別処理においては、例えば、予め設定されたCIS2の画素数、又は入力回路7から入力されるCIS2の画素数に基づいて奇数画素の個数が算出される。そして、CIS2から出力される画素データの個数がカウントされ、そのカウント数が上記の算出された奇数画素の個数と等しくなるまでは、出力される画素データが奇数画素のデータであると判別され、その後に出力される画素データについては偶数画素のデータと判別される。
When the microprocessor 8 determines that the
そして、記憶制御回路4は、奇数画素グループと判別された画素データを、メモリ3の予め設定された第2スタートアドレスから順に記憶させ、偶数画素グループと判別された画素データを、メモリ3の予め設定された第3スタートアドレスから順に記憶させる。CIS2により読み取られたライン画像が複数である場合、最初に読み取られたライン画像の奇数画素グループと偶数画素グループとは、上記のように格納される。そして、次以降に読み取られたライン画像の奇数画素グループと偶数画素グループとは、それぞれ、最初のライン画像の奇数画素グループと偶数画素グループとがそれぞれ格納されたアドレス領域の続きに連続して、ラインの読取り順と同じアドレス順で格納される。上記第1スタートアドレス、第2スタートアドレス、及び第3スタートアドレスは、入力回路7により設定可能であり、第1スタートアドレスと第2スタートアドレスとは同じでもよい。第3スタートアドレスは、第2スタートアドレスよりもアドレス値が大きく設定される。
Then, the
次に、記憶制御回路4におけるメモリ3からの画素データ読出し処理について説明する。記憶制御回路4は、マイクロプロセッサ8によりCIS2がリニア出力タイプであると判別されたときには、第1スタートアドレスから順に画素データを読み出し、それにより、各画素データをライン順に、かつライン毎の画素配列順に読み出す。記憶制御回路4は、マイクロプロセッサ8によりCIS2が分離出力タイプであると判別されたときには、第2スタートアドレスと第3スタートアドレスとから順に、奇数画素グループの画素データと偶数画素グループの画素データとを交互に読み出し、それにより、各画素データをライン順に、かつライン毎の画素配列順に読み出す。そして、記憶制御回路4は、読み出された画素データを順次、FIFO回路6に書き込む。
Next, pixel data reading processing from the
図2及び図3は、上記画素データ読出し処理の詳細な手順の一例を示す。図2に示されるように、記憶制御回路4は、マイクロプロセッサ8によりCIS2がリニア出力タイプであると判別されたとき(S101でYes)、メモリ3のポインタを第1スタートアドレスに設定する(S102)。
2 and 3 show an example of a detailed procedure of the pixel data reading process. As shown in FIG. 2, when the microprocessor 8 determines that the
入力回路7により、CIS2の各受光素子の分解能が8ビットである旨が入力された場合(S103でYes)、記憶制御回路4は、メモリ3のポインタにより指定されるアドレスの画素データを読み出し(S104)、その読み出された画素データを、FIFO回路6においてポインタにより指定される記憶領域に書き込む(S105)。
When the
そして、記憶制御回路4は、メモリ3のポインタを1回、インクリメントし(S106)、FIFO回路6のポインタを1回、インクリメントする(S107)。全画素データの読出しが終了していなければ(S108でNo)、S104〜S107の処理が繰り返され、第1スタートアドレスから順に画素データが読み出される。
Then, the
入力回路7により、CIS2の各受光素子の分解能が16ビットである旨が入力された場合(S103でNo、S109でYes)、記憶制御回路4は、メモリ3のポインタにより指定されるアドレスと次のアドレスの画素データを読み出し(S110)、その読み出された画素データを、FIFO回路6においてポインタにより指定される記憶領域に書き込む(S111)。
When the
記憶制御回路4は、メモリ3のポインタを2回、インクリメントし(S112)、FIFO回路6のポインタを2回、インクリメントする(S113)全画素データの読出しが終了していなければ(S114でNo)、S110〜S113の処理が繰り返される。
The
図3に示されるように、マイクロプロセッサ8によりCIS2が分離出力タイプであると判別されたとき(S101でNo、S201でYes)、記憶制御回路4は、メモリ3のポインタを第2スタートアドレスに設定する(S202)。入力回路7により、CIS2の各受光素子の分解能が8ビットである旨が入力された場合(S203でYes)、S104、S105、S107と同内容の処理を実行する(S204〜S206)。
As shown in FIG. 3, when the microprocessor 8 determines that CIS2 is a separate output type (No in S101, Yes in S201), the
記憶制御回路4は、全画素データの読出しが終了していなければ(S207でNo)、メモリ3において、現在のポインタが指定しているアドレスに、第3スタートアドレスと第2スタートアドレスとのアドレス差を加えたアドレスを算出し(S208)、その算出したアドレスにポインタを移動させる(S209)。その後、S104〜S107と同じ内容の処理が実行される(S210〜S213)。
If the reading of all the pixel data has not been completed (No in S207), the
記憶制御回路4は、全画素データの読出しが終了していなければ(S214でNo)、メモリ3において、現在のポインタが指定するアドレスから上記アドレス差を減じたアドレスを算出し(S215)、その算出したアドレスにポインタを移動し(S216)、S204の処理に戻る。
If the reading of all pixel data has not been completed (No in S214), the
入力回路7により、CIS2の各受光素子の分解能が16ビットである旨が入力された場合(S203でNo、S217でYes)、S110、S111、S113と同内容の処理を実行する(S218〜S220)。
When the
記憶制御回路4は、全画素データの読出しが終了していなければ(S221でNo)、S208、S209、S110〜S113と同内容の処理を行う(S222〜S227)。その後、記憶制御回路4は、全画素データの読出しが終了していなければ(S228でNo)、S215、S216と同内容の処理を実施し(S229、S230)、S218以降の処理を再び実行する。
If the reading of all pixel data has not been completed (No in S221), the
本実施形態においては、CIS2が、読み取った各画素データを出力する方式がリニア出力タイプと分離出力タイプのいずれであったとしても、記憶制御回路4は、マイクロプロセッサ8により判別されるCIS2の出力タイプ情報を基に、CIS2から出力されメモリ3に記憶される各画素データを画素配列順に読み出すことができる。従って、ガンマ補正回路5による画像へのガンマ補正を正確に実行することができる。しかも、ガンマ補正処理を正確に行えるようにするために、製造時に、CIS2の出力タイプ毎に、CIS2に対応した記憶制御回路を用意する必要がなくなり、従って、部品の共通化を図ることができ、製造コストを抑えることができる。
In this embodiment, the
また、CIS2の各受光素子の受光量の分解能が8ビットと16ビットのいずれであっても、記憶制御回路4は、入力回路7から入力される分解能情報を基に、各受光素子の受光量に対応する各画素データを画素単位で、FIFO回路6を介してガンマ補正回路5に正確に伝送することができる。従って、ガンマ補正回路5によるガンマ補正の正確さを向上することができる。しかも、ガンマ補正処理を正確に行えるようにするために、製造時に、分解能が異なるCIS2毎に、CIS2に対応した記憶制御回路を用意する必要がなくなり、従って、部品の共通化を図ることができる。
In addition, regardless of whether the resolution of the light reception amount of each light receiving element of
なお、本発明は、上記の実施形態の構成に限定されるものでなく、使用目的に応じ、様々な変形が可能である。例えば、原稿画像の各ラインの画像データにデータ処理を施し、ガンマ処理以外の他の処理を原稿画像に実行可能な処理回路を設けてもよい。 In addition, this invention is not limited to the structure of said embodiment, A various deformation | transformation is possible according to a use purpose. For example, a processing circuit may be provided that performs data processing on the image data of each line of the document image and can execute processing other than gamma processing on the document image.
1 画像読取装置
2 CIS
3 メモリ(記憶手段)
4 記憶制御回路(記憶制御手段、画像読出し手段、ポインタインクリメント手段)
5 ガンマ補正回路(処理手段)
6 FIFO回路(画素記憶手段)
7 入力回路(分解能入力手段)
8 マイクロプロセッサ(タイプ判別手段)
1
3 Memory (memory means)
4 Storage control circuit (storage control means, image reading means, pointer increment means)
5 Gamma correction circuit (processing means)
6 FIFO circuit (pixel storage means)
7 Input circuit (resolution input means)
8 Microprocessor (Type discrimination means)
Claims (2)
前記CISにより読み取られた各ラインの画像データを記憶するための記憶手段と、
前記CISにより読み取られ該CISから出力される各ラインの画像データを前記記憶手段に記憶させる記憶制御手段と、
前記記憶手段に記憶されている各ラインの画像データを読み出す画像読出し手段と、
前記画像読出し手段により読み出された各ラインの画像データを基に各種処理を実行可能な処理手段と、を備え、
前記記憶制御手段は、前記CISからの各画素データの出力順と各画素データのアドレスの順序とが同じになるように各画素データを前記記憶手段に記憶させる画像読取装置において、
前記CISは、前記各画素データを画素配列順に出力する第1の出力タイプであるか、又は、前記各画素を、基準画素から数えて奇数番目に配置された画素から成る奇数画素グループと、該基準画素から数えて偶数番目に配置された画素から成る偶数画素グループとに分離して、それら分離されたグループ毎に画素データを画素配列順に出力する第2の出力タイプであり、
前記CISが前記第1の出力タイプと前記第2の出力タイプのいずれであるかを判別するタイプ判別手段と、を備え、
前記記憶制御手段は、
前記タイプ判別手段により前記CISが第1の出力タイプであると判別されたときには、前記記憶手段の予め設定された第1のスタートアドレスから順に前記各画素データを記憶させ、
前記タイプ判別手段により前記CISが第2の出力タイプであると判別されたときには、該CISから出力される各画素データが前記奇数画素グループと前記偶数画素グループのいずれであるかを判別し、前記奇数画素グループと判別された画素データを、前記記憶手段の予め設定された第2のスタートアドレスから順に記憶させ、前記偶数画素グループと判別された画素データを、該記憶手段の予め設定された第3のスタートアドレスから順に記憶させ、
前記画像読出し手段は、
前記タイプ判別手段により前記CISが第1の出力タイプであると判別されたときには、前記第1のスタートアドレスから順に画素データを読み出すことにより、各画素データを画素配列順に読み出し、
前記タイプ判別手段により前記CISが第2の出力タイプであると判別されたときには、前記第2のスタートアドレスと前記第3のスタートアドレスとから順に、前記奇数画素グループの画素データと前記偶数画素グループの画素データとを交互に読み出すことにより、各画素データを画素配列順に読み出すことを特徴とする画像読取装置。 An image of a document having a plurality of light receiving elements arranged in one direction and moving relative to the plurality of light receiving elements is read line by line by the light receiving elements, and the amount of light received by each light receiving element is determined for each pixel of the image. CIS (Contact Image Sensor) as data,
Storage means for storing image data of each line read by the CIS;
Storage control means for storing image data of each line read by the CIS and output from the CIS in the storage means;
Image reading means for reading image data of each line stored in the storage means;
Processing means capable of executing various processes based on the image data of each line read by the image reading means,
In the image reading apparatus, the storage control unit stores the pixel data in the storage unit so that the output order of the pixel data from the CIS and the address order of the pixel data are the same.
The CIS is a first output type that outputs the pixel data in order of pixel arrangement, or an odd pixel group composed of pixels that are odd-numbered when the pixels are counted from a reference pixel; It is a second output type that separates into even-numbered pixel groups composed of even-numbered pixels counted from the reference pixel, and outputs pixel data in the pixel arrangement order for each of the separated groups.
Type discrimination means for discriminating whether the CIS is the first output type or the second output type;
The storage control means
When the type discriminating means discriminates that the CIS is the first output type, each pixel data is stored in order from the preset first start address of the storage means,
When the CIS is determined to be the second output type by the type determination unit, it is determined whether each pixel data output from the CIS is the odd pixel group or the even pixel group, The pixel data determined to be an odd pixel group is stored in order from the preset second start address of the storage means, and the pixel data determined to be the even pixel group is stored in the preset first data of the storage means. Store in order from the start address of 3,
The image reading means includes
When the CIS is determined to be the first output type by the type determining means, the pixel data is read in order from the first start address, thereby reading each pixel data in the pixel arrangement order.
When the CIS is determined to be the second output type by the type determining means, the pixel data of the odd pixel group and the even pixel group are sequentially from the second start address and the third start address. An image reading apparatus that reads out each pixel data in the order of pixel arrangement by alternately reading out the pixel data of the first and second pixels.
前記分解能が前記複数種類のいずれであるかを入力するための分解能入力手段と、
前記画像読出し手段から前記処理手段に伝送される前記画素データを一時的に記憶する画素記憶手段と、
前記画素記憶手段に前記画素データが格納される毎に該画素記憶手段のポインタをインクリメントするポインタインクリメント手段と、をさらに備え、
前記ポインタインクリメント手段は、前記分解能入力手段により入力される分解能情報を基に、前記ポインタのインクリメントの回数を調整することを特徴とする請求項1に記載の画像読取装置。 The CIS is any one of a plurality of predetermined resolutions of the amount of light received by the light receiving element,
Resolution input means for inputting whether the resolution is the plurality of types;
Pixel storage means for temporarily storing the pixel data transmitted from the image reading means to the processing means;
Pointer increment means for incrementing a pointer of the pixel storage means each time the pixel data is stored in the pixel storage means,
The image reading apparatus according to claim 1, wherein the pointer increment unit adjusts the number of increments of the pointer based on resolution information input by the resolution input unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010239092A JP2012095010A (en) | 2010-10-25 | 2010-10-25 | Image reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010239092A JP2012095010A (en) | 2010-10-25 | 2010-10-25 | Image reading device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012095010A true JP2012095010A (en) | 2012-05-17 |
Family
ID=46387902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010239092A Ceased JP2012095010A (en) | 2010-10-25 | 2010-10-25 | Image reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012095010A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05328039A (en) * | 1992-05-25 | 1993-12-10 | Ricoh Co Ltd | Image reader |
JP2000069289A (en) * | 1998-08-19 | 2000-03-03 | Toshiba Tec Corp | Image reader |
JP2001274962A (en) * | 2000-03-24 | 2001-10-05 | Oki Electric Ind Co Ltd | Image reader |
JP2004364018A (en) * | 2003-06-05 | 2004-12-24 | Seiko Epson Corp | Scanner head, scanner apparatus, manufacturing method of contact image sensor, and data processing method of scanner apparatus |
JP2005020569A (en) * | 2003-06-27 | 2005-01-20 | Konica Minolta Business Technologies Inc | Image scanner, and data output method in the image scanner |
JP2007013595A (en) * | 2005-06-30 | 2007-01-18 | Brother Ind Ltd | Image scanner |
JP2008118269A (en) * | 2006-11-01 | 2008-05-22 | Ricoh Co Ltd | Device for reading image, device for storing image, and digital compounding machine |
JP2009027248A (en) * | 2007-07-17 | 2009-02-05 | Brother Ind Ltd | Image reader and discrimination method for image sensor |
-
2010
- 2010-10-25 JP JP2010239092A patent/JP2012095010A/en not_active Ceased
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05328039A (en) * | 1992-05-25 | 1993-12-10 | Ricoh Co Ltd | Image reader |
JP2000069289A (en) * | 1998-08-19 | 2000-03-03 | Toshiba Tec Corp | Image reader |
JP2001274962A (en) * | 2000-03-24 | 2001-10-05 | Oki Electric Ind Co Ltd | Image reader |
JP2004364018A (en) * | 2003-06-05 | 2004-12-24 | Seiko Epson Corp | Scanner head, scanner apparatus, manufacturing method of contact image sensor, and data processing method of scanner apparatus |
JP2005020569A (en) * | 2003-06-27 | 2005-01-20 | Konica Minolta Business Technologies Inc | Image scanner, and data output method in the image scanner |
JP2007013595A (en) * | 2005-06-30 | 2007-01-18 | Brother Ind Ltd | Image scanner |
JP2008118269A (en) * | 2006-11-01 | 2008-05-22 | Ricoh Co Ltd | Device for reading image, device for storing image, and digital compounding machine |
JP2009027248A (en) * | 2007-07-17 | 2009-02-05 | Brother Ind Ltd | Image reader and discrimination method for image sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5572335A (en) | Method and system for transferring image data between two devices having different bandwidths | |
US8270737B2 (en) | Image processing apparatus | |
US20130093720A1 (en) | Method for determining touch position of a touch panel | |
JP2011151792A (en) | Image processing apparatus and method | |
US20130182125A1 (en) | Camera module, auto focus method and auto focus calibration method | |
JP6179443B2 (en) | Image reading apparatus and image reading program | |
JP6405841B2 (en) | Image reading apparatus and image reading program | |
JP2008028542A (en) | Image processor and image reader | |
JP2007079708A (en) | Image processor and processing method | |
JP2012095010A (en) | Image reading device | |
CN111857481A (en) | Image display method, apparatus and storage medium | |
CN104980605B (en) | Image-reading device and the phase difference correction method for image-reading device | |
JP4215087B2 (en) | Image processing apparatus and image reading apparatus | |
US9609173B2 (en) | Memory control circuit and image forming apparatus | |
JP2019016828A (en) | Image reading apparatus, image reading method, and program | |
JPWO2018167973A1 (en) | Image capturing apparatus, control method, and control program | |
US8928764B2 (en) | Method and device for correcting user's hand tremor in imaging device | |
CN110072032B (en) | Image processing apparatus | |
JP2013021531A (en) | Image processor, image reader, image forming apparatus, and program | |
CN111405214B (en) | Image processing circuit | |
JPH06253141A (en) | Picture reader | |
KR20050060195A (en) | Method of scanning an image using surface coordinate values and device using thereof | |
US20170013208A1 (en) | Image sensor and electronic device | |
JP6179144B2 (en) | Image processing apparatus and image forming apparatus | |
JP2001230910A (en) | Method for reading original |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130827 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140826 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140902 |
|
A045 | Written measure of dismissal of application [lapsed due to lack of payment] |
Free format text: JAPANESE INTERMEDIATE CODE: A045 Effective date: 20150127 |