[go: up one dir, main page]

JP2003032490A - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2003032490A
JP2003032490A JP2001211126A JP2001211126A JP2003032490A JP 2003032490 A JP2003032490 A JP 2003032490A JP 2001211126 A JP2001211126 A JP 2001211126A JP 2001211126 A JP2001211126 A JP 2001211126A JP 2003032490 A JP2003032490 A JP 2003032490A
Authority
JP
Japan
Prior art keywords
data
defective pixel
image
image processing
frame
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
JP2001211126A
Other languages
Japanese (ja)
Inventor
Shinya Miyazaki
慎也 宮崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001211126A priority Critical patent/JP2003032490A/en
Publication of JP2003032490A publication Critical patent/JP2003032490A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

(57)【要約】 (修正有) 【課題】 白スジや黒スジの発生原因となる基準白板の
汚れとコンタクトガラス面上の汚れによる出力異常を補
正する画像処理装置を提供する。 【解決手段】 読み取られた画像データを一時的に1フ
レームのデータを格納しておくフレームメモリと、格納
されたデータの種類によって補正の対象となる画像デー
タか欠陥データかを判断し、それぞれの処理工程に切り
替えるデータ切り替え手段102と、欠陥画素を検出す
る欠陥画素検出手段103と、欠陥画素データを保持す
る欠陥画素保持手段と、データ切り替え手段から来た画
像データと欠陥画素保持手段104に保持されている欠
陥画素データを比較し、画像データが補正されるべきデ
ータであるかどうかを判断するデータ検証手段105
と、欠陥画素検出手段によって検出された画像情報を、
周辺画素を用いてマトリクス処理し、欠陥画素を補正す
る補正手段106とを備え、一連の処理をR・G・Bそ
れぞれに行う。
(57) [Summary] (With correction) [PROBLEMS] To provide an image processing apparatus for correcting an output abnormality caused by a stain on a reference white plate and a stain on a contact glass surface, which cause white stripes and black stripes. SOLUTION: A frame memory for temporarily storing one frame of data of read image data, and image data to be corrected or defect data are determined depending on the type of the stored data, and each of them is determined. Data switching means 102 for switching to the processing step, defective pixel detecting means 103 for detecting defective pixels, defective pixel holding means for holding defective pixel data, and image data coming from the data switching means and held in defective pixel holding means 104 Data verifying means 105 for comparing the defective pixel data set and determining whether the image data is data to be corrected.
And the image information detected by the defective pixel detection means,
A correction unit 106 that performs matrix processing using peripheral pixels to correct defective pixels is provided, and performs a series of processing for each of R, G, and B.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、画像読取装置で読
み取られた画像データに各種の画像処理を施す画像処理
装置に関し、特に白スジや黒スジの発生原因となる基準
白板の汚れとコンタクトガラス面上の汚れによる出力異
常を補正する機能を備えた画像処理装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing various kinds of image processing on image data read by an image reading apparatus, and more particularly to stains on a reference white plate and contact glass that cause white stripes and black stripes. The present invention relates to an image processing apparatus having a function of correcting an output abnormality due to dirt on a surface.

【0002】[0002]

【従来の技術】白スジや黒スジの発生原因となる基準白
板の汚れとコンタクトガラス面上の汚れによる出力異常
を補正する機能を備えた画像処理装置に関連して、特開
平10−294870号公報には、読み取り系の光路上
のゴミによって生じた画素情報の欠落を、隣接する画素
データの情報を使って補う技術の開示がある。
2. Description of the Related Art Japanese Unexamined Patent Publication (Kokai) No. 10-294870 relates to an image processing apparatus having a function of correcting an output abnormality due to a stain on a reference white plate and a stain on a contact glass surface which causes white stripes and black stripes. The publication discloses a technique of compensating for the lack of pixel information caused by dust on the optical path of the reading system by using information of adjacent pixel data.

【0003】[0003]

【発明が解決しようとする課題】前記従来技術は、主走
査方向の情報を基に欠落部分を検出し、隣接画素の濃度
情報を使って補正するものであるが、主走査方向の情報
のみで補正を行うと、副走査方向に相関が高い画像で
は、補正された場所の副走査方向の連続性が損なわれる
という問題がある。また欠落部分の検出を2次元で行い
補正時に利用すれば、主走査方向、副走査方向ともに補
正すべき箇所を把握できるために、特に副走査方向のの
連続性の保護に効果を発揮することが可能であるが、従
来技術には副走査側情報がまったく考慮されていないと
いう問題があり、さらに、R・G・Bのカラースキャナ
が考慮されてないという問題がある。
In the above-mentioned prior art, the missing portion is detected based on the information in the main scanning direction and is corrected by using the density information of the adjacent pixels. However, only the information in the main scanning direction is used. When the correction is performed, there is a problem that the continuity of the corrected location in the sub-scanning direction is lost in the image having a high correlation in the sub-scanning direction. Further, if the missing portion is detected in two dimensions and used for correction, it is possible to grasp the portion to be corrected in both the main scanning direction and the sub scanning direction, so that it is particularly effective in protecting the continuity in the sub scanning direction. However, the conventional technique has a problem that the sub-scanning side information is not considered at all, and further, there is a problem that the R, G, B color scanner is not considered.

【0004】本発明の目的は、斯かる従来技術の問題点
を解決することにあり、具体的には、白スジや黒スジの
発生原因となる基準白板の汚れとコンタクトガラス面上
の汚れによる出力異常を補正する画像処理装置を提供す
ることにある。
An object of the present invention is to solve the above-mentioned problems of the prior art. Specifically, it is caused by the stain on the reference white plate and the stain on the contact glass surface, which causes white stripes and black stripes. An object is to provide an image processing device that corrects an output abnormality.

【0005】[0005]

【課題を解決するための手段】前記の課題を解決するた
めに、請求項1記載の発明では、画像読取装置で読み取
られた画像データに各種の画像処理を施す画像処理装置
において、一時的に1フレーム全てのデータを保持して
おくフレームメモリと、フレームメモリに格納されたデ
ータの種類によって補正の対象となる画像データか欠陥
データかを判断し、それぞれの処理工程に切り替えるデ
ータ切り替え手段と、画像情報の欠陥した画素を検出す
る欠陥画素検出手段と、欠陥画素検出手段によって検出
された欠陥画素データを保持する欠陥画素保持手段と、
データ切り替え手段から来た画像データと欠陥画素保持
手段に保持されている欠陥画素データを比較し、画像デ
ータが補正されるべきデータであるかどうかを判断する
データ検証手段と、欠陥画素検出手段によって検出され
た位置における画素の画像情報を、欠陥画素位置の周辺
画素を用いてマトリクス処理し、欠陥画素の画像情報を
補正する補正手段とを備え、データを一度フレームメモ
リに格納して一連の処理をR・G・Bそれぞれに行う画
像処理装置を最も主要な特徴とする。
In order to solve the above-mentioned problems, according to the invention of claim 1, in an image processing apparatus for performing various image processing on image data read by an image reading apparatus, A frame memory that holds all data of one frame; data switching means that determines whether image data or defect data to be corrected according to the type of data stored in the frame memory and switches to each processing step; Defective pixel detecting means for detecting a defective pixel of image information; defective pixel holding means for holding defective pixel data detected by the defective pixel detecting means;
By the defective pixel detecting means and the data verifying means for comparing the image data coming from the data switching means with the defective pixel data held in the defective pixel holding means to determine whether the image data is data to be corrected. The image information of the pixel at the detected position is matrix-processed by using the peripheral pixels of the defective pixel position, and a correction means for correcting the image information of the defective pixel is provided, and the data is once stored in the frame memory to perform a series of processing. The most main feature is an image processing device that performs R, G, and B respectively.

【0006】請求項2記載の発明では、前記補正手段
は、少なくともフレームメモリに格納されたR・G・B
別フレーム単位の画像に対して、画像レベルのアップダ
ウンによって色ゴミを検出してフレーム単位に補正を行
う請求項1記載の画像処理装置を主要な特徴とする。
According to a second aspect of the present invention, the correction means stores at least R, G, B stored in a frame memory.
A main feature of the image processing apparatus according to claim 1 is that, for an image in another frame unit, color dust is detected by raising and lowering an image level to correct the image in frame units.

【0007】請求項3記載の発明では、前記補正手段
は、少なくともフレームメモリに格納されたR・G・B
別フレーム単位の画像に対して<R・G・B別にエッジ
を検出するbsによってゴミを検出してフレーム単位に
補正を行う請求項1記載の画像処理装置を主要な特徴と
する。
According to a third aspect of the present invention, the correcting means stores at least R, G, B stored in the frame memory.
A main feature of the image processing apparatus according to claim 1 is that, with respect to an image in a different frame unit, dust is detected by bs for detecting an edge for each of R, G, and B, and correction is performed for each frame.

【0008】請求項4記載の発明では、前記補正手段
は、少なくともフレームメモリに格納されたR・G・B
別フレーム単位の画像に対して、任意に閾値をR・G・
B別に設定してゴミを検出してフレーム単位に補正を行
う請求項1記載の画像処理装置を主要な特徴とする。
According to a fourth aspect of the present invention, the correction means stores at least R, G, B stored in the frame memory.
Threshold values can be set to R, G, and
An image processing apparatus according to claim 1, wherein the image processing apparatus is set for each B, detects dust, and corrects in frame units.

【0009】[0009]

【発明の実施の形態】以下、図面により本発明の実施の
形態を詳細に説明する。図1は画像読取装置の構成図で
ある。大きな構成としては、読取装置本体1と原稿搬送
装置2と原稿読取台3が設けられており、これによって
イメージスキャナを構成している。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram of the image reading apparatus. As a large configuration, a reading device main body 1, a document feeding device 2, and a document reading table 3 are provided, and thus an image scanner is configured.

【0010】読取装置本体1の内部には、キセノンラン
プや蛍光灯で構成される光源4aとミラー4bとを備え
た第1の走行体4と、ミラー5a,5bを備えた第2の
走行体5と、レンズ6と、一次元の光電変換素子(本例
ではCCDを使用する)7と、第1、第2の走行体4,
5を駆動するステッピングモータ8とからなる露光走査
光学系9が設けられている。なお、この露光走査光学系
9の下段の構成についての説明は省略する。
Inside the reading apparatus main body 1, a first traveling body 4 having a light source 4a composed of a xenon lamp or a fluorescent lamp and a mirror 4b, and a second traveling body having mirrors 5a and 5b. 5, a lens 6, a one-dimensional photoelectric conversion element (a CCD is used in this example) 7, first and second traveling bodies 4,
An exposure scanning optical system 9 including a stepping motor 8 that drives 5 is provided. Note that the description of the lower configuration of the exposure scanning optical system 9 will be omitted.

【0011】また、原稿搬送装置2には、SDF(シー
トドキュメントフィーダ、以下同様)ユニット10と、
原稿台11とが設けられている。SDFユニット10内
にはステッピングモータ12が備えられている。さら
に、原稿読取台3の上部に原稿押さえ板14が回動自在
に取り付けられており、原稿13はその原稿押さえ板1
4の下にセットされる。原稿読取台3の端部には、シェ
ーディング補正用の白基準板15が配置されている。
Further, the document feeder 2 includes an SDF (sheet document feeder, the same applies hereinafter) unit 10,
A document table 11 is provided. A stepping motor 12 is provided in the SDF unit 10. Further, an original pressing plate 14 is rotatably attached to the upper part of the original reading table 3, and the original 13 is attached to the original pressing plate 1.
Set under 4. A white reference plate 15 for shading correction is arranged at the end of the document reading table 3.

【0012】図2は画像読取装置の全体制御ブロック図
である。また、図3はブックモード時の原稿読取部の構
成図、図4はSDFモード時の原稿読取部の構成図であ
る。図2に示す画像読取装置は、光源4a、CCD7、
ステッピングモータ8,12、CPU16、光源ドライ
バ17、CCD駆動部18、画像処理部19、モータド
ライバ20,28、スキャンバッファ25、I/Fコン
トローラ26、バッファコントローラ27を備える。
FIG. 2 is an overall control block diagram of the image reading apparatus. 3 is a block diagram of the document reading unit in the book mode, and FIG. 4 is a block diagram of the document reading unit in the SDF mode. The image reading apparatus shown in FIG. 2 includes a light source 4a, a CCD 7,
The stepping motors 8 and 12, the CPU 16, the light source driver 17, the CCD driving unit 18, the image processing unit 19, the motor drivers 20 and 28, the scan buffer 25, the I / F controller 26, and the buffer controller 27 are provided.

【0013】原稿読み取りモードとしては、図3に示す
ような原稿読取台3を用いて画像データの読み取りを行
うブックモードと、図4に示すような原稿搬送装置2を
用いて画像データの読み取りを行うSDFモードとがあ
る。そこで、まず、図3に示すようなブックモードにお
ける画像データ読み取りの基本動作について述べる。
The original reading mode includes a book mode in which image data is read using an original reading table 3 as shown in FIG. 3 and an image data reading using an original feeding device 2 as shown in FIG. There is an SDF mode to perform. Therefore, first, the basic operation of reading image data in the book mode as shown in FIG. 3 will be described.

【0014】原稿13を原稿押さえ板14下の原稿読取
台3上にセットした後、CPU16は光源ドライバ17
を動作させて光源4aをオンにする。次に、CCD駆動
部18により駆動されるCCD7で白基準板15を読み
取り、画像処理部19内のA/Dコンバータ(図示せ
ず)でアナログデジタル変換を行い、画換データのシェ
ーディング補正用の基準データとして画像処理部19内
のRAM (図示せず)に記憶する。CPU16は、モー
タドライバ(駆動装置)20をドライブして、ステッピ
ングモータ8を動作させ、これにより、第1の走行体4
は原稿13のある方向へ移動する。第1の走行体4が原
稿面を一定速度で走査することにより、その原稿13の
画像データがCCD7により光電変換される。
After the original 13 is set on the original reading table 3 below the original pressing plate 14, the CPU 16 causes the light source driver 17 to operate.
To turn on the light source 4a. Next, the white reference plate 15 is read by the CCD 7 driven by the CCD driving unit 18, and analog / digital conversion is performed by an A / D converter (not shown) in the image processing unit 19 for shading correction of the image data. It is stored in a RAM (not shown) in the image processing unit 19 as reference data. The CPU 16 drives the motor driver (driving device) 20 to operate the stepping motor 8, whereby the first traveling body 4 is driven.
Moves in a certain direction of the document 13. The image data of the document 13 is photoelectrically converted by the CCD 7 as the first traveling body 4 scans the document surface at a constant speed.

【0015】図5は、図2に示す画像処理部19の最も
基本的な構成を示すブロック図である。図5に示す画像
処理部19は、アナログビデオ処理部21、シェーディ
ング補正処理部22、画像データ処理部23、2値化処
理部24を備える。CCD7で光電変換されたアナログ
ビデオ信号aは、アナログビデオ処理部21でデジタル
変換の処理まで行われた後、シェーディング補正処理部
22、画像データ処理部23により、それぞれシェーデ
ィング補正、各種の画像データ処理を行った後、2値画
像を所望とする場合は、2値化処理部24により2値化
データbを作成する。多値データを所望する場合は8ビ
ットデータとして後段に送る。その後、その2値化デー
タbあるいは多値データを、図2に示したスキャンバッ
ファ25に順次記憶していく。
FIG. 5 is a block diagram showing the most basic configuration of the image processing section 19 shown in FIG. The image processing unit 19 shown in FIG. 5 includes an analog video processing unit 21, a shading correction processing unit 22, an image data processing unit 23, and a binarization processing unit 24. The analog video signal a photoelectrically converted by the CCD 7 is subjected to digital conversion processing by the analog video processing unit 21, and then shading correction processing and various image data processing are performed by the shading correction processing unit 22 and the image data processing unit 23, respectively. After performing the above, if the binary image is desired, the binarization processing unit 24 creates the binarized data b. When multi-valued data is desired, it is sent to the subsequent stage as 8-bit data. After that, the binarized data b or the multivalued data is sequentially stored in the scan buffer 25 shown in FIG.

【0016】再び図2に戻り、I/Fコントローラ26
は、スキャンバッファ25内のデータを外部のホストコ
ンピュータ(図示せず)等の装置に出力する制御を行
う。バッファコントローラ27は、スキャンバッファ2
5への画像データの入出力管理を行う。
Returning to FIG. 2 again, the I / F controller 26
Control to output the data in the scan buffer 25 to an external device such as a host computer (not shown). The buffer controller 27 uses the scan buffer 2
Input / output management of the image data to and from 5.

【0017】次に、図4に示すようなSDFモードにお
ける画像データ読み取りの基本動作について述べる。こ
の場合にも、まず、白基準板15が読み込まれた後、ス
テッピングモータ12をCPU16がモータドライバ
(駆動装置)28でドライブすることにより、原稿台1
1にセットされた原稿13を、分離ローラ29、搬送ロ
ーラ30で搬送していき、第1の走行体4の所定の読み
取り位置まで搬送する。このとき、原稿13は一定速度
で搬送されていき、第1の走行体4は、停止したままで
原稿面の画像データをCCD7で読み取る。
Next, the basic operation of reading image data in the SDF mode as shown in FIG. 4 will be described. Also in this case, first, after the white reference plate 15 is read, the CPU 16 drives the stepping motor 12 with the motor driver (driving device) 28, so that the document table 1
The document 13 set to 1 is conveyed by the separation roller 29 and the conveyance roller 30 to the predetermined reading position of the first traveling body 4. At this time, the document 13 is conveyed at a constant speed, and the first traveling body 4 reads the image data on the document surface with the CCD 7 while it is stopped.

【0018】以下、ブックモードと同様の処理を行い、
2値化あるいは多値の画像データは、スキャンバッファ
25に記憶され、I/Fコントローラ26を介してホス
トコンピュータ(図示せず)等に送られる。
Thereafter, the same processing as in the book mode is performed,
The binary or multi-valued image data is stored in the scan buffer 25 and sent to a host computer (not shown) or the like via the I / F controller 26.

【0019】図6は、図5に示す画像処理部19をさら
に詳細に示すブロック図である。図5に示すアナログビ
デオ処理部21は、プリアンプ回路31と、可変増幅回
路32を備えている。また、シェーディング補正処理部
22は、A/Dコンバータ33、黒演算回路34、シェ
ーディング補正演算回路35、ラインバッファ36を備
えている。光源4Aで原稿読み取り台3上にある原稿1
3を照射した反射光を、シェーディング調整板37を通
して、レンズ6によって集光し、CCD7に結像する。
FIG. 6 is a block diagram showing the image processing section 19 shown in FIG. 5 in more detail. The analog video processing unit 21 shown in FIG. 5 includes a preamplifier circuit 31 and a variable amplifier circuit 32. The shading correction processing unit 22 also includes an A / D converter 33, a black calculation circuit 34, a shading correction calculation circuit 35, and a line buffer 36. Original 1 on original reading table 3 with light source 4A
The reflected light irradiating 3 is condensed by the lens 6 through the shading adjusting plate 37, and imaged on the CCD 7.

【0020】なお、図6では、説明簡単化のために、反
射光を折り返すためのミラーは省略している。シェーデ
ィング調整板37は、CCD7の中央部と端部での反射
光量の差を無くすための光量調整の役割を果たす。これ
は、シェーディング演算処理において、あまりにCCD
中央部と端部で反射光量の差が有りすぎると、多分に歪
を含んだ演算結果しか得られないために、予め反射光量
の差を無くした後にシェーディング演算処理を行うため
のものである。
Incidentally, in FIG. 6, a mirror for folding back the reflected light is omitted for simplification of description. The shading adjustment plate 37 plays a role of adjusting the light amount for eliminating the difference in the reflected light amount between the central portion and the end portion of the CCD 7. This is too much CCD in the shading calculation process.
If there is too much difference in the amount of reflected light between the central portion and the end portion, only a calculation result including distortion is likely to be obtained, so this is for performing shading calculation processing after eliminating the difference in reflected light amount in advance.

【0021】図7は本発明の一実施形態に係る画像処理
装置の全体構成を示すブロック図である。原稿を一定の
制御によって搬送する原稿搬送手段と、光源によって照
らされた原稿面からの反射光を固定位置で受光し、ディ
ジタルデータに変換する光電変換手段を有する画像読取
装置を備えるスキャナ装置100の後段に本画像処理装
置110が接続されている。
FIG. 7 is a block diagram showing the overall arrangement of an image processing apparatus according to an embodiment of the present invention. A scanner device 100 including an image reading device having a document feeding unit that feeds a document under constant control and a photoelectric conversion unit that receives reflected light from a document surface illuminated by a light source at a fixed position and converts it into digital data. The image processing apparatus 110 is connected in the subsequent stage.

【0022】以下、画像処理装置の構成をその動作と合
わせて説明する。スキャナ装置100から来るあらかじ
め白版などをスキャンした画像データ、欠陥画素データ
及び、画像データR・G・Bを一度フレームメモリ10
1R、101G、101BでR・G・B別に1フレーム
分バッファリングし、欠陥画素データはデータ切り替え
部102でデータの流れを切り替えられ、欠陥画素検出
部103へプレスキャン画像データが送られる。
The configuration of the image processing apparatus will be described below together with its operation. Image data obtained by previously scanning a white plate or the like coming from the scanner device 100, defective pixel data, and image data R, G, B are once stored in the frame memory 10.
The 1R, 101G, and 101B buffers one frame for each of R, G, and B, and the defective pixel data has its data flow switched by the data switching unit 102, and the prescan image data is sent to the defective pixel detection unit 103.

【0023】同じように画像データはデータ切り替え部
102でデータの流れを切り替えられ、データ検出部1
05へ画像データが送られる。欠陥画素検出部103で
は送られてきたプレスキャンデータがフレーム単位で情
報を保持しているため、副走査方向の情報を含めたプレ
スキャンデータを用いてマトリクスを形成し、形成され
たマトリクスから欠陥画素を検出する。マトリクスで副
走査方向の情報も含まれた欠陥画素データを欠陥画素保
持部104にて保持する。
Similarly, the image data is switched in the data flow by the data switching unit 102, and the data detection unit 1
The image data is sent to 05. In the defective pixel detection unit 103, since the sent prescan data holds information on a frame-by-frame basis, a matrix is formed using prescan data including information in the sub-scanning direction, and defects are formed from the formed matrix. Detect pixels. Defective pixel holding unit 104 holds defective pixel data that also includes information in the sub-scanning direction in a matrix.

【0024】保持された欠陥画素データを、任意のタイ
ミングでデータ検証部105に転送されてくる画像デー
タと同期させ、データ検証部105へ転送する。データ
検証部105へ転送されてくる画像データを、欠陥画素
データの欠陥画素の位置を参照して、マトリクスを用い
て欠陥画素データと照合する。照合した結果、欠陥画素
データと同じ位置にデータがあった場合、その情報を補
正部106へ転送する。
The held defective pixel data is synchronized with the image data transferred to the data verification unit 105 at an arbitrary timing and transferred to the data verification unit 105. The image data transferred to the data verification unit 105 is referred to the position of the defective pixel of the defective pixel data, and is collated with the defective pixel data using a matrix. If there is data at the same position as the defective pixel data as a result of collation, the information is transferred to the correction unit 106.

【0025】たとえば欠陥画素(欠陥画素が黒の場合)
の位置が黒ベタの時は、マトリクスにより、周辺画素が
同じ値ということがわかるため、その部分は補正しても
しなくても画像の結果としては同じなので補正部106
へ情報を転送しない。補正部106へ転送されて来た画
像データと欠陥画素データにマトリクス処理をして欠陥
画素を補正する。
For example, a defective pixel (when the defective pixel is black)
When the position is solid black, it can be seen from the matrix that the peripheral pixels have the same value. Therefore, the result of the image is the same whether or not that part is corrected, so the correction unit 106
Does not transfer information to. Matrix processing is performed on the image data and the defective pixel data transferred to the correction unit 106 to correct the defective pixel.

