JP2002300392A - Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium - Google Patents

Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium

Info

Publication number
JP2002300392A
JP2002300392A JP2001100200A JP2001100200A JP2002300392A JP 2002300392 A JP2002300392 A JP 2002300392A JP 2001100200 A JP2001100200 A JP 2001100200A JP 2001100200 A JP2001100200 A JP 2001100200A JP 2002300392 A JP2002300392 A JP 2002300392A
Authority
JP
Japan
Prior art keywords
shading correction
data
correction data
image
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.)
Pending
Application number
JP2001100200A
Other languages
Japanese (ja)
Inventor
Hajime Tsukahara
元 塚原
Yoshihisa Soeda
良久 添田
Sakae Kizara
栄江 木皿
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 JP2001100200A priority Critical patent/JP2002300392A/en
Publication of JP2002300392A publication Critical patent/JP2002300392A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To thoroughly eliminate noises from white shading correction data by excluding pixels subjected to the influence of dust, dirt and flaw or the like. SOLUTION: An averaging circuit 32 generates shading correction data used for white shading correction from image data obtained by reading a white reference board. An averaging circuit 29 applies weighted mean processing to data by a plurality of lines at the head of image data of the white reference board (reference data generating area) to generate reference data. A comparator circuit 31 discriminates whether or not a relation of 'image data after the reference data generating area < reference data - a prescribed value NOREF' holds and excludes the image data after the reference data generating area from the object of generating the shading correction data by the averaging circuit 32 for each pixel selectively when the relation holds.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、白基準からシェ
ーディング補正データを作成するシェーディング補正デ
ータ作成装置、このシェーディング補正データ作成装置
を備えた白シェーディング補正装置、画像読取装置及び
画像形成装置、並びに、白基準からシェーディング補正
データを作成するシェーディング補正データ作成方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shading correction data generating apparatus for generating shading correction data from a white reference, a white shading correction apparatus having the shading correction data generating apparatus, an image reading apparatus and an image forming apparatus, and The present invention relates to a shading correction data generation method for generating shading correction data from a white reference.

【0002】[0002]

【従来の技術】一般にデジタル画像読取装置では、読取
走査光学系を構成するCCDラインセンサの各画素の感
度むらや、レンズにおける透過光量のばらつき、照明光
源や光学系のむら及び劣化などを原因として、各画素に
対応する受光素子からの出力が必ずしも均一になるとは
限らない。
2. Description of the Related Art In general, in a digital image reading apparatus, unevenness in sensitivity of each pixel of a CCD line sensor constituting a reading scanning optical system, variation in transmitted light amount in a lens, and unevenness and deterioration of an illumination light source and an optical system are caused. The output from the light receiving element corresponding to each pixel is not always uniform.

【0003】これらを補正する手段として白シェーディ
ング補正が知られている。白シェーディング補正は、実
際の原稿読取処理に先だって白基準を照明し、その反射
光を読み取り、各画素のシェーディング補正用のシェー
ディング補正データとして取得する。そして、このシェ
ーディング補正データに基づいて原稿の読取画像データ
の白シェーディング補正を行っている。
[0003] As a means for correcting these, white shading correction is known. In the white shading correction, a white reference is illuminated prior to the actual document reading process, the reflected light is read, and obtained as shading correction data for shading correction of each pixel. Then, based on the shading correction data, white shading correction of the read image data of the document is performed.

【0004】そして、白シェーディング補正を正確に行
なうためには、白基準(白基準板などが用いられる)の
読取データからゴミ、汚れ、傷などによるノイズを少な
くしなければならない。例えば、読取りデータにノイズ
が多いシステムでは、正確なシェーディング補正データ
を生成することができず、上記シェーディング補正デー
タにより補正された読み取り画像は、ノイズの影響を受
けた出力画像となってしまう。
In order to accurately perform white shading correction, noise due to dust, dirt, scratches, and the like must be reduced from read data of a white reference (a white reference plate or the like is used). For example, in a system in which read data has much noise, accurate shading correction data cannot be generated, and a read image corrected by the shading correction data becomes an output image affected by noise.

【0005】このような不具合を解決するために、特開
平11-289432号公報に開示の技術では、白基準の複数ラ
インに於いて単純平均を行なうことでシェーディング補
正データを生成し、ノイズの影響を最小限に抑える構成
をとっている。
In order to solve such a problem, in the technique disclosed in Japanese Patent Application Laid-Open No. H11-289432, shading correction data is generated by performing simple averaging on a plurality of lines based on white, thereby reducing the influence of noise. It is designed to minimize

【0006】また、単純平均化では回路構成が複雑で高
コストになるため、特開平11-289432号公報に開示の技
術で、単純、低コストの回路で実現可能な重み付け平均
(重加算平均)を行なうことも考えられる。
Further, since the simple averaging has a complicated circuit configuration and is costly, the technique disclosed in Japanese Patent Application Laid-Open No. H11-289432 discloses a weighted average (multiple averaging) that can be realized by a simple and low-cost circuit. It is also conceivable to perform

【0007】[0007]

【発明が解決しようとする課題】しかし、前記各技術で
は、白基準上のゴミ、汚れ、傷等の影響を完全に取り除
くことはできない。特に、複数ラインの重加算平均から
シェーディング補正データを生成する場合、最終ライン
の影響をもっとも受けることになることから、最終ライ
ンにゴミ、汚れ、傷等があった場合、シェーディング補
正データへの影響が大きいものになるという不具合があ
る。
However, in each of the above techniques, the influence of dust, dirt, scratches, etc. on the white standard cannot be completely eliminated. In particular, when shading correction data is generated from multiple averaging of multiple lines, the influence of the last line is the most affected.Therefore, if there is dust, dirt, scratches, etc. on the last line, the influence on the shading correction data Is large.

【0008】この発明の目的は、ゴミ、汚れ、傷等の影
響を受けた画素を除外して、白シェーディング補正デー
タから充分にノイズを除去することである。
An object of the present invention is to eliminate pixels affected by dust, dirt, scratches, etc., and to sufficiently remove noise from white shading correction data.

【0009】この発明の目的は、シェーディング補正デ
ータの生成に使用できる画素数を減らすことなく、精度
のよいシェーディング補正データを得ることである。
It is an object of the present invention to obtain accurate shading correction data without reducing the number of pixels that can be used for generating shading correction data.

【0010】この発明の目的は、基準データを適切な値
に調節し、精度のよいシェーディング補正データを的確
に得ることである。
An object of the present invention is to adjust reference data to an appropriate value and accurately obtain accurate shading correction data.

【0011】この発明の目的は、予め設定された値を適
切な大きさに調節して、精度のよいシェーディング補正
データを的確に得ることである。
An object of the present invention is to adjust a preset value to an appropriate value and accurately obtain accurate shading correction data.

【0012】この発明の目的は、基準データ以後の画像
データをライン間で平均化することで、シェーディング
補正データの作成を的確に行なうことである。
An object of the present invention is to accurately generate shading correction data by averaging image data after reference data between lines.

【0013】この発明の目的は、重加算平均でシェーデ
ィング補正データの作成を行っても、最終ラインのゴ
ミ、汚れ、傷等の影響を除いて、シェーディング補正デ
ータの作成を的確に行なうことである。
An object of the present invention is to accurately generate shading correction data even when generating shading correction data by multiple averaging, excluding the influence of dust, dirt, scratches, and the like on the last line. .

【0014】この発明の目的は、白基準の画像データの
総ライン数に応じて、シェーディング補正データの作成
を的確に行なうことである。
An object of the present invention is to accurately generate shading correction data in accordance with the total number of lines of white-based image data.

【0015】この発明の目的は、白基準の読取速度に応
じて、基準データの作成の対象となる範囲を適切に選択
することである。
An object of the present invention is to appropriately select a range in which reference data is to be created in accordance with a white reference reading speed.

【0016】この発明の目的は、システム構成を簡易で
低コストなものにすることである。
An object of the present invention is to make the system configuration simple and low-cost.

【0017】この発明の目的は、ゴミ、汚れ、傷等が連
続する複数ラインにわたって白き順に付いていても、そ
の影響を低減して、シェーディング補正データの作成を
的確に行なうことである。
An object of the present invention is to reduce the influence of dust, dirt, scratches, and the like even in a continuous white line over a plurality of continuous lines, and to accurately generate shading correction data.

【0018】[0018]

【課題を解決するための手段】請求項1に記載の発明
は、白基準を読み取った画像データから白シェーディン
グ補正に用いるシェーディング補正データを作成するシ
ェーディング補正データ作成装置において、前記画像デ
ータの副走査方向の先頭における複数ライン分のデータ
を統計化して基準データを作成するシェーディング補正
データ作成手段と、副走査方向における前記基準データ
以後の前記画像データと前記基準データとに関する比較
演算を行う比較手段と、この比較演算の結果に基づいて
前記基準データ以後の画像データを画素ごとに選択的に
前記シェーディング補正データの作成の対象から除外す
る除外手段と、この除外の対象とならなかった前記基準
データ以後の画像データに基づいて前記シェーディング
補正データを作成するシェーディング補正データ作成手
段と、を備えていることを特徴とするシェーディング補
正データ作成装置である。
According to a first aspect of the present invention, there is provided a shading correction data creating apparatus for creating shading correction data to be used for white shading correction from image data obtained by reading a white reference. Shading correction data generating means for statistically generating data for a plurality of lines at the head of the direction to generate reference data, and comparing means for performing a comparison operation on the image data and the reference data after the reference data in the sub-scanning direction An exclusion unit for selectively excluding image data subsequent to the reference data on a pixel-by-pixel basis based on the result of the comparison operation from the target of the shading correction data creation; and Creates the shading correction data based on the image data of It is the shading correction data creation device according to claim which includes a shading correction data creation means.

【0019】したがって、白基準の先頭の複数ラインを
統計化して作成した基準データと、基準データ以後の画
像データとに関して比較を行って、ゴミ、汚れ、傷等の
影響を受けた画素を除外することができるので、白シェ
ーディング補正データから充分にノイズを除去すること
ができる。
Therefore, comparison is made between the reference data created by statistically quantifying a plurality of lines at the head of the white reference and the image data after the reference data, and pixels affected by dust, dirt, scratches, etc. are excluded. Therefore, noise can be sufficiently removed from the white shading correction data.

【0020】請求項2に記載の発明は、請求項1に記載
のシェーディング補正データ作成装置において、前記除
外の対象とされた画像データに代えて当該除外対象の画
素に対応している前記基準データを前記シェーディング
補正データの作成の対象とする置換手段を備えているこ
とを特徴とする。
According to a second aspect of the present invention, in the shading correction data creating apparatus according to the first aspect, the reference data corresponding to the pixel to be excluded instead of the image data to be excluded. Is provided as replacement means for creating the shading correction data.

【0021】したがって、シェーディング補正データの
生成に使用できる画素数を減らすことなく、精度のよい
シェーディング補正データを得ることができる。
Therefore, accurate shading correction data can be obtained without reducing the number of pixels that can be used for generating shading correction data.

【0022】請求項3に記載の発明は、請求項1又は2
に記載のシェーディング補正データ作成装置において、
前記比較手段は、前記基準データから予め設定された値
を減算した値と前記基準データ以後の画像データとの大
小を比較するものであり、前記除外手段は、当該比較で
前記基準データ以後の画像データの方が小さいときは前
記除外を行なうものであることを特徴とする。
The invention described in claim 3 is the first or second invention.
In the shading correction data creation device described in the above,
The comparing means compares the magnitude of a value obtained by subtracting a preset value from the reference data with image data after the reference data, and the exclusion means compares the image after the reference data in the comparison. When the data is smaller, the exclusion is performed.

【0023】したがって、基準データを適切な値に調節
し、精度のよいシェーディング補正データを的確に得る
ことができる。
Therefore, the reference data can be adjusted to an appropriate value, and accurate shading correction data can be accurately obtained.

【0024】請求項4に記載の発明は、請求項1〜3の
何れかの一に記載のシェーディング補正データ作成装置
において、前記予め設定された値の大きさの指示があっ
たときは、この指示に応じて前記予め設定された値の大
きさを設定する第1の可変手段を備えていることを特徴
とする。
According to a fourth aspect of the present invention, in the shading correction data generating apparatus according to any one of the first to third aspects, when the magnitude of the preset value is instructed, It is characterized by comprising a first variable means for setting the magnitude of the preset value according to an instruction.

【0025】したがって、予め設定された値を適切な大
きさに調節して、精度のよいシェーディング補正データ
を的確に得ることができる。
Therefore, by adjusting the preset value to an appropriate value, accurate shading correction data can be accurately obtained.

【0026】請求項5に記載の発明は、請求項1〜4の
何れかの一に記載のシェーディング補正データ作成装置
において、前記シェーディング補正データ作成手段は、
前記基準データ以後の画像データをライン間で平均化処
理することにより前記シェーディング補正データの作成
を行なうことを特徴とする。
According to a fifth aspect of the present invention, in the shading correction data generating device according to any one of the first to fourth aspects, the shading correction data generating means includes:
The shading correction data is created by averaging the image data after the reference data between lines.

【0027】したがって、基準データ以後の画像データ
をライン間で平均化することで、シェーディング補正デ
ータの作成を的確に行なうことができる。
Therefore, by averaging the image data after the reference data between the lines, it is possible to accurately generate the shading correction data.

【0028】請求項6に記載の発明は、請求項5に記載
のシェーディング補正データ作成装置において、前記シ
ェーディング補正データ作成手段は、前記平均化処理と
して重加算平均を行なうことを特徴とする。
According to a sixth aspect of the present invention, in the shading correction data generating apparatus according to the fifth aspect, the shading correction data generating means performs a multiple averaging as the averaging process.

【0029】したがって、重加算平均でシェーディング
補正データの作成を行っても、最終ラインのゴミ、汚
れ、傷等の影響を除いて、シェーディング補正データの
作成を的確に行なうことができる。
Therefore, even when shading correction data is created by multiple averaging, shading correction data can be created accurately without the influence of dust, dirt, scratches, etc. on the last line.

【0030】請求項7に記載の発明は、請求項6に記載
のシェーディング補正データ作成装置において、前記画
像データの総ライン数を示す情報に応じて前記基準デー
タの作成の対象とする複数ラインの範囲を可変する第2
の可変手段を備えていることを特徴とする。
According to a seventh aspect of the present invention, there is provided the shading correction data creating apparatus according to the sixth aspect, wherein a plurality of lines for which the reference data is to be created in accordance with information indicating the total number of lines of the image data. 2nd variable range
Is provided.

【0031】したがって、あまり幅広く構成できない白
基準の画像データの総ライン数が少ないときは、基準デ
ータの作成の対象となる範囲を小さめにして、基準デー
タ以後のラインを用いてシェーディング補正データを充
分に作成できるようにし、総ライン数が多いときは、基
準データの作成の対象となる範囲を大きめにして、正確
な基準データを作成して、シェーディング補正データの
作成を的確に行なうことができる。
Therefore, when the total number of lines of the white reference image data which cannot be formed so broadly is small, the range in which the reference data is to be created is made small, and the shading correction data is sufficiently obtained using the lines subsequent to the reference data. When the total number of lines is large, the range in which the reference data is to be created is made larger, accurate reference data can be created, and shading correction data can be created accurately.

【0032】請求項8に記載の発明は、請求項7に記載
のシェーディング補正データ作成装置において、前記第
2の可変手段は、前記総ライン数を示す情報を前記画像
データの画像読取速度の情報としていることを特徴とす
る。
According to an eighth aspect of the present invention, in the shading correction data creating apparatus according to the seventh aspect, the second variable means uses information indicating the total number of lines as information on an image reading speed of the image data. It is characterized by the following.

【0033】したがって、白基準の画像読取速度に応じ
て、基準データの作成の対象となる範囲を適切に選択す
ることができる。
Therefore, the range in which the reference data is to be created can be appropriately selected according to the white-based image reading speed.

【0034】請求項9に記載の発明は、請求項1〜8の
何れかの一に記載のシェーディング補正データ作成装置
において、前記シェーディング補正データの作成の対象
となる画像データのライン数を2(n=1,2,3,
…)で表わされる数値に設定している第2の設定手段を
備えていることを特徴とする。
According to a ninth aspect of the present invention, in the shading correction data generating apparatus according to any one of the first to eighth aspects, the number of lines of image data for which the shading correction data is to be generated is 2 n. (N = 1, 2, 3,
..) Are provided.

【0035】したがって、デジタル回路上のビットシフ
トだけで演算が行なえて、システム構成を簡易で低コス
トなものにすることができる。
Therefore, the operation can be performed only by the bit shift on the digital circuit, and the system configuration can be simplified and the cost can be reduced.

【0036】請求項10に記載の発明は、請求項1〜9
の何れかの一に記載のシェーディング補正データ作成装
置において、前記シェーディング補正データ作成手段
は、前記画像データ中で前記基準データの作成の対象と
なるラインを1又は複数ラインおきとしていることを特
徴とする。
The invention described in claim 10 is the invention according to claims 1 to 9
In the shading correction data creation device according to any one of the above, the shading correction data creation means sets a line for which the reference data is created in the image data at every other or a plurality of lines. I do.

【0037】したがって、ゴミ、汚れ、傷等が連続する
複数ラインにわたって付いていても、その影響を低減し
て、シェーディング補正データの作成を的確に行なうこ
とができる。
Therefore, even if dust, dirt, scratches, and the like are present on a plurality of continuous lines, the effect thereof can be reduced and shading correction data can be created accurately.

【0038】請求項11に記載の発明は、請求項1〜1
0の何れかの一に記載のシェーディング補正データ作成
装置と、このシェーディング補正データ作成装置で作成
された前記シェーディング補正データにより原稿の読取
画像の画像データに対して白シェーディング補正を行な
う白シェーディング補正手段と、を備えていることを特
徴とする白シェーディング補正装置である。
The eleventh aspect of the present invention relates to the first to first aspects.
0, and a white shading correction unit that performs white shading correction on image data of a read image of a document using the shading correction data generated by the shading correction data generation device. And a white shading correction device.

【0039】したがって、請求項1〜10の何れかの一
に記載の発明と同様の作用、効果を奏する。
Therefore, the same operation and effect as the invention according to any one of the first to tenth aspects are exhibited.

【0040】請求項12に記載の発明は、原稿の画像を
読取る光電変換素子と、この読取画像の画像データに対
して白シェーディング補正を行う請求項11に記載の白
シェーディング補正装置と、を備えていることを特徴と
する画像読取装置である。
According to a twelfth aspect of the present invention, there is provided a photoelectric conversion element for reading an image of a document, and a white shading correction device for performing a white shading correction on image data of the read image. An image reading apparatus characterized in that:

【0041】したがって、請求項11に記載の発明と同
様の作用、効果を奏する。
Therefore, the same operations and effects as those of the eleventh aspect are obtained.

【0042】請求項13に記載の発明は、原稿の画像を
読み取る請求項12に記載の画像読取装置を備え、この
読み取った原稿の画像に基づいて記録媒体上に画像形成
を行うことを特徴とする画像形成装置である。
According to a thirteenth aspect of the present invention, there is provided the image reading device according to the twelfth aspect, which reads an image of a document, and forms an image on a recording medium based on the read image of the document. Image forming apparatus.

【0043】したがって、請求項12に記載の発明と同
様の作用、効果を奏する。
Therefore, the same operations and effects as those of the twelfth aspect are obtained.

【0044】請求項14に記載の発明は、白基準を読み
取った画像データから白シェーディング補正に用いるシ
ェーディング補正データを作成するシェーディング補正
データ作成方法において、前記画像データの副走査方向
の先頭における複数ライン分のデータを統計化して基準
データを作成するシェーディング補正データ作成工程
と、副走査方向における前記基準データ以後の前記画像
データと前記基準データとに関する比較演算を行う比較
工程と、この比較演算の結果に基づいて前記基準データ
以後の画像データを画素ごとに選択的に前記シェーディ
ング補正データの作成の対象から除外する除外工程と、
この除外の対象とならなかった前記基準データ以後の画
像データに基づいて前記シェーディング補正データを作
成するシェーディング補正データ作成工程と、を含んで
なるシェーディング補正データ作成方法である。
According to a fourteenth aspect of the present invention, in the shading correction data creating method for creating shading correction data used for white shading correction from image data obtained by reading a white reference, a plurality of lines at the head of the image data in the sub-scanning direction are provided. A shading correction data creating step of creating reference data by statisticizing minute data, a comparing step of performing a comparison operation on the image data and the reference data after the reference data in the sub-scanning direction, and a result of the comparison operation An exclusion step of selectively excluding image data after the reference data for each pixel from a target of the shading correction data based on the
A shading correction data generating step of generating the shading correction data based on the image data after the reference data which has not been excluded.

【0045】したがって、白基準の先頭の複数ラインを
統計化して作成した基準データと、基準データ以後の画
像データとに関して比較を行って、ゴミ、汚れ、傷等の
影響を受けた画素を除外することができるので、白シェ
ーディング補正データから充分にノイズを除去すること
ができる。
Therefore, a comparison is made between the reference data created by statisticizing a plurality of lines at the head of the white reference and the image data after the reference data to exclude pixels affected by dust, dirt, scratches, and the like. Therefore, noise can be sufficiently removed from the white shading correction data.

【0046】請求項15に記載の発明は、請求項14に
記載のシェーディング補正データ作成方法において、前
記シェーディング補正データ作成工程は、前記除外の対
象とされた画像データに代えて当該除外対象の画素に対
応している前記基準データを前記シェーディング補正デ
ータの作成の対象とすることを特徴とする。
According to a fifteenth aspect of the present invention, in the shading correction data generating method according to the fourteenth aspect, the shading correction data generating step includes replacing the image data to be excluded with the pixel to be excluded. The shading correction data is created based on the reference data corresponding to (1).

【0047】したがって、シェーディング補正データの
生成に使用できる画素数を減らすことなく、精度のよい
シェーディング補正データを得ることができる。
Therefore, accurate shading correction data can be obtained without reducing the number of pixels that can be used for generating shading correction data.

【0048】請求項16に記載の発明は、請求項14又
は15に記載のシェーディング補正データ作成方法にお
いて、前記比較工程は、前記基準データから予め設定さ
れた値を減算した値と前記基準データ以後の画像データ
との大小を比較するものであり、前記除外工程は、当該
比較で前記基準データ以後の画像データの方が小さいと
きは前記除外を行なうものであることを特徴とする。
According to a sixteenth aspect of the present invention, in the shading correction data creating method according to the fourteenth or fifteenth aspect, the comparing step includes a step of subtracting a preset value from the reference data and a value after the reference data. The size of the image data is compared with the size of the image data, and the exclusion step performs the exclusion when the image data after the reference data is smaller in the comparison.

【0049】したがって、基準データを適切な値に調節
し、精度のよいシェーディング補正データを的確に得る
ことができる。
Therefore, the reference data can be adjusted to an appropriate value, and accurate shading correction data can be accurately obtained.

【0050】請求項17に記載の発明は、請求項14〜
16の何れかの一に記載のシェーディング補正データ作
成方法において、前記予め設定された値の大きさの指示
があったときは、この指示に応じて前記予め設定された
値の大きさを設定する第1の可変工程を含んでなること
を特徴とする。
The invention according to claim 17 is the invention according to claims 14 to
16. In the shading correction data creating method according to any one of the items 16, when the instruction of the magnitude of the preset value is issued, the magnitude of the preset value is set according to the instruction. It is characterized by comprising a first variable step.

【0051】したがって、予め設定された値を適切な大
きさに調節して、精度のよいシェーディング補正データ
を的確に得ることができる。
Therefore, by adjusting the preset value to an appropriate value, accurate shading correction data can be accurately obtained.

【0052】請求項18に記載の発明は、請求項14〜
17の何れかの一に記載のシェーディング補正データ作
成方法において、前記シェーディング補正データ作成工
程は、前記基準データ以後の画像データをライン間で平
均化処理することにより前記シェーディング補正データ
の作成を行なうことを特徴とする。
The invention according to claim 18 is the invention according to claims 14 to
17. In the shading correction data creation method according to any one of 17, the shading correction data creation step includes creating the shading correction data by averaging image data after the reference data between lines. It is characterized by.

【0053】したがって、基準データ以後の画像データ
をライン間で平均化することで、シェーディング補正デ
ータの作成を的確に行なうことができる。
Therefore, by averaging the image data after the reference data between the lines, it is possible to accurately generate the shading correction data.

【0054】請求項19に記載の発明は、請求項18に
記載のシェーディング補正データ作成方法において、前
記シェーディング補正データ作成工程は、前記平均化処
理として重加算平均を行なうことを特徴とする。
According to a nineteenth aspect of the present invention, in the shading correction data creating method according to the eighteenth aspect, the shading correction data creating step performs a multiple averaging as the averaging process.

【0055】したがって、重加算平均でシェーディング
補正データの作成を行っても、最終ラインのゴミ、汚
れ、傷等の影響を除いて、シェーディング補正データの
作成を的確に行なうことができる。
Therefore, even when shading correction data is created by multiple averaging, shading correction data can be accurately created without the influence of dust, dirt, scratches, and the like on the last line.

【0056】請求項20に記載の発明は、請求項19に
記載のシェーディング補正データ作成方法において、前
記基準データの作成に先立って前記画像データの前記画
像データの総ライン数を示す情報に応じて前記基準デー
タの作成の対象とする複数ラインの範囲を可変する第2
の可変工程を含んでなることを特徴とする。
According to a twentieth aspect of the present invention, in the shading correction data creation method according to the nineteenth aspect, prior to creation of the reference data, the shading correction data is prepared in accordance with information indicating a total number of lines of the image data of the image data. A second variable range of a plurality of lines for which the reference data is created;
Characterized by a variable step.

【0057】したがって、あまり幅広く構成できない白
基準の画像データの総ライン数が少ないときは、基準デ
ータの作成の対象となる範囲を小さめにして、基準デー
タ以後のラインを用いてシェーディング補正データを充
分に作成できるようにし、総ライン数が多いときは、基
準データの作成の対象となる範囲を大きめにして、正確
な基準データを作成して、シェーディング補正データの
作成を的確に行なうことができる。
Therefore, when the total number of lines of the white reference image data which cannot be formed so broadly is small, the range in which the reference data is to be created is made smaller, and the shading correction data is sufficiently obtained using the lines subsequent to the reference data. When the total number of lines is large, the range in which the reference data is to be created is made larger, accurate reference data can be created, and shading correction data can be created accurately.

【0058】請求項21に記載の発明は、請求項20に
記載のシェーディング補正データ作成方法において、前
記第2の可変工程は、前記総ライン数を示す情報を前記
画像データの画像読取速度の情報としていることを特徴
とする。
According to a twenty-first aspect of the present invention, in the shading correction data creating method according to the twentieth aspect, the second variable step includes the step of converting the information indicating the total number of lines into the information of the image reading speed of the image data. It is characterized by the following.

【0059】したがって、白基準の画像読取速度に応じ
て、基準データの作成の対象となる範囲を適切に選択す
ることができる。
Therefore, it is possible to appropriately select the range in which the reference data is to be created in accordance with the image reading speed of the white reference.

【0060】請求項22に記載の発明は、請求項14〜
21の何れかの一に記載のシェーディング補正データ作
成方法において、前記シェーディング補正データ作成工
程は、前記シェーディング補正データの作成の対象とな
る画像データのライン数を2 (n=1,2,3,…)
で表わされる数値としていることを特徴とする。
The invention according to claim 22 is the invention according to claims 14 to
21. The shading correction data described in any one of 21.
The shading correction data creation process
The process is the object of the shading correction data creation.
2 lines of image data n(N = 1, 2, 3, ...)
It is characterized by the numerical value represented by

【0061】したがって、デジタル回路上のビットシフ
トだけで演算が行なえて、システム構成を簡易で低コス
トなものにすることができる。
Therefore, the operation can be performed only by the bit shift on the digital circuit, and the system configuration can be simplified and the cost can be reduced.

【0062】請求項23に記載の発明は、請求項14〜
22の何れかの一に記載のシェーディング補正データ作
成方法において、前記シェーディング補正データ作成工
程は、前記画像データ中で前記基準データの作成の対象
となるラインを1又は複数ラインおきとしていることを
特徴とする。
The invention according to claim 23 is the invention according to claims 14 to
22. The shading correction data generation method according to any one of 22., wherein the shading correction data generation step sets one or more lines of the reference data in the image data to be generated. And

【0063】したがって、ゴミ、汚れ、傷等が連続する
複数ラインにわたって付いていても、その影響を低減し
て、シェーディング補正データの作成を的確に行なうこ
とができる。
Therefore, even if dust, dirt, scratches and the like are present on a plurality of continuous lines, the influence thereof can be reduced and shading correction data can be created accurately.

【0064】請求項24に記載の発明は、白基準を読み
取った画像データから白シェーディング補正に用いるシ
ェーディング補正データを作成する処理をコンピュータ
に実行させるコンピュータに読取り可能なプログラムに
おいて、前記画像データの副走査方向の先頭における複
数ライン分のデータを統計化して基準データを作成する
シェーディング補正データ作成処理と、副走査方向にお
ける前記基準データ以後の前記画像データと前記基準デ
ータとに関する比較演算を行なう比較処理と、この比較
演算の結果に基づいて前記基準データ以後の画像データ
を画素ごとに選択的に前記シェーディング補正データの
作成の対象から除外する除外処理と、この除外の対象と
ならなかった前記基準データ以後の画像データに基づい
て前記シェーディング補正データを作成するシェーディ
ング補正データ作成処理と、をコンピュータに実行させ
ることを特徴とするプログラムである。
According to a twenty-fourth aspect of the present invention, there is provided a computer-readable program for causing a computer to execute a process of generating shading correction data used for white shading correction from image data obtained by reading a white reference. Shading correction data generation processing for statistically generating data for a plurality of lines at the head in the scanning direction to generate reference data, and comparison processing for performing a comparison operation on the image data and the reference data after the reference data in the sub-scanning direction And an exclusion process for selectively excluding image data after the reference data for each pixel based on the result of the comparison operation from the object of generating the shading correction data, and the reference data not being excluded. Based on the subsequent image data, Is a program for causing execute shading correction data creation processing for creating a grayed correction data, to the computer.

【0065】したがって、白基準の先頭の複数ラインを
統計化して作成した基準データと、基準データ以後の画
像データとに関して比較を行って、ゴミ、汚れ、傷等の
影響を受けた画素を除外することができるので、白シェ
ーディング補正データから充分にノイズを除去すること
ができる。
Therefore, a comparison is made between reference data created by statistically quantifying a plurality of lines at the head of the white reference and image data after the reference data, and pixels affected by dust, dirt, scratches, etc. are excluded. Therefore, noise can be sufficiently removed from the white shading correction data.

【0066】請求項25に記載の発明は、請求項24に
記載のプログラムにおいて、前記シェーディング補正デ
ータ作成処理は、前記除外の対象とされた画像データに
代えて当該除外対象の画素に対応している前記基準デー
タを前記シェーディング補正データの作成の対象とする
ことを特徴とする。
According to a twenty-fifth aspect of the present invention, in the program according to the twenty-fourth aspect, the shading correction data creation processing is performed in accordance with the pixel to be excluded in place of the image data to be excluded. The shading correction data is created based on the reference data.

【0067】したがって、シェーディング補正データの
生成に使用できる画素数を減らすことなく、精度のよい
シェーディング補正データを得ることができる。
Therefore, accurate shading correction data can be obtained without reducing the number of pixels that can be used for generating shading correction data.

【0068】請求項26に記載の発明は、請求項24又
は25に記載のプログラムにおいて、前記比較処理は、
前記基準データから予め設定された値を減算した値と前
記基準データ以後の画像データとの大小を比較するもの
であり、前記除外処理は、当該比較で前記基準データ以
後の画像データの方が小さいときは前記除外を行なうも
のであることを特徴とする。
According to a twenty-sixth aspect of the present invention, in the program according to the twenty-fourth or twenty-fifth aspect, the comparison processing comprises:
The value obtained by subtracting a preset value from the reference data is compared with the image data after the reference data, and the exclusion process is such that the image data after the reference data is smaller in the comparison. In some cases, the exclusion is performed.

【0069】したがって、基準データを適切な値に調節
し、精度のよいシェーディング補正データを的確に得る
ことができる。
Therefore, the reference data can be adjusted to an appropriate value, and accurate shading correction data can be accurately obtained.

【0070】請求項27に記載の発明は、請求項24〜
26の何れかの一に記載のプログラムにおいて、前記予
め設定された値の大きさの指示があったときは、この指
示に応じて前記予め設定された値の大きさを設定する第
1の可変処理をコンピュータに実行させることを特徴と
する。
The invention according to claim 27 is the invention according to claims 24 to
26. In the program according to any one of the items 26, when an instruction for the magnitude of the preset value is given, a first variable for setting the magnitude of the preset value in accordance with the instruction. It is characterized by causing a computer to execute processing.

【0071】したがって、予め設定された値を適切な大
きさに調節して、精度のよいシェーディング補正データ
を的確に得ることができる。
Therefore, by adjusting the preset value to an appropriate value, accurate shading correction data can be accurately obtained.

【0072】請求項28に記載の発明は、請求項24〜
27の何れかの一に記載のプログラムにおいて、前記シ
ェーディング補正データ作成処理は、前記基準データ以
後の画像データをライン間で平均化処理することにより
前記シェーディング補正データの作成を行なうことを特
徴とする。
The invention according to claim 28 is the invention according to claims 24 to
27. The program according to any one of items 27, wherein the shading correction data creation processing creates the shading correction data by averaging image data after the reference data between lines. .

【0073】したがって、基準データ以後の画像データ
をライン間で平均化することで、シェーディング補正デ
ータの作成を的確に行なうことができる。
Therefore, by averaging the image data after the reference data between the lines, it is possible to accurately generate the shading correction data.

【0074】請求項29に記載の発明は、請求項18に
記載のプログラムにおいて、前記シェーディング補正デ
ータ作成処理は、前記平均化処理として重加算平均を行
なうことを特徴とする。
According to a twenty-ninth aspect of the present invention, in the program according to the eighteenth aspect, the shading correction data creating process performs a multiple averaging as the averaging process.

【0075】したがって、重加算平均でシェーディング
補正データの作成を行っても、最終ラインのゴミ、汚
れ、傷等の影響を除いて、シェーディング補正データの
作成を的確に行なうことができる。
Therefore, even if shading correction data is created by multiple averaging, shading correction data can be created accurately without the influence of dust, dirt, scratches, etc. on the last line.

【0076】請求項30に記載の発明は、請求項29に
記載のプログラムにおいて、前記基準データの作成に先
立って前記画像データの前記画像データの総ライン数を
示す情報に応じて前記基準データの作成の対象とする複
数ラインの範囲を可変する第2の可変処理をコンピュー
タに実行させることを特徴とする。
According to a thirtieth aspect of the present invention, in the program according to the thirty-ninth aspect, prior to creation of the reference data, the reference data of the image data is stored in accordance with information indicating a total number of lines of the image data. It is characterized by causing a computer to execute a second variable process for changing the range of a plurality of lines to be created.

【0077】したがって、あまり幅広く構成できない白
基準の画像データの総ライン数が少ないときは、基準デ
ータの作成の対象となる範囲を小さめにして、基準デー
タ以後のラインを用いてシェーディング補正データを充
分に作成できるようにし、総ライン数が多いときは、基
準データの作成の対象となる範囲を大きめにして、正確
な基準データを作成して、シェーディング補正データの
作成を的確に行なうことができる。
Therefore, when the total number of lines of the white reference image data which cannot be formed so broadly is small, the range in which the reference data is to be created is made smaller, and the shading correction data is sufficiently obtained using the lines subsequent to the reference data. When the total number of lines is large, the range in which the reference data is to be created is made larger, accurate reference data can be created, and shading correction data can be created accurately.

【0078】請求項31に記載の発明は、請求項30に
記載のプログラムにおいて、前記第2の可変処理は、前
記総ライン数を示す情報を前記画像データの画像読取速
度の情報としていることを特徴とする。
According to a thirty-first aspect of the present invention, in the program according to the thirty-third aspect, the second variable processing uses information indicating the total number of lines as information on an image reading speed of the image data. Features.

【0079】したがって、白基準の画像読取速度に応じ
て、基準データの作成の対象となる範囲を適切に選択す
ることができる。
Therefore, it is possible to appropriately select the range in which the reference data is to be created according to the image reading speed based on the white reference.

【0080】請求項32に記載の発明は、請求項24〜
31の何れかの一に記載のプログラムにおいて、前記シ
ェーディング補正データ作成処理は、前記シェーディン
グ補正データの作成の対象となる画像データのライン数
を2(n=1,2,3,…)で表わされる数値として
いることを特徴とする。
The invention according to claim 32 is the invention according to claims 24 to
31. The program according to any one of 31., wherein the shading correction data creation processing includes setting the number of lines of image data to be created of the shading correction data to 2 n (n = 1, 2, 3,...). It is characterized by the numerical value represented.

【0081】したがって、デジタル回路上のビットシフ
トだけで演算が行なえて、システム構成を簡易で低コス
トなものにすることができる。
Therefore, the operation can be performed only by the bit shift on the digital circuit, and the system configuration can be simplified and the cost can be reduced.

【0082】請求項33に記載の発明は、請求項24〜
32の何れかの一に記載のプログラムにおいて、前記シ
ェーディング補正データ作成処理は、前記画像データ中
で前記基準データの作成の対象となるラインを1又は複
数ラインおきとしていることを特徴とする。
The invention according to claim 33 is the invention according to claims 24 to
32. The program according to any one of 32, wherein the shading correction data creation processing sets one or more lines of the reference data to be created in the image data.

【0083】したがって、ゴミ、汚れ、傷等が連続する
複数ラインにわたって付いていても、その影響を低減し
て、シェーディング補正データの作成を的確に行なうこ
とができる。
Therefore, even if dust, dirt, scratches and the like are present over a plurality of continuous lines, the influence thereof can be reduced and shading correction data can be created accurately.

【0084】請求項34に記載の発明は、請求項24〜
33のいずれかの一に記載のプログラムを記憶している
記憶媒体である。
The invention according to claim 34 is the invention according to claims 24 to
33 is a storage medium storing the program according to any one of 33.

【0085】したがって、請求項24〜33のいずれか
の一に記載の発明と同様の作用、効果を奏する。
Therefore, the same operation and effect as those of the invention according to any one of claims 24 to 33 can be obtained.

【0086】[0086]

【発明の実施の形態】[発明の実施の形態1]この発明
の一実施の形態を発明の実施の形態1として説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment of the Invention] One embodiment of the present invention will be described as a first embodiment of the present invention.

【0087】図1は、発明の実施の形態1である画像読
取装置1の全体構成を示す縦断面図である。図1に示す
ように、画像読取装置1は、フラットベッドタイプのも
ので、原稿2を載置するコンタクトガラス3と、原稿2
の露光用のハロゲンランプ4及び第1反射ミラー5とか
らなる第1キャリッジ6と、第2反射ミラー7及び第3
反射ミラー8からなる第2キャリッジ9と、光電変換素
子であるCCDリニアイメージセンサ10(以下では、
単にCCD10という)と、CCD10に結像するため
のレンズユニット11と、白シェーディング補正用の白
基準となる白基準板12と、第1キャリッジ6及び第2
キャリッジ9を駆動するステッピングモータ14とを備
えている。CCD10はセンサボード基板13上に設け
られている。ハロゲンランプ4、第1、第2、第3反射
ミラー5,7,8及びレンズユニット11は走査光学系
を構成する。
FIG. 1 is a longitudinal sectional view showing the overall configuration of the image reading apparatus 1 according to the first embodiment of the present invention. As shown in FIG. 1, an image reading apparatus 1 is of a flat bed type, and includes a contact glass 3 on which a document 2 is placed, and a document 2.
A first carriage 6 including a halogen lamp 4 for exposure and a first reflection mirror 5, a second reflection mirror 7 and a third
A second carriage 9 including a reflection mirror 8 and a CCD linear image sensor 10 (hereinafter, referred to as a photoelectric conversion element)
A lens unit 11 for forming an image on the CCD 10, a white reference plate 12 serving as a white reference for correcting white shading, a first carriage 6 and a second carriage 6.
And a stepping motor 14 for driving the carriage 9. The CCD 10 is provided on a sensor board substrate 13. The halogen lamp 4, the first, second, and third reflecting mirrors 5, 7, 8 and the lens unit 11 constitute a scanning optical system.

【0088】ハロゲンランプ4は、白基準板12やコン
タクトガラス3の読取面に対してある角度で光を照射
し、白基準板12または原稿2で反射した光は、第1、
第2、第3反射ミラー5,7,8及びレンズユニット1
1を経由してCCD10に入射する。CCD10は入射
光量に対応した電圧をアナログ画像データとして出力す
る。第1、第2キャリッジ6,9は、ステッピングモー
タ14の駆動により、原稿2の読取面とCCD10との
間の距離を一定に保ちながら副走査方向に移動し、原稿
2を露光走査する。
The halogen lamp 4 irradiates light at a certain angle with respect to the reading surface of the white reference plate 12 and the contact glass 3, and the light reflected by the white reference plate 12 or the original 2 is first and second.
Second and third reflection mirrors 5, 7, 8 and lens unit 1
The light enters the CCD 10 via 1. The CCD 10 outputs a voltage corresponding to the amount of incident light as analog image data. The first and second carriages 6 and 9 are moved in the sub-scanning direction by the driving of the stepping motor 14 while keeping the distance between the reading surface of the document 2 and the CCD 10 constant, and expose and scan the document 2.

【0089】図2は、画像読取装置1によるスキャン動
作で用いるゲート信号を説明するタイミングチャートで
ある。すなわち、シェーディングゲートは、白基準板1
2の読取範囲を指示するものであり、シェーディングゲ
ートがLレベルのときにCCD10の出力する画像デー
タが取り込まれる。また、ゲート信号XFGATEは原稿2の
読取範囲(原稿読取領域)を指示するものであり、ゲー
ト信号XFGATEがLレベルのときにCCD10の出力する
画像データが取り込まれる。
FIG. 2 is a timing chart for explaining gate signals used in the scanning operation by the image reading apparatus 1. That is, the shading gate is connected to the white reference plate 1.
The image data output from the CCD 10 is captured when the shading gate is at the L level. The gate signal XFGATE indicates the reading range of the document 2 (document reading area). When the gate signal XFGATE is at the L level, image data output from the CCD 10 is captured.

【0090】図3は、画像読取装置1が備えている白シ
ェーディング補正装置21のブロック図である。この白
シェーディング補正装置21は所定のASIC中に構成
されている。図3に示すように、CCD10から出力さ
れるアナログ画像データは、信号処理回路22で波形整
形、サンプルホールド、増幅等の信号処理がなされ、A
/D変換器23でデジタル画像データに変換されてか
ら、白シェーディング補正装置21に出力される。
FIG. 3 is a block diagram of the white shading correction device 21 provided in the image reading device 1. The white shading correction device 21 is configured in a predetermined ASIC. As shown in FIG. 3, the analog image data output from the CCD 10 is subjected to signal processing such as waveform shaping, sample hold, and amplification by a signal processing circuit 22, and A
After being converted into digital image data by the / D converter 23, the digital image data is output to the white shading correction device 21.

【0091】このシェーディング補正装置21中には、
A/D変換後のデジタル画像データの入力経路となるデ
ータ入力経路24、シェーディング補正データ入力経路
25及び基準データ入力経路26が設けられている。
The shading correction device 21 includes:
A data input path 24, an input path for digital image data after A / D conversion, a shading correction data input path 25, and a reference data input path 26 are provided.

【0092】ライン数カウンタ27にはライン同期信号
が入力され、現在のラインが何ライン目かをカウントす
る。そのカウント値のデータは、セレクタ28に入力さ
れる。セレクタ28には、シェーディングゲート及びゲ
ート信号XFGATEも入力される。セレクタ28は、これら
の入力信号に基づいて、A/D変換器23から出力され
る画像データを選択的に経路24,25,26に振り分
ける。
A line synchronization signal is input to the line number counter 27, and counts the number of the current line. The data of the count value is input to the selector 28. The selector 28 also receives a shading gate and a gate signal XFGATE. The selector 28 selectively distributes the image data output from the A / D converter 23 to the paths 24, 25, 26 based on these input signals.

【0093】平均化回路29は、シェーディングゲート
がLレベルとなって、白基準板12の読取が開始した時
点から所定のライン数m(m=1,2,3,…)分、す
なわち、白基準板12の読取画像データの副走査方向に
おける先頭のmライン分(基準データ生成エリア)の画
像データの入力を、基準データ入力経路26からセレク
タ28の切換えにより受ける。そして、平均化回路29
は、入力されたmライン分の画像データについて統計
化、例えば、画素ごとに重み付け平均又は単純平均など
の平均化処理をすることで、基準データを作成し、この
基準データはFIFO(先入れ先出し回路)30に記憶
される。これにより基準データ作成手段、基準データ作
成工程を実現している。
The averaging circuit 29 outputs a predetermined number of lines m (m = 1, 2, 3,...) From the point in time when the shading gate goes low and the white reference plate 12 starts reading, Input of image data for the first m lines (reference data generation area) of the read image data of the reference plate 12 in the sub-scanning direction is received from the reference data input path 26 by switching of the selector 28. And the averaging circuit 29
Generates reference data by performing statistic processing on input m-line image data, for example, averaging processing such as weighted averaging or simple averaging for each pixel, and the reference data is stored in a FIFO (first-in first-out circuit). 30 is stored. This implements reference data creation means and a reference data creation step.

【0094】比較回路31は、セレクタ28の切換えに
より、シェーディング補正データ入力経路25から、白
基準板12の読取画像データの副走査方向における先頭
のmライン分以後、すなわち基準データ生成エリア以後
(シェーディング補正データ生成エリア)のデータの入
力を受付ける。この比較回路31は、FIFO30に記
憶されている基準データと、シェーディング補正データ
入力経路25から入力した画像データとに基づく、以下
のような比較演算処理を行なう。これにより比較手段、
比較工程を実現している。
When the selector 28 is switched, the comparison circuit 31 switches the shading correction data input path 25 from the first m lines of the read image data of the white reference plate 12 in the sub-scanning direction, that is, after the reference data generation area (shading). Input of data in the correction data generation area) is accepted. The comparison circuit 31 performs the following comparison operation based on the reference data stored in the FIFO 30 and the image data input from the shading correction data input path 25. This provides a means of comparison,
The comparison process has been realized.

【0095】つまり、基準データから予め設定された値
NOREFを減算し、この“基準データ−NOREF”と、シェー
ディング補正データ生成エリアの各ラインの画像データ
(シェーディング補正データ生成用データ)とを、画素
ごとに比較する。
That is, a value set in advance from the reference data
NOREF is subtracted, and this “reference data−NOREF” is compared with the image data (shading correction data generation data) of each line of the shading correction data generation area for each pixel.

【0096】そして、 シェーディング補正データ生成用データ<基準データ−NOREF …… (1) の関係にある場合には、該当するシェーディング補正デ
ータ生成用データを画素ごとに除外する。すなわち、
(1)式の関係にないシェーディング補正データ生成用
データのみを画素ごとに選択的に平均化回路32に出力
し、(1)式の関係にあるシェーディング補正データ生
成用データは出力しない。これにより除外手段、除外工
程を実現している。
When the relationship of shading correction data generation data <reference data−NOREF (1) is satisfied, the corresponding shading correction data generation data is excluded for each pixel. That is,
Only the shading correction data generation data not related to the equation (1) is selectively output to the averaging circuit 32 for each pixel, and the shading correction data generation data related to the equation (1) is not output. This implements an exclusion unit and an exclusion step.

【0097】このとき、(1)式の関係にあるため、シ
ェーディング補正データ生成用データが出力されない画
素については、代わりに、(1)式の比較を行った基準
データに置き換えて、平均化回路32に出力する。これ
により、置換手段、シェーディング補正データ作成工程
を実現している。
At this time, because of the relationship of equation (1), pixels for which no data for generating shading correction data are output are replaced with reference data obtained by comparison of equation (1) and replaced by an averaging circuit. 32. This implements the replacement means and the shading correction data creation step.

【0098】平均化回路32では、比較回路31から出
力された画像データは、ライン間で平均化、例えば重加
算平均化を行い、シェーディング補正データDshを作成
する。これによりシェーディング補正データ作成手段、
シェーディング補正データ作成工程を実現している。こ
の作成されたシェーディング補正データDshはFIFO
33に記憶される。以上のように、平均化回路29、比
較回路31、平均化回路32などにより、シェーディン
グ基準データ作成装置37が構成されている。
In the averaging circuit 32, the image data output from the comparison circuit 31 is averaged between lines, for example, multi-addition averaging, to generate shading correction data Dsh. Thereby, shading correction data creating means,
A shading correction data creation process is realized. The created shading correction data Dsh is stored in FIFO
33. As described above, the averaging circuit 29, the comparison circuit 31, the averaging circuit 32, and the like constitute the shading reference data creation device 37.

【0099】原稿2を読取るときは、セレクタ28の切
換えにより、本来の原稿画像読み取り時には、データ入
力経路24から原稿2の読取画像データDiが、FIFO
33からは画素毎のシェーディング補正データDshが出
力されて、ROM34に予め格納されているシェーディ
ング補正のための演算式のアルゴリズムに基づき、ルッ
クアップテーブル方式により演算処理され、読取画像デ
ータDiに対し、シェーディング補正データDshに基づい
て白シェーディング補正がなされ、補正後の原稿12の
画像データDoが生成される。これにより白シェーディン
グ補正手段、白シェーディング補正工程を実現してい
る。
When the original 2 is read, the selector 28 is switched so that the read image data Di of the original 2 is transmitted from the data input path 24 to the FIFO when the original image is read.
33, the shading correction data Dsh for each pixel is output, and based on an algorithm of an arithmetic expression for shading correction stored in the ROM 34 in advance, the shading correction data Dsh is processed by a look-up table method. White shading correction is performed based on the shading correction data Dsh, and the corrected image data Do of the document 12 is generated. This implements a white shading correction unit and a white shading correction step.

【0100】なお、この白シェーディング補正後の画像
データDoに対して、黒シェーディング補正、MTF補
正、フィルタ処理、変倍処理、γ変換、原稿12の地肌
除去処理などの画像処理がなされて、その処理後の画像
データが画像読取装置1から出力される。これらの処理
の具体的な内容については周知であるため、詳細な説明
は省略する。
The image data Do after the white shading correction is subjected to image processing such as black shading correction, MTF correction, filter processing, scaling processing, γ conversion, and background removal processing of the document 12. The processed image data is output from the image reading device 1. Since the specific contents of these processes are well known, detailed description will be omitted.

【0101】この画像読取装置1によれば、白基準板1
2の読取画像データについて、先頭の複数(m)ライン
を統計化して作成した基準データと、その基準データ以
後の画像データとに関して比較を行って、ゴミ、汚れ、
傷等の影響を受けた画素を除外することができるので、
白シェーディング補正データDshから充分にノイズを除
去することができる。
According to the image reading apparatus 1, the white reference plate 1
For the read image data of No. 2, a comparison is made between the reference data created by statistically averaging the plurality of (m) lines at the top and the image data after the reference data, and dust, dirt,
Pixels affected by scratches etc. can be excluded,
Noise can be sufficiently removed from the white shading correction data Dsh.

【0102】この場合に、シェーディング補正データ生
成用データが出力されない画素については、その代わり
に基準データに置き換えるので、シェーディング補正デ
ータDshの生成に使用できる画素数を減らすことなく、
精度のよいシェーディング補正データを得ることができ
る。
In this case, pixels for which shading correction data generation data is not output are replaced with reference data instead, so that the number of pixels that can be used for generating shading correction data Dsh is not reduced.
Accurate shading correction data can be obtained.

【0103】また、基準データと、その基準データ以後
の画像データとに関して比較を行なう際には、予め基準
データから所定の値NOREFを減算してから比較すること
で、基準データを適切な値に調節し、精度のよいシェー
ディング補正データDshを的確に得ることができる。
When comparison is made between the reference data and the image data subsequent to the reference data, a predetermined value NOREF is subtracted from the reference data in advance, and the comparison is performed. The shading correction data Dsh can be accurately obtained by performing the adjustment.

【0104】特に、平均化回路32で、ライン間の重加
算平均によりシェーディング補正データDshを作成する
ときは、最終ラインのゴミ、汚れ、傷等の影響を効果的
に除くことができて、シェーディング補正データの作成
を的確に行なうことができる。
In particular, when the averaging circuit 32 creates the shading correction data Dsh by the multiple averaging between lines, the influence of dust, dirt, scratches, etc. on the last line can be effectively eliminated, and Correction data can be created accurately.

【0105】この画像読取装置1を制御するCPU35
は、画像読取装置1を操作する操作パネル36の操作を
受付け、この操作に応じて、比較回路31のレジスタに
設定されている値NOREFの大きさを可変する。比較回路
31が当該制御信号を受付けてレジスタに設定すること
で第1の可変手段、第1の可変工程を実現している。
CPU 35 for controlling image reading apparatus 1
Receives the operation of the operation panel 36 for operating the image reading apparatus 1 and varies the magnitude of the value NOREF set in the register of the comparison circuit 31 in accordance with this operation. The comparison circuit 31 receives the control signal and sets it in a register, thereby realizing a first variable unit and a first variable step.

【0106】CCD10に入射する光量の経時変化、例
えば、ハロゲンランプ4の光量低下、ミラー5,7,8
及びレンズユニット11より構成される走査光学系の汚
れに起因するCCD10へ入射する光量低下等により、
信号処理回路22の増幅率は経時的に増加する。増幅率
が増加するとそれだけノイズも増幅されることになる。
この実施の形態では、値NOREFを適切な大きさに調整す
ることを可能としているので、このような増幅率の増加
で大きくなったノイズも精度よく除去できる。また、サ
ービスマンにより画像読取装置1のメンテナンス、例え
ば、ハロゲンランプ4の交換や走査光学系の清掃が行わ
れた場合、CCD10に入射する光量はメンテナンス前
に比べて増加するので、信号処理回路22の増幅率も調
整する必要がある。このような場合にも、NOREFを調節
することで精度よくノイズを除去できる。このように、
予め設定された値NOREFを適切な大きさに適正に調節す
ることを可能として、精度のよいシェーディング補正デ
ータDshを的確に得ることができる。
A change with time of the amount of light incident on the CCD 10, for example, a decrease in the amount of light of the halogen lamp 4, the mirrors 5, 7, 8
And a decrease in the amount of light incident on the CCD 10 due to contamination of the scanning optical system constituted by the lens unit 11 and the like.
The amplification factor of the signal processing circuit 22 increases with time. As the amplification factor increases, the noise will be amplified accordingly.
In this embodiment, since the value NOREF can be adjusted to an appropriate value, noise that has increased due to such an increase in the amplification factor can be accurately removed. Further, when maintenance of the image reading apparatus 1 is performed by a serviceman, for example, replacement of the halogen lamp 4 or cleaning of the scanning optical system is performed, the amount of light incident on the CCD 10 is increased as compared to before maintenance, so that the signal processing circuit 22 is used. It is also necessary to adjust the amplification factor. Even in such a case, noise can be accurately removed by adjusting NOREF. in this way,
The predetermined value NOREF can be appropriately adjusted to an appropriate size, and accurate shading correction data Dsh can be accurately obtained.

【0107】また、CPU35は、シェーディングゲー
ト期間の総ライン数を示す情報、例えば、画像読取装置
1の読取走査速度の大きさに応じて、セレクタ28で用
いる基準データ生成エリアを示すライン数mの設定値を
可変することができる。セレクタ28にライン数mを設
定することにより第2の可変手段を実現している。
Further, the CPU 35 sets the information indicating the total number of lines in the shading gate period, for example, the number m of lines indicating the reference data generation area used in the selector 28 in accordance with the reading scanning speed of the image reading apparatus 1. The set value can be changed. By setting the number of lines m in the selector 28, a second variable means is realized.

【0108】すなわち、白基準板12はあまり幅広く構
成できない。そこで、例えば、画像読取装置1が「高
速」「低速」の2段階で読取走査速度のモードの設定が
可能であるときには、「高速」であるために白基準の画
像データの総ライン数が少ないときは、ライン数mの値
を小さくして、基準データ生成エリアの範囲を小さめに
し、相対的にシェーディング補正データ生成エリアが狭
くなりすぎないようにして、シェーディング補正データ
Dshを充分に作成できるようにする。「低速」であるた
め総ライン数が多いときは、基準データ生成エリアの範
囲を大きめにして、正確な基準データを作成して、シェ
ーディング補正データDshの作成を的確に行なうように
する。
That is, the white reference plate 12 cannot be configured so widely. Therefore, for example, when the image reading apparatus 1 can set the reading scanning speed mode in two stages of “high speed” and “low speed”, the total number of white-based image data is small because of “high speed”. At this time, the value of the number m of lines is reduced, the range of the reference data generation area is reduced, and the shading correction data generation area is prevented from becoming relatively narrow.
Make it possible to create Dsh enough. When the total number of lines is large because the speed is "low speed", the range of the reference data generation area is made large, accurate reference data is created, and shading correction data Dsh is created accurately.

【0109】このときのライン数mは、2(n=1,
2,3,…)で表わされる数値としている。これによ
り、平均化回路29などではビットシフトだけで演算が
行なえるので、システム構成を簡易で低コストなものに
することができる。
At this time, the number m of lines is 2 n (n = 1,
2, 3, ...). As a result, the averaging circuit 29 and the like can perform the operation only by the bit shift, so that the system configuration can be made simple and low cost.

【0110】また、CPU35は、セレクタ28で選択
的に基準データ入力経路26に出力されるデータを、基
準データ生成エリアの1又は複数ラインおきとするよう
にしてもよい。この場合には、白基準板12に、ゴミ、
汚れ、傷等が連続する複数ラインにわたって付いていて
も、その影響を低減して、シェーディング補正データの
作成を的確に行なうことができる。
Further, the CPU 35 may cause the selector 28 to selectively output data to the reference data input path 26 at every other or multiple lines of the reference data generation area. In this case, dust,
Even if dirt, scratches, and the like are present over a plurality of continuous lines, the effect can be reduced and shading correction data can be created accurately.

【0111】[発明の実施の形態2]別の実施の形態を
発明の実施の形態2として説明する。
[Second Embodiment of the Invention] Another embodiment will be described as a second embodiment of the present invention.

【0112】この実施の形態2の画像読取装置1が実施
の形態1と相違する点は、白シェーディング補正装置2
1が設けられておらず、その代わりに、実施の形態1の
場合と同様の内容の白シェーディング補正を、CPU3
5が所定の白シェーディング補正プログラムに基づいて
行なうことで、シェーディング補正データ作成装置、白
シェーディング補正装置を実現している点にある。その
他の点については、実施の形態1の場合と同様であり、
図1〜図3と同様の符号を用い、詳細な説明は省略す
る。
The image reading apparatus 1 according to the second embodiment is different from the image reading apparatus according to the first embodiment in that
1 is not provided, and instead, white shading correction having the same contents as in the first embodiment is performed by the CPU 3.
5 is based on a predetermined white shading correction program, thereby realizing a shading correction data creation device and a white shading correction device. Other points are the same as those in the first embodiment,
The same reference numerals as those in FIGS. 1 to 3 are used, and the detailed description is omitted.

【0113】以下では、CPU35が白シェーディング
補正プログラムに基づいて行なう白シェーディング補正
処理の内容について、説明する。
Hereinafter, the contents of the white shading correction processing performed by the CPU 35 based on the white shading correction program will be described.

【0114】まず、図8は、画像読取装置1の制御系の
電気的な接続を示すブロック図である。図8に示すよう
に、CPU35とバス76を介して接続されているRA
M72は、CPU35の制御によりIPU(Image Proc
essing Unit)74による後述の演算の精果求められた
シェーディング補正データを格納する。ROM71はフ
ラッシュメモリ等の不揮発性メモリで、シェーディング
補正データ作成プログラムや白シェーディング補正プロ
グラム等が格納されている。なお、ROM71内に格納
されているプログラムはCPU35の制御により、I/
Oポート73を介して図示しない外部装置からダウンロ
ードされるプログラムに書き換え可能である。CPU3
5は上記制約の他に、走査光学系の劣化の程度を示す情
報を取得してNOREFの値を演算する。
First, FIG. 8 is a block diagram showing the electrical connection of the control system of the image reading apparatus 1. As shown in FIG. 8, the RA connected to the CPU 35 via the bus 76.
The M72 controls the IPU (Image Proc) under the control of the CPU 35.
essing Unit) 74 stores shading correction data obtained as a result of the calculation described later. The ROM 71 is a nonvolatile memory such as a flash memory, and stores a shading correction data creation program, a white shading correction program, and the like. The program stored in the ROM 71 is controlled by the CPU 35 to control the I / O
The program can be rewritten to a program downloaded from an external device (not shown) via the O port 73. CPU3
Reference numeral 5 obtains information indicating the degree of deterioration of the scanning optical system in addition to the above restrictions, and calculates the value of NOREF.

【0115】センサボード基板(SBU:Sensor Proce
ssing Unit)13は、CCD10、信号処理回路22及
びA/D変換器23を実装したボードであり、IPU7
4は、CPU35の制御により、ROM(フラッシュメ
モリ)71からシェーディング補正データ作成プログラ
ムや白シェーディシグ補正プログラムを呼び出して、シ
ェーディング補正テータ作成や白シェーディング補正の
演算を行う。シェーディング補正データ作成時にはCP
U35によりNOREFの値が設定される。
A sensor board substrate (SBU: Sensor Proce
The ssing unit 13 is a board on which the CCD 10, the signal processing circuit 22, and the A / D converter 23 are mounted.
4 calls a shading correction data creation program and a white shading sig correction program from a ROM (flash memory) 71 under the control of the CPU 35 to perform shading correction data creation and white shading correction calculations. CP when creating shading correction data
The value of NOREF is set by U35.

【0116】図4、図5は、CPU35の制御により行
われる白シェーディング補正処理の処理手順を説明する
フローチャートである。図4に示すように、CPU35
は、操作パネル36の操作により、設定値NOREFの大き
さの設定について指示を受付け(ステップS1のY)、
この指示された値NOREFを不揮発性メモリ(図示せず)
などに設定する(ステップS2)。
FIGS. 4 and 5 are flowcharts for explaining the processing procedure of the white shading correction processing performed under the control of the CPU 35. As shown in FIG.
Receives an instruction for setting the magnitude of the set value NOREF by operating the operation panel 36 (Y in step S1),
The designated value NOREF is stored in a non-volatile memory (not shown).
And so on (step S2).

【0117】図5に示すように、CPU35は、一連の
画像読取動作を開始したときは(ステップS11の
Y)、図4の処理で設定された値NOREFを前記不揮発性
メモリから読込んで、RAMなど(図示せず)に設定し
(ステップS12)、読取走査速度のモード設定が「高
速」モードか「低速」モードかに応じて(ステップS1
3)、基準データ生成エリアのライン数mの値を設定す
る(ステップS14,S15)。ステップS12により
第1の可変手段、第1の可変工程を実現している。ステ
ップS13〜S15により第2の可変手段、第2の可変
工程を実現している。
As shown in FIG. 5, when a series of image reading operations is started (Y in step S11), the CPU 35 reads the value NOREF set in the processing of FIG. (Not shown) (step S12), and depending on whether the mode setting of the scanning speed is the "high speed" mode or the "low speed" mode (step S1).
3) The value of the number m of lines in the reference data generation area is set (steps S14 and S15). Step S12 implements a first variable means and a first variable step. The second variable means and the second variable step are realized by steps S13 to S15.

【0118】そして、シェーディング補正データを以下
のようにして作成する。すなわち、実施の形態1の場合
と同様に基準データ生成エリアの最終ラインまで画素ご
とに重み付け平均又は単純平均などの平均化処理を行っ
て、基準データとする(ステップS16)。これにより
基準データ作成手段、基準データ作成工程を実現してい
る。
Then, shading correction data is created as follows. That is, as in the case of the first embodiment, averaging processing such as weighted averaging or simple averaging is performed for each pixel up to the last line of the reference data generation area to obtain reference data (step S16). This implements reference data creation means and a reference data creation step.

【0119】次に、ステップS6で求めた基準データ
と、基準データ生成エリア以後の各ラインの画像データ
とに関し、前記(1)式に基づく比較演算を行って(ス
テップS17)、 シェーディング補正データ生成用データ<基準データ−NOREF …… (1) の関係にある場合には(ステップS17のY)、基準デ
ータ生成エリア以後の各ラインの画像データを画素ごと
に除外し(ステップS18)、その代わりに、その比較
演算を行った基準データに置き換える(ステップS1
9)。ステップS17により比較手段、比較工程を、ス
テップS18により除外手段、除外工程を、ステップS
19により置換手段、シェーディング補正データ作成工
程を実現している。そして、この置き換え後の基準デー
タ生成エリア以後の各ラインの画像データについて重加
算平均を求める。(ステップS20)。これによりシェ
ーディング補正データ作成手段、シェーディング補正デ
ータ作成工程を実現している。
Next, a comparison operation based on the above equation (1) is performed on the reference data obtained in step S6 and the image data of each line after the reference data generation area (step S17) to generate shading correction data. If the following relationship is satisfied (Y in step S17), the image data of each line after the reference data generation area is excluded for each pixel (step S18). Then, the reference data is replaced with the reference data (step S1)
9). In step S17, the comparing means and the comparing step are performed, and in step S18, the removing means and the removing step are performed in step S18.
19 implements replacement means and shading correction data creation step. Then, a weighted average is obtained for the image data of each line after the reference data generation area after the replacement. (Step S20). This implements shading correction data creation means and a shading correction data creation step.

【0120】このようにして、シェーディング補正デー
タ生成エリアの最終ラインまで重加算平均を求めたとき
は(ステップS21のY)、最終的に求められた重加算
平均値をシェーディング補正データとして所定のRAM
などに記憶する(ステップS22)。
When the multiple averaging is obtained up to the last line of the shading correction data generation area (Y in step S21), the finally obtained multiple averaging value is used as shading correction data in a predetermined RAM.
And the like (step S22).

【0121】そして、原稿2の読取を開始したときは
(ステップS23のY)、このシェーディング補正デー
タを用い、実施の形態1の場合と同様に、1ラインずつ
原稿2の読取画像データに対して白シェーディング補正
を行なう(ステップS24)。ステップS24により白
シェーディング補正手段、白シェーディング補正工程を
実現している。原稿2の最終ラインまで白シェーディン
グ補正が終了したときは(ステップS25のY)、一連
の処理を終了する。
When the reading of the document 2 is started (Y in step S23), the read image data of the document 2 is read line by line using the shading correction data as in the first embodiment. White shading correction is performed (step S24). Step S24 implements a white shading correction unit and a white shading correction step. When the white shading correction has been completed up to the last line of the document 2 (Y in step S25), a series of processing ends.

【0122】この画像読取装置1によれば、実施の形態
1と同様に、白基準板12の読取画像データについて、
先頭の複数(m)ラインを統計化して作成した基準デー
タと、その基準データ以後の画像データとに関して比較
を行って、ゴミ、汚れ、傷等の影響を受けた画素を除外
することができるので、白シェーディング補正データDs
hから充分にノイズを除去することができる。
According to the image reading apparatus 1, as in the first embodiment, the read image data of the white reference
Since the comparison is made between the reference data created by statisticizing the plurality of (m) lines at the head and the image data after the reference data, pixels affected by dust, dirt, scratches, etc. can be excluded. , White shading correction data Ds
Noise can be sufficiently removed from h.

【0123】この場合に、シェーディング補正データ生
成用データが出力されない画素については、その代わり
に基準データに置き換えるので(ステップS19)、シ
ェーディング補正データDshの生成に使用できる画素数
を減らすことなく、精度のよいシェーディング補正デー
タを得ることができる。
In this case, pixels for which shading correction data generation data is not output are replaced with reference data instead (step S19), so that accuracy can be reduced without reducing the number of pixels that can be used to generate shading correction data Dsh. Good shading correction data can be obtained.

【0124】また、基準データと、その基準データ以後
の画像データとに関して比較を行なう際には、予め基準
データから所定の値NOREFを減算してから比較すること
で(ステップS17)、基準データを適切な値に調節
し、精度のよいシェーディング補正データDshを的確に
得ることができる。
When the reference data is compared with the image data after the reference data, a predetermined value NOREF is subtracted from the reference data in advance and the comparison is performed (step S17). By adjusting the value to an appropriate value, accurate shading correction data Dsh can be accurately obtained.

【0125】ライン間について行なう平均化処理は重加
算平均であるため(ステップS20)、前記の手段によ
り、最終ラインのゴミ、汚れ、傷等の影響を効果的に除
くことができて、シェーディング補正データの作成を的
確に行なうことができる。
Since the averaging process performed between lines is a multiple averaging (step S20), the influence of dust, dirt, scratches, etc. on the last line can be effectively eliminated by the above-described means, and shading correction can be performed. Data can be created accurately.

【0126】画像読取装置1を操作する操作パネル36
の操作を受付け(ステップS1)、この操作に応じて、
比較回路31のレジスタに設定されている値NOREFの大
きさを可変するので(ステップS2)、設定値NOREFを
適切な大きさに適正に調節することを可能として、精度
のよいシェーディング補正データDshを的確に得ること
ができる。
Operation panel 36 for operating image reading apparatus 1
Is received (step S1), and in response to this operation,
Since the magnitude of the value NOREF set in the register of the comparison circuit 31 is varied (step S2), the setting value NOREF can be appropriately adjusted to an appropriate size, and the accurate shading correction data Dsh can be obtained. It can be obtained accurately.

【0127】また、シェーディングゲート期間の総ライ
ン数を示す情報、この例では、画像読取装置1の読取走
査速度の大きさに応じて、基準データ生成エリアを示す
ライン数mの設定値を可変することができるので(ステ
ップS13〜S15)、シェーディングゲート期間の総
ライン数に応じてシェーディング補正データDshの作成
を的確に行なうことができる。
In addition, information indicating the total number of lines in the shading gate period, in this example, the set value of the number m of lines indicating the reference data generation area is varied according to the reading scanning speed of the image reading apparatus 1. (Steps S13 to S15), the shading correction data Dsh can be accurately created according to the total number of lines in the shading gate period.

【0128】なお、実施の形態1と同様に、ステップS
16で、基準データ作成の対象を基準データ生成エリア
の1又は複数ラインおきにしてもよいとするようにして
もよい。この場合には、白基準板12に、ゴミ、汚れ、
傷等が連続する複数ラインにわたって付いていても、そ
の影響を低減して、シェーディング補正データの作成を
的確に行なうことができる。
Note that, as in the first embodiment, step S
In step 16, the target of the reference data generation may be set to every one or more lines in the reference data generation area. In this case, dust, dirt,
Even if a flaw or the like is present over a plurality of continuous lines, the effect thereof can be reduced and shading correction data can be created accurately.

【0129】また、シェーディング補正データ作成プロ
グラムは、ROM71に予め格納しておいてもよいし、
製品出荷時には、白基準を読み取った複数ライン分のデ
ータの平均値からシェーディング補正データを作成する
従来のシェーディング補正データ作成プログラムをRO
M71に格納しておき、製品出荷後にサービスマンがC
D−ROMなどの記憶媒体に格納されている、この実施
の形態のシェーディングデータ作成プログラムをPC
(Personal Computer)などのプログラムを読み取リ可
能な外部機器で一旦読み出し、この読み出されたプログ
ラムを、I/Oポート73を介してCPU35の制御に
よりROM71にダウンロードするようにしてもよい。
Further, the shading correction data creation program may be stored in the ROM 71 in advance,
At the time of product shipment, the conventional shading correction data creation program that creates shading correction data from the average value of data for multiple lines reading the white reference
Stored in M71.
A shading data creation program according to this embodiment, which is stored in a storage medium such as a D-ROM,
A program such as a (Personal Computer) may be read once by a readable external device, and the read program may be downloaded to the ROM 71 under the control of the CPU 35 via the I / O port 73.

【0130】[発明の実施の形態3]別の実施の形態を
発明の実施の形態3として説明する。
Third Embodiment Another embodiment will be described as a third embodiment of the present invention.

【0131】図6は、実施の形態3であるデジタル複写
機51の概略構成を示すブロック図である。図6に示す
ように、このデジタル複写機51は、この発明の画像形
成装置を実施するもので、画像読取装置1と、プリンタ
エンジン52と、デジタル複写機51の全体を制御する
マイコンなどからなる制御部53とを備えている。
FIG. 6 is a block diagram showing a schematic configuration of a digital copying machine 51 according to the third embodiment. As shown in FIG. 6, the digital copying machine 51 implements the image forming apparatus of the present invention, and includes the image reading device 1, a printer engine 52, a microcomputer for controlling the entire digital copying machine 51, and the like. And a control unit 53.

【0132】画像読取装置1の構成は、実施の形態1又
は2と同様であるため、以下では実施の形態1,2と同
一の符号を用い、詳細な説明は省略する。
Since the configuration of the image reading apparatus 1 is the same as that of the first or second embodiment, the same reference numerals as those of the first and second embodiments are used below, and the detailed description is omitted.

【0133】プリンタエンジン52は、用紙などの記録
媒体上に画像形成を行なうものであり、その印刷方式
は、電子写真方式のほか、インクジェット方式、昇華型
熱転写方式、銀塩写真方式、直接感熱記録方式、溶融型
熱転写方式など、周知の各種方式を用いることができ
る。
The printer engine 52 forms an image on a recording medium such as paper. The printing method is an electrophotographic method, an ink jet method, a sublimation type thermal transfer method, a silver halide photographic method, a direct thermal recording method. Various types of well-known methods such as a method and a fusion type thermal transfer method can be used.

【0134】制御部53は、画像読取装置1及びプリン
タエンジン52を制御して、画像読取装置1で原稿2を
読取り、この読取った画像データに基づいてプリンタエ
ンジン52で画像形成を行なう。
The control unit 53 controls the image reading device 1 and the printer engine 52 to read the original 2 with the image reading device 1 and forms an image with the printer engine 52 based on the read image data.

【0135】したがって、このデジタル複写機51によ
れば、画像データの白シェーディング補正について、実
施の形態1,2と同様の作用、効果を奏することができ
る。
Therefore, according to the digital copying machine 51, the same operation and effect as those of the first and second embodiments can be achieved for the white shading correction of the image data.

【0136】[発明の実施の形態4]別の実施の形態を
発明の実施の形態4として説明する。
[Fourth Embodiment] Another embodiment will be described as a fourth embodiment of the present invention.

【0137】図7は、実施の形態4である印刷システム
61の概略構成を示すブロック図である。図7に示すよ
うに、この印刷システム61は、この発明の画像形成装
置を実施するもので、画像読取装置1と、与えられたプ
ログラムに基づいて各種の情報処理が可能なPC(Pers
onal Computer)などの情報処理装置62と、プリンタ
63とを備え、画像読取装置1及びプリンタ63は、所
定のインターフェイスを介して情報処理装置62に接続
されている。
FIG. 7 is a block diagram showing a schematic configuration of a printing system 61 according to the fourth embodiment. As shown in FIG. 7, the printing system 61 implements the image forming apparatus of the present invention, and includes a PC (Pers) capable of performing various types of information processing based on a given program with the image reading apparatus 1.
The image reading apparatus 1 and the printer 63 are connected to the information processing apparatus 62 via a predetermined interface.

【0138】画像読取装置1の構成は、実施の形態1又
は2と同様であるため、以下では実施の形態1,2と同
一の符号を用い、詳細な説明は省略する。
Since the configuration of the image reading apparatus 1 is the same as that of the first or second embodiment, the same reference numerals as those of the first and second embodiments are used below, and the detailed description is omitted.

【0139】プリンタ63は、用紙などの記録媒体上に
画像形成を行なうものであり、その印刷方式は、電子写
真方式のほか、インクジェット方式、昇華型熱転写方
式、銀塩写真方式、直接感熱記録方式、溶融型熱転写方
式など、周知の各種印刷方式を用いることができる。
The printer 63 forms an image on a recording medium such as paper. The printing method is an electrophotographic method, an ink jet method, a sublimation type thermal transfer method, a silver halide photographic method, a direct thermal recording method. Various known printing methods, such as a fusion-type thermal transfer method, can be used.

【0140】情報処理装置62には、画像読取装置1及
びプリンタ63を駆動するドライバソフトが記憶されて
いて、情報処理装置62の操作により、ドライバソフト
に基づいて画像読取装置1及びプリンタ63を制御し
て、画像読取装置1で原稿2を読取り、この読取った画
像データに基づいてプリンタエンジン52で画像形成を
行なうことが可能である。
The information processing device 62 stores driver software for driving the image reading device 1 and the printer 63. When the information processing device 62 is operated, the image reading device 1 and the printer 63 are controlled based on the driver software. Then, the document 2 can be read by the image reading device 1 and an image can be formed by the printer engine 52 based on the read image data.

【0141】したがって、この印刷システム61によれ
ば、画像データの白シェーディング補正について、実施
の形態1,2と同様の作用、効果を奏することができ
る。
Therefore, according to the printing system 61, the same operation and effect as those of the first and second embodiments can be achieved for the white shading correction of the image data.

【0142】[0142]

【発明の効果】請求項1に記載の発明は、白基準の先頭
の複数ラインを統計化して作成した基準データと、基準
データ以後の画像データとに関して比較を行って、ゴ
ミ、汚れ、傷等の影響を受けた画素を除外することがで
きるので、白シェーディング補正データから充分にノイ
ズを除去することができる。
According to the first aspect of the present invention, dust, dirt, scratches, and the like are compared by comparing the reference data created by statisticizing a plurality of lines at the head of the white reference with the image data after the reference data. Can be excluded, so that noise can be sufficiently removed from the white shading correction data.

【0143】請求項2に記載の発明は、請求項1に記載
のシェーディング補正データ作成装置において、シェー
ディング補正データの生成に使用できる画素数を減らす
ことなく、精度のよいシェーディング補正データを得る
ことができる。
According to a second aspect of the present invention, in the shading correction data generating apparatus according to the first aspect, accurate shading correction data can be obtained without reducing the number of pixels that can be used for generating shading correction data. it can.

【0144】請求項3に記載の発明は、請求項1又は2
に記載のシェーディング補正データ作成装置において、
基準データを適切な値に調節し、精度のよいシェーディ
ング補正データを的確に得ることができる。
The invention described in claim 3 is the invention according to claim 1 or 2
In the shading correction data creation device described in the above,
By adjusting the reference data to an appropriate value, accurate shading correction data can be accurately obtained.

【0145】請求項4に記載の発明は、請求項1〜3の
何れかの一に記載のシェーディング補正データ作成装置
において、予め設定された値を適切な大きさに調節し
て、精度のよいシェーディング補正データを的確に得る
ことができる。
According to a fourth aspect of the present invention, in the shading correction data creating apparatus according to any one of the first to third aspects, a preset value is adjusted to an appropriate size to achieve high accuracy. Shading correction data can be obtained accurately.

【0146】請求項5に記載の発明は、請求項1〜4の
何れかの一に記載のシェーディング補正データ作成装置
において、基準データ以後の画像データをライン間で平
均化することで、シェーディング補正データの作成を的
確に行なうことができる。
According to a fifth aspect of the present invention, there is provided the shading correction data generating apparatus according to any one of the first to fourth aspects, wherein the image data after the reference data is averaged between lines, thereby achieving the shading correction. Data can be created accurately.

【0147】請求項6に記載の発明は、請求項5に記載
のシェーディング補正データ作成装置において、重加算
平均でシェーディング補正データの作成を行っても、最
終ラインのゴミ、汚れ、傷等の影響を除いて、シェーデ
ィング補正データの作成を的確に行なうことができる。
According to a sixth aspect of the present invention, in the shading correction data creating apparatus according to the fifth aspect, even if shading correction data is created by multiple averaging, the influence of dust, dirt, scratches, and the like on the last line. Except for the above, shading correction data can be created accurately.

【0148】請求項7に記載の発明は、請求項6に記載
のシェーディング補正データ作成装置において、あまり
幅広く構成できない白基準の画像データの総ライン数が
少ないときは、基準データの作成の対象となる範囲を小
さめにして、基準データ以後のラインを用いてシェーデ
ィング補正データを充分に作成できるようにし、総ライ
ン数が多いときは、基準データの作成の対象となる範囲
を大きめにして、正確な基準データを作成して、シェー
ディング補正データの作成を的確に行なうことができ
る。
According to a seventh aspect of the present invention, in the shading correction data creating apparatus according to the sixth aspect, when the total number of lines of white-based image data that cannot be configured so widely is small, the reference data is to be created. The range is made smaller so that the shading correction data can be created sufficiently using the lines after the reference data, and when the total number of lines is large, the range in which the reference data is created is made larger and accurate. By creating reference data, shading correction data can be created accurately.

【0149】請求項8に記載の発明は、請求項7に記載
のシェーディング補正データ作成装置において、白基準
の画像読取速度に応じて、基準データの作成の対象とな
る範囲を適切に選択することができる。
According to an eighth aspect of the present invention, in the shading correction data creating apparatus according to the seventh aspect, a range in which reference data is created is appropriately selected according to a white-based image reading speed. Can be.

【0150】請求項9に記載の発明は、請求項1〜8の
何れかの一に記載のシェーディング補正データ作成装置
において、デジタル回路上のビットシフトだけで演算が
行なえて、システム構成を簡易で低コストなものにする
ことができる。
According to a ninth aspect of the present invention, in the shading correction data generating apparatus according to any one of the first to eighth aspects, the operation can be performed only by bit shift on the digital circuit, and the system configuration can be simplified. The cost can be reduced.

【0151】請求項10に記載の発明は、請求項1〜9
の何れかの一に記載のシェーディング補正データ作成装
置において、ゴミ、汚れ、傷等が連続する複数ラインに
わたって付いていても、その影響を低減して、シェーデ
ィング補正データの作成を的確に行なうことができる。
The invention according to claim 10 is the invention according to claims 1 to 9
In the shading correction data creation device according to any one of the above, even if dust, dirt, scratches, and the like are attached to a plurality of continuous lines, the effect can be reduced and shading correction data can be created accurately. it can.

【0152】請求項11に記載の発明は、請求項1〜1
0の何れかの一に記載の発明と同様の作用、効果を奏す
る。
The eleventh aspect of the present invention relates to the first to first aspects.
0 has the same function and effect as the invention described in any one of the first aspect.

【0153】請求項12に記載の発明は、請求項11に
記載の発明と同様の作用、効果を奏する。
The twelfth aspect of the invention has the same functions and effects as the eleventh aspect of the invention.

【0154】請求項13に記載の発明は、請求項12に
記載の発明と同様の作用、効果を奏する。
The thirteenth invention has the same function and effect as the twelfth invention.

【0155】請求項14に記載の発明は、白基準の先頭
の複数ラインを統計化して作成した基準データと、基準
データ以後の画像データとに関して比較を行って、ゴ
ミ、汚れ、傷等の影響を受けた画素を除外することがで
きるので、白シェーディング補正データから充分にノイ
ズを除去することができる。
According to the fourteenth aspect of the present invention, a comparison is made between reference data created by statistically analyzing a plurality of lines at the head of the white reference and image data subsequent to the reference data, and the influence of dust, dirt, scratches, and the like is obtained. Since the received pixels can be excluded, noise can be sufficiently removed from the white shading correction data.

【0156】請求項15に記載の発明は、請求項14に
記載のシェーディング補正データ作成方法において、シ
ェーディング補正データの生成に使用できる画素数を減
らすことなく、精度のよいシェーディング補正データを
得ることができる。
According to a fifteenth aspect of the present invention, in the shading correction data creating method according to the fourteenth aspect, accurate shading correction data can be obtained without reducing the number of pixels that can be used for generating shading correction data. it can.

【0157】請求項16に記載の発明は、請求項14又
は15に記載のシェーディング補正データ作成方法にお
いて、基準データを適切な値に調節し、精度のよいシェ
ーディング補正データを的確に得ることができる。
According to a sixteenth aspect of the present invention, in the shading correction data creating method according to the fourteenth or fifteenth aspect, the reference data is adjusted to an appropriate value, and accurate shading correction data can be accurately obtained. .

【0158】請求項17に記載の発明は、請求項14〜
16の何れかの一に記載のシェーディング補正データ作
成方法において、予め設定された値を適切な大きさに調
節して、精度のよいシェーディング補正データを的確に
得ることができる。
The invention according to claim 17 is the invention according to claims 14 to
In the shading correction data generation method according to any one of the sixteenth aspects, it is possible to accurately obtain a high-precision shading correction data by adjusting a preset value to an appropriate value.

【0159】請求項18に記載の発明は、請求項14〜
17の何れかの一に記載のシェーディング補正データ作
成方法において、基準データ以後の画像データをライン
間で平均化することで、シェーディング補正データの作
成を的確に行なうことができる。
The invention according to claim 18 is the invention according to claims 14 to
In the shading correction data generation method according to any one of the first to seventeenth aspects, the shading correction data can be accurately generated by averaging image data after the reference data between lines.

【0160】請求項19に記載の発明は、請求項18に
記載のシェーディング補正データ作成方法において、重
加算平均でシェーディング補正データの作成を行って
も、最終ラインのゴミ、汚れ、傷等の影響を除いて、シ
ェーディング補正データの作成を的確に行なうことがで
きる。
According to a nineteenth aspect of the present invention, in the shading correction data creating method according to the eighteenth aspect, even if shading correction data is created by multiple averaging, the influence of dust, dirt, scratches, and the like on the last line. Except for the above, shading correction data can be created accurately.

【0161】請求項20に記載の発明は、請求項19に
記載のシェーディング補正データ作成方法において、あ
まり幅広く構成できない白基準の画像データの総ライン
数が少ないときは、基準データの作成の対象となる範囲
を小さめにして、基準データ以後のラインを用いてシェ
ーディング補正データを充分に作成できるようにし、総
ライン数が多いときは、基準データの作成の対象となる
範囲を大きめにして、正確な基準データを作成して、シ
ェーディング補正データの作成を的確に行なうことがで
きる。
According to a twentieth aspect of the present invention, in the shading correction data generating method according to the nineteenth aspect, when the total number of lines of the white-based image data which cannot be formed so broadly is small, the target of the reference data is not generated. The range is made smaller so that the shading correction data can be created sufficiently using the lines after the reference data, and when the total number of lines is large, the range in which the reference data is created is made larger and accurate. By creating reference data, shading correction data can be created accurately.

【0162】請求項21に記載の発明は、請求項20に
記載のシェーディング補正データ作成方法において、白
基準の画像読取速度に応じて、基準データの作成の対象
となる範囲を適切に選択することができる。
According to a twenty-first aspect of the present invention, in the shading correction data creating method according to the twentieth aspect, a range in which reference data is created is appropriately selected according to a white-based image reading speed. Can be.

【0163】請求項22に記載の発明は、請求項14〜
21の何れかの一に記載のシェーディング補正データ作
成方法において、デジタル回路上のビットシフトだけで
演算が行なえて、システム構成を簡易で低コストなもの
にすることができる。
The invention according to claim 22 is the invention according to claims 14 to
21. In the shading correction data creation method according to any one of 21., the operation can be performed only by bit shifting on the digital circuit, and the system configuration can be simplified and low cost.

【0164】請求項23に記載の発明は、請求項14〜
22の何れかの一に記載のシェーディング補正データ作
成方法において、ゴミ、汚れ、傷等が連続する複数ライ
ンにわたって付いていても、その影響を低減して、シェ
ーディング補正データの作成を的確に行なうことができ
る。
The invention according to claim 23 is the invention according to claims 14 to
22. In the shading correction data generating method according to any one of the above, even if dust, dirt, scratches, and the like are present over a plurality of continuous lines, the effect is reduced, and shading correction data is generated accurately. Can be.

【0165】請求項24に記載の発明は、白基準の先頭
の複数ラインを統計化して作成した基準データと、基準
データ以後の画像データとに関して比較を行って、ゴ
ミ、汚れ、傷等の影響を受けた画素を除外することがで
きるので、白シェーディング補正データから充分にノイ
ズを除去することができる。
According to a twenty-fourth aspect of the present invention, a comparison is made between reference data created by statistically quantifying a plurality of lines at the head of the white reference and image data after the reference data, and the influence of dust, dirt, scratches, etc. Since the received pixels can be excluded, noise can be sufficiently removed from the white shading correction data.

【0166】請求項25に記載の発明は、請求項24に
記載のプログラムにおいて、シェーディング補正データ
の生成に使用できる画素数を減らすことなく、精度のよ
いシェーディング補正データを得ることができる。
According to a twenty-fifth aspect of the present invention, in the program according to the twenty-fourth aspect, it is possible to obtain accurate shading correction data without reducing the number of pixels that can be used for generating shading correction data.

【0167】請求項26に記載の発明は、請求項24又
は25に記載のプログラムにおいて、基準データを適切
な値に調節し、精度のよいシェーディング補正データを
的確に得ることができる。
According to the invention of claim 26, in the program of claim 24 or 25, the reference data is adjusted to an appropriate value, and accurate shading correction data can be obtained accurately.

【0168】請求項27に記載の発明は、請求項24〜
26の何れかの一に記載のプログラムにおいて、予め設
定された値を適切な大きさに調節して、精度のよいシェ
ーディング補正データを的確に得ることができる。
The invention according to claim 27 is the invention according to claims 24 to
26, in the program according to any one of the items 26, a preset value is adjusted to an appropriate value, and accurate shading correction data can be accurately obtained.

【0169】請求項28に記載の発明は、請求項24〜
27の何れかの一に記載のプログラムにおいて、基準デ
ータ以後の画像データをライン間で平均化することで、
シェーディング補正データの作成を的確に行なうことが
できる。
The invention according to claim 28 is the invention according to claims 24 to
27, in the program according to any one of (27), by averaging image data after the reference data between lines,
Shading correction data can be created accurately.

【0170】請求項29に記載の発明は、請求項18に
記載のプログラムにおいて、重加算平均でシェーディン
グ補正データの作成を行っても、最終ラインのゴミ、汚
れ、傷等の影響を除いて、シェーディング補正データの
作成を的確に行なうことができる。
According to a twenty-ninth aspect of the present invention, in the program of the eighteenth aspect, even if shading correction data is created by multiple averaging, the effects of dust, dirt, scratches, etc. on the last line are eliminated. Shading correction data can be created accurately.

【0171】請求項30に記載の発明は、請求項29に
記載のプログラムにおいて、あまり幅広く構成できない
白基準の画像データの総ライン数が少ないときは、基準
データの作成の対象となる範囲を小さめにして、基準デ
ータ以後のラインを用いてシェーディング補正データを
充分に作成できるようにし、総ライン数が多いときは、
基準データの作成の対象となる範囲を大きめにして、正
確な基準データを作成して、シェーディング補正データ
の作成を的確に行なうことができる。
According to a thirty-first aspect of the present invention, in the program according to the thirty-ninth aspect, when the total number of lines of white-based image data that cannot be configured very widely is small, the range in which the reference data is created is reduced. So that the shading correction data can be sufficiently created using the lines after the reference data, and when the total number of lines is large,
By making the range in which the reference data is created large, accurate reference data can be created, and shading correction data can be created accurately.

【0172】請求項31に記載の発明は、請求項30に
記載のプログラムにおいて、白基準の画像読取速度に応
じて、基準データの作成の対象となる範囲を適切に選択
することができる。
According to a thirty-first aspect of the present invention, in the program according to the thirty-third aspect, a range in which reference data is to be created can be appropriately selected according to a white-based image reading speed.

【0173】請求項32に記載の発明は、請求項24〜
31の何れかの一に記載のプログラムにおいて、デジタ
ル回路上のビットシフトだけで演算が行なえて、システ
ム構成を簡易で低コストなものにすることができる。
The invention described in claim 32 is the invention according to claims 24 to
In the program according to any one of the items 31, the operation can be performed only by the bit shift on the digital circuit, and the system configuration can be simplified and the cost can be reduced.

【0174】請求項33に記載の発明は、請求項24〜
32の何れかの一に記載のプログラムにおいて、ゴミ、
汚れ、傷等が連続する複数ラインにわたって付いていて
も、その影響を低減して、シェーディング補正データの
作成を的確に行なうことができる。
The invention according to claim 33 is the invention according to claims 24 to
32. The program according to any one of 32.
Even if dirt, scratches, and the like are present over a plurality of continuous lines, the effect can be reduced and shading correction data can be created accurately.

【0175】請求項34に記載の発明は、請求項24〜
33のいずれかの一に記載の発明と同様の作用、効果を
奏する。
The invention according to claim 34 is the invention according to claims 24 to
The same operation and effect as the invention according to any one of the thirty-third invention are exerted.

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

【図1】発明の実施の形態1である画像読取装置の全体
構成を示す縦断面図である。
FIG. 1 is a longitudinal sectional view showing the entire configuration of an image reading apparatus according to Embodiment 1 of the present invention.

【図2】前記画像形成装置による画像読取動作で用いる
ゲート信号を説明するタイミングチャートである。
FIG. 2 is a timing chart illustrating a gate signal used in an image reading operation by the image forming apparatus.

【図3】前記画像形成装置の白シェーディング補正装置
の回路構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a circuit configuration of a white shading correction device of the image forming apparatus.

【図4】発明の実施の形態2である画像読取装置が行な
う白シェーディング補正処理について説明するフローチ
ャートである。
FIG. 4 is a flowchart illustrating a white shading correction process performed by an image reading apparatus according to a second embodiment of the present invention;

【図5】同フローチャートである。FIG. 5 is the same flowchart.

【図6】発明の実施の形態3であるデジタル複写機の全
体構成を示す説明図である。
FIG. 6 is an explanatory diagram illustrating an overall configuration of a digital copying machine according to a third embodiment of the present invention;

【図7】発明の実施の形態4である印刷システムの全体
構成を示す説明図である。
FIG. 7 is an explanatory diagram illustrating an overall configuration of a printing system according to a fourth embodiment of the present invention;

【図8】発明の実施の形態2である画像読取装置の制御
系の電気的な接続を示すブロック図である。
FIG. 8 is a block diagram illustrating electrical connection of a control system of the image reading apparatus according to the second embodiment of the present invention;

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

1 画像読取装置 2 原稿 10 光電変換素子 12 白基準 21 白シェーディング補正装置 35 シェーディング補正データ作成装置 51 画像形成装置 61 画像形成装置 DESCRIPTION OF SYMBOLS 1 Image reading apparatus 2 Document 10 Photoelectric conversion element 12 White reference 21 White shading correction apparatus 35 Shading correction data creation apparatus 51 Image forming apparatus 61 Image forming apparatus

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木皿 栄江 宮城県柴田郡柴田町大字中名生字神明堂3 −1 東北リコー株式会社内 Fターム(参考) 5B047 AA01 BA02 CA07 CB07 CB11 CB16 DA04 DC01 DC20 5C072 AA01 BA08 FB12 RA16 UA03 UA12 UA14 UA20 XA01 5C077 LL02 LL04 MM27 PP06 PP44 PP46 PP62 PQ08 PQ17 PQ20 SS01 TT06  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Eie Kisara 3-1 Shinmei-do, Meiji, Shimada-cho, Shibata-cho, Shibata-gun, Miyagi F-term in Tohoku Ricoh Co., Ltd. 5B047 AA01 BA02 CA07 CB07 CB11 CB16 DA04 DC01 DC20 5C072 AA01 BA08 FB12 RA16 UA03 UA12 UA14 UA20 XA01 5C077 LL02 LL04 MM27 PP06 PP44 PP46 PP62 PQ08 PQ17 PQ20 SS01 TT06

Claims (34)

