JP3729131B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP3729131B2
JP3729131B2 JP2002004888A JP2002004888A JP3729131B2 JP 3729131 B2 JP3729131 B2 JP 3729131B2 JP 2002004888 A JP2002004888 A JP 2002004888A JP 2002004888 A JP2002004888 A JP 2002004888A JP 3729131 B2 JP3729131 B2 JP 3729131B2
Authority
JP
Japan
Prior art keywords
data
signal
image
edge
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
JP2002004888A
Other languages
Japanese (ja)
Other versions
JP2002271634A (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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2002004888A priority Critical patent/JP3729131B2/en
Publication of JP2002271634A publication Critical patent/JP2002271634A/en
Application granted granted Critical
Publication of JP3729131B2 publication Critical patent/JP3729131B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルカラー複写機等の画像処理装置に関する。
【0002】
【従来の技術】
従来より、イメージリーダで読み取ったRGB画像データをシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(BK)の4色の画像データに色変換し、得られた画像データに基づいて、上記4色のトナーを複写紙に現像するフルカラーデジタル複写機であって、MTF補正として、原稿画像中の黒文字を検出し、検出された部分に対し、BKデータは、明度エッジ成分を用いてエッジ強調を行い、C,M,Yデータは、明度エッジ成分を用いてエッジ除去を行う。これにより、黒文字部分をBKデータ単色で再現し、複写紙上に再現される画像品質の向上を図る。
【0003】
【発明が解決しようとする課題】
しかし、電子写真式の画像形成装置の場合、図70の(a)に示すように、複写紙の通紙方向を基準としてエッジの立ち上がり部分にトナーがつき過ぎ、エッジのたち下がり部分のトナーがかすれるといった現象が生じる。
【0004】
本発明の目的は、通紙方向を基準として発生するエッジの立ち上がり部分でのトナーのつき過ぎ、エッジのたち下がり部分でのトナーのかすれを解消する画像形成装置を提供することである。
【0005】
【課題を解決するための手段】
本発明に係る画像形成装置は、原稿のRGB画像データを読み取る読取手段と、感光体と、読み取られたRGB画像データに基づいて、感光体上にトナー像を形成する現像器と、感光体上に形成されたトナー像を、所定の方向で搬送される用紙に転写する転写手段と、上記転写手段に用紙を所定の方向で搬送する搬送手段と、搬送手段が転写手段に用紙を搬送する方向を基準として、ある画素とその1つ前の画素との濃度差、ある画素とその1つ後の画素との濃度差、および、ある画素の濃度とをそれぞれ求め、ある画素の濃度が低くその前の画素との濃度差が小さくその後の画素との濃度差が大きい場合には当該画素がエッジの立ち上がり部分に該当する画素であると、また、ある画素の濃度が低くその前の画素との濃度差が大きくその後の画素との濃度差が小さい場合には当該画素がエッジの立ち下がり部分に該当する画素であると検出する検出手段と、検出手段により検出されたエッジの立ち上がり部分に該当する画素と、エッジの立ち下がり部分に該当する画素とに、それぞれ所定の補正データを加算する補正データ加算手段とを備える。
【0006】
本発明に係る画像処理装置では、搬送手段が転写手段に用紙を搬送する方向を基準として、検出手段により、エッジの立ち上がり部分及び立ち下がり部分を検出する。補正データ加算手段は、検出手段により検出されたエッジの立ち上がり部分における画素の通紙方向に1つ前の画素と、立ち下がり部分における1つ後の画素とに所定の補正データを加算する。
【0007】
【発明の実施の形態】
以下、添付の図面を用いて本実施形態の画像処理装置について以下の順で説明する。
(a)画像処理装置の構成
(a-1)複写機本体の構成
(a-2)操作パネル
(b)読取信号処理部20における各処理の説明
(b-1) A/D変換部
(b-2) シェーディング補正部
(b-2-1) ピーク値ホールド回路
(b-2-2) 逆数変換処理
(b-3) ライン間補正部
(b-3-1) ライン間補正処理
(b-3-2) 補間処理
(b-4) AE処理部
(b-4-1) ヒストグラム生成部
(b-4-2) 原稿サイズ検出部
(b-4-3) AE処理部
(b-5) 変倍・移動処理部
(b-5-1) 縮小補間部
(b-5-2) 変倍・移動処理部
(b-5-2-1) 変倍処理
(b-5-2-2) 移動処理
(b-5-2-3) イメージリピート
(b-5-3) 拡大補間部
(b-6) 画像インターフェース部
(b-7) HVC変換部
(b-7-1) HVC変換
(b-7-2) 画質モニタ機能
(b-8) 濃度変換部
(b-9) UCR/BP処理部
(b-10) 色補正部
(b-11) 領域判別部
(b-11-1) 文字(エッジ)の判定
(b-11-1-1) 1次微分フィルタ
(b-11-1-2) 2次微分フィルタ
(b-11-1-3) エッジ判定
(b-11-2) 黒の判定
(b-11-3) 黒文字誤判別領域の抽出
(b-11-4) 網点領域の判別
(b-11-5) 他の判別
(b-12) MTF補正部
(b-12-1) フルカラー標準モード設定時におけるMTF補正
(b-12-1-1) 黒エッジ部
(b-12-1-1-1) BKの印字処理中
(b-12-1-1-2) C,M,Yの印字処理中
(b-12-1-2) 色エッジ部
(b-12-1-3) ハイライト平坦部
(b-12-1-4) 非エッジ部
(b-12-2) フルカラー写真モード設定時におけるMTF補正
(b-12-2-1) 黒エッジ部及び色エッジ部
(b-12-2-2) ハイライト平坦部
(b-12-2-3) 非エッジ部
(b-12-3) モノカラー標準モード設定時におけるMTF補正
(b-12-3-1) エッジ部
(b-12-3-2) ハイライト平坦部
(b-12-4) モノカラー写真モード設定時におけるMTF補正
(b-12-4-1) エッジ部
(b-12-4-2) ハイライト平坦部
(b-12-5) モノクロ標準モード設定時
(b-12-5-1) エッジ部
(b-12-5-2) ハイライト平坦部
(b-12-6) モノクロ写真モード設定時におけるMTF補正
(b-12-7) MTF補正部1600の説明
(b-13) γ補正部
【0008】
(a)画像処理装置の構成
(a-1)複写機本体の構成
図1は、本実施形態で用いるデジタルカラー複写機の概略構成図である。デジタルカラー複写機は、原稿画像を読み取るイメージリーダ部100と、イメージリーダ部100で読み取った画像データを再現する複写部200とに大きく分けられる。
【0009】
イメージリーダ部100において、スキャナ10は、原稿を照射する露光ランプ12と、原稿からの反射光を集光するロッドレンズアレー13、及び集光された光を電気信号に変換する密着型のCCDカラーイメージセンサ14を備えている。CCDカラーイメージセンサ14は、R(赤),G(緑),B(青)の各成分のデジタル画像データの読み取りを行うために所定の間隔で配置された3ラインのCCDからなる。スキャナ10は、原稿画像の読み取り時には、モータ11により駆動されて、矢印の方向(副走査方向)に移動し、まず、シェーディング補正用の白色板16のデータを読み取った後、プラテン15上に載置された原稿を走査する。露光ランプ12により照射された原稿面の画像は、CCDイメージセンサ14で光電変換される。CCDイメージセンサ14により得られるR,G,Bの3色の多値電気信号は、読取信号処理部20において、シェーディング補正、ライン間補正の施されたY(イエロー)、M(マゼンダ)、C(シアン)、BK(ブラック)の8ビットの階調データに変換され、MTF補正及びγ補正等が施された後に、同期用バッファメモリ30に記憶される。
【0010】
次に、複写部200において、プリンタヘッド部31は、入力される階調データをD/A変換して半導体レーザ駆動信号を生成し、この駆動信号により半導体レーザを発光させる。この半導体レーザは、発光時の立ち上がり応答を良くするために常に微弱な発光状態にされている。この際に半導体レーザが発光する微弱な光をバイアス光という。
【0011】
階調データに対応してプリンタヘッド部31から発生されるレーザビームは、反射鏡37を介して、回転駆動される感光体ドラム41を露光する。感光体ドラム41は、1複写毎に露光を受ける前にイレーサランプ42で照射され、帯電チャージャ43により一様に帯電されている。この状態で露光を受けると、感光体ドラム41上に原稿の静電潜像が形成される。C(シアン)、M(マゼンダ)、Y(イエロー)、BK(ブラック)のトナー現像器45a〜45dのうちの何れか1つだけが選択され、感光体ドラム41上の静電潜像を現像する。現像されたトナー像は、転写チャージャ46により転写ドラム51上に巻き付けられた複写紙に転写される。ファーブラシ47は、転写ドラムの用紙外に転写されたトナーを回収する。
【0012】
上記印字工程は、Y(イエロー)、M(マゼンダ)、C(シアン)及びBK(ブラック)の4色について繰り返し行われている。このとき、感光体ドラム41と、転写ドラム51の動作に同期して、スキャナ10はスキャン動作を繰り返す。その後、複写紙は、分離爪47を作動させることで転写ドラム51から分離され、定着装置48を通ってトナー像が定着された後、排紙トレー49に排紙される。なお、複写紙は、用紙カセット50より給紙され、転写ドラム51上のチャッキング機構52によりその先端がチャッキングされ、転写時に位置ずれが生じないようにしている。
【0013】
(a-2)操作パネル
図2は、本実施形態の複写機の備える操作パネル25の正面図である。操作パネル25は、表示部71を備える。使用者により画質モニタ選択キー77が押下された場合、表示部71は、コピー枚数や複写倍率などの通常の表示以外に、マスキング係数、シェープネス、γカーブ及びカラーバランスの4種類の作像条件を表示する。この場合、後に説明するように、複写機は、表示部71に表示される作像条件に基づいて形成される8つの画像を1枚の複写紙上にプリントアウトする。上記4種類の作像条件は、画質選択キー74a〜dを操作することでそれぞれ変更することができる。使用者は、実際にプリントアウトされた上記8つの画像から好みの画像の番号をテンキー72を用いて選択した後にプリントキー73を押下することで、所望する作像条件(即ち画質)の印字出力を得ることができる。また、キー75は、サービスマンモードに入るためのキーであり、このモードが選択された場合にはLED75aが点灯する。サービスマンモードは、後に説明するようにHVC変換部1100で用いるHVC変換用の係数a,a,aを設定するモードである。また、ネガ/ポジ反転キー76は、複写紙上に再現される原稿を反転する際に用いられる。
【0014】
(b)読取信号処理部20における各処理の説明
以下、上記デジタルカラー複写機が備える読取信号処理部20で実行される各処理の概略説明を行う。この概略説明の後、それぞれの処理について詳細に説明する。
【0015】
図3及び図4は、上記読取信号処理部20の処理ブロック図である。CCDイメージセンサ14により読み取られたアナログの画像データOSR1及び2,OSG1及び2,OSB1及び2は、A/D変換部300に入力される。A/D変換部300は、上記入力信号を8ビットのデジタル画像データR17〜10、G17〜10、B17〜10に変換してシェーディング補正部400に出力する。
【0016】
シェーディング補正部400では、露光ランプ12による原稿の照明むら等による読取データのばらつきを修正する。まず、均一な白色板16の主走査方向の複数ライン分のデータを読み取る。読み取られた複数ラインのデータについて、副走査方向の同一ライン上に並ぶ画素のデータを比較する。ここで、各画素について最も明るい(白い)データをシェーディング補正用のデータとする。これにより、インクの飛び散り等の白色板16の汚れが原因で生じる不良データを削除し、精度の良いシェーディング補正を可能にする。また、本実施形態のシェーディング補正部400では、シェーディング補正データの算出時に実行される逆数変換処理において、入力データより多ビットの出力データを用いる。これにより、より高精度のシェーディング補正を実現する。シェーディング補正の施されたRGB画像データの各成分R27〜20、G27〜20、B27〜20は、次のライン間補正部500に入力される。
【0017】
CCDイメージセンサ14には、RGB画像データを読み取るために3ラインのCCDが所定の間隔をもって設けられている(図8参照)。以下、RGB画像データの各成分を、単にRデータ、Gデータ、Bデータと記す。
ライン間補正部500は、Rデータ及びGデータを一旦メモリに格納して所定時間だけ遅延させることで上記所定の間隔によって生じるBデータとのずれを修正する。本実施形態の複写機では、画像を形成する複写紙の最大サイズがA3に特定されることに注目し、複写倍率に応じて、1ライン内の有効ドット数を制御する。これにより上記ずれの修正に必要なメモリ容量の増加を抑える。また、ライン間データの補間処理を実行して、より細かい読取データのずれを修正する。上記ずれの修正されたデータは、AE処理部600へ入力されるとともに、変倍・移動処理部800へ入力される。
【0018】
AE処理部600は、原稿サイズの検出、ACS(Auto Color Selectionの略)、AE処理を実行する。ここで、原稿サイズの検出とは、プラテン15上に載置された原稿の存在範囲を主走査方向1ライン単位で検出するものである(図17参照)。ACSとは、原稿中に占めるモノクロ画素の割合より、原稿がフルカラーであるのか、もしくはモノクロであるのかを判別することである。AE処理とは、原稿中の最も明るい色が白色(階調レベル255)となるように原稿の下地レベルを定める処理であるが、これをフルカラー原稿に対して施すと、複写紙上に再現される画像は全体的に色あせた感じになる。そこで、本実施形態の複写機では、上記ACSの結果に基づいて、原稿の下地レベルを定め、フルカラー原稿に対するAE処理を禁止する。
【0019】
変倍・移動処理部800では、入力されるR37〜30データ、G37〜30データ、B37〜30データに対して、不要領域データの削除、縮小補間処理、縮小,等倍,拡大出力、イメージリピート及び拡大補間処理を実行する。上記不要領域とは、原稿台上で原稿の存在していない領域と、原稿画像を縮小したため生じる領域との2つがあり、処理は、AE処理部600での原稿サイズの検出結果に基づいて実行される。例えば原稿を50%に縮小するには、本来ならば読取密度を400dpiのスキャナのかわりに200dpiのスキャナを用いて原稿の画像データを読み取り、読み取って得られる画像データを400dpiの密度で印字処理すべきである。しかし実際には400dpiのスキャナで読み取って得られる画像データを半分に間引いて、400dpiの密度で印字処理を行う。この場合、細い線のデータが消去されてしまい、再現画像の画質が低下する。そこで、縮小率に応じたサイズで補間処理を実行する。これにより、再現画像の画質の低下を防止する。また、原稿を拡大する場合に、単純にデータを水増しするだけではエッジのがたつきが目立つ等、画像の劣化が激しい。そこで、原稿を拡大する場合には、拡大倍率に応じて画像データにスムージング処理を施す。これにより、拡大時の画像の劣化を防止する。なお、使用者により操作パネル上の画質モニタ選択キー77が押下された場合には、原稿画像の一部を8回イメージリピートして出力する。
【0020】
画像インターフェース部1000には、外部装置900から入力されたR,G,Bの各データ(R-VIDEO7〜0,G-VIDEO7〜0,B-VIDEO7〜0)と内部データ(R67〜60,G67〜60,B67〜60)との選択及びはめ込み合成を行う。また、RGBインターフェースやプリンタインターフェースにイメージデータを伝送するときのタイミング信号を生成する。
【0021】
図4に示すHVC変換部1100では、CCDカラーイメージセンサ14によりカラーパッチを実際に読み取って得られるRGBデータ(R57〜50,G57〜50,B57〜50)と、ROMに記憶されている上記カラーパッチRGBデータとに基づいて、明度信号(V7〜0)、色差信号(WR8〜0、WB7〜0)を生成し、さらに、色差信号から彩度データ(W7〜0)及び色相信号(H7〜0)を生成する。これにより各CCD素子の読取特性のばらつきを修正する。
【0022】
また、HVC変換部1100は画質制御回路1103を備える。画質制御回路1103は、使用者による画質モニタ選択キー77の押下に応答して、上記変倍・移動処理部800でイメージリピートされる8つの画像のそれぞれについて異なる作像条件(マスキング係数、シェープネス、γカーブ及びカラーバランス)を設定する。
【0023】
濃度補正部1200は、露光ランプによる原稿の反射光量に比例して変化するRGBデータ(R67〜60,G67〜60,B67〜60)を、濃度に比例して変化するデータ(DR7〜0,DG7〜0,DB7〜0)に変換する。また、ネガポジ反転部1250は、編集エリア信号である−NEGA信号(ネガポジ反転信号)を受けて、”L”のときDR7〜0,DG7〜0,DB7〜0,DV7〜0を反転出力(ネガ出力)し、”H”のときにはそのまま通過させる。
【0024】
UCR/BP処理部1300は、DR7〜0,DG7〜0,DB7〜0のデータの最小値(MIN(DR,DG,DB))を算出し、これを墨色であるとして、そのある割合をBKデータとして扱い、プリンタで黒色トナーを加える操作(BP処理)と、上記加えたBKデータに応じてC,M,Y色材料の量を少なくする下色除去(UCR処理)を実行する。
【0025】
色補正部1400では、所定のマスキング演算処理を実行し、上記原稿とコピーの色再現を合わす。これは、CCDイメージセンサ14の読取画素毎に配設されている色分解フィルタの分光特性が図45に斜線で示す不要透過領域を有し、プリンタ側で用いられるC,M,Yの色トナーも図46に斜線で示す不要吸収成分を有していることによる。
【0026】
領域判別部1500では、原稿画像中の黒文字部分の判別と、網点領域の判別処理を実行する。上記黒文字判別は、大別すれば、文字(エッジ)部分の検出と、黒色の検出、そして誤って黒色として検出されやすい領域の検出とに分けられる。文字(エッジ)部分の検出は、微分フィルタを用いて検出する。また、黒色の検出は、彩度の値に基づいて行う。本実施形態の複写機の場合、CCDカラーイメージセンサ14の画像データの読み取り時の振動で、R,G,B各のデータがわずかにずれた場合に生じる誤判定を、彩度データにスムージング処理を施すことで防止する。また、明度が低くかつ彩度も低い文字を黒文字であると誤判定することを防止するために、色べた部分を判別する。黒文字であると判定された場合であっても、色べた部分であると判定された箇所については、上記黒文字であるとの判定を取り消す。これにより正確な黒文字判別を実現する。
【0027】
MTF補正部1600は、領域判別部1500による領域判別結果により認識される原稿の画素の種類及び印字状況に基づいて、画素データに対して最も適当なエッジ強調処理及びスムージング処理を実行する。特にフルカラー標準モードでコピーを行う際、黒色のエッジ部分ではC,M,Yのデータについてエッジ強調を行わず、かつC,M,Yデータの最小値を画像データとして用いることで、C,M,Yデータの微細なはみ出し線を消去する(図68の(a)参照)。また、モノカラー標準モード又は写真モードでコピーを行う際、BKの印字処理中にはエッジ強調を行わない。これにより、色文字のエッジ部分が黒く縁取られることを防止する。
【0028】
また、領域判別部1500において認識された画素の種類に応じて画素クロック1サイクル単位でのレーザ発光デューティ比を変更する。ここで、発光デューティ比とは、画素クロックが1サイクルする間にレーザ発光しない期間を設けた場合におけるレーザ発光期間の割合をいう。網点画素の場合には、モアレの発生を防止するために発光デューティ比を100%に設定する。また、網点以外の画素の場合には、ライン間ノイズを目立たなくするために発光デューティ比を、例えば80%に設定する。
【0029】
さらに、エッジの立ち上がり及び立ち下がり部分の画素データに所定値を加算し、感光体ドラム41上に形成したトナー像を複写紙上に転写する際に生じるエッジの立ち上がり部分でのトナーの付きすぎ及び立ち下がり部分でのトナーのかすれを補正する。
【0030】
γ補正部1700は、MTF補正後のイメージデータ(VIDEO37〜30)に対し、使用者の好みに応じてγカーブを変更して、所望する画質のデータを出力する。使用者は、操作パネル25上に設けられている画質選択キー74cの操作により、γカーブ切換信号GA2〜0を変更することができる。
【0031】
(b-1)A/D変換部
A/D変換部300は、上記入力信号を8ビットのデジタル画像データR17〜10、G17〜10、B17〜10に変換してシェーディング補正部400に出力する。
図5は、A/D変換部300の構成図である。CCDイメージセンサ14は、クロック信号発生部301から出力される所定のCCD駆動信号に従って動作し、露光ランプ12による原稿画像の反射光量に比例するR,G,Bのアナログ画像データOSR1及び2、OSG1及び2、OSB1及び2を出力する。ここで、OSR1,OSG1,OSB1は、偶数ドットのアナログ画像データであり、OSR2,OSG2,OSB2は、奇数ドットのアナログ画像データである。R、G,Bの各画像データは、R−A/D変換部307、G−A/D変換部308、B−A/D変換部309にそれぞれ入力される。A/D変換部307〜309の構成及び処理内容は同じである。ここでは、A/D変換処理についてB−A/D変換部309を用いて説明する。A/D変換部309内には、A/D変換を行う前に奇数ドット及び偶数ドットの各画像データの最適化処理を行う処理部310及び311が設けられている。最適化処理部310及び311の構成及び処理内容は同じである。ここでは、最適化処理について偶数ドットデータ最適化処理部311を用いて説明する。偶数ドットデータ最適化処理部311に入力された偶数ドットのアナログ画像データOSB2は、サンプリングホールド回路302によって、リセット・ノイズが除去され、VCA回路303により信号が増幅され、クランプ回路304により所定のDCレベルに調節される。
【0032】
ここで、上記処理のレベルは、D/Aコンバータ305からのVG2B,VC2B等の制御電圧に従って設定される。SCLK信号は、サンプリングホールド回路に対するサンプリングパルスである。−BKHD信号(ここで、信号の前に付されている”−”は、信号BKHDの反転信号であることを意味する。以下、全ての信号に対して同じ。)は、アナログSWのスイッチングを行い、VCA回路303で信号を増幅するために一旦DCレベルを0Vにクランプするための信号である。−CLAMP信号は、フィードバッククランプ回路304によってD/Cコンバータ305の制御電圧にDCレベルをクランプするためのクランプパルスである。
【0033】
最適化処理部310及び311でそれぞれ最適化処理の施された奇数ドット及び偶数ドットの画像データは、OSSEL信号によるスイッチング切り換えによって連続する画像データに合成される。合成された画像データは、バッファ312を介してA/Dコンバータ306に入力され、8ビットのデジタル画像データに変換される。ADCK信号は、A/Dコンバータのサンプリングパルスである。
【0034】
(b-2)シェーディング補正部
シェーディング補正部400では、露光ランプ12による原稿の照明むら等による読取データのばらつきを修正する。まず、均一な白色板16の主走査方向の複数ライン分のデータを読み取る。読み取れた複数ラインのデータについて、副走査方向の同一ライン上に並ぶ画素のデータを比較する。ここで、各画素について最も明るい(白い)データをシェーディング補正用のデータとする。これにより、インクの飛び散り等の白色板16の汚れが原因で生じる不良データを削除し、精度の良いシェーディング補正を可能にする。また、シェーディング補正部400では、シェーディング補正データの算出時に実行される逆数変換処理において、入力データより多ビットの出力データを用いる。これにより、より高精度のシェーディング補正を実現する。
【0035】
図6は、シェーディング補正部400の構成図である。A/D変換部300から出力される各8ビットのR17〜10,G17〜10,B17〜10のデジタル画像データは、それぞれ、R−補正部401、G−補正部402、B−補正部403に入力される。このようにR17〜10,G17〜10,B17〜10の各画像データついて独立してシェーディング補正を実行することで、RGBデジタル画像データを読み取るために設けられている3ラインのCCDの各々の読取データについて適切なシェーディング補正を行うことができる。補正部401〜403の構成及び処理内容は同じである。以下、本実施形態のシェーディング補正についてB−補正部403を用いて説明する。
【0036】
(b-2-1)ピーク値ホールド回路
CCDイメージセンサ14が白色板16の主走査方向の所定の第1ラインを読み取って得られるデータB17〜10が入力された場合、ピーク値ホールド回路404は、データをそのままシェーディングメモリ405に格納する。ピーク値ホールド回路404は、白色板16の第2ラインの画像データの入力に同期してシェーディングメモリ405に格納している第1ライン後にデータを順に読み出し、対応画素毎にそのデータ値を比較する。そして、より明るい(白い)データの値をホールドし、当該データをシェーディングメモリ405に格納する。第3、第4のラインのデータについても同じ処理を施す。このように、白色板16の複数ラインのデータのうち各画素の最も明るい(白い)データの値をシェーディング補正用のデータとして格納することで、白色板16に付着したインクやごみ等による不良データの影響を除去する。
【0037】
ピーク値ホールド回路404に入力される−SHWR信号は、シェーディング補正用のデータの読み取り時以外では”H”を維持する。−SHWR信号の値が”H”の場合、ピーク値ホールド回路404にはデータの入力が禁止される。この結果、シェーディングメモリ405内に格納されたデータは、その値が保持される。一方、ピーク値ホールド回路404にシェーディング補正用のデータが入力される場合、−SHWR信号は”L”に切り換えられる。−SHWR信号の値が”L”の期間中、ピーク値ホールド回路404は、読み込まれるシェーディング補正用のデータとシェーディングメモリ405に格納されている対応する画素のデータとを比較してより大きな値のデータをシェーディングメモリ405に出力する。シェーディングメモリ405には初期値として値0のデータが格納されている。従って、前記したように第1ラインのデータはそのままシェーディングメモリに格納される。第2ライン以降のデータが入力された場合、シェーディングメモリ405から対応する画素のデータを読み出して上記比較処理を実行させる。−SHWR信号は、CCDイメージセンサ14により原稿画像の画像データの読み取りが開始されると、再び”H”に戻り、データの入力を禁止してシェーディングメモリ405に格納されているデータを保持する。
【0038】
(b-2-2)逆数変換処理
シェーディングメモリ405に格納されたシェーディング補正データは、次の逆変換テーブル406に入力される。逆数変換テーブル406は、8ビットの入力データDinに対して次の「数1」に示す演算処理を実行し、12ビットの逆数変換データDoutを出力する。
【数1】
Dout=255×Q/Din
(但し、Din≧4ならば、Dout=1とする。)
ここで、Doutを12ビットデータとしたのは、Dinの値が異なるにもかかわらず、その差がわずかであるためにその逆数変換データDoutの値が同じ値となることを避け、シェーディング補正の精度を一定のレベルに維持するためである。
【0039】
図7のグラフは、DinとDoutの関係を示す。Dinの値が極端に低い場合、例えばDin=255×Q/4以下では、Doutの値が急激に増加する。これが原因で生じるシェーディング補正のエラーを防止するため、逆数変換テーブル406は、Doutの値が4(16進数ではFFF)以上となる場合には、Doutの値を強制的に1(16進数では400)に変換してシェーディング補正を無効にする。
【0040】
シェーディング補正は、原稿画像のデータB17〜10に上記「数1」により求められる逆数データを乗算器407において掛け合わすことで実行される。この演算は、次の「数2」に示される。
【数2】
27〜20=B17〜10×Dout
=B17〜10×255×Q/Din
上記「数2」の計算は、B17〜10のデータ値を255×Qの値に正規化するものである。上記係数Qは、ホワイトバランスを補正するためにシェーディング補正用の白色板16の分光分布に従ってR,G,B毎に定められる値である。これは、複写機に配設されるシェーディング補正用の板16が、完全な白色(R=255,G=255,B=255)でなく、R,G,B何れかの色に偏っている場合、例えばわずかに緑がかっているような場合(R=200,G=242,B=211)を考慮したものである。上記場合にR,G,Bの各Qの値は、Q=200/255、QG=242/255、Q=211/255である。また、上記「数2」に示す係数255の値は、下地レベルを定める係数Xであり、この値を例えば240に変更することで、下地レベルの変更を行うことができる。本実施形態の複写機では、図3に示したAE処理部600において、モノクロ画素の原稿全体に占める割合に応じて上記係数255の値を変更する処理、即ちAE処理を実行する。
【0041】
(b-3) ライン間補正部
図8に示すように、CCDイメージセンサ14には、RGB画像データを読み取るために3ラインのCCDが80μmの間隔で設けられている。本実施形態の複写機の場合、1画素の幅は10μmであり、上記3ラインのCCDは、8ライン分の間隔で設けられていることになる。このため、RGB画像データのB成分(Bデータ)に対してG成分(Gデータ)は8ライン、R成分(Rデータ)は16ライン先行して読み取られる。実際には、スキャナ10の副走査方向への移動速度によって上記先行するライン数は変化する。即ち、副走査方向の複写倍率Yを掛け合わせた数(8×Yライン,16×Yライン)が実際の先行するライン数となる。ライン間補正部500は、Rデータ及びGデータを一旦メモリに格納して所定のタイミングで遅延させ、Bデータとのずれを修正する。複写倍率を2倍にすると、各ライン間のデータのずれは2倍に増え、当該ずれを修正するのに必要なメモリの容量も2倍になる。ライン間補正部500では、画像を形成する複写紙の最大サイズがA3であることに注目し、複写倍率に応じて、1ライン内の有効ドット数を制御する。具体的には、複写倍率を2倍にした場合には、1ラインで読み取る範囲を1/2の範囲にする。これにより上記ずれの修正に必要なメモリ容量の増加を抑える。また、ライン間データの補間処理を実行することで、より細かな読取データのずれを修正する。
【0042】
(b-3-1) ライン間補正処理
図9は、ライン間補正処理部501及び補間処理部502の構成図である。シェーディング補正部400より入力される画像データR27〜20及びG27〜20は、フィールドメモリ503及び505に入力される。フィールドメモリ503〜505は、256K×8ビットの容量をもつ。R,G,Bの画像データは8ビットのデジタルデータである。CCDイメージセンサ14の読み取る原稿の最大サイズがA3であり、解像度が400dpiの場合、主走査方向1ライン分のデータ量は、約5kビットである。従って、1つのフィールドメモリには、51ライン分の画像データを格納することができる。読み取った原稿を副走査方向に拡大(Y倍)して印字出力する場合、原稿の各ラインの画像データをY回繰り返し読み取り、副走査方向のデータ量をY倍に水増しする。ここで、上記したように、Rデータは、Bデータに対して16×Yラインだけ先行しており、Gデータは、Bデータに対して8×Yラインだけ先行している。このずれを補正するには、フィールドメモリ503〜505が8×Yライン分のデータを格納できることが要求される。ところが、先に説明したように、フィールドメモリ503〜505は、51ライン分のデータしか格納することができない。即ち、このままではY=51/8=6.375倍までしか複写倍率を上げることができないことになる。そこで、ライン間補正処理部501は、印字可能な複写紙の最大サイズが予め特定される(多くの複写機の場合A3である。)ことに注目し、主走査方向に倍率X(但し、X≧1である)の逆数に比例してイメージスキャナで原稿を読み取る範囲を限定する。これにより主走査方向1ライン分のデータ量は、約5k/Xビットとなり、フィールドメモリには、256k/約5k×(1/X)≒51×Xライン分のデータを格納することが可能となる。このように、ライン間補正部500ではメモリを増加せずに最大の複写倍率値を増加する。
【0043】
図10は、ライン間補正処理部501に入力される−FIFOEN信号、−FRES1信号、−FRES2信号、−FRES3信号、及びライン間補正処理部501に入力/出力されるR,G,Bデータを示すタイムチャートである。
【0044】
ここで、−TG信号は、CCDイメージセンサ14の主走査方向1ラインの読取周期tに同期して出力されるトリガ信号である。
【0045】
−FIFOEN信号は、主走査方向の複写倍率により定まる読み取り範囲内で”L”となる信号である。−FRES1信号は、フィールドメモリ503及び505に入力される書き込み開始信号であり、周期T={INT(8×Y)+1}×tで立ち上がる。
【0046】
−FRES2信号は、フィールドメモリ503及び505に対して読み出し開始信号であり、−FRES1信号と同期した周期Tの信号である。フィールドメモリ503及び505は、−FRES1信号の立ち上がりに同期してデータの書き込みを開始する。そして、周期T経過後に−FRES2信号の立ち上がりに同期して読み出される。また、−FRES2信号は、フィールドメモリ504に対して書き込み開始信号として働く。フィールドメモリ504は、−FRES2信号の立ち上がりに同期してフィールドメモリ503から出力されるデータを書き込む。
【0047】
−FRES3信号は、上記−FRES1及び−FRES2信号に対して1ライン分の読み取り期間tだけ進んでいる周期Tの信号である。ここで、−FRES3信号を1ライン分の読み取り期間tだけ進ましているのは、次の補間処理部502における補間処理をRGB画像データの緑色成分Gデータに合わす処理を実行するためである。
【0048】
(b-3-2)補間処理
−FRES1〜3信号の立ち上がり、即ち周期Tは、INT関数により整数化され−TG信号に同期する。このためフィールドメモリ503〜505からのデータの出力は、期間t(即ち複写倍率1/8倍)単位でしか調節できない。補間処理部502では、複写倍率が小数部分を有する場合に、上記ライン間補正処理部501で補正することのできなかった{8×Y−INT(8×Y)}ライン分のデータのずれを補う。
【0049】
ライン間補正処理部501において、Rデータは、2T−tだけ遅延して出力される。Gデータは、Tだけ遅延して出力される。ところが実際にはR,G,Bの各画像データは、互いに8×Yライン分ずれている。この8×Yにより生じる小数部分のため、Rデータは、Gデータに対してa={8×Y−INT(8×Y)}だけ先行する。一方、Bデータは、Gデータに対してb=[1−{8×Y−INT(8×Y)}]先行する。図11は、フィールドメモリ504より出力されるR27〜20データと、フィールドメモリ505より出力されるG27〜20データと、B27〜20データとの読取位置に関するデータのずれについて示す。
【0050】
図9に示すようにRデータは、2つの信号に分岐される。一方の枝を流れるデータはラインメモリ507により1ライン分遅延される。ここで、第mラインのデータをRで表すと、乗算器506にはRデータが入力される。乗算器508にはRm+1のデータが入力される。乗算器506では、次の「数3」の演算が実行される。
【数3】
Rx×R
ここで、Rxは、次の「数4」により求められる係数である。
【数4】

Figure 0003729131
また、演算器508では、次の「数5」に示す演算が実行される。
【数5】
(1−Rx)×Rm+1
ここで、Rxは上記「数4」で求められる係数である。
【0051】
演算器506及び508より出力されたデータは、加算器509において加算される。以上の演算を実行することで、Rデータについての複写倍率の小数部分にかかる補間処理が達成される。
【0052】
同じく図9に示すように、Bデータも2つの信号に分岐される。一方の枝を流れるデータはラインメモリ511により1ライン分遅延される。ここで、第mラインのデータをBで表すと、演算器510にはBデータが入力される。演算器512にはBm+1のデータが入力される。演算器510では、次の「数6」の演算が実行される。
【数6】
(1−Bx)×B
ここで、Bxは、次の「数7」により求められる係数である。
【数7】
Figure 0003729131
また、演算器512では、次の「数8」に示す演算が実行される。
【数8】
Bx×Bm+1
ここで、Bxは、上記「数7」により求められる係数である。
【0053】
演算器510及び演算器512により出力されたデータは、加算器513において、加算される。以上の演算を実行することで、Bデータについての複写倍率の小数部分にかかる補間処理が達成される。このように、Gデータを基準として、R及びBデータの補間処理を実行することで、1/2024倍単位で複写倍率の設定を行うことが可能になる。補間処理部502により上記補間処理の施されたR37〜30データ,G37〜30データ,B37〜30データは、それぞれ変倍・移動処理部800へ出力されると共に、AE処理部600に入力される。
【0054】
(b-4) AE処理部
AE処理部600は、原稿サイズの検出、ACS(Auto Color Selectionの略)、AE処理を実行する。原稿サイズの検出とは、プラテン15上に載置された原稿の存在範囲を主走査方向1ライン単位で検出することをいう。本実施形態の複写機では、原稿カバーを所定の均一濃度の色にすることで、原稿との境界線を検知する。ACSとは、検出された原稿サイズから、原稿中に占めるモノクロ画素の割合を求め、求めた割合から、原稿がフルカラー原稿であるのか、もしくはモノクロ原稿であるのかを判別することをいう。AE処理とは、原稿の中で一番明るい色が複写紙上で白色(階調レベル255)に再現されるように原稿の下地レベルを補正する処理である。ところがこのAE処理をフルカラー原稿に施すと、複写紙上に再現される画像が全体的に色褪せた感じになる。そこで、AE処理部600では、上記ACSによる判定の結果に基づいて、AE処理を実行する。
【0055】
図12は、AE処理部600の構成を示すブロック図である。ヒストグラム生成部602は、原稿画像中にあるモノクロ256階調データのヒストグラム求める。原稿サイズ検出部650では、原稿サイズの検出を行う。ラインデータモニタ部700は、RGB画像データ1ライン分のデータをストアしてモニタし、露光ランプ12やCCDセンサ14等のトラブルによる信号の読取異常を検出する。
【0056】
(b-4-1) ヒストグラム生成部
図13は、ヒストグラム生成部602の構成を示す図である。ヒストグラム生成部602は、入力されるR37〜30、G37〜30、B37〜30の全画素データを適当に間引いて得られる画素データのうち、モノクロ画素の階調データについてのヒストグラムを求める。ヒストグラム生成部602で求められるヒストグラムは、後に説明するAE処理において、原稿内でモノクロ画素が占める割合を求める際に用いられる。
【0057】
主走査方向の画素データの間引きは、主走査1/16dot間引き回路603〜605において行われる。主走査1/16dot間引き回路603〜605は、主走査方向のデータを16ドットに1回の割合でヒストグラムメモリ606〜608のADR端子に出力する。これにより、主走査方向のデータ量は1/16に間引かれる。
【0058】
また、副走査方向のデータの間引きは、V方向カウンタ616、比較器617及びNANDゲート619により行われる。比較器617は、V方向カウンタ616によるカウント出力がヒストグラムメモリ制御部618より出力されるVdot7〜0に等しくなると”L”の信号を出力する。V方向カウンタ616は、比較器617より−CLR端子に”L”の信号が出力された場合にカウント値をリセットする。NANDゲート619は、主走査方向同期信号−HD、副走査方向同期信号−VD、及び比較器617から共に”L”の信号が入力されたときに、”L”の信号をヒストグラムメモリ606〜608の−CS端子にそれぞれ入力する。これにより副走査方向のデータ量は、1/(Vdot2〜0の値)に間引かれる。
【0059】
また、R37〜30、G37〜30、B37〜30の各データがモノクロ画素のデータであるのか否かについての判断は、最小値検出部612、最大値検出部613、演算器614及び比較器615において行われる。この判断は、モノクロ画素ではR,G,Bの各画像データの差がほとんど無いことを利用して行う。最小値検出部612は、同時に入力されるR,G,B各データのうち最も小さな値のデータを出力する。最大値検出部613は、同時に入力されるR,G,B各データのうち最も大きな値のデータを出力する。演算器614は、両者の差を求め、これを出力する。比較器615は、演算器614で求められた差の値が、ヒストグラムメモリ制御部618より出力される基準値SREF17〜10よりも小さい場合には、これをモノクロ画素であると判断して、”L”の信号をヒストグラムメモリ606〜608の−WE端子に出力する。ここで、SREF17〜10の値をある程度大きな値に設定すれば、原稿の下地がカラーである場合であってもヒストグラム化を行ない、故意に下地の色をハイキーにすることができる。
【0060】
ヒストグラムメモリ606〜608は、適当に間引いて得られる画素データのうち、モノクロ画素であると判断された画素データの各階調データの頻出度を計数する。例えば、CPU1による初期化の後、−CS端子及び−WE端子に共に”L”の信号が入力される時、ヒストグラムメモリ606は、ADR端子に入力される画素データの値の頻度値をDout端子よりRAE15〜10として出力する。加算器609は、入力された頻度値に1を加えた後、ヒストグラムメモリ606のDin端子にこの値を入力する。ヒストグラムメモリ607及び608においても同様の動作が行われる。
【0061】
以上のようにして、ヒストグラム生成部602は、原稿画像に含まれるモノクロ画素についてヒストグラムを生成する。図14は、ある原稿について生成されたヒストグラムである。ここで、階調レベルm=0は黒色、m=255は白色である。図中Aの範囲のデータは、後に説明するように、原稿内のモノクロ画素の占める割合を求める際には排除される。これは、本実施形態の複写機の原稿押さえ板が鏡面圧板であり、原稿以外の範囲は”黒”として読み取られるためである。
【0062】
(b-4-2) 原稿サイズ検出部
原稿サイズ検出部650は、複写動作の実行前にCCDイメージセンサ14により行われる予備スキャンによりプラテン15上に載置された原稿の存在範囲を主走査方向1ライン単位で検出する(図16参照)。本実施形態の複写機では、原稿カバーを所定の均一濃度の色にすることで、原稿との境界線を検知する。図16に示すように、予備スキャンは、最大原稿サイズに相当する領域(A3)に対して行われる。この原稿サイズ検出部650で検出された原稿のサイズは、後に説明するAE処理において、原稿内でモノクロ画素の占める割合を求める際に用いられる。
【0063】
図15は、原稿サイズ検出部650の構成を示す図である。原稿サイズ検出部650では、入力されるR97〜90,G97〜90,B97〜90の画像データに基づいて、原稿サイズデータSZD7〜0をCPU1に出力する。NANDゲート654は、入力されるR97〜90,G97〜90,B97〜90が、原稿の画素データであると判断される場合に”H”のSZON信号を出力する。NANDゲート654には、原稿の読取可能な範囲内で”H”から”L”に切り替わる−HD信号と、比較部653から出力される比較結果信号が入力される。上記比較部653は、入力されたR97〜90、G97〜90、B97〜90を5:6:5の比率で混合して得られる濃淡データS7〜0が、原稿下地レベルSREF7〜0以下の場合に”L”の比較結果信号を出力する。上記濃淡データS 〜0は、入力されたR97〜90、G97〜90、B97〜90を、乗算器651で各々×5,×6,×5倍した後、演算器652で合算したものを1/16倍して得られるデータである。
【0064】
SZON信号の入力されるシフトレジスタ回路655は、4ドット毎にSZON信号の値を抽出してANDゲート656に出力する。ANDゲート656では、SZON信号が全て”H”になった場合にのみ”H”の信号を出力する。これは、原稿領域が16ドット(約1mm)以上、連続して検出されたことを意味する。これにより原稿サイズの誤判定を防止することができる。ANDゲート656から出力される信号の値が”L”から”H”に切り替わるのに応答して、D−FF659は、図16のタイムチャートに示すように”H”のVCLKEN信号を出力する。また、原稿領域が終了し、SZON信号の値が”L”に切り替わるのに応答して、D−FF659は、図16のタイムチャートに示すようにVCLKEN信号の値を”L”に切り換える。
【0065】
VCLKEN信号によって原稿下地エリアのVCLK信号がイネーブルされ、ANDゲート658よりLASTCK信号が出力される。LASTCK信号は、原稿エリアの主走査後端側におけるVCLKEN信号の立ち下がりに応じてディスイネーブルされ、原稿エリア後端部の主走査アドレスHAC〜0をD−FF660にラッチする。また、LASTCK信号は、フリップフロップ664においてFIRSTCK信号を生成し、1ラインの先頭で−TG信号によりクリヤされているD−FF661の出力を”H”に変更する。即ち、1ラインの最初のLASTCK信号の立ち上がりの時に、FIRSTCK信号も立ち上がる。このFIRSTCK信号でD−FF661にラッチされた主走査アドレスが、原稿エリア先頭アドレスになる。
【0066】
D−FF660及びD−FF661にラッチされたアドレスを、次にラインの−TG信号の立ち上がり時にANDゲート665より出力される”H”の信号によりD−FF662及びD−FF663で再度ラッチし、原稿サイズアドレス信号(LASTSZC〜0及びFIRSTSZC〜0)を作成する。CPU1は、これらの信号を読み込むため、再度ラッチを行う−TG信号を、一旦、−TGSTP信号でディスイネーブルし、SZSEL1,0によって必要なアドレス信号を選択して読み込む。
【0067】
セレクタ667は、入力されるSZSEL0及び1が”0”ならば、原稿後端アドレスの下位8ビットを選択し、SZSEL0が”0”、SZSEL1が”1”ならば、原稿後端アドレスの上位5ビットを選択し、これを原稿サイズデータSZD7〜0としてCPU1に出力する。さらに、セレクタ667は、SZSEL0が”1”、SZSEL1が”0”ならば、原稿先端アドレスの下位8ビットを選択し、SZSEL0及び1が”1”ならば、原稿先端アドレスの上位5ビットを選択し、原稿サイズデータSZD7〜0としてCPU1に出力する。CPU1は、上記データ読み込み動作を繰り返し実行することで、副走査方向の原稿エリアも認識する。
【0068】
ここで、順次検出された主走査の先頭、後端アドレスより原稿の主走査方向及び副走査方向の位置に対応したビットマップメモリ上に原稿内を0、外を1として、原稿サイズデータSZD7〜0を書き込む(図17参照)。上記ビットマップメモリは、CPU1内に設けられている。次に、ビットマップメモリ内の1→0及び0→1への変化点が副走査方向に対して連続的な線として存在するかを判定する。このとき不連続と検出すればその主走査アドレス1→0、0→1の変化点を前後ラインの変化情報より修正する。これは、ブック原稿の綴じ込み部において、原稿が原稿ガラス面から浮かぶ箇所が黒く読み取られたり、あるいは原稿の端部の汚れによって誤検知してしまったアドレス情報を修正する目的で行う。このようにして、ビットマップメモリ上の1から0、または0から1への変化点を全て判断及び修正した後に、コピー動作開始に同期してCPU1がビットマップ情報に基づいて順次主走査側の原稿有効領域を決定する。
【0069】
CPU1により決定された原稿有効領域の画像サイズデータSZD7〜0は、後述する変倍・移動処理部800の変倍・移動制御回路801(図21参照)に送られる。変倍・移動制御回路801では、送られて来た原稿有効領域のデータに基づいて、原稿領域以外は、”H”、原稿領域では”L”のDCLR1信号を生成し、画像処理に不必要な領域をマスクする。これにより、図17に示すように、原稿が斜めに置かれていても、領域外を原稿配置に合わせてマスクすることができる。なお、−TGSTP信号及び−SZCS信号は、CPU1がSZD7〜0の信号を読み取にくい場合にONにされる。−OE2信号は、CPU1のソード信号である。
【0070】
(b-4-3) AE処理
CPU1は、上記ヒストグラム生成部602において生成されたモノクロ画素に関するヒストグラム及び原稿サイズ検出部650において検出された原稿用紙のサイズとに基づいて、前にシェーディング補正部400の説明で記した下地レベルの係数値Xを定める。図18〜図20は、CPU1の実行するAE処理のフローチャートである。
【0071】
予備スキャンの終了後(ステップS600)、原稿サイズ検出部650により求められる原稿サイズより、原稿領域外の総ドット数を求める(ステップS601)。次に、最大の原稿サイズ(A3)の総ドット数に対して主走査方向及び副走査方向の間引き率を掛け合わせてヒストグラムメモリ606〜608にそれぞれ記憶され得る総ドット数Tnを求めると共に、原稿サイズ検出部650において検出された原稿サイズ以外の領域にあるドット数に対して主走査方向及び副走査方向の間引き率を掛け合わせて領域外ドット数Unを求める(ステップS602)。次に、ヒストグラムメモリ606〜608にそれぞれ格納されている総度数RSn,GSn,BSnを調べ、その中で最大値Sn=MAX(RSn,GSn,BSn)を求める(ステップS603)。このようにして求められた総ドット数Tn、領域外ドット数Un及び最大値Snより、原稿画像においてモノクロ画素の占める割合BKn=(Sn−Un)/(Tn−Un)を求める(ステップS604)。ここで、Sn及びTnの値よりUnを差し引くのは、領域外の画素データが0に近い”黒”データとして読み取られているためである。このようにして求められた割合BKnの値が所定のしきい値TH1以下の場合には(ステップS605でNO)、原稿はカラーであると判断し、下地レベルの係数値Xを255に設定する(ステップS606)。また、BKnの値が所定のしきい値TH1以上の場合には(ステップS605でYES)、モノクロ原稿であると判断し、さらに以下に説明するようにヒストグラムの分布を解析する。
【0072】
CPU1は、R,G,Bそれぞれのヒストグラムデータ毎に255からあるレベルLV1までの各階調レベルの度数RS(m),GS(m),BS(m)(但し、255≧m≧LV1の関係を満たす)を調べる(ステップS607)。次に各階調レベルの度数RS(m),GS(m),BS(m)より各総度数RPn,GPn,BPnを求め、求めたRPn,GPn,BPnの最大値Pn=MAX(RPn,GPn,BPn)を求めると共に、最大値Pnよりモノクロ原稿の下地比率WHn=Pn/(Sn−Un)を求める(ステップS608)。下地比率WHnの値が所定のしきい値TH2よりも大きければ(ステップS609でYES)、R,G,B毎に、階調値255からみて最初に現れる極大値の階調レベルRX,GX,BXを調べる(ステップS610)。階調レベルRX,GX,BXの全てが存在する場合(ステップS611でYES)、さらにそれらのうちの最小値MIN(RX,GX,BX)を求め、求めた最小値を下地レベルの係数値Xとする(ステップS612)。ここで、下地レベルとして最小値MIN(RX,GX,BX)を用いるのは、R,G,B毎に下地レベルを定めると下地以外のカラーバランスが崩れるためである。
【0073】
また、原稿よりR,G,Bのヒストグラム曲線のうちの1つが極大値を持たない場合や(ステップS611でNO)、下地比率WHnの値が所定のしきい値TH2よりも小さい場合(ステップS609でNO)には、原稿の下地レベルが255以上であるか、または下地のない写真等の原稿であると判断して(ステップS614)、下地レベルの係数値をX=255に設定する(ステップS615)。また、RX,GX,BXがそれぞれ存在する場合であっても、写真モード設定時には、係数値をX=255に設定する(ステップS613でYES)。
【0074】
標準モード設定時(ステップS613でNO)には、AE処理が実行される(ステップS616でYES)。後に説明するように、AE処理の実行時には係数Pの値は1に設定される(ステップS617)。また、露出レベルがマニュアル設定される場合には(ステップS616でNO)、後に「表1」を用いて説明するように、1〜7の設定値に応じて係数Pの値を定める(ステップS618)。この場合、係数Xの値は、全て255に設定される。
【0075】
シェーディング補正部400の説明に記したように、シェーディング補正用の板16は、必ずしも理想的な白色ではないため、この分光分布比をCCDイメージセンサ14のR,G,Bの感度比に置き換えた値をRN:GN:BNとする。シェーディング補正用の板16のG波長域の感度をWH1、コピーの濃度階調ダイナミックレンジの最小値をWH2とすると、シェーディング補正の逆数変換テーブルの所望値255×Qに対して、以下の「数9」によりR,G,B毎にQを求める(ステップS619)。
【数9】
=P×(RN/GN)×10WH1−WH2×(255/X)
=P× 1 ×10WH1−WH2×(255/X)
=P×(BN/GN)×10WH1−WH2×(255/X)
係数Pは、下地レベルのマニュアル設定時に用いられる係数であり、AE処理の実行時には1に設定されている。下地レベルがマニュアル設定される場合には、下地レベルの係数値Xは、255に設定される。次の「表1」に、AE処理時と、下地レベルのマニュアル設定時における係数Pの値と係数Xの値とを示す。表示するように、マニュアルで設定することのできる下地レベルは、7段階である。設定値は、4を中心として3→2→1となるほど下地がとぶように係数Pの値が設定され、5→6→7となるほど下地がかぶるように係数Pの値が設定される。
【表1】
Figure 0003729131
上記ステップS619にて求めたQ,Q,Qのそれぞれの値に基づいて、R,G,B毎に逆数変換テーブル406に変換データをダウンロードする(ステップS620)。以上のAE処理により、原稿が写真や有彩色であっても再現するコピーのカラーバランスが原稿と異なることがないように、原稿の下地を最適に処理する。
【0076】
上記AE処理では、下地レベルの係数値X及び係数Pを変更してシェーディング補正を適正化するものであるが、これに限定されず、例えば、図73に示すγ補正部1700で使用する下地除去レベルUDC7〜0及び傾き補正値GDC7〜0を変更して行うものであってもよい。この場合、下地除去レベルUDC7〜0及び傾き補正値GDC7〜0は、次の「数10」に示すLOG補正式に基づいて定められる。
【数10】
UDC7〜0=−(255/DMAX)×log(X/255)
GDC7〜0={255/(255−UDC7〜0)}×128
但し、シェーディング補正の所望する値255×Qは、X=255として設定する。
【0077】
さらに、ヒストグラムデータの解析中に求められた原稿の無彩色比率は、原稿がカラー原稿であるのかモノクロ原稿であるのかを示す信号である。このため、上記原稿の無彩色比率を原稿の識別に用いれば、フルカラーPPCとしてACS動作を行うことができる。原稿がモノクロ原稿であれば、BKトナーのみを使用して印字処理を実行するようにすることも可能であり、この場合には、トナーの消費量の節約、及び印字処理の高速化を図ることができる。
【0078】
また、原稿下地がカラーであっても、故意に下地を飛ばすことができる。これは、SREF7〜0のレベルを大きくして無彩色として扱われる範囲を広げ、広げた範囲内でR,G,Bデータのヒストグラム化を行うことで実現される。この場合に無彩色比率を求める必要はなく、ヒストグラムの解析を実行して原稿下地レベルXの検出すればよい。
【0079】
またさらに、原稿下地レベルの係数値Xを求めるため、R,G,Bデータのヒストグラムより、最大極大値を検出しているが、平均階調レベルと最大値、最小値とを求め、原稿の平均的な明るさと、階調ダイナミックレンジから係数値Xを求めてもよい。
【0080】
(b-5) 変倍・移動処理部
変倍・移動処理部800では、入力されるR37〜30データ、G37〜30データ、B37〜30データに対して、不要領域データの削除、縮小補間処理、縮小,等倍,拡大出力、イメージリピート及び拡大補間処理を実行する。上記不要領域とは、原稿台上で原稿の存在していない領域と、原稿画像を縮小したため生じる領域との2つがあり、AE処理部600での原稿サイズの検出結果に基づいて実行される。例えば原稿を50%に縮小するには、本来ならば読取密度を400dpiのスキャナのかわりに200dpiのスキャナを用いて原稿の画像データを読み取り、読み取って得られる画像データを400dpiの密度で印字処理すべきである。しかし実際には400dpiのスキャナで読み取って得られる画像データを半分に間引いたデータが用いられる。この場合、細い線のデータが消去されてしまい、再現画像の画質が低下する。そこで、縮小率に応じたサイズで補間処理を実行する。これにより、再現画像の画質の低下を防止する。また、原稿を拡大する場合に、単純にデータを水増しするだけではエッジのがたつきが目立つ等、画像の劣化が激しい。拡大補間部では、拡大倍率に応じてスムージング処理を施す。これにより、拡大時の画像の劣化を防止する。なお、使用者により操作パネル上の画質モニタ選択キー77が押下された場合には、原稿画像の一部を8回イメージリピートして出力する。
【0081】
図21は、Rデータ、Gデータ、Bデータがそれぞれ入力される変倍・移動処理部800の構成を示す。領域外イレース部805では、入力された画像データDin(R37〜30,G37〜30,B37〜30)から不要な領域の画像データを消去する。ここで不要な領域とは、図22の(a)に示すように、原稿台ガラス15上に載置された原稿用紙以外の部分をいう。この不要な領域での読み取りデータの値は、黒色のデータであり、コピーの品質低下の原因となる。この不要な領域のデータは、変倍・移動制御回路801より出力されるDCLR1信号の出力に基づいて実行される。DCLR1信号は、水平方向同期信号である−TG信号と、イメージデータの同期信号であるVCLK信号とに基づいて切り替えられる。制御回路801は、VCLK信号によりイメージデータの終了を検知する。そして−TG信号により次のラインの同期信号が立ち上がるまでの間に読み取られたデータを不要領域のデータと判断して領域外イレース部805にデータ消去を実行させる。
【0082】
(b-5-1) 縮小補間部
縮小補間部806は、順に入力される画素データをその前後にある画素のデータを用いて補間する。縮小補間部806には、領域外イレース部805により不要領域のデータの消去されたR37〜30,G37〜30,B37〜30の各データが入力される。縮小補間部806で補間処理を実行するのは、以下の理由による。一般に原稿画像の縮小は、画像データを間引くことで実行される。例えば、読み取った原稿画像を半分に縮小して出力するには、画像データを1つ置きに間引くことで、データ量を半分にする。図23の(a)に示すように、400dpiで画像データを読み取るCCDイメージスキャナで読み取られた画像を、半分に縮小する場合、本来ならば図23の(b)に示すように原稿画像の画像データを200dpiのイメージスキャナで読み取り、400dpiで印字出力することが必要である。しかし、実際には、図23の(c)に示すように、400dpiで原稿の画像データを読み取った際に得られる画像データのうち、所定の位置にある画素のデータを用いて読取解像度を変更する。しかし原稿画像が網点の場合、縮小率を大きくするとモアレが生じる。また、単純にデータを間引くため、縮小率に比例して画像の解像度が低下する。また、一般にモノクロ2値画像の場合、そのモノクロ各画素の存在確立が50%の場合は稀であり、通常は白色画素の占める割合が大きい。このような場合に単純にデータを間引くとデータの欠損を生じる。
【0083】
このデータの欠損による影響を緩和するため、縮小補間部806において、その前後のデータと共に所定の補間処理を施す。演算器807は、次の「数11」に示される演算を実行する。
【数11】
W=a・y+(1−a)・(x+z)/2
ここで、係数aの値は、主走査方向の倍率Xの値である。また、xは、n+1番目のデータの値である。yは、n番目のデータの値である。zは、n−1番目のデータの値である。上記式で求められるWは、主走査方向の複写倍率に基づいて補間処理の施されたn番目の画像データの値である。
【0084】
(b-5-2) 変倍・移動処理部
演算器807により上記補間処理の施された画像データは、次の変倍メモリ1及び2に入力される。変倍メモリ1及び2に入力される信号は、次の通りである。WCK(ライトクロック)信号は、データを書き込む際に使用され、複写倍率によりその周期が制御される信号である。RCK(リードクロック)信号は、データを読み出す際に用いられ、複写倍率により周期が制御される信号である。−WE(ライトイネーブル)信号1,2は、データの書き込みを禁止する信号である。−RE(リードイネーブル)信号1,2は、データの読み出しを禁止する信号である。−WRST(ライトアドレスリセット)信号1,2と−RRST(リードアドレスリセット)信号1,2は、変倍メモリからデータの読み出しを開始する際に出力される信号である。変倍・移動制御回路801は、変倍メモリ1及び2のいずれかに−WE信号を出力する一方で、他方の変倍メモリには−RE信号を出力し、変倍メモリ1及び2のいずれか一方の変倍メモリにデータを書き込む間に、他方の変倍メモリに格納されたデータを読み出す。
【0085】
変倍移動処理部803は、WCK信号/RCK信号の周期及び立ち上がりパルスのデューティ比を変更することで、変倍処理を実行する。また、−WE信号及び−RE信号の位相を変更することで、画像の移動を実行する。また、さらにWRST信号及びRRST信号の位相を変更して画像のリピート位置を制御する。
【0086】
(b-5-2-1) 変倍処理
図24〜図26は、読取データを等倍、拡大及び縮小して出力する際の入力データDinとWCK信号及びRCK信号そして出力データDoutのタイミング関係を表す。
【0087】
(i)等倍出力
図24は、読取画像を等倍出力する際の上記各信号のタイミング関係を示す図である。この場合WCK信号とRCK信号とは、各画素データの入力タイミングと同じ周期t及び所定のデューティ比dに設定される。変倍メモリ1では、−WE1信号が”L”の間、WCK信号のパルスの立ち上がりに同期して画像データDinを順に格納する。次に−RE1信号が”L”に切り替わるのを待ち、メモリに格納した画像データをRCK信号の立ち上がりパルスに同期して順に出力する。変倍メモリ2の場合でも同様である。このようなタイミングでデータの書き込み及び読み出しを実行することで、等倍の画像データが出力される。なお、先に説明したように、変倍メモリ1にデータが書き込まれている間に、変倍メモリ2にデータが書き込まれるようなことはない。一方の変倍メモリにデータの書き込み許可がなされているときには、他方の変倍メモリにはデータを読み出すことしか許可されない。
【0088】
(ii)拡大出力
図25は、読取画像を主走査方向にX倍(但し、X>1である)して出力する場合の上記各信号のタイミング関係を示す図である。この場合、WCK信号は、周期t及びデューティ比dに設定される。一方、RCK信号は、周期t×X及びデューティ比d/Xに設定される。なお、図25は、X=2の場合について示す図である。変倍メモリへのデータの書き込み及び読み出しの手順は、図24を用いて説明した等倍出力の場合と同じである。しかし、変倍メモリからデータを読み出す際のRCK信号の周期がX倍されている。これは、データDoutがX倍に水増しされて出力されることを意味する。このようなタイミングでデータの書き込み及び読み出しを実行することで、主走査方向にX倍に拡大されたデータDoutが出力される。ここで、倍率Xの値は、少数部分を含むものであってもよい。次に説明するように画像を縮小する場合とは異なり、データの読み出すタイミングを主走査方向の倍率Xの値に比例して延長するだけだからである。
【0089】
(iii)縮小出力
図26は、読取画像を主走査方向にX倍(但し、X<1である。)して出力する場合の上記各信号のタイミング関係を示す図である。この場合、WCK信号は、周期t/X及びデューティ比d×Xに設定される。一方、RCK信号は、周期t及びデューティ比dに設定される。なお、図26は、X=1/2の場合について示す。変倍メモリへのデータの書き込み及び読み出しは、図24を用いて説明した等倍出力の場合と同じである。しかし、変倍メモリにデータを書き込む際のWCK信号の周期がX倍されている。これは、図示されるように、データDinを半分に間引いて変倍メモリに読み取ることを意味する。変倍メモリに格納されたデータを等倍出力の場合と同じ周期及びデュ−ティ比のRCK信号を用いて読み出すことで、主走査方向にX倍に縮小されたデータDoutが出力される。
【0090】
(b-5-2-2) 移動処理
制御回路801では、−WE1,2信号及び−RE1,2信号の位相を制御することで出力データの移動処理を実行する。ここで、出力データの移動とは、図27の(a)及び(b)に示すように、読み取った原稿の画像を複写紙上で左右に移動させることをいう。図28の(a)は、変倍・移動制御部801から各変倍メモリ1及び2に入力される−WRST1及び−RRST2の波形と、−WRST2及び−RRST1の波形とを示す。図28の(b)は、(a)の波形に同期して出力される各信号(Din,-WE1,-WE2,-RE1,-RE2,Dout)の波形を示す。
【0091】
読み取った原稿画像のデータを複写紙上で右に移動して出力させるには、図28の(b)に示すように、−RE1及び−RE2を”L”に切り換えるタイミングを遅らせる。当該タイミングを遅らせることで、変倍メモリよりデータが読み出されるタイミングが遅延する。これにより複写紙上に形成される原稿画像は、全体的に右に移動することになる。また、読み取った原稿画像を複写紙上で左方向に移動させて出力させるには、図28の(c)に示すように−WE1,2信号を”L”に切り換えるタイミングを遅らせる。変倍メモリは、−WE1,2信号が”L”に切り替わった後に入力されるラインデータをスタートアドレスから書き込む。このようにして書き込まれたデータを通常のタイミングで読み出せば、複写紙上に全体的に左側に移動された画像が形成される。なお、読み取った原稿画像を複写紙上で上下に移動させるには、CCDイメージセンサ14の原稿読取開始時間と、複写紙の現像開始のタイミングを調節して行う。この処理の詳細な説明は省略する。
【0092】
(b-5-2-3) イメージリピート
変倍・移動制御回路801は、−WRST1,2信号及び−RRST1,2信号の出力制御を行うことで、図29に示すように、1枚の複写紙上に読取原稿の画像を複数回出力するイメージリピートを実行する。例えば、主走査方向の1ライン上に等間隔に2回同じイメージデータを出力させるには、図30に示すように、−RRST1,2信号を当該ラインの読み出しの最初と中間時にそれぞれ1回出力すればよい。変倍メモリは−RRST信号の出力に応じて格納されているデータを最初のアドレスより出力する。これにより主走査方向1ライン上に同一のイメージデータが2回繰り返して出力される。これを読取画像データの各ラインについて繰り返し実行することでイメージリピートが実現される。使用者により画質モニタ選択キー77が押下された場合には、原稿の一部の画像を8回イメージリピートして出力する。
【0093】
上記図24〜図26の何れかのタイミングで変倍メモリ1または2から読み出されたデータは、領域外イレース部808により不要領域のデータの白色データへの変更がなされる。ここで不要領域とは、図22の(b)に示すように、例えば原稿用紙のサイズがA3であって、これをA4に縮小して出力するような場合に生じる領域をいう。この領域のデータを白色データに変更するのは、A3からA4に縮小コピーを取る際に、複写紙にA3サイズの複写紙が選択されていたような場合に上記不要領域が黒色で塗りつぶされ、見苦しくなることを防ぐためである。
【0094】
(b-5-3) 拡大補間部
図21において、拡大補間部804は、入力データに対して、その拡大率に応じた補間処理を実行する。これは、読取画像を拡大する場合、単純に読取データを水増しするだけでは、エッジ部分のがたつきが目立つ等、画像の劣化が著しいためである。拡大補間部804では、領域外イレース部808より出力された画像データをスムージングフィルタ809〜816に入力する。スムージングフィルタ809〜916には、画素列の中央の注目画素と外の隣接画素のそれぞれに、拡大倍率に応じて適当な荷重(重み付け)係数が与えられている。スムージングフィルタ809〜816は、順に拡大倍率×1〜×8に対応する。例えば、拡大倍率×1のフィルタ809では、注目画素のみが処理の対象となり、荷重係数の値は1に設定される。即ち、スムージングフィルタ809では、入力された画像データをそのままセレクタ818に出力する。主走査倍率検出回路817は、変倍メモリに入力されるRCK信号の周期及びデューティ比より主走査方向の複写倍率Xの整数値を求め、求めた倍率値をセレクタ818に入力する。セレクタ818は、入力された倍率値に対応するスムージングフィルタからのデータを出力データDoutとして出力する。
【0095】
(b-6) 画像インターフェース部
変倍・移動処理部800より出力されるR47〜40データ,G47〜40データ,B47〜40データは、画像インターフェース部1000に入力される。画像インターフェース部1000では、外部から入力されたR,G,Bの各データ(R-VIDEO7〜0,G-VIDEO7〜0,B-VIDEO7〜0)と上記R47〜40データ,G47〜40データ,B47〜40データとの選択及びはめ込み合成を行う。また、RGBインターフェースやプリンタインターフェースにイメージデータを伝送するときのタイミング信号も生成する。
【0096】
(b-7) HVC変換部
図31に示したHVC変換部1100は、入力されるRGBデータ(R57〜50,G57〜50,B57〜50)から、明度信号(V7〜0)、色差信号(WR7〜0、WB7〜0)を生成し、さらに、色差信号から彩度データ(W7〜0)及び色相信号(H7〜0)を生成する。使用者によりサービスマンモード設定キー75が押下された場合に、予めセットされたカラーパッチを読み取り、実際に読み取られたRGBデータの値に基づいて上記データを求める。これにより各CCD素子の読取特性のばらつきを修正する。
【0097】
(b-7-1) HVC変換
入力されたRGBデータは、演算器1101に入力される。演算器1101は、次の「数12」に示す各変換式を実行して、明度信号(V7〜0)、色差信号(WR7〜0、WB7〜0)を出力する。
【数12】
V=a・R+a・G+a・B
(但し、a+a+a=1の式を満たす。)
WR=(R−V)/(1−a
WB=(B−V)/(1−a
上記a,aの係数値は、通常のTVのRGB画像データの場合、a=0.3,a=0.1程度に設定される。これは、RGB画像データの混合率が3:6:1であることを意味する。この混合率は、CCDイメージセンサの特性や縮小光学系のレンズの色特性により若干変化する。例えば、本実施形態の複写機で用いたCCDイメージセンサ14では、a=0.35,a=0.55程度である。
【0098】
上記a,aの係数値は、図32に示すフローチャートに従って定められる。まず、使用者によりサービスマンモード設定キー75が押下された後(ステップS1100でYES)、原稿台ガラス15上に、カラーパッチを載置する。プリントキー73の押下を待って(ステップS1110でYES)、CCDイメージセンサ14によりカラーパッチのRGBデータを読み取る(ステップS1111)。予め記憶してある標準値より実際のカラーパッチの明度Vの値を読み出す(ステップS1112)。この後、読み取られたRGB画像データと明度Vの値から、最小二乗法を用いてa及びaの値を定める(ステップS1113)。使用者によりサービスマンモード設定キー75が再び押下されるのを待って(ステップS1114でYES)、LED75aを消灯した後に通常モードに復帰する(ステップS1115)。
【0099】
演算器1101で求められた色差信号(WR7〜0、WB7〜0)は、図33に示すように、色空間上の色相面の直交座標軸で表される。彩度信号W7〜0は、上記色差信号(WR7〜0,WB7〜0)を演算器1102に入力して求める。演算器1102は、次の「数13」の演算を実行して彩度信号W7〜0を出力する。
【数13】
W=(WR+WB1/2
【0100】
(b-7-2)画質モニタ機能
HVC変換部1100には、上記演算器1101及び1102の外に、使用者の画質調節キー74a〜dの操作により選択される画質(マスキング係数、シャープネス、γカーブ、カラーバランス)の調節信号を制御する画質制御回路1103(図34)を備える。画質制御回路1103は、以下に説明する画質モニタ機能を実行制御する回路である。
【0101】
フルカラー複写機では、使用者は、所望する画像がどのような作像条件で得られるのかを知ることが難しい。しかし、1枚複写する毎に異なる作像条件を設定し、所望する画質のコピーが得られるまでこれを繰り返し行うことは不経済である。本実施形態の複写機は、実際にプリントアウトされた複数の画像から好みの画像を選択するだけで、容易に所望する画像を得ることができる画質モニタ機能を備える。具体的には、操作パネル25上に設けられている画質モニタ設定キー77の押下に対応して、まず、最初に原稿面上の一部の画像を図35に示すように8個にイメージリピートし、各々に対して、異なるマスキング係数、シャープネス(エッジ強調・スムージングレベル)、γカーブ、カラーバランス(下地除去・傾き補正レベル)を設定したものをプリントアウトする。使用者は、プリントアウトされた画像より、好みの画質の画像を選択し、操作パネル25上に設けられているテンキー72から該当する画像の番号を入力する。画質制御回路1103は、入力された番号に対応する画像の形成条件のデータ(マスキング補正係数切換信号MA2〜0、シェープネス切換信号SH2〜0、γカーブ切換信号GA2〜0、カラーバランス切換信号CO2〜0)を該当する処理部へ出力する。
【0102】
変倍・移動処理部800は、画質モニタ設定キー77の押下に応じて原稿の一部の画像データを8回イメージリピートする。図34は、画質制御回路1103の回路構成を示す。主走査方向のライントリガ信号である−TG信号によりリセットされた主走査カウンタ1104は、VCLK信号に同期してカウントを開始する。主走査カウンタ1104のカウント出力は、それぞれ比較器1105,1106,1107,1108のP端子に入力される。比較器1105〜1108のQ端子には、それぞれXEC〜0,XFC〜0,XGC〜0,0が入力される。上記XEC〜0,XFC〜0,XGC〜0は、それぞれ変倍・移動処理部800で実行されるイメージリピートのリピートポイントに該当する主走査方向のカウント値である(図35下段参照)。各比較部1105〜1108は、主走査カウンタ1104から入力されるカウント値がそれぞれQ端子から入力されるカウント値と一致した場合に”L”の信号を出力する。NANDゲート1109は、何れかの比較部から”L”の信号が入力された場合に”L”のカウンタ・パルス信号(以下、CP信号という)を遅延回路1110を介してモニタエリアカウンタ1111に出力する。モニタエリアカウンタ1111では、入力されるCP信号をクロック信号として動作して、NUM2−0信号を出力する。モニタエリアカウンタ1111は、ロードデータであるLD2−0信号によりイメージリピートされる画像の識別番号が指定される。カウントダウン信号は、モニタエリアカウンタ1111をアップカウントするのか、もしくはダウンカウントするのかを設定する。
【0103】
主走査方向の画像の識別番号の切替は、CP信号を作成する比較器1105〜1108の基準値(XEC〜0,XFC〜0,XGC〜0,0)によって行われ、副走査方向の画像識別番号の切替は、モニタエリアカウンタ1111に入力するカウントダウン信号とLD2−0信号の値を変化させることによって行われる。例えば、LD2〜0信号の値が5の場合には、モニタエリアカウンタ1111には、画像の識別番号の初期値として5が設定される。カウントダウン信号によりダウンカウントが設定されている場合には、モニタエリアカウンタ1111は、最初の”L”のCP信号の入力に対応してカウントダウンされた値4を、NUM2〜0信号の値として出力する。以下、モニタエリアカウンタ1111は、”L”のCP信号の入力に対応して、順に4→3→2→1のNUM2〜0信号を繰り返し出力する。副走査方向に2枚目の画像の出力が開始するのに同期して、カウントダウン信号は、モニタエリアカウンタ1111をアップカウントさせる。ここで、LD2〜0信号の値を3に設定すると、モニタエリアカウンタ1111からは、4→5→6→7のNUM2〜0信号が出力される(図35参照)。モニタエリアカウンタ1111から出力されるNUM2〜0信号は、それぞれセレクタ1114,1117,1120,1123に入力される。セレクタ1114,1117,1120,1123のS端子には、それぞれ選択信号であるMSEL0〜3が入力されている。各MSEL0〜3は、通常は、”H”が設定されており、これに対してセレクタ1114,1117,1120,1123は、B端子に入力されている固定値M2〜0,S2〜0,G2〜0,C2〜0を、それぞれY端子から出力する。
【0104】
使用者によりマスキング係数設定キー74aが押下された場合には、MSEL0が”L”に切り換えられ、セレクタ1114のA端子に入力されるNUM2〜0がY端子からMA2〜0として出力される。即ち、この場合、複写紙上には、マスキング係数切換信号MA2〜0の値を4→3→2→1と切り換えた画像が4つイメージリピートされ、次の段にマスキング係数切換信号MA2〜0の値を4→5→6→7と切り換えた画像が4つイメージリピートされたものがプリントアウトされる。この後、使用者により、例えば6番の画像識別信号が入力されると、固定値M2〜0の値が、6に更新される。
【0105】
引き続き、使用者によりシェープネス設定キー74bが押下された場合には、MSEL1の値が”L”に切り換えられ、セレクタ1117のA端子に入力されるNUM2〜0がY端子からSH2〜0として出力される。この場合、複写紙上には、シェープネス切換信号SH2〜0の値を4→3→2→1と切り換えた画像が4つイメージリピートされ、次の段にシャープネス切換信号SH2〜0の値を4→5→6→7と切り換えた画像が4つイメージリピートされたものがプリントアウトされる。この際、セレクタ1117以外のセレクタ1114,1120,1123からは、固定値M2〜0,G2〜0,C2〜0が各Y端子から出力される。なお、固定値Mの値は、更新された値6である。この後、使用者により、例えば2番の画像識別信号が入力されると、固定値S2〜0の値が、2に更新される。
【0106】
以下、同様にしてγカーブ設定キー74cまたはカラーバランス設定キー74dが押下された場合には、複写紙上には、γカーブ切換信号GA2〜0またはカラーバランス切換信号CO2〜0の値を4→3→2→1と切り換えた画像が4つイメージリピートされ、次の段にγカーブ切換信号GA2〜0またはカラーバランス切換信号CO2〜0の値を4→5→6→7と切り換えた画像が4つイメージリピートされたものがプリントアウトされる。この後、使用者による画像識別番号の入力に応じて固定値G2〜0またはC2〜0が更新される。以上の処理により使用者は、迅速に好みの画質のプリントを得ることが可能になる。
【0107】
以下、4種類の画像調整切替信号によって設定される内容について説明する。マスキング係数切換信号MA2〜0は、後に説明する色補正部の欄でも述べるように、マスキング係数を切り替え、コピーの色合い調整を行う。これは、図36に示すように、本来原稿とコピーの色差が無くなるように係数を最小二乗法等の手法により求めて行う。その係数に対して、再現されるコピーの色循環を時計方向、あるいは反時計方向に回転するように他の6種類の係数を設定する。次の「表2」は、MA2〜0の値と、設定されるマスキング係数との関係を示す。
【表2】
Figure 0003729131
【0108】
通常、5Rという原稿色は、マスキング係数切換信号MA2〜0の値が4のとき、コピーの色も5Rになるようにマスキング係数を設定する。マスキング係数切換信号MA2〜0の値が、3→2→1と小さくなるのに伴い、5Y側に(時計方向に)再現されるように(色循環図が回転するように)、マスキング係数が設定される。逆にマスキング係数切換信号MA2〜0が5→6→7と大きくなるのに伴い、5RP側に再現されるようにマスキング係数が設定される。なお、マスキング係数切換信号MA2〜0の値が0のときには、セピアカラー用のマスキング係数が設定される。即ち、色補正部1400で述べるように、−SEPIA信号が”L”ならば、マスキング係数切換信号MA2〜0の値が0となるようにマスキング係数選択ブロック内のセピアカラー用係数を選択する。
【0109】
シャープネス切換信号SH2〜0は、画像のシャープネスを調整する信号である。これは、MTF補正部1600の説明で述るようにエッジ強調量係数と、スムージングフィルタサイズを変更することで、画像のシャープさを調節する。次の「表3」は、SH2〜0の値に対するエッジ強調係数ED7〜0の値と、スムージングフィルタのサイズSD7〜0との関係を示す。
【表3】
Figure 0003729131
表示するように、SH2〜0の値が4より小さくなると、エッジ強調量係数ED7〜0の値が大きくなるように、エッジ強調係数切り換えブロックで選択される。SH2〜0の値が4以下であれば、スムージングフィルタをかけていないデータをSD7〜0として、スムージングフィルタ切換ブロックで選択する。逆に、SH2〜0が大きくなるのに伴い、ED7〜0を小さくし、スムージングフィルタのサイズが大きいフィルタをフィルタ1とする。これによって、SH2〜0が小さいほど画像がシャープになり、大きいほど画像が滑らかになる(ぼける)。
【0110】
γカーブ切換信号GA2〜0は、γカーブを選択する信号でγ補正部1700で説明するように、画像の明暗調節とコントラスト調整を図74及び図75に示すグラフに従って設定する。GA2〜0の値が4のときには、明暗及びコントラスト何れの調整も入出力のデータが等しいようにしている。明暗調整は、GA2〜0の値が大きくなるとシャドー型カーブが選択され、小さくなるとハイライト型カーブが選択される。コントラスト調整では、GA2〜0が大きくなるとハイライトシャドー型が選択され、小さくなると中間調強調型が選択される。
【0111】
CO2〜0は、3種類のカラーバランスと画像の彩度及びコピー濃度を調整するものである。カラーバランスの調整には、C−R調整、M−G調整、Y−B調整がある。C−R調整を例にとると、CO2〜0の値が4よりも大きくなると、傾き補正レベルGDC7〜0を、Cトナー現像に128(傾き=1)より大きくし、M,Y現像に128より小さくして、画像データのシアン濃度をマゼンタ、イエロー濃度よりも強調する。逆にCO2〜0の値が、”4”よりも小さくなると、GDC7〜0を、Cトナー現像に128(傾き=1)より小さくし、M,Y現像に128より大きくして、画像データのシアン濃度をマゼンタ、イエロー濃度より弱くすることでレッド濃度を強くする。同様にM−G調整,Y−B調整もC,M,Y現像時のGDC7〜0を「表4」に示すように調整している。表示されているように、C−R調整では、Cの量をΔだけ増加した場合、M,Yのそれぞれの値を−Δ/2だけ増加してやる。即ち、複写紙に単位面積当たりに付着されるトナー量を変えずにC,M,Yトナーの付着量を調整する。
【表4】
Figure 0003729131
表示するように、CO2〜0の値が4の時は、どの現像工程であってもGDC7〜0=128とし、BK現像時には、GDC7〜0=128のまま可変しない。この調整は、図37に示すように色循環を操作していることになる。
【0112】
彩度調整では、CO2〜0の値が4より大きくなると、GDC7〜0をC,M,Y現像時に128より小さくして、BK現像時に128より大きくする。これにより有彩色成分(C,M,Y)の濃度を弱くし、無彩色成分(BK)の濃度を強くする。CO2〜0の値が”4”より小さくなると、逆の処理を行う。この調整は、図38に示す色循環を操作していることになる。カラーバランス調整で重要なことは、コピー全体の濃度、即ち複写紙に単位面積当たりに付着されるトナー量を変えないことである。これは、単位面積当たりに付着されるトナー量が変化すると、画像調整前後で原稿全体の濃度が変化するだけでなく、定着温度が変化して光沢が変化したり、トナーの定着不良が発生するためである。この時、もう一方のパラメータである下地除去レベルUDC7〜0は0のままである。なお、コピー濃度調整は、C,M,Y,BKの現像工程に関係なく動作させる。CO2〜0の値が4よりも大きければ濃くなり、小さければ薄くなる。
【0113】
(b-8) 濃度補正部
濃度補正部1200は、露光ランプによる原稿の反射光量に比例して変化するRGBデータ(R67〜60,G67〜60,B67〜60)を、濃度に比例して変化するデータ(DR17〜10,DG17〜10,DB17〜10)に変換する。
【0114】
図39は、濃度変換部1200の構成を示す図である。入力されたR67〜60,G67〜60,B67〜60のデータは、それぞれLOGテーブル1201〜1203に入力される。LOGテーブル1201〜1203は、同一のテーブルであり、図40に示すテーブルである。LOGテーブル1201〜1203では、次の「数14」に示す変換処理を実行して得られる濃度データ(DR17〜10,DG17〜10,DB17〜10)を出力する。
【数14】
DR=−(255/DMAX)×LOG(R/255)
DG=−(255/DMAX)×LOG(G/255)
DB=−(255/DMAX)×LOG(B/255)
但し、DMAXは、最大反射濃度値である。
【0115】
また、RGBデータ(R67〜60,G67〜60,B67〜60)は、重み付け部1204で5:6:5の比で重み付けされ、次の加算部1205で混合された後に、LOGテーブル1206に入力される。LOGテーブル1206より出力されるDV17〜10は、モノカラー時の濃度レベルを表す信号である。
【0116】
次のネガポジ反転部1250は、−NEGA信号(ネガポジ反転信号)が”L”のときにDR17〜10,DG17〜10,DB17〜10,DV17〜10を反転出力(ネガ出力)し、”H”の時にはそのまま通過させる。上記−NEGA信号は、使用者により操作パネル25上に設けられているネガ/ポジ反転キー76により設定されるオプショナル信号である。通常のコピー時には、”H”に保持されている。
【0117】
(b-9)UCR/BP処理部
フルカラー再現に必要なシアン(C)、マゼンタ(M)、イエロー(Y)、黒(BK)の各色データは、面順次方式によって1スキャン毎に作成され、計4回のスキャンによりフルカラーを再現される。ここで、黒の印字も行うのは、シアン,マゼンタ,イエローを重ね合わせて黒を再現しても、各トナーの分光特性の影響により鮮明な黒の再現が難しいためである。そこで、本実施形態の複写機では、データY,M,Cによる減法混色法と黒データKによる墨加刷によって、黒の再現性を向上し、フルカラーを実現する。
【0118】
UCR/BP処理部1300は、DR27〜20,DG27〜20,DB27〜20のデータの最小値(MIN(DR,DG,DB))を算出し、これを墨色であるとして、そのある割合をBKデータとして扱い、プリンタで黒色トナーを加える処理(以下、この処理をBP処理という。)と、上記加えたBKデータに応じてC,M,Y色材料の量を少なくする下色除去処理(以下、この処理をUCR処理という。)を実行する。
【0119】
図41は、UCR/BP処理部1300の構成を示す図である。入力された濃度データDR27〜20,DG27〜20,DB27〜20のデータは、それぞれ最小値検出回路1301に入力される。最小値検出回路1301は、図42の(a)に示すように、入力されたDR27〜20,DG27〜20,DB27〜20のデータの最小値(MIN(DR,DG,DB))を検出して出力する。次の差分回路1302では、CPU1より送られてくる下地レベルXのデータ(図中、BPCと表す)を最小値(MIN(DR,DG,DB)から差し引く。なお、UCR処理時は、このデータは0である。
【0120】
HVC変換部1100で算出された彩度信号W7〜0は、UCRテーブル1303に入力される。同じくUCRテーブル1303に入力される−CMY/K信号は、C(シアン)、M(マゼンタ)、Y(イエロー)の印字行程の際に”L”に設定され、BK(黒)の印字行程の際に”H”に切り替えられる。UCRテーブル1303は、UCR処理時にはUCR係数データα(W)を出力すると共に、BP処理時にはBP係数データβ(W)を出力する。図43にUCRテーブルを示す。読取画像が無彩色(白黒)の場合には、黒色のトナーのみで画像を再現した方がトナーの付着量が少なく、黒が引き締まって見る。従って、彩度信号W7〜0信号の値が小さい場合には、UCRテーブル1303は、出力するα(W)及びβ(W)の値を大きくして下色除去量及び黒色加算量を共に増加する。一方、読取画像が有彩色(カラー)の場合には、α(W)及びβ(W)値が余り大きいと逆に濁った色が再現される。このため、彩度信号W7〜0の値が大きな場合には、UCRテーブル1303は、出力するα(W)及びβ(W)値を小さく設定する。このように彩度信号W7〜0の値の大きさに応じて出力するα(W)及びβ(W)値を変更することで、より適切なUCR/BP処理を実行する。
【0121】
UCRテーブル1303より出力されたα(W)もしくはβ(W)は、演算器1304に入力される。演算器1304は、UCR処理時にはMIN(DR,DG,DB)の各データにα(W)/256を掛け合わして下色除去量(図42の(b)で破線で示す量)を減算器1305〜1307に出力する。減算器1305〜1307では、次の「数15」が実行され、UCR処理の施されたC07〜0,M07〜0,Y07〜0が出力される。
【数15】
C0=DR−MIN(DR,DG,DB)×α(W)/256
M0=DG−MIN(DR,DG,DB)×α(W)/256
Y0=BR−MIN(DR,DG,DB)×α(W)/256
【0122】
一方、演算器1304は、BP処理時には次の「数16」の演算を実行する。すなわち、所定の下色レベルのデータBPCを差し引いたMIN(DR,DG,DB)の各データにβ(W)/256を掛け合わし、加算する黒色トナー量BK(図42の(b)参照)を出力する。
【数16】
BK=(MIN(DR,DG,DB)−k)×β(W)/256
【0123】
(b-10) 色補正部
CCDイメージセンサ14の読取画素毎に配設されている色分解フィルタの分光特性は、図45に斜線で示す不要透過領域を有する。また、プリンタ側で用いられるC,M,Yの色トナーも図46に斜線で示す不要吸収成分を有している。色補正部1400は、所定のマスキング演算処理を実行し、上記原稿とコピーの色再現を合わす。色補正部1400では、UCR処理されたC07〜0,M07〜0,Y07〜0及びその非線形項である{(C0+M0)/2)},{(M0+Y0)/2)},{(Y0+C0)/2)}、さらに定数項を次の「数17」に示すマトリクス計算してC,M,Yデータを求める。色補正部1400では、この処理により原稿とコピーの色再現性を整合する。
【数17】
Figure 0003729131
マスキング係数c11〜c17,m21〜m27,y31〜y37の各係数は、以下の手順で定められる。まず、CCDイメージスキャナ14にテストチャートを読み取らせてテスト用プリントを形成する。次に出力されたテスト用プリントをCCDイメージセンサ14に読み取らせる。ここで、テストチャートの読取データと、実際にプリントされたテスト用プリントの読取データとを比較し、両データの差が最小となるように上記各係数の値を定める。具体的には、シアン作像時にマスキング係数c11〜c17が設定される。マゼンタ作像時にマスキング係数m21〜m27が設定される。イエロー作像時には、マスキング係数y31〜y37が設定される。
【0124】
図44は、色補正部1400の構成を示す図である。入力されるC07〜0,M07〜0,Y07〜0の各データは、それぞれ、乗算器1409〜1411に入力されると共に、演算器1402〜1404に入力される。演算器1402〜1404には、各A端子にC0,M0,Y0の順にデータが入力され、各B端子にM0,Y0,C0の順にデータが入力される。演算器1402〜1404では、A端子に入力されたデータとB端子に入力されたデータの平均値を求め、これを出力する。演算器1402〜1404より出力された各データは、次の演算器1405〜1407のX端子に入力される。各演算器1405〜1407では、入力データの二乗を256で割った値を乗算器1412〜1414に出力する。各乗算器1409〜1414には色補正制御部1401よりマスキング係数c11〜c17,m21〜m27,y31〜y37が入力される。各乗算器1409〜1414での乗算結果は、演算器1415のA〜F端子にそれぞれ入力される。また、演算器1415には、色補正制御部1401より定数項データがG端子に直接入力される。演算器1415は、A〜Fのデータ合計値より定数項データDを差し引いた値を次のセレクタ1416に出力する。即ち以上の処理により、上記「数17」のマトリクス計算が実行される。
【0125】
シアン、マゼンタ、イエローの各作像時に、上記色補正部1401は、前記した手順で定められるマスキング係数の他に故意に色相のバランスを変更するようなマスキング係数等、同時に8種類のマスキング係数を設定することができる。これらの係数の内、何れのデータをマスキング係数として出力するかは、マスキング係数切換信号MA2〜0とセピアエリア信号−SEPIAによってリアルタイム(1ドット毎)に切換える。
【0126】
色補正部1401は、BK(黒)の印字工程の際には”H”の−CMY/K信号を出力し、他の(シアン、マゼンタ、イエローの)印字工程では”L”の−CMY/K信号を出力する。セレクタ1416は、”H”の−CMY/K信号の入力に対応してBK7〜0データを次のセレクタ1417に出力する。一方、”L”の−CMY/K信号の入力に対応して演算器1415からのデータを次のセレクタ1417に出力する。
【0127】
色補正制御部1401は、使用者により操作パネルを介して入力されるモノカラー再現色データに応じてプリンタの作像工程(C,M,Y,BK)に応じて切り替わる係数(MM7〜0:C18,M18,Y18、BK18)を乗算器1408に出力する。乗算器1408は、モノカラー用の濃度データDV17〜10に上記係数MM7〜0を掛け合わしてモノカラーデータをセレクタ1417に出力する。
【0128】
また、色補正制御部1401には、画素ごとに属性をもつ編集エリア信号であるモノカラーエリア(−COLMONO)信号及びモノクロエリア(−BKMONO)信号が入力される。−COLMONO信号及び−BKMONO信号は、ORゲート1418に入力される。−COLMONO信号及び−BKMONO信号の両方が”L”、即ち画素データがフルカラーモードエリアのデータである場合、ORゲート1418は、セレクタ1417に”L”の信号を出力する。この場合、セレクタ1417は、セレクタ1416より入力されたフルカラーデータをVIDEO7〜0信号として出力する。
【0129】
しかし、−COLMONO信号及び−BKMONO信号の何れか一方が”H”の場合、即ち画素データがモノカラーモードエリアもしくはモノクロモードエリアのデータである場合、ORゲートは、セレクタ1417のS端子に”H”の信号を出力する。この場合、セレクタ1417は、乗算器1408に入力されたモノカラーデータをVIDEO7〜0信号として出力する。
【0130】
(b-11) 領域判別部
図47及び図48は、原稿画像中の黒文字部分の判別と、網点領域の判別処理を実行する領域判別部1500の構成を示す図である。黒文字判別は、大別すれば”文字(エッジ)の判定”、”黒の判定”、”黒文字誤判別領域の抽出”、そして後に説明するMTF補正部1600で黒文字の再現性を向上するために実行する”黒エッジ再生信号の生成”の4つの処理に分類される。以下、この4つの処理について説明する。
【0131】
(b-11-1) 文字(エッジ)の判定
文字は、基本的に”エッジ部分”及びそのエッジ部分に挟まれた”べた塗り”部分の2つの要素より成り立っている。また、線の細い文字の場合には、エッジのみとなる。即ち、文字の判定は、エッジの判定を行うことで達成される。
【0132】
HVC変換部1100で作成された明度信号V7〜0は、N/P反転部1501を介して、ラインメモリ1502に入力される。N/P反転部1501は、入力される−NEGA信号が”L”の場合に入力されたデータを反転して出力する。ここで、−NEGA信号は、使用者により操作パネル25のネガ/ポジ反転キー76により設定されるオプショナル信号である。
【0133】
ラインメモリ1502より読み出されるデータは、それぞれ5×5マトリクスよりなる主走査方向の1次微分フィルタ1503及び副走査方向の1次微分フィルタ1504に入力されると共に、2次微分フィルタ1508に入力される。ここで、エッジの判定に1次微分フィルタ及び2次微分フィルタの双方を使用するのは、各フィルタに以下のような特徴があるからである。
【0134】
図49の(a)は、太さの異なる5つのラインの明度分布を示すものであり、図中右へ行くに従って太いラインとなる。図49の(b)は、上記各ラインの1次微分結果を示す図である。また、図49の(c)は、上記各ラインの2次微分結果を示す図である。図より理解されるように、1次微分フィルタは、太いライン(幅4ドット以上)のエッジ部分で2次微分フィルタよりも高い検出値を出力する。一方、2次微分フィルタは、細いライン(幅4ドット未満)のエッジ部分で1次微分フィルタよりも高い検出値を出力する。即ち、幅4ドット以上の太いエッジ部分の検出には1次微分フィルタが適しており、幅4ドット未満の細いラインのエッジ部分の検出には2次微分フィルタが適している。本実施形態の領域判別部1500では、各フィルタの当該特徴に注目し、1次微分フィルタ及び2次微分フィルタの何れか一方の微分値がそれぞれの所定のしきい値を越えた場合にエッジ部分であると判定する。これによりラインの太さによらず一定のエッジ検出精度を維持する。
【0135】
(b-11-1-1) 1次微分フィルタ
図47に示すラインメモリ1502から読み出されるデータは、5×5マトリクスよりなる主走査方向の1次微分フィルタ1503及び副走査方向の1次微分フィルタ1504に入力される。主走査方向の1次微分フィルタ1503は、図50に示すフィルタが用いられる。また、副走査方向の1次微分フィルタ1504は、図51に示すフィルタが用いられる。各1次微分フィルタ1503及び1504により求められた微分結果は、次の演算器1505及び1506に入力され、その絶対値が求められる。ここで、1次微分結果の絶対値を求めるのは、図50及び図51に示した1次微分フィルタ1503及び1504内に負の係数が存在するためである。1次微分フィルタ1503及び1504による1次微分結果の絶対値は、次の演算器1507において平均値が求められる。このように平均値を求めるのは、主走査方向及び副走査方向の双方の1次微分結果を考慮に入れるためである。このようにして求められた平均値FL17〜10は、図48に示すエッジ判定コンパレータ1521,1524,1526及び1528のそれぞれに入力される。
【0136】
(b-11-1-2) 2次微分フィルタ
図47に示すラインメモリ1502から読み出されるデータは、2次微分フィルタ1508にも入力される。2次微分フィルタ1508は、図52に示すフィルタが用いられる。2次微分結果D7〜0は、演算器1509により絶対値FL27〜20が求められる。これは、上記1次微分フィルタと同じくフィルタ内に負の係数が存在するためである。この絶対値FL27〜20は、図48に示すエッジ判定コンパレータ1522,1523,1525及び1527のそれぞれに入力される。また、2次微分結果D7〜0は、VMTFテーブル1512に入力される。図59は、VMTFテーブル1512を示す図である。VMTFテーブル1512は、入力される2次微分結果D7〜0に対応する明度エッジ成分VMTF7〜0を出力する。
【0137】
(b-11-1-3) エッジ判定
図48に示すエッジ判別コンパレータ1521は、1次微分結果FL17〜10と第1エッジリファレンスレベルEDGref17〜10とを比較する。ここで、1次微分結果FL17〜10が第1エッジリファレンスレベルEDGref17〜10よりも大きな場合には、”L”の信号を出力する。また、エッジ判別コンパレータ1522は、2次微分結果FL27〜20と第2エッジリファレンスレベルEDGref27〜20とを比較する。ここで、2次微分結果が第2エッジリファレンスレベルEDGref27〜20よりも大きな場合には、”L”の信号を出力する。エッジ判定コンパレータ1521及び1522における判定結果は、ANDゲート1533に入力される。ANDゲート1533は、エッジ判定コンパレータ1521又は1522の少なくとも一方から”L”の信号を受け取った場合には、エッジ部分であることを意味する”L”の−EG1信号を出力する。
【0138】
(b-11-2) 黒の判定
黒の判定は、彩度データW7〜0の値に基づいて行われる。即ち、彩度データW7〜0の値が所定の基準値以下の場合にこれを黒と判定する。ところが、彩度データW7〜0の値は、黒色の画素であるにもかかわらず大きな値となることがある。例えば、CCDイメージセンサ14の画像データの読み取り時の振動で、図53の上段に示すように、R,G,B各のデータの位相がわずかながらずれた場合、黒の画素であるにもかかわらず、図53の下段に示すように、彩度データW7〜0の値は大きくなる。この場合に上記基準で黒の判定を行えば、カラー画素であると誤判定してしまう。
【0139】
本実施形態では、まず、HVC変換部1100で求められた彩度データW7〜0をラインメモリ1514に入力して3×3マトリクスのデータにした後、スムージングフィルタ1515を用いてスムージング処理を施す。スムージング処理の施された彩度データWS7〜0は、図53の下段に示すようになだらかな値に変更される。これにより上記の誤判定が回避される。
【0140】
スムージング処理の施された彩度データWS7〜0は、図48に示す彩度判定コンパレータ1529で彩度リファレンスデータWREF7〜0と比較される。彩度データWS7〜0の値が彩度リファレンスデータWREF7〜0の値よりも小さい場合、この彩度データWS7〜0をもつ画素は、黒色であると判定する。この場合、コンパレータ1529は、”L”の−BK信号をORゲート1537に出力する。
【0141】
上記彩度リファレンスデータWREF7〜0は、ラインメモリ1502に入力された明度データV7〜0をWREFテーブル1513に入力して得る。WREFテーブル1513は、図55に示すように、明度データV7〜0が所定の値よりも明るい場合には、WREF7〜0の値をその明るさに比例して小さくすることを特徴とする。これは、明度の明るい箇所では、誤判定により生じる黒色画素が目立つことを考慮したものである。
【0142】
以上、文字(エッジ)判定及び黒の判定の行われた画素が、エッジ部分の画素であり(−EG1信号が”L”である)、黒色画素であって(−BK信号が”L”である)、かつ−BKEGEN信号が”L”の場合、ORゲート1537は、当該画素が黒色のエッジ部分であることを意味する”L”の−BKEG信号を出力する。
【0143】
(b-11-3) 黒文字誤判別領域の抽出
上記文字(エッジ)判定及び黒の判定のみでは、明度データV7〜0の値が低く、かつ彩度データWS7〜0の値も低い(例えば濃い青色や深緑色の)文字を黒文字のエッジ部分と誤判別することがある。
【0144】
また、図56に示すように、シアンとイエローといった反対色に対応する画像の隣り合う箇所では、その色の移り変わり部分において彩度データW7〜0の値が一旦低くなる。即ち、色の移り変わりの部分で黒色に変化する箇所が生じる。上記文字(エッジ)判定及び黒の判定のみでは、この箇所を黒文字のエッジ部分であると誤って判定してしまう。エッジ部分であると誤判定された場合、シアンと、イエローの色の移り変わりに黒いラインが描かれてしまう。このようなケースは、雑誌の表紙などで黄色の下地に青色の文字が印刷されるような場合に発生し易い。
【0145】
本実施形態では、黒文字誤判別領域の抽出処理として上記課題を解消するために色べた部分を判別する。そして、上記黒文字と判定された場合であっても、この色べた部分であると判定された部分についてはその判定をキャンセルする。これにより、より確実な黒文字の判定を実現する。
【0146】
色べた部分は、非エッジ部であって、カラーモードエリアの画素であり、さらに明度の低い画素が所定の範囲内に一定レベル以上存在することを特徴とする。この特徴に基づいて、色べた部の判定は以下のように実行される。1次微分フィルタの結果FL17〜10及び2次微分フィルタの結果FL27〜20がエッジ判定コンパレータ1523及び1524において第3エッジリファレンスレベルEDGref37〜30及び第4エッジリファレンスレベルEDGref47〜40の値よりも低い場合、ORゲート1534は、非エッジ部の画素であることを意味する”L”の−BETA1信号を出力する。また、彩度判定コンパレータ1530において彩度データWS7〜0の値が所定の基準値WREF27〜20より小さい場合、コンパレータ1530は、この部分がカラーデータであることを意味する”L”の−COL信号を出力する。さらに、明度判定コンパレータ1531は、明度データV17〜10の値が所定の基準値Vref17〜10よりも小さい場合、”L”の−VL信号を出力する。ORゲート1538は、それぞれ”L”の−BETA1信号、−COL信号及び−VL信号の入力に対して、当該画素が非エッジ部であって、カラーモードエリアの画素であり、さらに明度の低い画素であることを意味する”L”の−CAN信号を出力する。この部分は、非背景部の有彩色平坦部であると見なされる。次のカウンタ1542は”L”の−CAN信号の数を、9×9画素単位でカウントする。カウント判定コンパレータ1543は、カウンタ1542より入力されるカウント結果データCnt15〜10の値が基準値Cntref7〜0よりも小さな場合に”L”の−BKEGON信号を出力する。
【0147】
ORゲート1544には、上記−BKEG信号と−BKEGON信号とが入力される。上記BKEG信号は、ORゲート1544に同一画素についての信号が入力されるように遅延回路1541により遅延されている。ORゲート1544に黒のエッジ部であるとの判定結果を表す”L”の−BKEG信号が入力されている場合であっても、所定の範囲内にカラーデータが所定の基準値以上存在し、色べた部分であると判断された場合には、”H”の−BKEGON信号が入力され、上記黒のエッジ部であるとの判定をキャンセルし、”H”の−PAPA信号を出力する。本実施形態では、無彩色の下地に黒文字が描かれている場合にのみエッジ強調処理を実行する。また、所定の範囲内に色べた部分と判定された画素が所定の基準値に満たない場合、黒のエッジ部分であるとの判定を維持して”L”の−PAPA信号を出力する。
【0148】
(b-11-4) 網点領域の判別
図47に示すように、ラインメモリ1502より出力されるデータは、白網点検出フィルタ1510及び黒網点検出フィルタ1511に入力される。各フィルタは、図57に示すように注目画素Xを取り囲む8方向の前後2画素の平均に対して注目画素が、あるレベル(AMIREF)よりもすべての方向に対して大きい(白網点)か小さいか(黒網点)を判定し、さらに孤立点化するために注目画素が回りの8個の画素よりも大きいとき、白網点と判定し、(−WAMI=”L”)、さらにすべて小さい時、黒網点と確定する(−KAMI=”L”)。
【0149】
具体的には、図47に示す白網点検出フィルタ1510は、次の「数18」に示す各条件式を満足し、かつ次の「数19」に示す条件式をすべて満足する場合にのみ”L”の−WAMI信号を出力する。
【数18】
X−(a11+a22)/2>AMIREF7〜0
X−(a31+a32)/2>AMIREF7〜0
X−(a51+a42)/2>AMIREF7〜0
X−(a53+a43)/2>AMIREF7〜0
X−(a55+a44)/2>AMIREF7〜0
X−(a35+a34)/2>AMIREF7〜0
X−(a15+a24)/2>AMIREF7〜0
X−(a13+a23)/2>AMIREF7〜0
【数19】
X>a22
X>a32
X>a42
X>a43
X>a44
X>a34
X>a24
X>a23
【0150】
また、黒網点検出フィルタ1511は、次の「数20」に示す各条件式を満足し、かつ次の「数21」に示す各条件式をすべて満足する場合にのみ”L”の−KAMI信号を出力する。
【数20】
X−(a11+a22)/2<AMIREF7〜0
X−(a31+a32)/2<AMIREF7〜0
X−(a51+a42)/2<AMIREF7〜0
X−(a53+a43)/2<AMIREF7〜0
X−(a55+a44)/2<AMIREF7〜0
X−(a35+a34)/2<AMIREF7〜0
X−(a15+a24)/2<AMIREF7〜0
X−(a13+a23)/2<AMIREF7〜0
【数21】
X<a22
X<a32
X<a42
X<a43
X<a44
X<a34
X<a24
X<a23
【0151】
白及び黒網点検出フィルタ1510及び1511より出力された−WAMI信号及び−KAMI信号は、それぞれ、図48に示すカウンタ1550及び1551に入力される。カウンタ1550及び1551は、41×9画素マトリクス内の各信号の”L”の信号の数をカウントする。各カウンタ1550及び1551より出力されるカウンタ値は、最大値検出回路1552に入力される。最大値検出回路1552では、入力されたカウンタ値のより大きなほうを網点個数(Amicnt7〜0)として出力する。Amicnt7〜0は、4個の網点個数判定コンパレータ1553〜1556に入力される。各コンパレータ1553〜1556では、図58に示すように4段階の網点判定リファレンスレベル(CNTREF17〜10、CNTREF27〜20、CNTREF37〜30、CNTREF47〜40)によって2値化される。各コンパレータ1553〜1556は、Amicnt7〜0が網点判定リファレンスレベル(CNTREF17〜10、CNTREF27〜20、CNTREF37〜30、CNTREF47〜40)よりも大きい場合に”L”の信号(−AMI0,−AMI1,−AMI2,−AMI3)を出力する。
【0152】
(b-11-5) 他の判別
明度データV7〜0を図48に示す明度判定コンパレータ1532に入力して、第2明度リファレンスレベルVREF27〜20と比較する。ここで、明度データV7〜0が、第2明度リファレンスレベルVREF27〜20よりも大きな値の場合、この部分がハイライト部分であることを意味する”L”の−VH1信号を出力する。また、黒の判定の場合と同様に、非エッジ部分の判定を行う。1次微分フィルタの結果FL17〜10及び2次微分フィルタの結果FL27〜20がエッジ判定コンパレータ1527及び1528において第7エッジリファレンスレベルEDGref77〜70及び第8エッジリファレンスレベルEDGref87〜80の値よりも低い場合、ORゲート1536は、非エッジ部の画素であることを意味する”L”の−BETA2信号を出力する。ORゲート1539は、それぞれ”L”の−VH1信号及び−BETA2信号の入力に対して、当該部分がハイライト平坦部であることを意味する”L”信号を出力する。この信号は遅延回路1546により遅延され、−HLIGHT信号として出力される。
【0153】
また、1次微分フィルタの結果FL17〜10及び2次微分フィルタの結果FL27〜20は、エッジ判定コンパレータ1525及び1526に入力され、第5エッジリファレンスレベルEDGREF57〜50及び第6エッジリファレンスレベルEDGREF67〜60と比較され、大きければANDゲート1535よりエッジ部であることを意味する”L”の−EG2信号が出力される。−EG2信号は遅延回路1545により遅延され、−MAMA信号として出力される。
【0154】
(b-12) MTF補正部
図60及び図61は、MTF補正部1600の構成を示す図である。MTF補正部1600は、領域判別部1500による領域判別結果(−AMI0〜−AMI3、−MAMA、−PAPA、−EDG、−HLIGHT)により認識される画素の種類、及び状態信号(MODE、−CMY/K、−BKER、−COLER)により認識される印字状況に基づいて、画素データ(MVIDEO7〜0またはVIDEO7〜0)に対して最も適当なエッジ強調処理及びスムージング処理を実行する。また、認識された画素の種類に応じて画素クロック1サイクル単位でのレーザ発光デューティ比を変更する。ここで、発光デューティ比とは、画素クロックが1サイクルする間にレーザ発光しない期間を設けた場合におけるレーザ発光期間の割合をいう。さらに、エッジの立ち上がり及び立ち下がり部分の画素データに所定値を加算し、感光体ドラム41上に形成したトナー像を複写紙上に転写する際に生じるエッジの立ち上がり部分でのトナーのつき過ぎ及び立ち下がり部分でのトナーのかすれを補正する。
【0155】
MTF補正部1600は、−CMY/K信号より現在印字処理中のトナーの色を認識する。−CMY/K=”L”の場合には、C(シアン),M(マゼンタ),Y(イエロー)のトナーについての印字処理を行っていることが認識される。また、−CMY/K=”H”の場合には、BK(ブラック)のトナーについての印字処理を行っていることが認識される。また、MODE、−BKER、−COLERの3つの信号より、フルカラー標準モード(-BKER="H",-COLER="H",MODE="H")、フルカラー写真モード(-BKER="H",-COLER="H",MODE="L")、モノカラー標準モード(-BKER="H",-COLER="L",MODE="H")、モノカラー写真モード(-BKER="H",-COLER="L",MODE="L")、モノクロ標準モード(-BKER="L",-COLER="L",MODE="H")、またはモノクロ写真モード(-BKER="L",-COLER="L",MODE="L")の何れのモードが設定されているかを認識する。さらに、領域判別結果に基づいて、印字処理する画素の種類が、ハイライト平坦部(-HLIGHT="L")の画素、非エッジ部(-HLIGHT="H",-EDG="H",-PAPA="H")の画素、色エッジ部(-HLIGHT="H",-EDG="L",-PAPA="H")の画素及び黒エッジ部(-HLIGHT="H",-EDG="L",-PAPA="L")の画素の何れであるのかを認識する。以下、上記各モード設定時における各種の画素について実行されるMTF補正について説明した後に図60及び図61に示す構成図に基づいてMTF補正部1600の説明を行う。
【0156】
(b-12-1) フルカラー標準モード設定時(-BKER="H",-COLER="H",MODE="H")におけるMTF補正
次の表5は、フルカラー標準モード設定時に、MTF補正パラメータ制御部1601に入力される各データの信号のレベルと、各信号のレベルが意味する印字状況と、この場合にMTFパラメータ制御部1601より出力されるDMPX0、DMPX1、DMPX5及びDMPX6の各信号レベルとを表示する。
【表5】
Figure 0003729131
【0157】
(b-12-1-1) 黒エッジ部(-HLIGHT="H",-EDG="L",-PAPA="L")
(b-12-1-1-1) BKの印字処理中(-CMY/K="H")
フルカラー標準モード設定時におけるBK(ブラック)のトナーの印字処理中、黒エッジ部の画素については、通常の画像データSD7〜0に明度エッジ成分VMTF7〜0を加算したデータをVIDEO37〜30として出力する。ここで、濃度エッジ成分DMTF7〜0のかわりに明度エッジ成分VMTF7〜0を使用するのは、明度エッジ成分の方が濃度エッジ成分よりも下地からの画像エッジに対して敏感に反応するためである。ここで、画素が網点画像を構成する場合、その程度(網点の密度)に応じてエッジ強調量(明度エッジ成分VMTF7〜0の値)を制限する。これにより、網点画像をエッジ強調した場合に生じるモアレの発生を防止する。
【0158】
(b-12-1-1-2) C,M,Yの印字処理中(-CMY/K="L")
C,M,Yの印字処理にある黒エッジ部の画素については、エッジ強調は行わず、5×5又は3×3画素マトリクス内で最も小さな値のデータMIN7〜0をVIDEO37〜30として出力する。このように、所定のマトリクス内の最小値データをC,M,Yの画像データとすることで、図68の(a)に破線で囲まれた部分に示されるC,M,Yデータの微細なはみ出し線を消去し、図68の(b)に破線で囲まれた部分に示す状態に変更する。図68の(a)に破線で囲まれた部分に示すC,M,Yデータの微細なはみ出し線を消去するのに、所定のマトリクス内の最小値のデータMIN7〜0を用いるのは、以下の理由による。
【0159】
従来、上記微細なはみ出し線を消去するため、C,M,Yの各画像データの値からエッジ検出結果(本実施形態ではFL17〜10又はFL27〜20)を差し引いたデータをC,M,Yの各画像データとして使用する複写機があった。しかし、上記従来の複写機では、黒文字のエッジ部分周辺のCMYデータの値まで0になってしまい、図69の(a)に示すように、黒文字のエッジ部分周辺に白抜けが生じるといった課題があった。
【0160】
そこで、本実施形態では、上記所定のマトリクス内の最小値のデータMIN7〜0を用いることで、図68の(b)に示すように黒文字内部のC,M,Yの各画像データの値のみを0にする。これにより図69の(b)に示すように、白抜けのない、エッジ強調された黒文字を印刷することができる。
【0161】
(b-12-1-2) 色エッジ部(-HLIGHT="H",-EDG="L",-PAPA="H")
前に説明したように、本実施形態の領域判別1500では、”(b-11-3)黒文字誤判別領域の抽出”の処理を実行し色文字と黒文字のエッジ部分を区別する。MTF補正部1600は、フルカラー標準モード設定時における色エッジ部の画素については、BKトナーの印字処理中はエッジ強調を行わずに通常の画素データSD7〜0をVIDEO37〜30として出力する。また、C,M,Yの印字処理中は、画素データSD7〜0に濃度エッジ成分データDMTF7〜0を加算したデータをVIDEO37〜30として出力する。MTF補正部1600は、色文字のエッジ部分の画素のデータに対してBK印字処理中のエッジ強調を取りやめる。これによりエッジ強調された文字の周囲が黒く縁取られることを排除する。
【0162】
(b-12-1-3) ハイライト平坦部(-HLIGHT="L")
ハイライト平坦部では、エッジ強調せず、スムージング処理の施されたFSD7〜0を画像データVIDEO37〜30として用いる。これによりハイライト部でのノイズを目立たなくする。
【0163】
(b-12-1-4)非エッジ部(-HLIGHT="H",-EDG="H",-PAPA="H")
非エッジ部、即ち、色べた部では、エッジ強調せず、通常の画素データSD7〜0をVIDEO37〜30として出力する。
【0164】
(b-12-2) フルカラー写真モード設定時(-BKER="H",-COLER="H",MODE="L")におけるMTF補正
次の表6は、フルカラー写真モード設定時に、MTF補正パラメータ制御部1601に入力される各データの信号レベルと、各信号レベルの意味する印字状況と、この場合にMTFパラメータ制御部1601より出力されるDMPX0、DMPX1、DMPX5及びDMPX6の各信号レベルとを表示する。
【表6】
Figure 0003729131
【0165】
(b-12-2-1) 黒エッジ部(-HLIGHT="H",-EDG="L",-PAPA="L")及び色エッジ部(-HLIGHT="H",-EDG="L",-PAPA="H")
フルカラー写真モード設定時には、その中間調画素の階調特性を損なわないようにするためにスムージング処理の施されたデータFSD7〜0に濃度エッジ成分データDMTF7〜0を加算したものを画素データVIDEO37〜30として出力する。このようなエッジ強調処理を実行することで、階調特性を壊さずに適切なエッジ強調を実現する。
【0166】
(b-12-2-2) ハイライト平坦部(-HLIGHT="L")
ハイライト部では、C,M,Y,BKの印字処理中にエッジ強調は行わず、スムージング処理の施されたFSD7〜0を画素データVIDEO37〜30として出力する。これによりハイライト部分でのノイズを目立たなくする。
【0167】
(b-12-2-3) 非エッジ部(-HLIGHT="H",-EDG="H",-PAPA="H")
非エッジ部、即ち、色べた部に対しては、C,M,Y,BKの印字処理中にエッジ強調処理は行わず、スムージング処理の施されたFSD7〜0をVIDEO37〜30として出力する。これにより写真画像の階調特性を維持する。
【0168】
(b-12-3) モノカラー標準モード設定時(-BKER="H",-COLER="L",MODE="H")におけるMTF補正
次の表7は、モノカラー標準モード設定時に、MTF補正パラメータ制御部1601に入力される各データの信号レベルと、各信号レベルの意味する印字状況と、この場合にMTFパラメータ制御部1601より出力されるDMPX0、DMPX1、DMPX5及びDMPX6の各信号レベルとを表示する。
【表7】
Figure 0003729131
【0169】
(b-12-3-1) エッジ部(-HLIGHT="H",-EDG="L")
モノカラー標準モード設定時におけるBKの印字処理中は、エッジ強調を行わず、通常の画素データSD7〜0をVIDEO37〜30として出力する。また、C,M,Y印字処理中には、通常の画素データSD7〜0に濃度エッジ成分データDMTF7〜0を加算したものをVIDEO37〜30として出力する。これにより色文字のエッジ部分が黒く縁取られることを防止する。
【0170】
(b-12-3-2) ハイライト平坦部(-HLIGHT="L")及び非エッジ部(-HLIGHT="H",-EDG="H")
ハイライト平坦部では、C,M,Y,BKの印字処理中にエッジ強調処理は行われず、スムージング処理の施されたFSD7〜0をVIDEO37〜30として出力する。これによりハイライト部分でのノイズを目立たなくする。また、非エッジ部、即ち、色べた部に対してはエッジ強調は行わず、C,M,Y,BKの印字処理中にエッジ強調処理は行われず、スムージング処理の施されたFSD7〜0をVIDEO37〜30として出力する。
【0171】
(b-12-4) モノカラー写真モード設定時(-BKER="H",-COLER="L",MODE="L")におけるMTF補正
次の表8は、モノカラー写真モード設定時に、MTF補正パラメータ制御部1601に入力される各データの信号レベルと、各信号レベルの意味する印字状況と、この場合にMTFパラメータ制御部1601より出力されるDMPX0、DMPX1、DMPX5及びDMPX6の各信号レベルとを表示する。
【表8】
Figure 0003729131
【0172】
(b-12-4-1) エッジ部(-HLIGHT="H",-EDG="L")
モノカラー写真モード設定時には、その中間調画素の階調特性を損なわないようにするため画素データとしてスムージング処理の施されたデータFSD7〜0を使用する。エッジの強調は、C,M,Yの印字処理中においてのみデータFSD7〜0に濃度エッジ強調成分DMTF7〜0を加算して行われる。このようにすることで、色文字のエッジ部分が黒く縁取られることを防止する。
【0173】
(b-12-4-2) ハイライト平坦部(-HLIGHT="L")及び非エッジ部(-HLIGHT="H",-EDG="H")
ハイライト平坦部では、C,M,Y,BKの印字処理中にエッジ強調処理は行われず、スムージング処理の施されたFSD7〜0をVIDEO37〜30として出力する。これによりハイライト部分でのノイズを目立たなくする。また、非エッジ部、即ち、色べた部に対しては、C,M,Y,BKの印字処理中にエッジ強調処理は行われず、スムージング処理の施されたFSD7〜0をVIDEO37〜30として出力する。
【0174】
(b-12-5) モノクロ標準モード設定時(-BKER="L",MODE="H")におけるMTF補正
次の表9は、モノクロ標準モード設定時に、MTF補正パラメータ制御部1601に入力される各データの信号レベルと、各信号レベルの意味する印字状況と、この場合にMTFパラメータ制御部1601より出力されるDMPX0、DMPX1、DMPX5及びDMPX6の各信号レベルとを表示する。
【表9】
Figure 0003729131
【0175】
(b-12-5-1) エッジ部(-HLIGHT="H",-EDG="L")
モノクロ標準モードの設定時には、画素データとして通常のデータSD7〜0を使用し、エッジの強調は、BKの印字処理中に明度エッジ成分VMTF7〜0を上記データSD7〜0に加算して行う。C,M,Y印字処理中は、エッジ強調を行わない。
【0176】
(b-12-5-2) ハイライト平坦部(-HLIGHT="L")及び非エッジ部(-HLIGHT="H",-EDG="H")
ハイライト平坦部では、C,M,Y,BKの印字処理中にエッジ強調処理は行われず、スムージング処理の施されたFSD7〜0をVIDEO37〜30として出力する。これによりハイライト部分でのノイズを目立たなくする。また、非エッジ部に対しては、C,M,Y,BKの印字処理中にエッジ強調処理を行わず、通常のデータSD7〜0をVIDEO37〜30として出力する。
【0177】
(b-12-6) モノクロ写真モード設定時におけるMTF補正
次の表10は、モノクロ写真モード設定時に、MTF補正パラメータ制御部1601に入力される各データの信号レベルと、各信号レベルの意味する印字状況と、この場合にMTFパラメータ制御部1601より出力されるDMPX0、DMPX1、DMPX5及びDMPX6の各信号レベルとを表示する。
【表10】
Figure 0003729131
【0178】
モノクロ写真モード設定時には、その中間調画素の階調特性を損なわないようにするため、画像データとしてスムージング処理の施されたデータFSD7〜0を使用する。エッジの強調は、上記スムージング処理の施されたデータFSD7〜0に濃度エッジ成分データDMTF7〜0を加算して行われる。ハイライト平坦部及び非エッジ部では、その中間調画素の階調特性を損なわないようにするため、画像データとしてスムージング処理の施されたデータFSD7〜0を使用する。
【0179】
(b-12-7) MTF補正部1600の説明
次に、図60及び図61に示すMTF補正部1600の構成に基づいて、MTF補正部1600の実行するMTF補正について説明する。MTF補正パラメータ制御部1601には、前に説明した領域判別部1500より各1ビットの−AMI0信号〜−AMI3信号、−HLIGHT信号、−EDG信号、−PAPA信号、−MAMA信号とが入力される。さらに、制御部1601には、各1ビットのMODE信号、−CMY/K信号、−BKER信号そして−COLER信号が入力される。MODE信号は、原稿の種類を表す信号であり、写真モードの場合には”L”であり、通常モードの場合には”H”である。−CMY/K信号は、印字状況を示す状態信号であり、C(シアン),M(マゼンタ),Y(イエロー)のトナーについての印字処理中は”L”であり、BK(ブラック)のトナーについての印字処理中は”H”である。−BKER信号は、モノクロモードで信号処理を実行することを要求する信号である。−COLER信号は、モノカラーモードで信号処理をすることを要求する1ビットの信号である。−BKER信号及び−COLER信号は、エリア信号である。MTF補正パラメータ制御部1601は、入力される上記8種類の信号の値に基づいて、上記「表5」〜「表10」に示すようにDMPX0〜DMPX6を出力すると共に、次の「表11」に示すようにLIMOSを出力する。
【表11】
Figure 0003729131
【0180】
LIMOS信号は、イメージデータに対するレーザダイオードの発光デューティ比を変更する信号である。ここで、発光デューティ比とは、画素クロックが1サイクルする間にレーザ発光しない期間を設けた場合におけるレーザ発光期間の割合をいう。また、レーザダイオードの発光デューティ比の変更とは、画素クロック1周期中に所定の割合の非発光期間を設けることをいう。図62は、画素クロックに同期して送られてくるイメージデータの値に対応して生成される発光デューティ非100%のLD駆動信号と、制限パルスにより発光デューティ比を80%に制限されたLD駆動信号とを示す図である。本実施形態では、LIMOS=”L”の場合に発光デューティ比を、100%に設定する。また、LIMOS=”H”の場合に発光デューティ比を、80%に設定する。表示されるように、MODE=”H”の場合、即ち標準モード設定時におけるエッジ部(−MAMA=”L”)及び網点部(−AMI0=”L”)の画素に対してはLIMOS=”L”を設定する。これにより、エッジ部分や網点部分の再現性を向上させる。一方、標準モード設定時における非エッジ部及び写真モード設定時には、LIMOS=”H”として非発光期間を設ける。これにより、主走査方向に生じるライン間ノイズを目立たなくする。
【0181】
MODE信号、−CMY/K信号、−BKER信号及び−COLER信号は、そのままNANDゲート1602に入力され、−PAPA信号は、反転された後にNANDゲート1602に入力される。これらの5つの信号が入力されたNANDゲート1602は、DMPX7信号をセレクタ1603のS端子に出力する。NANDゲート1602は、MODE信号、−CMY/K信号、−BKER信号及び−COLER信号が”H”であって、−PAPA信号が”L”の場合にのみ”L”の信号を出力する。即ち、ANDゲート1602は、フルカラー標準コピーモード設定時であって、黒エッジ部のBK印字処理中にのみ”L”の信号をセレクタ1603のS端子に出力する。セレクタ1603は、”H”信号の入力に対して濃度データVIDEO7〜0を出力し、”L”信号の入力に対してマスキング処理の施された明度データMVIDEOを出力する。
【0182】
セレクタ1603のA端子にはマスキング処理された画像データMVIDEO7〜0がC,M,Y,Kの順で入力され、B端子には、濃度変換されたVIDEO7〜0データがC,M,Y,Kの順で入力される。セレクタ1603より出力されるデータは、それぞれ5×5マトリクスのデータを形成するラインメモリ1604を介してラプラシアンフィルタ1605、スムージングフィルタ1607〜1609、5×5マトリクス最小値検出フィルタ1612、3×3マトリクス最小値検出フィルタ1613、そしてプリンタエッジ補正部1615に入力される。
【0183】
ラプラシアンフィルタ1605は、図63に示すフィルタであり、中央に位置する注目画素のデータを強調データに変換する。ラプラシアンフィルタ1605より出力されたデータは次のDMTFテーブル1606に入力される。DMTFテーブル1606は、図64に示す変換を実行して濃度エッジ成分データDMTF7〜0を出力する。
【0184】
スムージングフィルタ1607〜1609は、入力されるデータを、それぞれ300dpi、200dpi及び100dpi相当にまで平滑化するフィルタであり、例えば、図65〜図67に示すフィルタを用いる。各フィルタによりスムージング処理の施された各データは、スムージングしていないデータと共にスムージングフィルタ制御部1610に入力される。スムージングフィルタ制御部1610は、HVC変換部1100より出力されるシャープネス切換信号SH2〜0が入力される。このシャープネス切換信号SH2〜0は、図34に示した画質制御回路1103にて設定される信号である。スムージングフィルタ制御部1610は、入力されたシャープネス切換信号SH2〜0の値に応じてスムージングされていないデータ及びスムージングフィルタ1607〜1609によりスムージングされたデータから該当するデータを選択してSD7〜0として出力する。またシャープネス切換信号SH2〜0は、エッジ強調係数制御部1611から出力される8種類のエッジ強調係数ED7〜0をリアルタイム(1画素毎)に切り換えることができ、複数のシャープネスを同時に8エリアまで変更することができる。
【0185】
5×5マトリクス最小値検出フィルタ1612及び3×3マトリクス最小値検出フィルタ1613では、各マトリクスの中央に注目画素を配置した場合の当該マトリクス内にあるデータの最小値を出力するフィルタである。最小値検出フィルタ1612及び1613から出力される最小値データは、セレクタ1614に入力される。セレクタ1614は、フィルタ選択信号FSEL2の値に応じて上記入力される最小値データの内の何れか一方のデータを選択し、MIN7〜0として出力する。フィルタ選択信号FSEL7〜0の値は、実験的に定められる。このように、所定の画素マトリクス内の最小値データを注目画素のデータとすれば、線の細い文字部は削除されることとなる。即ち、図68の(a)に破線で囲まれた部分に示されるC,M,Yデータの微細なはみ出し線を消去し、図68の(b)に破線で囲まれた部分に示す状態に変更する。図68の(a)に破線で囲まれた部分に示すC,M,Yデータの微細なはみ出し線を消去するのに、所定のマトリクス内の最小値のデータMIN7〜0を用いるのは、以下の理由による。
【0186】
従来、上記微細なはみ出し線を消去するため、CMYデータの値からエッジ検出結果FL17〜10又はFL27〜20を差し引いたデータをC,M,Yの画像データとして使用する複写機があった。しかし、上記従来の複写機では、黒文字のエッジ部分周辺のCMYデータの値まで0になってしまい、図69の(a)に示すように、黒文字のエッジ部分周辺に白抜けが生じる。そこで、本実施形態では、上記所定のマトリクス内の最小値のデータMIN7〜0を用いることで、図68の(b)に示すように黒文字内部のCMYデータの値のみを0にする。これにより図69の(b)に示すように、白抜けのない、エッジ強調された黒文字を印刷することができる。
【0187】
プリンタエッジ補正部1615は、感光体ドラムに形成されたトナー像を複写紙に転写する際に生じる印字特性を考慮に入れたエッジ補正処理を実行する。ここで、印字特性とは、例えば文字のエッジ部では、エッジの両端部に同量のトナーが付着すべきであるのに対して、その印字開始位置には多めのトナーが付着する一方で、エッジの終端部分では、逆にトナーがかすれ気味になることをいう。これは、エッジの立ち上がりまたは立ち下がりの程度が大きく、かつ下地となる立ち上がり前の画素のデータの値がほぼ0であると見なされるような場合に発生する。これに対して、エッジ補正は、図70の(a)に示すように、所定のデータ値を持つエッジ部分のデータに対して、斜線で示す領域のデータを付加して行われる。図70の(b)に実線で補正前に用紙に付着するトナーの量を示すと共に、点線で補正後の用紙に付着するトナーの量とを示す。図示するように、補正後では、エッジの立ち上がり部分でのトナーのつき過ぎ、及び立ち下がり部分でのトナーのかすれが軽減される。
【0188】
図71は、プリンタエッジ補正部1615の構成図である。減算器1650は、中心画素のデータを(L)で表した場合に、(L+1)番目の画素のデータから(L)番目のデータを差し引いた値を求める。また、減算器1651は、(L−1)番目のデータから(L)番目のデータを差し引いた値を求める。比較器1653は、減算器1650で求められた差が所定の基準値REF17〜10よりも大きな場合には、”L”の信号をS端子に出力する。また、比較器1654は、減算器1651で求められた差が所定の基準値REF27〜20よりも大きな場合には、”L”の信号をS端子に出力する。また、比較器1652は、(L)番目のデータと基準値REF37〜30とを比較する。ここで、(L)番目のデータの値が基準値REF37〜30よりも小さい場合には、”L”の信号をS端子に出力する。
【0189】
、S及びSの3つの端子に”L”が入力された場合、当該画素は、図72の(b)に示すようにエッジの谷間にあり、かつ所定値以下のデータであることが分かる。この場合、セレクタ1655は、加算データPD7〜0をADD17〜10として出力する。また、Sの端子に”H”の信号が入力され、S及びSの端子に”L”の信号が入力された場合、当該画素は、図72の(a)に示すようにエッジの立ち上がり部分であり、かつ所定値以下の画素であることがわかる。この場合、セレクタ1655は、加算データPD17〜10をADD17〜10として出力する。また、Sの端子に”H”の信号が入力され、S及びSの端子に”L”が入力された場合、当該画素は、図72の(c)に示すように、エッジの立ち下がり部分であり、かつ所定値以下の画素であることが分かる。この場合、セレクタ1655は、加算データPD27〜20をADD17〜10として出力する。セレクタ1655は、S端子、S端子及びS端子に入力される各信号が上記組み合わせ以外の場合には全て値0のデータをADD17〜10として出力する。
【0190】
さらに、図61に示すMTF補正部の構成に基づいて、MTF補正部1600の実行するMTF補正について説明する。図示するセレクタ1616及びセレクタ1617は、前述したように、印字処理にある画素の種類に応じて明度エッジ成分データVMTF7〜0、濃度エッジ成分データDMTF7〜0もしくはエッジ強調量0のデータから適当なデータを選択してエッジ強調成分データUSM7〜0として出力する。セレクタ1616及びセレクタ1617には、MTF補正パラメータ制御部1610より出力されるDMPX0及びDMPX1がそれぞれ入力される。DMPX0及びDMPX1は、各モード設定時における印字処理中にある画素の種類に応じて前に説明した表5〜表10に示すように出力される。
【0191】
また、セレクタ1622及びセレクタ1623は、領域判別部1500より入力される網点判別結果−AMI0〜−AMI3に基づいてエッジ強調係数ED7〜0を抑制して出力する。セレクタ1622のD端子に入力されるエッジ強調係数ED7〜0はCPU1により設定される信号であり、エッジ強調の程度(シャープネス)を制御する係数である。また、セレクタ1623のA端子〜C端子には、それぞれ、係数ED7〜0信号を1/4倍,2/4倍,3/4倍にしたデータが入力される。MTF補正パラメータ制御部1601より、セレクタ1622にはDMPX2及びDMPX3が入力され、セレクタ1623にはDMPX4が入力される。DMPX2〜DMPX4は、次の「表12」に示すように−AMI0〜−AMI3の値に基づいて出力される。−AMI0〜−AMI3の全てが”H”である場合、即ち、領域判別部1500で網点画像でないと判別された場合には、エッジ強調係数ED7〜0をそのままED17〜10として演算器1618に出力する。前に説明したように領域判別部1500では、網点の度合いが高くなるのに従い、−AMI0、−AMI1、−AMI2、−AMI3を順に”L”に切り換えて出力する。MTF補正パラメータ制御部1601では、この網点度に応じてA端子〜C端子に入力されたデータを選択して出力する。
【表12】
Figure 0003729131
演算器1618は、エッジ強調量USM7〜0にエッジ強調係数ED17〜10を掛け合わせて得られるデータをエッジ強調量USM17〜10として出力する。
【0192】
セレクタ1626及びセレクタ1627には、MTF補正パラメータ制御部1601より出力されるDMPX5及びDMPX6がそれぞれ入力される。ここでは、印字に用いる画像データを、印字処理にある画素の種類に応じて通常の画素データSD7〜0、スムージング処理の施されたデータFSD7〜0、図60に示したセレクタ1614より出力されるデータMIN7〜0より選択してVIDEO17〜10として出力する。DMPX5及びDMPX6は、各モード設定時における印字処理中にある画素の種類に応じて前に説明した「表5」〜「表10」に示すように出力される。
【0193】
加算器1624は、エッジ強調量USM17〜10を画素データVIDEO 7〜10に加算し、これをVIDEO27〜20として出力する。加算器1628は、VIDEO27〜20にプリンタエッジ補正部1615より出力される加算データADD17〜10を加算し、これをVIDEO37〜30として出力する。前に説明したように、加算データADD17〜10は、エッジの立ち上がりまたは立ち下がり部分にある画素のデータに対して加算するデータである。
【0194】
(b-13) γ補正部
MTF補正後のイメージデータ(VIDEO37〜30)は、図73に示すγ補正部1700に入力される。γ補正部1700では、使用者の好みに応じてγカーブを変更し、所望する画質のデータに変更して出力する。VIDEO37〜30は、γカーブ切換信号GA2〜0と共にγ補正テーブル1702に入力される。γカーブ切換信号GA2〜0は、図34に示した画質制御回路1103にて設定される信号である。γ補正テーブル1702は、γカーブ切換信号GA2〜0をテーブルのBANK信号として8種類の階調カーブをリアルタイムに切り換えることができる。この8種類の階調カーブを図74及び図75に示す。図74は、明暗調整モード設定時のγカーブ切換信号GA2〜0の値に対応する階調カーブを示す。また、図75は、コントラスト調整モード設定時のγカーブ切換信号GA2〜0に対応する階調カーブを示す。γ補正テーブル1702では、γカーブ切換信号GA2〜0により選択された階調カーブに従い、VIDEO37〜30のデータDin7〜0に対応するデータDout7〜0をVIDEO47〜40として出力する。
【0195】
γ補正テーブル1702より出力されたVIDEO47〜40は、演算器1703及び1704において、次の「数22」に示す演算が施される。
【数22】
VIDEO77〜70=(VIDEO47〜40−UDC7〜0)×GDC7〜0/128
(但し、値が256を越える場合には、VIDEO77〜70=256とする。)ここで、下地除去データUDC7〜0及び傾き補正データGDC7〜0は、次の「表13」に示すように、CO2〜0に対応してカラーバランス制御部701が出力する8種類のデータである。
【表13】
Figure 0003729131
【0196】
図76は、CO2〜0の値が1〜7の各々の場合におけるVIDEO47〜40とVIDEO77〜70との関係を示すグラフである。図77に示すように、VIDEO47〜40に対して、下地除去データUDC7〜0を除去し、傾き補正データGDC7〜0分だけ傾きを補正する。
【0197】
【発明の効果】
本発明の画像処理装置では、搬送手段が転写手段へ用紙を搬送する方向を基準としてエッジの立ち上がり部に生じるトナーのつき過ぎ、及び立ち下がり部に生じるトナーのかすれを解消することができる。
【図面の簡単な説明】
【図1】 本実施形態のデジタルカラー複写機の構成断面図である。
【図2】 操作パネル25の正面図である。
【図3】 読取信号処理部20の処理ブロック図である。
【図4】 読取信号処理部20の処理ブロック図である。
【図5】 A/D変換部300の構成図である。
【図6】 シェーディング補正部400の構成図である。
【図7】 8ビットの入力データDinに対して逆数変換テーブル406から出力される12ビットの逆数変換データDoutの関係を示すグラフである。
【図8】 CCDイメージセンサ14の構成を示す図である。
【図9】 ライン間補正処理部501及び補間処理部502の構成図である。
【図10】 ライン間補正処理部501に入力される−FIFOEN信号、−FRES1信号、−FRES2信号、−FRES3信号、及びライン間補正処理部501に入力/出力されるR,G,Bデータを示すタイムチャートである。
【図11】 フィールドメモリ504より出力されるR27〜20データと、フィールドメモリ505より出力されるG27〜20データと、B27〜20データとの読取位置に関するデータのずれについて示す図である。
【図12】 AE処理部600の構成を示すブロック図である。
【図13】 ヒストグラム生成部602の構成を示す図である。
【図14】 ある原稿の濃度ヒストグラムを示す図である。
【図15】 原稿サイズ検出部650の構成を示す図である。
【図16】 原稿台ガラス上に載置された原稿と、原稿サイズ検出部650における各信号との関係を示す図である。
【図17】 原稿台ガラス上に載置された原稿と、変倍・移動処理回路801より出力されるDCLR1信号との関係を示す図である。
【図18】 CPU1の実行するAE処理のフローチャートである。
【図19】 CPU1の実行するAE処理のフローチャートである。
【図20】 CPU1の実行するAE処理のフローチャートである。
【図21】 Rデータ、Gデータ、Bデータがそれぞれ入力される変倍・移動処理部800の構成を示す。
【図22】 (a)は、原稿台ガラス15上に載置された原稿用紙以外の部分を示し、(b)は、原稿を縮小することで生じる余白部分を示す。
【図23】 (a)は、400dpiの密度での読取データD1,D2,…を示し、(b)は、200dpiの密度での読取データD1',D2',…を示し、(c)は、400dpiで読み取られたデータを半分に間引いて200dpiとして用いる際の読取データD1",D2",…を示す図である。
【図24】 読取画像を等倍出力する際の上記各信号のタイミング関係を示す図である。
【図25】 読取画像を主走査方向にX倍(但し、X>1である)して出力する場合の上記各信号のタイミング関係を示す図である。
【図26】 読取画像を主走査方向にX倍(但し、X<1である。)して出力する場合の上記各信号のタイミング関係を示す図である。
【図27】 (a)及び(b)は、読み取った原稿の画像の左右への移動を示す図である。
【図28】 (a)は、変倍・移動制御部801から各変倍メモリ1及び2に入力される−WRST1及び−RRST2の波形と、−WRST2及び−RRST1の波形とを示し、(b)は、(a)の波形に同期して出力される各信号(Din,-WE1,-WE2,-RE1,-RE2,Dout)の波形を示し、(c)は、−WE1,2信号を”L”に切り換えるタイミングを遅らした場合の波形を示す図である。
【図29】 1枚の複写紙上に読取原稿の画像を複数回出力するイメージリピートを示す図である。
【図30】 イメージリピートを行う際の各信号のタイミングを示すタイムチャートである。
【図31】 HVC変換部1100を構成する処理ブロックを示す図である。
【図32】 明度信号(V7〜0)、色差信号(WR7〜0、WB7〜0)を求める際に使用するa,aの係数値を定める際のフローチャートである。
【図33】 色差信号(WR7〜0、WB7〜0)を色空間上の色相面の直交座標軸で表した図である。
【図34】 画質制御回路1103の回路構成を示す図である。
【図35】 画質モニタ機能により複写紙上にプリントアウトされる画像と、画質制御回路1103内の各信号との関係を示す図である。
【図36】 マスキング係数切換信号MA2−0の値と、色循環との関係を示す図である。
【図37】 カラーバランス切り換え信号CO2〜0の値と、色循環との関係を示す図である。
【図38】 彩度調整を行う際の色循環の様子を示す図である。
【図39】 濃度変換部1200の構成を示す図である。
【図40】 LOGテーブル1201〜1203におけるデータ変換を示す図である。
【図41】 UCR/BP処理部1300の構成を示す図である。
【図42】 (a)及び(b)は、UCR/BP処理を説明するための図である。
【図43】 UCRテーブルを示す図である。
【図44】 色補正部1400の構成を示す図である。
【図45】 Gフィルターの分光特性を示す図である。
【図46】 Mトナーの分光特性を示す図である。
【図47】 領域判別部1500の構成を示す図である。
【図48】 領域判別部1500の構成を示す図である。
【図49】 (a)は、太さの異なる5つのラインの明度分布を示し、(b)は、(a)の各ラインの1次微分結果を示す図であり、(c)は、(a)の各ラインの2次微分結果を示す図である。
【図50】 主走査方向の1次微分フィルタ1503を示す図である。
【図51】 副走査方向の1次微分フィルタ1504を示す図である。
【図52】 2次微分フィルタ1508を示す図である。
【図53】 R,G,B各のデータの位相がわずかながらずれたため、黒の画素であるにもかかわらず、彩度データW7〜0の値が大きくなる場合を示し、当該彩度データW7〜0をスムージングして得られるWS7〜0を重ねて表した図である。
【図54】 スムージングフィルタ1515を示す図である。
【図55】 WREFテーブルを示す図である。
【図56】 黒文字と誤判別されやすい領域のRGB画像データ及び彩度データW7〜0、色差信号WR及びWBを示す図である。
【図57】 白網点検出フィルタ1510及び黒網点検出フィルタ1511において、注目画素Xを取り囲む8方向の前後2画素の位置を示す図である。
【図58】 4段階の網点判定リファレンスレベル(CNTREF17〜10、CNTREF27〜20、CNTREF37〜30、CNTREF47〜40)と、−AMI0〜−AMI3との関係を示す図である。
【図59】 VMTFテーブルを示す図である。
【図60】 MTF補正部1600の構成を示す図である。
【図61】 MTF補正部1600の構成を示す図である。
【図62】 画素クロックに同期して送られてくるイメージデータの値に対応して生成される発光デューティ比100%のLD駆動信号と、制限パルスにより発光デューティ比を80%に制限されたLD駆動信号とを示す図である。
【図63】 ラプラシアンフィルタ1605を示す図である。
【図64】 DMTFテーブル1606を示す図である。
【図65】 入力される400dpiのデータを300dpi相当に平滑化するスムージングフィルタである。
【図66】 入力される400dpiのデータを200dpi相当に平滑化するスムージングフィルタである。
【図67】 入力される400dpiのデータを100dpi相当に平滑化するスムージングフィルタである。
【図68】 黒文字のエッジ強調時におけるBkデータとC,M,Yデータとの関係を示す図である。
【図69】 (a)は、Bkデータと、C,M,Yデータとの関係が図69の(a)の場合に複写紙上に再現される画像を表し、(b)は、上記関係が図69の(b)の場合に複写紙上に再現される画像を表す。
【図70】 (a)は、画像データのエッジ部分に斜線で示す補正データを付加するさいの図であり、(b)は、実線で補正前に用紙に付着するトナーの量を示すと共に、点線で補正後の用紙に付着するトナーの量とを示す。
【図71】 プリンタエッジ補正部1615の構成を示す図である。
【図72】 (a)は、エッジの立ち上がり部分の画像データにPD7〜0を加算する場合を示し、(b)は、エッジとエッジの谷間にある箇所の画像データにPD17〜10を加算する場合を示し、(c)は、エッジの立ち下がり部分の画像データにPD2720を加算する場合を示す。
【図73】 γ補正部1700の構成を示す図である。
【図74】 明暗調節モードにおけるγ補正テーブルを示す図である。
【図75】 コントラスト調整モードにおけるγ補正テーブルを示す図である。
【図76】 CO2〜0の値が1〜7の各々の場合におけるVIDEO47〜40とVIDEO77〜70との関係を示すグラフである。
【図77】 VIDEO47〜40に対して、下地除去データUDC7〜0を除去し、傾き補正データGDC7〜0分だけ傾きを補正する場合のグラフの変化を示す図である。
【符号の説明】
100…イメージリーダ部
600…AE処理部
1100…HVC変換部
1400…色補正部
1500…領域判別部
1600…MTF補正部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus such as a digital color copying machine.
[0002]
[Prior art]
Conventionally, RGB image data read by an image reader is color-converted into four color image data of cyan (C), magenta (M), yellow (Y), and black (BK), and based on the obtained image data. A full-color digital copying machine that develops the above four color toners on copy paper, detects black characters in an original image as MTF correction, and BK data uses a brightness edge component for the detected portion. Edge enhancement is performed, and C, M, and Y data are subjected to edge removal using a brightness edge component. As a result, the black character portion is reproduced with a single color of BK data, and the quality of the image reproduced on the copy paper is improved.
[0003]
[Problems to be solved by the invention]
However, in the case of an electrophotographic image forming apparatus, as shown in FIG. 70 (a), too much toner is attached to the rising edge of the edge with reference to the sheet passing direction of the copy paper, and the toner at the falling edge of the edge is removed. A phenomenon such as fading occurs.
[0004]
SUMMARY OF THE INVENTION An object of the present invention is to provide an image forming apparatus that eliminates excessive toner at the rising edge of the edge and the fading of toner at the falling edge of the edge, which are generated based on the sheet passing direction.
[0005]
[Means for Solving the Problems]
  An image forming apparatus according to the present invention includes a reading unit that reads RGB image data of a document, a photosensitive member, a developing unit that forms a toner image on the photosensitive member based on the read RGB image data, and a photosensitive member on the photosensitive member. A transfer unit that transfers the toner image formed on the sheet to a sheet conveyed in a predetermined direction; a conveyance unit that conveys the sheet to the transfer unit in a predetermined direction; and a direction in which the conveyance unit conveys the sheet to the transfer unit Based onThe density difference between a certain pixel and the previous pixel, the density difference between a certain pixel and the next pixel, and the density of a certain pixel are obtained, respectively. If the density difference of the pixel is small and the density difference from the subsequent pixel is large, if the pixel is a pixel corresponding to the rising edge of the edge, the density difference of a certain pixel is low and the density difference from the previous pixel is large. If the density difference from the subsequent pixel is small, the pixel is a pixel corresponding to the falling edge of the edge.Detection means to detect and the rising edge of the edge detected by the detection meansApplicableAt the falling edge of the pixel and edgeApplicableWith pixels,RespectivelyCorrection data adding means for adding predetermined correction data.
[0006]
In the image processing apparatus according to the present invention, the rising portion and the falling portion of the edge are detected by the detecting unit with reference to the direction in which the conveying unit conveys the sheet to the transfer unit. The correction data adding unit adds predetermined correction data to the pixel immediately before in the paper passing direction of the pixel at the rising portion of the edge detected by the detecting unit and to the next pixel at the falling portion.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the image processing apparatus of the present embodiment will be described in the following order with reference to the accompanying drawings.
(A) Configuration of image processing apparatus
(a-1) Copier body configuration
(a-2) Operation panel
(B) Explanation of each process in the read signal processing unit 20
(b-1) A / D converter
(b-2) Shading correction part
(b-2-1) Peak value hold circuit
(b-2-2) Reciprocal conversion processing
(b-3) Interline correction unit
(b-3-1) Interline correction processing
(b-3-2) Interpolation process
(b-4) AE processing section
(b-4-1) Histogram generator
(b-4-2) Document size detector
(b-4-3) AE processing unit
(b-5) Scaling / movement processor
(b-5-1) Reduction interpolation unit
(b-5-2) Scaling / movement processor
(b-5-2-1) Scaling processing
(b-5-2-2) Movement processing
(b-5-2-3) Image repeat
(b-5-3) Enlarged interpolation unit
(b-6) Image interface part
(b-7) HVC converter
(b-7-1) HVC conversion
(b-7-2) Image quality monitor function
(b-8) Density converter
(b-9) UCR / BP processor
(b-10) Color correction part
(b-11) Area discriminator
(b-11-1) Character (edge) judgment
(b-11-1-1) First order differential filter
(b-11-1-2) Second derivative filter
(b-11-1-3) Edge judgment
(b-11-2) Black judgment
(b-11-3) Extraction of black character misclassification region
(b-11-4) Discrimination of halftone dot area
(b-11-5) Other discrimination
(b-12) MTF correction unit
(b-12-1) MTF correction at full color standard mode setting
(b-12-1-1) Black edge
(b-12-1-1-1) BK printing process in progress
(b-12-1-1-2) C, M, Y printing process in progress
(b-12-1-2) Color edge
(b-12-1-3) Highlight flat part
(b-12-1-4) Non-edge part
(b-12-2) MTF correction at full color photo mode setting
(b-12-2-1) Black edge and color edge
(b-12-2-2) Highlight flat part
(b-12-2-3) Non-edge part
(b-12-3) MTF correction when the mono color standard mode is set
(b-12-3-1) Edge part
(b-12-3-2) Highlight flat part
(b-12-4) MTF correction when mono color photo mode is set
(b-12-4-1) Edge part
(b-12-4-2) Highlight flat part
(b-12-5) When monochrome standard mode is set
(b-12-5-1) Edge
(b-12-5-2) Highlight flat part
(b-12-6) MTF correction when monochrome photo mode is set
(b-12-7) Description of MTF correction unit 1600
(b-13) Gamma correction part
[0008]
(A) Configuration of image processing apparatus
(a-1) Copier body configuration
FIG. 1 is a schematic configuration diagram of a digital color copying machine used in this embodiment. The digital color copying machine is roughly divided into an image reader unit 100 that reads an original image and a copying unit 200 that reproduces image data read by the image reader unit 100.
[0009]
In the image reader unit 100, the scanner 10 includes an exposure lamp 12 that irradiates a document, a rod lens array 13 that collects reflected light from the document, and a contact-type CCD color that converts the collected light into an electrical signal. An image sensor 14 is provided. The CCD color image sensor 14 is composed of three lines of CCDs arranged at predetermined intervals in order to read digital image data of R (red), G (green), and B (blue) components. When reading a document image, the scanner 10 is driven by a motor 11 and moves in the direction of the arrow (sub-scanning direction). First, the scanner 10 reads data on the white plate 16 for shading correction, and then places it on the platen 15. Scan the placed document. The image on the original surface irradiated by the exposure lamp 12 is photoelectrically converted by the CCD image sensor 14. The multi-value electric signals of three colors R, G and B obtained by the CCD image sensor 14 are subjected to shading correction and inter-line correction in the read signal processing unit 20, Y (yellow), M (magenta), C (Cyan) and BK (Black) are converted into 8-bit gradation data, subjected to MTF correction, γ correction, and the like, and then stored in the synchronization buffer memory 30.
[0010]
Next, in the copying unit 200, the printer head unit 31 performs D / A conversion on the input gradation data to generate a semiconductor laser drive signal, and causes the semiconductor laser to emit light by this drive signal. This semiconductor laser is always in a weak light emission state in order to improve the rising response at the time of light emission. The weak light emitted from the semiconductor laser at this time is called bias light.
[0011]
The laser beam generated from the printer head unit 31 corresponding to the gradation data exposes the photosensitive drum 41 that is rotationally driven via the reflecting mirror 37. The photosensitive drum 41 is irradiated with an eraser lamp 42 before being exposed for each copy, and is uniformly charged by a charging charger 43. When exposed in this state, an electrostatic latent image of the document is formed on the photosensitive drum 41. Only one of the C (cyan), M (magenta), Y (yellow), and BK (black) toner developing devices 45a to 45d is selected to develop the electrostatic latent image on the photosensitive drum 41. To do. The developed toner image is transferred onto a copy paper wound around a transfer drum 51 by a transfer charger 46. The fur brush 47 collects the toner transferred to the outside of the transfer drum sheet.
[0012]
The printing process is repeated for four colors of Y (yellow), M (magenta), C (cyan), and BK (black). At this time, the scanner 10 repeats the scanning operation in synchronization with the operations of the photosensitive drum 41 and the transfer drum 51. Thereafter, the copy paper is separated from the transfer drum 51 by operating the separation claw 47, and after the toner image is fixed through the fixing device 48, the copy paper is discharged onto the paper discharge tray 49. Note that the copy paper is fed from the paper cassette 50 and its leading end is chucked by the chucking mechanism 52 on the transfer drum 51 so that no positional deviation occurs during transfer.
[0013]
(a-2) Operation panel
FIG. 2 is a front view of the operation panel 25 provided in the copying machine of the present embodiment. The operation panel 25 includes a display unit 71. When the image quality monitor selection key 77 is pressed by the user, the display unit 71 displays four types of image forming conditions such as masking coefficient, shapeness, γ curve, and color balance in addition to the normal display such as the number of copies and the copy magnification. indicate. In this case, as will be described later, the copier prints out eight images formed on the basis of the image forming conditions displayed on the display unit 71 on one copy sheet. The four types of image forming conditions can be changed by operating the image quality selection keys 74a to 74d. The user selects a desired image number from the eight images actually printed out by using the numeric keypad 72 and then presses the print key 73 to print out the desired image forming conditions (ie, image quality). Can be obtained. The key 75 is a key for entering the serviceman mode. When this mode is selected, the LED 75a is turned on. The serviceman mode uses a coefficient a for HVC conversion used in the HVC conversion unit 1100 as will be described later.1, A2, A3It is a mode to set. The negative / positive inversion key 76 is used to invert the original reproduced on the copy paper.
[0014]
(B) Explanation of each process in the read signal processing unit 20
Hereinafter, each process executed by the read signal processing unit 20 included in the digital color copying machine will be outlined. After this general description, each process will be described in detail.
[0015]
3 and 4 are processing block diagrams of the read signal processing unit 20. Analog image data OSR 1 and 2, OSG 1 and 2, OSB 1 and 2 read by the CCD image sensor 14 are input to the A / D converter 300. The A / D converter 300 converts the input signal into 8-bit digital image data R17-10, G17-10, B17-10And output to the shading correction unit 400.
[0016]
The shading correction unit 400 corrects variations in read data due to uneven illumination of the original by the exposure lamp 12. First, data for a plurality of lines in the main scanning direction of the uniform white plate 16 is read. With respect to the read data of a plurality of lines, data of pixels arranged on the same line in the sub-scanning direction is compared. Here, the brightest (white) data for each pixel is used as shading correction data. As a result, defective data generated due to contamination of the white plate 16 such as ink splattering is deleted, thereby enabling highly accurate shading correction. Further, the shading correction unit 400 according to the present embodiment uses multi-bit output data rather than input data in the reciprocal conversion processing executed when calculating the shading correction data. Thereby, more accurate shading correction is realized. Each component R of RGB image data subjected to shading correction27-20, G27-20, B27-20Is input to the next interline correction unit 500.
[0017]
The CCD image sensor 14 is provided with three lines of CCDs at predetermined intervals in order to read RGB image data (see FIG. 8). Hereinafter, the components of the RGB image data are simply referred to as R data, G data, and B data.
The inter-line correction unit 500 corrects a deviation from the B data caused by the predetermined interval by temporarily storing R data and G data in a memory and delaying the data by a predetermined time. In the copying machine of this embodiment, attention is paid to the fact that the maximum size of copy paper for forming an image is specified as A3, and the number of effective dots in one line is controlled in accordance with the copy magnification. This suppresses an increase in memory capacity necessary for correcting the deviation. In addition, inter-line data interpolation processing is executed to correct finer deviations in the read data. The corrected data is input to the AE processing unit 600 and also to the scaling / movement processing unit 800.
[0018]
The AE processing unit 600 performs document size detection, ACS (abbreviation of Auto Color Selection), and AE processing. Here, the detection of the document size is to detect the existence range of the document placed on the platen 15 in units of one line in the main scanning direction (see FIG. 17). ACS is to determine whether a document is full color or monochrome based on the ratio of monochrome pixels in the document. The AE process is a process for determining the background level of the original so that the brightest color in the original is white (gradation level 255). When this is applied to a full-color original, it is reproduced on the copy paper. The image looks faded overall. Therefore, in the copying machine according to the present embodiment, the background level of the original is determined based on the ACS result, and the AE process for the full-color original is prohibited.
[0019]
In the scaling / movement processing unit 800, the input R37-30Data, G37-30Data, B37-30Unnecessary area data deletion, reduction interpolation processing, reduction, same magnification, enlargement output, image repeat, and enlargement interpolation processing are executed on the data. The unnecessary area includes two areas, ie, an area where no original exists on the original platen and an area generated by reducing the original image, and the process is executed based on the detection result of the original size in the AE processing unit 600. Is done. For example, in order to reduce the original to 50%, original image data is read using a 200 dpi scanner instead of a 400 dpi scanner, and the image data obtained by reading is printed at a density of 400 dpi. Should. However, in actuality, image data obtained by reading with a 400 dpi scanner is thinned out in half, and printing processing is performed at a density of 400 dpi. In this case, thin line data is erased, and the quality of the reproduced image is degraded. Therefore, interpolation processing is executed with a size corresponding to the reduction ratio. This prevents a reduction in the quality of the reproduced image. Further, when enlarging a document, the image is severely deteriorated, for example, by simply padding the data, the rattling of the edge is noticeable. Therefore, when enlarging the document, smoothing processing is performed on the image data in accordance with the enlargement magnification. This prevents image degradation during enlargement. When the image quality monitor selection key 77 on the operation panel is pressed by the user, a part of the original image is image-repeated 8 times and output.
[0020]
The image interface unit 1000 has R, G, and B data (R-VIDEO) input from the external device 900.7-0, G-VIDEO7-0, B-VIDEO7-0) And internal data (R67-60, G67-60, B67-60) And inset synthesis. Also, a timing signal for transmitting image data to the RGB interface or the printer interface is generated.
[0021]
In the HVC conversion unit 1100 shown in FIG. 4, RGB data (R) obtained by actually reading a color patch by the CCD color image sensor 14.57-50, G57-50, B57-50) And the color patch RGB data stored in the ROM, the brightness signal (V7-0), Color difference signal (WR8-0, WB7-0), And saturation data (W7-0) And hue signal (H7-0) Is generated. This corrects the variation in reading characteristics of each CCD element.
[0022]
The HVC conversion unit 1100 includes an image quality control circuit 1103. The image quality control circuit 1103 responds to the pressing of the image quality monitor selection key 77 by the user, and different image forming conditions (masking coefficient, shapeness, Set the γ curve and color balance.
[0023]
The density correction unit 1200 has RGB data (R) that changes in proportion to the amount of light reflected from the document by the exposure lamp.67-60, G67-60, B67-60) For data that changes in proportion to the concentration (DR7-0, DG7-0, DB7-0). Further, the negative / positive inversion unit 1250 receives the -NEGA signal (negative / positive inversion signal) which is an editing area signal, and performs DR when it is “L”.7-0, DG7-0, DB7-0, DV7-0Is inverted (negative output), and when it is “H”, it is passed as it is.
[0024]
The UCR / BP processing unit 1300 performs DR7-0, DG7-0, DB7-0The minimum value (MIN (DR, DG, DB)) of the data is calculated, this is assumed to be black, a certain ratio is treated as BK data, black toner is added by the printer (BP processing), and the above addition Under color removal (UCR processing) is performed to reduce the amount of C, M, and Y color materials according to the BK data.
[0025]
The color correction unit 1400 executes a predetermined masking calculation process to match the color reproduction of the original and the copy. This is because the spectral characteristics of the color separation filter arranged for each read pixel of the CCD image sensor 14 has an unnecessary transmission region indicated by hatching in FIG. 45, and C, M, Y color toners used on the printer side. This is because it has an unnecessary absorption component indicated by hatching in FIG.
[0026]
The area discriminating unit 1500 executes black character portion discrimination and halftone dot area discrimination processing in the original image. The black character discrimination is roughly divided into detection of a character (edge) portion, detection of black, and detection of a region that is easily detected as black by mistake. The character (edge) portion is detected using a differential filter. Further, black is detected based on the saturation value. In the case of the copying machine according to the present embodiment, smoothing processing is performed on chroma data for erroneous determination that occurs when the R, G, and B data are slightly shifted due to vibration when the CCD color image sensor 14 reads image data. To prevent it. Further, in order to prevent a character having low brightness and low saturation from being erroneously determined to be a black character, a solid portion is determined. Even if it is determined that the character is a black character, the determination that the character is a black character is canceled for the portion determined to be a solid portion. This realizes accurate black character discrimination.
[0027]
The MTF correction unit 1600 performs the most appropriate edge enhancement processing and smoothing processing on the pixel data based on the document pixel type recognized by the region determination result by the region determination unit 1500 and the printing status. In particular, when copying in the full color standard mode, edge enhancement is not performed on the C, M, and Y data at the black edge portion, and the minimum value of the C, M, and Y data is used as the image data. , Y data fine protrusion lines are erased (see FIG. 68A). Also, when copying in the mono-color standard mode or the photo mode, edge enhancement is not performed during the BK printing process. This prevents the edge portion of the color character from being blackened.
[0028]
In addition, the laser light emission duty ratio in units of one cycle of the pixel clock is changed according to the type of pixel recognized by the area determination unit 1500. Here, the light emission duty ratio refers to a ratio of a laser light emission period in a case where a period in which laser light emission is not performed during one cycle of the pixel clock is provided. In the case of halftone pixels, the light emission duty ratio is set to 100% in order to prevent the occurrence of moire. In the case of pixels other than halftone dots, the light emission duty ratio is set to 80%, for example, in order to make the interline noise inconspicuous.
[0029]
Further, a predetermined value is added to the pixel data of the rising edge and the falling edge of the edge, and the toner is excessively applied and rising at the rising edge of the edge that occurs when the toner image formed on the photosensitive drum 41 is transferred onto the copy paper. Corrects the faintness of the toner at the falling part.
[0030]
The γ correction unit 1700 displays image data (VIDEO) after MTF correction.37-30On the other hand, the γ curve is changed according to the user's preference, and data of desired image quality is output. The user operates the image quality selection key 74c provided on the operation panel 25 to operate the γ curve switching signal GA.2-0Can be changed.
[0031]
(b-1) A / D converter
The A / D converter 300 converts the input signal into 8-bit digital image data R17-10, G17-10, B17-10And output to the shading correction unit 400.
FIG. 5 is a configuration diagram of the A / D conversion unit 300. The CCD image sensor 14 operates in accordance with a predetermined CCD driving signal output from the clock signal generator 301, and R, G, B analog image data OSR1 and OSG1 proportional to the amount of light reflected from the original image by the exposure lamp 12 and OSG1. And 2, OSB1 and 2 are output. Here, OSR1, OSG1, and OSB1 are even-dot analog image data, and OSR2, OSG2, and OSB2 are odd-dot analog image data. The R, G, and B image data are input to the R / A / D conversion unit 307, the G / A / D conversion unit 308, and the B / A / D conversion unit 309, respectively. The configurations and processing contents of the A / D conversion units 307 to 309 are the same. Here, the A / D conversion process will be described using the B-A / D conversion unit 309. In the A / D conversion unit 309, processing units 310 and 311 that perform optimization processing of image data of odd dots and even dots before A / D conversion are provided. The configurations and processing contents of the optimization processing units 310 and 311 are the same. Here, the optimization process will be described using the even-numbered dot data optimization processing unit 311. The even-dot analog image data OSB2 input to the even-dot data optimization processing unit 311 is removed of reset noise by the sampling and holding circuit 302, amplified by the VCA circuit 303, and predetermined DC by the clamp circuit 304. Adjusted to level.
[0032]
Here, the level of the above processing is set in accordance with control voltages such as VG2B and VC2B from the D / A converter 305. The SCLK signal is a sampling pulse for the sampling and holding circuit. -The BKHD signal ("-" attached to the front of the signal means an inverted signal of the signal BKHD. The same applies to all the signals below.) This is a signal for once clamping the DC level to 0 V in order to amplify the signal by the VCA circuit 303. The −CLAMP signal is a clamp pulse for clamping the DC level to the control voltage of the D / C converter 305 by the feedback clamp circuit 304.
[0033]
The odd-dot and even-dot image data subjected to the optimization processing by the optimization processing units 310 and 311 are combined into continuous image data by switching according to the OSSEL signal. The synthesized image data is input to the A / D converter 306 via the buffer 312 and converted into 8-bit digital image data. The ADCK signal is a sampling pulse of the A / D converter.
[0034]
(b-2) Shading correction unit
The shading correction unit 400 corrects variations in read data due to uneven illumination of the original by the exposure lamp 12. First, data for a plurality of lines in the main scanning direction of the uniform white plate 16 is read. With respect to the read data of a plurality of lines, data of pixels arranged on the same line in the sub-scanning direction is compared. Here, the brightest (white) data for each pixel is used as shading correction data. As a result, defective data generated due to contamination of the white plate 16 such as ink splattering is deleted, thereby enabling highly accurate shading correction. Further, the shading correction unit 400 uses multi-bit output data rather than input data in the reciprocal conversion process executed when calculating the shading correction data. Thereby, more accurate shading correction is realized.
[0035]
FIG. 6 is a configuration diagram of the shading correction unit 400. Each 8-bit R output from the A / D converter 30017-10, G17-10, B17-10Are input to the R-correction unit 401, the G-correction unit 402, and the B-correction unit 403, respectively. R like this17-10, G17-10, B17-10By performing shading correction independently for each of the image data, it is possible to perform appropriate shading correction on the read data of each of the three lines of CCDs provided for reading the RGB digital image data. The configuration and processing contents of the correction units 401 to 403 are the same. Hereinafter, the shading correction of the present embodiment will be described using the B-correction unit 403.
[0036]
(b-2-1) Peak value hold circuit
Data B obtained by the CCD image sensor 14 reading a predetermined first line of the white plate 16 in the main scanning direction.17-10Is input, the peak value hold circuit 404 stores the data in the shading memory 405 as it is. The peak value hold circuit 404 sequentially reads the data after the first line stored in the shading memory 405 in synchronization with the input of the image data of the second line of the white plate 16, and compares the data value for each corresponding pixel. . Then, the value of brighter (white) data is held, and the data is stored in the shading memory 405. The same processing is performed on the data of the third and fourth lines. As described above, the brightest (white) data value of each pixel among the data of the plurality of lines of the white plate 16 is stored as the shading correction data, so that defective data due to ink or dust adhering to the white plate 16 is stored. Remove the effects of.
[0037]
The -SHWR signal input to the peak value hold circuit 404 maintains "H" except when reading shading correction data. -When the value of the SHWR signal is "H", data input to the peak value hold circuit 404 is prohibited. As a result, the data stored in the shading memory 405 retains its value. On the other hand, when shading correction data is input to the peak value hold circuit 404, the -SHWR signal is switched to "L". -During the period when the value of the SHWR signal is "L", the peak value hold circuit 404 compares the read shading correction data with the corresponding pixel data stored in the shading memory 405 to obtain a larger value. Data is output to the shading memory 405. The shading memory 405 stores data of value 0 as an initial value. Therefore, as described above, the first line data is stored in the shading memory as it is. When data from the second line onward is input, the corresponding pixel data is read from the shading memory 405 and the comparison process is executed. The -SHWR signal returns to "H" when reading of the image data of the document image is started by the CCD image sensor 14, prohibits data input, and holds the data stored in the shading memory 405.
[0038]
(b-2-2) Reciprocal conversion process
The shading correction data stored in the shading memory 405 is input to the next inverse conversion table 406. The reciprocal conversion table 406 performs the following arithmetic processing on the 8-bit input data Din and outputs 12-bit reciprocal conversion data Dout.
[Expression 1]
Dout = 255 × Q / Din
(However, if Din ≧ 4, Dout = 1.)
Here, Dout is 12-bit data because the difference is slight although the value of Din is different.outThis is for avoiding the same value from being the same value and maintaining the accuracy of the shading correction at a certain level.
[0039]
The graph of FIG. 7 shows the relationship between Din and Dout. When the value of Din is extremely low, for example, when Din = 255 × Q / 4 or less, the value of Dout increases rapidly. In order to prevent an error in shading correction caused by this, the reciprocal conversion table 406 forces the Dout value to be 1 (400 in hexadecimal) when the value of Dout is 4 (FFF in hexadecimal) or more. ) To disable shading correction.
[0040]
Shading correction is performed on document image data B17-10The multiplier 407 multiplies the reciprocal data obtained by the above “Equation 1”. This calculation is shown in the following “Equation 2”.
[Expression 2]
B27-20= B17-10× Dout
= B17-10× 255 × Q / Din
The above calculation of “Equation 2” is B17-10Is normalized to a value of 255 × Q. The coefficient Q is a value determined for each of R, G, and B according to the spectral distribution of the white plate 16 for shading correction in order to correct the white balance. This is because the shading correction plate 16 disposed in the copying machine is not completely white (R = 255, G = 255, B = 255), but is biased to any color of R, G, B. In this case, for example, a case where the color is slightly green (R = 200, G = 242, B = 211) is considered. In the above case, the value of each Q of R, G, B is QR= 200/255, QG= 242/255, QB= 211/255. Also, the value of the coefficient 255 shown in the above “Equation 2” is a coefficient X that determines the background level. By changing this value to, for example, 240, the background level can be changed. In the copier of the present embodiment, the AE processing unit 600 shown in FIG. 3 executes processing for changing the value of the coefficient 255 according to the ratio of monochrome pixels to the entire document, that is, AE processing.
[0041]
(b-3) Interline correction unit
As shown in FIG. 8, the CCD image sensor 14 is provided with three lines of CCDs at intervals of 80 μm in order to read RGB image data. In the case of the copying machine of the present embodiment, the width of one pixel is 10 μm, and the three lines of CCD are provided at intervals of eight lines. For this reason, the G component (G data) is read 8 lines and the R component (R data) is read 16 lines ahead of the B component (B data) of the RGB image data. Actually, the number of preceding lines varies depending on the moving speed of the scanner 10 in the sub-scanning direction. That is, the number obtained by multiplying the copying magnification Y in the sub-scanning direction (8 × Y lines, 16 × Y lines) is the actual number of preceding lines. The interline correction unit 500 temporarily stores R data and G data in a memory, delays them at a predetermined timing, and corrects a deviation from B data. When the copy magnification is doubled, the data shift between the lines is doubled, and the memory capacity required to correct the shift is also doubled. The interline correction unit 500 pays attention to the fact that the maximum size of copy paper for forming an image is A3, and controls the number of effective dots in one line according to the copy magnification. Specifically, when the copy magnification is doubled, the range read by one line is set to a half range. This suppresses an increase in memory capacity necessary for correcting the deviation. Further, by executing inter-line data interpolation processing, a finer deviation of the read data is corrected.
[0042]
(b-3-1) Interline correction processing
FIG. 9 is a configuration diagram of the interline correction processing unit 501 and the interpolation processing unit 502. Image data R input from the shading correction unit 40027-20And G27-20Are input to the field memories 503 and 505. The field memories 503 to 505 have a capacity of 256K × 8 bits. The R, G, B image data is 8-bit digital data. When the maximum size of the document read by the CCD image sensor 14 is A3 and the resolution is 400 dpi, the data amount for one line in the main scanning direction is about 5 kbits. Accordingly, 51 lines of image data can be stored in one field memory. When the read original is enlarged (Y times) in the sub-scanning direction and printed out, the image data of each line of the original is repeatedly read Y times, and the data amount in the sub-scanning direction is increased by Y times. Here, as described above, the R data precedes the B data by 16 × Y lines, and the G data precedes the B data by 8 × Y lines. In order to correct this shift, the field memories 503 to 505 are required to be able to store data for 8 × Y lines. However, as described above, the field memories 503 to 505 can store only 51 lines of data. In other words, the copy magnification can be increased only up to Y = 51/8 = 6.375 times as it is. Therefore, the inter-line correction processing unit 501 pays attention to the fact that the maximum size of copy paper that can be printed is specified in advance (in the case of many copying machines, A3), and the magnification X in the main scanning direction (however, X The range in which the image is read by the image scanner is limited in proportion to the inverse of (≧ 1). As a result, the data amount for one line in the main scanning direction is about 5 k / X bits, and 256 k / about 5 k × (1 / X) ≈51 × X lines of data can be stored in the field memory. Become. As described above, the interline correction unit 500 increases the maximum copy magnification value without increasing the memory.
[0043]
FIG. 10 shows the -FIFOEN signal, -FRES1 signal, -FRES2 signal, -FRES3 signal input to the interline correction processing unit 501 and R, G, B data input / output to the interline correction processing unit 501. It is a time chart which shows.
[0044]
Here, the -TG signal is a trigger signal output in synchronization with the reading cycle t of one line in the main scanning direction of the CCD image sensor 14.
[0045]
The -FIFOEN signal is a signal that becomes “L” within the reading range determined by the copy magnification in the main scanning direction. The −FRES1 signal is a write start signal input to the field memories 503 and 505, and rises at a cycle T = {INT (8 × Y) +1} × t.
[0046]
The −FRES2 signal is a read start signal for the field memories 503 and 505, and is a signal having a period T synchronized with the −FRES1 signal. The field memories 503 and 505 start writing data in synchronization with the rising edge of the -FRES1 signal. Then, after the period T elapses, the data is read in synchronization with the rise of the -FRES2 signal. The -FRES2 signal serves as a write start signal for the field memory 504. The field memory 504 writes data output from the field memory 503 in synchronization with the rising edge of the −FRES2 signal.
[0047]
The -FRES3 signal is a signal having a period T that is advanced by the reading period t for one line with respect to the -FRES1 and -FRES2 signals. Here, the reason why the -FRES3 signal is advanced by the reading period t for one line is to execute a process of matching the interpolation processing in the next interpolation processing unit 502 with the green component G data of the RGB image data.
[0048]
(b-3-2) Interpolation process
The rising edge of the FRES1-3 signal, that is, the period T is converted to an integer by the INT function and synchronized with the -TG signal. For this reason, the output of data from the field memories 503 to 505 can be adjusted only in units of the period t (that is, the copying magnification is 1/8). In the interpolation processing unit 502, when the copy magnification has a decimal part, the deviation of data for {8 × Y−INT (8 × Y)} lines that could not be corrected by the interline correction processing unit 501 is detected. compensate.
[0049]
In the inter-line correction processing unit 501, the R data is output with a delay of 2T-t. The G data is output with a delay of T. Actually, however, the R, G, and B image data are shifted from each other by 8 × Y lines. Because of the fractional part generated by this 8 × Y, the R data is a1= {8 * Y-INT (8 * Y)} precedes. On the other hand, B data is b1= [1- {8 * Y-INT (8 * Y)}] precedes. FIG. 11 shows R output from the field memory 504.27-20Data and G output from the field memory 50527-20Data and B27-20A data shift with respect to the reading position with respect to the data will be described.
[0050]
As shown in FIG. 9, the R data is branched into two signals. Data flowing through one branch is delayed by one line by the line memory 507. Here, the mth line data is Rm, The multiplier 506 has RmData is entered. The multiplier 508 has Rm + 1Data is input. The multiplier 506 executes the following “Equation 3” operation.
[Equation 3]
Rx × Rm
Here, Rx is a coefficient obtained by the following “Equation 4”.
[Expression 4]
Figure 0003729131
Further, the calculator 508 executes the calculation shown in the following “Equation 5”.
[Equation 5]
(1-Rx) × Rm + 1
Here, Rx is a coefficient obtained by the above “Equation 4”.
[0051]
Data output from the calculators 506 and 508 are added by an adder 509. By executing the above calculation, the interpolation processing for the decimal part of the copy magnification for the R data is achieved.
[0052]
Similarly, as shown in FIG. 9, the B data is also branched into two signals. Data flowing through one branch is delayed by one line by the line memory 511. Here, the data of the m-th line is BmIs represented by B in the computing unit 510.mData is entered. The calculator 512 has Bm + 1Data is input. The computing unit 510 executes the following “Equation 6”.
[Formula 6]
(1-Bx) × Bm
Here, Bx is a coefficient obtained by the following “Equation 7”.
[Expression 7]
Figure 0003729131
In addition, the arithmetic unit 512 executes the operation shown in the following “Equation 8”.
[Equation 8]
Bx × Bm + 1
Here, Bx is a coefficient obtained by the above “Equation 7”.
[0053]
The data output by the calculator 510 and the calculator 512 are added by the adder 513. By executing the above calculation, the interpolation processing for the decimal part of the copy magnification for the B data is achieved. As described above, by executing the interpolation processing of the R and B data using the G data as a reference, it becomes possible to set the copy magnification in units of 1/2024 times. R subjected to the interpolation processing by the interpolation processing unit 50237-30Data, G37-30Data, B37-30The data is output to the scaling / movement processing unit 800 and also input to the AE processing unit 600.
[0054]
(b-4) AE processing section
The AE processing unit 600 performs document size detection, ACS (abbreviation of Auto Color Selection), and AE processing. The detection of the document size refers to detecting the existence range of the document placed on the platen 15 in units of one line in the main scanning direction. In the copying machine of the present embodiment, the border line with the document is detected by setting the document cover to a color having a predetermined uniform density. ACS means that the ratio of monochrome pixels in the document is determined from the detected document size, and it is determined from the determined ratio whether the document is a full-color document or a monochrome document. The AE process is a process for correcting the background level of the original so that the brightest color in the original is reproduced as white (tone level 255) on the copy paper. However, when this AE process is performed on a full-color original, the image reproduced on the copy paper is faded as a whole. Therefore, the AE processing unit 600 executes AE processing based on the result of the determination by the ACS.
[0055]
FIG. 12 is a block diagram illustrating a configuration of the AE processing unit 600. A histogram generation unit 602 obtains a histogram of monochrome 256 gradation data in the document image. The document size detection unit 650 detects the document size. The line data monitor unit 700 stores and monitors data for one line of RGB image data, and detects an abnormal reading of the signal due to troubles such as the exposure lamp 12 and the CCD sensor 14.
[0056]
(b-4-1) Histogram generator
FIG. 13 is a diagram illustrating a configuration of the histogram generation unit 602. The histogram generation unit 602 receives the input R37-30, G37-30, B37-30Among the pixel data obtained by appropriately thinning out all of the pixel data, a histogram is obtained for the gradation data of the monochrome pixel. The histogram obtained by the histogram generation unit 602 is used when obtaining the ratio of monochrome pixels in the document in the AE process described later.
[0057]
Thinning out pixel data in the main scanning direction is performed in the main scanning 1/16 dot thinning circuits 603 to 605. The main scanning 1/16 dot thinning circuits 603 to 605 output data in the main scanning direction to the ADR terminals of the histogram memories 606 to 608 at a rate of once per 16 dots. As a result, the data amount in the main scanning direction is reduced to 1/16.
[0058]
Further, thinning of data in the sub-scanning direction is performed by a V-direction counter 616, a comparator 617, and a NAND gate 619. The comparator 617 is configured such that the count output from the V direction counter 616 is output from the histogram memory control unit 618 as Vdot.7-0When it is equal to, a "L" signal is output. The V direction counter 616 resets the count value when an “L” signal is output from the comparator 617 to the −CLR terminal. The NAND gate 619 receives the “L” signal from the histogram memories 606 to 608 when the main scanning direction synchronization signal -HD, the sub-scanning direction synchronization signal -VD, and the “L” signal are input from the comparator 617. To -CS terminal. As a result, the data amount in the sub-scanning direction is 1 / (Vdot2-0).
[0059]
R37-30, G37-30, B37-30The determination as to whether each of the data is monochrome pixel data is performed by the minimum value detection unit 612, the maximum value detection unit 613, the calculator 614, and the comparator 615. This determination is made by utilizing the fact that there is almost no difference between R, G, and B image data in monochrome pixels. The minimum value detection unit 612 outputs data having the smallest value among the R, G, and B data input at the same time. The maximum value detection unit 613 outputs data having the largest value among the R, G, and B data input simultaneously. The computing unit 614 calculates the difference between the two and outputs it. The comparator 615 uses the reference value SREF output from the histogram memory control unit 618 as the difference value obtained by the calculator 614.17-10If it is smaller than this, it is determined that the pixel is a monochrome pixel, and an “L” signal is output to the −WE terminals of the histogram memories 606 to 608. Where SREF17-10If the value of is set to a relatively large value, even if the background of the original is a color, a histogram can be formed and the color of the background can be intentionally made a high key.
[0060]
The histogram memories 606 to 608 count the frequency of the gradation data of the pixel data determined to be monochrome pixels among the pixel data obtained by appropriately thinning out. For example, when an “L” signal is input to both the −CS terminal and the −WE terminal after initialization by the CPU 1, the histogram memory 606 displays the frequency value of the pixel data value input to the ADR terminal as the Dout terminal. More RAE15-10Output as. The adder 609 adds 1 to the input frequency value and then inputs this value to the Din terminal of the histogram memory 606. Similar operations are performed in the histogram memories 607 and 608.
[0061]
As described above, the histogram generation unit 602 generates a histogram for monochrome pixels included in the document image. FIG. 14 is a histogram generated for a certain document. Here, the gradation level m = 0 is black, and m = 255 is white. Data in the range A in the figure is excluded when determining the proportion of monochrome pixels in the document, as will be described later. This is because the document pressing plate of the copying machine of this embodiment is a specular pressure plate, and the range other than the document is read as “black”.
[0062]
(b-4-2) Document size detector
The document size detection unit 650 detects the existing range of the document placed on the platen 15 by the preliminary scan performed by the CCD image sensor 14 before the copying operation is performed in units of one line in the main scanning direction (see FIG. 16). . In the copying machine of the present embodiment, the border line with the document is detected by setting the document cover to a color having a predetermined uniform density. As shown in FIG. 16, the preliminary scan is performed on an area (A3) corresponding to the maximum document size. The size of the document detected by the document size detection unit 650 is used when obtaining the proportion of monochrome pixels in the document in the AE process described later.
[0063]
FIG. 15 is a diagram illustrating a configuration of the document size detection unit 650. In the document size detection unit 650, the input R97-90, G97-90, B97-90Document size data SZD based on the image data of7-0Is output to the CPU 1. The NAND gate 654 receives the input R97-90, G97-90, B97-90Is determined to be pixel data of the original, an “H” SZON signal is output. The NAND gate 654 receives the -HD signal that switches from “H” to “L” within the readable range of the document and the comparison result signal output from the comparison unit 653. The comparison unit 653 receives the input R97-90, G97-90, B97-90Shade data S obtained by mixing 5: 6: 57-0Is the document background level SREF7-0An “L” comparison result signal is output in the following cases. Above shade data S7 ~ 0Is entered R97-90, G97-90, B97-90Is multiplied by 1 × 5, 6 × 5, and 5 times by a multiplier 651 and then multiplied by 1/16 times the sum obtained by an arithmetic unit 652.
[0064]
The shift register circuit 655 to which the SZON signal is input extracts the value of the SZON signal every 4 dots and outputs it to the AND gate 656. The AND gate 656 outputs a “H” signal only when the SZON signals all become “H”. This means that the document area is continuously detected by 16 dots (about 1 mm) or more. As a result, erroneous determination of the document size can be prevented. In response to the value of the signal output from the AND gate 656 switching from “L” to “H”, the D-FF 659 outputs the “H” VCLKEN signal as shown in the time chart of FIG. In response to the end of the document area and the value of the SZON signal being switched to “L”, the D-FF 659 switches the value of the VCLKEN signal to “L” as shown in the time chart of FIG.
[0065]
The VCLK signal of the document background area is enabled by the VCLKEN signal, and the LASTCK signal is output from the AND gate 658. The LASTCK signal is disabled in response to the fall of the VCLKEN signal on the main scanning rear end side of the original area, and the main scanning address HA at the rear end portion of the original area.C ~ 0Is latched to D-FF660. The LASTCK signal generates a FIRSTCK signal in the flip-flop 664 and changes the output of the D-FF 661 cleared by the -TG signal at the head of one line to "H". That is, the FIRSTCK signal rises at the rise of the first LASTCK signal of one line. The main scanning address latched in the D-FF 661 by this FIRSTCK signal becomes the document area start address.
[0066]
The addresses latched in the D-FF 660 and D-FF 661 are then latched again in the D-FF 662 and D-FF 663 by the “H” signal output from the AND gate 665 when the −TG signal rises on the line. Size address signal (LASTSZC ~ 0And FIRSTSZC ~ 0). In order to read these signals, the CPU 1 once disables the -TG signal to be latched again with the -TGSTP signal, and selects and reads the necessary address signals with SZSEL1 and 0.
[0067]
The selector 667 selects the lower 8 bits of the document trailing edge address if the input SZSEL0 and 1 are “0”, and if the SZSEL0 is “0” and SZSEL1 is “1”, the upper 5 bits of the document trailing edge address. Select a bit and use it for document size data SZD7-0To the CPU 1. Further, if SZSEL0 is "1" and SZSEL1 is "0", the selector 667 selects the lower 8 bits of the document leading address, and if SZSEL0 and 1 are "1", selects the upper 5 bits of the document leading address. Document size data SZD7-0To the CPU 1. The CPU 1 also recognizes the document area in the sub-scanning direction by repeatedly executing the data reading operation.
[0068]
Here, the document size data SZD is set such that the inside of the document is 0 and the outside is 1 on the bitmap memory corresponding to the positions of the document in the main scanning direction and the sub-scanning direction from the first and last addresses of the main scanning detected sequentially.7-0Is written (see FIG. 17). The bitmap memory is provided in the CPU 1. Next, it is determined whether or not the change points from 1 → 0 and 0 → 1 in the bitmap memory exist as continuous lines in the sub-scanning direction. If discontinuity is detected at this time, the change point of the main scanning address 1 → 0, 0 → 1 is corrected from the change information of the preceding and following lines. This is performed for the purpose of correcting address information that has been detected in black at a portion where the original floats from the original glass surface in the binding portion of the book original or has been erroneously detected due to contamination on the edge of the original. In this way, after judging and correcting all the changing points from 1 to 0 or 0 to 1 on the bitmap memory, the CPU 1 sequentially executes the main scanning side based on the bitmap information in synchronization with the start of the copy operation. Determine the document effective area.
[0069]
Image size data SZD of the document effective area determined by CPU 17-0Is sent to a scaling / movement control circuit 801 (see FIG. 21) of the scaling / movement processing unit 800 described later. The scaling / movement control circuit 801 generates a DCLR1 signal of “H” in the area other than the original area and “L” in the original area, based on the sent original effective area data, and is unnecessary for image processing. Masking areas. Accordingly, as shown in FIG. 17, even if the document is placed obliquely, the outside of the area can be masked in accordance with the document arrangement. Note that the -TGSTP signal and the -SZCS signal are sent by the CPU 1 to the SZD.7-0It is turned on when it is difficult to read the signal. The -OE2 signal is a sword signal of the CPU1.
[0070]
(b-4-3) AE processing
Based on the histogram relating to the monochrome pixels generated by the histogram generation unit 602 and the size of the original paper detected by the original size detection unit 650, the CPU 1 determines the background level relationship described above in the description of the shading correction unit 400. A numerical value X is determined. 18 to 20 are flowcharts of the AE process executed by the CPU 1.
[0071]
After the preliminary scan is completed (step S600), the total number of dots outside the document area is obtained from the document size obtained by the document size detection unit 650 (step S601). Next, the total number of dots Tn that can be stored in the histogram memories 606 to 608 is obtained by multiplying the total number of dots of the maximum document size (A3) by the thinning rate in the main scanning direction and the sub-scanning direction. The number of dots in the area other than the document size detected by the size detection unit 650 is multiplied by the thinning rate in the main scanning direction and the sub-scanning direction to obtain the number of out-of-area dots Un (step S602). Next, the total frequencies RSn, GSn, BSn respectively stored in the histogram memories 606 to 608 are examined, and the maximum value Sn = MAX (RSn, GSn, BSn) is obtained (step S603). From the total number of dots Tn, the number of out-of-region dots Un, and the maximum value Sn thus obtained, a ratio BKn = (Sn−Un) / (Tn−Un) occupied by monochrome pixels in the document image is obtained (step S604). . Here, the reason why Un is subtracted from the values of Sn and Tn is that pixel data outside the region is read as “black” data close to 0. If the value of the ratio BKn thus obtained is equal to or smaller than the predetermined threshold value TH1 (NO in step S605), it is determined that the document is color, and the background level coefficient value X is set to 255. (Step S606). If the value of BKn is greater than or equal to the predetermined threshold value TH1 (YES in step S605), it is determined that the document is a monochrome document, and the histogram distribution is analyzed as described below.
[0072]
The CPU 1 determines the frequency RS (m), GS (m), BS (m) of each gradation level from 255 to a certain level LV1 for each histogram data of R, G, B (however, a relationship of 255 ≧ m ≧ LV1) Is satisfied (step S607). Next, the total frequencies RPn, GPn, BPn are obtained from the frequencies RS (m), GS (m), BS (m) of each gradation level, and the maximum value Pn = MAX (RPn, GPn of the obtained RPn, GPn, BPn. , BPn) and the background ratio WHn = Pn / (Sn−Un) of the monochrome document from the maximum value Pn (step S608). If the value of the background ratio WHn is larger than the predetermined threshold value TH2 (YES in step S609), the maximum gradation levels RX, GX, R, G, B appearing first from the gradation value 255 for each of R, G, B. BX is examined (step S610). If all of the gradation levels RX, GX, and BX exist (YES in step S611), the minimum value MIN (RX, GX, BX) among them is further obtained, and the obtained minimum value is used as the coefficient value X of the background level. (Step S612). The reason why the minimum value MIN (RX, GX, BX) is used as the background level is that if the background level is determined for each of R, G, and B, the color balance other than the background is lost.
[0073]
Further, when one of the R, G, B histogram curves from the original does not have a maximum value (NO in step S611), or the value of the background ratio WHn is smaller than a predetermined threshold value TH2 (step S609). No), it is determined that the background level of the document is 255 or higher, or a document such as a photograph without a background (step S614), and the coefficient value of the background level is set to X = 255 (step S614). S615). Even when RX, GX, and BX exist, the coefficient value is set to X = 255 when setting the photo mode (YES in step S613).
[0074]
When the standard mode is set (NO in step S613), an AE process is executed (YES in step S616). As will be described later, the value of the coefficient P is set to 1 when the AE process is executed (step S617). If the exposure level is set manually (NO in step S616), the coefficient P is determined according to the set values 1 to 7 as will be described later using "Table 1" (step S618). ). In this case, all the values of the coefficient X are set to 255.
[0075]
As described in the description of the shading correction unit 400, since the shading correction plate 16 is not necessarily ideal white, this spectral distribution ratio is replaced with the sensitivity ratio of R, G, B of the CCD image sensor 14. The value is RN: GN: BN. Assuming that the sensitivity of the G wavelength region of the shading correction plate 16 is WH1 and the minimum value of the density gradation dynamic range of the copy is WH2, the following “number” is obtained for the desired value 255 × Q of the reciprocal conversion table for shading correction. 9 ", Q is obtained for each of R, G, and B (step S619).
[Equation 9]
QR= P × (RN / GN) × 10WH1-WH2× (255 / X)
QG= P × 1 × 10WH1-WH2× (255 / X)
QB= P × (BN / GN) × 10WH1-WH2× (255 / X)
The coefficient P is a coefficient used when the background level is manually set, and is set to 1 when the AE process is executed. When the background level is set manually, the coefficient value X of the background level is set to 255. The following “Table 1” shows the values of the coefficient P and the coefficient X at the time of AE processing and manual setting of the background level. There are seven levels of ground levels that can be manually set to display. As for the set value, the value of the coefficient P is set so that the background is covered as 3 → 2 → 1 with 4 as the center, and the value of the coefficient P is set so that the background is covered as 5 → 6 → 7.
[Table 1]
Figure 0003729131
Q obtained in step S619R, QG, QBBased on the respective values, conversion data is downloaded to the reciprocal conversion table 406 for each of R, G, and B (step S620). With the above AE processing, the background of the original is optimally processed so that the color balance of the reproduced copy does not differ from that of the original even if the original is a photograph or a chromatic color.
[0076]
In the AE process, the shading correction is optimized by changing the coefficient value X and the coefficient P of the background level. However, the present invention is not limited to this. For example, the background removal used in the γ correction unit 1700 shown in FIG. Level UDC7-0And tilt correction value GDC7-0It may be performed by changing. In this case, the background removal level UDC7-0And tilt correction value GDC7-0Is determined based on the LOG correction equation shown in the following “Equation 10”.
[Expression 10]
UDC7-0=-(255 / DMAX) * log (X / 255)
GDC7-0= {255 / (255-UDC7-0)} × 128
However, the desired value 255 × Q of the shading correction is set as X = 255.
[0077]
Further, the achromatic color ratio of the document obtained during the analysis of the histogram data is a signal indicating whether the document is a color document or a monochrome document. For this reason, if the achromatic ratio of the original is used for identification of the original, an ACS operation can be performed as a full-color PPC. If the original is a monochrome original, it is possible to execute the printing process using only the BK toner. In this case, it is possible to save toner consumption and speed up the printing process. Can do.
[0078]
Further, even if the document background is color, the background can be intentionally skipped. This is SREF7-0This is realized by expanding the range treated as an achromatic color by increasing the level of R and performing histograms of R, G, B data within the expanded range. In this case, it is not necessary to obtain the achromatic color ratio, and it is only necessary to analyze the histogram and detect the document background level X.
[0079]
Further, in order to obtain the coefficient value X of the document background level, the maximum maximum value is detected from the histogram of the R, G, B data, but the average gradation level, the maximum value, and the minimum value are obtained, The coefficient value X may be obtained from the average brightness and the gradation dynamic range.
[0080]
(b-5) Scaling / movement processor
In the scaling / movement processing unit 800, the input R37-30Data, G37-30Data, B37-30Unnecessary area data deletion, reduction interpolation processing, reduction, same magnification, enlargement output, image repeat, and enlargement interpolation processing are executed on the data. The unnecessary area includes two areas, ie, an area where no original exists on the original platen and an area generated by reducing the original image, and is executed based on the detection result of the original size in the AE processing unit 600. For example, in order to reduce the original to 50%, original image data is read using a 200 dpi scanner instead of a 400 dpi scanner, and the image data obtained by reading is printed at a density of 400 dpi. Should. However, actually, data obtained by thinning image data obtained by reading with a 400 dpi scanner in half is used. In this case, thin line data is erased, and the quality of the reproduced image is degraded. Therefore, interpolation processing is executed with a size corresponding to the reduction ratio. This prevents a reduction in the quality of the reproduced image. Further, when enlarging a document, the image is severely deteriorated, for example, by simply padding the data, the rattling of the edge is noticeable. The enlargement interpolation unit performs a smoothing process according to the enlargement magnification. This prevents image degradation during enlargement. When the image quality monitor selection key 77 on the operation panel is pressed by the user, a part of the original image is image-repeated 8 times and output.
[0081]
FIG. 21 shows a configuration of a scaling / movement processing unit 800 to which R data, G data, and B data are respectively input. In the out-of-area erase unit 805, the input image data Din (R37-30, G37-30, B37-30) Delete unnecessary area image data. Here, the unnecessary area means a portion other than the original sheet placed on the original table glass 15 as shown in FIG. The value of the read data in this unnecessary area is black data, which causes a reduction in copy quality. The unnecessary area data is executed based on the output of the DCLR1 signal output from the scaling / movement control circuit 801. The DCLR1 signal is switched based on a -TG signal that is a horizontal synchronization signal and a VCLK signal that is a synchronization signal for image data. The control circuit 801 detects the end of the image data based on the VCLK signal. Then, the data read until the synchronization signal of the next line rises due to the -TG signal is determined as unnecessary area data, and the out-of-area erase unit 805 executes data erasure.
[0082]
(b-5-1) Reduction interpolation unit
The reduction interpolating unit 806 interpolates sequentially input pixel data using pixel data before and after the pixel data. In the reduction interpolation unit 806, R in which data in unnecessary areas has been deleted by the out-of-area erase unit 805.37-30, G37-30, B37-30Each data is input. The reason why the reduction interpolation unit 806 performs the interpolation process is as follows. Generally, reduction of a document image is performed by thinning out image data. For example, in order to reduce the read original image to half and output it, the data amount is halved by thinning out every other image data. As shown in FIG. 23A, when an image read by a CCD image scanner that reads image data at 400 dpi is reduced in half, an original image as shown in FIG. It is necessary to read the data with a 200 dpi image scanner and print it out at 400 dpi. However, in practice, as shown in FIG. 23C, the reading resolution is changed by using the pixel data at a predetermined position among the image data obtained when the image data of the original is read at 400 dpi. To do. However, when the original image is a halftone dot, moire occurs when the reduction ratio is increased. Further, since the data is simply thinned out, the resolution of the image is reduced in proportion to the reduction ratio. Further, in general, in the case of a monochrome binary image, it is rare that the existence probability of each monochrome pixel is 50%, and usually the proportion of white pixels is large. In such a case, if data is simply thinned out, data loss occurs.
[0083]
In order to alleviate the influence of this data loss, the reduction interpolation unit 806 performs a predetermined interpolation process together with the data before and after that. The calculator 807 executes the calculation shown in the following “Equation 11”.
## EQU11 ##
W = a · y + (1−a) · (x + z) / 2
Here, the value of the coefficient a is the value of the magnification X in the main scanning direction. X is the value of the (n + 1) th data. y is the value of the nth data. z is the value of the (n-1) th data. W obtained by the above equation is the value of the nth image data subjected to the interpolation processing based on the copy magnification in the main scanning direction.
[0084]
(b-5-2) Scaling / movement processor
The image data that has been subjected to the interpolation processing by the arithmetic unit 807 is input to the next scaling memories 1 and 2. The signals input to the scaling memories 1 and 2 are as follows. The WCK (write clock) signal is a signal that is used when writing data, and whose cycle is controlled by the copying magnification. The RCK (read clock) signal is a signal that is used when data is read and whose cycle is controlled by the copying magnification. -WE (write enable) signals 1 and 2 are signals for prohibiting data writing. The -RE (read enable) signals 1 and 2 are signals that prohibit data reading. The −WRST (write address reset) signals 1 and 2 and the −RRST (read address reset) signals 1 and 2 are signals that are output when data reading from the scaling memory is started. The scaling / movement control circuit 801 outputs a -WE signal to one of the scaling memories 1 and 2, while outputting a -RE signal to the other scaling memory. While writing data to one of the scaling memories, the data stored in the other scaling memory is read.
[0085]
The scaling movement processing unit 803 executes the scaling process by changing the cycle of the WCK signal / RCK signal and the duty ratio of the rising pulse. In addition, the image is moved by changing the phases of the -WE signal and the -RE signal. Further, the repeat position of the image is controlled by changing the phases of the WRST signal and the RRST signal.
[0086]
(b-5-2-1) Scaling processing
24 to 26 show the timing relationship between the input data Din, the WCK signal, the RCK signal, and the output data Dout when the read data is output at the same magnification, enlarged and reduced.
[0087]
(I) Same size output
FIG. 24 is a diagram showing the timing relationship of the above signals when a read image is output at the same magnification. In this case, the WCK signal and the RCK signal have the same period t as the input timing of each pixel data.cAnd a predetermined duty ratio d. In the zoom memory 1, the image data Din is sequentially stored in synchronization with the rising edge of the pulse of the WCK signal while the -WE1 signal is "L". Next, it waits for the −RE1 signal to switch to “L” and sequentially outputs the image data stored in the memory in synchronization with the rising pulse of the RCK signal. The same applies to the zoom memory 2. By executing data writing and reading at such timing, the same size image data is output. Note that as described above, data is not written to the scaling memory 2 while data is being written to the scaling memory 1. When data writing is permitted to one scaling memory, only data reading is permitted to the other scaling memory.
[0088]
(Ii) Enlarged output
FIG. 25 is a diagram showing the timing relationship of the above-described signals when the read image is output X times (where X> 1) in the main scanning direction. In this case, the WCK signal has a period tcAnd the duty ratio d. On the other hand, the RCK signal has a period tc× X and duty ratio d / X are set. FIG. 25 is a diagram illustrating the case where X = 2. The procedure for writing and reading data in the variable power memory is the same as that in the case of the same magnification output described with reference to FIG. However, the cycle of the RCK signal when data is read from the scaling memory is multiplied by X. This means that the data Dout is padded by X times and output. By executing data writing and reading at such timing, data Dout expanded X times in the main scanning direction is output. Here, the value of the magnification X may include a decimal part. This is because, unlike the case where the image is reduced as described below, the data read timing is simply extended in proportion to the value of the magnification X in the main scanning direction.
[0089]
(Iii) Reduced output
FIG. 26 is a diagram showing the timing relationship of the above-described signals when a read image is output X times (where X <1) in the main scanning direction. In this case, the WCK signal has a period tc/ X and the duty ratio d × X. On the other hand, the RCK signal has a period tcAnd the duty ratio d. FIG. 26 shows the case where X = 1/2. Data writing and reading to the variable power memory are the same as in the case of the same magnification output described with reference to FIG. However, the cycle of the WCK signal when data is written to the variable magnification memory is multiplied by X. This is illustrated as data D, as shown.inMeans to halve and read into the scaling memory. Data Dout reduced by X times in the main scanning direction is output by reading out the data stored in the variable magnification memory using the RCK signal having the same cycle and duty ratio as in the case of the same magnification output.
[0090]
(b-5-2-2) Movement processing
The control circuit 801 executes output data movement processing by controlling the phases of the -WE1, 2 signal and the -RE1, 2 signal. Here, the movement of the output data means that the image of the read original is moved left and right on the copy paper as shown in FIGS. 27 (a) and 27 (b). FIG. 28A shows the waveforms of -WRST1 and -RRST2 and the waveforms of -WRST2 and -RRST1 input from the scaling / movement controller 801 to the scaling memories 1 and 2, respectively. (B) of FIG. 28 shows the waveform of each signal (Din, -WE1, -WE2, -RE1, -RE2, Dout) output in synchronization with the waveform of (a).
[0091]
In order to move the read document image data to the right on the copy paper for output, the timing for switching -RE1 and -RE2 to "L" is delayed as shown in FIG. By delaying the timing, the timing at which data is read from the scaling memory is delayed. As a result, the original image formed on the copy paper moves to the right as a whole. Further, in order to move the read original image to the left on the copy paper and output it, the timing for switching the -WE1, 2 signal to "L" is delayed as shown in FIG. The scaling memory writes line data input from the start address after the −WE1 and 2 signals are switched to “L”. If the data written in this way is read out at a normal timing, an image moved to the left as a whole is formed on the copy paper. In order to move the read original image up and down on the copy paper, the original reading start time of the CCD image sensor 14 and the development start timing of the copy paper are adjusted. Detailed description of this process is omitted.
[0092]
(b-5-2-3) Image repeat
The scaling / movement control circuit 801 outputs the image of the read document on a single copy sheet a plurality of times as shown in FIG. 29 by performing output control of the −WRST 1 and 2 signals and the −RRST 1 and 2 signals. Perform image repeat. For example, in order to output the same image data twice at equal intervals on one line in the main scanning direction, as shown in FIG. 30, the -RRST1 and 2 signals are output once each at the beginning and the middle of the reading of the line. do it. The scaling memory outputs the stored data from the first address in response to the output of the -RRST signal. As a result, the same image data is output twice on one line in the main scanning direction. By repeating this operation for each line of the read image data, image repeat is realized. When the image quality monitor selection key 77 is pressed by the user, a part of the document image is repeated eight times and output.
[0093]
The data read from the scaling memory 1 or 2 at any of the timings of FIGS. 24 to 26 is changed to white data of unnecessary area data by the out-of-area erase unit 808. Here, the unnecessary area refers to an area generated when, for example, the size of the original paper is A3 and is output after being reduced to A4 as shown in FIG. The data in this area is changed to white data when the A3 size copy paper is selected as the copy paper when taking a reduced copy from A3 to A4. This is to prevent it from becoming unsightly.
[0094]
(b-5-3) Enlarged interpolation unit
In FIG. 21, an enlargement interpolation unit 804 performs an interpolation process according to the enlargement ratio for input data. This is because when the read image is enlarged, the image deterioration is significant, such as when the read data is simply inflated, the rattling of the edge portion is noticeable. The enlargement interpolation unit 804 inputs the image data output from the out-of-region erase unit 808 to the smoothing filters 809 to 816. In the smoothing filters 809 to 916, an appropriate load (weighting) coefficient is given to each of the pixel of interest in the center of the pixel row and each of the adjacent pixels outside the pixel row in accordance with the enlargement magnification. The smoothing filters 809 to 816 correspond to enlargement magnifications x1 to x8 in order. For example, with the filter 809 of enlargement magnification × 1, only the target pixel is processed, and the value of the load coefficient is set to 1. That is, the smoothing filter 809 outputs the input image data to the selector 818 as it is. The main scanning magnification detection circuit 817 obtains an integer value of the copying magnification X in the main scanning direction from the cycle and duty ratio of the RCK signal inputted to the magnification change memory, and inputs the obtained magnification value to the selector 818. The selector 818 outputs the data from the smoothing filter corresponding to the input magnification value to the output data DoutOutput as.
[0095]
(b-6) Image interface part
R output from the scaling / movement processing unit 80047-40Data, G47-40Data, B47-40Data is input to the image interface unit 1000. In the image interface unit 1000, R, G, B data (R-VIDEO) input from the outside.7-0, G-VIDEO7-0, B-VIDEO7-0) And R above47-40Data, G47-40Data, B47-40Select and fit inset with data. In addition, a timing signal for transmitting image data to the RGB interface or the printer interface is also generated.
[0096]
(b-7) HVC converter
The HVC converter 1100 illustrated in FIG. 31 receives input RGB data (R57-50, G57-50, B57-50) To the brightness signal (V7-0), Color difference signal (WR7-0, WB7-0), And saturation data (W7-0) And hue signal (H7-0) Is generated. When the user presses the serviceman mode setting key 75, a preset color patch is read, and the data is obtained based on the values of RGB data actually read. This corrects the variation in reading characteristics of each CCD element.
[0097]
(b-7-1) HVC conversion
The input RGB data is input to the calculator 1101. The arithmetic unit 1101 executes each conversion formula shown in the following “Equation 12” to obtain a brightness signal (V7-0), Color difference signal (WR7-0, WB7-0) Is output.
[Expression 12]
V = a1・ R + a2・ G + a3・ B
(However, a1+ A2+ A3= 1 is satisfied. )
WR = (R−V) / (1-a1)
WB = (B−V) / (1-a3)
A1, A2In the case of normal TV RGB image data, the coefficient value of1= 0.3, a2= Is set to about 0.1. This means that the mixing ratio of RGB image data is 3: 6: 1. This mixing ratio varies slightly depending on the characteristics of the CCD image sensor and the color characteristics of the lenses of the reduction optical system. For example, in the CCD image sensor 14 used in the copying machine of this embodiment, a1= 0.35, a2= About 0.55.
[0098]
A1, A2The coefficient values are determined according to the flowchart shown in FIG. First, after the user presses the serviceman mode setting key 75 (YES in step S1100), the color patch is placed on the platen glass 15. Waiting for the press of the print key 73 (YES in step S1110), the RGB image of the color patch is read by the CCD image sensor 14 (step S1111). The actual value V of the color patch is read from the standard value stored in advance (step S1112). Thereafter, from the read RGB image data and the value of brightness V, a1And a2Is determined (step S1113). Waiting for the user to press the serviceman mode setting key 75 again (YES in step S1114), the LED 75a is turned off, and then the normal mode is restored (step S1115).
[0099]
The color difference signal (WR) obtained by the calculator 11017-0, WB7-0) Is represented by the orthogonal coordinate axes of the hue plane in the color space, as shown in FIG. Saturation signal W7-0Is the color difference signal (WR7-0, WB7-0) Is input to the arithmetic unit 1102 and obtained. The calculator 1102 performs the following calculation of “Equation 13” to obtain the saturation signal W.7-0Is output.
[Formula 13]
W = (WR2+ WB2)1/2
[0100]
(b-7-2) Image quality monitor function
The HVC conversion unit 1100 controls an adjustment signal of image quality (masking coefficient, sharpness, γ curve, color balance) selected by the user's operation of the image quality adjustment keys 74a to 74d in addition to the arithmetic units 1101 and 1102. An image quality control circuit 1103 (FIG. 34) is provided. The image quality control circuit 1103 is a circuit that controls the execution of an image quality monitor function described below.
[0101]
In a full-color copying machine, it is difficult for a user to know under what imaging conditions a desired image can be obtained. However, it is uneconomical to set different image forming conditions for each copy and repeat this until a desired image quality copy is obtained. The copying machine of this embodiment includes an image quality monitor function that can easily obtain a desired image by simply selecting a desired image from a plurality of images actually printed out. Specifically, in response to pressing of the image quality monitor setting key 77 provided on the operation panel 25, first, a part of the image on the document surface is first image-repeated into eight as shown in FIG. Then, for each of them, different masking coefficients, sharpness (edge enhancement / smoothing level), γ curve, and color balance (background removal / tilt correction level) are printed out. The user selects an image with a desired image quality from the printed out image, and inputs the corresponding image number from the numeric keypad 72 provided on the operation panel 25. The image quality control circuit 1103 receives image forming condition data corresponding to the input number (masking correction coefficient switching signal MA).2-0, Shapeness switching signal SH2-0, Γ curve switching signal GA2-0, Color balance switching signal CO2-0) Is output to the corresponding processing unit.
[0102]
The scaling / movement processing unit 800 repeats the image data of a part of the document eight times in response to pressing of the image quality monitor setting key 77. FIG. 34 shows a circuit configuration of the image quality control circuit 1103. The main scanning counter 1104 reset by the -TG signal that is a line trigger signal in the main scanning direction starts counting in synchronization with the VCLK signal. The count output of the main scanning counter 1104 is input to the P terminals of the comparators 1105, 1106, 1107, and 1108, respectively. The Q terminals of the comparators 1105 to 1108 are respectively connected to XEC ~ 0, XFC ~ 0, XGC ~ 0, 0 is input. XE aboveC ~ 0, XFC ~ 0, XGC ~ 0Are the count values in the main scanning direction corresponding to the repeat points of the image repeat executed by the scaling / movement processing unit 800 (see the lower part of FIG. 35). Each of the comparison units 1105 to 1108 outputs an “L” signal when the count value input from the main scanning counter 1104 matches the count value input from the Q terminal. The NAND gate 1109 outputs an “L” counter pulse signal (hereinafter referred to as a CP signal) to the monitor area counter 1111 via the delay circuit 1110 when an “L” signal is input from any of the comparators. To do. The monitor area counter 1111 operates with the input CP signal as a clock signal, and the NUM2-0Output a signal. The monitor area counter 1111 is a load data LD2-0The identification number of the image to be image repeated is designated by the signal. The countdown signal sets whether the monitor area counter 1111 is up-counted or down-counted.
[0103]
The switching of the identification number of the image in the main scanning direction is performed by the reference values (XE) of the comparators 1105 to 1108 that generate the CP signal.C ~ 0, XFC ~ 0, XGC ~ 0, 0), and the switching of the image identification number in the sub-scanning direction is performed by the countdown signal input to the monitor area counter 1111 and the LD2-0This is done by changing the value of the signal. For example, LD2-0When the value of the signal is 5, 5 is set in the monitor area counter 1111 as the initial value of the image identification number. When the down count is set by the count down signal, the monitor area counter 1111 sets the value 4 counted down corresponding to the input of the first “L” CP signal to NUM.2-0Output as signal value. Hereinafter, the monitor area counter 1111 sequentially corresponds to the input of the CP signal of “L” and the NUM of 4 → 3 → 2 → 1.2-0Output the signal repeatedly. In synchronization with the start of the output of the second image in the sub-scanning direction, the countdown signal causes the monitor area counter 1111 to count up. Where LD2-0If the value of the signal is set to 3, the monitor area counter 1111 starts from 4 → 5 → 6 → 7 NUM.2-0A signal is output (see FIG. 35). NUM output from the monitor area counter 11112-0The signals are input to selectors 1114, 1117, 1120, and 1123, respectively. Selection signals MSEL0 to MSEL3 are input to the S terminals of the selectors 1114, 1117, 1120, and 1123, respectively. Each of the MSEL0 to 3 is normally set to “H”, while the selectors 1114, 1117, 1120, and 1123 have a fixed value M input to the B terminal.2-0, S2-0, G2-0, C2-0Are respectively output from the Y terminal.
[0104]
When the user presses the masking coefficient setting key 74a, MSEL0 is switched to “L” and is input to the A terminal of the selector 1114.2-0From the Y terminal to the MA2-0Is output as That is, in this case, the masking coefficient switching signal MA is displayed on the copy paper.2-04 images of 4 → 3 → 2 → 1 are switched and the masking coefficient switching signal MA is sent to the next stage.2-0A printout of four images that have been switched from 4 to 5 to 6 to 7 is repeated. Thereafter, when, for example, a 6th image identification signal is input by the user, the fixed value M2-0Is updated to 6.
[0105]
Subsequently, when the user presses the shape setting key 74b, the value of MSEL1 is switched to “L” and is input to the A terminal of the selector 1117.2-0SH from Y terminal2-0Is output as In this case, the shape switching signal SH is displayed on the copy paper.2-0Four images with the value of 4 → 3 → 2 → 1 switched are repeated, and the sharpness switching signal SH is sent to the next stage.2-0A printout of four images that have been switched from 4 to 5 to 6 to 7 is repeated. At this time, the selectors 1114, 1120, and 1123 other than the selector 1117 receive a fixed value M2-0, G2-0, C2-0Are output from each Y terminal. Fixed value M20The value of is the updated value of 6. Thereafter, when, for example, the second image identification signal is input by the user, the fixed value S2-0Is updated to 2.
[0106]
Similarly, when the γ curve setting key 74c or the color balance setting key 74d is pressed, the γ curve switching signal GA is displayed on the copy sheet.2-0Or color balance switching signal CO2-0Four images with the value of 4 → 3 → 2 → 1 switched are repeated, and the γ curve switching signal GA is sent to the next stage.2-0Or color balance switching signal CO2-0A printout of four images that have been switched from 4 to 5 to 6 to 7 is repeated. Thereafter, a fixed value G is determined according to the input of the image identification number by the user.2-0Or C2-0Is updated. Through the above processing, the user can quickly obtain a print having a desired image quality.
[0107]
The contents set by the four types of image adjustment switching signals will be described below. Masking coefficient switching signal MA2-0As will be described later in the section of the color correction section, the masking coefficient is switched and the hue of the copy is adjusted. As shown in FIG. 36, the coefficient is obtained by a method such as a least square method so that the original color difference between the original and the copy is eliminated. For the coefficients, other six kinds of coefficients are set so that the color circulation of the reproduced copy is rotated clockwise or counterclockwise. The next "Table 2" is MA2-0And the masking coefficient to be set are shown as follows.
[Table 2]
Figure 0003729131
[0108]
Normally, the original color of 5R is the masking coefficient switching signal MA.2-0When the value of 4 is 4, the masking coefficient is set so that the copy color is also 5R. Masking coefficient switching signal MA2-0The masking coefficient is set so that the value is reproduced as 3 → 2 → 1 and reproduced on the 5Y side (clockwise) (so that the color circulation diagram rotates). Conversely, the masking coefficient switching signal MA2-0Is increased from 5 → 6 → 7, the masking coefficient is set so that it is reproduced on the 5RP side. The masking coefficient switching signal MA2-0When the value of is 0, a sepia color masking coefficient is set. That is, as described in the color correction unit 1400, if the -SEPIA signal is "L", the masking coefficient switching signal MA is set.2-0The sepia color coefficient in the masking coefficient selection block is selected so that the value of becomes zero.
[0109]
Sharpness switching signal SH2-0Is a signal for adjusting the sharpness of the image. As described in the description of the MTF correction unit 1600, the sharpness of the image is adjusted by changing the edge enhancement amount coefficient and the smoothing filter size. The next "Table 3" is SH2-0Enhancement factor ED for the value of7-0And the size SD of the smoothing filter7-0Shows the relationship.
[Table 3]
Figure 0003729131
SH to display2-0When the value of is smaller than 4, the edge enhancement amount coefficient ED7-0Is selected by the edge enhancement coefficient switching block. SH2-0If the value of 4 is 4 or less, the data not subjected to the smoothing filter is SD7-0Are selected in the smoothing filter switching block. Conversely, SH2-0As ED becomes larger, ED7-0And a filter with a large smoothing filter size is designated as filter 1. As a result, SH2-0The smaller the value, the sharper the image, and the larger the value, the smoother (blurred) image.
[0110]
γ curve switching signal GA2-0Is a signal for selecting a γ curve, and as described in the γ correction unit 1700, image brightness adjustment and contrast adjustment are set according to the graphs shown in FIGS. 74 and 75. GA2-0When the value of 4 is 4, input / output data is made equal in both the light and dark adjustments and the contrast adjustment. To adjust brightness, GA2-0When the value of becomes large, the shadow type curve is selected, and when the value becomes small, the highlight type curve is selected. In contrast adjustment, GA2-0When the value becomes larger, the highlight shadow type is selected, and when the value becomes smaller, the halftone emphasis type is selected.
[0111]
CO2-0Adjusts three types of color balance, image saturation and copy density. The color balance adjustment includes CR adjustment, MG adjustment, and YB adjustment. Taking CR adjustment as an example, CO2-0When the value of is greater than 4, the inclination correction level GDC7-0Is made larger than 128 (slope = 1) for C toner development and smaller than 128 for M and Y development, and the cyan density of image data is emphasized more than magenta and yellow density. Conversely, CO2-0When the value of becomes smaller than “4”, GDC7-0Is made smaller than 128 (inclination = 1) for C toner development, and larger than 128 for M and Y development, and the red density is increased by making the cyan density of the image data weaker than the magenta and yellow densities. Similarly, GDC at the time of C, M, Y development for MG adjustment and YB adjustment7-0Are adjusted as shown in Table 4. As shown, in the CR adjustment, when the amount of C is increased by Δ, the values of M and Y are increased by −Δ / 2. That is, the amount of C, M, and Y toner attached is adjusted without changing the amount of toner attached to the copy paper per unit area.
[Table 4]
Figure 0003729131
CO to display2-0When the value of 4 is 4, the GDC is used in any development process.7-0= 128, GDC during BK development7-0= 128 remains unchanged. This adjustment means that the color circulation is operated as shown in FIG.
[0112]
In saturation adjustment, CO2-0When the value of is greater than 4, GDC7-0Is made smaller than 128 during C, M, and Y development, and larger than 128 during BK development. As a result, the density of the chromatic color components (C, M, Y) is decreased, and the density of the achromatic color component (BK) is increased. CO2-0When the value of becomes smaller than “4”, the reverse process is performed. This adjustment means that the color circulation shown in FIG. 38 is operated. What is important in color balance adjustment is not to change the density of the entire copy, that is, the amount of toner attached to the copy paper per unit area. This is because when the amount of toner attached per unit area changes, not only the density of the entire document changes before and after the image adjustment, but also the fixing temperature changes and the gloss changes, or toner fixing failure occurs. Because. At this time, the other parameter, the background removal level UDC7-0Remains 0. The copy density adjustment is operated regardless of the C, M, Y, and BK development processes. CO2-0If the value of is greater than 4, it will be dark, and if it is smaller, it will be thin.
[0113]
(b-8) Density correction unit
The density correction unit 1200 has RGB data (R) that changes in proportion to the amount of light reflected from the document by the exposure lamp.67-60, G67-60, B67-60) For data that changes in proportion to the concentration (DR17-10, DG17-10, DB17-10).
[0114]
FIG. 39 is a diagram illustrating a configuration of the density conversion unit 1200. R entered67-60, G67-60, B67-60Are input to the LOG tables 1201 to 1203, respectively. The LOG tables 1201 to 1203 are the same table as shown in FIG. In the LOG tables 1201 to 1203, density data (DR) obtained by executing the conversion process shown in the following “Equation 14”.17-10, DG17-10, DB17-10) Is output.
[Expression 14]
DR = − (255 / DMAX) × LOG (R / 255)
DG = − (255 / DMAX) × LOG (G / 255)
DB = − (255 / DMAX) × LOG (B / 255)
However, DMAX is the maximum reflection density value.
[0115]
Also, RGB data (R67-60, G67-60, B67-60) Is weighted by the weighting unit 1204 at a ratio of 5: 6: 5, mixed by the next adding unit 1205, and then input to the LOG table 1206. DV output from LOG table 120617-10Is a signal representing the density level in mono color.
[0116]
The next negative / positive inversion unit 1250 performs DR when the −NEGA signal (negative / positive inversion signal) is “L”.17-10, DG17-10, DB17-10, DV17-10Is inverted (negative output) and when it is “H”, it is passed as it is. The -NEGA signal is an optional signal set by a negative / positive inversion key 76 provided on the operation panel 25 by the user. During normal copying, it is held at “H”.
[0117]
(b-9) UCR / BP processor
Each color data of cyan (C), magenta (M), yellow (Y), and black (BK) necessary for full color reproduction is created for each scan by the frame sequential method, and the full color is reproduced by a total of four scans. The Here, the reason why black is printed is that even if black is reproduced by superimposing cyan, magenta, and yellow, it is difficult to reproduce clear black due to the influence of the spectral characteristics of each toner. Therefore, in the copying machine of the present embodiment, the black reproducibility is improved and full color is realized by the subtractive color mixing method using the data Y, M, and C and the black printing using the black data K.
[0118]
The UCR / BP processing unit 1300 performs DR27-20, DG27-20, DB27-20The minimum value of data (MIN (DR, DG, DB)) is calculated, this is assumed to be black, a certain proportion thereof is treated as BK data, and black toner is added by the printer (hereinafter this processing is referred to as BP processing). And under color removal processing (hereinafter, this processing is referred to as UCR processing) for reducing the amount of C, M, and Y color materials in accordance with the added BK data.
[0119]
FIG. 41 is a diagram showing a configuration of the UCR / BP processing unit 1300. Input concentration data DR27-20, DG27-20, DB27-20Are input to the minimum value detection circuit 1301. As shown in FIG. 42A, the minimum value detection circuit 1301 receives the input DR.27-20, DG27-20, DB27-20Is detected and output (MIN (DR, DG, DB)). In the next difference circuit 1302, the background level X data (represented as BPC in the figure) sent from the CPU 1 is subtracted from the minimum value (MIN (DR, DG, DB). This data is used during UCR processing. Is 0.
[0120]
Saturation signal W calculated by the HVC converter 11007-0Are input to the UCR table 1303. Similarly, the −CMY / K signal input to the UCR table 1303 is set to “L” in the printing process of C (cyan), M (magenta), and Y (yellow), and the BK (black) printing process is set. At this time, it is switched to “H”. The UCR table 1303 outputs UCR coefficient data α (W) during UCR processing, and outputs BP coefficient data β (W) during BP processing. FIG. 43 shows the UCR table. When the read image is achromatic (black and white), the amount of toner attached is smaller when the image is reproduced with only black toner, and black is tightened. Therefore, the saturation signal W7-0When the signal value is small, the UCR table 1303 increases the output α (W) and β (W) values to increase both the under color removal amount and the black addition amount. On the other hand, when the read image is a chromatic color (color), if the α (W) and β (W) values are too large, a cloudy color is reproduced. For this reason, the saturation signal W7-0Is large, the UCR table 1303 sets the α (W) and β (W) values to be output small. Thus, the saturation signal W7-0More appropriate UCR / BP processing is executed by changing the α (W) and β (W) values to be output according to the magnitude of the value.
[0121]
Α (W) or β (W) output from the UCR table 1303 is input to the computing unit 1304. The arithmetic unit 1304 multiplies each data of MIN (DR, DG, DB) by α (W) / 256 at the time of UCR processing, and subtracts the under color removal amount (the amount indicated by the broken line in FIG. 42B). Output to 1305 to 1307. In the subtracters 1305 to 1307, the following “Expression 15” is executed, and C0 subjected to UCR processing is executed.7-0, M07-0, Y07-0Is output.
[Expression 15]
C0 = DR-MIN (DR, DG, DB) × α (W) / 256
M0 = DG−MIN (DR, DG, DB) × α (W) / 256
Y0 = BR-MIN (DR, DG, DB) × α (W) / 256
[0122]
On the other hand, the arithmetic unit 1304 executes the following “Equation 16” during the BP processing. That is, the black toner amount BK to be added by multiplying each data of MIN (DR, DG, DB) obtained by subtracting the predetermined lower color level data BPC by β (W) / 256 (see FIG. 42B). Is output.
[Expression 16]
BK = (MIN (DR, DG, DB) −k) × β (W) / 256
[0123]
(b-10) Color correction part
The spectral characteristics of the color separation filter arranged for each reading pixel of the CCD image sensor 14 has an unnecessary transmission region indicated by hatching in FIG. Further, the C, M, and Y color toners used on the printer side also have unnecessary absorption components indicated by hatching in FIG. The color correction unit 1400 executes a predetermined masking calculation process to match the color reproduction of the original and the copy. In the color correction unit 1400, the UCR processed C07-0, M07-0, Y07-0And its nonlinear term {(C0 + M0) / 2)}2, {(M0 + Y0) / 2)}2, {(Y0 + C0) / 2)}2Further, C, M, and Y data are obtained by performing matrix calculation for the constant term shown in the following “Equation 17”. The color correction unit 1400 matches the color reproducibility of the original and the copy by this processing.
[Expression 17]
Figure 0003729131
Masking coefficients c11 to c17, m21 to m27, and y31 to y37 are determined by the following procedure. First, the test chart is read by the CCD image scanner 14 to form a test print. Next, the output test print is read by the CCD image sensor 14. Here, the read data of the test chart is compared with the read data of the test print actually printed, and the value of each coefficient is determined so that the difference between the two data is minimized. Specifically, masking coefficients c11 to c17 are set during cyan image formation. Masking coefficients m21 to m27 are set during magenta imaging. During yellow image formation, masking coefficients y31 to y37 are set.
[0124]
FIG. 44 is a diagram showing the configuration of the color correction unit 1400. As shown in FIG. Input C07-0, M07-0, Y07-0Are input to multipliers 1409 to 1411 and to arithmetic units 1402 to 1404, respectively. In the arithmetic units 1402 to 1404, data is inputted to each A terminal in the order of C0, M0, Y0, and data is inputted to each B terminal in the order of M0, Y0, C0. In arithmetic units 1402 to 1404, an average value of data input to the A terminal and data input to the B terminal is obtained and output. Each data output from the calculators 1402 to 1404 is input to the X terminals of the next calculators 1405 to 1407. Each of the arithmetic units 1405 to 1407 outputs a value obtained by dividing the square of the input data by 256 to the multipliers 1412 to 1414. Masking coefficients c11 to c17, m21 to m27, and y31 to y37 are input from the color correction control unit 1401 to the multipliers 1409 to 1414, respectively. The multiplication results in the multipliers 1409 to 1414 are input to the A to F terminals of the calculator 1415, respectively. In addition, constant term data is directly input to the computing unit 1415 from the color correction control unit 1401 to the G terminal. The calculator 1415 outputs a value obtained by subtracting the constant term data D from the data total value of A to F to the next selector 1416. That is, the matrix calculation of the above “Equation 17” is executed by the above processing.
[0125]
At the time of cyan, magenta, and yellow image formation, the color correction unit 1401 simultaneously uses eight types of masking coefficients, such as a masking coefficient that intentionally changes the hue balance, in addition to the masking coefficient determined in the above-described procedure. Can be set. Which of these coefficients is output as a masking coefficient depends on the masking coefficient switching signal MA.2-0And real-time (every dot) by the sepia area signal-SEPIA.
[0126]
The color correction unit 1401 outputs an “H” -CMY / K signal in the BK (black) printing process, and an “L” -CMY / K signal in the other (cyan, magenta, yellow) printing processes. The K signal is output. The selector 1416 responds to the input of the “H” -CMY / K signal and outputs BK.7-0Data is output to the next selector 1417. On the other hand, the data from the computing unit 1415 is output to the next selector 1417 in response to the input of the “C” signal of “L”.
[0127]
The color correction control unit 1401 is a coefficient (MM) that is switched according to the image forming process (C, M, Y, BK) of the printer according to monochromatic reproduction color data input by the user via the operation panel.7-0: C18, M18, Y18, BK18) Is output to the multiplier 1408. The multiplier 1408 adds the coefficient MM to the monochromatic density data DV17-10.7-0And the mono color data is output to the selector 1417.
[0128]
The color correction control unit 1401 receives a mono color area (-COLMONO) signal and a monochrome area (-BKMONO) signal, which are editing area signals having attributes for each pixel. The −COLMONO signal and the −BKMONO signal are input to the OR gate 1418. When both the −COLMONO signal and the −BKMONO signal are “L”, that is, when the pixel data is data in the full color mode area, the OR gate 1418 outputs a signal “L” to the selector 1417. In this case, the selector 1417 outputs the full color data input from the selector 1416 as VIDEO 7 to 0 signals.
[0129]
However, when either the -COLMONO signal or the -BKMONO signal is "H", that is, when the pixel data is data in the mono color mode area or the monochrome mode area, the OR gate is connected to the S terminal of the selector 1417 at "H". "" Signal is output. In this case, the selector 1417 converts the mono color data input to the multiplier 1408 into VIDEO.7-0Output as a signal.
[0130]
(b-11) Area discriminator
47 and 48 are diagrams showing the configuration of an area discriminating unit 1500 that executes black character portion discrimination and halftone dot area discrimination processing in a document image. The black character discrimination is roughly classified into “character (edge) judgment”, “black judgment”, “black character misidentification area extraction”, and an MTF correction unit 1600 described later to improve black character reproducibility. It is classified into four processes of “generation of a black edge reproduction signal” to be executed. Hereinafter, these four processes will be described.
[0131]
(b-11-1) Character (edge) judgment
A character basically consists of two elements: an “edge portion” and a “solid” portion sandwiched between the edge portions. In addition, in the case of a thin line character, only the edge is obtained. That is, character determination is achieved by performing edge determination.
[0132]
Lightness signal V created by the HVC converter 11007-0Is input to the line memory 1502 via the N / P inverter 1501. The N / P inversion unit 1501 inverts and outputs the input data when the input −NEGA signal is “L”. Here, the -NEGA signal is an optional signal set by the user with the negative / positive inversion key 76 of the operation panel 25.
[0133]
Data read from the line memory 1502 is input to a primary differential filter 1503 in the main scanning direction and a primary differential filter 1504 in the sub-scanning direction each consisting of a 5 × 5 matrix, and is input to a secondary differential filter 1508. . Here, both the primary differential filter and the secondary differential filter are used for edge determination because each filter has the following characteristics.
[0134]
FIG. 49A shows the brightness distribution of five lines having different thicknesses, and the line becomes thicker as it goes to the right in the figure. (B) of FIG. 49 is a figure which shows the primary differentiation result of each said line. FIG. 49 (c) is a diagram showing the second-order differential results of the above-mentioned lines. As understood from the figure, the primary differential filter outputs a detection value higher than that of the secondary differential filter at the edge portion of a thick line (width of 4 dots or more). On the other hand, the secondary differential filter outputs a detection value higher than that of the primary differential filter at the edge portion of a thin line (width less than 4 dots). That is, a primary differential filter is suitable for detecting a thick edge portion having a width of 4 dots or more, and a secondary differential filter is suitable for detecting an edge portion of a thin line having a width less than 4 dots. In the region discriminating unit 1500 of this embodiment, paying attention to the characteristics of each filter, an edge portion when one of the differential values of the primary differential filter and the secondary differential filter exceeds a predetermined threshold value. It is determined that This maintains a constant edge detection accuracy regardless of the line thickness.
[0135]
(b-11-1-1) First order differential filter
The data read from the line memory 1502 shown in FIG. 47 is input to the primary differential filter 1503 in the main scanning direction and the primary differential filter 1504 in the sub-scanning direction, each consisting of a 5 × 5 matrix. As the primary differential filter 1503 in the main scanning direction, the filter shown in FIG. 50 is used. As the primary differential filter 1504 in the sub-scanning direction, the filter shown in FIG. 51 is used. The differential results obtained by the primary differential filters 1503 and 1504 are input to the next computing units 1505 and 1506, and the absolute values thereof are obtained. Here, the absolute value of the first-order differential result is obtained because negative coefficients exist in the first-order differential filters 1503 and 1504 shown in FIGS. The absolute value of the primary differential result obtained by the primary differential filters 1503 and 1504 is obtained as an average value in the next computing unit 1507. The average value is obtained in this way in order to take into account the first-order differential results in both the main scanning direction and the sub-scanning direction. The average value FL thus obtained17-10Is input to each of the edge determination comparators 1521, 1524, 1526, and 1528 shown in FIG.
[0136]
(b-11-1-2) Second derivative filter
Data read from the line memory 1502 shown in FIG. 47 is also input to the secondary differential filter 1508. As the secondary differential filter 1508, the filter shown in FIG. 52 is used. Second derivative result D7-0Is calculated by the calculator 1509 using the absolute value FL.27-20Is required. This is because a negative coefficient exists in the filter as in the first-order differential filter. This absolute value FL27-20Is input to each of the edge determination comparators 1522, 1523, 1525 and 1527 shown in FIG. Also, the second derivative result D7-0Is input to the VMTF table 1512. FIG. 59 shows the VMTF table 1512. The VMTF table 1512 shows the input second derivative result D7-0Brightness edge component VMTF corresponding to7-0Is output.
[0137]
(b-11-1-3) Edge judgment
The edge discrimination comparator 1521 shown in FIG.17-10And first edge reference level EDGref17-10And compare. Here, the first derivative result FL17-10Is the first edge reference level EDGref17-10If the value is greater than “L”, a “L” signal is output. Further, the edge discrimination comparator 1522 outputs the secondary differential result FL27-20And second edge reference level EDGref27-20And compare. Here, the second derivative result is the second edge reference level EDGref27-20If the value is greater than “L”, a “L” signal is output. The determination results in the edge determination comparators 1521 and 1522 are input to the AND gate 1533. When the AND gate 1533 receives an “L” signal from at least one of the edge determination comparators 1521 and 1522, the AND gate 1533 outputs an “L” -EG 1 signal indicating an edge portion.
[0138]
(b-11-2) Black judgment
Black is determined by saturation data W7-0Based on the value of. That is, the saturation data W7-0Is determined to be black when the value of is less than or equal to a predetermined reference value. However, saturation data W7-0The value of may be a large value even though it is a black pixel. For example, if the phase of each of R, G, and B data is slightly shifted as shown in the upper part of FIG. 53 due to vibration when the image data is read by the CCD image sensor 14, it is a black pixel. As shown in the lower part of FIG.7-0The value of increases. In this case, if black is determined based on the above criteria, it is erroneously determined that the pixel is a color pixel.
[0139]
In the present embodiment, first, the saturation data W obtained by the HVC converter 1100 is used.7-0Is input to the line memory 1514 to form 3 × 3 matrix data, and then smoothing processing is performed using a smoothing filter 1515. Saturation data WS that has been smoothed7-0Is changed to a gentle value as shown in the lower part of FIG. This avoids the erroneous determination described above.
[0140]
Saturation data WS that has been smoothed7-0Is the saturation reference data WREF by the saturation determination comparator 1529 shown in FIG.7-0Compared with Saturation data WS7-0Is the saturation reference data WREF7-0If the value is smaller than this value, the saturation data WS7-0A pixel having is determined to be black. In this case, the comparator 1529 outputs an “L” −BK signal to the OR gate 1537.
[0141]
Saturation reference data WREF7-0Is the brightness data V input to the line memory 15027-0Is input to the WREF table 1513. As shown in FIG. 55, the WREF table 1513 includes brightness data V7-0WREF is brighter than a predetermined value7-0The value of is reduced in proportion to its brightness. This is because black pixels caused by erroneous determination are conspicuous in a bright portion.
[0142]
As described above, the pixels for which the character (edge) determination and the black determination are performed are the pixels of the edge portion (the −EG1 signal is “L”), the black pixels (the −BK signal is “L”). And the -BKGEN signal is "L", the OR gate 1537 outputs an "L" -BKEG signal indicating that the pixel is a black edge portion.
[0143]
(b-11-3) Extraction of black character misclassification region
Only the character (edge) determination and the black determination determine the brightness data V7-0Value is low and saturation data WS7-0A character having a low value of (for example, dark blue or dark green) may be misidentified as an edge portion of a black character.
[0144]
Further, as shown in FIG. 56, in adjacent portions of images corresponding to opposite colors such as cyan and yellow, the saturation data W at the transition portion of the colors.7-0The value of is once lowered. That is, a portion that changes to black occurs at the portion where the color changes. Only the above-described character (edge) determination and black determination erroneously determine that this portion is an edge portion of a black character. If it is erroneously determined to be an edge portion, a black line is drawn at the transition of cyan and yellow colors. Such a case is likely to occur when blue characters are printed on a yellow background on a magazine cover or the like.
[0145]
In the present embodiment, a solid color portion is discriminated in order to solve the above problem as the extraction process of the black character misidentification region. And even if it is a case where it determines with the said black character, the determination is canceled about the part determined to be this solid part. This realizes more reliable black character determination.
[0146]
The colored solid portion is a non-edge portion and is a pixel in the color mode area, and pixels having lower brightness exist within a predetermined range within a certain level. Based on this feature, the determination of the solid color portion is executed as follows. First-order differential filter result FL17-10And second derivative filter result FL27-20In the edge determination comparators 1523 and 1524, the third edge reference level EDGref37-30And 4th edge reference level EDGref47-40When the value is lower than the value of OR, the OR gate 1534 outputs an “L” -BETA1 signal indicating that the pixel is a non-edge pixel. The saturation determination comparator 1530 also outputs saturation data WS.7-0Is the predetermined reference value WREF27-20If it is smaller, the comparator 1530 outputs an “L” -COL signal indicating that this portion is color data. Further, the lightness determination comparator 1531 outputs lightness data V17-10Is the predetermined reference value Vref17-10Is less than -L of "L"1Output a signal. The OR gates 1538 are respectively “L” −BETA 1 signal, −COL signal and −VL.1In response to the signal input, an “L” -CAN signal is output, which means that the pixel is a non-edge portion, a pixel in the color mode area, and a pixel with lower brightness. This part is regarded as a chromatic flat part of the non-background part. The next counter 1542 counts the number of “L” -CAN signals in units of 9 × 9 pixels. The count determination comparator 1543 receives count result data Cnt input from the counter 1542.15-10Is the reference value Cntref7-0If it is smaller than that, an “L” -BKEGON signal is output.
[0147]
The OR circuit 1544 receives the -BKEG signal and -BKEGON signal. The BKEG signal is delayed by a delay circuit 1541 so that a signal for the same pixel is input to the OR gate 1544. Even when the “L” −BKEG signal indicating the determination result that the edge is a black edge is input to the OR gate 1544, the color data exists within a predetermined range within a predetermined reference value, If it is determined that the portion is a solid portion, an “H” -BKEGON signal is input, the determination of the black edge portion is canceled, and an “H” -PAPA signal is output. In the present embodiment, edge enhancement processing is executed only when black characters are drawn on an achromatic background. When the pixel determined to be a solid portion within a predetermined range does not satisfy the predetermined reference value, the determination that the pixel is a black edge portion is maintained and an “L” -PAPA signal is output.
[0148]
(b-11-4) Discrimination of halftone dot area
As shown in FIG. 47, the data output from the line memory 1502 is input to the white halftone dot detection filter 1510 and the black halftone dot detection filter 1511. As shown in FIG. 57, each filter has a certain level (AMIREF) of the target pixel with respect to the average of two pixels before and after the eight directions surrounding the target pixel X.70) Is larger (white halftone dot) or smaller (black halftone dot) in all directions, and when the pixel of interest is larger than the surrounding eight pixels to make an isolated point, It is determined as a point (−WAMI = “L”), and when all are smaller, it is determined as a black halftone dot (−KAMI = “L”).
[0149]
Specifically, the white halftone dot detection filter 1510 shown in FIG. 47 satisfies only the conditional expressions shown in the following “Equation 18” and all the conditional expressions shown in the following “Equation 19”. The “W” signal of “L” is output.
[Expression 18]
X- (a11+ A22) / 2> AMIREF7-0
X- (a31+ A32) / 2> AMIREF7-0
X- (a51+ A42) / 2> AMIREF7-0
X- (a53+ A43) / 2> AMIREF7-0
X- (a55+ A44) / 2> AMIREF7-0
X- (a35+ A34) / 2> AMIREF7-0
X- (a15+ A24) / 2> AMIREF7-0
X- (a13+ A23) / 2> AMIREF7-0
[Equation 19]
X> a22
X> a32
X> a42
X> a43
X> a44
X> a34
X> a24
X> a23
[0150]
Further, the black halftone dot detection filter 1511 satisfies “L” −KAMI only when each conditional expression shown in the following “Expression 20” is satisfied and all the conditional expressions shown in the following “Expression 21” are satisfied. Output a signal.
[Expression 20]
X- (a11+ A22) / 2 <AMIREF7-0
X- (a31+ A32) / 2 <AMIREF7-0
X- (a51+ A42) / 2 <AMIREF7-0
X- (a53+ A43) / 2 <AMIREF7-0
X- (a55+ A44) / 2 <AMIREF7-0
X- (a35+ A34) / 2 <AMIREF7-0
X- (a15+ A24) / 2 <AMIREF7-0
X- (a13+ A23) / 2 <AMIREF7-0
[Expression 21]
X <a22
X <a32
X <a42
X <a43
X <a44
X <a34
X <a24
X <a23
[0151]
The -WAMI signal and -KAMI signal output from the white and black halftone dot detection filters 1510 and 1511 are input to the counters 1550 and 1551 shown in FIG. 48, respectively. Counters 1550 and 1551 count the number of “L” signals of each signal in the 41 × 9 pixel matrix. Counter values output from the counters 1550 and 1551 are input to the maximum value detection circuit 1552. In the maximum value detection circuit 1552, the larger one of the input counter values is determined as the number of halftone dots (Amicnt).7-0). Amicnt7-0Are input to four halftone dot number determination comparators 1553 to 1556. In each of the comparators 1553 to 1556, as shown in FIG.17-10, CNTREF27-20, CNTREF37-30, CNTREF47-40). Each comparator 1553-1556 is an Amicnt7-0Is the halftone dot reference level (CNTREF17-10, CNTREF27-20, CNTREF37-30, CNTREF47-40When the signal is greater than (), an "L" signal (-AMI0, -AMI1, -AMI2, -AMI3) is output.
[0152]
(b-11-5) Other discrimination
Lightness data V7-0Is input to the lightness determination comparator 1532 shown in FIG. 48, and the second lightness reference level VREF is input.27-20Compare with Here, brightness data V7-0Is the second brightness reference level VREF27-20If the value is greater than “−”, a “−VH1” signal indicating that this portion is a highlight portion is output. Further, as in the case of black determination, the non-edge portion is determined. First-order differential filter result FL17-10And second derivative filter result FL27-20In the edge determination comparators 1527 and 1528, the seventh edge reference level EDGref77-70And 8th edge reference level EDGref87-80When the value is lower than the value, the OR gate 1536 outputs an “L” -BETA2 signal indicating that the pixel is a non-edge pixel. The OR gate 1539 outputs an “L” signal indicating that the corresponding portion is a highlight flat portion in response to the inputs of the “L” −VH1 signal and the −BETA2 signal, respectively. This signal is delayed by a delay circuit 1546 and output as a -HLIGHT signal.
[0153]
Also, the result FL of the first-order differential filter17-10And second derivative filter result FL27-20Is input to the edge determination comparators 1525 and 1526, and the fifth edge reference level EDGREF57-50And 6th edge reference level EDGREF67-60If it is larger, an AND gate 1535 outputs an “L” -EG2 signal indicating an edge portion. The −EG2 signal is delayed by the delay circuit 1545 and output as the −MAMA signal.
[0154]
(b-12) MTF correction unit
60 and 61 are diagrams showing the configuration of the MTF correction unit 1600. FIG. The MTF correction unit 1600 includes pixel types recognized by region discrimination results (-AMI0 to -AMI3, -MAMA, -PAPA, -EDG, -HLIGHT) by the region discrimination unit 1500, and status signals (MODE, -CMY / Pixel data (MVIDEO) based on the print status recognized by K, -BKER, -CLER)7-0Or VIDEO7-0) For the most appropriate edge enhancement and smoothing. Further, the laser light emission duty ratio in units of one pixel clock cycle is changed according to the recognized pixel type. Here, the light emission duty ratio refers to a ratio of a laser light emission period in a case where a period in which laser light emission is not performed during one cycle of the pixel clock is provided. Further, a predetermined value is added to the pixel data of the rising and falling edges of the edge, and the toner is excessively applied and rising at the rising edge of the edge that occurs when the toner image formed on the photosensitive drum 41 is transferred onto the copy paper. Corrects the faintness of the toner at the falling part.
[0155]
The MTF correction unit 1600 recognizes the color of the toner currently being printed from the -CMY / K signal. When CMY / K = “L”, it is recognized that the printing process is being performed for C (cyan), M (magenta), and Y (yellow) toner. When -CMY / K = “H”, it is recognized that the printing process for the BK (black) toner is being performed. From the three signals MODE, -BKER, and -CLER, the full color standard mode (-BKER = "H", -COLER = "H", MODE = "H"), full color photo mode (-BKER = "H") , -COLER = "H", MODE = "L"), mono color standard mode (-BKER = "H",-COLER = "L", MODE = "H"), mono color photo mode (-BKER = " H ",-COLER =" L ", MODE =" L "), monochrome standard mode (-BKER =" L ",-COLER =" L ", MODE =" H "), or monochrome photo mode (-BKER = It recognizes which mode is set, "L", -COLER = "L", MODE = "L"). Further, based on the region discrimination result, the type of pixels to be printed is the highlight flat part (-HLIGHT = "L"), non-edge part (-HLIGHT = "H", -EDG = "H", -PAPA = "H") pixel, color edge part (-HLIGHT = "H",-EDG = "L",-PAPA = "H") pixel and black edge part (-HLIGHT = "H",- It recognizes which pixel is EDG = "L", -PAPA = "L"). The MTF correction unit 1600 will be described below with reference to the configuration diagrams shown in FIGS. 60 and 61 after describing the MTF correction executed for various pixels when each mode is set.
[0156]
(b-12-1) MTF correction when full color standard mode is set (-BKER = "H",-COLER = "H", MODE = "H")
Table 5 below shows the level of each data signal input to the MTF correction parameter control unit 1601 when the full-color standard mode is set, the printing status that each signal level means, and the MTF parameter control unit 1601 in this case. The output signal levels of DMPX0, DMPX1, DMPX5, and DMPX6 are displayed.
[Table 5]
Figure 0003729131
[0157]
(b-12-1-1) Black edge (-HLIGHT = "H",-EDG = "L",-PAPA = "L")
(b-12-1-1-1) BK printing process in progress (-CMY / K = "H")
During the BK (black) toner printing process when the full color standard mode is set, normal image data SD is used for the pixels at the black edge.7-0Brightness edge component VMTF7-0VIDEO with the data added37-30Output as. Here, density edge component DMTF7-0Instead of brightness edge component VMTF7-0The lightness edge component is more sensitive to the image edge from the background than the density edge component. Here, when a pixel constitutes a halftone image, an edge enhancement amount (brightness edge component VMTF) according to the degree (halftone density).7-0Value). This prevents the occurrence of moire that occurs when the halftone image is edge-enhanced.
[0158]
(b-12-1-1-2) C, M, Y printing process in progress (-CMY / K = "L")
Edge enhancement is not performed for the pixels at the black edge in the C, M, Y printing process, and the smallest value data MIN in the 5 × 5 or 3 × 3 pixel matrix.7-0VIDEO37-30Output as. In this way, by setting the minimum value data in the predetermined matrix as C, M, Y image data, the fine data of the C, M, Y data shown in the portion surrounded by the broken line in FIG. The protruding line is deleted, and the state is changed to the state shown in the part surrounded by the broken line in FIG. The minimum value data MIN in a predetermined matrix for erasing the fine protruding lines of the C, M, Y data shown in the portion surrounded by the broken line in FIG.7-0Is used for the following reason.
[0159]
Conventionally, in order to erase the fine protruding line, the edge detection result (FL in this embodiment) is obtained from the values of the C, M, and Y image data.17-10Or FL27-20There is a copying machine that uses data obtained by subtracting ()) as C, M, and Y image data. However, in the conventional copying machine, the value of CMY data around the edge portion of the black character becomes 0, and there is a problem that white spots occur around the edge portion of the black character as shown in FIG. there were.
[0160]
Therefore, in the present embodiment, the minimum value data MIN in the predetermined matrix.7-0As shown in FIG. 68B, only the values of the C, M, and Y image data inside the black character are set to zero. As a result, as shown in FIG. 69 (b), it is possible to print black characters with no white spots and with edge enhancement.
[0161]
(b-12-1-2) Color edge (-HLIGHT = "H",-EDG = "L",-PAPA = "H")
As described above, in the area determination 1500 according to the present embodiment, the processing of “(b-11-3) extraction of black character erroneous determination area” is executed to distinguish the edge portion of the color character and the black character. The MTF correction unit 1600 does not perform edge enhancement during the BK toner printing process for pixels at the color edge portion when the full color standard mode is set, and performs normal pixel data SD.7-0VIDEO37-30Output as. Also, during the printing process of C, M, Y, the pixel data SD7-0Concentration edge component data DMTF7-0VIDEO with the data added37-30Output as. The MTF correction unit 1600 cancels the edge enhancement during the BK printing process on the pixel data of the edge portion of the color character. This eliminates the fact that the edge-enhanced character is bordered in black.
[0162]
(b-12-1-3) Highlight flat part (-HLIGHT = "L")
In the highlight flat part, the edge is not emphasized and smoothed FSD7-0The image data VIDEO37-30Used as This makes the noise in the highlight portion inconspicuous.
[0163]
(b-12-1-4) Non-edge part (-HLIGHT = "H",-EDG = "H",-PAPA = "H")
In the non-edge portion, that is, the solid color portion, edge enhancement is not performed, and normal pixel data SD7-0VIDEO37-30Output as.
[0164]
(b-12-2) MTF correction when full color photo mode is set (-BKER = "H",-COLER = "H", MODE = "L")
Table 6 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the full color photographic mode is set, the printing status that each signal level means, and the MTF parameter control unit 1601 in this case. Each signal level of DMPX0, DMPX1, DMPX5, and DMPX6 is displayed.
[Table 6]
Figure 0003729131
[0165]
(b-12-2-1) Black edge (-HLIGHT = "H",-EDG = "L",-PAPA = "L") and color edge (-HLIGHT = "H",-EDG = " L ",-PAPA =" H ")
When the full color photo mode is set, the data FSD that has been subjected to the smoothing process so as not to impair the gradation characteristics of the halftone pixels.7-0Concentration edge component data DMTF7-0Is the pixel data VIDEO37-30Output as. By executing such edge enhancement processing, appropriate edge enhancement is realized without destroying the gradation characteristics.
[0166]
(b-12-2-2) Highlight flat part (-HLIGHT = "L")
In the highlight portion, the edge enhancement is not performed during the printing process of C, M, Y, and BK, and the smoothed FSD is performed.7-0Pixel data VIDEO37-30Output as. This makes the noise in the highlight portion inconspicuous.
[0167]
(b-12-2-3) Non-edge part (-HLIGHT = "H",-EDG = "H",-PAPA = "H")
For non-edge portions, that is, colored solid portions, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and smoothed FSD is performed.7-0VIDEO37-30Output as. This maintains the tone characteristics of the photographic image.
[0168]
(b-12-3) MTF correction when mono color standard mode is set (-BKER = "H",-COLER = "L", MODE = "H")
Table 7 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the mono-color standard mode is set, the printing status that each signal level means, and the output from the MTF parameter control unit 1601 in this case. The signal levels of DMPX0, DMPX1, DMPX5, and DMPX6 are displayed.
[Table 7]
Figure 0003729131
[0169]
(b-12-3-1) Edge part (-HLIGHT = "H",-EDG = "L")
During the BK printing process when the monochrome standard mode is set, edge enhancement is not performed and normal pixel data SD is used.7-0VIDEO37-30Output as. In addition, during the C, M, Y printing process, the normal pixel data SD7-0Concentration edge component data DMTF7-0VIDEO with the addition of37-30Output as. This prevents the edge portion of the color character from being blackened.
[0170]
(b-12-3-2) Highlight flat part (-HLIGHT = "L") and non-edge part (-HLIGHT = "H",-EDG = "H")
In the highlight flat part, the edge emphasis process is not performed during the printing process of C, M, Y, and BK, and the smoothed FSD is performed.7-0VIDEO37-30Output as. This makes the noise in the highlight portion inconspicuous. Further, edge enhancement is not performed on non-edge portions, that is, colored solid portions, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and smoothing processing is performed on FSD.7-0VIDEO37-30Output as.
[0171]
(b-12-4) MTF correction when mono color photo mode is set (-BKER = "H",-COLER = "L", MODE = "L")
Table 8 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the mono color photographic mode is set, the printing status that each signal level means, and the output from the MTF parameter control unit 1601 in this case. The signal levels of DMPX0, DMPX1, DMPX5, and DMPX6 are displayed.
[Table 8]
Figure 0003729131
[0172]
(b-12-4-1) Edge (-HLIGHT = "H",-EDG = "L")
When the mono color photographic mode is set, smoothed data FSD is applied as pixel data so as not to impair the gradation characteristics of the halftone pixels.7-0Is used. Edge emphasis is applied to data FSD only during C, M, and Y print processing.7-0Density edge enhancement component DMTF7-0Is added. By doing so, the edge portion of the color character is prevented from being blackened.
[0173]
(b-12-4-2) Highlight flat part (-HLIGHT = "L") and non-edge part (-HLIGHT = "H",-EDG = "H")
In the highlight flat part, the edge emphasis process is not performed during the printing process of C, M, Y, and BK, and the smoothed FSD is performed.7-0VIDEO37-30Output as. This makes the noise in the highlight portion inconspicuous. For non-edge portions, that is, color solid portions, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and smoothed FSD is performed.7-0VIDEO37-30Output as.
[0174]
(b-12-5) MTF correction when monochrome standard mode is set (-BKER = "L", MODE = "H")
Table 9 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the monochrome standard mode is set, the printing status that each signal level means, and the MTF parameter control unit 1601 in this case. Each signal level of DMPX0, DMPX1, DMPX5, and DMPX6 is displayed.
[Table 9]
Figure 0003729131
[0175]
(b-12-5-1) Edge (-HLIGHT = "H",-EDG = "L")
When the monochrome standard mode is set, normal data SD is used as pixel data.7-0And edge enhancement is applied to the brightness edge component VMTF during the BK printing process.7-0The above data SD7-0Add to. Edge enhancement is not performed during the C, M, Y printing process.
[0176]
(b-12-5-2) Highlight flat part (-HLIGHT = "L") and non-edge part (-HLIGHT = "H",-EDG = "H")
In the highlight flat part, the edge emphasis process is not performed during the printing process of C, M, Y, and BK, and the smoothed FSD is performed.7-0VIDEO37-30Output as. This makes the noise in the highlight portion inconspicuous. For non-edge portions, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and normal data SD is used.7-0VIDEO37-30Output as.
[0177]
(b-12-6) MTF correction when monochrome photo mode is set
Table 10 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the monochrome photo mode is set, the printing status that each signal level means, and the MTF parameter control unit 1601 in this case. Each signal level of DMPX0, DMPX1, DMPX5, and DMPX6 is displayed.
[Table 10]
Figure 0003729131
[0178]
When the monochrome photo mode is set, the data FSD that has been subjected to smoothing processing as image data in order not to impair the gradation characteristics of the halftone pixels.7-0Is used. Edge enhancement is performed on the data FSD subjected to the above smoothing processing.7-0Concentration edge component data DMTF7-0Is added. In the highlight flat part and the non-edge part, the data FSD subjected to the smoothing process as the image data so as not to impair the gradation characteristics of the halftone pixels.7-0Is used.
[0179]
(b-12-7) Description of MTF correction unit 1600
Next, MTF correction performed by the MTF correction unit 1600 will be described based on the configuration of the MTF correction unit 1600 shown in FIGS. The MTF correction parameter control unit 1601 receives the 1-bit -AMI0 signal to -AMI3 signal, -HLIGHT signal, -EDG signal, -PAPA signal, and -MAMA signal from the area determination unit 1500 described above. . Further, the 1-bit MODE signal, -CMY / K signal, -BKER signal, and -CLER signal are input to the control unit 1601. The MODE signal is a signal representing the type of document, and is “L” in the photo mode and “H” in the normal mode. The -CMY / K signal is a status signal indicating the printing status, and is "L" during the printing process for C (cyan), M (magenta), and Y (yellow) toner, and BK (black) toner. “H” during the printing process. The -BKER signal is a signal requesting to execute signal processing in the monochrome mode. The -CLER signal is a 1-bit signal that requires signal processing in the mono color mode. The −BKER signal and the −CLER signal are area signals. The MTF correction parameter control unit 1601 outputs DMPX0 to DMPX6 as shown in the above “Table 5” to “Table 10” based on the values of the above-described eight types of signals, and the following “Table 11”. LIMOS is output as shown in FIG.
[Table 11]
Figure 0003729131
[0180]
The LIMOS signal is a signal for changing the light emission duty ratio of the laser diode with respect to the image data. Here, the light emission duty ratio refers to a ratio of a laser light emission period in a case where a period in which laser light emission is not performed during one cycle of the pixel clock is provided. Further, the change of the light emitting duty ratio of the laser diode means that a non-light emitting period of a predetermined ratio is provided in one cycle of the pixel clock. FIG. 62 shows an LD drive signal having a non-emission duty of 100% generated corresponding to the value of image data sent in synchronization with the pixel clock, and an LD whose emission duty ratio is limited to 80% by a limit pulse. It is a figure which shows a drive signal. In the present embodiment, the light emission duty ratio is set to 100% when LIMOS = “L”. Further, the light emission duty ratio is set to 80% when LIMOS = “H”. As shown, when MODE = “H”, that is, when the standard mode is set, the edge portion (−MAMA = “L”) and the halftone dot portion (−AMI0 = “L”) are set to LIMOS = Set “L”. Thereby, the reproducibility of the edge portion and the halftone dot portion is improved. On the other hand, in the non-edge portion at the time of setting the standard mode and at the time of setting the photo mode, a non-light emission period is provided with LIMOS = "H". Thereby, the noise between lines generated in the main scanning direction is made inconspicuous.
[0181]
The MODE signal, -CMY / K signal, -BKER signal, and -CLER signal are input as they are to the NAND gate 1602, and the -PAPA signal is inverted and then input to the NAND gate 1602. The NAND gate 1602 to which these five signals are input outputs the DMPX7 signal to the S terminal of the selector 1603. The NAND gate 1602 outputs a signal “L” only when the MODE signal, the −CMY / K signal, the −BKER signal, and the −CLER signal are “H” and the −PAPA signal is “L”. That is, the AND gate 1602 outputs an “L” signal to the S terminal of the selector 1603 only when the full color standard copy mode is set and during the BK printing process of the black edge portion. The selector 1603 receives the density data VIDEO in response to the input of the “H” signal.7-0And the brightness data MVIDEO subjected to the masking process for the input of the “L” signal.
[0182]
The A terminal of the selector 1603 has masked image data MVIDEO.7-0Are input in the order of C, M, Y, and K, and the density-converted VIDEO is input to the B terminal.7-0Data is input in the order of C, M, Y, K. Data output from the selector 1603 is transmitted through a line memory 1604 that forms 5 × 5 matrix data, respectively, and a Laplacian filter 1605, smoothing filters 1607 to 1609, a 5 × 5 matrix minimum value detection filter 1612, and a 3 × 3 matrix minimum. The value is input to the value detection filter 1613 and the printer edge correction unit 1615.
[0183]
A Laplacian filter 1605 is a filter shown in FIG. 63, and converts the data of the pixel of interest located at the center into emphasized data. Data output from the Laplacian filter 1605 is input to the next DMTF table 1606. The DMTF table 1606 executes the conversion shown in FIG. 64 and performs density edge component data DMTF.7-0Is output.
[0184]
The smoothing filters 1607 to 1609 are filters that smooth the input data to the equivalent of 300 dpi, 200 dpi, and 100 dpi, respectively. For example, the filters shown in FIGS. 65 to 67 are used. Each data subjected to the smoothing process by each filter is input to the smoothing filter control unit 1610 together with the unsmoothed data. The smoothing filter control unit 1610 outputs a sharpness switching signal SH output from the HVC conversion unit 1100.2-0Is entered. This sharpness switching signal SH2-0These are signals set by the image quality control circuit 1103 shown in FIG. The smoothing filter control unit 1610 receives the input sharpness switching signal SH.2-0The corresponding data is selected from the data that has not been smoothed according to the value of the data and the data that has been smoothed by the smoothing filters 1607 to 1609 to select SD.7-0Output as. Sharpness switching signal SH2-0Are the eight types of edge enhancement coefficients ED output from the edge enhancement coefficient control unit 1611.7-0Can be switched in real time (for each pixel), and a plurality of sharpnesses can be changed up to 8 areas simultaneously.
[0185]
The 5 × 5 matrix minimum value detection filter 1612 and the 3 × 3 matrix minimum value detection filter 1613 are filters that output the minimum value of data in the matrix when the pixel of interest is arranged at the center of each matrix. The minimum value data output from the minimum value detection filters 1612 and 1613 is input to the selector 1614. The selector 1614 selects any one of the inputted minimum value data according to the value of the filter selection signal FSEL2, and the MIN7-0Output as. Filter selection signal FSEL7-0The value of is determined experimentally. As described above, if the minimum value data in the predetermined pixel matrix is used as the data of the pixel of interest, the character portion with a thin line is deleted. That is, the fine protrusion lines of the C, M, and Y data shown in the part surrounded by the broken line in FIG. 68A are erased, and the state shown in the part surrounded by the broken line in FIG. change. The minimum value data MIN in a predetermined matrix for erasing the fine protruding lines of the C, M, Y data shown in the portion surrounded by the broken line in FIG.7-0Is used for the following reason.
[0186]
Conventionally, in order to erase the fine protruding line, the edge detection result FL is calculated from the value of the CMY data.17-10Or FL27-20Some copying machines use data obtained by subtracting as C, M, and Y image data. However, in the conventional copying machine, the value of the CMY data around the edge portion of the black character becomes 0, and white spots appear around the edge portion of the black character as shown in FIG. Therefore, in the present embodiment, the minimum value data MIN in the predetermined matrix.7-0As shown in FIG. 68 (b), only the value of the CMY data inside the black character is set to zero. As a result, as shown in FIG. 69 (b), it is possible to print black characters with no white spots and with edge enhancement.
[0187]
The printer edge correction unit 1615 executes an edge correction process in consideration of print characteristics generated when the toner image formed on the photosensitive drum is transferred to copy paper. Here, the printing characteristics are, for example, that at the edge portion of a character, the same amount of toner should be attached to both ends of the edge, whereas a larger amount of toner is attached to the printing start position, On the other hand, at the end portion of the edge, the toner becomes faint. This occurs when the edge rise or fall is large and the data value of the pixel before the rise, which is the background, is considered to be almost zero. On the other hand, as shown in FIG. 70A, edge correction is performed by adding data in a region indicated by diagonal lines to edge portion data having a predetermined data value. In FIG. 70B, the solid line indicates the amount of toner adhering to the paper before correction, and the dotted line indicates the amount of toner adhering to the paper after correction. As shown in the figure, after the correction, excessive toner at the rising edge of the edge and toner fading at the falling edge are reduced.
[0188]
FIG. 71 is a configuration diagram of the printer edge correction unit 1615. The subtractor 1650 obtains a value obtained by subtracting the (L) -th data from the (L + 1) -th pixel data when the data of the center pixel is represented by (L). The subtractor 1651 obtains a value obtained by subtracting the (L) -th data from the (L-1) -th data. The comparator 1653 is configured such that the difference obtained by the subtracter 1650 is a predetermined reference value REF.17-10If the signal is larger than “L”, S0Output to the terminal. Further, the comparator 1654 determines that the difference obtained by the subtracter 1651 is a predetermined reference value REF.27-20If the signal is larger than “L”, S1Output to the terminal. The comparator 1652 also outputs the (L) th data and the reference value REF.37-30And compare. Here, the value of the (L) th data is the reference value REF.37-30If the signal is smaller than "L", S2Output to the terminal.
[0189]
S2, S1And S0When “L” is input to these three terminals, it can be seen that the pixel is in the valley of the edge as shown in FIG. In this case, the selector 1655 sends the addition data PD7-0ADD17-10Output as. S1The “H” signal is input to the terminal of0And S2When an “L” signal is input to the terminal of, it can be seen that the pixel is a rising edge of the edge as shown in FIG. In this case, the selector 1655 sends the addition data PD17-10ADD17-10Output as. S0The “H” signal is input to the terminal of1And S2When “L” is input to this terminal, as shown in FIG. 72C, it is understood that the pixel is a falling edge portion and is a pixel having a predetermined value or less. In this case, the selector 1655 sends the addition data PD27-20ADD17-10Output as. Selector 1655 is S2Terminal, S1Terminal and S0When each signal input to the terminal is other than the above combinations, all data with a value of 0 is added.17-10Output as.
[0190]
Further, the MTF correction executed by the MTF correction unit 1600 will be described based on the configuration of the MTF correction unit shown in FIG. The selector 1616 and the selector 1617 shown in the figure, as described above, have brightness edge component data VMTF according to the type of pixel in the printing process.7-0, Density edge component data DMTF7-0Alternatively, the edge enhancement component data USM is selected by selecting appropriate data from the edge enhancement amount 0 data.7-0Output as. DMPX0 and DMPX1 output from the MTF correction parameter control unit 1610 are input to the selector 1616 and the selector 1617, respectively. DMPX0 and DMPX1 are output as shown in Tables 5 to 10 described above according to the type of pixel in the printing process when each mode is set.
[0191]
Further, the selector 1622 and the selector 1623 are based on the halftone discrimination results -AMI0 to -AMI3 input from the area discrimination unit 1500, and the edge enhancement coefficient ED.7-0Is suppressed and output. Edge enhancement coefficient ED input to D terminal of selector 16227-0Is a signal set by the CPU 1 and is a coefficient for controlling the degree of edge enhancement (sharpness). Further, the A terminal to the C terminal of the selector 1623 are respectively connected to the coefficient ED.7-0Data obtained by multiplying the signal by a factor of 1/4, 2/4, or 3/4 is input. From the MTF correction parameter control unit 1601, DMPX2 and DMPX3 are input to the selector 1622, and DMPX4 is input to the selector 1623. DMPX2 to DMPX4 are output based on the values of -AMI0 to -AMI3 as shown in the following "Table 12." When all of -AMI0 to -AMI3 are "H", that is, when it is determined by the area determination unit 1500 that the image is not a halftone image, the edge enhancement coefficient ED7-0ED as it is17-10To the calculator 1618. As described above, the region discriminating unit 1500 sequentially switches -AMI0, -AMI1, -AMI2, and -AMI3 to "L" and outputs them as the degree of halftone dots increases. The MTF correction parameter control unit 1601 selects and outputs the data input to the A terminal to C terminal according to the halftone dot degree.
[Table 12]
Figure 0003729131
The calculator 1618 calculates the edge enhancement amount USM.7-0Edge enhancement coefficient ED17-10The data obtained by multiplying the edge enhancement amount USM17-10Output as.
[0192]
DMPX5 and DMPX6 output from the MTF correction parameter control unit 1601 are input to the selector 1626 and the selector 1627, respectively. Here, the image data used for printing is converted into normal pixel data SD according to the type of pixel in the printing process.7-0, Smoothed data FSD7-0Data MIN output from selector 1614 shown in FIG.7-0Select from VIDEO17-10Output as. The DMPX 5 and the DMPX 6 are output as shown in “Table 5” to “Table 10” described above according to the type of the pixel that is being printed at the time of setting each mode.
[0193]
The adder 1624 generates an edge enhancement amount USM17-10Pixel data VIDEO1 7-10And add this to VIDEO27-20Output as. The adder 1628 is a VIDEO27-20Added data ADD output from the printer edge correction unit 161517-10And add this to VIDEO37-30Output as. As explained before, the addition data ADD17-10Is data to be added to pixel data at the rising or falling edge of the edge.
[0194]
(b-13) Gamma correction part
Image data (VIDEO) after MTF correction37-30) Is input to the γ correction unit 1700 shown in FIG. The γ correction unit 1700 changes the γ curve according to the user's preference, changes the data to desired image quality, and outputs the data. VIDEO37-30Is the γ curve switching signal GA2-0At the same time, it is input to the γ correction table 1702. γ curve switching signal GA2-0These are signals set by the image quality control circuit 1103 shown in FIG. The γ correction table 1702 includes a γ curve switching signal GA.2-08 kinds of gradation curves can be switched in real time using the BANK signal of the table. The eight types of gradation curves are shown in FIGS. FIG. 74 shows the γ curve switching signal GA when the brightness adjustment mode is set.2-0The gradation curve corresponding to the value of is shown. FIG. 75 shows the γ curve switching signal GA when the contrast adjustment mode is set.2-0The gradation curve corresponding to is shown. In the γ correction table 1702, the γ curve switching signal GA2-0VIDEO according to the gradation curve selected by37-30Data Din7-0Data Dout corresponding to7-0VIDEO47-40Output as.
[0195]
VIDEO output from the gamma correction table 170247-40In the calculators 1703 and 1704, the calculation shown in the following “Expression 22” is performed.
[Expression 22]
VIDEO77-70= (VIDEO47-40-UDC7-0) X GDC7-0/ 128
 (However, if the value exceeds 256, VIDEO77-70= 256. ) Here, the background removal data UDC7-0And tilt correction data GDC7-0As shown in Table 13 below, CO2-08 types of data output by the color balance control unit 701 corresponding to.
[Table 13]
Figure 0003729131
[0196]
FIG. 76 shows CO2-0VIDEO in each case of 1 to 747-40And VIDEO77-70It is a graph which shows the relationship. As shown in FIG. 77, VIDEO47-40In contrast, the background removal data UDC7-0, And tilt correction data GDC7-0Correct the tilt by the minute.
[0197]
【The invention's effect】
In the image processing apparatus of the present invention, it is possible to eliminate excessive toner generated at the rising portion of the edge and blurring of the toner generated at the falling portion with reference to the direction in which the conveying unit conveys the sheet to the transfer unit.
[Brief description of the drawings]
FIG. 1 is a sectional view of a configuration of a digital color copying machine according to an embodiment.
FIG. 2 is a front view of an operation panel 25. FIG.
FIG. 3 is a processing block diagram of a read signal processing unit 20;
4 is a processing block diagram of a read signal processing unit 20. FIG.
5 is a configuration diagram of an A / D conversion unit 300. FIG.
6 is a block diagram of a shading correction unit 400. FIG.
FIG. 7 is a graph showing a relationship of 12-bit reciprocal conversion data Dout output from the reciprocal conversion table 406 with respect to 8-bit input data Din.
FIG. 8 is a diagram showing a configuration of a CCD image sensor 14;
9 is a configuration diagram of an inter-line correction processing unit 501 and an interpolation processing unit 502. FIG.
10 shows a -FIFOEN signal, a -FRES1 signal, a -FRES2 signal, a -FRES3 signal, and R, G, B data input / output to / from the interline correction processing unit 501. It is a time chart which shows.
FIG. 11: R output from field memory 50427-20Data and G output from the field memory 50527-20Data and B27-20It is a figure which shows about the shift | offset | difference of the data regarding the reading position with data.
12 is a block diagram showing a configuration of an AE processing unit 600. FIG.
13 is a diagram showing a configuration of a histogram generation unit 602. FIG.
FIG. 14 is a diagram showing a density histogram of a certain document.
15 is a diagram illustrating a configuration of a document size detection unit 650. FIG.
FIG. 16 is a diagram showing a relationship between a document placed on a platen glass and each signal in a document size detection unit 650.
17 is a diagram showing a relationship between a document placed on a platen glass and a DCLR1 signal output from a scaling / movement processing circuit 801. FIG.
FIG. 18 is a flowchart of AE processing executed by CPU 1;
FIG. 19 is a flowchart of AE processing executed by CPU 1;
FIG. 20 is a flowchart of AE processing executed by the CPU 1;
FIG. 21 shows a configuration of a scaling / movement processing unit 800 to which R data, G data, and B data are respectively input.
FIG. 22A shows a portion other than the original sheet placed on the original table glass 15, and FIG. 22B shows a margin portion generated by reducing the original.
23A shows read data D1, D2,... At a density of 400 dpi, FIG. 23B shows read data D1 ′, D2 ′,... At a density of 200 dpi, and FIG. FIG. 4 is a diagram showing read data D1 ″, D2 ″,... When data read at 400 dpi is thinned in half and used as 200 dpi.
FIG. 24 is a diagram illustrating a timing relationship of each signal when a read image is output at an equal magnification.
FIG. 25 is a diagram illustrating a timing relationship of each signal when a read image is output in the main scanning direction by X times (where X> 1).
FIG. 26 is a diagram illustrating a timing relationship of each signal when a read image is output in the main scanning direction by X times (where X <1).
FIGS. 27A and 27B are diagrams illustrating left and right movement of an image of a read document.
FIG. 28A shows the waveforms of −WRST1 and −RRST2 and the waveforms of −WRST2 and −RRST1 input to the scaling memories 1 and 2 from the scaling / movement control unit 801, and FIG. ) Shows the waveform of each signal (Din, -WE1, -WE2, -RE1, -RE2, Dout) output in synchronization with the waveform of (a), and (c) shows the -WE1, 2 signals. It is a figure which shows the waveform at the time of delaying the timing switched to "L".
FIG. 29 is a diagram showing image repeat in which an image of a read document is output a plurality of times on one copy sheet.
FIG. 30 is a time chart showing the timing of each signal when performing image repeat.
31 is a diagram showing processing blocks constituting the HVC conversion unit 1100. FIG.
FIG. 32: Lightness signal (V7-0), Color difference signal (WR7-0, WB7-0A) used when seeking1, A2It is a flowchart at the time of determining the coefficient value.
FIG. 33 Color difference signal (WR7-0, WB7-0) On the orthogonal coordinate axis of the hue plane in the color space.
34 is a diagram illustrating a circuit configuration of an image quality control circuit 1103. FIG.
FIG. 35 is a diagram illustrating a relationship between an image printed on a copy sheet by the image quality monitor function and each signal in the image quality control circuit 1103.
FIG. 36: Masking coefficient switching signal MA2-0It is a figure which shows the relationship between this value and color circulation.
FIG. 37: Color balance switching signal CO2-0It is a figure which shows the relationship between this value and color circulation.
FIG. 38 is a diagram illustrating a state of color circulation when performing saturation adjustment.
FIG. 39 is a diagram illustrating a configuration of a density conversion unit 1200.
40 is a diagram showing data conversion in the LOG tables 1201 to 1203. FIG.
41 is a diagram showing a configuration of a UCR / BP processing unit 1300. FIG.
FIGS. 42A and 42B are diagrams for explaining UCR / BP processing; FIGS.
FIG. 43 is a diagram showing a UCR table.
44 is a diagram showing a configuration of a color correction unit 1400. FIG.
FIG. 45 is a diagram illustrating spectral characteristics of a G filter.
FIG. 46 is a diagram illustrating spectral characteristics of M toner.
47 is a diagram showing a configuration of an area determination unit 1500. FIG.
48 is a diagram showing a configuration of an area determination unit 1500. FIG.
49A is a diagram showing the brightness distribution of five lines having different thicknesses, FIG. 49B is a diagram showing a first-order differential result of each line in FIG. 49A, and FIG. It is a figure which shows the secondary differential result of each line of a).
FIG. 50 is a diagram showing a primary differential filter 1503 in the main scanning direction.
FIG. 51 is a diagram showing a primary differential filter 1504 in the sub-scanning direction.
52 is a diagram showing a second-order differential filter 1508. FIG.
FIG. 53 shows the saturation data W even though it is a black pixel because the phases of the R, G, and B data are slightly shifted.7-0The value of the saturation data W7-0WS obtained by smoothing7-0FIG.
54 is a diagram showing a smoothing filter 1515. FIG.
FIG. 55 is a diagram showing a WREF table.
FIG. 56: RGB image data and saturation data W of a region that is easily misidentified as a black character7-0FIG. 4 is a diagram illustrating color difference signals WR and WB.
FIG. 57 is a diagram illustrating the positions of two pixels before and after eight directions surrounding the target pixel X in the white halftone dot detection filter 1510 and the black halftone dot detection filter 1511;
FIG. 58 is a four-step halftone dot determination reference level (CNTREF).17-10, CNTREF27-20, CNTREF37-30, CNTREF47-40) And -AMI0 to -AMI3.
FIG. 59 is a diagram showing a VMTF table.
60 is a diagram showing a configuration of an MTF correction unit 1600. FIG.
61 is a diagram showing a configuration of an MTF correction unit 1600. FIG.
FIG. 62 shows an LD drive signal with a light emission duty ratio of 100% generated corresponding to the value of image data sent in synchronization with a pixel clock, and an LD with a light emission duty ratio limited to 80% by a limit pulse. It is a figure which shows a drive signal.
FIG. 63 is a diagram showing a Laplacian filter 1605;
FIG. 64 is a diagram showing a DMTF table 1606;
FIG. 65 is a smoothing filter that smoothes input 400 dpi data to an equivalent of 300 dpi.
FIG. 66 is a smoothing filter that smoothes input 400 dpi data to an equivalent of 200 dpi.
FIG. 67 is a smoothing filter that smoothes input 400 dpi data to an equivalent of 100 dpi.
FIG. 68 is a diagram illustrating a relationship between Bk data and C, M, and Y data at the time of black character edge enhancement.
69A shows an image reproduced on a copy sheet when the relationship between Bk data and C, M, Y data is shown in FIG. 69A, and FIG. 69B shows the above relationship. FIG. 69B shows an image reproduced on a copy sheet.
70A is a diagram when adding correction data indicated by diagonal lines to the edge portion of image data, and FIG. 70B is a solid line indicating the amount of toner adhering to a sheet before correction; The dotted line indicates the amount of toner adhering to the corrected paper.
FIG. 71 is a diagram illustrating a configuration of a printer edge correction unit 1615. FIG.
FIG. 72 (a) shows a case where PD is added to image data at a rising edge.7-0(B) shows the case where PD is added to the image data at the location between the edges and the valleys of the edges.17-10(C) shows the case where PD is added to the image data of the falling edge portion.27~20The case where is added is shown.
73 is a diagram showing a configuration of a γ correction unit 1700. FIG.
FIG. 74 is a diagram illustrating a γ correction table in a brightness adjustment mode.
FIG. 75 is a diagram illustrating a γ correction table in a contrast adjustment mode.
FIG. 76 CO2-0VIDEO in each case of 1 to 747-40And VIDEO77-70It is a graph which shows the relationship.
FIG. 77 VIDEO47-40In contrast, the background removal data UDC7-0, And tilt correction data GDC7-0It is a figure which shows the change of the graph in case inclination | tilt is correct | amended by part.
[Explanation of symbols]
100: Image reader unit
600 ... AE processing section
1100 ... HVC converter
1400: Color correction unit
1500 ... area discriminating unit
1600: MTF correction unit

Claims (1)

原稿のRGB画像データを読み取る読取手段と、
感光体と、
読み取られたRGB画像データに基づいて、感光体上にトナー像を形成する現像器と、
感光体上に形成されたトナー像を、所定の方向で搬送される用紙に転写する転写手段と、
上記転写手段に用紙を所定の方向で搬送する搬送手段と、
搬送手段が転写手段に用紙を搬送する方向を基準として、ある画素とその1つ前の画素との濃度差、ある画素とその1つ後の画素との濃度差、および、ある画素の濃度とをそれぞれ求め、ある画素の濃度が低くその前の画素との濃度差が小さくその後の画素との濃度差が大きい場合には当該画素がエッジの立ち上がり部分に該当する画素であると、また、ある画素の濃度が低くその前の画素との濃度差が大きくその後の画素との濃度差が小さい場合には当該画素がエッジの立ち下がり部分に該当する画素であると検出する検出手段と、
検出手段により検出されたエッジの立ち上がり部分に該当する画素と、エッジの立ち下がり部分に該当する画素とに、それぞれ所定の補正データを加算する補正データ加算手段とを備えることを特徴とする画像形成装置。
Reading means for reading RGB image data of a document;
A photoreceptor,
A developing unit that forms a toner image on the photoreceptor based on the read RGB image data;
Transfer means for transferring the toner image formed on the photoreceptor to a sheet conveyed in a predetermined direction;
Conveying means for conveying the paper in a predetermined direction to the transfer means;
The density difference between a certain pixel and the previous pixel, the density difference between a certain pixel and the next pixel, and the density of a certain pixel , based on the direction in which the conveying means conveys the sheet to the transfer means. When the density of a certain pixel is low and the density difference from the previous pixel is small and the density difference from the subsequent pixel is large, the pixel is a pixel corresponding to the rising edge of the edge. Detecting means for detecting that the pixel is a pixel corresponding to a falling portion of the edge when the density of the pixel is low and the density difference from the previous pixel is large and the density difference from the subsequent pixel is small ;
A pixel corresponding to the rising portion of the detected edge by the detecting means, in the pixels corresponding to the falling portion of the edge, each image forming, characterized in that it comprises a correction data adding means for adding a predetermined correction data apparatus.
JP2002004888A 2002-01-11 2002-01-11 Image forming apparatus Expired - Fee Related JP3729131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002004888A JP3729131B2 (en) 2002-01-11 2002-01-11 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002004888A JP3729131B2 (en) 2002-01-11 2002-01-11 Image forming apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP33981094A Division JP3289530B2 (en) 1994-11-18 1994-12-29 Image processing device

Publications (2)

Publication Number Publication Date
JP2002271634A JP2002271634A (en) 2002-09-20
JP3729131B2 true JP3729131B2 (en) 2005-12-21

Family

ID=19191039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002004888A Expired - Fee Related JP3729131B2 (en) 2002-01-11 2002-01-11 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP3729131B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5255946B2 (en) * 2008-08-06 2013-08-07 株式会社日立製作所 Content scheduling device

Also Published As

Publication number Publication date
JP2002271634A (en) 2002-09-20

Similar Documents

Publication Publication Date Title
JP3777785B2 (en) Image processing device
JP3626966B2 (en) Image processing device
US6567544B1 (en) Image processing apparatus
JP3772368B2 (en) Image processing device
JP3700381B2 (en) Image processing device
US6417932B1 (en) Image processor
EP0557099A1 (en) Image processing apparatus
US6721066B2 (en) Image processor
JP3713574B2 (en) Image processing apparatus, image processing method, and program
JP3609525B2 (en) Image processing device
JP3477858B2 (en) Image processing apparatus and image data processing method
JPH10341341A (en) Image processor
US6259811B1 (en) Image processing apparatus and method
JP3376081B2 (en) Image processing method and apparatus
JPH08149323A (en) Image processor
JP3723043B2 (en) Image processing apparatus, image reading apparatus, and image forming apparatus
JP4158345B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP3729131B2 (en) Image forming apparatus
JP3289530B2 (en) Image processing device
JP3176212B2 (en) Image processing device
JP3360456B2 (en) Image processing device
JPH08186728A (en) Image processor
JP3297452B2 (en) Image processing apparatus and image processing method
JP3306875B2 (en) Image forming device
JP3245883B2 (en) Image forming device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050104

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050307

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050307

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050307

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050926

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091014

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091014

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101014

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101014

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111014

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111014

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121014

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121014

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131014

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees