JP3784518B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP3784518B2
JP3784518B2 JP36501897A JP36501897A JP3784518B2 JP 3784518 B2 JP3784518 B2 JP 3784518B2 JP 36501897 A JP36501897 A JP 36501897A JP 36501897 A JP36501897 A JP 36501897A JP 3784518 B2 JP3784518 B2 JP 3784518B2
Authority
JP
Japan
Prior art keywords
pixel
image
edge
unit
abnormal
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.)
Expired - Fee Related
Application number
JP36501897A
Other languages
Japanese (ja)
Other versions
JPH11187271A (en
Inventor
和正 小池
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 JP36501897A priority Critical patent/JP3784518B2/en
Publication of JPH11187271A publication Critical patent/JPH11187271A/en
Application granted granted Critical
Publication of JP3784518B2 publication Critical patent/JP3784518B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置に関し、詳細には、原稿の画像を読み取った際の画素抜けや黒筋等の異常画素の発生を抑制する画像処理装置に関する。
【0002】
【従来の技術】
ファクシミリ装置のスキャナ部や汎用スキャナ、さらに複写装置のスキャナ部には、いわゆる縮小光学系の画像読取装置が用いられることが多い。
【0003】
このような縮小光学系を用いた画像読取装置は、一般に、コンタクトガラス上にセットされた原稿に、該コンタクトガラスの下方に配置された光源から光を投射して、原稿で反射された光を所定の光路上を複数のミラーで反射し、レンズを介して光電変換部であるCCDイメージセンサに入射して、原稿の画像を読み取る。また、従来、密着型イメージセンサを利用して、原稿の画像を読み取る読取装置がある。
【0004】
このような画像読取装置においては、その光路上の部品に、ゴミやほこり及びその他の異物等(以下、ゴミ等という。)が付着すると、当該ゴミ等が黒点や黒筋等となって画像に現れ、画質を低下させる。
【0005】
そこで、従来、白色参照板に光源を照射して、その反射光を電気信号に変換して、その電気信号を微分してゴミの付着を検出判断し、ゴミが除去された後の電気信号を白基準レベルとして記憶する画像入力装置が提案されている(実開昭63−191760号公報参照)。
【0006】
この従来の画像入力装置によれば、白色参照板上にゴミが付着している場合に、ゴミが除去されると、適切にゴミの影響を適切に除去することができる。
【0007】
【発明が解決しようとする課題】
しかしながら、このような従来の画像処理装置にあっては、ゴミが除去された後の電気信号を白基準レベルとして利用するようになっていたため、容易に除去可能な白基準板にゴミ等が付着している場合には、当該ゴミを除去することにより適切に白基準レベルを取得して、有効に処理することができるが、光路上の容易に除去ができない場所にゴミ等が付着している場合やイメージセンサの素子が劣化している場合等には、適切に対応することができず、かえって画質が悪化するおそれがあった。特に、原稿を読み取った画像データにエッジ強調処理を施す場合には、当該ゴミ等の影響が強調されて、より一層画質が悪化するという問題があった。
【0008】
そこで、請求項1記載の発明は、画像読取手段により、所定の白基準部材及び原稿を主走査及び副走査して所定解像度の画素に分解して読み取るとともに、ディジタル変換して所定ビットの画像データとして出力し、白基準部材を読み取ったときの画像読取手段の出力する画像データから異常画素検出手段で異常画素を検出して、原稿を読み取ったときの画像読取手段の出力する画像データのうち異常画素検出手段の検出した異常画素に対応する位置の画素を、異常補正手段により当該画素の周辺画素データに基づいて補正し、画像読取手段の出力する原稿の画像データ及び異常補正手段で補正された画像データの原稿の画像のエッジ部に対応する位置の画素に、画像処理手段によりエッジ強調処理を施すが、このとき、異常画素検出手段の検出結果に基づいて異常画素と正常画素との境界を判別して、当該境界画素に対する画像処理手段によるエッジ強調処理を禁止することにより、光路上にゴミ等が付着していたり、画像読取手段が劣化して、異常画素が発生している場合に、当該異常画素の発生している場所の原稿を読み取ったときの画素データを適切に補正するとともに、異常画素と正常画素の境界画素に対してはエッジ強調処理を禁止して、エッジ強調処理により縦筋等の異常画像が発生するのを防止し、画像品質を向上させることのできる画像処理装置を提供することを目的としている。
【0009】
請求項2記載の発明は、エッジ検出手段で、原稿の画像のエッジ部を検出して原稿の画像データのエッジ画素と非エッジ画素の判定を行い、当該エッジ検出手段がエッジ画素と判定した画素に対して画像処理手段でエッジ強調処理を施すのに際して、エッジ検出手段がエッジ画素であると判定した画素が境界画素であると、エッジ検出手段に当該境界画素を非エッジ画素と判定させて、画像処理手段によるエッジ強調処理を禁止することにより、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止し、画像品質をより一層向上させることのできる画像処理装置を提供することを目的としている。
【0010】
請求項3記載の発明は、画像処理手段が、エッジ強調処理として画像読取手段の出力する原稿の画像データにフィルタ演算によるMTF補正を行い、制御手段が、境界画素の画像処理手段によるMTF補正をオフに設定して、エッジ強調処理を禁止することにより、エッジ強調処理としてMTF補正を行う場合にも、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止し、画像品質をより一層向上させることのできる画像処理装置を提供することを目的としている。
【0011】
請求項4記載の発明は、画像処理手段が、エッジ強調処理を行った後、画像データを画像読取手段の出力するビット数と異なる第2のビット数にビット変換し、制御手段が、ビット変換手段のビット変換した画像データを、第2のビット数により所定形式で出力する出力手段に出力させることにより、ビット変換、例えば、白黒の2値化変換等を行う場合にも、ビット変換により境界画素が強調されて、縦筋等の異常画像が発生することを防止し、画像品質を向上させることのできる画像処理装置を提供することを目的としている。
【0012】
【課題を解決するための手段】
請求項1記載の発明の画像処理装置は、所定の白基準部材及び原稿を主走査及び副走査して所定解像度の画素に分解して読み取るとともに、ディジタル変換して所定ビットの画像データとして出力する画像読取手段と、前記白基準部材を読み取ったときの前記画像読取手段の出力する前記画像データから異常画素を検出する異常画素検出手段と、前記原稿を読み取ったときの前記画像読取手段の出力する前記画像データのうち前記異常画素検出手段の検出した前記異常画素に対応する位置の画素を当該画素の周辺画素データに基づいて補正する異常補正手段と、前記画像読取手段の出力する前記原稿の画像データ及び前記異常補正手段で補正された前記画像データの前記原稿の画像のエッジ部に対応する位置の前記画素にエッジ強調処理を施す画像処理手段と、前記原稿の読み取りに際して、前記異常画素検出手段の検出結果に基づいて前記異常画素と正常画素との境界を判別して、当該境界画素に対する前記画像処理手段による前記エッジ強調処理を禁止する制御手段と、を備えることにより、上記目的を達成している。
【0013】
上記構成によれば、画像読取手段により、所定の白基準部材及び原稿を主走査及び副走査して所定解像度の画素に分解して読み取るとともに、ディジタル変換して所定ビットの画像データとして出力し、白基準部材を読み取ったときの画像読取手段の出力する画像データから異常画素検出手段で異常画素を検出して、原稿を読み取ったときの画像読取手段の出力する画像データのうち異常画素検出手段の検出した異常画素に対応する位置の画素を、異常補正手段により当該画素の周辺画素データに基づいて補正し、画像読取手段の出力する原稿の画像データ及び異常補正手段で補正された画像データの原稿の画像のエッジ部に対応する位置の画素に、画像処理手段によりエッジ強調処理を施すが、このとき、異常画素検出手段の検出結果に基づいて異常画素と正常画素との境界を判別して、当該境界画素に対する画像処理手段によるエッジ強調処理を禁止するので、光路上にゴミ等が付着していたり、画像読取手段が劣化して、異常画素が発生している場合に、当該異常画素の発生している場所の原稿を読み取ったときの画素データを適切に補正することができるとともに、異常画素と正常画素の境界画素に対してはエッジ強調処理を禁止して、エッジ強調処理により縦筋等の異常画像が発生するのを防止することができ、画像品質を向上させることができる。
【0014】
この場合、例えば、請求項2に記載するように、前記画像処理手段は、前記原稿の画像のエッジ部を検出して前記原稿の画像データのエッジ画素と非エッジ画素の判定を行うエッジ検出手段をさらに備え、当該エッジ検出手段が前記エッジ画素と判定した前記画素に対して前記エッジ強調処理を施し、前記制御手段は、前記エッジ検出手段が前記エッジ画素であると判定した前記画素が前記境界画素であると、前記エッジ検出手段に前記境界画素を前記非エッジ画素と判定させて、前記画像処理手段による前記エッジ強調処理を禁止するものであってもよい。
【0015】
上記構成によれば、エッジ検出手段で、原稿の画像のエッジ部を検出して原稿の画像データのエッジ画素と非エッジ画素の判定を行い、当該エッジ検出手段がエッジ画素と判定した画素に対して画像処理手段でエッジ強調処理を施すのに際して、エッジ検出手段がエッジ画素であると判定した画素が境界画素であると、エッジ検出手段に当該境界画素を非エッジ画素と判定させて、画像処理手段によるエッジ強調処理を禁止するので、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止することができ、画像品質をより一層向上させることができる。
【0016】
また、例えば、請求項3に記載するように、前記画像処理手段は、前記エッジ強調処理として前記画像読取手段の出力する前記原稿の画像データにフィルタ演算によるMTF補正を行い、前記制御手段は、前記境界画素の前記画像処理手段による前記MTF補正をオフに設定して、前記エッジ強調処理を禁止するものであってもよい。
【0017】
上記構成によれば、画像処理手段が、エッジ強調処理として画像読取手段の出力する原稿の画像データにフィルタ演算によるMTF補正を行い、制御手段が、境界画素の画像処理手段によるMTF補正をオフに設定して、エッジ強調処理を禁止するので、エッジ強調処理としてMTF補正を行う場合にも、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止することができ、画像品質をより一層向上させることができる。
【0018】
さらに、例えば、請求項4に記載するように、前記画像処理装置は、前記画像データを前記画像読取手段の出力するビット数と異なる第2のビット数により所定形式で出力する出力手段をさらに備え、前記画像処理手段は、前記エッジ強調処理を行った後、前記画像データを前記第2のビット数にビット変換するビット変換手段をさらに備え、前記制御手段は、前記ビット変換手段のビット変換した前記画像データを前記出力手段に出力させるものであってもよい。
【0019】
上記構成によれば、画像処理手段が、エッジ強調処理を行った後、画像データを画像読取手段の出力するビット数と異なる第2のビット数にビット変換し、制御手段が、ビット変換手段のビット変換した画像データを、第2のビット数により所定形式で出力する出力手段に出力させるので、ビット変換、例えば、白黒の2値化変換等を行う場合にも、ビット変換により境界画素が強調されて、縦筋等の異常画像が発生することを防止することができ、画像品質を向上させることができる。
【0020】
【発明の実施の形態】
以下、本発明の好適な実施の形態を添付図面に基づいて詳細に説明する。なお、以下に述べる実施の形態は、本発明の好適な実施の形態であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。本実施の形態は、請求項1及び請求項4に対応するものである。
【0021】
図1〜図5は、本発明の画像処理装置の第1の実施の形態を示す図であり、図1は、本発明の画像処理装置の第1の実施の形態を適用した複写装置1の回路ブロック図である。
【0022】
図1において、画像処理装置としての複写装置1は、スキャナ部2、異常検出部3、異常補正部4、画像処理部5、出力部6、記憶部7及び制御部8等を備え、上記各部は、バス9に接続されている。
【0023】
スキャナ部(画像読取手段)2は、例えば、光源、縮小光学系、CCD(Charge Coupled Device )等を用いたイメージセンサ及びA/D変換部等を備え、原稿に光源から光を照射して、当該光源から反射された光を縮小光学系を介してCCDに入射し、CCDで所定の解像度(例えば、400dpi)で画素に分解して光電変換した後、A/D変換部でMビットの画像データに変換して出力する。
【0024】
このスキャナ部2には、シェーディング補正等に使用する基準補正データを提供する白基準板(白基準部材)がスキャナ部2の読取位置に配設されており、白基準板は、スキャナ部2により読み取られる部分が基準補正データを提供するのに適した白色に施されている。複写装置1は、原稿の読取前にスキャナ部2にこの白基準板を読み取らせて、基準補正データを取得する。
【0025】
異常検出部(異常画素検出手段)3は、上記白基準板をスキャナ2で読み取ったときの画像データに異常画素があるか否か及び異常画素の位置を検出して、制御部8に出力する。すなわち、異常検出部3は、スキャナ部3の読み取った画像データを画素毎に所定のスレッシュ値と比較して、異常画素か否かを判別している。具体的には、異常検出部3は、例えば、画像データのビット数Mを「8」、黒を「255」、白を「0」としたとき、スキャナ部3の出力する主走査方向に連続する5個の画像データを保存するレジスタを備え、当該レジスタの中央位置の画像データ(画素)を注目画素R(n)として当該注目画素R(n)の濃度W(n)を、所定のスレッシュ値Twと比較して、式1に示すように、注目画素R(n)の濃度W(n)がスレッシュ値Twよりも大きいと、当該注目画素R(n)は異常画素であると判断し、注目画素R(n)の濃度W(n)がスレッシュ値Tw以下であると、当該注目画素Rnは正常画素であると判断する。
【0026】
W(n)>Tw→注目画素R(n)=異常画素
W(n)≦Tw→注目画素R(n)=正常画素・・・・(1)
したがって、異常検出部3は、当該異常検出部3が異常画素であると判断した注目画素R(n)の画素位置に対応する白基準板やコンタクトガラス等の光路上にゴミ等が付着していたり、当該注目画素R(n)の位置のスキャナ部3のCCD等が劣化していることを検出することができる。
【0027】
異常補正部(異常補正手段)4は、白基準板をスキャナ部3が読み取ったときの異常検出部3が異常有りと判別すると、スキャナ部3で原稿を読み取ったときに、当該異常画素と判別した注目画素R(n)の位置に対応する原稿の読取画素を補正する。すなわち、異常補正部4は、異常検出部3が異常画素であると判定した画素位置の画素を注目画素R(n)として当該注目画素R(n)の周辺の正常画素(異常検出部3が異常と判定しなかった画素)に基づいて当該注目画素R(n)を補正する。具体的には、異常補正部4は、例えば、スキャナ部3の出力する主走査方向に連続する5個の画像データを保存するレジスタを備え、当該レジスタの中央位置の画像データ(画素)を注目画素R(n)として、当該注目画素R(n)の濃度G(n)を、前後の画素R(n−1)、R(n+1)が正常画素であると、式2に示すように、当該前後の正常画素画素R(n−1)、R(n+1)の濃度G(n−1)、G(n+1)の平均濃度を異常画素である注目画素R(n)の濃度G(n)’として補正する。なお、異常補正部4による異常画素の補正方法は、上記方法に限るものではない。
【0028】
注目画素R(n)の前後の画素R(n−1)、R(n+1)が正常画素のとき、
G(n)’=[G(n−1)+G(n+1)]/2・・・・(2)
上記以外のとき、すなわち、注目画素Rnが異常検出部3が正常画素であると判定した画素は、当該画素の濃度をそのまま注目画素Rnの濃度と設定する。なお、式2は、異常画素が1画素幅のとき、すなわち、異常画素が2画素以上連続していない場合について示しているが、異常画素が2画素異常連続している場合には、補間式を変更することにより、同様に注目画素Rnの濃度補正を行うことができる。
【0029】
画像処理部(画像処理手段)5は、スキャナ部2で読み取られ異常補正部4で異常画素の補正されたMビットの画像データのエッジを検出して、当該エッジ部分にエッジ強調処理を施すとともに、後述する出力部6で記録処理が可能なNビットの画像データに変換する。例えば、画像処理部5は、スキャナ部2の読み取った画像データのビット数(M)が8ビットであり、出力部6の取り扱えるビット数(N)が4ビットあるいは1ビットであると、8ビットの画像データを4ビットあるいは1ビットの画像データに変換する。なお、Nビットが1ビットのときには、画像処理部5は、Mビットの画像データを2値化処理して、白黒画像データに変換することとなる。
【0030】
出力部(出力手段)6は、例えば、電子写真式の記録装置等が用いられ、画像処理部5によりNビットに変換された画像データに基づいて、スキャナ2の読み取った画像を記録紙に記録出力する。なお、出力部6としては、記録出力するものに限るものではなく、例えば、次段の画像処理装置に出力する出力部や表示装置等であってもよい。
【0031】
記憶部7は、RAM(Random Access Memory)あるいはハードディスク等が利用され、画像データを一時保管して、制御部8の制御下で画像データの書き込み及び読み出しが行われる。
【0032】
制御部(制御手段)8は、CPU(Central Processing Unit )、ROM(Read Only Memory)及びRAM等を備え、ROM内には、複写装置1としての基本処理プログラム及び異常画素検出・補正処理プログラム等の各種プログラムが格納されているとともに、これらの各処理プログラムを実行するのに必要な各種データが格納されている。制御部8は、ROM内のプログラムに基づいてRAMをワークメモリとして利用しつつ、複写装置1の各部を制御して、複写装置1としての基本処理を実行するとともに、後述する異常画素検出・補正処理を実行する。
【0033】
なお、複写装置1は、図示しないが、上記各部以外に、複写装置1として必要な各部、例えば、操作部等を備えている。
【0034】
次に、本実施の形態の作用を説明する。複写装置1は、白基準板を読み取ったときの異常画素を検出して、当該検出結果に基づいて原稿を読み取ったときの当該異常画素発生位置の画素を適切に補正するところにその特徴がある。
【0035】
すなわち、複写装置1は、スキャナ部2に原稿がセットされ、必要な読取操作が図示しない操作部で行われると、制御部8が、当該原稿の読み取りに先立って、スキャナ部2を駆動させて、スキャナ部2の読取位置に配設された白基準板をスキャナ部2に読み取らせる。
【0036】
制御部8は、スキャナ部2が白基準板を読み取った画像データを異常検出部3に転送し、異常検出部3に異常検出を行わせる(ステップS101)。すなわち、異常検出部3は、スキャナ部3の読み取った画像データを画素毎に、当該画素を注目画素Rnとして、当該注目画素R(n)の濃度W(n)を、予め設定された所定のスレッシュ値Twと比較して、上記式1に示したように、注目画素R(n)の濃度W(n)がスレッシュ値Twよりも大きいと、当該注目画素R(n)は異常画素であると判断し、注目画素R(n)の濃度W(n)がスレッシュ値Tw以下であると、当該注目画素Rnは正常画素であると判断する。
【0037】
上記異常画素の検出が完了すると、制御部8は、異常検出部3の検出した異常検出結果を記憶部7に保管して、スキャナ部2を駆動させ、セットされた原稿を順次1枚ずつ主走査及び副走査して原稿の画像の読み取りを開始させて(ステップS102)、当該スキャナ部2の読み取った原稿の画像データが上記異常検出処理で検出した異常画素位置の画素であるかを記憶部7に保管されている異常検出結果と比較することによりチェックする(ステップS103)。
【0038】
ステップS103で、原稿の画像データの画素が異常画素位置のときには、制御部2は、異常補正部4に当該異常画素位置の原稿の画素の異常補正を行わせ(ステップS104)、当該画素が異常画素と正常画素の境界画素であるかどうかチェックする(ステップS105)。
【0039】
この異常補正部4による画素の異常補正は、上述のように、原稿の画像データのうち、異常検出部3が異常画素であると判定した画素位置の画素を注目画素R(n)として、当該注目画素R(n)の濃度G(n)を、主走査方向前後の画素R(n−1)、R(n+1)が正常画素であると、式2に示したように、当該前後の正常画素画素R(n−1)、R(n+1)の濃度G(n−1)、G(n+1)の平均濃度を異常画素である注目画素R(n)の濃度G(n)’として補正する。
【0040】
ステップS103で、原稿の画像データの画素が異常画素位置でないときには、異常補正部4による補正を行うことなく、当該画素が異常画素と正常画素の境界画素であるか否かのチェックを行う(ステップS105)。
【0041】
ステップS105で、画素が異常画素と正常画素の境界画素であると、画像処理部5は、当該画素にエッジ強調処理を施すことなく、Mビットの画像データをNビットの画像データに変換するNビット化処理を行い(ステップS106)、ステップS105で、画素が異常画素と正常画素の境界画素でないと、当該画素がエッジ画素のときには、エッジ強調処理を行って(ステップS107)、Nビット化処理を行う(ステップS106)。
【0042】
上記処理を順次行って、所定量の画像データの処理が完了すると、制御部8は、当該画像データを出力部6に転送し、出力部6に記録紙に記録出力させる(ステップS108)。
【0043】
このように、例えば、図3に示すように、原稿を読み取ったときの主走査方向の画像データが画素a〜画素lまであった場合、白基準板をスキャナ部2で読み取ったときに、異常検出部3が画素e〜画素hの画素位置において、異常画素を検出し、画素d及び画素iについては、多少黒濃度が高いが正常画素であると判断したとすると、上記図3に示した原稿を読み取ったときの画像データについて、当該異常画素位置(画素e〜画素hの画素位置)の画像データを異常補正部4が上述のように周辺の正常画素に基づいて補正した後、画像処理部5で、エッジ強調処理を行う。このとき、異常画素と正常画素の境界画素、すなわち、画素d及び画素iについてもエッジ強調処理を行うと、エッジ強調された画像データは、図4に示すように、異常画素と正常画素の境界画素である画素d及び画素iが異常に黒濃度の高い画像データとなり、異常画素と正常画素の境界部に縦筋が発生するおそれがある。
【0044】
ところが、本実施の形態の複写装置1は、画像処理部5で、エッジ強調処理を行うに際して、異常検出部3の検出した異常画素と正常画素の境界部の画素、すなわち、画素d及び画素iについては、エッジ強調処理を行わないようにしている。
【0045】
したがって、画像処理部5でエッジ強調処理された画像データは、図5に示すように、異常画素と正常画素の境界部に異常に黒濃度の高い画像が発生するのを防止することができ、画像品質を向上させることができる。
【0046】
また、画像処理部5が、エッジ強調処理を行った後、画像データをスキャナ部2の出力するビット数Mと異なる第2のビット数Nにビット変換し、制御部8が、ビット変換した画像データを、第2のビット数Nにより出力する出力部6に出力させているので、ビット変換、例えば、白黒の2値化変換等を行う場合にも、ビット変換により境界画素が強調されて、縦筋等の異常画像が発生することを防止することができ、画像品質を向上させることができる。
【0047】
図6及び図7は、本発明の画像処理装置の第2の実施の形態を示す図であり、本実施の形態は、画像処理部がエッジ検出部を備えて、当該エッジ検出部が原稿の画像データについて検出したエッジ部分をエッジ強調処理するが、このエッジ強調において、正常画素と異常画素の境界部の画素については、非エッジ画素と判定してエッジ強調処理を行わない。
【0048】
なお、本実施の形態は、上記第1の実施の形態と同様の複写装置に適用したものであり、本実施の形態の説明においては、上記第1の実施の形態で用いた符号をそのまま用いて、以下説明する。
【0049】
本実施の形態の複写装置1は、その画像処理部5が、原稿を読み取ったときの画像データのエッジを検出するエッジ検出部(エッジ検出手段)を備えており、エッジ検出部は、例えば、図6に示す3×3のマトリックスを有している。画像処理部5のエッジ検出部は、3×3マトリックスの中央画素Xを注目画素Rnとして、その周辺の画素、例えば、式3に示すように、画素B、画素D、画素E、画素Gとの濃度差が予め設定された判定スレッシュ値Teよりも大きいか否かにより、当該注目画素Rnである画素Xがエッジ画素であるか否か判定してエッジ検出を行っている。
【0050】
(X−B>Te)、(X−D>Te)、(X−E>Te)、(X−G>Te)のいずれかが成立するとき、
注目画素Rnである画素X=エッジ画素
その他のとき、
注目画素Rnである画素X=非エッジ画素・・・・(3)
そして、画像処理部5は、エッジ画素に対してエッジ強調処理を行うが、このエッジ強調処理は、例えば、式4に示すように、エッジ画素Xの濃度Gxに予め設定された所定の濃度値αを加算して、エッジ強調画素濃度Gx’としている。
【0051】
Gx’=Gx+α・・・・(4)
ただし、スキャナ部2で読み取った原稿の画像データのビット数Mが8ビットであり、黒画素が[255]、白が[0]のとき、エッジ強調画素濃度Gx’>255のときには、Gx’=255に設定する。
【0052】
さらに、画像処理部5は、制御部8の制御下で、上記エッジ画素の検出処理で検出したエッジ画素が正常画素と異常画素の境界画素であると、当該エッジ画素を非エッジ画素に判定変更を行う。
【0053】
本実施の形態の複写装置1は、上記以外の各部の構成は、上記第1の実施の形態の複写装置1と同様である。
【0054】
次に、本実施の形態の作用を説明する。本実施の形態の複写装置1は、画像処理部5で原稿の画像データのエッジ判定を行うとともに、エッジ画素が異常画素と正常画素の境界画素であると、当該エッジ画素を非エッジ画素に判定変更して、境界画素のエッジ強調処理を行わないようにするところにその特徴がある。
【0055】
すなわち、複写装置1は、図7に示すように、スキャナ部2に原稿がセットされ、必要な読取操作が図示しない操作部で行われると、制御部8が、当該原稿の読み取りに先立って、スキャナ部2を駆動させて、スキャナ部2の読取位置に配設された白基準板をスキャナ部2に読み取らせる。
【0056】
制御部8は、スキャナ部2が白基準板を読み取った画像データを異常検出部3に転送し、上記第1の実施の形態と同様に、異常検出部3に異常検出を行わせる(ステップS201)。
【0057】
上記異常画素の検出が完了すると、制御部8は、異常検出部3の検出した異常検出結果を記憶部7に保管して、スキャナ部2を駆動させ、セットされた原稿を順次1枚ずつ主走査及び副走査して原稿の画像の読み取りを開始させて(ステップS202)、当該スキャナ部2の読み取った原稿の画像データが上記異常検出処理で検出した異常画素位置の画素であるかを記憶部7に保管されている異常検出結果と比較することによりチェックする(ステップS203)。
【0058】
ステップS203で、原稿の画像データの画素が異常画素位置のときには、制御部2は、異常補正部4に当該異常画素位置の原稿の画素の異常補正を行わせ(ステップS204)、当該画素がエッジ画素であるかどうかのエッジ検出処理を画像処理部5に行わせる(ステップS205)。
【0059】
この画像処理部5によるエッジ検出処理は、上述のように、3×3マトリックスの中央画素Xを注目画素Rnとして、その周辺の画素、例えば、式3に示したように、画素B、画素D、画素E、画素Gとの濃度差が予め設定された判定スレッシュ値Teよりも大きいか否かにより、当該注目画素Rnである画素Xがエッジ画素であるか否か判定してエッジ検出を行っている。
【0060】
ステップS203で、原稿の画像データの画素が異常画素位置でないときには、制御部8は、異常補正部4に異常補正を行わせることなく、当該画素がエッジ画素であるか否かのエッジ検出処理を画像処理部5に行わせる(ステップS205)。
【0061】
次に、制御部8は、当該画素が異常画素と正常画素の境界画素であるかどうかチェックし(ステップS206)、境界画素であるときには、当該画素を非エッジ化、すなわち、ステップS205のエッジ検出処理でエッジ画素であると判定されていても、当該画素を非エッジ画素であるとの判定変更を画像処理部5に行わせて(ステップS207)、当該画素がエッジ画素であるか否かチェックする(ステップS208)。
【0062】
ステップS206で、画素が異常画素と正常画素の境界画素でないときには、制御部8は、画像処理部5に非エッジ化処理を行わせることなく、当該画素がエッジ画素であるか否かチェックする(ステップS208)。
【0063】
ステップS208で、画素がエッジ画素であるときには、制御部8は、画像処理部5に当該画素にエッジ強調処理を行わせた後(ステップS209)、Mビットの画像データをNビットの画像データに変換するNビット化処理を行わせる(ステップS210)。画像処理部5は、このエッジ強調処理を、式4に示したように、当該画素の濃度Gxに所定の濃度値αを加算して、エッジ強調画素濃度Gx’とすることにより行っている。
【0064】
また、ステップS208で、エッジ画素でないときには、制御部8は、画像処理部5に当該画素にエッジ強調処理を行わせた後、Nビット化処理を行わせる(ステップS210)。
【0065】
Nビット化処理が完了すると、制御部8は、画像データを出力部6に転送し、出力部6により当該画像データに基づいて画像を記録紙に記録出力させて、処理を終了する(ステップS211)。
【0066】
このように、本実施の形態の複写装置1は、画像処理部5が、原稿の画像のエッジ部を検出して原稿の画像データのエッジ画素と非エッジ画素の判定を行い、当該画像処理部5がエッジ画素と判定した画素に対してエッジ強調処理を施すのに際して、エッジ画素であると判定した画素が境界画素であると、当該境界画素を非エッジ画素と判定変更させて、エッジ強調処理を禁止している。したがって、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止することができ、画像品質をより一層向上させることができる。
【0067】
図8は、本発明の画像処理装置の第3の実施の形態を示す図であり、本実施の形態は、画像処理部がエッジ強調処理としてMTF補正を行うもので、請求項3に対応するものである。
【0068】
なお、本実施の形態は、上記第1の実施の形態と同様の複写装置に適用したものであり、本実施の形態の説明においては、上記第1の実施の形態で用いた符号をそのまま用いて、以下説明する。
【0069】
本実施の形態の複写装置1は、その画像処理部5が、画像データにエッジ強調処理としてフィルタ演算によるMTF(Modulation Transfer Function)処理を行う。すなわち、画像処理部5は、図6に示したと同様の3×3のマトリックスを有しており、この3×3マトリックスの中央画素Xを注目画素Rnとして、当該注目画素Rnの濃度Gxを3倍した濃度値から、その周辺の画素、例えば、式5に示したように、画素B、画素D、画素E、画素Gの濃度値を加算した値を2で除算した濃度値を、エッジ強調画素濃度Gx’としている。
【0070】
X’=3X−(B+D+E+G)/2・・・・(5)
このMTF補正は、上述のように、画像の切れを良くすることにより、エッジ強調を行うものであるため、異常画素と正常画素の境界画素にMTF補正を行うと、当該境界画素が強調され過ぎて、図4に示したような異常画素が発生するおそれがある。
【0071】
そこで、本実施の形態の複写装置1は、異常検出部3の検出した異常画素と正常画素の境界画素に対しては、制御部8がMTF補正をオフにして、画像処理部5がMTF補正を当該画素に施さないようにしている。
【0072】
次に、本実施の形態の作用を説明する。本実施の形態の複写装置1は、画像処理部5で、正常画素と異常画素の境界画素以外の画素に対して、エッジ強調処理としてMTF補正を行うところにその特徴がある。
【0073】
すなわち、複写装置1は、図8に示すように、スキャナ部2に原稿がセットされ、必要な読取操作が図示しない操作部で行われると、制御部8が、当該原稿の読み取りに先立って、スキャナ部2を駆動させて、スキャナ部2の読取位置に配設された白基準板をスキャナ部2に読み取らせる。
【0074】
制御部8は、スキャナ部2が白基準板を読み取った画像データを異常検出部3に転送し、上記第1の実施の形態と同様に、異常検出部3に異常検出を行わせる(ステップS301)。
【0075】
上記異常画素の検出が完了すると、制御部8は、異常検出部3の検出した異常検出結果を記憶部7に保管して、スキャナ部2を駆動させ、セットされた原稿を順次1枚ずつ主走査及び副走査して原稿の画像の読み取りを開始させて(ステップS302)、当該スキャナ部2の読み取った原稿の画像データが上記異常検出処理で検出した異常画素位置の画素であるかを記憶部7に保管されている異常検出結果と比較することによりチェックする(ステップS303)。
【0076】
ステップS303で、原稿の画像データの画素が異常画素位置のときには、制御部2は、異常補正部4に当該異常画素位置の原稿の画素の異常補正を行わせ(ステップS304)、当該画素が正常画素と異常画素の境界画素であるかチェックする(ステップS305)。
【0077】
ステップS303で、原稿の画像データの画素が異常画素位置でないときには、制御部8は、異常補正部4に異常補正を行わせることなく、当該画素が異常画素と正常画素の境界画素であるかどうかチェックする(ステップS305)。
【0078】
ステップS305で、画素が異常画素と正常画素の境界画素であると、制御部8は、MTF補正をオフにして、画像処理部5にエッジ強調処理としてのMTF補正処理を当該画素に行わせることなく、画像処理装置5にMビットの画像データをNビットの画像データに変換するNビット化処理を行わせる(ステップS306)。
【0079】
また、ステップS305で、画素が異常画素と正常画素の境界画素でないときには、制御部8は、画像処理部5に当該画素にエッジ強調処理としてMTF補正処理を行わせ(ステップS307)、その後、画像処理部5にNビット化処理を行わせる(ステップS306)。画像処理部5は、このMTF補正処理を、上記式5に示したように、当該画素の濃度Gxを3倍した濃度値から、その周辺の画素B、画素D、画素E、画素Gの濃度値を加算した値を2で除算した濃度値を、エッジ強調画素濃度Gx’とすることにより行っている。
【0080】
Nビット化処理が完了すると、制御部8は、画像データを出力部6に転送し、出力部6により当該画像データに基づいて画像を記録紙に記録出力させて、処理を終了する(ステップS308)。
【0081】
このように、本実施の形態の複写装置1は、画像処理部5が、エッジ強調処理としてスキャナ部2の出力する原稿の画像データにフィルタ演算によるMTF補正を行うが、境界画素に対しては、このMTF補正をオフに設定して、エッジ強調処理を禁止している。したがって、エッジ強調処理としてMTF補正を行う場合にも、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止することができ、画像品質をより一層向上させることができる。
【0082】
以上、本発明者によってなされた発明を好適な実施の形態に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
【0083】
【発明の効果】
請求項1記載の発明の画像処理装置によれば、画像読取手段により、所定の白基準部材及び原稿を主走査及び副走査して所定解像度の画素に分解して読み取るとともに、ディジタル変換して所定ビットの画像データとして出力し、白基準部材を読み取ったときの画像読取手段の出力する画像データから異常画素検出手段で異常画素を検出して、原稿を読み取ったときの画像読取手段の出力する画像データのうち異常画素検出手段の検出した異常画素に対応する位置の画素を、異常補正手段により当該画素の周辺画素データに基づいて補正し、画像読取手段の出力する原稿の画像データ及び異常補正手段で補正された画像データの原稿の画像のエッジ部に対応する位置の画素に、画像処理手段によりエッジ強調処理を施すが、このとき、異常画素検出手段の検出結果に基づいて異常画素と正常画素との境界を判別して、当該境界画素に対する画像処理手段によるエッジ強調処理を禁止するので、光路上にゴミ等が付着していたり、画像読取手段が劣化して、異常画素が発生している場合に、当該異常画素の発生している場所の原稿を読み取ったときの画素データを適切に補正することができるとともに、異常画素と正常画素の境界画素に対してはエッジ強調処理を禁止して、エッジ強調処理により縦筋等の異常画像が発生するのを防止することができ、画像品質を向上させることができる。
【0084】
請求項2記載の発明の画像処理装置によれば、エッジ検出手段で、原稿の画像のエッジ部を検出して原稿の画像データのエッジ画素と非エッジ画素の判定を行い、当該エッジ検出手段がエッジ画素と判定した画素に対して画像処理手段でエッジ強調処理を施すのに際して、エッジ検出手段がエッジ画素であると判定した画素が境界画素であると、エッジ検出手段に当該境界画素を非エッジ画素と判定させて、画像処理手段によるエッジ強調処理を禁止するので、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止することができ、画像品質をより一層向上させることができる。
【0085】
請求項3記載の発明の画像処理装置によれば、画像処理手段が、エッジ強調処理として画像読取手段の出力する原稿の画像データにフィルタ演算によるMTF補正を行い、制御手段が、境界画素の画像処理手段によるMTF補正をオフに設定して、エッジ強調処理を禁止するので、エッジ強調処理としてMTF補正を行う場合にも、正常画素と異常画素の境界画素に対してエッジ強調処理を行うのをより適切に防止することができ、画像品質をより一層向上させることができる。
【0086】
請求項4記載の発明の画像処理装置によれば、画像処理手段が、エッジ強調処理を行った後、画像データを画像読取手段の出力するビット数と異なる第2のビット数にビット変換し、制御手段が、ビット変換手段のビット変換した画像データを、第2のビット数により所定形式で出力する出力手段に出力させるので、ビット変換、例えば、白黒の2値化変換等を行う場合にも、ビット変換により境界画素が強調されて、縦筋等の異常画像が発生することを防止することができ、画像品質を向上させることができる。
【図面の簡単な説明】
【図1】本発明の画像処理装置の第1の実施の形態を適用した複写装置の要部回路ブロック図。
【図2】図1の複写装置による異常画素検出・補正処理を示すフローチャート。
【図3】図1のスキャナ部で読み取られた異常画素のある原稿の画像データの一例を示す図。
【図4】図3の画像データに異常補正処理を施しただけでエッジ強調処理を施した場合の画像データの一例を示す図。
【図5】図3の画像データに異常補正処理を施すとともに正常画素と異常画素の境界画素以外のエッジ画素にエッジ強調処理を施した場合の画像データの一例を示す図。
【図6】本発明の画像処理装置の第2の実施の形態を適用した複写装置の画像処理部の備えているマトリックスの一例を示す図。
【図7】本発明の画像処理装置の第2の実施の形態を適用した複写装置による異常画素検出・補正処理を示すフローチャート。
【図8】本発明の画像処理装置の第3の実施の形態を適用した複写装置による異常画素検出・補正処理を示すフローチャート。
【符号の説明】
1 複写装置
2 スキャナ部
3 異常検出部
4 異常補正部
5 画像処理部
6 出力部
7 記憶部
8 制御部
9 バス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that suppresses occurrence of abnormal pixels such as missing pixels and black streaks when an image of a document is read.
[0002]
[Prior art]
In many cases, a so-called reduction optical system image reading apparatus is used in a scanner section of a facsimile apparatus, a general-purpose scanner, and a scanner section of a copying apparatus.
[0003]
An image reading apparatus using such a reduction optical system generally projects light reflected from a document by projecting light from a light source disposed below the contact glass onto a document set on the contact glass. A predetermined optical path is reflected by a plurality of mirrors, enters a CCD image sensor that is a photoelectric conversion unit via a lens, and reads an image of a document. Conventionally, there is a reading apparatus that reads an image of a document using a contact image sensor.
[0004]
In such an image reading apparatus, when dust, dust, and other foreign matters (hereinafter referred to as dust) adhere to components on the optical path, the dust or the like becomes black spots or black streaks on the image. Appears and degrades image quality.
[0005]
Therefore, conventionally, the white reference plate is illuminated with a light source, the reflected light is converted into an electrical signal, the electrical signal is differentiated to detect and determine the adhesion of dust, and the electrical signal after the dust is removed An image input device that stores a white reference level has been proposed (see Japanese Utility Model Publication No. 63-191760).
[0006]
According to this conventional image input apparatus, when dust is attached on the white reference plate, if the dust is removed, the influence of the dust can be appropriately removed appropriately.
[0007]
[Problems to be solved by the invention]
However, in such a conventional image processing apparatus, since the electric signal after the dust is removed is used as the white reference level, dust or the like adheres to the easily removable white reference plate. If this is the case, the white reference level can be appropriately obtained by removing the dust and processed effectively, but dust or the like is attached to a place that cannot be easily removed on the optical path. In such a case, when the image sensor element is deteriorated, it is not possible to appropriately deal with it, and there is a possibility that the image quality deteriorates. In particular, when edge enhancement processing is performed on image data obtained by reading a document, there is a problem in that the influence of dust and the like is enhanced and image quality is further deteriorated.
[0008]
Therefore, according to the first aspect of the present invention, the predetermined white reference member and the original are subjected to main scanning and sub scanning by the image reading means and separated into pixels of a predetermined resolution and read out, and converted into digital data by predetermined conversion. The abnormal pixel is detected by the abnormal pixel detection means from the image data output by the image reading means when the white reference member is read, and abnormal among the image data output by the image reading means when the original is read The pixel at the position corresponding to the abnormal pixel detected by the pixel detection unit is corrected based on the peripheral pixel data of the pixel by the abnormality correction unit, and corrected by the image data of the document output by the image reading unit and the abnormality correction unit. Edge enhancement processing is performed by the image processing means on the pixel at the position corresponding to the edge portion of the image of the document of the image data. At this time, the abnormal pixel detection means By determining the boundary between the abnormal pixel and the normal pixel based on the output result and prohibiting the edge enhancement processing by the image processing means for the boundary pixel, dust or the like is attached to the optical path, or the image reading means When an abnormal pixel has deteriorated and an abnormal pixel has occurred, the pixel data when the original at the location where the abnormal pixel is generated is corrected appropriately, and the boundary pixel between the abnormal pixel and the normal pixel is corrected. An object of the present invention is to provide an image processing apparatus that prohibits edge enhancement processing, prevents occurrence of abnormal images such as vertical stripes by edge enhancement processing, and improves image quality.
[0009]
According to the second aspect of the present invention, the edge detection unit detects the edge portion of the document image and determines the edge pixel and the non-edge pixel of the document image data, and the edge detection unit determines the edge pixel as the edge pixel. When performing edge enhancement processing on the image processing means, if the pixel that the edge detection means determines to be an edge pixel is a boundary pixel, the edge detection means determines that the boundary pixel is a non-edge pixel, By prohibiting edge enhancement processing by image processing means, it is possible to more appropriately prevent edge enhancement processing from being performed on boundary pixels between normal pixels and abnormal pixels, and to further improve image quality. The purpose is to provide.
[0010]
According to a third aspect of the present invention, the image processing means performs MTF correction by filter operation on the image data of the document output from the image reading means as edge enhancement processing, and the control means performs MTF correction by the image processing means of the boundary pixel. By setting it to OFF and prohibiting edge enhancement processing, even when performing MTF correction as edge enhancement processing, it is possible to more appropriately prevent edge enhancement processing from being performed on boundary pixels between normal pixels and abnormal pixels. An object of the present invention is to provide an image processing apparatus capable of further improving the image quality.
[0011]
According to a fourth aspect of the present invention, after the image processing means performs edge enhancement processing, the image data is bit-converted to a second bit number different from the bit number output by the image reading means, and the control means converts the bit data Even when performing bit conversion, for example, black-and-white binarization conversion, by outputting the bit-converted image data of the means to the output means that outputs the second bit number in a predetermined format, the boundary is also obtained by bit conversion. An object of the present invention is to provide an image processing apparatus capable of preventing the occurrence of abnormal images such as vertical stripes by enhancing pixels and improving the image quality.
[0012]
[Means for Solving the Problems]
According to the first aspect of the present invention, the predetermined white reference member and the original are subjected to main scanning and sub scanning to be decomposed and read into pixels having a predetermined resolution, and digitally converted and output as predetermined bit image data. Image reading means, abnormal pixel detection means for detecting abnormal pixels from the image data output by the image reading means when the white reference member is read, and output of the image reading means when the original is read An abnormal correction unit that corrects a pixel at a position corresponding to the abnormal pixel detected by the abnormal pixel detection unit in the image data based on peripheral pixel data of the pixel, and an image of the document output by the image reading unit Edge enhancement processing is applied to the pixel at a position corresponding to the edge portion of the image of the document of the image and the image data corrected by the abnormality correcting means. When reading the document, the image processing means determines the boundary between the abnormal pixel and the normal pixel based on the detection result of the abnormal pixel detection means, and performs the edge enhancement processing by the image processing means for the boundary pixel. The above-described object is achieved by providing the prohibiting control means.
[0013]
According to the above configuration, the image reading unit reads the predetermined white reference member and the original into the pixels having the predetermined resolution by performing the main scanning and the sub scanning, and digitally converts and outputs the image data as the predetermined bits. The abnormal pixel detection means detects abnormal pixels from the image data output by the image reading means when the white reference member is read, and the abnormal pixel detection means among the image data output by the image reading means when the original is read. A pixel at a position corresponding to the detected abnormal pixel is corrected based on the peripheral pixel data of the pixel by the abnormal correction unit, and the original image data output from the image reading unit and the original of the image data corrected by the abnormal correction unit Edge enhancement processing is performed by the image processing means on the pixel at the position corresponding to the edge portion of the image of this image. The boundary between the abnormal pixel and the normal pixel is discriminated, and the edge enhancement processing by the image processing means for the boundary pixel is prohibited, so that dust or the like is attached to the optical path or the image reading means is deteriorated. When a pixel has occurred, it is possible to appropriately correct the pixel data when the original at the location where the abnormal pixel is generated is corrected, and for the boundary pixel between the abnormal pixel and the normal pixel, an edge It is possible to inhibit the enhancement process and prevent an abnormal image such as a vertical stripe from being generated by the edge enhancement process, thereby improving the image quality.
[0014]
In this case, for example, as described in claim 2, the image processing unit detects an edge portion of the image of the document and determines an edge pixel and a non-edge pixel of the image data of the document. The edge enhancement unit performs the edge enhancement processing on the pixel determined to be the edge pixel, and the control unit determines that the pixel determined by the edge detection unit is the edge pixel is the boundary pixel. If it is a pixel, the edge detection unit may be caused to determine the boundary pixel as the non-edge pixel, and the edge enhancement processing by the image processing unit may be prohibited.
[0015]
According to the above configuration, the edge detection unit detects the edge portion of the document image to determine the edge pixel and the non-edge pixel of the document image data, and the edge detection unit determines the edge pixel as the edge pixel. When the edge enhancement processing is performed by the image processing means, if the pixel determined by the edge detection means to be an edge pixel is a boundary pixel, the edge detection means determines that the boundary pixel is a non-edge pixel, and image processing is performed. Since the edge enhancement processing by the means is prohibited, it is possible to more appropriately prevent the edge enhancement processing from being performed on the boundary pixel between the normal pixel and the abnormal pixel, and the image quality can be further improved.
[0016]
For example, as described in claim 3, the image processing unit performs MTF correction by filter calculation on the image data of the document output from the image reading unit as the edge enhancement processing, and the control unit includes: The edge enhancement processing may be prohibited by setting off the MTF correction by the image processing means of the boundary pixel.
[0017]
According to the above configuration, the image processing unit performs MTF correction by filtering on the document image data output from the image reading unit as edge enhancement processing, and the control unit turns off the MTF correction by the image processing unit of the boundary pixel. Since the edge enhancement processing is prohibited by setting, it is possible to more appropriately prevent the edge enhancement processing from being performed on the boundary pixel between the normal pixel and the abnormal pixel even when performing MTF correction as the edge enhancement processing. The image quality can be further improved.
[0018]
Further, for example, as described in claim 4, the image processing apparatus further includes an output unit that outputs the image data in a predetermined format with a second bit number different from the bit number output by the image reading unit. The image processing means further comprises bit conversion means for performing bit conversion of the image data into the second number of bits after performing the edge enhancement processing, and the control means performs bit conversion of the bit conversion means. The image data may be output to the output unit.
[0019]
According to the above configuration, after the image processing means performs the edge enhancement process, the image data is bit-converted to the second bit number different from the bit number output by the image reading means, and the control means Since the bit-converted image data is output to an output means that outputs the second bit number in a predetermined format, even when performing bit conversion, for example, black and white binarization conversion, boundary pixels are emphasized by bit conversion. Thus, the occurrence of abnormal images such as vertical stripes can be prevented, and the image quality can be improved.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the accompanying drawings. The embodiments described below are preferred embodiments of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. As long as there is no description which limits, it is not restricted to these aspects. This embodiment corresponds to claims 1 and 4.
[0021]
1 to 5 are diagrams showing a first embodiment of an image processing apparatus according to the present invention. FIG. 1 shows a copying apparatus 1 to which the first embodiment of the image processing apparatus according to the present invention is applied. It is a circuit block diagram.
[0022]
In FIG. 1, a copying apparatus 1 as an image processing apparatus includes a scanner unit 2, an abnormality detection unit 3, an abnormality correction unit 4, an image processing unit 5, an output unit 6, a storage unit 7, a control unit 8, and the like. Are connected to the bus 9.
[0023]
The scanner unit (image reading unit) 2 includes, for example, a light source, a reduction optical system, an image sensor using a CCD (Charge Coupled Device), an A / D conversion unit, and the like. The light reflected from the light source enters the CCD through the reduction optical system, is decomposed into pixels at a predetermined resolution (for example, 400 dpi) by the CCD, and is subjected to photoelectric conversion, and then an M-bit image by the A / D converter. Convert to data and output.
[0024]
In the scanner unit 2, a white reference plate (white reference member) that provides reference correction data used for shading correction or the like is disposed at the reading position of the scanner unit 2. The portion to be read is given a white color suitable for providing reference correction data. The copying apparatus 1 causes the scanner unit 2 to read the white reference plate before reading a document, and acquires reference correction data.
[0025]
The abnormality detection unit (abnormal pixel detection means) 3 detects whether or not there is an abnormal pixel in the image data when the white reference plate is read by the scanner 2 and the position of the abnormal pixel, and outputs it to the control unit 8. . That is, the abnormality detection unit 3 compares the image data read by the scanner unit 3 with a predetermined threshold value for each pixel to determine whether or not the pixel is an abnormal pixel. Specifically, for example, when the number of bits M of the image data is “8”, black is “255”, and white is “0”, the abnormality detection unit 3 continues in the main scanning direction output by the scanner unit 3. The image data (pixel) at the center position of the register is the target pixel R (n), and the density W (n) of the target pixel R (n) is set to a predetermined threshold. If the density W (n) of the target pixel R (n) is larger than the threshold value Tw as shown in Equation 1 compared to the value Tw, the target pixel R (n) is determined to be an abnormal pixel. When the density W (n) of the target pixel R (n) is equal to or lower than the threshold value Tw, it is determined that the target pixel Rn is a normal pixel.
[0026]
W (n)> Tw → target pixel R (n) = abnormal pixel
W (n) ≦ Tw → target pixel R (n) = normal pixel (1)
Therefore, the abnormality detection unit 3 has dust or the like attached to an optical path such as a white reference plate or contact glass corresponding to the pixel position of the target pixel R (n) that the abnormality detection unit 3 determines to be an abnormal pixel. Or the deterioration of the CCD of the scanner unit 3 at the position of the target pixel R (n) can be detected.
[0027]
The abnormality correction unit (abnormality correction unit) 4 determines that the abnormal pixel is detected when the scanner unit 3 reads a document when the abnormality detection unit 3 determines that there is an abnormality when the scanner unit 3 reads the white reference plate. The read pixel of the document corresponding to the position of the noticed pixel R (n) is corrected. That is, the abnormality correction unit 4 sets the pixel at the pixel position determined by the abnormality detection unit 3 to be an abnormal pixel as a target pixel R (n), and normal pixels around the target pixel R (n) (the abnormality detection unit 3 detects The pixel of interest R (n) is corrected based on the pixel that has not been determined to be abnormal. Specifically, the abnormality correction unit 4 includes, for example, a register that stores five image data continuous in the main scanning direction output from the scanner unit 3, and pays attention to the image data (pixel) at the center position of the register. As the pixel R (n), when the density G (n) of the target pixel R (n) is a normal pixel in the preceding and following pixels R (n−1) and R (n + 1), The density G (n) of the target pixel R (n), which is an abnormal pixel, is the average density of the density G (n−1) and G (n + 1) of the normal pixel pixels R (n−1) and R (n + 1) before and after the relevant pixel. Correct as'. Note that the method of correcting abnormal pixels by the abnormal correction unit 4 is not limited to the above method.
[0028]
When pixels R (n−1) and R (n + 1) before and after the target pixel R (n) are normal pixels,
G (n) ′ = [G (n−1) + G (n + 1)] / 2 (2)
In cases other than the above, that is, for the pixel for which the target pixel Rn is determined to be a normal pixel by the abnormality detection unit 3, the density of the pixel is set as the density of the target pixel Rn as it is. Note that Expression 2 shows a case where the abnormal pixel has a width of one pixel, that is, a case where the abnormal pixel is not continuous for two or more pixels. Similarly, the density correction of the target pixel Rn can be performed in the same manner.
[0029]
An image processing unit (image processing means) 5 detects an edge of M-bit image data read by the scanner unit 2 and corrected for abnormal pixels by the abnormality correction unit 4, and performs edge enhancement processing on the edge portion. The image data is converted into N-bit image data that can be recorded by an output unit 6 described later. For example, the image processing unit 5 has 8 bits when the bit number (M) of the image data read by the scanner unit 2 is 8 bits and the bit number (N) that can be handled by the output unit 6 is 4 bits or 1 bit. Are converted into 4-bit or 1-bit image data. When the N bit is 1 bit, the image processing unit 5 binarizes the M bit image data and converts it into monochrome image data.
[0030]
The output unit (output unit) 6 uses, for example, an electrophotographic recording device or the like, and records an image read by the scanner 2 on a recording sheet based on the image data converted into N bits by the image processing unit 5. Output. Note that the output unit 6 is not limited to the one that records and outputs, and may be, for example, an output unit or a display device that outputs to the next stage image processing apparatus.
[0031]
The storage unit 7 uses a RAM (Random Access Memory), a hard disk, or the like, temporarily stores image data, and writes and reads the image data under the control of the control unit 8.
[0032]
The control unit (control means) 8 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM, and the like. In the ROM, a basic processing program as the copying apparatus 1, an abnormal pixel detection / correction processing program, and the like. And various data necessary for executing these processing programs are stored. The control unit 8 uses the RAM as a work memory based on a program in the ROM, controls each unit of the copying apparatus 1 to execute basic processing as the copying apparatus 1, and detects and corrects abnormal pixels described later. Execute the process.
[0033]
Although not shown, the copying apparatus 1 includes each part necessary for the copying apparatus 1, such as an operation unit, in addition to the above-described parts.
[0034]
Next, the operation of the present embodiment will be described. The copying apparatus 1 is characterized in that it detects an abnormal pixel when the white reference plate is read, and appropriately corrects the pixel at the abnormal pixel occurrence position when the original is read based on the detection result. .
[0035]
That is, in the copying apparatus 1, when a document is set on the scanner unit 2 and a necessary reading operation is performed by an operation unit (not shown), the control unit 8 drives the scanner unit 2 prior to reading the document. Then, the scanner unit 2 is caused to read the white reference plate disposed at the reading position of the scanner unit 2.
[0036]
The control unit 8 transfers the image data read by the scanner unit 2 to the white reference plate to the abnormality detection unit 3, and causes the abnormality detection unit 3 to perform abnormality detection (step S101). In other words, the abnormality detection unit 3 uses the image data read by the scanner unit 3 for each pixel, sets the pixel as the target pixel Rn, and sets the density W (n) of the target pixel R (n) to a predetermined value. When the density W (n) of the target pixel R (n) is larger than the threshold value Tw as shown in the above formula 1, compared with the threshold value Tw, the target pixel R (n) is an abnormal pixel. If the density W (n) of the target pixel R (n) is equal to or lower than the threshold value Tw, it is determined that the target pixel Rn is a normal pixel.
[0037]
When the detection of the abnormal pixels is completed, the control unit 8 stores the abnormality detection result detected by the abnormality detection unit 3 in the storage unit 7, drives the scanner unit 2, and sequentially sets the originals one by one. Scanning and sub-scanning start reading the image of the document (step S102), and the storage unit stores whether the image data of the document read by the scanner unit 2 is the pixel at the abnormal pixel position detected in the abnormality detection process 7 is checked by comparing with the abnormality detection result stored in step 7 (step S103).
[0038]
In step S103, when the pixel of the image data of the document is in the abnormal pixel position, the control unit 2 causes the abnormality correction unit 4 to perform abnormality correction of the pixel of the document at the abnormal pixel position (step S104), and the pixel is abnormal. It is checked whether the pixel is a boundary pixel between the pixel and the normal pixel (step S105).
[0039]
As described above, the abnormality correction of the pixel by the abnormality correction unit 4 is performed by using, as the pixel of interest R (n), the pixel at the pixel position determined by the abnormality detection unit 3 as an abnormal pixel in the image data of the document. The density G (n) of the target pixel R (n) is determined to be normal before and after the pixel R (n−1) and R (n + 1) before and after the main scanning direction are normal pixels as shown in Expression 2. The average densities of the densities G (n−1) and G (n + 1) of the pixel pixels R (n−1) and R (n + 1) are corrected as the density G (n) ′ of the target pixel R (n) that is an abnormal pixel. .
[0040]
In step S103, when the pixel of the image data of the document is not an abnormal pixel position, it is checked whether or not the pixel is a boundary pixel between the abnormal pixel and the normal pixel without performing correction by the abnormality correction unit 4 (step S103). S105).
[0041]
In step S105, if the pixel is a boundary pixel between the abnormal pixel and the normal pixel, the image processing unit 5 converts the M-bit image data into N-bit image data without performing edge enhancement processing on the pixel. Bit processing is performed (step S106). If the pixel is not a boundary pixel between an abnormal pixel and a normal pixel in step S105, if the pixel is an edge pixel, edge enhancement processing is performed (step S107), and N bit conversion processing is performed. Is performed (step S106).
[0042]
When the above processing is sequentially performed and processing of a predetermined amount of image data is completed, the control unit 8 transfers the image data to the output unit 6 and causes the output unit 6 to record and output the recording paper (step S108).
[0043]
Thus, for example, as shown in FIG. 3, when the image data in the main scanning direction when the original is read is from pixel a to pixel l, an abnormality occurs when the white reference plate is read by the scanner unit 2. Assuming that the detection unit 3 detects abnormal pixels at the pixel positions of the pixels e to h and determines that the pixels d and i are normal pixels although they have a slightly high black density, as shown in FIG. The image data obtained when the original is read is subjected to image processing after the abnormal correction unit 4 corrects the image data at the abnormal pixel positions (pixel positions of the pixels e to h) based on the surrounding normal pixels as described above. The unit 5 performs edge enhancement processing. At this time, if edge enhancement processing is also performed on the boundary pixel between the abnormal pixel and the normal pixel, that is, the pixel d and the pixel i, the edge-enhanced image data has a boundary between the abnormal pixel and the normal pixel as shown in FIG. Pixel d and pixel i, which are pixels, become image data with an abnormally high black density, and vertical stripes may occur at the boundary between the abnormal pixel and the normal pixel.
[0044]
However, in the copying apparatus 1 according to the present embodiment, when the image processing unit 5 performs the edge enhancement process, the pixels at the boundary between the abnormal pixel detected by the abnormality detecting unit 3 and the normal pixel, that is, the pixel d and the pixel i. As for, edge enhancement processing is not performed.
[0045]
Therefore, the image data subjected to the edge enhancement processing by the image processing unit 5 can prevent an image having an abnormally high black density from occurring at the boundary between the abnormal pixel and the normal pixel, as shown in FIG. Image quality can be improved.
[0046]
Further, after the image processing unit 5 performs the edge enhancement processing, the image data is bit-converted to a second bit number N different from the bit number M output from the scanner unit 2, and the control unit 8 performs the bit conversion. Since the data is output to the output unit 6 that outputs the second number of bits N, the boundary pixels are emphasized by bit conversion even when performing bit conversion, for example, black and white binarization conversion, etc. The occurrence of abnormal images such as vertical stripes can be prevented, and the image quality can be improved.
[0047]
6 and 7 are diagrams showing a second embodiment of the image processing apparatus according to the present invention. In this embodiment, the image processing unit includes an edge detection unit, and the edge detection unit is a document. The edge portion detected for the image data is subjected to edge enhancement processing. In this edge enhancement, the boundary portion between the normal pixel and the abnormal pixel is determined as a non-edge pixel and the edge enhancement processing is not performed.
[0048]
The present embodiment is applied to the same copying apparatus as the first embodiment. In the description of the present embodiment, the reference numerals used in the first embodiment are used as they are. This will be described below.
[0049]
The copying apparatus 1 according to the present embodiment includes an edge detection unit (edge detection unit) that detects an edge of image data when the image processing unit 5 reads a document. It has a 3 × 3 matrix shown in FIG. The edge detection unit of the image processing unit 5 uses the central pixel X of the 3 × 3 matrix as the target pixel Rn, and the surrounding pixels, for example, as shown in Expression 3, the pixel B, the pixel D, the pixel E, and the pixel G The edge detection is performed by determining whether or not the pixel X as the target pixel Rn is an edge pixel depending on whether or not the density difference is larger than a predetermined determination threshold value Te.
[0050]
When any of (X-B> Te), (X-D> Te), (X-E> Te), and (X-G> Te) holds,
Pixel X as edge pixel Rn = edge pixel
At other times
Pixel X which is the target pixel Rn = non-edge pixel (3)
Then, the image processing unit 5 performs edge enhancement processing on the edge pixels. This edge enhancement processing is performed by, for example, a predetermined density value set in advance for the density Gx of the edge pixel X as shown in Expression 4. α is added to obtain an edge enhanced pixel density Gx ′.
[0051]
Gx ′ = Gx + α (4)
However, when the bit number M of the image data of the document read by the scanner unit 2 is 8 bits, the black pixel is [255], the white is [0], and the edge enhancement pixel density Gx ′> 255, Gx ′ = 255.
[0052]
Further, under the control of the control unit 8, the image processing unit 5 determines that the edge pixel detected by the edge pixel detection process is a boundary pixel between the normal pixel and the abnormal pixel, and changes the edge pixel to a non-edge pixel. I do.
[0053]
The configuration of each part of the copying apparatus 1 of the present embodiment other than those described above is the same as that of the copying apparatus 1 of the first embodiment.
[0054]
Next, the operation of the present embodiment will be described. In the copying apparatus 1 according to this embodiment, the image processing unit 5 performs edge determination of image data of a document, and determines that the edge pixel is a non-edge pixel if the edge pixel is a boundary pixel between an abnormal pixel and a normal pixel. This is characterized in that the edge enhancement processing of the boundary pixel is not performed by changing.
[0055]
That is, as shown in FIG. 7, when the original is set in the scanner unit 2 and a necessary reading operation is performed by an operation unit (not shown), the copying apparatus 1 causes the control unit 8 to read the original before reading the original. The scanner unit 2 is driven to cause the scanner unit 2 to read the white reference plate disposed at the reading position of the scanner unit 2.
[0056]
The control unit 8 transfers the image data obtained by the scanner unit 2 reading the white reference plate to the abnormality detection unit 3, and causes the abnormality detection unit 3 to perform abnormality detection as in the first embodiment (step S201). ).
[0057]
When the detection of the abnormal pixels is completed, the control unit 8 stores the abnormality detection result detected by the abnormality detection unit 3 in the storage unit 7, drives the scanner unit 2, and sequentially sets the originals one by one. Scanning and sub-scanning start reading the image of the document (step S202), and the storage unit stores whether the image data of the document read by the scanner unit 2 is a pixel at the abnormal pixel position detected by the abnormality detection process 7 is checked by comparing with the abnormality detection result stored in step 7 (step S203).
[0058]
In step S203, when the pixel of the document image data is in the abnormal pixel position, the control unit 2 causes the abnormality correction unit 4 to perform abnormality correction of the pixel in the document at the abnormal pixel position (step S204). The image processing unit 5 is caused to perform edge detection processing for determining whether the pixel is a pixel (step S205).
[0059]
As described above, the edge detection processing by the image processing unit 5 uses the central pixel X of the 3 × 3 matrix as the target pixel Rn, and the surrounding pixels, for example, the pixel B and the pixel D as shown in Expression 3 Edge detection is performed by determining whether or not the pixel X as the target pixel Rn is an edge pixel depending on whether the density difference between the pixel E and the pixel G is larger than a predetermined determination threshold value Te. ing.
[0060]
In step S203, when the pixel of the image data of the document is not in the abnormal pixel position, the control unit 8 performs edge detection processing to determine whether or not the pixel is an edge pixel without causing the abnormality correction unit 4 to perform abnormality correction. The image processing unit 5 is caused to perform the process (step S205).
[0061]
Next, the control unit 8 checks whether or not the pixel is a boundary pixel between an abnormal pixel and a normal pixel (step S206). If the pixel is a boundary pixel, the pixel is de-edged, that is, the edge detection in step S205. Even if it is determined that the pixel is an edge pixel in the processing, the image processing unit 5 is changed to determine that the pixel is a non-edge pixel (step S207), and it is checked whether the pixel is an edge pixel. (Step S208).
[0062]
If the pixel is not a boundary pixel between the abnormal pixel and the normal pixel in step S206, the control unit 8 checks whether the pixel is an edge pixel without causing the image processing unit 5 to perform non-edge processing ( Step S208).
[0063]
When the pixel is an edge pixel in step S208, the control unit 8 causes the image processing unit 5 to perform edge enhancement processing on the pixel (step S209), and then converts the M-bit image data into N-bit image data. An N-bit conversion process for conversion is performed (step S210). The image processing unit 5 performs this edge enhancement processing by adding a predetermined density value α to the density Gx of the pixel to obtain an edge enhanced pixel density Gx ′ as shown in Expression 4.
[0064]
If it is determined in step S208 that the pixel is not an edge pixel, the control unit 8 causes the image processing unit 5 to perform edge enhancement processing on the pixel and then perform N-bit conversion processing (step S210).
[0065]
When the N-bit conversion process is completed, the control unit 8 transfers the image data to the output unit 6, causes the output unit 6 to record and output an image on recording paper based on the image data, and ends the process (step S211). ).
[0066]
As described above, in the copying apparatus 1 according to the present embodiment, the image processing unit 5 detects the edge portion of the document image, determines the edge pixel and the non-edge pixel of the image data of the document, and the image processing unit. When performing edge enhancement processing on a pixel determined to be an edge pixel, if the pixel determined to be an edge pixel is a boundary pixel, the boundary pixel is determined to be a non-edge pixel, and the edge enhancement processing is performed. Is prohibited. Therefore, it is possible to more appropriately prevent the edge enhancement process from being performed on the boundary pixel between the normal pixel and the abnormal pixel, and the image quality can be further improved.
[0067]
FIG. 8 is a diagram showing a third embodiment of the image processing apparatus of the present invention. In this embodiment, the image processing unit performs MTF correction as edge enhancement processing, and corresponds to claim 3. Is.
[0068]
The present embodiment is applied to the same copying apparatus as the first embodiment. In the description of the present embodiment, the reference numerals used in the first embodiment are used as they are. This will be described below.
[0069]
In the copying apparatus 1 according to the present embodiment, the image processing unit 5 performs MTF (Modulation Transfer Function) processing by filter operation as edge enhancement processing on the image data. That is, the image processing unit 5 has a 3 × 3 matrix similar to that shown in FIG. 6, and the central pixel X of the 3 × 3 matrix is the target pixel Rn, and the density Gx of the target pixel Rn is 3 Edge enhancement is performed by dividing the density value obtained by multiplying the density value of the surrounding pixels, for example, the pixel B, the pixel D, the pixel E, and the pixel G by 2, from the doubled density value, for example, as shown in Expression 5. The pixel density is Gx ′.
[0070]
X ′ = 3X− (B + D + E + G) / 2 (5)
As described above, since the MTF correction is performed to enhance the edge by improving the cutout of the image, if the MTF correction is performed on the boundary pixel between the abnormal pixel and the normal pixel, the boundary pixel is excessively emphasized. Therefore, there is a possibility that an abnormal pixel as shown in FIG.
[0071]
Therefore, in the copying apparatus 1 of the present embodiment, the control unit 8 turns off the MTF correction and the image processing unit 5 performs the MTF correction for the boundary pixel between the abnormal pixel and the normal pixel detected by the abnormality detection unit 3. Is not applied to the pixel.
[0072]
Next, the operation of the present embodiment will be described. The copying apparatus 1 according to the present embodiment is characterized in that the image processing unit 5 performs MTF correction as edge enhancement processing on pixels other than the boundary pixels between normal pixels and abnormal pixels.
[0073]
That is, as shown in FIG. 8, when a document is set in the scanner unit 2 and a necessary reading operation is performed by an operation unit (not shown), the copying apparatus 1 causes the control unit 8 to read the document before reading it. The scanner unit 2 is driven to cause the scanner unit 2 to read the white reference plate disposed at the reading position of the scanner unit 2.
[0074]
The control unit 8 transfers the image data obtained by the scanner unit 2 reading the white reference plate to the abnormality detection unit 3, and causes the abnormality detection unit 3 to perform abnormality detection as in the first embodiment (step S301). ).
[0075]
When the detection of the abnormal pixels is completed, the control unit 8 stores the abnormality detection result detected by the abnormality detection unit 3 in the storage unit 7, drives the scanner unit 2, and sequentially sets the originals one by one. Scanning and sub-scanning start reading the image of the document (step S302), and the storage unit stores whether the image data of the document read by the scanner unit 2 is a pixel at the abnormal pixel position detected by the abnormality detection process 7 is checked by comparing with the abnormality detection result stored in 7 (step S303).
[0076]
In step S303, when the pixel of the document image data is in the abnormal pixel position, the control unit 2 causes the abnormality correction unit 4 to perform abnormality correction of the document pixel in the abnormal pixel position (step S304), so that the pixel is normal. It is checked whether the pixel is a boundary pixel between the pixel and the abnormal pixel (step S305).
[0077]
In step S303, when the pixel of the image data of the document is not in the abnormal pixel position, the control unit 8 determines whether the pixel is a boundary pixel between the abnormal pixel and the normal pixel without causing the abnormality correction unit 4 to perform abnormality correction. A check is made (step S305).
[0078]
If the pixel is a boundary pixel between the abnormal pixel and the normal pixel in step S305, the control unit 8 turns off the MTF correction and causes the image processing unit 5 to perform the MTF correction process as the edge enhancement process on the pixel. Instead, the image processing device 5 is caused to perform N-bit conversion processing for converting M-bit image data into N-bit image data (step S306).
[0079]
If the pixel is not a boundary pixel between the abnormal pixel and the normal pixel in step S305, the control unit 8 causes the image processing unit 5 to perform MTF correction processing as edge enhancement processing on the pixel (step S307), and then the image The processing unit 5 is made to perform N-bit conversion processing (step S306). The image processing unit 5 performs the MTF correction processing from the density value obtained by multiplying the density Gx of the pixel by three as shown in Equation 5 above, and the density of the surrounding pixels B, D, E, and G. A density value obtained by dividing a value obtained by adding the values by 2 is used as an edge enhancement pixel density Gx ′.
[0080]
When the N-bit conversion processing is completed, the control unit 8 transfers the image data to the output unit 6, causes the output unit 6 to record and output an image on recording paper based on the image data, and ends the processing (step S308). ).
[0081]
As described above, in the copying apparatus 1 according to the present embodiment, the image processing unit 5 performs MTF correction by the filter operation on the image data of the document output from the scanner unit 2 as edge enhancement processing. The MTF correction is set to OFF to prohibit edge enhancement processing. Therefore, even when performing MTF correction as edge enhancement processing, it is possible to more appropriately prevent edge enhancement processing from being performed on the boundary pixels between normal pixels and abnormal pixels, and to further improve image quality. it can.
[0082]
The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above, and various modifications can be made without departing from the scope of the invention. Needless to say.
[0083]
【The invention's effect】
According to the image processing apparatus of the first aspect of the present invention, the image reading unit reads the predetermined white reference member and the original by performing main scanning and sub-scanning to decompose the pixels into a predetermined resolution, and digitally converts the predetermined white reference member and original. An image output by the image reading unit when the original is read by detecting the abnormal pixel by the abnormal pixel detecting unit from the image data output by the image reading unit when the white reference member is read. Among the data, the pixel at the position corresponding to the abnormal pixel detected by the abnormal pixel detection unit is corrected based on the peripheral pixel data of the pixel by the abnormality correction unit, and the image data of the document output from the image reading unit and the abnormality correction unit The image processing means performs edge emphasis processing on the pixel at the position corresponding to the edge portion of the image of the image data corrected in step S2. Based on the detection result of the detection means, the boundary between the abnormal pixel and the normal pixel is discriminated and the edge enhancement processing by the image processing means for the boundary pixel is prohibited, so that dust or the like is attached to the optical path or the image reading When the means is deteriorated and abnormal pixels are generated, the pixel data when the original at the place where the abnormal pixels are generated can be appropriately corrected, and the abnormal pixels and normal pixels can be corrected. Edge enhancement processing is prohibited for the boundary pixels, and abnormal images such as vertical stripes can be prevented from being generated by the edge enhancement processing, so that the image quality can be improved.
[0084]
According to the image processing apparatus of the second aspect of the invention, the edge detection unit detects the edge portion of the document image and determines the edge pixel and the non-edge pixel of the document image data. When edge enhancement processing is performed by the image processing means on the pixel determined to be an edge pixel, if the pixel determined by the edge detection means to be an edge pixel is a boundary pixel, the edge detection means sets the boundary pixel as a non-edge. Since the edge enhancement processing by the image processing means is prohibited by determining the pixel, it is possible to more appropriately prevent the edge enhancement processing from being performed on the boundary pixel between the normal pixel and the abnormal pixel, thereby further improving the image quality. Can be improved.
[0085]
According to the image processing apparatus of the third aspect, the image processing means performs MTF correction by filter operation on the image data of the document output from the image reading means as edge enhancement processing, and the control means performs the image of the boundary pixel. Since the edge enhancement process is prohibited by setting the MTF correction by the processing means to OFF, the edge enhancement process is performed on the boundary pixel between the normal pixel and the abnormal pixel even when the MTF correction is performed as the edge enhancement process. This can be prevented more appropriately, and the image quality can be further improved.
[0086]
According to the image processing apparatus of the invention of claim 4, after the image processing means performs the edge enhancement processing, the image data is bit-converted to a second bit number different from the bit number output by the image reading means, Since the control means outputs the image data bit-converted by the bit conversion means to the output means for outputting in a predetermined format by the second number of bits, even when performing bit conversion, for example, black and white binarization conversion, etc. Further, it is possible to prevent boundary pixels from being emphasized by bit conversion and to generate abnormal images such as vertical stripes, and to improve image quality.
[Brief description of the drawings]
FIG. 1 is a main circuit block diagram of a copying apparatus to which a first embodiment of an image processing apparatus of the present invention is applied.
FIG. 2 is a flowchart showing abnormal pixel detection / correction processing by the copying apparatus of FIG. 1;
3 is a diagram showing an example of image data of a document having abnormal pixels read by the scanner unit of FIG. 1;
4 is a diagram showing an example of image data when edge enhancement processing is performed only by performing abnormality correction processing on the image data of FIG. 3; FIG.
5 is a view showing an example of image data when the image data of FIG. 3 is subjected to abnormality correction processing and edge enhancement processing is applied to edge pixels other than the boundary pixels between normal pixels and abnormal pixels.
FIG. 6 is a diagram showing an example of a matrix provided in an image processing unit of a copying apparatus to which a second embodiment of the image processing apparatus of the present invention is applied.
FIG. 7 is a flowchart showing abnormal pixel detection / correction processing by the copying apparatus to which the second embodiment of the image processing apparatus of the present invention is applied;
FIG. 8 is a flowchart showing abnormal pixel detection / correction processing by the copying apparatus to which the third embodiment of the image processing apparatus of the present invention is applied;
[Explanation of symbols]
1 Copying machine
2 Scanner section
3 Anomaly detector
4 Abnormality correction part
5 Image processing section
6 Output section
7 Memory part
8 Control unit
9 Bus

