JP4280388B2 - Image processing apparatus, method, and storage medium - Google Patents

Image processing apparatus, method, and storage medium Download PDF

Info

Publication number
JP4280388B2
JP4280388B2 JP2000080291A JP2000080291A JP4280388B2 JP 4280388 B2 JP4280388 B2 JP 4280388B2 JP 2000080291 A JP2000080291 A JP 2000080291A JP 2000080291 A JP2000080291 A JP 2000080291A JP 4280388 B2 JP4280388 B2 JP 4280388B2
Authority
JP
Japan
Prior art keywords
image
bitmap
processed
bitmap image
density
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
JP2000080291A
Other languages
Japanese (ja)
Other versions
JP2001268377A (en
JP2001268377A5 (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 JP2000080291A priority Critical patent/JP4280388B2/en
Publication of JP2001268377A publication Critical patent/JP2001268377A/en
Publication of JP2001268377A5 publication Critical patent/JP2001268377A5/ja
Application granted granted Critical
Publication of JP4280388B2 publication Critical patent/JP4280388B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、カラー画像データをモノクロで印刷するための画像処理装置、方法及び記憶媒体に関する。
【0002】
【従来の技術】
近年、コンピュータのハードウェアの向上によって、多階調を有するカラー画像等の複雑なデータを扱うことが可能となってきている。特にデジタルカメラ等の普及によってカラー画像を扱う機会が多くなり、それに伴い画像出力装置としての印字出力装置においてもカラー化が進んできている。
【0003】
しかしながら、カラーの印字出力は、少なくとも3色以上の顔料の印字位置を精度よく合わせて行う必要がある等の点で、その印字機構のコストがモノクロ印字機構の3倍以上かかる場合があり、カラー印字出力装置は一般にモノクロ印字出力装置よりも高価である。
【0004】
また、レーザプリンタのように、汎用の画像出力装置はそれ自体1つのコンピュータを内蔵し、ホストコンピュータ等の外部機器と通信を行いコマンドや印字データを受け取って、ビットマップメモリ上に描画展開して印字出力を行うようにしている。この装置では、汎用機ゆえに使用に際し多少の技術的知識を要し、容易に使用することができない場合もある。しかも、情報量の多いカラー画像の処理には単色画像に比し設定するパラメータも多く、その処理には一般に時間と手間がかかる。
【0005】
一方、カラー画像データを印刷する場合でも、内容や状況によってはカラー印刷が必要なく、モノクロ印刷で十分間に合う場合も多い。
【0006】
このように、必要性とコストとを考慮してカラー印字出力装置とモノクロ印字出力装置とは使い分けられる傾向にある。理想的には、カラー画像はカラー印字出力装置に、モノクロ画像はモノクロ印字出力装置に出力して印刷させるのが望ましい。すなわち、カラーとモノクロの両印字出力装置を設置し、ホストコンピュータで使用する印字装置を自由に切り替えらるように構成していれば問題はない。また、カラー印字出力装置でモノクロ画像を出力する場合には、コスト的に無駄になる点や印字速度が遅くなる点等を除けば、出力表示内容に関する問題はない。
【0007】
【発明が解決しようとする課題】
しかしながら、例えばモノクロ印字出力装置しか設置していなかったり、モノクロ印字出力装置しかホストコンピュータに接続していない場合も多い。上述したように、コンピュータ上でカラー画像の取り扱いが一般化していることから、カラー画像をモノクロ印字出力装置で印字するというケースが少なからずあり得る。このような場合、従来の画像出力装置では、カラー画像が印字用にモノクロデータに変換される段階で、通常は濃度情報のみが保存され、色情報は破棄される。その結果、多種の色が同一のグレー値に変換されることになる。例えば、文字と背景に同じ濃度であるが色相の異なった色を使用していた場合、これらが略同一のグレー値として印字され、背景に文字が溶け込んで文字が認識できなくなるという問題があった。
【0008】
色情報を破棄する以上、この現象は不可避である。これを回避するため従来は、ユーザがモノクロ印刷時の濃度まで考慮してカラー画像の色彩の設計を行うようにしており、手間が煩雑であった。
【0009】
ここで、同じグレー値に変換されたイメージ同士の衝突を確認するために、実際にカラーイメージを階調情報を保持したまま展開することが考えられる。しかしながら、印字出力イメージ全体を保持するためには大きな記憶容量を要し、例えば600dpiA3サイズの2値画像イメージを保持するには約8Mバイトの記憶容量を必要とする。そして画像全体のイメージを階調データとして保存しようとすると、256階調のグレーで8倍の64Mバイトを要し、カラーだとさらにその数倍の記憶容量を要することになる。
【0010】
ところが、通常、印字装置では、高価な一時記憶メモリの実装量を低減する必要から、印字機構が直接必要とするビットマップ形式で背景等の全体イメージを保存し、全体イメージ上に個々の描画要求があった個々のテキスト等のオブジェクトのイメージを描画展開していく、という形態をとることが多い。そのため、色変換後のグレー値同士の一致、不一致を、展開されたイメージ上で確認できるようにすることはコスト的に現実的でない。
【0011】
また、コンピュータ関連機器のユーザ層の拡大により、汎用の印字出力装置においてもより簡便な使用を可能にし、利便性を高めることが要請される。
【0012】
本発明は上記従来技術の問題を解決するためになされたものであり、その目的は、低コストを維持しつつカラー画像を識別可能にモノクロ印刷することができる画像処理装置、方法及び記憶媒体を提供することにある。
【0013】
【課題を解決するための手段】
上記目的を達成するために本発明の請求項1の画像処理装置は、処理対象のオブジェクトの描画範囲における背景画像のビットマップイメージを退避する退避手段と、前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージを描画する描画手段と、前記退避手段により退避された前記背景画像のビットマップイメージと前記描画手段により前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージが描画されたビットマップイメージとでビットマップパターン同士を比較して排他的論理和をとり、差異があるピクセルの数であるONビットの数を積算し、該積算されたONビットの数と前記描画範囲の面積とに基づき濃度差を検出する検出手段と、前記検出手段により検出された濃度差が閾値より小さい場合、前記処理対象のオブジェクトの濃度情報を補正し、補正された後の濃度情報にて前記処理対象のオブジェクトのビットマップイメージを再描画する再描画手段とを有することを特徴とする。
上記目的を達成するために本発明の請求項2の画像処理方法は、処理対象のオブジェクトの描画範囲における背景画像のビットマップイメージを退避する退避ステップと、前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージを描画する描画ステップと、前記退避ステップにより退避された前記背景画像のビットマップイメージと前記描画ステップにより前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージが描画されたビットマップイメージとでビットマップパターン同士を比較して排他的論理和をとり、差異があるピクセルの数であるONビットの数を積算し、該積算されたONビットの数と前記描画範囲の面積とに基づき濃度差を検出する検出ステップと、前記検出ステップにより検出された濃度差が閾値より小さい場合、前記処理対象のオブジェクトの濃度情報を補正し、補正された後の濃度情報にて前記処理対象のオブジェクトのビットマップイメージを再描画する再描画ステップとを有することを特徴とする。
上記目的を達成するために本発明の請求項3の記憶媒体は、画像処理方法をコンピュータに実行させるためのプログラムを格納したコンピュータで読み取り可能な記憶媒体であって、前記画像処理方法は、処理対象のオブジェクトの描画範囲における背景画像のビットマップイメージを退避する退避ステップと、前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージを描画する描画ステップと、前記退避ステップにより退避された前記背景画像のビットマップイメージと前記描画ステップにより前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージが描画されたビットマップイメージとでビットマップパターン同士を比較して排他的論理和をとり、差異があるピクセルの数であるONビットの数を積算し、該積算されたONビットの数と前記描画範囲の面積とに基づき濃度差を検出する検出ステップと、前記検出ステップにより検出された濃度差が閾値より小さい場合、前記処理対象のオブジェクトの濃度情報を補正し、補正された後の濃度情報にて前記処理対象のオブジェクトのビットマップイメージを再描画する再描画ステップとを有することを特徴とする。
【0039】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
【0040】
(第1の実施の形態)
本第1の実施の形態では、画像処理装置を、ホストコンピュータ等の外部機器に接続可能なモノクロ印刷装置として構成した場合を例示する。
【0041】
図1は、本実施の形態に係る画像処理装置の構成を示すブロック図である。本装置は、CPU201(第1展開手段、第2展開手段、補正手段、再展開手段)に、ROM202、RAM203、印字インターフェイス204、外部機器インターフェイス205(受信手段)、及び比較部206(濃度検出手段)がバスライン300で互いに接続されて構成される。
【0042】
CPU201は本装置全体の制御を司り、各種画像処理や入出力の制御等を行う。ROM202には、CPU201が実行する制御プログラムや各種データが格納されている。ROM202には、後述する色変換テーブル212も格納されている。RAM203は、外部から送られてきた印字コマンド、印字データ等を一時的に格納するほか、CPU201の動作作業領域としても利用される。RAM203には、後述する第1展開領域211(第1展開手段の一部)及び第2展開領域210(第2展開手段の一部)が確保されている。
【0043】
印字インターフェイス204は、印字メカニズム(印刷手段、図示せず)とのインターフェイスである。外部機器インターフェイス205はホストコンピュータ等の外部機器とのインターフェイスである。印字コマンド、印字データ等は外部機器から外部機器インターフェイス205を介して受信され、印字イメージに変換されてから印字インターフェイス204により出力され、印刷される。
【0044】
比較部206は、後述するように、第1展開領域211と第2展開領域210に記憶されたビットマップイメージ同士の比較を行う。
【0045】
本装置で扱われるカラー画像データは、テキスト、イメージ画像、グラフィック画像等の描画オブジェクトを含み、背景画像である全体イメージ上に個々の描画オブジェクト(他の画像データ)のイメージが描画展開されて印刷出力されるものである。
【0046】
第1展開領域211は、描画オブジェクトの描画対象領域における背景画像(特定の画像データ)(描画オブジェクトを含まない)のビットマップイメージを記憶する。第2展開領域210は、描画オブジェクト及び背景画像を展開したビットマップイメージを記憶する。
【0047】
図2は、本実施の形態における描画処理のフローチャートを示す図である。
【0048】
描画オブジェクトは複数ある場合があるが、本処理では1つずつ処理していく。まず、描画処理待ちの描画オブジェクトをRAM203から取り出し(ステップS201)、取り出した描画オブジェクトが本処理で処理対象となっている描画オブジェクトであるか否かを判別する(ステップS202)。すなわち、グレー値調整処理を行う場合、単純に全ての描画オブジェクトに対してこの処理を実行するわけにはいかない。たとえばイメージ画像や塗りつぶし領域を伴うグラフィックス画像の場合は、本処理を行うと、色が不適切に変動した印字出力になる可能性が高いので、本実施の形態では処理対象から外している。もっとも、これらを処理対象にすることは可能である。本実施の形態では、テキストデータ等の描画オブジェクトが処理対象とされる。
【0049】
前記ステップS202の判別の結果、取り出した描画オブジェクトが本処理で処理対象となっている描画オブジェクトでない場合は、その描画オブジェクトをそのまま描画し(ステップS203)、処理待ちの描画オブジェクトが残っているか否かを判別する(ステップS204)。その判別の結果、処理待ちの描画オブジェクトが残っている場合は前記ステップS202に戻る一方、処理待ちの描画オブジェクトが残っていない場合は本処理を終了する。
【0050】
一方、前記ステップS202の判別の結果、取り出した描画オブジェクトが本処理で処理対象となっている描画オブジェクトである場合は、当該描画オブジェクトの描画範囲(描画対象領域SP)における背景画像のビットマップイメージを第1展開領域211に退避保存する(ステップS205)。
【0051】
図3は、ビットマップパターンの一例を示す図である。同図(a)は第2展開領域210に保存される背景画像のビットマップイメージを示す。同図(a)中、描画対象領域SPは、処理対象となっている描画オブジェクトの描画範囲に対応する。同図(b)は、この描画対象領域SPにおける背景画像のビットマップイメージを示し、このイメージは第1展開領域211に退避保存される。同図(c)は、背景画像に描画オブジェクトをそのまま展開、描画した場合におけるビットマップイメージを示し、該イメージは第2展開領域210に保存される。同図(d)は、同図(b)に示すビットマップイメージと同図(c)に示すビットマップイメージとの後述する比較結果(濃度差K)を示す図である。
【0052】
図2に戻り、前記ステップS205では、図3(b)に示すようなビットマップイメージが第1展開領域211に保存されることになる。
【0053】
次いで、対象となっている描画オブジェクトを展開、描画する(ステップS206)。すなわち、背景画像に描画オブジェクトが重ねて描画され、図3(c)に示すようなビットマップイメージが第2展開領域210に保存される。次いで、閾値Pを読み出す(ステップS207)。この閾値Pは、ROM202に格納された色変換テーブル212から得られる。
【0054】
図4は、ROM202に格納される色変換テーブル212の内容の一例を示す図である。色変換テーブル212では、濃度(色)値に応じて閾値P及び補正量Q(オフセット量)が予め設定されている。濃度(色)値によって背景画像との識別の困難さや補正による濃度の変化の度合いが異なるため、各色に応じた適切な濃度比較及び濃度補正を行うようにしたものである。
【0055】
図2に戻り、次いで第1展開領域211に退避保存された描画対象領域SPにおける背景画像のビットマップイメージと、第2展開領域210に保存された背景画像及び描画オブジェクトの描画対象領域SPにおけるビットマップイメージとのピクセル同士を比較する(ステップS208)。図3でいえば、図3(b)に示すビットマップパターンと図3(c)の描画対象領域SPにおけるビットマップパターンとを比較することになる。
【0056】
次いで、ピクセル比較の結果、両者の濃度差Kを検出する(ステップS209)。本実施の形態では、濃度差Kとして、描画対象領域SPにおける面積当たりの両者のピクセル情報の一致率を採用している。2値のビットマップイメージ同士の比較は、排他的論理和をとることで可能であるので、排他的論理和をとって得たONビット(オン画素)の数の積算値がどの程度あるかにより濃度差Kを検出する。つまり、両ビットマップパターンで差異があったピクセルがONビットとなり、濃度差K=(ONビット)/(描画対象領域SPの面積)により濃度差Kが算出される。
【0057】
次いで、閾値Pが濃度差Kより大きいか否かを判別し(ステップS210)、その判別の結果、閾値P≦濃度差Kである場合は、第1展開領域211に退避保存された描画対象領域SPにおける背景画像のビットマップイメージと、第2展開領域210に保存された背景画像及び描画オブジェクトの描画対象領域SPにおけるビットマップイメージとに十分な差異があり、描画オブジェクトが背景画像に溶け込んで見えないことはないと判断されるので、前記ステップS204に進む。従って、当該描画オブジェクトについては濃度補正は行われず、そのままの濃度で描画されたものが出力される。図3でいえば、図3(b)に示すビットマップパターンと図3(c)の描画対象領域SPにおけるビットマップパターンの比較結果は、同図(d)に示すように差異が生じているので、出力後には、差異分が描画オブジェクトによる画像識別可能である。
【0058】
一方、前記ステップS210の判別の結果、閾値P>濃度差Kである場合は、そのまま出力したのでは描画オブジェクトが背景画像に溶け込み識別されないおそれがあるので、ステップS211で描画オブジェクトの濃度情報の補正を行う。この際の補正量Qは、色変換テーブル212から得ることができる。補正は、例えば濃度情報に補正量Qを加算することでなされる。
【0059】
次いで、描画オブジェクトを補正された後の濃度情報にて再度描画展開する(ステップS212)。これにより、描画オブジェクトで規定される画像を背景画像から識別可能にすることができる。再展開されたビットマップイメージは第2展開領域210に書き込まれる。その後、前記ステップS204に進む。なお、第2展開領域210に書き込まれたビットマップイメージは印字インターフェイス204から出力され、印刷される。
【0060】
本実施の形態によれば、描画オブジェクトの濃度と背景画像と濃度が近似した色の画像データであった場合は、描画オブジェクトの濃度情報が補正されて描画されるので、モノクロ印刷したときに背景画像に溶け込んで識別不能になることを回避することができる。しかも、階調情報を保持したカラーイメージを展開保存する等のために実装メモリを増大させるという必要がないので、コストを増大させることがなく、印字機構がビットマップイメージしか保持しないような構成であっても実現可能である。よって、低コストを維持しつつカラー画像を識別可能にモノクロ印刷することができる。
【0061】
また、濃度差Kの検出は、描画対象領域SPという、ピクセルに差異が生じ得る領域でのみなされ、しかもピクセル情報の一致率に基づき行われるので、濃度差Kの検出精度を向上することができる。
【0062】
さらに、濃度差Kが閾値Pより小さい場合にのみ濃度補正を行うので、識別が困難と想定される場合に限り濃度補正をすることができ、無駄な処理を少なくすることができる。
【0063】
また、閾値Pや補正量Qは、描画オブジェクトの濃度補正前の濃度情報に基づいて設定されるので、描画オブジェクトのあらゆる色に対して補正の必要性を適切に判断すると共に、最適な量の補正を行うことができる。
【0064】
さらに、本装置を外部機器に接続可能な印刷装置として構成したので、ホストコンピュータ等から受信したカラー画像を識別可能にモノクロ印刷することができ、汎用性が高い。
【0065】
なお、本実施の形態では、描画オブジェクトの濃度情報の補正量Qは色変換テーブル212を参照することで得るようにした。印字プロセスの性質にもよるが、面積当たり描画されているピクセル数と濃度とは必ずしも線形には対応しない。よって、濃度値によって再描画処理を行うときの閾値を変更しなければならないし、階調を変化させる量も調整しなければならない。また、濃度値は色情報を含む形で構成することも可能である。濃度値及び補正量が単一の数値でなくベクトル化されるのでテーブルのサイズは大きくなるが、色相によって調整するオフセットの方向を変更する等も可能である。このような構成の場合、色によって明るく変更されたり暗く変更されたりする。
【0066】
なお、濃度補正は描画オブジェクトに対してのみ行うようにしたが、背景画像に対して行うか、あるいは描画オブジェクト及び背景画像の双方に対して行ってもこれら両者の関係に限れば識別は可能である。ただし、描画オブジェクトが複数ある場合に各々の描画オブジェクトを背景画像から識別可能にするためには、上記例のように各描画オブジェクトに対して濃度補正処理を行うのが好ましい。
【0067】
なお、背景画像と描画オブジェクトとの識別を容易にするという観点で説明したが、これらに限らない。例えば、特定の画像データまたは色を基準として、この画像データまたは色に対して他の画像データまたは色の内容が識別可能となるように濃度補正を行うようにしてもよい。
【0068】
なお、濃度差Kは検出精度を上げるため描画対象領域SPで検出するようにしたが、これに限るものでなく、全領域または描画対象領域SP内の一部の領域で行ってもよい。
【0069】
(第2の実施の形態)
本発明の第2の実施の形態では、画像処理装置を、モノクロ印刷装置が接続されるホストコンピュータとして構成した場合を例示する。従って、上述した描画処理(図2)に対応する処理はホストコンピュータ側のプリンタドライバ上で行われる。
【0070】
印字機構の構成や動作モードによっては、ホストコンピュータ側で完全なビットマップイメージにまで生成してから印刷装置に送る場合がある。この場合、プリンタドライバで画像処理を行う必要がある。ホストコンピュータは、一般にはプリンタと比べ主記憶装置や2次記憶装置の容量に余裕がある。しかし、実際には印字出力プログラムは他のアプリケーションのサブプロセスとして起動するのが通常であるため、それほど多くの資源を独占することができない。また、2次記憶装置は記憶容量が大きいが、頻繁に書き換えを行うページメモリは、やはり主記憶装置に設けるのが望ましい。よって、ホストコンピュータにおいても、主記憶装置上で描画処理(図2)に対応する処理を実行する。
【0071】
図5は、本実施の形態における画像処理装置の主要構成を示すブロック図である。
【0072】
本装置は、CPU201’にプリンタインターフェイス205’(出力手段)及び主記憶装置203’がバス300’で接続されて構成される。主記憶装置203’はROM202’及びRAM等で構成され、第1展開領域211’及び第2展開領域210’が確保されている。ROM202’には、CPU201’が実行する制御プログラムのほか、比較用プログラム206’及び色変換テーブル212’が格納されている。
【0073】
第1展開領域211’、第2展開領域210’及び色変換テーブル212’は、第1の実施の形態における第1展開領域211、第2展開領域210及び色変換テーブル212と同様の機能、構成を有する。比較用プログラム206’は、描画処理(図2)に対応する処理を実行するためのプログラムであり、第1の実施の形態における比較部206と同様の機能を果たすためのものである。
【0074】
本装置では、CPU201’により描画処理が実行され、その処理は図2の描画処理と同様である。処理後のビットマップイメージは、本装置に接続された印刷装置(図示せず)にプリンタインターフェイス205を介して転送され、印刷装置により印刷出力される。
【0075】
本実施の形態によれば、カラー画像を識別可能に印刷装置にモノクロ印刷させることができる点で、第1の実施の形態と同様の効果を奏することができる。また、ホストコンピュータ側で濃度補正処理を行うので、接続されるあらゆるモノクロ印刷装置に対して識別可能なモノクロ印刷を行わせることができる。
【0076】
なお、第1の実施の形態における画像処理装置としてのモノクロ印刷装置をホストコンピュータ等の外部機器に接続して画像処理システムを構成することができる。また、発明の第2の実施の形態における画像処理装置としてのホストコンピュータにモノクロ印刷装置を接続して画像処理システムを構成することもできる。
【0077】
なお、上述した各実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を画像処理装置に供給し、その画像処理装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、本発明の目的が達成されることはいうまでもない。
【0078】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0079】
プログラムコードを供給するための記憶媒体として、例えば、フロッピィディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0080】
また、コンピュータが読み出したプログラムコードを実行することにより上述した各実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づいて、コンピュータ上で稼動しているOS等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることはいうまでもない。
【0081】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づいて、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることはいうまでもない。
【0082】
【発明の効果】
以上説明したように、本発明によれば、低コストを維持しつつカラー画像を識別可能にモノクロ印刷することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係る画像処理装置の構成を示すブロック図である。
【図2】同形態における描画処理のフローチャートを示す図である。
【図3】同形態におけるビットマップパターンの一例を示す図である。
【図4】同形態におけるROMに格納される色変換テーブルの内容の一例を示す図である。
【図5】本発明の第2の実施の形態における画像処理装置の主要構成を示すブロック図である。
【符号の説明】
201 CPU(第1展開手段、第2展開手段、補正手段、再展開手段)
202 ROM
203 RAM
204 印字インターフェイス
205 外部機器インターフェイス(受信手段)
206 比較部(濃度検出手段)
210 第2展開領域(第2展開手段の一部)
211 第1展開領域(第1展開手段の一部)
212 色変換テーブル
201’ CPU(第1展開手段、第2展開手段、濃度検出手段、補正手段、再展開手段)
205’ プリンタインターフェイス(出力手段)
203’ 主記憶装置
211’ 第1展開領域(第1展開手段の一部)
210’ 第2展開領域(第2展開手段の一部)
206’ 比較用プログラム
212’ 色変換テーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus for printing a color image data in monochrome, relates square Ho及 beauty storage medium.
[0002]
[Prior art]
In recent years, with the improvement of computer hardware, it has become possible to handle complex data such as color images having multiple gradations. In particular, with the widespread use of digital cameras and the like, there are many opportunities to handle color images, and accordingly, colorization is also progressing in print output devices as image output devices.
[0003]
However, color printing output requires that the printing position of pigments of at least three colors or more be accurately aligned, and the cost of the printing mechanism may be more than three times that of the monochrome printing mechanism. Print output devices are generally more expensive than monochrome print output devices.
[0004]
A general-purpose image output device, such as a laser printer, itself has a single computer, communicates with an external device such as a host computer, receives commands and print data, and draws and develops them on a bitmap memory. Printing output is performed. Since this apparatus is a general-purpose machine, it requires some technical knowledge in use and may not be easily used. In addition, the processing of a color image with a large amount of information has many parameters to be set as compared with a monochromatic image, and the processing generally takes time and labor.
[0005]
On the other hand, even when printing color image data, color printing is not necessary depending on the contents and circumstances, and monochrome printing is often sufficient in time.
[0006]
As described above, the color print output device and the monochrome print output device tend to be used properly in consideration of necessity and cost. Ideally, it is desirable to output color images to a color print output device and monochrome images to a monochrome print output device for printing. That is, there is no problem if both color and monochrome print output devices are installed and the print device used in the host computer can be freely switched. In addition, when a monochrome image is output by a color print output device, there is no problem with respect to the output display contents, except that the cost is wasted and the print speed is slow.
[0007]
[Problems to be solved by the invention]
However, in many cases, for example, only a monochrome print output device is installed, or only the monochrome print output device is connected to the host computer. As described above, since handling of color images is generalized on a computer, there are not a few cases where a color image is printed by a monochrome print output device. In such a case, in the conventional image output apparatus, normally, only the density information is stored and the color information is discarded when the color image is converted into monochrome data for printing. As a result, various colors are converted to the same gray value. For example, if the characters and background have the same density but different colors, they are printed as approximately the same gray value, and the characters melt into the background, making it impossible to recognize the characters. .
[0008]
As long as the color information is discarded, this phenomenon is inevitable. In order to avoid this, conventionally, the user has designed the color of the color image in consideration of the density at the time of monochrome printing, which is troublesome.
[0009]
Here, in order to confirm a collision between images converted to the same gray value, it is conceivable to actually develop a color image while maintaining gradation information. However, a large storage capacity is required to hold the entire print output image, and a storage capacity of about 8 Mbytes is required to hold a binary image image of 600 dpi A3 size, for example. If an image of the entire image is to be saved as gradation data, it requires 64 Mbytes, which is 8 times as much as 256 gradations of gray, and further requires several times as much storage capacity as that of color.
[0010]
However, in general, the printing device needs to reduce the amount of expensive temporary storage memory mounted, so the entire image such as the background is saved in the bitmap format directly required by the printing mechanism, and individual drawing requests are made on the entire image. It often takes the form of drawing and developing an image of an object such as individual text. For this reason, it is not realistic in cost to make it possible to confirm on the developed image whether the gray values after color conversion match or do not match.
[0011]
In addition, with the expansion of the user group of computer-related equipment, it is required to make it easier to use even in general-purpose print output devices and to enhance convenience.
[0012]
The present invention has been made in order to solve the above, an object, an image processing apparatus capable of distinguishably monochrome printing color images while maintaining low cost, square Ho及 Beauty storage To provide a medium.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, an image processing apparatus according to claim 1 of the present invention includes a saving means for saving a bitmap image of a background image in a drawing range of an object to be processed , and the processing to the bitmap image of the background image. A drawing means for drawing a bitmap image of the target object; a bitmap image of the background image saved by the saving means; and a bitmap image of the object to be processed in the bitmap image of the background image by the drawing means Bitmap images are compared with each other and bitmap patterns are compared to obtain an exclusive OR, and the number of ON bits, which is the number of pixels having a difference, is added. Detecting means for detecting a density difference based on the area of the drawing range; and Redrawing means for correcting the density information of the object to be processed and redrawing the bitmap image of the object to be processed with the corrected density information when the output density difference is smaller than a threshold; It is characterized by having .
In order to achieve the above object, an image processing method according to claim 2 of the present invention includes a saving step of saving a bitmap image of a background image in a drawing range of an object to be processed, and the processing to the bitmap image of the background image. A drawing step of drawing a bitmap image of the target object; a bitmap image of the background image saved by the saving step; and a bitmap image of the object to be processed in the bitmap image of the background image by the drawing step Bitmap images are compared with each other and bitmap patterns are compared to obtain an exclusive OR, and the number of ON bits, which is the number of pixels having a difference, is added. A detection step for detecting a density difference based on the area of the drawing range; When the density difference detected by the detection step is smaller than a threshold value, the density information of the object to be processed is corrected, and the bitmap image of the object to be processed is redrawn with the corrected density information. And a drawing step.
In order to achieve the above object, a storage medium according to a third aspect of the present invention is a computer-readable storage medium storing a program for causing a computer to execute the image processing method, and the image processing method includes: Saved by saving the bitmap image of the background image in the drawing range of the target object, drawing step for drawing the bitmap image of the object to be processed in the bitmap image of the background image, and saved by the saving step In addition, the bitmap image is compared with the bitmap image of the background image and the bitmap image in which the bitmap image of the object to be processed is drawn on the bitmap image of the background image by the drawing step. Take the sum and have a difference A detection step of integrating the number of ON bits, which is the number of cells, and detecting a density difference based on the integrated number of ON bits and the area of the drawing range; and the density difference detected by the detection step is a threshold value If smaller, the density information of the object to be processed is corrected, and a redrawing step of redrawing the bitmap image of the object to be processed with the corrected density information is provided.
[0039]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0040]
(First embodiment)
The first embodiment exemplifies a case where the image processing apparatus is configured as a monochrome printing apparatus that can be connected to an external device such as a host computer.
[0041]
FIG. 1 is a block diagram showing the configuration of the image processing apparatus according to this embodiment. This apparatus includes a CPU 201 (first development means, second development means, correction means, re-deployment means), ROM 202, RAM 203, print interface 204, external device interface 205 (reception means), and comparison unit 206 (density detection means). ) Are connected to each other via a bus line 300.
[0042]
The CPU 201 controls the entire apparatus, and performs various image processing, input / output control, and the like. The ROM 202 stores a control program executed by the CPU 201 and various data. The ROM 202 also stores a color conversion table 212 described later. The RAM 203 temporarily stores print commands and print data sent from the outside, and is also used as an operation work area of the CPU 201. In the RAM 203, a first expansion area 211 (a part of the first expansion means) and a second expansion area 210 (a part of the second expansion means) described later are secured.
[0043]
The printing interface 204 is an interface with a printing mechanism (printing means, not shown). The external device interface 205 is an interface with an external device such as a host computer. A print command, print data, and the like are received from an external device via the external device interface 205, converted to a print image, output from the print interface 204, and printed.
[0044]
The comparison unit 206 compares the bitmap images stored in the first development area 211 and the second development area 210 as will be described later.
[0045]
The color image data handled by this device includes drawing objects such as text, image images, and graphic images. Images of individual drawing objects (other image data) are drawn and expanded on the entire image that is the background image. Is output.
[0046]
The first development area 211 stores a bitmap image of a background image (specific image data) (not including a drawing object) in a drawing object area of the drawing object. The second development area 210 stores a bitmap image obtained by developing a drawing object and a background image.
[0047]
FIG. 2 is a diagram showing a flowchart of the drawing process in the present embodiment.
[0048]
There may be a plurality of drawing objects, but in this process, each one is processed. First, a drawing object waiting for drawing processing is taken out from the RAM 203 (step S201), and it is determined whether or not the drawn drawing object is a drawing object to be processed in this processing (step S202). That is, when performing gray value adjustment processing, it is not possible to simply execute this processing for all drawing objects. For example, in the case of an image image or a graphics image with a filled area, if this process is performed, there is a high possibility that the color output will be improperly changed, so it is excluded from the processing target in this embodiment. However, these can be processed. In the present embodiment, a drawing object such as text data is a processing target.
[0049]
If it is determined in step S202 that the extracted drawing object is not a drawing object to be processed in this process, the drawing object is drawn as it is (step S203), and whether or not a drawing object waiting to be processed remains. Is determined (step S204). If the result of the determination is that there are still drawing objects waiting to be processed, the process returns to step S202. On the other hand, if there are no drawing objects waiting to be processed, this process is terminated.
[0050]
On the other hand, if it is determined in step S202 that the extracted drawing object is a drawing object to be processed in this process, a bitmap image of the background image in the drawing range (drawing target area SP) of the drawing object. Is saved in the first development area 211 (step S205).
[0051]
FIG. 3 is a diagram illustrating an example of a bitmap pattern. FIG. 4A shows a bitmap image of the background image stored in the second development area 210. In FIG. 9A, the drawing target area SP corresponds to the drawing range of the drawing object to be processed. FIG. 4B shows a bitmap image of the background image in the drawing target area SP, and this image is saved in the first development area 211. FIG. 4C shows a bitmap image when the drawing object is developed and drawn as it is on the background image, and the image is stored in the second development area 210. FIG. 4D is a diagram showing a comparison result (density difference K) described later between the bitmap image shown in FIG. 4B and the bitmap image shown in FIG.
[0052]
Returning to FIG. 2, in step S <b> 205, a bitmap image as shown in FIG. 3B is stored in the first development area 211.
[0053]
Next, the target drawing object is developed and drawn (step S206). That is, the drawing object is drawn on the background image, and a bitmap image as shown in FIG. 3C is stored in the second development area 210. Next, the threshold value P is read (step S207). This threshold value P is obtained from the color conversion table 212 stored in the ROM 202.
[0054]
FIG. 4 is a diagram illustrating an example of the contents of the color conversion table 212 stored in the ROM 202. In the color conversion table 212, a threshold value P and a correction amount Q (offset amount) are set in advance according to the density (color) value. Since the density (color) value is difficult to distinguish from the background image and the degree of density change due to correction differs, appropriate density comparison and density correction are performed according to each color.
[0055]
Returning to FIG. 2, the bitmap image of the background image in the drawing target area SP saved and saved in the first development area 211, and the bit in the drawing target area SP of the background image and drawing object saved in the second development area 210 are returned. Pixels in the map image are compared (step S208). In FIG. 3, the bitmap pattern shown in FIG. 3B is compared with the bitmap pattern in the drawing target area SP shown in FIG.
[0056]
Next, as a result of pixel comparison, a density difference K between the two is detected (step S209). In the present embodiment, as the density difference K, the coincidence rate of both pieces of pixel information per area in the drawing target region SP is employed. Since comparison between binary bitmap images is possible by taking an exclusive OR, it depends on how many integrated values of the number of ON bits (ON pixels) obtained by taking the exclusive OR are. A density difference K is detected. That is, a pixel having a difference between both bitmap patterns becomes the ON bit, and the density difference K is calculated by the density difference K = (ON bit) / (area of the drawing target area SP).
[0057]
Next, it is determined whether or not the threshold value P is greater than the density difference K (step S210). If the result of the determination is that the threshold value P ≦ the density difference K, the drawing target area saved in the first development area 211 is saved. There is a sufficient difference between the bitmap image of the background image in the SP and the background image stored in the second development area 210 and the bitmap image in the drawing target area SP of the drawing object, and the drawing object appears to melt into the background image. Since it is determined that there is no absence, the process proceeds to step S204. Accordingly, the density correction is not performed on the drawing object, and the drawing object is output with the density as it is. Referring to FIG. 3, the comparison result between the bitmap pattern shown in FIG. 3B and the bitmap pattern in the drawing target area SP shown in FIG. 3C is different as shown in FIG. Therefore, after the output, the difference can be identified by the drawing object.
[0058]
On the other hand, if the threshold value P> the density difference K as a result of the determination in step S210, there is a possibility that the drawing object will melt into the background image and not be identified if it is output as it is. I do. The correction amount Q at this time can be obtained from the color conversion table 212. The correction is performed, for example, by adding the correction amount Q to the density information.
[0059]
Next, the drawing object is drawn again with the density information after correction (step S212). As a result, the image defined by the drawing object can be identified from the background image. The re-developed bitmap image is written in the second development area 210. Thereafter, the process proceeds to step S204. Note that the bitmap image written in the second development area 210 is output from the print interface 204 and printed.
[0060]
According to the present embodiment, when the density of the drawing object is the image data of a color that approximates the density of the background image, the density information of the drawing object is corrected and the drawing is performed. It is possible to avoid being indistinguishable by melting into an image. In addition, since it is not necessary to increase the mounting memory for developing and saving a color image holding gradation information, the printing mechanism does not increase the cost and the printing mechanism holds only a bitmap image. Even if it exists, it is feasible. Therefore, it is possible to perform monochrome printing so that a color image can be identified while maintaining low cost.
[0061]
Further, since the density difference K is detected only in the drawing target area SP, which is an area where there is a difference in pixels, and is performed based on the pixel information coincidence rate, the detection accuracy of the density difference K can be improved. .
[0062]
Furthermore, since the density correction is performed only when the density difference K is smaller than the threshold value P, the density correction can be performed only when identification is assumed to be difficult, and wasteful processing can be reduced.
[0063]
Further, since the threshold value P and the correction amount Q are set based on the density information before the density correction of the drawing object, it is possible to appropriately determine the necessity of correction for every color of the drawing object and to determine the optimal amount. Correction can be performed.
[0064]
Furthermore, since this apparatus is configured as a printing apparatus that can be connected to an external device, it is possible to perform monochrome printing so that a color image received from a host computer or the like can be identified, and the versatility is high.
[0065]
In the present embodiment, the correction amount Q of the density information of the drawing object is obtained by referring to the color conversion table 212. Depending on the nature of the printing process, the number of pixels drawn per area and density do not necessarily correspond linearly. Therefore, the threshold value for performing the redrawing process according to the density value must be changed, and the amount of change in gradation must also be adjusted. Further, the density value can be configured to include color information. Since the density value and the correction amount are vectorized instead of a single numerical value, the size of the table becomes large, but it is possible to change the direction of the offset to be adjusted depending on the hue. In the case of such a configuration, it is changed brightly or darkly depending on the color.
[0066]
The density correction is performed only on the drawing object. However, even if it is performed on the background image or both of the drawing object and the background image, the identification can be made if the relationship between the two is limited. is there. However, in order to identify each drawing object from the background image when there are a plurality of drawing objects, it is preferable to perform density correction processing on each drawing object as in the above example.
[0067]
In addition, although demonstrated from the viewpoint of making identification with a background image and a drawing object easy, it is not restricted to these. For example, on the basis of specific image data or color, density correction may be performed on the image data or color so that the contents of other image data or color can be identified.
[0068]
The density difference K is detected in the drawing target area SP in order to increase detection accuracy. However, the present invention is not limited to this, and the density difference K may be detected in the entire area or a part of the drawing target area SP.
[0069]
(Second Embodiment)
The second embodiment of the present invention exemplifies a case where the image processing apparatus is configured as a host computer to which a monochrome printing apparatus is connected. Accordingly, processing corresponding to the above-described drawing processing (FIG. 2) is performed on the printer driver on the host computer side.
[0070]
Depending on the configuration and operation mode of the printing mechanism, the host computer may generate a complete bitmap image before sending it to the printing apparatus. In this case, it is necessary to perform image processing with a printer driver. In general, the host computer has more capacity in the main storage device and the secondary storage device than the printer. However, in practice, since the print output program is usually started as a subprocess of another application, it cannot monopolize so many resources. Further, although the secondary storage device has a large storage capacity, it is desirable to provide a page memory that is frequently rewritten in the main storage device. Therefore, the host computer also executes processing corresponding to the drawing processing (FIG. 2) on the main storage device.
[0071]
FIG. 5 is a block diagram showing the main configuration of the image processing apparatus according to this embodiment.
[0072]
This apparatus is configured by connecting a CPU 201 ′ to a printer interface 205 ′ (output means) and a main storage device 203 ′ via a bus 300 ′. The main storage device 203 ′ includes a ROM 202 ′, a RAM, and the like, and a first development area 211 ′ and a second development area 210 ′ are secured. In addition to the control program executed by the CPU 201 ′, the ROM 202 ′ stores a comparison program 206 ′ and a color conversion table 212 ′.
[0073]
The first development area 211 ′, the second development area 210 ′, and the color conversion table 212 ′ have the same functions and configurations as the first development area 211, the second development area 210, and the color conversion table 212 in the first embodiment. Have The comparison program 206 ′ is a program for executing a process corresponding to the drawing process (FIG. 2), and serves to perform the same function as the comparison unit 206 in the first embodiment.
[0074]
In this apparatus, the drawing process is executed by the CPU 201 ′, and the process is the same as the drawing process of FIG. The processed bitmap image is transferred to a printing apparatus (not shown) connected to the apparatus via the printer interface 205 and printed out by the printing apparatus.
[0075]
According to the present embodiment, the same effect as that of the first embodiment can be obtained in that the color image can be identified and printed on the printing apparatus in monochrome. In addition, since the density correction processing is performed on the host computer side, any connected monochrome printing apparatus can perform identifiable monochrome printing.
[0076]
Note that the image processing system can be configured by connecting the monochrome printing apparatus as the image processing apparatus in the first embodiment to an external device such as a host computer. An image processing system can also be configured by connecting a monochrome printing apparatus to a host computer as an image processing apparatus in the second embodiment of the invention.
[0077]
Note that a storage medium in which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the image processing apparatus, and a computer (or CPU or MPU) of the image processing apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.
[0078]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0079]
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like can be used.
[0080]
In addition, the functions of the above-described embodiments are realized by executing the program code read by the computer, and an OS or the like running on the computer is actually processed based on an instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the above and the processing thereof is included.
[0081]
Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0082]
【The invention's effect】
As described above, according to this onset bright, it is possible to distinguishably monochrome printing color images while maintaining low cost.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram showing a flowchart of a drawing process in the same form.
FIG. 3 is a diagram showing an example of a bitmap pattern in the same form.
FIG. 4 is a diagram showing an example of contents of a color conversion table stored in a ROM in the same form.
FIG. 5 is a block diagram showing a main configuration of an image processing apparatus according to a second embodiment of the present invention.
[Explanation of symbols]
201 CPU (first expansion means, second expansion means, correction means, re-expansion means)
202 ROM
203 RAM
204 Printing interface 205 External device interface (reception means)
206 Comparison part (concentration detection means)
210 Second development area (part of second development means)
211 1st expansion | deployment area | region (a part of 1st expansion | deployment means)
212 color conversion table 201 ′ CPU (first developing means, second developing means, density detecting means, correcting means, re-developing means)
205 'Printer interface (output means)
203 ′ main storage device 211 ′ first expansion area (part of first expansion means)
210 ′ second expansion region (part of second expansion means)
206 'comparison program 212' color conversion table

Claims (3)

処理対象のオブジェクトの描画範囲における背景画像のビットマップイメージを退避する退避手段と、
前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージを描画する描画手段と、
前記退避手段により退避された前記背景画像のビットマップイメージと前記描画手段により前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージが描画されたビットマップイメージとでビットマップパターン同士を比較して排他的論理和をとり、差異があるピクセルの数であるONビットの数を積算し、該積算されたONビットの数と前記描画範囲の面積とに基づき濃度差を検出する検出手段と、
前記検出手段により検出された濃度差が閾値より小さい場合、前記処理対象のオブジェクトの濃度情報を補正し、補正された後の濃度情報にて前記処理対象のオブジェクトのビットマップイメージを再描画する再描画手段とを有することを特徴とする画像処理装置。
Saving means for saving a bitmap image of a background image in a drawing range of an object to be processed;
Drawing means for drawing the bitmap image of the object to be processed on the bitmap image of the background image;
Bitmap patterns between the bitmap image of the background image saved by the saving unit and the bitmap image in which the bitmap image of the object to be processed is drawn on the bitmap image of the background image by the drawing unit. Detection means for taking an exclusive OR for comparison, integrating the number of ON bits, which is the number of pixels having a difference, and detecting a density difference based on the integrated number of ON bits and the area of the drawing range When,
When the density difference detected by the detection means is smaller than the threshold value, the density information of the object to be processed is corrected, and the bitmap image of the object to be processed is redrawn with the corrected density information. An image processing apparatus comprising: a drawing unit .
処理対象のオブジェクトの描画範囲における背景画像のビットマップイメージを退避する退避ステップと、A saving step for saving a bitmap image of the background image in the drawing range of the object to be processed;
前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージを描画する描画ステップと、A drawing step of drawing a bitmap image of the object to be processed on the bitmap image of the background image;
前記退避ステップにより退避された前記背景画像のビットマップイメージと前記描画ステップにより前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージが描画されたビットマップイメージとでビットマップパターン同士を比較して排他的論理和をとり、差異があるピクセルの数であるONビットの数を積算し、該積算されたONビットの数と前記描画範囲の面積とに基づき濃度差を検出する検出ステップと、Bitmap patterns between the bitmap image of the background image saved by the saving step and the bitmap image in which the bitmap image of the object to be processed is drawn on the bitmap image of the background image by the drawing step. Detection step of comparing and taking exclusive OR, integrating the number of ON bits that are the number of pixels having a difference, and detecting a density difference based on the number of ON bits integrated and the area of the drawing range When,
前記検出ステップにより検出された濃度差が閾値より小さい場合、前記処理対象のオブジェクトの濃度情報を補正し、補正された後の濃度情報にて前記処理対象のオブジェクトのビットマップイメージを再描画する再描画ステップとを有することを特徴とする画像処理方法。When the density difference detected by the detection step is smaller than a threshold value, the density information of the object to be processed is corrected, and the bitmap image of the object to be processed is redrawn with the corrected density information. An image processing method comprising: a drawing step.
画像処理方法をコンピュータに実行させるためのプログラムを格納したコンピュータで読み取り可能な記憶媒体であって、A computer-readable storage medium storing a program for causing a computer to execute an image processing method,
前記画像処理方法は、The image processing method includes:
処理対象のオブジェクトの描画範囲における背景画像のビットマップイメージを退避する退避ステップと、A saving step for saving a bitmap image of the background image in the drawing range of the object to be processed;
前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージを描画する描画ステップと、A drawing step of drawing a bitmap image of the object to be processed on the bitmap image of the background image;
前記退避ステップにより退避された前記背景画像のビットマップイメージと前記描画ステップにより前記背景画像のビットマップイメージに前記処理対象のオブジェクトのビットマップイメージが描画されたビットマップイメージとでビットマップパターン同士を比較して排他的論理和をとり、差異があるピクセルの数であるONビットの数を積算し、該積算されたONビットの数と前記描画範囲の面積とに基づき濃度差を検出する検出ステップと、Bitmap patterns between the bitmap image of the background image saved by the saving step and the bitmap image in which the bitmap image of the object to be processed is drawn on the bitmap image of the background image by the drawing step. Detection step of comparing and taking exclusive OR, integrating the number of ON bits that are the number of pixels having a difference, and detecting a density difference based on the number of ON bits integrated and the area of the drawing range When,
前記検出ステップにより検出された濃度差が閾値より小さい場合、前記処理対象のオブジェクトの濃度情報を補正し、補正された後の濃度情報にて前記処理対象のオブジェクトのビットマップイメージを再描画する再描画ステップとを有することを特徴とする記憶媒体。When the density difference detected by the detection step is smaller than a threshold value, the density information of the object to be processed is corrected, and the bitmap image of the object to be processed is redrawn with the corrected density information. And a drawing step.
JP2000080291A 2000-03-22 2000-03-22 Image processing apparatus, method, and storage medium Expired - Fee Related JP4280388B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000080291A JP4280388B2 (en) 2000-03-22 2000-03-22 Image processing apparatus, method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000080291A JP4280388B2 (en) 2000-03-22 2000-03-22 Image processing apparatus, method, and storage medium

Publications (3)

Publication Number Publication Date
JP2001268377A JP2001268377A (en) 2001-09-28
JP2001268377A5 JP2001268377A5 (en) 2007-05-10
JP4280388B2 true JP4280388B2 (en) 2009-06-17

Family

ID=18597420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000080291A Expired - Fee Related JP4280388B2 (en) 2000-03-22 2000-03-22 Image processing apparatus, method, and storage medium

Country Status (1)

Country Link
JP (1) JP4280388B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218414B2 (en) 2002-03-22 2007-05-15 Canon Kabushiki Kaisha Apparatus and method for recording document described in markup language

Also Published As

Publication number Publication date
JP2001268377A (en) 2001-09-28

Similar Documents

Publication Publication Date Title
US6570997B2 (en) Image processing apparatus and method therefor, and storage medium
JP3619143B2 (en) Image processing apparatus and method
JP2000132006A (en) Image forming device
JP4920814B2 (en) Image processing method, apparatus, and recording medium
JPH07288705A (en) Device and method for processing color image
JP4280388B2 (en) Image processing apparatus, method, and storage medium
JP2006272557A (en) Image processor and image processing program
US5291308A (en) Image processing apparatus using tonal degree conversion
JP3997808B2 (en) Drawing processing apparatus and drawing processing method
JP2003051929A (en) Image processing method and apparatus
JP3636891B2 (en) Color image output method
JPH10275069A (en) Image processing device and method
JP2715475B2 (en) Graphic output device
JP3864520B2 (en) Print processing apparatus and print processing method
JPH1044530A (en) Printing control apparatus, information-processing apparatus, printing apparatus, and method for processing print information
JPH1051636A (en) Printing controller, information processor, printer and printing information processing method
JP2000293678A (en) Image processor
JP2002067423A (en) Printer
JP3591096B2 (en) How to control a page printer
JPH09277616A (en) Printer and control method therefor
JPS63242561A (en) Font reducing system
JPH0499657A (en) Image supplying device
JP2001144939A (en) Image processor and its method
JP2006159458A (en) Image output device
JPS62208090A (en) Image processor

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070316

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070316

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090106

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090316

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

Free format text: PAYMENT UNTIL: 20120319

Year of fee payment: 3

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140319

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees