JP2002290671A - Image scanner, imaging device, facsimile machine, and shading data forming method - Google Patents

Image scanner, imaging device, facsimile machine, and shading data forming method

Info

Publication number
JP2002290671A
JP2002290671A JP2001085509A JP2001085509A JP2002290671A JP 2002290671 A JP2002290671 A JP 2002290671A JP 2001085509 A JP2001085509 A JP 2001085509A JP 2001085509 A JP2001085509 A JP 2001085509A JP 2002290671 A JP2002290671 A JP 2002290671A
Authority
JP
Japan
Prior art keywords
reading
target area
data
shading data
pixel
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
JP2001085509A
Other languages
Japanese (ja)
Inventor
Motoya Sano
元哉 佐野
Hiroshi Fukano
博司 深野
Hitoshi Hattori
仁 服部
Hiroshi Kubo
宏 久保
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 JP2001085509A priority Critical patent/JP2002290671A/en
Publication of JP2002290671A publication Critical patent/JP2002290671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Image Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image scanner which is capable of keeping data on shading density uniform by using shading data as they are if it is determined that contamination in a target region of prescribed width is low enough in degree not to cause hindrance when the target region of prescribed width is red in so as to acquired shading data on the white roller of an image scanner of a moving original exposure type. SOLUTION: The target region of prescribed width and also all the peripheral surface of a white roller are read in at the same time, an average value Dsg(n) of each pixel in the target region and an average value Drl(n) of each pixel on the whole peripheral surface are calculated (S4 and S6), the average values Dsg(n) and Drl(n) are compared with each other (S8), it is determined whether the degree of contamination in each pixel in the target region is allowable or not, and when the average value Dsg(n) of the target region is higher than the average value Drl(n) of the whole peripheral surface (Y of S8), it can be determined that the contamination of the concerned target region is higher than those of the other regions, so that the average value Dsg(n) of the pixel of the concerned target region can be used as proper shading data (S9).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像読取装置、画
像形成装置、ファクシミリ装置及びシェーディングデー
タ作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus, an image forming apparatus, a facsimile apparatus, and a shading data creating method.

【0002】[0002]

【従来の技術】従来のフラットベッドタイプに代表され
る画像読取部移動型の画像読取装置では、有効読取範囲
までキャリッジが増速しながら移動していく間に配置さ
れた基準白板の濃度を読取ることで、白シェーディング
補正用のシェーディングデータの生成を行っている。ま
た、シートスルータイプに代表される画像読取部固定型
の画像読取装置においては、固定された読取位置の対向
面に配置された基準白板又は白色ローラの濃度を読取る
ことで、白シェーディング補正用のシェーディングデー
タを生成している。
2. Description of the Related Art In a conventional image reading apparatus of a movable image reading section typified by a flat bed type, the density of a reference white plate arranged while a carriage moves to an effective reading range while increasing the speed is read. Thus, shading data for white shading correction is generated. Further, in an image reading unit of a fixed image reading unit represented by a sheet through type, a density of a reference white plate or a white roller disposed on a surface opposite to a fixed reading position is read, so that white shading correction is performed. Shading data is being generated.

【0003】しかしながら、従来のシェーディングデー
タの生成技術では、経時により基準白板や白色ローラの
表面に汚れが付着し、基準とすべき白色濃度が基準白板
や白色ローラの読取位置によって変わってしまうため、
シェーディングデータを生成するのに必要な濃度均一性
が保てなくなってしまう。特に、シートスルータイプの
場合、基準白板や白色ローラの表面を原稿が搬送される
ため、使用頻度が増すにつれて基準白板や白色ローラは
汚れてしまう。
However, in the conventional shading data generation technology, dirt adheres to the surface of the reference white plate or the white roller with the passage of time, and the white density to be used as a reference varies depending on the reading position of the reference white plate or the white roller.
The density uniformity required to generate shading data cannot be maintained. In particular, in the case of the sheet-through type, since the document is conveyed on the surface of the reference white plate and the white roller, the reference white plate and the white roller become dirty as the frequency of use increases.

【0004】そこで、シートスルータイプの画像読取装
置において、原稿先端の余白部の白データや、原稿が通
過しない(つまり、汚れが付着し難い)主走査方向端部
の数画素のデータを基にシェーディングデータを生成す
るようにした従来技術が存在する。
Therefore, in a sheet-through type image reading apparatus, white data of a margin at the leading end of a document and data of several pixels at an end of the main scanning direction through which a document does not pass (that is, where dirt is hard to adhere) are used. There are prior arts that generate shading data.

【0005】また、特開平5−319613号公報によ
れば、読取位置に対向配置される読取ローラの周面の一
部に軸方向に延びる溝(凹入溝)を形成し、その凹入溝
の底面部をシェーディングデータ生成のための基準白色
部とすることにより、原稿の搬送によっても基準白色部
が汚れにくくなるようにした技術が開示されている。
According to Japanese Patent Application Laid-Open No. Hei 5-319613, a groove (concave groove) extending in the axial direction is formed on a part of the peripheral surface of a reading roller disposed opposite to a reading position, and the concave groove is formed. A technology is disclosed in which the bottom surface of a reference white portion is used as a reference white portion for generating shading data so that the reference white portion is less likely to become dirty even when a document is conveyed.

【0006】[0006]

【発明が解決しようとする課題】しかし、原稿先端の余
白部の白データや、原稿が通過しない主走査方向端部の
数画素のデータを基にシェーディングデータを生成する
ようにした従来技術の場合、前者にあっては原稿先端に
必ず余白があるとは限らず、後者にあってもCCD等の
光電変換素子の主走査方向の画素間での感度のばらつき
が大きいと、一部の画素の白データを基に生成したシェ
ーディングデータでは十分なシェーディング補正効果が
得られない、という不具合がある。
However, in the case of the prior art in which shading data is generated based on white data of a margin at the leading end of a document and data of several pixels at an end portion in the main scanning direction through which the document does not pass. However, in the former case, there is not always a margin at the leading edge of the document, and even in the latter case, if the sensitivity variation between pixels in the main scanning direction of a photoelectric conversion element such as a CCD is large, some pixels There is a problem that shading data generated based on white data cannot provide a sufficient shading correction effect.

【0007】また、特開平5−319613号公報に開
示された技術では、原稿の搬送量が増えるにつれて発生
する紙粉やトナーの削れカスや埃などが読取ローラの凹
入溝の中に溜まってしまうが、その清掃性が悪く、元の
白色状態への回復が困難である。また、凹入溝構造によ
るため、読取部の光源からの光の照射によって読取ロー
ラ周面に形成した凹入溝の影ができ、原稿を読取った場
合の画像品質を低下させてしまう、という新たな不具合
が発生する。特に、薄手の原稿の場合には、影の影響を
受けやすい。
In the technique disclosed in Japanese Patent Application Laid-Open No. 5-319613, paper dust and toner shavings and dust generated as the amount of document transport increases increase in the concave groove of the reading roller. However, the cleaning property is poor, and it is difficult to recover the original white state. In addition, because of the concave groove structure, a shadow of the concave groove formed on the peripheral surface of the reading roller due to irradiation of light from the light source of the reading unit is formed, and the image quality when a document is read is deteriorated. Trouble occurs. In particular, thin documents are easily affected by shadows.

【0008】ところが、このような従来技術を考察した
場合、例えば清掃が簡単な真円ローラによる白色ローラ
を用いた方式にあっては、汚れやすいものの、必ずしも
その外周面全域に渡って汚れることは少なく、場所によ
ってはシェーディングデータ取得のために読取りを行っ
ても支障ない可能性が高い。もちろん、原稿との接触で
汚れにくくて、仮に汚れても汚れが溜まりにくく清掃し
やすいシェーディングデータ取得面を有する白色ローラ
を備えていれば、上記の清掃性が悪いという不具合を解
消しつつ、シェーディングデータ取得のために読取りを
行っても支障ない可能性がより一層高くなるといえる。
However, in consideration of such a conventional technology, for example, in a system using a white roller using a perfect circular roller which is easy to clean, it is easy to get dirty, but it is not always possible to get dirty all over its outer peripheral surface. Depending on the location, there is a high possibility that there is no problem even if reading is performed to obtain shading data. Of course, if there is a white roller that has a shading data acquisition surface that is less likely to become dirty due to contact with the document and that is less likely to accumulate dirt even if it is dirty, shading can be eliminated while eliminating the above-mentioned disadvantages of poor cleaning performance. It can be said that there is a higher possibility that there is no problem even if reading is performed for data acquisition.

【0009】本発明は、このような点に着目し、原稿移
動型における白色ローラについてシェーディングデータ
を取得するために所定幅の対象領域を読取った場合に、
その対象領域内の汚れの程度を判断し、支障ない場合に
はそのままシェーディングデータに用いることで、シェ
ーディングデータの濃度均一性を維持でき、高品質な原
稿画像の読取りを行える画像読取装置及びシェーディン
グデータ作成方法を提供することを目的とする。
The present invention focuses on such a point, and when a target area of a predetermined width is read in order to obtain shading data for a white roller in a document moving type,
An image reading apparatus and shading data that can maintain the uniformity of the density of the shading data and read a high-quality document image by judging the degree of dirt in the target area and using the shading data as it is when there is no problem. The purpose is to provide a creation method.

【0010】また、上記目的を実現する上で、読取った
対象領域内の汚れの程度を判断し、支障ある場合の応急
処置を適正に行うことで、シェーディングデータの濃度
均一性を維持でき、高品質な原稿画像の読取りを行える
画像読取装置及びシェーディングデータ作成方法を提供
する。
In order to achieve the above-mentioned object, the degree of dirt in the read target area is determined, and emergency measures are appropriately performed in the event of a problem, so that the density uniformity of the shading data can be maintained. Provided are an image reading apparatus capable of reading a high-quality document image and a shading data creation method.

【0011】さらに、上記目的を実現する上で、シェー
ディングデータを取得するための所定幅の対象領域の位
置を極力汚れの少ない場所に変更させることができ、シ
ェーディングデータの濃度均一性を長期に亘って維持で
き、高品質な原稿画像の読取りを行える画像読取装置及
びシェーディングデータ作成方法を提供する。
Further, in order to realize the above object, the position of the target area having a predetermined width for acquiring shading data can be changed to a place where dirt is as small as possible, and the density uniformity of shading data can be improved over a long period of time. An image reading apparatus and a shading data creation method capable of reading a document image of high quality that can be maintained in a high quality.

【0012】本発明は、原稿移動型における白色ローラ
として単純形状で清掃が簡単な真円ローラを用いても、
シェーディングデータの濃度均一性を維持でき、高品質
な原稿画像の読取りを行える画像読取装置及びシェーデ
ィングデータ作成方法を提供することを目的とする。
According to the present invention, a simple shape and easy-to-clean circular roller is used as the white roller in the original moving type.
It is an object of the present invention to provide an image reading apparatus and a shading data creation method capable of maintaining high density uniformity of shading data and reading a high-quality document image.

【0013】本発明は、原稿移動型における白色ローラ
として原稿との接触で汚れにくい好適読取面を有し、か
つ、仮に汚れても汚れが溜まりにくく清掃しやすい白色
ローラを用いることで、好適読取面からデータを取得で
きる可能性を持たせ、シェーディングデータの濃度均一
性を長期に亘って維持でき、高品質な原稿画像の読取り
を行える画像読取装置及びシェーディングデータ作成方
法を提供することを目的とする。
According to the present invention, it is preferable to use a white roller as a white roller of the original moving type, which has a preferable reading surface which is hardly stained by contact with the original and which is less likely to collect dirt even if it becomes dirty and which is easy to clean. It is an object of the present invention to provide an image reading apparatus and a shading data creation method capable of acquiring data from a surface, maintaining uniform density of shading data for a long period of time, and reading a high-quality document image. I do.

【0014】本発明は、上記目的を実現する上で、好適
読取面を複数個有することにより、支障ない良好なるデ
ータを好適読取面から取得できる確率を高め、データ取
得効率のよい画像読取装置及びシェーディングデータ作
成方法を提供する。
In order to achieve the above object, the present invention provides an image reading apparatus which has a plurality of preferable reading surfaces, increases the probability of obtaining good data without any trouble from the preferable reading surfaces, and has a high data obtaining efficiency. Provides a shading data creation method.

【0015】本発明は、原稿移動型における白色ローラ
が全面的に汚れてしまった場合の対処を適正に行える画
像読取装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image reading apparatus which can appropriately cope with a case where a white roller in a document moving type is completely stained.

【0016】さらには、本発明は、このような画像読取
装置を用いることで、高品質な画像データを扱える画像
形成装置又はファクシミリ装置を提供することを目的と
する。
Still another object of the present invention is to provide an image forming apparatus or a facsimile apparatus capable of handling high-quality image data by using such an image reading apparatus.

【0017】[0017]

【課題を解決するための手段】請求項1記載の発明の画
像読取装置は、原稿が搬送される原稿搬送経路と、この
原稿搬送経路上を搬送される原稿に対して読取位置が設
定されて前記原稿の画像を読取る光電変換素子を有する
画像読取部と、前記原稿搬送経路を挟んで前記画像読取
部による前記読取位置に対向配置されて駆動源により原
稿搬送方向に回転駆動される白色ローラと、前記光電変
換素子により前記白色ローラ周面上の所定幅の対象領域
を読取る読取手段と、この読取手段により読取られた前
記対象領域内の読取りデータに基づく比較データを基準
値と比較する比較手段と、この比較手段による比較結果
により前記対象領域内の汚れの程度が許容できるか否か
を判断する判断手段と、この判断手段による判断結果が
許容できる場合には前記対象領域内の読取りデータを用
いて算出された値をシェーディングデータとして決定す
るシェーディングデータ決定手段と、このシェーディン
グデータ決定手段により決定されたシェーディングデー
タを用いて前記光電変換手段により読取った原稿の画像
データを白シェーディング補正する白シェーディング補
正手段と、を備える。
According to a first aspect of the present invention, there is provided an image reading apparatus in which a document transport path on which a document is transported and a reading position are set for the document transported on the document transport path. An image reading unit having a photoelectric conversion element that reads an image of the document, a white roller that is disposed opposite to the reading position of the image reading unit across the document conveyance path and is driven to rotate in the document conveyance direction by a driving source; Reading means for reading a target area of a predetermined width on the peripheral surface of the white roller by the photoelectric conversion element, and comparing means for comparing comparison data based on read data in the target area read by the reading means with a reference value And a judging means for judging whether or not the degree of dirt in the target area is acceptable based on a result of the comparison by the comparing means. Shading data determining means for determining a value calculated using the read data in the target area as shading data, and an image of an original read by the photoelectric conversion means using the shading data determined by the shading data determining means And white shading correction means for correcting the data for white shading.

【0018】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域を読取るが、そ
の読取りデータに基づき或る基準値と比較することで当
該対象領域の汚れの程度が許容できるか否かを判断し、
特に汚れておらず許容できる場合には当該対象領域の読
取りデータを用いて算出された値をシェーディングデー
タとするようにしたので、適正なシェーディングデータ
となり、よって、シェーディングデータの濃度均一性を
維持でき、高品質な原稿画像の読取りを行える。
Accordingly, a target area of a predetermined width on the peripheral surface of the white roller is read for shading data generation. By comparing the target area with a certain reference value based on the read data, the degree of contamination of the target area can be tolerated. Judge whether or not
In particular, when it is acceptable without contamination, the value calculated using the read data of the target area is used as the shading data, so that the shading data becomes appropriate, and thus the density uniformity of the shading data can be maintained. It is possible to read a high-quality document image.

【0019】請求項2記載の発明の画像読取装置は、原
稿が搬送される原稿搬送経路と、この原稿搬送経路上を
搬送される原稿に対して読取位置が設定されて前記原稿
の画像を読取る光電変換素子を有する画像読取部と、前
記原稿搬送経路を挟んで前記画像読取部による前記読取
位置に対向配置されて駆動源により原稿搬送方向に回転
駆動される白色ローラと、前記光電変換素子により前記
白色ローラ周面上の所定幅の対象領域を含む全周を読取
る読取手段と、この読取手段により読取られた前記対象
領域内の読取りデータの各画素毎の平均値と全周分の読
取りデータの各画素毎の全周平均値とを算出する平均値
算出手段と、この平均値算出手段により算出された各画
素毎の前記平均値を基準値としての各画素毎の前記全周
平均値と比較する比較手段と、この比較手段による比較
結果により前記対象領域内の画素毎の汚れの程度が許容
できるか否かを判断する判断手段と、この判断手段によ
る判断結果が許容できる画素の場合には当該画素の前記
平均値をシェーディングデータとして決定するシェーデ
ィングデータ決定手段と、このシェーディングデータ決
定手段により決定されたシェーディングデータを用いて
前記光電変換手段により読取った原稿の画像データを白
シェーディング補正する白シェーディング補正手段と、
を備える。
According to a second aspect of the present invention, an image reading apparatus reads an image of a document by setting a document transport path on which the document is transported and a reading position for the document transported on the document transport path. An image reading unit having a photoelectric conversion element, a white roller that is disposed to face the reading position of the image reading unit across the document conveyance path and is driven to rotate in the document conveyance direction by a driving source, and the photoelectric conversion element Reading means for reading the entire circumference including the target area having a predetermined width on the peripheral surface of the white roller; and an average value for each pixel of read data in the target area read by the reading means and read data for the entire circumference. Average value calculating means for calculating an average value of the entire circumference of each pixel, and the average value of the entire circumference of each pixel using the average value of each pixel calculated by the average value calculating means as a reference value. Compare Comparing means; determining means for determining whether or not the degree of dirt for each pixel in the target area is acceptable based on the result of comparison by the comparing means; Shading data determining means for determining the average value of pixels as shading data; and white shading correction for white shading correction of image data of the original read by the photoelectric conversion means using the shading data determined by the shading data determining means. Means,
Is provided.

【0020】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域を読取るが、併
せて、全周分も読取り、対象領域内の読取りデータの画
素毎の平均値と全周分の読取りデータの画素毎の全周平
均値とを算出して平均値を全周平均値と比較することで
当該対象領域の画素毎の汚れの程度が許容できるか否か
を判断し、当該対象領域の平均値の方が全周平均値より
も高い場合には当該対象領域が他の領域よりも白っぽく
て特に汚れていないと判断できることから、このように
許容できる場合には当該対象領域の当該画素の平均値を
シェーディングデータとするようにしたので、適正なシ
ェーディングデータとなり、よって、シェーディングデ
ータの濃度均一性を維持でき、高品質な原稿画像の読取
りを行える。
Therefore, the target area of a predetermined width on the peripheral surface of the white roller is read for shading data generation, and the entire circumference is also read, and the average value of the read data in the target area for each pixel and the total circumference are read. It is determined whether the degree of dirt for each pixel of the target area is acceptable by calculating an average value of the entire circumference of each pixel of the read data and comparing the average value with the average value of the entire circumference. If the average value of the target area is higher than the average value of the entire circumference, the target area can be determined to be whitish and not particularly dirty than the other areas. Since the average value of the pixels is used as the shading data, the shading data becomes appropriate. Therefore, the density uniformity of the shading data can be maintained and a high-quality original image can be read.

【0021】請求項3記載の発明は、請求項2記載の画
像読取装置において、前記シェーディングデータ決定手
段は、前記判断手段による判断結果が許容できない画素
の場合には当該画素の前記全周平均値をシェーディング
データとして決定する。
According to a third aspect of the present invention, in the image reading apparatus according to the second aspect, the shading data determining means is configured to determine, when the result of the determination by the determining means is an unacceptable pixel, the entire circumference average value of the pixel. Is determined as shading data.

【0022】従って、当該対象領域の当該画素の平均値
の方が全周平均値よりも低い場合には当該対象領域の当
該画素部分が副走査方向の他の領域よりも部分的に汚れ
ており、シェーディングデータ取得に適していないと判
断できるが、このように許容できない場合には取り敢え
ず当該画素の周面上の全周平均値をシェーディングデー
タとすることで、より好ましいデータを用いた適正な応
急処置となり、データを取得し直す等の処理を要せずシ
ェーディングデータを決定して以降の処理に移ることが
できる。
Therefore, when the average value of the pixel in the target area is lower than the average value in the entire circumference, the pixel portion in the target area is more contaminated than other areas in the sub-scanning direction. It can be determined that shading data is not suitable. However, if such shading data cannot be tolerated, the average value of the entire circumference on the peripheral surface of the pixel is used as shading data, and appropriate emergency using more preferable data is performed. This is a measure, and shading data can be determined without the need for processing such as reacquisition of data, and the processing can be shifted to the subsequent processing.

【0023】請求項4記載の発明は、請求項2又は3記
載の画像読取装置において、前記読取手段は、前記白色
ローラの全周分の読取りを前記白色ローラのローラ径に
基づき予め設定された主走査ライン数により規定する。
According to a fourth aspect of the present invention, in the image reading apparatus according to the second or third aspect, the reading means sets the reading of the entire circumference of the white roller based on the roller diameter of the white roller in advance. It is defined by the number of main scanning lines.

【0024】従って、白色ローラ全周分のデータを取得
するための読取り動作の制御を簡単に行える。
Therefore, it is possible to easily control the reading operation for acquiring data for the entire circumference of the white roller.

【0025】請求項5記載の発明は、請求項2又は3記
載の画像読取装置において、前記読取手段は、前記白色
ローラの全周分の読取りを前記白色ローラの1周分の回
転期間を示すゲート信号により規定する。
According to a fifth aspect of the present invention, in the image reading apparatus according to the second or third aspect, the reading means indicates a rotation period for one rotation of the white roller when reading the entire circumference of the white roller. It is defined by the gate signal.

【0026】従って、白色ローラ全周分のデータを取得
するための読取り動作の制御を簡単に行える。
Therefore, it is possible to easily control the reading operation for acquiring the data for the entire circumference of the white roller.

【0027】請求項6記載の発明の画像読取装置は、原
稿が搬送される原稿搬送経路と、この原稿搬送経路上を
搬送される原稿に対して読取位置が設定されて前記原稿
の画像を読取る光電変換素子を有する画像読取部と、前
記原稿搬送経路を挟んで前記画像読取部による前記読取
位置に対向配置されて駆動源により原稿搬送方向に回転
駆動される白色ローラと、前記光電変換素子により前記
白色ローラ周面上の所定幅の対象領域のみを読取る読取
手段と、この読取手段により読取られた前記対象領域内
の読取りデータに基づく比較データを予め設定されてい
る基準値と比較する比較手段と、この比較手段による比
較結果により前記対象領域内の汚れの程度が許容できる
か否かを判断する判断手段と、この判断手段による判断
結果が許容できる場合には前記対象領域内の読取りデー
タを用いて算出された値をシェーディングデータとして
決定するシェーディングデータ決定手段と、このシェー
ディングデータ決定手段により決定されたシェーディン
グデータを用いて前記光電変換手段により読取った原稿
の画像データを白シェーディング補正する白シェーディ
ング補正手段と、を備える。
According to a sixth aspect of the present invention, an image reading apparatus is configured to set an original transport path along which an original is transported, and to set a reading position for the original transported along the original transport path to read an image of the original. An image reading unit having a photoelectric conversion element, a white roller that is disposed to face the reading position of the image reading unit across the document conveyance path and is driven to rotate in the document conveyance direction by a driving source, and the photoelectric conversion element Reading means for reading only a target area of a predetermined width on the peripheral surface of the white roller, and comparing means for comparing comparison data based on read data in the target area read by the reading means with a preset reference value Determining means for determining whether or not the degree of dirt in the target area is acceptable based on the result of comparison by the comparing means; and the result of determination by this determining means is acceptable. In this case, the value calculated using the read data in the target area is determined as shading data by the shading data determining means, and the shading data determined by the shading data determining means is read by the photoelectric conversion means. White shading correction means for correcting white shading of the image data of the document.

【0028】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域のみを読取る
が、その読取りデータに基づく比較データを予め設定さ
れている基準値と比較することで当該対象領域の汚れの
程度が許容できるか否かを判断し、特に汚れておらず許
容できる場合には当該対象領域の読取りデータを用いて
算出された値をシェーディングデータとするようにした
ので、適正なシェーディングデータとなり、よって、シ
ェーディングデータの濃度均一性を維持でき、高品質な
原稿画像の読取りを行える。
Therefore, only the target area of a predetermined width on the peripheral surface of the white roller is read to generate shading data. By comparing comparison data based on the read data with a preset reference value, the target area is read. It is determined whether or not the degree of dirt is acceptable. If the level is not dirt and is acceptable, the value calculated using the read data of the target area is used as the shading data. Thus, the density uniformity of the shading data can be maintained, and a high-quality document image can be read.

【0029】請求項7記載の発明は、請求項6記載の画
像読取装置において、前記対象領域内の読取りデータの
各画素毎の平均値を比較データとして算出する平均値算
出手段を備え、前記比較手段は各画素毎の平均値を前記
基準値と比較し、前記判断手段は前記比較手段による比
較結果により前記対象領域内の各画素毎の汚れの程度が
許容できるか否かを判断し、前記シェーディングデータ
決定手段は判断結果が許容できる画素の場合には当該画
素の前記平均値をシェーディングデータとして決定す
る。
According to a seventh aspect of the present invention, in the image reading apparatus according to the sixth aspect, there is provided an average value calculating means for calculating an average value for each pixel of read data in the target area as comparison data, The means compares the average value of each pixel with the reference value, and the determining means determines whether or not the degree of contamination of each pixel in the target area is acceptable based on the comparison result by the comparing means, If the result of the determination is a permissible pixel, the shading data determination means determines the average value of the pixel as shading data.

【0030】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域のみを読取る
が、その対象領域内の読取りデータの画素毎の平均値を
予め設定されている基準値と比較することで当該対象領
域の画素毎の汚れの程度が許容できるか否かを判断し、
当該対象領域の当該画素の平均値の方が基準値よりも高
い場合には当該対象領域の当該画素部分が副走査方向の
他の領域よりも白っぽくて特に汚れていないと判断でき
ることから、このように許容できる場合には当該対象領
域の当該画素の平均値をシェーディングデータとするよ
うにしたので、適正なシェーディングデータとなり、よ
って、シェーディングデータの濃度均一性を維持でき、
高品質な原稿画像の読取りを行える。また、対象領域の
みの読取りで済むため、処理時間、処理データが少なく
て済む。
Therefore, only the target area of a predetermined width on the peripheral surface of the white roller is read to form the shading data, and the average value of the read data for each pixel in the target area is compared with a preset reference value. To determine whether the degree of dirt for each pixel in the target area is acceptable,
When the average value of the pixel in the target area is higher than the reference value, the pixel portion of the target area can be determined to be whitish and not particularly dirty than other areas in the sub-scanning direction. When it is acceptable, the average value of the pixel in the target area is set as the shading data, so that the shading data becomes appropriate, so that the density uniformity of the shading data can be maintained.
A high-quality document image can be read. Further, since only the target area needs to be read, processing time and processing data can be reduced.

【0031】請求項8記載の発明は、請求項7記載の画
像読取装置において、前記シェーディングデータ決定手
段は、前記判断手段による判断結果が許容できない画素
の場合には予め設定されている前記基準値をシェーディ
ングデータとして決定する。
According to an eighth aspect of the present invention, in the image reading apparatus according to the seventh aspect, the shading data determining means sets the reference value which is set in advance when a result of the determination by the determining means is an unacceptable pixel. Is determined as shading data.

【0032】従って、当該対象領域の当該画素の平均値
の方が基準値よりも低い場合には当該対象領域の当該画
素部分が副走査方向の他の領域よりも部分的に汚れてお
り、シェーディングデータ取得に適していないと判断で
きるが、このように許容できない場合には取り敢えず予
め設定されている基準値をシェーディングデータとする
ことで、より好ましいデータを用いた適正な応急処置と
なり、データを取得し直す等の処理を要せずシェーディ
ングデータを決定して以降の処理に移ることができる。
Therefore, when the average value of the pixel in the target area is lower than the reference value, the pixel portion of the target area is partially more contaminated than other areas in the sub-scanning direction, and It can be determined that it is not suitable for data acquisition, but if it is not acceptable in this way, by setting a preset reference value as shading data, appropriate emergency treatment using more preferable data is obtained, and data is acquired The shading data is determined without the need for processing such as re-execution, and the processing can be shifted to the subsequent processing.

【0033】請求項9記載の発明は、請求項6記載の画
像読取装置において、前記対象領域内の主走査ライン毎
に予め設定されているレベル値よりも小さな読取りデー
タとなる画素数を比較データとして計数する計数手段を
備え、前記比較手段は主走査ライン毎に計数された前記
画素数を前記基準値と比較し、前記判断手段は前記比較
手段による比較結果により前記対象領域内の各主走査ラ
イン毎の汚れの程度が許容できるか否かを判断し、前記
シェーディングデータ決定手段は判断結果が許容できる
主走査ラインの場合には当該主走査ラインの読取りデー
タを用いて算出された値をシェーディングデータとして
決定する。
According to a ninth aspect of the present invention, in the image reading apparatus according to the sixth aspect, the number of pixels having read data smaller than a preset level value for each main scanning line in the target area is compared with the comparison data. The comparing means compares the number of pixels counted for each main scanning line with the reference value, and the determining means determines each main scan in the target area based on a comparison result by the comparing means. The shading data determination means determines whether or not the degree of dirt for each line is acceptable. If the determination result is a permissible main scanning line, the shading data shading means shades the value calculated using the read data of the main scanning line. Determined as data.

【0034】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域のみを読取る
が、その対象領域内の主走査ライン毎に予め設定されて
いるレベル値よりも小さな読取りデータとなる画素数を
比較データとして計数し、主走査ライン毎に計数された
画素数を予め設定されている基準値と比較することで当
該対象領域の各主走査ライン毎の汚れの程度が許容でき
るか否かを判断し、当該対象領域の当該主走査ラインの
レベル値よりも小さな読取りデータとなる画素数が基準
値よりも大きくない場合には当該対象領域の当該主走査
ライン部分が白っぽくて特に汚れていないと判断できる
ことから、このように許容できる場合には当該対象領域
の当該主走査ラインの読取りデータを用いて算出された
値をシェーディングデータとするようにしたので、適正
なシェーディングデータとなり、よって、シェーディン
グデータの濃度均一性を維持でき、高品質な原稿画像の
読取りを行える。また、対象領域のみの読取りで済むた
め、処理時間、処理データが少なくて済む。
Therefore, only the target area of a predetermined width on the peripheral surface of the white roller is read for generating the shading data, but the read data smaller than the level value set in advance for each main scanning line in the target area is obtained. The number of pixels is counted as comparison data, and by comparing the number of pixels counted for each main scanning line with a preset reference value, whether the degree of dirt for each main scanning line in the target area is acceptable? If the number of pixels that are read data smaller than the level value of the main scanning line in the target area is not larger than the reference value, the main scanning line portion of the target area is whitish and particularly dirty. Since it can be determined that the image data does not exist, in such a case, the value calculated using the read data of the main scanning line of the target area is shaded. Since such an over data becomes a proper shading data, thus, can maintain the density uniformity of the shading data, perform the reading of high-quality original image. Further, since only the target area needs to be read, processing time and processing data can be reduced.

【0035】請求項10記載の発明は、請求項9記載の
画像読取装置において、前記シェーディングデータ決定
手段は、前記判断手段による判断結果が許容できない主
走査ラインの場合にはその主走査ラインのデータとして
予め設定されている前記レベル値を用いる。
According to a tenth aspect of the present invention, in the image reading apparatus according to the ninth aspect, the shading data determining means determines the data of the main scanning line when the result of the determination by the determining means is unacceptable. The level value previously set as is used.

【0036】従って、当該対象領域の当該主走査ライン
のレベル値よりも小さな読取りデータとなる画素数が基
準値よりも大きくない場合には当該対象領域の当該主走
査ライン部分が部分的に汚れており、シェーディングデ
ータ取得に適していないと判断できるが、このように許
容できない場合には取り敢えずその主走査ラインのデー
タとして予め設定されているレベル値を用いることで、
より好ましいデータを用いる適正な応急処置となり、デ
ータを取得し直す等の処理を要せずシェーディングデー
タを決定して以降の処理に移ることができる。
Therefore, when the number of pixels that are read data smaller than the level value of the main scanning line in the target area is not larger than the reference value, the main scanning line portion of the target area is partially stained. Therefore, it can be determined that shading data is not suitable, but in the case where such shading data cannot be tolerated, a level value set in advance as the data of the main scanning line is used.
An appropriate first-aid treatment using more preferable data is obtained, and shading data can be determined without any processing such as reacquisition of data, and the processing can be shifted to the subsequent processing.

【0037】請求項11記載の発明の画像読取装置は、
原稿が搬送される原稿搬送経路と、この原稿搬送経路上
を搬送される原稿に対して読取位置が設定されて前記原
稿の画像を読取る光電変換素子を有する画像読取部と、
前記原稿搬送経路を挟んで前記画像読取部による前記読
取位置に対向配置されて駆動源により原稿搬送方向に回
転駆動される白色ローラと、前記光電変換素子により前
記白色ローラ周面上の所定幅の対象領域を含みこの対象
領域を越える領域分を読取る読取手段と、この読取手段
により読取られた読取りデータについて主走査ライン毎
に予め設定されているレベル値よりも小さな読取りデー
タとなる画素数を比較データとして計数する計数手段
と、この計数手段により主走査ライン毎に計数された前
記画素数を予め設定されている基準値と比較する比較手
段と、この比較手段による比較結果により主走査ライン
毎の汚れの程度が許容できる程度であるか否かを決定
し、この決定処理を許容できる主走査ライン数が所定ラ
イン数に達するまで繰返す判断手段と、この判断手段に
よる決定処理が所定ライン数に達するまで繰返されて判
断結果が許容できる場合にはその所定ライン数の読取り
データを用いて算出された値をシェーディングデータと
して決定するシェーディングデータ決定手段と、このシ
ェーディングデータ決定手段により決定されたシェーデ
ィングデータを用いて前記光電変換手段により読取った
原稿の画像データを白シェーディング補正する白シェー
ディング補正手段と、を備える。
An image reading apparatus according to the eleventh aspect of the present invention is
A document transport path on which the document is transported, and an image reading unit having a photoelectric conversion element for reading an image of the document with a reading position set for the document transported on the document transport path;
A white roller that is disposed opposite to the reading position of the image reading unit across the document conveyance path and is driven to rotate in the document conveyance direction by a driving source, and has a predetermined width on the peripheral surface of the white roller by the photoelectric conversion element. The reading means for reading an area including the target area and exceeding the target area is compared with the number of pixels which becomes read data smaller than a preset level value for each main scanning line for the read data read by the reading means. Counting means for counting as data; comparing means for comparing the number of pixels counted for each main scanning line by the counting means with a preset reference value; and a comparison result by the comparing means for each main scanning line. It is determined whether the degree of contamination is acceptable or not, and this determination processing is repeated until the allowable number of main scanning lines reaches a predetermined number. And a shading step of determining a value calculated using read data of the predetermined number of lines as shading data if the determination is repeated until the predetermined number of lines is reached and the determination result is acceptable. A data shading means for white shading correction of image data of the original read by the photoelectric conversion means using the shading data determined by the shading data determining means;

【0038】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域を読取るが、併
せて、この対象領域を越える領域分も読取り、主走査ラ
イン毎に予め設定されているレベル値よりも小さな読取
りデータとなる画素数を比較データとして計数し、主走
査ライン毎に計数された画素数を予め設定されている基
準値と比較することで当該対象領域の各主走査ライン毎
の汚れの程度が許容できるか否かを判断し、当該対象領
域の当該主走査ラインのレベル値よりも小さな読取りデ
ータとなる画素数が基準値よりも大きくない場合には当
該対象領域の当該主走査ライン部分が白っぽくて特に汚
れていないと判断できることから、このように許容でき
る主走査ライン数が所定ライン数に達するまで決定・判
断処理を繰返すことで、支障ない主走査ラインを所定ラ
イン数分集めてシェーディングデータ作成に用いること
ができ、適正なシェーディングデータとなり、よって、
シェーディングデータの濃度均一性を維持でき、高品質
な原稿画像の読取りを行える。
Therefore, a target area of a predetermined width on the peripheral surface of the white roller is read for shading data generation, and an area exceeding the target area is also read, and a level set in advance for each main scanning line is set. The number of pixels serving as read data smaller than the value is counted as comparison data, and the number of pixels counted for each main scanning line is compared with a preset reference value, so that the number of pixels for each main scanning line in the target area is determined. It is determined whether the degree of dirt is acceptable or not. If the number of pixels that become read data smaller than the level value of the main scan line in the target area is not larger than the reference value, the main scan of the target area is not performed. Since it can be determined that the line portion is whitish and not particularly dirty, the determination and determination process is repeated until the allowable number of main scanning lines reaches the predetermined number of lines. In a trouble free main scanning lines collected predetermined number of lines can be used to create shading data, it becomes a proper shading data, therefore,
The uniformity of the density of shading data can be maintained, and a high-quality document image can be read.

【0039】請求項12記載の発明は、請求項1ないし
11の何れか一記載の画像読取装置において、前記判断
手段の判断結果が許容できない場合には前記対象領域の
位置を前記白色ローラ周面上で移動させる対象領域位置
移動手段を備える。
According to a twelfth aspect of the present invention, in the image reading apparatus according to any one of the first to eleventh aspects, the position of the target area is set to the peripheral surface of the white roller when the result of the determination by the determination means is not acceptable. A target area position moving means for moving the target area upward;

【0040】従って、当該対象領域が汚れておりシェー
ディングデータ取得に適していない場合には、対象領域
の位置を移動させることで、シェーディングデータを取
得するための所定幅の対象領域の位置を極力汚れの少な
い場所に変更でき、シェーディングデータの濃度均一性
を長期に亘って維持でき、高品質な原稿画像の読取りが
可能となる。特に、順次場所を変更させることにより、
最終的には最も汚れの少ない場所が対象領域となるよう
に収束させることもできる。
Therefore, if the target area is dirty and is not suitable for obtaining shading data, the position of the target area having a predetermined width for obtaining shading data is changed as much as possible by moving the position of the target area. , The density uniformity of the shading data can be maintained for a long time, and a high-quality document image can be read. In particular, by sequentially changing the location,
Ultimately, it is possible to converge so that a place with the least amount of dirt becomes the target area.

【0041】請求項13記載の発明は、請求項12記載
の画像読取装置において、前記対象領域位置移動手段は
前記判断手段により許容できない判断結果が得られた時
点で次回からの前記対象領域の位置を移動させる。
According to a thirteenth aspect of the present invention, in the image reading apparatus according to the twelfth aspect, the target area position moving means determines a position of the target area from the next time when an unacceptable determination result is obtained by the determination means. To move.

【0042】従って、対象領域が汚れている場合に早急
に対処できる。
Therefore, it is possible to quickly cope with a case where the target area is dirty.

【0043】請求項14記載の発明は、請求項12記載
の画像読取装置において、前記対象領域位置移動手段は
前記判断手段により許容できない判断結果が所定回数得
られた時点で次回からの前記対象領域の位置を移動させ
る。
According to a fourteenth aspect of the present invention, in the image reading apparatus according to the twelfth aspect, the target area position moving means is configured to execute the target area from the next time when a result of the unacceptable determination is obtained by the determining means a predetermined number of times. Move the position of.

【0044】従って、瞬間的な汚れ等による対象領域の
位置移動を避けることができる。
Therefore, it is possible to avoid a position shift of the target area due to an instantaneous dirt or the like.

【0045】請求項15記載の発明は、請求項12ない
し14の何れか一記載の画像読取装置において、前記対
象領域位置移動手段は前記対象領域の位置を順次移動さ
せた場合に元の対象領域の位置に戻らない角度ずつ移動
させる。
According to a fifteenth aspect of the present invention, in the image reading apparatus according to any one of the twelfth to twelfth aspects, the target area position moving means moves the target area in order when the position of the target area is sequentially moved. Move by an angle that does not return to the position.

【0046】従って、許容できなかった場所を再び対象
領域として試すことがなく、対象領域を白色ローラ周面
上の汚れていない場所に特定するための処理が効率的と
なる。
Therefore, the processing for specifying the target area as a clean place on the peripheral surface of the white roller becomes efficient without trying the unacceptable place again as the target area.

【0047】請求項16記載の発明は、請求項12ない
し14の何れか一記載の画像読取装置において、前記対
象領域位置移動手段は前記対象領域の位置を不均等な角
度ずつ順次移動させる。
According to a sixteenth aspect of the present invention, in the image reading apparatus according to any one of the twelfth to fourteenth aspects, the target area position moving means sequentially moves the position of the target area by an uneven angle.

【0048】従って、許容できなかった場所を再び対象
領域として試すことがなく、対象領域を白色ローラ周面
上の汚れていない場所に特定するための処理が効率的と
なる。
Therefore, the processing for specifying the target area as a clean place on the peripheral surface of the white roller becomes efficient without trying the unacceptable place again as the target area.

【0049】請求項17記載の発明は、請求項12ない
し16の何れか一記載の画像読取装置において、前記判
断手段による許容できないとの判断結果を累計監視して
前記白色ローラ全周にわたる汚れを検出する全周汚れ検
出手段と、この全周汚れ検出手段により白色ローラ全周
の汚れが検出された場合に警告を発する警告手段と、を
備える。
According to a seventeenth aspect of the present invention, in the image reading apparatus according to any one of the twelfth to sixteenth aspects, the result of the determination by the determination means that the determination is unacceptable is cumulatively monitored to remove dirt around the entire circumference of the white roller. There is provided an all-around dirt detecting means for detecting, and a warning means for issuing a warning when the dirt on the entire circumference of the white roller is detected by the all-around dirt detecting means.

【0050】従って、上述したような対象領域の移動を
繰返しても対象領域に関する汚れの程度の判断結果が許
容できなくなり、白色ローラが全面的に汚れてしまった
場合には、警告手段により警告が発せられるので、白色
ローラに関する清掃・交換等の適正な対処を採れる。
Therefore, even if the movement of the target area as described above is repeated, the result of the determination of the degree of dirt on the target area becomes unacceptable, and if the white roller is completely dirty, a warning is issued by the warning means. Since it is emitted, appropriate measures such as cleaning and replacement of the white roller can be taken.

【0051】請求項18記載の発明は、請求項1ないし
17の何れか一記載の画像読取装置において、前記白色
ローラは真円形状のローラである。
According to an eighteenth aspect of the present invention, in the image reading apparatus according to any one of the first to seventeenth aspects, the white roller is a perfect circular roller.

【0052】従って、最もシンプルで清掃しやすい真円
形状のローラを白色ローラとして用いた場合でも、シェ
ーディングデータの濃度均一性を維持でき、高品質な原
稿画像の読取りを行える。
Therefore, even when the simplest and easy-to-clean perfect circle roller is used as the white roller, the density uniformity of shading data can be maintained and a high-quality original image can be read.

【0053】請求項19記載の発明は、請求項1ないし
17の何れか一記載の画像読取装置において、前記白色
ローラはその外周面に当該ローラ軸心と直交する直線上
に曲率中心を有し当該ローラの最大外周面軌跡の内側に
位置する曲面で形成された好適読取面を有するローラで
ある。
According to a nineteenth aspect of the present invention, in the image reading device according to any one of the first to seventeenth aspects, the white roller has a center of curvature on a straight line perpendicular to the roller axis on an outer peripheral surface thereof. This is a roller having a preferred reading surface formed of a curved surface located inside the locus of the maximum outer peripheral surface of the roller.

【0054】本発明及び以下の発明において、白色ロー
ラに関して、「最大外周面軌跡」とは、好適読取面を設
けない状態の当該ローラの真円形状の外周面を意味す
る。好適読取面を形成する「曲面」は、読取ローラのロ
ーラ軸心と直交する直線上に曲率中心を有して形成され
る曲面であればよく、凸状、凹状或いは平坦面状であっ
てもよい。凸状の場合、曲面に対してローラ軸心を挟ん
で反対側でローラ軸心と直交する直線上に位置させた曲
率中心でローラ曲率よりも大きな曲率の曲面として形成
できる。この際、曲率中心を無限遠方に設定すれば、平
坦面状となる。凹状の場合、ローラ軸心に対して曲面と
同一側でローラ軸心と直交する直線上のローラ外に位置
させた曲率中心の曲面として形成できる。
In the present invention and the following invention, with respect to the white roller, the “maximum outer peripheral surface locus” means a perfect circular outer peripheral surface of the roller without a suitable reading surface. The “curved surface” that forms a preferred reading surface may be a curved surface formed with a center of curvature on a straight line perpendicular to the roller axis of the reading roller, and may be a convex, concave, or flat surface. Good. In the case of the convex shape, it can be formed as a curved surface having a curvature larger than the roller curvature at the center of curvature located on a straight line perpendicular to the roller axis on the opposite side of the roller axis with respect to the curved surface. At this time, if the center of curvature is set to infinity, a flat surface is obtained. In the case of the concave shape, it can be formed as a curved surface having a center of curvature positioned outside the roller on a straight line perpendicular to the roller axis on the same side as the curved surface with respect to the roller axis.

【0055】従って、このような特定形状の好適読取面
を有する白色ローラを用いることにより、好適読取面は
原稿搬送を繰返しても原稿に接触しにくいので汚れにく
く、仮に汚れても溝構造を有しないため汚れが好適読取
面上に溜まりにくくて清掃しやすいので、好適読取面を
長期間にわたって白色状態に維持することができ、シェ
ーディングデータを生成する上で、このような好適読取
面を対象領域として読取る可能性を有するので、シェー
ディングデータの濃度均一性をより一層高レベルに維持
し、高品質な原稿画像の読取りが可能となる。また、実
際の原稿画像の読取りに際して好適読取面が原因となっ
て影を生ずるような不具合もない。
Therefore, by using a white roller having a suitable reading surface of such a specific shape, the suitable reading surface is unlikely to come into contact with the original even when the original is repeatedly conveyed, so that it has a groove structure even if it becomes dirty. Since the dirt does not easily collect on the suitable reading surface and is easy to clean, the suitable reading surface can be maintained in a white state for a long period of time. Therefore, the density uniformity of the shading data is maintained at a higher level, and a high-quality document image can be read. Further, there is no problem that a shadow is caused due to a preferable reading surface when reading an actual document image.

【0056】請求項20記載の発明は、請求項19記載
の画像読取装置において、前記対象領域の所定幅は前記
好適読取面の幅よりも狭く設定されている。
According to a twentieth aspect of the present invention, in the image reading apparatus according to the nineteenth aspect, the predetermined width of the target area is set to be smaller than the width of the preferred reading surface.

【0057】従って、対象領域が好適読取面内に位置す
る場合に、シェーディングデータの濃度均一性をより一
層高レベルに維持できる。
Therefore, when the target area is located within the preferred reading surface, the density uniformity of the shading data can be maintained at a higher level.

【0058】請求項21記載の発明は、請求項19又は
20記載の画像読取装置において、前記白色ローラは前
記好適読取面を周面上に複数個有する。
According to a twenty-first aspect of the present invention, in the image reading apparatus of the nineteenth or twentieth aspect, the white roller has a plurality of the preferred reading surfaces on a peripheral surface.

【0059】従って、好適読取面を対象領域として読取
る可能性が高くなり、シェーディングデータの濃度均一
性をより一層高レベルに維持できる。
Accordingly, there is a high possibility that the image is read with the preferred reading surface as the target area, and the density uniformity of the shading data can be maintained at a higher level.

【0060】請求項22記載の発明は、請求項21記載
の画像読取装置において、複数個の前記好適読取面は前
記白色ローラの周面上で等間隔で設けられている。
According to a twenty-second aspect of the present invention, in the image reading apparatus of the twenty-first aspect, a plurality of the preferred reading surfaces are provided at equal intervals on a peripheral surface of the white roller.

【0061】従って、好適読取面を対象領域として読取
る可能性が高くなり、シェーディングデータの濃度均一
性をより一層高レベルに維持できる。特に、対象領域の
位置を移動させる場合には、その移動量を不均等にする
ことにより、好適読取面を対象領域として読取る可能性
を高くすることができる。
Accordingly, there is a high possibility that the image is read with the preferable reading surface as the target area, and the uniformity of the density of the shading data can be maintained at a higher level. In particular, when the position of the target area is moved, by making the movement amount unequal, it is possible to increase the possibility of reading a suitable reading surface as the target area.

【0062】請求項23記載の発明は、請求項21記載
の画像読取装置において、複数個の前記好適読取面は前
記白色ローラの周面上で不均一な間隔で設けられてい
る。
According to a twenty-third aspect of the present invention, in the image reading apparatus according to the twenty-first aspect, a plurality of the preferred reading surfaces are provided at uneven intervals on a peripheral surface of the white roller.

【0063】従って、好適読取面を対象領域として読取
る可能性が高くなり、シェーディングデータの濃度均一
性をより一層高レベルに維持できる。特に、対象領域の
位置を移動させる場合には、その移動量を均等にした場
合でも、好適読取面を対象領域として読取る可能性を高
くすることができる。
Accordingly, there is a high possibility that reading is performed with the preferred reading surface as a target area, and the uniformity of density of shading data can be maintained at a higher level. In particular, when the position of the target area is moved, it is possible to increase the possibility of reading a suitable reading surface as the target area even when the movement amount is equalized.

【0064】請求項24記載の発明は、請求項11記載
の画像読取装置において、前記白色ローラはその外周面
に当該ローラ軸心と直交する直線上に曲率中心を有し当
該ローラの最大外周面軌跡の内側に位置する曲面で形成
された好適読取面を周面上に等間隔で複数個有し、前記
読取手段は少なくとも前記好適読取面の個数で全周を等
分した角度分の範囲を読取る。
According to a twenty-fourth aspect of the present invention, in the image reading apparatus of the eleventh aspect, the white roller has a center of curvature on a straight line perpendicular to the roller axis on an outer circumferential surface thereof, and has a maximum outer circumferential surface of the roller. A plurality of preferred reading surfaces formed of curved surfaces located inside the trajectory are provided on the peripheral surface at equal intervals, and the reading unit sets a range of an angle obtained by equally dividing the entire circumference by at least the number of the preferred reading surfaces. Read.

【0065】従って、請求項11記載の発明を実現する
上で、極力少ない読取り領域としつつ、その読取り領域
中に必ず好適読取面に属する読取りデータ部分(1つの
好適読取面単独又は2つの好適読取面に跨る状態)が含
まれることとなり、シェーディングデータ作成用に用い
得る主走査ライン読取りデータを所定ライン分確保する
ことが確実となり、シェーディングデータの濃度均一性
をより一層高レベルに維持できる。
Therefore, in order to realize the invention according to claim 11, the read data portion (one suitable read surface alone or two suitable read surfaces) must be included in the read region while keeping the read region as small as possible. (A state across the surfaces) is included, and it is ensured that a predetermined number of main scan line read data that can be used for generating shading data is secured, and the density uniformity of shading data can be maintained at a higher level.

【0066】請求項25記載の発明は、請求項1ないし
24の何れか一記載の画像読取装置において、前記画像
読取部は前記光電変換素子自身が前記読取位置に配置さ
れた密着型イメージセンサである。
According to a twenty-fifth aspect of the present invention, in the image reading device according to any one of the first to twenty-fourth aspects, the image reading section is a contact type image sensor in which the photoelectric conversion element itself is arranged at the reading position. is there.

【0067】従って、光電変換素子自体は大きいが全体
的な構成が小型で済むような原稿移動型の画像読取装置
に好適に適用できる。
Accordingly, the present invention can be suitably applied to an original reading type image reading apparatus in which the photoelectric conversion element itself is large, but the overall configuration is small.

【0068】請求項26記載の発明は、請求項1ないし
24の何れか一記載の画像読取装置において、前記画像
読取部は前記読取位置の光情報を前記光電変換素子に縮
小結像させて読取る縮小光学系を含む。
According to a twenty-sixth aspect of the present invention, in the image reading device according to any one of the first to twenty-fourth aspects, the image reading section reads out optical information at the reading position by forming a reduced image on the photoelectric conversion element. Includes reduction optics.

【0069】従って、比較的大掛かりな縮小光学系を必
要とし全体的な構成は大型化しやすいが、小型の光電変
換素子で済むような原稿移動型の画像読取装置に好適に
適用できる。
Accordingly, although a relatively large reduction optical system is required and the overall configuration is likely to be large, the present invention can be suitably applied to an original moving image reading apparatus which requires only a small photoelectric conversion element.

【0070】請求項27記載の発明の画像形成装置は、
請求項1ないし26の何れか一記載の画像読取装置を備
え、この画像読取装置により読取られた原稿の画像デー
タに基づいて記録媒体上に画像を形成する。
An image forming apparatus according to a twenty-seventh aspect of the present invention
An image reading apparatus according to any one of claims 1 to 26, wherein an image is formed on a recording medium based on image data of a document read by the image reading apparatus.

【0071】従って、請求項1ないし26の何れか一記
載の画像読取装置を備え、信頼性の高いシェーディング
データを用いて補正された原稿の画像データを扱うこと
となるので、高画質の画像を形成できる画像形成装置を
提供できる。
Therefore, the image reading apparatus according to any one of claims 1 to 26 is provided, and handles image data of a document corrected by using highly reliable shading data. An image forming apparatus that can be formed can be provided.

【0072】請求項28記載の発明のファクシミリ装置
は、請求項1ないし26の何れか一記載の画像読取装置
を備え、この画像読取装置により読取られた原稿の画像
データを通信網を介して送信先に送信出力する。
A facsimile apparatus according to a twenty-eighth aspect of the present invention includes the image reading device according to any one of the first to twenty-sixth aspects, and transmits image data of a document read by the image reading apparatus via a communication network. Output first.

【0073】従って、請求項1ないし26の何れか一記
載の画像読取装置を備え、信頼性の高いシェーディング
データを用いて補正された原稿の画像データを扱うこと
となるので、高画質の画像を送信出力できるファクシミ
リ装置を提供できる。
Accordingly, the image reading apparatus according to any one of claims 1 to 26 is provided, and handles image data of a document corrected by using highly reliable shading data. A facsimile apparatus capable of transmitting and outputting can be provided.

【0074】請求項29記載の発明のシェーディングデ
ータ作成方法は、原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域を含む全周
を読取る読取工程と、この読取工程により読取られた前
記対象領域内の読取りデータの各画素毎の平均値と全周
分の読取りデータの各画素毎の全周平均値とを算出する
平均値算出工程と、この平均値算出工程により算出され
た各画素毎の平均値を各画素毎の前記全周平均値と比較
する比較工程と、この比較工程による比較結果により前
記対象領域内の画素毎の汚れの程度が許容できるか否か
を判断する判断工程と、この判断工程による判断結果が
許容できる画素の場合には当該画素の前記平均値をシェ
ーディングデータとして決定するシェーディングデータ
決定工程と、を備える。
According to a twenty-ninth aspect of the present invention, there is provided the shading data generating method, wherein the photoelectric conversion element of the image reading unit in which the reading position is set for the original conveyed on the original conveying path is sandwiched between the original conveying path. A reading step of reading the entire circumference including the target area of a predetermined width on the peripheral surface of the white roller disposed opposite to the reading position, and an average value for each pixel of read data in the target area read in the reading step; An average value calculating step of calculating an average value of the entire circumference of each pixel of the read data for the entire circumference, and the average value of each pixel calculated in the average value calculating step is the average value of the entire circumference of each pixel. A determination step of determining whether or not the degree of contamination of each pixel in the target area is acceptable based on the comparison result of the comparison step; and The case and a shading data determination step of determining the average value of the pixel as shading data.

【0075】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域を読取るが、併
せて、全周分も読取り、対象領域内の読取りデータの画
素毎の平均値と全周分の読取りデータの画素毎の全周平
均値とを算出して平均値を全周平均値と比較することで
当該対象領域の画素毎の汚れの程度が許容できるか否か
を判断し、当該対象領域の平均値の方が全周平均値より
も高い場合には当該対象領域が他の領域よりも白っぽく
て特に汚れていないと判断できることから、このように
許容できる場合には当該対象領域の当該画素の平均値を
シェーディングデータとするようにしたので、適正なシ
ェーディングデータとなり、よって、シェーディングデ
ータの濃度均一性を維持できる。
Accordingly, the target area of a predetermined width on the peripheral surface of the white roller is read for shading data generation, and the entire circumference is also read, and the average value of the read data in the target area for each pixel and the total circumference are read. It is determined whether the degree of dirt for each pixel of the target area is acceptable by calculating an average value of the entire circumference of each pixel of the read data and comparing the average value with the average value of the entire circumference. If the average value of the target area is higher than the average value of the entire circumference, the target area can be determined to be whitish and not particularly dirty than the other areas. Since the average value of the pixel is used as the shading data, the shading data becomes appropriate, and thus the density uniformity of the shading data can be maintained.

【0076】請求項30記載の発明は、請求項29記載
のシェーディングデータ作成方法において、前記シェー
ディングデータ決定工程は、前記判断工程による判断結
果が許容できない画素の場合には当該画素の前記全周平
均値をシェーディングデータとして決定する。
According to a thirtieth aspect of the present invention, in the shading data creation method according to the twenty-ninth aspect, the shading data determining step includes the step of: determining, when the result of the determination in the determining step is an unacceptable pixel, the entire circumference of the pixel; Determine the value as shading data.

【0077】従って、当該対象領域の当該画素の平均値
の方が全周平均値よりも低い場合には当該対象領域の当
該画素部分が副走査方向の他の領域よりも部分的に汚れ
ており、シェーディングデータ取得に適していないと判
断できるが、このように許容できない場合には取り敢え
ず当該画素の周面上の全周平均値をシェーディングデー
タとすることで、より好ましいデータを用いた適正な応
急処置となり、データを取得し直す等の処理を要せずシ
ェーディングデータを決定できる。
Therefore, when the average value of the pixel in the target area is lower than the average value in the entire circumference, the pixel portion in the target area is more contaminated than other areas in the sub-scanning direction. It can be determined that shading data is not suitable. However, if such shading data cannot be tolerated, the average value of the entire circumference on the peripheral surface of the pixel is used as shading data, and appropriate emergency using more preferable data is performed. This is a measure, and the shading data can be determined without requiring processing such as reacquisition of data.

【0078】請求項31記載の発明のシェーディングデ
ータ作成方法は、原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域のみを読取
る読取工程と、この読取工程により読取られた前記対象
領域内の読取りデータの各画素毎の平均値を算出する平
均値算出工程と、この平均値算出工程により算出された
各画素毎の平均値を予め設定されている基準値と比較す
る比較工程と、この比較工程による比較結果により前記
対象領域内の各画素毎の汚れの程度が許容できるか否か
を判断する判断工程と、この判断工程による判断結果が
許容できる画素の場合には当該画素の前記平均値をシェ
ーディングデータとして決定するシェーディングデータ
決定工程と、を備える。
According to a thirty-first aspect of the present invention, there is provided the shading data creating method, wherein the photoelectric conversion element of the image reading section in which the reading position is set for the original conveyed on the original conveying path is sandwiched between the original conveying path. A reading step of reading only a target area of a predetermined width on the peripheral surface of the white roller opposed to the reading position, and an average for calculating an average value for each pixel of read data in the target area read in the reading step A value calculating step, a comparing step of comparing the average value of each pixel calculated in the average value calculating step with a preset reference value, and a comparison result of the comparing step for each pixel in the target area. A determining step of determining whether or not the degree of contamination of the pixel is acceptable; and, for a pixel for which the determination result in the determining step is allowable, the average value of the pixel is determined by shading data. And a shading data determination step of determining by.

【0079】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域のみを読取る
が、その対象領域内の読取りデータの画素毎の平均値を
予め設定されている基準値と比較することで当該対象領
域の画素毎の汚れの程度が許容できるか否かを判断し、
当該対象領域の当該画素の平均値の方が基準値よりも高
い場合には当該対象領域の当該画素部分が副走査方向の
他の領域よりも白っぽくて特に汚れていないと判断でき
ることから、このように許容できる場合には当該対象領
域の当該画素の平均値をシェーディングデータとするよ
うにしたので、適正なシェーディングデータとなり、よ
って、シェーディングデータの濃度均一性を維持でき
る。また、対象領域のみの読取りで済むため、処理時
間、処理データが少なくて済む。
Therefore, only the target area of a predetermined width on the peripheral surface of the white roller is read in order to generate shading data. The average value of the read data in each pixel of the target area is compared with a preset reference value. To determine whether the degree of dirt for each pixel in the target area is acceptable,
When the average value of the pixel in the target area is higher than the reference value, the pixel portion of the target area can be determined to be whitish and not particularly dirty than other areas in the sub-scanning direction. In this case, the average value of the pixel in the target area is used as the shading data, so that the shading data becomes appropriate. Therefore, the density uniformity of the shading data can be maintained. Further, since only the target area needs to be read, processing time and processing data can be reduced.

【0080】請求項32記載の発明は、請求項31記載
のシェーディングデータ作成方法において、前記シェー
ディングデータ決定工程は、前記判断工程による判断結
果が許容できない画素の場合には予め設定されている前
記基準値を当該画素のシェーディングデータとして決定
する。
According to a thirty-second aspect of the present invention, in the shading data creating method according to the thirty-first aspect, the shading data determining step is performed in a case where the judgment result in the judging step is an unacceptable pixel. The value is determined as the shading data of the pixel.

【0081】従って、当該対象領域の当該画素の平均値
の方が基準値よりも低い場合には当該対象領域の当該画
素部分が副走査方向の他の領域よりも部分的に汚れてお
り、シェーディングデータ取得に適していないと判断で
きるが、このように許容できない場合には取り敢えず予
め設定されている基準値をシェーディングデータとする
ことで、より好ましいデータを用いた適正な応急処置と
なり、データを取得し直す等の処理を要せずシェーディ
ングデータを決定できる。
Accordingly, when the average value of the pixel in the target area is lower than the reference value, the pixel portion of the target area is partially more contaminated than other areas in the sub-scanning direction, and It can be determined that it is not suitable for data acquisition, but if it is not acceptable in this way, by setting a preset reference value as shading data, appropriate emergency treatment using more preferable data is obtained, and data is acquired The shading data can be determined without the need for processing such as redoing.

【0082】請求項33記載の発明のシェーディングデ
ータ作成方法は、原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域のみを読取
る読取工程と、この読取工程により読取られた前記対象
領域内の主走査ライン毎に予め設定されているレベル値
よりも小さな読取りデータとなる画素数を計数する計数
工程と、この計数工程により主走査ライン毎に計数され
た前記画素数を予め設定されている基準値と比較する比
較工程と、この比較工程の比較結果により前記対象領域
内の各主走査ライン毎の汚れの程度が許容できるか否か
を判断する判断工程と、この判断工程による判断結果が
許容できる主走査ラインの場合には当該主走査ラインの
読取りデータを用いて算出された値をシェーディングデ
ータとして決定するシェーディングデータ決定工程と、
を備える。
The shading data generating method according to the invention is preferably arranged such that a photoelectric conversion element of an image reading section in which a reading position is set for a document conveyed on the document conveying path is sandwiched between the document conveying path. A reading step of reading only a target area of a predetermined width on the peripheral surface of the white roller opposed to the reading position; and a level value set in advance for each main scanning line in the target area read in the reading step. A counting step of counting the number of pixels that also result in small read data, a comparing step of comparing the number of pixels counted for each main scanning line by the counting step with a preset reference value, and a comparison of the comparing step. A determining step of determining whether the degree of dirt for each main scanning line in the target area is allowable based on the result; and a main scanning in which the determination result in the determining step is allowable. And shading data determination step of determining a value calculated by using the read data of the main scanning line as shading data in the case of in,
Is provided.

【0083】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域のみを読取る
が、その対象領域内の主走査ライン毎に予め設定されて
いるレベル値よりも小さな読取りデータとなる画素数を
比較データとして計数し、主走査ライン毎に計数された
画素数を予め設定されている基準値と比較することで当
該対象領域の各主走査ライン毎の汚れの程度が許容でき
るか否かを判断し、当該対象領域の当該主走査ラインの
レベル値よりも小さな読取りデータとなる画素数が基準
値よりも大きくない場合には当該対象領域の当該主走査
ライン部分が白っぽくて特に汚れていないと判断できる
ことから、このように許容できる場合には当該対象領域
の当該主走査ラインの読取りデータを用いて算出された
値をシェーディングデータとするようにしたので、適正
なシェーディングデータとなり、よって、シェーディン
グデータの濃度均一性を維持できる。また、対象領域の
みの読取りで済むため、処理時間、処理データが少なく
て済む。
Therefore, only the target area of a predetermined width on the peripheral surface of the white roller is read for generating the shading data, but the read data smaller than the level value preset for each main scanning line in the target area is read. The number of pixels is counted as comparison data, and by comparing the number of pixels counted for each main scanning line with a preset reference value, whether the degree of dirt for each main scanning line in the target area is acceptable? If the number of pixels that are read data smaller than the level value of the main scanning line in the target area is not larger than the reference value, the main scanning line portion of the target area is whitish and particularly dirty. Since it can be determined that the image data does not exist, in such a case, the value calculated using the read data of the main scanning line of the target area is shaded. Since such an over data becomes a proper shading data, thus, it can maintain the density uniformity of the shading data. Further, since only the target area needs to be read, processing time and processing data can be reduced.

【0084】請求項34記載の発明は、請求項32記載
のシェーディングデータ作成方法において、前記シェー
ディングデータ決定工程は、前記判断工程による判断結
果が許容できない主走査ラインの場合には予め設定され
ている前記レベル値を用いて算出された値をシェーディ
ングデータとして決定する。
According to a thirty-fourth aspect of the present invention, in the shading data creation method according to the thirty-second aspect, the shading data determining step is set in advance when the result of the determination in the main scanning line is unacceptable. A value calculated using the level value is determined as shading data.

【0085】従って、当該対象領域の当該主走査ライン
のレベル値よりも小さな読取りデータとなる画素数が基
準値よりも大きくない場合には当該対象領域の当該主走
査ライン部分が部分的に汚れており、シェーディングデ
ータ取得に適していないと判断できるが、このように許
容できない場合には取り敢えずその主走査ラインのデー
タとして予め設定されているレベル値を用いることで、
より好ましいデータを用いる適正な応急処置となり、デ
ータを取得し直す等の処理を要せずシェーディングデー
タを決定できる。
Therefore, if the number of pixels that are read data smaller than the level value of the main scanning line in the target area is not larger than the reference value, the main scanning line portion of the target area is partially stained. Therefore, it can be determined that shading data is not suitable, but in the case where such shading data cannot be tolerated, a level value set in advance as the data of the main scanning line is used.
An appropriate first-aid treatment using more preferable data is obtained, and shading data can be determined without requiring processing such as reacquisition of data.

【0086】請求項35記載の発明は、請求項29ない
し34の何れか一記載のシェーディングデータ作成方法
において、前記判断工程の判断結果が許容できない場合
には前記対象領域の位置を前記白色ローラ周面上で移動
させる対象領域位置移動工程を備える。
According to a thirty-fifth aspect of the present invention, in the shading data creating method according to any one of the thirty-ninth to thirty-fourth aspects, if the result of the determination in the determining step is not acceptable, the position of the target area is changed to the circumference of the white roller. And moving the target area on the surface.

【0087】従って、当該対象領域が汚れておりシェー
ディングデータ取得に適していない場合には、対象領域
の位置を移動させることで、シェーディングデータを取
得するための所定幅の対象領域の位置を極力汚れの少な
い場所に変更でき、シェーディングデータの濃度均一性
を長期に亘って維持でき、高品質な原稿画像の読取りが
可能となる。特に、順次場所を変更させることにより、
最終的には最も汚れの少ない場所が対象領域となるよう
に収束させることもできる。
Therefore, when the target area is dirty and is not suitable for obtaining shading data, the position of the target area having a predetermined width for obtaining shading data is moved as much as possible by moving the position of the target area. , The density uniformity of the shading data can be maintained for a long time, and a high-quality document image can be read. In particular, by sequentially changing the location,
Ultimately, it is possible to converge so that a place with the least amount of dirt becomes the target area.

【0088】請求項36記載の発明のシェーディングデ
ータ作成方法は、原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域を含みこの
対象領域を越える領域分を読取る読取工程と、この読取
工程により読取られた読取りデータについて主走査ライ
ン毎に予め設定されているレベル値よりも小さな読取り
データとなる画素数を計数する計数工程と、この計数工
程により主走査ライン毎に計数された前記画素数を予め
設定されている基準値と比較する比較工程と、この比較
工程による比較結果により主走査ライン毎の汚れの程度
が許容できる程度であるか否かを決定し、この決定処理
を許容できる主走査ライン数が所定ライン数に達するま
で繰返す判断工程と、この判断工程による決定処理が所
定ライン数に達するまで繰返されて判断結果が許容でき
る場合にはその所定ライン数の読取りデータを用いて算
出された値をシェーディングデータとして決定するシェ
ーディングデータ決定工程と、を備える。
According to a thirty-sixth aspect of the present invention, there is provided the shading data generating method, wherein the photoelectric conversion element of the image reading unit in which the reading position is set with respect to the original conveyed on the original conveying path, sandwiches the original conveying path. A reading step of reading an area including a target area of a predetermined width on the peripheral surface of the white roller opposed to the reading position and reading an area exceeding the target area; and setting read data read in the reading step for each main scanning line in advance. A counting step of counting the number of pixels that become read data smaller than the level value that has been set, and a comparing step of comparing the number of pixels counted for each main scanning line by the counting step with a preset reference value. It is determined whether or not the degree of dirt for each main scanning line is an acceptable level based on the comparison result in this comparison step, and the main run which can accept this determination processing is determined. A determination step repeated until the number of lines reaches the predetermined number of lines; and a determination process in this determination step is repeated until the number of lines reaches the predetermined number of lines. A shading data determining step of determining the determined value as shading data.

【0089】従って、シェーディングデータ作成のため
に白色ローラ周面上の所定幅の対象領域を読取るが、併
せて、この対象領域を越える領域分も読取り、主走査ラ
イン毎に予め設定されているレベル値よりも小さな読取
りデータとなる画素数を比較データとして計数し、主走
査ライン毎に計数された画素数を予め設定されている基
準値と比較することで当該対象領域の各主走査ライン毎
の汚れの程度が許容できるか否かを判断し、当該対象領
域の当該主走査ラインのレベル値よりも小さな読取りデ
ータとなる画素数が基準値よりも大きくない場合には当
該対象領域の当該主走査ライン部分が白っぽくて特に汚
れていないと判断できることから、このように許容でき
る主走査ライン数が所定ライン数に達するまで決定・判
断処理を繰返すことで、支障ない主走査ラインを所定ラ
イン数分集めてシェーディングデータ作成に用いること
ができ、適正なシェーディングデータとなり、よって、
シェーディングデータの濃度均一性を維持できる。
Therefore, a target area having a predetermined width on the peripheral surface of the white roller is read for shading data generation. In addition, an area beyond the target area is also read, and a predetermined level is set for each main scanning line. The number of pixels serving as read data smaller than the value is counted as comparison data, and the number of pixels counted for each main scanning line is compared with a preset reference value, so that the number of pixels for each main scanning line in the target area is determined. It is determined whether the degree of dirt is acceptable or not. If the number of pixels that become read data smaller than the level value of the main scan line in the target area is not larger than the reference value, the main scan of the target area is not performed. Since it can be determined that the line portion is whitish and not particularly dirty, the determination and determination process is repeated until the allowable number of main scanning lines reaches the predetermined number of lines. In a trouble free main scanning lines collected predetermined number of lines can be used to create shading data, it becomes a proper shading data, therefore,
The density uniformity of shading data can be maintained.

【0090】請求項37記載の発明は、請求項29ない
し36の何れか一記載のシェーディングデータ作成方法
において、前記読取工程で読取対象とする前記白色ロー
ラとしてその外周面に当該ローラ軸心と直交する直線上
に曲率中心を有し当該ローラの最大外周面軌跡の内側に
位置する曲面で形成された好適読取面を有するローラを
用いる。
According to a thirty-seventh aspect of the present invention, in the shading data creating method according to any one of the thirty-sixth to thirty-sixth aspects, the white roller to be read in the reading step has an outer peripheral surface perpendicular to the roller axis. A roller having a preferred reading surface formed of a curved surface having a center of curvature on a straight line and located inside the locus of the maximum outer peripheral surface of the roller is used.

【0091】従って、このような特定形状の好適読取面
を有する白色ローラを用いることにより、好適読取面は
原稿搬送を繰返しても原稿に接触しにくいので汚れにく
く、仮に汚れても溝構造を有しないため汚れが好適読取
面上に溜まりにくくて清掃しやすいので、好適読取面を
長期間にわたって白色状態に維持することができ、シェ
ーディングデータを生成する上で、このような好適読取
面を対象領域として読取る可能性を有するので、シェー
ディングデータの濃度均一性をより一層高レベルに維持
することができる。
Therefore, by using a white roller having a preferable reading surface of such a specific shape, the preferable reading surface is unlikely to be in contact with the original even when the original is conveyed repeatedly, so that it has a groove structure even if it becomes dirty. Since the dirt does not easily collect on the suitable reading surface and is easy to clean, the suitable reading surface can be maintained in a white state for a long period of time. Therefore, the density uniformity of the shading data can be maintained at a higher level.

【0092】[0092]

【発明の実施の形態】本発明の第一の実施の形態を図1
ないし図11に基づいて説明する。本実施の形態は、画
像形成装置としてデジタル複写機に適用したもので、図
1はこのデジタル複写機の概略構造を示す縦断正面図で
ある。このデジタル複写機は、両面読取機能を有する画
像読取装置としてのスキャナ1と、このスキャナ1で読
取った画像データに基づいて電子写真方式により用紙2
0上に画像形成を行うプリンタ2とを備えている。
FIG. 1 shows a first embodiment of the present invention.
This will be described with reference to FIG. The present embodiment is applied to a digital copying machine as an image forming apparatus, and FIG. 1 is a vertical sectional front view showing a schematic structure of the digital copying machine. This digital copier includes a scanner 1 as an image reading apparatus having a double-sided reading function, and a paper 2 based on image data read by the scanner 1 by electrophotography.
And a printer 2 for forming an image on the printer.

【0093】スキャナ1は、いわゆるADF構造のもの
で、第1の画像読取部3、第2の画像読取部4、原稿セ
ット部5、原稿排紙部6、原稿搬送経路7、多数の搬送
ローラ8、第1のコンタクトガラス9、第2のコンタク
トガラス10、第1の読取ローラ11、第2の読取ロー
ラ12等により構成されている。
The scanner 1 has a so-called ADF structure, and includes a first image reading section 3, a second image reading section 4, a document setting section 5, a document discharge section 6, a document transport path 7, a large number of transport rollers. 8, a first contact glass 9, a second contact glass 10, a first reading roller 11, a second reading roller 12, and the like.

【0094】原稿セット部5には、読取対象となる原稿
D(図3参照)がセットされ、原稿排紙部6には画像が
読取られた原稿Dが排紙される。原稿搬送経路7は、原
稿セット部5と原稿排紙部6との間に設けられた経路で
あって、画像が読取られる原稿Dが1枚ずつ搬送され
る。原稿Dの読取りの際には、モードを切換えることに
より、原稿Dが片面原稿の場合には第1の画像読取部3
のみにより画像の読取りが行われ、原稿Dが両面原稿の
場合には第1の画像読取部3と第2の画像読取部4とに
より画像の読取りが行われる。
A document D to be read (see FIG. 3) is set in the document setting section 5, and a document D from which an image has been read is discharged to a document discharge section 6. The document transport path 7 is a path provided between the document setting section 5 and the document discharge section 6, and transports the document D from which an image is read one by one. When reading the document D, the mode is switched so that the first image reading unit 3 is used when the document D is a single-sided document.
Only when the original D is a double-sided original, the first image reading unit 3 and the second image reading unit 4 read the image.

【0095】第1の画像読取部3は、コンタクトガラス
9上に位置固定で載置された原稿Dの画像を光電変換素
子、例えば、CCD3aで読取ることができ、また、コ
ンタクトガラス10と読取ローラ11との間(即ち、原
稿搬送経路7上)を搬送される原稿Dの画像を読取るこ
ともできる。原稿搬送経路7上を搬送される原稿Dの読
取りが行われる場合、読取ローラ11は駆動用のステッ
ピングモータ(図示せず)により搬送ローラ8と同速で
回転駆動され、搬送される原稿Dをコンタクトガラス1
0に押し付けるように作用する。
The first image reading section 3 can read the image of the document D fixedly placed on the contact glass 9 by a photoelectric conversion element, for example, a CCD 3a. 11 (that is, on the document transport path 7). When the document D conveyed on the document conveyance path 7 is read, the reading roller 11 is driven to rotate at the same speed as the conveyance roller 8 by a driving stepping motor (not shown), and the conveyed document D is conveyed. Contact glass 1
Acts to press against zero.

【0096】本実施の形態の画像読取部とする第2の画
像読取部4は、光電変換素子であるCCD42(図5参
照)を原稿搬送経路7上を搬送される原稿Dの読取位置
Pに直接的に配置させた密着型イメージセンサ(CI
S)構成のもので、原稿搬送経路7上を搬送される原稿
Dの画像(裏面画像)をCCD42で読取ることができ
る。白色ローラとしての第2の読取ローラ12は原稿搬
送経路7を挟んで画像読取部4の読取位置Pに対向配置
され、画像読取部4による原稿Dの読取りを行う場合に
は、読取ローラ12は駆動源としてのステッピングモー
タによる読取モータ26(図4参照)により搬送ローラ
8と同速で回転駆動され、原稿Dの画像面と画像読取部
4との距離を一定に維持するように作用する。
The second image reading section 4 serving as the image reading section of the present embodiment moves the CCD 42 (see FIG. 5), which is a photoelectric conversion element, to the reading position P of the document D conveyed on the document conveying path 7. Contact image sensor (CI
With the S) configuration, the image of the document D (backside image) conveyed on the document conveyance path 7 can be read by the CCD 42. The second reading roller 12 as a white roller is disposed to face the reading position P of the image reading unit 4 with the document conveying path 7 interposed therebetween. When reading the document D by the image reading unit 4, the reading roller 12 The reading roller 26 is driven at the same speed as the conveyance roller 8 by a reading motor 26 (see FIG. 4) using a stepping motor as a driving source, and acts so as to keep the distance between the image surface of the document D and the image reading section 4 constant.

【0097】プリンタ2は、感光体14、レーザユニッ
ト15、現像器16、転写器17、定着器18等により
構成されている。感光体14の表面は帯電器(図示せ
ず)により一様に帯電され、その感光体14の表面に画
像読取部3又は4により読取られた画像がレーザユニッ
ト15により書込まれ、静電潜像が形成される。この静
電潜像は、現像器16からトナーが供給されることによ
りトナー像として顕像化され、顕像化されたトナー像は
転写器17の働きにより給紙カセット19から給紙され
た記録媒体である用紙20上に転写される。トナー像が
転写された用紙20は定着器18で定着処理を受けた
後、排紙トレイ21に排紙される。
The printer 2 includes a photoreceptor 14, a laser unit 15, a developing unit 16, a transfer unit 17, a fixing unit 18, and the like. The surface of the photoconductor 14 is uniformly charged by a charger (not shown), and the image read by the image reading unit 3 or 4 is written on the surface of the photoconductor 14 by the laser unit 15, and the electrostatic latent An image is formed. The electrostatic latent image is visualized as a toner image by supplying toner from the developing device 16, and the visualized toner image is recorded by the transfer device 17 and fed from the paper feed cassette 19. The image is transferred onto a sheet 20 as a medium. The sheet 20 to which the toner image has been transferred is subjected to a fixing process by the fixing device 18 and then discharged to a discharge tray 21.

【0098】図2は、本実施の形態の複写機で使用され
る第2の読取ローラ12及びその前後の原稿搬送経路7
を示す縦断正面図であり、図3はその読取ローラ12を
示す拡大正面図である。
FIG. 2 shows the second reading roller 12 used in the copying machine of the present embodiment and the original transport path 7 before and after the second reading roller 12.
FIG. 3 is an enlarged front view showing the reading roller 12.

【0099】図2及び図3に示すように、読取ローラ1
2は、画像読取部4を構成する密着型イメージセンサの
CCD42が位置する読取位置Pに対向配置されたもの
で、断面形状が略円形となる形状に形成され、ゴムや樹
脂等を材料として全体的に白色に形成されている。この
読取ローラ12の外周面の一部には、この読取ローラ1
2の軸心方向に沿って延出させた好適読取面13が形成
されている。この好適読取面13は、図3に示すよう
に、読取ローラ12の軸心Aと直交する直線a上であっ
て軸心Aとは異なる位置に曲率中心Bを有するととも
に、読取ローラ12の最大外周面軌跡(当該好適読取面
13を設けない状態の読取ローラ12のほぼ真円形状の
外周面であって、実線と破線とで示した部分)Cよりも
内側に位置して実線で示す最大外周面に滑らかに連続す
る曲面形状により形成されている。
As shown in FIGS. 2 and 3, the reading roller 1
Numeral 2 is disposed opposite to the reading position P where the CCD 42 of the close contact type image sensor constituting the image reading unit 4 is located, and is formed in a substantially circular cross-sectional shape. It is formed white in color. A part of the outer peripheral surface of the reading roller 12 includes the reading roller 1
A preferred reading surface 13 extending along the direction of the axis 2 is formed. As shown in FIG. 3, the preferred reading surface 13 has a center of curvature B on a straight line a perpendicular to the axis A of the reading roller 12 and at a position different from the axis A. Outer peripheral surface locus (the substantially circular outer peripheral surface of the reading roller 12 without the suitable reading surface 13 and a portion indicated by a solid line and a dashed line) located at an inner side of C and indicated by a solid line It is formed with a curved surface shape that is smoothly continuous with the outer peripheral surface.

【0100】もっとも、この好適読取面13の形状は種
々の形状を採り得る。例えば、図3に示す例では曲率中
心Bが軸心Aを挟んで当該好適読取面13に対して反対
側に位置しているため、軸心A側から見て凸状の曲面と
して形成されている。一方、この曲率中心Bを軸心Aに
対して当該好適読取面13と同じ側で読取ローラ12外
の位置に設定し、軸心A側から見て凹状の曲面として形
成されたものであってもよい。この場合、好適読取面1
3と最大外周面とのつながり部分が多少鋭くなるので、
滑らかに連続するように面取り処理することが好まし
い。ちなみに、図2に示す例は、図3に示した例におい
て、曲率中心Bを無限遠方に設定した場合を想定してお
り、曲面が平坦面状となる形で好適読取面13が形成さ
れている(以下の説明では、好適読取面13として、図
2に示したような平坦面状に形成されたものを代表例と
して用いるものとする)。
However, the shape of the preferred reading surface 13 can take various shapes. For example, in the example shown in FIG. 3, since the center of curvature B is located on the opposite side of the preferred reading surface 13 with respect to the axis A, it is formed as a convex curved surface when viewed from the axis A side. I have. On the other hand, the curvature center B is set at a position outside the reading roller 12 on the same side as the preferred reading surface 13 with respect to the axis A, and is formed as a concave curved surface when viewed from the axis A side. Is also good. In this case, the preferred reading surface 1
Since the connection between 3 and the maximum outer peripheral surface is slightly sharper,
It is preferable to perform chamfering so as to be smoothly continuous. Incidentally, the example shown in FIG. 2 is based on the assumption that the center of curvature B is set to infinity in the example shown in FIG. 3, and the preferred reading surface 13 is formed in a shape where the curved surface is flat. (In the following description, a flat reading surface formed as shown in FIG. 2 will be used as a representative example as the preferred reading surface 13).

【0101】図4は、本実施の形態の複写機の制御系の
電気的な接続を示す概略ブロック図である。この制御系
において、本体制御部22はCPU、ROM及びRAM
によるマイクロコンピュータを備えており、複写機全体
を制御する。また、コントローラ23もCPU、RO
M、RAM等を備えており、原稿Dや用紙20の給紙・
搬送・排紙等に関連する各種のモータ、即ち、ピックア
ップモータ24、給紙モータ25、読取モータ26、排
紙モータ27、底板上昇モータ28等が接続されている
他、原稿Dや用紙20の給紙・搬送・排紙等の動作制
御、タイミング制御等に関連する各種のセンサ、即ち、
レジストセンサ29、原稿セットセンサ30、排紙セン
サ31、突き当てセンサ32、原稿幅センサ33、読取
入口センサ34、テーブル上昇センサ35、底板ホーム
ポジションセンサ36等が接続されており、コントロー
ラ23はこれらを制御する。操作部38には、当該複写
機の種々の操作を指示したり表示するための各種キーや
LCDディスプレイが設けられている。
FIG. 4 is a schematic block diagram showing the electrical connection of the control system of the copying machine according to the present embodiment. In this control system, the main body control unit 22 includes a CPU, a ROM, and a RAM.
And controls the entire copying machine. The controller 23 is also a CPU, RO
M, RAM, etc.
Various motors related to conveyance / discharge, such as a pickup motor 24, a paper feed motor 25, a reading motor 26, a discharge motor 27, a bottom plate raising motor 28, and the like, are connected. Various sensors related to operation control, timing control, and the like of sheet feeding, conveyance, and sheet discharge, that is,
A registration sensor 29, a document set sensor 30, a paper discharge sensor 31, an abutment sensor 32, a document width sensor 33, a reading entrance sensor 34, a table elevation sensor 35, a bottom plate home position sensor 36, and the like are connected. Control. The operation unit 38 is provided with various keys for instructing and displaying various operations of the copying machine and an LCD display.

【0102】また、コントローラ23には第2の画像読
取部4も接続されており、この画像読取部4により読取
られた画像データは本体制御部22側に転送出力される
(コントローラ23には第1の画像読取部3も接続され
ているが、図示及び説明を省略する)。
The controller 23 is also connected to the second image reading section 4, and the image data read by the image reading section 4 is transferred and output to the main body control section 22 (the controller 23 outputs the image data to the controller 23). One image reading unit 3 is also connected, but illustration and description are omitted).

【0103】図5は、第2の画像読取部4内部の電気的
なハードウェア構成に対する制御系を示す概略ブロック
図である。この画像読取部4では、コントローラ23か
らの点灯信号によって点灯する光源41からの光を原稿
Dに対して読取位置Pでスリット状に照射することによ
り、原稿Dの読取位置Pからの反射光がロッドレンズ
(図示せず)等を介して多数のセンサチップからなるC
CD42に集光結像され、原稿画像の読取りが行われ
る。実際の原稿画像の読取りは、コントローラ23から
のゲート信号XSFGATE(後述する)により、原稿Dの先
端が読取位置Pに到達したタイミングで原稿Dの画像の
読取りを開始し、順次得られるライン毎の画像データを
増幅器43、A/D変換回路44、画像処理回路45を
介してフレームメモリ46に一時蓄積する。その後、出
力制御回路47、I/F回路48を介して本体制御部2
2に画像データを転送出力する。
FIG. 5 is a schematic block diagram showing a control system for the electrical hardware configuration inside the second image reading section 4. In the image reading section 4, the light from the light source 41 illuminated by the lighting signal from the controller 23 is irradiated on the document D in a slit shape at the reading position P, so that the reflected light from the reading position P of the document D is generated. C composed of many sensor chips via a rod lens (not shown)
The image is condensed and formed on the CD 42, and the original image is read. The reading of the actual document image is started by the gate signal XSFGATE (described later) from the controller 23 at the timing when the leading edge of the document D reaches the reading position P, and the reading of the image of the document D is started for each line obtained sequentially. The image data is temporarily stored in a frame memory 46 via an amplifier 43, an A / D conversion circuit 44, and an image processing circuit 45. After that, the main controller 2 is controlled via the output control circuit 47 and the I / F circuit 48.
2 to transfer and output the image data.

【0104】本体制御部22へ転送出力された原稿Dの
理面側を読取った画像データが本体制御部22の制御に
より本体画像処理回路39へ転送される。
The image data obtained by reading the front side of the document D transferred and output to the main body control section 22 is transferred to the main body image processing circuit 39 under the control of the main body control section 22.

【0105】このような構成において、本実施の形態の
複写機では、両面コピーモードを選択した場合には、表
面を上向きにして原稿セット部5にセットされた原稿D
が1枚ずつ原稿搬送経路7上を搬送され、第1の画像読
取部3で表面側の画像が読取られ、第2の画像読取部4
で裏面側の画像が読取られる。これらの第1,2の画像
読取部3,4により読取られた画像データがプリンタ2
側に出力され、このプリンタ2での作像処理により同一
の用紙20の表面と裏面とに各々トナー像として形成さ
れ、両面コピーが行われる。
In such a configuration, in the copying machine according to the present embodiment, when the double-sided copy mode is selected, the original D set in the original set unit 5 with the front side facing upward is set.
Are transported one by one on the document transport path 7, the first image reading unit 3 reads an image on the front side, and the second image reading unit 4
To read the image on the back side. The image data read by these first and second image reading units 3 and 4 is
The toner image is formed on the front side and the back side of the same sheet 20 by the image forming process in the printer 2, and the two-sided copy is performed.

【0106】ところで、本実施の形態の複写機では、前
述の本体画像処理回路39において、原稿Dから読取っ
た画像データに対して、黒シェーディング補正、白シェ
ーディング補正、γ補正等の各種画像処理が施される。
この場合の白シェーディング補正に用いるシェーディン
グデータの生成は、第2の画像読取部4の場合であれ
ば、CCD42による読取位置Pに対向配置させた読取
ローラ12を読取ることにより行われる。
In the copying machine according to the present embodiment, the image data read from the original D is subjected to various image processing such as black shading correction, white shading correction, and γ correction in the main body image processing circuit 39 described above. Will be applied.
In the case of the second image reading unit 4, the generation of the shading data used for the white shading correction in this case is performed by reading the reading roller 12 arranged opposite to the reading position P by the CCD.

【0107】以下、この白シェーディング補正用のシェ
ーディングデータの作成について説明する。図6のタイ
ミングチャートに示すように、原稿Dの読取期間を示す
ゲート信号XSFGATEがアクティブ(原稿領域=Lレベ
ル)でない期間に、即ち、原稿Dが読取位置Pにかかっ
ていない間に、シェーディングデータの生成期間を示す
ゲート信号XSHGATEが、読取ローラ12の周方向の所定
幅w1分だけアクティブ(シェーディング領域)とな
り、そのアクティブ期間中に読取ローラ12の外周面を
CCD42により複数ライン分読取ることによりシェー
ディングデータを生成するための読取りデータを取得す
る。即ち、コントローラ23は、ゲート信号XSHGATEを
所定のタイミングで出力することによりCCD42によ
り読取ローラ12の所定幅w1の対象領域50を読取ら
せる。これにより、本来的な読取手段又は読取工程を実
現している。この場合の所定幅w1は図7に示すように
読取ローラ12の中心角度θ分に相当する長さであり、
好適読取面13の幅をw2としたとき、w1<w2とな
るように設定されている。また、所定幅w1はCCD4
2による読取りライン数としてはLライン分に相当する
幅に設定されている。なお、ゲート信号XSHGATEがアク
ティブになるタイミングはコントローラ23において読
取ローラ12を回転駆動する読取モータ26のパルス数
を規定するパルスカウンタ(図示せず)によって特定の
位置となるように管理されている。
Hereinafter, the creation of the shading data for white shading correction will be described. As shown in the timing chart of FIG. 6, during the period when the gate signal XSFGATE indicating the reading period of the document D is not active (document area = L level), that is, while the document D is not at the reading position P, the shading data Becomes active (shading area) for a predetermined width w1 in the circumferential direction of the reading roller 12 during the active period, and the outer peripheral surface of the reading roller 12 is read by the CCD 42 for a plurality of lines during the active period to perform shading. Obtain read data to generate data. That is, the controller 23 causes the CCD 42 to read the target area 50 having the predetermined width w1 of the reading roller 12 by outputting the gate signal XSHGATE at a predetermined timing. Thereby, an original reading means or reading step is realized. The predetermined width w1 in this case is a length corresponding to the central angle θ of the reading roller 12 as shown in FIG.
Assuming that the width of the preferred reading surface 13 is w2, it is set such that w1 <w2. In addition, the predetermined width w1 is the CCD4
The number of read lines by 2 is set to a width corresponding to L lines. The timing at which the gate signal XSHGATE becomes active is managed to be at a specific position by a pulse counter (not shown) that defines the number of pulses of the reading motor 26 that rotates the reading roller 12 in the controller 23.

【0108】ここで、本実施の形態では、図6に示すよ
うに、原稿Dの読取期間を示すゲート信号XSFGATEがア
クティブ(原稿領域=Lレベル)でない期間に、読取ロ
ーラ12の周面上を所定幅w1=Lライン分に相当する
対象領域50を読取らせるとともに読取ローラ12の全
周分についても読取らせ、全周分の読取りデータを基準
として対象領域50の汚れの程度を判断し、対象領域5
0の読取りデータをシェーディングデータ用に用い得る
かの採用の可否を判断するようにしている。
Here, in the present embodiment, as shown in FIG. 6, during the period when the gate signal XSFGATE indicating the reading period of the document D is not active (document area = L level), the peripheral surface of the reading roller 12 is moved. The target area 50 corresponding to the predetermined width w1 = L lines is read and the entire circumference of the reading roller 12 is also read, and the degree of contamination of the target area 50 is determined based on the read data of the entire circumference. , Target area 5
A determination is made as to whether the read data of 0 can be used for shading data.

【0109】このため、本実施の形態では、所定幅w1
=Lライン分の対象領域50の読取り動作が必要である
とともに、読取ローラ12の全周分の読取り動作も必要
となるが、この読取ローラ12の1周分の読取りは図9
中に示すように読取ローラ12のローラ径から予め設定
される1周分のライン数=Mラインで規定してもよく、
或いは、対象領域50用のゲート信号SHGATE1とともに
読取ローラ12の1周分を示すゲート信号SHGATE2を用い
ることにより規定してもよい。何れにしても、コントロ
ーラ23により簡単に制御できる。
For this reason, in the present embodiment, the predetermined width w1
In addition to the reading operation of the target area 50 for the = L lines, the reading operation for the entire circumference of the reading roller 12 is also required.
As shown in the figure, the number of lines for one round preset from the roller diameter of the reading roller 12 may be defined by M lines,
Alternatively, it may be defined by using a gate signal SHGATE2 indicating one rotation of the reading roller 12 together with the gate signal SHGATE1 for the target area 50. In any case, it can be easily controlled by the controller 23.

【0110】図8は、本体画像処理回路39において、
白シェーディング補正を行うための回路構成を示す概略
ブロック図である。この回路は、シェーディングデータ
作成回路51と白シェーディング補正手段としてのシェ
ーディング演算回路52とを備えている。シェーディン
グデータ作成回路51は、対象領域50のLライン分の
画像データが入力される平均値算出手段としてのLライ
ン平均回路53と、対象領域50を含むMライン分の画
像データが入力される平均値算出手段としての1周平均
回路54と、これらの平均回路53,54の出力を比較
する比較手段、判定手段及びシェーディングデータ決定
手段としての比較判定回路55とにより構成されてい
る。
FIG. 8 shows the main image processing circuit 39
FIG. 3 is a schematic block diagram illustrating a circuit configuration for performing white shading correction. This circuit includes a shading data creation circuit 51 and a shading operation circuit 52 as white shading correction means. The shading data creation circuit 51 includes an L-line averaging circuit 53 as an average value calculation unit to which image data of L lines of the target area 50 is input, and an average to which image data of M lines including the target area 50 are input. It comprises a one-round averaging circuit 54 as a value calculating means, and a comparing means 55 for comparing the outputs of these averaging circuits 53 and 54, a determining means and a shading data determining means.