Claims (4)

所定の白基準部材及び原稿を主走査及び副走査して所定解像度の画素に分解して読み取るとともに、ディジタル変換して所定ビットの画像データとして出力する画像読取手段と、前記白基準部材を読み取ったときの前記画像読取手段の出力する前記画像データから異常画素を検出する異常画素検出手段と、前記原稿を読み取ったときの前記画像読取手段の出力する前記画像データのうち前記異常画素検出手段の検出した前記異常画素に対応する位置の画素を当該画素の周辺画素データに基づいて補正する異常補正手段と、前記画像読取手段の出力する前記原稿の画像データ及び前記異常補正手段で補正された前記画像データの前記原稿の画像のエッジ部に対応する位置の前記画素にエッジ強調処理を施す画像処理手段と、前記原稿の読み取りに際して、前記異常画素検出手段の検出結果に基づいて前記異常画素と正常画素との境界を判別して、当該境界画素に対する前記画像処理手段による前記エッジ強調処理を禁止する制御手段と、を備えたことを特徴とする画像処理装置。A predetermined white reference member and an original are scanned in the main scanning and sub-scanning to be decomposed into pixels having a predetermined resolution and read out, and digitally converted and output as image data of predetermined bits, and the white reference member is read Detection of abnormal pixels from the image data output by the image reading means, and detection of the abnormal pixel detection means among the image data output by the image reading means when the original is read An abnormal correction unit that corrects a pixel at a position corresponding to the abnormal pixel based on peripheral pixel data of the pixel, image data of the document output by the image reading unit, and the image corrected by the abnormal correction unit Image processing means for performing edge emphasis processing on the pixel at a position corresponding to an edge portion of the image of the original of the data, and reading of the original And determining a boundary between the abnormal pixel and the normal pixel based on a detection result of the abnormal pixel detection unit, and prohibiting the edge enhancement processing by the image processing unit for the boundary pixel; An image processing apparatus comprising the image processing apparatus. 前記画像処理手段は、前記原稿の画像のエッジ部を検出して前記原稿の画像データのエッジ画素と非エッジ画素の判定を行うエッジ検出手段をさらに備え、当該エッジ検出手段が前記エッジ画素と判定した前記画素に対して前記エッジ強調処理を施し、前記制御手段は、前記エッジ検出手段が前記エッジ画素であると判定した前記画素が前記境界画素であると、前記エッジ検出手段に前記境界画素を前記非エッジ画素と判定させて、前記画像処理手段による前記エッジ強調処理を禁止することを特徴とする請求項1記載の画像処理装置。The image processing means further includes edge detection means for detecting an edge portion of the image of the document and determining edge pixels and non-edge pixels of the image data of the document, and the edge detection means determines that the edge pixel is the edge pixel. The edge enhancement processing is performed on the pixel, and the control means determines that the edge detection means determines that the edge detection means is the edge pixel. The image processing apparatus according to claim 1, wherein the edge enhancement processing by the image processing unit is prohibited by determining that the pixel is a non-edge pixel. 前記画像処理手段は、前記エッジ強調処理として前記画像読取手段の出力する前記原稿の画像データにフィルタ演算によるMTF補正を行い、前記制御手段は、前記境界画素の前記画像処理手段による前記MTF補正をオフに設定して、前記エッジ強調処理を禁止することを特徴とする請求項1記載の画像処理装置。The image processing means performs MTF correction by filtering on the original image data output from the image reading means as the edge enhancement processing, and the control means performs the MTF correction by the image processing means on the boundary pixels. The image processing apparatus according to claim 1, wherein the edge enhancement processing is prohibited by setting to off. 前記画像処理装置は、前記画像データを前記画像読取手段の出力するビット数と異なる第2のビット数により所定形式で出力する出力手段をさらに備え、前記画像処理手段は、前記エッジ強調処理を行った後、前記画像データを前記第2のビット数にビット変換するビット変換手段をさらに備え、前記制御手段は、前記ビット変換手段のビット変換した前記画像データを前記出力手段に出力させることを特徴とする請求項1から請求項3のいずれかに記載の画像処理装置。The image processing apparatus further includes output means for outputting the image data in a predetermined format with a second bit number different from the bit number output by the image reading means, and the image processing means performs the edge enhancement process. And further comprising bit conversion means for bit-converting the image data into the second number of bits, wherein the control means causes the output means to output the image data bit-converted by the bit conversion means. The image processing apparatus according to any one of claims 1 to 3.
JP36501897A 1997-12-19 1997-12-19 Image processing device Expired - Fee Related JP3784518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36501897A JP3784518B2 (en) 1997-12-19 1997-12-19 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36501897A JP3784518B2 (en) 1997-12-19 1997-12-19 Image processing device

Publications (2)

Publication Number Publication Date
JPH11187271A JPH11187271A (en) 1999-07-09
JP3784518B2 true JP3784518B2 (en) 2006-06-14

Family

ID=18483232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36501897A Expired - Fee Related JP3784518B2 (en) 1997-12-19 1997-12-19 Image processing device

Country Status (1)

Country Link
JP (1) JP3784518B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6537699B2 (en) 2016-03-03 2019-07-03 株式会社Pfu Image reading apparatus, control method and control program
JP6099783B1 (en) 2016-03-03 2017-03-22 株式会社Pfu Image reading apparatus, control method, and control program
CN113530528B (en) * 2020-04-13 2024-06-11 中国石油化工股份有限公司 Abnormal data detection and repair method and system based on while-drilling electrical imaging image

Also Published As

Publication number Publication date
JPH11187271A (en) 1999-07-09

Similar Documents

Publication Publication Date Title
JP4912270B2 (en) Image processing apparatus and control method thereof
JP3754870B2 (en) Image reading apparatus, shading correction method, and storage medium
JP2005094740A (en) Image processing apparatus, image forming apparatus and image processing method
US7474437B2 (en) Image processing method and apparatus
JP3568732B2 (en) Image processing device
JP3784518B2 (en) Image processing device
JPH08235355A (en) Picture processor
JP3985985B2 (en) Image reading apparatus and image processing apparatus including the image reading apparatus
JPH10294870A (en) Image processing unit
JP2005094214A (en) Image scanner, and shading correction method thereof
JP2004104635A (en) Image processing apparatus
JP3480887B2 (en) Image processing apparatus and image processing method
JP3137702B2 (en) Image processing device
JP3756318B2 (en) Image processing device
JP5697544B2 (en) Image processing apparatus and image processing method
JP3780664B2 (en) Image processing apparatus and image processing method
JPS6250013B2 (en)
JPH0898022A (en) Image reader and image reading method
JP3032238B2 (en) Image processing device
JP2682985B2 (en) Image processing method
JPH10233925A (en) Image reader
JP2737915B2 (en) Image input device
JPH0197066A (en) Picture processing method
JP3792400B2 (en) Image processing device
JP2670778B2 (en) Halftone image separation processor

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060315

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100324

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110324

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120324

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130324

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140324

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees