JP3754734B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method Download PDF

Info

Publication number
JP3754734B2
JP3754734B2 JP28042495A JP28042495A JP3754734B2 JP 3754734 B2 JP3754734 B2 JP 3754734B2 JP 28042495 A JP28042495 A JP 28042495A JP 28042495 A JP28042495 A JP 28042495A JP 3754734 B2 JP3754734 B2 JP 3754734B2
Authority
JP
Japan
Prior art keywords
color
image
recording
processing apparatus
component data
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
JP28042495A
Other languages
Japanese (ja)
Other versions
JPH09130613A (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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP28042495A priority Critical patent/JP3754734B2/en
Priority to EP96302786A priority patent/EP0739127B1/en
Priority to US08/634,989 priority patent/US5852454A/en
Priority to DE69615733T priority patent/DE69615733T2/en
Publication of JPH09130613A publication Critical patent/JPH09130613A/en
Application granted granted Critical
Publication of JP3754734B2 publication Critical patent/JP3754734B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は色処理を行う画像処理装置及び方法。
【0002】
【従来の技術】
現在知られる各種カラー記録方式には熱エネルギーによりインクリボンのインクを転写する熱転写方式、或いは記録液滴を飛翔させ、それを紙等の被記録部材に付着させて記録を行うインクジェット記録方式等が知られている。
【0003】
中でも、インクジェット記録法は記録時に騒音の発生がないノンインパクト記録方式であって、かつ高速記録が可能であり、しかも普通紙に特別の定着処理を必要とせずに記録を行える特徴を有する。
【0004】
従来はホストコンピュータ上でY、M、Cの各成分が高階調を有する状態でエッジ検出し、エッジ部を強調する処理を行い、2値化し、カラー記録装置における各記録剤に対応した2値画像データを該カラー記録装置に転送していた。
【0005】
【発明が解決しようとする課題】
しかしながら、従来は高階調を有する状態でエッジ検出するため、エッジ検出処理に非常に時間がかかった。
【0006】
本発明は、上述の点に鑑みてなされたものであり、黒画像のエッジ部を簡単な構成で高速に検出し、黒画像のエッジ部を高品位に再現できるようにすることを目的とする。
【0007】
【課題を解決するための手段】
本発明は上述の点に鑑みてなされたものであり、複数の色成分で構成されるM値の色画像データを入力する入力手段と、前記入力色画像データに基づき墨入れ処理を行い黒成分データを生成する墨入れ処理手段と、前記黒成分データに対してN値(M>N)化処理を行うN値化処理手段と、前記N値化された黒成分データに基づきエッジ検出するエッジ検出手段とを有し、前記墨入れ処理手段は前記複数の色成分のレベルに応じて黒成分データを生成することを特徴とする。
【0008】
【発明の実施の形態】
以下、本発明に係る一実施形態について図面を参照して詳細に説明する。本実施形態においては、カラー記録を行う画像処理装置としてカラーインクジェットプリンタを例に説明する。
【0009】
(1)カラー画像記録装置
図1は、本発明を適用するカラーインクジェットプリンタの構成を示す概略斜視図である。
【0010】
図1において、202はインクカートリッジであり、C,M,Y3色のカラーインクがそれぞれ入れられたインクタンクと、記録ヘッド201から構成されている。103は紙送りローラであり、104の補助ローラとともに記録紙107を押さえながら図中矢印方向に回転し、記録紙107の給紙を行う。また、105も紙送りローラであり、紙送りローラ103、補助ローラ104と同様に記録紙107を搬送するとともに記録紙107を抑える役割も果たしている。106はキャリッジであり、3つのインクカートリッジ202を支持すると同時に、搭載するインクカートリッジ202および記録ヘッド201を印刷とともに移動させる。このキャリッジ106は、プリンタが印刷を行っていない場合や、記録ヘッド201の回復動作を行う場合には図中点線で示したホームポジショ位置に待機するように制御される。
【0011】
次に、実際の印刷動作について説明する。印刷開始前は、キャリッジ106はホームポジションに位置しており、不図示の制御部により印刷開始命令を受け取ると、図中X方向に移動しながら記録ヘッド201に設けられた記録素子を駆動して、記録紙107上に記録ヘッド201の記録幅に対応した領域の印刷を行う。そして、キャリッジ106の走査方向(X方向)に沿って、記録紙107の端部まで印刷が終了すると、キャリッジ106はホームポジションに戻り、紙送りローラ103等の回転によって記録紙107が図中矢印方向(Y方向)へ所定幅分搬送された後、再びX方向への記録を開始する。
【0012】
このように、印刷のための記録ヘッド201の走査(主走査)と記録紙107の紙送り(副走査)とを繰り返すことにより、記録紙107全面への印刷が完成する。尚、記録ヘッド201からインクを吐出する記録動作は、不図示の記録制御手段からの制御に基づいて行われる。
【0013】
また、記録速度を高めるため、記録ヘッド201の一方向への主走査時(往路)のみ記録を行うのではなく、X方向への主走査記録が終了し、キャリッジ106をホームポジション側へ戻す際の復路においても記録を行う構成であってよい。
【0014】
また以上説明した例においては、インクタンク202と記録ヘッド201とが分離可能なようにキャリッジ106に保持されているが、記録用のインクを収容するインクタンク202と、記録紙107に向けてインクを吐出する記録ヘッド201とが一体になったインクジェットカートリッジであってももちろんよい。更に、一つの記録ヘッドから複数色のインクを吐出可能な複数色一体型記録ヘッドを用いてもよい。
【0015】
また、上述した回復動作を行うホームポジション位置には、記録ヘッド201の前面(吐出口面)をキャップするキャッピング手段(不図示)や、該キャッピング手段によるキャップ状態において、記録ヘッド201内の増粘インクや気泡の除去等のヘッド回復動作を行う回復ユニット(不図示)が設けられている。また、キャッピング手段の側方にはクリーニングブレード(不図示)等が設けられており、記録ヘッド201に向けて突出可能に支持され、記録ヘッド201の前面との当接が可能となっている。これにより、回復動作後に該クリーニングブレードを記録ヘッド201の移動経路中に突出させ、記録ヘッド201の移動に伴って記録ヘッド201前面の不要なインク滴や汚れ等の払拭が行われる。
【0016】
(2)記録ヘッド201の説明
次に、上述した記録ヘッド201について図2を参照して詳細に説明する。図2は、図1に示した記録ヘッド201の要部斜視図である。記録ヘッド201は、図2に示すように所定のピッチで複数の吐出口300が形成されており、共通液室301と各吐出口300とを連結する各液路302の壁面に沿って、インク吐出用のエネルギーを発生するための記録素子303が配設されている。記録素子303及びその回路はシリコン上に半導体製造技術を用いて製造されている。308は記録素子303用の電気配線がなされたシリコンプレートであり、放熱用のアルミベースプレート307に接着されている。また、シリコンプレート308上の回路接続部311とプリント板309とは超極細ワイヤ310により接続され、プリンタ本体からの信号は信号回路312を介して受け取られる。
【0017】
液路302及び共通液室301は射出形成により作られたプラスチックカバー306で形成されている。共通液室301は、ジョイントパイプ304及びインクフィルター305を介して上述したインクタンク202と連結しており、インクタンク202からインクが供給される構成となっている。インクタンク202から共通液室301に供給されて一時的に蓄えられたインクは、毛管現象により液路302に侵入し、吐出口300でメニスカスを形成して液路302を満たした状態を保つ。この時、不図示の電極を介して記録素子303が通電されて発熱すると、記録素子303が急激に加熱されて液路302内に気泡が発生し、この気泡の膨張により吐出口300からインク滴313が吐出される。これにより、所謂インクジェット記録が行われる。
【0018】
(3)記録制御部
以下、上述したインクジェット記録の制御を行う構成について、図3を参照して説明する。図3において、400は記録すべき画像信号を入力するインターフェース、500は記録制御部、501はヘッド部である。
【0019】
記録制御部400において、401は制御プログラムに基づいて各構成を統括的に制御するMPU、402はMPU401が実行する制御プログラムを格納するプログラムROMである。403は各種データ(上記画像信号や記録ヘッド201に供給される記録データ等)を保存しておくダイナミック型のRAM(DRAM)であり、記録ドット数の他、記録ヘッド201の交換回数等も記憶しておくことができる。404は記録ヘッド201に対する記録データの供給制御を行うゲートアレイであり、インターフェース400、MPU401、DRAM403間におけるデータの転送制御も司る。405は記録ヘッド201を搬送するための紙送りモータ、406は記録紙107の搬送のためのキャリッジモータである。407、408は夫々紙送りモータ405、キャリッジモータ406を駆動するモータドライバである。
【0020】
また、ヘッド部501において409は記録ヘッド201を駆動するヘッドドライバであり、410はセットされている記録ヘッド201の種類をMPU401に通知するヘッド種別信号発生回路である。
【0021】
本実施形態では上述の構成を有するカラーインクジェットをカラー記録装置200として用い、該カラー記録装置とホストコンピュータ100を接続したシステムに本発明を適用した例を説明する。
【0022】
図4にシステムの概略図を示す。
【0023】
ホストコンピュータ100は対象画像を示す画像データを生成する信号発生部10、画像データを色処理する色処理部20及びデータ転送部30で構成される。
【0024】
カラー記録装置200は、転送された画像データを受信し、格納する画像データ格納部40、受信画像データに対して色変換を行う色変換部60及び画像記録部、記録ヘッド70で構成される。
【0025】
なお、ホストコンピュータ100及びカラー記録装置200における各部は各装置が有する制御部(不図示)によって制御されている。
【0026】
(色処理部)
ホストコンピュータ100における色処理部20は、ホストコンピュータ100とカラー記録装置200間の画像データの通信にかかる時間を短縮するために、カラー記録装置200の出力特性に応じたY、M、C、Bkの2値データに変換する。
【0027】
また、3色(Y、M、C)印字のカラー記録装置で、エッジ部分を忠実に再現できるようにすることを目的とする。
【0028】
制御部の制御に基づき行われる色処理部200の具体的な処理の流れを図5に示す。
【0029】
信号発生部10で生成された対象画像を示すRGB画像データに対して入力γ補正を施しR1G1B1画像データを得る(S101)。
【0030】
入力γ補正では、例えばRGB画像データがモニタ特性に依存している場合は、モニタ特性に基づく歪を補正するγ補正をRGB色毎に行う。
【0031】
R1G1B1画像データを輝度濃度変換しCMY画像データを得る(S102)。
【0032】
CMY画像データに対して相互の色関係を補正する為にマスキング処理を行いC1M1Y1画像データを得る(S103)。
【0033】
C1M1Y1画像データに対してUCR/BGR処理を行いC1M1Y1画像データに応じたBk信号を以下の処理によって生成する(S104)。
【0034】
Ks=min(C1,M1,Y1)
C2=C1−UCR(Ks)
M2=M1−UCR(Ks)
Y2=Y1−UCR(Ks)
K=BGR(Ks)
UCR(カラー成分除去)テーブルとBGR(黒生成)テーブルは図6及び図7に示す。
【0035】
通常、黒文字やグラフィックデータにはmin(C,M,Y)=255(最小明度)の信号値が含まれる。
【0036】
逆に、自然画等にはmin(C,M,Y)=255の信号値は殆ど存在しない。そこでBGR処理は図7に示すようにmin(C1,M1,Y1)=255の場合にはBk=255とし、Y=M=C=0となるようなテーブルを使用する。こうすることで、実際に記録装置に送られる2値データには黒文字あるいは、グラフィックデータにおける黒画素をkの2値データとして送ることが可能となる。
【0037】
一方、UCR処理は、Ksが所定値以上有する場合図6に示すような連続するカーブで示されるUCR関数によってUCR処理を行う。
【0038】
なお、BGR処理と連動させるために、Ksが255の時は100%UCRを行う。
【0039】
さらに、UCR関数は、カラー記録装置側で良好な記録が可能なY,M,Cの最大打ち込み量が200%の場合には、中間調領域(特に255近傍)のUCRテーブルで200%相当の打ち込み量を超えないように図6に示すようなカーブとすることが望ましい。もちろん、最大打ち込み量はカラー記録装置側の印字モードや記録媒体に応じた最適な値としても良い。
【0040】
該UCR/BGR処理によれば、高濃度の黒画素にだけK信号が生成されるので、カラー画像記録装置側で2値化されたK信号に基づき簡単にかつ高速にエッジ部を抽出できる。
【0041】
また、UCR処理によってY,M,Cに対して打ち込み量制御しているので、階調の連続性を保ちつつ中間調濃度における打ち込み量を制御することができる。
【0042】
即ち、中間調濃度の打ち込み量を制御することにより、最大打ち込み量を越えることなく高品位に中間調を再現することができる。
【0043】
そして、C2M2Y2K画像データの各々に対して出力γ補正を施し(S105)、さらに、二値化処理する(S106)。
【0044】
(色変換部)
ホストコンピュータ100から色処理されたY4M4C4K4 2値画像データを受信し、画像データ格納部40に格納された画像データを色変換部50でエッジ部を良好に再現するYMC2値画像データに色変換する。
【0045】
色変換部50の構成を図8に示す。
【0046】
本実施例の色変換部50は色処理部20において黒画素(Ks=255)にしかK4信号が「1」にならないという特徴に基づき、黒画像のエッジ部をK4信号から検出しエッジ部とエッジ部以外のK4信号に対して異なるマスク処理を行うことにより黒画像のエッジ部を鮮明に再現できるようにすることを特徴とする。
【0047】
まず、エッジ部以外のK4信号をYMC信号に変換するために使用するY,M,Cの各マスク(Ymask1,Mmask1,Cmask1)の作成方法について説明する。尚、本実施形態で使用する記録紙においては、インクの打ち込み量は100画素のエリアに対して合計(全色の総計)200ドットが打ち込み可能であるとする。
【0048】
尚、インクの打ち込み量は、記録媒体に対応してプリンタにおける画像形成が良好に行われるように設定されている。
【0049】
一般に、使い捨てとなるディスポーザフルヘッドを使用したインクジェットプリンタでは、少なくとも一色のインクを使いきってしまうと、全色のヘッドを交換する必要があり、従って特定のインクのみを多量に消費することはランニングコストの上昇を招いてしまう。従って、文字画像等において使用頻度が高いと思われるBk画像をYMC画像に変換する際には、YMC3色のインクができるだけ均等に使用されるように変換することが望ましい。
【0050】
本実施形態においてはK画像がYMC各色均等に変換されるように、色変換のマスクを作成する。即ち、記録紙においては100画素について200ドットのインクが打ち込み可能であるため、Bk100画素に対してY,M,C各色が200/3=66.6…より、66または67ドットを打ち込むようなマスクが最適となる。
【0051】
尚、本実施形態ではYMCの1色につき8192画素(ビット)分のマスクを使用するものとする。もちろん、マスクサイズが大きいほどマスクと画像データとの同調を避けることが可能となるが、プリンタ内で使用されるメモリ容量が増加するため、プリンタのコストとの兼合いを考えて最適な値を決定すれば良い。また、YMC各色のマスクを作成する手段としては、必要なメモリを確保することができ、ランダムな値を発生可能な計算機であればどんなものでも良い。
【0052】
ここで、マスクとは、K信号をY,M,C信号に色変換する際に用いる色変換パラメータである。マスク処理はドット制御処理である。
【0053】
図9に本実施形態における色変換マスク作成の様子を模式的に示し、図10にそのフローチャートを示す。
【0054】
まず、図9のステップS121において、計算機内で8192バイトの作業用メモリを確保する。尚、以下説明の簡便のために、該8192バイトのメモリ配列における先頭アドレスを1番地とし、最終の8192バイト目のアドレスを8192番地として説明する。尚、ここで8192バイトのメモリを確保したのは、1バイトに1画素(R,G,Bのいずれか)を割り当てるとして考えた方が理解が容易となるためであり、8192個分のRGB値が識別できればとのようなメモリ構成であっても構わない。
【0055】
次にステップS122に進み、確保した作業用メモリにおいて、まず1番地にRを示す情報(以降、単にRとする)、2番地にGを示す情報(以降、単にGとする)、3番地にBを示す情報(以降、単にBとする)を格納し、以降同様に8192番地まで順次R,G,Bをそれぞれ格納する。この様子を図5の21に示す。尚、21において上部に示す数値がアドレス値である。このようにしてRGBを格納することにより、8192画素の無い、Rが2731画素、Gが2731画素、Bが2730画素格納されたことになる。
【0056】
続いてステップS123に進み、計算機内の乱数発生手段により、「1」〜「8192」の範囲において2個の乱数を発生させる。そしてステップS124で、該2個の乱数が示すアドレスのメモリ内容を入れ替える。例えば、発生した乱数が「1」と「9」であった場合、図9の21においてX1で示す1番地の内容「R」と、X2で示す9番地の内容「B」とを入れ換える。この結果を22に示す。
【0057】
そしてステップS125で、上述した乱数による入れ替え処理を所定回数繰り返す。本実施形態においては10万回繰り返すとする。これにより、1〜8192番地においてR,G,Bのランダムな配列が作成される。
【0058】
そしてステップS126に進んでアドレスを「1」に初期化し、以降はY,M,Cマスクの作成を行う。そしてステップS127で、RGBのランダム配列において該アドレスにおける内容がR,G,Bのいずれであるかを判別し、その内容に応じて、Y,M,Cの各色のマスクを作成する。尚、Y,M,Cの各マスクは上述した様にそれぞれ8192ビットが既に確保されているとする。
【0059】
YMCマスクの作成方法としては、まず当該アドレスにおける内容が「R」であった場合、ステップS128においてY,Mの対応するビット(アドレス「N」であればNビット目)を「1」とし、Cの対応するビットを「0」とする。また、当該アドレスにおける内容が「G」であった場合、ステップS129においてY,Cの対応するビットを「1」とし、Mの対応するビット「0」とする。
【0060】
また、当該アドレスにおける内容が「B」であった場合、ステップS130においてM,Cの対応するビットを「1」とし、Yの対応するビットを「0」とする。
【0061】
そしてステップS131においてアドレスに1加算し、ステップS132で該アドレスが最終アドレス値(8192)を越えていなければ、ステップS127に戻ってYMCマスク作成処理を繰り返す。このようにして図9の23〜25に示す様に、Y,M,Cの各マスクが生成され、マスク格納用バッファ1002に格納される。
【0062】
尚、本実施形態においてはBk画像データをRGB画素に置き換えることによりYMCマスクを生成しているため、黒罫線等において色ずれが発生する可能性が示唆されるが、マスク生成の際にRGB画素はランダムに配列されるため、該色ずれは目立ちにくくなる。
【0063】
以上の様にして各色のマスクを作成することにより、YMCのすべてをオンドットとせずに適当な間引きによりインクを打ち込むことができるため、良好にK画像を再現することができる。
【0064】
Ymask1,Mmask1,Cmask1によれば、インク打ち込み量を所定量に制限するためのランダムなYMCマスクを生成・使用してBk画像データをYMC画像データに変換することにより、記録紙上に記録された画像において、黒文字や黒ベタ部におけるフェザリングや滲み等の不具合を解消することができる。
【0065】
また、マスクによってインク打ち込み量を所定量に制限するので、インク打ち込み量制限処理を効率良く行うことができる。
【0066】
Ymask1,Mmask1,Cmask1では、エッジ部以外の画像を対象とすることから、色のにじみを防ぐために、打ち込み量が100画素のエリアに対して合計200ドット以下になるようにYmask1,Mmask1,Cmask1を生成した。
【0067】
しかしながら、エッジ部において、Ymask1,Mmask1,Cmask1を用いると各画素において、Y,M,Cの3成分の全てを打ち込むことがないので黒画像のエッジ部を高濃度で再現することができない。
【0068】
また、エッジ部において色のにじみが生じ、エッジ部がなまってしまうという問題点がある。
【0069】
そこで、エッジ部対象のマスク(Ymask2,Mmask2,Cmask2)を備えることにより、中間デューティのK画像に対しても、色ズレをおこすことないようにする。
【0070】
Ymask2,Mmask2,Cmask2はエッジ強調用のマスクであり、YMCがなるべくオンドットで記録されるようなマスクであることが望ましい。したがって、本実施形態ではYmask2,Mmask2,Cmask2は全画素がオン(「1」)である8×8マスクを用いて処理する。
【0071】
該Ymask1,Mmask1,Cmask1及びYmask2,Mmask2,Cmask2がマスク用格納バッファ54に格納されている。
【0072】
以下、図8を用いて色変換部50の処理を具体的に説明する。
【0073】
エッジ抽出部51はK4信号に基づきエッジ部を抽出し、K4′を出力する。
【0074】
ここで、エッジ抽出部1008におけるエッジ抽出方法について、図11を参照して説明する。
【0075】
図11の(a)は、ホストコンピュータから受信したオリジナルのBk画像のデータを示す。尚、図10においてBk画像データがオンである画素を「1」、オフである画素を「0」で示す。
【0076】
本実施形態においては、注目画素の上下左右のいずれかの画素がオフ(「0」)である場合に、該注目画素をエッジ領域であると判断するが、例えば斜め上下左右のいずれかの画素がオフである場合にも、エッジ領域であると判断して良い。
【0077】
図11の(a)のオリジナルのK信号における画素位置を示すために図11の(d)を図11の(a)に投影する。即ち、注目画素位置をAとし、その値は「1」である。そして、注目画素Aの上下左右の画素がそれぞれD,E,C,Bであり、それぞれ「1」,「1」,「0」,「1」の値を有する。
【0078】
そして、着目画素Aの上下左右の画素がオンであるか否かを判別するために、注目画素Aと右隣の画素Bとの排他的論理和(XOR)をとる。その結果をAbとすると、Abは「0」となる。続いて、順次左隣の画素C,上隣の画素D,下隣の画素EとのXORをとり、同様にAc,Ad,Aeを得る。そして、全てのXORの結果(Ab,Ac,Ad,Ae)の論理和(OR)をとり、その結果を注目画素Aの値とする。図11においては、注目画素Aは「1」となる。この様子を次式にまとめる。
【0079】
Ab=A XOR B=0
Ac=A XOR C=1
Ad=A XOR D=0
Ae=A XOR E=0
A=Ab OR Ac OR Ad OR Ae =1
【0080】
このようにして、図11の(a)に示すオリジナルデータの全ての画素について同様の処理を施すことにより、図11の(b)に示すデータが得られる。図11の(b)によれば、上下左右にXORを取ることにより、オリジナル画像のエッジ1画素及びその回りの1画素が抽出されていることがわかる。
【0081】
続いて、XORの結果得られた図11の(b)のデータと、図11の(a)のオリジナルデータとの論理積(AND)を取る。これにより、図11の(c)に示すデータが得られ、これが即ちオリジナル画像におけるエッジ1画素を抽出した画像データである。
【0082】
次に、入力されたK信号をY,M,Cに変換して記録する処理(Bk変換部52、画像合成部53における処理)について、図12を参照して説明する。
【0083】
ホストコンピュータ100よりY,M,C,Kの2値画像データが転送されてくると、プリンタ100内の画像データ格納部40にY,M,C,K各色のオリジナルデータが格納される。
【0084】
そしてBk変換部52において、マスク格納用バッファ54に格納されたYMC各色のマスクYmask1,Mmask1,Cmask1とK信号とのANDをとり、Y5,M5,C5を得る。
【0085】
そしてエッジ抽出部51では、K信号から上述した様にしてエッジ領域K4′を抽出する。
【0086】
Bk変換部52においては、更にエッジ部のデータK4′と各色マスクYmask2,Mmask2,Cmask2とのANDをとる。この結果をそれぞれY5′,M5′,C5′とする。そして、次に画像合成部53において、Y5,M5,C5とY5′,M5′,C5′及びオリジナル画像データY4,M4,C4とを各色毎にそれぞれOR処理を行う。その結果得られたY6,M6,C6が、最終的な記録用の画像データである。
【0087】
以上説明した処理を繰り返して記録可能な画素分の変換処理が全て終了すると、カラー画像記録部1005はYMC3色用の記録ヘッド201に最終的な画像データY″,M″,C″を転送することにより、記録紙107上にBk画像が適切に再現された画像記録が行われる。
【0088】
以上説明したように色変換部によって、Bk画像データのエッジ部に対しては、色ずれの発生を回避するためにYMC成分全てがオンドットとなるようなマスクを使用し、その他の領域(非エッジ部)に対してはインク打ち込み量を所定量に制限するためのランダムなYMCマスクを生成・使用して、Bk画像データをYMC画像データに変換する。即ち、K画像データのエッジ領域と非エッジ領域とについて、それぞれ異なる割合でYMC成分に変換することができる。従って、孤立点や罫線等、Bk画像データのエッジ領域に対しては、YMC全成分をオンドットでインクを打ち込むことにより高濃度で再現することができ、非エッジ領域に対してはYMC成分を所定量間引くことにより打ち込み量を越えないように再現することが可能となる。
【0089】
これにより、黒文字や黒罫線等におけるエッジ部も強調されるため、YMC3色のインクによる画像形成であっても、鮮明にK画像を記録することが可能となる。
【0090】
また、エッジ部が画像に占める割合は低いのでエッジ部に対してYMC全成分をオンドットで打ち込んでも所定エリアでは、最大打ち込み量である200%を越えることがないので、打ち込み量を越えることにより滲みやフェザリングは生じず良好な色再現を行うことができる。
【0091】
尚、第2実施形態ではBk画像データにおいて他色との境界領域についてもエッジ強調を行うことになるが、他色との境界を検出してエッジ強調を行わないように構成してもよい。
【0092】
以上説明したように、UCR/BGR処理とエッジ検出との連係により2値化データに基づき簡単な構成で高速にエッジ検出することができる。
【0093】
また、UCR/BGR処理とマスク処理によって中間濃度部及び高濃度部における打ち込み量制御を効率良く高精度に行うことができる。
【0094】
また、エッジ部とエッジ部以外で異なるマスクを用いることによりエッジ部のドットを鮮明にかつ高濃度で再現することができる。即ち、黒文字等を高品位に再現することができる。
【0095】
なお、本実施形態では色処理部20で2値化処理を行ったが、K2C3M3Y3画像データが有する階調数より低いN値にするN値化処理なら構わない。
【0096】
また、BGR処理は図7に示されるものに限らず高濃度の黒画素において黒成分を生成すれば良い。
【0097】
〈他の実施形態〉
本実施形態は、複数の機器(例えば、ホストコンピュータ,インタフェイス機器、プリンタ,リーダなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
【0098】
また、本発明を達成するソフトウェアのプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置が記録媒体に格納されたプログラムを読出し実行することによって、本発明が達成される場合にも適用できることは言うまでもない。プログラムを供給するための記録媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。
【0099】
【発明の効果】
本発明によれば、黒画像のエッジ部を簡単な構成で高速に検出し、黒画像のエッジ部を高品位に再現できる。
【図面の簡単な説明】
【図1】本発明に係る一実施形態のカラーインクジェットプリンタ概略視図である。
【図2】本実施形態におけるインクジェット記録ヘッドの構成を示す概略視図である。
【図3】本実施形態におけるインクジェットプリンタの記録制御の構成を示すブロック図である。
【図4】本実施形態に係るシステムの概略図である。
【図5】本実施形態に係る色処理部の処理を示す図である。
【図6】本実施形態に係るUCRテーブルを示す図である。
【図7】本実施形態に係るBGRテーブルを示す図である。
【図8】本実施形態に係る色変換部の構成を示す図である。
【図9】本実施形態に係るYMCマスクパターンの作成処理を説明する図である。
【図10】本実施形態におけるYMCマスクパターンの作成処理を示すフローチャートである。
【図11】本実施形態におけるエッジ抽出方法を説明するための図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and method for performing color processing.
[0002]
[Prior art]
Currently known various color recording methods include a thermal transfer method in which ink ribbon ink is transferred by thermal energy, or an ink jet recording method in which recording droplets are ejected and adhered to a recording member such as paper to perform recording. Are known.
[0003]
In particular, the ink jet recording method is a non-impact recording method that does not generate noise during recording, and can perform high-speed recording, and can perform recording without requiring special fixing processing on plain paper.
[0004]
Conventionally, edge detection is performed in a state where each component of Y, M, and C has a high gradation on a host computer, and processing for emphasizing the edge portion is performed to binarize and binary corresponding to each recording agent in the color recording apparatus The image data was transferred to the color recording apparatus.
[0005]
[Problems to be solved by the invention]
However, conventionally, since the edge detection is performed in a state having a high gradation, the edge detection process takes a very long time.
[0006]
The present invention has been made in view of the above points, and an object of the present invention is to detect a black image edge portion at high speed with a simple configuration and to reproduce the black image edge portion with high quality. .
[0007]
[Means for Solving the Problems]
The present invention has been made in view of the above points, and has an input means for inputting M-value color image data composed of a plurality of color components, and a black component by performing inking processing based on the input color image data. Inking processing means for generating data, N-value processing means for performing N-value (M> N) processing on the black component data, and an edge for detecting an edge based on the N-valued black component data Detecting means, and the inking process means generates black component data according to the levels of the plurality of color components.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment according to the present invention will be described in detail with reference to the drawings. In this embodiment, a color inkjet printer will be described as an example of an image processing apparatus that performs color recording.
[0009]
(1) Color image recording device
FIG. 1 is a schematic perspective view showing the configuration of a color inkjet printer to which the present invention is applied.
[0010]
In FIG. 1, reference numeral 202 denotes an ink cartridge, which includes an ink tank in which three color inks of C, M, and Y are placed, and a recording head 201. Reference numeral 103 denotes a paper feed roller that rotates in the direction of the arrow in the drawing while pressing the recording paper 107 together with the auxiliary roller 104 to feed the recording paper 107. Reference numeral 105 denotes a paper feed roller, which, like the paper feed roller 103 and the auxiliary roller 104, conveys the recording paper 107 and plays a role of suppressing the recording paper 107. A carriage 106 supports the three ink cartridges 202 and simultaneously moves the mounted ink cartridge 202 and the recording head 201 together with printing. The carriage 106 is controlled to stand by at a home position indicated by a dotted line in the drawing when the printer is not printing or when the recovery operation of the recording head 201 is performed.
[0011]
Next, an actual printing operation will be described. Before printing is started, the carriage 106 is located at the home position. When a printing start command is received by a control unit (not shown), the recording element provided in the recording head 201 is driven while moving in the X direction in the figure. Then, an area corresponding to the recording width of the recording head 201 is printed on the recording paper 107. Then, when printing is completed up to the end of the recording paper 107 along the scanning direction (X direction) of the carriage 106, the carriage 106 returns to the home position, and the recording paper 107 is moved to an arrow in the figure by the rotation of the paper feed roller 103 and the like. After being conveyed in the direction (Y direction) by a predetermined width, recording in the X direction is started again.
[0012]
In this way, printing on the entire surface of the recording paper 107 is completed by repeating scanning of the recording head 201 for printing (main scanning) and paper feeding of the recording paper 107 (sub-scanning). A recording operation for ejecting ink from the recording head 201 is performed based on control from a recording control unit (not shown).
[0013]
Further, in order to increase the recording speed, recording is not performed only during main scanning (outward) in one direction of the recording head 201, but when the main scanning recording in the X direction is completed and the carriage 106 is returned to the home position side. The recording may be performed in the return path.
[0014]
In the example described above, the ink tank 202 and the recording head 201 are held by the carriage 106 so as to be separable. However, the ink tank 202 that stores recording ink and the ink toward the recording paper 107 are used. Of course, it may be an ink jet cartridge integrated with the recording head 201 for discharging the ink. Further, a multi-color integrated recording head that can eject a plurality of colors of ink from a single recording head may be used.
[0015]
Further, at the home position where the recovery operation described above is performed, a capping unit (not shown) for capping the front surface (ejection port surface) of the recording head 201, and a thickening in the recording head 201 in a capped state by the capping unit. A recovery unit (not shown) that performs head recovery operations such as ink and bubble removal is provided. Further, a cleaning blade (not shown) or the like is provided on the side of the capping unit, and is supported so as to protrude toward the recording head 201 so that it can come into contact with the front surface of the recording head 201. Thus, after the recovery operation, the cleaning blade is projected into the moving path of the recording head 201, and unnecessary ink droplets and dirt on the front surface of the recording head 201 are wiped off as the recording head 201 moves.
[0016]
(2) Description of the recording head 201
Next, the recording head 201 described above will be described in detail with reference to FIG. FIG. 2 is a perspective view of a main part of the recording head 201 shown in FIG. As shown in FIG. 2, the recording head 201 has a plurality of discharge ports 300 formed at a predetermined pitch, and ink is provided along the wall surface of each liquid path 302 that connects the common liquid chamber 301 and each discharge port 300. A recording element 303 for generating ejection energy is provided. The recording element 303 and its circuit are manufactured on silicon by using a semiconductor manufacturing technique. Reference numeral 308 denotes a silicon plate on which electrical wiring for the recording element 303 is provided, and is bonded to a heat radiating aluminum base plate 307. Further, the circuit connecting portion 311 on the silicon plate 308 and the printed board 309 are connected by an extra fine wire 310, and a signal from the printer main body is received via the signal circuit 312.
[0017]
The liquid path 302 and the common liquid chamber 301 are formed by a plastic cover 306 made by injection molding. The common liquid chamber 301 is connected to the ink tank 202 described above via a joint pipe 304 and an ink filter 305, and is configured to be supplied with ink from the ink tank 202. The ink supplied from the ink tank 202 to the common liquid chamber 301 and temporarily stored enters the liquid path 302 by capillary action and forms a meniscus at the discharge port 300 to keep the liquid path 302 filled. At this time, when the recording element 303 is energized through an electrode (not shown) to generate heat, the recording element 303 is rapidly heated and bubbles are generated in the liquid path 302, and ink droplets are ejected from the ejection ports 300 by the expansion of the bubbles. 313 is discharged. Thereby, so-called ink jet recording is performed.
[0018]
(3) Recording control unit
Hereinafter, a configuration for controlling the above-described inkjet recording will be described with reference to FIG. In FIG. 3, reference numeral 400 denotes an interface for inputting an image signal to be recorded, 500 denotes a recording control unit, and 501 denotes a head unit.
[0019]
In the recording control unit 400, 401 is an MPU that comprehensively controls each component based on a control program, and 402 is a program ROM that stores a control program executed by the MPU 401. Reference numeral 403 denotes a dynamic RAM (DRAM) that stores various data (the image signal, recording data supplied to the recording head 201, and the like), and stores the number of replacements of the recording head 201 in addition to the number of recording dots. Can be kept. Reference numeral 404 denotes a gate array that controls supply of print data to the print head 201, and also controls transfer of data among the interface 400, MPU 401, and DRAM 403. Reference numeral 405 denotes a paper feed motor for transporting the recording head 201, and reference numeral 406 denotes a carriage motor for transporting the recording paper 107. Reference numerals 407 and 408 denote motor drivers for driving the paper feed motor 405 and the carriage motor 406, respectively.
[0020]
In the head unit 501, reference numeral 409 denotes a head driver that drives the recording head 201, and 410 denotes a head type signal generation circuit that notifies the MPU 401 of the type of the recording head 201 that is set.
[0021]
In the present embodiment, an example in which the present invention is applied to a system in which a color ink jet having the above-described configuration is used as the color recording apparatus 200 and the color recording apparatus and the host computer 100 are connected will be described.
[0022]
FIG. 4 shows a schematic diagram of the system.
[0023]
The host computer 100 includes a signal generation unit 10 that generates image data indicating a target image, a color processing unit 20 that performs color processing on the image data, and a data transfer unit 30.
[0024]
The color recording apparatus 200 includes an image data storage unit 40 that receives and stores transferred image data, a color conversion unit 60 that performs color conversion on the received image data, an image recording unit, and a recording head 70.
[0025]
Each unit in the host computer 100 and the color recording apparatus 200 is controlled by a control unit (not shown) included in each device.
[0026]
(Color processing part)
The color processing unit 20 in the host computer 100 performs Y, M, C, and Bk corresponding to the output characteristics of the color recording device 200 in order to reduce the time required for image data communication between the host computer 100 and the color recording device 200. To binary data.
[0027]
It is another object of the present invention to make it possible to faithfully reproduce the edge portion in a color recording apparatus for printing three colors (Y, M, C).
[0028]
FIG. 5 shows a specific processing flow of the color processing unit 200 performed based on the control of the control unit.
[0029]
Input RGB correction is performed on the RGB image data indicating the target image generated by the signal generation unit 10 to obtain R1G1B1 image data (S101).
[0030]
In the input γ correction, for example, when the RGB image data depends on the monitor characteristics, γ correction for correcting distortion based on the monitor characteristics is performed for each RGB color.
[0031]
The R1G1B1 image data is subjected to luminance density conversion to obtain CMY image data (S102).
[0032]
Masking processing is performed to correct the mutual color relationship with respect to the CMY image data, thereby obtaining C1M1Y1 image data (S103).
[0033]
UCR / BGR processing is performed on the C1M1Y1 image data, and a Bk signal corresponding to the C1M1Y1 image data is generated by the following processing (S104).
[0034]
Ks = min (C1, M1, Y1)
C2 = C1-UCR (Ks)
M2 = M1-UCR (Ks)
Y2 = Y1-UCR (Ks)
K = BGR (Ks)
The UCR (color component removal) table and the BGR (black generation) table are shown in FIGS.
[0035]
Normally, a black character or graphic data includes a signal value of min (C, M, Y) = 255 (minimum brightness).
[0036]
Conversely, a natural image or the like has almost no signal value of min (C, M, Y) = 255. Therefore, as shown in FIG. 7, the BGR process uses a table in which Bk = 255 and Y = M = C = 0 when min (C1, M1, Y1) = 255. By doing this, it is possible to send black characters or black pixels in graphic data as binary data of k for binary data actually sent to the recording apparatus.
[0037]
On the other hand, the UCR process is performed by a UCR function indicated by a continuous curve as shown in FIG. 6 when Ks has a predetermined value or more.
[0038]
In order to link with the BGR process, 100% UCR is performed when Ks is 255.
[0039]
Further, the UCR function is equivalent to 200% in the UCR table in the halftone area (especially in the vicinity of 255) when the maximum printing amount of Y, M, and C that allows good recording on the color recording apparatus side is 200%. It is desirable to have a curve as shown in FIG. 6 so as not to exceed the driving amount. Of course, the maximum driving amount may be an optimum value according to the printing mode and the recording medium on the color recording apparatus side.
[0040]
According to the UCR / BGR processing, a K signal is generated only for a high density black pixel, so that an edge portion can be easily and quickly extracted based on the binarized K signal on the color image recording apparatus side.
[0041]
Further, since the amount of implantation is controlled for Y, M, and C by the UCR process, the amount of implantation at the halftone density can be controlled while maintaining the continuity of the gradation.
[0042]
That is, by controlling the driving amount of the halftone density, it is possible to reproduce the halftone with high quality without exceeding the maximum driving amount.
[0043]
Then, output γ correction is performed on each of the C2M2Y2K image data (S105), and further binarization processing is performed (S106).
[0044]
(Color converter)
The color-processed Y4M4C4K4 binary image data is received from the host computer 100, and the image data stored in the image data storage unit 40 is color-converted by the color conversion unit 50 into YMC binary image data that well reproduces the edge portion.
[0045]
The configuration of the color conversion unit 50 is shown in FIG.
[0046]
The color conversion unit 50 according to the present embodiment detects the edge portion of the black image from the K4 signal based on the feature that the K4 signal becomes “1” only in the black pixel (Ks = 255) in the color processing unit 20. By performing different mask processes on K4 signals other than the edge portion, the edge portion of the black image can be clearly reproduced.
[0047]
First, a method of creating Y, M, and C masks (Ymask1, Mmask1, and Cmask1) used to convert K4 signals other than the edge portion into YMC signals will be described. In the recording paper used in the present embodiment, it is assumed that a total of 200 dots can be printed (total of all colors) with respect to an area of 100 pixels.
[0048]
Note that the ink ejection amount is set so that the image formation in the printer is favorably performed corresponding to the recording medium.
[0049]
In general, in an inkjet printer using a disposable disposable full head, if at least one color of ink is used up, it is necessary to replace the heads of all the colors. The cost will increase. Therefore, when converting a Bk image that seems to be used frequently in a character image or the like into a YMC image, it is desirable to convert the YMC three-color ink so that it is used as evenly as possible.
[0050]
In the present embodiment, a color conversion mask is created so that the K image is converted equally to each color of YMC. That is, since 200 dots of ink can be applied to 100 pixels on the recording paper, each of Y, M, and C colors is applied to 66 or 67 dots from 200/3 = 66.6... The mask is optimal.
[0051]
In this embodiment, it is assumed that a mask for 8192 pixels (bits) is used for each color of YMC. Of course, the larger the mask size, the more the synchronization between the mask and the image data can be avoided. However, since the memory capacity used in the printer increases, the optimal value is set in consideration of the cost of the printer. Just decide. As a means for creating a mask for each color of YMC, any computer can be used as long as it can secure a necessary memory and can generate a random value.
[0052]
Here, the mask is a color conversion parameter used when the K signal is color-converted into Y, M, and C signals. The mask process is a dot control process.
[0053]
FIG. 9 schematically shows how a color conversion mask is created in the present embodiment, and FIG. 10 is a flowchart thereof.
[0054]
First, in step S121 of FIG. 9, a work memory of 8192 bytes is secured in the computer. For the sake of simplicity, the description will be made assuming that the first address in the memory array of 8192 bytes is 1 address and the last address of 8192 bytes is 8192 address. The reason why the memory of 8192 bytes is secured here is that it is easier to understand if one pixel (any of R, G, B) is assigned to one byte. The memory configuration may be such that the value can be identified.
[0055]
In step S122, in the secured work memory, first, information indicating R at address 1 (hereinafter simply referred to as R), information indicating G at address 2, (hereinafter simply referred to as G), and address 3 Information indicating B (hereinafter simply referred to as B) is stored, and thereafter R, G, and B are sequentially stored up to address 8192. This is shown at 21 in FIG. Note that the numerical value shown at the top in 21 is an address value. By storing RGB in this way, there are no 8192 pixels, R is 2731 pixels, G is 2731 pixels, and B is 2730 pixels.
[0056]
Subsequently, the process proceeds to step S123, and two random numbers are generated in the range of “1” to “8192” by random number generation means in the computer. In step S124, the memory contents at the address indicated by the two random numbers are exchanged. For example, when the generated random numbers are “1” and “9”, the contents “R” at address 1 indicated by X1 in 21 of FIG. 9 are replaced with the contents “B” at address 9 indicated by X2. The results are shown in 22.
[0057]
In step S125, the above-described random number replacement process is repeated a predetermined number of times. In this embodiment, it is repeated 100,000 times. As a result, a random array of R, G, and B is created at addresses 1-8192.
[0058]
In step S126, the address is initialized to "1", and thereafter, Y, M, and C masks are created. In step S127, it is determined whether the content at the address is R, G, or B in the RGB random array, and masks for Y, M, and C are created according to the content. It is assumed that 8192 bits are already secured for each of the Y, M, and C masks as described above.
[0059]
As a method of creating the YMC mask, first, when the content at the address is “R”, the corresponding bits of Y and M (the Nth bit if the address is “N”) are set to “1” in step S128. The corresponding bit of C is set to “0”. If the content at the address is “G”, the corresponding bits of Y and C are set to “1” and the corresponding bit of M is “0” in step S129.
[0060]
If the content at the address is “B”, the corresponding bits of M and C are set to “1” and the corresponding bit of Y is set to “0” in step S130.
[0061]
In step S131, 1 is added to the address. If the address does not exceed the final address value (8192) in step S132, the process returns to step S127 to repeat the YMC mask creation process. In this manner, Y, M, and C masks are generated and stored in the mask storage buffer 1002 as indicated by 23 to 25 in FIG.
[0062]
In this embodiment, since the YMC mask is generated by replacing the Bk image data with RGB pixels, there is a possibility that color misregistration may occur in black ruled lines or the like. Since the colors are arranged at random, the color shift is less noticeable.
[0063]
By creating the masks for the respective colors as described above, ink can be driven by appropriate thinning without using all YMC as on-dots, so that a K image can be reproduced satisfactorily.
[0064]
According to Ymask1, Mmask1, and Cmask1, by generating and using a random YMC mask for limiting the ink ejection amount to a predetermined amount, the Bk image data is converted into YMC image data, thereby recording an image recorded on the recording paper. Thus, problems such as feathering and blurring in black characters and black solid portions can be solved.
[0065]
Further, since the ink hit amount is limited to a predetermined amount by the mask, the ink hit amount limiting process can be performed efficiently.
[0066]
Since Ymask1, Mmask1, and Cmask1 are intended for images other than the edge portion, in order to prevent color blurring, Ymask1, Mmask1, and Cmask1 are set so that a total of 200 dots or less is applied to an area of 100 pixels. Generated.
[0067]
However, if Ymask1, Mmask1, and Cmask1 are used in the edge portion, all of the three components Y, M, and C are not shot in each pixel, so that the edge portion of the black image cannot be reproduced with high density.
[0068]
Further, there is a problem that color blur occurs at the edge portion and the edge portion becomes blurred.
[0069]
Therefore, by providing masks (Ymask2, Mmask2, and Cmask2) for the edge portion, color misregistration is prevented from occurring even for intermediate duty K images.
[0070]
Ymask2, Mmask2, and Cmask2 are masks for edge emphasis, and it is desirable that YMC is recorded with on dots as much as possible. Therefore, in this embodiment, Ymask2, Mmask2, and Cmask2 are processed using an 8 × 8 mask in which all pixels are on (“1”).
[0071]
The Ymask1, Mmask1, Cmask1, and Ymask2, Mmask2, and Cmask2 are stored in the mask storage buffer 54.
[0072]
Hereinafter, the processing of the color conversion unit 50 will be specifically described with reference to FIG.
[0073]
The edge extraction unit 51 extracts an edge part based on the K4 signal and outputs K4 ′.
[0074]
Here, an edge extraction method in the edge extraction unit 1008 will be described with reference to FIG.
[0075]
FIG. 11A shows original Bk image data received from the host computer. In FIG. 10, a pixel for which the Bk image data is on is indicated by “1”, and a pixel for which the Bk image data is off is indicated by “0”.
[0076]
In the present embodiment, when any pixel above, below, left, and right of the target pixel is off (“0”), the target pixel is determined to be an edge region. Even when is off, it may be determined to be an edge region.
[0077]
In order to show the pixel position in the original K signal of (a) of FIG. 11, (d) of FIG. 11 is projected onto (a) of FIG. That is, the pixel position of interest is A, and its value is “1”. The top, bottom, left, and right pixels of the target pixel A are D, E, C, and B, respectively, and have values of “1”, “1”, “0”, and “1”, respectively.
[0078]
Then, in order to determine whether the upper, lower, left, and right pixels of the target pixel A are on, an exclusive OR (XOR) between the target pixel A and the right adjacent pixel B is taken. When the result is Ab, Ab is “0”. Subsequently, XOR with the pixel C on the left, the pixel D on the upper side, and the pixel E on the lower side is sequentially obtained, and Ac, Ad, and Ae are obtained in the same manner. Then, the logical sum (OR) of all the XOR results (Ab, Ac, Ad, Ae) is taken, and the result is set as the value of the target pixel A. In FIG. 11, the target pixel A is “1”. This situation is summarized in the following equation.
[0079]
Ab = A XOR B = 0
Ac = A XOR C = 1
Ad = A XOR D = 0
Ae = A XOR E = 0
A = Ab OR Ac OR Ad OR Ae = 1
[0080]
In this way, by performing the same processing for all the pixels of the original data shown in FIG. 11A, the data shown in FIG. 11B is obtained. According to FIG. 11B, it can be seen that one pixel of the edge of the original image and one pixel around it are extracted by taking XOR in the vertical and horizontal directions.
[0081]
Subsequently, a logical product (AND) of the data of FIG. 11B obtained as a result of XOR and the original data of FIG. As a result, data shown in FIG. 11C is obtained, that is, image data obtained by extracting one edge pixel in the original image.
[0082]
Next, a process of converting the input K signal into Y, M, and C (recording in the Bk conversion unit 52 and the image composition unit 53) will be described with reference to FIG.
[0083]
When binary image data of Y, M, C, and K is transferred from the host computer 100, original data of each color of Y, M, C, and K is stored in the image data storage unit 40 in the printer 100.
[0084]
Then, the Bk converter 52 ANDs the masks Ymask1, Mmask1, and Cmask1 of each color of YMC stored in the mask storage buffer 54 and the K signal to obtain Y5, M5, and C5.
[0085]
Then, the edge extraction unit 51 extracts the edge region K4 ′ from the K signal as described above.
[0086]
In the Bk conversion unit 52, AND of the edge portion data K4 ′ and the respective color masks Ymask2, Mmask2, and Cmask2 is further performed. The results are Y5 ', M5', and C5 ', respectively. Then, in the image composition unit 53, Y5, M5, C5, Y5 ', M5', C5 'and original image data Y4, M4, C4 are ORed for each color. Y6, M6, and C6 obtained as a result are final image data for recording.
[0087]
When the conversion process for the recordable pixels is completed by repeating the processes described above, the color image recording unit 1005 transfers the final image data Y ″, M ″, C ″ to the YMC three-color recording head 201. Thus, image recording in which the Bk image is appropriately reproduced on the recording paper 107 is performed.
[0088]
As described above, the color conversion unit uses a mask in which all of the YMC components are on-dots for the edge portion of the Bk image data to avoid the occurrence of color misregistration, and other regions (non- For the edge portion, Bk image data is converted into YMC image data by generating and using a random YMC mask for limiting the ink ejection amount to a predetermined amount. That is, the edge area and the non-edge area of the K image data can be converted into YMC components at different rates. Therefore, for the edge areas of Bk image data such as isolated points and ruled lines, all of the YMC components can be reproduced at a high density by printing ink with on dots, and for the non-edge areas, the YMC components can be reproduced. By thinning out a predetermined amount, it is possible to reproduce so as not to exceed the driving amount.
[0089]
As a result, edge portions in black characters, black ruled lines, and the like are also emphasized, so that K images can be clearly recorded even in image formation using YMC three-color inks.
[0090]
Also, since the ratio of the edge portion to the image is low, even if all the YMC components are shot on the edge portion with on dots, the maximum shot amount does not exceed 200% in the predetermined area. Bleeding and feathering do not occur and good color reproduction can be performed.
[0091]
In the second embodiment, edge enhancement is also performed for a boundary region with another color in the Bk image data. However, a configuration may be adopted in which edge enhancement is not performed by detecting a boundary with another color.
[0092]
As described above, edge detection can be performed at high speed with a simple configuration based on binarized data by linking UCR / BGR processing and edge detection.
[0093]
Further, the driving amount control in the intermediate density portion and the high density portion can be efficiently and accurately performed by the UCR / BGR process and the mask process.
[0094]
Further, by using different masks for the edge portion and other than the edge portion, the dots in the edge portion can be reproduced clearly and at a high density. That is, black characters and the like can be reproduced with high quality.
[0095]
In the present embodiment, the color processing unit 20 performs the binarization process. However, an N-value conversion process may be used in which the N value is lower than the number of gradations included in the K2C3M3Y3 image data.
[0096]
Further, the BGR process is not limited to that shown in FIG. 7, and a black component may be generated in a high density black pixel.
[0097]
<Other embodiments>
Even if this embodiment is applied to a system composed of a plurality of devices (for example, a host computer, interface device, printer, reader, etc.), a device (for example, a copier, a facsimile device, etc.) composed of a single device. You may apply to.
[0098]
When the present invention is achieved by supplying a recording medium recording a software program for achieving the present invention to a system or apparatus, and the system or apparatus reading and executing the program stored in the recording medium. Needless to say, it can also be applied. As a recording medium for supplying the program, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0099]
【The invention's effect】
According to the present invention, the edge portion of the black image can be detected at high speed with a simple configuration, and the edge portion of the black image can be reproduced with high quality.
[Brief description of the drawings]
FIG. 1 is a schematic view of a color inkjet printer according to an embodiment of the present invention.
FIG. 2 is a schematic view showing a configuration of an ink jet recording head in the present embodiment.
FIG. 3 is a block diagram showing a configuration of recording control of the ink jet printer according to the present embodiment.
FIG. 4 is a schematic diagram of a system according to the present embodiment.
FIG. 5 is a diagram illustrating processing of a color processing unit according to the present embodiment.
FIG. 6 is a diagram showing a UCR table according to the present embodiment.
FIG. 7 is a diagram showing a BGR table according to the present embodiment.
FIG. 8 is a diagram illustrating a configuration of a color conversion unit according to the present embodiment.
FIG. 9 is a diagram illustrating a process for creating a YMC mask pattern according to the present embodiment.
FIG. 10 is a flowchart showing a process for creating a YMC mask pattern in the present embodiment.
FIG. 11 is a diagram for explaining an edge extraction method in the present embodiment;

Claims (10)

複数の色成分で構成されるM値の色画像データを入力する入力手段と、
前記入力色画像データに基づき墨入れ処理を行い黒成分データを生成する墨入れ処理手段と、
前記黒成分データに対してN値(M>N)化処理を行うN値化処理手段と、
前記N値化された黒成分データに基づきエッジ検出するエッジ検出手段とを有し、
前記墨入れ処理手段は前記複数の色成分のレベルに応じて黒成分データを生成することを特徴とする画像処理装置。
Input means for inputting M-value color image data composed of a plurality of color components;
Inking processing means for generating black component data by performing inking processing based on the input color image data;
N-value processing means for performing N-value (M> N) processing on the black component data;
Edge detection means for detecting an edge based on the N-valued black component data,
The image processing apparatus, wherein the inking process means generates black component data according to the levels of the plurality of color components.
前記墨入れ処理手段は前記入力色画像データが高濃度の黒画素の場合において黒成分を生成することを特徴とする請求項1記載の画像処理装置。2. The image processing apparatus according to claim 1, wherein the inking process means generates a black component when the input color image data is a high density black pixel. 更に、前記黒成分データを前記複数の色成分に色変換する色変換手段を有し、
前記色変換手段はエッジ部とエッジ部以外の画像に対して異なる色変換を行うことを特徴とする請求項1記載の画像処理装置。
Furthermore, it has a color conversion means for color-converting the black component data into the plurality of color components,
The image processing apparatus according to claim 1, wherein the color conversion unit performs different color conversion on an edge portion and an image other than the edge portion.
前記色変換手段は前記検出されたエッジ部に対しては前記複数の色成分すべてをオンドットにすることを特徴とする請求項3記載の画像処理装置。The image processing apparatus according to claim 3, wherein the color conversion unit turns on all the plurality of color components for the detected edge portion. 前記色変換手段は前記エッジ部以外は所定の打込量を越えないように前記黒成分データを前記複数の色成分に色変換することを特徴とする請求項3記載の画像処理装置。4. The image processing apparatus according to claim 3, wherein the color conversion means performs color conversion of the black component data into the plurality of color components so as not to exceed a predetermined driving amount except for the edge portion. 前記N値化処理手段は2値化処理することを特徴とする請求項1記載の画像処理装置。The image processing apparatus according to claim 1, wherein the N-value conversion processing unit performs binarization processing. 更に、前記複数の色成分データに対して、打込量制御すべく下色除去する下色除去手段とを有することを特徴とする請求項1記載の画像処理装置。2. The image processing apparatus according to claim 1, further comprising a lower color removing unit that removes a lower color so as to control a driving amount for the plurality of color component data. 更に、前記複数の色成分の各々に対応した記録剤を用いて画像形成する画像形成手段とを有することを特徴とする請求項3記載の画像処理装置。4. The image processing apparatus according to claim 3, further comprising image forming means for forming an image using a recording agent corresponding to each of the plurality of color components. 前記複数の色成分は、Y、M、Cであることを特徴とする請求項7記載の画像処理装置。The image processing apparatus according to claim 7, wherein the plurality of color components are Y, M, and C. 複数の色成分で構成されるM値の色画像データを入力する入力工程と、
前記入力色画像データに基づき墨入れ処理を行い黒成分データを生成する墨入れ処理工程と、
前記黒成分データに対してN値(M>N)化処理を行うN値化処理工程と、
前記N値化された黒成分データに基づきエッジ検出するエッジ検出工程とを有し、
前記墨入れ処理工程は前記複数の色成分のレベルに応じて黒成分データを生成することを特徴とする画像処理方法。
An input step of inputting M-value color image data composed of a plurality of color components;
Inking process step of generating black component data by performing inking process based on the input color image data;
An N-value processing step of performing N-value (M> N) processing on the black component data;
An edge detection step of detecting an edge based on the N-valued black component data,
In the image processing method, the blacking process step generates black component data in accordance with levels of the plurality of color components.
JP28042495A 1995-04-21 1995-10-27 Image processing apparatus and method Expired - Fee Related JP3754734B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP28042495A JP3754734B2 (en) 1995-10-27 1995-10-27 Image processing apparatus and method
EP96302786A EP0739127B1 (en) 1995-04-21 1996-04-19 Method and apparatus for processing images
US08/634,989 US5852454A (en) 1995-04-21 1996-04-19 Color recording device and method for receiving binary image data and recording a corresponding color image
DE69615733T DE69615733T2 (en) 1995-04-21 1996-04-19 Method and device for processing images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28042495A JP3754734B2 (en) 1995-10-27 1995-10-27 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH09130613A JPH09130613A (en) 1997-05-16
JP3754734B2 true JP3754734B2 (en) 2006-03-15

Family

ID=17624864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28042495A Expired - Fee Related JP3754734B2 (en) 1995-04-21 1995-10-27 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3754734B2 (en)

Also Published As

Publication number Publication date
JPH09130613A (en) 1997-05-16

Similar Documents

Publication Publication Date Title
US5852454A (en) Color recording device and method for receiving binary image data and recording a corresponding color image
JP4227627B2 (en) Inkjet recording apparatus and image processing method
JP5517833B2 (en) Image processing apparatus and image processing method
JP3571891B2 (en) Recording apparatus, recording method, and data supply method
JP3829508B2 (en) Image processing apparatus, image processing method, and printing apparatus
JP4298127B2 (en) Image recording method, image recording apparatus, method for controlling image recording apparatus, computer-readable storage medium, and image processing method
JP3610250B2 (en) Ink jet recording apparatus and recording control method thereof
KR20070098593A (en) Printing head, printing device, serial data generation device, and computer program
JPH11314383A (en) Manufacture of print driver and color print system
JP2006062332A (en) Inkjet recording method, inkjet recording system, and control program
US20020039118A1 (en) Ink-jet printing apparatus and method, and computer readable memory
JP2005041041A (en) Edge treatment for inkjet printing
US20020097412A1 (en) Image processing method, printer and storage medium
JP4314243B2 (en) Recording apparatus and data processing apparatus
JP2005088342A (en) Color reduction process of improvement ink
JP3754734B2 (en) Image processing apparatus and method
JP2011143623A (en) Printer, printing method, and computer program
JP2005161630A (en) Inkjet recording system and inkjet recording method
JP3915521B2 (en) Printing that suppresses blurring of contours
JP3780120B2 (en) Recording method and recording apparatus
JP2008162096A (en) Image forming apparatus and its control method
JP5781189B2 (en) Recording apparatus, recording method, and control apparatus
JP3311213B2 (en) Image processing apparatus and method
JP2004202927A (en) Image processing method and device, and recording device
JP2004155080A (en) Image recording apparatus, image recording method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050427

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051219

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees