JP3784537B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP3784537B2
JP3784537B2 JP16076198A JP16076198A JP3784537B2 JP 3784537 B2 JP3784537 B2 JP 3784537B2 JP 16076198 A JP16076198 A JP 16076198A JP 16076198 A JP16076198 A JP 16076198A JP 3784537 B2 JP3784537 B2 JP 3784537B2
Authority
JP
Japan
Prior art keywords
data
unit
edge
correction
value
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
JP16076198A
Other languages
Japanese (ja)
Other versions
JPH11355577A (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 JP16076198A priority Critical patent/JP3784537B2/en
Publication of JPH11355577A publication Critical patent/JPH11355577A/en
Application granted granted Critical
Publication of JP3784537B2 publication Critical patent/JP3784537B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、スキャナから読み込まれた画像を転写紙上で再生するための画像処理装置に関する。
【0002】
【従来の技術】
この種の従来例としては、例えば特開平8−274986号公報に示すように、主に400dpiのシステムにおいて高画質を実現するために、コピーとファクシミリ(FAX)等の複合機においてコピー用の多値処理とFAX用の2値処理を区別して、並行動作とそれぞれの画像処理を最適化する方法が提案されている。
【0003】
【発明が解決しようとする課題】
しかしながら、上記従来例では、2値及び多値の回路構成とRAM制御を考慮していないので、高密度システムでは1画素当たりの階調数を削減して高い画質を実現することができないという問題点がある。また、上記従来例では更に、単純2値化、2値/多値誤差拡散処理を行う場合における閾値の変動による地肌を追従させることができず、また、テクスチャを軽減することができない。
【0004】
本発明は上記従来例の問題点に鑑み、変動閾値に基づいて2値化し、原稿種類に応じた画像処理モードを提供することを目的とする。
【0008】
【課題を解決するための手段】
第1の手段は上記目的を達成するために、入力画像データに対してMTF補正を行なってMTF補正データを出力するMTF補正手段と、入力画像データに対して平滑化を行なって平滑データを出力する平滑化手段と、入力画像データに基づいてエッジ信号を検出するエッジ検出手段と、前記エッジ検出手段によって検出されたエッジ信号がエッジを示す場合は前記MTF補正データを、非エッジを示す場合は前記平滑データを出力データとして選択する選択手段と、予め定められた固定閾値又は前記平滑データの一方をエッジ信号がエッジを示すか非エッジを示すかに応じて選択し、当該選択した値を変動閾値として設定する閾値設定手段と、前記閾値設定手段によって設定された変動閾値に対して第1のγ補正テーブルを参照してγ変換を行なう第1のγ変換手段と、前記選択手段によって選択された出力データに対して第2のγ補正テーブルを参照してγ変換を行なう第2のγ変換手段と、前記第1のγ変換手段によって変換された変動閾値に基づいて前記第2のγ変換手段によって変換された出力データを2値化する2値化手段とを備えたことを特徴とする。
【0011】
の手段は、第1の手段において前記閾値設定手段は、前記平滑データと所定の値との比較した結果に基づいて平滑データの値を確定させるレベル判定手段を備えたことを特徴とする。
【0012】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。図1は本発明に係る画像処理装置の一実施形態を示すブロック図、図2は図1のスキャナγ補正部のスキャナγ補正テーブルと濃度補正テーブルを示す説明図、図3は図1のスキャナγ補正部を詳しく示すブロック図、図4は図1の空間フィルタ処理部を詳しく示すブロック図、図5及び図6は図4の孤立点検出部を詳しく示すブロック図、図7は図4の閾値設定部を詳しく示すブロック図である。
【0013】
また、図8は図1の濃度補正部と階調処理部を詳しく示すブロック図、図9は図8におけるディザ及び誤差拡散用マトリクスRAMを2値データマトリクスとして使用する場合のデータを示す説明図、図10は図8におけるディザ及び誤差拡散用マトリクスRAMを多値データマトリクスとして使用する場合のデータを示す説明図、図11は図8の2値多値誤差拡散処理部を詳しく示す説明図、図12は固定閾値/変動閾値切り替え回路を示すブロック図である。
【0014】
図1において、画像データは読み取り部(スキャナ)1から順次、シェーディング補正部2、図2及び図3において詳しく説明するスキャナγ補正部3、主走査電気変倍部4、図4〜図7において詳しく説明する空間フィルタ処理部5、図8〜図12において詳しく説明する濃度補正部6(6a、6b)及び階調処理部7、PWM変調部8を経由して書き込み部9に転送される。また、システムバス10にはCPU11、RAM12、ROM13、操作部14が接続されている。
【0015】
読み取り部1は、原稿濃度を光源の反射光としてCCD等の撮像素子により電気信号に変換し、次いでこのアナログ信号をディジタル画像信号に変換する。続くシェーディング補正部2はこのディジタル画像信号に対して読み取り部1の光源、CCDを含む光学系による主走査方向の濃度ムラに関する補正を行う。このとき、シェーディング補正部2は予め濃度基準となる白板を読み込んでメモリに記憶し、この基準データにより原稿の読み取りデータを主走査方向にドット単位で補正を行う。このシェーディング補正後のデータの特性は、反射率に関してリニアである。
【0016】
続くスキャナγ補正部3はこの反射率に関してリニアなデータを原稿濃度に関してリニアなデータに変換する。このとき、図2(1)に示すように予めスキャナ1の読み取りの読む取り特性▲1▼を測定して、その逆特性となる変換テーブル▲2▼をRAM3−1(図3)にダウンロードし、スキャナγ補正部3はこの変換テーブル▲2▼により反射率に関してリニアなデータを原稿濃度に関してリニアなデータに変換する。
【0017】
ここで、図2(1)に示す濃度特性▲1▼は、原稿濃度に対するシェーディング補正後の画像データを示し、リニアな特性ではない。すなわち、低濃度領域では急激に立ち上がり、高濃度領域では電気信号上飽和して、一般的にはExp(γ)の特性となる。図2(1)に示す特性▲2▼は、特性▲1▼を濃度リニヤに変換するための特性であり、特性▲1▼に対してExp(1/γ)を乗算している。これにより、濃度信号のダイナミックレンジが増加する。
【0018】
スキャナγ補正部3はまた、この変換以外に、図2(2)に示す濃度補正テーブルにより低濃度部を強調したり、逆に濃度レベルを落とす濃度補正も行う。図2(2)は書き込み系10のプロセス反応に対するγ特性を補正し、更に濃度変更を行うための変換テーブルをRAM3−1(図3)にダウンロードして特性値を乗じたテーブルである。具体的にはルックアップテーブルとしてデータを参照して置き換える。なお、図2(2)において、上に凸の曲線は低濃度領域をより再現する特性であり、下に凸の曲線は低濃度領域を飛ばす(より再現しない)特性である。これらの特性は、モードと濃度ノッチの組み合わせにより任意に設定することができる。
【0019】
スキャナγ補正部3では図3に示すように、濃度再現性と階調再現性の自由度を得るために、変換パラメータをRAM3−1にダウンロードするように構成されている。RAM3−1はスキャナγ補正、画像データの濃度補正、変動閾値に対する濃度補正、ディザ及び誤差拡散処理のための量子化閾値の設定を行うためのものであり、CPU11からのデータダウンロードとルックアップテーブルの切り替え手段は共通である。図3はCPU11からRAM3−1へのアクセスと、テーブル参照の切り替えを説明する図である。RAM3−1のサイズは任意に設定可能であり、アドレス空間は入力画像の1画素当たりの階調数だけあればよい。例えばCCDデータを8ビットでA/D変換するシステムの場合にはアドレス空間は8ビットでよい。
【0020】
データダウンロードのためにCPU11がアクセスするモード時には、CPU11からのアドレスバスをマルチプレクサ(MUX)3−2を介してRAM3−1のアドレス端子ADDRに接続し、CPU11からのダウンロードデータをRAM3−1のデータ入力端子DATIを介して書き込む。このとき、RAM3−1はマルチプレクサ(MUX)3−3を介してライトモードに設定される。なお、図3に示すRAM3−1は、クロックCLKに同期する同期RAMであるが、非同期RAMであってもCPUモードとデータ参照モードの切り替え方式は同じである。
【0021】
通常の画像処理モード時には、RAM3−1のアドレス端子ADDRにはマルチプレクサ3−2を介して被変換画像が入力し、また、RAM3−1はマルチプレクサ3−3を介してリードモードに設定される。これにより、被変換画像の値がアドレスとして入力すると、その変換後の値がRAM3−1のデータ出力端子DATOを介して出力される。したがって、このようなRAM構成により回路構成と演算処理を軽減することができ、また、データの任意性を確保することができる。
【0022】
図1に戻り、続く主走査電気変倍部4は変倍時に、主走査方向の拡大、縮小を行う。このとき、コンボリューション法により読み取り部1の光学系MTFを維持したまま変倍処理を行うことにより画像データの解像度を維持することができる。なお、副走査方向の変倍は、読み取り部1を機械的に制御することにより行う。
【0023】
続く空間フィルタ処理部5は階調処理部7のための前処理と特徴量抽出を行うために、MTF補正、平滑処理、エッジ線分の検出、変動閾値の設定等の各種機能を有する。図4〜図7を参照して空間フィルタ処理部5について詳しく説明すると、先ず、図4に示すように複数のラインメモリ5−2を用いて2次元の画像マトリクス5−1を構成し、次いでこの2次元内で入力画像の周波数特性の補正と濃度特性に基づく特徴量抽出を行う。詳しく説明すると、MTF補正部5−3は読み取り部1の光学系におけるMTF劣化を補正するために、主走査方向及び副走査方向に独立してMTF補正係数、補正強度が任意に設定可能に構成され、処理モード、読み取り原稿、読み取り部1の光学系の種類に対して広く適応可能である。
【0024】
孤立点検出部5−4はジェネレーションコピーにより劣化が予想される地肌ノイズ、原稿ノイズを検出する。このとき、画素配置の規則性を検出して完全な孤立点であるか、低濃度の網点原稿の一部であるかを判別して対象画素を絞り込む。図5、図6を参照して孤立点検出部5−4を詳しく説明すると、周囲からの孤立の状態を検出するために5×5画素、7×7画素、9×9画素の各マトリクス5−4−1、5−4−2、5−4−3の1つを選択(図示5−4−4)してその注目画素(マトリクスの中心画素)と最外周の画素が完全に分離されている場合に注目画素を孤立点と見なすように構成されている。
【0025】
この場合、等倍時には7×7画素のマトリクス5−4−2を用いることにより最大4×4画素の大きさまで孤立点を検出することができる。また、縮小時には孤立点画素と周辺画素の間隔も縮小されるので、4×4の孤立点画素を50%縮小時で検出するためには5×5画素のマトリクス5−4−1を用いて2×2画素のサイズの塊を検出すればよい。逆に200%以上の拡大時には4×4の孤立点画素も拡大されるので、9×9画素のマトリクス5−4−3を用いないと検出することができなくなる。そこで、変倍率に応じてマトリクス選択信号kmxを変更することによりマトリクス5−4−1、5−4−2、5−4−3の1つを選択する。
【0026】
ここで、5×5画素、7×7画素の各マトリクス5−4−1、5−4−2による孤立点除去だけでは、原稿中の有用な情報である低濃度のディザパターンが除去される。そこで、この不具合を解消するために、先ず、着目画素が白地、孤立点であるか又は否かを示す判定信号T1(白地、孤立点の場合にT1=1、他の場合にT1=0)を用いる。また、比較器5−4−6により画像データと閾値kbthを比較することにより白画素であるか又は否かを示す判定信号T2(白画素の場合にT2=1、非白地の場合にT2=0)を生成する。
【0027】
更に、状態遷移判定部5−4−7は判定信号T1、T2と、連続する白画素数5−4−8と孤立点サイズ5−4−9をカウントする。ここで、状態遷移判定部5−4−7により判定された画素の状態stateは、白画素が広く連続しているペーパ状態と、孤立点であるドット状態と、絵柄、文字又は低濃度網点部又は白画素が広く連続していない画像状態の間を遷移する。なお、状態stateはペーパ状態から始まる。
【0028】
判定部5−4−5は判定信号T1、T2と状態stateに基づいて孤立点検出信号resultを図6に示す強度演算部5−4−10に出力する。強度演算部5−4−10にはまた、MTF補正後の画像データmtfoと補正データktjが印加される。ここで、MTF補正後の画像データmtfoは強調処理されているので、孤立点が強調されており、孫コピーによりこのままの処理を複数回繰り返すとジェネレーションが悪化して黒のポチポチが目立つ低品質な画像となる。
【0029】
そこで、強度演算部5−4−10及び選択部5−4−11により、孤立点ではMTF強調せずに、周辺と平滑処理するか、又は白レベルに置き換える。このとき、信号kmodにより孤立点除去処理をオン、オフして切り替え、また、処理する場合には補正データktjにより切り替える。また、補正データktjは強制的な白レベルに変換する場合に最大(=0)とし、また、MTF補正後の画像データmtfoを1/32、1/8、1/2のように弱める。
【0030】
図4に示す孤立点除去部5−7は、検出された孤立点を完全に除去するか、周辺画素の平均値で置き換えるかを選択してノイズ成分を除去する。次いで、細線化/太線化処理部5−8は処理を主走査方向及び副走査方向に独立して行い、また、MTF補正係数と連動してライン濃度を再現するために主走査方向と副走査方向のバランスを調整する。
【0031】
平滑処理部5−5は網点原稿とA/D変換時の折り返し歪みにより発生するモアレ成分を除去し、また、後段の濃度補正部6a、6bと階調処理部7において変動閾値を設定するために周囲情報を抽出する。エッジ検出部5−6は水平、垂直、左右斜め方向の成分のエッジ線分を検出してセレクタ5−9に対して選択信号として出力し、また、後段の濃度補正部6a、6bと階調処理部7において変動閾値を設定するために周囲情報を抽出する。セレクタ5−9はエッジ検出部5−6からエッジ検出信号が入力した場合には細線化/太線化処理部5−8の出力を選択し、非エッジ検出信号が入力した場合には平滑処理部5−5の出力を選択して後段の濃度補正部6aに出力する。
【0032】
図7は閾値設定部5−10を詳しく示している。先ず、ノイズ及び濃度安定領域で使用するために、レベル判定部5−10−1により平滑処理された画像信号と、不図示のレジスタに設定されている上限値及び下限値とをそれぞれ比較することにより平滑化信号を規定する。このとき、平滑化信号が下限値以下の場合には下限値に置き換え、上限値以上の場合には上限値に置き換え、下限値と上限値の間の場合にはそのまま平滑化信号を用いる。
【0033】
次いでセレクタ5−10−2により、エッジ検出信号に基づいて不図示のレジスタに設定されている固定閾値か、又はレベル判定部5−10−1からの下限値と上限値の間の平滑化信号を選択する。この場合、地肌濃度に追従させる完全な変動閾値の場合には、非エッジ部では固定閾値を選択し、エッジ部では上記の平滑化信号を選択する。また、高濃度のエッジと低濃度のエッジを分離して再現させる場合には2段階の閾値を選択し、このとき、エッジ部では固定閾値を選択し、非エッジ部では上記の平滑化信号を選択する。基本的には固定閾値が高濃度のエッジのための2値化用閾値として機能し、平滑化データに対する下限値が低濃度のエッジのための2値化用閾値として機能する。
【0034】
この空間フィルタ処理部5からは、フィルタ処理された画像データと、2値化のための変動閾値が出力され、図8に詳しく示す濃度補正部6a、6bは連動して、それぞれ空間フィルタ処理部5からの画像データと変動閾値に対して濃度補正を行う。このとき、書き込み系9のγ補正と濃度ラッチに対応する再生濃度変換を行い、また、RAM12内の任意の変換データがダウンロードされる。なお、画像データと変動閾値に対して同一のデータをダウンロードすることが基本であるが、階調特性を意図的に変化させるために異なるデータを用いる場合もある。
【0035】
続く階調処理部7は画像データを書き込み系10の特性に合うように変換するために、1画素当たりの濃度データを面積階調に変換する。階調処理部7はまた、単純多値化、2値化、ディザ処理、誤差拡散処理、位相制御等の機能を有し、面積階調への変換の際にはある領域内で量子化閾値を分散させる。また、この閾値を分散する際には任意の閾値をマトリクスRAM6−10(図8)にダウンロードし、処理モードに応じてRAMアクセス手段を切り替えて適切な量子化を選択する。
【0036】
図8は濃度補正部6a、6bと階調処理部7を詳しく示している。先ず、ルックアップテーブルとして、変動閾値に対する濃度変換用γ補正テーブルのためのRAM6−1と、画像データに対する濃度変換用γ補正テーブルのためのRAM6−8と、ディザ及び誤差拡散用マトリクスのためのRAM6−10が設けられている。そして、RAM6−1とγ変換部(閾値)6−2(濃度補正部6b)により濃度変換された閾値は変動2値化部6−3に印加され、また、RAM6−8とγ変換部(濃度)6−7(濃度補正部6b)により濃度変換された画像データは、階調処理部7を構成する変動2値化部6−3と、2値/誤差拡散処理部6−11と、多値レベル変換部6−18と2値/多値ディザ処理部6−20に印加される。
【0037】
すなわち、2値処理用のパスと多値処理用のパスが設けられ、単純2値化処理時にはRAM6−1とγ変換部(閾値)6−2により濃度変換された閾値を変動2値化部6−3、先端画素制御部6−4及びバイナリフィルタ6−5において各画素処理を行う。
【0038】
また、ディザ処理及び誤差拡散処理は、2値、多値共に共通の回路で処理を行い、RAM6−10のデータ内容とアドレス・アクセスの切り替えにより2値、多値の処理を切り替える。また、多値レベル変換部6−18と多値誤差拡散部6−11の処理時に、濃度処理と合わせて主走査方向の前後の濃度分布に応じてドット形成のための位相情報を位相制御部6−15、6−19及び選択部6−1により付加する。例えば3値化の場合、信号レベルには2ビットを割り当てて「00」、「01」、「10」、「11」を設定する。
【0039】
なお、これは通常4値化と言うが、「00」を白、「11」を黒に設定して「01」、「10」共にPWMにおけるデューティ比を50%とすると濃度レベルとしては3値となる。そして、同じ50%であっても「01」の時には右位相によりドット形成領域の右半分でレーザを点灯し、「10」の時には左位相によりドット形成領域の左半分でレーザを点灯する。このとき、PWM変調部9と連動することにより、上記の位相を定義して処理を行う。
【0040】
また、2/多値ディザ処理部6−20による3値化処理時にも、同様なパルスコードを発生する。これについては図9を参照する際に詳しく説明する。また、多値処理時には簡易エッジ検出部6−21により主走査方向の簡易エッジ検出を行い、その線分エッジ情報に基づいて選択部6−16により単純多値処理又は多値誤差拡散処理を選択する。
【0041】
図9はディザ及び誤差拡散用マトリクスRAM6−10のアドレス空間を8ビットで構成した場合の2値ディザマトリクスのダウンロードデータを示している。2値ディザマトリクスとしては主走査方向が4、6、8、16画素、副走査方向が同じく4、6、8、16画素としてこれらを任意に組み合わせて設定することができる。このとき、必要な線数、画像のライン間の間引き等の状態に応じて組み合わせとパターンデータを選択する。また、RAM6−10のアクセスは、処理、制御及び構成を簡単にするためにシーケンシャルなアクセスではなく、2次元配列に基づいてシーク処理を行う。
【0042】
図10はディザ及び誤差拡散用マトリクスRAM6−10を多値データマトリクスとして使用する場合を示し、特にマトリクスサイズが図10(1)は4×4画素A〜Pの場合、図10(2)は6×6画素aa〜ffの場合、図10(3)は8×8画素aa〜hhの場合を示している。このマトリクスのアクセスは2次元配列に基づいてシーク処理を行うが、主走査方向のアドレス数は2倍必要とする。例えば図6(1)に示す4×4画素の場合、主走査方向については各画素当たり2アドレスを割り当てて8アドレスを参照する。
【0043】
画素Aについては内部的に閾値A0、A1を参照する。これによりそれぞれのマトリクス対応画素と2つの閾値を比較する。また、左パルスの場合には大小関係がA0<A1の閾値A0、A1を設定し、右パルスの場合にはA0>A1の閾値A0、A1を設定する。そして、画素Aが閾値A0、A1より小さい場合には量子化コード=00が割り当てられ、画素Aが閾値A0、A1より大きい場合には量子化コード=11が割り当てられる。また、画素Aが閾値A0、A1の間の場合には右パルス(右位相)又は左パルス(左位相)のときで割り当てコードが異なり、右パルス系列が割り振られているときには量子化コード=01が割り当てられ、左パルス系列が割り振られているときには量子化コード=10が割り当てられる。
【0044】
図10(1)における残りの画素B〜Pと、図10(2)における6×6画素aa〜ff、図10(3)における8×8画素aa〜hhについても、基本的に位相生成を考慮して閾値をRAM6−10にダウンロードすることにより、同様な定義に基づいてパルスコードを生成する。
【0045】
図11は2値/誤差拡散処理部6−11の構成と処理を示している。先ず、入力画像と誤差重み付け積和演算部105からの積和結果を加算部101により加算した加算結果Sijに対する量子化閾値として、固定閾値又は変動閾値Tij(ディザ及び誤差拡散用マトリクスRAM6−10)を図12に示す閾値切り替え回路により選択する。変動閾値Tijを使用する場合には、あるブロック単位で繰り返す変動閾値TijをRAM6−10に設定する。
【0046】
図11(2)は2値の場合の8×8画素の変動領域における閾値Tijの一例を示している。なお、閾値Tijをブロック内で変動させることによりテクスチャを低減することができる。また、8×8画素のマトリクス領域内で固定閾値と変動閾値Tijを混在させることにより、エッジの保存性と階調再現性のバランスを調整することができる。多値の場合には、マトリクス内の1画素に対して複数の閾値Tijにより量子化コードを変更する。位相に関しては別途、主走査方向の濃度分布に応じて再配置する。
【0047】
そして、8値化/4値化/3値化/2値化部102により加算部101からの値Sijと変動閾値Tijが比較されて8値化/4値化/3値化/2値化される。また、8値化/4値化/3値化/2値化後のデータGijと処理前のデータSijの誤差Eijが誤差算出部103により算出されて誤差メモリ104に格納される。次いで誤差重み付け積和演算部105によりこの誤差に対して5×2(実際には5+3)の係数が乗算されて各乗算結果が加算され、この積和演算結果が加算部101に印加される。なお、誤差重み付け積和演算部105の5×2の係数マトリクスと図11(1)に示す係数分布は一例である。
【0048】
図12に示す固定閾値/変動閾値の切り替え回路では、設定モードに応じてシステムバス経由でマルチプレクサ112を切り替えて変動閾値又は固定閾値(レジスタ111)を選択し、比較部113を介してRAM6−10に出力する。また、変動閾値に関しては、誤差拡散の場合にはRAM6−10への設定値を主走査方向及び副走査方向のアドレス制御と、多値化レベルで参照する閾値を制御する。また、単純2値化の場合には空間フィルタ部5により設定され、濃度補正された閾値を用いる。固定閾値はハード的に固定された値ではなく、CPU11によりレジスタ111に設定された値を固定閾値として用い、モードと画像特性に応じて変更可能である。
【0049】
図1に戻り、続くPWM(パルス幅変調)変調部8では書き込み部9の書き込みレーザのために画像データをパルス幅変調する。このため、前段の階調処理部7における位相制御とこのパルス幅変調と連動して、ドットの集約と分散を滑らかに行って階調を表現する。続く書き込み部9では例えばレーザによる感光体への作像、転写、定着などの公知の電子写真プロセスにより転写紙上に画像を再現する。なお、書き込み部9がインクジェット等の現像方式の場合には、PWM変調部8以下の構成が異なるが、ドット再現のための位相制御までは同一の構成である。
【0050】
階調処理の設定、濃度補正の切り替え等は操作部14からの操作モードに連動し、絵柄主体の原稿や文字主体の原稿等に応じて処理モードを選択して薄い原稿や濃い原稿に応じて濃度補正用パラメータを変更する。また、実際のシステム制御では、操作モードに応じてCPU11がシステムバス10を経由してRAM12に設定したり、処理パスの経路を各ブロックに設定する。
【0051】
【発明の効果】
以上説明したように発明によれば、変動閾値に基づいて2値化するので、原稿種類に応じた画像処理モードを提供することができる。
【図面の簡単な説明】
【図1】本発明に係る画像処理装置の一実施形態を示すブロック図である。
【図2】図1のスキャナγ補正部のスキャナγ補正テーブルと濃度補正テーブルを示す説明図である。
【図3】図1のスキャナγ補正部を詳しく示すブロック図である。
【図4】図1の空間フィルタ処理部を詳しく示すブロック図である。
【図5】図4の孤立点検出部を詳しく示すブロック図である。
【図6】図4の孤立点検出部を詳しく示すブロック図である。
【図7】図4の閾値設定部を詳しく示すブロック図である。
【図8】図1の濃度補正部と階調処理部を詳しく示すブロック図である。
【図9】図8におけるディザ及び誤差拡散用マトリクスRAMを2値データマトリクスとして使用する場合のデータを示す説明図である。
【図10】図8におけるディザ及び誤差拡散用マトリクスRAMを多値データマトリクスとして使用する場合のデータを示す説明図である。
【図11】図8の2値多値誤差拡散処理部を詳しく示す説明図である。
【図12】固定閾値/変動閾値切り替え回路を示すブロック図である。
【符号の説明】
1 読み取り部(スキャナ)
2 シェーディング補正部
3 スキャナγ補正部
4 主走査電気変倍部
5 空間フィルタ処理部
5−3 MTF補正部
5−4 孤立点検出部
5−4−1,5−4−2,5−4−3 マトリクス
5−5 平滑処理部
5−6 エッジ検出部
5−7 孤立点除去部
5−10 閾値設定部
6a,6b 濃度補正部
6−10 マトリクスRAM
6−11 2値/多値誤差拡散部
6−18 多値レベル変換部
6−20 2値/多値ディザ処理部
7 階調処理部
8 PWM変調部
9 書き込み部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus for reproducing an image read from a scanner on transfer paper.
[0002]
[Prior art]
As a conventional example of this type, as shown in, for example, Japanese Patent Laid-Open No. 8-274986, in order to realize high image quality mainly in a 400 dpi system, there are many copying machines in a multifunction machine such as a copying machine and a facsimile (FAX). A method for optimizing the parallel operation and the respective image processing by distinguishing the value processing from the binary processing for FAX has been proposed.
[0003]
[Problems to be solved by the invention]
However, since the conventional example does not consider the binary and multi-level circuit configurations and the RAM control, the high density system cannot reduce the number of gradations per pixel and realize high image quality. There is a point. Further, in the above-described conventional example, the background cannot be made to follow due to the fluctuation of the threshold when the simple binarization and binary / multilevel error diffusion processing is performed, and the texture cannot be reduced.
[0004]
In view of the problems of the conventional example, the present invention Binarization based on the fluctuation threshold, and image processing mode according to the document type The purpose is to provide.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the first means performs MTF correction on input image data and outputs MTF correction data, and smoothes input image data and outputs smooth data. Smoothing means, edge detection means for detecting edge signals based on input image data, and edge signals detected by the edge detection means If indicates an edge The MTF correction data To indicate non-edges Selecting means for selecting the smoothed data as output data; and a predetermined fixed threshold value or one of the smoothed data as an edge signal Depending on whether indicates an edge or non-edge Selected, The selected value Fluctuation threshold As Threshold setting means for setting; A first γ conversion means for performing γ conversion with reference to a first γ correction table with respect to the variation threshold set by the threshold setting means, and a second for the output data selected by the selection means second γ conversion means for performing γ conversion with reference to the γ correction table; Said Converted by the first γ converting means Based on the variation threshold Converted by the second γ conversion means And binarizing means for binarizing the output data.
[0011]
First 2 Means 1's In the means, the threshold setting means comprises level determining means for determining the value of the smoothed data based on the result of comparison between the smoothed data and a predetermined value.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention, FIG. 2 is an explanatory diagram showing a scanner γ correction table and a density correction table of the scanner γ correction unit of FIG. 1, and FIG. 3 is a scanner of FIG. 4 is a block diagram showing in detail the γ correction unit, FIG. 4 is a block diagram showing in detail the spatial filter processing unit of FIG. 1, FIGS. 5 and 6 are block diagrams showing in detail the isolated point detection unit of FIG. 4, and FIG. It is a block diagram which shows a threshold value setting part in detail.
[0013]
8 is a block diagram showing in detail the density correction unit and gradation processing unit in FIG. 1, and FIG. 9 is an explanatory diagram showing data when the dither and error diffusion matrix RAM in FIG. 8 is used as a binary data matrix. 10 is an explanatory diagram showing data when the dither and error diffusion matrix RAM in FIG. 8 is used as a multi-value data matrix, and FIG. 11 is an explanatory diagram showing in detail the binary multi-value error diffusion processing unit of FIG. FIG. 12 is a block diagram showing a fixed threshold value / variable threshold value switching circuit.
[0014]
In FIG. 1, image data is sequentially read from a reading unit (scanner) 1, a shading correction unit 2, a scanner γ correction unit 3, a main scanning electric scaling unit 4, which will be described in detail in FIGS. The data is transferred to the writing unit 9 via the spatial filter processing unit 5 described in detail, the density correction unit 6 (6a, 6b), the gradation processing unit 7, and the PWM modulation unit 8 described in detail in FIGS. In addition, a CPU 11, a RAM 12, a ROM 13, and an operation unit 14 are connected to the system bus 10.
[0015]
The reading unit 1 converts the document density into an electric signal by an image pickup device such as a CCD as reflected light of the light source, and then converts the analog signal into a digital image signal. The subsequent shading correction unit 2 corrects the density unevenness in the main scanning direction by the optical system including the light source and CCD of the reading unit 1 for the digital image signal. At this time, the shading correction unit 2 reads a white plate serving as a density reference in advance and stores it in the memory, and corrects the read data of the document in dot units in the main scanning direction based on the reference data. The data characteristics after the shading correction are linear with respect to the reflectance.
[0016]
The subsequent scanner γ correction unit 3 converts linear data regarding the reflectance into linear data regarding the document density. At this time, as shown in FIG. 2 (1), the reading characteristic (1) of reading by the scanner 1 is measured in advance, and the conversion table (2) which is the reverse characteristic is downloaded to the RAM 3-1 (FIG. 3). The scanner γ correction unit 3 converts the linear data regarding the reflectance into the linear data regarding the document density by using the conversion table (2).
[0017]
Here, the density characteristic {circle around (1)} shown in FIG. 2A indicates image data after shading correction with respect to the original density, and is not a linear characteristic. That is, it rises sharply in the low concentration region and saturates on the electric signal in the high concentration region, and generally has an Exp (γ) characteristic. A characteristic {circle around (2)} shown in FIG. 2A is a characteristic for converting the characteristic {circle around (1)} to density linear, and the characteristic {circle around (1)} is multiplied by Exp (1 / γ). This increases the dynamic range of the density signal.
[0018]
In addition to this conversion, the scanner γ correction unit 3 also performs density correction by emphasizing the low density part by using the density correction table shown in FIG. FIG. 2B is a table in which the conversion table for correcting the γ characteristic with respect to the process reaction of the writing system 10 and further changing the density is downloaded to the RAM 3-1 (FIG. 3) and multiplied by the characteristic value. Specifically, the data is replaced as a lookup table. In FIG. 2B, the upwardly convex curve is a characteristic that reproduces the low density region more, and the downward convex curve is a characteristic that skips the low density region (not reproduced more). These characteristics can be arbitrarily set by a combination of a mode and a density notch.
[0019]
As shown in FIG. 3, the scanner γ correction unit 3 is configured to download conversion parameters to the RAM 3-1 in order to obtain degrees of freedom of density reproducibility and gradation reproducibility. The RAM 3-1 is for performing scanner γ correction, image data density correction, density correction for fluctuation threshold, dithering, and quantization threshold setting for error diffusion processing. Data download from the CPU 11 and lookup table The switching means is common. FIG. 3 is a diagram for explaining access from the CPU 11 to the RAM 3-1 and switching of table reference. The size of the RAM 3-1 can be arbitrarily set, and the address space only needs to be the number of gradations per pixel of the input image. For example, in the case of a system in which CCD data is A / D converted with 8 bits, the address space may be 8 bits.
[0020]
In the mode in which the CPU 11 accesses for data download, the address bus from the CPU 11 is connected to the address terminal ADDR of the RAM 3-1 via the multiplexer (MUX) 3-2, and the download data from the CPU 11 is transferred to the data of the RAM 3-1. Write through the input terminal DATI. At this time, the RAM 3-1 is set to the write mode via the multiplexer (MUX) 3-3. Note that the RAM 3-1 shown in FIG. 3 is a synchronous RAM synchronized with the clock CLK, but the switching method between the CPU mode and the data reference mode is the same even in the asynchronous RAM.
[0021]
In the normal image processing mode, the converted image is input to the address terminal ADDR of the RAM 3-1 via the multiplexer 3-2, and the RAM 3-1 is set to the read mode via the multiplexer 3-3. Thus, when the value of the converted image is input as an address, the converted value is output via the data output terminal DATO of the RAM 3-1. Therefore, with such a RAM configuration, the circuit configuration and the arithmetic processing can be reduced, and the arbitraryness of data can be ensured.
[0022]
Returning to FIG. 1, the subsequent main scanning electric zooming unit 4 performs enlargement / reduction in the main scanning direction at the time of zooming. At this time, the resolution of the image data can be maintained by performing the scaling process while maintaining the optical system MTF of the reading unit 1 by the convolution method. Note that scaling in the sub-scanning direction is performed by mechanically controlling the reading unit 1.
[0023]
The subsequent spatial filter processing unit 5 has various functions such as MTF correction, smoothing processing, edge line segment detection, and variation threshold setting in order to perform preprocessing and feature amount extraction for the gradation processing unit 7. The spatial filter processing unit 5 will be described in detail with reference to FIGS. 4 to 7. First, a two-dimensional image matrix 5-1 is configured using a plurality of line memories 5-2 as shown in FIG. Within these two dimensions, correction of the frequency characteristics of the input image and feature quantity extraction based on the density characteristics are performed. More specifically, the MTF correction unit 5-3 is configured so that the MTF correction coefficient and the correction intensity can be arbitrarily set independently in the main scanning direction and the sub-scanning direction in order to correct the MTF deterioration in the optical system of the reading unit 1. Therefore, it can be widely applied to the processing mode, the read original, and the type of the optical system of the reading unit 1.
[0024]
The isolated point detection unit 5-4 detects background noise and document noise that are expected to deteriorate due to generation copying. At this time, the regularity of the pixel arrangement is detected to determine whether the pixel is a complete isolated point or a part of a low-density halftone original, and the target pixel is narrowed down. The isolated point detector 5-4 will be described in detail with reference to FIGS. 5 and 6. Each matrix 5 of 5 × 5 pixels, 7 × 7 pixels, and 9 × 9 pixels is used to detect an isolated state from the surroundings. -4-1, 5-4-2, 5-4-3 is selected (5-4-4 in the figure), and the target pixel (center pixel of the matrix) and the outermost pixel are completely separated. In this case, the target pixel is regarded as an isolated point.
[0025]
In this case, isolated points can be detected up to a maximum size of 4 × 4 pixels by using a 7 × 7 pixel matrix 5-4-2 at the same magnification. Further, since the interval between the isolated point pixel and the surrounding pixels is also reduced at the time of reduction, a 5 × 5 pixel matrix 5-4-1 is used to detect 4 × 4 isolated point pixels at the time of 50% reduction. What is necessary is just to detect a block having a size of 2 × 2 pixels. On the other hand, when the enlargement is 200% or more, the 4 × 4 isolated point pixels are also enlarged, and cannot be detected unless the 9 × 9 pixel matrix 5-4-3 is used. Therefore, one of the matrices 5-4-1, 5-4-2, and 5-4-3 is selected by changing the matrix selection signal kmx in accordance with the scaling factor.
[0026]
Here, the low-density dither pattern, which is useful information in the document, is removed only by removing the isolated points by the 5 × 5 pixel and 7 × 7 pixel matrices 5-4-1 and 5-4-2. . In order to solve this problem, first, a determination signal T1 indicating whether or not the pixel of interest is a white background or an isolated point (T1 = 1 in the case of a white background or an isolated point, T1 = 0 in other cases). Is used. Further, the comparator 5-4-6 compares the image data with the threshold kbth to determine whether or not the pixel is a white pixel (T2 = 1 for a white pixel, T2 = for a non-white background). 0) is generated.
[0027]
Further, the state transition determination unit 5-4-7 counts the determination signals T1 and T2, the number of consecutive white pixels 5-4-8, and the isolated point size 5-4-9. Here, the state state of the pixel determined by the state transition determination unit 5-4-7 includes a paper state in which white pixels are widely continuous, a dot state that is an isolated point, a pattern, a character, or a low density halftone dot. Transition between image states in which part or white pixels are not widely continuous. The state state starts from the paper state.
[0028]
The determination unit 5-4-5 outputs the isolated point detection signal result to the intensity calculation unit 5-4-10 shown in FIG. 6 based on the determination signals T1 and T2 and the state state. Further, the image data mtfo and the correction data ktj after the MTF correction are applied to the intensity calculator 5-4-10. Here, since the image data mtfo after the MTF correction is enhanced, the isolated points are emphasized, and if this process is repeated a plurality of times by grandchild copy, the generation deteriorates and the low-quality black is noticeable. It becomes an image.
[0029]
Therefore, the intensity calculation unit 5-4-10 and the selection unit 5-4-11 do not perform MTF emphasis on the isolated points, and smooth the surroundings or replace them with white levels. At this time, the isolated point removal processing is switched on and off by the signal kmod, and is switched by the correction data ktj in the case of processing. The correction data ktj is set to the maximum (= 0) when it is converted to a forced white level, and the image data mtfo after MTF correction is weakened to 1/32, 1/8, 1/2.
[0030]
The isolated point removal unit 5-7 shown in FIG. 4 selects whether to remove the detected isolated point completely or replace it with the average value of the surrounding pixels to remove the noise component. Next, the thinning / thickening processing unit 5-8 performs the processing independently in the main scanning direction and the sub-scanning direction, and also reproduces the line density in conjunction with the MTF correction coefficient in order to reproduce the line density. Adjust the direction balance.
[0031]
The smoothing processing unit 5-5 removes the moiré component generated by the halftone original and the aliasing distortion at the time of A / D conversion, and sets the variation threshold value in the density correction units 6a and 6b and the gradation processing unit 7 in the subsequent stage. Therefore, the surrounding information is extracted. The edge detection unit 5-6 detects edge line segments of horizontal, vertical, and left and right diagonal components and outputs them as selection signals to the selector 5-9. Further, the edge detection unit 5-6 and gradation correction units 6a and 6b and gradations The processing unit 7 extracts surrounding information in order to set a variation threshold. The selector 5-9 selects the output of the thinning / thickening processing unit 5-8 when the edge detection signal is input from the edge detection unit 5-6, and the smoothing processing unit when the non-edge detection signal is input. The output 5-5 is selected and output to the subsequent density correction unit 6a.
[0032]
FIG. 7 shows the threshold setting unit 5-10 in detail. First, for use in a noise and density stable region, the image signal smoothed by the level determination unit 5-10-1 is compared with an upper limit value and a lower limit value set in a register (not shown). To define the smoothed signal. At this time, when the smoothed signal is equal to or lower than the lower limit value, the lower limit value is replaced. When the smoothed signal is equal to or higher than the upper limit value, the upper limit value is replaced. When the smoothed signal is between the lower limit value and the upper limit value, the smoothed signal is used.
[0033]
Next, the selector 5-10-2 uses a fixed threshold value set in a register (not shown) based on the edge detection signal, or a smoothed signal between the lower limit value and the upper limit value from the level determination unit 5-10-1. Select. In this case, in the case of a complete variation threshold value that follows the background density, the fixed threshold value is selected at the non-edge portion, and the above-described smoothed signal is selected at the edge portion. In addition, when separating the high density edge and the low density edge and reproducing them, a threshold value of two stages is selected. At this time, a fixed threshold value is selected for the edge portion, and the above smoothing signal is selected for the non-edge portion. select. Basically, the fixed threshold value functions as a binarization threshold value for a high density edge, and the lower limit value for the smoothed data functions as a binarization threshold value for a low density edge.
[0034]
The spatial filter processing unit 5 outputs the filtered image data and the fluctuation threshold value for binarization, and the density correction units 6a and 6b shown in detail in FIG. Density correction is performed on the image data from 5 and the variation threshold. At this time, the reproduction density conversion corresponding to the γ correction and density latch of the writing system 9 is performed, and arbitrary conversion data in the RAM 12 is downloaded. Although it is basic to download the same data for the image data and the variation threshold, different data may be used to intentionally change the gradation characteristics.
[0035]
The subsequent gradation processing unit 7 converts density data per pixel into area gradation in order to convert the image data so as to match the characteristics of the writing system 10. The gradation processing unit 7 also has functions such as simple multi-value quantization, binarization, dither processing, error diffusion processing, and phase control, and a quantization threshold value within a certain area when converting to area gradation. To disperse. Further, when distributing this threshold value, an arbitrary threshold value is downloaded to the matrix RAM 6-10 (FIG. 8), and an appropriate quantization is selected by switching the RAM access means according to the processing mode.
[0036]
FIG. 8 shows the density correction units 6a and 6b and the gradation processing unit 7 in detail. First, as a lookup table, a RAM 6-1 for a density conversion γ correction table for a variation threshold, a RAM 6-8 for a density conversion γ correction table for image data, and a dither and error diffusion matrix A RAM 6-10 is provided. The threshold value converted by the RAM 6-1 and the γ conversion unit (threshold value) 6-2 (density correction unit 6b) is applied to the fluctuation binarization unit 6-3, and the RAM 6-8 and the γ conversion unit ( (Density) 6-7 (density correction unit 6b) converts the image data into a fluctuation binarization unit 6-3, a binary / error diffusion processing unit 6-11 constituting the gradation processing unit 7, It is applied to the multilevel level converter 6-18 and the binary / multilevel dither processor 6-20.
[0037]
That is, a binary processing path and a multi-value processing path are provided, and the threshold value converted by the RAM 6-1 and the γ conversion unit (threshold value) 6-2 at the time of the simple binarization process is changed to a variable binarization unit. 6-3, each pixel process is performed in the leading edge pixel control unit 6-4 and the binary filter 6-5.
[0038]
The dither processing and error diffusion processing are performed by a common circuit for both binary and multi-value, and the binary and multi-value processing is switched by switching the data contents of RAM 6-10 and address / access. In addition, during the processing of the multi-level conversion unit 6-18 and the multi-level error diffusion unit 6-11, phase information for dot formation according to the density distribution before and after the main scanning direction is combined with the density process. 6-15, 6-19 and selection unit 6-1 6 Add by. For example, in the case of ternarization, 2 bits are assigned to the signal level and “00”, “01”, “10”, and “11” are set.
[0039]
This is usually called quaternarization, but if “00” is set to white, “11” is set to black, and both “01” and “10” have a duty ratio in PWM of 50%, the density level is ternary. It becomes. Even when the ratio is 50%, the laser is turned on in the right half of the dot formation area when the phase is “01”, and the laser is turned on in the left half of the dot formation area when the phase is “10”. At this time, the process is performed by defining the above-mentioned phase in conjunction with the PWM modulation unit 9.
[0040]
The same pulse code is also generated during the ternarization processing by the 2 / multi-value dither processing unit 6-20. This will be described in detail when referring to FIG. In the multi-value processing, the simple edge detection unit 6-21 performs simple edge detection in the main scanning direction, and the selection unit 6-16 selects simple multi-value processing or multi-value error diffusion processing based on the line segment edge information. To do.
[0041]
FIG. 9 shows binary dither matrix download data when the address space of the dither and error diffusion matrix RAM 6-10 is composed of 8 bits. As the binary dither matrix, the main scanning direction can be set to 4, 6, 8, 16 pixels, and the sub-scanning direction can be set to 4, 6, 8, 16 pixels. At this time, a combination and pattern data are selected in accordance with the number of necessary lines and the state of thinning out the lines of the image. Further, the RAM 6-10 access is not a sequential access to simplify processing, control and configuration, but seek processing based on a two-dimensional array.
[0042]
FIG. 10 shows a case where the dither and error diffusion matrix RAM 6-10 is used as a multi-value data matrix. In particular, when the matrix size is 4 × 4 pixels A to P in FIG. 10A, FIG. In the case of 6 × 6 pixels aa to ff, FIG. 10 (3) shows the case of 8 × 8 pixels aa to hh. This matrix access performs a seek process based on a two-dimensional array, but requires twice as many addresses in the main scanning direction. For example, in the case of 4 × 4 pixels shown in FIG. 6A, 2 addresses are assigned to each pixel in the main scanning direction and 8 addresses are referred to.
[0043]
For the pixel A, the thresholds A0 and A1 are referred to internally. As a result, each matrix-corresponding pixel is compared with two threshold values. In the case of the left pulse, thresholds A0 and A1 are set such that the magnitude relationship is A0 <A1, and in the case of the right pulse, thresholds A0 and A1 of A0> A1 are set. When the pixel A is smaller than the threshold values A0 and A1, the quantization code = 00 is assigned. When the pixel A is larger than the threshold values A0 and A1, the quantization code = 11 is assigned. Further, when the pixel A is between the threshold values A0 and A1, the allocation code is different when the right pulse (right phase) or the left pulse (left phase), and when the right pulse series is allocated, the quantization code = 01 Is assigned, and quantization code = 10 is assigned when the left pulse sequence is assigned.
[0044]
Phase generation is also basically performed for the remaining pixels B to P in FIG. 10 (1), 6 × 6 pixels aa to ff in FIG. 10 (2), and 8 × 8 pixels aa to hh in FIG. 10 (3). By taking the threshold value into consideration and downloading it to the RAM 6-10, a pulse code is generated based on the same definition.
[0045]
FIG. 11 shows the configuration and processing of the binary / error diffusion processing unit 6-11. First, a fixed threshold value or a variation threshold value Tij (dither and error diffusion matrix RAM 6-10) is used as a quantization threshold value for an addition result Sij obtained by adding the product-sum result from the error weighted product-sum operation unit 105 by the addition unit 101. Is selected by the threshold value switching circuit shown in FIG. When the fluctuation threshold value Tij is used, the fluctuation threshold value Tij that is repeated in a certain block unit is set in the RAM 6-10.
[0046]
FIG. 11 (2) shows an example of the threshold value Tij in the 8 × 8 pixel fluctuation region in the case of binary values. Note that the texture can be reduced by changing the threshold Tij within the block. Further, by mixing the fixed threshold value and the variation threshold value Tij in the 8 × 8 pixel matrix region, the balance between edge preservation and gradation reproducibility can be adjusted. In the case of multivalue, the quantization code is changed with a plurality of threshold values Tij for one pixel in the matrix. Separately, the phases are rearranged according to the density distribution in the main scanning direction.
[0047]
Then, the 8-value / quaternarization / ternarization / binarization unit 102 compares the value Sij from the addition unit 101 with the variation threshold value Tij to obtain an 8-value / quaternarization / ternarization / binarization. Is done. Further, the error Eij between the data Gij after the 8-level / quaternary / ternarization / binarization and the data Sij before the processing is calculated by the error calculation unit 103 and stored in the error memory 104. Next, the error weighted product-sum operation unit 105 multiplies this error by a coefficient of 5 × 2 (actually 5 + 3), adds each multiplication result, and applies the product-sum operation result to the addition unit 101. Note that the 5 × 2 coefficient matrix of the error weighted product-sum operation unit 105 and the coefficient distribution shown in FIG. 11A are examples.
[0048]
In the fixed threshold / variation threshold switching circuit shown in FIG. 12, the multiplexer 112 is switched via the system bus in accordance with the setting mode to select the variation threshold or the fixed threshold (register 111), and the RAM 6-10 via the comparison unit 113. Output to. As for the fluctuation threshold value, in the case of error diffusion, the threshold value for referring to the setting value in the RAM 6-10 in the main scanning direction and the sub-scanning direction and the multi-value level is controlled. In the case of simple binarization, a threshold value set by the spatial filter unit 5 and subjected to density correction is used. The fixed threshold value is not a hardware fixed value, but a value set in the register 111 by the CPU 11 is used as the fixed threshold value, and can be changed according to the mode and the image characteristics.
[0049]
Returning to FIG. 1, the subsequent PWM (pulse width modulation) modulation unit 8 performs pulse width modulation of image data for the writing laser of the writing unit 9. For this reason, in conjunction with the phase control in the gradation processing unit 7 in the preceding stage and this pulse width modulation, gradation is expressed by smoothly performing dot aggregation and dispersion. The subsequent writing unit 9 reproduces an image on a transfer sheet by a known electrophotographic process such as image formation, transfer, and fixing on a photoconductor with a laser. When the writing unit 9 is a developing system such as an ink jet, the configuration of the PWM modulation unit 8 and below is different, but the configuration is the same up to the phase control for dot reproduction.
[0050]
Setting of gradation processing, switching of density correction, and the like are linked to the operation mode from the operation unit 14, and a processing mode is selected according to a picture-based document, a character-based document, or the like, and according to a thin document or a dark document. Change the density correction parameter. In actual system control, the CPU 11 sets the RAM 12 via the system bus 10 or sets the path of the processing path to each block according to the operation mode.
[0051]
【The invention's effect】
As explained above Book According to the invention, Since binarization is performed based on the variation threshold, an image processing mode corresponding to the document type is provided. be able to.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention.
FIG. 2 is an explanatory diagram showing a scanner γ correction table and a density correction table of the scanner γ correction unit in FIG. 1;
FIG. 3 is a block diagram illustrating in detail a scanner γ correction unit in FIG. 1;
4 is a block diagram illustrating in detail a spatial filter processing unit in FIG. 1; FIG.
5 is a block diagram illustrating in detail an isolated point detection unit in FIG. 4;
6 is a block diagram illustrating in detail an isolated point detection unit in FIG. 4;
7 is a block diagram illustrating in detail a threshold value setting unit in FIG. 4;
FIG. 8 is a block diagram illustrating in detail a density correction unit and a gradation processing unit in FIG. 1;
FIG. 9 is an explanatory diagram showing data when the dither and error diffusion matrix RAM in FIG. 8 is used as a binary data matrix;
10 is an explanatory diagram showing data when the dither and error diffusion matrix RAM in FIG. 8 is used as a multi-value data matrix. FIG.
11 is an explanatory diagram showing in detail a binary multi-value error diffusion processing unit in FIG. 8;
FIG. 12 is a block diagram showing a fixed threshold value / variable threshold value switching circuit.
[Explanation of symbols]
1 Reading unit (scanner)
2 Shading correction part
3 Scanner γ correction unit
4 Main scanning electric zoom
5 Spatial filter processing section
5-3 MTF correction unit
5-4 Isolated point detector
5-4-1, 5-4-2, 5-4-3 Matrix
5-5 Smoothing processing unit
5-6 Edge detector
5-7 Isolated point removal unit
5-10 Threshold setting unit
6a, 6b Density correction unit
6-10 Matrix RAM
6-11 Binary / Multilevel Error Diffusion Unit
6-18 Multi-level conversion unit
6-20 Binary / Multilevel Dither Processing Unit
7 Gradation processing section
8 PWM modulator
9 Writing part

Claims (2)

入力画像データに対してMTF補正を行なってMTF補正データを出力するMTF補正手段と、
入力画像データに対して平滑化を行なって平滑データを出力する平滑化手段と、
入力画像データに基づいてエッジ信号を検出するエッジ検出手段と、
前記エッジ検出手段によって検出されたエッジ信号がエッジを示す場合は前記MTF補正データを、非エッジを示す場合は前記平滑データを出力データとして選択する選択手段と、
予め定められた固定閾値又は前記平滑データの一方をエッジ信号がエッジを示すか非エッジを示すかに応じて選択し、当該選択した値を変動閾値として設定する閾値設定手段と、
前記閾値設定手段によって設定された変動閾値に対して第1のγ補正テーブルを参照してγ変換を行なう第1のγ変換手段と、
前記選択手段によって選択された出力データに対して第2のγ補正テーブルを参照してγ変換を行なう第2のγ変換手段と、
前記第1のγ変換手段によって変換された変動閾値に基づいて前記第2のγ変換手段によって変換された出力データを2値化する2値化手段と、
を備えたことを特徴とする画像処理装置。
MTF correction means for performing MTF correction on input image data and outputting MTF correction data;
Smoothing means for smoothing input image data and outputting smooth data;
Edge detection means for detecting an edge signal based on input image data;
Selecting means for selecting the MTF correction data when the edge signal detected by the edge detecting means indicates an edge, and selecting the smoothed data as output data when indicating the non-edge ;
A threshold setting means for selecting in accordance with one of the fixed threshold or the smoothing data predetermined on whether an edge signal indicating the non-edge or represents an edge, and sets the selected value as a variable threshold,
First γ conversion means for performing γ conversion with reference to the first γ correction table with respect to the variation threshold set by the threshold setting means;
Second γ conversion means for performing γ conversion on the output data selected by the selection means with reference to a second γ correction table;
Binarization means for binarizing the output data converted by the second γ conversion means based on the fluctuation threshold value converted by the first γ conversion means ;
An image processing apparatus comprising:
前記閾値設定手段は、前記平滑データと所定の値との比較した結果に基づいて平滑データの値を確定させるレベル判定手段を備えたことを特徴とする請求項1記載の画像処理装置。The image processing apparatus according to claim 1 , wherein the threshold setting unit includes a level determination unit that determines a value of smooth data based on a result of comparison between the smooth data and a predetermined value .
JP16076198A 1998-06-09 1998-06-09 Image processing device Expired - Fee Related JP3784537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16076198A JP3784537B2 (en) 1998-06-09 1998-06-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16076198A JP3784537B2 (en) 1998-06-09 1998-06-09 Image processing device

Publications (2)

Publication Number Publication Date
JPH11355577A JPH11355577A (en) 1999-12-24
JP3784537B2 true JP3784537B2 (en) 2006-06-14

Family

ID=15721903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16076198A Expired - Fee Related JP3784537B2 (en) 1998-06-09 1998-06-09 Image processing device

Country Status (1)

Country Link
JP (1) JP3784537B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100381651B1 (en) * 2000-01-05 2003-04-26 삼성전자주식회사 Apparatus for processing color halftoning
JP4912270B2 (en) * 2007-10-16 2012-04-11 キヤノン株式会社 Image processing apparatus and control method thereof
JP4983947B2 (en) 2010-03-23 2012-07-25 コニカミノルタビジネステクノロジーズ株式会社 Halftone image generation apparatus and halftone image generation method

Also Published As

Publication number Publication date
JPH11355577A (en) 1999-12-24

Similar Documents

Publication Publication Date Title
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
JP3777785B2 (en) Image processing device
EP1505821B1 (en) Image processing apparatus, an image forming apparatus and an image processing method
JP3700381B2 (en) Image processing device
US6011878A (en) Image processing method and apparatus
JP4610517B2 (en) Method and system for extending binary image data to contone image data
JP2001313831A (en) Image-processing unit, image-processing method, and computer-readable recording medium with program for making computer execute the method recorded
US5805738A (en) Image processing apparatus and method
JPH03193472A (en) Highly definite image generating system of image processor
US7324244B2 (en) Image forming apparatus and image forming method
US5835238A (en) Phantom level edge enhanced error diffusion
US6519367B2 (en) Method and system for propagating selective amounts of error in a hybrid screening device
US6141114A (en) Edge enhanced error diffusion with artifact correction in areas of highlights and shadows
JP4097114B2 (en) Image processing apparatus, image processing method, and recording medium
JP2000196881A (en) Image processor
JP3784537B2 (en) Image processing device
JP3814313B2 (en) Error diffusion method, error diffusion system, and error value generation method
JP2009201023A (en) Devide and method for image processing
JP4148443B2 (en) Image forming apparatus
JPH01115271A (en) Image processor
JP2001177722A (en) Image forming method, image processor and storage medium
JPH11284854A (en) Image processing unit
JP2005229646A (en) Image processing apparatus
JP2900907B2 (en) Image processing device
JP3679522B2 (en) Image processing method and apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060315

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

Free format text: PAYMENT UNTIL: 20100324

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110324

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120324

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130324

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140324

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees