JP3966440B2 - Image processing method, image processing apparatus, and storage medium - Google Patents

Image processing method, image processing apparatus, and storage medium Download PDF

Info

Publication number
JP3966440B2
JP3966440B2 JP2000106453A JP2000106453A JP3966440B2 JP 3966440 B2 JP3966440 B2 JP 3966440B2 JP 2000106453 A JP2000106453 A JP 2000106453A JP 2000106453 A JP2000106453 A JP 2000106453A JP 3966440 B2 JP3966440 B2 JP 3966440B2
Authority
JP
Japan
Prior art keywords
white background
pixel
quantization
edge
processing
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
JP2000106453A
Other languages
Japanese (ja)
Other versions
JP2001292320A (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 JP2000106453A priority Critical patent/JP3966440B2/en
Publication of JP2001292320A publication Critical patent/JP2001292320A/en
Application granted granted Critical
Publication of JP3966440B2 publication Critical patent/JP3966440B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color, Gradation (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル複写機、プリンタ、ファクス、ディスプレイなどの多階調画像データを扱う各種装置に係り、特に、多階調画像データの量子化に誤差拡散法を利用する画像処理方法及び装置に関する。
【0002】
【従来の技術】
画像形成に関わる画像処理装置における代表的な中間調処理方法として、ディザ法と誤差拡散法がある。
【0003】
ディザ法は粒状性に優れ、中間調画像をなめらかに表現できるという長所があるが、短所もある。例えば、階調性を得るために解像性が劣化する。また、周期性画像を発生するディザ法では、網点のような印刷画像に対してモアレが発生しやすい。
【0004】
他方、誤差拡散法は、原画像に忠実な解像性を得ることができ、文字画像の再現に適する。しかし、写真などの中間調画像では、孤立のドットが分散し、あるいは不規則に連結して配置されるために粒状性が悪く、特異なテクスチャが発生する場合がある。また、電子写真方式のプリンタでは、孤立ドットで画像が形成されるために画像が不安定であり、誤差拡散ではその小ドットの比率が増加するため安定性がさらに低下し、濃度ムラによる粒状性の劣化やバンディングが発生しやすい。
【0005】
誤差拡散法に関しては、ドットの不規則な連結によるテクスチャを改善するために、量子化閾値としてディザ閾値を用い、ドットの連結を乱してテクスチャを改善させる方法をはじめとして、以下のような改良技術が提案されている。
(1)疑似輪郭、独特の縞模様の発生の除去を目的として、ディザ閾値を用い、エッジ量が大きいほど誤差の拡散量を多くする(特開平3−34772号)。
(2)非エッジの低濃度部での白抜けを防止し、文字のノッチの発生を防ぐ目的で、画像のエッジ部では固定閾値を用い、非エッジ部では変動閾値を用い、変動閾値のレベルを濃度が低い部分ほど低くする(特許第2755307号)。
(3)3値以上の多値プリンタを用いる場合にモアレと疑似輪郭の発生を防止する目的で、画像のエッジ部で、エッジ量に応じた大きさのディザ信号を画像データに加算し、非エッジ部では固定値を画像データに加算し、この加算後の画像データを固定閾値を用いて多値量子化する(特許2801195号)。
【0006】
【発明が解決しようとする課題】
本発明の目的は、写真や画像平坦部、高線数の網点画像部などは安定性に優れた高品位な画像を形成するとともに、文字や線画のエッジ部、比較的低線数の網点画像部などは解像性の良い画像を形成するための画像処理方法及び装置を提供することにある。
【0007】
【課題を解決するための手段】
本発明の一態様においては、多階調画像データのエッジ検出を行い、その検出結果に対し領域拡張を行うことによって、文字や線画のエッジ部、比較的低線数の網点画像部などはエッジ領域として検出する。また、白地部の画素と非白地部の画素を判別する。多階調画像データの量子化は誤差拡散法によって行うが、その量子化閾値として、基本的には、エッジ領域の画素に関しては固定値を用い、非エッジ領域の画素に関しては周期的に振動する量子化閾値を用いる。こうすることによって、写真や画像平坦部、高線数網点画像部などはディザ基調の粒状性、安定性が優れた画像を形成することができ、かつ、文字や線画のエッジ部、比較的低線数の網点画像部などは誤差拡散基調の解像性の優れた画像を形成することができるが、実施例に関連して後述するように、領域拡張に関連して白地平坦部に縁取り状のノイズが発生することがあり得る。このようなノイズの発生を阻止するため、白地部とみなし得る画素に関しては、非エッジ領域であっても量子化閾値として固定値を用いる。
【0008】
他の態様によれば、同様に、エッジ領域の画素に関しては量子化閾値を固定し、非エッジ領域の画素に関しては量子化閾値を周期的に振動させるが、白地部の画素に関しては量子化データを強制的に白値に設定することによって、前述の不要なノイズの発生を阻止する。このような強制的な白値への設定のための手段の構成によっては、白値設定によって蓄積された誤差の解消が遅れ低濃度の画像開始部における濃度発生が遅れる恐れがある。この場合には、そのような濃度発生の遅れを防止するため、白地部の画素に関し算出された量子化誤差をランダム値に置き換える。
【0009】
本発明の他の態様によれば、領域拡張に関連して白地平坦部における不要なノイズの発生を阻止するため、白地部の画素に関しては、領域拡張の結果ではなく、エッジ検出の結果に基づいて量子化閾値を制御する。
【0010】
本発明の他の態様においては、エッジ部や非エッジ部の境界が違和感なく整合した滑らかな画像を形成できるようにするため、エッジ検出でエッジ/非エッジではなく各画素のエッジ度合を検出し、エッジ度合に応じて量子化閾値の振動幅の制御を行うが、その詳細については実施例に関連して後述する。
【0011】
【発明の実施の形態】
以下、添付図面を参照して、本発明の実施の形態について説明する。なお、説明の重複を避けるため、添付図面中の複数の図面において同一部分又は対応部分に同一の参照番号を用いる。
【0012】
《実施例1》
図1に、本発明の実施例1による画像処理装置のブロック構成を示す。この画像処理装置は、多階調の画像データ100を受け取り、その量子化データ101を出力するもので、量子化処理部120、画像特徴抽出部130、量子化閾値発生部140、量子化処理部120と画像特徴抽出部130とのタイミング調整のための信号遅延部150、白地部判定部160、選択部161から構成される。信号遅延部150は必要に応じて設けられるものであり、例えば所要ライン数のラインメモリである。入力される画像データ100は、例えばスキャナによって600dpiで読み取られた8ビット/画素のデータである。一般に、このような画像データ100は、中間調を滑らかに表現するために平滑化フィルタを通してから入力される。通常、150Lpi程度の画像周期から平滑化されるため、グラビア印刷などで用いられる175Lpi以上の高線数網点画像の周期性成分は画像データ100には残っていない。
【0013】
量子化処理部120は、選択部161より与えられる量子化閾値を用いて多階調の画像データを誤差拡散法により量子化するものであり、本実施例においては図示のように、量子化器(比較器)121、誤差計算部122、誤差記憶部123、誤差拡散マトリクス部124、誤差加算部125からなる。画像データ100は、信号遅延部150によってタイミングを調整されて誤差加算部125に入力される。誤差加算部115によって拡散誤差を加算された画像データは量子化器121に入力する。量子化器121は、入力した画像データを量子化閾値を用いて量子化し、量子化結果を量子化データ101として出力する。
【0014】
説明を簡単にするため、本実施例及び後記各実施例においては、選択部161を介して供給される量子化閾値は1本だけであり、量子化器121は入力した画像データが量子化閾値以上であるときに”1”、そうでなければ”0”の値をとる1ビットの量子化データ101を出力するものとして説明するが、これに限られるものではない。例えば、3本の量子化閾値を生成し、量子化器121でそれら量子化閾値を用いて画像データを4レベルに量子化し、2ビットの量子化データ101を出力するような構成とすることもできる。
【0015】
誤差計算部122は量子化器121の量子化誤差を算出するものである。ここでは8ビットの画像データを扱っているため、この誤差計算においては、例えば、量子化データ101の”1”を255(10進)、”0”を0(10進)として扱う。算出された量子化誤差は誤差記憶部123に一時的に記憶される。この誤差記憶部123は、注目画素の周辺の処理済み画素に関する量子化誤差を保存するためのものである。本実施例では、次に述べるように量子化誤差を2ライン先の周辺画素まで拡散させるため、例えば2ラインのラインメモリが誤差記憶部123として用いられる。
【0016】
誤差拡散マトリクス部124は、誤差記憶部123に記憶されている量子化誤差データから次の注目画素に加算する拡散誤差を計算するものである。本実施例では、誤差拡散マトリクス部125は、図2に示すような副走査方向が3画素、主走査方向が5画素のサイズの誤差拡散マトリクスを用いて拡散誤差データを算出する。図2において、*印は次の注目画素の位置に相当し、a,b,...,k,lは周辺の12個の処理済み画素の位置に対応した係数(総和は32)である。誤差拡散マトリクス部125では、それら12個の処理済み画素に対する量子化誤差と対応した係数a〜lとの積和を32で除した値を、次の注目画素に対する拡散誤差として誤差加算部125に与える。
【0017】
画像特徴抽出部130は、エッジ検出部131と領域拡張処理部132からなる。エッジ検出部131は、画像データ100のエッジ検出を行うものである。本発明の他の態様では、エッジ検出部131はエッジ/非エッジのみを判別するが、本実施例及び後記各実施例にあっては、エッジ検出部131は各画素のエッジ度合を検出する。本実施例においては、エッジ検出部131は、エッジ度合をレベル0(エッジ度合最大)からレベル8(エッジ度合最小、非エッジ)までの9レベルに量子化し、それを4ビットのエッジデータとして出力する。より具体的には、例えば図3に示す4種類の5×5の微分フィルタを用いて、主走査方向、副走査方向、主走査方向から±45゜傾いた方向の4方向についてエッジ量を検出し、その中で絶対値が最大のエッジ量を選び、そのエッジ量の絶対値をレベル0からレベル8までの9レベルのエッジレベルに量子化して出力する。
【0018】
領域拡張処理部132は、エッジ検出部131により検出されたエッジの領域拡張を行うもので、本実施例では、領域拡張幅は7画素幅である。すなわち、エッジ検出部131より出力されたエッジデータを参照し、注目画素の周囲の7×7画素の領域(主走査方向の前後3画素、副走査方向の前後3画素の範囲)の中で最小のエッジレベル(最大のエッジ度合)を注目画素のエッジレベルとして、それを4ビットのエッジデータとして出力する。このエッジデータは、量子化閾値発生部140に与えられる。
【0019】
量子化閾値発生部140は、領域拡張処理部132より出力されたエッジデータで表されるエッジレベルに応じた振動幅で、画像空間上で周期的に振動する量子化閾値を生成するもので、ディザ閾値発生部141と、このディザ閾値発生部141の出力値に、エッジデータで示されるエッジレベルに対応した係数(0〜8)を掛ける乗算部142、乗算部142の出力値に固定値を加算する加算部143から構成される。
【0020】
本実施例では、ディザ閾値発生部141は、図4に示すような−7から+8までの閾値を小さいものから順に(−7が最小、+8が最大)内側から外側へ時計回りの渦巻き状に配置した4×4のディザ閾値マトリクスを用い、画像空間上で周期的に−7から+8まで振動するディザ閾値を出力する。ディザ閾値周期は4画素で、これは600dpiの画像形成の場合には150Lpiに相当する。このようなディザ閾値発生部141は、上記ディザ閾値マトリクスを格納したROMと、画像データの主,副走査のタイミング信号をカウントして、このROMの読み出しアドレスを発生するカウンタなどによって容易に実現できる。
【0021】
乗算部142は、画像特徴抽出部130からのエッジデータで示されるエッジレベルがレベル8(非エッジ)の時に係数8を、レベル7の時に係数7を、レベル6の時に係数6を、レベル5の時に係数5を、レベル4の時に係数4を、レベル3の時に係数3を、レベル2の時に係数2を、レベル1の時に係数1を、レベル0(エッジ度合最大)の時に係数0を、ディザ閾値発生部141の出力値に乗じる。したがって、乗算部142の出力値はエッジレベル8(非エッジ)の時に+64から−56までの最大の振動幅で振動する。加算部143で加算される固定値は画像データ幅の中央値の+128(10進)に選ばれる。よって、量子化器121に与えられる量子化閾値は、+128を中心として振動し、その最大の振動幅は120(+192から72まで)である。
【0022】
白地部判定部160は、画像データ100の白地部の画素と非白地部の画素を判別するものである。判別方法は、注目画素の画像データレベルが、所定の判定閾値以下の場合に白地部の画素と判定し、判定閾値を超える場合に非白地部の画素と判定する方法を用いることができる。しかし、白地部内で局所的に画像データレベルが判定閾値を超えた場合にも正しい判定を可能にするためには、注目画素を中心とした例えば3×3領域の画像データレベルの平均値を判定閾値と比較し、平均値が判定閾値以下の場合に白地部の画素とし、平均値が判定閾値を超えた場合に非白地部の画素とする判定方法を用いるとよい。なお、画像データ100が0から255までの値をとる256階調の場合には、判定閾値として例えば5、あるいは、それより若干大き値又は小さな値を用いることができる。
【0023】
この白地判定部160の判定出力は選択部161に与えられる。この判定出力が非白地部の画素を指示している場合には、選択部161は量子化閾値発生部140によって生成された量子化閾値を選択し、それを量子化器121へ量子化閾値として与えるが、判定出力が白地部の画素を指示している場合には、選択部161は所定の固定値(ここでは+128)を選択し、それを量子化閾値として量子化器121へ与える。このような量子化閾値の切り替え制御は、後述するような領域拡張に関連した不要ノイズの発生を抑止するために行われる。
【0024】
以上のように構成された画像処理装置の量子化データ101を例えば電子写真方式のプリンタなどに与えれば、文字、画像の変化点や比較的低線数の網点画像部などは解像性が良く、写真、画像の変化の少ない部分、高線数の網点画像などは滑らかで安定性が良く、それら領域が違和感なく整合した高品位な画像を形成可能である。これについて以下説明する。
【0025】
ここでは、説明を煩雑にしないため、量子化閾値発生部140により生成された量子化閾値が選択部161によって選択されるものと仮定する。
【0026】
画像中の文字や線画のエッジ部のような変化が急峻でエッジレベルがレベル0(エッジ度合最高)となるエッジ領域では、量子化閾値発生部140で生成される量子化閾値は+128に固定されるため、量子化処理部120で固定閾値を用いた純粋な誤差拡散法による量子化処理が行われるため、解像性の良い誤差拡散基調の画像を形成できる。
【0027】
写真や画像の平坦部のようにエッジ度合が最小(エッジレベルが最大)の非エッジ領域では、量子化閾値発生部140によって生成される量子化閾値の振動幅が最大になるため、量子化処理部120の量子化処理はディザ基調の処理となり、画像データはディザ閾値周期で網点化され、粒状性、安定性の良好な画像が形成される。
【0028】
また、本実施例の画像処理装置においては、エッジ領域と非エッジ領域の境界部分ではエッジ度合に応じて量子化閾値の振動幅が徐々に増減させられ、誤差拡散主体の処理からディザ主体の処理へ、あるいは、その逆向きに量子化処理の特性が滑らかに切り替えられる。したがって、エッジ領域と非エッジ領域の境界部分が違和感なく整合した画像を形成することができる。
【0029】
さて、画像特徴抽出部130の領域拡張処理部132は、エッジ検出結果に対し7画素幅の領域拡張を行うが、600dpiの画像形成の場合、この7画素の領域拡張幅は画像空間上で約0.3mmにあたり、これは約86Lpiの網点周期に相当する。したがって、86Lpi以上の比較的低線数の網点画像部はエッジ領域として評価され、量子化処理部120において固定した量子化閾値を用いた誤差拡散処理が行われることになるため、網点を高い解像度で忠実に再現でき、モアレも発生しない。
【0030】
また、前述のように、175Lpi以上の高線数の網点成分は平滑化され画像データ100には残らないため、そのような高線数の網点画像部はエッジレベルがレベル8又は高いレベルとなり、画像平坦部と同様に大きな振動幅の量子化閾値を用いたディザ基調の処理によってディザ閾値周期(150Lpi)で再網点化され、粒状性及び安定性の優れた画像を形成することができ、また画像データ100から網点成分が失われているためモアレも発生しない。
【0031】
86Lpi未満の低線数の網点画像では、エッジとして評価される網点境界部は固定した量子化閾値を用いた誤差拡散主体の処理が行われるため網点を忠実再現し、かつモアレの発生を防止でき、また、エッジ領域として評価されない網点中央部は、振動する量子化閾値を用いたディザ基調の処理が行われるため安定性及び粒状性の良好な画像を形成できる。
【0032】
次に、選択部161の作用について、図5を参照し説明する。図5の(a)は、画像特徴抽出部130においてエッジ領域の拡張を行う関係で不要ノイズが発生しやすい典型的な原画像の例を示している。この原画像は、領域拡張によってエッジ領域と評価される比較的低線数の網点部、エッジ部、白地部がこの順に配置された画像である。選択部161による量子化閾値の切り替え制御を行わない場合、図5(a)の原画像の多階調画像データを処理すると、図5の(b)に示すように出力画像の白地部に縁取り状の不要ドットが表れる。その原因は次の通りである。
【0033】
領域拡張処理部132の領域拡張処理によって、原画像の白地部のエッジ部寄りの7ラインの範囲はエッジ領域と評価され、固定量子化閾値による誤差拡散処理が施される。次のラインからは、大きな振動幅で振動する量子化閾値によるディザ基調の処理に切り替わる。本来のエッジ領域(図5(a)に示すエッジ部)での誤差拡散処理によってプラス方向の量子化誤差が多く蓄積されるような状況では、白地部に入っても誤差の加算によって量子化器121の入力画像データが比較的高いレベルになる。領域拡張によってエッジ領域とされるエッジ部寄りの7ラインでは、量子化閾値は+128に固定されるため、画像データレベルが量子化閾値を超えることはない。しかし、ディザ基調の処理に切り替わる8ライン目では量子化閾値が大きな振動幅で振動するため、量子化閾値が小さい値になった時に、誤差加算後の画像データレベルが量子化閾値を超えて量子化データ101が”1”になり、これが不要ドットとして出力されるのである。このような不要ドットの発生は、量子化閾値の振動幅が大きいほど起こりやすい。また、量子化レベル数が多いほど、低レベルの量子化閾値が用いられるため不要ドットが発生しやすい。
【0034】
本実施例の画像処理装置においては、白地部の処理時に、白地判定部160の判定出力に応じて選択部161が固定値の+128を選択し、それを量子化閾値として量子化器121に供給する。したがって、白地部内において、誤差加算後の画像データレベルが量子化閾値を超えることがなくなり、そのような不要ドットが発生しなくなる。なお、図5の(a)に示した原画像ではエッジ部の上部が比較的低線数の網点部であるが、その部分が平坦部又は高線数網点部であっても同様である。
【0035】
本実施例の変形例によれば、量子化閾値発生部140のディザ閾値発生部141で、図6に示すような8×8のディザ閾値マトリクスが用いられる。このディザ閾値マトリクスは、太線枠で囲んで示した4×4の基本ディザ閾値マトリクス(図4に示したディザ閾値マトリクスと同一のもの)を4個組合せて8×8に拡大したもので、主走査方向に隣接した基本ディザ閾値マトリクスを相対的に副走査方向へ半位相シフトさせた構成である。このようなディザ閾値マトリクスを用いれば、ディザ基調の処理となる画像平坦部などにおいて、網点配置にほぼ63.5゜のスクリーン角が付くため、誤差拡散処理との相性も良好で網点の崩れが少なく、粒状性が良好である。
【0036】
なお、ディザ閾値発生部141は、必ずしも図6に示す8×8のディザ閾値マトリクスを格納したROMを持つ必要はなく、4×4の基本ディザ閾値マトリクスを格納したROMを持ち、その読み出しアドレスの制御によって、図6のディザ閾値マトリクスによる量子化閾値の生成が可能である。
【0037】
《実施例2》
本発明の実施例2によれば、図1に示した全体的構成の画像処理装置において、量子化閾値発生部140が図7に示すような構成とされる。画像特徴抽出部130(図1)のエッジ検出部131は、エッジ度合をレベル0(エッジ度合最大)からレベル3(非エッジ)までの4レベルのエッジレベルに量子化し、それを2ビットのエッジデータとして出力するように変更される。
【0038】
図7に見られるように、本実施例における量子化閾値発生部140は、エッジレベル0に対応した閾値生成部145_0、エッジレベル1に対応した閾値生成部145_1、エッジレベル2に対応する閾値生成部145_2、エッジレベル3に対応する閾値生成部145_3、画像特徴抽出部130より出力されるエッジデータによって示されるエッジレベルに応じて閾値生成部145_0〜145_3のいずれかで生成された閾値を選択し、それを量子化閾値として量子化処理部120(図1)の量子化器121に与える閾値選択部146からなる。
【0039】
エッジレベル3(非エッジ)に対応した閾値生成部145_3は、例えば図4(又は図6)に示したディザ閾値マトリクスの各閾値に8を乗じてから128を加算したディザ閾値マトリクスを用いて、最大の振動幅で振動する閾値を生成する。エッジレベル2に対応した閾値生成部145_2は、例えば図4(又は図6)に示したディザ閾値マトリクスの各閾値に5を乗じてから128を加算したディザ閾値マトリクスを用いて、より小さい振動幅で振動する閾値を生成する。エッジレベル1に対応した閾値生成部145_1は、例えば図4(又は図6)に示したディザ閾値マトリクスの各閾値に2を乗じてから128を加算したディザ閾値マトリクスを用いて、さらに小さい振動幅で振動する閾値を生成する。エッジレベル0(エッジ度合最大)に対応した閾値生成部145_0は、固定値(+128)を生成する。
【0040】
したがって、本実施例においても、前記実施例1(又はその変形例)と同様の量子化処理を行って高品位な画像を形成可能であることは明らかである。
【0041】
本実施例の量子化閾値発生部140の構成によれば、ハードウェア、ソフトウェアのいずれで実現するにしてもコスト又は処理時間の面で一般的に不利な乗算のための手段(図1における乗算部142に相当)を排除できる。また、領域拡張処理部132は、領域拡張幅に対応した複数ライン分のエッジデータを一時的に記憶する必要とするが、エッジデータが2ビットに圧縮される分だけ、その一時記憶のためのラインメモリなどの容量を削減できる。また、エッジレベル数が4と少ないので、閾値生成部145_0〜145_2においてディザ閾値マトリクスの格納のために必要なメモリ量も少なくて済む。
【0042】
なお、領域拡張処理部132のメモリは削減されないが、エッジ検出部131では9レベルのエッジレベルを出力し、領域拡張部132においてエッジレベルを4レベルに変換して出力する構成も可能である。
【0043】
《実施例3》
図8に、本発明の実施例3による画像処理装置のブロック図を示す。図8中の図1と同じ参照符号は同一部分を示す。なお、量子化閾値発生部140は、図1に示した構成でも図7に示した構成でも構わない。
【0044】
本実施例にあっては、量子化処理部120の後段に出力値制御部165が追加される。この出力値制御部165は、白地部判定部160の判定出力が非白地部の画素を指示している時には、量子化処理部120より出力された量子化データ101をそのまま量子化データ102として出力する。しかし、白地部判定部160の判定出力が白地部の画素を指示している時には、出力値制御部165は量子化データ101の値にかかわりなく白値に設定した量子化データ102を出力する。画像形成のための電子写真方式のプリンタなどには、量子化データ102が供給される。
【0045】
このような構成であるため、例えば図5の(a)に示すような原画像の多階調画像データを処理した場合、白地部で量子化データ102が強制的に白値(0)とされ、したがって白地部においてディザ基調の処理に切り替わった部分に図5の(b)に示したような縁取り状の不要ドットは発生しない。
【0046】
《実施例4》
図9に、本発明の実施例4による画像処理装置のブロック構成を示す。量子化閾値発生部140は、図1に示した構成でも図7に示した構成でも構わない。
【0047】
本実施例にあっては、量子化処理部120の量子化器121に白地部判定部160の判定出力が与えられる。そして、白地部判定部160によって白地部の画素と判別された画素については、量子化器121は、画像データレベルと関係なく白値(0)を量子化データ101として出力する。
【0048】
また、量子化処理部120には、ランダム値を発生する乱数発生部127と、誤差記憶部123に書き込まれる誤差として、誤差計算部122で算出された量子化誤差又は乱数発生部127により発生したランダム値を選択する選択部126が追加される。白地部判定部160の判定出力が非白地部の画素を指示する時には、選択部126は誤差計算部122により算出された量子化誤差を選択する。しかし、白地部判定部160の判定出力が白地部の画素を指示する時には、乱数発生部127で発生したランダム値が選択部126により選択される。すなわち、注目画素が白地部の画素である時には、誤差記憶部123に書き込まれる量子化誤差はランダム値によって置き換えられる。
【0049】
このような構成であるため、例えば図5の(a)に示すような原画像の多階調画像データを処理した場合、白地部では量子化データ101は強制的に白値(0)とされ、したがって白地部内においてディザ基調の処理に切り替わった部分に図5の(b)に示したような縁取り状の不要ドットは発生しない。
【0050】
また、白地部の画素に関しては、選択部126によってランダム値が選択され、これが誤差記憶部123に書き込まれる。このようなランダム値による置き換えを行わないと、量子化データ101の強制的な白値設定により、蓄積されている誤差の解消が進まず低濃度の画像開始部での濃度発生が遅れる現象が起きる可能性がある。量子化誤差をランダム値で置き換えることにより、そのような現象を防止できる。
【0051】
《実施例5》
図10に、本発明の実施例5による画像処理装置のブロック構成を示す。図10中の図1と同じ参照番号は同一部分を示す。ただし、量子化閾値発生部140は、図1に示した構成でも図7に示した構成でも構わない。
【0052】
本実施例にあっては、選択部167が追加される。この選択部167は、白地部判定部160の判定出力が非白地部の画素を指示する時には、画像特徴抽出部130の領域拡張処理部132より出力されるエッジデータを量子化閾値発生部140に与える。したがって、前記各実施例と同様に、領域拡張処理後のエッジ度合に応じて量子化閾値の振動幅が制御されることになる。しかし、白地部判定部160の判定出力が白地部の画素を指示する時には、選択部167によって画像特徴抽出部130のエッジ検出部131より出力されるエッジデータが量子化閾値発生部140に与えられるため、領域拡張前のエッジ度合に応じて量子化閾値の振動幅が制御される。
【0053】
このような構成によれば、例えば図5の(a)に示すような原画像の多階調画像データを処理する場合、エッジ部から白地部に入ると直ちに大きな振動幅で振動する量子化閾値を用いたディザ基調の処理に切り替わり、ドットが発生しやすくなる。その結果、たとえエッジ部の処理でプラスの誤差が多く蓄積されたとしても、エッジ部近傍でドットが出力され、図5の(b)に示したような違和感のある縁取り状の不要ドットは発生しなくなる。
【0054】
なお、前述したように、前記各実施例と同様の構成において、画像特徴抽出部でエッジ/非エッジを示す2レベルのエッジデータを出力し、エッジの画素に対しては固定値、非エッジの画素に対しては強振動量子化閾値として用いることも可能である。このようにしても、文字や線画のエッジ部や比較的低線数の網点画像部は解像性が高く、写真や画像平坦部、高線数網点画像部などは粒状性、安定性が良好な画像を形成可能であり、また、図5に関連して説明したような白地部の縁取り状の不要ドットの発生を防止できる。
【0055】
また、前記各実施例の画像処理装置と同等の画像処理を、汎用又は専用コンピュータを用いてプログラムによって実行することも可能である。そのためのプログラムを、例えば、それが記録された磁気ディスク、光ディスク、光磁気ディスク、半導体記憶素子などの各種記憶媒体から読み込み、又は、ネットワークを経由して外部のコンピュータなどから受信し、コンピュータのメインメモリにロードしCPUに実行させるが、このようなプログラムが記録された各種記憶媒体も本発明に包含される。次に、コンピュータを用いプログラムにより処理を実行する形態の実施例について説明する。
【0056】
《実施例6》
図11は本発明の実施例6におけるプログラムの概略フローチャートである。本実施例では、前記実施例1又は2と同等の画像処理を行う。なお、処理対象の多階調画像データは、1フレーム全体が、コンピュータのメインメモリ上のフレームメモリ領域に予め格納されているものとして説明する。また、量子化データ、量子化誤差、エッジデータなどの蓄積のための記憶領域もメインメモリ上に確保されているものとする。
【0057】
まず、注目画素が選択される(ステップ200)。次に、注目画素の画像データレベルと所定の判定閾値との比較により、白地部判定部160と同様の判定が行われる(ステップ204)。
【0058】
注目画素が白地部の画素と判定された場合には、量子化閾値として所定の固定値(例えば+128)が設定され(ステップ212)、この量子化閾値を用いて、量子化処理部120と同様の誤差拡散法による量子化処理が注目画素に対して実行される(ステップ214)。この量子化データと算出された量子化誤差はそれぞれれの記憶域に蓄積される。
【0059】
ステップ204の白地部判定で、注目画素が非白地部の画素と判定された場合には、エッジ検出部131と同様のエッジ検出が行われ(ステップ206)、次に領域拡張処理部132と同様の領域拡張処理が行われる(ステップ210)。なお、領域拡張処理のためには7×7の範囲内のエッジデータが参照されるため、エッジ検出により得られた7ライン分のエッジデータは、そのための記憶域に一時的に保存される。そして、領域拡張処理によって得られた注目画素のエッジデータに従って、量子化閾値発生部140と同様のアルゴリズムで量子化閾値が決定される(ステップ210)。ただし、前述のように、多レベルのエッジ度合検出を行わず、エッジ/非エッジのみのエッジ検出を行い、エッジの画素では量子化閾値を固定値、非エッジの画素では強振幅のディザ閾値とするようにしてもよい。次に、この量子化閾値を用いて誤差拡散法により注目画素が量子化され、得られた量子化データと量子化誤差がそれぞれの記憶域に蓄積される(ステップ214)。
【0060】
以上のようにして1つの注目画素の処理が終わると、次の画素が注目画素として選択され(ステップ200)、ステップ204以降の処理が実行される。同様の処理が繰り返され、フレームの最終画素まで処理が終了すると(ステップ202,YES)、メインメモリ上に蓄積された量子化データが、例えば外部のプリンタ、コンピュータのハードディスクなどへ出力される(ステップ216)。
【0061】
《実施例7》
図12は本発明の実施例7におけるプログラムの概略フローチャートである。本実施例では、前記実施例4と同等の画像処理を行う。なお、処理対象の多階調画像データは、1フレーム全体が、コンピュータのメインメモリ上のフレームメモリ領域に予め格納されているものとして説明する。また、量子化データ、量子化誤差、エッジデータなどの蓄積のための記憶領域もメインメモリ上に確保されているものとする。
【0062】
まず、注目画素が選択される(ステップ250)。次に、注目画素の画像データレベルと所定の判定閾値との比較により、白地部判定部160と同様の判定が行われる(ステップ254)。
【0063】
白地部判定(ステップ254)で、注目画素が非白地部の画素と判定された場合には、エッジ検出部131と同様のエッジ検出が行われ(ステップ256)、次に領域拡張処理部132と同様の領域拡張処理が行われる(ステップ258)。この領域拡張処理によって得られた注目画素のエッジデータに従って、量子化閾値発生部140と同様のアルゴリズムで量子化閾値が決定される(ステップ260)。そして、この量子化閾値を用いて誤差拡散法による量子化処理が行われ、量子化データと量子化誤差がそれぞれの記憶域に蓄積される(ステップ262)。なお、ステップ256でエッジ/非エッジのみのエッジ検出を行い、エッジの画素では量子化閾値を固定値、非エッジの画素では強振幅のディザ閾値とするようにしてもよいことは前述の通りである。
【0064】
ステップ254で注目画素が白地部の画素と判定された場合には、注目画素の量子化データとして白値(0)を量子化データの記憶域に書き込み(ステップ264)、注目画素の量子化誤差としてランダム値を誤差の記憶域に書き込む(ステップ266)。
【0065】
このようにして注目画素に関する処理が終わると、次の画素が注目画素として選択され(ステップ250)、ステップ254以降の処理が実行される。以下同様の処理が繰り返され、フレームの最終画素まで処理が終了すると(ステップ252,YES)、メインメモリ上の記憶域に蓄積された量子化データが、例えば外部のプリンタ、コンピュータのハードディスクなどに出力される(ステップ268)。
【0066】
《実施例8》
図13は本発明の実施例8におけるプログラムの概略フローチャートである。本実施例では、前記実施例5と同等の画像処理を行う。なお、処理対象の多階調画像データは、1フレーム全体が、コンピュータのメインメモリ上のフレームメモリ領域に予め格納されているものとして説明する。また、量子化データ、量子化誤差、エッジデータなどの蓄積のための記憶領域もメインメモリ上に確保されているものとする。
【0067】
まず、注目画素が選択され(ステップ300)、エッジ検出部131と同様のエッジ検出が行われる(ステップ304)。
【0068】
次に、注目画素の画像データレベルと所定の判定閾値との比較により、白地部判定部160と同様の判定が行われる(ステップ306)。白地部の画素と判定された場合には、ステップ304で得られたエッジデータに従って量子化閾値発生部140と同様のアルゴリズムで量子化閾値が決定される(ステップ310)。そして、この量子化閾値を用いて誤差拡散法による量子化処理が行われ、量子化データと量子化誤差がそれぞれの記憶域に蓄積される(ステップ312)。
【0069】
ステップ306で注目画素が非白地部の画素と判定された場合には、領域拡張処理部132と同様の領域拡張処理が行われる(ステップ308)。この領域拡張処理によって得られた注目画素のエッジデータに従って、量子化閾値発生部140と同様のアルゴリズムで量子化閾値が決定され(ステップ310)、この量子化閾値を用いて誤差拡散法による量子化処理が行われ、量子化データと量子化誤差がそれぞれの記憶域に蓄積される(ステップ312)。なお、ステップ304でエッジ/非エッジのみのエッジ検出を行い、エッジの画素では量子化閾値を固定値、非エッジの画素では強振幅のディザ閾値とすることの可能であることは前述の通りである。
【0070】
このようにして注目画素に関する処理が終わると、次の画素が注目画素として選択され(ステップ300)、ステップ304以降の処理が実行される。以下同様の処理が繰り返され、フレームの最終画素まで処理が終了すると(ステップ302,YES)、メインメモリに蓄積された量子化データが、例えば外部のプリンタ、コンピュータのハードディスクなどに出力される(ステップ314)。
【0071】
本発明の画像処理方法又は装置は、プリンタ、ディスプレイ等の画像形成に関連した機器や、画像読み取りと画像形成の両方に関連したデジタル複写機やファクス装置のような機器に実装することができる。そのような実施形態の一例として、本発明を適用したデジタル複写機の実施例について次に説明する。
【0072】
《実施例9》
図14は、デジタル複写機の画像読み取り機構及び画像形成機構の構成例を示す概略断面図である。このデジタル複写機は、原稿を光学的に走査して読み取るスキャナ部400と、画像形成部としてのレーザプリンタ部411と、不図示の回路部550(図15)とを有する。
【0073】
スキャナ部400は、平坦な原稿台403上に載置された原稿を照明ランプ502により照明し、その反射光像をミラー503,504,505およびレンズ506を介してCCDなどのイメージセンサ507に結像するとともに、照明ランプ502及びミラー503〜505の移動により原稿を副走査することにより、原稿の画像情報を読み取る。イメージセンサ507より出力されるアナログ画像信号は回路部550(図15)に入力されて処理される。レーザプリンタ部411へは、回路部550から出力される画像データが入力される。
【0074】
レーザプリンタ部411においては、書き込み光学ユニット508が、回路部550から入力した画像データを光信号に変換して、感光体からなる像担持体、例えば感光体ドラム509を露光することにより、原稿画像に対応した静電潜像を形成する。書き込み光学ユニット508は、例えば、半導体レーザを発光駆動制御部で上記画像データにより駆動して強度変調されたレーザ光を出射させ、このレーザ光を回転多面鏡510により偏向走査してf/θレンズ及び反射ミラー511を介し感光体ドラム509へ照射する。感光体ドラム509は、駆動部により回転駆動されて矢印で示すように時計方向に回転し、帯電器512により一様に帯電された後に、書き込み光学ユニット508により露光され、静電潜像を形成される。この感光体ドラム509上の静電潜像は、現像装置513により現像されてトナー像となる。また、複数の給紙部514〜518、手差し給紙部519のいずれかより用紙がレジストローラ520へ給紙される。レジストローラ520は、感光体ドラム509上のトナー像にタイミングに合わせて用紙を送出する。転写ベルト521は転写電源から転写バイアスを印加され、感光体ドラム509上のトナー像を用紙へ転写させるとともに用紙を搬送する。トナー像を転写された用紙は、転写ベルト521により定着部522へ搬送されてトナー像が定着された後、排紙トレイ523へ排出される。また、感光体ドラム509は、トナー像転写後にクリーニング装置524によりクリーニングされ、さらに除電器525により除電されて次の画像形成動作に備える。
【0075】
図15は、このデジタル複写機の回路部550の一例を簡略化して示すブロック図である。この回路部550の入力は、スキャナ部400のイメージセンサ507によって、例えば600dpiで読み取られたアナログ画像信号である。このアナログ画像信号は、AGC回路551によってレベルを調整された後、A/D変換回路552により1画素当たり8bitのデジタル画像データに変換され、さらに、シェーディング補正回路553によってイメージセンサ507の画素毎の感度や照度のばらつきが補正される。
【0076】
シェーディング補正後の画像データは、フィルタ処理回路556に送られ、MTF補正と平滑化のためのフィルタ処理を施される。このフィルタ処理によって、前述のように150Lpi程度より高線数の網点成分は平滑化され、175Lpi以上の高線数の網点成分はほぼ完全に除去される。フィルタ処理後の画像データはガンマ補正回路555へ送られ、書き込み濃度に変換するためのガンマ補正を施される。
【0077】
560は中間調処理部である。この中間調処理部560は本発明の画像処理装置、例えば前記実施例1、2、3、4又は5の画像処理装置からなる。フィルタ処理後の画像データは画像処理装置の画像特徴抽出部(130)に入力され、ガンマ補正後の画像データは画像処理装置の信号遅延部(150)を介して量子化処理部(120)に入力される。中間調処理部560より出力される量子化データは、書き込み光学ユニット508内の半導体レーザの発光駆動制御部へ送られる。ただし、中間調処理部560は、前記実施例6、7又は8のように、コンピュータを用いプログラムにより実現してもよい。この場合、フィルタ処理回路554及びガンマ補正色555もプログラムで実現することも可能である。
【0078】
なお、デジタル複写機においては、画像データの主走査方向の変倍処理が例えばガンマ補正回路555の前段で行われたり、地肌除去処理やフレア除去処理などの処理が例えばガンマ補正回路555と中間調処理部560の中間で行われたり、90゜回転処理が例えばフィルタ処理回路554の前段又は中間調処理部560の後段で行われたりすることがあるが、その説明は割愛する。
【0079】
【発明の効果】
以上の説明から明らかなように、請求項1,3,7又は10記載の発明によれば、文字や画像の変化点や比較的低線数の網点画像部は解像性が高く、写真や画像の変化の少ない部分や高線数の網点画像部は粒状性、安定性に優れた画像を形成可能であり、また、白地平坦部に違和感のある縁取り状の不要ドットの発生を防止できる。請求項2,4,8,9,11又は12記載の発明によれば、文字や画像の変化点や比較的低線数の網点画像部は解像性が高く、写真や画像の変化の少ない部分や高線数の網点画像部は粒状性、安定性に優れ、かつ、両方の領域が違和感なく整合した高品位な画像を形成でき、また、白地平坦部に違和感のある縁取り状の不要ドットの発生を防止できる。請求項5記載の発明によれば、白地部にノイズがあるような場合でも、白地部の画素を確実に判別して適切な処理を行うことができる。請求項6記載の発明によれば、コンピュータを利用して本発明の画像処理方法を容易に実施できる、等々の効果を得られる。
【図面の簡単な説明】
【図1】本発明の実施例1のブロック図である。
【図2】誤差拡散マトリクスの一例を示す図である。
【図3】エッジ検出のための微分フィルタの例を示す図である。
【図4】実施例1において量子化閾値生成のために用いられるディザ閾値マトリクスを示す図である。
【図5】白地平坦部の縁取り状不要ドットの発生を説明するための図である。
【図6】実施例1の変形例で量子化閾値生成のために用いられるディザ閾値マトリクスを示す図である。
【図7】本発明の実施例2における量子化閾値発生部のブロック図である。
【図8】本発明の実施例3のブロック図である。
【図9】本発明の実施例4のブロック図である。
【図10】本発明の実施例5のブロック図である。
【図11】本発明の実施例6のフローチャートである。
【図12】本発明の実施例7のフローチャートである。
【図13】本発明の実施例8のフローチャートである。
【図14】本発明の実施例9によるデジタル複写機の画像読み取り及び画像形成に関連した機構の構成例を示す概略断面図である。
【図15】実施例9によるデジタル複写機の回路部のブロック図である。
【符号の説明】
100 多階調の画像データ
101 量子化データ
120 量子化処理部
121 量子化器
122 誤差計算部
123 誤差記憶部
124 誤差拡散マトリクス部
125 誤差加算部
126 選択部
127 乱数発生部
130 画像特徴抽出部
131 エッジ検出部
132 領域拡張処理部
140 量子化閾値発生部
141 ディザ閾値発生部
142 乗算部
143 加算部
145_0〜145_3 閾値生成部
146 閾値選択部
150 信号遅延部
160 白地部判定部
161 選択部
165 出力値制御部
167 選択部
400 スキャナ部
411 レーザプリンタ部
551 AGC回路
552 A/D変換回路
553 シェーディング補正回路
556 フィルタ処理回路
557 ガンマ補正回路
560 中間調処理部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to various apparatuses that handle multi-gradation image data such as digital copying machines, printers, fax machines, and displays, and more particularly to an image processing method and apparatus that uses an error diffusion method for quantization of multi-gradation image data. .
[0002]
[Prior art]
As a typical halftone processing method in an image processing apparatus related to image formation, there are a dither method and an error diffusion method.
[0003]
The dither method has an advantage that it has excellent graininess and can express a halftone image smoothly, but it also has a disadvantage. For example, resolution is deteriorated to obtain gradation. In addition, in the dither method for generating a periodic image, moire tends to occur on a printed image such as a halftone dot.
[0004]
On the other hand, the error diffusion method can obtain a resolution that is faithful to the original image and is suitable for reproducing a character image. However, in a halftone image such as a photograph, isolated dots are dispersed or irregularly connected to each other, so that granularity is poor and a peculiar texture may occur. In addition, in an electrophotographic printer, the image is unstable because an image is formed with isolated dots, and in error diffusion, the ratio of the small dots increases, so the stability further decreases, and graininess due to density unevenness Deterioration and banding are likely to occur.
[0005]
Regarding the error diffusion method, in order to improve the texture due to the irregular connection of dots, the dither threshold is used as the quantization threshold, and the following improvements including the method of improving the texture by disturbing the dot connection Technology has been proposed.
(1) A dither threshold is used for the purpose of eliminating the occurrence of pseudo contours and unique stripe patterns, and the amount of error diffusion is increased as the edge amount increases (Japanese Patent Laid-Open No. 3-34772).
(2) For the purpose of preventing white spots in a non-edge low density portion and preventing occurrence of a character notch, a fixed threshold is used in the edge portion of the image, a variation threshold is used in the non-edge portion, and the level of the variation threshold The lower the concentration, the lower the value (Japanese Patent No. 2755307).
(3) When using a multi-value printer of three or more values, a dither signal having a magnitude corresponding to the edge amount is added to the image data at the edge portion of the image for the purpose of preventing the occurrence of moire and pseudo contour. In the edge portion, a fixed value is added to the image data, and the added image data is subjected to multi-value quantization using a fixed threshold value (Japanese Patent No. 2801195).
[0006]
[Problems to be solved by the invention]
An object of the present invention is to form a high-quality image having excellent stability in a photograph, a flat image portion, a high-dot halftone dot image portion, etc. A point image section or the like is to provide an image processing method and apparatus for forming an image with high resolution.
[0007]
[Means for Solving the Problems]
In one aspect of the present invention, by performing edge detection of multi-tone image data and performing area expansion on the detection result, an edge portion of a character or line drawing, a halftone dot image portion having a relatively low number of lines, etc. Detect as an edge region. Also, a white background pixel and a non-white background pixel are discriminated. The multi-tone image data is quantized by the error diffusion method. As the quantization threshold, a fixed value is basically used for pixels in the edge region, and oscillation is periodically performed for pixels in the non-edge region. A quantization threshold is used. By doing so, a photograph, an image flat portion, a high-line number halftone dot image portion, etc. can form an image with excellent dither tone graininess and stability, and an edge portion of a character or line drawing, relatively A low-line-number halftone dot image portion and the like can form an image with excellent resolution of error diffusion tone. However, as will be described later in connection with the embodiment, a white background flat portion is associated with region expansion. Bordered noise may occur. In order to prevent the occurrence of such noise, a fixed value is used as a quantization threshold for pixels that can be regarded as a white background portion even in a non-edge region.
[0008]
According to another aspect, Similarly, the quantization threshold is fixed for the pixels in the edge region and the quantization threshold is periodically oscillated for the pixels in the non-edge region, but the quantization data is forced to a white value for the pixels in the white background portion. By setting, the generation of the above-described unnecessary noise is prevented. Depending on the configuration of the means for forcibly setting the white value, it is possible that the error accumulated by the white value setting is delayed and the density generation at the low density image start portion may be delayed. In this case, in order to prevent such a delay in density generation, the quantization error calculated for the white background pixel is replaced with a random value.
[0009]
According to another aspect of the present invention, in order to prevent generation of unnecessary noise in the flat portion of the white background related to the region expansion, the pixel of the white background portion is not based on the result of the region expansion but on the result of the edge detection. To control the quantization threshold.
[0010]
In another aspect of the present invention, in order to form a smooth image in which the boundary between the edge portion and the non-edge portion is aligned without a sense of incongruity, the edge degree of each pixel is detected instead of the edge / non-edge in the edge detection. The vibration width of the quantization threshold is controlled according to the edge degree, and details thereof will be described later in connection with the embodiment.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the accompanying drawings. In addition, in order to avoid duplication of description, the same reference number is used for the same part or a corresponding part in several drawings in the attached drawings.
[0012]
Example 1
FIG. 1 shows a block configuration of an image processing apparatus according to Embodiment 1 of the present invention. This image processing apparatus receives multi-gradation image data 100 and outputs quantized data 101. The image processing apparatus includes a quantization processing unit 120, an image feature extraction unit 130, a quantization threshold generation unit 140, and a quantization processing unit. 120 includes a signal delay unit 150 for adjusting timing between the image feature extraction unit 130 and the image feature extraction unit 130, a white background determination unit 160, and a selection unit 161. The signal delay unit 150 is provided as necessary, and is a line memory having a required number of lines, for example. The input image data 100 is 8-bit / pixel data read by a scanner at 600 dpi, for example. In general, such image data 100 is input after passing through a smoothing filter in order to smoothly express a halftone. Usually, since smoothing is performed from an image period of about 150 Lpi, the periodic component of a high-line number halftone dot image of 175 Lpi or more used in gravure printing or the like does not remain in the image data 100.
[0013]
The quantization processing unit 120 quantizes the multi-tone image data by the error diffusion method using the quantization threshold given from the selection unit 161. In this embodiment, as shown in the figure, the quantizer (Comparator) 121, error calculation unit 122, error storage unit 123, error diffusion matrix unit 124, and error addition unit 125. The image data 100 is adjusted in timing by the signal delay unit 150 and input to the error addition unit 125. The image data added with the diffusion error by the error adder 115 is input to the quantizer 121. The quantizer 121 quantizes the input image data using a quantization threshold, and outputs the quantization result as quantized data 101.
[0014]
In order to simplify the description, in this embodiment and each embodiment described later, only one quantization threshold is supplied via the selection unit 161, and the quantizer 121 receives the input image data as a quantization threshold. In the above description, it is assumed that 1-bit quantized data 101 having a value of “1” and otherwise “0” is output. However, the present invention is not limited to this. For example, a configuration may be adopted in which three quantization thresholds are generated, and the quantizer 121 uses the quantization thresholds to quantize the image data into four levels and output 2-bit quantized data 101. it can.
[0015]
The error calculation unit 122 calculates the quantization error of the quantizer 121. Since 8-bit image data is handled here, in this error calculation, for example, “1” of the quantized data 101 is treated as 255 (decimal) and “0” is treated as 0 (decimal). The calculated quantization error is temporarily stored in the error storage unit 123. The error storage unit 123 is for storing a quantization error related to a processed pixel around the target pixel. In this embodiment, as will be described below, for example, a two-line line memory is used as the error storage unit 123 in order to diffuse the quantization error to surrounding pixels two lines ahead.
[0016]
The error diffusion matrix unit 124 calculates a diffusion error to be added to the next pixel of interest from the quantization error data stored in the error storage unit 123. In this embodiment, the error diffusion matrix unit 125 calculates diffusion error data using an error diffusion matrix having a size of 3 pixels in the sub-scanning direction and 5 pixels in the main scanning direction as shown in FIG. In FIG. 2, the mark * corresponds to the position of the next pixel of interest, and a, b,. . . , K, l are coefficients corresponding to the positions of the 12 processed pixels in the vicinity (the sum is 32). In the error diffusion matrix unit 125, a value obtained by dividing the product sum of the quantization error for the 12 processed pixels and the corresponding coefficients a to l by 32 is sent to the error addition unit 125 as a diffusion error for the next pixel of interest. give.
[0017]
The image feature extraction unit 130 includes an edge detection unit 131 and a region expansion processing unit 132. The edge detection unit 131 performs edge detection of the image data 100. In another aspect of the present invention, the edge detection unit 131 discriminates only the edge / non-edge, but in the present embodiment and each embodiment described later, the edge detection unit 131 detects the edge degree of each pixel. In the present embodiment, the edge detection unit 131 quantizes the edge degree into nine levels from level 0 (maximum edge degree) to level 8 (minimum edge degree, non-edge), and outputs it as 4-bit edge data. To do. More specifically, for example, the four types of 5 × 5 differential filters shown in FIG. 3 are used to detect the edge amount in the four directions of the main scanning direction, the sub-scanning direction, and the direction inclined by ± 45 ° from the main scanning direction. Then, the edge amount having the maximum absolute value is selected, and the absolute value of the edge amount is quantized to 9 level edge levels from level 0 to level 8 and output.
[0018]
The region expansion processing unit 132 performs region expansion of the edge detected by the edge detection unit 131, and in this embodiment, the region expansion width is 7 pixels wide. That is, with reference to the edge data output from the edge detection unit 131, the minimum in the 7 × 7 pixel area (range of 3 pixels before and after the main scanning direction and 3 pixels before and after the sub scanning direction) around the target pixel The edge level (maximum edge degree) is set as the edge level of the pixel of interest, and this is output as 4-bit edge data. This edge data is given to the quantization threshold value generator 140.
[0019]
The quantization threshold generation unit 140 generates a quantization threshold that periodically vibrates on the image space with a vibration width corresponding to the edge level represented by the edge data output from the region expansion processing unit 132. A dither threshold value generator 141, a multiplier 142 that multiplies the output value of the dither threshold value generator 141 by a coefficient (0 to 8) corresponding to the edge level indicated by the edge data, and a fixed value for the output value of the multiplier 142. It comprises an adding unit 143 for adding.
[0020]
In this embodiment, the dither threshold value generator 141 spirals clockwise from the inside to the outside in order from the smallest threshold values from −7 to +8 as shown in FIG. 4 (−7 is minimum and +8 is maximum). Using the arranged 4 × 4 dither threshold matrix, a dither threshold that oscillates periodically from −7 to +8 in the image space is output. The dither threshold period is 4 pixels, which corresponds to 150 Lpi in the case of 600 dpi image formation. Such a dither threshold value generation unit 141 can be easily realized by a ROM storing the dither threshold value matrix, a counter that counts main and sub-scan timing signals of image data, and generates a read address of the ROM. .
[0021]
The multiplication unit 142 sets the coefficient 8 when the edge level indicated by the edge data from the image feature extraction unit 130 is level 8 (non-edge), the coefficient 7 when it is level 7, the coefficient 6 when it is level 6, and the level 5 Factor 5 at level 4, factor 4 at level 4, factor 3 at level 3, factor 2 at level 1, factor 1 at level 1, factor 0 at level 0 (edge degree maximum) The output value of the dither threshold value generator 141 is multiplied. Therefore, the output value of the multiplication unit 142 vibrates with the maximum vibration width from +64 to −56 at the edge level 8 (non-edge). The fixed value added by the adding unit 143 is selected as the median value of the image data width +128 (decimal). Therefore, the quantization threshold given to the quantizer 121 vibrates around +128, and the maximum vibration width is 120 (from +192 to 72).
[0022]
The white background determination unit 160 determines a white background pixel and a non-white background pixel of the image data 100. As a determination method, a method of determining a white background pixel when the image data level of the target pixel is equal to or less than a predetermined determination threshold value, and a non-white background pixel when exceeding the determination threshold value can be used. However, in order to enable correct determination even when the image data level locally exceeds the determination threshold within the white background portion, for example, the average value of the image data level of the 3 × 3 region centered on the target pixel is determined. It is preferable to use a determination method that compares the threshold value with a white background pixel when the average value is equal to or less than the determination threshold value, and sets the non-white background pixel when the average value exceeds the determination threshold value. In the case where the image data 100 has 256 gradations having values from 0 to 255, for example, 5 or a slightly larger or slightly smaller value can be used as the determination threshold.
[0023]
The determination output of the white background determination unit 160 is given to the selection unit 161. When this determination output indicates a pixel in a non-white background portion, the selection unit 161 selects the quantization threshold generated by the quantization threshold generation unit 140 and uses the quantization threshold as a quantization threshold. However, when the determination output indicates a white background pixel, the selection unit 161 selects a predetermined fixed value (in this case, +128) and supplies it to the quantizer 121 as a quantization threshold. Such quantization threshold switching control is performed in order to suppress generation of unnecessary noise related to area expansion as described later.
[0024]
If the quantized data 101 of the image processing apparatus configured as described above is given to, for example, an electrophotographic printer, the character, the changing point of the image, the halftone dot image portion having a relatively low number of lines, and the like can be resolved. In addition, a photograph, a portion with little change in the image, a halftone dot image with a high number of lines, etc. are smooth and stable, and it is possible to form a high-quality image in which these regions are aligned without a sense of incompatibility. This will be described below.
[0025]
Here, in order not to make the description complicated, it is assumed that the quantization threshold generated by the quantization threshold generation unit 140 is selected by the selection unit 161.
[0026]
In an edge region where the change is steep and the edge level is level 0 (the edge degree is the highest) such as the edge of a character or line drawing in the image, the quantization threshold generated by the quantization threshold generator 140 is fixed to +128. Therefore, since the quantization processing unit 120 performs quantization processing by a pure error diffusion method using a fixed threshold value, it is possible to form an error diffusion tone image with high resolution.
[0027]
In a non-edge region having a minimum edge degree (maximum edge level) such as a flat part of a photograph or image, the oscillation width of the quantization threshold generated by the quantization threshold generation unit 140 is maximized. The quantization process of the unit 120 is a dither tone process, and the image data is halftoned at a dither threshold period to form an image with good graininess and stability.
[0028]
In the image processing apparatus according to the present embodiment, the vibration width of the quantization threshold is gradually increased or decreased at the boundary between the edge region and the non-edge region according to the degree of the edge. The characteristics of the quantization process can be smoothly switched in the opposite direction or vice versa. Therefore, it is possible to form an image in which the boundary portion between the edge region and the non-edge region is aligned without a sense of incongruity.
[0029]
Now, the region expansion processing unit 132 of the image feature extraction unit 130 performs a region expansion of 7 pixels on the edge detection result. In the case of 600 dpi image formation, the region expansion width of 7 pixels is approximately about the image space. At 0.3 mm, this corresponds to a halftone dot period of about 86 Lpi. Accordingly, a relatively low line number halftone dot image portion of 86 Lpi or more is evaluated as an edge region, and error diffusion processing using a fixed quantization threshold is performed in the quantization processing unit 120. It can be faithfully reproduced at high resolution and no moire occurs.
[0030]
In addition, as described above, a dot component having a high line number of 175 Lpi or more is smoothed and does not remain in the image data 100. Therefore, such a high dot number halftone dot image portion has an edge level of level 8 or a high level. As in the case of the flat image portion, the image is re-dotted with the dither threshold period (150 Lpi) by the dither tone processing using the quantization threshold having a large vibration width, and an image having excellent graininess and stability can be formed. Further, since the halftone dot component is lost from the image data 100, moire does not occur.
[0031]
In a halftone dot image with a low line number of less than 86 Lpi, the halftone dot boundary portion evaluated as an edge is processed mainly by error diffusion using a fixed quantization threshold, so that the halftone dot is reproduced faithfully and moiré is generated. In addition, the halftone dot center portion that is not evaluated as an edge region is subjected to dither tone processing using the oscillating quantization threshold, and thus can form an image with good stability and granularity.
[0032]
Next, the operation of the selection unit 161 will be described with reference to FIG. FIG. 5A shows an example of a typical original image in which unnecessary noise is likely to occur due to the extension of the edge region in the image feature extraction unit 130. This original image is an image in which a relatively low number of dot portions, edge portions, and white background portions, which are evaluated as edge regions by region expansion, are arranged in this order. When the quantization threshold value switching control by the selection unit 161 is not performed, when the multi-tone image data of the original image in FIG. 5A is processed, the white background portion of the output image is trimmed as shown in FIG. -Like unwanted dots appear. The cause is as follows.
[0033]
By the region expansion processing of the region expansion processing unit 132, the range of 7 lines near the edge portion of the white background portion of the original image is evaluated as an edge region, and error diffusion processing using a fixed quantization threshold is performed. From the next line, the process switches to a dither keying process using a quantization threshold that vibrates with a large vibration width. In a situation where a large amount of positive quantization error is accumulated by error diffusion processing in the original edge region (the edge portion shown in FIG. 5A), the quantizer is added by adding the error even if it enters the white background portion. The input image data 121 becomes a relatively high level. In the 7 lines closer to the edge portion that are defined as edge regions by region expansion, the quantization threshold value is fixed to +128, so that the image data level does not exceed the quantization threshold value. However, since the quantization threshold vibrates with a large vibration width at the 8th line that switches to the dither tone processing, when the quantization threshold becomes a small value, the image data level after error addition exceeds the quantization threshold and is quantized. The converted data 101 becomes “1”, which is output as an unnecessary dot. Such unnecessary dots are more likely to occur as the vibration width of the quantization threshold is larger. Also, as the number of quantization levels increases, unnecessary dots are more likely to occur because a lower level quantization threshold is used.
[0034]
In the image processing apparatus according to the present exemplary embodiment, when processing the white background portion, the selection unit 161 selects a fixed value +128 according to the determination output of the white background determination unit 160 and supplies the selected value to the quantizer 121 as a quantization threshold. To do. Accordingly, the image data level after error addition does not exceed the quantization threshold in the white background portion, and such unnecessary dots do not occur. In the original image shown in FIG. 5A, the upper portion of the edge portion is a halftone dot portion having a relatively low line number, but the same is true even if the portion is a flat portion or a high line number halftone dot portion. is there.
[0035]
According to the modification of the present embodiment, the dither threshold value generation unit 141 of the quantization threshold value generation unit 140 uses an 8 × 8 dither threshold value matrix as shown in FIG. This dither threshold matrix is a combination of four 4 × 4 basic dither threshold matrices (same as the dither threshold matrix shown in FIG. 4) surrounded by a thick line frame and expanded to 8 × 8. The basic dither threshold value matrix adjacent in the scanning direction is relatively half-phase shifted in the sub-scanning direction. If such a dither threshold matrix is used, a screen angle of approximately 63.5 ° is added to the halftone dot arrangement in an image flat portion or the like which is a dither tone process. There is little collapse and the graininess is good.
[0036]
The dither threshold value generator 141 does not necessarily have a ROM that stores an 8 × 8 dither threshold matrix shown in FIG. 6, but has a ROM that stores a 4 × 4 basic dither threshold matrix, and has a read address of the ROM. By the control, it is possible to generate a quantization threshold by the dither threshold matrix of FIG.
[0037]
Example 2
According to the second embodiment of the present invention, the quantization threshold value generation unit 140 is configured as shown in FIG. 7 in the image processing apparatus having the overall configuration shown in FIG. The edge detection unit 131 of the image feature extraction unit 130 (FIG. 1) quantizes the edge degree into four edge levels from level 0 (maximum edge degree) to level 3 (non-edge), and converts it into a 2-bit edge. Changed to output as data.
[0038]
As shown in FIG. 7, the quantization threshold value generation unit 140 in this embodiment includes a threshold value generation unit 145_0 corresponding to the edge level 0, a threshold value generation unit 145_1 corresponding to the edge level 1, and a threshold value generation corresponding to the edge level 2. 145_2, a threshold generation unit 145_3 corresponding to edge level 3, and a threshold generated by any one of threshold generation units 145_0 to 145_3 according to the edge level indicated by the edge data output from the image feature extraction unit 130 , And a threshold selection unit 146 that gives the quantization threshold to the quantizer 121 of the quantization processing unit 120 (FIG. 1).
[0039]
The threshold value generator 145_3 corresponding to the edge level 3 (non-edge) uses, for example, a dither threshold value matrix obtained by multiplying each threshold value of the dither threshold value matrix shown in FIG. 4 (or FIG. 6) by 8 and then adding 128. A threshold value that vibrates at the maximum vibration width is generated. The threshold generation unit 145_2 corresponding to the edge level 2 uses a dither threshold matrix obtained by multiplying each threshold of the dither threshold matrix shown in FIG. 4 (or FIG. 6) by 5 and adding 128, for example. A threshold value that vibrates is generated. The threshold generation unit 145_1 corresponding to the edge level 1 uses a dither threshold matrix obtained by multiplying each threshold of the dither threshold matrix shown in FIG. 4 (or FIG. 6) by 2 and adding 128, for example. A threshold value that vibrates is generated. The threshold value generator 145_0 corresponding to the edge level 0 (edge degree maximum) generates a fixed value (+128).
[0040]
Therefore, it is obvious that a high-quality image can be formed in the present embodiment by performing the same quantization process as in the first embodiment (or its modification).
[0041]
According to the configuration of the quantization threshold value generation unit 140 of the present embodiment, a means for multiplication that is generally disadvantageous in terms of cost or processing time (multiplication in FIG. 1) is realized in either hardware or software. Can be eliminated. The area expansion processing unit 132 needs to temporarily store edge data for a plurality of lines corresponding to the area expansion width. However, the edge data is temporarily stored by the amount corresponding to the compression of the edge data to 2 bits. The capacity of the line memory can be reduced. In addition, since the number of edge levels is as small as four, the threshold generation units 145_0 to 145_2 need a small amount of memory for storing the dither threshold matrix.
[0042]
Although the memory of the area expansion processing unit 132 is not reduced, a configuration in which the edge detection unit 131 outputs 9 levels of the edge level and the area expansion unit 132 converts the edge level to 4 levels and outputs it is also possible.
[0043]
Example 3
FIG. 8 is a block diagram of an image processing apparatus according to the third embodiment of the present invention. The same reference numerals in FIG. 8 as those in FIG. 1 denote the same parts. The quantization threshold value generator 140 may have the configuration shown in FIG. 1 or the configuration shown in FIG.
[0044]
In this embodiment, an output value control unit 165 is added after the quantization processing unit 120. The output value control unit 165 outputs the quantized data 101 output from the quantization processing unit 120 as it is as the quantized data 102 when the determination output of the white background determination unit 160 indicates a non-white background pixel. To do. However, when the determination output of the white background determination unit 160 indicates a pixel in the white background portion, the output value control unit 165 outputs the quantized data 102 set to the white value regardless of the value of the quantized data 101. The quantized data 102 is supplied to an electrophotographic printer or the like for image formation.
[0045]
Because of this configuration, for example, when multi-tone image data of the original image as shown in FIG. 5A is processed, the quantized data 102 is forcibly set to a white value (0) in the white background portion. Therefore, an unnecessary dot in the form of a border as shown in FIG. 5B does not occur in the portion where the dither tone processing is switched in the white background portion.
[0046]
Example 4
FIG. 9 shows a block configuration of an image processing apparatus according to Embodiment 4 of the present invention. The quantization threshold value generator 140 may have the configuration shown in FIG. 1 or the configuration shown in FIG.
[0047]
In this embodiment, the determination output of the white background determination unit 160 is given to the quantizer 121 of the quantization processing unit 120. The quantizer 121 outputs the white value (0) as the quantized data 101 regardless of the image data level for the pixels determined as the white background pixels by the white background determination unit 160.
[0048]
In addition, the quantization processing unit 120 includes a random number generation unit 127 that generates a random value and an error written in the error storage unit 123 by the quantization error calculated by the error calculation unit 122 or the random number generation unit 127. A selection unit 126 for selecting a random value is added. When the determination output of the white background determination unit 160 indicates a non-white background pixel, the selection unit 126 selects the quantization error calculated by the error calculation unit 122. However, when the determination output of the white background determination unit 160 indicates a white background pixel, the random value generated by the random number generation unit 127 is selected by the selection unit 126. That is, when the target pixel is a white background pixel, the quantization error written in the error storage unit 123 is replaced with a random value.
[0049]
Because of this configuration, for example, when multi-tone image data of the original image as shown in FIG. 5A is processed, the quantized data 101 is forcibly set to a white value (0) in the white background portion. Therefore, an unnecessary dot in the form of a border as shown in FIG. 5B does not occur in a portion where the dither tone processing is switched in the white background portion.
[0050]
For the white background pixels, a random value is selected by the selection unit 126 and written to the error storage unit 123. If such replacement with random values is not performed, the forced white value setting of the quantized data 101 does not proceed with the elimination of accumulated errors, and a phenomenon occurs in which the density generation at the low density image start portion is delayed. there is a possibility. By replacing the quantization error with a random value, such a phenomenon can be prevented.
[0051]
Example 5
FIG. 10 shows a block configuration of an image processing apparatus according to Embodiment 5 of the present invention. 10, the same reference numerals as those in FIG. 1 denote the same parts. However, the quantization threshold value generator 140 may have the configuration shown in FIG. 1 or the configuration shown in FIG.
[0052]
In the present embodiment, a selection unit 167 is added. When the determination output of the white background determination unit 160 indicates a non-white background pixel, the selection unit 167 sends the edge data output from the region expansion processing unit 132 of the image feature extraction unit 130 to the quantization threshold generation unit 140. give. Therefore, as in the above embodiments, the vibration width of the quantization threshold is controlled according to the edge degree after the region expansion process. However, when the determination output of the white background portion determination unit 160 indicates a pixel of the white background portion, the edge data output from the edge detection unit 131 of the image feature extraction unit 130 by the selection unit 167 is given to the quantization threshold value generation unit 140. Therefore, the vibration width of the quantization threshold is controlled according to the edge degree before region expansion.
[0053]
According to such a configuration, for example, when multi-tone image data of an original image as shown in FIG. 5A is processed, a quantization threshold value that vibrates immediately with a large vibration width when entering the white background portion from the edge portion. It switches to the dithering process using, and dots tend to occur. As a result, even if a lot of positive errors are accumulated in the processing of the edge portion, dots are output in the vicinity of the edge portion, and an unpleasant bordered unnecessary dot as shown in FIG. 5B is generated. No longer.
[0054]
As described above, in the same configuration as each of the above embodiments, the image feature extraction unit outputs two-level edge data indicating edge / non-edge, and the edge pixel has a fixed value and non-edge data. It can also be used as a strong vibration quantization threshold for a pixel. Even in this way, the edges of characters and line drawings, and halftone dot image portions with a relatively low number of lines have high resolution, and the photograph, flat image portion, and high line number halftone dot image portions have graininess and stability. Therefore, it is possible to form a good image, and it is possible to prevent the generation of unnecessary dots in the form of an edge in the white background as described with reference to FIG.
[0055]
In addition, it is possible to execute image processing equivalent to that of the image processing apparatus of each embodiment by a program using a general-purpose or dedicated computer. For example, a program for that purpose is read from various storage media such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor storage element on which the program is recorded, or is received from an external computer via a network, and the main computer Various storage media in which such a program is recorded are also included in the present invention. Next, an embodiment in which processing is executed by a program using a computer will be described.
[0056]
Example 6
FIG. 11 is a schematic flowchart of a program according to the sixth embodiment of the present invention. In this embodiment, image processing equivalent to that in the first or second embodiment is performed. In the following description, it is assumed that the entire multi-tone image data to be processed is stored in advance in a frame memory area on the main memory of the computer. It is also assumed that a storage area for storing quantized data, quantization error, edge data, etc. is also secured on the main memory.
[0057]
First, a target pixel is selected (step 200). Next, the same determination as that of the white background determination unit 160 is performed by comparing the image data level of the target pixel with a predetermined determination threshold (step 204).
[0058]
When it is determined that the pixel of interest is a white background pixel, a predetermined fixed value (for example, +128) is set as the quantization threshold (step 212), and the quantization threshold is used in the same manner as the quantization processing unit 120. The quantization process by the error diffusion method is performed on the target pixel (step 214). The quantized data and the calculated quantization error are accumulated in the respective storage areas.
[0059]
If it is determined in step 204 that the target pixel is a non-white background pixel, edge detection similar to the edge detection unit 131 is performed (step 206), and then the region expansion processing unit 132 is performed. Region expansion processing is performed (step 210). Since the edge data within the range of 7 × 7 is referenced for the area expansion process, the edge data for 7 lines obtained by the edge detection is temporarily stored in the storage area for that purpose. Then, according to the edge data of the target pixel obtained by the region expansion process, the quantization threshold is determined by the same algorithm as that of the quantization threshold generation unit 140 (step 210). However, as described above, multi-level edge degree detection is not performed, only edge / non-edge detection is performed, a quantization threshold is fixed for edge pixels, and a high-amplitude dither threshold is set for non-edge pixels. You may make it do. Next, the pixel of interest is quantized by the error diffusion method using this quantization threshold, and the obtained quantized data and quantization error are accumulated in the respective storage areas (step 214).
[0060]
When the processing of one target pixel is completed as described above, the next pixel is selected as the target pixel (step 200), and the processing after step 204 is executed. When the same processing is repeated and the processing is completed up to the last pixel of the frame (step 202, YES), the quantized data stored in the main memory is output to, for example, an external printer, a computer hard disk, or the like (step). 216).
[0061]
Example 7
FIG. 12 is a schematic flowchart of a program in the seventh embodiment of the present invention. In the present embodiment, image processing equivalent to that in the fourth embodiment is performed. In the following description, it is assumed that the entire multi-tone image data to be processed is stored in advance in a frame memory area on the main memory of the computer. It is also assumed that a storage area for storing quantized data, quantization error, edge data, etc. is also secured on the main memory.
[0062]
First, a target pixel is selected (step 250). Next, the same determination as that of the white background determination unit 160 is performed by comparing the image data level of the target pixel with a predetermined determination threshold (step 254).
[0063]
If it is determined in the white background determination (step 254) that the pixel of interest is a non-white background pixel, edge detection similar to the edge detection unit 131 is performed (step 256), and then the area expansion processing unit 132 and Similar area expansion processing is performed (step 258). According to the edge data of the target pixel obtained by this region expansion processing, the quantization threshold is determined by the same algorithm as that of the quantization threshold generation unit 140 (step 260). Then, quantization processing by the error diffusion method is performed using the quantization threshold value, and the quantized data and the quantization error are accumulated in the respective storage areas (step 262). It should be noted that, as described above, it is possible to perform edge detection of only edges / non-edges in step 256, and to set the quantization threshold to a fixed value for edge pixels and to a strong amplitude dither threshold for non-edge pixels. is there.
[0064]
If it is determined in step 254 that the pixel of interest is a white background pixel, a white value (0) is written in the quantized data storage area as the quantized data of the pixel of interest (step 264). As a result, a random value is written in the error storage area (step 266).
[0065]
When the process related to the target pixel is completed in this way, the next pixel is selected as the target pixel (step 250), and the processes after step 254 are executed. Thereafter, the same process is repeated, and when the process is completed up to the final pixel of the frame (YES in step 252), the quantized data stored in the storage area on the main memory is output to, for example, an external printer or a computer hard disk (Step 268).
[0066]
Example 8
FIG. 13 is a schematic flowchart of a program according to the eighth embodiment of the present invention. In the present embodiment, image processing equivalent to that in the fifth embodiment is performed. In the following description, it is assumed that the entire multi-tone image data to be processed is stored in advance in a frame memory area on the main memory of the computer. It is also assumed that a storage area for storing quantized data, quantization error, edge data, etc. is also secured on the main memory.
[0067]
First, a target pixel is selected (step 300), and edge detection similar to that of the edge detection unit 131 is performed (step 304).
[0068]
Next, the same determination as that of the white background determination unit 160 is performed by comparing the image data level of the target pixel with a predetermined determination threshold (step 306). If it is determined that the pixel is a white background pixel, the quantization threshold is determined by the same algorithm as the quantization threshold generation unit 140 in accordance with the edge data obtained in step 304 (step 310). Then, quantization processing by the error diffusion method is performed using the quantization threshold value, and the quantized data and the quantization error are accumulated in the respective storage areas (step 312).
[0069]
If it is determined in step 306 that the pixel of interest is a non-white background pixel, a region expansion process similar to the region expansion processing unit 132 is performed (step 308). In accordance with the edge data of the target pixel obtained by this region expansion processing, a quantization threshold is determined by the same algorithm as that of the quantization threshold generation unit 140 (step 310), and quantization using the error diffusion method is performed using this quantization threshold. Processing is performed, and the quantized data and the quantization error are accumulated in the respective storage areas (step 312). As described above, it is possible to perform edge detection of only edges / non-edges in step 304 and set the quantization threshold to a fixed value for edge pixels and a strong amplitude dither threshold for non-edge pixels. is there.
[0070]
When the process related to the target pixel is completed in this way, the next pixel is selected as the target pixel (step 300), and the processes after step 304 are executed. Thereafter, the same processing is repeated, and when the processing is completed up to the final pixel of the frame (step 302, YES), the quantized data stored in the main memory is output to, for example, an external printer, a hard disk of a computer (step) 314).
[0071]
The image processing method or apparatus of the present invention can be installed in a device such as a printer or a display related to image formation, or a device such as a digital copying machine or a fax device related to both image reading and image formation. As an example of such an embodiment, an example of a digital copying machine to which the present invention is applied will be described below.
[0072]
Example 9
FIG. 14 is a schematic cross-sectional view showing a configuration example of an image reading mechanism and an image forming mechanism of a digital copying machine. This digital copying machine has a scanner unit 400 that optically scans and reads a document, a laser printer unit 411 as an image forming unit, and a circuit unit 550 (not shown) (FIG. 15).
[0073]
The scanner unit 400 illuminates a document placed on a flat document table 403 with an illumination lamp 502 and connects the reflected light image to an image sensor 507 such as a CCD via mirrors 503, 504 and 505 and a lens 506. At the same time, the image information of the original is read by sub-scanning the original by moving the illumination lamp 502 and the mirrors 503 to 505. The analog image signal output from the image sensor 507 is input to the circuit unit 550 (FIG. 15) and processed. Image data output from the circuit unit 550 is input to the laser printer unit 411.
[0074]
In the laser printer unit 411, the writing optical unit 508 converts the image data input from the circuit unit 550 into an optical signal, and exposes an image carrier made of a photoconductor, for example, a photoconductor drum 509, whereby an original image is obtained. An electrostatic latent image corresponding to is formed. For example, the writing optical unit 508 emits a laser beam whose intensity is modulated by driving a semiconductor laser by the light emission drive control unit with the image data, and deflecting and scanning the laser beam by the rotary polygon mirror 510, and an f / θ lens. Then, the photosensitive drum 509 is irradiated through the reflection mirror 511. The photosensitive drum 509 is driven to rotate by a drive unit and rotates clockwise as indicated by an arrow, and is uniformly charged by a charger 512 and then exposed by a writing optical unit 508 to form an electrostatic latent image. Is done. The electrostatic latent image on the photosensitive drum 509 is developed by the developing device 513 to become a toner image. Further, the paper is fed to the registration roller 520 from any of the plurality of paper feeding units 514 to 518 and the manual paper feeding unit 519. The registration roller 520 sends a sheet to the toner image on the photosensitive drum 509 in time. The transfer belt 521 is applied with a transfer bias from a transfer power source, transfers the toner image on the photosensitive drum 509 to a sheet, and conveys the sheet. The sheet onto which the toner image has been transferred is conveyed to the fixing unit 522 by the transfer belt 521 and the toner image is fixed, and then is discharged to the paper discharge tray 523. Further, the photosensitive drum 509 is cleaned by the cleaning device 524 after the toner image is transferred, and is further discharged by the charge eliminator 525 to prepare for the next image forming operation.
[0075]
FIG. 15 is a block diagram showing a simplified example of the circuit unit 550 of the digital copying machine. The input of the circuit unit 550 is an analog image signal read by the image sensor 507 of the scanner unit 400 at, for example, 600 dpi. This analog image signal is adjusted in level by the AGC circuit 551 and then converted into 8-bit digital image data per pixel by the A / D conversion circuit 552. Further, the shading correction circuit 553 further converts the analog image signal for each pixel of the image sensor 507. Variations in sensitivity and illuminance are corrected.
[0076]
The image data after the shading correction is sent to the filter processing circuit 556 and subjected to filter processing for MTF correction and smoothing. As described above, this filtering process smoothes halftone dot components with a line number higher than about 150 Lpi, and removes halftone dot components with a high line number higher than 175 Lpi almost completely. The filtered image data is sent to the gamma correction circuit 555 and subjected to gamma correction for conversion to writing density.
[0077]
Reference numeral 560 denotes a halftone processing unit. The halftone processing unit 560 includes the image processing apparatus of the present invention, for example, the image processing apparatus of the first, second, third, fourth or fifth embodiment. The image data after the filter processing is input to the image feature extraction unit (130) of the image processing device, and the image data after the gamma correction is input to the quantization processing unit (120) via the signal delay unit (150) of the image processing device. Entered. The quantized data output from the halftone processing unit 560 is sent to the light emission drive control unit of the semiconductor laser in the writing optical unit 508. However, the halftone processing unit 560 may be realized by a program using a computer as in the sixth, seventh, or eighth embodiment. In this case, the filter processing circuit 554 and the gamma correction color 555 can also be realized by a program.
[0078]
In the digital copying machine, the scaling process of the image data in the main scanning direction is performed, for example, before the gamma correction circuit 555, or the background removal processing or flare removal processing is performed, for example, with the gamma correction circuit 555. The processing may be performed in the middle of the processing unit 560, or the 90 ° rotation processing may be performed, for example, before the filter processing circuit 554 or after the halftone processing unit 560, but the description thereof is omitted.
[0079]
【The invention's effect】
As is clear from the above explanation, Claim 1, 3, 7 or 10 According to the invention, the change point of characters and images and the halftone dot image portion with a relatively low number of lines have high resolution, and the portion with little change in the photograph and image and the halftone dot image portion with a high number of lines have graininess. Therefore, it is possible to form an image having excellent stability, and it is possible to prevent the generation of an unnecessary dot in the form of a border having a sense of incongruity in the flat portion of the white background. Claim 2, 4, 8, 9, 11, or 12 According to the invention, the change point of characters and images and the halftone dot image portion with a relatively low number of lines have high resolution, and the portion with little change in the photograph and image and the halftone dot image portion with a high number of lines have graininess. In addition, it is possible to form a high-quality image that is excellent in stability and in which both areas are aligned with no sense of incongruity, and it is possible to prevent the generation of border-like unnecessary dots that have a sense of incongruity in the flat white portion. Claim 5 According to the described invention, even when there is noise in the white background portion, it is possible to reliably determine the pixels in the white background portion and perform appropriate processing. Claim 6 According to the described invention, it is possible to easily perform the image processing method of the present invention using a computer, and so on.
[Brief description of the drawings]
FIG. 1 is a block diagram of Embodiment 1 of the present invention.
FIG. 2 is a diagram illustrating an example of an error diffusion matrix.
FIG. 3 is a diagram illustrating an example of a differential filter for edge detection.
FIG. 4 is a diagram illustrating a dither threshold matrix used for quantization threshold generation in the first embodiment.
FIG. 5 is a diagram for explaining the generation of borderless unnecessary dots in a white background flat portion.
6 is a diagram showing a dither threshold value matrix used for generating a quantization threshold value in a modification of the first embodiment. FIG.
FIG. 7 is a block diagram of a quantization threshold value generation unit in Embodiment 2 of the present invention.
FIG. 8 is a block diagram of Embodiment 3 of the present invention.
FIG. 9 is a block diagram of Embodiment 4 of the present invention.
FIG. 10 is a block diagram of Embodiment 5 of the present invention.
FIG. 11 is a flowchart of Embodiment 6 of the present invention.
FIG. 12 is a flowchart of Embodiment 7 of the present invention.
FIG. 13 is a flowchart of Embodiment 8 of the present invention.
FIG. 14 is a schematic cross-sectional view showing a configuration example of a mechanism related to image reading and image formation of a digital copying machine according to Embodiment 9 of the present invention.
15 is a block diagram of a circuit unit of a digital copying machine according to Embodiment 9. FIG.
[Explanation of symbols]
100 Multi-tone image data
101 Quantized data
120 Quantization processor
121 Quantizer
122 Error calculator
123 Error storage unit
124 Error diffusion matrix part
125 Error adder
126 Selector
127 Random number generator
130 Image feature extraction unit
131 Edge detector
132 Area expansion processing unit
140 Quantization threshold value generator
141 Dither threshold generator
142 Multiplier
143 Adder
145_0 to 145_3 threshold generation unit
146 Threshold selection unit
150 Signal delay unit
160 White background part determination part
161 Selection part
165 Output value control unit
167 selection part
400 Scanner unit
411 Laser printer
551 AGC circuit
552 A / D conversion circuit
553 Shading correction circuit
556 Filter processing circuit
557 Gamma correction circuit
560 Halftone processing unit

Claims (12)

多階調画像データのエッジ検出を行い、その検出結果に対し領域拡張を行うことにより、多階調画像データのエッジ領域の画素と非エッジ領域の画素を判別する画像特徴抽出処理、
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定処理、
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理、及び
(1)前記白地部判定処理により白地部の画素とされた画素に関しては前記量子化処理のための量子化閾値を所定値に固定し、(2)前記白地部判定処理により非白地部の画素とされ、かつ、前記画像特徴抽出処理によりエッジ領域の画素とされた画素に関しては前記量子化処理のための量子化閾値を前記所定値に固定し、(3)前記白地部判定処理により非白地部の画素とされ、かつ、前記画像特徴抽出処理により非エッジ部の画素とされた画素に関しては前記量子化処理のための量子化閾値を周期的に振動させる処理、
を含むことを特徴とする画像処理方法。
Image feature extraction processing that performs edge detection of multi-gradation image data and performs region expansion on the detection result to distinguish pixels of edge regions and non-edge regions of multi-tone image data;
White background determination processing for determining white background pixels and non-white background pixels of multi-tone image data;
A quantization process for quantizing multi-tone image data by an error diffusion method and outputting quantized data; and (1) for a pixel that is a white background pixel by the white background determination process, for the quantization process A quantization threshold value is fixed to a predetermined value. (2) For a pixel that is a non-white background pixel by the white background determination process and a pixel that is an edge area pixel by the image feature extraction process, the quantization process is performed. A quantization threshold for the pixel is fixed to the predetermined value, and (3) a pixel that is a non-white background pixel by the white background portion determination process and a non-edge portion pixel by the image feature extraction process is Processing to periodically oscillate the quantization threshold for quantization processing,
An image processing method comprising:
多階調画像データのエッジ検出を行い、その検出結果に対し領域拡張を行うことにより、多階調画像データの各画素のエッジ度合を検出する画像特徴抽出処理、
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定処理、
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理、及び
(1)前記白地部判定処理により白地部の画素とされた画素に関しては前記量子化処理のための量子化閾値を所定値に固定し、(2)前記白地部判定処理により非白地部の画素とされた画素に関しては、前記画像特徴抽出処理により検出されたエッジ度合が小さいほど大きな振動幅で前記量子化処理のための量子化閾値を周期的に振動させる処理、
を含むことを特徴とする画像処理方法。
Image feature extraction processing for detecting the edge degree of each pixel of the multi-tone image data by performing edge detection of the multi-tone image data and performing area expansion on the detection result,
White background determination processing for determining white background pixels and non-white background pixels of multi-tone image data;
A quantization process for quantizing multi-tone image data by an error diffusion method and outputting quantized data; and (1) for a pixel that is a white background pixel by the white background determination process, for the quantization process The quantization threshold is fixed to a predetermined value, and (2) for pixels that are non-white background pixels by the white background determination process, the smaller the degree of edge detected by the image feature extraction process, the greater the vibration width. Processing to periodically oscillate the quantization threshold for quantization processing,
An image processing method comprising:
多階調画像データに対するエッジ検出処理、Edge detection processing for multi-tone image data,
前記エッジ検出処理の結果に対する領域拡張処理、Region expansion processing for the result of the edge detection processing;
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定処理、White background determination processing for determining white background pixels and non-white background pixels of multi-tone image data;
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理、及びQuantization processing for quantizing multi-tone image data by error diffusion method and outputting quantized data, and
(1)前記白地部判定処理により白地部の画素とされた画素に関しては、前記エッジ検出処理によりエッジ領域の画素とされた画素に対する前記量子化処理のための量子化閾値を所定値に固定し、前記エッジ検出処理により非エッジ領域の画素とされた画素に対する前記量子化処理のための量子化閾値を周期的に振動させ、(2)前記白地部判定処理により非白地部の画素とされた画素に関しては、前記領域拡張処理によりエッジ領域の画素とされた画素に対する前記量子化処理のための量子化閾値を前記所定値に固定し、前記領域拡張処理により非エッジ領域の画素とされた画素に対する前記量子化処理のための量子化閾値を周期的に振動させる処理、(1) For a pixel that is a white background pixel by the white background determination process, a quantization threshold value for the quantization process for a pixel that is a pixel of an edge region by the edge detection process is fixed to a predetermined value. , Periodically oscillating the quantization threshold for the quantization processing for the pixels determined as the non-edge region pixels by the edge detection processing, and (2) the non-white background pixels by the white background determination processing Regarding the pixel, the quantization threshold for the quantization process for the pixel that has been made the pixel in the edge region by the region expansion process is fixed to the predetermined value, and the pixel that has been made the pixel in the non-edge region by the region expansion process A process of periodically oscillating a quantization threshold for the quantization process for
を含むことを特徴とする画像処理方法。An image processing method comprising:
多階調画像データに対するエッジ検出処理、Edge detection processing for multi-tone image data,
前記エッジ検出処理の結果に対する領域拡張処理、Region expansion processing for the result of the edge detection processing;
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定処理、White background determination processing for determining white background pixels and non-white background pixels of multi-tone image data;
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理、及びQuantization processing for quantizing multi-tone image data by error diffusion method and outputting quantized data, and
(1)前記白地部判定処理により白地部の画素とされた画素に関しては、前記エッジ検出処理により検出されたエッジ度合が小さいほど大きな振動幅で前記量子化処理の量子化閾値を周期的に変動させ、(2)前記白地部判定処理により非白地部の画素とされた画素に関しては、前記領域拡張処理により検出されたエッジ度合が小さいほど大きな振動幅で前記量子化処理の量子化閾値を周期的に振動させる処理、を含むことを特徴とする画像処理方法。(1) For a pixel that is a white background pixel by the white background determination process, the quantization threshold of the quantization process is periodically changed with a larger vibration width as the edge degree detected by the edge detection process is smaller. (2) For a pixel that is a non-white background pixel by the white background determination process, the quantization threshold value of the quantization process is cycled with a larger vibration width as the edge degree detected by the area expansion process is smaller. And an image processing method characterized by comprising:
前記白地部判定処理は、注目画素に関する判定を注目画素周辺の多階調画像データの平均レベルに基づいて行うことを特徴とする請求項1乃至4のいずれか1項記載の画像処理方法。5. The image processing method according to claim 1, wherein in the white background portion determination process, the determination relating to the target pixel is performed based on an average level of multi-tone image data around the target pixel. 請求項1乃至5のいずれか1項記載の画像処理方法のための各処理をコンピュータに実行させるためのプログラムが記録されたコンピュータ読み取り可能な記憶媒体。A computer-readable storage medium having recorded thereon a program for causing a computer to execute each process for the image processing method according to claim 1. 多階調画像データのエッジ検出を行い、その検出結果に対し領域拡張を行うことによって多階調画像データのエッジ領域の画素と非エッジ領域の画素を判別する画像特徴抽出手段、Image feature extraction means for performing edge detection of multi-gradation image data and discriminating pixels of edge regions and non-edge regions of multi-tone image data by performing region expansion on the detection results;
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定手段、A white background determination means for determining a white background pixel and a non-white background pixel of the multi-tone image data;
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理手段、Quantization processing means for quantizing multi-tone image data by error diffusion method and outputting quantized data,
(1)前記白地部判定手段により白地部の画素とされた画素に関しては前記量子化処理手段の量子化閾値を所定値に固定し、(2)前記白地部判定手段により非白地部の画素とされ、かつ前記画像特徴抽出手段によりエッジ領域の画素とされた画素に関しては前記量子化処理手段の量子化閾値を前記所定値に固定し、(3)前記白地部判定手段により非白地部の画素とされ、かつ、前記画像特徴抽出手段により非エッジ部の画素とされた画素に関しては前記量子化処理手段の量子化閾値を周期的に振動させる量子化閾値制御手段、(1) For a pixel that is determined as a white background pixel by the white background determination unit, a quantization threshold value of the quantization processing unit is fixed to a predetermined value, and (2) a non-white background pixel is detected by the white background determination unit. In addition, with respect to pixels that have been determined as edge region pixels by the image feature extraction means, the quantization threshold value of the quantization processing means is fixed to the predetermined value, and (3) non-white background pixels by the white background determination means And a quantization threshold control means for periodically oscillating the quantization threshold of the quantization processing means for the pixels that are non-edge pixels by the image feature extraction means,
を具備することを特徴とする画像処理装置。An image processing apparatus comprising:
多階調画像データのエッジ検出を行い、その検出結果に対し領域拡張を行うことにより、多階調画像データの各画素のエッジ度合を検出する画像特徴抽出手段、Image feature extraction means for detecting the edge degree of each pixel of the multi-tone image data by performing edge detection of the multi-tone image data and performing area expansion on the detection result;
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定手段、A white background determination means for determining a white background pixel and a non-white background pixel of the multi-tone image data;
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理手段、Quantization processing means for quantizing multi-tone image data by error diffusion method and outputting quantized data,
(1)前記白地部判定手段により白地部の画素とされた画素に関しては前記量子化処理手段の量子化閾値を所定値に固定し、(2)前記白地部判定手段により非白地部の画素とされた画素に関しては、前記画像特徴抽出手段により検出されたエッジ度合が小さいほど大きな振動幅で前記量子化処理手段の量子化閾値を周期的に振動させる量子化閾値制御手段、(1) For a pixel that is determined as a white background pixel by the white background determination unit, a quantization threshold value of the quantization processing unit is fixed to a predetermined value, and (2) a non-white background pixel is detected by the white background determination unit. With respect to the pixel, a quantization threshold control unit that periodically oscillates the quantization threshold of the quantization processing unit with a large vibration width as the edge degree detected by the image feature extraction unit decreases.
を具備することを特徴とする画像処理装置。An image processing apparatus comprising:
前記量子化閾値制御手段は、The quantization threshold value control means includes
前記画像特徴抽出手段により検出されたエッジ度合が小さいほど大きな振動幅で周期的に振動する値を発生する量子化閾値発生手段と、A quantization threshold generating means for generating a value that periodically vibrates with a large vibration width as the edge degree detected by the image feature extracting means decreases;
前記白地部判定手段により非白地部の画素とされた画素に関しては前記量子化閾値発生手段により生成された値を量子化閾値として、前記白地判定手段により白地部の画素とされた画素に関しては所定値を量子化閾値として、前記量子化処理手段に供給する手段とからなることを特徴とする請求項8記載の画像処理装置。A pixel generated as a non-white background pixel by the white background determination unit uses a value generated by the quantization threshold generation unit as a quantization threshold, and a pixel determined as a white background pixel by the white background determination unit is predetermined. 9. The image processing apparatus according to claim 8, further comprising means for supplying the value as a quantization threshold to the quantization processing means.
多階調画像データに対するエッジ検出手段、Edge detection means for multi-tone image data;
前記エッジ検出手段による検出結果に対する領域拡張処理を行う領域拡張処理手段、Area expansion processing means for performing area expansion processing on the detection result by the edge detection means;
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定手段、A white background determination means for determining a white background pixel and a non-white background pixel of the multi-tone image data;
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理手段、及びQuantization processing means for quantizing multi-tone image data by error diffusion method and outputting quantized data, and
(1)前記白地部判定手段により白地部の画素とされた画素に関しては、前記エッジ検出手段によりエッジ領域の画素とされた画素のための前記量子化処理手段の量子化閾値を所定値に固定し、前記エッジ検出手段により非エッジ領域の画素とされた画素のための前記量子化処理手段の量子化閾値を周期的に振動させ、(2)前記白地部判定手段により非白地部の画素とされた画素に関しては、前記領域拡張処理手段によりエッジ領域の画素とされた画素のための前記量子化処理手段の量子化閾値を前記所定値に固定し、前記領域拡張処理手段により非エッジ領域の画素とされた画素のための前記量子化処理手段の量子化(1) For a pixel that has been determined to be a white background pixel by the white background determination unit, the quantization threshold of the quantization processing unit for the pixel that has been determined to be an edge region pixel by the edge detection unit is fixed to a predetermined value. And periodically oscillating the quantization threshold value of the quantization processing means for the pixels determined as non-edge region pixels by the edge detection means, and (2) the non-white background pixels by the white background determination means For the pixel that has been processed, the quantization threshold value of the quantization processing unit for the pixel that has been determined as the pixel of the edge region by the region expansion processing unit is fixed to the predetermined value, and the non-edge region of the non-edge region is fixed by the region expansion processing unit. Quantization of the quantization processing means for a pixel 閾値を周期的に振動させる量子化閾値制御手段、Quantization threshold control means for periodically oscillating the threshold,
を具備することを特徴とする画像処理装置。An image processing apparatus comprising:
多階調画像データに対するエッジ検出処理を行うエッジ検出手段、Edge detection means for performing edge detection processing on multi-tone image data;
前記エッジ検出手段の検出結果に対する領域拡張処理を行う領域拡張処理手段、Area expansion processing means for performing area expansion processing on the detection result of the edge detection means;
多階調画像データの白地部の画素と非白地部の画素を判別する白地部判定手段、A white background determination means for determining a white background pixel and a non-white background pixel of the multi-tone image data;
多階調画像データを誤差拡散法により量子化して量子化データを出力する量子化処理手段、及びQuantization processing means for quantizing multi-tone image data by error diffusion method and outputting quantized data, and
(1)前記白地部判定手段により白地部の画素とされた画素に関しては、前記エッジ検出手段により検出されたエッジ度合が小さいほど大きな振動幅で前記量子化処理手段の量子化閾値を周期的に変動させ、(2)前記白地部判定手段により非白地部の画素とされた画素に関しては、前記領域拡張処理手段により検出されたエッジ度合が小さいほど大きな振動幅で前記量子化処理手段の量子化閾値を周期的に振動させる量子化閾値制御手段、(1) For a pixel that is determined as a white background pixel by the white background portion determination unit, the quantization threshold value of the quantization processing unit is periodically changed with a larger vibration width as the edge degree detected by the edge detection unit is smaller. (2) For a pixel that has been determined as a non-white background pixel by the white background determination unit, the quantization processing unit performs quantization with a larger vibration width as the edge degree detected by the region expansion processing unit decreases. Quantization threshold control means for periodically oscillating the threshold,
を具備することを特徴とする画像処理装置。An image processing apparatus comprising:
前記量子化閾値制御手段は、The quantization threshold value control means includes
前記白地部判定手段により白地部の画素とされた画素に関しては前記エッジ検出手段により検出されたエッジ度合を、前記白地部判定手段により非白地部の画素とされた画素に関しては前記領域拡張処理手段により検出されたエッジ度合をそれぞれ選択する選択手段、及び、The pixel detected as the white background pixel by the white background determination means is the edge degree detected by the edge detection means, and the pixel expansion processing means is the pixel determined as the non-white background pixel by the white background determination means. Selection means for respectively selecting the edge degrees detected by
前記選択手段で選択されたエッジ度合が小さいほど大きな振幅で前記量子化処理手段の量子化閾値を周期的に振動させ、かつ、該エッジ度合が最大のときに前記量子化処理手段の量子化閾値を所定値に固定する量子化閾値発生手段からなることを特徴とする請求項11記載の画像処理装置。The quantization threshold of the quantization processor is periodically oscillated with a larger amplitude as the edge degree selected by the selector is smaller, and the quantization threshold of the quantization processor when the edge degree is the maximum 12. The image processing apparatus according to claim 11, comprising quantization threshold value generating means for fixing the value to a predetermined value.
JP2000106453A 2000-04-07 2000-04-07 Image processing method, image processing apparatus, and storage medium Expired - Fee Related JP3966440B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000106453A JP3966440B2 (en) 2000-04-07 2000-04-07 Image processing method, image processing apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000106453A JP3966440B2 (en) 2000-04-07 2000-04-07 Image processing method, image processing apparatus, and storage medium

Publications (2)

Publication Number Publication Date
JP2001292320A JP2001292320A (en) 2001-10-19
JP3966440B2 true JP3966440B2 (en) 2007-08-29

Family

ID=18619620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000106453A Expired - Fee Related JP3966440B2 (en) 2000-04-07 2000-04-07 Image processing method, image processing apparatus, and storage medium

Country Status (1)

Country Link
JP (1) JP3966440B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227759A (en) 2007-03-09 2008-09-25 Sharp Corp Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium
JP5750969B2 (en) 2011-03-24 2015-07-22 セイコーエプソン株式会社 Image processing apparatus, printing apparatus, image processing method, and image processing program
JP5750968B2 (en) 2011-03-24 2015-07-22 セイコーエプソン株式会社 Image processing apparatus, printing apparatus, image processing method, and image processing program

Also Published As

Publication number Publication date
JP2001292320A (en) 2001-10-19

Similar Documents

Publication Publication Date Title
US7636179B2 (en) Image quantization processing with error diffusion using oscillating quantization threshold to develop dots that spiral outward
US7251060B2 (en) Image-processing device using quantization threshold values produced according to a dither threshold matrix and arranging dot-on pixels in a plural-pixel field according to the dither threshold matrix
JP4912270B2 (en) Image processing apparatus and control method thereof
US7106476B1 (en) Image processing method, image processing apparatus, image forming method and recording medium
JPH1188665A (en) Image processor
JP4097114B2 (en) Image processing apparatus, image processing method, and recording medium
JP3480924B2 (en) Image forming method, image forming apparatus, and recording medium
JPH10285390A (en) Image processor
JP3315205B2 (en) Halftone image reproduction method
JP3932158B2 (en) Image forming method, image processing apparatus, and storage medium
JP3966440B2 (en) Image processing method, image processing apparatus, and storage medium
JP4047097B2 (en) Image forming apparatus, image forming method, and image forming program causing computer to execute the method
JP4100597B2 (en) Image forming method, image processing apparatus, and storage medium
JP4031240B2 (en) Image processing device
JP4861506B2 (en) Image processing apparatus and control method thereof
JP3883031B2 (en) Image processing apparatus, image processing method, and storage medium
JP2001268361A (en) Image processing apparatus and storage medium
JP3938457B2 (en) Image processing apparatus and image processing method
JP4072918B2 (en) Image processing apparatus and image processing method
JP2001128004A (en) Picture processing method, picture processor and storage medium
JP4261564B2 (en) Image forming method, image processing apparatus, and storage medium
JP3492607B2 (en) Image forming device
JP2002271624A (en) Imaging device
JP2001268358A (en) Image processing apparatus and storage medium
JPH09294209A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060927

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061124

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: 20070523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070524

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130608

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees