JP2002368996A - Image reader and image forming apparatus - Google Patents

Image reader and image forming apparatus

Info

Publication number
JP2002368996A
JP2002368996A JP2001171950A JP2001171950A JP2002368996A JP 2002368996 A JP2002368996 A JP 2002368996A JP 2001171950 A JP2001171950 A JP 2001171950A JP 2001171950 A JP2001171950 A JP 2001171950A JP 2002368996 A JP2002368996 A JP 2002368996A
Authority
JP
Japan
Prior art keywords
data
image
image reading
base
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
JP2001171950A
Other languages
Japanese (ja)
Other versions
JP4121007B2 (en
Inventor
Toru Kanno
透 管野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001171950A priority Critical patent/JP4121007B2/en
Publication of JP2002368996A publication Critical patent/JP2002368996A/en
Application granted granted Critical
Publication of JP4121007B2 publication Critical patent/JP4121007B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the scale of a data generation means for shading correction (SH) to thereby suppress the rise of cost when an SH data generating function is incorporated into small-scaled IC. SOLUTION: The scale of storage capacity is reduced by compressing data preserved in a base part storage part 400. A D's compression part 500 divides pixel string data showing fluctuation in a prescribed range in SH data generated in an SH operation part 200 into a base part and a fluctuation part. Data on the base part is compressed. Conventional storage data quantity where complete data is preserved at every pixel can be reduced. The SH calculation part calculates SH data of a present line based on present reading data on a reference white board and SH data of the previous line, which is restored based on data which is read from the fluctuation part/base part storage parts in a Ds extension part 600.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、原稿からイメージ
センサにより画像を読み取る画像読み取り装置、及び該
画像読み取り装置から出力される画像データをもとに画
像を形成する複写機等の画像形成装置に関し、より詳細
には、読み取り画像データ出力を補正するシェーディン
グ補正用データの生成に用いる記憶手段の小規模化を図
った前記画像読み取り装置及び画像形成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus for reading an image from a document using an image sensor, and an image forming apparatus such as a copying machine for forming an image based on image data output from the image reading apparatus. More specifically, the present invention relates to the image reading apparatus and the image forming apparatus in which a storage unit used for generating shading correction data for correcting read image data output is downsized.

【0002】[0002]

【従来の技術】現在普及しているデジタル複写機、スキ
ャナ等に装備される画像読み取り装置においては、ラン
プにより照明された原稿に対しCCDラインセンサ(或
いはセンサが受け取る原稿画像)をその主走査ラインに
交わる副走査方向に相対移動させ、2次元走査すること
により原稿全面の読み取りを行う方法が採用されてい
る。 このような方法で原稿を読み取るときに、経時的
に照明条件等が変動するために、ラインセンサの出力に
この変動による誤差分が含まれる。この誤差は、通常、
原稿の読み取りを行う前に、所定の場所に設置された基
準体(基準白板)を原稿におけると同様の動作により読
み取り、検出された白データ(基準白板読み取りデー
タ)に基づいて画素毎の補正値を持つシェーディングデ
ータを生成し、このデータを用いて適正な画像データの
出力を確保している。
2. Description of the Related Art In an image reading apparatus provided in a digital copying machine, a scanner, or the like, which is now widely used, a CCD line sensor (or a document image received by the sensor) is scanned by a main scanning line for a document illuminated by a lamp. , And a two-dimensional scan is performed to read the entire surface of the document. When reading a document by such a method, the illumination conditions and the like fluctuate over time, and thus the output of the line sensor includes an error due to the fluctuation. This error is usually
Before reading a document, a reference body (reference white plate) installed at a predetermined place is read by the same operation as that of the document, and a correction value for each pixel is determined based on detected white data (reference white plate read data). Is generated, and the output of appropriate image data is secured using this data.

【0003】ここで、かかるシェーディングデータの生
成を行うために採用されている従来技術について述べ
る。図17は、従来のシェーディングデータの生成回路
の一例を示す。図17に示した例は、シェーディングデ
ータの生成演算を1/4重加算、即ち、現ラインのデー
タを1/4の重みで前ラインのデータに加算するという
方法により行うもので、次の演算式に従いその出力を行
う。 基準白板1ライン目:Ds=3×D0/4 基準白板2ライン目:Ds=(3×Ds’+Dn)/4 ここに、Dn:n+1ライン目の該当画素データ Ds:生成されたシェーディングデータ Ds’:前ラインで生成されたシェーディングデータ 上記の1/4重加算の演算を行うために、図17に示す
ように、2つのセレクタSEL(1)1,SEL(2)2、乗
算器3、加算器4、FIFO5をシェーディングデータ
の生成回路に備え、その入力としては、黒レベルが00
hに補正された8ビットの画像データDinとともに、
Dinをラッチする為の画素クロックSCLK、FIF
O5のリードデータのアドレスを初期化するXRRST
信号、FIFO5へのデータ書込みのアドレスを初期化
するXWRST信号、シェーディングデータ生成領域の
最初のラインを示すXSH1ST信号が入力される。
Here, a description will be given of a conventional technique adopted for generating such shading data. FIG. 17 shows an example of a conventional shading data generation circuit. In the example shown in FIG. 17, the shading data generation operation is performed by a quarter addition, that is, the data of the current line is added to the data of the previous line with a weight of 1/4. Output it according to the formula. Reference white board first line: Ds = 3 × D0 / 4 Reference white board second line: Ds = (3 × Ds ′ + Dn) / 4 where Dn: corresponding pixel data of the (n + 1) th line Ds: generated shading data Ds ': Shading data generated in the previous line In order to perform the above-mentioned quarter-addition operation, as shown in FIG. 17, two selectors SEL (1) 1, SEL (2) 2, multiplier 3, An adder 4 and a FIFO 5 are provided in a shading data generation circuit, and the inputs thereof are as follows.
h together with the 8-bit image data Din corrected to
Pixel clocks SCLK and FIF for latching Din
XRRST for initializing the address of the read data of O5
A signal, an XWRST signal for initializing an address for writing data to the FIFO 5, and an XSH1ST signal indicating the first line of the shading data generation area are input.

【0004】図18は、動作に関係する信号のタイムチ
ャートを示し、(A)はシェーディングデータ生成領域
を示すSHGT信号と上記した各入力信号、(B)は時
間を拡大して示すXRRST信号・XWRST信号、S
CLK、Din、FIFO5にアクセスする読み出しデ
ータDr、書き込みデータDwのタイムチャートを示
す。図18に示すように、XRRSTは1ラインの画像
データ中、有効画素を除く領域でアクティブ(“L”)
であり、XWRSTはSHGTが“H”の間はXRRS
Tと同じであるが、SHGTが“L”の間は“L”であ
る(つまり、SHGTとXRRSTの論理積を取った信
号)。また、XSH1STはSHGTが“H”となる最
初の1ラインの有効画素領域のみ“L”の信号である。
FIGS. 18A and 18B are time charts of signals related to the operation. FIG. 18A shows an SHGT signal indicating a shading data generation area and the above-described input signals, and FIG. 18B shows an XRRST signal and an enlarged time chart. XWRST signal, S
4 shows a time chart of read data Dr and write data Dw for accessing CLK, Din, and FIFO5. As shown in FIG. 18, XRRST is active (“L”) in a region excluding valid pixels in one line of image data.
XWRST is XRRS while SHGT is “H”.
Same as T, but is "L" while SHGT is "L" (ie, a signal obtained by ANDing SHGT and XRRST). XSH1ST is a signal of “L” only in the effective pixel area of the first one line where SHGT becomes “H”.

【0005】以下に、図17のシェーディングデータの
生成回路の動作を図18を参照して、説明する。最初、
SHGTが“L”の領域では、Dinはシェーディング
データ生成領域以外の画像データとなっている。この
時,XRRSTが入力されているので、FIFO5から
は1ライン中の有効画素領域で画素位置に応じたアドレ
スのFIFO5のデータDrが読み出されている(FI
FO5から読み出されるデータは前回スキャン時のシェ
ーディングデータである)。また、XWRSTは“L”
であるので、FIFO5に加算器(ADD)4の出力デ
ータは書き込まれない。次に、SHGTが“H”となっ
た最初の1ラインでは、XSH1STが入力されている
ので、セレクタSEL(1)1,SEL(2)2のsel a
端子は、“L”となり、SEL(1)1の出力はDinと
なり、SEL(2)2の出力は“00h”となる。この
時、乗算器(MULT)3の出力は、 Din×03h となり、加算器(ADD)4の出力は加算結果の上位8
bitが出力されるので、 (Din×03h+00h)/4 となる。この結果が、画素毎のシェーディングデータと
してFIFO5の該当アドレスに書き込む。
Hereinafter, the operation of the shading data generation circuit shown in FIG. 17 will be described with reference to FIG. the first,
In the area where SHGT is “L”, Din is image data other than the shading data generation area. At this time, since XRRST has been input, the data Dr of the FIFO 5 at the address corresponding to the pixel position is read from the FIFO 5 in the effective pixel area in one line (FI
The data read from the FO5 is shading data from the previous scan.) XWRST is “L”
Therefore, the output data of the adder (ADD) 4 is not written in the FIFO 5. Next, since XSH1ST is input in the first line in which the SHGT becomes “H”, the SEL a of the selectors SEL (1) 1 and SEL (2) 2 are
The terminal becomes "L", the output of SEL (1) 1 becomes Din, and the output of SEL (2) 2 becomes "00h". At this time, the output of the multiplier (MULT) 3 is Din × 03h, and the output of the adder (ADD) 4 is the upper 8 bits of the addition result.
Since a bit is output, (Din × 03h + 00h) / 4. The result is written to the corresponding address of the FIFO 5 as shading data for each pixel.

【0006】次のライン以降は、XSH1STは常に
“H”なので、セレクタSEL(1)1は1ライン目のと
きと切り替えて、その出力をFIFO5のDr(前ライ
ンで演算されたシェーディングデータ)とし、乗算器
(MULT)3出力では、 Ds’×03h となり、セレクタSEL(2)21ライン目のときと切り
替えて、その出力をDinとするので、加算器(AD
D)4の出力は、 (Ds’×03h+Din)/4 となり、1ライン目と同様に画素毎のシェーディングデ
ータとしてFIFO5の該当アドレスに書き込む。この
操作をシェーディングデータの生成領域として設定され
たSHGT“H”期間、継続して行う(図18(B)参
照)。次に、SHGTが“L”となると、上記と同様に
演算自体は行うが、XWRSTが“L”であるので、F
IFO5への書込みは行わず、SHGTが“H”の間の
最後のラインで生成されたシェーディングデータがFI
FO5より読み出され、シェーディング補正処理のため
に使用される。このように、この従来例では、各画素の
シェーディングデータをFIFO5に保存しているの
で、全有効画素数に応じたFIFOのワード長が必要と
なる。例えば、600dpiで12インチ幅を1画素当
たり8bitで読みこむ場合、有効画素数は7200画
素となり、7200バイト(=7200×8bit=5
7600bit)のFIFOが必要となる。
After the next line, since XSH1ST is always "H", the selector SEL (1) 1 switches the output from the first line and sets its output as Dr (shading data calculated on the previous line) of the FIFO5. , The output of the multiplier (MULT) 3 is Ds ′ × 03h, and the output is switched to the output of the selector SEL (2) on the 21st line, and the output is set to Din.
The output of D) 4 becomes (Ds' × 03h + Din) / 4, and is written to the corresponding address of FIFO 5 as shading data for each pixel as in the first line. This operation is continuously performed during the SHGT “H” period set as the shading data generation area (see FIG. 18B). Next, when SHGT becomes “L”, the calculation itself is performed in the same manner as above, but since XWRST is “L”,
Writing to the FIFO5 is not performed, and the shading data generated in the last line while the SHGT is "H" is
It is read from the FO5 and used for shading correction processing. As described above, in this conventional example, since the shading data of each pixel is stored in the FIFO 5, a word length of the FIFO corresponding to the total number of effective pixels is required. For example, when a 12-inch width is read at 8 bits per pixel at 600 dpi, the number of effective pixels is 7200 pixels, and 7200 bytes (= 7200 × 8 bits = 5
7600 bits).

【0007】[0007]

【発明が解決しようとする課題】ところで、上記したシ
ェーディング補正の機能は、従来のデジタル複写機にお
いては、本体側に置かれた大規模な画像処理用ICの中
に組み込まれており、この機能を実現する為に必要な記
憶手段等にかかるコストはあまり顕在化していなかっ
た。しかしながら、デジタル複写機のユニットのモジュ
ール化を考えた場合、スキャナユニットの中にシェーデ
ィング補正機能やスキャナガンマ補正機能等を持ち、ス
キャナユニットとしてある決まった出力特性を持つよう
にすることがユニットの究極的な形態として必要とさ
れ、ユニット内でこうした機能を実現しようとすると、
これまでユニットには上記画像処理ICの様な大規模I
Cを持っていなかったために、小規模のICにこれらの
機能を追加して組み込むことになって、直ちに組み込む
機能の規模がコストに影響してしまう。本発明は、従来
の画像読み取り装置における上記した問題点に鑑みてな
されたもので、その目的は、大容量の記憶手段を持つ大
規模ICを用いて行っていた従来のシェーディングデー
タ生成手段の小規模化を図り、小規模ICにシェーディ
ングデータ生成機能を組み込む場合のコスト上昇を押え
ることを可能にする画像読み取り装置(例えば、スキャ
ナ等)及び該画像読み取り装置を備えた画像形成装置
(複写機、ファクシミリ等)を提供することにある。
By the way, the above-mentioned shading correction function is incorporated in a large-scale image processing IC placed in the main body of a conventional digital copying machine. The cost of storage means and the like required to realize the above has not been so obvious. However, considering modularization of the digital copier unit, it is essential that the scanner unit has a shading correction function and a scanner gamma correction function, etc., so that the scanner unit has a certain output characteristic. It is required as a basic form, and when trying to realize such a function in the unit,
Up to now, large-scale I such as the image processing IC
Since these functions are not provided, these functions are added and incorporated into a small-scale IC, and the scale of the incorporated functions immediately affects the cost. The present invention has been made in view of the above-described problems in the conventional image reading apparatus, and has as its object to reduce the size of the conventional shading data generating means using a large-scale IC having a large-capacity storage means. An image reading apparatus (for example, a scanner or the like) capable of reducing the cost when the shading data generation function is incorporated into a small-scale IC by increasing the scale, and an image forming apparatus (copying machine, Facsimile, etc.).

【0008】[0008]

【課題を解決するための手段】請求項1の発明は、ライ
ンイメージセンサをその主走査ラインに交わる副走査方
向に相対移動させながら該センサにより基準白板を読み
取り、得た白データに基づいて該センサの読み取り出力
を一定化するためのシェーディング補正用データを生成
する手段を備えた画像読み取り装置であって、前記シェ
ーディング補正用データ生成手段に、画素の配列順に画
素単位で生成したシェーディング補正用データが所定範
囲内の変動を示す画素列における該データのベース部分
と変動部分を分割し、ベース部分のデータを圧縮する手
段と、分割した変動部分のデータを記憶する変動分記憶
手段と、圧縮したベース部分のデータを記憶するベース
分記憶手段と、変動分記憶手段及びベース分記憶手段か
らデータを読み出し、シェーディング補正用データを復
元するデータ伸張手段を備えたことを特徴とする画像読
み取り装置である。
According to a first aspect of the present invention, a reference white board is read by a line image sensor while the line image sensor is relatively moved in a sub-scanning direction intersecting the main scanning line, and the line image sensor is read based on white data obtained. What is claimed is: 1. An image reading apparatus comprising: means for generating shading correction data for stabilizing a reading output of a sensor, wherein the shading correction data generation means includes a shading correction data generated in a pixel unit in a pixel arrangement order. Means for dividing a base portion and a variable portion of the data in a pixel row showing a variation within a predetermined range, compressing the data of the base portion, a variation storage device for storing the data of the divided variation portion, A base storage means for storing data of the base portion, and reading data from the variation storage means and the base storage means An image reading apparatus characterized by comprising a data decompression means for restoring the shading correction data.

【0009】請求項2の発明は、請求項1に記載された
画像読み取り装置において、前記シェーディング補正用
データ生成手段は、読み取った現ラインの白データと前
記データ伸張手段により復元した前ラインのシェーディ
ング補正用データに基づいて現ラインのシェーディング
補正用データを演算する手段によりシェーディング補正
用データを生成することを特徴とするものである。
According to a second aspect of the present invention, in the image reading apparatus according to the first aspect, the shading correction data generating means is configured to perform shading of the read white data of the current line and the previous line restored by the data decompression means. The shading correction data is generated by means for calculating the shading correction data of the current line based on the correction data.

【0010】請求項3の発明は、請求項1又は2に記載
された画像読み取り装置において、前記ベース分記憶手
段が、複数系統のFIFOを持ち、該FIFOを順次動
作させるようにした記憶手段であることを特徴とするも
のである。
According to a third aspect of the present invention, in the image reading apparatus according to the first or second aspect, the base storage means has a plurality of FIFOs, and the FIFOs are sequentially operated. It is characterized by having.

【0011】請求項4の発明は、請求項1又は2に記載
された画像読み取り装置において、前記ベース分記憶手
段が、連続したアドレスをループ状に動作させる1系統
の記憶手段であることを特徴とするものである。
According to a fourth aspect of the present invention, in the image reading apparatus according to the first or second aspect, the base storage means is a one-system storage means for operating consecutive addresses in a loop. It is assumed that.

【0012】請求項5の発明は、請求項1乃至4のいず
れかに記載された画像読み取り装置において、前記デー
タ圧縮手段が、読み取りデータの系統に応じて系統毎に
分割・圧縮処理を行う手段であることを特徴とするもの
である。
According to a fifth aspect of the present invention, in the image reading device according to any one of the first to fourth aspects, the data compression unit performs division / compression processing for each system according to the system of the read data. It is characterized by being.

【0013】請求項6の発明は、請求項1乃至5のいず
れかに記載された画像読み取り装置と、画像読み取り装
置から出力される画像データに基づいて画像を形成する
手段を備えたことを特徴とする画像形成装置である。
According to a sixth aspect of the present invention, there is provided an image reading apparatus according to any one of the first to fifth aspects, and means for forming an image based on image data output from the image reading apparatus. Image forming apparatus.

【0014】[0014]

【発明の実施の形態】本発明の画像読み取り装置及び画
像形成装置を添付する図面とともに示す以下の実施例に
基づき説明する。下記に実施例として示す画像読み取り
装置は、単体のイメージスキャナ等の読み取り装置とし
て構成し得るが、原稿画像の読み取り出力を画像を形成
するための書き込み信号等に利用して、画像を再生する
デジタル複写機、ファクシミリ等の画像形成装置の読み
取り部にも用いることが可能である。そこで、先ず、本
発明に係わる画像読み取り装置を読み取り部に装備した
画像形成装置としてのDPPC(Digital Plane Paper
Copy-machine、所謂、デジタル複写機)について説明す
る。図1は、本発明の実施例に係わるDPPCの構成を
概略図として示す。本実施例のDPPCの構造を図1を
参照して説明すると、図示のDPPCは、大きくは自動
原稿搬送装置(ADF)34と、画像読み取り装置35
と、画像形成部50と、操作部(図示せず)とからな
る。ADF34は、原稿載置台30と反転トレイ31と
ARDF駆動モータ32を備え、複写原稿を読み取り位
置を経由して搬送・排紙する操作を行う。画像読み取り
装置35は、キャリッジ上に露光ランプ61とミラー群
62を備えた走査系63と受光部(結像レンズ、受光素
子としてのイメージセンサ、センサ出力を処理する回路
基板等からなる)60とスキャナ駆動モータ33を備
え、ADF34を用いて原稿を搬送するシートスルー方
式と、プラテンに載置された原稿を走査するスキャナ移
動方式の2方式に対応する読み取りを行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An image reading apparatus and an image forming apparatus according to the present invention will be described with reference to the following embodiments shown in the accompanying drawings. The image reading device described below as an embodiment can be configured as a reading device such as a single image scanner, but a digital device that reproduces an image by using a read output of a document image as a write signal for forming an image. It can also be used in a reading unit of an image forming apparatus such as a copying machine and a facsimile. Therefore, first, a DPPC (Digital Plane Paper) as an image forming apparatus equipped with an image reading apparatus according to the present invention in a reading unit.
A copy-machine (a so-called digital copying machine) will be described. FIG. 1 is a schematic diagram showing a configuration of a DPPC according to an embodiment of the present invention. The structure of the DPPC of the present embodiment will be described with reference to FIG. 1. The illustrated DPPC is roughly composed of an automatic document feeder (ADF) 34 and an image reading device 35.
, An image forming unit 50, and an operation unit (not shown). The ADF 34 includes a document mounting table 30, a reversing tray 31, and an ARDF drive motor 32, and performs an operation of transporting and discharging a copy document via a reading position. The image reading device 35 includes a scanning system 63 including an exposure lamp 61 and a mirror group 62 on a carriage, a light receiving unit (including an imaging lens, an image sensor as a light receiving element, a circuit board for processing a sensor output, and the like) 60. The scanner includes a scanner drive motor 33, and performs reading corresponding to two systems, a sheet-through system that conveys an original using the ADF 34, and a scanner moving system that scans an original placed on a platen.

【0015】画像形成部50は、転写紙を排紙する機内
排紙部36と、原稿画像データ等により駆動されるレー
ザダイオード38からのレーザを反射するポリゴンモー
タ及びミラー37と、レーザを発光するレーザダイオー
ド38と、レーザ書き込みによる静電潜像を形成する感
光体ドラム39と、レジストローラ40と、転写紙を手
差しで給紙する場合に開く手差しドア41と、転写紙上
のトナーを転写紙に定着させるための定着ユニット42
と、第1の給紙カセット44及び第2の給紙カセット4
5に格納された転写紙を給紙する給紙コロ43と、転写
紙を格納する第1の給紙カセット44及び第2の給紙カ
セット45と、給紙コロ43により給紙された転写紙を
搬送する搬送コロ46と、排出転写紙を直接排出する際
に開く排紙カバー47と、排紙カバー47もしくは機内
排紙部36のどちらかに転写紙の排出を切り換える切り
替え手段48と、転写紙を構内排紙部36に搬送する搬
送コロ49とを備え、転写紙を操作し、画像形成を行
う。操作部は、DPPCの種々の動作を設定するために
オペレータによるキー等の操作入力を受け付け、又機械
の動作状態をオペレータに知らせる機能を果たす。
The image forming section 50 has an in-machine paper discharge section 36 for discharging transfer paper, a polygon motor and a mirror 37 for reflecting a laser from a laser diode 38 driven by original image data and the like, and emits a laser. A laser diode 38, a photosensitive drum 39 for forming an electrostatic latent image by laser writing, a registration roller 40, a manual feed door 41 which is opened when the transfer paper is manually fed, and a toner on the transfer paper which is transferred to the transfer paper. Fixing unit 42 for fixing
And the first and second sheet cassettes 44 and 4
5, a first paper feed cassette 44 and a second paper feed cassette 45 for storing transfer paper, and a transfer paper fed by the paper feed roller 43. , A discharge cover 47 that is opened when the discharged transfer paper is directly discharged, a switching unit 48 that switches the discharge of the transfer paper to either the discharge cover 47 or the in-machine discharge unit 36, and a transfer. A transport roller 49 for transporting the paper to the on-premise discharge unit 36 is provided, and the transfer paper is operated to form an image. The operation unit has a function of receiving an operation input of a key or the like by an operator for setting various operations of the DPPC, and performing a function of notifying the operator of an operation state of the machine.

【0016】次に、本発明の画像読み取り装置に係わる
実施例を説明する。なお、以下に示す実施例は、単体の
イメージスキャナー等の読み取り装置として構成し得る
が、上記したように、原稿画像の読み取り出力を画像を
形成するための書き込み信号等に利用して、画像を再生
するデジタル複写機、ファクシミリ等の画像形成装置の
読み取り部に装備することが可能である。図2は、本実
施例の画像読み取り装置の構成の概略を示す図である。
図2において、11は読み取り原稿、12は原稿台とし
てのコンタクトガラス、C1は露光ランプ13と第1ミ
ラー14を一体化して有し、読み取り走査を行う第1キ
ヤリッジ、C2は第2ミラー15と第3ミラー16を一
体化して有し、第1キャリッジC1からの原稿露光部の
像を受光部に導く第2キャリッジである。受光部は、結
像レンズ17、受光素子としてのラインイメージセンサ
18、センサ出力を処理する回路基板(図示せず)等か
らなり、この回路基板には、後記するシェーディングデ
ータを生成するための機能を実現する手段を備える。読
み取り時に、第1キヤリッジC1を図示の矢印A方向に
移動させ、原稿を露光走査し、原稿露光部からの反射光
を第1〜3ミラー14,15,16により受光部に伝達
する。この時、光路長を一定にするように第2キヤリッ
ジC2を図示の矢印A′方向に移動させる。走査された
原稿露光部は、受光部の結像レンズ17により受光素子
を有するイメージセンサ18の受光面に結像され、光電
変換された後、画像信号として出力される。また、光電
変換後の画像信号にシェーディング補正等の補正を施し
た後、所定の原稿読み取り出力として、その画像信号を
次の画像処理部(図示せず)へ送出し、そこで画像形成
データを作成する処理に用いる。シェーディング補正
は、スキャナ動作により基準白板20を読み取り、得た
出力(白)画像をもとにシェーディングデータを生成し
(詳細は後述)、これを読み取り画像信号の補正に用い
る。
Next, an embodiment of the image reading apparatus according to the present invention will be described. Although the embodiments described below can be configured as a single reading device such as an image scanner, as described above, the reading output of the original image is used for a writing signal for forming an image, and the image is read. It can be provided in a reading section of an image forming apparatus such as a digital copying machine and a facsimile for reproduction. FIG. 2 is a diagram schematically illustrating the configuration of the image reading apparatus according to the present embodiment.
2, reference numeral 11 denotes a document to be read, reference numeral 12 denotes a contact glass serving as a document table, reference numeral C1 denotes an integrated unit having an exposure lamp 13 and a first mirror 14, and a first carriage for reading and scanning, and reference numeral C2 denotes a second mirror 15. This is a second carriage that has an integrated third mirror 16 and guides the image of the document exposure unit from the first carriage C1 to the light receiving unit. The light receiving section includes an imaging lens 17, a line image sensor 18 as a light receiving element, a circuit board (not shown) for processing a sensor output, and the like. The circuit board has a function for generating shading data described later. Is provided. At the time of reading, the first carriage C1 is moved in the direction of arrow A shown in the figure to scan and expose the original, and the reflected light from the original exposure unit is transmitted to the light receiving unit by the first to third mirrors 14, 15, and 16. At this time, the second carriage C2 is moved in the direction of the arrow A 'shown so as to keep the optical path length constant. The scanned document exposure unit is imaged on a light receiving surface of an image sensor 18 having a light receiving element by an image forming lens 17 of the light receiving unit, is photoelectrically converted, and is output as an image signal. Further, after performing a correction such as shading correction on the image signal after the photoelectric conversion, the image signal is sent to a next image processing unit (not shown) as a predetermined original reading output, and the image forming data is created there. This is used for processing. In the shading correction, the reference white board 20 is read by a scanner operation, and shading data is generated based on the obtained output (white) image (details will be described later), and this is used for correcting the read image signal.

【0017】次に、上記した画像読み取り装置のシェー
ディングデータの生成回路に係わる実施例を説明する。
本発明は、シェーディングデータ生成回路をイメージセ
ンサの全画素を記憶する容量を用意した従来技術よりも
小規模の記憶容量により生成を可能とする方式を採用し
て構成するもので、記憶容量の小規模化は、記憶部に保
存するデータの圧縮による。データを圧縮するために、
本発明では、作成されたシェーディングデータをベース
部分と変動部分に分割し、ベース部分を複数画素にわた
り共通化する。こうすることにより、画素毎に完全なデ
ータを保存していた従来のデータ量を縮小することを可
能にする。このために、データの記憶手段として、新た
にベース分記憶部と変動部記憶部を用意するとともに、
データ圧縮部、データ伸張部及びこれら各部を制御する
ための制御部を新たな構成要素として回路を構成する。
Next, an embodiment relating to the shading data generating circuit of the above-described image reading apparatus will be described.
According to the present invention, a shading data generation circuit is configured by adopting a method that enables generation with a smaller storage capacity than the conventional technology in which a capacity for storing all pixels of an image sensor is prepared. The scaling is based on compression of data stored in the storage unit. To compress the data,
According to the present invention, the created shading data is divided into a base portion and a variable portion, and the base portion is shared by a plurality of pixels. By doing so, it is possible to reduce the conventional data amount in which complete data is stored for each pixel. For this purpose, a new base storage unit and a variable storage unit are newly prepared as data storage means.
A circuit is configured with a data compression unit, a data decompression unit, and a control unit for controlling these units as new components.

【0018】図3は、シェーディングデータの生成回路
の第1の実施例を示すブロック図である。図3に示すよ
うに、回路への入力は、シェーディング(SH)データ
を演算するSH演算部200へ入力する基準白板20を
読み取り画像Dinと、この回路の動作を制御する制御
部100へ入力するタイミング信号であり、出力は、D
s伸張部600から出力する保存されたSHデータの再
生信号Dsである。また、図3の回路は、回路要素とし
て制御部100の制御下に、Ds’圧縮部500、変動
分記憶部300、ベース分記憶部400を有する。
FIG. 3 is a block diagram showing a first embodiment of a shading data generation circuit. As shown in FIG. 3, the input to the circuit is input to an image Din that reads a reference white board 20 input to an SH calculation unit 200 that calculates shading (SH) data and to a control unit 100 that controls the operation of this circuit. Timing signal, and the output is D
This is a reproduction signal Ds of the stored SH data output from the s decompression unit 600. The circuit in FIG. 3 includes a Ds ′ compression unit 500, a variation storage unit 300, and a base storage unit 400 as circuit elements under the control of the control unit 100.

【0019】この回路の各部の機能とともに、回路の動
作を説明すると、読み取られた画像データDinはSH
演算部200に入力される。一方、Ds伸張部600で
は、前ラインの処理で、圧縮して記憶されているSHの
ベース分データDbと変動分データDvから前ラインの
該当画素のSHデータを再生し、SH演算部200に出
力する。SH演算部200では規定の演算式(例えば、
従来例に示したような重加算による)に従い現ライン・
現画素のSHデータDs’を生成し、Ds’圧縮部50
0に出力する。Ds’圧縮部500では、主走査方向に
並ぶ画素の前画素のベース分Dbと現画素のDs’との
差分Dvを求め、Dvが規定範囲内にあれば、Dvを変
動分記憶部300に書きこむと共にベース連続数Nbに
“1”加える。また、差分Dvが規定範囲を超える場合
は、現在のDbとNbをベース分記憶部400に書きこ
む、即ち、Db=Ds’と同時にNbを初期化するとと
もに、Dvは“0”を書きこむ。Ds伸張部600は、
変動分記憶部300からは差分Dv、ベース分記憶部4
00からはDb・Nbを読み込み、SHデータDs=D
v+Dbとして出力すると共に、同じDbを適用した画
素数をカウントし、Nbで示される画素数にDbを適用
したら、次に新しいDb・Nbをベース分記憶部400
から読みこむ。なお、ブロックの各部の動作タイミング
は、入力されたタイミング信号を基に制御部100でコ
ントロールされる。
The operation of the circuit will be described together with the function of each part of the circuit. The read image data Din is SH
The data is input to the arithmetic unit 200. On the other hand, the Ds decompression section 600 reproduces the SH data of the corresponding pixel of the previous line from the base data Db and the fluctuation data Dv of the SH stored in a compressed state in the processing of the previous line. Output. In the SH operation unit 200, a prescribed operation expression (for example,
The current line
The SH data Ds ′ of the current pixel is generated, and the Ds ′ compression unit 50
Output to 0. The Ds ′ compression unit 500 obtains the difference Dv between the base Db of the previous pixel of the pixels arranged in the main scanning direction and the Ds ′ of the current pixel. If Dv is within the specified range, the Dv is stored in the variation storage 300. At the same time as writing, "1" is added to the base continuous number Nb. If the difference Dv exceeds the specified range, the current Db and Nb are written in the base storage unit 400, that is, Nb is initialized at the same time as Db = Ds', and Dv is written "0". . The Ds extension unit 600
From the variation storage unit 300, the difference Dv and the base storage unit 4
00, Db / Nb is read, and SH data Ds = D
After outputting as v + Db, counting the number of pixels to which the same Db is applied, and applying Db to the number of pixels indicated by Nb, the new Db · Nb is then stored in the base storage unit 400
Read from. The operation timing of each unit of the block is controlled by the control unit 100 based on the input timing signal.

【0020】第2の実施例として、第1の実施例におけ
るベース分記憶部を2バンク構成にした例により、シェ
ーディングデータ生成回路をより詳細に説明する。図4
は、シェーディングデータ生成回路の第2の実施例を示
すブロック図である。図4はベース分記憶部400をバ
ンク(0)とバンク(1)の2バンク構成としている。ここで
は、各バンクをFIFOにより構成するとともに、画像
データに対して画素毎にバンクを交互にアクセスするよ
うな方法で使用することにより、処理の高速化を図ると
ともに、奇数、偶数画素データを分離し、それぞれのバ
ンクを奇数、偶数画素用として利用することも可能にな
る。なお、図4に示す回路は、2バンク構成と、各部へ
の制御(タイミング)信号、信号端子が詳細に示されて
いる以外、図3の回路と基本的に変わりがない。図4に
示した回路の要部の構成を、以下に示す図5〜12に基
づいてさらに詳細に説明する。図5は、図4に示す制御
部100の詳細回路を示す。制御部100は、回路要素
として、AND回路(AND(1),(2),(3))101,1
05,109、D−フリップフロップ(D−FF(1),
(2),(3),(4))102,103,104,111、カウ
ンタ(CUNT(1),(2))106,107、インバータ
(INV(1),(2))108,110を有し、図5に示す
ように構成する。
As a second embodiment, a shading data generation circuit will be described in more detail with reference to an example in which the base storage unit in the first embodiment has a two-bank configuration. FIG.
FIG. 9 is a block diagram showing a second embodiment of the shading data generation circuit. In FIG. 4, the base storage unit 400 has a two-bank configuration of bank (0) and bank (1). Here, each bank is constituted by a FIFO, and the bank is alternately accessed for each pixel with respect to the image data, so that the processing is speeded up and the odd and even pixel data are separated. However, each bank can be used for odd and even pixels. The circuit shown in FIG. 4 is basically the same as the circuit shown in FIG. 3 except that the two-bank configuration, control (timing) signals to each section, and signal terminals are shown in detail. The configuration of the main part of the circuit shown in FIG. 4 will be described in more detail with reference to FIGS. FIG. 5 shows a detailed circuit of the control unit 100 shown in FIG. The control unit 100 includes AND circuits (AND (1), (2), (3)) 101, 1 as circuit elements.
05, 109, D-flip-flop (D-FF (1),
(2), (3), (4)) 102, 103, 104, 111, counters (COUNT (1), (2)) 106, 107, and inverters (INV (1), (2)) 108, 110 And configured as shown in FIG.

【0021】図6は、制御部100に関係する信号(図
5中に記す)のタイミングチャートを示す。なお、図6
中の(B)は、(A)に比べて、時間を拡大して示す。
制御部100への入力信号は、SHGT、LSYNC、
SCLK信号で、これらは、 SHGT:“H”で基準白板の有効な領域を示す。この
信号が“H”の期間にSHデータを生成する。ここで
は、6走査ライン分を有効領域としている。 LSYNC:1ラインの先頭に発生するライン同期信号
を示す。 SCLK:画素クロックを示す。 制御部100からの出力信号は、BEN、BENB、S
H1ST、LGATE、LG_D1で、これらは、 BEN:バンク切換え信号を示す。SHGT“H”期間
でトグルし、SHGTが“L”となる直前の状態を次に
SHGTが“H”となるまで保持する。 BENB:BENの反転信号を示す。 SH1ST:SHGTが“H”となった直後の1ライン
のみ“H”となる信号を示す。 LGATE:LSYNCを基準に1ライン中の有効画素
領域を示す信号を示す。 LG_D1:LGATEを1画素分遅らした信号を示
す。
FIG. 6 shows a timing chart of signals (shown in FIG. 5) related to the control unit 100. FIG.
(B) in the figure shows the time enlarged in comparison with (A).
Input signals to the control unit 100 are SHGT, LSYNC,
In the SCLK signal, these indicate SHGT: “H” indicating a valid area of the reference white board. This signal generates SH data during the period of “H”. Here, six scan lines are defined as the effective area. LSYNC: Indicates a line synchronization signal generated at the head of one line. SCLK: Indicates a pixel clock. Output signals from the control unit 100 are BEN, BENB, S
In H1ST, LGATE, and LG_D1, these indicate BEN: bank switching signal. It is toggled during the SHGT “H” period, and the state immediately before the SHGT becomes “L” is held until the next SHGT becomes “H”. BENB: Indicates an inverted signal of BEN. SH1ST: Indicates a signal which becomes “H” only in one line immediately after SHGT becomes “H”. LGATE: Indicates a signal indicating an effective pixel area in one line based on LSYNC. LG_D1: A signal obtained by delaying LGATE by one pixel.

【0022】図7は、図4に示すDs’圧縮部500の
詳細回路を示す。Ds’圧縮部500は、回路要素とし
て、減算器(SUB(A−B))501、AND回路
(AND(1),(2),(3),(4))504,505,502,
509、ノア回路(NOR)503、インバータ(IN
V(1))506、オア回路(OR)507、ラッチ(L
ATCH)508、カウンタ(CUNT)510を有
し、図7に示すように構成する。なお、図7に示す例
は、Ds’・Db・Nb:各8ビット、Dv:4ビット
の例を示す。Ds’圧縮部500への入力信号は、D
s’、SCLK、enで、これらは、 Ds’:生成されたSHデータを示す。 SCLK:画素クロックを示す。 en:圧縮動作許可信号(enが“L”の間wenも
“L”となる)を示す。 Ds’圧縮部500からの出力信号は、Dv、wen、
Db、Nbで、これらは、 Dv:変動分データ(Ds’−Db)を示す。 wen:ベース分記憶許可信号を示す。 Db:ベース部分のデータを示す。 Nb:Db連続数−1を示す。
FIG. 7 shows a detailed circuit of the Ds' compression section 500 shown in FIG. The Ds ′ compression unit 500 includes, as circuit elements, a subtractor (SUB (AB)) 501 and AND circuits (AND (1), (2), (3), (4)) 504, 505, 502,
509, NOR circuit (NOR) 503, inverter (IN)
V (1)) 506, OR circuit (OR) 507, latch (L
ATCH) 508 and a counter (COUNT) 510, and are configured as shown in FIG. Note that the example shown in FIG. 7 shows an example in which Ds', Db, and Nb are each 8 bits, and Dv is 4 bits. The input signal to the Ds ′ compression unit 500 is D
s ', SCLK, en, which indicate Ds': generated SH data. SCLK: Indicates a pixel clock. en: Indicates a compression operation permission signal (when en is "L", wen also becomes "L"). The output signal from the Ds' compression unit 500 is Dv, wen,
Db and Nb indicate Dv: fluctuation data (Ds′−Db). wen: indicates a base-level storage permission signal. Db: Indicates data of a base portion. Nb: Indicates the number of continuous Db minus 1.

【0023】Ds’圧縮部500の動作は、減算器(S
UB(A−B))501でDs’−Dbを行い、その結
果が下位4bitに入っているかをNOR503、AN
D(1),(2)504,505で判断し、下位4bitに入
っていれば(AND(2)505の出力“L”)、カウン
タ(CUNT)510を1進める。又、下位4bitに
入っていなければ(AND(2)505の出力“H”)、
オア回路(OR)507の出力であるwenを“H”と
し、ベース分記憶部400への書込みを許可する。さら
に、AND(2)505の出力“H”で、ラッチ(LAT
CH)508をイネーブルとし、Db=Ds’にすると
同時に、カウンタ(CUNT)510をゼロにクリアす
る。この時、出力“L”のインバータ(INV(1))5
06を入力とするAND(3)502によりDvは“0”
が出力される。なお、NbはDbを適用した画素数−1
の値が入る。図8は、Ds’圧縮部500に関係する信
号(図7中に記す)のタイミングチャートを示す。図8
中の(A)は、生成されたSHデータDs’の画素単位
のデータの変動が大きく頻繁にベース部分のデータDb
を変化させている例であり同図中の(B)は、Ds’の
変動が小さく、Nbが255となった場合を示してい
る。(B)の例では、255となった場合に強制的にw
enを“H”とし、ベース分記憶部400への書込みを
行うようにしている。なお、図8の各データの線図に付
随して付けられた数字はデータ値を例示するものであ
る。また、上記実施例では触れなかったが、このSHデ
ータ生成回路に入力されてくる画像データが、イメージ
センサからAD変換までのいわゆるアナログ系の処理を
奇数、偶数画素の2系統に分けて行われたものである場
合に、このような入力画像データに対しては、系統毎に
分割して上記したDs’圧縮部500のベース部分と変
動部分の分割、ベース部分の圧縮処理を行うことを可能
にするようにDs’圧縮部500を構成にする。このよ
うにすれば、奇数、偶数画素のレベル差により、奇数、
偶数画素系統の分割処理を行わない場合に起きる圧縮率
の低下を回避することが可能になる。
The operation of the Ds' compression unit 500 is performed by a subtractor (S
UB (AB) 501 performs Ds′-Db, and determines whether the result is in the lower 4 bits by NOR 503 and AN
Judgment is made in D (1), (2) 504 and 505, and if they are in the lower 4 bits (output "L" of AND (2) 505), the counter (COUNT) 510 is advanced by one. If it is not in the lower 4 bits (output “H” of AND (2) 505),
The output wen of the OR circuit (OR) 507 is set to “H”, and writing to the base storage unit 400 is permitted. Further, the output (H) of AND (2) 505 causes the latch (LAT)
CH) 508 is enabled and Db = Ds', and at the same time, the counter (COUNT) 510 is cleared to zero. At this time, the output (L) inverter (INV (1)) 5
Dv is “0” by AND (3) 502 having 06 as input.
Is output. Nb is the number of pixels to which Db is applied−1
Is entered. FIG. 8 shows a timing chart of a signal (illustrated in FIG. 7) related to the Ds ′ compression section 500. FIG.
(A) in the figure shows that the data Db of the base part frequently changes greatly in the pixel data of the generated SH data Ds ′.
And (B) in the same figure shows a case where the variation of Ds' is small and Nb becomes 255. In the example of (B), when it becomes 255, w
en is set to “H”, and writing to the base storage unit 400 is performed. Note that the numbers attached to the data diagrams in FIG. 8 illustrate data values. Although not described in the above embodiment, image data input to the SH data generation circuit is subjected to so-called analog processing from an image sensor to AD conversion by dividing the processing into two systems of odd and even pixels. In such a case, it is possible to divide such input image data for each system and perform the above-described division of the base portion and the variable portion of the Ds' compression section 500 and compression processing of the base portion. The Ds ′ compression section 500 is configured so that In this way, the odd number, the even number,
It is possible to avoid a decrease in the compression ratio that occurs when the division processing of the even pixel system is not performed.