【0111】このような構成において、コントローラ2
3により管理される図10に示す概略フローチャートを
参照すれば、読取モータ26の回転が開始した後(ステ
ップS1)、ゲート信号XSFGATEがアクティブでない期
間においてパルスカウンタにより管理されているゲート
信号XSHGATEがアクティブになるタイミング(シェーデ
ィング位置)になると(S2のY)、図9中に示すよう
にゲート信号SHGATE1,SHGATE2がともにアクティブ(ア
サート)になり(S3)、CCD42により読取ローラ
12の周面上を1ラインずつ順次読取らせる。この場合
の読取領域は対象領域50となり、この処理により読取
手段及び読取工程が実現されている。この場合の読取り
データは1周平均回路54にも入力されるが、Lライン
平均回路53に順次入力され、Lライン分の読取りデー
タについて各画素毎に平均値を求める平均値算出処理が
行われる(S4)。このステップS4の処理により、平
均値算出手段及び平均値算出工程が実現されている。こ
の場合の平均値は単純平均値として算出されるが、重加
算平均値等であってもよい。
In such a configuration, the controller 2
Referring to the schematic flow chart shown in FIG. 10 managed by the step S3, after the rotation of the reading motor 26 starts (step S1), the gate signal XSHGATE managed by the pulse counter becomes active during the period when the gate signal XSFGATE is not active. (Y in S2), the gate signals SHGATE1 and SHGATE2 both become active (asserted) as shown in FIG. 9 (S3), and the CCD 42 moves the peripheral surface of the reading roller 12 by 1 (see FIG. 9). The reading is performed sequentially line by line. The reading area in this case is the target area 50, and a reading unit and a reading step are realized by this processing. The read data in this case is also input to the one-round averaging circuit 54, but is sequentially input to the L-line averaging circuit 53, and an average value calculation process for obtaining an average value for each pixel for the read data for the L lines is performed. (S4). By the processing in step S4, an average value calculating means and an average value calculating step are realized. The average value in this case is calculated as a simple average value, but may be a multiple addition average value or the like.

【0112】Lライン分(中心角度θ分=所定幅w1
分)の読取り処理が終了すると、ゲート信号SHGATE1は
ノンアクティブ(ネゲート)になるが(S5)、ゲート
信号SHGATE2はアクティブ(アサート)のままであり、
引き続き、CCD42により読取ローラ12の周面上を
1ラインずつ順次読取らせる。この処理により読取ロー
ラ12の全周分の読取手段及び読取工程が実現されてい
る。この場合の読取りデータは1周平均回路54に順次
入力され、全周=Mライン分の読取りデータについて各
画素毎に全周平均値を求める平均値算出処理が行われる
(S6)。このステップS6の処理により、平均値算出
手段及び平均値算出工程が実現されている。この場合の
全周平均値は単純平均値として算出されるが、重加算平
均値等であってもよい。Mライン分(全周分)の読取り
処理が終了すると、ゲート信号SHGATE2もノンアクティ
ブ(ネゲート)になり(S7)、CCD42による読取
ローラ12の読取り動作は終了する。
L lines (center angle θ = predetermined width w1)
When the reading process of (minute) is completed, the gate signal SHGATE1 becomes non-active (negated) (S5), but the gate signal SHGATE2 remains active (asserted).
Subsequently, the CCD 42 sequentially reads the peripheral surface of the reading roller 12 line by line. By this processing, reading means and a reading step for the entire circumference of the reading roller 12 are realized. The read data in this case is sequentially input to the one-circle averaging circuit 54, and an average value calculation process for obtaining a full-circle average value for each pixel is performed on the read data for the entire circumference = M lines (S6). The processing in step S6 implements an average value calculation unit and an average value calculation step. In this case, the entire circumference average value is calculated as a simple average value, but may be a multiple addition average value or the like. When the reading process for the M lines (for the entire circumference) is completed, the gate signal SHGATE2 also becomes non-active (negated) (S7), and the reading operation of the reading roller 12 by the CCD 42 ends.

【0113】これらのLライン平均回路53で算出され
た各画素毎の平均値であるLライン平均値と、1周平均
回路54で算出された各画素毎の全周平均値とは比較判
定回路55に入力される。この比較判定回路55では、
各画素毎に全周平均値を基準値としLライン平均値を比
較データとして両者の大小関係を比較することにより、
当該Lライン平均値をシェーディングデータとして採用
できるか否かの判定処理を当該対象領域50に関する汚
れの程度の判断処理・シェーディングデータ決定処理と
して行い(以下の具体例を参照して後述する)、何れに
しても、各画素毎のシェーディングデータを決定し、決
定されたシェーディングデータをシェーディング演算回
路52に出力してシェーディング演算回路52中のメモ
リ(図示せず)に格納させる。
The L-line average value calculated by the L-line averaging circuit 53, which is the average value for each pixel, and the all-round average value calculated for each pixel, calculated by the one-round averaging circuit 54, are compared with a comparison judgment circuit. 55 is input. In this comparison determination circuit 55,
By comparing the magnitude relationship between the two values using the entire circumference average value as a reference value and the L line average value as comparison data for each pixel,
The process of determining whether or not the L-line average value can be used as shading data is performed as a process of determining the degree of contamination and a process of determining shading data for the target region 50 (described later with reference to the following specific examples). In this case, the shading data for each pixel is determined, and the determined shading data is output to the shading arithmetic circuit 52 and stored in a memory (not shown) in the shading arithmetic circuit 52.

【0114】このメモリに格納された各画素毎のシェー
ディングデータが実際の原稿画像の読取り時の白シェー
ディング補正に供される(S13)。即ち、シェーディ
ング演算回路52では原稿画像の読取り時には1ライン
毎に順次その画像データが直接入力されるものであり、
メモリから得られた各画素毎のシェーディングデータを
用いて各画素毎の画像データに白シェーディング補正を
施し、後段の処理回路に出力する。原稿に対する読取り
動作が終了すると、読取モータ26の回転も停止し(S
14)、次回の原稿読取り動作に待機する。
The shading data for each pixel stored in the memory is used for white shading correction at the time of reading an actual original image (S13). That is, in the shading operation circuit 52, when reading an original image, the image data is directly input sequentially for each line.
The image data for each pixel is subjected to white shading correction using the shading data for each pixel obtained from the memory, and is output to a subsequent processing circuit. When the reading operation for the original is completed, the rotation of the reading motor 26 also stops (S
14) Stand by for the next document reading operation.

【0115】以上の処理を具体的に説明すると次のよう
になる。
The above processing is specifically described as follows.

【0116】まず、Lライン平均回路53やステップS
4でのLライン分のデータの平均値であるLライン平均
値は(1)式の演算、1周平均回路54やステップS6
でのMライン分のデータの全周平均値は(2)式の演算
により求める。
First, the L line averaging circuit 53 and the step S
The average value of the L line, which is the average value of the data for the L lines in step 4, is calculated by the equation (1), the one-round average circuit 54,
The average value of the entire circumference of the data for M lines is obtained by the calculation of equation (2).

【0117】 Dsg(n)=INT[ΣD(n)/L] …………………………(1) Drl(n)=INT[ΣD′(n)/M] …………………………(2) Dsg(n) :対象領域50内のn画素目の演算データ=
Lライン平均値 Drl(n) :読取ローラ12全周分のn画素目の演算デ
ータ=全周平均値 D(n) :n画素目の読取りデータ ΣD(n) :D(n)の1ライン目からLライン目までの
加算値 ΣD′(n):D(n)の読取ローラ12の1周分(Mライ
ン分)の加算値 L :対象領域50のライン数 M :読取ローラ12の1周分のライン数 INT[] :小数点以下四捨五入
Dsg (n) = INT [ΣD (n) / L] (1) Drl (n) = INT [ΣD ′ (n) / M]... ... (2) Dsg (n): calculation data of the n-th pixel in the target area 50 =
L-line average value Drl (n): calculated data of the n-th pixel for the entire circumference of the reading roller 12 = average value of the entire circumference D (n): read data of the n-th pixel ΣD (n): one line of D (n) Addition value from the first line to the Lth line ΣD ′ (n): Addition value for one round (M lines) of reading roller 12 of D (n) L: Number of lines in target area 50 M: One of reading roller 12 Number of lines for circumference INT []: Round off to the nearest decimal point

【0118】各平均値から各画素毎のシェーディングデ
ータDp(n)を作成するには、(3)(4)式の演算で
行う。 Dsg(n)≧Drl(n)の場合 Dp(n)=Dsg(n) …………………………(3) Dsg(n)<Drl(n)の場合 Dp(n)=Drl(n)) …………………………(4)
In order to generate shading data Dp (n) for each pixel from each average value, the shading data Dp (n) is calculated by equations (3) and (4). Dsg (n) ≧ Drl (n) Dp (n) = Dsg (n) (3) Dsg (n) <Drl (n) Dp (n) = Drl (n)) …………………… (4)

【0119】即ち、読取ローラ12を読取り、各画素毎
のLライン平均値Dsg(n)、全周平均値Drl(n)を各々
算出した後、各画素毎のLライン平均値Dsg(n)を各画
素毎の、全周平均値Drl(n)と比較する(S8)。この
ステップS8の処理により、比較手段及び比較工程が実
現されている。また、このステップS8の処理は対象領
域50内の画素毎の汚れの程度が許容できる程度である
か否かの判断手段及び判断工程を実現するものであり、
Dsg(n)≧Drl(n)の場合には(S8のY)、読取ロー
ラ12において副走査方向の同一位置に関して対象領域
50が他の領域よりも白っぽくて汚れがなくシェーディ
ングデータ取得用として許容できる旨の判断結果を意味
し、当該対象領域50の読取りデータに基づくLライン
平均値Dsg(n)をそのままシェーディングデータとして
決定する(S9)。このステップS9の処理がシェーデ
ィングデータ決定手段及びシェーディングデータ決定工
程として実現されている。
That is, the reading roller 12 is read, and the L line average value Dsg (n) and the perimeter average value Drl (n) are calculated for each pixel, and then the L line average value Dsg (n) for each pixel is calculated. Is compared with the perimeter average value Drl (n) for each pixel (S8). By the processing in step S8, a comparing unit and a comparing step are realized. Further, the processing in step S8 implements a determination unit and a determination step of determining whether or not the degree of dirt for each pixel in the target area 50 is acceptable.
If Dsg (n) ≧ Drl (n) (Y in S8), the target area 50 is whiter than the other areas in the reading roller 12 at the same position in the sub-scanning direction, is less contaminated, and is acceptable for shading data acquisition. This means a determination result indicating that it is possible, and the L line average value Dsg (n) based on the read data of the target area 50 is directly determined as shading data (S9). The processing in step S9 is realized as shading data determination means and a shading data determination step.

【0120】一方、Dsg(n)<Drl(n)の場合には(S
8のN)、読取ローラ12において副走査方向の同一位
置に関して対象領域50が他の領域よりも部分的に汚れ
ておりシェーディングデータ取得に適していない=許容
できない旨の判断結果を意味し、今回のシェーディング
データとしては応急処置として取り敢えず平均値Dsg
(n)よりも好ましい全周平均値Drl(n)をシェーディン
グデータとして決定する(S10)。このステップS1
0の処理によりシェーディングデータ決定手段及びシェ
ーディングデータ決定工程として実現されている。
On the other hand, when Dsg (n) <Drl (n), (S
8N), meaning that the target area 50 on the same position in the sub-scanning direction on the reading roller 12 is partially soiled more than other areas and is not suitable for shading data acquisition. The average value Dsg for the shading data
The average value Drl (n), which is more preferable than (n), is determined as shading data (S10). This step S1
0 is realized as shading data determination means and shading data determination step.

【0121】白シェーディング補正の演算は(5)式に
より行う(画像データを8ビットで扱う場合)。 Dsh=(D(n)/Dp(n))×255 ……………………(5)
The calculation of the white shading correction is performed by the equation (5) (when the image data is handled by 8 bits). Dsh = (D (n) / Dp (n)) × 255 (5)

【0122】ところで、本実施の形態では、対象領域5
0の或る画素の平均値Dsg(n)が一つでも全周平均値D
rl(n)よりも低い値になって、許容できない旨の判断が
なされた場合には(S8のN)、前述のように当該画素
のシェーディングデータとして全周平均値Drl(n)に決
定するとともに(S10)、次回のシェーディングデー
タ取得時には対象領域50の位置を移動させるように読
取モータ26に対するパルスカウンタ値を変更する(S
11)。具体的には、図7に示したように対象領域50
の中心角度θに対して、次回の対象領域の位置が(θ+
α)なる角度ずつ移動するように設定される。この場合
の角度αは角度θよりも小さく、かつ、可変的な角度、
即ち、(θ+α)なる角度が不均等であって、読取ロー
ラ12上を1周しても元の位置に戻らないような値とす
ることが好ましい。何れにしても、(θ+α)なる角度
に相当するモータパルスはコントローラ23中のCPU
によって算出される。次回の原稿読取り時のステップS
2の処理において更新されたこのパルスカウンタ値を監
視することにより、読取ローラ12上での対象位置の移
動処理が対象領域位置移動手段及び対象領域位置移動工
程として実現される。
In the present embodiment, the target area 5
Even if the average value Dsg (n) of a certain pixel of 0 is one, the entire circumference average value D
If the value is lower than rl (n) and it is determined that the pixel is unacceptable (N in S8), the shading data of the pixel is determined to be the entire circumference average value Drl (n) as described above. At the same time (S10), the pulse counter value for the reading motor 26 is changed so as to move the position of the target area 50 at the time of acquiring the next shading data (S10).
11). Specifically, as shown in FIG.
The next position of the target area is (θ +
α) is set to move by an angle. In this case, the angle α is smaller than the angle θ and is a variable angle,
That is, it is preferable that the angle of (θ + α) is unequal, and is set to a value such that it does not return to the original position even after one rotation on the reading roller 12. In any case, the motor pulse corresponding to the angle (θ + α)
It is calculated by Step S when reading the next document
By monitoring the pulse counter value updated in the process 2, the process of moving the target position on the reading roller 12 is realized as a target region position moving unit and a target region position moving step.

【0123】なお、本実施の形態では、対象領域50の
或る画素のLライン平均値Dsg(n)が一つでも全周平均
値Drl(n)よりも低い値になって、許容できない旨の判
断がなされた場合には(S8のN)、次回の対象領域の
位置を即座に移動させることにより、対象領域50が汚
れている場合に早急に対処できるようにしたが、Dsg
(n)<Drl(n)となった回数を計数し、その計数値が予
め設定した規定回数に達した後に読取モータ26に対す
るパルスカウンタ値を変更して対象領域50の位置を移
動させるようにしてもよい。これによれば、直ぐに回復
するような瞬間的な汚れ等による対象領域50の位置移
動を避けることができる。
In the present embodiment, the L-line average value Dsg (n) of a certain pixel in the target area 50 is lower than the entire-circumference average value Drl (n), and is not acceptable. Is determined (N in S8), the position of the next target area is immediately moved so that the target area 50 can be quickly dealt with when it is dirty.
(n) The number of times that <Drl (n) is counted, and after the counted value reaches a predetermined number of times, the pulse counter value for the reading motor 26 is changed to move the position of the target area 50. You may. According to this, it is possible to avoid a position shift of the target area 50 due to instantaneous dirt or the like that recovers immediately.

【0124】従って、本実施の形態によれば、シェーデ
ィングデータ作成のために読取ローラ12周面上の所定
幅w1の対象領域50を読取るが、併せて、全周分も読
取り、対象領域50内の読取りデータの画素毎のLライ
ン平均値Dsg(n)と全周分の読取りデータの画素毎の全
周平均値Drl(n)とを算出してLライン平均値Dsg(n)
を全周平均値Dsg(n)と比較することで当該対象領域5
0の画素毎の汚れの程度が許容できるか否かを判断し
(当該対象領域50が読取ローラ12上できれいな場所
に設定されているか否か)、当該対象領域50のLライ
ン平均値Dsg(n)の方が全周平均値Dsg(n)よりも高い
場合には当該対象領域50が他の領域よりも白っぽくて
特に汚れていないと判断できることから、このように許
容できる場合には当該対象領域50の当該画素のLライ
ン平均値Dsg(n)をシェーディングデータとすること
で、適正なシェーディングデータとなり、よって、シェ
ーディングデータの濃度均一性を維持でき、高品質な原
稿画像の読取りを行えることとなる。一方、当該対象領
域50の当該画素のLライン平均値Dsg(n)の方が全周
平均値Drl(n)よりも低い場合には当該対象領域50の
当該画素部分が副走査方向の他の領域よりも部分的に汚
れており、シェーディングデータ取得に適していないと
判断できるが、このように許容できない場合には取り敢
えず当該画素の周面上の全周平均値Drl(n)をシェーデ
ィングデータとすることで、より好ましいデータを用い
た適正な応急処置となり、データを取得し直す等の処理
を要せずシェーディングデータを決定して以降の処理に
移ることができる。
Therefore, according to the present embodiment, the target area 50 having the predetermined width w1 on the peripheral surface of the reading roller 12 is read for shading data generation. The average value Dsg (n) of the L-line for each pixel of the read data and the average value Drl (n) of the full-circle for each pixel of the read data for the entire circumference are calculated.
Is compared with the entire circumference average value Dsg (n) to obtain the target area 5
It is determined whether the degree of dirt for each pixel of 0 is acceptable (whether or not the target area 50 is set in a clean place on the reading roller 12), and the L line average value Dsg ( If n) is higher than the entire circumference average value Dsg (n), it can be determined that the target area 50 is whitish and not particularly dirty than the other areas. By using the L-line average value Dsg (n) of the pixel in the area 50 as shading data, appropriate shading data can be obtained. Therefore, uniform density of shading data can be maintained and high-quality original image reading can be performed. Becomes On the other hand, if the L-line average value Dsg (n) of the pixel in the target area 50 is lower than the entire-circumference average value Drl (n), the pixel portion of the target area 50 is not in the sub-scanning direction. It can be determined that the area is more dirty than the area and is not suitable for obtaining shading data. However, in the case where such an area cannot be tolerated, the entire circumference average value Drl (n) on the peripheral surface of the pixel is determined as shading data. By doing so, appropriate first-aid treatment using more preferable data is performed, and shading data can be determined without the need for processing such as reacquisition of data, and the processing can be shifted to the subsequent processing.

【0125】また、当該対象領域50が汚れていると判
断されシェーディングデータ取得に適していない場合に
は、次回のデータ取得時には対象領域50の位置を移動
させるようにしているので、シェーディングデータを取
得するための所定幅の対象領域50の位置を極力汚れの
少ない場所に変更でき、シェーディングデータの濃度均
一性を長期に亘って維持でき、高品質な原稿画像の読取
りが可能となる。
If the target area 50 is determined to be dirty and is not suitable for obtaining shading data, the position of the target area 50 is moved at the next data acquisition. The position of the target area 50 having a predetermined width can be changed to a place with as little dirt as possible, the uniformity of density of shading data can be maintained for a long time, and a high-quality document image can be read.

【0126】従って、読取ローラ(白色ローラ)として
最もシンプルで清掃の容易な真円形状のローラ(特に図
示せず)を用いた場合であっても、一般には、その全面
が最初から汚れてしまうことは少ないので、効果的なこ
とは理解できるが、特に本実施の形態の読取ローラ12
によれば、好適読取面13は原稿搬送を繰返しても原稿
Dに接触しにくいので汚れにくく、仮に汚れても溝構造
を有しないため汚れが好適読取面13上に溜まりにくく
て清掃しやすいので、好適読取面13を長期間にわたっ
て白色状態に維持することができる。また、実際の原稿
画像の読取りに際しても読取ローラ12が溝構造を有し
ないため好適読取面13が原因となって影を生ずるよう
な不具合もない。この結果、このような好適読取面13
を対象領域50の位置として読取る可能性があるので、
シェーディングデータの濃度均一性を高レベルに維持す
る上で有利となる。特に、対象領域50の所定幅w1が
好適読取面13の幅w2よりも狭いので、対象領域50
が好適読取面13内に完全に位置する可能性が高まり、
シェーディングデータの濃度均一性をより一層高レベル
に維持させる上で好ましいものとなる。さらには、対象
領域50の位置を順次移動させる場合には、最終的には
対象領域50の位置が常に最も汚れの少ない好適読取面
13となるように収束させることもできる。この際、毎
回の移動量を適正に設定することにより、許容できなか
った場所を再び対象領域50として試すことがなく、対
象領域50を読取ローラ12周面上の汚れていない場
所、特に好適読取面13に特定するための処理が効率的
となる。
Therefore, even when the simplest and easy-to-clean perfect-circle roller (not shown) is used as the reading roller (white roller), the entire surface is generally soiled from the beginning. It can be understood that the reading roller 12 is effective because
According to this, the preferred reading surface 13 is less likely to be soiled because it is difficult to contact the original D even when the original is transported repeatedly, and even if it is dirty, it does not have a groove structure. , The suitable reading surface 13 can be maintained in a white state for a long period of time. Further, even when reading the actual document image, the reading roller 12 does not have a groove structure, so that there is no problem that the suitable reading surface 13 causes a shadow. As a result, such a preferable reading surface 13
May be read as the position of the target area 50,
This is advantageous in maintaining the density uniformity of shading data at a high level. In particular, since the predetermined width w1 of the target area 50 is smaller than the width w2 of the preferred reading surface 13, the target area 50
Is more likely to be completely located within the preferred reading surface 13,
This is preferable for maintaining the density uniformity of shading data at a higher level. Furthermore, when the position of the target area 50 is sequentially moved, the position of the target area 50 can be finally converged so as to be always on the preferable reading surface 13 with the least stain. At this time, by appropriately setting the amount of movement for each time, the unacceptable place is not tried again as the target area 50, and the target area 50 is not stained on the peripheral surface of the reading roller 12, especially the suitable reading. Processing for specifying the surface 13 becomes efficient.

【0127】この点では、図12に示すように複数個、
例えば、3個の好適読取面13a,13b,13cを有
する読取ローラ12を用いるようにすれば、好適読取面
13a,13b又は13cに対象領域50を位置させ、
又は、収束させる可能性を高めることができる。これら
の好適読取面13a,13b,13cを等間隔に配置さ
せる場合には、対象領域50の位置を移動させる移動量
を不均等なものとすればよいが、図12に示すように元
々好適読取面13a,13b,13cを不均等に配置さ
せた場合には対象領域50の位置を移動させる移動量を
一定としても何れかの好適読取面13a,13b又は1
3cに対象領域50の位置を収束させやすくなる。
In this regard, as shown in FIG.
For example, if the reading roller 12 having three suitable reading surfaces 13a, 13b, and 13c is used, the target area 50 is positioned on the preferable reading surface 13a, 13b, or 13c.
Alternatively, the possibility of convergence can be increased. When the preferred reading surfaces 13a, 13b, and 13c are arranged at equal intervals, the amount of movement for moving the position of the target area 50 may be made uneven, but as shown in FIG. When the surfaces 13a, 13b, and 13c are arranged unevenly, any one of the preferable reading surfaces 13a, 13b, or 1 can be used even if the movement amount for moving the position of the target area 50 is constant.
It becomes easy to converge the position of the target area 50 to 3c.

【0128】ところで、本実施の形態にあっては、対象
領域50の或る画素のLライン平均値Dsg(n)が一つで
も全周平均値Drl(n)よりも低い値になって、許容でき
ない旨の判断がなされた場合には(S8のN)、その回
数がコントローラ23中のSHNGカウンタにおいてそ
の都度計数される(S12)。このSHNGカウンタは
ステップS8の否定的な判断結果の回数を累計監視する
ことにより読取ローラ12の全周にわたる汚れを検出す
るために利用されるものであり、コントローラ23は、
図11のフローチャートに示すようにこのSHNGカウ
ンタの計数値が予め設定された規定値Jに達したか否か
を常に監視する(S21)。このSHNGカウンタの計
数値が規定値Jに達した場合には(S21のY)、異常
検出カウンタの値を1インクリメントし(S22)、そ
の異常検出カウンタの値が3よりも小さければ(S23
のY)、当該スキャナ1の操作部38におけるLCD表
示部に対して読取ローラ12の交換又は清掃を促すため
の警告表示を行わせる(S24)。ステップS21の
Y、S22の処理により全周汚れ検出手段が実現され、
ステップS24の処理により警告手段が実現されてい
る。これにより、最終的に読取ローラ12が全面的に汚
れてしまい対象領域50として適正に設定し得る場所が
なくなってしまったような場合には、適正に対処でき
る。本実施の形態のように特定形状の好適読取面13を
有する読取ローラ12の場合には、このような事態に至
る可能性は少ないが、真円形状の白色ローラを用いた場
合には特に有効である。
By the way, in the present embodiment, even one L line average value Dsg (n) of a certain pixel in the target area 50 becomes lower than the entire circumference average value Drl (n). When it is determined that it is not permissible (N in S8), the number is counted each time by the SHNG counter in the controller 23 (S12). The SHNG counter is used to detect dirt over the entire circumference of the reading roller 12 by cumulatively monitoring the number of negative determination results in step S8.
As shown in the flowchart of FIG. 11, it is always monitored whether or not the count value of the SHNG counter has reached a preset specified value J (S21). When the count value of the SHNG counter reaches the specified value J (Y in S21), the value of the abnormality detection counter is incremented by 1 (S22), and if the value of the abnormality detection counter is smaller than 3 (S23).
(Y), a warning display for prompting replacement or cleaning of the reading roller 12 is displayed on the LCD display unit of the operation unit 38 of the scanner 1 (S24). By the processing of Y and S22 in step S21, an all-around dirt detecting means is realized,
Warning processing is realized by the processing of step S24. Accordingly, it is possible to appropriately cope with a case where the reading roller 12 is finally completely soiled and there is no longer any place that can be appropriately set as the target area 50. In the case of the reading roller 12 having the preferred reading surface 13 of a specific shape as in the present embodiment, such a situation is unlikely to occur, but it is particularly effective when a perfect circular white roller is used. It is.

【0129】また、異常検出カウンタの値が3を越える
ような事態になった場合には(S23のN)、画像読取
部4(CIS)に異常がある旨が当該スキャナ1の操作
部38におけるLCD表示部を通じて警告表示される。
When the value of the abnormality detection counter exceeds 3 (N in S23), the fact that there is an abnormality in the image reading section 4 (CIS) in the operation section 38 of the scanner 1 is indicated. A warning is displayed through the LCD display.

【0130】本発明の第二の実施の形態を図13ないし
図15に基づいて説明する。第一の実施の形態で示した
部分と同一又は相当する部分は同一符号を用いて示し、
説明も省略する(以降の実施の形態でも同様とする)。
A second embodiment of the present invention will be described with reference to FIGS. Parts that are the same as or correspond to the parts shown in the first embodiment are denoted by the same reference numerals,
The description is also omitted (the same applies to the following embodiments).

【0131】前述の実施の形態では対象領域50ととも
に読取ローラ12の全周を読取るようにしたが、本実施
の形態では、図13に示すように所定幅w1=Lライン
分の対象領域50のみを読取ることを基本とする。そし
て、この対象領域50内の読取りデータに基づく比較デ
ータとして各画素毎にLライン分の平均値を算出し、画
素毎の平均値を予め設定されている基準値と比較するこ
とで、当該対象領域50内の汚れの程度、特に副走査方
向の局所的な汚れの程度を判断し、汚れがない、或い
は、少ないと判断された場合には、算出された平均値を
そのままシェーディングデータとして扱うようにしたも
のである。
In the above-described embodiment, the entire circumference of the reading roller 12 is read together with the target area 50. However, in the present embodiment, as shown in FIG. Is basically read. Then, an average value for L lines is calculated for each pixel as comparison data based on the read data in the target area 50, and the average value for each pixel is compared with a preset reference value, thereby obtaining the target data. The degree of dirt in the area 50, particularly the degree of local dirt in the sub-scanning direction, is determined, and if it is determined that there is no or little dirt, the calculated average value is directly handled as shading data. It was made.

【0132】図14は本実施の形態の本体画像処理回路
39中に含まれる、白シェーディング補正を行うための
回路構成を示す概略ブロック図である。この回路は、シ
ェーディングデータ作成回路61と白シェーディング補
正手段としてのシェーディング演算回路62とを備えて
いる。シェーディングデータ作成回路61は、対象領域
50のLライン分の画像データが入力されて各画素毎の
平均値を算出する平均値算出手段としての平均回路63
と、この平均回路63により算出された各画素毎の平均
値を予め設定されている基準値と比較する比較手段、判
定手段及びシェーディングデータ決定手段としての比較
器64と、比較器64の比較結果として平均値が基準値
を下回る回数を画素毎に計数するカウンタ回路65とに
より構成されている。
FIG. 14 is a schematic block diagram showing a circuit configuration for performing white shading correction included in the main body image processing circuit 39 of the present embodiment. This circuit includes a shading data creation circuit 61 and a shading operation circuit 62 as white shading correction means. The shading data creation circuit 61 receives an image data for L lines of the target area 50 and calculates an average value for each pixel.
A comparator 64 as comparison means for comparing the average value for each pixel calculated by the averaging circuit 63 with a preset reference value, a determination means and shading data determination means, and a comparison result of the comparator 64 And a counter circuit 65 that counts the number of times the average value falls below the reference value for each pixel.

【0133】このような構成において、コントローラ2
3により管理される図15に示す概略フローチャートを
参照すれば、読取モータ26の回転が開始した後(S3
1)、ゲート信号XSFGATEがアクティブでない期間にお
いてパルスカウンタにより管理されているゲート信号XS
HGATEがアクティブになるタイミング(シェーディング
位置)になると(S32のY)、図13中に示すように
ゲート信号SHGATEがアクティブ(アサート)になり(S
33)、CCD42により読取ローラ12の周面上を1
ラインずつ順次読取らせる。この場合の読取領域は対象
領域50となり、この処理により読取手段及び読取工程
が実現されている。この場合の読取りデータは平均回路
63に順次入力され、Lライン分の読取りデータについ
て各画素毎に平均値、即ち、Lライン平均値を求める平
均値算出処理が行われる(S34)。このステップS3
4の処理により、平均値算出手段及び平均値算出工程が
実現されている。この場合の平均値は単純平均値として
算出されるが、重加算平均値等であってもよい。
In such a configuration, the controller 2
Referring to the schematic flow chart shown in FIG. 15 managed by S3, after the rotation of the reading motor 26 starts (S3
1) The gate signal XS managed by the pulse counter during the period when the gate signal XSFGATE is not active
At the timing (shading position) at which HGATE becomes active (Y in S32), the gate signal SHGATE becomes active (asserted) as shown in FIG.
33), the peripheral surface of the reading roller 12 is
The reading is performed sequentially line by line. The reading area in this case is the target area 50, and a reading unit and a reading step are realized by this processing. The read data in this case is sequentially input to the averaging circuit 63, and an average value is calculated for each pixel of the read data of the L lines, that is, an average value calculation process for obtaining an L line average value (S34). This step S3
The processing of 4 implements an average value calculating means and an average value calculating step. The average value in this case is calculated as a simple average value, but may be a multiple addition average value or the like.

【0134】Lライン分(中心角度θ分=所定幅w1
分)の読取り処理が終了すると、ゲート信号SHGATEはノ
ンアクティブ(ネゲート)になり(S35)、CCD4
2による読取ローラ12の対象領域50の読取り動作は
終了する。
L lines (center angle θ = predetermined width w1)
When the reading process of (C) is completed, the gate signal SHGATE becomes non-active (negated) (S35) and the CCD 4
2, the reading operation of the reading roller 12 in the target area 50 is completed.

【0135】平均回路63で算出された各画素毎の平均
値は比較器64に入力される。この比較器64では、各
画素毎にLライン平均値と比較データとして予め設定さ
れている基準値との大小関係を比較することにより、当
該平均値をシェーディングデータとして採用できるか否
かの判定処理を当該対象領域50に関する汚れの程度の
判断処理・シェーディングデータ決定処理として行い
(以下の具体例を参照して後述する)、何れにしても、
各画素毎のシェーディングデータを決定し、決定された
シェーディングデータをシェーディング演算回路62に
出力してシェーディング演算回路62中のメモリ(図示
せず)に格納させる。
The average value for each pixel calculated by the averaging circuit 63 is input to the comparator 64. The comparator 64 determines whether or not the average value can be adopted as shading data by comparing the magnitude relationship between the L line average value and a reference value preset as comparison data for each pixel. Is performed as a stain degree determination process and a shading data determination process for the target area 50 (described later with reference to the following specific example).
The shading data for each pixel is determined, and the determined shading data is output to the shading arithmetic circuit 62 and stored in a memory (not shown) in the shading arithmetic circuit 62.

