JPH11261816A - Shading correction processor - Google Patents

Shading correction processor

Info

Publication number
JPH11261816A
JPH11261816A JP10080402A JP8040298A JPH11261816A JP H11261816 A JPH11261816 A JP H11261816A JP 10080402 A JP10080402 A JP 10080402A JP 8040298 A JP8040298 A JP 8040298A JP H11261816 A JPH11261816 A JP H11261816A
Authority
JP
Japan
Prior art keywords
white
data
white reference
reading
image
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
JP10080402A
Other languages
Japanese (ja)
Inventor
Toshiki Yamamura
俊己 山村
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 JP10080402A priority Critical patent/JPH11261816A/en
Publication of JPH11261816A publication Critical patent/JPH11261816A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the generation of shading correction processing defects such as the generation of vertical stripes in output images due to dust and stains stuck to a mirror and a lens, the dust and the stains stuck to a white reference whiteboard and image abnormality by the detect of an image sensor further. SOLUTION: This processor is provided with plural white reference white boards for stripulating white data at the time of reading original images, a white data generation part 101 for reading the respective white reference whiteboards and generating the plural reference values of the white data, a vertical stripe detection part 103 for comparing the object picture element of the white data and the peripheral picture elements and extracting singular point where the values of the object picture element and the peripheral picture element are largely different, a storage part 113 for storing the position in the case that the positions of the singular points both coincide in the reference values of the plural white data and a vertical stripe correction part 104 for referring to the peripheral picture element at the position of the singular point and replacing with the value of the peripheral picture element to the read original image data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル複写機、
スキャナ、ファクシミリ等に搭載される画像読取装置の
シェーディング補正処理装置に関するものである。
The present invention relates to a digital copying machine,
The present invention relates to a shading correction processing device of an image reading device mounted on a scanner, a facsimile, or the like.

【0002】[0002]

【従来の技術】複写機、ファクシミリ等の画像形成装置
は、原稿台上にセットされたシート状の原稿の画像を一
次元イメージセンサなどの原稿読み取り手段により、ア
ナログ的に又はデジタル的に読み取る原稿画像読み取り
装置を備えている。原稿画像読み取り装置には、原稿読
み取り手段を固定して原稿を移動させる原稿移動型と、
原稿台上の原稿を固定して読み取り位置を移動させる原
稿固定型とがある。原稿固定型の原稿画像読み取り装置
は、原稿台に原稿がセットされると、原稿を照らすラン
プと照らされたランプの光を受けた原稿の画像を固定さ
れたイメージセンサへ伝えるためのミラーを走査して原
稿を読み取る。また、原稿移動型の原稿画像読み取り装
置の場合は、原稿を照らすランプと照らされたランプの
光を受けた原稿の画像を固定されたイメージセンサへ伝
えるためのミラーは固定され、その上を原稿が移動する
ことにより画像の読み取りを行なう。上記2つのタイプ
の原稿画像読み取り装置のいずれの場合も、原稿を読み
取る際の画像濃度の基準とすべき白色として、原稿画像
読み取りの直前に白の基準として設置された白板(白基
準白板)を読み取り、その値を参考として読み取り原稿
の濃度を決定している。つまり白基準白板は原稿画像読
み取りにおける白を規定し、ダイナミックレンジを決定
することになるため、できるだけ白い板を読み取ること
が要求され、また、設置後にごみなどの付着物が乗らな
いようにすることが必要である。また、ランプの光を受
けた原稿の画像を固定されたイメージセンサへ伝えるた
めのミラーもごみなどの付着物によって光量が変化する
ため、付着物によって画像濃度が本来のものと異なるこ
とがないように細心の注意が必要となる。特に、原稿移
動型の画像読取装置の場合は、原稿台の原稿画像読み取
り位置にごみが付着した場合、原稿が移動して読み取り
を行なう期間中ずっとそのごみによる濃度変化も読み取
ってしまうため、原稿台にごみが付着しないように注意
することが重要である。このような不具合に鑑み、特開
平9−27910号に記載の原稿画像読み取り装置で
は、原稿移動型の原稿画像読み取り装置における原稿台
上のごみによる縦筋発生を抑えるために、原稿読み取り
素子を複数備え、同時に複数の焦点で原稿を読み取るよ
うにしている。
2. Description of the Related Art An image forming apparatus such as a copying machine or a facsimile reads an image of a sheet-like original set on an original platen in an analog or digital manner by an original reading means such as a one-dimensional image sensor. An image reading device is provided. The document image reading device includes a document moving type in which the document reading means is fixed and the document is moved,
There is a document fixed type in which a document on a platen is fixed and a reading position is moved. When a document is set on the platen, the fixed document image scanning device scans a mirror that illuminates the document and a mirror that transmits the image of the document that has received light from the illuminated lamp to a fixed image sensor. And scan the original. Also, in the case of a document moving type document image reading apparatus, a lamp for illuminating the document and a mirror for transmitting an image of the document received by the illuminated lamp to a fixed image sensor are fixed, and the document is placed on the mirror. The image is read by moving. In either case of the above two types of document image reading apparatuses, a white plate (white reference white plate) set as a white reference immediately before reading a document image is used as a white color as a reference of image density when reading a document. The density of the read original is determined with reference to the reading and the value. In other words, the white reference white plate defines white in document image reading and determines the dynamic range.Therefore, it is required to read a white plate as much as possible, and also make sure that no foreign matter such as dust gets on after installation. is necessary. In addition, the mirror for transmitting the image of the document which has received the light of the lamp to the fixed image sensor also changes the amount of light due to foreign matter such as dust, so that the image density does not differ from the original due to the foreign matter. You need to be very careful. In particular, in the case of an original reading type image reading apparatus, if dust adheres to the original reading position on the original platen, the original changes because the original moves and the density change due to the dust is also read during the scanning period. It is important to take care that no debris adheres to the table. In view of such a problem, the document image reading apparatus described in Japanese Patent Application Laid-Open No. 9-27910 has a plurality of document reading elements in order to suppress the generation of vertical streaks due to dust on the document table in the document moving type document image reading apparatus. The original is read at a plurality of focal points at the same time.

【0003】[0003]

【発明が解決しようとする課題】上記のように白基準白
板にごみや汚れがついた場合、原稿の白の基準となるデ
ータがごみのついた位置だけ黒側に移ることになる。そ
して、その黒側に移った基準を採用して原稿画像を読み
取ると、シェーディング補正処理後の画像は本来の画像
濃度より白側へ移行し、結果転写紙などの出力シート上
では白い縦筋となって現れる。また、ミラー上にごみが
乗った場合には、白基準となるデータ、及び読み取った
原稿画像の濃度が共に変化するため、正しいシェーディ
ング補正処理が期待できなくなる。また、特開平9−2
7910号公報に記載の発明では、原稿台上に汚れが付
着したときには効果を発揮するが、白基準白板やミラー
上にごみや汚れが乗った場合の影響を取り除くのには適
していない。そこで本発明の解決すべき課題は、ミラー
やレンズに付着したごみや汚れ、白基準白板に付着した
ごみや汚れ、更にはイメージセンサの不良による画像異
常により、出力画像に縦筋が発生するなどのシェーディ
ング補正処理不良が生じるのを防止することができるシ
ェーディング補正処理装置を提供することにある。
When the white reference white plate is contaminated with dirt or dirt as described above, the data serving as the white reference of the original is shifted to the black side only at the position where the dirt is present. Then, when the original image is read by using the reference shifted to the black side, the image after the shading correction processing shifts to the white side from the original image density, and as a result, white streaks appear on the output sheet such as transfer paper. Appears. In addition, when dust gets on the mirror, both the data serving as the white reference and the density of the read document image change, so that correct shading correction processing cannot be expected. Also, Japanese Patent Application Laid-Open No. 9-2
The invention described in JP 7910 is effective when dirt adheres to the document table, but is not suitable for removing the influence of dirt or dirt on a white reference white plate or a mirror. Therefore, the problem to be solved by the present invention is that dirt and dirt attached to a mirror and a lens, dirt and dirt attached to a white reference white plate, and furthermore, an image abnormality due to a defective image sensor causes vertical streaks in an output image. It is an object of the present invention to provide a shading correction processing device capable of preventing the occurrence of the shading correction processing failure.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、請求項1に記載の発明に係るシェーディング補正処
理装置では、原稿画像を読み取る際の白データを規定す
るための複数の白基準白板と、上記白基準白板をそれぞ
れ読み取って白データの基準値を複数生成する白データ
生成手段と、上記白データの対象画素とその周辺画素と
を比較し、対象画素と周辺画素の値が大きく異なる特異
点を抽出する特異点抽出手段と、上記複数の白データの
基準値において上記特異点の位置が共に一致する場合に
その位置を記憶する位置記憶手段と、読み取った原稿画
像データに対して、上記特異点の位置では周辺画素を参
照し、周辺画素の値に置き換える画素置換手段とを有す
ることにより、ミラーやレンズに付着したごみや汚れ、
更にはイメージセンサの不良による画像異常により、出
力画像に縦筋が発生するなどのシェーディング補正処理
不良が生じるのを防止するようにした。また、請求項2
に記載の発明に係るシェーディング補正処理装置では、
原稿画像を読み取る際の白データを規定するための複数
の白基準白板と、上記白基準白板をそれぞれ読み取って
白データの基準値を複数生成する白データ生成手段と、
上記複数の基準値を比較して、不一致となる位置の白デ
ータの基準値を補正し、参照すべき白基準データを生成
する白データ補正手段と、上記白基準データをもとに、
読み取った原稿画像データを補正する画像データ補正手
段とを備えたことにより、白基準白板に付着したごみや
汚れにより出力画像に白い縦筋が発生するなどのシェー
ディング補正処理不良が生じるのを防止するようにし
た。また、請求項3に記載の発明に係るシェーディング
補正処理装置では、請求項1又は2において、複数の白
基準白板をそれぞれ読み取って白データの基準値を複数
生成する代わりに、一つの白基準白板を読み取って白デ
ータの基準値を複数生成するように構成したことを特徴
としている。
According to a first aspect of the present invention, there is provided a shading correction processing apparatus, comprising: a plurality of white reference white plates for defining white data when reading a document image; And white data generating means for reading each of the white reference white boards to generate a plurality of reference values of white data, and comparing the target pixel of the white data and its peripheral pixels, and the values of the target pixel and the peripheral pixels differ greatly. Singularity extracting means for extracting singularities, position storage means for storing the positions of the singularities when the positions of the singularities coincide with each other in the reference values of the plurality of white data, Reference point at the position of the singular point, and a pixel replacement unit that replaces the value of the peripheral pixel with the value of the peripheral pixel, so that dust or dirt attached to the mirror or lens can be removed.
Further, it is possible to prevent a shading correction processing defect such as a vertical streak from occurring in an output image due to an image abnormality due to a defect in the image sensor. Claim 2
In the shading correction processing device according to the invention described in the above,
A plurality of white reference whiteboards for defining white data when reading a document image, and white data generating means for reading the white reference whiteboards and generating a plurality of white data reference values,
By comparing the plurality of reference values, correcting the reference value of the white data at the position of the mismatch, white data correction means for generating white reference data to be referred to, based on the white reference data,
By providing image data correction means for correcting read original image data, it is possible to prevent shading correction processing defects such as generation of white vertical stripes in an output image due to dust or dirt attached to a white reference white plate. I did it. According to a third aspect of the invention, in the shading correction processing apparatus according to the first or second aspect, instead of reading a plurality of white reference white boards and generating a plurality of white data reference values, one white reference white board is used. Is read and a plurality of reference values of white data are generated.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1(a)〜(c)は本発
明の実施の形態を示す説明図であり、(a)は原稿画像
読み取り装置の概略構成を、(b)は原稿及び白基準白
板と制御信号との関係を、(c)は原稿読み取り面及び
白基準白板と制御信号との関係を、それぞれ例示してい
る。この例では、原稿画像読み取り装置が原稿固定型
で、白基準白板を2つ備えている場合を示している。図
1(a)において、光源205とミラー206は一体と
なって副走査方向(図示左右方向)に移動するように構
成されており、原稿走査開始前は白基準白板(1)20
2の左方に位置しているが、原稿走査が始まると図示右
側に移動し、白基準白板(1)202、白基準白板
(2)203、原稿台204を順次走査していく。原稿
画像の読み取りは、コンタクトガラスなど光を透過する
原稿台204上に固定された原稿Dに対して、光源20
5からの光を照射し、原稿Dからの反射光をミラー20
6で反射し、更にレンズ及び中継ミラー群207によっ
てイメージセンサ(CCD)208の受光面に結像させ
て画像信号に変換することによりなされる。図1(b)
において、SHGATEaは2つの白基準白板(1)2
02及び白基準白板(2)203の範囲内で基準とする
白データをサンプリングする期間に合わせてアクティブ
期間を形成するための信号である。SHGATEaがL
owアクディブの期間は、図1(c)においてA及びB
の期間にあたる。FGATEbは原稿台204の原稿読
み取り面204aのうち、原稿Dの副走査方向の範囲に
合わせてアクティブ期間を形成する。FGATEbがL
owアクティブの場合、図1(c)におけるDの期間を
形成する。LGATEdは原稿読み取り面204aの主
走査方向のアクティブ期間を形成し、LSYNCcは原
稿読み取り面204aの主走査方向の開始合図を示し、
LGATEdのアクティブ期間の直前の一定期間アクテ
ィブとなる。以上の画像制御信号に基づいてシェーディ
ング補正処理その他の画像処理が行なわれる。
Embodiments of the present invention will be described below with reference to the drawings. 1A to 1C are explanatory views showing an embodiment of the present invention, in which FIG. 1A shows a schematic configuration of a document image reading apparatus, and FIG. 1B shows a configuration of a document, a white reference white plate, and a control signal. FIG. 4C illustrates the relationship between the document reading surface, the white reference white plate, and the control signal, respectively. In this example, the document image reading apparatus is a fixed document type and has two white reference white plates. In FIG. 1A, the light source 205 and the mirror 206 are configured to move integrally in the sub-scanning direction (the horizontal direction in the drawing).
2 is moved to the right side in the figure when document scanning starts, and sequentially scans the white reference white plate (1) 202, the white reference white plate (2) 203, and the document table 204. The reading of the original image is performed by scanning the light source 20 with respect to the original D fixed on an original plate 204 that transmits light such as a contact glass.
5 and irradiates the reflected light from the original D with a mirror 20
The light is reflected by the lens 6 and further formed into an image on a light receiving surface of an image sensor (CCD) 208 by a lens and a relay mirror group 207 and converted into an image signal. FIG. 1 (b)
, SHGATEa has two white reference white plates (1) 2
02 and a signal for forming an active period in accordance with a period for sampling white data as a reference within the range of the white reference white plate (2) 203. SHGATEa is L
The period of ow active is indicated by A and B in FIG.
Period. FGATEb forms an active period in accordance with the range of the document D in the sub-scanning direction on the document reading surface 204a of the document table 204. FGATEb is L
In the case of ow active, a period D in FIG. 1C is formed. LGATEd forms an active period of the document reading surface 204a in the main scanning direction, LSYNCc shows a start signal of the document reading surface 204a in the main scanning direction,
It becomes active for a certain period immediately before the active period of LGATEd. Shading correction processing and other image processing are performed based on the above image control signals.

【0006】図2は請求項1に対応する実施の形態の一
例を示す機能ブロック図である。白基準データ生成部1
01はスキャナ入力データ(CCD208の出力信号)
とSHGATEを受け取って、白基準白板(1)202
及び白基準白板(2)203のそれぞれの場合における
白基準データを生成する。白基準白板(1)202を読
み取って得られた白基準データは白基準データ(1)蓄
積部111に、白基準白板(2)203を読み取って得
られた白基準データは白基準データ(2)蓄積部112
に、それぞれ蓄積される。白基準データ生成部101の
構成を図3(a)に示す。白基準データ生成部101の
1ライン目処理部121では原稿画像読み取り装置から
のデータDiを受けて、次式の演算を行い、 D1=a×Di (aは任意の定数) を出力する。加重平均処理部122では原稿画像読み取
り装置からの画像データDiと白基準データDsとを受
けて、 Dk=(b×Ds+Di)/c (bは任意の定数) の加重平均処理をおこない、加重平均結果Dkを出力す
る。その際、一時的にDsよりも著しく濃度が低い(黒
い)画像Diが入力された場合、ごみの可能性が強いの
で、その場合は加重平均処理を行なわずに、そのままD
kを出力する。これにより、副走査方向(CCDによる
スキャン方向に垂直な方向)のごみなどの変動による影
響はほぼ除外される。
FIG. 2 is a functional block diagram showing an example of the first embodiment according to the present invention. White reference data generator 1
01 is scanner input data (output signal of CCD 208)
And SHGATE, the white reference white board (1) 202
And white reference data in each case of the white reference white plate (2) 203. The white reference data obtained by reading the white reference white board (1) 202 is stored in the white reference data (1) storage unit 111, and the white reference data obtained by reading the white reference white board (2) 203 is stored in the white reference data (2). ) Storage unit 112
, Respectively. FIG. 3A shows the configuration of the white reference data generation unit 101. The first line processing unit 121 of the white reference data generation unit 101 receives the data Di from the original image reading device, performs the following calculation, and outputs D1 = a × Di (a is an arbitrary constant). The weighted average processing unit 122 receives the image data Di and the white reference data Ds from the document image reading device, performs a weighted average process of Dk = (b × Ds + Di) / c (b is an arbitrary constant), and performs a weighted average. The result Dk is output. At this time, if an image Di having a density (black) significantly lower than Ds is temporarily input, the possibility of dust is high. In such a case, the weighted average processing is not performed and the D
Output k. This substantially eliminates the influence of fluctuations such as dust in the sub-scanning direction (the direction perpendicular to the scanning direction by the CCD).

【0007】セレクタ(1)123はSHGATEを受
け取って、先ずSHGATEがアクティブで最初の主走
査方向1ライン目の期間の時には1ライン目の処理結果
D1を選択し、更にSHGATEのアクティブ期間をカ
ウントし、そのアクティブ期間が白基準白板(1)20
2を示す場合は白基準データ(1)蓄積部111へ、白
基準白板(2)203を示す場合は白基準データ(2)
蓄積部112へ受け渡し、SHGATEがアクティブで
主走査方向1ライン目ではない場合、加重平均処理結果
Dkを選択し、更にSHGATEのアクティブ期間をカ
ウントし、そのアクティブ期間が白基準白板(1)20
2を示す場合は白基準データ(1)蓄積部111へ、白
基準白板(2)203を示す場合は白基準データ(2)
蓄積部112へ受け渡す。白基準データ(1)蓄積部1
11及び白基準データ(2)蓄積部112はセレクタ
(1)123から受け取ったデータをFIFO等の記憶
素子に蓄積し順次出力する。
The selector (1) 123 receives SHGATE, first selects the processing result D1 of the first line when SHGATE is active and is in the first period of the first line in the main scanning direction, and further counts the active period of SHGATE. The active period is white reference white board (1) 20
2, the white reference data (1) is stored in the storage unit 111, and when the white reference white plate (2) 203 is displayed, the white reference data (2)
When the SHGATE is active and is not the first line in the main scanning direction, the weighted average processing result Dk is selected, the active period of the SHGATE is counted, and the active period is set to the white reference white board (1) 20.
2, the white reference data (1) is stored in the storage unit 111, and when the white reference white plate (2) 203 is displayed, the white reference data (2) is stored.
Transfer to storage section 112. White reference data (1) storage unit 1
The 11 and white reference data (2) storage unit 112 stores the data received from the selector (1) 123 in a storage element such as a FIFO and sequentially outputs the data.

【0008】セレクタ(2)124はSHGATEを受
け取り、SHGATEのアクティブ期間が白基準白板
(1)202を示す時は白基準データ(1)蓄積部11
1からのデータを、白基準白板(2)203を示す時は
白基準データ(2)蓄積部112からのデータを選択
し、加重平均処理部122へ渡す。その結果、図3
(b)に示すように、主走査方向xiの位置における白
基準データの副走査方向における変遷は1ライン目処理
の結果D1を起点として加重平均の重みに従って上昇飽
和曲線を描き、実際の白基準白板の濃度に対して漸近線
を描くようになる。その結果、得られる白基準データの
例は図3(c)に示すように登頂部でほぼ一定となり、
光源205の光量が少なくなる両端部分では徐々に落ち
込みを見せるようになる。ただし、実際の画像を読み取
りの際には両端に近い部分は使用しないため、白基準デ
ータの落ち込みによるダイナミックレンジの大きさは主
走査方向にほぼ一様の値を保証される。
The selector (2) 124 receives the SHGATE, and when the active period of the SHGATE indicates the white reference white board (1) 202, the white reference data (1) storage unit 11
When the data from No. 1 indicates the white reference white board (2) 203, the data from the white reference data (2) storage unit 112 is selected and passed to the weighted average processing unit 122. As a result, FIG.
As shown in (b), the transition of the white reference data in the sub-scanning direction at the position in the main scanning direction xi draws a rising saturation curve according to the weight of the weighted average starting from the result D1 of the first line processing, and The asymptote is drawn against the density of the white plate. As a result, an example of the obtained white reference data is almost constant at the top as shown in FIG.
At both end portions where the light amount of the light source 205 decreases, a drop appears gradually. However, when reading the actual image, the portions near both ends are not used, so that the magnitude of the dynamic range due to the fall of the white reference data is almost uniform in the main scanning direction.

【0009】シェーディング補正部102は白基準デー
タの何れか(この場合白基準データ(1)111)の白
基準データを受け取って、シェーディング補正を行な
う。シェーディング補正により、白基準データを基準と
して、原稿画像の読み取りデータが正規化されるため、
光源205の主走査方向の光量むらを補正することがで
きる。縦筋検出部103は白基準データ(1)蓄積部1
11及び白基準データ(2)蓄積部112から白基準デ
ータを受け取ってそれぞれの白基準データについて近接
する画素を比較する。そして、画像濃度が近傍と著しく
異なる特異点を抽出し、その特異点の位置が白基準デー
タ(1)蓄積部111からの白基準データと白基準デー
タ(2)蓄積部112からの白基準データとで一致した
場合に、その特異点の位置データを特異点データ蓄積部
113に記憶する。
The shading correction section 102 receives the white reference data of any of the white reference data (in this case, the white reference data (1) 111) and performs shading correction. Because the shading correction normalizes the read data of the original image based on the white reference data,
Light amount unevenness of the light source 205 in the main scanning direction can be corrected. The vertical streak detecting unit 103 stores the white reference data (1)
11 and the white reference data (2) The white reference data is received from the accumulation unit 112, and adjacent pixels are compared for each white reference data. Then, a singular point whose image density is significantly different from the vicinity is extracted, and the position of the singular point is determined based on the white reference data (1) white reference data from the storage unit 111 and the white reference data (2) white reference data from the storage unit 112. If they match, the position data of the singular point is stored in the singular point data storage unit 113.

【0010】縦筋検出部103の構成例を図4(a)に
示す。縦筋検出部103の特異点検出部131は、白基
準データ(1)蓄積部111及び白基準データ(2)蓄
積部112からそれぞれ受け取った白基準データを参照
して特異点を検出する。対象とする画素に対しての異常
白基準データの例を図4(b)に示す。空中を浮遊する
塵のようなごみが付着した場合、その大きさがCCD2
08の画素の大きさ(400dplでは63.5μm)
に比較的近い場合、例えばちょうど2画素分の大きさで
あるとすれば、ごみの付着した部分の白基準データの濃
度は黒側に大きく落ち込み、その部分をそのまま白基準
データとして用いれば、画像データのシェーディング補
正結果は白側に大きく傾き、白い縦筋となって転写紙上
に現れる。特異点検出部131によって検出された特異
点はそれぞれ特異点データとして特異点データ蓄積部
(1)132、特異点データ蓄積部(2)133に一時
的に蓄積される。特異点判定部134はそれら蓄積部1
32、133から特異点データを受け取って、特異点の
位置の比較を行ない、それぞれのデータで検出された特
異点の位置が一致する場合のみ特異点として判定し、特
異点データ蓄積部113へ蓄積する。相異なる位置に配
置された複数(この例では2つ)の白基準白板の同じ位
置にごみが付着する可能性が低いので、ここで判定され
た特異点は、CCD208の不良による画像異常、もし
くはCCD208に画像を伝えるミラーやレンズの汚れ
であることが考えられる。なお、特異点検出が行われる
期間は、全ての白基準白板を読み取った終了後から画像
データ有効範囲の手前まで、すなわち、図1(c)に示
すように、SHGATEの最後のアクティブ期間の終了
からFGATEのアクティブ期間の開始まで(図中の範
囲C)となる。
FIG. 4A shows an example of the configuration of the vertical streak detecting section 103. The singular point detection unit 131 of the vertical line detection unit 103 detects a singular point with reference to the white reference data received from the white reference data (1) storage unit 111 and the white reference data (2) storage unit 112, respectively. FIG. 4B shows an example of the abnormal white reference data for the target pixel. When dust such as dust floating in the air adheres, the size is CCD2.
08 pixel size (63.5μm at 400dpl)
Is relatively close to, for example, if the size is exactly two pixels, the density of the white reference data of the portion where the dust adheres greatly drops to the black side, and if that portion is used as it is as the white reference data, The shading correction result of the data is greatly inclined to the white side, and appears on the transfer paper as a white vertical stripe. The singular points detected by the singular point detection unit 131 are temporarily stored as singular point data in the singular point data storage unit (1) 132 and the singular point data storage unit (2) 133, respectively. The singularity determination unit 134 stores these
32, the singularity data is received, the singularity positions are compared, and only when the singularity positions detected in the respective data coincide with each other are determined as singularities and stored in the singularity data storage unit 113. I do. Since there is a low possibility that dust adheres to the same position of a plurality of (two in this example) white reference white plates arranged at different positions, the singular point determined here is determined as an image abnormality due to a defect of the CCD 208 or It is conceivable that the mirror or lens transmitting the image to the CCD 208 is dirty. The period during which the singular point detection is performed is from the end of reading all the white reference white boards to just before the image data effective range, that is, as shown in FIG. 1C, the end of the last active period of SHGATE. To the start of the FGATE active period (range C in the figure).

【0011】特異点データ蓄積部113は縦筋検出部1
03から受け取った、CCD208の各画素からのデー
タに対応する主走査方向の各データについて、特異点判
定の結果を蓄積する。縦筋補正部104はシェーディン
グ補正後の画像データと特異点データ蓄積部113から
の特異点判定結果を受け取る。そして特異点判定結果、
通常画像(特異点でない画像)であると判断された場合
はシェーディング補正後の画像データをそのまま出力
し、特異点であると判断された場合は、特異点と判断さ
れた画素の位置から一番近傍の画像データと置き換え、
シェーディング補正処理結果として出力する。補正処理
後の白基準データの例を図4(c)に示す。
The singular point data storage unit 113 is provided with the vertical streak detector 1
For each data in the main scanning direction corresponding to the data from each pixel of the CCD 208 received from the CCD 03, the result of the singularity determination is accumulated. The vertical stripe correction unit 104 receives the image data after the shading correction and the singularity determination result from the singularity data storage unit 113. And the singularity determination result,
If it is determined that the image is a normal image (an image that is not a singular point), the image data after shading correction is output as it is. Replace with nearby image data,
Output as a shading correction processing result. FIG. 4C shows an example of the white reference data after the correction processing.

【0012】図5(a)に請求項2に対応する実施の形
態の一例を示す。この場合白基準データ補正部105が
備わっており、白基準データ補正部105は白基準デー
タ(1)蓄積部111と白基準データ(2)蓄積部11
2とから白基準データ(1)及び(2)を受け取って、
必要があれば、白基準データを補正し、白基準データ蓄
積部114へ補正処理した白基準データを渡す。白基準
データ補正部105の構成を図5(b)に示す。図示す
るように、白基準データ補正部105の構成は、図4
(a)に示した縦筋検出部103と同じく二つの特異点
検出部131を有している。縦筋検出部103と同様に
して両特異点検出部131で得られた特異点データは、
先ず比較部135に送られ、所定のしきい値Dtを持っ
て各画素毎に比較される。ここで、それぞれの白基準デ
ータは別々の白基準白板を参照しているものの、白基準
白板自体の濃度(白の度合い)は基本的には変わらない
はずであり、生成した白基準データの値が違う主な要因
は読み取り速度のスピードの僅かな変化による露光時間
の違いや、加重平均回数の違いによる漸近値の誤差など
が考えられるのみである。したがって上記しきい値Dt
はそれらの僅かな変動要因を考慮すればよく、さほど大
きな値にする必要はない。ただし、最終的な白基準デー
タは一つあれば処理が可能となるため、残りの白基準白
板の濃度を変えることも可能である。その場合、2つの
白基準値を正規化して比較する必要が出てくる。比較に
よって白基準データの濃度が異なった画素が出てきた場
合、それは何れかの白基準白板がごみの付着や汚れの影
響で画像濃度の特異点を形成していると考えられる。こ
れを判定するため、白基準データ補正部136では、各
画素の比較結果で不一致が出た位置の2つの特異点デー
タを参照し、どちらのデータが特異点を持っているか判
断する。ここで片一方に特異点が存在した場合、その特
異点は白基準白板上のごみまたは汚れによるものと判断
し、特異点の最も近傍の白基準データで置き換えを行な
って補正する。また、不一致点においていずれの白基準
データにも特異点が存在しない場合がDtの取り方によ
り考えられるが、その場合は、そのまま両方とも補正を
加えずに白基準データとして扱う。最終的に補正された
各々の白基準データが複数出来上がるが、最終的な白基
準データをどうするかは、補正された白基準データのい
ずれかを選択する処理、又は全ての白基準データの平均
をとる処理のどちらかを選択できるようにして、補正の
種類に幅を持たせ、白基準データ蓄積部114へ処理結
果を渡す。白基準データ蓄積部114は白基準データ補
正部105から補正後の白基準データを受け取り、これ
をCCD208の画素の配列に対応して記憶し、補正さ
れた白基準データをシェーディング補正部104に渡す
ことでシェーディング補正を行なう。ここで、この白基
準データの補正処理は縦筋検出と同様に、全ての白基準
白板を読み取った終了後から画像データ有効範囲の前ま
でとなり、SHGATEの最後のアクティブ期間の終了
からFGATEのアクティブ期間の開始まで、すなわち
図1(c)におけるCの範囲となる。したがって、白基
準データ蓄積部114に用いる記憶手段は白基準データ
(1)蓄積部111などの一時的なデータ蓄積部と共用
可能となり、構成を単純化しコストも安くできる。上記
のように、原稿を読み取る際の画像濃度の基準とすべき
白色、つまり白基準データは、SHGATEの範囲で指
定され、実際には白基準白板以外の部分でもSHGAT
Eをアクティブとすることで指定できる。したがって、
図6(a)及び(b)に示すように、白基準白板209
を一つにまとめ、白基準白板209の読み取り範囲の中
で図6(c)に示すようにSHGATEを複数回に分け
て発生させることで一時的な白基準データを複数発生さ
せることが可能となる(請求項3に対応)。
FIG. 5A shows an example of an embodiment according to the second aspect. In this case, a white reference data correction unit 105 is provided, and the white reference data correction unit 105 includes a white reference data (1) storage unit 111 and a white reference data (2) storage unit 11
2 and white reference data (1) and (2)
If necessary, the white reference data is corrected, and the corrected white reference data is passed to the white reference data storage unit 114. FIG. 5B shows the configuration of the white reference data correction unit 105. As illustrated, the configuration of the white reference data correction unit 105 is the same as that of FIG.
It has two singularity detecting units 131 like the vertical streak detecting unit 103 shown in FIG. Singularity data obtained by both singularity detection units 131 in the same manner as the vertical streak detection unit 103 is
First, the data is sent to the comparing unit 135, and is compared for each pixel with a predetermined threshold value Dt. Here, although each white reference data refers to a different white reference white plate, the density (degree of white) of the white reference white plate itself should not basically change, and the value of the generated white reference data The main reasons for the difference are that the difference in the exposure time due to a slight change in the reading speed and the error in the asymptotic value due to the difference in the number of weighted averaging times can only be considered. Therefore, the above threshold value Dt
Need only take account of those slight fluctuation factors and need not be so large. However, since processing is possible if there is one final white reference data, the density of the remaining white reference white plate can be changed. In that case, two white reference values need to be normalized and compared. When pixels having different densities of the white reference data appear as a result of the comparison, it is considered that any one of the white reference white plates forms a singular point of the image density due to the influence of dust or dirt. To determine this, the white reference data correction unit 136 refers to two pieces of singular point data at a position where a mismatch is found in the comparison result of each pixel, and determines which data has a singular point. If a singular point exists on one side, it is determined that the singular point is caused by dust or dirt on the white reference white board, and correction is performed by replacing the singular point with white reference data closest to the singular point. In addition, a case where there is no singular point in any of the white reference data at the mismatching point can be considered depending on how to take Dt. In such a case, both are treated as white reference data without correction. A plurality of each of the finally corrected white reference data is completed, but what to do with the final white reference data is a process of selecting any of the corrected white reference data or an average of all the white reference data. One of the processes to be performed can be selected, the type of correction has a range, and the processing result is passed to the white reference data storage unit 114. The white reference data storage unit 114 receives the corrected white reference data from the white reference data correction unit 105, stores the corrected white reference data corresponding to the pixel array of the CCD 208, and passes the corrected white reference data to the shading correction unit 104. This performs shading correction. Here, similarly to the vertical streak detection, the correction processing of the white reference data is performed from the end of reading all the white reference white boards to before the image data effective range, and from the end of the last active period of SHGATE to the activation of FGATE. Until the start of the period, that is, the range of C in FIG. Therefore, the storage unit used for the white reference data storage unit 114 can be shared with a temporary data storage unit such as the white reference data (1) storage unit 111, so that the configuration can be simplified and the cost can be reduced. As described above, the white color, which is to be the reference of the image density when reading the original, that is, the white reference data is specified in the range of SHGATE.
It can be specified by activating E. Therefore,
As shown in FIGS. 6A and 6B, the white reference white plate 209
By combining SHGATE in a plurality of times as shown in FIG. 6C in the reading range of the white reference white plate 209, a plurality of temporary white reference data can be generated. (Corresponding to claim 3).

【0013】図7に示すように、図2の構成と図4
(a)の構成とを組み合わせることにより、上述した請
求項1に対応する実施の形態の機能と請求項2に対応す
る実施の形態の機能を同時に実現可能となる。この場
合、縦筋検出部103と白基準データ補正部105は、
図4(a)及び図5(b)に示すように互いに共通する
構成要素すなわち特異点検出部131、特異点データ蓄
積部(1)132、特異点データ蓄積部(2)133を
有しているので、これらは共用することが可能である。
As shown in FIG. 7, the configuration of FIG.
By combining the configuration of (a), the function of the embodiment corresponding to claim 1 and the function of the embodiment corresponding to claim 2 can be simultaneously realized. In this case, the vertical line detection unit 103 and the white reference data correction unit 105
As shown in FIGS. 4 (a) and 5 (b), it has components common to each other, that is, a singularity detection unit 131, a singularity data storage unit (1) 132, and a singularity data storage unit (2) 133. These can be shared.

【0014】[0014]

【発明の効果】以上説明したように、本発明によれば以
下のような優れた効果を発揮できる。請求項1、3に記
載の発明よれば、ミラーやレンズに付着したごみや汚
れ、更にはイメージセンサの不良による画像異常によ
り、出力画像に縦筋が発生するなどのシェーディング補
正処理不良が生じるのを防止することができる。請求項
2、3に記載の発明よれば、白基準白板に付着したごみ
や汚れにより出力画像に白い縦筋が発生するなどのシェ
ーディング補正処理不良が生じるのを防止することがで
きる。請求項3に記載の発明よれば、白基準白板を必ず
しも複数備える必要はなく、一つでも請求項1、2の効
果を発揮できる。
As described above, according to the present invention, the following excellent effects can be exhibited. According to the first and third aspects of the present invention, a shading correction processing defect such as a vertical streak in an output image occurs due to dust or dirt attached to a mirror or a lens, or an image abnormality due to a defective image sensor. Can be prevented. According to the second and third aspects of the present invention, it is possible to prevent shading correction processing defects such as white vertical stripes from being generated in an output image due to dust or dirt attached to a white reference white plate. According to the third aspect of the present invention, it is not always necessary to provide a plurality of white reference white plates, and even one of them can exhibit the effects of the first and second aspects.

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

【図1】本発明の実施の形態を示す説明図であり、
(a)は原稿画像読み取り装置の概略構成を、(b)は
原稿及び白基準白板と制御信号との関係を、(c)は副
走査方向の制御信号のタイミングを、それぞれ例示する
ものである。
FIG. 1 is an explanatory diagram showing an embodiment of the present invention;
(A) illustrates a schematic configuration of a document image reading device, (b) illustrates a relationship between a document and a white reference white plate and a control signal, and (c) illustrates a timing of a control signal in a sub-scanning direction. .

【図2】請求項1に対応する実施の形態の一例を示す機
能ブロック図である。
FIG. 2 is a functional block diagram showing an example of an embodiment corresponding to claim 1;

【図3】(a)は図2中に示す白基準データ生成部の構
成例を示す機能ブロック図、(b)は白基準データが副
走査方向において変化することの説明図、(c)は白基
準データの説明図である。
3A is a functional block diagram illustrating a configuration example of a white reference data generation unit illustrated in FIG. 2, FIG. 3B is an explanatory diagram illustrating that white reference data changes in the sub-scanning direction, and FIG. It is explanatory drawing of white reference data.

【図4】(a)は図2中に示す縦筋検出部の構成例を示
す機能ブロック図、(b)は異常白基準データの例を示
した説明図、(c)は補正後白基準データの例を示した
説明図である。
4A is a functional block diagram illustrating a configuration example of a vertical stripe detection unit illustrated in FIG. 2, FIG. 4B is an explanatory diagram illustrating an example of abnormal white reference data, and FIG. FIG. 4 is an explanatory diagram showing an example of data.

【図5】(a)は請求項2に対応する実施の形態の一例
を示す機能ブロック図、(b)は白基準データ補正部の
構成例を示す機能ブロック図である。
FIG. 5A is a functional block diagram illustrating an example of an embodiment according to claim 2, and FIG. 5B is a functional block diagram illustrating a configuration example of a white reference data correction unit.

【図6】(a)は請求項3に対応する実施の形態の一例
を示す原稿画像読み取り装置の概略構成図、(b)は原
稿及び白基準白板と制御信号との関係を例示する説明
図、(c)は副走査方向の制御信号のタイミングを例示
する説明図である。
FIG. 6A is a schematic configuration diagram of a document image reading apparatus showing an example of an embodiment according to claim 3, and FIG. 6B is an explanatory diagram illustrating the relationship between a document, a white reference white plate, and a control signal; (C) is an explanatory diagram illustrating the timing of a control signal in the sub-scanning direction.

【図7】本発明の別の実施の形態を示す機能ブロック図
である。
FIG. 7 is a functional block diagram showing another embodiment of the present invention.

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

101 白基準データ生成部、102 シェーディング
補正部、103 縦筋検出部(特異点検出手段)、10
4 縦筋補正部(画素置換手段)、105 白基準デー
タ補正部、111 白基準データ蓄積部、112 白基
準データ蓄積部、113 特異点データ蓄積部(位置記
憶手段)、114 白基準データ蓄積部、121 1ラ
イン目処理部、122 加重平均処理部、123 セレ
クタ、124 セレクタ、131 特異点検出部、13
2 特異点データ蓄積部、133特異点データ蓄積部、
134 特異点判定部、135 比較部、136 白基
準値データ補正部、202 白基準白板、203 白基
準白板、204 原稿台、204a 原稿読み取り面、
205 光源、206 ミラー、207 レンズ及び中
継ミラー群、208 CCD(イメージセンサ)、20
9 白基準白板、D原稿。
101 white reference data generation unit, 102 shading correction unit, 103 vertical streak detection unit (singular point detection means), 10
4 Vertical streak correction section (pixel replacement means), 105 white reference data correction section, 111 white reference data storage section, 112 white reference data storage section, 113 singular point data storage section (position storage means), 114 white reference data storage section , 121 1st line processing unit, 122 weighted average processing unit, 123 selector, 124 selector, 131 singularity detection unit, 13
2 singularity data storage unit, 133 singularity data storage unit,
134 singularity determination unit, 135 comparison unit, 136 white reference value data correction unit, 202 white reference white plate, 203 white reference white plate, 204 platen, 204a document reading surface,
205 light source, 206 mirror, 207 lens and relay mirror group, 208 CCD (image sensor), 20
9 White reference white board, D original.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像を読み取る際の白データを規定
するための複数の白基準白板と、 上記白基準白板をそれぞれ読み取って白データの基準値
を複数生成する白データ生成手段と、 上記白データの対象画素とその周辺画素とを比較し、対
象画素と周辺画素の値が大きく異なる特異点を抽出する
特異点抽出手段と、 上記複数の白データの基準値において、上記特異点の位
置が共に一致する場合にその位置を記憶する位置記憶手
段と、 読み取った原稿画像データに対して、上記特異点の位置
では周辺画素を参照し、周辺画素の値に置き換える画素
置換手段と、を有することを特徴とするシェーディング
補正処理装置。
A plurality of white reference white plates for defining white data when reading a document image; a white data generating unit for reading the white reference white plates and generating a plurality of white data reference values; A singularity extracting means for comparing the target pixel of the data with its surrounding pixels and extracting a singularity whose values of the target pixel and the surrounding pixels are significantly different, and wherein, in the reference values of the plurality of white data, the position of the singularity is A position storing unit that stores the position when both coincide with each other; and a pixel replacing unit that refers to a peripheral pixel at the position of the singular point and replaces the read original image data with a value of the peripheral pixel. A shading correction processor.
【請求項2】 原稿画像を読み取る際の白データを規定
するための複数の白基準白板と、 上記白基準白板をそれぞれ読み取って白データの基準値
を複数生成する白データ生成手段と、 上記複数の基準値を比較して、不一致となる位置の白デ
ータの基準値を補正し、参照すべき白基準データを生成
する白データ補正手段と、 上記白基準データをもとに、読み取った原稿画像データ
を補正する画像データ補正手段と、を備えたことを特徴
とするシェーディング補正処理装置。
2. A plurality of white reference white plates for defining white data when reading a document image; a white data generating means for reading each of the white reference white plates and generating a plurality of white data reference values; White data correction means for correcting the reference value of the white data at the position of the mismatch by comparing the reference values of the white data, and generating white reference data to be referred to; a document image read based on the white reference data A shading correction processing device comprising: image data correction means for correcting data.
【請求項3】 複数の白基準白板をそれぞれ読み取って
白データの基準値を複数生成する代わりに、一つの白基
準白板を読み取って白データの基準値を複数生成するよ
うに構成したことを特徴とする請求項1又は2に記載の
シェーディング補正処理装置。
3. Instead of reading a plurality of white reference white boards and generating a plurality of white data reference values, a configuration is adopted in which one white reference white board is read and a plurality of white data reference values are generated. The shading correction processing device according to claim 1 or 2, wherein
JP10080402A 1998-03-12 1998-03-12 Shading correction processor Pending JPH11261816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10080402A JPH11261816A (en) 1998-03-12 1998-03-12 Shading correction processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10080402A JPH11261816A (en) 1998-03-12 1998-03-12 Shading correction processor

Publications (1)

Publication Number Publication Date
JPH11261816A true JPH11261816A (en) 1999-09-24

Family

ID=13717307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10080402A Pending JPH11261816A (en) 1998-03-12 1998-03-12 Shading correction processor

Country Status (1)

Country Link
JP (1) JPH11261816A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065699A (en) * 2004-08-27 2006-03-09 Ricoh Co Ltd Image reading apparatus
JP2014011625A (en) * 2012-06-29 2014-01-20 Brother Ind Ltd Image reader and image reading program
US9197786B2 (en) 2013-05-30 2015-11-24 Kyocera Document Solutions Inc. Image reading device, image forming apparatus, and image reading method
US9235881B2 (en) 2011-03-31 2016-01-12 Optos Plc Identifying and correcting anomalies in an optical image

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065699A (en) * 2004-08-27 2006-03-09 Ricoh Co Ltd Image reading apparatus
JP4554300B2 (en) * 2004-08-27 2010-09-29 株式会社リコー Image reading device
US9235881B2 (en) 2011-03-31 2016-01-12 Optos Plc Identifying and correcting anomalies in an optical image
JP2014011625A (en) * 2012-06-29 2014-01-20 Brother Ind Ltd Image reader and image reading program
US9197786B2 (en) 2013-05-30 2015-11-24 Kyocera Document Solutions Inc. Image reading device, image forming apparatus, and image reading method

Similar Documents

Publication Publication Date Title
JP3337993B2 (en) Sheet through document reader
US20070285690A1 (en) Image processing apparatus and computer readable medium storing image processing program
JP2002354213A (en) Image scanner, dust/dirt avoiding method, and storage medium
JP4272366B2 (en) Document reading apparatus and image forming apparatus
JP2000152008A (en) Image reader and image reading method
JP2003101737A (en) Image-processing apparatus and image-reading apparatus
JP6838348B2 (en) Image reader and image reading method
JPH11261816A (en) Shading correction processor
JP3985985B2 (en) Image reading apparatus and image processing apparatus including the image reading apparatus
JP2008028699A (en) Image reading apparatus and image reading method
JP6808984B2 (en) Image reader and computer program
JP2005094214A (en) Image scanner, and shading correction method thereof
JP3711755B2 (en) Image reading apparatus and image reading method
JP4678806B2 (en) Image reading apparatus and image forming apparatus
JP3569059B2 (en) Image reading device
JP3907033B2 (en) Image reading device
JP2006211054A (en) Image processor
JP3556191B2 (en) Document reading apparatus and method
JP2004228654A (en) Image reading apparatus
JP2008028698A (en) Image reading apparatus and image reading method
JP2011023920A (en) Image reading apparatus and image forming apparatus
JP2007281703A (en) Image reader
JP2000349966A (en) Image reader
JP2006087053A (en) Image reading apparatus, image reading method, program, recording medium and image forming apparatus
JP3803299B2 (en) Document reader with sheet-through document feeder