JPH11215372A - Shading correction device and shading correction method - Google Patents

Shading correction device and shading correction method

Info

Publication number
JPH11215372A
JPH11215372A JP10014515A JP1451598A JPH11215372A JP H11215372 A JPH11215372 A JP H11215372A JP 10014515 A JP10014515 A JP 10014515A JP 1451598 A JP1451598 A JP 1451598A JP H11215372 A JPH11215372 A JP H11215372A
Authority
JP
Japan
Prior art keywords
value
shading
reference value
pixel
correction
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
JP10014515A
Other languages
Japanese (ja)
Inventor
Katsuya Honda
勝也 本田
Arinori Hikosaka
有儀 彦阪
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial 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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP10014515A priority Critical patent/JPH11215372A/en
Publication of JPH11215372A publication Critical patent/JPH11215372A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To properly discriminate abnormalities in shading reference values thereby realizing satisfactory shading correction. SOLUTION: Normal white reference values of a noted pixel p10 are determined to be within the range of AVE ±α, based on a mean value AVE of white reference values of several pixels P2-P9 immediately before the noted pixel. When a white reference value of the noted pixel P10 is one outside of the normal range, the value is corrected to a corrected value CV, which may be set equal to the mean value AVE. Since the range of normal white reference values for each pixel and the corrected value are determined, fault discrimination and correction of white reference values are conducted properly by taking the local situation of each pixel into account.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、たとえば、ファ
クシミリ装置やイメージスキャナ等の画像読み取り装置
における読み取り画像中の濃度むらを低減するためのシ
ェーディング補正装置およびシェーディング補正方法に
関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a shading correction device and a shading correction method for reducing density unevenness in a read image in an image reading device such as a facsimile device and an image scanner.

【0002】[0002]

【従来の技術】ファクシミリ装置やイメージスキャナ等
のような画像読み取り装置では、読み取り用光源の照明
むらなどに起因する画素間濃度むらを補償するために、
いわゆるシェーディング補正が行われる。シェーディン
グ補正では、イメージセンサの出力アナログ信号をアナ
ログ/ディジタル変換器で変換したディジタルデータに
対して、下記第(1) 式に基づく補正が施される。
2. Description of the Related Art In an image reading apparatus such as a facsimile apparatus or an image scanner, in order to compensate for uneven pixel density caused by uneven illumination of a reading light source, etc.
So-called shading correction is performed. In the shading correction, correction based on the following equation (1) is performed on digital data obtained by converting an analog signal output from an image sensor by an analog / digital converter.

【0003】[0003]

【数1】 (Equation 1)

【0004】この第(1) 式において、「黒基準値」とは
真っ黒な黒基準画像を読み取ったときにイメージセンサ
から出力される画素信号をディジタルデータに変換した
値であり、「白基準値」とは真っ白な白基準画像を読み
取ったときにイメージセンサから出力される画素信号を
ディジタルデータに変換した値である。たとえば、黒基
準値はイメージセンサの読み取り用光源を消灯して読み
取り動作を行わせることにより得ることができ、白基準
値は読み取り用光源を点灯させて予め備えられた白基準
板の読み取りを行わせることにより得ることができる。
In the equation (1), the "black reference value" is a value obtained by converting a pixel signal output from the image sensor into digital data when a black black reference image is read, and a "white reference value". "Is a value obtained by converting a pixel signal output from the image sensor into a digital data when a pure white reference image is read. For example, the black reference value can be obtained by turning off the reading light source of the image sensor and performing a reading operation, and the white reference value can be obtained by turning on the reading light source and reading the previously provided white reference plate. Can be obtained.

【0005】こうして、イメージセンサの各読み取り画
素ごとに白基準値および黒基準値が求まるから、原稿を
読み取る際にイメージセンサの各読み取り画素から出力
される画素データに対して、その画素に対応した白基準
値および黒基準値を用いて上記第(1) 式の補正を施すこ
とにより、読み取り画素間の濃度むらを補償できる。と
ころが、画像読み取り装置の使用に伴って白基準板に局
所的な汚れが付着すると、その汚れの箇所に対応した画
素については正確な白基準値を得ることができない。そ
の結果、シェーディング補正が不良になる。
In this manner, the white reference value and the black reference value are obtained for each pixel read by the image sensor. Therefore, when reading an original, the pixel data output from each pixel read out of the image sensor corresponds to the pixel. By performing the correction of the above equation (1) using the white reference value and the black reference value, it is possible to compensate for uneven density between read pixels. However, if local stains adhere to the white reference plate with use of the image reading apparatus, an accurate white reference value cannot be obtained for a pixel corresponding to the spot of the stain. As a result, shading correction becomes poor.

【0006】そこで、たとえば、特開平7−21258
8号公報に開示されているように、異常な値を有する白
基準値を補正するための処理が行われる。具体的には、
或る画素の白基準値が一定のしきい値を超える場合に
は、その画素の白基準値を所定の補正値に置き換えるよ
うにしている。この公開公報には、さらに、白基準板の
全体に汚れが付着したときの問題を解決するために、上
記しきい値および補正値をそれぞれ補正することが開示
されているが、これらのしきい値および補正値はイメー
ジセンサの全ての画素に対して一律に適用されるように
なっている。
Accordingly, for example, Japanese Patent Application Laid-Open No.
As disclosed in Japanese Patent Application Laid-Open No. 8-208, processing for correcting a white reference value having an abnormal value is performed. In particular,
When the white reference value of a certain pixel exceeds a certain threshold value, the white reference value of that pixel is replaced with a predetermined correction value. This publication further discloses that the threshold value and the correction value are respectively corrected in order to solve the problem when dirt adheres to the entire white reference plate. The value and the correction value are uniformly applied to all pixels of the image sensor.

【0007】[0007]

【発明が解決しようとする課題】イメージセンサは、た
とえばラインCCDからなり、図4に示すように、原稿
面50からの光を光学系51により集光してラインCC
D52の受光面52aに結像させることにより、原稿の
読み取りが達成される構成とされている。この場合、読
み取り対象領域55の中央付近と両端付近とでは、原稿
面50からラインCCD52の受光面52aに至る光路
長が異なることになる。そのため、白基準板をラインC
CD52で読み取って得られる白基準値は、概ね図5に
示すような値をとる。すなわち、ラインCCD52の両
端付近の画素に対しては大きな値となり、ラインCCD
52の中央付近の画素に対しては小さな値となる。
The image sensor is composed of, for example, a line CCD, and as shown in FIG.
By forming an image on the light receiving surface 52a of D52, reading of the document is achieved. In this case, the optical path length from the document surface 50 to the light receiving surface 52a of the line CCD 52 is different between the vicinity of the center and the vicinity of both ends of the reading target area 55. Therefore, the white reference
The white reference value obtained by reading with the CD 52 generally takes a value as shown in FIG. That is, a large value is obtained for pixels near both ends of the line CCD 52,
The value is small for pixels near the center of 52.

【0008】ラインCCDの出力には、電気的ノイズ、
ゴミの付着、基準板の汚れなどに起因するノイズN1,
N2,・・・・・・が含まれる。したがって、これらのノイズ
N1,N2,・・・・・・に対応した画素におけるシェーディ
ング補正を適切に行うためには、白基準値の補正を行う
必要がある。そのため、一般的な白基準値よりも小さな
しきい値THが設定されている。そして、このしきい値
THよりも小さな値をとる白基準値は、一定の補正値C
に補正するようになっている。
The output of the line CCD includes electrical noise,
Noise N1, caused by adhesion of dust, contamination of the reference plate, etc.
N2,... Are included. Therefore, in order to appropriately perform shading correction on pixels corresponding to these noises N1, N2,..., It is necessary to correct a white reference value. Therefore, a threshold value TH smaller than a general white reference value is set. The white reference value having a value smaller than the threshold value TH is a constant correction value C
To be corrected.

【0009】しかし、白基準値は、上記のとおり、中央
付近の画素においては小さく、両端付近の画素において
は大きいので、中央付近の画素において現れるノイズN
1の検出および補正は良好に行うことができる反面、両
端付近の画素において現れるノイズN2,N3の検出お
よび補正は必ずしも適切に行うことができない。しきい
値THを大きな値に設定すれば、両端付近の画素におけ
るノイズの検出および補正は適切に行えるかもしれない
が、中央付近の画素においては、正常な白基準値が異常
値と判定されるおそれがある。
However, as described above, the white reference value is small in the pixels near the center and large in the pixels near both ends, so that the noise N that appears in the pixels near the center is small.
Although the detection and correction of 1 can be performed well, the detection and correction of the noises N2 and N3 that appear in the pixels near both ends cannot always be performed properly. If the threshold value TH is set to a large value, noise detection and correction in pixels near both ends may be appropriately performed. However, in a pixel near the center, a normal white reference value is determined to be an abnormal value. There is a risk.

【0010】また、両端付近の画素の正常な白基準値と
中央付近の画素の正常な白基準値とには、もともと差が
生じているのに、これらの画素の異常な白基準値を一律
に一定の補正値Cに補正しては、必ずしも適正なシェー
ディング補正を行うことができなくなる。このような問
題は、光学系により原稿画像をラインCCD上に結像さ
せる構成の画像読み取り装置だけでなく、結像光学系を
持たず、原稿面に密着して原稿像の読み取りを行う密着
型イメージセンサを用いた画像読み取り装置においても
生じうる。
Further, although there is a difference between the normal white reference values of the pixels near both ends and the normal white reference values of the pixels near the center, the abnormal white reference values of these pixels are uniformly determined. If the correction value C is corrected to a constant value, it is not always possible to perform appropriate shading correction. Such a problem is caused not only by an image reading device configured to form a document image on a line CCD by an optical system, but also by a contact type that has no imaging optical system and reads a document image in close contact with a document surface. It can also occur in an image reading device using an image sensor.

【0011】すなわち、密着型イメージセンサは、原稿
の全幅をカバーする長さのセンサユニットで構成されて
いるが、このセンサユニットは、その大きさゆえに1チ
ップの半導体素子で構成することができず、複数個のチ
ップを直列に結合して構成されている。そのため、チッ
プ間の読み取り特性のばらつきのために、白基準板を読
み取った場合に、チップの境界において、白基準値に段
差が生じることになる。したがって、全画素に対して一
定の基準値および補正値を用いて白基準値の補正を行う
上述の従来技術によっては、シェーディング補正を適切
に行うことができない可能性がある。
That is, the contact type image sensor is constituted by a sensor unit having a length covering the entire width of the document, but cannot be constituted by a one-chip semiconductor element because of its size. , A plurality of chips are connected in series. For this reason, when the white reference plate is read due to the variation in the reading characteristics between the chips, a step occurs in the white reference value at the boundary between the chips. Therefore, there is a possibility that the shading correction cannot be appropriately performed by the above-described conventional technology in which the white reference value is corrected using the fixed reference value and the correction value for all the pixels.

【0012】そこで、この発明の目的は、上述の技術的
課題を解決し、シェーディング基準値の異常判定を適切
に行うことができ、これによりシェーディング補正を良
好に行うことができるシェーディング補正装置およびシ
ェーディング補正方法を提供することである。また、こ
の発明のさらなる目的は、シェーディング基準値を適切
に補正することができ、これにより、シェーディング補
正を良好に行うことができるシェーディング補正装置お
よびシェーディング補正方法を提供することである。
Accordingly, an object of the present invention is to solve the above-mentioned technical problems, and to appropriately determine whether a shading reference value is abnormal, thereby achieving a good shading correction. It is to provide a correction method. It is a further object of the present invention to provide a shading correction device and a shading correction method that can appropriately correct a shading reference value and thereby can perform shading correction satisfactorily.

【0013】[0013]

【課題を解決するための手段および発明の効果】上記の
目的を達成するための請求項1記載の発明は、画像を画
素ごとに読み取り、各画素の濃度データを出力する読み
取り手段(スキャナ1)の出力データを、シェーディン
グ基準値(白基準値または黒基準値)に基づいて補正す
るシェーディング補正装置であって、上記読み取り手段
により濃度基準板(白基準板24)を読み取らせたとき
にこの読み取り手段から出力される各画素の濃度データ
をシェーディング補正のためのシェーディング基準値と
して記憶するシェーディング基準値記憶手段(ラインメ
モリ41)と、個々の画素を順次注目画素とし、その注
目画素の近傍の所定の位置関係の複数の画素のシェーデ
ィング基準値を上記シェーディング基準値記憶手段から
読み出し、この読み出された複数の画素のシェーディン
グ基準値に基づいて、注目画素ごとにシェーディング基
準値の正常値の範囲を定める正常値範囲設定手段(正常
値範囲設定部44)と、注目画素のシェーディング基準
値が上記正常値範囲設定手段によって設定された正常値
の範囲内の値であれば、そのシェーディング基準値は正
常値であると判定し、注目画素のシェーディング基準値
が上記正常値範囲設定手段によって設定された正常値の
範囲外の値であれば、そのシェーディング基準値は異常
値であると判定する異常基準値判定手段(異常判定部4
3)とを含むことを特徴とするシェーディング補正装置
である。なお、括弧内は、後述の実施形態における対応
構成要素を示す。以下においても同様である。
According to the first aspect of the present invention, there is provided a reading means (scanner 1) for reading an image for each pixel and outputting density data of each pixel. A shading correction device that corrects the output data of (1) based on a shading reference value (white reference value or black reference value), and reads the density reference plate (white reference plate 24) by the reading means. A shading reference value storage means (line memory 41) for storing the density data of each pixel output from the means as a shading reference value for shading correction; The shading reference values of a plurality of pixels having a positional relationship of A normal value range setting unit (normal value range setting unit 44) for determining a normal value range of the shading reference value for each pixel of interest based on the output shading reference values of the plurality of pixels; If the value is within the range of the normal value set by the normal value range setting means, the shading reference value is determined to be a normal value, and the shading reference value of the pixel of interest is set by the normal value range setting means. If the value is outside the normal value range, the shading reference value is determined to be an abnormal value.
And 3) a shading correction device. Note that the components in parentheses indicate corresponding components in the embodiment described later. The same applies to the following.

【0014】上記注目画素の近傍の所定の位置関係の複
数の画素は、読み取り手段が一次元イメージセンサ(ラ
インCCD26)の場合、注目画素の一方側に位置する
画素を含む一連の画素群であることが好ましい。また、
正常値範囲設定手段は、注目画素の近傍の所定の位置関
係の複数の画素におけるシェーディング基準値の平均値
を求め、この平均値を中心とした一定の範囲を正常値の
範囲として設定するものであってもよい。
The plurality of pixels having a predetermined positional relationship in the vicinity of the target pixel are a series of pixels including pixels located on one side of the target pixel when the reading means is a one-dimensional image sensor (line CCD 26). Is preferred. Also,
The normal value range setting means calculates an average value of the shading reference values in a plurality of pixels having a predetermined positional relationship in the vicinity of the target pixel, and sets a certain range around the average value as a range of the normal value. There may be.

【0015】上記の構成によれば、シェーディング基準
値の正常値の範囲が、注目画素の近傍の複数の画素のシ
ェーディング基準値に基づいて定められるので、注目画
素の近傍の状況を反映した局所的な基準値が定められる
ことになる。そのため、読み取り手段の読み取り範囲内
においてシェーディング基準値が大きくばらついている
場合であっても、注目画素のシェーディング基準値が正
常か異常かの判定を適切に行うことができる。
According to the above configuration, the range of the normal value of the shading reference value is determined based on the shading reference values of a plurality of pixels in the vicinity of the pixel of interest. Criterion values are determined. Therefore, even if the shading reference value greatly varies within the reading range of the reading unit, it is possible to appropriately determine whether the shading reference value of the target pixel is normal or abnormal.

【0016】これにより、異常なシェーディング基準値
を確実に排除できるので、良好なシェーディング補正が
可能になる。請求項2記載の発明は、上記正常値範囲設
定手段は、注目画素の近傍の所定の位置関係の複数の画
素のシェーディング基準値のうち、上記異常基準値判定
手段によって正常値であると判定されたもののみに基づ
いて、シェーディング基準値の正常値の範囲を定めるも
のであることを特徴とする請求項1記載のシェーディン
グ補正装置である。
[0016] Thereby, an abnormal shading reference value can be surely eliminated, so that good shading correction can be performed. In the invention according to claim 2, the normal value range setting means determines that the abnormal reference value determining means is a normal value among the shading reference values of a plurality of pixels having a predetermined positional relationship in the vicinity of the target pixel. 2. The shading correction device according to claim 1, wherein a range of the normal value of the shading reference value is determined based only on the shading correction value.

【0017】この構成によれば、正常値とされたシェー
ディング基準値のみを用いて正常値の範囲が定められる
ので、さらに適切に正常値の範囲を定めることができ
る。請求項3記載の発明は、上記正常値範囲設定手段に
よって設定される正常値の範囲に対応した補正値を求め
る補正値演算手段(正常値範囲設定部44の平均値AV
Eの演算機能に係る部分)と、上記異常基準値判定手段
によって異常値であると判定されたシェーディング基準
値を上記補正値演算手段によって求められた補正値に補
正するシェーディング基準値補正手段(白基準値補正部
45)とをさらに含むことを特徴とする請求項1または
2記載のシェーディング補正装置である。
According to this configuration, since the range of the normal value is determined using only the shading reference value determined as the normal value, the range of the normal value can be determined more appropriately. According to a third aspect of the present invention, there is provided a correction value calculating means for calculating a correction value corresponding to the normal value range set by the normal value range setting means.
E) and a shading reference value correcting means (white) for correcting the shading reference value determined to be an abnormal value by the abnormal reference value determining means to a correction value determined by the correction value calculating means. The shading correction device according to claim 1, further comprising a reference value correction unit (45).

【0018】この構成によれば、注目画素の周辺の複数
の画素のシェーディング基準値に基づいて定められる正
常値の範囲に対応した補正値が求められ、異常値のシェ
ーディング基準値は、この補正値に補正される。したが
って、補正値は、注目画素の周辺の局所的状況を反映し
た値を取り得るから、シェーディング基準値の適切な補
正が可能になる。これにより、良好なシェーディング補
正を行うことができる。
According to this configuration, a correction value corresponding to a range of normal values determined based on the shading reference values of a plurality of pixels around the pixel of interest is obtained. Is corrected to Therefore, since the correction value can take a value reflecting the local situation around the pixel of interest, it is possible to appropriately correct the shading reference value. Thereby, good shading correction can be performed.

【0019】なお、補正値演算手段は、正常値の範囲の
中心値を補正値とするものであってもよい。また、補正
値演算手段は、正常値の範囲に関係なく、注目画素の近
傍の所定の位置関係の複数の画素のシェーディング基準
値の平均値を補正値として求めるものであってもよい。
The correction value calculating means may use the center value of the normal value range as the correction value. Further, the correction value calculating means may determine an average value of the shading reference values of a plurality of pixels having a predetermined positional relationship in the vicinity of the target pixel as the correction value, regardless of the normal value range.

【0020】請求項4記載の発明は、画像を画素ごとに
読み取り、各画素の濃度データを出力する読み取り手段
の出力データを、シェーディング基準値に基づいて補正
するシェーディング補正方法であって、上記読み取り手
段により濃度基準板を読み取らせたときに出力される各
画素の濃度データをシェーディング補正のためのシェー
ディング基準値として取得するステップと、個々の画素
を順次注目画素とし、その注目画素の近傍の所定の位置
関係の複数の画素の上記シェーディング基準値に基づい
て、注目画素ごとにシェーディング基準値の正常値の範
囲を定めるステップと、注目画素のシェーディング基準
値が上記正常値の範囲内の値であれば、そのシェーディ
ング基準値は正常値であると判定し、注目画素のシェー
ディング基準値が上記正常値の範囲外の値であれば、そ
のシェーディング基準値は異常値であると判定するステ
ップとを含むことを特徴とするシェーディング補正方法
である。
According to a fourth aspect of the present invention, there is provided a shading correction method for reading an image for each pixel and correcting output data of reading means for outputting density data of each pixel based on a shading reference value. Acquiring density data of each pixel output when the density reference plate is read by the means as a shading reference value for shading correction; and sequentially setting each pixel as a target pixel and determining a predetermined value in the vicinity of the target pixel. Determining a range of the normal value of the shading reference value for each pixel of interest based on the shading reference values of the plurality of pixels having the positional relationship described above, and determining whether the shading reference value of the pixel of interest is a value within the range of the normal value. If the shading reference value of the pixel of interest is determined to be a normal value, If outside the range of values of the serial normal value, the shading reference value is a shading correction method characterized by comprising the determining that an abnormal value.

【0021】この方法により、請求項1の発明と同様な
効果を達成できる。請求項5記載の発明は、上記正常値
の範囲は、注目画素の近傍の所定の位置関係の複数の画
素のシェーディング基準値のうち、正常値であると判定
されたもののみに基づいて定められることを特徴とする
請求項4記載のシェーディング補正方法である。
According to this method, the same effect as that of the first aspect can be achieved. In the invention according to claim 5, the range of the normal value is determined based only on the shading reference values of a plurality of pixels having a predetermined positional relationship in the vicinity of the target pixel, which are determined to be normal values. The shading correction method according to claim 4, wherein:

【0022】この方法により、請求項2の発明と同様な
効果を達成できる。請求項6記載の発明は、上記正常値
の範囲に対応した補正値を求めるステップと、異常値で
あると判定されたシェーディング基準値を上記補正値に
補正するステップとをさらに含むことを特徴とする請求
項4または5記載のシェーディング補正方法である。
According to this method, the same effect as that of the second aspect can be achieved. The invention according to claim 6 further includes a step of obtaining a correction value corresponding to the normal value range, and a step of correcting a shading reference value determined to be an abnormal value to the correction value. A shading correction method according to claim 4 or claim 5.

【0023】この方法により、請求項3の発明と同様な
効果を達成できる。
According to this method, the same effect as that of the third aspect can be achieved.

【0024】[0024]

【発明の実施の形態】以下では、この発明の実施の形態
を、添付図面を参照して詳細に説明する。図1は、この
発明の一実施形態が適用されたファクシミリ装置の画像
処理に関連する部分の電気的構成を示すブロック図であ
る。ファクシミリ装置にセットされた原稿は、スキャナ
1で読み取られる。スキャナ1には、ラインCCDイメ
ージセンサが含まれている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a portion related to image processing of a facsimile apparatus to which an embodiment of the present invention is applied. The document set on the facsimile machine is read by the scanner 1. The scanner 1 includes a line CCD image sensor.

【0025】スキャナ1で読み取られた原稿のイメージ
データは、入力インタフェース部2へ与えられ、このイ
ンタフェース部2で信号のサンプルホールド処理等が行
われる。入力インタフェース部2は、この実施形態にお
いては、アナログ回路で構成されており、上記処理はア
ナログ的に行われる。入力インタフェース部2で処理さ
れたイメージデータは、ディジタルAGC回路3へ与え
られて、信号(イメージデータ)のレベルを所望の範囲
に納めるためのゲインコントロールが行われ、かつ、ア
ナログ信号からディジタル信号への変換が行われる。
The image data of the document read by the scanner 1 is supplied to an input interface unit 2, which performs a signal sample-and-hold process and the like. In this embodiment, the input interface unit 2 is configured by an analog circuit, and the above processing is performed in an analog manner. The image data processed by the input interface unit 2 is applied to a digital AGC circuit 3, where a gain control for keeping the level of a signal (image data) within a desired range is performed, and an analog signal is converted to a digital signal. Is performed.

【0026】次いで、ゲインコントロールされたイメー
ジデータは、シェーディング補正回路4へ与えられ、シ
ェーディング歪みが軽減または除去される。シェーディ
ング歪みとは、スキャナ1で原稿を読み取る際の読み取
り用光源の照明むらやその他の原因による画素間濃度む
らをいう。この実施形態は、このシェーディング補正回
路4の構成および処理に特徴がある。
Next, the gain-controlled image data is supplied to a shading correction circuit 4 to reduce or eliminate shading distortion. The shading distortion refers to unevenness in illumination of a reading light source when reading an original by the scanner 1 or unevenness in density between pixels due to other causes. This embodiment is characterized by the configuration and processing of the shading correction circuit 4.

【0027】シェーディング歪みが軽減または除去され
たイメージデータは、次に、領域分離回路5へ与えられ
る。領域分離回路5では、入力されるイメージデータが
文字を読み取ったイメージデータ(文字データ)である
か、写真を読み取ったイメージデータ(写真データ)で
あるか、または、印刷写真、たとえば新聞紙や雑誌等の
写真画像を読み取った網点のイメージデータ(網点デー
タ)であるのかの判別か行われる。
The image data from which the shading distortion has been reduced or removed is next supplied to a region separating circuit 5. In the region separating circuit 5, the input image data is image data (character data) obtained by reading characters, image data (photo data) obtained by reading a photograph, or a printed photograph, such as newspaper or magazine. It is determined whether the image data is image data (halftone data) of halftone dots obtained by reading the photographic image.

【0028】もし、入力されるイメージデータ中に、文
字データ、写真データおよび網点データが混在している
場合には、各データの領域分離が行われる。領域分離回
路5の出力側には、領域分離されたデータの種類別に異
なる処理を施すフィルタ部6が接続されている。フィル
タ部6は、微分フィルタ6A、積分フィルタ6B、積分
微分フィルタ6Cおよびデータスルーフィルタ6Dを備
えている。そして、フィルタ部6は、領域分離回路5か
ら各画素がいずれの領域のデータであるかを表す領域分
離信号を受けて、各画素に対して適切なフィルタによる
処理を施す。すなわち、文字データは、微分フィルタ6
Aに与えられ、輪郭を鮮明にするための処理が施され
る。網点データは、積分フィルタ6Bに与えられ、デー
タの平滑化がされる。また、各領域の境界画素は、積分
微分フィルタ6Cに与えられ、異なる画素情報の急激な
濃度変化を緩和するための処理が施される。さらに、文
字データおよび網点データ以外のデータ、すなわち、写
真データは、データスルーフィルタ6Dに与えられ、そ
のまま、次の回路に送られる。
If character data, photograph data, and halftone data are mixed in the input image data, area separation of each data is performed. On the output side of the region separation circuit 5, a filter unit 6 that performs different processing for each type of region-separated data is connected. The filter unit 6 includes a differentiation filter 6A, an integration filter 6B, an integration differentiation filter 6C, and a data through filter 6D. Then, the filter unit 6 receives, from the region separation circuit 5, a region separation signal indicating which region each pixel belongs to, and performs an appropriate filter process on each pixel. That is, the character data is stored in the differential filter 6.
A, and a process for sharpening the outline is performed. The halftone data is supplied to the integration filter 6B, and the data is smoothed. Also, the boundary pixels of each area are provided to the integral / differential filter 6C, and are subjected to processing for alleviating a sudden change in the density of different pixel information. Further, data other than the character data and the halftone dot data, that is, the photographic data, is given to the data through filter 6D and sent to the next circuit as it is.

【0029】フィルタ部6からのデータは、ズーム・ス
ムージング回路9へ与えられる。ズーム・スムージング
回路9では、画像を拡大または縮小する場合に、その拡
大または縮小処理およびそれに伴う画像の歪みを補正す
る処理が行われる。もし、画像を拡大または縮小しない
場合には、ズーム・スムージング回路9は、イメージデ
ータに何らの処理も施さない。
The data from the filter section 6 is applied to a zoom / smoothing circuit 9. In the case of enlarging or reducing an image, the zoom / smoothing circuit 9 performs an enlarging or reducing process and a process of correcting image distortion accompanying the enlarging or reducing process. If the image is not enlarged or reduced, the zoom / smoothing circuit 9 does not perform any processing on the image data.

【0030】ズーム・スムージング回路9までの処理を
経たイメージデータは、その後、種類に応じて次のいず
れかの回路での処理が施され、多値データ(たとえば、
8ビット(0〜255))から二値データ(「0」また
は「1」)への変換が行われる。すなわち、イメージデ
ータが写真データまたは網点データであって、中間調処
理を施すべきものである場合には、γ補正回路10へ与
えられ、人間の目の特性に合わせるようにデータの感度
特性が補正される。さらに、誤差拡散回路11へ与えら
れて良好な中間調表現のための処理が施されたうえで、
二値化される。
The image data that has undergone the processing up to the zoom / smoothing circuit 9 is then subjected to processing in one of the following circuits depending on the type, and multi-valued data (for example,
Conversion from 8 bits (0 to 255) to binary data ("0" or "1") is performed. That is, when the image data is photograph data or halftone data and is to be subjected to halftone processing, the image data is supplied to the γ correction circuit 10 and the sensitivity characteristics of the data are adjusted to match the characteristics of human eyes. Will be corrected. Further, after being given to the error diffusion circuit 11 and subjected to a process for good halftone expression,
It is binarized.

【0031】他方、イメージデータが文字データであ
り、単純二値化処理を施すべきデータの場合には、二値
化回路12へ与えられる。二値化回路12は、二値化の
ためのスライスレベルを調整して、背景と文字や線画等
とを区別する。このとき、濃度が適正になるよう、自動
濃度調整処理も行われる。そして二値化回路12の出力
は、孤立点除去回路13へ与えられて、ノイズ等のため
に現れた孤立した黒点や白点等の除去がなされる。
On the other hand, if the image data is character data and data to be subjected to simple binarization processing, it is supplied to the binarization circuit 12. The binarization circuit 12 adjusts a slice level for binarization to distinguish a background from characters, line drawings, and the like. At this time, an automatic density adjustment process is also performed so that the density becomes appropriate. The output of the binarizing circuit 12 is supplied to an isolated point removing circuit 13 to remove isolated black points and white points that appear due to noise or the like.

【0032】以上の処理により生成された二値化データ
は、出力回路14へ与えられ、図示しない送信回路へ出
力され、或いは印刷回路へ出力される。図2は、シェー
ディング補正回路4の構成を説明するための図である。
この実施形態に係るファクシミリ装置では、ローラ21
により搬送される原稿の搬送経路22上の所定の位置が
読み取り位置23とされている。読み取り位置23に
は、たとえば、原稿搬送経路22の搬送方向に直交する
方向に延びる濃度基準板としての白基準板24が配置さ
れている。また、この白基準板24または原稿搬送経路
22を搬送される原稿を読み取り位置23において照明
するためのランプ25と、このランプ25で照明された
白基準板24または読み取り位置23における原稿内容
を読み取るためのラインCCD26が配置されている。
ラインCCD26と読み取り位置23との間には、読み
取り位置23に提示された原稿像をラインCCD26の
受光面に結像するための結像光学系27が配置されてい
る。
The binarized data generated by the above processing is supplied to the output circuit 14 and output to a transmission circuit (not shown) or to a printing circuit. FIG. 2 is a diagram for explaining the configuration of the shading correction circuit 4.
In the facsimile apparatus according to this embodiment, the roller 21
A predetermined position on the conveyance path 22 of the document conveyed by is set as a reading position 23. At the reading position 23, for example, a white reference plate 24 as a density reference plate extending in a direction perpendicular to the transport direction of the document transport path 22 is arranged. Further, a lamp 25 for illuminating the original conveyed through the white reference plate 24 or the original conveyance path 22 at the reading position 23, and reading the original content at the white reference plate 24 or the reading position 23 illuminated by the lamp 25. A line CCD 26 is provided for this purpose.
An image forming optical system 27 for forming a document image presented at the reading position 23 on the light receiving surface of the line CCD 26 is disposed between the line CCD 26 and the reading position 23.

【0033】このラインCCD26で読み取られたイメ
ージデータは、図1で説明したように、入力インタフェ
ース部2およびディジタルAGC回路3を経て、シェー
ディング補正回路4へ与えられる。シェーディング補正
回路4は、ラインCCD26の複数の読み取り画素にそ
れぞれ対応した白基準値WSTおよび黒基準値BSTを
記憶するためのラインメモリ41と、このラインメモリ
41に格納された白基準値WSTおよび黒基準値BST
に基づいて、入力画像データDに対して、下記第(2) 式
によるシェーディング補正演算を施し、シェーディング
補正後のデータSOUTを演算する補正演算部42とを
備えている。
The image data read by the line CCD 26 is supplied to the shading correction circuit 4 via the input interface unit 2 and the digital AGC circuit 3 as described with reference to FIG. The shading correction circuit 4 includes a line memory 41 for storing a white reference value WST and a black reference value BST respectively corresponding to a plurality of read pixels of the line CCD 26, and a white reference value WST and a black reference value stored in the line memory 41. Reference value BST
And a correction operation unit 42 that performs a shading correction operation on the input image data D based on the following formula (2) to calculate data SOUT after the shading correction.

【0034】[0034]

【数2】 (Equation 2)

【0035】上記第(2) 式において、OFFSETは、オフセ
ット値を表す。たとえば、ディジタルAGC回路3に備
えられたアナログ/ディジタル変換器が7ビットのデー
タ深さを有している場合に、白基準値の最小値が「00
00111」であるとすると、実質的には4ビットで階
調表現が行われていることになる。そこで、シェーディ
ング補正演算式の除数および被除数から一定のオフセッ
ト値OFFSETを減じておくことにより、濃度を7ビットで
階調表現したデータをシェーディング補正後のデータS
OUTとして得ることができる。つまり、アナログ/デ
ィジタル変換器のデータ深さを有効に利用して、補正後
のデータSOUTのダイナミックレンジを大きくとるこ
とができる。
In the above equation (2), OFFSET represents an offset value. For example, when the analog / digital converter provided in the digital AGC circuit 3 has a data depth of 7 bits, the minimum value of the white reference value is “00”.
If it is "00111", it means that the gradation expression is substantially performed by 4 bits. Therefore, by subtracting a constant offset value OFFSET from the divisor and the dividend in the shading correction operation expression, the data representing the density in 7-bit gradation is represented by the data S after the shading correction.
OUT can be obtained. That is, the dynamic range of the corrected data SOUT can be increased by effectively utilizing the data depth of the analog / digital converter.

【0036】シェーディング補正回路4には、さらに、
白基準値WSTの異常判定を行うための異常判定部43
と、白基準値WSTの正常値の範囲を定めるための正常
値範囲設定部44と、異常値の白基準値WSTを補正す
るための白基準値補正部45とが備えられている。図3
は、シェーディング補正回路4における白基準値WST
の補正の原理を説明するための図解図である。
The shading correction circuit 4 further includes:
Abnormality determination unit 43 for performing abnormality determination of white reference value WST
A normal value range setting unit 44 for determining a normal value range of the white reference value WST; and a white reference value correction unit 45 for correcting the abnormal white reference value WST. FIG.
Is the white reference value WST in the shading correction circuit 4.
FIG. 4 is an illustrative view for explaining a principle of correction of FIG.

【0037】白基準値WSTは、白基準板24を読み取
ったときのラインCCD26の出力データである。この
白基準値WSTは、[従来の技術]の項において説明し
たとおり、読み取り範囲の中央付近においては小さな値
をとり、読み取り範囲の両端付近においては、大きな値
をとる。したがって、読み取り範囲の一端から中央付近
に至る途中の領域においては、図3に示されているよう
に、画素P1,P2、・・・・・・の白基準値WSTは、なめ
らかな曲線にほぼ沿って、徐々に小さな値をとっていく
ことになる。
The white reference value WST is output data of the line CCD 26 when the white reference plate 24 is read. As described in the section of [Prior Art], the white reference value WST takes a small value near the center of the reading range and takes a large value near both ends of the reading range. Therefore, as shown in FIG. 3, the white reference values WST of the pixels P1, P2,... Along the way, it will gradually take smaller values.

【0038】シェーディング補正回路4では、ラインC
CD26からの白基準値WSTがラインメモリ41に格
納された後、複数の画素を一方端の画素から順次1つず
つ注目画素とし、その注目画素の白基準値WSTが正常
値か否かを判定し、異常値であれば適当な補正値と置き
換えるための処理が行われる。たとえば、図3の画素P
10が注目画素の場合、正常値範囲設定部44は、直前
の数画素(たとえば、8画素)P9,P8,・・・・・・,P
2の白基準値WSTの平均値AVEを求め、この平均値
AVEを中心とした一定の範囲、すなわち、AVE−α
からAVE+αまでの範囲を、注目画素P10の正常値
の範囲として設定する。言い換えれば、AVE+αが正
常値の上限しきい値とされ、AVE−αが、正常値の下
限しきい値とされる。
In the shading correction circuit 4, the line C
After the white reference value WST from the CD 26 is stored in the line memory 41, a plurality of pixels are sequentially set as a target pixel one by one from one end pixel, and it is determined whether or not the white reference value WST of the target pixel is a normal value. However, if the value is an abnormal value, a process for replacing the value with an appropriate correction value is performed. For example, the pixel P in FIG.
If 10 is the pixel of interest, the normal value range setting unit 44 sets the immediately preceding pixels (eg, 8 pixels) P9, P8,.
The average value AVE of the two white reference values WST is obtained, and a certain range around the average value AVE, that is, AVE-α
Is set as the range of the normal value of the pixel of interest P10. In other words, AVE + α is the upper limit threshold of the normal value, and AVE−α is the lower threshold of the normal value.

【0039】異常判定部43は、ラインメモリ41から
読み出した注目画素P10の白基準値WSTと、上限し
きい値AVE+αおよび下限しきい値AVE−αとを比
較し、その白基準値WSTが正常値の範囲内の値かどう
かを判断する。白基準値WSTが正常値の範囲内の値で
あれば、異常判定部43は、その白基準値WSTが正常
値であるものと判定し、その注目画素P10についての
処理を終え、次の画素P11を注目画素として同様な処
理が行われる。
The abnormality determining section 43 compares the white reference value WST of the pixel of interest P10 read from the line memory 41 with the upper threshold value AVE + α and the lower threshold value AVE-α, and the white reference value WST is normal. Determines if the value is within the value range. If the white reference value WST is a value within the range of the normal value, the abnormality determination unit 43 determines that the white reference value WST is a normal value, finishes the process for the target pixel P10, and returns to the next pixel. Similar processing is performed using P11 as the pixel of interest.

【0040】一方、図3において参照符号P10a,P
10bで示すように、白基準板の汚れ(P10a)や、
電気的ノイズ、ゴミの付着または基準板の汚れ(P10
b)などに起因して、注目画素P10の白基準値WST
が上記正常値の範囲外の値をとっているときには、異常
判定部43は、その白基準値WSTを異常値であるもの
と判定し、そのことを表す異常判定信号を白基準値補正
部45に与える。これを受けて、白基準値補正部45
は、白基準値WSTを補正値CVに置き換え、この補正
値CVを注目画素P10の白基準値としてラインメモリ
41に書き込む。その後は、次の画素P11を注目画素
として同様な処理が行われることになる。
On the other hand, in FIG.
As shown by 10b, contamination of the white reference plate (P10a),
Electrical noise, adhesion of dust, or contamination of the reference plate (P10
b) and the like, the white reference value WST of the pixel of interest P10
Is outside the normal value range, the abnormality determination unit 43 determines that the white reference value WST is an abnormal value, and outputs an abnormality determination signal indicating this to the white reference value correction unit 45. Give to. In response, the white reference value correction unit 45
Replaces the white reference value WST with the correction value CV, and writes the correction value CV into the line memory 41 as the white reference value of the pixel of interest P10. After that, similar processing is performed with the next pixel P11 as a target pixel.

【0041】補正値CVは、上記の平均値AVEと等し
くてもよく、この場合には、平均値AVEが正常値範囲
設定部44から白基準値補正部45に与えられることに
なる。なお、正常値範囲設定部44は、直前の数画素の
平均値を求める際に、当初の白基準値WSTが異常値で
あると判定された画素の白基準値データを用いず、正常
値の白基準値WSTを数画素分用いて平均値演算を行
う。具体的には、正常値範囲設定部44は、注目画素の
白基準値WSTが正常値であるとの判定結果を異常判定
部43から受けたときに、これに応じて、次の画素の正
常値範囲を設定するために、そのときの注目画素および
その直前の数画素の平均値を求める。その一方、異常判
定部43から注目画素の白基準値WSTが異常であると
の判定結果を受けたときには、平均値演算を行わず、正
常値範囲の更新を行わない。
The correction value CV may be equal to the above-mentioned average value AVE. In this case, the average value AVE is given from the normal value range setting section 44 to the white reference value correction section 45. Note that the normal value range setting unit 44 does not use the white reference value data of the pixel for which the initial white reference value WST is determined to be an abnormal value when calculating the average value of the immediately preceding pixels. An average value calculation is performed using the white reference value WST for several pixels. Specifically, when the normal value range setting unit 44 receives from the abnormality determination unit 43 a result of the determination that the white reference value WST of the target pixel is a normal value, the normal value range setting unit 44 responds accordingly. In order to set the value range, an average value of the pixel of interest at that time and several pixels immediately before the pixel of interest is obtained. On the other hand, when the determination result that the white reference value WST of the target pixel is abnormal is received from the abnormality determination unit 43, the average value calculation is not performed and the normal value range is not updated.

【0042】正常値範囲設定部44における平均値演算
は、注目画素およびその直前の数画素の単純平均値を求
める演算であってもよいし、下記第(3) 式により求めら
れる移動平均値を求める演算であってもよい。 (移動平均値)=Total −(前回の移動平均値)+(注目画素の白基準値) ・・・・・・ (3) ただし、Total は、注目画素およびその直前の数画素の
白基準値の合計値である。
The average value calculation in the normal value range setting section 44 may be a calculation for obtaining a simple average value of the pixel of interest and several pixels immediately before the pixel of interest or a moving average value obtained by the following equation (3). The required calculation may be used. (Moving average value) = Total− (previous moving average value) + (white reference value of target pixel) (3) Here, Total is the white reference value of the target pixel and several pixels immediately before it. Is the sum of

【0043】処理開始当初の数画素については、平均値
演算のための画素数が不足しているので、これらの画素
については、白基準値の正常/異常の判定および補正を
行わないか、または、予め定めた一定の正常値範囲およ
び一定の補正値に基づいて、正常/異常の判定および補
正を行うようにすればよい。以上のように、この実施形
態によれば、注目画素の直前の数画素の白基準値の平均
値に基づき、注目画素ごとに正常値の範囲および補正値
を設定するようにしている。これにより、ラインCCD
26の読み取り範囲の一方端から他方端に至る任意の読
み取り画素についての白基準値の正常/異常の判定およ
び補正を適切に行うことができる。その結果、良好なシ
ェーディング補正が可能になる。
Since the number of pixels for calculating the average value is insufficient for some pixels at the beginning of the process, the normal / abnormal judgment and correction of the white reference value are not performed for these pixels, or The normal / abnormal judgment and correction may be performed based on a predetermined normal value range and a predetermined correction value. As described above, according to this embodiment, the normal value range and the correction value are set for each pixel of interest based on the average value of the white reference values of several pixels immediately before the pixel of interest. With this, the line CCD
It is possible to appropriately determine whether or not the white reference value is normal / abnormal for any read pixel from one end to the other end of the read range 26 and correct it. As a result, good shading correction becomes possible.

【0044】この発明の一実施形態について説明した
が、この発明は他の形態で実施することも可能である。
たとえば、上述の実施形態では、1チップで構成された
ラインCCD26を用いたファクシミリを例にとった
が、この発明は、読み取り対象の原稿の全幅をカバーす
る長いスキャナユニットを複数のチップで構成した密着
型イメージセンサにより原稿を読み取る装置にも適用す
ることができる。この場合に、チップ間の白基準値の段
差の影響を可及的に排除して、白基準値の正常/異常の
判定およびその補正を適切に行うことができる。
Although one embodiment of the present invention has been described, the present invention can be embodied in other forms.
For example, in the above-described embodiment, a facsimile using the line CCD 26 composed of one chip is taken as an example. However, according to the present invention, a long scanner unit covering the entire width of a document to be read is composed of a plurality of chips. The present invention can also be applied to a device that reads a document using a contact image sensor. In this case, the influence of the step of the white reference value between the chips can be eliminated as much as possible, and the normal / abnormal judgment of the white reference value and the correction thereof can be appropriately performed.

【0045】また、上述の実施形態では、白基準値の補
正を行うための構成について説明したが、黒基準値につ
いても同様な正常/異常の判定および補正が行われても
よい。ただし、黒基準値は、一般に、ランプ25を消灯
した状態で検出されるので、白基準値の場合のようなノ
イズが生じる可能性が低いから、黒基準値についての正
常/異常の判定や補正は必ずしも必要ではない。
In the above-described embodiment, the configuration for correcting the white reference value has been described. However, similar normal / abnormal judgment and correction may be performed for the black reference value. However, since the black reference value is generally detected in a state where the lamp 25 is turned off, there is a low possibility of noise as in the case of the white reference value. Is not necessary.

【0046】また、この発明は、ファクシミリ装置に限
らず、イメージスキャナおよびディジタル複写機などに
も適用することが可能である。その他、特許請求の範囲
に記載された技術的事項の範囲で種々の設計変更を施す
ことが可能である。
The present invention can be applied not only to a facsimile apparatus but also to an image scanner and a digital copying machine. In addition, it is possible to make various design changes within the technical scope described in the claims.

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

【図1】この発明の一実施形態が適用されたファクシミ
リ装置の画像処理に関連する構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration related to image processing of a facsimile apparatus to which an embodiment of the present invention is applied.

【図2】シェーディング補正に関連する構成を示すブロ
ック図である。
FIG. 2 is a block diagram illustrating a configuration related to shading correction.

【図3】白基準値の正常/異常の判定および補正の原理
を説明するための図解図である。
FIG. 3 is an illustrative view for explaining the principle of normal / abnormal judgment and correction of a white reference value;

【図4】ラインCCDによる原稿読み取りのための構成
を示す図解図である。
FIG. 4 is an illustrative view showing a configuration for reading a document by a line CCD;

【図5】白基準値の検出結果例を示す図である。FIG. 5 is a diagram illustrating an example of a detection result of a white reference value.

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

1 スキャナ 4 シェーディング補正回路 26 ラインCCD 41 ラインメモリ 42 補正演算部 43 異常判定部 44 正常値範囲設定部 45 白基準値補正部 DESCRIPTION OF SYMBOLS 1 Scanner 4 Shading correction circuit 26 Line CCD 41 Line memory 42 Correction operation part 43 Abnormality judgment part 44 Normal value range setting part 45 White reference value correction part

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】画像を画素ごとに読み取り、各画素の濃度
データを出力する読み取り手段の出力データを、シェー
ディング基準値に基づいて補正するシェーディング補正
装置であって、 上記読み取り手段により濃度基準板を読み取らせたとき
にこの読み取り手段から出力される各画素の濃度データ
をシェーディング補正のためのシェーディング基準値と
して記憶するシェーディング基準値記憶手段と、 個々の画素を順次注目画素とし、その注目画素の近傍の
所定の位置関係の複数の画素のシェーディング基準値を
上記シェーディング基準値記憶手段から読み出し、この
読み出された複数の画素のシェーディング基準値に基づ
いて、注目画素ごとにシェーディング基準値の正常値の
範囲を定める正常値範囲設定手段と、 注目画素のシェーディング基準値が上記正常値範囲設定
手段によって設定された正常値の範囲内の値であれば、
そのシェーディング基準値は正常値であると判定し、注
目画素のシェーディング基準値が上記正常値範囲設定手
段によって設定された正常値の範囲外の値であれば、そ
のシェーディング基準値は異常値であると判定する異常
基準値判定手段とを含むことを特徴とするシェーディン
グ補正装置。
1. A shading correction device for reading an image for each pixel and correcting output data of a reading means for outputting density data of each pixel based on a shading reference value. A shading reference value storage unit that stores density data of each pixel output from the reading unit when the reading is performed as a shading reference value for shading correction; The shading reference values of a plurality of pixels having a predetermined positional relationship are read from the shading reference value storage means, and based on the read shading reference values of the plurality of pixels, a normal value of the shading reference value for each pixel of interest is calculated. Normal value range setting means for determining the range; If the reference value is a value within a range of normal values set by the normal value range setting means,
It is determined that the shading reference value is a normal value, and if the shading reference value of the pixel of interest is a value outside the normal value set by the normal value range setting means, the shading reference value is an abnormal value. A shading correction device, comprising: an abnormality reference value determination unit that determines that
【請求項2】上記正常値範囲設定手段は、注目画素の近
傍の所定の位置関係の複数の画素のシェーディング基準
値のうち、上記異常基準値判定手段によって正常値であ
ると判定されたもののみに基づいて、シェーディング基
準値の正常値の範囲を定めるものであることを特徴とす
る請求項1記載のシェーディング補正装置。
2. The method according to claim 1, wherein said normal value range setting means includes only a shading reference value of a plurality of pixels having a predetermined positional relationship in the vicinity of the pixel of interest determined to be a normal value by said abnormal reference value determining means. 2. The shading correction device according to claim 1, wherein a range of a normal value of the shading reference value is determined based on the following.
【請求項3】上記正常値範囲設定手段によって設定され
る正常値の範囲に対応した補正値を求める補正値演算手
段と、 上記異常基準値判定手段によって異常値であると判定さ
れたシェーディング基準値を上記補正値演算手段によっ
て求められた補正値に補正するシェーディング基準値補
正手段とをさらに含むことを特徴とする請求項1または
2記載のシェーディング補正装置。
3. A correction value calculating means for obtaining a correction value corresponding to a normal value range set by said normal value range setting means; and a shading reference value determined to be an abnormal value by said abnormal reference value determining means. 3. The shading correction device according to claim 1, further comprising: a shading reference value correction unit that corrects the correction value to a correction value obtained by the correction value calculation unit.
【請求項4】画像を画素ごとに読み取り、各画素の濃度
データを出力する読み取り手段の出力データを、シェー
ディング基準値に基づいて補正するシェーディング補正
方法であって、 上記読み取り手段により濃度基準板を読み取らせたとき
に出力される各画素の濃度データをシェーディング補正
のためのシェーディング基準値として取得するステップ
と、 個々の画素を順次注目画素とし、その注目画素の近傍の
所定の位置関係の複数の画素の上記シェーディング基準
値に基づいて、注目画素ごとにシェーディング基準値の
正常値の範囲を定めるステップと、 注目画素のシェーディング基準値が上記正常値の範囲内
の値であれば、そのシェーディング基準値は正常値であ
ると判定し、注目画素のシェーディング基準値が上記正
常値の範囲外の値であれば、そのシェーディング基準値
は異常値であると判定するステップとを含むことを特徴
とするシェーディング補正方法。
4. A shading correction method for reading an image for each pixel and correcting output data of a reading means for outputting density data of each pixel based on a shading reference value. Acquiring the density data of each pixel output when read as a shading reference value for shading correction, and sequentially setting each pixel as a target pixel and a plurality of pixels having a predetermined positional relationship in the vicinity of the target pixel. Determining a normal value range of the shading reference value for each pixel of interest based on the shading reference value of the pixel; if the shading reference value of the pixel of interest falls within the range of the normal value, the shading reference value Is determined to be a normal value, and the shading reference value of the pixel of interest is out of the range of the normal value. If shading correction method thereof shading reference value, characterized in that it comprises a determining that an abnormal value.
【請求項5】上記正常値の範囲は、注目画素の近傍の所
定の位置関係の複数の画素のシェーディング基準値のう
ち、正常値であると判定されたもののみに基づいて定め
られることを特徴とする請求項4記載のシェーディング
補正方法。
5. The normal value range is determined based on only the shading reference values of a plurality of pixels having a predetermined positional relationship in the vicinity of the pixel of interest determined to be normal values. The shading correction method according to claim 4, wherein
【請求項6】上記正常値の範囲に対応した補正値を求め
るステップと、 異常値であると判定されたシェーディング基準値を上記
補正値に補正するステップとをさらに含むことを特徴と
する請求項4または5記載のシェーディング補正方法。
6. The method according to claim 1, further comprising the steps of: obtaining a correction value corresponding to the normal value range; and correcting the shading reference value determined to be an abnormal value to the correction value. 6. The shading correction method according to 4 or 5.
JP10014515A 1998-01-27 1998-01-27 Shading correction device and shading correction method Pending JPH11215372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10014515A JPH11215372A (en) 1998-01-27 1998-01-27 Shading correction device and shading correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10014515A JPH11215372A (en) 1998-01-27 1998-01-27 Shading correction device and shading correction method

Publications (1)

Publication Number Publication Date
JPH11215372A true JPH11215372A (en) 1999-08-06

Family

ID=11863236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10014515A Pending JPH11215372A (en) 1998-01-27 1998-01-27 Shading correction device and shading correction method

Country Status (1)

Country Link
JP (1) JPH11215372A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102787B2 (en) 2001-05-14 2006-09-05 Nec Corporation Image reading apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7102787B2 (en) 2001-05-14 2006-09-05 Nec Corporation Image reading apparatus

Similar Documents

Publication Publication Date Title
JP3754870B2 (en) Image reading apparatus, shading correction method, and storage medium
JP2003101737A (en) Image-processing apparatus and image-reading apparatus
JPH0799850B2 (en) Image reading device for image recording device
JPH08235355A (en) Picture processor
JP3985985B2 (en) Image reading apparatus and image processing apparatus including the image reading apparatus
US7421143B2 (en) Systems and methods for optimal dynamic range adjustment of scanned images
JP3589847B2 (en) Shading correction device and shading correction method
JPH07212592A (en) Image processing method
JP2005094214A (en) Image scanner, and shading correction method thereof
JPH11215372A (en) Shading correction device and shading correction method
JP3711755B2 (en) Image reading apparatus and image reading method
JPH08272952A (en) Image processor
JP3124168B2 (en) Shading correction device
JP2002290727A (en) Image processing method, its apparatus, its storage medium, and its program
JPH11215373A (en) Shading correction device and shading correction method
JP2810897B2 (en) Image signal processing device
JPH11289456A (en) Image processor
JPH09149217A (en) Image reader
JP4160894B2 (en) Image reading processing device
JPH11275358A (en) Device and method for processing picture
JPH08340447A (en) Image processor with through prevention function
JP3974236B2 (en) Image processing apparatus and method
JPH06311359A (en) Background eliminating device
JP2007312233A (en) Image processor and program
JP2002152473A (en) Image input device