【0024】図9は、図4に示すDs伸張部600の詳
細回路を示す。Ds伸張部600は、回路要素として、
加算器(ADD)601、カウンタ(CUNT)60
2、減算器(SUB(A−B))603、ノア回路(N
OR)604を有し、図9に示すように構成する。Ds
伸張部600への入力信号は、Dv、Db、Nb、SC
LK、enで、これらは、 Dv:変動分データ(Ds’−Db)を示す。 Db:ベース部分のデータを示す。 Nb:Db連続数−1を示す。 SCLK:画素クロックを示す。 en:圧縮動作許可信号(enが“L”の間wenも
“L”となる)を示す。 Ds伸張部600からの出力信号は、Ds、renで、
これらは、 ren:ベース分読み出し許可信号を示す。 Ds:再生されたSHデータを示す。 Ds伸張部600の動作は、変動分記憶部300から読
み出したDvとベース分記憶部400から読み出したD
bを加算器(ADD)601で加算し、Dsとして出力
する。また、Db適用画素数カウンタ(CUNT)60
2はDb・Nb読み出し時にクリアされ、画素毎にカウ
ントアップして行く。カウンタ(CUNT)602の出
力とNbが等しくなったら、減算器(SUB(A−
B))603の出力を受けるノア回路(NOR)604
の出力であるrenを“H”とし、カウンタ(CUN
T)602のクリアと新しいDb・Nbの読み出しを行
う。図10は、Ds伸張部600に関係する信号(図9
中に記す)のタイミングチャートを示す。なお、図10
の各データの線図に付随して付けられた数字はデータ値
を例示するものである。
FIG. 9 shows a detailed circuit of the Ds decompression section 600 shown in FIG. The Ds expansion unit 600 includes, as a circuit element,
Adder (ADD) 601 and counter (COUNT) 60
2. Subtractor (SUB (AB)) 603, NOR circuit (N
OR) 604 and is configured as shown in FIG. Ds
Input signals to the expansion unit 600 are Dv, Db, Nb, SC
LK and en indicate Dv: fluctuation data (Ds′−Db). Db: Indicates data of a base portion. Nb: Indicates the number of continuous Db minus 1. SCLK: Indicates a pixel clock. en: Indicates a compression operation permission signal (when en is "L", wen also becomes "L"). The output signal from the Ds expansion unit 600 is Ds, ren,
These indicate ren: base-level read permission signal. Ds: indicates reproduced SH data. The operation of the Ds decompression unit 600 is based on Dv read from the variation storage unit 300 and Dv read from the base storage unit 400.
b is added by an adder (ADD) 601 and output as Ds. Also, the Db applied pixel number counter (COUNT) 60
2 is cleared when Db / Nb is read, and counts up for each pixel. When the output of the counter (COUNT) 602 becomes equal to Nb, the subtractor (SUB (A-
B)) NOR circuit (NOR) 604 receiving the output of 603
Is set to “H”, and the counter (CUN)
T) Clear 602 and read out new Db / Nb. FIG. 10 shows signals related to the Ds decompression unit 600 (FIG. 9).
2) shows a timing chart. Note that FIG.
The numbers attached to the respective data diagrams illustrate data values.

【0025】図11は、図4に示すベース分記憶部40
0の詳細回路を示す。ベース分記憶部400は、回路要
素として、セレクタ(SEL)401、記憶手段(バン
ク(0),(1))402,403、AND回路(AND(1),
(2),(3))409,410,404、インバータ(IN
V(1),(2))405,413、オア回路(OR(1),(2),
(3))407,408,406、ナンド回路(NAND
(1),(2))411,412を有し、図11に示すように
構成する。ベース分記憶部400への入力信号は、xw
st、Dwb、Dwn、wck、wb、wen、rc
k、rb、renで、これらは、 xwst:ライトアドレスリセット信号を示す。 Dwb:ベース部分書き込みデータを示す。 Dwn:Db連続数−1書き込みデータを示す。 wck:書き込みクロックを示す。 wb:ライトバンク指定信号を示す。 wen:ベース分記憶許可信号を示す。 rck:読み出しクロックを示す。 rb:リードバンク指定信号を示す。 ren:ベース分読み出し許可信号を示す。 ベース分記憶部400からの出力信号は、Drb、Dr
nで、これらは、 Drb:ベース部分読み出しデータを示す。 Drn:Db連続数−1読み出しデータを示す。
FIG. 11 shows the base storage unit 40 shown in FIG.
0 shows a detailed circuit. The base storage unit 400 includes selectors (SEL) 401, storage units (banks (0), (1)) 402, 403, and AND circuits (AND (1),
(2), (3)) 409, 410, 404, inverter (IN
V (1), (2)) 405,413, OR circuit (OR (1), (2),
(3)) 407, 408, 406, NAND circuit (NAND)
(1), (2)) 411 and 412, and are configured as shown in FIG. The input signal to the base storage unit 400 is xw
st, Dwb, Dwn, wck, wb, wen, rc
In k, rb, and ren, these indicate xwst: a write address reset signal. Dwb: indicates base partial write data. Dwn: Indicates the number of consecutive Db minus 1 write data. wck: indicates a write clock. wb: Indicates a write bank designation signal. wen: indicates a base-level storage permission signal. rck: indicates a read clock. rb: indicates a read bank designation signal. ren: Indicates a base-level read permission signal. Output signals from the base storage unit 400 are Drb, Dr
At n, these indicate Drb: base partial read data. Drn: the number of continuous Db minus 1 read data.

【0026】図12は、ベース分記憶部400に関係す
る信号(図11中に記す)のタイミングチャートを示
す。なお、図12の各データの線図に付随して付けられ
た数字はデータ値を例示するものである。図11、図1
2を参照すると、ベース分記憶部400の書き込み動作
は、この例では2バイト(16bit)構成の書込みデ
ータであり、書き込みデータの下位バイト(Dw0〜
7)にベース分(Dwb)を割り振り、上位バイト(D
w8〜15)にDb連続数(Dwn)を割り振る。書き
込みデータは、バンク(0)402、バンク(1)403の両
方の入力端子Dwへの接続を通して入力可能とされる。
バンクへの書き込み制御は、各バンクの書き込みクロッ
クwckの制御で行われる。wbが“L”の場合(図1
2(A)はこの場合を示す)、wen“H”又はxwr
st“L”の時(この時には、バンク(0),(1)とも、w
ckがそのまま入る)に、バンク(0)402にはwck
が入力される。又、wb“H”ではバンク(1)403に
wckが入力される。バンクからの読み出し制御は、バ
ンク(0),(1)同時に行われ、xrrst“L”又はre
n“H”で読み出される(図12(B)参照、図示はw
bが“L”の場合を示す)。なお、セレクタ(SEL)
401により出力を選択し、SEL401に入力される
rb信号が“L”では、バンク(0)402が、又、
“H”ではバンク(1)403が、Drb(Dr0〜
7)、Drn(Dr8〜15)として出力される。
FIG. 12 is a timing chart of signals (shown in FIG. 11) related to the base storage unit 400. It should be noted that the numbers attached to the respective data diagrams in FIG. 12 illustrate data values. 11 and 1
2, the write operation of the base storage unit 400 is write data of a 2-byte (16-bit) configuration in this example, and the lower byte (Dw0 to Dw0) of the write data.
7) Allot the base (Dwb) to the upper byte (D
w8 to 15), the number of continuous Db (Dwn) is allocated. Write data can be input through connection to both input terminals Dw of the bank (0) 402 and the bank (1) 403.
The write control to the banks is performed by controlling the write clock wck of each bank. When wb is “L” (FIG. 1
2 (A) shows this case), wen “H” or xwr
At the time of st “L” (in this case, w (w) and (1) are both w
ck is entered as is), wck is stored in bank (0) 402
Is entered. In wb “H”, wck is input to the bank (1) 403. The read control from the bank is performed simultaneously with the banks (0) and (1), and xrst “L” or re
n “H” (see FIG. 12 (B);
b indicates “L”). In addition, the selector (SEL)
When the output is selected by 401 and the rb signal input to the SEL 401 is “L”, the bank (0) 402
In “H”, the bank (1) 403 stores Drb (Dr0 to Dr0).
7), and output as Drn (Dr8-15).

【0027】ここで、上記第2の実施例(図4〜12)
に示した2バンク構成のシェーディングデータ生成回路
によるデータ生成手順を図13に示すフローチャートに
従い説明する。このフローは、画像読み取り装置内に設
けたスキャナ動作を制御するためのコントローラにより
実行する。装置の電源投入時にフローを開始し、先ず、
初期設定として、ベース分記憶部400のバンク(0)4
02、バンク(1)403を指定するために、リードバン
ク指定信号rb=0,ライトバンク指定信号wb=1、
或いはrb=1,wb=0とする(S131)。キャリ
ッジC1,C2を移動(副走査)させ、基準白板20を
読み取る領域に入ったか否かをチェックする(S13
2)。基準白板領域に入ったことを確認した(S132
−YES)後、読み取ったデータが基準白板20の有効画
素領域の画像データであるか否かをチェックし(S13
5)、有効範囲内の画素データについて処理を行うよう
にするが、その前に、リード・ライトバンクの入れ替
え、即ち、rb⇔wbを行い(S133)、又、ベース
分記憶部400における有効画素カウンタ、リードベー
スカウンタ、ライトベースカウンタの各カウンタを初期
化、即ち、pix=rbc=wbc=0とする(S13
4)。
Here, the second embodiment (FIGS. 4 to 12)
The data generation procedure by the two-bank shading data generation circuit shown in FIG. 13 will be described with reference to the flowchart shown in FIG. This flow is executed by a controller provided in the image reading device for controlling a scanner operation. The flow starts when the power of the device is turned on.
As an initial setting, the bank (0) 4 of the base storage unit 400
02, to designate the bank (1) 403, the read bank designation signal rb = 0, the write bank designation signal wb = 1,
Alternatively, rb = 1 and wb = 0 are set (S131). The carriages C1 and C2 are moved (sub-scanning), and it is checked whether or not the carriage C1 has entered an area for reading the reference white plate 20 (S13).
2). It is confirmed that the vehicle has entered the reference white plate area (S132).
After that, it is checked whether or not the read data is image data of the effective pixel area of the reference white board 20 (S13).
5) The processing is performed on the pixel data within the effective range. Before that, the read / write banks are exchanged, that is, rb⇔wb is performed (S133), and the effective pixels in the base storage unit 400 are also processed. The counter, the read base counter, and the write base counter are initialized, that is, pix = rbc = wbc = 0 (S13)
4).

【0028】次に、ラインにおける有効画素領域内の所
定ラインにわたり入力される画像データについて、各ラ
インのシェーディング(SH)補正データをSH演算部
200により算出し、ベースDb(rb、rbc)の連
続数:Nb(rb、rbc)を−1する(S136)。
ここで行うSH補正データの算出は、pix画素の画像
データ:Din(pix)とすると、1ライン目のSH補
正データ:Dsは、 Ds=3×Din(pix)/4 2ライン目以降のSH補正データ:Dsは、 Ds=(3×Ds’+Din(pix))/4 により求める。なお、上記式中、前ラインのSH補正デ
ータ:Ds’=Db(rb,rbc)+Dv(pi
x)、但し、Db(rb,rbc):前ラインのSH補
正データのベース分、Dv(pix):前ラインのSH
補正データの変動分である。この後、S136でベース
Db(rb、rbc)の連続数を−1した後の連続数が
0であるか否か、即ちNb(rb、rbc)=0をチェ
ックし、0の場合、Db(rb,rbc)を使う画素が
無くなったため、リードベースカウンタを1進める、つ
まりrbc=rbc+1とする。なお、0ではない場
合、S138をパスさせる。
Next, with respect to image data input over a predetermined line in the effective pixel area of the line, shading (SH) correction data of each line is calculated by the SH operation unit 200, and the base Db (rb, rbc) is continuously calculated. Number: Nb (rb, rbc) is decremented by one (S136).
Assuming that the SH correction data to be calculated here is pix pixel image data: Din (pix), the first line of SH correction data: Ds is: Ds = 3 × Din (pix) / 4 SH of the second and subsequent lines Correction data: Ds is obtained by Ds = (3 × Ds ′ + Din (pix)) / 4. In the above equation, the SH correction data of the previous line: Ds' = Db (rb, rbc) + Dv (pi
x), where Db (rb, rbc): the base of the SH correction data of the previous line, Dv (pix): SH of the previous line
This is the variation of the correction data. Thereafter, it is checked whether or not the number of continuations after subtracting −1 from the number of continuations of the base Db (rb, rbc) in S136, that is, Nb (rb, rbc) = 0. Since there are no pixels using (rb, rbc), the read base counter is incremented by 1, that is, rbc = rbc + 1. If it is not 0, S138 is passed.

【0029】次いで、Dsの変動分(前画素のベース分
との差)が規定の範囲内であるか否かをチェックする
(S139)。ここでは、−8〜7の範囲内であるか、
即ち−8≦Ds−Db(wb,wbc)<8を判断し、
範囲外である場合、wbcを1進めるために、wbc=
wbc+1とし、ベースの連続数を0に初期化するため
に、Nb(wb,wbc)=0とし、ベースをシェーデ
ィングデータとするために、Db(wb,wbc)=D
sとして、ベース分記憶部400に記憶させる(S14
0)。S139で変動分Ds−Db(wb,wbc)が
規定範囲内である場合、S140をパスさせ、次の各処
理を行う(S141)。ベース連続数を1増やすため
に、Nb(wb,wbc)=Nb(wb,wbc)+1
とし、変動分Dv(pix)を算出するために、Ds−
Db(wb,wbc)を演算し、変動分記憶部300に
記憶させる。この時、画素カウンタを1進めるために、
pix=pix+1とする。次に、画素毎にS133か
らのステップを行うために有効画素範囲内の画素である
か否かをチェックし(S142)、1ライン内に未処理
の有効画素があれば(S142−YES)、S133に戻
し、それ以降のステップを行わせる。この時、S133
でリード・ライトバンクの入れ替えを行うので偶数番目
と奇数番目の画素群によりバンク(0)402、バンク(1)
403を使い分けることになる。また、1ライン内に有
効画素がなければ(S142−NO)、次のラインの処理
を行うためにS132に戻し、それ以降のステップを行
わせる。
Next, it is checked whether or not the variation of Ds (difference from the base of the previous pixel) is within a prescribed range (S139). Here, it is within the range of -8 to 7,
That is, -8 ≦ Ds−Db (wb, wbc) <8 is determined,
If it is out of the range, to advance wbc by 1, wbc =
wbc + 1, Nb (wb, wbc) = 0 in order to initialize the continuous number of bases to 0, and Db (wb, wbc) = D in order to use the base as shading data.
s is stored in the base storage unit 400 (S14).
0). If the variation Ds−Db (wb, wbc) is within the specified range in S139, the process goes through S140 and performs the following processes (S141). In order to increase the base continuation number by 1, Nb (wb, wbc) = Nb (wb, wbc) +1
In order to calculate the variation Dv (pix), Ds−
Db (wb, wbc) is calculated and stored in the variation storage unit 300. At this time, to advance the pixel counter by 1,
pix = pix + 1. Next, in order to perform the steps from S133 for each pixel, it is checked whether or not the pixel is within the effective pixel range (S142). If there is an unprocessed effective pixel in one line (S142-YES), The process returns to S133, and the subsequent steps are performed. At this time, S133
, The read / write banks are exchanged, so that even-numbered and odd-numbered pixel groups are used for the bank (0) 402 and the bank (1).
403 will be used properly. If there is no valid pixel in one line (S142-NO), the process returns to S132 to perform the processing of the next line, and the subsequent steps are performed.

【0030】次に、シェーディングデータの生成回路に
係わる第3の実施例を説明する。この実施例は、図3に
示した本発明の基本的な要素を備えて構成した第1の実
施例におけるベース分記憶部に、1系統の連続したアド
レスを持つメモリをループ状に動作させる記憶部を採用
したものである。図14は、本実施例のシェーディング
データの生成回路を示す。なお、図14に示す回路は、
構成各部への制御(タイミング)信号、信号端子が詳細
に示されている以外、図3の回路と基本的に変わりがな
い。本実施例を特徴付ける図14に示したベース分記憶
部400の構成を以下に示す図15,16に基づいて詳
細に説明する。図15は、本実施例のSHデータ生成回
路(図14)のベース分記憶部400の詳細回路を示
す。ベース分記憶部400は、回路要素として、デュア
ルポートメモリ421、オア回路(OR)422、カウ
ンタ(CUNT(1),(2))423,424、ラッチ(L
ATCH)425、ノア回路(NOR)426、インバ
ータ(INV(1),(2))427,428、AND回路
(AND)429を有し、図15に示すように構成す
る。ベース分記憶部400への入力信号は、Dwb、D
wn、wck、wen、rck、ren、shgt、s
h1st、lgate、lg_d1で、これらは、 Dwb:ベース部分書き込みデータを示す。 Dwn:Db連続数−1書き込みデータを示す。 wck:書き込みクロックを示す。 wen:ベース分記憶許可信号を示す。 rck:読み出しクロックを示す。 ren:ベース分読み出し許可信号を示す。 shgt:基準白板有効領域信号を示す。 sh1st:shgt直後1ライン目信号 lgate:有効画素領域信号を示す。 lg_d1:lgateを1画素遅らした信号を示す。 ベース分記憶部400からの出力信号は、Drb、Dr
nで、これらは、 Drb:ベース部分読み出しデータを示す。 Drn:Db連続数−1読み出しデータを示す。
Next, a description will be given of a third embodiment relating to a shading data generating circuit. In this embodiment, a memory for operating a memory having one continuous address in a loop is stored in the base storage unit in the first embodiment having the basic elements of the present invention shown in FIG. The part is adopted. FIG. 14 illustrates a shading data generation circuit according to the present embodiment. The circuit shown in FIG.
Except that the control (timing) signals and signal terminals for each component are shown in detail, there is basically no difference from the circuit of FIG. The configuration of the base storage unit 400 shown in FIG. 14 that characterizes this embodiment will be described in detail with reference to FIGS. FIG. 15 shows a detailed circuit of the base storage unit 400 of the SH data generation circuit (FIG. 14) of this embodiment. The base storage unit 400 includes a dual port memory 421, an OR circuit (OR) 422, counters (COUNT (1), (2)) 423, 424, and a latch (L
ATCH) 425, NOR circuit (NOR) 426, inverters (INV (1), (2)) 427, 428, and AND circuit (AND) 429, and are configured as shown in FIG. Input signals to the base storage unit 400 are Dwb, D
wn, wck, wen, rck, ren, shgt, s
In h1st, lgate, and lg_d1, these indicate Dwb: base partial write data. Dwn: Indicates the number of consecutive Db minus 1 write data. wck: indicates a write clock. wen: indicates a base-level storage permission signal. rck: indicates a read clock. ren: Indicates a base-level read permission signal. shgt: Indicates a reference whiteboard effective area signal. sh1st: Signal of the first line immediately after shgt lgate: Indicates an effective pixel area signal. lg_d1: Indicates a signal obtained by delaying lgate by one pixel. Output signals from the base storage unit 400 are Drb, Dr
At n, these indicate Drb: base partial read data. Drn: the number of continuous Db minus 1 read data.

【0031】図16は、ベース分記憶部400に関係す
る信号(図15中に信号名、或いは端子名により該当端
子への入力信号を記す)のタイミングチャートを示す。
図15、図16を参照すると、この例では1024ワー
ドの容量を持つデュアルポートメモリ421を用い、前
述の実施例(図4)のベース分記憶部と同様に、2バイ
ト(16bit)構成のデータとし、データの下位バイ
トにベース分、上位バイトにDb連続数を割り振る(即
ち、Dwb(ベース分)はDw0〜7、Dwn(Db連
続数)はDw8〜15に、Drb(ベース分)はDr0
〜7、Drn(Db連続数)はDr8〜15に割り振
る)。Dwはデュアルポートメモリ421の書き込みポ
ートに、Drは読み出しポートに関わり、書き込みアド
レス(wadr)、読み出しアドレス(radr)はそ
れぞれ書き込みアドレスカウンタCUNT(2)424、
読み出しアドレスカウンタCUNT(1)423によりセ
ットする。書き込みを行うCUNT(2)424はshg
t“L”期間中クリアされ(図16中、CUNT(2)C
LRに示す)、wen“H”毎に順次カウントアップし
て行く。このとき、デュアルポートメモリ421とし
て、容量1024ワードの連続したアドレスを持つメモ
リを用い、これをループ状に動作させるので、CUNT
(2)424はカウンタ値が1023となると、次は0か
らカウントを行うようにする。
FIG. 16 is a timing chart of signals related to the base storage unit 400 (input signals to corresponding terminals are indicated by signal names or terminal names in FIG. 15).
Referring to FIGS. 15 and 16, in this example, a dual-port memory 421 having a capacity of 1024 words is used, and as in the base storage unit of the above-described embodiment (FIG. 4), data of a 2-byte (16-bit) configuration is used. The base byte is allocated to the lower byte of data and the number of continuous Db is allocated to the upper byte (that is, Dwb (base) is Dw0 to 7, Dwn (continuous number of Db) is Dw8 to 15, and Drb (base) is Dr0.
7, Drn (the number of continuous Db) is allocated to Dr8 to Dr15). Dw is related to a write port of the dual port memory 421, Dr is related to a read port, and a write address (wadr) and a read address (radr) are respectively a write address counter COUNT (2) 424,
It is set by the read address counter CNT (1) 423. CNT (2) 424 for writing is shg
It is cleared during the t “L” period (in FIG. 16, COUNT (2) C
LR), and each time wen “H” is counted up. At this time, a memory having a continuous address having a capacity of 1024 words is used as the dual port memory 421 and is operated in a loop.
(2) When the counter value reaches 1023, 424 starts counting from 0 next.

【0032】また、読み出しを行うCUNT(1)423
は、sh1stでクリアされ(図16中、CUNT(1)
CLRに示す)、shgt“H”中はren“H”毎に
順次カウントアップされる。さらに、ラッチ(LATC
H)425では、shgt“H”中のlgateの最初
の画素でwadr(CUNT(2)424のカウンタ値)
をラッチし(図16中、LATCH ENに示す)、ラ
ッチしたアドレスをCUNT(1)423の読み出し開始
アドレスとしてセットし、ren“H”毎にカウントア
ップする。この為、shgtが“H”の間、ライン毎に
読み出し開始アドレスをLATCH425によりセット
する(図16中、LATCH DOに示す。基準白板有
効領域の最初のアドレスは0となる)。また、shgt
が“L”となった時は最後のラインの書き込み開始アド
レスが保持される。shgt“L”での読み出しは、L
ATCH425により保持された最終ライン書き込み開
始アドレス(SHデータアドレス)をライン毎にCUN
T(1)423でロードし、ren“H”毎にカウントア
ップする。本実施例の1系統の連続したアドレスを持つ
メモリをループ状に動作させる記憶部では、レベル差が
生じる可能性がある奇数画素と偶数画素のデータが連続
して入力される場合でも、圧縮率の低下を回避すること
が可能になる。
COUNT (1) 423 for reading
Is cleared at sh1st (in FIG. 16, COUNT (1)
During the shgt “H”, the count is sequentially increased every ren “H”. In addition, the latch (LATC
In H) 425, wadr (counter value of COUNT (2) 424) is used in the first pixel of lgate in shgt “H”.
(Shown as LATCH EN in FIG. 16), the latched address is set as the read start address of CNT (1) 423, and the count is incremented every ren “H”. For this reason, while shgt is “H”, the read start address is set for each line by the LATCH 425 (indicated by LATCH DO in FIG. 16; the first address of the reference white plate effective area is 0). Also, shgt
Becomes "L", the write start address of the last line is held. The read at shgt “L” is L
The last line write start address (SH data address) held by ATCH 425 is
It is loaded at T (1) 423 and counts up for each ren “H”. In the storage unit according to the present embodiment, which operates a memory having a continuous address of one system in a loop, even if data of an odd-numbered pixel and an even-numbered pixel, which may cause a level difference, are continuously input, the compression ratio is reduced. Can be avoided.

【0033】上記した各実施例に示したように、生成S
H補正用データ(Ds’):8ビット、ベース部分(D
b):8ビット、ベース連続数(Nb):8ビット、変
動部分(Dv):4ビットの場合、有効画素数を745
0画素とすると、画像データのS/Nにもよるが、 Dv:4bit×7450 Db:8ビット×256ワード Nb:8ビット×256ワード となる。これより、必要となるメモリ容量は、 「実施例2」 4×7450+8×256×2×2=37992(bi
t) 「実施例3」 4×7450+8×256×2×1=33896(bi
t) となる。なお、ここでは、ベース分の圧縮率の変化を半
分程度までと見込んでいる。従来例では、画素毎に完全
なデータを保存するので、 8×7450=59600(bit) である。従って、従来例に対して、 「実施例2」:63.7% 「請求項3」:56.9% のメモリ量で済み、シェーディング補正用データの記憶
部の縮小が行える。
As described in the above embodiments, the generation S
H correction data (Ds'): 8 bits, base part (D
b): 8 bits, base continuous number (Nb): 8 bits, variable part (Dv): 4 bits, the effective pixel number is 745
Assuming 0 pixels, Dv: 4 bits × 7450 Db: 8 bits × 256 words Nb: 8 bits × 256 words, depending on the S / N of the image data. From this, the required memory capacity is “Example 2” 4 × 7450 + 8 × 256 × 2 × 2 = 37992 (bi
t) “Example 3” 4 × 7450 + 8 × 256 × 2 × 1 = 33896 (bi
t) Here, the change in the compression ratio for the base is expected to be about half. In the conventional example, since complete data is stored for each pixel, 8 × 7450 = 59600 (bits). Therefore, as compared with the conventional example, the memory amount of “Example 2”: 63.7% “Claim 3”: 56.9% is sufficient, and the storage unit of the shading correction data can be reduced.

【0034】[0034]

【発明の効果】(1) 請求項1,2の発明に対応する
効果 画像読み取り装置のシェーディング補正用データ生成手
段に、生成したシェーディング補正用データが所定範囲
内の変動を示す画素列におけるデータのベース部分と変
動部分を分割し、ベース部分のデータを圧縮する手段、
分割した変動部分と、圧縮したベース部分のデータを記
憶する記憶手段、記憶した変動分及びベース分のデータ
を読み出し、シェーディング補正用データを復元するデ
ータ伸張手段を備えたことにより、シェーディング補正
用データ生成手段の小規模化、コスト低減が可能にな
り、延いては、画像読み取り装置をデジタル複写機等の
ユニットとする場合、ユニット内の小規模ICにシェー
ディングデータ生成機能を組み込むことが可能になるの
で、ユニットの性能の向上が図れる。 (2) 請求項3の発明に対応する効果 上記(1)の効果に加え、圧縮したベース部分のデータ
を記憶する記憶手段として、複数系統のFIFOを順次
動作させる(例えば2バンク構成にして交互に動作させ
る)手段を用いるようにしたことにより、処理の高速化
を図ることが可能になる。 (3) 請求項4の発明に対応する効果 上記(1)の効果に加え、圧縮したベース部分のデータ
を記憶する記憶手段として、連続したアドレスをループ
状に動作させる1系統の記憶手段を用いるようにしたこ
とにより、メモリ容量をより縮小することが可能であ
り、レベル差が生じた奇数画素と偶数画素のデータが連
続して入力される場合でも、圧縮率の低下を回避するこ
とが可能になる。
(1) Effects corresponding to the first and second aspects of the present invention The shading correction data generating means of the image reading apparatus transmits the data in the pixel row in which the generated shading correction data shows a variation within a predetermined range. Means for dividing the base part and the variable part and compressing the data of the base part,
A storage means for storing data of the divided variable portion and the compressed base portion, and a data decompression means for reading out the stored data of the variation and the base and restoring the data for shading correction, thereby providing shading correction data. This makes it possible to reduce the size of the generating means and reduce the cost, and furthermore, when the image reading device is a unit such as a digital copying machine, it is possible to incorporate a shading data generating function into a small-scale IC in the unit. Therefore, the performance of the unit can be improved. (2) Effects corresponding to the third aspect of the invention In addition to the effects of the above (1), a plurality of systems of FIFOs are sequentially operated as storage means for storing compressed base portion data (for example, alternately in a two-bank configuration). ), The processing speed can be increased. (3) Effects corresponding to the fourth aspect of the invention In addition to the effects of the above (1), as storage means for storing compressed base portion data, one system of storage means for operating consecutive addresses in a loop is used. By doing so, it is possible to further reduce the memory capacity, and to avoid a decrease in the compression ratio even when data of odd-numbered pixels and even-numbered pixels having a level difference are continuously input. become.

【0035】(4) 請求項5の発明に対応する効果 上記(1)〜(3)の効果に加え、データ圧縮を読み取
りデータの系統に応じて系統毎に分割・圧縮処理を行う
ようにしたことにより、前段のアナログ処理を別系統で
行う場合に生じるレベル差(例えば、奇数、偶数画素の
レベル差)のために、データ圧縮を系統別に処理しない
ときに起きる圧縮率の低下を回避することが可能にな
る。 (5) 請求項6の発明に対応する効果 上記(1)〜(4)の効果を複写機、ファクシミリ等の
画像形成装置において実現することができ、画像形成装
置の性能を向上させることが可能になる。
(4) Advantages Corresponding to the Invention of Claim 5 In addition to the advantages (1) to (3), data compression is performed by dividing and compressing data for each system according to the system of the read data. Accordingly, it is possible to avoid a decrease in the compression ratio that occurs when data compression is not performed for each system due to a level difference (for example, a level difference between an odd-numbered pixel and an even-numbered pixel) that occurs when the analog processing of the previous stage is performed in another system. Becomes possible. (5) Effects corresponding to the invention of claim 6 The effects (1) to (4) can be realized in an image forming apparatus such as a copying machine and a facsimile, and the performance of the image forming apparatus can be improved. become.

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