【特許請求の範囲】[Claims] 【請求項1】 白基準を読み取った画像データから白シ
ェーディング補正に用いるシェーディング補正データを
作成するシェーディング補正データ作成装置において、 前記画像データの副走査方向の先頭における複数ライン
分のデータを統計化して基準データを作成する基準デー
タ作成手段と、 副走査方向における前記基準データ以後の前記画像デー
タと前記基準データとに関する比較演算を行なう比較手
段と、 この比較演算の結果に基づいて前記基準データ以後の画
像データを画素ごとに選択的に前記シェーディング補正
データの作成の対象から除外する除外手段と、 この除外の対象とならなかった前記基準データ以後の画
像データに基づいて前記シェーディング補正データを作
成するシェーディング補正データ作成手段と、を備えて
いることを特徴とするシェーディング補正データ作成装
置。
1. A shading correction data generating apparatus for generating shading correction data used for white shading correction from image data obtained by reading a white reference, wherein data of a plurality of lines at the head of the image data in a sub-scanning direction is statistically obtained. Reference data generating means for generating reference data; comparing means for performing a comparison operation on the image data and the reference data after the reference data in the sub-scanning direction; and based on the result of the comparison operation, Exclusion means for selectively excluding image data from the object of generating the shading correction data for each pixel; and shading for generating the shading correction data based on image data after the reference data which has not been excluded. Correction data creating means. Shading correction data generating device, characterized in that.
【請求項2】 前記除外の対象とされた画像データに代
えて当該除外対象の画素に対応している前記基準データ
を前記シェーディング補正データの作成の対象とする置
換手段を備えていることを特徴とする請求項1に記載の
シェーディング補正データ作成装置。
2. The image processing apparatus according to claim 1, further comprising: a replacement unit configured to generate the shading correction data using the reference data corresponding to the pixel to be excluded instead of the image data to be excluded. The shading correction data creation device according to claim 1, wherein
【請求項3】 前記比較手段は、前記基準データから予
め設定された値を減算した値と前記基準データ以後の画
像データとの大小を比較するものであり、 前記除外手段は、当該比較で前記基準データ以後の画像
データの方が小さいときは前記除外を行なうものである
ことを特徴とする請求項1又は2に記載のシェーディン
グ補正データ作成装置。
3. The comparison unit compares the value obtained by subtracting a preset value from the reference data with image data after the reference data, and the exclusion unit performs the comparison in the comparison. 3. The shading correction data creating device according to claim 1, wherein the exclusion is performed when image data after the reference data is smaller.
【請求項4】 前記予め設定された値の大きさの指示が
あったときは、この指示に応じて前記予め設定された値
の大きさを設定する第1の可変手段を備えていることを
特徴とする請求項1〜3の何れかの一に記載のシェーデ
ィング補正データ作成装置。
4. The apparatus according to claim 1, further comprising a first variable unit configured to set the magnitude of the preset value in response to the instruction of the magnitude of the preset value. The shading correction data creation device according to any one of claims 1 to 3, wherein
【請求項5】 前記シェーディング補正データ作成手段
は、前記基準データ以後の画像データをライン間で平均
化処理することにより前記シェーディング補正データの
作成を行なうことを特徴とする請求項1〜4の何れかの
一に記載のシェーディング補正データ作成装置。
5. The shading correction data generating unit according to claim 1, wherein the shading correction data generating unit generates the shading correction data by averaging image data after the reference data between lines. The shading correction data creation device according to any one of the preceding claims.
【請求項6】 前記シェーディング補正データ作成手段
は、前記平均化処理として重加算平均を行なうことを特
徴とする請求項5に記載のシェーディング補正データ作
成装置。
6. The shading correction data generating apparatus according to claim 5, wherein said shading correction data generating means performs a multiple averaging as said averaging process.
【請求項7】 前記画像データの総ライン数を示す情報
に応じて前記基準データの作成の対象とする複数ライン
の範囲を可変する第2の可変手段を備えていることを特
徴とする請求項6に記載のシェーディング補正データ作
成装置。
7. The image processing apparatus according to claim 1, further comprising: a second variable unit configured to vary a range of a plurality of lines for which the reference data is to be created according to information indicating a total number of lines of the image data. 7. The shading correction data creation device according to 6.
【請求項8】 前記第2の可変手段は、前記総ライン数
を示す情報を前記画像データの画像読取速度の情報とし
ていることを特徴とする請求項7に記載のシェーディン
グ補正データ作成装置。
8. The shading correction data creating apparatus according to claim 7, wherein the second variable means uses the information indicating the total number of lines as information on an image reading speed of the image data.
【請求項9】 前記シェーディング補正データの作成の
対象となる画像データのライン数を2(n=1,2,
3,…)で表わされる数値に設定している第2の設定手
段を備えていることを特徴とする請求項1〜8の何れか
の一に記載のシェーディング補正データ作成装置。
9. The number of lines of image data for which shading correction data is to be generated is 2 n (n = 1, 2, 2)
9. The shading correction data creating device according to claim 1, further comprising a second setting unit that sets a numerical value represented by (3,...).
【請求項10】 前記シェーディング補正データ作成手
段は、前記画像データ中で前記基準データの作成の対象
となるラインを1又は複数ラインおきとしていることを
特徴とする請求項1〜9の何れかの一に記載のシェーデ
ィング補正データ作成装置。
10. The method according to claim 1, wherein the shading correction data creating means sets one or more lines for which the reference data is created in the image data. A shading correction data creation device according to claim 1.
【請求項11】 請求項1〜10の何れかの一に記載の
シェーディング補正データ作成装置と、 このシェーディング補正データ作成装置で作成された前
記シェーディング補正データにより原稿の読取画像の画
像データに対して白シェーディング補正を行なう白シェ
ーディング補正手段と、を備えていることを特徴とする
白シェーディング補正装置。
11. A shading correction data generating apparatus according to claim 1, wherein said shading correction data generated by said shading correction data generating apparatus is used for image data of a read image of a document. A white shading correction device comprising: white shading correction means for performing white shading correction.
【請求項12】 原稿の画像を読取る光電変換素子と、 この読取画像の画像データに対して白シェーディング補
正を行なう請求項11に記載の白シェーディング補正装
置と、を備えていることを特徴とする画像読取装置。
12. A photoelectric conversion element for reading an image of a document, and a white shading correction device according to claim 11, which performs white shading correction on the image data of the read image. Image reading device.
【請求項13】 原稿の画像を読み取る請求項12に記
載の画像読取装置を備え、この読み取った原稿の画像に
基づいて記録媒体上に画像形成を行うことを特徴とする
画像形成装置。
13. An image forming apparatus comprising: the image reading device according to claim 12 for reading an image of a document; and forming an image on a recording medium based on the read image of the document.
【請求項14】 白基準を読み取った画像データから白
シェーディング補正に用いるシェーディング補正データ
を作成するシェーディング補正データ作成方法におい
て、 前記画像データの副走査方向の先頭における複数ライン
分のデータを統計化して基準データを作成するシェーデ
ィング補正データ作成工程と、 副走査方向における前記基準データ以後の前記画像デー
タと前記基準データとに関する比較演算を行なう比較工
程と、 この比較演算の結果に基づいて前記基準データ以後の画
像データを画素ごとに選択的に前記シェーディング補正
データの作成の対象から除外する除外工程と、 この除外の対象とならなかった前記基準データ以後の画
像データに基づいて前記シェーディング補正データを作
成するシェーディング補正データ作成工程と、を含んで
なることを特徴とするシェーディング補正データ作成方
法。
14. A shading correction data generating method for generating shading correction data used for white shading correction from image data obtained by reading a white reference, wherein data of a plurality of lines at a head of a sub-scanning direction of the image data is statistically obtained. A shading correction data creating step of creating reference data; a comparing step of performing a comparison operation on the image data and the reference data after the reference data in the sub-scanning direction; and after the reference data based on a result of the comparison operation An exclusion step of selectively excluding the image data for each pixel from the object of the shading correction data creation; and creating the shading correction data based on the image data after the reference data that has not been excluded. Shading correction data creation Shading correction data creation method characterized by comprising the, the.
【請求項15】 前記シェーディング補正データ作成工
程は、前記除外の対象とされた画像データに代えて当該
除外対象の画素に対応している前記基準データを前記シ
ェーディング補正データの作成の対象とすることを特徴
とする請求項14に記載のシェーディング補正データ作
成方法。
15. In the shading correction data creating step, the reference data corresponding to the pixel to be excluded is set as an object of the shading correction data in place of the image data to be excluded. The method of generating shading correction data according to claim 14, wherein:
【請求項16】 前記比較工程は、前記基準データから
予め設定された値を減算した値と前記基準データ以後の
画像データとの大小を比較するものであり、前記除外工
程は、当該比較で前記基準データ以後の画像データの方
が小さいときは前記除外を行なうものであることを特徴
とする請求項14又は15に記載のシェーディング補正
データ作成方法。
16. The comparing step of comparing a value obtained by subtracting a preset value from the reference data with image data subsequent to the reference data, and the removing step includes the step of: 16. The shading correction data creating method according to claim 14, wherein the exclusion is performed when image data after the reference data is smaller.
【請求項17】 前記予め設定された値の大きさの指示
があったときは、この指示に応じて前記予め設定された
値の大きさを設定する第1の可変工程を含んでなること
を特徴とする請求項14〜16の何れかの一に記載のシ
ェーディング補正データ作成方法。
17. A method according to claim 17, further comprising the step of: when receiving an instruction for the magnitude of the preset value, setting a magnitude of the preset value in response to the instruction. 17. The shading correction data creating method according to claim 14, wherein
【請求項18】 前記シェーディング補正データ作成工
程は、前記基準データ以後の画像データをライン間で平
均化処理することにより前記シェーディング補正データ
の作成を行なうことを特徴とする請求項14〜17の何
れかの一に記載のシェーディング補正データ作成装置。
18. The shading correction data creating step according to claim 14, wherein the shading correction data creating step creates the shading correction data by averaging image data after the reference data between lines. The shading correction data creation device according to any one of the preceding claims.
【請求項19】 前記シェーディング補正データ作成工
程は、前記平均化処理として重加算平均を行なうことを
特徴とする請求項18に記載のシェーディング補正デー
タ作成装置。
19. The shading correction data generating apparatus according to claim 18, wherein the shading correction data generating step performs a multiple averaging as the averaging process.
【請求項20】 前記基準データの作成に先立って前記
画像データの前記画像データの総ライン数を示す情報に
応じて前記基準データの作成の対象とする複数ラインの
範囲を可変する第2の可変工程を含んでなることを特徴
とする請求項19に記載のシェーディング補正データ作
成方法。
20. A second variable that varies a range of a plurality of lines for which the reference data is to be created according to information indicating a total number of lines of the image data of the image data before the creation of the reference data. 20. The method according to claim 19, comprising a step.
【請求項21】 前記第2の可変工程は、前記総ライン
数を示す情報を前記画像データの画像読取速度の情報と
していることを特徴とする請求項20に記載のシェーデ
ィング補正データ作成方法。
21. The shading correction data generating method according to claim 20, wherein the second variable step uses information indicating the total number of lines as information on an image reading speed of the image data.
【請求項22】 前記シェーディング補正データ作成工
程は、前記シェーディング補正データの作成の対象とな
る画像データのライン数を2(n=1,2,3,…)
で表わされる数値としていることを特徴とする請求項1
4〜21の何れかの一に記載のシェーディング補正デー
タ作成方法。
22. In the shading correction data creation step, the number of lines of image data for which the shading correction data is created is set to 2 n (n = 1, 2, 3,...)
2. A numerical value represented by the following formula:
22. The shading correction data creation method according to any one of 4 to 21.
【請求項23】 前記シェーディング補正データ作成工
程は、前記画像データ中で前記基準データの作成の対象
となるラインを1又は複数ラインおきとしていることを
特徴とする請求項14〜22の何れかの一に記載のシェ
ーディング補正データ作成方法。
23. The method according to claim 14, wherein in the shading correction data creating step, one or more lines for which the reference data is created in the image data are set. The shading correction data creation method according to one of the above.
【請求項24】 白基準を読み取った画像データから白
シェーディング補正に用いるシェーディング補正データ
を作成する処理をコンピュータに実行させるコンピュー
タに読取り可能なプログラムにおいて、 前記画像データの副走査方向の先頭における複数ライン
分のデータを統計化して基準データを作成するシェーデ
ィング補正データ作成処理と、 副走査方向における前記基準データ以後の前記画像デー
タと前記基準データとに関する比較演算を行なう比較処
理と、 この比較演算の結果に基づいて前記基準データ以後の画
像データを画素ごとに選択的に前記シェーディング補正
データの作成の対象から除外する除外処理と、 この除外の対象とならなかった前記基準データ以後の画
像データに基づいて前記シェーディング補正データを作
成するシェーディング補正データ作成処理と、をコンピ
ュータに実行させることを特徴とするプログラム。
24. A computer-readable program that causes a computer to execute shading correction data used for white shading correction from image data obtained by reading a white reference, wherein a plurality of lines at the head of the image data in a sub-scanning direction are provided. A shading correction data creating process of creating reference data by statisticizing minute data; a comparison process of performing a comparison operation on the image data and the reference data after the reference data in the sub-scanning direction; a result of the comparison operation An exclusion process of selectively excluding the image data after the reference data from the object of generating the shading correction data on a pixel-by-pixel basis, based on the image data after the reference data that has not been excluded. Create the shading correction data A program characterized by executing the shading correction data creation processing that, to the computer.
【請求項25】 前記シェーディング補正データ作成処
理は、前記除外の対象とされた画像データに代えて当該
除外対象の画素に対応している前記基準データを前記シ
ェーディング補正データの作成の対象とすることを特徴
とする請求項24に記載のプログラム。
25. The shading correction data creation process, wherein the reference data corresponding to the exclusion target pixel is set as the shading correction data creation target instead of the image data set as the exclusion target. The program according to claim 24, characterized by:
【請求項26】 前記比較処理は、前記基準データから
予め設定された値を減算した値と前記基準データ以後の
画像データとの大小を比較するものであり、前記除外処
理は、当該比較で前記基準データ以後の画像データの方
が小さいときは前記除外を行なうものであることを特徴
とする請求項24又は25に記載のプログラム。
26. The comparing process for comparing the magnitude of a value obtained by subtracting a preset value from the reference data with image data after the reference data, wherein the exclusion process is performed in the comparison. 26. The program according to claim 24, wherein the exclusion is performed when image data after the reference data is smaller.
【請求項27】 前記予め設定された値の大きさの指示
があったときは、この指示に応じて前記予め設定された
値の大きさを設定する第1の可変処理をコンピュータに
実行させることを特徴とする請求項24〜26の何れか
の一に記載のプログラム。
27. When there is an instruction of the magnitude of the preset value, the program causes the computer to execute a first variable process of setting the magnitude of the preset value in response to the instruction. The program according to any one of claims 24 to 26, characterized in that:
【請求項28】 前記シェーディング補正データ作成処
理は、前記基準データ以後の画像データをライン間で平
均化処理することにより前記シェーディング補正データ
の作成を行なうことを特徴とする請求項24〜27の何
れかの一に記載のプログラム。
28. The shading correction data generating process according to claim 24, wherein the shading correction data generating process generates the shading correction data by averaging image data after the reference data between lines. The program according to any one of the above.
【請求項29】 前記シェーディング補正データ作成処
理は、前記平均化処理として重加算平均を行なうことを
特徴とする請求項18に記載のプログラム。
29. The program according to claim 18, wherein the shading correction data creation processing performs a multiple averaging as the averaging processing.
【請求項30】 前記基準データの作成に先立って前記
画像データの前記画像データの総ライン数を示す情報に
応じて前記基準データの作成の対象とする複数ラインの
範囲を可変する第2の可変処理をコンピュータに実行さ
せることを特徴とする請求項29に記載のプログラム。
30. A second variable that varies a range of a plurality of lines for which the reference data is to be generated according to information indicating a total number of lines of the image data of the image data before the generation of the reference data. 30. The program according to claim 29, wherein the program causes a computer to execute the processing.
【請求項31】 前記第2の可変処理は、前記総ライン
数を示す情報を前記画像データの画像読取速度の情報と
していることを特徴とする請求項30に記載のプログラ
ム。
31. The program according to claim 30, wherein the second variable processing uses information indicating the total number of lines as information on an image reading speed of the image data.
【請求項32】 前記シェーディング補正データ作成処
理は、前記シェーディング補正データの作成の対象とな
る画像データのライン数を2(n=1,2,3,…)
で表わされる数値としていることを特徴とする請求項2
4〜31の何れかの一に記載のプログラム。
32. The shading correction data creation process sets the number of lines of image data for which the shading correction data is created to 2 n (n = 1, 2, 3,...)
3. A numerical value represented by the following formula:
The program according to any one of Items 4 to 31.
【請求項33】 前記シェーディング補正データ作成処
理は、前記画像データ中で前記基準データの作成の対象
となるラインを1又は複数ラインおきとしていることを
特徴とする請求項24〜32の何れかの一に記載のプロ
グラム。
33. The shading correction data creating process according to claim 24, wherein the line for which the reference data is created in the image data is set at every other line or at every other line. The program according to one.
【請求項34】 請求項24〜33のいずれかの一に記
載のプログラムを記憶している記憶媒体。
34. A storage medium storing the program according to claim 24.
JP2001100200A 2001-03-30 2001-03-30 Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium Pending JP2002300392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001100200A JP2002300392A (en) 2001-03-30 2001-03-30 Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001100200A JP2002300392A (en) 2001-03-30 2001-03-30 Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium

Publications (1)

Publication Number Publication Date
JP2002300392A true JP2002300392A (en) 2002-10-11

Family

ID=18953665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001100200A Pending JP2002300392A (en) 2001-03-30 2001-03-30 Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium

Country Status (1)

Country Link
JP (1) JP2002300392A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7558437B2 (en) 2005-03-15 2009-07-07 Kabushiki Kaisha Toshiba Method and apparatus for image processing
JP2010283437A (en) * 2009-06-02 2010-12-16 Kyocera Mita Corp Image reading apparatus and image forming apparatus
US8004726B2 (en) 2007-02-02 2011-08-23 Kabushiki Kaisha Toshiba Image reading apparatus and image density correction method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7558437B2 (en) 2005-03-15 2009-07-07 Kabushiki Kaisha Toshiba Method and apparatus for image processing
US8004726B2 (en) 2007-02-02 2011-08-23 Kabushiki Kaisha Toshiba Image reading apparatus and image density correction method
JP2010283437A (en) * 2009-06-02 2010-12-16 Kyocera Mita Corp Image reading apparatus and image forming apparatus

Similar Documents

Publication Publication Date Title
JP3754870B2 (en) Image reading apparatus, shading correction method, and storage medium
JP3227191B2 (en) Image reading device
JP4620025B2 (en) Image reading apparatus, information processing apparatus, and program
JP4150316B2 (en) Image reading apparatus and shading correction method for the same
JP2002300392A (en) Shading correction data generator, white shading correction device, image reader, image forming device, shading correction data generating method, program and storage medium
JP2002344737A (en) Image reader
JP4440488B2 (en) Shading correction data creation device, white shading correction device, image reading device, image forming device, shading correction data creation method, program, and storage medium
JP2005323103A (en) Image reader
JP4239302B2 (en) Image reading device
JP5817312B2 (en) Image reading apparatus and image forming apparatus
JP2002057899A (en) Picture reader and picture forming apparatus
JP2002300393A (en) Shading correction data generator, white shading correction device, image reader, image formation device, shading correction data generating method
JP3638708B2 (en) Image playback device
JP2001339580A (en) Image reader and image forming device
JP3880793B2 (en) Image processing apparatus and image forming apparatus
JP4265374B2 (en) Image reading apparatus and image processing program
JP2000307870A (en) Image processor
JP4217385B2 (en) Image reading apparatus and method
JP4022178B2 (en) Image reading device
JP2003333335A (en) Image processing apparatus
JP2002190929A (en) Image reader, image processing method and storage medium
JP3544794B2 (en) Image processing device
JPH0865506A (en) Picture reader
JP2005080016A (en) Original reader
JP2003032452A (en) Image reader

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040930

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051021

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060821

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080603