【0136】このメモリに格納された各画素毎のシェー
ディングデータが実際の原稿画像の読取り時の白シェー
ディング補正に供される(S44)。即ち、シェーディ
ング演算回路62では原稿画像の読取り時には1ライン
毎に順次その画像データが直接入力されるものであり、
メモリから得られた各画素毎のシェーディングデータを
用いて各画素毎の画像データに白シェーディング補正を
施し、後段の処理回路に出力する。原稿に対する読取り
動作が終了すると、読取モータ26の回転も停止し(S
45)、次回の原稿読取り動作に待機する。
The shading data for each pixel stored in the memory is used for white shading correction at the time of reading the actual original image (S44). That is, the image data is directly input to the shading arithmetic circuit 62 sequentially for each line when reading the original image.
The image data for each pixel is subjected to white shading correction using the shading data for each pixel obtained from the memory, and is output to a subsequent processing circuit. When the reading operation for the original is completed, the rotation of the reading motor 26 also stops (S
45) Stand by for the next document reading operation.

【0137】以上の処理を具体的に説明すると次のよう
になる。
The above processing is specifically described as follows.

【0138】まず、平均回路63やステップS34での
Lライン分のデータの平均値は前述した(1)式の演算
により求める。即ち、 Dsg(n)=INT[ΣD(n)/L] …………………………(1) Dsg(n) :対象領域50内のn画素目の演算データ=
Lライン平均値 D(n) :n画素目の読取りデータ ΣD(n) :D(n)の1ライン目からLライン目までの
加算値 L :対象領域50のライン数 INT[] :小数点以下四捨五入
First, the average value of the data of L lines in the averaging circuit 63 and step S34 is obtained by the calculation of the above-mentioned equation (1). That is, Dsg (n) = INT [ΣD (n) / L] (1) Dsg (n): calculation data of the n-th pixel in the target area 50 =
L-line average value D (n): read data of n-th pixel ΣD (n): sum of D (n) from first line to L-th line L: number of lines in target area 50 INT []: decimal point Rounding

【0139】各平均値から対象領域50内の各画素毎の
汚れの程度の検出及びシェーディングデータDp(n)の
作成には、(6)〜(8)式の演算で行う。 Dsg(n)≧Dth(n)の場合 Cng(n)=Cng(n) …………………………(6) Dsg(n)<Dth(n)の場合 Cng(n)=Cng(n)+1 ……………………(7) Cng(n)<N Dp(n)=Dsg(n) …………………………(8) Dth(n) :n画素目の汚れ判定の基準値 Cng(n) :n画素目の汚れカウンタ Dp(n) :n画素目のシェーディングデータ N :汚れの程度として許容できる基準値
The detection of the degree of dirt for each pixel in the target area 50 from each average value and the generation of the shading data Dp (n) are performed by the calculations of equations (6) to (8). When Dsg (n) ≧ Dth (n) Cng (n) = Cng (n) (6) When Dsg (n) <Dth (n) Cng (n) = Cng (n) +1... (7) Cng (n) <NDp (n) = Dsg (n)... (8) Dth (n): n pixels Reference value Cng (n): stain counter for n-th pixel Dp (n): shading data for n-th pixel N: reference value allowable as the degree of stain

【0140】即ち、読取ローラ12の対象領域50を読
取り、各画素毎の平均値Dsg(n)を算出した後、比較器
64において、各画素毎のLライン平均値Dsg(n)を各
画素毎の汚れ判定のための基準値Dth(n)と比較する
(S36)。このステップS36の処理により、比較手
段及び比較工程が実現されている。また、このステップ
S8の処理は対象領域50内の画素毎の汚れの程度が許
容できる程度であるか否かの判断手段及び判断工程を実
現するものであり、Dsg(n)≧Dth(n)の場合には(S
36のY)、読取ローラ12において対象領域50内の
当該画素位置が基準値との比較において白っぽくて汚れ
がなくシェーディングデータ取得用として許容できる旨
の判断結果を意味し、Cng(n)=Cng(n)とすることで
(S37)、n画素目の汚れカウンタCng(n)を更新し
ない。一方、Dsg(n)<Dth(n)の場合には(S36の
N)、読取ローラ12において対象領域50内の当該画
素位置が基準値との比較において部分的に汚れておりシ
ェーディングデータ取得に適していない=許容できない
旨の判断結果を意味し、Cng(n)=Cng(n)+1とする
ことで(S38)、n画素目の汚れカウンタCng(n)を
インクリメント更新する。
That is, after reading the target area 50 of the reading roller 12 and calculating the average value Dsg (n) for each pixel, the comparator 64 calculates the average value Ls line Dsg (n) for each pixel in each pixel. It is compared with a reference value Dth (n) for each stain determination (S36). By the processing in step S36, a comparison unit and a comparison step are realized. Further, the processing in step S8 realizes a determining means and a determining step for determining whether or not the degree of dirt for each pixel in the target area 50 is acceptable, and Dsg (n) ≧ Dth (n) In the case of (S
Y at 36) means that the pixel position in the target area 50 in the reading roller 12 is whitish and free of dirt in comparison with the reference value and is acceptable for shading data acquisition, and Cng (n) = Cng By setting (n) (S37), the dirt counter Cng (n) of the n-th pixel is not updated. On the other hand, if Dsg (n) <Dth (n) (N in S36), the pixel position in the target area 50 in the reading roller 12 is partially contaminated in comparison with the reference value, and shading data acquisition is not performed. Not suitable = meaning that the result is unacceptable, and by setting Cng (n) = Cng (n) +1 (S38), the dirt counter Cng (n) for the n-th pixel is incremented and updated.

【0141】このような汚れカウンタCng(n)の計数値
が予め設定されている基準値Nを越えていなければ(S
39のY)、読取ローラ12において対象領域50内の
当該画素位置が白っぽくて汚れがなく、或いは、汚れが
あっても直ぐに回復するような一時的なものであること
を意味し、当該対象領域50の読取りデータに基づくL
ライン平均値Dsg(n)をそのままシェーディングデータ
として決定する(S40)。このステップS40の処理
がシェーディングデータ決定手段及びシェーディングデ
ータ決定工程として実現されている。
If the count value of the dirt counter Cng (n) does not exceed the preset reference value N (S
39) Y means that the pixel position in the target area 50 in the reading roller 12 is whitish and free of dirt, or is temporary such that even if there is dirt, the target area is temporarily recovered. L based on 50 read data
The line average value Dsg (n) is directly determined as shading data (S40). The processing in step S40 is realized as shading data determination means and a shading data determination step.

【0142】一方、汚れカウンタCng(n)の計数値が予
め設定されている基準値Nを越えている場合には(S3
9のN)、対象領域50内の当該画素位置が部分的に汚
れておりシェーディングデータ取得に適していない=許
容できない旨の判断結果を意味し、今回のシェーディン
グデータとしては応急処置として取り敢えずLライン平
均値Dsg(n)よりも好ましい基準値Dth(n)をシェーデ
ィングデータとして決定する(S41)。このステップ
S41の処理によりシェーディングデータ決定手段及び
シェーディングデータ決定工程として実現されている。
On the other hand, if the count value of the dirt counter Cng (n) exceeds the preset reference value N (S3
9) N), which means that the pixel position in the target area 50 is partially dirty and is not suitable for obtaining shading data = impossible and unacceptable. A reference value Dth (n) that is preferable to the average value Dsg (n) is determined as shading data (S41). The processing in step S41 realizes shading data determination means and a shading data determination step.

【0143】白シェーディング補正の演算は前述したよ
うな(5)式により行う(画像データを8ビットで扱う
場合)。即ち、 Dsh=(D(n)/Dp(n))×255 ……………………(5)
The calculation of the white shading correction is performed by the above equation (5) (when the image data is handled by 8 bits). That is, Dsh = (D (n) / Dp (n)) × 255 (5)

【0144】ところで、本実施の形態では、対象領域5
0の或る画素のLライン平均値Dsg(n)が一つでも基準
値Dth(n)よりも低い値になって、その回数がN以上に
達することで、許容できない旨の判断がなされた場合に
は(S39のN)、前述のように当該画素のシェーディ
ングデータとして基準値Dth(n)に決定するとともに
(S41)、次回のシェーディングデータ取得時には対
象領域50の位置を移動させるように読取モータ26に
対するパルスカウンタ値を変更する(S42)。具体的
には、図7で前述したように対象領域50の中心角度θ
に対して、次回の対象領域の位置が(θ+α)なる角度
ずつ移動するように設定される。この場合の角度αは角
度θよりも小さく、かつ、可変的な角度、即ち、(θ+
α)なる角度が不均等であって、読取ローラ12上を1
周しても元の位置に戻らないような値とすることが好ま
しい。何れにしても、(θ+α)なる角度に相当するモ
ータパルスはコントローラ23中のCPUによって算出
される。次回の原稿読取り時のステップ32の処理にお
いて更新されたこのパルスカウンタ値を監視することに
より、読取ローラ12上での対象位置の移動処理が対象
領域位置移動手段及び対象領域位置移動工程として実現
される。
In the present embodiment, the target area 5
If at least one of the L line average values Dsg (n) of a certain pixel of 0 becomes lower than the reference value Dth (n) and the number of times reaches N or more, it is determined that it is not acceptable. In this case (N in S39), as described above, the reference value Dth (n) is determined as the shading data of the pixel (S41), and at the next acquisition of the shading data, the position of the target area 50 is read to be moved. The pulse counter value for the motor 26 is changed (S42). More specifically, as described above with reference to FIG.
Is set so that the position of the next target area moves by an angle of (θ + α). In this case, the angle α is smaller than the angle θ and is a variable angle, that is, (θ +
α) is unequal, and 1
It is preferable to set the value so that it does not return to the original position even after the rotation. In any case, the motor pulse corresponding to the angle (θ + α) is calculated by the CPU in the controller 23. By monitoring the pulse counter value updated in the process of step 32 at the time of next document reading, the process of moving the target position on the reading roller 12 is realized as a target region position moving means and a target region position moving step. You.

【0145】なお、本実施の形態では、対象領域50の
或る画素のLライン平均値Dsg(n)が基準値Dth(n)よ
りも低い値になって、その回数がN以上に達すること
で、許容できない旨の判断がなされた場合には(S39
のN)、次回の対象領域の位置を移動させることによ
り、直ぐに回復するような瞬間的な汚れ等による対象領
域50の位置移動を避けることができるようにしたが、
対象領域50の或る画素のLライン平均値Dsg(n)が基
準値Dth(n)よりも低い値となった画素が一つでも或る
場合に、即座に読取モータ26に対するパルスカウンタ
値を変更して対象領域50の位置を移動させるようにし
てもよい(ステップS37〜S39の省略)。これによれ
ば、対象領域50の或る画素が部分的に汚れている場合
に早急に対処できる。
In this embodiment, the average value Dsg (n) of the L line of a certain pixel in the target region 50 becomes lower than the reference value Dth (n), and the number of times that the number reaches N or more. Then, if it is determined that it is not acceptable (S39
N), by moving the position of the target area at the next time, the position of the target area 50 due to instantaneous dirt or the like that can be immediately recovered can be avoided.
When there is at least one pixel in which the L line average value Dsg (n) of a certain pixel in the target area 50 is lower than the reference value Dth (n), the pulse counter value for the reading motor 26 is immediately changed. The position of the target area 50 may be changed to be changed (steps S37 to S39 are omitted). According to this, it is possible to quickly cope with a case where a certain pixel of the target area 50 is partially stained.

【0146】従って、本実施の形態によれば、シェーデ
ィングデータ作成のために読取ローラ12周面上の所定
幅の対象領域50のみを読取るが、その対象領域50内
の読取りデータの画素毎のLライン平均値Dsg(n)を予
め設定されている基準値Dth(n)と比較することで当該
対象領域50の画素毎の部分的な汚れの程度が許容でき
るか否かを判断し、当該対象領域50の当該画素のLラ
イン平均値Dsg(n)の方が基準値Dth(n)よりも高い場
合には当該対象領域50の当該画素部分が白っぽくて特
に汚れていないと判断できることから、このように許容
できる場合には当該対象領域50の当該画素のLライン
平均値Dsg(n)をシェーディングデータとすることで、
適正なシェーディングデータとなり、よって、シェーデ
ィングデータの濃度均一性を維持でき、高品質な原稿画
像の読取りを行えることとなる。一方、当該対象領域5
0の当該画素のLライン平均値Dsg(n)の方が基準値D
th(n)よりも低い場合には当該対象領域50の当該画素
部分が部分的に汚れており、シェーディングデータ取得
に適していないと判断できるが、このように許容できな
い場合には取り敢えず予め設定されている基準値Dth
(n)をシェーディングデータとすることで、より好まし
いデータを用いた適正な応急処置となり、データを取得
し直す等の処理を要せずシェーディングデータを決定し
て以降の処理に移ることができる。また、対象領域50
のみの読取りで済むため、処理時間、処理データが少な
くて済む。
Therefore, according to the present embodiment, only the target area 50 having a predetermined width on the peripheral surface of the reading roller 12 is read in order to generate shading data. By comparing the line average value Dsg (n) with a preset reference value Dth (n), it is determined whether the degree of partial contamination of each pixel of the target area 50 is acceptable or not. If the L line average value Dsg (n) of the pixel in the region 50 is higher than the reference value Dth (n), it can be determined that the pixel portion of the target region 50 is whitish and not particularly stained. In such a case, the average value Dsg (n) of the L line of the pixel in the target area 50 is used as the shading data.
The shading data becomes appropriate, so that the density uniformity of the shading data can be maintained and a high-quality document image can be read. On the other hand, the target area 5
0, the L line average value Dsg (n) of the pixel is the reference value D.
If it is lower than th (n), it can be determined that the pixel portion of the target area 50 is partially contaminated and is not suitable for shading data acquisition. Reference value Dth
By setting (n) as shading data, appropriate emergency treatment using more preferable data can be performed, and shading data can be determined without the need for processing such as reacquisition of data, and the processing can be shifted to the subsequent processing. The target area 50
Since only reading is required, processing time and processing data can be reduced.

【0147】また、当該対象領域50が汚れていると判
断されシェーディングデータ取得に適していない場合に
は、次回のデータ取得時には対象領域50の位置を移動
させるようにしているので、シェーディングデータを取
得するための所定幅の対象領域50の位置を極力汚れの
少ない場所に変更でき、シェーディングデータの濃度均
一性を長期に亘って維持でき、高品質な原稿画像の読取
りが可能となる。
If the target area 50 is determined to be dirty and is not suitable for obtaining shading data, the position of the target area 50 is moved at the next data acquisition. The position of the target area 50 having a predetermined width can be changed to a place with as little dirt as possible, the uniformity of density of shading data can be maintained for a long time, and a high-quality document image can be read.

【0148】さらに、読取ローラとして真円形状のロー
ラでもよいが、特に好適読取面13を有する読取ローラ
12、さらには複数個の好適読取面13を有する読取ロ
ーラ12が好ましいことは、前述の場合と同様である。
Further, although a perfect circular roller may be used as the reading roller, it is particularly preferable that the reading roller 12 having a suitable reading surface 13 and the reading roller 12 having a plurality of suitable reading surfaces 13 are preferable. Is the same as

【0149】また、本実施の形態の場合にあっても、対
象領域50の或る画素のLライン平均値Dsg(n)が一つ
でも基準値Dth(n)よりもN回以上低い値になって、許
容できない旨の判断がなされた場合には(S39の
N)、その回数がコントローラ23中のSHNGカウン
タにおいてその都度計数される(S43)。このSHN
GカウンタはステップS39の否定的な判断結果の回数
を累計監視することにより読取ローラ12の全周にわた
る汚れを検出するために利用されるものである。このS
HNGカウンタの計数値に基づくコントローラ23によ
る制御は図11で説明した場合と同様であり、最終的に
読取ローラ12が全周にわたって汚れていると判断され
た場合には、当該スキャナ1の操作部38におけるLC
D表示部に対して読取ローラ12の交換又は清掃を促す
ための警告表示を行わせる(S24)。
Also, in the case of the present embodiment, even if one L line average value Dsg (n) of a certain pixel in the target region 50 is lower than the reference value Dth (n) by N times or more. Then, when it is determined that it is not permissible (N in S39), the number is counted by the SHNG counter in the controller 23 each time (S43). This SHN
The G counter is used to detect contamination over the entire circumference of the reading roller 12 by cumulatively monitoring the number of negative determination results in step S39. This S
The control by the controller 23 based on the count value of the HNG counter is the same as the case described with reference to FIG. 11, and when it is finally determined that the reading roller 12 is dirty over the entire circumference, the operation unit of the scanner 1 is operated. LC at 38
A warning is displayed on the D display unit to prompt replacement or cleaning of the reading roller 12 (S24).

【0150】本発明の第三の実施の形態を図16及び図
17に基づいて説明する。本実施の形態でも、第二の実
施の形態の場合と同様に、図13に示すように所定幅w
1=Lライン分の対象領域50のみを読取ることを基本
とする。そして、この対象領域50内の読取りデータに
基づき各主走査ライン毎に予め設定されているレベル値
よりも小さな読取りデータとなる画素数を比較データと
して計数し、計数された画素数を予め設定されている基
準値と比較することで、当該対象領域50内の汚れの程
度、特に主走査方向の局所的な汚れの程度を判断し、汚
れがない、或いは、少ない場合と判断された場合には、
算出された平均値をそのままシェーディングデータとし
て扱うようにしたものである。
A third embodiment of the present invention will be described with reference to FIGS. In the present embodiment, as in the case of the second embodiment, as shown in FIG.
Basically, only the target area 50 for 1 = L lines is read. Then, based on the read data in the target area 50, the number of pixels that become read data smaller than the preset level value for each main scanning line is counted as comparison data, and the counted number of pixels is set in advance. The degree of dirt in the target area 50, in particular, the degree of local dirt in the main scanning direction is determined by comparing with the reference value, and if it is determined that there is no or little dirt, ,
The calculated average value is directly handled as shading data.

【0151】図16は本実施の形態の本体画像処理回路
中に含まれる、白シェーディング補正を行うための回路
構成を示す概略ブロック図である。この回路は、シェー
ディングデータ作成回路71と白シェーディング補正手
段としてのシェーディング演算回路72とを備えてい
る。シェーディングデータ作成回路71は、比較器73
とカウンタ回路74と比較器75とメモリ76と平均回
路77とにより構成されている。比較器73は、対象領
域50のLライン分の画像データが順次入力されて、各
主走査ライン毎に各画素の読取りデータが予め設定され
たレベル値Dth以上であるか小さいかを比較する。カウ
ンタ回路74は、比較器73の比較結果として読取りデ
ータが予め設定されたレベル値Dthよりも小さな画素数
を主走査ライン毎に計数する計数手段として機能する。
比較器75はカウンタ回路74により計数されたレベル
値Dthよりも小さな画素数が予め設定されている基準値
Nに達しているか否かを比較判断するもので、比較手段
及び判断手段として機能する。メモリ76には比較器7
5の比較結果に応じて、シェーディングデータ作成に用
いるための各種走査ライン及び各画素毎のデータを格納
する。平均回路77はメモリ76に格納されたデータを
用いて各画素毎にシェーディングデータとなる平均値を
求める処理を行う。
FIG. 16 is a schematic block diagram showing a circuit configuration for performing white shading correction included in the main body image processing circuit of this embodiment. This circuit includes a shading data creation circuit 71 and a shading operation circuit 72 as white shading correction means. The shading data creation circuit 71 includes a comparator 73
, A counter circuit 74, a comparator 75, a memory 76, and an averaging circuit 77. The comparator 73 sequentially receives image data of L lines of the target area 50 and compares, for each main scanning line, whether the read data of each pixel is equal to or larger than a preset level value Dth. The counter circuit 74 functions as a counting unit that counts the number of pixels whose read data is smaller than a preset level value Dth as a comparison result of the comparator 73 for each main scanning line.
The comparator 75 compares and determines whether or not the number of pixels smaller than the level value Dth counted by the counter circuit 74 has reached a preset reference value N, and functions as comparison means and determination means. The memory 7 has a comparator 7
According to the comparison result of No. 5, various scan lines and data for each pixel to be used for shading data creation are stored. The averaging circuit 77 performs a process of obtaining an average value serving as shading data for each pixel using the data stored in the memory 76.

【0152】このような構成において、コントローラ2
3により管理される図17に示す概略フローチャートを
参照すれば、読取モータ26の回転が開始した後(S5
1)、ゲート信号XSFGATEがアクティブでない期間にお
いてパルスカウンタにより管理されているゲート信号XS
HGATEがアクティブになるタイミング(シェーディング
位置)になると(S52のY)、図13中に示したよう
にゲート信号SHGATEがアクティブ(アサート)になり
(S53)、CCD42により読取ローラ12の周面上
を1ラインずつ順次読取らせる。この場合の読取領域は
対象領域50となり、この処理により読取手段及び読取
工程が実現されている。この場合の読取りデータは主走
査ライン毎に比較器73に順次入力され、各画素の読取
りデータが予め設定されているレベル値Dthと比較され
る(S54)。例えば、具体例を参照して説明する。各
読取りデータから対象領域50内の各主走査ライン毎の
汚れの程度の検出及びシェーディングデータDp(n)の
作成には、(9)〜(13)式の演算で行う。
In such a configuration, the controller 2
With reference to the schematic flowchart shown in FIG. 17 managed by the third motor 3, after the rotation of the reading motor 26 starts (S 5).
1) The gate signal XS managed by the pulse counter during the period when the gate signal XSFGATE is not active
At the timing (shading position) at which HGATE becomes active (Y in S52), the gate signal SHGATE becomes active (asserted) as shown in FIG. 13 (S53), and the CCD 42 moves the peripheral surface of the reading roller 12 by the CCD 42. The reading is performed sequentially line by line. The reading area in this case is the target area 50, and a reading unit and a reading step are realized by this processing. The read data in this case is sequentially input to the comparator 73 for each main scanning line, and the read data of each pixel is compared with a preset level value Dth (S54). For example, a description will be given with reference to specific examples. The detection of the degree of dirt for each main scanning line in the target area 50 from the read data and the generation of the shading data Dp (n) are performed by the calculations of equations (9) to (13).

【0153】 Dln(n)≧Dthの場合 Cng(l)=Cng(l) …………………………(9) Dln(n)<Dthの場合 Cng(l)=Cng(l)+1 ……………………(10) Cng(l)<N Dlp′(n)=Dln(n) …………………………(11) Cng(n)≧N Dlp′(n)=Dth …………………………(12) Dp(n)=INT[ΣDlp′(n)/L] …………(13) Dln(n) :lライン目のn画素目の読取りデータ Dth :基準となるレベル値 Cng(l) :lライン目の汚れカウンタ Dlp′(n):lライン目のn画素目のシェーディングデ
ータ作成用データ Dp(n) :n画素目のシェーディングデータ N :汚れの程度として許容できる基準値
When Dln (n) ≧ Dth Cng (l) = Cng (l) (9) When Dln (n) <Dth Cng (l) = Cng (l) +1... (10) Cng (l) <N Dlp '(n) = Dln (n)... (11) Cng (n) ≧ N Dlp ′ ( n) = Dth (12) Dp (n) = INT [ΣDlp '(n) / L] (13) Dln (n): n pixels on the 1st line Eye read data Dth: Reference level value Cng (l): Dirt counter for l-th line Dlp '(n): Data for creating shading data for n-th pixel on l-line Dp (n): n-th pixel Shading data N: Reference value acceptable as the degree of dirt

【0154】即ち、読取ローラ12の対象領域50を読
取り、その読取りデータを主走査ライン毎に比較器73
に順次入力し、各画素の読取りデータDln(n)を予め設
定されているレベル値Dthと比較する(S54)。読取
りデータDln(n)がレベル値Dth以上の場合には(S5
4のY)、Cng(l)=Cng(l)とすることで(S5
5)、lライン目用の汚れカウンタCng(l)をカウント
アップしない。一方、読取りデータDln(n)がレベル値
Dthよりも小さい場合には(S54のN)、Cng(l)=
Cng(l)+1とすることで(S56)、lライン目用の
汚れカウンタCng(l)をカウントアップする。即ち、レ
ベル値Dthよりも小さい画素数として計数される。この
ステップS56の処理が計数手段及び計数工程として実
現されている。
That is, the target area 50 of the reading roller 12 is read, and the read data is read by the comparator 73 for each main scanning line.
, And compares the read data Dln (n) of each pixel with a preset level value Dth (S54). If the read data Dln (n) is equal to or greater than the level value Dth (S5
4), Cng (l) = Cng (l) (S5
5) The dirt counter Cng (l) for the 1st line is not counted up. On the other hand, when the read data Dln (n) is smaller than the level value Dth (N in S54), Cng (l) =
By setting Cng (l) +1 (S56), the dirt counter Cng (l) for the first line is counted up. That is, it is counted as the number of pixels smaller than the level value Dth. The process of step S56 is realized as a counting unit and a counting process.

【0155】このような汚れカウンタCng(l)の計数値
が予め設定されている基準値Nを越えていなければ(S
57のY)、読取ローラ12において対象領域50内の
当該lライン目なる主走査ライン位置が白っぽくて汚れ
がないことを意味し、当該対象領域50の当該主走査ラ
インの各読取りデータDln(n)をそのままメモリ76に
格納してシェーディングデータ作成用データDlp′(n)
として採用する(S58)。一方、汚れカウンタCng
(l)の計数値が予め設定されている基準値Nを越えてい
る場合には(S57のN)、読取ローラ12において対
象領域50内の当該lライン目なる主走査ライン上に部
分的な汚れがあることを意味し、予め設定されているレ
ベル値Dthをメモリ76に格納して当該主走査ラインの
シェーディングデータ作成用データDlp′(n)として採
用する(S59)。このステップS57の処理により比
較手段及び比較工程並びに判断手段及び判断工程として
実現されている。
If the count value of the dirt counter Cng (l) does not exceed the preset reference value N (S
57, Y), meaning that the position of the first main scanning line in the target area 50 in the reading roller 12 is whitish and free of dirt, and the read data Dln (n) of the main scanning line in the target area 50 is ) Is stored in the memory 76 as it is, and the shading data creation data Dlp '(n)
(S58). On the other hand, the dirt counter Cng
If the count value of (l) exceeds the preset reference value N (N in S57), the reading roller 12 partially covers the l-th main scanning line in the target area 50 in the target area 50. This means that there is dirt, and a preset level value Dth is stored in the memory 76 and adopted as shading data creation data Dlp '(n) for the main scanning line (S59). The processing in step S57 is realized as a comparing means and a comparing step, and a determining means and a determining step.

【0156】このような処理を対象領域50のライン数
であるLライン分繰返す(S64)。Lライン分(中心
角度θ分=所定幅w1分)の読取り処理が終了すると、
ゲート信号SHGATEはノンアクティブ(ネゲート)になり
(S65)、CCD42による読取ローラ12の対象領
域50の読取り動作は終了する。
Such a process is repeated for L lines, which is the number of lines in the target area 50 (S64). When reading processing for L lines (center angle θ = predetermined width w1) is completed,
The gate signal SHGATE becomes non-active (negated) (S65), and the operation of the CCD 42 for reading the target area 50 of the reading roller 12 ends.

【0157】その後、メモリ76に格納されたLライン
分のシェーディングデータ作成用データDlp′(n)を用
いて平均回路77で(13)式により各画素毎に平均値
を求める処理を行い(S66)、算出された平均値を各
画素毎のシェーディングデータとして決定し、決定され
たシェーディングデータをシェーディング演算回路72
に出力してシェーディング演算回路72中のメモリ(図
示せず)に格納させる。このメモリに格納された各画素
毎のシェーディングデータが実際の原稿画像の読取り時
の白シェーディング補正に供される(S67)。即ち、
シェーディング演算回路72では原稿画像の読取り時に
は1ライン毎に順次その画像データが直接入力されるも
のであり、メモリから得られた各画素毎のシェーディン
グデータを用いて各画素毎の画像データに白シェーディ
ング補正を施し、後段の処理回路に出力する。
Thereafter, using the shading data generation data Dlp '(n) for L lines stored in the memory 76, the averaging circuit 77 performs processing for obtaining an average value for each pixel by the equation (13) (S66). ), The calculated average value is determined as shading data for each pixel, and the determined shading data is determined by the shading operation circuit 72.
And stored in a memory (not shown) in the shading operation circuit 72. The shading data for each pixel stored in the memory is used for white shading correction at the time of reading the actual original image (S67). That is,
In reading the original image, the shading operation circuit 72 directly inputs the image data sequentially for each line, and uses the shading data for each pixel obtained from the memory to convert the image data for each pixel to white shading. The signal is corrected and output to the processing circuit at the subsequent stage.

【0158】白シェーディング補正の演算は前述したよ
うな(5)式により行う(画像データを8ビットで扱う
場合)。即ち、 Dsh=(D(n)/Dp(n))×255 ……………………(5) 原稿に対する読取り動作が終了すると、読取モータ26
の回転も停止し(S68)、次回の原稿読取り動作に待
機する。
The calculation of the white shading correction is performed by the above equation (5) (when the image data is handled by 8 bits). That is, Dsh = (D (n) / Dp (n)) × 255 (5) When the reading operation on the document is completed, the reading motor 26
Also stops (S68), and waits for the next document reading operation.

【0159】なお、平均値を求める処理に関して、汚れ
カウンタCng(l)の計数値が基準値Nに達していない主
走査ラインの読取りデータのみを順次メモリ76に格納
させ、そのライン数で各画素毎の平均値を求めてシェー
ディングデータとするようにしてもよい。
Regarding the processing for obtaining the average value, only the read data of the main scanning lines in which the count value of the dirt counter Cng (l) has not reached the reference value N are sequentially stored in the memory 76, and each pixel is read by the number of lines. An average value may be calculated for each and used as shading data.

【0160】ところで、本実施の形態では、対象領域5
0の主走査ラインに関する汚れカウンタCng(l)の計数
値が基準値Nを超える場合には(S57のN)、そのラ
イン数を計数するNGラインカウンタが1ずつインクリ
メントされ(S60)、このNGラインカウンタの計数
値が予め設定されている基準値Kに達した場合には(S
61のY)、次回のシェーディングデータ取得時には対
象領域50の位置を移動させるように読取モータ26に
対するパルスカウンタ値を変更する(S62)。具体的
には、図7で前述したように対象領域50の中心角度θ
に対して、次回の対象領域の位置が(θ+α)なる角度
ずつ移動するように設定される。この場合の角度αは角
度θよりも小さく、かつ、可変的な角度、即ち、(θ+
α)なる角度が不均等であって、読取ローラ12上を1
周しても元の位置に戻らないような値とすることが好ま
しい。何れにしても、(θ+α)なる角度に相当するモ
ータパルスはコントローラ23中のCPUによって算出
される。次回の原稿読取り時のステップ52の処理にお
いて更新されたこのパルスカウンタ値を監視することに
より、読取ローラ12上での対象位置の移動処理が対象
領域位置移動手段及び対象領域位置移動工程として実現
される。
In the present embodiment, the target area 5
If the count value of the dirt counter Cng (l) for the main scanning line of 0 exceeds the reference value N (N in S57), the NG line counter for counting the number of lines is incremented by 1 (S60), and this NG When the count value of the line counter reaches a preset reference value K (S
61), the pulse counter value for the reading motor 26 is changed so as to move the position of the target area 50 at the time of acquiring the next shading data (S62). More specifically, as described above with reference to FIG.
Is set so that the position of the next target area moves by an angle of (θ + α). In this case, the angle α is smaller than the angle θ and is a variable angle, that is, (θ +
α) is not uniform, and 1
It is preferable to set the value so that it does not return to the original position even after the rotation. In any case, the motor pulse corresponding to the angle (θ + α) is calculated by the CPU in the controller 23. By monitoring the pulse counter value updated in the process of step 52 at the time of next document reading, the process of moving the target position on the reading roller 12 is realized as the target region position moving means and the target region position moving step. You.

