JP2004223850A - Image processor - Google Patents

Image processor Download PDF

Info

Publication number
JP2004223850A
JP2004223850A JP2003013678A JP2003013678A JP2004223850A JP 2004223850 A JP2004223850 A JP 2004223850A JP 2003013678 A JP2003013678 A JP 2003013678A JP 2003013678 A JP2003013678 A JP 2003013678A JP 2004223850 A JP2004223850 A JP 2004223850A
Authority
JP
Japan
Prior art keywords
data
trapping
processing
color
bitmap 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.)
Pending
Application number
JP2003013678A
Other languages
Japanese (ja)
Inventor
Kuniaki Ueki
國明 植木
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003013678A priority Critical patent/JP2004223850A/en
Publication of JP2004223850A publication Critical patent/JP2004223850A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)
  • Laser Beam Printer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor which applies image-processing to received printing data, outputs the processed data to a printing engine, and performs an effective trapping operation without enlarging the size of the processor and lowering the processing speed. <P>SOLUTION: This image processor 2 comprises a front processor 21 for converting the received printing data 1 to bitmap data to store it to a memory 22 and a rear processor 23 that processes the bitmap data stored in the memory 22 corresponding to the driving of the printing engine 3 and outputs the processed data to the printing engine 3. The rear processor 23 has the trapping operation means 25 for performing the trapping operation according to the bitmap data. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、受信した印刷データに画像処理を施し、当該画像処理後のデータを印刷エンジンに出力する画像処理装置に関し、特に、装置規模の拡大と処理速度の低下を招くことなく有効なトラッピング処理を行うことのできる画像処理装置に関する。
【0002】
【従来の技術】
一般に、カラー画像の印刷は、複数の色成分を重ね合わせることによって行われる。かかるカラー画像印刷では、通常の場合、C(シアン)、M(マゼンタ)、Y(イエロー)及びK(ブラック)の4色が用いられ、これらの各色毎に順次印刷動作が実行されて4色の重ね合わせが行われる。従って、このようなカラー画像印刷では、各色の印刷動作が異なるため、各色の出力画像間に位置ずれを起こす場合がある。特に、各色の印刷機構を独立させ高速な印刷を可能とするタンデム方式のプリンタ等においては、各色の印刷機構が独立しているために、この位置ずれが大きい傾向にある。
【0003】
このような位置ずれが起こると出力画像の画質が劣化し、特に、位置ずれにより、色の変わる境目の部分に本来はない白い部分が発生してしまう、いわゆる白抜けという現象が起こると、画質は劣悪なものとなる。そこで、従来より、この位置ずれによる画質劣化を防止するためにトラッピング処理というものが提案されている。
【0004】
このトラッピング処理は、色の変化する境目(エッジ)周辺に余計に色を付加し、位置ずれが起きても白抜け等による画質劣化を防止しようとするものである。具体的には、印刷動作前に印刷する画像データを用いて、色の変化するエッジ部分を検出し、色の変化状況等からトラッピング処理を行うか否かを判断し、トラッピング処理を行う場合には、当該エッジ部分周辺の画像データ(色のデータ)を位置ずれが起きても画質が劣化しないように変更する。かかるトラッピング処理は、位置ずれの大きいタンデム方式のプリンタに特に必要な処理である。
【0005】
下記特許文献(特開2002−165104号公報)には、かかるトラッピング処理のための装置と方法が開示され、C(シアン)、M(マゼンタ)、Y(イエロー)及びK(ブラック)の4色のデータを用いて、色を付加する領域及び付加する色を決定する旨が記載されている。
【0006】
【特許文献1】
特開2002−165104号公報
【0007】
【発明が解決しようとする課題】
通常、カラー画像印刷を行うプリンタ等の画像処理装置には、パーソナルコンピュータ等から送信される印刷データを解釈してビットマップデータとして格納しておく前処理の部分と、印刷を実行するエンジンの動作に同期して印刷時に前記ビットマップデータに処理を加えてエンジンに出力する後処理の部分がある。前述したトラッピング処理を、上記前処理において行う場合には、その処理に時間を要し、印刷速度が低下するという弊害があり、特に、高速性を特徴とするタンデム方式のプリンタにおいては問題となる。
【0008】
また、元画像の解像度よりも高い解像度で印刷する場合には、トラッピング処理を前処理において行うと、前処理の段階で画像データを高い解像度に変換しておく必要があり、ビットマップデータを格納するための大きなメモリを用意しなくてはならず、印刷速度も低下する。一方、前処理において高い解像度への変換を行わずにトラッピング処理だけを行う場合には、元の解像度でトラッピング処理が行われるのでトラッピングの幅が広がり画像がボケるという問題が生じる。
【0009】
図6は、かかる問題を説明するための図である。図6の(a)は、高い解像度に変換された後にトラッピング処理を行った場合を示している。図のC1は、元々色のある領域であり、解像度変換により、4×4の画素で表現されている。図のDは、色の変わるエッジであり、トラッピング処理によりその外側1画素分の領域(図のT1)に色が付加されている。一方、図6の(b)は、元の解像度でトラッピング処理された場合を示しており、図のC2は、図6の(a)のC1に該当する領域であるが2×2の画素で表現されている。従って、同じ方式でトラッピング処理が行われると、図のT2に示す1画素分の領域に色が付加される。図6の(c)は、その後に解像度変換を行った結果を示している。図6の(a)と(c)から明らかなように、解像度変換前にトラッピング処理を行うと、同じ領域(C1とC3)に対して色が付加される領域(図6の(c)のT3)が広がってしまい、前述したように画像がボケるという問題が生じる。
【0010】
また、トラッピング処理に4色全てのデータを用いる方式とすると、各色の処理の際に4色全てのデータを読み出す必要があり、大量のデータ転送のために設備規模を大きくしなければならないという問題がある。
【0011】
さらに、全ての色について共通の方式でトラッピング処理を行うと、各色の特性に対応した適切な処理が行えないという課題がある。具体的には、黒文字に対して他の色と同様の処理を行うと、文字がボケたり、スムージングの効果が低下して読みにくくなるという問題が生じる。
【0012】
図7は、かかる問題を説明するための図である。図7の(a)は、元の画像を、図7の(b)は、エッジスムージングのみを行った場合の画像を、図7の(c)は、トラッピング処理とエッジスムージングを行った場合の画像を表している。また、図7の(b)のEは、エッジスムージングにより付加された部分を、図7の(c)のFは、トラッピング処理により付加された部分を表している。図7の(c)から明らかなように、トラッピング処理とエッジスムージングの両方を行うと、エッジスムージングにより付加された部分がトラッピング処理で付加された部分と重なり(図7の(c)のG)、スムージングの効果が消えてしまう。
【0013】
また、他の例としては、Y(イエロー)は、可視性が低いため強めにトラッピングすることにより白抜け部分をより目立たなくできるという特性を有するが、全色共通のトラッピング方式では、その特性を活かした処理をすることができないという問題がある。
【0014】
そこで、本発明の目的は、受信した印刷データに画像処理を施し、当該画像処理後のデータを印刷エンジンに出力する画像処理装置であって、装置規模の拡大と処理速度の低下を招くことなく有効なトラッピング処理を行うことのできる画像処理装置を提供することである。
【0015】
【課題を解決するための手段】
上記の目的を達成するために、本発明の一つの側面は、受信した印刷データをビットマップデータに変換してメモリに格納する前処理部と、印刷エンジンの駆動に対応して前記メモリに格納されたビットマップデータに処理を施し処理後のデータを前記印刷エンジンに出力する後処理部とを有する画像処理装置において、前記後処理部が、前記ビットマップデータに基づいてトラッピング処理を実行するトラッピング処理手段を備えることである。従って、本発明によれば、ビットマップデータに変換するまで、即ち前述した前処理の段階でトラッピング処理が行われないので、印刷速度を低下させることがない。
【0016】
更に、上記の発明において、その好ましい態様は、前記ビットマップデータが複数色のデータを含み、前記トラッピング処理手段が、各色について処理を実行する際に、前記ビットマップデータのうち、当該処理を実行する色以外の色のデータを参照せずに実行することを特徴とする。これにより、データ転送量を少なくできるので、装置規模を拡大せずにトラッピング処理を実行することができる。
【0017】
また、上記の発明において、好ましい態様は、前記ビットマップデータが複数色のデータを含み、前記トラッピング処理手段が、各色について処理を実行する際に、前記ビットマップデータのうち、予め定められた全色より少ない特定の2以上の色のデータに基づいて処理を実行することを特徴とする。これによって、1色のデータに基づいて処理を実行する場合よりも有効なトラッピング処理を行うことができ、全色のデータを用いる場合よりも装置規模を小さくできる。
【0018】
また、上記の発明において、別の態様は、前記ビットマップデータが複数色のデータを含み、前記トラッピング処理手段が、各色について処理を実行する際に、前記ビットマップデータのうち、前記複数色の全色のデータに基づいて処理を実行することを特徴とする。この態様によれば、トラッピング処理に全色の状態が考慮されるので、より適切なトラッピング処理を行うことができ、有効な画質の劣化防止を図ることができる。
【0019】
更に、上記の発明において、好ましい態様は、前記後処理部が、解像度変換手段を備え、前記トラッピング処理手段が、当該解像度変換手段による解像度変換処理の後に処理を実行することを特徴とする。
【0020】
また、上記の発明において、好ましい態様は、前記後処理部が、パルス巾のデータをレーザ発光のON/OFF信号に変換するパルス巾変調手段を備え、前記トラッピング処理手段が、当該パルス巾変調手段の前に設けられることを特徴とする。
【0021】
更にまた、上記の発明において、好ましい態様は、前記後処理部が、前記ビットマップデータをパルス巾のデータに変換するスクリーン処理手段を備え、前記トラッピング処理手段が、当該スクリーン処理手段の前に設けられることを特徴とする。
【0022】
更に、上記の発明において、好ましい態様は、前記印刷が複数色による印刷であり、前記トラッピング処理手段が、前記複数色の各色に対してそれぞれ設けられることを特徴とする。
【0023】
また、上記の発明において、好ましい態様は、前記複数色に対する複数のトラッピング処理手段における処理手法が、同一でないことを特徴とする。これにより、各色の特性を活かしたトラッピング処理が可能となり、より有効に画質の劣化を防止することができる。
【0024】
上記の目的を達成するために、本発明の別の側面は、受信した印刷データをビットマップデータに変換してメモリに格納する前処理部と、タンデム式印刷エンジンの駆動に対応して前記メモリに格納されたビットマップデータに処理を施し処理後のデータを前記タンデム式印刷エンジンに出力する、各色に対してそれぞれ設けられた複数の後処理部とを有する画像処理装置において、前記各色の後処理部が、それぞれ、前記ビットマップデータの解像度を変換する解像度変換手段と、前記解像度変換手段により解像度を変換された後のビットマップデータに基づき、トラッピング処理を実行するトラッピング処理手段とを備えることである。従って、本発明により、タンデム方式の高速性を損なうことなく、有効な画質の劣化防止を行うことが可能となる。
【0025】
更に、上記の発明において、その好ましい態様は、前記解像度変換手段が、前記解像度変換後の、所定量のビットマップデータを保持するバッファを備え、前記トラッピング処理手段が、当該バッファに保持されたビットマップデータに基づいて処理を実行することを特徴とする。これにより、トラッピング処理手段用の新たなバッファを設ける必要がなく、装置規模を小さく抑えることが可能となる。
【0026】
上記の目的を達成するために、本発明の別の側面は、受信した印刷データをビットマップデータに変換してメモリに格納する前処理部と、タンデム式印刷エンジンの駆動に対応して前記メモリに格納されたビットマップデータに処理を施し処理後のデータを前記タンデム式印刷エンジンに出力する、各色に対してそれぞれ設けられた複数の後処理部とを有する画像処理装置において、前記各色の後処理部が、それぞれ、前記ビットマップデータに基づいて、処理対象の色以外の色のデータを参照せずに、前記処理対象の色のエッジを拡げるトラッピング処理を実行するトラッピング処理手段を備えることを特徴とする。従って、本発明により、タンデム方式でトラッピング処理を行う場合に、装置規模を小さく抑えることができる。
【0027】
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。
【0028】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。
【0029】
図1は、本発明を適用した画像処理装置の第一の実施の形態例に係る構成図である。図1に示す画像処理装置2が、第一の実施の形態例に係る画像処理装置であり、タンデム方式のプリンタに設けられている。当該画像処理装置2は、図に示すように、前処理部21、ページメモリ22、及び後処理部23から構成され、パーソナルコンピュータ等から送信される印刷データ1を受信した後、当該データに各種の画像処理を施し、処理後のデータを印刷エンジン3に出力する。かかる画像処理装置2は、トラッピング処理部25(トラッピング処理手段)を印刷時に処理を実行する後処理部23に備えると共に、各色のトラッピング処理を当該色のデータのみで行うことを特徴とし、装置規模の拡大と処理速度の低下を招くことなく有効なトラッピング処理を行おうとするものである。以下、トラッピング処理を中心に、当該画像処理装置2の各部の構成と処理内容について説明する。
【0030】
まず、図1に示す前処理部21は、従来装置と同様であり、ページ記述言語で表現された印刷データ1を受信し、当該データに対して、データ解釈、色変換、圧縮等の処理を施し、処理後のデータをページメモリ22に格納しておく。格納されるデータは、画素毎のデータ、即ちビットマップデータに変換されており、1画素毎に、C、M、Y、Kの4色のデータを有している。なお、各色のデータは、1byteで表現されている。
【0031】
ページメモリ22は、このビットマップデータを印刷の1ページ分保持する。したがって、ページメモリ22には、印刷1ページ分のC、M、Y、Kのデータが保持されている。
【0032】
次に、後処理部23は、印刷エンジン3における印刷時に印刷エンジン3に同期して動作する部分であり、本実施の形態例におけるプリンタがタンデム方式であるため、この後処理部23は各色ごとに設けられる。したがって、図1に示すように、本画像処理装置2は、4式の後処理部23C、23M、23Y、及び23Kを備えている。なお、各後処理部23の構成及び機能は同様であるため、以下、Cのデータについて処理を行う後処理部23Cについて説明する。
【0033】
後処理部23Cは、前述したように、ページメモリ22に格納された1ページ分の画像データを印刷する際に印刷エンジン3に同期して処理を実行し、具体的には、ページメモリ22からのCのデータの読み出し、解像度変換、トラッピング、2値化等の各処理を実行して、印刷可能なデータとした後に当該データを印刷エンジン3に出力する。したがって、図1に示すように、後処理部23Cには、これらの各処理を実行する解像度変換部24(解像度変換手段)、トラッピング処理部25、スクリーン部26(2値化手段)、パルス巾合成部27、及びPWM部28(パルス巾変調手段)が設けられている。
【0034】
まず、解像度変換部24は、ページメモリ22に格納されたビットマップデータよりも高い解像度で印刷する場合に、解像度を高く変換する処理と、エッジ部分のスムージング処理を実行する部分である。図1に示すように、解像度変換部24は、タイミング制御部241、ラスタバッファ242、及びスムージング処理部243を有する。タイミング制御部241は、バンドメモリ22からCのデータを読み出すタイミングを制御する部分であり、例えば、解像度を2倍に変換する場合には、縦方向、横方向共に、2回の読み出し信号に対して1回の読み出しを行うように制御する。これにより、画素密度が4倍になり、解像度が2倍の印刷エンジンに対応したデータがラスタバッファ242に送られる。
【0035】
ラスタバッファ242では、ページメモリ22から読み出されたCのデータを1ラスタ(1ページの横方向1行)毎に保持する。例えば、8ラスタ分のデータを保持する。これは、以下に説明するスムージング処理等において、処理対象の画素(領域)の周辺のデータについても必要となるからである。
【0036】
スムージング処理部243は、色の変わるエッジ部分が斜めになっている場合などに、画素による階段状の表現をできるだけ打ち消して滑らかな傾斜線として表されるように補正を行う部分である。具体的には、注目画素を中心とした所定の範囲のデータ、例えば、8ラスタ×9画素分のデータをラスタバッファ242から読み出し、色の変わり目となるエッジを検出する。そして、検出したエッジの形状を予め定められているエッジパターン(テンプレート)と比較し、マッチングしたパターンに基づいて、その補正内容を決定する。補正内容は、補正情報としてパルス巾合成部27に送られる。
【0037】
次に、トラッピング処理部25(トラッピング処理手段)は、本画像処理装置2の特徴部分であり、印刷エンジン3に同期した印刷時の処理において、トラッピング処理を実行する部分である。トラッピング処理部25は、印刷範囲の各画素毎に、ページメモリ22から読み出されたCのデータに基づいて、当該画素がエッジであるか否かの判定、即ちトラッピング処理を行うか否かの判定と、トラップ量の決定、即ち当該画素の画素値の決定を行う。このように、Cのデータのトラッピング処理にCのデータのみを用いることも本画像処理装置2の特徴である。
【0038】
以下、具体的な処理内容について説明する。まず、トラッピング処理部25は、処理対象の画素とその周辺の画素のデータをラスタバッファ242から読み出す。例えば、処理対象の画素が図1のイに示す部分にある場合には、その部分に含まれるラスタとその上下のラスタのデータの中から、対象画素及びその左右、上下の画素のついてデータを読み出す。これは、対象画素についてトラッピングを行うか否かを判定するために周囲のデータが必要であるからである。このように、周囲の画素のデータを蓄えておくためのバッファを、前述したスムージング処理のためのバッファと共有できるので、本画像処理装置2の構成は、装置規模を小さく抑えられるとういう効果を有する。
【0039】
次に、トラッピング処理部25は、前記読み出したデータにより、対象画素についてトラッピングを行うか否かの判定を行う。言い換えれば、対象画素がエッジであるか否かの判定を行う。具体的な判定方法には、様々な手法を用いることができるが、以下にその一例を示す。
【0040】
例えば、対象画素(注目画素)の画素値(Cのデータ値、Cの濃度)が予め定めた閾値よりも小さく、かつ、周囲画素の中にその画素値が前記閾値よりも大きい画素がある場合に、当該対象画素をエッジとみなし、トラッピング処理を行う。
【0041】
図2は、トラッピング処理部25が行う処理の一例を示した図である。図2の(a)は、前記ラスタバッファ242から読み出された画素値の一例を示している。図のAが対象画素であり、図のB1からB4までが周囲画素である。したがって、対象画素の画素値は“50”であり、その上に位置する周囲画素の画素値は“200”であるということを表している。ここで、これらのデータに対して前述したエッジの判定を行った結果が、図2の(b)及び(c)に示されている。
【0042】
図2の(b)は、例えば前記閾値を“70”にした場合であり、図中の“0”は、その画素値が閾値より小さいことを示し、図中の“1”は、その画素値が閾値より大きいことを示している。対象画素(A)の画素値は、閾値“70”よりも小さいため判定の結果は“0”となり、また、周囲画素(B1)の画素値は、閾値“70”よりも大きいため判定の結果は“1”となっている。したがって、この場合には、対象画素の画素値が閾値よりも小さく、かつ、周囲画素の中にその画素値が閾値よりも大きい画素があるので、当該対象画素をエッジとみなし、トラッピング処理を行うと判定される。一方、図2の(c)は、例えば前記閾値を“45”にした場合であり、対象画素(A)の画素値が、閾値“45”よりも大きいため判定の結果は“1”となり、したがって、前述した条件を満たさず、トラッピング処理を行わないと判定される。
【0043】
次に、トラッピング処理部25は、トラップ量を決定する処理、即ち、対象画素の画素値を決定する処理を行う。前記トラッピング処理を行うか否かの判定により、トラッピングを行うと判定された場合には、所定の手法により決定される、元の画素値よりも大きい画素値が対象画素に与えられる。一方、トラッピングを行わないと判定された場合には、元の画素値のままとする。
【0044】
トラッピングを行うと判定した場合の画素値の決定方法には、様々な手法を用いることができるが、例えば、予め定めた最小トラップ値と周囲画素の最大画素値のいずれか小さい方の値と、予め定めたトラップ率を周囲画素の最大画素値にかけた値、のいずれか大きい方の値を対象画素の画素値とするという方法を用いることができる。以下、図2の(a)に示した入力に対してこの手法を用いた場合について説明する。前記予め定めた最小トラップ値が“100”であり、前記予め定めたトラップ率が“0.4”であるとすると、予め定めた最小トラップ値と周囲画素の最大画素値のいずれか小さい方の値は、“100”と“200”を比較して“100”となる。また、予め定めたトラップ率を周囲画素の最大画素値にかけた値は、“0.4”を“200”にかけて“80”となる。したがって、“100”と“80”の大きい方の値である“100”が対象画素の画素値として決定される。この決定により、対象画素(A)の画素値は“100”に置換される。図2の(d)は、その結果を示している。
【0045】
このように、対象画素の画素値が決定されると、トラッピング処理部25は、その決定された値を対象画素の新しい画素値とし、そのデータを次のスクリーン部26に送信する。トラッピング処理部25は、印刷範囲について、以上説明したような処理を画素毎に順次実行する。
【0046】
なお、前述したように、本画像処理装置2に設けられた他の3式の後処理部23M、23Y、及び23Kにもそれぞれ同様のトラッピング処理部があり、M、Y、Kの各色について、それぞれ当該色のデータのみを用いてトラッピング処理を行う。例えば、後処理部23Mのトラッピング処理部は、ページメモリ22に格納されるMのデータのみを用いてトラッピング処理を実行する。このように、本画像処理装置2には、各色独立にトラッピング処理部を有するので、各色毎にトラッピング処理の内容を変えることができ、各色の特性に合わせた有効なトラッピングを行うことが可能である。
【0047】
例えば、K(黒)については、トラッピング処理を行わない、あるいは他の色に比べてトラッピング量を減らすという処理にすることにより、前述した黒文字がボケるという弊害や、エッジスムージングの効果が落ちるという問題を防止することができる。また、Y(黄)については、他の色に比べてトラッピング量を増やすという処理にすることにより、位置ずれによる白抜け部分をより目立たなくするという効果が得られる。
【0048】
以上説明したようなトラッピング処理が終了すると、以降、スクリーン部26、パルス巾合成部27、及びPWM部28が、従来装置と同様に、各処理を実行し、最終的に作成された印刷可能なデータを印刷エンジン3に出力する。スクリーン部26では、前記画素値をパルス巾に変換する処理が行われ、パルス巾合成部27では、前述したスムージング処理部243からの補正情報に基づき、スクリーン部26からのパルス巾に補正が行われ、PWM部28では、パルス巾のデータがレーザ発光のON/OFF信号に変換される。
【0049】
以上説明したように、第一の実施の形態例に係る画像処理装置2を用いることにより、トラッピング処理が印刷時に行われる後処理の中で行われるので、タンデム式プリンタの高速性を損なうことなく、位置ずれによる画質の劣化を防止することができる。また、各色のトラッピング処理に、4色全てのデータを用いずに、当該色のみのデータを用いるので、大量のデータ転送の必要がなく装置規模を小さく抑えることができる。さらに、各色独立したトラッピング処理部を有するので、各色毎にトラッピング処理の内容を変更でき、各色の特性を活かしたより有効なトラッピング処理が可能となる。
【0050】
次に、本発明を適用した画像処理装置の第二の実施の形態例について説明する。図3は、第二の実施の形態例に係る画像処理装置の構成図である。第二の実施の形態例に係る画像処理装置2´は、各色のトラッピング処理を行う際に、当該色のデータとK(黒)のデータの両方を用いることを特徴としており、この点以外は、第一の実施の形態例に係る画像処理装置2と同様である。したがって、装置構成もKのデータをページメモリ22からトラッピング処理部に取り込む部分を、第一の実施の形態例に係る画像処理装置2に追加したものとなっている。そこで、図3にも、Cのデータを処理する後処理部23C´について、当該変更部分の周辺のみを記載している。処理内容についても、トラッピング処理部25´以外の部分については第一の実施の形態例と同様であるので、以下、トラッピング処理部25´での処理についてのみ説明する。
【0051】
本実施の形態例のトラッピング処理部25´においても、ページメモリ22からのデータの取り込み、トラッピング処理実行可否の判定、及び画素値の決定の各処理を印刷範囲の各画素毎に行う。Cのデータについて処理を行う後処理部23C´のトラッピング処理部25´では、CのデータとKのデータを用いるが、Cのデータについては、第一の実施の形態例と同様に解像度変換部24のラスタバッファ242(図3には図示せず)から取り込み、Kのデータについては、ページメモリ22から取り込む。KのデータについてもCのデータと同様に、周囲画素のデータが必要となるため、図示していないが、ページメモリ22とトラッピング処理部25´の間にKのデータ用のラスタバッファが設けられる。
【0052】
トラッピング処理実行可否の判定及び画素値の決定の処理については、第一の実施の形態例と同様の流れで行われるが、これら処理に前記取り込んだC及びKの両方のデータが用いられる。したがって、対象画素及び周囲画素のCのデータ値が同じ場合であっても、Kのデータ値が異なれば、異なるトラッピング処理を行うことができる。
【0053】
図4は、その一例を説明するための図である。図4の(a)の上図は、Kの値が“255”で、Cの値が“0”である領域a1と、Kの値が“0”で、Cの値が“255”である領域a2が隣り合っている場合を示しており、下図は、上図の直線lに沿ったK及びCの画素値(濃度)を示している。このように、黒く塗りつぶされた領域a1のエッジにおいては、位置ずれによる白抜けが発生した場合に目立つため、多目にトラッピングすることが画質劣化の防止に効果的である。したがって、図4の(a)のt1に示すように、領域a1とa2のエッジに多目に色を付加するようにトラッピング処理を行う。
【0054】
一方、図4の(b)の上図は、Kの値が“0”で、Cの値も“0”である領域a1と、Kの値が“0”で、Cの値が“255”である領域a2が隣り合っている場合を示しており、下図は、上図の直線lに沿ったK及びCの画素値(濃度)を示している。かかる場合には、白抜けが発生しても図4の(a)の場合よりも目立たないため、トラップ量を少な目とし、図4の(b)のt2に示すような色の付加を実行する。このように、Cのデータの状態が同じでも、Kのデータが異なることによって、異なるトラッピング処理が実行される。
【0055】
以上説明したように、第二の実施の形態例に係る画像処理装置2´においては、各色のトラッピング処理に、Kのデータも用いるため、より適切かつ有効なトラッピング処理を行うことができ、第一の実施の形態例よりもさらに画質の劣化防止を図ることができる。なお、本実施の形態例では、各色のトラッピング処理に、当該色のデータ以外にKのデータを用いたが、K以外のデータを用いてもよく、また、当該色のデータ以外に任意の2色のデータを用いるようにしてもよい。例えば、Cのトラッピング処理にCのデータのほかにM及びKのデータを用いるようにしてもよい。
【0056】
次に、本発明を適用した画像処理装置の第三の実施の形態例について説明する。図5は、第三の実施の形態例に係る画像処理装置の構成図である。第三の実施の形態例に係る画像処理装置2´´は、各色のトラッピング処理を行う際に、4色全てのデータを用いることを特徴としており、この点以外は、第一及び第二の実施の形態例に係る画像処理装置と同様である。したがって、装置構成も、図5に示すように、処理対象の色以外の3色のデータをページメモリ22からトラッピング処理部に取り込む部分を、第一の実施の形態例に係る画像処理装置2に追加したものとなっている。処理内容についても、トラッピング処理部25´´以外の部分については第一の実施の形態例と同様である。
【0057】
他の色の後処理部についても同様であるが、図5に示すCについての後処理部23C´´のトラッピング処理部25´´は、Cのデータを解像度変換部24から取り込み、他の3色(M、Y、K)のデータをページメモリ22から取り込む。この3色のデータについてもCのデータと同様に、周囲画素のデータが必要となるため、図示していないが、ページメモリ22とトラッピング処理部25´´の間にこのためのラスタバッファが設けられる。トラッピング処理部25´´は、データの取り込み後、第一の実施の形態例と同様の流れでトラッピング処理実行可否の判定及び画素値の決定の処理を実行するが、これら処理に前記取り込んだ4色のデータが用いられる。
【0058】
このように第三の実施の形態例に係る画像処理装置2´´では、各色のトラッピング処理に4色全てのデータを用いるため、データ転送量が大きく第一の実施の形態例の場合よりも装置規模が大きくなるが、より正確かつ有効なトラッピングが行えるようになり、位置ずれによる画質劣化の防止を一層図ることができる。
【0059】
なお、以上説明した第一から第三の実施の形態例では、4色の処理を並列に行うタンデム方式のプリンタにおける画像処理装置であったが、本発明は、1色ずつ順番に処理を行う4サイクル方式のプリンタにおける画像処理装置にも適用することができる。かかる場合には、図1、図3、及び図5に例示した後処理部23と同様の1式の後処理部が設けられ、C、M、Y、Kのデータについて順番に、トラッピング処理を含む各処理が前述した実施の形態例と同様の内容で実行される。
【0060】
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。
【図面の簡単な説明】
【図1】第一の実施の形態例に係る画像処理装置の構成図である。
【図2】トラッピング処理部25が行う処理の一例を示した図である。
【図3】第二の実施の形態例に係る画像処理装置の構成図である。
【図4】第二の実施の形態例に係るトラッピング処理の一例を示す図である。
【図5】第三の実施の形態例に係る画像処理装置の構成図である。
【図6】トラッピング処理の課題を説明するための図である。
【図7】トラッピング処理の課題を説明するための図である。
【符号の説明】
1 印刷データ、 2 画像処理装置、 3 印刷エンジン、 21 前処理部、 22 ページメモリ、 23C,23M,23Y,23K 後処理部、 24 解像度変換部、 25 トラッピング処理部、 26 スクリーン部、 27 パルス巾合成部、 28 PWM部、 241 タイミング制御部、 242 ラスタバッファ、243 スムージング処理部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing apparatus that performs image processing on received print data and outputs the data after the image processing to a print engine. In particular, the present invention relates to an effective trapping process that does not cause an increase in apparatus scale and a reduction in processing speed. The present invention relates to an image processing apparatus capable of performing the following.
[0002]
[Prior art]
Generally, printing of a color image is performed by overlapping a plurality of color components. In such color image printing, usually, four colors of C (cyan), M (magenta), Y (yellow), and K (black) are used, and a printing operation is sequentially performed for each of these colors to obtain four colors. Are superimposed. Therefore, in such a color image printing, since the printing operation of each color is different, there is a case where a positional shift occurs between the output images of each color. In particular, in a tandem-type printer or the like that enables high-speed printing by making the printing mechanisms for each color independent, this misalignment tends to be large because the printing mechanisms for each color are independent.
[0003]
If such a displacement occurs, the image quality of the output image is degraded. In particular, if a phenomenon called so-called white spot occurs, in which a white portion that is not originally generated occurs at a boundary where the color changes due to the displacement, the image quality is deteriorated. Is bad. Therefore, conventionally, a trapping process has been proposed to prevent the image quality from being deteriorated due to the displacement.
[0004]
The trapping process is to add an extra color around a boundary (edge) where the color changes, and to prevent image quality deterioration due to white spots and the like even when a positional shift occurs. Specifically, using the image data to be printed before the printing operation, the edge portion where the color changes is detected, it is determined whether or not to perform the trapping process based on the color change status, etc. Changes the image data (color data) around the edge portion so that the image quality is not degraded even if a positional shift occurs. Such trapping processing is particularly necessary for a tandem-type printer having a large displacement.
[0005]
The following patent document (Japanese Patent Application Laid-Open No. 2002-165104) discloses an apparatus and method for such trapping processing, and includes four colors of C (cyan), M (magenta), Y (yellow), and K (black). Is described in which a region to which a color is to be added and a color to be added are determined using the data.
[0006]
[Patent Document 1]
JP-A-2002-165104
[0007]
[Problems to be solved by the invention]
Normally, an image processing apparatus such as a printer that performs color image printing includes a pre-processing portion that interprets print data transmitted from a personal computer and stores it as bitmap data, and an operation of an engine that executes printing. There is a post-processing portion that adds processing to the bitmap data and outputs the processed data to the engine at the time of printing in synchronization with. When the above-described trapping process is performed in the above-described pre-process, it takes time to perform the process, and there is a disadvantage that the printing speed is reduced. In particular, this problem is caused in a tandem-type printer characterized by high speed. .
[0008]
Also, when printing at a resolution higher than the resolution of the original image, if the trapping process is performed in the pre-processing, it is necessary to convert the image data to a high resolution at the pre-processing stage and store the bitmap data. Therefore, a large memory must be prepared, and the printing speed is reduced. On the other hand, in the case where only trapping processing is performed without performing conversion to a high resolution in the pre-processing, since the trapping processing is performed at the original resolution, the width of the trapping is widened and the image is blurred.
[0009]
FIG. 6 is a diagram for explaining such a problem. FIG. 6A shows a case where a trapping process is performed after conversion into a high resolution. C1 in the figure is an originally colored region, which is represented by 4 × 4 pixels by resolution conversion. D in the figure is an edge where the color changes, and a color is added to an area of one pixel outside (T1 in the figure) by trapping processing. On the other hand, FIG. 6B shows a case where trapping processing is performed at the original resolution, and C2 in FIG. 6 is an area corresponding to C1 in FIG. Is expressed. Therefore, when the trapping process is performed in the same manner, a color is added to the area for one pixel shown at T2 in the figure. FIG. 6C shows the result of the subsequent resolution conversion. As is clear from FIGS. 6A and 6C, when the trapping process is performed before the resolution conversion, the same region (C1 and C3) is added with the color (the region of FIG. 6C). T3) is spread, and the problem that the image is blurred occurs as described above.
[0010]
In addition, if a method is used in which all four colors of data are used for the trapping process, it is necessary to read out all four colors of data when processing each color, and the facility scale must be increased for transferring a large amount of data. There is.
[0011]
Furthermore, if the trapping process is performed for all the colors in a common manner, there is a problem that an appropriate process corresponding to the characteristics of each color cannot be performed. Specifically, if the same processing is performed on a black character as that for other colors, there is a problem that the character is blurred, the effect of smoothing is reduced, and the character becomes difficult to read.
[0012]
FIG. 7 is a diagram for explaining such a problem. 7A shows the original image, FIG. 7B shows the image when only edge smoothing is performed, and FIG. 7C shows the image when trapping processing and edge smoothing are performed. Represents an image. E in FIG. 7B indicates a portion added by edge smoothing, and F in FIG. 7C indicates a portion added by trapping processing. As is clear from FIG. 7C, when both the trapping process and the edge smoothing are performed, the portion added by the edge smoothing overlaps with the portion added by the trapping process (G in FIG. 7C). , The effect of smoothing disappears.
[0013]
Further, as another example, Y (yellow) has a characteristic that the white spots can be made more inconspicuous by performing strong trapping due to low visibility. There is a problem that processing that can be utilized cannot be performed.
[0014]
Therefore, an object of the present invention is to provide an image processing apparatus that performs image processing on received print data and outputs the data after the image processing to a print engine without causing an increase in apparatus scale and a reduction in processing speed. An object of the present invention is to provide an image processing apparatus capable of performing an effective trapping process.
[0015]
[Means for Solving the Problems]
In order to achieve the above object, one aspect of the present invention is a preprocessing unit that converts received print data into bitmap data and stores it in a memory, and stores the print data in the memory in response to driving of a print engine. A post-processing unit that performs processing on the bitmap data and outputs the processed data to the print engine, wherein the post-processing unit performs a trapping process based on the bitmap data. The processing means is provided. Therefore, according to the present invention, since the trapping process is not performed until the data is converted into the bitmap data, that is, at the stage of the preprocessing described above, the printing speed is not reduced.
[0016]
Further, in the above-mentioned invention, in a preferred aspect, the bitmap data includes data of a plurality of colors, and when the trapping processing unit performs a process on each color, the bitmap data performs the process out of the bitmap data. The processing is performed without referring to data of a color other than the color to be executed. As a result, the data transfer amount can be reduced, so that the trapping process can be executed without increasing the device scale.
[0017]
Further, in the above invention, in a preferred aspect, the bitmap data includes data of a plurality of colors, and when the trapping processing unit executes a process for each color, a predetermined total of the bitmap data is Processing is performed based on data of two or more specific colors less than the colors. This makes it possible to perform more effective trapping processing than when processing is performed based on one-color data, and can reduce the device scale as compared with the case where all-color data is used.
[0018]
Further, in the above invention, another embodiment is characterized in that the bitmap data includes data of a plurality of colors, and the trapping processing unit performs processing for each color, and the bitmap data includes a plurality of colors of the plurality of colors. The process is performed based on data of all colors. According to this aspect, since the state of all colors is considered in the trapping process, more appropriate trapping process can be performed, and effective image quality degradation can be prevented.
[0019]
In a preferred aspect of the above-mentioned invention, the post-processing unit includes a resolution conversion unit, and the trapping processing unit executes the processing after the resolution conversion processing by the resolution conversion unit.
[0020]
In a preferred aspect of the above invention, the post-processing unit includes a pulse width modulation unit that converts pulse width data into an ON / OFF signal of laser emission, and the trapping processing unit includes the pulse width modulation unit. Is provided before the.
[0021]
Furthermore, in the above invention, in a preferred aspect, the post-processing unit includes a screen processing unit that converts the bitmap data into pulse width data, and the trapping processing unit is provided before the screen processing unit. It is characterized by being able to.
[0022]
Further, in the above-mentioned invention, in a preferred aspect, the printing is printing in a plurality of colors, and the trapping processing means is provided for each of the plurality of colors.
[0023]
In a preferred aspect of the present invention, the processing methods of the plurality of trapping processing means for the plurality of colors are not the same. As a result, trapping processing utilizing the characteristics of each color can be performed, and the deterioration of image quality can be more effectively prevented.
[0024]
In order to achieve the above object, another aspect of the present invention is a preprocessing unit that converts received print data into bitmap data and stores the same in a memory, and the memory corresponding to the drive of a tandem print engine. An image processing apparatus comprising: a plurality of post-processing units provided for each color, wherein the post-processing unit outputs a processed data to the tandem-type print engine, and outputs the processed data to the tandem print engine. The processing unit includes: a resolution conversion unit that converts the resolution of the bitmap data; and a trapping processing unit that performs a trapping process based on the bitmap data whose resolution has been converted by the resolution conversion unit. It is. Therefore, according to the present invention, it is possible to effectively prevent the deterioration of image quality without impairing the high-speed performance of the tandem system.
[0025]
Further, in the above invention, a preferable aspect is that the resolution conversion means includes a buffer for storing a predetermined amount of bitmap data after the resolution conversion, and the trapping processing means includes a buffer for storing the bitmap data stored in the buffer. Processing is performed based on the map data. As a result, it is not necessary to provide a new buffer for the trapping processing means, and the size of the apparatus can be reduced.
[0026]
In order to achieve the above object, another aspect of the present invention is a preprocessing unit that converts received print data into bitmap data and stores the same in a memory, and the memory corresponding to the drive of a tandem print engine. An image processing apparatus comprising: a plurality of post-processing units provided for each color, wherein the post-processing unit outputs a processed data to the tandem-type print engine, and outputs the processed data to the tandem print engine. The processing unit, each based on the bitmap data, without referring to data of a color other than the color to be processed, without having a trapping processing means for performing a trapping process to expand the edge of the color to be processed Features. Therefore, according to the present invention, when the trapping process is performed in the tandem system, the device scale can be reduced.
[0027]
Further objects and features of the present invention will become apparent from the embodiments of the present invention described below.
[0028]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, such embodiments do not limit the technical scope of the present invention. In the drawings, the same or similar components will be described with the same reference numerals or reference symbols.
[0029]
FIG. 1 is a configuration diagram of an image processing apparatus according to a first embodiment of the present invention. The image processing apparatus 2 shown in FIG. 1 is the image processing apparatus according to the first embodiment, and is provided in a tandem-type printer. As shown in the figure, the image processing apparatus 2 includes a pre-processing unit 21, a page memory 22, and a post-processing unit 23. After receiving the print data 1 transmitted from a personal computer or the like, the image processing device 2 , And outputs the processed data to the print engine 3. The image processing apparatus 2 is characterized in that a trapping processing unit 25 (trapping processing means) is provided in a post-processing unit 23 that executes processing at the time of printing, and that a trapping process of each color is performed only with data of the color. It is intended to perform an effective trapping process without increasing the processing speed and reducing the processing speed. Hereinafter, the configuration and processing contents of each unit of the image processing apparatus 2 will be described, focusing on the trapping processing.
[0030]
First, the pre-processing unit 21 shown in FIG. 1 is the same as the conventional device, receives print data 1 expressed in a page description language, and performs processing such as data interpretation, color conversion, and compression on the data. The processed data is stored in the page memory 22. The stored data is converted into data for each pixel, that is, bitmap data, and each pixel has data of four colors of C, M, Y, and K. Note that the data of each color is expressed in 1 byte.
[0031]
The page memory 22 holds this bitmap data for one page of printing. Therefore, the page memory 22 holds C, M, Y, and K data for one page to be printed.
[0032]
Next, the post-processing unit 23 is a part that operates in synchronization with the print engine 3 during printing by the print engine 3. Since the printer in the present embodiment is of a tandem type, the post-processing unit 23 Is provided. Therefore, as shown in FIG. 1, the image processing apparatus 2 includes four types of post-processing units 23C, 23M, 23Y, and 23K. Since the configuration and function of each post-processing unit 23 are the same, a description will be given below of the post-processing unit 23C that processes the data of C.
[0033]
The post-processing unit 23C executes processing in synchronization with the print engine 3 when printing one page of image data stored in the page memory 22 as described above. After performing the processes such as reading of the C data, resolution conversion, trapping, binarization, and the like to make the data printable, the data is output to the print engine 3. Therefore, as shown in FIG. 1, the post-processing unit 23C includes a resolution conversion unit 24 (resolution conversion unit) for executing each of these processes, a trapping processing unit 25, a screen unit 26 (binarization unit), and a pulse width. A combining unit 27 and a PWM unit 28 (pulse width modulation means) are provided.
[0034]
First, when printing at a resolution higher than the bitmap data stored in the page memory 22, the resolution conversion unit 24 is a part that executes processing for converting the resolution to high and processing for smoothing the edge portion. As shown in FIG. 1, the resolution conversion unit 24 includes a timing control unit 241, a raster buffer 242, and a smoothing processing unit 243. The timing control unit 241 is a part that controls the timing at which the data of C is read from the band memory 22. For example, when the resolution is doubled, the timing control unit 241 applies two read signals in both the vertical and horizontal directions. Control to perform one reading. As a result, the pixel density is quadrupled and the data corresponding to the print engine with twice the resolution is sent to the raster buffer 242.
[0035]
The raster buffer 242 holds the C data read from the page memory 22 for each raster (one horizontal line of one page). For example, data for eight rasters is held. This is because, in the smoothing process described below, data around a pixel (region) to be processed is also required.
[0036]
The smoothing processing unit 243 is a unit that performs correction so that a stair-like expression by pixels is canceled as much as possible and a smooth inclined line is displayed, for example, when an edge portion where the color changes is oblique. Specifically, data in a predetermined range around the pixel of interest, for example, data for 8 rasters × 9 pixels, is read from the raster buffer 242, and an edge serving as a color transition is detected. Then, the detected edge shape is compared with a predetermined edge pattern (template), and the correction content is determined based on the matched pattern. The content of the correction is sent to the pulse width synthesizing unit 27 as correction information.
[0037]
Next, the trapping processing unit 25 (trapping processing means) is a characteristic part of the image processing apparatus 2, and is a part that executes a trapping process in a process during printing synchronized with the print engine 3. The trapping processing unit 25 determines, for each pixel in the print range, whether or not the pixel is an edge based on the C data read from the page memory 22, that is, whether or not to perform the trapping process. The determination and the determination of the trap amount, that is, the determination of the pixel value of the pixel are performed. As described above, the feature of the image processing apparatus 2 is that only the C data is used in the trapping processing of the C data.
[0038]
Hereinafter, specific processing contents will be described. First, the trapping processing unit 25 reads out data of a pixel to be processed and its surrounding pixels from the raster buffer 242. For example, when the pixel to be processed is located in the portion shown in FIG. 1A, the data of the target pixel and the left and right and upper and lower pixels are extracted from the raster and the upper and lower raster data included in the portion. read out. This is because surrounding data is needed to determine whether or not to perform trapping on the target pixel. As described above, the buffer for storing the data of the surrounding pixels can be shared with the buffer for the above-described smoothing processing. Therefore, the configuration of the image processing apparatus 2 has an effect that the apparatus scale can be reduced. Have.
[0039]
Next, the trapping processing unit 25 determines whether or not to perform trapping on the target pixel based on the read data. In other words, it is determined whether or not the target pixel is an edge. Various methods can be used as a specific determination method, and an example is shown below.
[0040]
For example, when the pixel value (data value of C, density of C) of the target pixel (pixel of interest) is smaller than a predetermined threshold value, and there is a pixel whose peripheral pixel value is larger than the threshold value among the surrounding pixels Then, the target pixel is regarded as an edge, and a trapping process is performed.
[0041]
FIG. 2 is a diagram illustrating an example of a process performed by the trapping processing unit 25. FIG. 2A shows an example of a pixel value read from the raster buffer 242. A in the figure is a target pixel, and B1 to B4 in the figure are surrounding pixels. Therefore, the pixel value of the target pixel is “50”, and the pixel value of the surrounding pixels located above it is “200”. Here, the results of performing the above-described edge determination on these data are shown in FIGS. 2B and 2C.
[0042]
FIG. 2B shows a case where the threshold value is set to “70”, for example, where “0” in the figure indicates that the pixel value is smaller than the threshold value, and “1” in the figure indicates that the pixel value is Indicates that the value is greater than the threshold. Since the pixel value of the target pixel (A) is smaller than the threshold value “70”, the result of the determination is “0”, and the pixel value of the surrounding pixel (B1) is larger than the threshold value “70”. Is "1". Therefore, in this case, since the pixel value of the target pixel is smaller than the threshold value and there is a pixel whose pixel value is larger than the threshold value in the surrounding pixels, the target pixel is regarded as an edge and the trapping process is performed. Is determined. On the other hand, FIG. 2C shows a case where the threshold value is set to “45”, for example. Since the pixel value of the target pixel (A) is larger than the threshold value “45”, the determination result is “1”. Therefore, it is determined that the above-described condition is not satisfied and the trapping process is not performed.
[0043]
Next, the trapping processing unit 25 performs a process of determining a trap amount, that is, a process of determining a pixel value of a target pixel. When it is determined that trapping is to be performed by the determination as to whether or not to perform the trapping process, a pixel value larger than the original pixel value determined by a predetermined method is given to the target pixel. On the other hand, when it is determined that trapping is not to be performed, the original pixel value is kept.
[0044]
Various methods can be used to determine a pixel value when it is determined that trapping is performed.For example, a smaller value of a predetermined minimum trap value and a maximum pixel value of surrounding pixels, whichever is smaller, A method can be used in which a larger value of a value obtained by multiplying a predetermined trap rate by a maximum pixel value of surrounding pixels is used as a pixel value of a target pixel. Hereinafter, the case where this method is used for the input shown in FIG. 2A will be described. Assuming that the predetermined minimum trap value is “100” and the predetermined trap rate is “0.4”, the smaller of the predetermined minimum trap value and the maximum pixel value of the surrounding pixels is determined. The value becomes “100” by comparing “100” and “200”. Further, a value obtained by multiplying a predetermined trap rate by the maximum pixel value of the surrounding pixels is “80” by multiplying “0.4” by “200”. Therefore, “100” which is the larger value of “100” and “80” is determined as the pixel value of the target pixel. With this determination, the pixel value of the target pixel (A) is replaced with “100”. FIG. 2D shows the result.
[0045]
As described above, when the pixel value of the target pixel is determined, the trapping processing unit 25 sets the determined value as a new pixel value of the target pixel, and transmits the data to the next screen unit 26. The trapping processing unit 25 sequentially executes the above-described processing on the print range for each pixel.
[0046]
As described above, the other three types of post-processing units 23M, 23Y, and 23K provided in the image processing apparatus 2 have the same trapping processing units, respectively. For each of the colors M, Y, and K, Trapping processing is performed using only the data of each color. For example, the trapping processing unit of the post-processing unit 23M executes a trapping process using only the data of M stored in the page memory 22. As described above, since the image processing apparatus 2 includes the trapping processing unit for each color independently, the content of the trapping processing can be changed for each color, and effective trapping according to the characteristics of each color can be performed. is there.
[0047]
For example, for K (black), no trapping process is performed, or the trapping amount is reduced compared to other colors, so that the above-described adverse effect of black characters and the effect of edge smoothing are reduced. Problems can be prevented. In addition, for Y (yellow), by performing processing to increase the trapping amount as compared with other colors, an effect of making the white spots due to misregistration less noticeable can be obtained.
[0048]
When the trapping process as described above is completed, the screen unit 26, the pulse width synthesizing unit 27, and the PWM unit 28 thereafter execute each process in the same manner as in the conventional device, and finally, the printable The data is output to the print engine 3. The screen unit 26 performs a process of converting the pixel value into a pulse width. The pulse width synthesizing unit 27 corrects the pulse width from the screen unit 26 based on the correction information from the smoothing processing unit 243 described above. In the PWM unit 28, the data of the pulse width is converted into an ON / OFF signal for laser emission.
[0049]
As described above, by using the image processing apparatus 2 according to the first embodiment, the trapping process is performed in the post-process performed at the time of printing, so that the speed of the tandem-type printer is not impaired. In addition, it is possible to prevent the image quality from deteriorating due to the displacement. Further, since the data of only the four colors is used in the trapping process of each color without using the data of all four colors, it is not necessary to transfer a large amount of data, and the apparatus scale can be reduced. Furthermore, since each color has an independent trapping processing unit, the content of the trapping processing can be changed for each color, and more effective trapping processing utilizing the characteristics of each color can be performed.
[0050]
Next, a second embodiment of the image processing apparatus to which the present invention is applied will be described. FIG. 3 is a configuration diagram of an image processing apparatus according to the second embodiment. The image processing apparatus 2 ′ according to the second embodiment is characterized in that when performing the trapping process of each color, both the data of the color and the data of K (black) are used. This is the same as the image processing device 2 according to the first embodiment. Therefore, the device configuration is such that a portion for taking the data of K from the page memory 22 into the trapping processing unit is added to the image processing device 2 according to the first embodiment. Therefore, FIG. 3 also illustrates only the periphery of the changed part in the post-processing unit 23C ′ that processes the data of C. Regarding the processing contents, the other parts than the trapping processing unit 25 'are the same as those in the first embodiment, and therefore, only the processing in the trapping processing unit 25' will be described below.
[0051]
Also in the trapping processing unit 25 ′ of the present embodiment, the processing of fetching data from the page memory 22, determining whether or not the trapping processing can be performed, and determining the pixel value are performed for each pixel in the print range. The trapping processing unit 25 'of the post-processing unit 23C' that performs processing on the C data uses the C data and the K data, but the C data is processed by the resolution conversion unit as in the first embodiment. 24, and K data is fetched from the page memory 22. The raster buffer 242 (not shown in FIG. 3). Similar to the C data, the data of the surrounding pixels are required for the K data, and therefore, although not shown, a raster buffer for the K data is provided between the page memory 22 and the trapping processing unit 25 '. .
[0052]
The process of determining whether or not the trapping process can be performed and the process of determining the pixel value are performed in the same flow as in the first embodiment, but both of the captured C and K data are used in these processes. Therefore, even when the data values of C of the target pixel and the surrounding pixels are the same, different trapping processes can be performed if the data values of K are different.
[0053]
FIG. 4 is a diagram for explaining an example. 4A shows an area a1 in which the value of K is “255” and the value of C is “0”, and the value of K is “0” and the value of C is “255”. The figure shows a case where certain areas a2 are adjacent to each other, and the lower figure shows the pixel values (density) of K and C along the straight line 1 in the upper figure. As described above, at the edge of the region a <b> 1 painted black, when white spots occur due to misalignment, the edge is conspicuous. Therefore, trapping more times is effective in preventing image quality deterioration. Therefore, as shown at t1 in FIG. 4A, trapping processing is performed so as to add more colors to the edges of the areas a1 and a2.
[0054]
On the other hand, the upper diagram of FIG. 4B shows an area a1 in which the value of K is “0” and the value of C is also “0”, the value of K is “0”, and the value of C is “255”. "Indicates that the areas a2 adjacent to each other are adjacent to each other, and the lower diagram shows the pixel values (densities) of K and C along the straight line 1 in the upper diagram. In such a case, even if white spots occur, they are less noticeable than in the case of FIG. 4A, so that the trap amount is set to a small value and a color is added as shown at t2 in FIG. 4B. . As described above, even when the state of the data of C is the same, different trapping processes are executed due to the different data of K.
[0055]
As described above, in the image processing device 2 ′ according to the second embodiment, since the data of K is also used for the trapping process of each color, a more appropriate and effective trapping process can be performed. It is possible to further prevent the image quality from deteriorating as compared with the embodiment. In the present embodiment, the data of K is used in the trapping process of each color in addition to the data of the color. However, data other than K may be used. Color data may be used. For example, the data of M and K may be used in the trapping process of C in addition to the data of C.
[0056]
Next, a third embodiment of the image processing apparatus to which the present invention is applied will be described. FIG. 5 is a configuration diagram of an image processing apparatus according to the third embodiment. The image processing apparatus 2 ″ according to the third embodiment is characterized in that data of all four colors is used when performing the trapping processing of each color. This is the same as the image processing device according to the embodiment. Therefore, as shown in FIG. 5, the image processing apparatus 2 according to the first embodiment also has a configuration in which the three-color data other than the color to be processed is loaded from the page memory 22 into the trapping processing unit. It has been added. Regarding the processing contents, parts other than the trapping processing unit 25 '' are the same as those in the first embodiment.
[0057]
The same applies to the post-processing units of other colors, but the trapping processing unit 25 '' of the post-processing unit 23C '' for C shown in FIG. The color (M, Y, K) data is fetched from the page memory 22. As with the C data, the data of the surrounding pixels is required for the three colors of data. Therefore, although not shown, a raster buffer for this is provided between the page memory 22 and the trapping processing unit 25 ''. Can be After capturing the data, the trapping processing unit 25 ″ performs the determination of whether or not to perform the trapping process and the determination of the pixel value in the same flow as in the first embodiment. Color data is used.
[0058]
As described above, in the image processing apparatus 2 ″ according to the third embodiment, since data of all four colors is used for the trapping process of each color, the data transfer amount is large and is larger than that of the first embodiment. Although the scale of the apparatus is increased, more accurate and effective trapping can be performed, and the deterioration of the image quality due to the displacement can be further prevented.
[0059]
In the first to third embodiments described above, the image processing apparatus is a tandem-type printer that performs four-color processing in parallel. However, the present invention performs the processing in order for each color. The present invention can also be applied to an image processing apparatus in a four-cycle printer. In such a case, a post-processing unit similar to the post-processing unit 23 illustrated in FIGS. 1, 3, and 5 is provided, and the trapping process is performed on the C, M, Y, and K data in order. Each process including the above is executed with the same contents as those of the above-described embodiment.
[0060]
The protection scope of the present invention is not limited to the above embodiments, but extends to the inventions described in the claims and their equivalents.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an image processing apparatus according to a first embodiment.
FIG. 2 is a diagram illustrating an example of a process performed by a trapping processing unit 25;
FIG. 3 is a configuration diagram of an image processing apparatus according to a second embodiment.
FIG. 4 is a diagram illustrating an example of a trapping process according to a second embodiment;
FIG. 5 is a configuration diagram of an image processing apparatus according to a third embodiment.
FIG. 6 is a diagram for explaining a problem of a trapping process.
FIG. 7 is a diagram for explaining a problem of a trapping process.
[Explanation of symbols]
1 print data, 2 image processing device, 3 print engine, 21 pre-processing unit, 22 page memory, 23C, 23M, 23Y, 23K post-processing unit, 24 resolution conversion unit, 25 trapping processing unit, 26 screen unit, 27 pulse width Synthesis unit, 28 PWM unit, 241 timing control unit, 242 raster buffer, 243 smoothing processing unit

Claims (12)

受信した印刷データをビットマップデータに変換してメモリに格納する前処理部と、印刷エンジンの駆動に対応して前記メモリに格納されたビットマップデータに処理を施し処理後のデータを前記印刷エンジンに出力する後処理部とを有する画像処理装置において、
前記後処理部が、前記ビットマップデータに基づいてトラッピング処理を実行するトラッピング処理手段を備える
ことを特徴とする画像処理装置。
A preprocessing unit that converts received print data into bitmap data and stores the bitmap data in a memory; and performs processing on the bitmap data stored in the memory in response to driving of the print engine, and stores the processed data in the print engine. An image processing apparatus having a post-processing unit that outputs
The image processing apparatus according to claim 1, wherein the post-processing unit includes a trapping unit that performs a trapping process based on the bitmap data.
請求項1において、
前記ビットマップデータが複数色のデータを含み、
前記トラッピング処理手段が、各色について処理を実行する際に、前記ビットマップデータのうち、当該処理を実行する色以外の色のデータを参照せずに処理を実行する
ことを特徴とする画像処理装置。
In claim 1,
The bitmap data includes data of a plurality of colors,
An image processing apparatus wherein, when the trapping processing unit performs a process for each color, the trapping processing unit performs the process without referring to data of a color other than the color to be processed in the bitmap data. .
請求項1において、
前記ビットマップデータが複数色のデータを含み、
前記トラッピング処理手段が、各色について処理を実行する際に、前記ビットマップデータのうち、予め定められた全色より少ない特定の2以上の色のデータに基づいて処理を実行する
ことを特徴とする画像処理装置。
In claim 1,
The bitmap data includes data of a plurality of colors,
When the trapping processing means executes processing for each color, the trapping processing means executes processing based on data of two or more specific colors smaller than all predetermined colors in the bitmap data. Image processing device.
請求項1において、
前記ビットマップデータが複数色のデータを含み、
前記トラッピング処理手段が、各色について処理を実行する際に、前記ビットマップデータのうち、前記複数色の全色のデータに基づいて処理を実行する
ことを特徴とする画像処理装置。
In claim 1,
The bitmap data includes data of a plurality of colors,
The image processing apparatus according to claim 1, wherein the trapping processing unit executes processing based on data of all of the plurality of colors in the bitmap data when executing processing for each color.
請求項1乃至請求項4のいずれかにおいて、
前記後処理部が、解像度変換手段を備え、
前記トラッピング処理手段が、当該解像度変換手段による解像度変換処理の後に処理を実行する
ことを特徴とする画像処理装置。
In any one of claims 1 to 4,
The post-processing unit includes a resolution conversion unit,
An image processing apparatus, wherein the trapping processing means executes processing after the resolution conversion processing by the resolution conversion means.
請求項1乃至請求項5のいずれかにおいて、
前記後処理部が、パルス巾のデータをレーザ発光のON/OFF信号に変換するパルス巾変調手段を備え、
前記トラッピング処理手段が、当該パルス巾変調手段の前に設けられる
ことを特徴とする画像処理装置。
In any one of claims 1 to 5,
The post-processing unit includes a pulse width modulation unit that converts pulse width data into an ON / OFF signal of laser emission;
An image processing apparatus according to claim 1, wherein said trapping processing means is provided before said pulse width modulation means.
請求項1乃至請求項6のいずれかにおいて、
前記後処理部が、前記ビットマップデータをパルス巾のデータに変換するスクリーン処理手段を備え、
前記トラッピング処理手段が、当該スクリーン処理手段の前に設けられる
ことを特徴とする画像処理装置。
In any one of claims 1 to 6,
The post-processing unit includes a screen processing unit that converts the bitmap data into pulse width data,
An image processing apparatus, wherein the trapping processing means is provided before the screen processing means.
請求項1乃至請求項7のいずれかにおいて、
前記印刷が複数色による印刷であり、
前記トラッピング処理手段が、前記複数色の各色に対してそれぞれ設けられる
ことを特徴とする画像処理装置。
In any one of claims 1 to 7,
The printing is printing by a plurality of colors,
An image processing apparatus, wherein the trapping processing means is provided for each of the plurality of colors.
請求項8において、
前記複数色に対する複数のトラッピング処理手段における処理手法が、同一でない
ことを特徴とする画像処理装置。
In claim 8,
An image processing apparatus, wherein processing methods of the plurality of trapping processing units for the plurality of colors are not the same.
受信した印刷データをビットマップデータに変換してメモリに格納する前処理部と、タンデム式印刷エンジンの駆動に対応して前記メモリに格納されたビットマップデータに処理を施し処理後のデータを前記タンデム式印刷エンジンに出力する、各色に対してそれぞれ設けられた複数の後処理部とを有する画像処理装置において、
前記各色の後処理部が、それぞれ、
前記ビットマップデータの解像度を変換する解像度変換手段と、
前記解像度変換手段により解像度を変換された後のビットマップデータに基づき、トラッピング処理を実行するトラッピング処理手段とを備える
ことを特徴とする画像処理装置。
A preprocessing unit that converts the received print data into bitmap data and stores it in a memory, and performs processing on the bitmap data stored in the memory in response to the driving of the tandem print engine, and processes the processed data. An image processing apparatus that outputs to a tandem print engine and has a plurality of post-processing units provided for each color,
The post-processing units of the respective colors are respectively
Resolution conversion means for converting the resolution of the bitmap data,
An image processing apparatus comprising: a trapping processing unit that performs a trapping process based on bitmap data whose resolution has been converted by the resolution conversion unit.
請求項10において、
前記解像度変換手段が、前記解像度変換後の、所定量のビットマップデータを保持するバッファを備え、
前記トラッピング処理手段が、当該バッファに保持されたビットマップデータに基づいて処理を実行する
ことを特徴とする画像処理装置。
In claim 10,
The resolution conversion means, after the resolution conversion, comprises a buffer for holding a predetermined amount of bitmap data,
An image processing apparatus, wherein the trapping processing means executes a process based on the bitmap data held in the buffer.
受信した印刷データをビットマップデータに変換してメモリに格納する前処理部と、タンデム式印刷エンジンの駆動に対応して前記メモリに格納されたビットマップデータに処理を施し処理後のデータを前記タンデム式印刷エンジンに出力する、各色に対してそれぞれ設けられた複数の後処理部とを有する画像処理装置において、
前記各色の後処理部が、それぞれ、前記ビットマップデータに基づいて、処理対象の色以外の色のデータを参照せずに、前記トラッピング処理を実行するトラッピング処理手段を備える
ことを特徴とする画像処理装置。
A preprocessing unit that converts the received print data into bitmap data and stores it in a memory, and performs processing on the bitmap data stored in the memory in response to the driving of the tandem print engine, and processes the processed data. An image processing apparatus that outputs to a tandem print engine and has a plurality of post-processing units provided for each color,
An image characterized in that each of the post-processing units of the respective colors includes a trapping processing unit that executes the trapping process based on the bitmap data without referring to data of a color other than the color to be processed. Processing equipment.
JP2003013678A 2003-01-22 2003-01-22 Image processor Pending JP2004223850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003013678A JP2004223850A (en) 2003-01-22 2003-01-22 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003013678A JP2004223850A (en) 2003-01-22 2003-01-22 Image processor

Publications (1)

Publication Number Publication Date
JP2004223850A true JP2004223850A (en) 2004-08-12

Family

ID=32901947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003013678A Pending JP2004223850A (en) 2003-01-22 2003-01-22 Image processor

Country Status (1)

Country Link
JP (1) JP2004223850A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007266847A (en) * 2006-03-28 2007-10-11 Dainippon Screen Mfg Co Ltd Image processor, image processing method, and program
CN101860653A (en) * 2009-04-09 2010-10-13 夏普株式会社 Image processing apparatus, image processing system and image processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007266847A (en) * 2006-03-28 2007-10-11 Dainippon Screen Mfg Co Ltd Image processor, image processing method, and program
JP4628986B2 (en) * 2006-03-28 2011-02-09 大日本スクリーン製造株式会社 Image processing apparatus, image processing method, and program
CN101860653A (en) * 2009-04-09 2010-10-13 夏普株式会社 Image processing apparatus, image processing system and image processing method
US8587830B2 (en) 2009-04-09 2013-11-19 Sharp Kabushiki Kaisha Image processing apparatus, image forming apparatus, image processing method and recording medium

Similar Documents

Publication Publication Date Title
US6504949B2 (en) Image processing apparatus and method
JPH10334228A (en) Method for improving resolution of raster image
JP2978325B2 (en) Image processing method and printer interface realizing the same
JP2004320141A (en) Image processing apparatus, drawing data processing method, and program for executing the method
US8610957B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
JP4153567B2 (en) Color material determination method in color printing to generate a background-dependent black image
JP3689607B2 (en) Image processing method, apparatus, and storage medium
JP4386216B2 (en) Color printing system and control method thereof
EP0949801A2 (en) Image process apparatus, image process method and storage medium
US6995862B1 (en) Image processing apparatus and method and computer program product
JP2004223850A (en) Image processor
JP2007050708A (en) Image processor and printer
JP3687721B2 (en) Image processing apparatus, image processing method, and image processing system
JP2005235238A (en) Method and apparatus of image processing and storage medium
JP2000255019A (en) Apparatus for detecting superimposed position and instructional direction
US9025207B2 (en) Image processing apparatus operative to perform trapping process, image processing method, and storage medium
JP2004237584A (en) Image processing apparatus
JP2006103045A (en) Image forming apparatus
JP4863846B2 (en) Color image forming apparatus and color image processing apparatus
JP2686258B2 (en) Image data processing device
JP4200369B2 (en) Image converter
JP2004246639A (en) Image processor
JPH10191063A (en) Contour emphasis method and device for color image
JPS62188566A (en) Color picture information processor
JPH11146195A (en) Image processing unit, image output device, image processing method, and recording medium having image processing program recorded

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080813

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090303