【0026】図8はレベルのアップダウンを用いた欠陥
画素検出方法の説明図である。あらかじめ白版等の原稿
面からの反射光を固定位置で受光したとき、ゴミがなけ
れば反射光のレベルは均一である。白版等の原稿面上、
あるいはガラス面に付着したゴミがあった場合、色ゴミ
であれば反射光のレベルがゴミの部分だけレベルダウン
し、ガラスくずのような白よりも反射率の高いものが白
版等の原稿面あるいはガラス面に付着している場合は反
射光のレベルがゴミの部分だけレベルアップしてしま
う。このレベルのアップダウンした情報をディジタル化
する。これにより欠陥画素を検出することができ、欠陥
画素により原稿読み取り時に発生する縦スジ状の画像を
十分な範囲で補正することができる画像処理装置を提供
することができる。
FIG. 8 is an explanatory diagram of a defective pixel detection method using level up / down. When the reflected light from the surface of the original such as a white plate is previously received at a fixed position, the level of the reflected light is uniform without dust. On the surface of the original such as white plate,
Or if there is dust adhering to the glass surface, if it is colored dust, the level of the reflected light will be reduced only at the dust part, and the one with higher reflectance than white like glass scraps is the original surface such as white plate. Alternatively, when the light adheres to the glass surface, the level of the reflected light is increased only in the dust portion. This level of up and down information is digitized. As a result, it is possible to provide an image processing apparatus capable of detecting defective pixels and capable of correcting a vertical stripe image generated at the time of reading an original due to the defective pixels in a sufficient range.

【0027】[0027]

【発明の効果】請求項1記載の発明によれば、画像読取
装置で読み取られた画像データに各種の画像処理を施す
画像処理装置において、一時的に1フレーム全てのデー
タを保持しておくフレームメモリと、フレームメモリに
格納されたデータの種類によって補正の対象とる画像デ
ータか欠陥データかを判断し、それぞれの処理工程に切
り替えるデータ切り替え手段と、画像情報の欠陥した画
素を検出する欠陥画素検出手段と、欠陥画素検出手段に
よって検出された欠陥画素データを保持する欠陥画素保
持手段と、データ切り替え手段から来た画像データと欠
陥画素保持手段に保持されている欠陥画素データを比較
し、画像データが補正されるべきデータであるかどうか
を判断するデータ検証手段と、欠陥画素検出手段によっ
て検出された位置における画素の画像情報を、欠陥画素
位置の周辺画素を用いてマトリクス処理し、欠陥画素の
画像情報を補正する補正手段とを備え、データを一度フ
レームメモリに格納して一連の処理をR・G・Bそれぞ
れに行うことで、複数ラインの画像データを一時的に格
納し、ノイズの影響を緩和した後、ゴミ等による不正画
素を的確に検出し、検出結果に基づき不正画素による縦
黒スジまたは色スジを十分な範囲で補正する画像処理装
置を提供することができる。またゴミ等により原稿面か
らの反射光が遮られることによって欠陥(欠落)した画
素の位置を的確に検出し、検出結果に基づき欠落した画
素を周辺の正常な画素を参照し、副走査方向の画像連続
性を損なわずに補正する画像処理装置を提供することが
できる。
According to the first aspect of the present invention, in the image processing apparatus for performing various image processing on the image data read by the image reading apparatus, a frame for temporarily holding all data of one frame A memory and a data switching unit that determines whether to be correction target image data or defective data according to the type of data stored in the frame memory and switches to each processing step, and defective pixel detection for detecting a defective pixel of image information Means, defective pixel holding means for holding the defective pixel data detected by the defective pixel detecting means, image data from the data switching means and defective pixel data held in the defective pixel holding means are compared, and image data Data verification means for determining whether or not the data is to be corrected, and the position detected by the defective pixel detection means. The image information of the pixels in the pixel is matrix-processed by using the peripheral pixels of the defective pixel position, and a correction means for correcting the image information of the defective pixel is provided, and the data is once stored in the frame memory to perform a series of R / G processing. By performing the operation for each of B, the image data of a plurality of lines is temporarily stored, the influence of noise is mitigated, and the invalid pixels due to dust or the like are accurately detected, and the vertical black stripes or the vertical black lines due to the invalid pixels are detected based on the detection result. It is possible to provide an image processing device that corrects color lines in a sufficient range. In addition, the position of a defective (missing) pixel is accurately detected by blocking the reflected light from the document surface due to dust or the like, and based on the detection result, the missing pixel is referred to in the surrounding normal pixels, and the defective pixel is detected in the sub-scanning direction. It is possible to provide an image processing apparatus that performs correction without impairing image continuity.

【0028】また、請求項2記載の発明では、ゴミ等に
より原稿面から反射光が遮られることによって均一レベ
ルで無いといけないはずの原稿面が均一レベルで無くな
る、言い換えるとレベルが落ちることにより、その部分
に色ゴミがあることを検出し、1フレーム分を欠陥画素
として保持し、欠陥画素データと画像データと比較して
副走査方向の画像連続性を損なわずに補正する画像処理
装置を提供することができる。
According to the second aspect of the invention, the reflected light is blocked from the document surface by dust or the like, so that the document surface, which should have been at a uniform level, disappears at a uniform level, in other words, the level drops. Provided is an image processing apparatus which detects that color dust is present in that portion, holds one frame as a defective pixel, and compares the defective pixel data with image data to correct the image continuity in the sub-scanning direction without impairing it. can do.

【0029】また、請求項3記載の発明では、一度白基
準板の読み取りデータを1フレーム分フレームメモリに
格納した後に、フレームメモリ内に格納された画像デー
タのR・G・B別にエッジを検出することにより、エッ
ジのある部分を欠陥データと認識して欠陥画素保持手段
で保持し、欠陥画素データと画像データと比較し、副走
査方向の画像連続性を損なわずに補正する画像処理装置
を提供することができる。
According to the third aspect of the invention, after the read data of the white reference plate is stored once in the frame memory, the edge is detected for each of R, G and B of the image data stored in the frame memory. By doing so, an image processing apparatus that recognizes an edge portion as defective data and holds it by the defective pixel holding means, compares the defective pixel data with the image data, and corrects the image continuity in the sub-scanning direction without impairing Can be provided.

【0030】また、請求項4記載の発明では、一度白基
準板の読み取りデータを1フレーム分フレームメモリに
格納した後に、任意に設定された閾値を用いることによ
り、フレームメモリ内に格納された画像データの欠陥デ
ータを検出して欠陥画素保持手段で保持し、欠陥画素デ
ータと画像データと比較し、副走査方向の画像連続性を
損なわずに補正する画像処理装置を提供することができ
る。
According to the invention of claim 4, the image data stored in the frame memory is stored by storing the read data of the white reference plate for one frame in the frame memory and then using a threshold value set arbitrarily. It is possible to provide an image processing apparatus which detects defective data of data, holds it by the defective pixel holding means, compares it with defective pixel data and image data, and corrects it without impairing image continuity in the sub-scanning direction.

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

【図1】画像読取装置の構成図である。FIG. 1 is a configuration diagram of an image reading apparatus.

【図2】画像読取装置の全体制御ブロック図である。FIG. 2 is an overall control block diagram of the image reading apparatus.

【図3】ブックモード時の原稿読取部の構成図である。FIG. 3 is a configuration diagram of a document reading unit in a book mode.

【図4】SDFモード時の原稿読取部の構成図である。FIG. 4 is a configuration diagram of a document reading unit in an SDF mode.

【図5】図2に示す画像処理部の最も基本的な構成を示
すブロック図である。
5 is a block diagram showing the most basic configuration of the image processing unit shown in FIG.

【図6】図5に示す画像処理部をさらに詳細に示すブロ
ック図である。
FIG. 6 is a block diagram showing the image processing unit shown in FIG. 5 in more detail.

【図7】本発明の一実施形態に係る画像処理装置の全体
構成を示すブロック図である。
FIG. 7 is a block diagram showing an overall configuration of an image processing apparatus according to an embodiment of the present invention.

【図8】レベルのアップダウンを用いた欠陥画素検出方
法の説明図である。
FIG. 8 is an explanatory diagram of a defective pixel detection method using level up / down.

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

101 フレームメモリ 102 データ切り替え部(データ切り替え手段) 103 欠陥画素検出部(欠陥画素検出手段) 104 欠陥画素保持部(欠陥画素保持手段) 105 データ検証部(データ検証手段) 106 補正部(補正手段) 110 画像処理装置 101 frame memory 102 data switching unit (data switching means) 103 defective pixel detector (defective pixel detector) 104 defective pixel holding unit (defective pixel holding means) 105 data verification unit (data verification means) 106 correction unit (correction means) 110 image processing device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像読取装置で読み取られた画像データ
に各種の画像処理を施す画像処理装置において、一時的
に1フレーム全てのデータを保持しておくフレームメモ
リと、フレームメモリに格納されたデータの種類によっ
て補正の対象とる画像データか欠陥データかを判断し、
それぞれの処理工程に切り替えるデータ切り替え手段
と、画像情報の欠陥した画素を検出する欠陥画素検出手
段と、欠陥画素検出手段によって検出された欠陥画素デ
ータを保持する欠陥画素保持手段と、データ切り替え手
段から来た画像データと欠陥画素保持手段に保持されて
いる欠陥画素データを比較し、画像データが補正される
べきデータであるかどうかを判断するデータ検証手段
と、欠陥画素検出手段によって検出された位置における
画素の画像情報を、欠陥画素位置の周辺画素を用いてマ
トリクス処理し、欠陥画素の画像情報を補正する補正手
段とを備え、データを一度フレームメモリに格納して一
連の処理をR・G・Bそれぞれに行うことを特徴とする
画像処理装置。
1. An image processing apparatus for performing various image processing on image data read by an image reading apparatus, wherein a frame memory temporarily holds all data of one frame and data stored in the frame memory. Judge whether the image data or the defect data to be corrected depends on the type of
From the data switching means, the data switching means for switching to each processing step, the defective pixel detecting means for detecting defective pixels in the image information, the defective pixel holding means for holding the defective pixel data detected by the defective pixel detecting means, and the data switching means. Data verification means for comparing the received image data with the defective pixel data held in the defective pixel holding means to determine whether the image data is data to be corrected, and the position detected by the defective pixel detection means. The image information of the pixel in the matrix is subjected to a matrix process using peripheral pixels around the defective pixel position, and a correction unit for correcting the image information of the defective pixel is provided. An image processing device characterized by performing each of B.
【請求項2】 前記補正手段は、少なくともフレームメ
モリに格納されたR・G・B別フレーム単位の画像に対
して、画像レベルのアップダウンによって色ゴミを検出
してフレーム単位に補正を行うことを特徴とする請求項
1記載の画像処理装置。
2. The correction means detects color dust by increasing / decreasing an image level in at least an image in R, G, and B frame units stored in a frame memory and corrects in frame units. The image processing apparatus according to claim 1, wherein:
【請求項3】 前記補正手段は、少なくともフレームメ
モリに格納されたR・G・B別フレーム単位の画像に対
して、R・G・B別にエッジを検出することによってゴ
ミを検出してフレーム単位に補正を行うことを特徴とす
る請求項1記載の画像処理装置。
3. The correcting unit detects dust by detecting edges for each of R, G, and B stored in at least a frame memory for each frame of R, G, and B, and detects dust to detect each of the frames. The image processing apparatus according to claim 1, wherein the correction is performed on the image processing apparatus.
【請求項4】 前記補正手段は、少なくともフレームメ
モリに格納されたR・G・B別フレーム単位の画像に対
して、任意に閾値をR・G・B別に設定してゴミを検出
してフレーム単位に補正を行うことを特徴とする請求項
1記載の画像処理装置。
4. The correction unit arbitrarily sets a threshold value for each of R, G, and B frames stored in the frame memory for each R, G, and B frame unit, detects dust, and detects a frame. The image processing apparatus according to claim 1, wherein correction is performed in units.
JP2001211126A 2001-07-11 2001-07-11 Image processing device Pending JP2003032490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001211126A JP2003032490A (en) 2001-07-11 2001-07-11 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001211126A JP2003032490A (en) 2001-07-11 2001-07-11 Image processing device

Publications (1)

Publication Number Publication Date
JP2003032490A true JP2003032490A (en) 2003-01-31

Family

ID=19046492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001211126A Pending JP2003032490A (en) 2001-07-11 2001-07-11 Image processing device

Country Status (1)

Country Link
JP (1) JP2003032490A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7755804B2 (en) 2005-04-28 2010-07-13 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US7952770B2 (en) 2005-04-28 2011-05-31 Brother Kogyo Kabushiki Kaisha Image reading apparatus
CN111476750A (en) * 2019-01-04 2020-07-31 宁波舜宇光电信息有限公司 Method, device and system for carrying out stain detection on imaging module and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7755804B2 (en) 2005-04-28 2010-07-13 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US7952770B2 (en) 2005-04-28 2011-05-31 Brother Kogyo Kabushiki Kaisha Image reading apparatus
CN111476750A (en) * 2019-01-04 2020-07-31 宁波舜宇光电信息有限公司 Method, device and system for carrying out stain detection on imaging module and storage medium
CN111476750B (en) * 2019-01-04 2023-09-26 宁波舜宇光电信息有限公司 Method, device, system and storage medium for stain detection on imaging module

Similar Documents

Publication Publication Date Title
US6466340B1 (en) Image reading apparatus
JP4948360B2 (en) Image reading apparatus and image forming apparatus
JP4272366B2 (en) Document reading apparatus and image forming apparatus
JP2002354262A (en) Image reading device
JP3985985B2 (en) Image reading apparatus and image processing apparatus including the image reading apparatus
JP2003032490A (en) Image processing device
JP3569059B2 (en) Image reading device
JP4513622B2 (en) Image reading device
JP3907033B2 (en) Image reading device
JP2001358914A (en) Image reading device
JP2002247352A (en) Image processing device
JP3754173B2 (en) Image reading device
JP2004222180A (en) Image processing device
JP2002209071A (en) Image reading device
JP2002262086A (en) Image processing device
JP3647402B2 (en) Image reading apparatus and control method
JP3539812B2 (en) Image reading device
JP2003333335A (en) Image processing device
JP2003018374A (en) Method of specifying defect position of shading correction plate and method of removing influence in image reading device
JPH09130600A (en) Image reading device
JP2001111821A (en) Image reading device
JP2001036742A (en) Image reading device
JP2002165092A (en) Image processing apparatus and image processing method
JP2000032262A (en) Image reading device
JPH09135332A (en) Image reading device