【0161】なお、本実施の形態では、対象領域50の
汚れカウンタCng(l)の計数値が基準値Nを超えるライ
ン数がKに達することで、許容できない旨の判断がなさ
れた場合には(S61のN)、次回の対象領域の位置を
移動させることにより、直ぐに回復するような瞬間的な
汚れ等による対象領域50の位置移動を避けることがで
きるようにしたが、対象領域50の汚れカウンタCng
(l)の計数値が基準値Nを超える主走査ラインが一つで
も或る場合に、即座に読取モータ26に対するパルスカ
ウンタ値を変更して対象領域50の位置を移動させるよ
うにしてもよい(ステップS60〜S61の省略)。これ
によれば、対象領域50の或る画素が部分的に汚れてい
る場合に早急に対処できる。
In this embodiment, when the number of lines whose count value of the dirt counter Cng (l) in the target area 50 exceeds the reference value N reaches K, it is determined that the number of lines is not acceptable. (N in S61) By moving the position of the target area next time, the position of the target area 50 due to instantaneous dirt or the like that can be recovered immediately can be avoided. Counter Cng
If there is at least one main scanning line in which the count value of (l) exceeds the reference value N, the position of the target area 50 may be moved by immediately changing the pulse counter value for the reading motor 26. (Omission of steps S60 to S61). According to this, it is possible to quickly cope with a case where a certain pixel of the target area 50 is partially stained.

【0162】従って、本実施の形態によれば、シェーデ
ィングデータ作成のために読取ローラ12周面上の所定
幅の対象領域50のみを読取るが、その対象領域50内
の主走査ライン毎に予め設定されているレベル値Dthよ
りも小さな読取りデータとなる画素数を比較データとし
て計数し、主走査ライン毎に計数された画素数を予め設
定されている基準値Nと比較することで当該対象領域5
0の各主走査ライン毎の汚れの程度が許容できるか否か
を判断し、当該対象領域50の当該主走査ラインのレベ
ル値Dthよりも小さな読取りデータとなる画素数が基準
値Nよりも大きくない場合には当該対象領域50の当該
主走査ライン部分が白っぽくて特に汚れていないと判断
できることから、このように許容できる場合には当該対
象領域の当該主走査ラインの読取りデータを用いて算出
された値をシェーディングデータとするようにしたの
で、適正なシェーディングデータとなり、よって、シェ
ーディングデータの濃度均一性を維持でき、高品質な原
稿画像の読取りを行うことができる。また、対象領域5
0のみの読取りで済むため、処理時間、処理データを少
なくすることができる。
Therefore, according to the present embodiment, only the target area 50 having a predetermined width on the peripheral surface of the reading roller 12 is read in order to generate shading data, but is set in advance for each main scanning line in the target area 50. The number of pixels serving as read data smaller than the set level value Dth is counted as comparison data, and the number of pixels counted for each main scanning line is compared with a preset reference value N to obtain the target area 5.
It is determined whether the degree of contamination of each main scanning line of 0 is acceptable or not, and the number of pixels of the target area 50 that becomes read data smaller than the level value Dth of the main scanning line is larger than the reference value N. Otherwise, the main scanning line portion of the target area 50 can be determined to be whitish and not particularly contaminated. Therefore, in such an allowable case, the calculation is performed using the read data of the main scanning line of the target area. Since the obtained value is used as the shading data, the shading data becomes appropriate. Therefore, the density uniformity of the shading data can be maintained and a high-quality original image can be read. Also, the target area 5
Since it is sufficient to read only 0, processing time and processing data can be reduced.

【0163】また、当該対象領域50が汚れていると判
断されシェーディングデータ取得に適していない場合に
は、次回のデータ取得時には対象領域50の位置を移動
させるようにしているので、シェーディングデータを取
得するための所定幅の対象領域50の位置を極力汚れの
少ない場所に変更でき、シェーディングデータの濃度均
一性を長期に亘って維持でき、高品質な原稿画像の読取
りが可能となる。
If the target area 50 is determined to be dirty and is not suitable for obtaining shading data, the position of the target area 50 is moved at the next data acquisition. The position of the target area 50 having a predetermined width can be changed to a place with as little dirt as possible, the uniformity of density of shading data can be maintained for a long time, and a high-quality document image can be read.

【0164】さらに、読取ローラとして真円形状のロー
ラでもよいが、特に好適読取面13を有する読取ローラ
12、さらには複数個の好適読取面13を有する読取ロ
ーラ12が好ましいことは、前述の場合と同様である。
Further, although a perfect circular roller may be used as the reading roller, a reading roller 12 having a preferable reading surface 13 and a reading roller 12 having a plurality of suitable reading surfaces 13 are particularly preferable in the case described above. Is the same as

【0165】また、本実施の形態の場合にあっても、対
象領域50の主走査ラインがKライン以上について汚れ
があると判断された場合には(S61のY)、その回数
がコントローラ23中のSHNGカウンタにおいてその
都度計数される(S63)。このSHNGカウンタはス
テップS61の否定的な判断結果の回数を累計監視する
ことにより読取ローラ12の全周にわたる汚れを検出す
るために利用されるものである。このSHNGカウンタ
の計数値に基づくコントローラ23による制御は図11
で説明した場合と同様であり、最終的に読取ローラ12
が全周にわたって汚れていると判断された場合には、当
該スキャナ1の操作部38におけるLCD表示部に対し
て読取ローラ12の交換又は清掃を促すための警告表示
を行わせる(S24)。
Also, in the case of the present embodiment, if it is determined that the main scanning lines of the target area 50 are stained for K lines or more (Y in S61), the number of times is determined by the controller 23. Is counted each time in the SHNG counter (S63). This SHNG counter is used to detect dirt all over the circumference of the reading roller 12 by monitoring the total number of times of the negative determination result in step S61. The control by the controller 23 based on the count value of the SHNG counter is shown in FIG.
And finally the reading roller 12
If it is determined that is dirty over the entire circumference, a warning display for urging replacement or cleaning of the reading roller 12 is displayed on the LCD display unit of the operation unit 38 of the scanner 1 (S24).

【0166】本発明の第四の実施の形態を図18ないし
図21に基づいて説明する。本実施の形態では、図18
に示すように所定幅=Lライン分の対象領域50を含
み、かつ、この対象領域50を越える領域=Sライン分
を読取ることを基本とする。そして、この領域内の読取
りデータに基づき各主走査ライン毎に予め設定されてい
るレベル値よりも小さな読取りデータとなる画素数を比
較データとして計数し、計数された画素数を予め設定さ
れている基準値と比較することで、当該主走査ラインの
局所的な汚れの程度を判断し、汚れがない、或いは、少
ない場合と判断される主走査ライン数(許容される主走
査ライン数)を順次計数するとともにその主走査ライン
の各画素の読取りデータをメモリに格納し、許容される
主走査ライン数が目的とするLライン分に達するまでこ
の処理を繰返し、許容される主走査ライン数がLライン
分に達したら、これらのLライン分の読取りデータを用
いて各画素毎のシェーディングデータ算出するようにし
たものである。
A fourth embodiment of the present invention will be described with reference to FIGS. In the present embodiment, FIG.
As shown in (1), an area including a target area 50 of a predetermined width = L lines and exceeding the target area 50 = S lines is basically read. Then, based on the read data in this area, the number of pixels having read data smaller than a preset level value for each main scanning line is counted as comparison data, and the counted number of pixels is set in advance. By comparing with the reference value, the degree of local contamination of the main scanning line is determined, and the number of main scanning lines (permissible number of main scanning lines) determined to be free or small is sequentially determined. Counting, reading data of each pixel of the main scanning line is stored in the memory, and this process is repeated until the allowable number of main scanning lines reaches the target L line. When the number of lines is reached, the shading data for each pixel is calculated using the read data for these L lines.

【0167】従って、模式的に示す図19を参照すれ
ば、本来的に対象領域50に汚れがなければ対象領域5
0内の読取りデータだけでLライン分に達するが、対象
領域50中の一部に部分的な汚れ、特に主走査方向の汚
れがあった場合には、許容し得る主走査ライン数を対象
領域50中だけでは確保できないが、対象領域50を越
える領域の読取りデータを用いることで、許容し得る主
走査ライン数として目的とするLライン分を確保できる
こととなる。
Therefore, referring to FIG. 19 which is schematically shown, if the target area 50 is not originally stained,
If the read data in 0 reaches L lines only, but a part of the target area 50 is partially stained, particularly in the main scanning direction, the allowable number of main scan lines is reduced to the target area. Although it is not possible to secure it only in the area 50, by using the read data of the area exceeding the target area 50, it is possible to secure the target L lines as the allowable number of main scanning lines.

【0168】本実施の形態の場合の白シェーディング補
正を行うための回路構成としては、図16に示した構成
を用いることができる。
As the circuit configuration for performing white shading correction in the present embodiment, the configuration shown in FIG. 16 can be used.

【0169】このような構成において、コントローラ2
3により管理される図20に示す概略フローチャートを
参照すれば、読取モータ26の回転が開始した後(S7
1)、ゲート信号XSFGATEがアクティブでない期間にお
いてパルスカウンタにより管理されているゲート信号XS
HGATEがアクティブになるタイミング(シェーディング
位置)になると(S72のY)、図18中に示したよう
にゲート信号SHGATEがアクティブ(アサート)になり
(S73)、CCD42により読取ローラ12の周面上
を1ラインずつ順次読取らせる。この場合の読取領域は
Sライン分の領域となり(S74,S75)、この処理
により読取手段及び読取工程が実現されている。
In such a configuration, the controller 2
Referring to the schematic flowchart shown in FIG. 20, which is managed by S3, after the rotation of the reading motor 26 starts (S7).
1) The gate signal XS managed by the pulse counter during the period when the gate signal XSFGATE is not active
When the timing (shading position) at which HGATE becomes active (Y in S72), the gate signal SHGATE becomes active (asserted) as shown in FIG. 18 (S73), and the CCD 42 moves the peripheral surface of the reading roller 12 by the CCD 42. The reading is performed sequentially line by line. The reading area in this case is an area for S lines (S74, S75), and the reading means and the reading step are realized by this processing.

【0170】この場合の読取りデータは主走査ライン毎
に比較器73に順次入力され、各画素の読取りデータが
予め設定されているレベル値Dthと比較される(S7
6)。lライン目のn番目の画素の読取りデータDln
(n)がレベル値Dth以上の場合には(S76のY)、C
ng(l)=Cng(l)とすることで(S77)、lライン目
用の汚れカウンタCng(l)をカウントアップしない。一
方、この読取りデータDln(n)がレベル値Dthよりも小
さい場合には(S76のN)、Cng(l)=Cng(l)+1
とすることで(S78)、lライン目用の汚れカウンタ
Cng(l)をカウントアップする。即ち、レベル値Dthよ
りも小さい画素数として計数される。このステップS7
8の処理が計数手段及び計数工程として実現されてい
る。
The read data in this case is sequentially input to the comparator 73 for each main scanning line, and the read data of each pixel is compared with a preset level value Dth (S7).
6). Read data Dln of the n-th pixel on the l-th line
If (n) is equal to or greater than the level value Dth (Y in S76), C
By setting ng (l) = Cng (l) (S77), the dirt counter Cng (l) for the first line is not counted up. On the other hand, if the read data Dln (n) is smaller than the level value Dth (N in S76), Cng (l) = Cng (l) +1
(S78), the dirt counter Cng (l) for the l-th line is counted up. That is, it is counted as the number of pixels smaller than the level value Dth. This step S7
8 is realized as a counting means and a counting step.

【0171】このような汚れカウンタCng(l)の計数値
が予め設定されている基準値Nを越えていなければ(S
79のY)、読取ローラ12において当該lライン目な
る主走査ライン位置が白っぽくて汚れがないことを意味
し、当該主走査ラインの各読取りデータDln(n)をその
ままメモリ76に格納してシェーディングデータ作成用
データDlp′(n)として採用し(S80)、データ取得
ライン数に関するカウンタをインクリメントする(S8
1)。一方、汚れカウンタCng(l)の計数値が予め設定
されている基準値Nを越えている場合には(S79の
N)、当該lライン目なる主走査ライン上に部分的な汚
れがあることを意味し、ステップS80,S81の処理
をジャンプする。
If the count value of the dirt counter Cng (l) does not exceed the preset reference value N (S
79), which means that the position of the first main scanning line on the reading roller 12 is whitish and free of dirt, and each read data Dln (n) of the main scanning line is stored in the memory 76 as it is to perform shading. It is adopted as data creation data Dlp '(n) (S80), and a counter relating to the number of data acquisition lines is incremented (S8).
1). On the other hand, when the count value of the dirt counter Cng (l) exceeds the preset reference value N (N in S79), it is determined that there is partial dirt on the l-th main scanning line. Means that the processing of steps S80 and S81 is jumped.

【0172】このようにして、汚れカウンタCng(l)の
計数値が基準値Nを越えない主走査ラインに関する格納
処理が全部でLライン分に達するまで繰返し(S8
2)、メモリ76に格納されたLライン分のシェーディ
ングデータ作成用データDlp′(n)を用いて平均回路7
7で(13)式により各画素毎に平均値を求める処理を
行い(S83)、算出された平均値を各画素毎のシェー
ディングデータとして決定し、決定されたシェーディン
グデータをシェーディング演算回路72に出力してシェ
ーディング演算回路72中のメモリ(図示せず)に格納
させる。このメモリに格納された各画素毎のシェーディ
ングデータが実際の原稿画像の読取り時の白シェーディ
ング補正に供される(S84)。即ち、シェーディング
演算回路72では原稿画像の読取り時には1ライン毎に
順次その画像データが直接入力されるものであり、メモ
リから得られた各画素毎のシェーディングデータを用い
て各画素毎の画像データに白シェーディング補正を施
し、後段の処理回路に出力する。
In this manner, the storing process for the main scanning lines in which the count value of the dirt counter Cng (l) does not exceed the reference value N is repeated until all the lines have reached L lines (S8).
2), averaging circuit 7 using shading data generation data Dlp '(n) for L lines stored in memory 76;
In step 7, a process for calculating an average value for each pixel is performed by equation (13) (S83), the calculated average value is determined as shading data for each pixel, and the determined shading data is output to the shading operation circuit 72. Then, it is stored in a memory (not shown) in the shading operation circuit 72. The shading data for each pixel stored in the memory is used for white shading correction at the time of reading an actual document image (S84). That is, in reading the original image, the shading operation circuit 72 directly inputs the image data sequentially for each line, and converts the image data for each pixel into image data using the shading data for each pixel obtained from the memory. The white shading correction is performed and output to the subsequent processing circuit.

【0173】原稿に対する読取り動作が終了すると、読
取モータ26の回転も停止し(S85)、次回の原稿読
取り動作に待機する。
When the reading operation for the original is completed, the rotation of the reading motor 26 is also stopped (S85), and the apparatus stands by for the next original reading operation.

【0174】従って、本実施の形態によれば、シェーデ
ィングデータ作成のために読取ローラ12周面上の所定
幅=Lライン分の対象領域50を読取るが、併せて、こ
の対象領域50を越える領域分も読取ることで、全体と
してSライン分を読取り、主走査ライン毎に予め設定さ
れているレベル値Dthよりも小さな読取りデータとなる
画素数を比較データとして計数し、主走査ライン毎に計
数された画素数を予め設定されている基準値Nと比較す
ることで当該主走査ラインの汚れの程度が許容できるか
否かを判断し、当該主走査ラインについてレベル値Dth
よりも小さな読取りデータとなる画素数が基準値Nより
も大きくない場合には当該主走査ライン部分が白っぽく
て特に汚れていないと判断できることから、このように
許容できる主走査ライン数が所定ライン数に達するまで
決定・判断処理を繰返すことで、支障ない主走査ライン
を目的とするLライン分集めてシェーディングデータ作
成に用いることができ、適正なシェーディングデータを
取得でき、よって、シェーディングデータの濃度均一性
を維持でき、高品質な原稿画像の読取りを行えることと
なる。
Therefore, according to the present embodiment, the target area 50 corresponding to a predetermined width = L lines on the peripheral surface of the reading roller 12 is read in order to generate shading data. By reading the data, the S lines are read as a whole, and the number of pixels that become read data smaller than the preset level value Dth for each main scanning line is counted as comparison data, and counted for each main scanning line. By comparing the number of pixels with a preset reference value N, it is determined whether or not the degree of contamination of the main scanning line is allowable, and the level value Dth for the main scanning line is determined.
If the number of pixels that result in smaller read data is not larger than the reference value N, it can be determined that the main scanning line portion is whitish and not particularly dirty. By repeating the determination / judgment process until the number of lines reaches L, the desired L scanning lines can be collected and used for shading data generation, and appropriate shading data can be obtained. , And high-quality document images can be read.

【0175】特に、本実施の形態の場合には、図21に
示すように、複数個、例えば3個の好適読取面13a,
13b,13cを周面上に等間隔で有する読取ローラ1
2を用い、シェーディングデータ作成のためにこの読取
ローラ12を読取る際、Sライン分の読取領域として読
取ローラ12の周面を3等分した角度(=120°)分
を読取るように設定することが好ましい。このような設
定によれば、極力少ないSライン分読取領域としつつ、
そのSライン分の読取領域中に必ず好適読取面に属する
読取りデータ部分(1つの好適読取面単独又は2つの好
適読取面に跨る状態)が含まれることとなり、シェーデ
ィングデータ作成用に用い得る主走査ライン読取りデー
タをLライン分確保することが確実となり、シェーディ
ングデータの濃度均一性をより一層高レベルに維持する
ことができる。また、本実施の形態の方式によれば、基
本的には対象領域50の位置を移動させる処理を必要と
しない。
In particular, in the case of the present embodiment, as shown in FIG. 21, a plurality of, for example, three suitable reading surfaces 13a,
Reading roller 1 having 13b, 13c on the peripheral surface at equal intervals
2, when reading the reading roller 12 for shading data creation, a setting is made so as to read an angle (= 120 °) obtained by dividing the peripheral surface of the reading roller 12 into three equal parts as a reading area for S lines. Is preferred. According to such a setting, the reading area is reduced as much as possible for S lines,
A read data portion (a single suitable read surface alone or a state that straddles two suitable read surfaces) that always belongs to the suitable read surface is included in the read area for the S lines, and the main scan that can be used for generating shading data It is ensured that the line read data for L lines is secured, and the density uniformity of the shading data can be maintained at a higher level. Further, according to the method of the present embodiment, basically, the process of moving the position of the target area 50 is not required.

【0176】なお、前述した各実施の形態では、密着型
イメージセンサを用いた画像読取部4の例で説明した
が、このような画像読取部に限らず、例えば、図22に
示すように、読取位置Pの光情報を光電変換素子として
のCCD81に縮小結像させて読取るミラー82、結像
レンズ83等による縮小光学系84を含む画像読取部8
5の場合であっても同様に適用できる(前述の実施の形
態の場合にあっても、両面原稿読取り時の画像読取部3
が相当する)。86は読取位置Pの原稿D面をスリット
露光する光源である。本実施の形態の密着型イメージセ
ンサによる場合は、CCD42自体は原稿幅全幅にわた
る長さを必要として大きいが全体的な構成が小型で済
み、図29に示すような縮小光学系84を利用した場合
には、この縮小光学系84自体は比較的で大掛かりで大
型化しやすいが、縮小画像を読取るCCD81自体は小
型で済む。
In each of the embodiments described above, the example of the image reading unit 4 using the contact image sensor has been described. However, the present invention is not limited to such an image reading unit. For example, as shown in FIG. An image reading unit 8 including a mirror 82 for reducing and forming optical information of the reading position P on a CCD 81 as a photoelectric conversion element and reading the image, and a reduction optical system 84 including an imaging lens 83 and the like.
5 can be applied in the same manner (even in the case of the above-described embodiment, the image reading unit 3 for reading a double-sided document).
Is equivalent). Reference numeral 86 denotes a light source that performs slit exposure on the surface of the document D at the reading position P. In the case of the contact type image sensor according to the present embodiment, the CCD 42 itself needs a length that covers the entire width of the original document, but is large, but the overall configuration is small, and the reduction optical system 84 as shown in FIG. 29 is used. In this case, the reduction optical system 84 itself is relatively large and easy to increase in size, but the CCD 81 itself for reading the reduced image only needs to be small.

【0177】また、前述した各実施の形態では、電子写
真方式のプリンタ2を備えた複写機なる画像形成装置へ
の適用例として説明したが、プリンタ部分における画像
形成方式(印刷方式)は特に電子写真方式に限定される
ものではなく、要は、スキャナ1により得られた画像デ
ータに基づき用紙上に画像を形成できるものであればよ
く、その方式を特に問わない。
In each of the above-described embodiments, an example in which the present invention is applied to an image forming apparatus such as a copying machine provided with an electrophotographic printer 2 is described. The method is not limited to the photographic method, and the method is not particularly limited as long as an image can be formed on paper based on image data obtained by the scanner 1.

【0178】さらに、前述した各実施の形態では、複写
機なる画像形成装置にスキャナ1を搭載した例で説明し
たが、このスキャナ1により読取られた原稿の画像デー
タを公衆回線やネットワーク網等の通信網を介して送信
先に送信出力するファクシミリ装置(特に図示せず)で
あっても同様に適用できる。
Further, in each of the above-described embodiments, the example in which the scanner 1 is mounted on the image forming apparatus such as a copying machine has been described. However, the image data of the original read by the scanner 1 is transmitted to a public line or a network. The present invention is also applicable to a facsimile apparatus (not particularly shown) for transmitting and outputting to a destination via a communication network.

【0179】[0179]

【発明の効果】請求項1記載の発明の画像読取装置によ
れば、シェーディングデータ作成のために白色ローラ周
面上の所定幅の対象領域を読取るが、その読取りデータ
に基づく比較データを或る基準値と比較することで当該
対象領域の汚れの程度が許容できるか否かを判断し、特
に汚れておらず許容できる場合には当該対象領域の読取
りデータを用いて算出された値をシェーディングデータ
とするようにしたので、適正なシェーディングデータを
取得でき、よって、シェーディングデータの濃度均一性
を維持でき、高品質な原稿画像の読取りを行うことがで
きる。
According to the image reading apparatus of the first aspect of the present invention, a target area having a predetermined width on the peripheral surface of the white roller is read to generate shading data. By comparing with the reference value, it is determined whether or not the degree of dirt of the target area is acceptable. If the degree of dirt is not particularly dirty and allowable, the value calculated using the read data of the target area is used as the shading data. As a result, appropriate shading data can be obtained, so that the density uniformity of the shading data can be maintained and a high-quality original image can be read.

【0180】請求項2記載の発明の画像読取装置によれ
ば、シェーディングデータ作成のために白色ローラ周面
上の所定幅の対象領域を読取るが、併せて、全周分も読
取り、対象領域内の読取りデータの画素毎の平均値と全
周分の読取りデータの画素毎の全周平均値とを算出して
平均値を全周平均値と比較することで当該対象領域の画
素毎の汚れの程度が許容できるか否かを判断し、当該対
象領域の平均値の方が全周平均値よりも高い場合には当
該対象領域が他の領域よりも白っぽくて特に汚れていな
いと判断できることから、このように許容できる場合に
は当該対象領域の当該画素の平均値をシェーディングデ
ータとするようにしたので、適正なシェーディングデー
タを取得でき、よって、シェーディングデータの濃度均
一性を維持でき、高品質な原稿画像の読取りを行うこと
ができる。
According to the image reading apparatus of the present invention, a target area of a predetermined width on the peripheral surface of the white roller is read in order to create shading data. By calculating the average value of each pixel of the read data and the average value of the entire circumference of the read data of the entire circumference for each pixel, and comparing the average value with the average value of the entire circumference, the degree of contamination of each pixel in the target area is determined. Judge whether the degree is acceptable or not, if the average value of the target area is higher than the entire circumference average value, it can be determined that the target area is whiter than other areas and is not particularly dirty, In such a case, when the average value of the pixels in the target area is used as the shading data, appropriate shading data can be obtained, so that the density uniformity of the shading data can be maintained. It is possible to perform the reading of the quality of the original image.

【0181】請求項3記載の発明によれば、請求項2記
載の画像読取装置において、当該対象領域の当該画素の
平均値の方が全周平均値よりも低い場合には当該対象領
域の当該画素部分が副走査方向の他の領域よりも部分的
に汚れており、シェーディングデータ取得に適していな
いと判断できるが、このように許容できない場合には取
り敢えず当該画素の周面上の全周平均値をシェーディン
グデータとするようにしたので、より好ましいデータを
用いた適正な応急処置となり、データを取得し直す等の
処理を要せずシェーディングデータを決定して以降の処
理に移ることができる。
According to the third aspect of the present invention, in the image reading apparatus according to the second aspect, when the average value of the pixel in the target area is lower than the entire circumference average value, the value of the pixel in the target area is reduced. It can be determined that the pixel portion is more dirty than other regions in the sub-scanning direction and is not suitable for shading data acquisition. Since the value is set as the shading data, appropriate first-aid treatment using more preferable data is performed, and the shading data can be determined without the need for processing such as reacquisition of data, and the processing can be shifted to the subsequent processing.

【0182】請求項4記載の発明によれば、請求項2又
は3記載の画像読取装置において、白色ローラの全周分
の読取りを白色ローラのローラ径に基づき予め設定され
た主走査ライン数により規定するようにしたので、白色
ローラ全周分のデータを取得するための読取り動作の制
御を簡単に行うことができる。
According to the fourth aspect of the present invention, in the image reading apparatus according to the second or third aspect, the reading of the entire circumference of the white roller is performed by a predetermined number of main scanning lines based on the roller diameter of the white roller. Since it is specified, it is possible to easily control the reading operation for acquiring data for the entire circumference of the white roller.

【0183】請求項5記載の発明によれば、請求項2又
は3記載の画像読取装置において、白色ローラの全周分
の読取りを白色ローラの1周分の回転期間を示すゲート
信号により規定するようにしたので、白色ローラ全周分
のデータを取得するための読取り動作の制御を簡単に行
うことができる。
According to the fifth aspect of the present invention, in the image reading apparatus according to the second or third aspect, reading of the entire circumference of the white roller is defined by a gate signal indicating a rotation period of one rotation of the white roller. With this configuration, it is possible to easily control the reading operation for acquiring data for the entire circumference of the white roller.

【0184】請求項6記載の発明の画像読取装置によれ
ば、シェーディングデータ作成のために白色ローラ周面
上の所定幅の対象領域のみを読取るが、その読取りデー
タに基づく比較データを予め設定されている基準値と比
較することで当該対象領域の汚れの程度が許容できるか
否かを判断し、特に汚れておらず許容できる場合には当
該対象領域の読取りデータを用いて算出された値をシェ
ーディングデータとするようにしたので、適正なシェー
ディングデータを取得でき、よって、シェーディングデ
ータの濃度均一性を維持でき、高品質な原稿画像の読取
りを行うことができる。
According to the image reading apparatus of the present invention, only a target area of a predetermined width on the peripheral surface of the white roller is read for generating shading data, but comparison data based on the read data is set in advance. It is determined whether the degree of contamination of the target area is acceptable by comparing it with the reference value that has been set.If the degree of contamination of the target area is acceptable, the value calculated using the read data of the target area is determined. Since the shading data is used, appropriate shading data can be obtained, so that the density uniformity of the shading data can be maintained and a high-quality original image can be read.

【0185】請求項7記載の発明によれば、請求項6記
載の画像読取装置において、シェーディングデータ作成
のために白色ローラ周面上の所定幅の対象領域のみを読
取るが、その対象領域内の読取りデータの画素毎の平均
値を予め設定されている基準値と比較することで当該対
象領域の画素毎の汚れの程度が許容できるか否かを判断
し、当該対象領域の当該画素の平均値の方が基準値より
も高い場合には当該対象領域の当該画素部分が副走査方
向の他の領域よりも白っぽくて特に汚れていないと判断
できることから、このように許容できる場合には当該対
象領域の当該画素の平均値をシェーディングデータとす
るようにしたので、適正なシェーディングデータを取得
でき、よって、シェーディングデータの濃度均一性を維
持でき、高品質な原稿画像の読取りを行うことができ、
また、対象領域のみの読取りで済むため、処理時間、処
理データを少なくすることもできる。
According to the seventh aspect of the present invention, in the image reading apparatus according to the sixth aspect, only a target area of a predetermined width on the peripheral surface of the white roller is read in order to create shading data. By comparing the average value of each pixel of the read data with a preset reference value, it is determined whether or not the degree of contamination of each pixel in the target area is acceptable, and the average value of the pixel in the target area is determined. Is higher than the reference value, it can be determined that the pixel portion of the target area is whitish and not particularly dirty than other areas in the sub-scanning direction. Since the average value of the pixel is used as the shading data, appropriate shading data can be obtained, so that the density uniformity of the shading data can be maintained and high quality It is possible to perform the reading of the manuscript image,
Further, since only reading of the target area is sufficient, the processing time and the processing data can be reduced.

【0186】請求項8記載の発明によれば、請求項7記
載の画像読取装置において、当該対象領域の当該画素の
平均値の方が基準値よりも低い場合には当該対象領域の
当該画素部分が副走査方向の他の領域よりも部分的に汚
れており、シェーディングデータ取得に適していないと
判断できるが、このように許容できない場合には取り敢
えず予め設定されている基準値をシェーディングデータ
とするようにしたので、より好ましいデータを用いた適
正な応急処置となり、データを取得し直す等の処理を要
せずシェーディングデータを決定して以降の処理に移る
ことができる。
According to an eighth aspect of the present invention, in the image reading apparatus according to the seventh aspect, when the average value of the pixel in the target area is lower than the reference value, the pixel portion of the target area is not used. Is more dirty than the other areas in the sub-scanning direction and can be determined to be unsuitable for obtaining shading data. However, if it is unacceptable in this way, a preset reference value is used as shading data. With this configuration, appropriate first-aid treatment using more preferable data can be achieved, and shading data can be determined without performing a process such as reacquisition of data.

【0187】請求項9記載の発明によれば、請求項6記
載の画像読取装置において、シェーディングデータ作成
のために白色ローラ周面上の所定幅の対象領域のみを読
取るが、その対象領域内の主走査ライン毎に予め設定さ
れているレベル値よりも小さな読取りデータとなる画素
数を比較データとして計数し、主走査ライン毎に計数さ
れた画素数を予め設定されている基準値と比較すること
で当該対象領域の各主走査ライン毎の汚れの程度が許容
できるか否かを判断し、当該対象領域の当該主走査ライ
ンのレベル値よりも小さな読取りデータとなる画素数が
基準値よりも大きくない場合には当該対象領域の当該主
走査ライン部分が白っぽくて特に汚れていないと判断で
きることから、このように許容できる場合には当該対象
領域の当該主走査ラインの読取りデータを用いて算出さ
れた値をシェーディングデータとするようにしたので、
適正なシェーディングデータを取得でき、よって、シェ
ーディングデータの濃度均一性を維持でき、高品質な原
稿画像の読取りを行うことができ、また、対象領域のみ
の読取りで済むため、処理時間、処理データを少なくす
ることもできる。
According to the ninth aspect of the present invention, in the image reading apparatus according to the sixth aspect, only a target area of a predetermined width on the peripheral surface of the white roller is read for generating shading data. Counting the number of pixels that become read data smaller than a preset level value for each main scanning line as comparison data, and comparing the number of pixels counted for each main scanning line with a preset reference value. It is determined whether or not the degree of dirt for each main scanning line of the target area is acceptable, and the number of pixels that become read data smaller than the level value of the main scanning line of the target area is larger than the reference value. Otherwise, it can be determined that the main scanning line portion of the target area is whitish and not particularly contaminated. Since the value calculated using the in the read data as the shading data,
Proper shading data can be obtained, so that the density uniformity of the shading data can be maintained, high-quality original images can be read, and only the target area needs to be read. It can be reduced.

【0188】請求項10記載の発明によれば、請求項9
記載の画像読取装置において、当該対象領域の当該主走
査ラインのレベル値よりも小さな読取りデータとなる画
素数が基準値よりも大きくない場合には当該対象領域の
当該主走査ライン部分が部分的に汚れており、シェーデ
ィングデータ取得に適していないと判断できるが、この
ように許容できない場合には取り敢えずその主走査ライ
ンのデータとして予め設定されているレベル値を用いる
ようにしたので、より好ましいデータを用いる適正な応
急処置となり、データを取得し直す等の処理を要せずシ
ェーディングデータを決定して以降の処理に移ることが
できる。
According to the tenth aspect, the ninth aspect is provided.
In the image reading device described above, when the number of pixels that are read data smaller than the level value of the main scanning line of the target area is not larger than the reference value, the main scanning line portion of the target area is partially Although it can be determined that the data is dirty and is not suitable for obtaining shading data, in the case where such data cannot be tolerated, a level value set in advance is used as the data of the main scanning line. This is an appropriate first aid procedure to be used, and shading data can be determined without any processing such as reacquisition of data.

【0189】請求項11記載の発明の画像読取装置によ
れば、シェーディングデータ作成のために白色ローラ周
面上の所定幅の対象領域を読取るが、併せて、この対象
領域を越える領域分も読取り、主走査ライン毎に予め設
定されているレベル値よりも小さな読取りデータとなる
画素数を比較データとして計数し、主走査ライン毎に計
数された画素数を予め設定されている基準値と比較する
ことで当該対象領域の各主走査ライン毎の汚れの程度が
許容できるか否かを判断し、当該対象領域の当該主走査
ラインのレベル値よりも小さな読取りデータとなる画素
数が基準値よりも大きくない場合には当該対象領域の当
該主走査ライン部分が白っぽくて特に汚れていないと判
断できることから、このように許容できる主走査ライン
数が所定ライン数に達するまで決定・判断処理を繰返す
ことで、支障ない主走査ラインを所定ライン数分集めて
シェーディングデータ作成に用いることができ、適正な
シェーディングデータとなり、よって、シェーディング
データの濃度均一性を維持でき、高品質な原稿画像の読
取りを行うことができる。
According to the image reading apparatus of the present invention, a target area of a predetermined width on the peripheral surface of the white roller is read for generating shading data, and an area beyond the target area is also read. The number of pixels serving as read data smaller than a preset level value for each main scanning line is counted as comparison data, and the number of pixels counted for each main scanning line is compared with a preset reference value. Thus, it is determined whether or not the degree of dirt for each main scanning line of the target area is acceptable, and the number of pixels that become read data smaller than the level value of the main scanning line of the target area is smaller than the reference value. If it is not large, it can be determined that the main scanning line portion of the target area is whitish and not particularly dirty, and thus the allowable number of main scanning lines is equal to the predetermined line number. By repeating the determination / judgment process until reaching, a predetermined number of trouble-free main scan lines can be collected for a predetermined number of lines and used for shading data generation, and the shading data becomes appropriate.Thus, the density uniformity of the shading data can be maintained. A high-quality document image can be read.

【0190】請求項12記載の発明によれば、請求項1
ないし11の何れか一記載の画像読取装置において、判
断手段の判断結果が許容できない場合には対象領域の位
置を白色ローラ周面上で移動させる対象領域位置移動手
段を備え、当該対象領域が汚れておりシェーディングデ
ータ取得に適していない場合には、対象領域の位置を移
動させるようにしたので、シェーディングデータを取得
するための所定幅の対象領域の位置を極力汚れの少ない
場所に変更でき、シェーディングデータの濃度均一性を
長期に亘って維持でき、高品質な原稿画像の読取りが可
能となり、特に、順次場所を変更させることにより、最
終的には最も汚れの少ない場所が対象領域となるように
収束させることもできる。
According to the twelfth aspect, according to the first aspect,
12. The image reading apparatus according to any one of claims 11 to 11, further comprising: target area position moving means for moving the position of the target area on the peripheral surface of the white roller when the result of the judgment by the judging means is unacceptable. When it is not suitable for shading data acquisition, the position of the target area is moved, so that the position of the target area of a predetermined width for acquiring shading data can be changed to a place with as little dirt as possible, and shading Data density uniformity can be maintained over a long period of time, and high-quality document images can be read. In particular, by sequentially changing the locations, the location with the least amount of dirt is finally set as the target area. It can also be converged.

【0191】請求項13記載の発明によれば、請求項1
2記載の画像読取装置において、対象領域位置移動手段
は判断手段により許容できない判断結果が得られた時点
で次回からの対象領域の位置を移動させるようにしたの
で、対象領域が汚れている場合に早急に対処することが
できる。
According to the thirteenth aspect, according to the first aspect,
In the image reading apparatus described in Item 2, the target area position moving means moves the position of the target area from the next time when an unacceptable judgment result is obtained by the judgment means. We can deal with it immediately.

【0192】請求項14記載の発明によれば、請求項1
2記載の画像読取装置において、対象領域位置移動手段
は判断手段により許容できない判断結果が所定回数得ら
れた時点で次回からの対象領域の位置を移動させるよう
にしたので、瞬間的な汚れ等による対象領域の位置移動
を避けることができる。
According to the fourteenth aspect of the present invention, the first aspect
In the image reading apparatus described in Item 2, the target area position moving means moves the position of the target area from the next time when a judgment result that is unacceptable is obtained by the judgment means a predetermined number of times. The movement of the position of the target area can be avoided.

【0193】請求項15記載の発明によれば、請求項1
2ないし14の何れか一記載の画像読取装置において、
対象領域位置移動手段は対象領域の位置を順次移動させ
た場合に元の対象領域の位置に戻らない角度ずつ移動さ
せるようにしたので、許容できなかった場所を再び対象
領域として試すことがなく、対象領域を白色ローラ周面
上の汚れていない場所に特定するための処理を効率的に
行うことができる。
According to the fifteenth aspect, the first aspect is provided.
In the image reading apparatus according to any one of 2 to 14,
Since the target area position moving means is configured to move the target area position by an angle that does not return to the original target area position when sequentially moving the position of the target area, without trying an unacceptable place again as the target area, Processing for specifying the target area as a clean spot on the peripheral surface of the white roller can be efficiently performed.

【0194】請求項16記載の発明によれば、請求項1
2ないし14の何れか一記載の画像読取装置において、
対象領域位置移動手段は対象領域の位置を不均等な角度
ずつ順次移動させるようにしたので、許容できなかった
場所を再び対象領域として試すことがなく、対象領域を
白色ローラ周面上の汚れていない場所に特定するための
処理を効率的に行うことができる。
According to the sixteenth aspect of the present invention, the first aspect
In the image reading apparatus according to any one of 2 to 14,
Since the target area position moving means sequentially moves the position of the target area by an unequal angle, the target area is not stained on the peripheral surface of the white roller without trying an unacceptable place again as the target area. A process for specifying a location where no data exists can be efficiently performed.

【0195】請求項17記載の発明によれば、請求項1
2ないし16の何れか一記載の画像読取装置において、
判断手段による許容できないとの判断結果を累計監視し
て白色ローラ全周にわたる汚れを検出する全周汚れ検出
手段と、この全周汚れ検出手段により白色ローラ全周の
汚れが検出された場合に警告を発する警告手段と、を備
えるので、上述したような対象領域の移動を繰返しても
対象領域に関する汚れの程度の判断結果が許容できなく
なり、白色ローラが全面的に汚れてしまった場合には、
警告手段により警告を発することにより、白色ローラの
清掃・交換等の適正な対処を採ることができる。
According to the seventeenth aspect, according to the first aspect,
In the image reading apparatus according to any one of 2 to 16,
An all-around dirt detection means for monitoring the total result of the determination that the determination means cannot be allowed to detect dirt over the entire circumference of the white roller, and a warning when the dirt on the entire circumference of the white roller is detected by the all-around dirt detection means. Warning means for issuing a warning, the determination result of the degree of dirt on the target area is unacceptable even if the movement of the target area is repeated as described above, and if the white roller is completely dirty,
By issuing a warning by the warning means, appropriate measures such as cleaning and replacement of the white roller can be taken.

【0196】請求項18記載の発明によれば、請求項1
ないし17の何れか一記載の画像読取装置において、最
もシンプルで清掃しやすい真円形状のローラを白色ロー
ラとして用いた場合でも、シェーディングデータの濃度
均一性を維持でき、高品質な原稿画像の読取りを行うこ
とができる。
According to the eighteenth aspect of the present invention, the first aspect is provided.
18. In the image reading apparatus according to any one of Items 17 to 17, even when the simplest and easy-to-clean perfect circle roller is used as the white roller, the uniformity of density of shading data can be maintained, and a high-quality original image can be read. It can be performed.

【0197】請求項19記載の発明によれば、請求項1
ないし17の何れか一記載の画像読取装置において、白
色ローラとして外周面に当該ローラ軸心と直交する直線
上に曲率中心を有し当該ローラの最大外周面軌跡の内側
に位置する曲面で形成された好適読取面を有するローラ
を用いるようにしたので、好適読取面は原稿搬送を繰返
しても原稿に接触しにくいので汚れにくく、仮に汚れて
も溝構造を有しないため汚れが好適読取面上に溜まりに
くくて清掃しやすいので、好適読取面を長期間にわたっ
て白色状態に維持することができ、シェーディングデー
タを生成する上で、このような好適読取面を対象領域と
して読取る可能性を有するので、シェーディングデータ
の濃度均一性をより一層高レベルに維持し、高品質な原
稿画像の読取りが可能となり、また、実際の原稿画像の
読取りに際して好適読取面が原因となって影を生ずるよ
うな不具合もない。
According to the invention of claim 19, claim 1
18. The image reading apparatus according to any one of claims 17 to 17, wherein the white roller is formed by a curved surface having a center of curvature on a straight line perpendicular to the roller axis on the outer peripheral surface and located inside the locus of the maximum outer peripheral surface of the roller. A roller having a preferred reading surface is used, so that the preferred reading surface does not easily come in contact with the original even if the original is transported repeatedly. Since it is difficult to collect and easy to clean, the preferable reading surface can be maintained in a white state for a long period of time. In generating shading data, there is a possibility that such a preferable reading surface is read as a target area, so that shading is performed. The uniformity of data density is maintained at a higher level, and high-quality original images can be read. The reading surface there are no problems, such as to produce a shadow caused.

【0198】請求項20記載の発明によれば、請求項1
9記載の画像読取装置において、対象領域の所定幅は好
適読取面の幅よりも狭く設定されているので、対象領域
が好適読取面内に完全に位置する場合に、シェーディン
グデータの濃度均一性をより一層高レベルに維持するこ
とができる。
According to the twentieth aspect, according to the first aspect,
In the image reading device according to Item 9, since the predetermined width of the target area is set to be smaller than the width of the suitable reading surface, when the target area is completely located within the preferable reading surface, the uniformity of the density of the shading data is reduced. Even higher levels can be maintained.

【0199】請求項21記載の発明によれば、請求項1
9又は20記載の画像読取装置において、白色ローラは
前記好適読取面を周面上に複数個有するので、好適読取
面を対象領域として読取る可能性が高くなり、シェーデ
ィングデータの濃度均一性をより一層高レベルに維持す
ることができる。
According to the twenty-first aspect, the first aspect is described.
21. In the image reading device according to 9 or 20, since the white roller has a plurality of the preferable reading surfaces on the peripheral surface, the possibility of reading the preferable reading surface as a target area is increased, and the density uniformity of shading data is further improved. Can be maintained at a high level.

【0200】請求項22記載の発明によれば、請求項2
1記載の画像読取装置において、複数個の好適読取面は
白色ローラの周面上で等間隔で設けられているので、好
適読取面を対象領域として読取る可能性が高くなり、シ
ェーディングデータの濃度均一性をより一層高レベルに
維持することができ、特に、対象領域の位置を移動させ
る場合には、その移動量を不均等にすることにより、好
適読取面を対象領域として読取る可能性を高くすること
ができる。
According to the twenty-second aspect, the second aspect is provided.
In the image reading apparatus described in Item 1, since the plurality of suitable reading surfaces are provided at equal intervals on the peripheral surface of the white roller, the possibility of reading the preferable reading surface as a target area increases, and the density of the shading data becomes uniform. In particular, when the position of the target area is moved, the moving amount is made uneven, thereby increasing the possibility of reading a suitable reading surface as the target area. be able to.

【0201】請求項23記載の発明によれば、請求項2
1記載の画像読取装置において、複数個の好適読取面は
白色ローラの周面上で不均一な間隔で設けられているの
で、好適読取面を対象領域として読取る可能性が高くな
り、シェーディングデータの濃度均一性をより一層高レ
ベルに維持することができ、特に、対象領域の位置を移
動させる場合には、その移動量を均等にした場合でも、
好適読取面を対象領域として読取る可能性を高くするこ
とができる。
According to the twenty-third aspect of the present invention, the second aspect is provided.
In the image reading apparatus described in 1, the plurality of suitable reading surfaces are provided at non-uniform intervals on the peripheral surface of the white roller. Concentration uniformity can be maintained at a higher level, especially when the position of the target area is moved, even when the movement amount is made uniform.
It is possible to increase the possibility of reading a preferred reading surface as a target area.

【0202】請求項24記載の発明によれば、請求項1
1記載の発明を実現する上で、極力少ない読取り領域と
しつつ、その読取り領域中に必ず1つの好適読取面が含
まれることとなり、シェーディングデータ作成用に用い
得る主走査ライン読取りデータを所定ライン分確保する
ことが確実となり、シェーディングデータの濃度均一性
をより一層高レベルに維持することができる。
According to the invention of claim 24, claim 1
In realizing the invention of (1), one suitable reading surface is always included in the reading region while making the reading region as small as possible, and the main scanning line read data that can be used for shading data generation is stored for a predetermined line. As a result, the density uniformity of the shading data can be maintained at a higher level.

【0203】請求項25記載の発明によれば、請求項1
ないし24の何れか一記載の画像読取装置において、光
電変換素子自体は大きいが全体的な構成が小型で済むよ
うな原稿移動型の画像読取装置に好適に適用することが
できる。
According to the twenty-fifth aspect, the first aspect is provided.
24. The image reading apparatus according to any one of the items 24 to 24, which can be suitably applied to an original reading type image reading apparatus in which the photoelectric conversion element itself is large but the overall configuration is small.

【0204】請求項26記載の発明によれば、請求項1
ないし24の何れか一記載の画像読取装置において、比
較的大掛かりな縮小光学系を必要とし全体的な構成は大
型化しやすいが、小型の光電変換素子で済むような原稿
移動型の画像読取装置に好適に適用することができる。
According to the invention of claim 26, claim 1
24. The image reading apparatus according to any one of the items 24 to 24, which requires a relatively large reduction optical system and is easy to increase in overall configuration, but is suitable for an original reading type image reading apparatus that requires only a small photoelectric conversion element. It can be suitably applied.

【0205】請求項27記載の発明の画像形成装置によ
れば、請求項1ないし26の何れか一記載の画像読取装
置を備え、信頼性の高いシェーディングデータを用いて
補正された原稿の画像データを扱うこととなるので、高
画質の画像を形成できる画像形成装置を提供することが
できる。
According to the twenty-seventh aspect of the present invention, there is provided the image forming apparatus according to any one of the first to twenty-sixth aspects, wherein the image data of the document corrected by using highly reliable shading data is provided. Therefore, an image forming apparatus capable of forming a high-quality image can be provided.

【0206】請求項28記載の発明のファクシミリ装置
によれば、請求項1ないし26の何れか一記載の画像読
取装置を備え、信頼性の高いシェーディングデータを用
いて補正された原稿の画像データを扱うこととなるの
で、高画質の画像を送信出力できるファクシミリ装置を
提供することができる。
According to a twenty-eighth aspect of the present invention, there is provided the facsimile apparatus according to any one of the first to twenty-sixth aspects, wherein the image data of the document corrected by using highly reliable shading data is provided. Therefore, a facsimile apparatus capable of transmitting and outputting a high-quality image can be provided.

【0207】請求項29記載の発明のシェーディングデ
ータ作成方法によれば、シェーディングデータ作成のた
めに白色ローラ周面上の所定幅の対象領域を読取るが、
併せて、全周分も読取り、対象領域内の読取りデータの
画素毎の平均値と全周分の読取りデータの画素毎の全周
平均値とを算出して平均値を全周平均値と比較すること
で当該対象領域の画素毎の汚れの程度が許容できるか否
かを判断し、当該対象領域の平均値の方が全周平均値よ
りも高い場合には当該対象領域が他の領域よりも白っぽ
くて特に汚れていないと判断できることから、このよう
に許容できる場合には当該対象領域の当該画素の平均値
をシェーディングデータとするようにしたので、適正な
シェーディングデータを取得でき、よって、シェーディ
ングデータの濃度均一性を維持することができる。
According to the shading data creating method of the present invention, a target area of a predetermined width on the peripheral surface of the white roller is read for shading data creation.
At the same time, the entire circumference is also read, and the average value of the read data for each pixel in the target area and the average value of the entire circumference of the read data for each pixel are calculated and the average value is compared with the average value of the entire circumference It is determined whether the degree of dirt for each pixel of the target area is acceptable by performing the processing.If the average value of the target area is higher than the average value of the entire circumference, the target area is higher than the other areas. In this case, the average value of the pixel in the target area is used as the shading data in such an allowable case, so that appropriate shading data can be obtained. Data density uniformity can be maintained.

【0208】請求項30記載の発明によれば、請求項2
9記載のシェーディングデータ作成方法において、当該
対象領域の当該画素の平均値の方が全周平均値よりも低
い場合には当該対象領域の当該画素部分が副走査方向の
他の領域よりも部分的に汚れており、シェーディングデ
ータ取得に適していないと判断できるが、このように許
容できない場合には取り敢えず当該画素の周面上の全周
平均値をシェーディングデータとするようにしたので、
より好ましいデータを用いた適正な応急処置となり、デ
ータを取得し直す等の処理を要せずシェーディングデー
タを決定することができる。
According to the thirtieth aspect, the second aspect is provided.
9. In the shading data creation method according to 9, when the average value of the pixel in the target area is lower than the entire circumference average value, the pixel portion of the target area is more partial than other areas in the sub-scanning direction. Can be determined to be unsuitable for shading data acquisition, but in such an unacceptable case, the entire circumference average value on the peripheral surface of the pixel is determined as shading data.
Appropriate emergency treatment using more preferable data is performed, and shading data can be determined without requiring processing such as reacquisition of data.

【0209】請求項31記載の発明のシェーディングデ
ータ作成方法によれば、シェーディングデータ作成のた
めに白色ローラ周面上の所定幅の対象領域のみを読取る
が、その対象領域内の読取りデータの画素毎の平均値を
予め設定されている基準値と比較することで当該対象領
域の画素毎の汚れの程度が許容できるか否かを判断し、
当該対象領域の当該画素の平均値の方が基準値よりも高
い場合には当該対象領域の当該画素部分が副走査方向の
他の領域よりも白っぽくて特に汚れていないと判断でき
ることから、このように許容できる場合には当該対象領
域の当該画素の平均値をシェーディングデータとするよ
うにしたので、適正なシェーディングデータを取得で
き、よって、シェーディングデータの濃度均一性を維持
することができ、また、対象領域のみの読取りで済むた
め、処理時間、処理データを少なくすることもできる。
According to the shading data generating method of the present invention, only the target area of a predetermined width on the peripheral surface of the white roller is read for shading data generation, but every pixel of the read data in the target area is read. It is determined whether or not the degree of dirt for each pixel of the target area is acceptable by comparing the average value of the target area with a preset reference value,
When the average value of the pixel in the target area is higher than the reference value, the pixel portion of the target area can be determined to be whitish and not particularly dirty than other areas in the sub-scanning direction. In the case where the average value of the pixels in the target area is used as the shading data, appropriate shading data can be obtained, and thus the density uniformity of the shading data can be maintained. Since it is sufficient to read only the target area, the processing time and processing data can be reduced.

【0210】請求項32記載の発明によれば、請求項3
1記載のシェーディングデータ作成方法において、当該
対象領域の当該画素の平均値の方が基準値よりも低い場
合には当該対象領域の当該画素部分が副走査方向の他の
領域よりも部分的に汚れており、シェーディングデータ
取得に適していないと判断できるが、このように許容で
きない場合には取り敢えず予め設定されている基準値を
シェーディングデータとするようにしたので、より好ま
しいデータを用いた適正な応急処置となり、データを取
得し直す等の処理を要せずシェーディングデータを決定
することができる。
According to the invention of claim 32, claim 3
1. In the shading data creation method according to item 1, when the average value of the pixel in the target area is lower than the reference value, the pixel portion of the target area is more partially stained than other areas in the sub-scanning direction. It can be determined that the shading data is not suitable, but if it is not acceptable in this way, a preset reference value is used as the shading data for the time being. This is a measure, and shading data can be determined without requiring processing such as reacquisition of data.

【0211】請求項33記載の発明のシェーディングデ
ータ作成方法によれば、シェーディングデータ作成のた
めに白色ローラ周面上の所定幅の対象領域のみを読取る
が、その対象領域内の主走査ライン毎に予め設定されて
いるレベル値よりも小さな読取りデータとなる画素数を
比較データとして計数し、主走査ライン毎に計数された
画素数を予め設定されている基準値と比較することで当
該対象領域の各主走査ライン毎の汚れの程度が許容でき
るか否かを判断し、当該対象領域の当該主走査ラインの
レベル値よりも小さな読取りデータとなる画素数が基準
値よりも大きくない場合には当該対象領域の当該主走査
ライン部分が白っぽくて特に汚れていないと判断できる
ことから、このように許容できる場合には当該対象領域
の当該主走査ラインの読取りデータを用いて算出された
値をシェーディングデータとするようにしたので、適正
なシェーディングデータを取得でき、よって、シェーデ
ィングデータの濃度均一性を維持することができ、ま
た、対象領域のみの読取りで済むため、処理時間、処理
データを少なくてすることもできる。
According to the shading data generating method of the present invention, only a target area of a predetermined width on the peripheral surface of the white roller is read for generating shading data. The number of pixels serving as read data smaller than a preset level value is counted as comparison data, and the number of pixels counted for each main scanning line is compared with a preset reference value, thereby obtaining the target area. It is determined whether the degree of dirt for each main scanning line is acceptable or not. If the number of pixels of read data smaller than the level value of the main scanning line in the target area is not larger than the reference value, Since it can be determined that the main scanning line portion of the target area is whitish and not particularly dirty, the main scanning line of the target area can be determined in such an allowable case. Since the value calculated using the read data is used as the shading data, appropriate shading data can be obtained, so that the density uniformity of the shading data can be maintained. Therefore, processing time and processing data can be reduced.

【0212】請求項34記載の発明によれば、請求項3
2記載のシェーディングデータ作成方法において、当該
対象領域の当該主走査ラインのレベル値よりも小さな読
取りデータとなる画素数が基準値よりも大きくない場合
には当該対象領域の当該主走査ライン部分が部分的に汚
れており、シェーディングデータ取得に適していないと
判断できるが、このように許容できない場合には取り敢
えずその主走査ラインのデータとして予め設定されてい
るレベル値を用いるようにしたので、より好ましいデー
タを用いる適正な応急処置となり、データを取得し直す
等の処理を要せずシェーディングデータを決定すること
ができる。
According to the thirty-fourth aspect, in the third aspect,
2. In the shading data creation method described in 2, the main scanning line portion of the target region is partially set if the number of pixels that become read data smaller than the level value of the main scanning line of the target region is not larger than the reference value. It is determined that the data is dirty and is not suitable for obtaining shading data. However, in the case where such data cannot be tolerated, a level value set in advance as the data of the main scanning line is used. This is an appropriate emergency treatment using the data, and the shading data can be determined without requiring processing such as reacquisition of the data.

【0213】請求項35記載の発明によれば、請求項2
9ないし34の何れか一記載のシェーディングデータ作
成方法において、判断工程の判断結果が許容できない場
合には対象領域の位置を白色ローラ周面上で移動させる
対象領域位置移動工程を備え、当該対象領域が汚れてお
りシェーディングデータ取得に適していない場合には、
対象領域の位置を移動させるようにしたので、シェーデ
ィングデータを取得するための所定幅の対象領域の位置
を極力汚れの少ない場所に変更でき、シェーディングデ
ータの濃度均一性を長期に亘って維持でき、高品質な原
稿画像の読取りが可能となり、に、順次場所を変更させ
ることにより、最終的には最も汚れの少ない場所が対象
領域となるように収束させることもできる。
According to the invention of claim 35, claim 2
35. The shading data creating method according to any one of claims 9 to 34, further comprising a target area position moving step of moving the position of the target area on the peripheral surface of the white roller when the result of the determination step is not acceptable. Is dirty and not suitable for shading data acquisition,
Since the position of the target area is moved, the position of the target area having a predetermined width for acquiring shading data can be changed to a place with as little dirt as possible, and the density uniformity of the shading data can be maintained for a long time. It is possible to read a high-quality document image, and by sequentially changing the locations, it is possible to converge so that the location with the least amount of dirt finally becomes the target area.

【0214】請求項36記載の発明のシェーディングデ
ータ作成方法によれば、シェーディングデータ作成のた
めに白色ローラ周面上の所定幅の対象領域を読取るが、
併せて、この対象領域を越える領域分も読取り、主走査
ライン毎に予め設定されているレベル値よりも小さな読
取りデータとなる画素数を比較データとして計数し、主
走査ライン毎に計数された画素数を予め設定されている
基準値と比較することで当該対象領域の各主走査ライン
毎の汚れの程度が許容できるか否かを判断し、当該対象
領域の当該主走査ラインのレベル値よりも小さな読取り
データとなる画素数が基準値よりも大きくない場合には
当該対象領域の当該主走査ライン部分が白っぽくて特に
汚れていないと判断できることから、このように許容で
きる主走査ライン数が所定ライン数に達するまで決定・
判断処理を繰返すことで、支障ない主走査ラインを所定
ライン数分集めてシェーディングデータ作成に用いるこ
とができ、適正なシェーディングデータとなり、よっ
て、シェーディングデータの濃度均一性を維持すること
ができる。
According to the shading data creation method of the present invention, a target area of a predetermined width on the peripheral surface of the white roller is read for shading data creation.
At the same time, the area beyond the target area is also read, and the number of pixels that become read data smaller than a preset level value for each main scanning line is counted as comparison data, and the pixels counted for each main scanning line are counted. By comparing the number with a preset reference value, it is determined whether or not the degree of dirt for each main scanning line in the target area is acceptable, and the level is determined based on the level value of the main scanning line in the target area. If the number of pixels that result in small read data is not larger than the reference value, the main scanning line portion of the target area can be determined to be whitish and not particularly stained. Decide until the number is reached
By repeating the determination processing, a predetermined number of main scanning lines that do not interfere with each other can be collected and used for shading data generation, and appropriate shading data can be obtained. Therefore, density uniformity of shading data can be maintained.

【0215】請求項37記載の発明によれば、請求項2
9ないし36の何れか一記載のシェーディングデータ作
成方法において、ローラとしてその外周面に当該ローラ
軸心と直交する直線上に曲率中心を有し当該ローラの最
大外周面軌跡の内側に位置する曲面で形成された好適読
取面を有するローラを用いるようにしたので、好適読取
面は原稿搬送を繰返しても原稿に接触しにくいので汚れ
にくく、仮に汚れても溝構造を有しないため汚れが好適
読取面上に溜まりにくくて清掃しやすいので、好適読取
面を長期間にわたって白色状態に維持することができ、
シェーディングデータを生成する上で、このような好適
読取面を対象領域として読取る可能性を有するので、シ
ェーディングデータの濃度均一性をより一層高レベルに
維持することができる。
According to the thirty-seventh aspect, the second aspect is provided.
39. The shading data creation method according to any one of 9 to 36, wherein the roller has a center of curvature on a straight line perpendicular to the roller axis on its outer peripheral surface, and has a curved surface located inside the maximum outer peripheral surface locus of the roller. Since the roller having the formed preferable reading surface is used, the preferable reading surface is hard to be stained because it is difficult to come in contact with the original even when the original is repeatedly conveyed. Since it is difficult to collect on the top and easy to clean, the suitable reading surface can be maintained in a white state for a long time,
In generating shading data, there is a possibility that such a suitable reading surface is read as a target area, so that the density uniformity of shading data can be maintained at a higher level.

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

【図1】本発明の第一の実施の形態の複写機の概略構造
を示す縦断正面図である。
FIG. 1 is a vertical sectional front view showing a schematic structure of a copying machine according to a first embodiment of the present invention.

【図2】第2の読取ローラ付近の原稿搬送経路を拡大し
て示す縦断正面図である。
FIG. 2 is an enlarged longitudinal front view showing a document conveying path near a second reading roller.

【図3】第2の読取ローラを拡大して縦断正面図であ
る。
FIG. 3 is an enlarged vertical sectional front view of a second reading roller.

【図4】複写機の制御系の電気的な接続を示す概略ブロ
ック図である。
FIG. 4 is a schematic block diagram showing an electrical connection of a control system of the copying machine.

【図5】第2の画像読取部内部の電気的なハードウェア
構成に対する制御系を示す概略ブロック図である。
FIG. 5 is a schematic block diagram illustrating a control system for an electrical hardware configuration inside a second image reading unit.

【図6】ゲート信号の基本的なタイミングを示すタイミ
ングチャートである。
FIG. 6 is a timing chart showing basic timing of a gate signal.

【図7】所定幅の対象領域について示す縦断正面であ
る。
FIG. 7 is a longitudinal sectional front view showing a target area having a predetermined width.

【図8】シェーディング補正を行うための回路構成を示
す概略ブロック図である。
FIG. 8 is a schematic block diagram illustrating a circuit configuration for performing shading correction.

【図9】所定幅の対象領域について示す説明図である。FIG. 9 is an explanatory diagram showing a target area having a predetermined width.

【図10】読取ローラに対する読取り動作の制御例を示
すフローチャートである。
FIG. 10 is a flowchart illustrating a control example of a reading operation for a reading roller.

【図11】全面汚れの異常に関する制御例を示すフロー
チャートである。
FIG. 11 is a flowchart illustrating an example of control relating to an abnormality in overall surface contamination.

【図12】読取ローラの変形例を示す正面図である。FIG. 12 is a front view showing a modification of the reading roller.

【図13】本発明の第二の実施の形態の所定幅の対象領
域について示す説明図である。
FIG. 13 is an explanatory diagram illustrating a target area having a predetermined width according to the second embodiment of this invention.

【図14】シェーディング補正を行うための回路構成を
示す概略ブロック図である。
FIG. 14 is a schematic block diagram illustrating a circuit configuration for performing shading correction.

【図15】読取ローラに対する読取り動作の制御例を示
すフローチャートである。
FIG. 15 is a flowchart illustrating a control example of a reading operation for a reading roller.

【図16】本発明の第三の実施の形態のシェーディング
補正を行うための回路構成を示す概略ブロック図であ
る。
FIG. 16 is a schematic block diagram illustrating a circuit configuration for performing shading correction according to a third embodiment of the present invention.

【図17】読取ローラに対する読取り動作の制御例を示
すフローチャートである。
FIG. 17 is a flowchart illustrating a control example of a reading operation for a reading roller.

【図18】本発明の第四の実施の形態の読取領域につい
て示す説明図である。
FIG. 18 is an explanatory diagram showing a reading area according to the fourth embodiment of the present invention.

【図19】その読取り処理例を模式的に示す説明図であ
る。
FIG. 19 is an explanatory diagram schematically showing an example of the reading process.

【図20】読取ローラに対する読取り動作の制御例を示
すフローチャートである。
FIG. 20 is a flowchart illustrating a control example of a reading operation for a reading roller.

【図21】読取ローラと読取領域との関係を示す正面図
である。
FIG. 21 is a front view illustrating a relationship between a reading roller and a reading area.

【図22】画像読取部の変形例を示す概略正面図であ
る。
FIG. 22 is a schematic front view showing a modification of the image reading unit.

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