【図1】 本発明の実施例に係わるDPPCの構造を概
略図として示す。
FIG. 1 is a schematic view showing a structure of a DPPC according to an embodiment of the present invention.

【図2】 本発明の実施例に係わる画像読み取り装置を
概略図として示す。
FIG. 2 is a schematic diagram illustrating an image reading apparatus according to an embodiment of the present invention.

【図3】 シェーディングデータの生成回路の第1の実
施例を示すブロック図である。
FIG. 3 is a block diagram illustrating a first embodiment of a shading data generation circuit.

【図4】 シェーディングデータの生成回路の第2の実
施例を示すブロック図である。
FIG. 4 is a block diagram showing a second embodiment of a shading data generation circuit.

【図5】 図4に示す制御部の詳細回路を示す。FIG. 5 shows a detailed circuit of the control unit shown in FIG.

【図6】 制御部に関係する信号(図5中に記す)のタ
イミングチャートを示す。
FIG. 6 is a timing chart of signals related to the control unit (shown in FIG. 5).

【図7】 図4に示すDs’圧縮部の詳細回路を示す。FIG. 7 shows a detailed circuit of a Ds' compression unit shown in FIG.

【図8】 Ds’圧縮部に関係する信号(図7中に記
す)のタイミングチャートを示す。
8 shows a timing chart of a signal (shown in FIG. 7) related to the Ds ′ compression section.

【図9】 図4に示すDs伸張部の詳細回路を示す。9 shows a detailed circuit of a Ds decompression unit shown in FIG.

【図10】 Ds伸張部に関係する信号(図9中に記
す)のタイミングチャートを示す。
FIG. 10 is a timing chart of a signal (shown in FIG. 9) related to the Ds expansion unit.

【図11】 図4に示すベース分記憶部の詳細回路を示
す。
FIG. 11 shows a detailed circuit of a base storage unit shown in FIG. 4;

【図12】 ベース分記憶部に関係する信号(図11中
に記す)のタイミングチャートを示す。
FIG. 12 is a timing chart of signals (shown in FIG. 11) related to the base storage unit.

【図13】 2バンク構成のシェーディングデータ生成
回路によるデータ生成手順の実施例フローを示す。
FIG. 13 shows an example flow of a data generation procedure by a shading data generation circuit having a two-bank configuration.

【図14】 シェーディングデータの生成回路に係わる
第3の実施例を示すブロック図である。
FIG. 14 is a block diagram showing a third embodiment relating to a shading data generation circuit.

【図15】 図14に示すベース分記憶部の詳細回路を
示す。
15 shows a detailed circuit of a base storage unit shown in FIG. 14;

【図16】 ベース分記憶部に関係する信号(図15中
に記す)のタイミングチャートを示す。
FIG. 16 is a timing chart of signals (shown in FIG. 15) related to the base storage unit.

【図17】 従来のシェーディングデータの生成回路の
一例を示す。
FIG. 17 shows an example of a conventional shading data generation circuit.

【図18】 図17のシェーディングデータの生成回路
に関係する信号(図17中に記す)のタイミングチャー
トを示す。
18 shows a timing chart of signals (illustrated in FIG. 17) related to the shading data generation circuit of FIG.

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

11…原稿、 12…コンタク
トガラス、C1…第1キャリッジ、 C2
…第2キャリッジ、13…露光ランプ、
14,15,16…ミラー、17…結像レンズ、
18…受光素子(イメージセンサ)、
20…基準白板、 35…画像読み
取り装置、100…制御部、 20
0…シェーディングデータ演算部、300…変動分記憶
部、 400…ベース分記憶部、500…
Ds’圧縮部、 600…Ds伸張部。
11: Original, 12: Contact glass, C1: First carriage, C2
... second carriage, 13 ... exposure lamp,
14, 15, 16 ... mirror, 17 ... imaging lens,
18 ... light receiving element (image sensor),
Reference numeral 20: reference white plate 35: image reading device 100: control unit 20
0: shading data calculation unit, 300: variation storage unit, 400: base storage unit, 500:
Ds' compression section, 600 ... Ds expansion section.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ラインイメージセンサをその主走査ライ
ンに交わる副走査方向に相対移動させながら該センサに
より基準白板を読み取り、得た白データに基づいて該セ
ンサの読み取り出力を一定化するためのシェーディング
補正用データを生成する手段を備えた画像読み取り装置
であって、前記シェーディング補正用データ生成手段
に、画素の配列順に画素単位で生成したシェーディング
補正用データが所定範囲内の変動を示す画素列における
該データのベース部分と変動部分を分割し、ベース部分
のデータを圧縮する手段と、分割した変動部分のデータ
を記憶する変動分記憶手段と、圧縮したベース部分のデ
ータを記憶するベース分記憶手段と、変動分記憶手段及
びベース分記憶手段からデータを読み出し、シェーディ
ング補正用データを復元するデータ伸張手段を備えたこ
とを特徴とする画像読み取り装置。
1. A shading for reading a reference white plate by a line image sensor while relatively moving the line image sensor in a sub-scanning direction intersecting the main scanning line, and for stabilizing a reading output of the sensor based on obtained white data. An image reading apparatus comprising means for generating correction data, wherein the shading correction data generation means includes a pixel row in which a shading correction data generated in a pixel unit in a pixel arrangement order shows a variation within a predetermined range. Means for dividing a base portion and a variable portion of the data and compressing the data of the base portion; a variable storage device for storing the data of the divided variable portion; and a base portion storage device for storing the compressed data of the base portion. Data from the variation storage means and the base storage means and restore the shading correction data. An image reading apparatus comprising a data decompression means.
【請求項2】 請求項1に記載された画像読み取り装置
において、前記シェーディング補正用データ生成手段
は、読み取った現ラインの白データと前記データ伸張手
段により復元した前ラインのシェーディング補正用デー
タに基づいて現ラインのシェーディング補正用データを
演算する手段によりシェーディング補正用データを生成
することを特徴とする画像読み取り装置。
2. The image reading apparatus according to claim 1, wherein said shading correction data generating means is based on the read white data of the current line and the shading correction data of the previous line restored by said data decompression means. An image reading apparatus for generating shading correction data by means for calculating shading correction data of a current line.
【請求項3】 請求項1又は2に記載された画像読み取
り装置において、前記ベース分記憶手段が、複数系統の
FIFOを持ち、該FIFOを順次動作させるようにし
た記憶手段であることを特徴とする画像読み取り装置。
3. An image reading apparatus according to claim 1, wherein said base storage means is a storage means having a plurality of systems of FIFOs and operating said FIFOs sequentially. Image reading device.
【請求項4】 請求項1又は2に記載された画像読み取
り装置において、前記ベース分記憶手段が、連続したア
ドレスをループ状に動作させる1系統の記憶手段である
ことを特徴とする画像読み取り装置。
4. The image reading apparatus according to claim 1, wherein said base storage means is a single system of storage means for operating consecutive addresses in a loop. .
【請求項5】 請求項1乃至4のいずれかに記載された
画像読み取り装置において、前記データ圧縮手段が、読
み取りデータの系統に応じて系統毎に分割・圧縮処理を
行う手段であることを特徴とする画像読み取り装置。
5. The image reading apparatus according to claim 1, wherein the data compression unit is a unit that performs division / compression processing for each system according to the system of the read data. Image reading device.
【請求項6】 請求項1乃至5のいずれかに記載された
画像読み取り装置と、画像読み取り装置から出力される
画像データに基づいて画像を形成する手段を備えたこと
を特徴とする画像形成装置。
6. An image forming apparatus comprising: the image reading apparatus according to claim 1; and means for forming an image based on image data output from the image reading apparatus. .
JP2001171950A 2001-06-07 2001-06-07 Image reading apparatus and image forming apparatus Expired - Fee Related JP4121007B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001171950A JP4121007B2 (en) 2001-06-07 2001-06-07 Image reading apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001171950A JP4121007B2 (en) 2001-06-07 2001-06-07 Image reading apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2002368996A true JP2002368996A (en) 2002-12-20
JP4121007B2 JP4121007B2 (en) 2008-07-16

Family

ID=19013644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001171950A Expired - Fee Related JP4121007B2 (en) 2001-06-07 2001-06-07 Image reading apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP4121007B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428595A (en) * 2022-01-28 2022-05-03 深圳市爱协生科技有限公司 Image processing method, image processing device, computer equipment and storage medium
CN114428595B (en) * 2022-01-28 2024-05-31 深圳市爱协生科技股份有限公司 Image processing method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428595A (en) * 2022-01-28 2022-05-03 深圳市爱协生科技有限公司 Image processing method, image processing device, computer equipment and storage medium
CN114428595B (en) * 2022-01-28 2024-05-31 深圳市爱协生科技股份有限公司 Image processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
JP4121007B2 (en) 2008-07-16

Similar Documents

Publication Publication Date Title
JPH11261809A (en) Digital copying machine
JP3342688B2 (en) Pulse width modulation system
JPH04261274A (en) Picture processor
US7061640B1 (en) Image processing apparatus that compresses and divides image data for storage
US5130809A (en) Electrophotographic copier with constant rate data compression and simultaneous storage and decompression of compressed data received on a mutually coupled data bus
JPH11215298A (en) Image information processing unit, image information processing method and image forming device
US6683703B1 (en) Photoelectric transducer and photoelectric transducing method of the same
US7209260B1 (en) Image processing apparatus
US7352480B2 (en) Image processing apparatus and image processing method
US6047092A (en) Image processing system to correct the density range of image data and perform filtering processing on image data
JP2886924B2 (en) Image processing device
JP4031132B2 (en) Image forming apparatus
JP4121007B2 (en) Image reading apparatus and image forming apparatus
EP0853417A2 (en) An image data transfer system
JP2001186311A (en) Picture reader, copying machine, facsimile equipment and composite equipment
US6943912B1 (en) Image forming apparatus
JP3798553B2 (en) Image processing device
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JP3347550B2 (en) Image processing apparatus and method
JP3801840B2 (en) Image processing device
JPH1198359A (en) Image processor and image forming device
JP4568297B2 (en) Image information processing apparatus, image information processing method, and image forming apparatus
JP2000069257A (en) Image processor
JP2828637B2 (en) Image forming device
JPH07296141A (en) Method and device for inputting image, information processing system provided with this device and control method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071126

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: 20080423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080423

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

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120509

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120509

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130509

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140509

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees