JP2011109381A - Image processor - Google Patents
Image processor Download PDFInfo
- Publication number
- JP2011109381A JP2011109381A JP2009261880A JP2009261880A JP2011109381A JP 2011109381 A JP2011109381 A JP 2011109381A JP 2009261880 A JP2009261880 A JP 2009261880A JP 2009261880 A JP2009261880 A JP 2009261880A JP 2011109381 A JP2011109381 A JP 2011109381A
- Authority
- JP
- Japan
- Prior art keywords
- image
- unit
- pixel
- white reference
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、複写機や複合機等の画像処理装置の技術分野に属し、特に、シェーディング補正処理を行う際に必要となる白色基準値等の取得に用いる白色基準部材に異物が付着した場合に、該異物による画質の低下を防止又は低減する技術に関する。 The present invention belongs to the technical field of image processing apparatuses such as copiers and multi-function machines, and in particular, when foreign matter adheres to a white reference member used for obtaining a white reference value or the like necessary for performing shading correction processing. The present invention relates to a technique for preventing or reducing deterioration in image quality due to the foreign matter.
一般に、複写機等に備えられる画像読取装置においては、スキャナ(画像読取部)の配光特性や読取りセンサの画素毎の感度差に起因する画像データの誤差を補正するためにシェーディング補正が行われる。このシェーディング補正では、画像読取装置に設けられている白色基準部材(白色基準板や白基準ローラ)をスキャナで読み取り、該白色基準部材の読取りデータ(白色基準値)に基づいて、実際の原稿を当該スキャナで読み取った場合に得られる原稿読取データを補正する。 In general, in an image reading apparatus provided in a copying machine or the like, shading correction is performed to correct an error in image data caused by a light distribution characteristic of a scanner (image reading unit) and a sensitivity difference for each pixel of a reading sensor. . In this shading correction, a white reference member (white reference plate or white reference roller) provided in the image reading device is read by a scanner, and an actual original is read based on reading data (white reference value) of the white reference member. Document reading data obtained when scanned by the scanner is corrected.
この種の画像読取装置においては、白色基準部材のスキャナ読取対象面や、白色基準部材とセンサとの間の光路上に汚れやゴミなどの異物が存在すると、該異物の画像読取位置の画素(異常部分)の画素値が前記異物の影響を受けて誤差が生じ、白色基準値が一様性の無いものとなる。 In this type of image reading apparatus, if a foreign matter such as dirt or dust is present on the scanner reading target surface of the white reference member or the optical path between the white reference member and the sensor, the pixel ( An error occurs in the pixel value of the abnormal portion) due to the influence of the foreign matter, and the white reference value is not uniform.
このような白色基準値を用いてシェーディング補正が行われた画像には、異常部分の画像に縦筋が発生したり、画質が悪化したりするため、正確な原稿読取画像データを得ることができない。このような事態を回避するための対策として、異常部分に対してユーザによる清掃や自動清掃を行うようにすることが考えられるが、ユーザに手間暇をかけることとなる。 In such an image subjected to the shading correction using the white reference value, vertical stripes are generated in the image of the abnormal part or the image quality is deteriorated, so that it is not possible to obtain accurate original read image data. . As a measure for avoiding such a situation, it is conceivable to perform cleaning or automatic cleaning by the user for the abnormal part, but it takes time and effort for the user.
近年、このようなユーザによる清掃や自動清掃を行うことなく、前記異物による画像品質の低下を画像処理によって防止又は低減する技術が提案されている(例えば下記特許文献1,2)。
In recent years, there has been proposed a technique for preventing or reducing deterioration in image quality due to the foreign matter by image processing without performing such cleaning by the user or automatic cleaning (for example,
下記特許文献1には、原稿が読取位置に到達していない間に、読取ローラの周面上を所定幅(Lライン分)に相当する対象領域を読み取ってLライン平均値を算出すると共に、読取ローラの全周分を読み取って全周平均値を算出し、前記Lライン平均値と全周平均値とを比較することで前記Lライン平均値をシェーディングデータとして採用できるか否かを判断し、採用できない場合には、全周平均値をシェーディングデータとして採用するとともに次回のLライン平均値を取得するための読取対象領域を移動する点が提案されている。
In
また、下記特許文献2には、白色基準板に対する読取動作により得られた画像データの中に、前記異物の影響を受けた異常な画素が複数連続して存在している場合、その異常画素列の範囲外の2つの正常画素を探索し、前記異常画素列を2等分して、片方の半分を一方の前記正常画素に置換し、他方の半分を他方の前記正常画素に置換する技術が提案されている。
Further, in
しかしながら、前記特許文献1の記載の技術のように、前記Lライン平均値をシェーディングデータとして採用できない場合に、全周平均値をシェーディングデータとして採用すると、ゴミや汚れなどの異物の画像を含んだデータをシェーディングデータとして使用することとなり、適切なシェーディング補正ができないとともに、全周平均値を取得した上でシェーディング補正を行うため、シェーディング補正処理後の画像データが得られるまでに要する時間が長くなる。
However, when the L-line average value cannot be used as shading data as in the technique described in
また、前記Lライン平均値をシェーディングデータとして採用できない場合に、次回のLライン平均値を取得するための読取対象領域を移動するため、画像読取装置の読取動作に要する時間の長期化を招来する虞がある。 Further, when the L line average value cannot be used as the shading data, the reading target area for acquiring the next L line average value is moved, so that the time required for the reading operation of the image reading apparatus is increased. There is a fear.
前記特許文献2に記載の技術にあっては、シェーディング補正が、前記白色基準板や原稿を照明する照明手段の配光ムラの補正や前記読取動作を行うセンサの感度の補正を画素単位で行うものである事が好ましい点を考慮すると、前記のように単純に正常画素に置換する方法は、配光ムラが不規則に変化していたりセンサの各画素に感度差があったりする場合に、適切なシェーディング補正が行われるとは言い難い。
In the technique described in
本発明は、前記課題を解決するためになされたものであり、一連のシェーディング補正処理に要する時間の増大を防止又は低減しつつ、異物が画質に与える影響と、スキャナ(画像読取部)の配光特性や読取りセンサ画素毎の感度差による影響とを低減した画像を得ることのできる技術を提案することを目的とする。 The present invention has been made to solve the above-described problems. The effect of foreign matter on image quality and the arrangement of a scanner (image reading unit) are prevented while preventing or reducing an increase in the time required for a series of shading correction processes. It is an object of the present invention to propose a technique capable of obtaining an image in which the optical characteristics and the influence due to the sensitivity difference for each reading sensor pixel are reduced.
請求項1に記載の発明は、画像の読取動作を行う画像読取部と、白色の基準となる白色基準部材と、前記白色基準部材に対する画像の読取動作を前記画像読取部に行わせる第1読取制御部と、前記第1読取制御部の指示に基づく読取動作で得られた画像データを、白色の基準値を示す第1白色基準データとして記憶する第1白色基準データ記憶部と、前記第1読取制御部の指示に基づく読取動作で得られた各画素の画像データから前記白色基準部材を含む光路上の異物に起因する異常画像データを検出し、前記画像読取部の各画素のうち前記異常画像データを生成した画素を異常画素として検出する異常画素検出部と、原稿に対する画像の読取動作を画像読取部に行わせる第2読取制御部と、前記第2読取制御部の指示に基づく読取動作で得られた画像データのうち前記原稿の所定領域の画像データに対し、前記第1白色基準データ記憶部に記憶された前記第1白色基準データを用いてシェーディング補正処理を行う第1シェーディング補正処理部と、前記第1シェーディング補正処理部によるシェーディング補正処理後の画像データのうち前記異常画素検出部により検出された前記異常画素を除く所定の画素で生成された画像データを用いて、仮に前記異物が存在しなかった場合に、前記第2読取制御部の指示に基づく読取動作により前記異常画素で生成されたものと推定される画像データであって前記第1シェーディング補正処理後の画像データを、該異常画素についての推定データとして生成する推定データ生成部と、前記推定データ生成部により生成された推定データを用いて、仮に前記異物が存在しなかった場合に、前記第1読取制御部の指示に基づく読取動作により前記異常画素で生成されたものと推定される画像データを、該異常画素についての第2白色基準データとして生成する第2白色基準データ生成部と、前記第2読取制御部の指示に基づく読取動作により前記異常画素で生成された画像データに対し、前記第2白色基準データ生成部により生成された当該異常画素についての第2白色基準データを用いてシェーディング補正処理を行うとともに、前記第2読取制御部の指示に基づく読取動作により前記異常画素以外の画素で生成された画像データに対し、前記第1白色基準データ生成部により生成された当該画素についての第1白色基準データを用いてシェーディング補正処理を行う第2シェーディング補正処理部とを備える画像処理装置である。 According to the first aspect of the present invention, an image reading unit that performs an image reading operation, a white reference member that serves as a white reference, and a first reading that causes the image reading unit to perform an image reading operation on the white reference member. A control unit, a first white reference data storage unit that stores image data obtained by a reading operation based on an instruction from the first reading control unit as first white reference data indicating a white reference value, and the first Abnormal image data caused by a foreign matter on the optical path including the white reference member is detected from image data of each pixel obtained by a reading operation based on an instruction from the reading control unit, and the abnormality among the pixels of the image reading unit is detected. An abnormal pixel detection unit that detects a pixel that has generated image data as an abnormal pixel, a second reading control unit that causes the image reading unit to read an image on a document, and a reading operation based on an instruction from the second reading control unit Gain in A first shading correction processing unit that performs shading correction processing on image data of a predetermined area of the original document using the first white reference data stored in the first white reference data storage unit; The foreign object exists temporarily using image data generated by predetermined pixels excluding the abnormal pixels detected by the abnormal pixel detection unit in the image data after the shading correction processing by the first shading correction processing unit. If not, the image data presumed to be generated by the abnormal pixel by the reading operation based on the instruction of the second reading control unit, and the image data after the first shading correction processing is converted into the abnormal data. An estimation data generation unit that generates the estimation data for the pixel and the estimation data generated by the estimation data generation unit are used. Then, if the foreign matter does not exist, the image data estimated to be generated by the abnormal pixel by the reading operation based on the instruction of the first reading control unit is used as the second white color for the abnormal pixel. A second white reference data generation unit that generates second white reference data as reference data and image data generated by the abnormal pixel by a reading operation based on an instruction from the second reading control unit. The shading correction processing is performed using the second white reference data for the abnormal pixel, and the image data generated by the pixels other than the abnormal pixel by the reading operation based on the instruction of the second reading control unit, A second shady for performing shading correction processing using the first white reference data for the pixel generated by the first white reference data generation unit And an image processing apparatus.
この発明によれば、異常画素における白色の基準データについては、異常画素以外の画素(正常画素)で生成された原稿の画像データに対して前記第1シェーディング補正処理部によるシェーディング補正処理を行った後の画像データを用いて推定することにより前記異物による画質上の悪影響を低減した画像データを生成した上でこの画像データからシェーディング補正処理の逆算により求めるようにしたので、異物が画質に与える影響と、画像読取部の配光ムラや画素毎の感度差による影響とを低減した画像を得ることができる。 According to the present invention, for the white reference data in the abnormal pixel, the shading correction processing by the first shading correction processing unit is performed on the image data of the document generated by the pixel other than the abnormal pixel (normal pixel). Since image data with reduced adverse effects on image quality due to the foreign matter is generated by estimation using subsequent image data, and the image data is obtained by back calculation of shading correction processing, the influence of the foreign matter on the image quality Thus, it is possible to obtain an image in which the light distribution unevenness of the image reading unit and the influence of the sensitivity difference for each pixel are reduced.
そして、請求項1に記載の画像処理装置においては、請求項2に記載の発明のように、前記画像読取部は、n個(n>1)の画素が列を成して構成されているものであり、前記第1読取制御部は、更に、前記画像読取部に備えられる照明部の前記白色基準部材に対する照明動作をオフにした状態で該白色基準部材に対する画像の読取動作を前記画像読取部に行わせ、この第1読取制御部の指示に基づく読取動作で得られた画像データを、黒色の基準値を示す黒色基準データとして生成する黒色基準データ記憶部を更に備え、前記第2読取制御部の指示により得られた画像データのうち前記原稿の所定領域に属する画素に対して前記画素列方向に番号を付したとき、画素k(=1,2,・・・,n−1,n)について、前記黒色基準データ生成部により生成された黒色基準データをB(k)、前記第1白色基準データ記憶部により記憶された第1白色基準データをW(k)、前記第2読取制御部の指示により前記画素で生成された画像データをI(k)とし、画像データの階調数をLとしたとき、前記第1シェーディング補正処理部は、{(I(k)−B(k))/(W(k)−B(k))}×Lを前記画素kについての前記シェーディング補正処理後の画像データIsh(k)とするものであり、前記推定データ生成部は、前記第1シェーディング補正処理部によるシェーディング補正処理後の画像データIsh(k)のうち、前記異常画素i又は複数の異常画素iからなる異常画素群に隣接する画素を含む画素領域内の画素jにより生成された画像データIsh(j)を用いて、仮に前記異物が存在しなかった場合に、前記第2読取制御部の指示に基づく読取動作により前記異常画素iで生成されたと推定される画像であって前記第1シェーディング補正処理部によるシェーディング補正処理後の画像データIsh’(i)を推定データとして生成するものであり、前記第2白色基準データ生成部は、{L(I(i)−B(i))/Ish’(i)}+B(i)を、前記異常画素iについての前記第2白色基準データとして生成するものとするとよい。
In the image processing apparatus according to
請求項3に記載の発明は、請求項1又は2に記載の画像処理装置において、前記原稿の所定領域として、所定の幅を有する原稿の先頭領域としたものである。 According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the predetermined area of the original is a leading area of the original having a predetermined width.
この発明によれば、前記原稿の先頭領域は、画像が形成されていない無地の領域であることが多いことから、前記第1白色基準データや第2白色基準データを取得するための領域として好適である。そして、前記原稿の先頭領域の画像データから前記第1白色基準データや第2白色基準データを取得するようにしたので、原稿の画像データに対するシェーディング補正処理を行うために必要な前記第1白色基準データや第2白色基準データを、原稿全体の画像データを用いて算出する場合に比して、その算出に要する時間を短縮することができ、一連のシェーディング補正処理に要する時間の増大を防止又は低減することができる。 According to the present invention, the leading area of the document is often a plain area where no image is formed, and thus is suitable as an area for acquiring the first white reference data and the second white reference data. It is. Since the first white reference data and the second white reference data are obtained from the image data of the head region of the document, the first white reference necessary for performing shading correction processing on the image data of the document. Compared with the case where the data and the second white reference data are calculated using the image data of the entire document, the time required for the calculation can be shortened, and an increase in the time required for a series of shading correction processes can be prevented. Can be reduced.
請求項4に記載の発明は、請求項1乃至3の何れか一項に記載の画像処理装置において、前記画像読取部を、CCD及びCISのうち少なくとも一方としたものである。 According to a fourth aspect of the present invention, in the image processing apparatus according to any one of the first to third aspects, the image reading unit is at least one of a CCD and a CIS.
この発明によれば、CCD及びCISのうち少なくとも一方で得られる画像について、異物が画質に与える影響と、スキャナ(画像読取部)の配光特性や読取りセンサ画素毎の感度差による影響とを低減した画像を得ることができる。特にCISは、配光ムラや各画素の感度差が大きいため、特に有効なものとなる。 According to the present invention, for an image obtained by at least one of CCD and CIS, the influence of foreign matter on the image quality and the influence of the light distribution characteristics of the scanner (image reading unit) and the sensitivity difference for each reading sensor pixel are reduced. Images can be obtained. In particular, CIS is particularly effective because of uneven light distribution and large sensitivity differences among pixels.
本発明によれば、一連のシェーディング補正処理に要する時間の増大を防止又は低減しつつ、異物が画質に与える影響と、スキャナ(画像読取部)の配光特性や読取りセンサ画素毎の感度差による影響とを低減した画像を得ることができる。 According to the present invention, an increase in time required for a series of shading correction processes is prevented or reduced, and the influence of foreign matter on image quality, light distribution characteristics of a scanner (image reading unit), and sensitivity difference for each reading sensor pixel. An image with reduced influence can be obtained.
以下、本発明に係る画像処理装置の実施形態について図面を参照して説明する。尚、以下の実施形態では、本発明に係る画像処理装置の一実施形態として、カラーコピー、スキャナ、ファクシミリ、プリンタ等の機能を備えた複合機に集約した形態を例に説明する。 Embodiments of an image processing apparatus according to the present invention will be described below with reference to the drawings. In the following embodiments, as an embodiment of an image processing apparatus according to the present invention, an embodiment in which functions are integrated in a multifunction machine having functions such as a color copy, a scanner, a facsimile, and a printer will be described as an example.
図1は、本実施形態に係る複合機1の内部構成を模式的に示した縦断面図である。図1に示す複合機1は、大きく分けると画像読取部2と装置本体3とからなる。画像読取部2は、原稿給紙部21とスキャナ部22を備えて構成される。原稿給紙部21は、ADFを実現するものであり、原稿トレイ241、給紙ローラ232、搬送ドラム233、排紙ローラ対234及び排紙トレイ235を有する。
FIG. 1 is a vertical cross-sectional view schematically showing the internal configuration of the
原稿トレイ241は、原稿が載置される場所であり、原稿トレイ241に載置された原稿は1枚ずつ給紙ローラ232によって取り込まれて搬送ドラム233へ搬送される。搬送ドラム233を経由した原稿は排紙ローラ234によって排紙トレイ235へ排出される。
The
スキャナ部22は、原稿の画像を光学的に読み取って画像データを生成するものであり、装置本体3に設けられている。スキャナ部22は、コンタクトガラス221、光源222、第1ミラー223、第2ミラー224、第3ミラー225、第1キャリッジ226、第2キャリッジ227、結像レンズ228、ラインセンサであるCCD(Charge Coupled Device)229を備える。
The
スキャナ部22は、光源222として冷陰極蛍光管等の白色蛍光ランプが用いられ、前記第1ミラー223、第2ミラー224、第3ミラー225、第1キャリッジ226、第2キャリッジ227及び結像レンズ228により、原稿からの光をCCD229に導くものである。スキャナ部22は、光源222として冷陰極蛍光管等の白色蛍光ランプを用いていることから、光源として3色LED等が用いられる後述のCIS231よりも色再現性に優れる。
In the
CIS231は、ラインセンサであり、原稿搬送路においてスキャナ部22による読取位置よりも原稿搬送方向下流側に設けられている。CIS231は、原稿搬送路において、スキャナ部22によって読み取られる原稿面とは反対側の面を読み取る位置に設けられている。
The
コンタクトガラス221は、原稿を載置する面を構成するものであり、光源222及び第1ミラー223は、第1キャリッジ226によって支持されており、第2ミラー224及び第3ミラー225は、第2キャリッジ227によって支持されている。
The
画像読取部2の原稿読取方法としては、コンタクトガラス221上に載置された原稿をスキャナ部22が読み取るフラットベッド読取モードと、原稿をADFによって取り込み、その搬送途中で原稿を読み取るADF読取モードがある。
As a document reading method of the
フラットベッド読取モードでは、光源222がコンタクトガラス221上に載置された原稿を照射し、一次元のイメージセンサであるCCD229の各画素が並ぶ主走査方向1ライン分の反射光が第1ミラー223、第2ミラー224、第3ミラー225の順に反射して、結像レンズ228に入射する。結像レンズ228に入射した光はCCD229の受光面で結像される。このような動作が、主走査方向と直交する方向(副走査方向、矢印Y方向)への第1キャリッジ226及び第2キャリッジ227の移動と並行して1ラインずつ実施される。CCD229は、1ライン分の原稿の画像データを同時に処理し、画像データを1ライン単位でA/D変換部216(図3参照)に出力する。
In the flat bed reading mode, the
ADF読取モードでは、原稿トレイ241に載置された原稿が給紙ローラ232によって原稿搬送経路に1枚ずつ取り込まれ、搬送ドラム233から排紙トレイ235への搬送経路に設けられた画像読取位置230上を原稿が通過するとき、光源222が原稿を照射し、主走査1ライン分の反射光が第1ミラー223、第2ミラー224、第3ミラー225の順に反射して、結像レンズ228に入射する。結像レンズ228に入射した光はCCD229の受光面で結像される。このような動作が、搬送ドラム233による原稿の搬送と並行して1ラインずつ実施される。CCD229は、1ライン分の原稿の画像データを同時に処理し、画像データを1ライン単位でA/D変換部216(図3参照)に出力する。尚、以下の説明において、特に記載のないものについては、ADF読取モードによって原稿を自動給紙し、画像の読み取りを行うことを前提に説明を行う。
In the ADF reading mode, the originals placed on the
更に、原稿給紙部21は切換ガイド236、反転ローラ対237及び反転搬送路238からなる原稿反転機構を有する。1回目のADF読み取りによって表面(原稿の一方の面)が読み取られた原稿を、原稿反転機構を用いて反転させて再搬送することによって、再度CCD229によって裏面(原稿の他方の面)の読み取りが行わせることができる。この原稿反転機構は、両面読み取り時にのみ動作し、片面読み取り時は動作しない。片面読み取り時及び両面読み取り時において裏面の読み取り後、切換ガイド236は上側に切り替えられ、搬送ドラム233を経た原稿は排紙ローラ対234によって排紙トレイ235に排紙される。両面読み取り時における表面読み取り後、切換ガイド236は下側に切り替えられ、搬送ドラム233を経た原稿は反転ローラ対237のニップ部へ搬送される。その後、切換ガイド236は上側へ切り替わって反転ローラ対237が逆回転することにより、原稿は反転搬送路238を介して搬送ドラム233へ再搬送される。以下、原稿反転機構を用いて原稿の両面を読み取らせるモードを両面反転読取モード又は高画質モードと表記する。
Further, the
更に、本実施の形態の画像読取部2は、ADF読取モード時において、前記で説明したように原稿の搬送途中でCCD229によって原稿の表面の読み取りを行わせると同時に、CIS231によって原稿の裏面の読み取りを行わせることが可能である。つまり、原稿トレイ241から給紙された原稿は画像読取位置230上を通過するときにCCD229によって表面が読み取られ、更にCIS231を通過する際に裏面が読み取られる。このようにCCD229とCIS231を用いることで、ワンパスで原稿の両面の読み取りが可能となる。
Further, in the ADF reading mode, the
複合機1は、装置本体3と、装置本体3の左方に配設されたスタックトレイ6とを有している。装置本体3は、複数の給紙カセット461と、給紙カセット461から用紙(記録媒体)を1枚ずつ繰り出して記録部(画像形成部)40へ搬送する給紙ローラ462と、給紙カセット461から搬送されてきた用紙に画像を形成する記録部40とを備える。更に手差しトレイ471を備え、この手差しトレイ471には何れの給紙カセットにも収納されていないサイズの用紙や、既に一方の面に画像形成がなされている用紙(裏紙)、OHPシートのような任意の記録媒体が載置可能であり、給紙ローラ472によって1枚ずつ装置本体3内に給紙される。
The
記録部40は、感光体ドラム43の表面から残留電荷を除電する除電装置421と、除電後の感光体ドラム43の表面を帯電させる帯電装置422と、スキャナ部22で取得された画像データに基づいてレーザ光を出力して感光体ドラム43表面を露光し、感光体ドラム43の表面に静電潜像を形成する露光装置423と、前記静電潜像に基づいて感光体ドラム43上に、シアン(C)、マゼンタ(M)、イエロー(Y)及びブラック(K)の各色のトナー像を形成する現像装置44C、44M、44Y、44Kと、感光体ドラム43に形成された各色のトナー画像が転写されて重ね合わせされる転写ドラム49と、転写ドラム49上のトナー像を用紙に転写させる転写装置41と、トナー像が転写された用紙を加熱してトナー像を用紙に定着させる定着装置45とを備えている。なお、シアン、マゼンタ、イエロー及びブラックの各色に対するトナーの供給は、不図示のトナー供給容器(トナーカートリッジ)から行われる。また、記録部40を通過した用紙をスタックトレイ6又は排出トレイ48まで搬送する搬送ローラ対463及び464等が設けられている。
The
用紙の両面に画像を形成する場合は、記録部40によって用紙の一方の面に画像の形成が施された後、この用紙を排出トレイ48側の搬送ローラ対463にニップされた状態にする。この状態で搬送ローラ対463を逆回転させて用紙をスイッチバックさせ、用紙を用紙搬送路Lに送って記録部40の上流域に再度搬送し、記録部40によって他方の面に画像の形成が施された後、用紙をスタックトレイ6又は排出トレイ48に排出する。
When forming images on both sides of the paper, after the image is formed on one side of the paper by the
また、装置本体3の前方には、操作画面や各種メッセージ等の表示画面を表示する、例えばタッチパネルを備えた表示部51と、種々の操作命令を入力するための操作ボタン(数字キー群53、スタートボタン55等)とを有する操作部5が備えられている。表示部51は、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等によって構成され、紙サイズ選択、倍率選択、濃度選択等の選択画面が表示される。
Further, in front of the apparatus
図2は、原稿給紙部21及びスキャナ部22の内部拡大図である。
FIG. 2 is an enlarged view of the inside of the
図2に示すように、画像読取位置230から外れた位置であって、スキャナ部22による画像読取が可能な位置には、白色基準部材の一例である白色基準板10が設けられている。白色基準板10は、主走査方向(図2において紙面に直交する方向)に延びるように、コンタクトガラス221に取り付けられた白色の帯板状部材である。
As shown in FIG. 2, the
また、CIS231に対向する位置であって、CIS231による画像読取が可能な位置には、白色基準部材の他の一例であるシェーディングローラ11が設けられている。シェーディングローラ11は、その回転軸が主走査方向に延び、周面が白色とされたローラ部材である。シェーディングローラ11は、図略の駆動源から供給される動力で回転されることにより、CIS231の画像読取位置に搬送されてくる用紙を排紙ローラ対234に向けて搬送する。
Further, a
次に、複合機1の電気的な構成を説明する。図3は、複合機1の電気的な構成を示すブロック図である。
Next, the electrical configuration of the
図3に示すように、複合機1は、CPU211と、RAM212と、ROM213と、第1読取制御部214と、第2読取制御部215と、A/D変換部216と、シェーディング補正部217と、画像処理部218とを備え、これらの各部211〜218は、データバスBUSによって互いに通信可能に接続されている。
As shown in FIG. 3, the
CPU211は、複合機1の全体的な動作制御を司るものであり、ROM212や図略のHDDに記憶されているプログラムに従って複合機1における各部の動作を制御する。RAM212は、CPU211による前記プログラムに従った複合機1の各部の制御を行う時の作業領域として用いられるものである。ROM213は、前記プログラムを記憶するものである。
The
ところで、通常、スキャナ部22の光源222やCIS231の光源231aによる照明の配光ムラや、CCD229及びCIS231の各画素間に感度差がある。このような配光ムラや画素の感度差があると、同一の色に対する各画素の画素値に誤差が生じる。
By the way, normally, there is uneven light distribution of illumination by the
一方、本実施形態に係る複合機1においては、白色基準板10の表面やシェーディングローラ11の周面、或いは白色基準板10とスキャナ部22との間の光路上や、シェーディングローラ11とCIS231との間の光路上に、汚れやゴミなどの異物が進入する場合がある。このような異物が存在している場合、スキャナ部22及びCIS231の各画素のうち、前記異物を捉えた画素で生成される画像データが、該異物が存在しない場合に得られる画像データと異なるものとなって誤差が生じる。
On the other hand, in the
このような誤差が生じると、得られる画像データが、該異物が存在しない場合のシェーディング補正処理後の画像データと異なることとなる。その結果、前記異物を捉えた画素の画素位置に対応する、用紙の主走査方向の位置に、副走査方向に延びる筋状の画像(図4参照)が形成されたり、画像全体の画質が低下したりする。 When such an error occurs, the obtained image data is different from the image data after the shading correction process when the foreign matter is not present. As a result, a streak-like image (see FIG. 4) extending in the sub-scanning direction is formed at a position in the main scanning direction of the paper corresponding to the pixel position of the pixel capturing the foreign matter, or the image quality of the entire image is degraded. To do.
本実施形態では、このような光源222,231aによる照明の配光ムラやCCD229及びCIS231の各画素の感度差に起因する画質への影響と、前記異物に起因する画質への影響とを解消するための処理を行う。前者の影響を解消するための処理として、後述するシェーディング補正処理が行われる。
In the present embodiment, the influence on the image quality due to the uneven light distribution of the illumination by the
ここで、前者の影響と後者の影響との両方の悪影響を受けた画素については、各影響に起因する誤差をそれぞれ含むこととなるが、一方の影響に起因する誤差と他方の影響に起因する誤差との比率を当該画素の画像データから知ることはできない。 Here, regarding the pixels that are affected by both the influence of the former and the influence of the latter, an error caused by each influence is included, but the error caused by one influence and the influence caused by the other influence are included. The ratio with the error cannot be known from the image data of the pixel.
そこで、本実施形態に係る複合機1においては、このような不具合を解消するため、次のような処理を行うようにしている。なお、以下の説明においては、スキャナ部22及びCIS231を総称して画像読取部といい、また、白色基準板10及びシェーディングローラ11を総称して白色基準部材というものとする。
Therefore, in the
第1読取制御部214は、画像読取部(スキャナ部22及びCIS231)の読取動作を制御するものである。画像読取部の読取動作とは、具体的には、スキャナ部22の光源222やCIS231の光源231aによる照明動作、スキャナ部22の第1及び第2キャリッジ226,227の移動動作、スキャナ部22のCCD229やCIS231による受光動作である。
The first
第1読取制御部214は、スタートボタン55により画像読取指示(画像形成指示を含む)が入力されると、スキャナ部22及びCIS231のうち、その画像読取指示に基づいて画像読取動作を実施すべき画像読取部を認識し、その画像読取部によって原稿に対する画像の読取動作を行う前に、該画像読取部に対応する白色基準部材に対する画像の読取動作を該画像読取部に行わせる。
When an image reading instruction (including an image forming instruction) is input from the
すなわち、画像読取動作を実施すべき画像読取部がスキャナ部22の場合、第1読取制御部214は、前記副走査方向において白色基準板10の位置まで第1キャリッジ226及び第2キャリッジ227を移動させる。そして、この状態で、第1読取制御部214は、スキャナ部22の光源222により白色基準板10の白色面を照射しながら該白色面に対する画像の読取動作を副走査方向に複数ライン分だけスキャナ部22に行わせる。これにより、白色基準板10についてのシェーディング補正用の白色基準値を示す画像データがスキャナ部22により生成され、該画像データが前記スキャナ部22から白色基準データとして出力される。
That is, when the image reading unit to perform the image reading operation is the
また、第1読取制御部214は、前記光源222を消灯して白色基準板10の白色面に対する光の照射を行わないで該白色面に対する画像の読取動作を副走査方向に複数ライン分だけスキャナ部22に行わせる。これにより、白色基準板10についてのシェーディング補正用の黒色基準値を示す画像データがスキャナ部22により生成され、該画像データが前記スキャナ部22から黒色基準データとして出力される。
Further, the first
一方、画像読取動作を実施すべき画像読取部がCIS231の場合、第1読取制御部214は、CIS231の光源231aによりシェーディングローラ11の周面を照射しながら該周面に対する画像の読取動作を副走査方向に複数ライン分前記CIS231に行わせる。これにより、シェーディングローラ11についてのシェーディング補正用の白色基準値を示す画像データがCIS231により生成され、該画像データが前記CIS231から白色基準データとして出力される。
On the other hand, when the image reading unit to be subjected to the image reading operation is the
また、第1読取制御部214は、前記光源231aを消灯してシェーディングローラ11の周面に対する光の照射を行わないで該周面に対する画像の読取動作を副走査方向に複数ライン分だけCIS231に行わせる。これにより、シェーディングローラ11についてのシェーディング補正用の黒色基準値を示す画像データがCIS231により生成され、該画像データが前記CIS231から黒色基準データとして出力される。
Further, the first
本実施形態においては、前記読取動作は、複数ライン分実施され、主走査方向に並ぶ各画素の位置ごとに、前記白色基準板10についての白色基準データ、前記白色基準板10についての黒色基準データ、前記シェーディングローラ11についての白色基準データ及びシェーディングローラ11についての黒色基準データがそれぞれ前記複数ラインずつ前記スキャナ部22及びCIS231から出力される。
In the present embodiment, the reading operation is performed for a plurality of lines, and for each pixel position aligned in the main scanning direction, white reference data for the
これらのデータは、それぞれ、図略の平均化処理部により、主走査方向に並ぶ画素ごとに平均化され、この平均化された各白色基準データ及び各黒色基準データが後述する白基準メモリ250及び黒基準メモリ251に出力される。
These data are averaged for each pixel arranged in the main scanning direction by an unillustrated averaging processing unit, and the averaged white reference data and black reference data are stored in a
したがって、前記白色基準板10についての白色基準データ及び黒色基準データは、CCD229の画素毎に1つずつ算出され、また、前記シェーディングローラ11についての白色基準データ及び黒色基準データは、CIS231の画素毎に1つずつ算出されることとなる。
Accordingly, white reference data and black reference data for the
例えば、スキャナ部22の主走査方向に並ぶ各画素の数(1ラインにおける画素数)をそれぞれn(個)とし、一方の端部から順に番号1,2,・・・,n−1,nを付した場合、スキャナ部22の画素1については白色基準データW(1)と黒色基準データB(1)が、画素2については白色基準データW(2)と黒色基準データB(2)が、画素nについては白色基準データW(n)と黒色基準データB(n)が算出される。
For example, the number of pixels arranged in the main scanning direction of the scanner unit 22 (the number of pixels in one line) is n (number), and
なお、前記読取動作を1ライン分だけ実施し、該読取動作で得られた白色基準データ及び黒色基準データをそのまま白基準メモリ250及び黒基準メモリ251に出力するようにしてもよい。
The reading operation may be performed for one line, and the white reference data and the black reference data obtained by the reading operation may be output to the
第2読取制御部215は、第1読取制御部214の指示に基づく読取動作の終了後に、原稿に対する画像の読取動作をスキャナ部22及びCIS231に行わせるものである。
The second
以下の説明においては、前記のような白色基準データ及び黒色基準データを得るための、前記第1読取制御部214の指示に基づく画像読取部の読取動作を基準値取得用読取動作というものとし、原稿の画像を得るための、前記第2読取制御部214の指示に基づく画像読取部の読取動作を原稿画像取得用読取動作というものとする。
In the following description, the reading operation of the image reading unit based on the instruction of the first
A/D変換部216は、スキャナ部22のCCD229やCIS231から送出されてくるアナログの電気信号からなる読取画像データ(前記白色基準データ及び黒色基準データと原稿の画像データ)を、所定ビット数からなるデジタルの読取画像データに変換するA/D変換処理を行うものである。A/D変換部216は、A/D変換後の読取画像データをシェーディング補正部217や第1及び第2読取制御部214,215等に出力する。
The A /
シェーディング補正部217は、前記基準値取得用読取動作で得られた前記白色基準データ及び黒色基準データを用いて、前記原稿画像取得用読取動作で得られた原稿の画像データに対するシェーディング補正を行うものである。図5は、シェーディング補正部217の詳細な構成を示すブロック図である。
The
図5に示すように、シェーディング補正部217は、白基準メモリ250と、黒基準メモリ251と、異常画素候補検出部252と、異常画素候補記憶部253と、シェーディング補正処理部254と、白地判定部255と、異常画素カウント部256と、推測値演算部257と、白基準補正値演算部258と、白基準補正値メモリ259と、切替部260とを備える。
As shown in FIG. 5, the
以下の説明においては、スキャナ部22の画素数とCIS231の画素数とは同数nであるものとし、説明の便宜上、スキャナ部22の画素k(k=1,2,・・・,n−1,n)についての白色基準データも、CIS231の画素k(k=1,2,・・・,n−1,n)についての白色基準データも、「W(k)(k=1,2,・・・,n−1,n)」と同一の表現形態で表現し、また、スキャナ部22の画素k(k=1,2,・・・,n−1,n)についての黒色基準データも、CIS231の画素k(k=1,2,・・・,n−1,n)についての黒色基準データも、「B(k)(k=1,2,・・・,n−1,n)」と同一の表現形態で表現するものとする。
In the following description, it is assumed that the number of pixels of the
白基準メモリ250は、図6に示すように、前記基準値取得用読取動作で得られた前記画像読取部の各画素k(k=1,2,・・・,n−1,n)についての白色基準データW(k)(k=1,2,・・・,n−1,n)をテーブル形式で記憶するものであり、黒基準メモリ251は、前記基準値取得用読取動作で得られた前記画像読取部の各画素k(k=1,2,・・・,n−1,n)についての黒色基準データB(k)(k=1,2,・・・,n−1,n)を記憶するものである。
As shown in FIG. 6, the
なお、図6では図示を省略しているが、白基準メモリ250及び黒基準メモリ251は、スキャナ部22及びCIS231に対応する白色基準データW(k)のテーブルと、黒色基準データB(k)のテーブルとをそれぞれ記憶している。
Although not shown in FIG. 6, the
異常画素候補検出部252は、前記基準値取得用読取動作で得られた前記画像読取部の各画素k(k=1,2,・・・,n−1,n)についての前記白色基準データW(k)(k=1,2,・・・,n−1,n)と、原稿の画像が存在しない無地と想定される、原稿の余白部分に相当する所定の先頭領域(図7参照)に対する前記原稿画像取得用読取動作で各画素k(k=1,2,・・・,n−1,n)から得られた原稿の画像データI(k)(k=1,2,・・・,n−1,n)とにつき、同一画素に係るもの同士をそれぞれ比較し、白色基準部材に異物が付着しているなどに起因して白色基準データの輝度が低くなることにより原稿の画像データが前記白色基準データよりも相対的に高い輝度を示すものとなっている画素を異常画素の候補として検出する。
The abnormal pixel
なお、前記所定の先頭領域は、副走査方向に並ぶ予め定められた複数ラインを持つ領域(図7の幅Aで示される領域)である。したがって、前記原稿の画像データは、各画素k(k=1,2,・・・,n−1,n)により前記所定の先頭領域におけるライン数だけそれぞれ生成されるが、図略の平均化処理部により、主走査方向に並ぶ画素ごとに平均化されて、この平均化された画像データが、各画素k(k=1,2,・・・,n−1,n)から得られた原稿の画像データI(k)(k=1,2,・・・,n−1,n)として設定され、各画像データI(k)と前記白色基準データW(k)とが比較される。 The predetermined head area is an area having a plurality of predetermined lines arranged in the sub-scanning direction (an area indicated by a width A in FIG. 7). Therefore, the image data of the original is generated by the number of lines in the predetermined head area by each pixel k (k = 1, 2,..., N−1, n), but the average of the illustration is omitted. The processing unit averages the pixels arranged in the main scanning direction, and the averaged image data is obtained from each pixel k (k = 1, 2,..., N−1, n). Original image data I (k) (k = 1, 2,..., N−1, n) is set, and each image data I (k) is compared with the white reference data W (k). .
異常画素候補記憶部253は、前記異常画素候補検出部252により検出された異常画素の候補を記憶するものである。
The abnormal pixel
シェーディング補正処理部254は、原稿の前記先頭領域に対する前記原稿画像取得用読取動作により前記各画素k(k=1,2,・・・,n−1,n)から得られた画像データを画像読取部の画素ごとに平均化し、その平均化処理後の画像データIave(k)(k=1,2,・・・,n−1,n)に対し、前記白基準メモリ250に記憶されている同一画素kについての白色基準データW(k)(k=1,2,・・・,n−1,n)と、黒色基準メモリ251に記憶されている同一画素kについての黒色基準データB(k)(k=1,2,・・・,n−1,n)とを用いて、下記式(1)に基づくシェーディング補正処理(以下、第1シェーディング補正処理という)を行うものである。
The shading
Ish(k)={(Iave(k)−B(k))/(W(k)−B(k))}
×L ・・・(1)
前記Ish(k)は、前記各画素k(k=1,2,・・・,n−1,n)から得られた前記先頭領域についての画像データであって前記第1シェーディング補正処理後の各画素kの画像データであり、「L」は、画像データの階調数である。図11に、黒色基準データB(k)、白色基準データW(k)、原稿の画像データIave(k)及び第1シェーディング補正後の原稿の画像データIsh(k)のグラフの一例を示す。
Ish (k) = {(Iave (k) −B (k)) / (W (k) −B (k))}
× L (1)
The Ish (k) is image data for the head region obtained from each pixel k (k = 1, 2,..., N−1, n), and after the first shading correction processing. The image data of each pixel k, and “L” is the number of gradations of the image data. FIG. 11 shows an example of a graph of black reference data B (k), white reference data W (k), original image data Iave (k), and original image data Ish (k) after the first shading correction.
白地判定部255は、前記原稿の前記先頭領域が白地であるか否かを判定するものである。白地判定部255による白地判定処理は次のような処理が採用可能である。すなわち、白地判定部255は、前記各画素k(1,2,・・・,n−1,n)から得られた原稿の前記先頭領域についての画像データの前記シェーディング補正処理部254による前記第1シェーディング補正処理後の画像データIsh(1),Ish(2),・・・,Ish(n−1),Ish(n)の平均値AVE(Ish)を算出する。すなわち、白地判定部255は、
AVE(Ish)={Ish(1)+Ish(2)+・・・
+Ish(n−1)+Ish(n)}/n
を算出する。
The white
AVE (Ish) = {Ish (1) + Ish (2) +...
+ Ish (n-1) + Ish (n)} / n
Is calculated.
また、白地判定部255は、前記画像データIsh(1),Ish(2),・・・,Ish(n−1),Ish(n)の中で最小の画像データを画像データMIN(Ish)として抽出する。
Further, the white
そして、白地判定部255は、前記平均値AVE(Ish)が予め定められた白平均基準値Lより小さく、且つ、前記最小値MIN(Ish)が予め定められた白地最低基準値Mより大きい場合、すなわち、下記式(2),(3)を同時に満たすとき、前記先頭領域が白地であると判定し、それ以外の場合には、前記先頭領域が白地では無いと判定する。
When the average value AVE (Ish) is smaller than the predetermined white average reference value L and the minimum value MIN (Ish) is larger than the predetermined minimum white background reference value M, the white
平均値AVE(Ish)<白平均基準値L ・・・・(2)
最小値MIN(Ish)>白地最低基準値M ・・・(3)
前記式(2)を満たさないときとは、前記基準値取得用読取動作の読取対象とした前記先頭領域が想定以上の白さになっている場合であり、前記式(3)を満たさないときとは、前記先頭領域内に画像が存在する場合である。したがって、白地判定部255は、前記先頭領域が想定以上の白さとはなっておらず、且つ、前記先頭領域内に画像が存在していない場合に、該先頭領域が白地であると判定する。
Average value AVE (Ish) <white average reference value L (2)
Minimum value MIN (Ish)> White background minimum reference value M (3)
The case where the expression (2) is not satisfied is a case where the head area which is the reading target of the reference value acquisition reading operation is whiter than expected, and the expression (3) is not satisfied. Is a case where an image exists in the head area. Accordingly, the white
なお、白平均基準値Lは、予め定められた白色の平均輝度を示す白基準値であり、画像データが例えば256階調で表される場合、例えば220である。また、白地最低基準値Mは、予め定められた白色の最低輝度を示す白地最低基準値であり、画像データが例えば256階調で表される場合、例えば128である。白平均基準値L及び白地最低基準値Mは、ROM213に予め記憶されている。白地判定部255は、この判定結果を白基準補正値演算部258に出力する。
The white average reference value L is a white reference value indicating a predetermined white average luminance, and is 220, for example, when the image data is represented by 256 gradations. The white background minimum reference value M is a white background minimum reference value indicating a predetermined minimum white brightness, and is 128 when the image data is expressed in, for example, 256 gradations. The white average reference value L and the white background minimum reference value M are stored in the
また、ここでは、画像データ(画素値)の値が大きいほど、白い(輝度が高い)ものとする。画像データの値が大きいほど黒い(輝度が低い)ように設定されている場合には前記式(2),(3)の大小関係は逆になる。 Here, it is assumed that the larger the value of the image data (pixel value), the whiter (the luminance is higher). When the image data is set so as to be black (the luminance is low) as the value of the image data is large, the magnitude relations of the expressions (2) and (3) are reversed.
異常画素カウント部256は、白地判定部255により前記先頭領域が白地であると判定された場合に、異常画素候補記憶部253に記憶された異常画素候補の個数をカウントするものである。
The abnormal
推測値演算部257は、前記各画素k(k=1,2,・・・,n−1,n)から得られた前記先頭領域についての画像データIave(k)(k=1,2,・・・,n−1,n)の前記第1シェーディング補正処理後の画像データIsh(k)(k=1,2,・・・,n−1,n)のうち、前記異常画素候補記憶部253に記憶されている前記異常画素以外の画素(以下、正常画素という)であって予め定められた正常画素の画像データを用いて、仮に前記異物が存在しなかった場合に、前記原稿画像取得用読取動作により前記異常画素で生成されたと推定される前記第1シェーディング補正処理後の画像データ、すなわち、異常画素のシェーディング補正処理後の本来の正しい画像データの推測値を推定データとして生成するものである。
The estimated
例えば、推測値演算部257は、図8に示すように、前記異常画素が画素i〜(i+m)(1<i<n,1≦i+m<n)であったとすると、前記予め定められた正常画素として前記異常画素群に隣接する正常画素(i−1)と正常画素(i+m+1)とを選択し、正常画素(i−1)の画像データIave(i−1)と正常画素(i+m+1)の画像データIave(i+m+1)とを用いた線形補間により、仮に前記異物の付着が無かった場合に、前記原稿画像取得用読取動作により前記異常画素i〜(i+m)で生成されたと推定される画像データであって前記第1シェーディング補正処理後の画像データを推定データIsh’(i)〜Ish’(i+m)として生成する。
For example, as shown in FIG. 8, the estimated
すなわち、m=10とした場合、図9に示すように、主走査方向における画素の配列を横軸、画像データを縦軸とする2次元座標系に、各画素で生成された原稿の画像データをプロットした場合に、推測値演算部257は、正常画素(i−1)に対応する点P(i−1)と、正常画素(i+11)に対応する点P(i+11)とを通る直線Xを算出し、該直線X上の各異常画素i〜(i+10)に対応する点P(i)〜点P(i+10)に対応する画像データIave(i)〜Iave(i+10)を、仮に前記異物の付着が無かった場合に、前記原稿画像取得用読取動作により前記異常画素i〜(i+10)で生成されたと推定される画像データであって前記第1シェーディング補正処理後の画像データを前記推定データとして生成する。
That is, when m = 10, as shown in FIG. 9, the image data of the document generated by each pixel in a two-dimensional coordinate system in which the pixel arrangement in the main scanning direction is the horizontal axis and the image data is the vertical axis. , The estimated
ここで、第1シェーディング補正処理後の画像データIshは、配光ムラや各画素間の感度差による影響が排除されているので、単純な線形補間等で異常画素iについての正しい推定データIsh’(i)を推定することができる。 Here, since the image data Ish after the first shading correction processing is free from the influence of uneven light distribution and sensitivity difference between the pixels, the correct estimation data Ish ′ for the abnormal pixel i is obtained by simple linear interpolation or the like. (I) can be estimated.
なお、第1シェーディング補正処理前の画像データIave(i)には、配光ムラや各画素間の感度差による影響が含まれているので、仮にこの第1シェーディング補正処理前の画像データIave(i)を用いた単純な線形補間等で異常画素iについての前記推定データIsh’(i)を推定しようとすると、配光ムラや各画素間の感度差による影響が異常画素iについて算出される後述の補正白色基準データW’(i)に正しく反映されなくなり、この補正白色基準データW’で異常画素iから出力される原稿の画像データに対してシェーディング補正処理を行うと、該画像データから配光ムラや各画素間の感度差による影響を排除することはできない。 Note that the image data Iave (i) before the first shading correction processing includes the influence due to uneven light distribution and sensitivity differences between the pixels, so that the image data Iave ( When the estimation data Ish ′ (i) for the abnormal pixel i is to be estimated by simple linear interpolation using i), the influence due to uneven light distribution and sensitivity difference between the pixels is calculated for the abnormal pixel i. When the correction white reference data W ′ (i), which will be described later, is not correctly reflected, and shading correction processing is performed on the image data of the document output from the abnormal pixel i with the correction white reference data W ′, the image data It is not possible to eliminate the effects of uneven light distribution and sensitivity differences between pixels.
白基準補正値演算部258は、前記推測値演算部257により生成された推定データIsh’(i)〜Ish’(i+m)を用いて、仮に前記異物の付着が無かった場合に、前記原稿画像取得用読取動作により前記各異常画素i〜(i+m)でそれぞれ生成されたと推定される画像データであって前記シェーディング補正処理部254による前記第1シェーディング補正処理前の画像データを、前記各異常画素i〜(i+m)についての新たな白色基準データ(以下、補正白色基準データという)W’(i)〜W’(i+m)として生成するものである。
The white reference correction
すなわち、前記白基準補正値演算部258は、例えば或る異常画素iについての補正白色基準データW’(i)を
W’(i)={L(Iave(i)−B(i))/Ish’(i)}+B(i)・・・(4)
により算出する。
That is, the white reference correction
Calculated by
ここで、異常画素iについての推定データIsh’(i)は、画像読取部の配光ムラや画素毎の感度差が排除された状態で推定されたものであり、シェーディング補正処理に用いる前記演算式(1)の逆算式である前記式(4)によって、この異常画素iについてのIsh’(i)と前記配光ムラや画素毎の感度差の情報を含んだIave(i),W(i)とから異常画素iについての補正白色基準データW’(i)を演算することで、配光ムラや画素毎の感度差を適切に補正可能な異常画素iについての補正白色基準データW’(i)を算出することができる。 Here, the estimated data Ish ′ (i) for the abnormal pixel i is estimated in a state in which unevenness of light distribution of the image reading unit and sensitivity difference for each pixel are eliminated, and the calculation used for the shading correction process According to the equation (4), which is a reverse calculation equation of the equation (1), Ish ′ (i) for the abnormal pixel i and Iave (i), W () including information on the light distribution unevenness and the sensitivity difference for each pixel. The corrected white reference data W ′ (i) for the abnormal pixel i can be appropriately corrected by calculating the corrected white reference data W ′ (i) for the abnormal pixel i from i). (I) can be calculated.
したがって、原稿の画像領域に対して画像読取部が読取動作を行った場合に前記異常画素iから得られる画像データに対し、この補正白色基準データW’(i)を用いてシェーディング補正を行うことで、前記配光ムラや画素毎の感度差による影響を排除又は低減することができる。 Therefore, the shading correction is performed on the image data obtained from the abnormal pixel i when the image reading unit performs the reading operation on the image area of the document using the corrected white reference data W ′ (i). Therefore, it is possible to eliminate or reduce the influence due to the light distribution unevenness and the sensitivity difference for each pixel.
白基準補正演算部258は、前記原稿の前記先頭領域が白地である旨の通知を白地判定部255から受けると、算出した前記異常画素i〜(i+m)についての補正白色基準データW’(i)〜W’(i+m)を白基準補正値メモリ259に格納するとともに、前記異常画素以外の正常画素1〜(i−1),(i+m+1)〜nの白色基準データW(1)〜W(i−1),W(i+m+1)〜W(n)を白基準メモリ250から白基準補正値メモリ259に移転する。
When the white reference
一方、白基準補正演算部258は、前記原稿の前記先頭領域が白地では無い旨の通知を白地判定部255から受けると、算出した補正白色基準データW’(i)〜W’(i+m)を白基準補正値メモリ259に格納しないで破棄する。
On the other hand, when the white reference
シェーディング補正処理部254は、白基準補正値メモリ259に前記異常画素i〜(i+m)についての補正白色基準データW’(i)〜W’(i+m)と、前記異常画素以外の正常画素1〜(i−1),(i+m+1)〜nの白色基準データW(1)〜W(i−1),W(i+m+1)〜W(n)とが格納された場合には、これらの白色基準データを用いて、前記原稿画像取得用読取動作で得られた原稿の前記先頭領域以外の領域(画像領域)における画像データに対しシェーディング補正処理(第2シェーディング補正処理)を行う。
The shading
一方、シェーディング補正処理部254は、前記白色基準データが白基準補正値メモリ259に格納されなかった場合には、白基準メモリ250に格納されている白基準データW(k)(k=1,2,・・・,n−1,n)を用いて、前記原稿画像取得用読取動作で得られた原稿の前記先頭領域以外の領域(画像領域)における画像データに対しシェーディング補正処理(第2シェーディング補正処理)を行う。
On the other hand, when the white reference data is not stored in the white reference
切替部260は、シェーディング補正処理部254と通信可能に接続する対象を、白基準メモリ250と白基準補正値メモリ259との間で切り替えるものである。すなわち、切替部260は、前記第1シェーディング補正処理を行う際には、白基準メモリ250とシェーディング補正処理部254とを通信可能に接続し、白基準メモリ250に格納された白色基準データW(k)(k=1,2,・・・,n−1,n)がシェーディング補正処理部254に取り込まれるようにする。
The
また、切替部260は、前記第2シェーディング補正処理を行う前に、白基準補正値メモリ259に前記白色基準データが格納されなかった場合には、白基準メモリ250とシェーディング補正処理部254とを通信可能に接続して、白基準メモリ250に格納された白色基準データW(k)(k=1,2,・・・,n−1,n)がシェーディング補正処理部254に取り込まれるようにし、前記第2シェーディング補正処理を行う前に、白基準補正値メモリ259に前記白色基準データが格納された場合には、白基準補正値メモリ259とシェーディング補正処理部254とを通信可能に接続して、白基準補正値メモリ259に格納された補正白色基準データW’(i)〜W’(i+m)及び白色基準データW(1)〜W(i−1),W(i+m+1)〜W(n)がシェーディング補正処理部254に取り込まれるようにする。
If the white reference data is not stored in the white reference
画像処理部218は、第2シェーディング補正処理部254から送出されてくる第2シェーディング補正処理後の画像データに関する各種画像処理を行うものである。例えば、画像処理部218は、当該画像データに対して、レベル補正、ガンマ補正等の補正処理、画像データの圧縮又は伸長処理、拡大又は縮小処理などの画像加工処理を行う。
The
図10は、第1及び第2読取制御部214,215とシェーディング補正部217とによる一連のシェーディング補正処理を示すフローチャートである。なお、ここでは、白色基準板10上、若しくは白色基準板10とスキャナ部22との間の光路上に異物が存在し、スキャナ部22で原稿の画像を読み取る必要が生じたものとする。ただし、シェーディングローラ11の周面上、若しくはシェーディングローラ11とCIS231との間の光路上に異物が存在し、CIS231で原稿の画像を読み取る必要が生じた場合も同様の処理である。
FIG. 10 is a flowchart showing a series of shading correction processes by the first and second
図10に示すように、操作者によって操作部5のスタートボタン55が押下され、画像読取指示が操作部5に受け付けられると(ステップ♯1でYES)、第1読取制御部214が光源222を消灯させた状態として画像読取部を動作させて白色基準板10を読み取らせる(ステップ♯2)。これにより、前記画像読取部から黒色基準データB(k)(k=1,2,・・・,n−1,n)が出力され、この黒色基準データB(k)(k=1,2,・・・,n−1,n)は、黒基準メモリ251に記憶される(ステップ♯3)。
As shown in FIG. 10, when the
なお、このとき、第1読取制御部214がスキャナ部22に1ラインのみの画像読取を行わせ、1ライン分の画素の画素値を前記黒色基準データB(k)としてもよいし、或いは、第1読取制御部214がスキャナ部22に複数ライン分の画像読取を行わせ、該複数ライン分の画素の画素値の平均値を前記黒色基準データB(k)としてもよい。
At this time, the first
続いて、第1読取制御部214が光源222を点灯させた状態としてスキャナ部22を動作させて白色基準板10を読み取らせる(ステップ♯4)。これにより、前記画像読取部から白色基準データW(k)(k=1,2,・・・,n−1,n)が出力され、この白色基準データW(k)(k=1,2,・・・,n−1,n)は、白基準メモリ250に記憶される(ステップ♯5)。
Subsequently, the first
なお、このとき、第1読取制御部214がスキャナ部22に1ラインのみの画像読取を行わせ、1ライン分の画素の画素値を前記白色基準データW(k)(k=1,2,・・・,n−1,n)としてもよいし、或いは、第1読取制御部214がスキャナ部22に複数ライン分の画像読取を行わせ、該複数ライン分の画素の画素値の平均値を前記白色基準データW(k)(k=1,2,・・・,n−1,n)としてもよい。
At this time, the first
そして、第1読取制御部214は、原稿給紙部21に原稿トレイ241上の原稿を、スキャナ部22による画像読取位置230まで搬送させ、当該画像読取位置230においてスキャナ部22に原稿画像を読み取らせる(ステップ♯6)。
Then, the first
そして、異常画素候補検出部252は、原稿の先端領域の画像データIave(k)(k=1,2,・・・,n−1,n)を取得すると(ステップ♯7)、前記白色基準データW(n)と、画像読取部によって読み取られた原稿の画像データIave(k)(k=1,2,・・・,n−1,n)とを比較し、当該原稿画像をなす各画素の内、これに対応する画素位置(原稿画像をなす各画素と同一の画素位置)における白色基準データW(k)の画素値よりも高い輝度を示す画素を異常画素候補として検出する(ステップ♯8)。
When the abnormal pixel
例えば、異常画素候補検出部252は、ステップ♯6の読取動作で得られた原稿画像のうち、原稿搬送方向において原稿先端部から一定範囲内の余白領域(例えば原稿先端部から150mmまでの領域等)を当該比較に用いる原稿画像として用い、白色基準データW(k)<画像データIave(k)を満たすかを判断し、白色基準データW(k)<画像データIave(k)となる画素が存在する場合、異常画素候補検出部252は、当該条件に該当する画素についての主走査方向における画素位置を、異常画素候補記憶部253に記憶させる。たとえば、図11を参照して説明すると、白色基準データW(k)<画像データIave(k)となる主走査方向の画素位置を記憶させる。
For example, the abnormal pixel
次に、シェーディング補正部217のシェーディング補正処理部254は、白基準メモリ250に記憶されている白色基準データW(k)及び黒基準メモリ251に記憶されている黒色基準データB(k)を用いて、ステップ♯6で読み取られた原稿画像の先頭領域に対して前記第1シェーディング補正を行う(ステップ♯9)。
Next, the shading
続いて、白地判定部255は、前記第1シェーディング補正後の原稿画像の先頭領域を構成する各画素の画素値の平均値AVE(Ish)及び最小値MIN(Ish)と、ROM213に記憶されている白平均基準値L及び白地最低基準値Mを用いて、前記式(2),(3)で示される条件を満たしているかの白地判定処理を行い(ステップ♯10)、また、異常画素カウント部256は、異常画素候補記憶部253に記憶された異常画素候補の個数をカウントする(ステップ♯11)。
Subsequently, the white
次に、推測値演算部257は、前記各画素k(k=1,2,・・・,n−1,n)から得られた前記先頭領域についての画像データの前記第1シェーディング補正処理後の画像データIsh(k)(k=1,2,・・・,n−1,n)のうち、前記異常画素候補記憶部253に記憶されている前記異常画素i〜(i+m)以外の正常画素、例えば前記異常画素群に隣接する正常画素(i−1)と正常画素(i+m+1)の画像データを用いた補間演算により、仮に前記異物の付着が無かったものとした場合に、前記原稿画像取得用読取動作により前記異常画素i〜(i+m)で生成されたと推定される前記第1シェーディング補正処理後の画像データを推定データIsh’(i)〜Ish’(i+m)として生成する(ステップ♯12)。
Next, the estimated
さらに、白基準補正値演算部258は、前記推測値演算部257により生成された推定データIsh’(i)〜Ish’(i+m)を用いて、仮に前記異物の付着が無かった場合に、前記基準値取得用読取動作により前記各異常画素i〜(i+m)でそれぞれ生成されたと推定される、前記シェーディング補正処理部254による前記第1シェーディング補正処理前の画像データを、前記各異常画素i〜(i+m)についての補正白色基準データW’(i)〜W’(i+m)として生成する(ステップ♯13)。
Further, the white reference correction
そして、シェーディング補正処理部254は、前記異常画素i〜(i+m)についての補正白色基準データW’(i)〜W’(i+m)と、前記異常画素以外の正常画素1〜(i−1),(i+m+1)〜nの白色基準データW(1)〜W(i−1),W(i+m+1)〜W(n)とを用いて、前記原稿画像取得用読取動作で得られた原稿の前記先頭領域以外の領域(画像領域)における画像データに対しシェーディング補正処理(第2シェーディング補正処理)を行い(ステップ♯14)、前記第2シェーディング補正処理後の画像データを画像処理部218に出力する(ステップ♯15)。
The shading
以上のように、本実施形態では、異常画素についての白色基準データにあっては、異常画素以外の画素(正常画素)で生成された画像データであって前記シェーディング補正処理部254によるシェーディング補正処理(第1シェーディング補正処理)を行った後の画像データを用いて、仮に前記異物の付着が無かった場合に、前記原稿画像取得用読取動作により前記異常画素で生成されたと推定される画像データ(前記異物による画質上の悪影響を低減した画像データ)であって前記第1シェーディング補正処理後の画像データを生成した上で、この画像データから、仮に前記異物の付着が無かった場合に、前記基準値取得用読取動作により前記異常画素で生成されたと推定される画像データ、すなわち異常画素についての正しい白色基準データを、シェーディング補正処理に用いる演算式を逆算的に利用して算出することにより求めるようにしたので、異物が画質に与える影響と、画像読取部の配光ムラや画素毎の感度差による影響とを低減した画像を得ることができる。
As described above, in the present embodiment, the white reference data for abnormal pixels is image data generated by pixels other than abnormal pixels (normal pixels), and shading correction processing by the shading
また、前記原稿の先頭領域の画像データから前記第1白色基準データIsh(k)や第2白色基準データIsh’(k)を取得するようにしたので、原稿の画像データに対するシェーディング補正処理を行うために必要な前記第1白色基準データIsh(k)や第2白色基準データIsh’(k)を、原稿全体の画像データを用いて算出する場合に比して、その算出に要する時間を短縮することができ、一連のシェーディング補正処理に要する時間の増大を防止又は低減することができる。 In addition, since the first white reference data Ish (k) and the second white reference data Ish ′ (k) are obtained from the image data of the leading area of the document, shading correction processing is performed on the image data of the document. Compared to the case where the first white reference data Ish (k) and the second white reference data Ish ′ (k) necessary for the calculation are calculated using the image data of the entire document, the time required for the calculation is shortened. It is possible to prevent or reduce an increase in the time required for a series of shading correction processes.
本件は、前記実施形態に代えて、或いは前記実施形態に加えて、次のような変形形態も採用可能である。 In this case, the following modifications may be employed instead of or in addition to the embodiment.
(1)前記第1の実施形態においては、異常画素候補検出部252は、前記基準値取得用読取動作で得られた前記画像読取部の各画素k(k=1,2,・・・,n−1,n)についての前記白色基準データW(k)(k=1,2,・・・,n−1,n)と、原稿の画像が存在しない無地と想定される、原稿の余白領域に相当する所定の先頭領域に対する前記原稿画像取得用読取動作で各画素k(k=1,2,・・・,n−1,n)から得られた原稿の画像データIave(k)(k=1,2,・・・,n−1,n)との大小を比較したが、これに限らず、前記画像データIave(k)に所定値Qを加えたものと、前記白色基準データW(k)との大小を比較するようにしてもよい。
(1) In the first embodiment, the abnormal pixel
これにより、図11に示すように、前記第1の実施形態では、原稿の画像データが前記白色基準データより大きくなる画素の存在範囲は、Z1であるが、前記のように、原稿の画像データIave(k)に所定値Qを加えたものが前記白色基準データW(k)より大きくなる画素の存在範囲は、前記範囲Z1より広いZ2となり、異常画素の有無を確実に検出することが可能となる。 Accordingly, as shown in FIG. 11, in the first embodiment, the existence range of pixels in which the document image data is larger than the white reference data is Z1, but as described above, the document image data The existence range of pixels in which Iave (k) plus a predetermined value Q is larger than the white reference data W (k) is Z2, which is wider than the range Z1, and the presence or absence of abnormal pixels can be reliably detected. It becomes.
(2)前記第1の実施形態においては、推測値演算部257は、前記異常画素i〜(i+m)の画素群に隣接する画素(i−1)の画像データIave(i−1)と画素(i+m+1)の画像データIave(i+m+1)とを用いた線形補間により、仮に前記異物の付着が無かった場合に、前記原稿画像取得用読取動作により前記異常画素i〜(i+m)で生成されたと推定される画像データを推定データIsh’(i)〜Ish’(i+m)として生成するようにしたが、これに限らず、例えば、前記推定データIsh’(i)〜Ish’(i+m)を、一律に、前記異常画素i〜(i+m)の画素群に隣接する画素(i−1)の画像データIave(i−1)としたり、一律に、画素(i+m+1)の画像データIave(i+m+1)としたりしてもよい。
(2) In the first embodiment, the estimated
或いは、前記異常画素i〜(i+m)の画素群に隣接する、画素(i−1)を含む複数の画素からなる画素群の各画像データの平均値を前記推定データIsh’(i)〜Ish’(i+m)としてもよい。例えば、前記推定データIsh’(i)〜Ish’(i+m)を、すべて、画素(i−1)の画像データIave(i−1)と画素(i−2)の画像データIave(i−2)と画素(i−3)の画像データIave(i−3)と画素(i−4)の画像データIave(i−4)との平均値としてもよい。 Alternatively, an average value of each image data of a pixel group including a plurality of pixels including the pixel (i−1) adjacent to the pixel group of the abnormal pixels i to (i + m) is calculated as the estimated data Ish ′ (i) to Ish. It is good also as' (i + m). For example, the estimated data Ish ′ (i) to Ish ′ (i + m) are all converted into the image data Iave (i−1) of the pixel (i−1) and the image data Iave (i−2) of the pixel (i-2). ), Image data Iave (i-3) of the pixel (i-3), and image data Iave (i-4) of the pixel (i-4).
或いは、前記異常画素i〜(i+m)の画素群に隣接する、画素(i−1)を含む複数の画素からなる画素群の各画像データと、画素(i+m+1)を含む複数の画素からなる画素群の各画像データとの平均値を前記推定データIsh’(i)〜Ish’(i+m)としてもよい。 Alternatively, each image data of a pixel group including a plurality of pixels including the pixel (i−1) and a pixel including a plurality of pixels including the pixel (i + m + 1) adjacent to the pixel group of the abnormal pixels i to (i + m). The average value of each group of image data may be the estimated data Ish ′ (i) to Ish ′ (i + m).
例えば、前記推定データIsh’(i)〜Ish’(i+m)を、すべて、画素(i−1)の画像データIave(i−1)と画素(i−2)の画像データIave(i−2)と画素(i−3)の画像データIave(i−3)と画素(i+m+1)の画像データIave(i+m+1)と画素(i+m+2)の画像データIave(i+m+2)と画素(i+m+3)の画像データIave(i+m+3)との平均値としてもよい。 For example, the estimated data Ish ′ (i) to Ish ′ (i + m) are all converted into the image data Iave (i−1) of the pixel (i−1) and the image data Iave (i−2) of the pixel (i-2). ), Image data Iave (i-3) of the pixel (i-3), image data Iave (i + m + 1) of the pixel (i + m + 1), image data Iave (i + m + 2) of the pixel (i + m + 2), and image data Iave of the pixel (i + m + 3) It is good also as an average value with (i + m + 3).
(3)前記第1の実施形態に係る複合機1は、画像読取部として、スキャナ部22及びCIS231の両方を備えているが、スキャナ部22又はCIS231のいずれか一方のみを備えている構成において、その画像読取部について前記第1の実施形態に係る一連のシェーディング補正処理を行うようにしても構わない。
(3) The
(4)本発明は、前記実施の形態の構成に限られず種々の変形が可能である。例えば、前記第1乃至第3実施形態では、本発明に係る画像形成装置の例として複合機1を示しているが、本発明に係る画像形成装置は複合機1に限定されるものではなく、コピー機、ファクシミリ装置等であっても構わない。
(4) The present invention is not limited to the configuration of the above embodiment, and various modifications can be made. For example, in the first to third embodiments, the
1 複合機
2 画像読取部
22 スキャナ部
222 光源
229 CCD
231 CIS
231a 光源
10 白色基準板
11 シェーディングローラ
214 第1読取制御部
215 第2読取制御部
217 シェーディング補正部
218 画像処理部
250 白基準メモリ
251 黒基準メモリ
252 異常画素候補検出部
253 異常画素候補記憶部
254 シェーディング補正処理部
255 白地判定部
256 異常画素カウント部
257 推測値演算部
258 白基準補正値演算部
259 白基準補正値メモリ
260 切替部
DESCRIPTION OF
231 CIS
Claims (4)
白色の基準となる白色基準部材と、
前記白色基準部材に対する画像の読取動作を前記画像読取部に行わせる第1読取制御部と、
前記第1読取制御部の指示に基づく読取動作で得られた画像データを、白色の基準値を示す第1白色基準データとして記憶する第1白色基準データ記憶部と、
前記第1読取制御部の指示に基づく読取動作で得られた各画素の画像データから前記白色基準部材を含む光路上の異物に起因する異常画像データを検出し、前記画像読取部の各画素のうち前記異常画像データを生成した画素を異常画素として検出する異常画素検出部と、
原稿に対する画像の読取動作を画像読取部に行わせる第2読取制御部と、
前記第2読取制御部の指示に基づく読取動作で得られた画像データのうち前記原稿の所定領域の画像データに対し、前記第1白色基準データ記憶部に記憶された前記第1白色基準データを用いてシェーディング補正処理を行う第1シェーディング補正処理部と、
前記第1シェーディング補正処理部によるシェーディング補正処理後の画像データのうち前記異常画素検出部により検出された前記異常画素を除く所定の画素で生成された画像データを用いて、仮に前記異物が存在しなかった場合に、前記第2読取制御部の指示に基づく読取動作により前記異常画素で生成されたものと推定される画像データであって前記第1シェーディング補正処理後の画像データを、該異常画素についての推定データとして生成する推定データ生成部と、
前記推定データ生成部により生成された推定データを用いて、仮に前記異物が存在しなかった場合に、前記第1読取制御部の指示に基づく読取動作により前記異常画素で生成されたものと推定される画像データを、該異常画素についての第2白色基準データとして生成する第2白色基準データ生成部と、
前記第2読取制御部の指示に基づく読取動作により前記異常画素で生成された画像データに対し、前記第2白色基準データ生成部により生成された当該異常画素についての第2白色基準データを用いてシェーディング補正処理を行うとともに、前記第2読取制御部の指示に基づく読取動作により前記異常画素以外の画素で生成された画像データに対し、前記第1白色基準データ生成部により生成された当該画素についての第1白色基準データを用いてシェーディング補正処理を行う第2シェーディング補正処理部と
を備える画像処理装置。 An image reading unit for performing an image reading operation;
A white reference member which is a white reference;
A first reading control unit that causes the image reading unit to perform an image reading operation on the white reference member;
A first white reference data storage unit that stores image data obtained by a reading operation based on an instruction from the first reading control unit as first white reference data indicating a white reference value;
Abnormal image data caused by foreign matter on the optical path including the white reference member is detected from the image data of each pixel obtained by the reading operation based on the instruction of the first reading control unit, and each pixel of the image reading unit is detected. Among them, an abnormal pixel detector that detects the pixel that generated the abnormal image data as an abnormal pixel,
A second reading control unit for causing the image reading unit to perform an image reading operation on a document;
The first white reference data stored in the first white reference data storage unit is used for image data of a predetermined area of the document among image data obtained by a reading operation based on an instruction from the second reading control unit. A first shading correction processing unit that uses the shading correction process,
Using the image data generated by predetermined pixels excluding the abnormal pixels detected by the abnormal pixel detection unit among the image data after the shading correction processing by the first shading correction processing unit, the foreign matter is temporarily present. If there is no image data that is estimated to have been generated by the abnormal pixel by a reading operation based on an instruction from the second reading control unit, the image data after the first shading correction processing is converted into the abnormal pixel. An estimated data generation unit that generates as estimated data for
Using the estimated data generated by the estimated data generating unit, if the foreign matter does not exist, it is estimated that the abnormal pixel is generated by the reading operation based on the instruction of the first reading control unit. Second white reference data generating unit for generating image data as second white reference data for the abnormal pixel;
The second white reference data for the abnormal pixel generated by the second white reference data generation unit is used for the image data generated by the abnormal pixel by the reading operation based on the instruction of the second reading control unit. For the pixel generated by the first white reference data generation unit with respect to image data generated by a pixel other than the abnormal pixel by a reading operation based on an instruction of the second reading control unit while performing a shading correction process And a second shading correction processing unit that performs a shading correction process using the first white reference data.
前記第1読取制御部は、更に、前記画像読取部に備えられる照明部の前記白色基準部材に対する照明動作をオフにした状態で該白色基準部材に対する画像の読取動作を前記画像読取部に行わせ、
この第1読取制御部の指示に基づく読取動作で得られた画像データを、黒色の基準値を示す黒色基準データとして生成する黒色基準データ記憶部を更に備え、
前記第2読取制御部の指示により得られた画像データのうち前記原稿の所定領域に属する画素に対して前記画素列方向に番号を付したとき、画素k(=1,2,・・・,n−1,n)について、前記黒色基準データ生成部により生成された黒色基準データをB(k)、前記第1白色基準データ記憶部により記憶された第1白色基準データをW(k)、前記第2読取制御部の指示により前記画素で生成された画像データをI(k)とし、画像データの階調数をLとしたとき、前記第1シェーディング補正処理部は、
{(I(k)−B(k))/(W(k)−B(k))}×L
を前記画素kについての前記シェーディング補正処理後の画像データIsh(k)とするものであり、
前記推定データ生成部は、前記第1シェーディング補正処理部によるシェーディング補正処理後の画像データIsh(k)のうち、前記異常画素i又は複数の異常画素iからなる異常画素群に隣接する画素を含む画素領域内の画素jにより生成された画像データIsh(j)を用いて、仮に前記異物が存在しなかった場合に、前記第2読取制御部の指示に基づく読取動作により前記異常画素iで生成されたと推定される画像であって前記第1シェーディング補正処理部によるシェーディング補正処理後の画像データIsh’(i)を推定データとして生成するものであり、
前記第2白色基準データ生成部は、
{L(I(i)−B(i))/Ish’(i)}+B(i)
を、前記異常画素iについての前記第2白色基準データとして生成するものである請求項1に記載の画像処理装置。 The image reading unit includes n (n> 1) pixels arranged in a row,
The first reading control unit further causes the image reading unit to perform an image reading operation with respect to the white reference member in a state where an illumination operation with respect to the white reference member of an illumination unit provided in the image reading unit is turned off. ,
A black reference data storage unit that generates image data obtained by a reading operation based on an instruction from the first reading control unit as black reference data indicating a black reference value;
Of the image data obtained by the instruction of the second reading control unit, when the pixels belonging to the predetermined area of the document are numbered in the pixel column direction, the pixel k (= 1, 2,... n-1, n), the black reference data generated by the black reference data generation unit is B (k), the first white reference data stored by the first white reference data storage unit is W (k), When the image data generated by the pixel according to the instruction of the second reading control unit is I (k) and the number of gradations of the image data is L, the first shading correction processing unit is
{(I (k) −B (k)) / (W (k) −B (k))} × L
Is the image data Ish (k) after the shading correction processing for the pixel k,
The estimated data generation unit includes pixels adjacent to the abnormal pixel group including the abnormal pixel i or the plurality of abnormal pixels i in the image data Ish (k) after the shading correction processing by the first shading correction processing unit. Using the image data Ish (j) generated by the pixel j in the pixel area, if the foreign matter does not exist, the image data Ish (j) is generated at the abnormal pixel i by a reading operation based on an instruction from the second reading control unit. An image presumed to be generated and image data Ish ′ (i) after the shading correction processing by the first shading correction processing unit is generated as estimation data,
The second white reference data generation unit
{L (I (i) −B (i)) / Ish ′ (i)} + B (i)
The image processing apparatus according to claim 1, wherein the second white reference data for the abnormal pixel i is generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009261880A JP2011109381A (en) | 2009-11-17 | 2009-11-17 | Image processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009261880A JP2011109381A (en) | 2009-11-17 | 2009-11-17 | Image processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011109381A true JP2011109381A (en) | 2011-06-02 |
Family
ID=44232394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009261880A Pending JP2011109381A (en) | 2009-11-17 | 2009-11-17 | Image processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011109381A (en) |
-
2009
- 2009-11-17 JP JP2009261880A patent/JP2011109381A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5265479B2 (en) | Image reading apparatus and image forming apparatus | |
JP7293927B2 (en) | ABNORMAL PIXEL DETECTION DEVICE, IMAGE FORMING APPARATUS AND ABNORMAL PIXEL DETECTION METHOD | |
JP5079609B2 (en) | Image reading apparatus and image forming apparatus | |
JP5481436B2 (en) | Image reading apparatus and image forming apparatus | |
JP2006094515A (en) | Image reading apparatus | |
JP5481435B2 (en) | Image reading apparatus and image forming apparatus | |
JP2011234129A (en) | Original image reading apparatus and image forming apparatus | |
JP2010028682A (en) | Image reading apparatus and image forming apparatus | |
JP4849144B2 (en) | Image reading apparatus and streak noise correction method | |
JP5027839B2 (en) | Image reading apparatus and image forming apparatus | |
JP2011109381A (en) | Image processor | |
JP2007019854A (en) | Image processing apparatus and image processing method | |
JP4988679B2 (en) | Image reading apparatus and image forming apparatus | |
JP5027831B2 (en) | Image reading apparatus, image forming apparatus, and noise contamination factor detection method | |
JP4843598B2 (en) | Image reading apparatus and image forming apparatus | |
JP2011259430A (en) | Image reader and image reading abnormality detecting method | |
JP5069705B2 (en) | Image reading apparatus and image forming apparatus | |
JP5033566B2 (en) | Image reading apparatus and image forming apparatus | |
JP2010252043A (en) | Image reader and image forming apparatus | |
JP5162205B2 (en) | Image reading apparatus and image forming apparatus | |
JP2011045073A (en) | Image reading apparatus and image reading method | |
JP6287630B2 (en) | Image reading apparatus, image forming apparatus, and image reading method | |
JP2012019521A (en) | Image reading device and image reading method | |
JP5851371B2 (en) | Image forming apparatus and image reading method | |
JP2010206324A (en) | Image reading device and image forming apparatus |