1 画像読取装置 4 画像読取部 7 原稿搬送経路 12 白色ローラ 13,13a〜13c 好適読取面 20 用紙 26 駆動源 42 光電変換素子 50 対象領域 52 白シェーディング補正手段 53,54 平均値算出手段 55 比較手段、判定手段、シェーディングデータ
決定手段 62 白シェーディング補正手段 63 平均値算出手段 64 比較手段 65 計数手段 72 白シェーディング補正手段 74 計数手段 75 比較手段 81 光電変換素子 84 縮小光学系 85 画像読取部
REFERENCE SIGNS LIST 1 image reading device 4 image reading section 7 document conveying path 12 white roller 13, 13a to 13c suitable reading surface 20 paper 26 drive source 42 photoelectric conversion element 50 target area 52 white shading correction means 53, 54 average value calculation means 55 comparison means Determination means, shading data determination means 62 white shading correction means 63 average value calculation means 64 comparison means 65 counting means 72 white shading correction means 74 counting means 75 comparison means 81 photoelectric conversion element 84 reduction optical system 85 image reading section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 服部 仁 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 (72)発明者 久保 宏 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 Fターム(参考) 5B047 AA01 BA01 BB02 CB21 CB25 DA04 DC20 5C062 AA05 AB17 AB29 AB42 AC21 AC58 AC61 BA00 5C072 AA01 BA08 BA13 FB12 NA01 RA16 UA02 UA11 UA20 XA01 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Hitoshi Hattori 1-3-6 Nakamagome, Ota-ku, Tokyo Inside Ricoh Company (72) Inventor Hiroshi Kubo 1-3-6 Nakamagome, Ota-ku, Tokyo Share F term in Ricoh Company (reference) 5B047 AA01 BA01 BB02 CB21 CB25 DA04 DC20 5C062 AA05 AB17 AB29 AB42 AC21 AC58 AC61 BA00 5C072 AA01 BA08 BA13 FB12 NA01 RA16 UA02 UA11 UA20 XA01

Claims (37)

【特許請求の範囲】[Claims] 【請求項1】 原稿が搬送される原稿搬送経路と、 この原稿搬送経路上を搬送される原稿に対して読取位置
が設定されて前記原稿の画像を読取る光電変換素子を有
する画像読取部と、 前記原稿搬送経路を挟んで前記画像読取部による前記読
取位置に対向配置されて駆動源により原稿搬送方向に回
転駆動される白色ローラと、 前記光電変換素子により前記白色ローラ周面上の所定幅
の対象領域を読取る読取手段と、 この読取手段により読取られた前記対象領域内の読取り
データに基づく比較データを基準値と比較する比較手段
と、 この比較手段による比較結果により前記対象領域内の汚
れの程度が許容できるか否かを判断する判断手段と、 この判断手段による判断結果が許容できる場合には前記
対象領域内の読取りデータを用いて算出された値をシェ
ーディングデータとして決定するシェーディングデータ
決定手段と、 このシェーディングデータ決定手段により決定されたシ
ェーディングデータを用いて前記光電変換手段により読
取った原稿の画像データを白シェーディング補正する白
シェーディング補正手段と、を備える画像読取装置。
An image reading section having a document transport path on which a document is transported, a photoelectric conversion element for setting a reading position for the document transported on the document transport path, and reading an image of the document; A white roller that is disposed opposite to the reading position of the image reading unit with the document conveying path interposed therebetween and is driven to rotate in the document conveying direction by a driving source; and a predetermined width on the peripheral surface of the white roller by the photoelectric conversion element. Reading means for reading the target area; comparing means for comparing comparison data based on the read data in the target area read by the reading means with a reference value; Determining means for determining whether or not the degree is acceptable; and when the determination result by the determining means is acceptable, calculation is performed using read data in the target area. Shading data determining means for determining a value as shading data, and white shading correcting means for performing white shading correction on image data of a document read by the photoelectric conversion means using the shading data determined by the shading data determining means. Image reading device provided.
【請求項2】 原稿が搬送される原稿搬送経路と、 この原稿搬送経路上を搬送される原稿に対して読取位置
が設定されて前記原稿の画像を読取る光電変換素子を有
する画像読取部と、 前記原稿搬送経路を挟んで前記画像読取部による前記読
取位置に対向配置されて駆動源により原稿搬送方向に回
転駆動される白色ローラと、 前記光電変換素子により前記白色ローラ周面上の所定幅
の対象領域を含む全周を読取る読取手段と、 この読取手段により読取られた前記対象領域内の読取り
データの各画素毎の平均値と全周分の読取りデータの各
画素毎の全周平均値とを算出する平均値算出手段と、 この平均値算出手段により算出された各画素毎の前記平
均値を基準値としての各画素毎の前記全周平均値と比較
する比較手段と、 この比較手段による比較結果により前記対象領域内の画
素毎の汚れの程度が許容できるか否かを判断する判断手
段と、 この判断手段による判断結果が許容できる画素の場合に
は当該画素の前記平均値をシェーディングデータとして
決定するシェーディングデータ決定手段と、 このシェーディングデータ決定手段により決定されたシ
ェーディングデータを用いて前記光電変換手段により読
取った原稿の画像データを白シェーディング補正する白
シェーディング補正手段と、を備える画像読取装置。
An image reading section having a document transport path on which the document is transported, a photoelectric conversion element for setting a reading position for the document transported on the document transport path, and reading an image of the document; A white roller that is disposed opposite to the reading position of the image reading unit with the document conveying path interposed therebetween and is driven to rotate in the document conveying direction by a driving source; and a predetermined width on the peripheral surface of the white roller by the photoelectric conversion element. Reading means for reading the entire circumference including the target area; an average value for each pixel of read data in the target area read by the reading means for each pixel; Average value calculating means for calculating the average value for each pixel calculated by the average value calculating means, and comparing means for comparing the average value for each pixel as a reference value with the entire circumference average value for each pixel, ratio Judging means for judging whether or not the degree of dirt for each pixel in the target area is acceptable based on the comparison result; and, if the judgment result by the judging means is an acceptable pixel, the average value of the pixel is represented by shading data. An image reading apparatus comprising: a shading data determining unit that determines the image data; and a white shading correcting unit that performs white shading correction on image data of a document read by the photoelectric conversion unit using the shading data determined by the shading data determining unit. .
【請求項3】 前記シェーディングデータ決定手段は、
前記判断手段による判断結果が許容できない画素の場合
には当該画素の前記全周平均値をシェーディングデータ
として決定する請求項2記載の画像読取装置。
3. The shading data determining means according to claim 1,
3. The image reading apparatus according to claim 2, wherein, when the result of the determination by the determination unit is an unacceptable pixel, the entire circumference average value of the pixel is determined as shading data.
【請求項4】 前記読取手段は、前記白色ローラの全周
分の読取りを前記白色ローラのローラ径に基づき予め設
定された主走査ライン数により規定する請求項2又は3
記載の画像読取装置。
4. The reading device according to claim 2, wherein the reading means defines the reading of the entire circumference of the white roller by a predetermined number of main scanning lines based on the roller diameter of the white roller.
The image reading device according to claim 1.
【請求項5】 前記読取手段は、前記白色ローラの全周
分の読取りを前記白色ローラの1周分の回転期間を示す
ゲート信号により規定する請求項2又は3記載の画像読
取装置。
5. The image reading apparatus according to claim 2, wherein the reading unit defines reading of the entire circumference of the white roller by a gate signal indicating a rotation period of one rotation of the white roller.
【請求項6】 原稿が搬送される原稿搬送経路と、 この原稿搬送経路上を搬送される原稿に対して読取位置
が設定されて前記原稿の画像を読取る光電変換素子を有
する画像読取部と、 前記原稿搬送経路を挟んで前記画像読取部による前記読
取位置に対向配置されて駆動源により原稿搬送方向に回
転駆動される白色ローラと、 前記光電変換素子により前記白色ローラ周面上の所定幅
の対象領域のみを読取る読取手段と、 この読取手段により読取られた前記対象領域内の読取り
データに基づく比較データを予め設定されている基準値
と比較する比較手段と、 この比較手段による比較結果により前記対象領域内の汚
れの程度が許容できるか否かを判断する判断手段と、 この判断手段による判断結果が許容できる場合には前記
対象領域内の読取りデータを用いて算出された値をシェ
ーディングデータとして決定するシェーディングデータ
決定手段と、 このシェーディングデータ決定手段により決定されたシ
ェーディングデータを用いて前記光電変換手段により読
取った原稿の画像データを白シェーディング補正する白
シェーディング補正手段と、を備える画像読取装置。
6. A document transport path on which a document is transported, an image reading unit having a photoelectric conversion element for setting a reading position for the document transported on the document transport path and reading an image of the document, A white roller that is disposed opposite to the reading position of the image reading unit with the document conveying path interposed therebetween and is driven to rotate in the document conveying direction by a driving source; and a predetermined width on the peripheral surface of the white roller by the photoelectric conversion element. Reading means for reading only the target area; comparing means for comparing comparison data based on the read data in the target area read by the reading means with a preset reference value; Judging means for judging whether the degree of dirt in the target area is acceptable; and, if the judgment result by the judging means is acceptable, reading data in the target area. Shading data determining means for determining a value calculated using the shading data as shading data, and white shading correction of the image data of the original read by the photoelectric conversion means using the shading data determined by the shading data determining means. An image reading device comprising:
【請求項7】 前記対象領域内の読取りデータの各画素
毎の平均値を比較データとして算出する平均値算出手段
を備え、 前記比較手段は各画素毎の平均値を前記基準値と比較
し、 前記判断手段は前記比較手段による比較結果により前記
対象領域内の各画素毎の汚れの程度が許容できるか否か
を判断し、 前記シェーディングデータ決定手段は判断結果が許容で
きる画素の場合には当該画素の前記平均値をシェーディ
ングデータとして決定する請求項6記載の画像読取装
置。
7. An average value calculating means for calculating an average value of read data in the target area for each pixel as comparison data, wherein the comparing means compares the average value of each pixel with the reference value, The determining means determines whether or not the degree of contamination of each pixel in the target area is allowable based on a comparison result by the comparing means. The image reading device according to claim 6, wherein the average value of the pixels is determined as shading data.
【請求項8】 前記シェーディングデータ決定手段は、
前記判断手段による判断結果が許容できない画素の場合
には予め設定されている前記基準値をシェーディングデ
ータとして決定する請求項7記載の画像読取装置。
8. The shading data determination means,
8. The image reading apparatus according to claim 7, wherein the reference value set in advance is determined as shading data when the result of the determination by the determination unit is an unacceptable pixel.
【請求項9】 前記対象領域内の主走査ライン毎に予め
設定されているレベル値よりも小さな読取りデータとな
る画素数を比較データとして計数する計数手段を備え、 前記比較手段は主走査ライン毎に計数された前記画素数
を前記基準値と比較し、 前記判断手段は前記比較手段による比較結果により前記
対象領域内の各主走査ライン毎の汚れの程度が許容でき
るか否かを判断し、 前記シェーディングデータ決定手段は判断結果が許容で
きる主走査ラインの場合には当該主走査ラインの読取り
データを用いて算出された値をシェーディングデータと
して決定する請求項6記載の画像読取装置。
9. A counting means for counting, as comparison data, the number of pixels that become read data smaller than a preset level value for each main scanning line in the target area, wherein the comparing means is provided for each main scanning line. Comparing the number of pixels counted in the above with the reference value, the determining means determines whether the degree of dirt for each main scanning line in the target area is acceptable based on the comparison result by the comparing means, 7. The image reading apparatus according to claim 6, wherein the shading data determination unit determines, as the shading data, a value calculated using read data of the main scanning line when the determination result is an acceptable main scanning line.
【請求項10】 前記シェーディングデータ決定手段
は、前記判断手段による判断結果が許容できない主走査
ラインの場合にはその主走査ラインのデータとして予め
設定されている前記レベル値を用いる請求項9記載の画
像読取装置。
10. The shading data determination unit according to claim 9, wherein, when the determination result by the determination unit is an unacceptable main scanning line, the level value preset as data of the main scanning line is used. Image reading device.
【請求項11】 原稿が搬送される原稿搬送経路と、 この原稿搬送経路上を搬送される原稿に対して読取位置
が設定されて前記原稿の画像を読取る光電変換素子を有
する画像読取部と、 前記原稿搬送経路を挟んで前記画像読取部による前記読
取位置に対向配置されて駆動源により原稿搬送方向に回
転駆動される白色ローラと、 前記光電変換素子により前記白色ローラ周面上の所定幅
の対象領域を含みこの対象領域を越える領域分を読取る
読取手段と、 この読取手段により読取られた読取りデータについて主
走査ライン毎に予め設定されているレベル値よりも小さ
な読取りデータとなる画素数を比較データとして計数す
る計数手段と、 この計数手段により主走査ライン毎に計数された前記画
素数を予め設定されている基準値と比較する比較手段
と、 この比較手段による比較結果により主走査ライン毎の汚
れの程度が許容できる程度であるか否かを決定し、この
決定処理を許容できる主走査ライン数が所定ライン数に
達するまで繰返す判断手段と、 この判断手段による決定処理が所定ライン数に達するま
で繰返されて判断結果が許容できる場合にはその所定ラ
イン数の読取りデータを用いて算出された値をシェーデ
ィングデータとして決定するシェーディングデータ決定
手段と、 このシェーディングデータ決定手段により決定されたシ
ェーディングデータを用いて前記光電変換手段により読
取った原稿の画像データを白シェーディング補正する白
シェーディング補正手段と、を備える画像読取装置。
11. An image reading section having a document transport path on which a document is transported, a photoelectric conversion element having a reading position set for the document transported on the document transport path and reading an image of the document, A white roller that is disposed opposite to the reading position of the image reading unit with the document conveying path interposed therebetween and is driven to rotate in the document conveying direction by a driving source; and a predetermined width on the peripheral surface of the white roller by the photoelectric conversion element. A reading unit for reading an area including the target area and exceeding the target area is compared with the number of pixels of read data read by the reading unit which becomes read data smaller than a preset level value for each main scanning line. A counting means for counting as data, and a comparing means for comparing the number of pixels counted for each main scanning line by the counting means with a preset reference value. Determining whether or not the degree of dirt for each main scanning line is acceptable based on the comparison result by the comparing means, and repeating this determination processing until the allowable number of main scanning lines reaches a predetermined number of lines. And a shading data determining means for determining the value calculated by using the read data of the predetermined number of lines as shading data if the determination result by the determining means is repeated until the predetermined number of lines is reached and the determination result is acceptable. An image reading apparatus comprising: a white shading correction unit configured to perform white shading correction on image data of a document read by the photoelectric conversion unit using the shading data determined by the shading data determination unit.
【請求項12】 前記判断手段の判断結果が許容できな
い場合には前記対象領域の位置を前記白色ローラ周面上
で移動させる対象領域位置移動手段を備える請求項1な
いし11の何れか一記載の画像読取装置。
12. The apparatus according to claim 1, further comprising a target area position moving means for moving the position of the target area on the peripheral surface of the white roller when the result of the judgment by the judgment means is not acceptable. Image reading device.
【請求項13】 前記対象領域位置移動手段は前記判断
手段により許容できない判断結果が得られた時点で次回
からの前記対象領域の位置を移動させる請求項12記載
の画像読取装置。
13. The image reading apparatus according to claim 12, wherein the target area position moving means moves the position of the target area from the next time when an unacceptable judgment result is obtained by the judgment means.
【請求項14】 前記対象領域位置移動手段は前記判断
手段により許容できない判断結果が所定回数得られた時
点で次回からの前記対象領域の位置を移動させる請求項
12記載の画像読取装置。
14. The image reading apparatus according to claim 12, wherein the target area position moving means moves the position of the target area from the next time when a determination result that is not acceptable by the determining means is obtained a predetermined number of times.
【請求項15】 前記対象領域位置移動手段は前記対象
領域の位置を順次移動させた場合に元の対象領域の位置
に戻らない角度ずつ移動させる請求項12ないし14の
何れか一記載の画像読取装置。
15. The image reading apparatus according to claim 12, wherein the target area position moving means moves the target area by an angle that does not return to the original target area position when the target area is sequentially moved. apparatus.
【請求項16】 前記対象領域位置移動手段は前記対象
領域の位置を不均等な角度ずつ順次移動させる請求項1
2ないし14の何れか一記載の画像読取装置。
16. The target area position moving means sequentially moves the position of the target area by unequal angles.
15. The image reading device according to any one of 2 to 14.
【請求項17】 前記判断手段による許容できないとの
判断結果を累計監視して前記白色ローラ全周にわたる汚
れを検出する全周汚れ検出手段と、 この全周汚れ検出手段により白色ローラ全周の汚れが検
出された場合に警告を発する警告手段と、を備える請求
項12ないし16の何れか一記載の画像読取装置。
17. A full-circumference dirt detecting means for cumulatively monitoring the judgment result by the judging means that it is unacceptable to detect dirt over the entire circumference of the white roller; 17. The image reading apparatus according to claim 12, further comprising: a warning unit that issues a warning when the image is detected.
【請求項18】 前記白色ローラは真円形状のローラで
ある請求項1ないし17の何れか一記載の画像読取装
置。
18. The image reading apparatus according to claim 1, wherein said white roller is a perfect circular roller.
【請求項19】 前記白色ローラはその外周面に当該ロ
ーラ軸心と直交する直線上に曲率中心を有し当該ローラ
の最大外周面軌跡の内側に位置する曲面で形成された好
適読取面を有するローラである請求項1ないし17の何
れか一記載の画像読取装置。
19. The white roller has, on its outer peripheral surface, a preferable reading surface formed of a curved surface having a center of curvature on a straight line orthogonal to the roller axis and located inside the locus of the maximum outer peripheral surface of the roller. The image reading device according to claim 1, wherein the image reading device is a roller.
【請求項20】 前記対象領域の所定幅は前記好適読取
面の幅よりも狭く設定されている請求項19記載の画像
読取装置。
20. The image reading apparatus according to claim 19, wherein a predetermined width of the target area is set to be smaller than a width of the preferred reading surface.
【請求項21】 前記白色ローラは前記好適読取面を周
面上に複数個有する請求項19又は20記載の画像読取
装置。
21. The image reading apparatus according to claim 19, wherein the white roller has a plurality of the preferable reading surfaces on a peripheral surface.
【請求項22】 複数個の前記好適読取面は前記白色ロ
ーラの周面上で等間隔で設けられている請求項21記載
の画像読取装置。
22. The image reading apparatus according to claim 21, wherein the plurality of preferable reading surfaces are provided at equal intervals on a peripheral surface of the white roller.
【請求項23】 複数個の前記好適読取面は前記白色ロ
ーラの周面上で不均一な間隔で設けられている請求項2
1記載の画像読取装置。
23. A plurality of preferred reading surfaces are provided at uneven intervals on a peripheral surface of the white roller.
2. The image reading device according to 1.
【請求項24】 前記白色ローラはその外周面に当該ロ
ーラ軸心と直交する直線上に曲率中心を有し当該ローラ
の最大外周面軌跡の内側に位置する曲面で形成された好
適読取面を周面上に等間隔で複数個有し、前記読取手段
は少なくとも前記好適読取面の個数で全周を等分した角
度分の範囲を読取る請求項11記載の画像読取装置。
24. The white roller has a center of curvature on a straight line perpendicular to the roller axis on its outer peripheral surface, and has a suitable reading surface formed by a curved surface located inside the locus of the maximum outer peripheral surface of the roller. 12. The image reading apparatus according to claim 11, wherein a plurality of reading sections are provided at equal intervals on the surface, and the reading means reads a range of an angle obtained by equally dividing the entire circumference by at least the number of the preferable reading surfaces.
【請求項25】 前記画像読取部は前記光電変換素子自
身が前記読取位置に配置された密着型イメージセンサで
ある請求項1ないし24の何れか一記載の画像読取装
置。
25. The image reading apparatus according to claim 1, wherein the image reading section is a contact image sensor in which the photoelectric conversion element itself is arranged at the reading position.
【請求項26】 前記画像読取部は前記読取位置の光情
報を前記光電変換素子に縮小結像させて読取る縮小光学
系を含む請求項1ないし24の何れか一記載の画像読取
装置。
26. The image reading apparatus according to claim 1, wherein the image reading section includes a reduction optical system configured to read out the optical information at the reading position by forming a reduced image on the photoelectric conversion element.
【請求項27】 請求項1ないし26の何れか一記載の
画像読取装置を備え、 この画像読取装置により読取られた原稿の画像データに
基づいて記録媒体上に画像を形成する画像形成装置。
27. An image forming apparatus comprising: the image reading device according to claim 1; and forming an image on a recording medium based on image data of a document read by the image reading device.
【請求項28】 請求項1ないし26の何れか一記載の
画像読取装置を備え、 この画像読取装置により読取られた原稿の画像データを
通信網を介して送信先に送信出力するファクシミリ装
置。
28. A facsimile apparatus comprising the image reading device according to claim 1, and transmitting and outputting image data of a document read by the image reading device to a destination via a communication network.
【請求項29】 原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域を含む全周
を読取る読取工程と、 この読取工程により読取られた前記対象領域内の読取り
データの各画素毎の平均値と全周分の読取りデータの各
画素毎の全周平均値とを算出する平均値算出工程と、 この平均値算出工程により算出された各画素毎の平均値
を各画素毎の前記全周平均値と比較する比較工程と、 この比較工程による比較結果により前記対象領域内の画
素毎の汚れの程度が許容できるか否かを判断する判断工
程と、 この判断工程による判断結果が許容できる画素の場合に
は当該画素の前記平均値をシェーディングデータとして
決定するシェーディングデータ決定工程と、を備えるシ
ェーディングデータ作成方法。
29. A peripheral surface of a white roller disposed opposite to the reading position with the photoelectric conversion element of an image reading unit in which a reading position is set for a document conveyed on the document conveying path sandwiching the document conveying path. A reading step of reading the entire circumference including the target area having the upper predetermined width, and an average value of each pixel of read data in the target area read in the target area and a read data of each pixel of the entire circumference. An average value calculating step of calculating an average value of the entire circumference; a comparing step of comparing the average value of each pixel calculated in the average value calculating step with the average value of the entire circumference of each pixel; A judging step of judging whether or not the degree of dirt for each pixel in the target area is acceptable based on the comparison result; and, if the judgment result in this judging step is an acceptable pixel, the average value of the pixel is determined by shading data. Shading data generation method and a shading data determination step of determining a.
【請求項30】 前記シェーディングデータ決定工程
は、前記判断工程による判断結果が許容できない画素の
場合には当該画素の前記全周平均値をシェーディングデ
ータとして決定する請求項29記載のシェーディングデ
ータ作成方法。
30. The shading data generation method according to claim 29, wherein in the shading data determining step, when the result of the determination in the determining step is an unacceptable pixel, the entire circumference average value of the pixel is determined as shading data.
【請求項31】 原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域のみを読取
る読取工程と、 この読取工程により読取られた前記対象領域内の読取り
データの各画素毎の平均値を算出する平均値算出工程
と、 この平均値算出工程により算出された各画素毎の平均値
を予め設定されている基準値と比較する比較工程と、 この比較工程による比較結果により前記対象領域内の各
画素毎の汚れの程度が許容できるか否かを判断する判断
工程と、 この判断工程による判断結果が許容できる画素の場合に
は当該画素の前記平均値をシェーディングデータとして
決定するシェーディングデータ決定工程と、を備えるシ
ェーディングデータ作成方法。
31. A peripheral surface of a white roller which is opposed to the reading position with the photoelectric conversion element of an image reading unit in which a reading position is set for a document conveyed on the document conveying path sandwiching the document conveying path. A reading step of reading only the target area having the upper predetermined width; an average value calculating step of calculating an average value for each pixel of read data in the target area read in the reading step; A comparison step of comparing the calculated average value of each pixel with a preset reference value; and, based on a result of the comparison step, determining whether the degree of contamination of each pixel in the target area is acceptable. A judging step of judging, and a shading data determining step of determining the average value of the pixel as shading data when the judgment result in the judging step is acceptable. Shading data creation method to obtain.
【請求項32】 前記シェーディングデータ決定工程
は、前記判断工程による判断結果が許容できない画素の
場合には予め設定されている前記基準値を当該画素のシ
ェーディングデータとして決定する請求項31記載のシ
ェーディングデータ作成方法。
32. The shading data according to claim 31, wherein the shading data determining step determines the preset reference value as shading data of the pixel when the result of the determination in the determining step is an unacceptable pixel. How to make.
【請求項33】 原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域のみを読取
る読取工程と、 この読取工程により読取られた前記対象領域内の主走査
ライン毎に予め設定されているレベル値よりも小さな読
取りデータとなる画素数を計数する計数工程と、 この計数工程により主走査ライン毎に計数された前記画
素数を予め設定されている基準値と比較する比較工程
と、 この比較工程の比較結果により前記対象領域内の各主走
査ライン毎の汚れの程度が許容できるか否かを判断する
判断工程と、 この判断工程による判断結果が許容できる主走査ライン
の場合には当該主走査ラインの読取りデータを用いて算
出された値をシェーディングデータとして決定するシェ
ーディングデータ決定工程と、を備えるシェーディング
データ作成方法。
33. A peripheral surface of a white roller which is opposed to the reading position with the photoelectric conversion element of an image reading unit in which a reading position is set for a document conveyed on the document conveying path sandwiching the document conveying path. A reading step of reading only the target area having the upper predetermined width, and counting the number of pixels having read data smaller than a preset level value for each main scanning line in the target area read in the reading step. A counting step; a comparing step of comparing the number of pixels counted for each main scanning line by the counting step with a preset reference value; and a main scanning line in the target area based on a comparison result of the comparing step. A judgment step of judging whether or not the degree of dirt is acceptable for each main scanning line. Shading data generating method comprising: a shading data determination step of determining a value calculated had as shading data.
【請求項34】 前記シェーディングデータ決定工程
は、前記判断工程による判断結果が許容できない主走査
ラインの場合には予め設定されている前記レベル値を用
いて算出された値をシェーディングデータとして決定す
る請求項32記載のシェーディングデータ作成方法。
34. The shading data determining step determines a value calculated using the preset level value as shading data when the result of the determination in the main scanning line is unacceptable. Item 36. The shading data creation method according to Item 32.
【請求項35】 前記判断工程の判断結果が許容できな
い場合には前記対象領域の位置を前記白色ローラ周面上
で移動させる対象領域位置移動工程を備える請求項29
ないし34の何れか一記載のシェーディングデータ作成
方法。
35. A target area position moving step of moving the position of the target area on the peripheral surface of the white roller when the result of the judgment step is unacceptable.
35. The shading data creation method according to any one of claims 34.
【請求項36】 原稿搬送経路上を搬送される原稿に対
して読取位置が設定された画像読取部の光電変換素子に
より前記原稿搬送経路を挟んで前記読取位置に対向配置
された白色ローラ周面上の所定幅の対象領域を含みこの
対象領域を越える領域分を読取る読取工程と、 この読取工程により読取られた読取りデータについて主
走査ライン毎に予め設定されているレベル値よりも小さ
な読取りデータとなる画素数を計数する計数工程と、 この計数工程により主走査ライン毎に計数された前記画
素数を予め設定されている基準値と比較する比較工程
と、 この比較工程による比較結果により主走査ライン毎の汚
れの程度が許容できる程度であるか否かを決定し、この
決定処理を許容できる主走査ライン数が所定ライン数に
達するまで繰返す判断工程と、 この判断工程による決定処理が所定ライン数に達するま
で繰返されて判断結果が許容できる場合にはその所定ラ
イン数の読取りデータを用いて算出された値をシェーデ
ィングデータとして決定するシェーディングデータ決定
工程と、を備えるシェーディングデータ作成方法。
36. A peripheral surface of a white roller which is opposed to the reading position with the photoelectric conversion element of an image reading unit in which a reading position is set for a document conveyed on the document conveying path sandwiching the document conveying path. A reading step of reading an area including the target area having the upper predetermined width and exceeding the target area; and reading data smaller than a level value preset for each main scanning line for the read data read in the reading step. A counting step of counting the number of pixels, a comparing step of comparing the number of pixels counted for each main scanning line by the counting step with a preset reference value, and a main scanning line based on a comparison result of the comparing step. A determining step of determining whether or not the degree of dirt is acceptable for each case, and repeating this determination processing until the allowable number of main scanning lines reaches a predetermined number of lines And a shading data determining step of determining a value calculated by using the read data of the predetermined number of lines as shading data if the determination process is repeated until the predetermined number of lines is reached and the determination result is acceptable. And a shading data creation method comprising:
【請求項37】 前記読取工程で読取対象とする前記白
色ローラとしてその外周面に当該ローラ軸心と直交する
直線上に曲率中心を有し当該ローラの最大外周面軌跡の
内側に位置する曲面で形成された好適読取面を有するロ
ーラを用いる請求項29ないし36の何れか一記載のシ
ェーディングデータ作成方法。
37. The white roller to be read in the reading step has a center of curvature on a straight line orthogonal to the roller axis on the outer peripheral surface thereof and is a curved surface located inside the locus of the maximum outer peripheral surface of the roller. 37. The shading data creation method according to claim 29, wherein a roller having a suitable reading surface is used.
JP2001085509A 2001-03-23 2001-03-23 Image scanner, imaging device, facsimile machine, and shading data forming method Pending JP2002290671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001085509A JP2002290671A (en) 2001-03-23 2001-03-23 Image scanner, imaging device, facsimile machine, and shading data forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001085509A JP2002290671A (en) 2001-03-23 2001-03-23 Image scanner, imaging device, facsimile machine, and shading data forming method

Publications (1)

Publication Number Publication Date
JP2002290671A true JP2002290671A (en) 2002-10-04

Family

ID=18941010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001085509A Pending JP2002290671A (en) 2001-03-23 2001-03-23 Image scanner, imaging device, facsimile machine, and shading data forming method

Country Status (1)

Country Link
JP (1) JP2002290671A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141947A (en) * 2007-11-12 2009-06-25 Ricoh Co Ltd Apparatus, method and program for processing image
JP2011030174A (en) * 2009-06-26 2011-02-10 Ricoh Co Ltd Image reading unit, image reading device, and image forming device
JP2012054816A (en) * 2010-09-02 2012-03-15 Ricoh Co Ltd Image reading device, image formation device, and shading correction method
JP2015012517A (en) * 2013-06-28 2015-01-19 株式会社リコー Image reading device, image forming apparatus, and image reading method
JP2020123937A (en) * 2019-01-31 2020-08-13 ブラザー工業株式会社 Reading device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141947A (en) * 2007-11-12 2009-06-25 Ricoh Co Ltd Apparatus, method and program for processing image
JP2011030174A (en) * 2009-06-26 2011-02-10 Ricoh Co Ltd Image reading unit, image reading device, and image forming device
JP2012054816A (en) * 2010-09-02 2012-03-15 Ricoh Co Ltd Image reading device, image formation device, and shading correction method
JP2015012517A (en) * 2013-06-28 2015-01-19 株式会社リコー Image reading device, image forming apparatus, and image reading method
JP2020123937A (en) * 2019-01-31 2020-08-13 ブラザー工業株式会社 Reading device
JP7230542B2 (en) 2019-01-31 2023-03-01 ブラザー工業株式会社 reader

Similar Documents

Publication Publication Date Title
JP4148655B2 (en) Image reading apparatus, image forming apparatus, and white reference data creation method
JP2010148061A (en) Image reading apparatus and non-magnification power adjusting method
JP2002290671A (en) Image scanner, imaging device, facsimile machine, and shading data forming method
JPH11355517A (en) Digital image forming device
JP2003333327A (en) Image reader and copying machine
JP2002290686A (en) Image scanner, image device, and facsimile machine
JP2000032244A (en) Image reader and image formation device
JP2004222180A (en) Image processor
JP2004266522A (en) Digital picture reader
JP4326733B2 (en) Image reading device
JP2003092669A (en) Image reader, image forming apparatus and facsimile machine
JP2003101734A (en) Image-reading apparatus, image-forming apparatus, and facsimile apparatus
JP2001331010A (en) Image forming device
JPH09284479A (en) Digital copying machine
JP2006245995A (en) Image-reading apparatus
JP2004266512A (en) Digital picture reader
JPH0818748A (en) Picture reader
JPH06166245A (en) Apparatus for automatically correcting printing position
JP2005027017A (en) Image processor
JP2005094482A (en) Digital image reader
JPH06273860A (en) Original size detector
JPH1132221A (en) Image-forming device and gradation characteristic adjustment method for the image-forming device
JP2004015120A (en) Image reading apparatus and image forming apparatus
JP2010219773A (en) Image reader and image forming device
JP2002190926A (en) Image reader and white correcting method in 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