JP4356953B2 - Image processing system, image processing apparatus, control method therefor, and storage medium - Google Patents

Image processing system, image processing apparatus, control method therefor, and storage medium Download PDF

Info

Publication number
JP4356953B2
JP4356953B2 JP21785299A JP21785299A JP4356953B2 JP 4356953 B2 JP4356953 B2 JP 4356953B2 JP 21785299 A JP21785299 A JP 21785299A JP 21785299 A JP21785299 A JP 21785299A JP 4356953 B2 JP4356953 B2 JP 4356953B2
Authority
JP
Japan
Prior art keywords
attribute
map information
image
information
indicating whether
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
JP21785299A
Other languages
Japanese (ja)
Other versions
JP2001038970A (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 JP21785299A priority Critical patent/JP4356953B2/en
Priority to US09/521,850 priority patent/US7054029B1/en
Publication of JP2001038970A publication Critical patent/JP2001038970A/en
Priority to US11/370,925 priority patent/US7692813B2/en
Application granted granted Critical
Publication of JP4356953B2 publication Critical patent/JP4356953B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は画像処理システム及び画像処理装置及びその制御方法及び記憶媒体、とくにデジタル的に画像データを生成し、プリント等の出力装置に出力する画像処理装置及び方法及び記憶媒体に関するものである。
【0002】
【従来の技術】
従来、このようなシステムとして図7に示すようなものが知られている。
【0003】
これはホストコンピューター101を用いてDTPなどのページレイアウト文書やワープロ、グラフィック文書などを作成してレーザービームプリンタやインクジェットプリンタなどによりハードコピー出力するシステムの大まかな構成である。
【0004】
102はホストコンピューター上で動作するアプリケーションで、代表的なものとしてMicrosoft社のワード(R)のようなワープロソフトや、Adobc社のPageMaker(R)のようなページレイアウトソフトが有名である。
【0005】
これらのソフトウェアで作成されたデジタル的な文書は図示しないコンピューターのオペレーティングシステム(OS)を介してプリンタドライバ103に受け渡される。
【0006】
上記デジタル文書は通常、ひとつのページを構成する図形や文字などをあらわすコマンドデータの集合として表されており、これらのコマンドをプリンタドライバ103に送ることになる。プリンタドライバ103は、画面(頁)を構成する一連のコマンドをPDL(ページ記述言語)と呼ばれる言語体系として変換する。PDLの代表例としてはGDI(R)やPS(R)(ポストスクリプト)などが有名である。
【0007】
プリンタドライバ103は、生成したPDLコマンドデータを、ラスターイメージプロセッサ104内のラスタライザー105に転送する。ラスタライザー105はPDLコマンドで表現されている文字、図形などを実際にプリンタ出力するための2次元のビットマップイメージへと展開する。ビットマップイメージは、2次元平面を1次元のラスター(ライン)のくり返しとして埋め尽くすような画像となるため105のことをラスタライザーと呼んでいる。展開されたビットマップイメージは画像メモリ106に一時的に格納される。
【0008】
以上の動作を模式的に示たのが図8である。ホストコンピューター上で表示されている文書画像111はPDLコマンド列112としてプリンタドライバ経由でラスタライザーへ送られ、ラスタライザーは113のように2次元のビットマップイメージを画像メモリ上に展開する。
【0009】
展開された画像データはカラープリンタ107へ送られる。カラープリンタ107には周知の電子写真方式やインクジェット記録方式の画像形成ユニット108が利用されており、これらを用いて用紙上に可視画像を形成してプリント出力される。画像メモリ中の画像データは画像形成ユニットを動作させるために必要な図示しない同期信号やクロック信号、あるいは特定の色成分信号の転送要求などと同期して転送されるのはもちろんである。
【0010】
【発明が解決しようとする課題】
以上説明したような従来例において、出力に利用される画像形成ユニットについて考えてみると、種々の問題点が生じてくることが明かになっている。
【0011】
例えば、通常、カラープリンタはプリント出力上にカラー画像を形成するため、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)という、4色のトナー、またはインクを用いて、いわゆる減法混色の原理に基づいて画像形成を行う。
【0012】
一方、ホストコンピューターのアプリケーションが画像を表示する際にはカラーモニターを利用するのが普通であり、カラーモニターはレッド(R)、グリーン(G)、ブルー(B)という加法混色の3原色を用いて色を表示する。
【0013】
従って文書を構成する文字や図形の色、あるいは写真などをスキャナーで読みこんでレイアウトした画像などの色はすべてR,G,Bを混合した色として表現されている。
【0014】
すなわちラスタライザーはPDLとしてR,G,Bで定義されてホストコンピューターから転送されてくる色情報をなんらかの手段でC,M,Y,Kに変換した後、ビットマップイメージを生成してプリンタに送出する必要がある。
【0015】
ところがRGBをCMYKに変換する方法は一義的に決まっているものではなく、最適な変換方法というのはPDLで定義されている図形の属性によって異なってくる。例えば図8の例を参照すると、符号114で示す部分はスキャナなどで読み込まれた自然画像、符号115は円形、長方形といった電子的に発生させたグラフィック画像、符号116は文字(TEXT)画像、といったそれぞれ異なる属性を持っている。
【0016】
ここで116のTEXTの色をR=G=B=0の黒色として定義してあった場合、これに対する最適なCMYK信号は8ビットの濃度信号で表すとC=M=Y=0、かつK=255となる。つまり黒い文字はプリンタの4色のトナーの一うち黒トナーのみで再現するのが好ましい。
【0017】
一方114の自然画像の特定ピクセルの画素値がR=G=B=0であった場合、上記文字データと同様にC=M=Y=0、かつK=255に変換してしまうと、本来、自然画像中のもっとも濃度の高い部分を表現すべきなのが黒トナーのみで再現されるため、絶対濃度が不足してしまう。むしろこの場合、C=M=Y=100、K=255といった値に変換して絶対濃度を高くした方が好ましい結果が得られる。
【0018】
このような問題を解決するため、ラスタライザーはCMYKへの変換を行わずRGBの値を用いてビットマップ画像に展開するようにし、画像形成ユニット側で、送られてくるRGBのビットマップ画像中から周知の像域分離手法を用いて文字画像領域を検出し、検出された文字画像領域とそれ以外の領域とでRGBからCMYKへの変換方法を切り替えてCMYKデータを生成して出力する、という方法が考えられる。
【0019】
しかし、像域分離手法は、文字領域を100%検出できるとは限らず、また自然画像領域の中にも誤って文字領域として検出してしまう場合もある。従って、形成される画像も誤った検出結果に基づくものとなり、記録される画像の品質向上の妨げとなる。
【0020】
また、他の例として画像形成ユニットが2値のドットしか再現できないような場合も考えられる。この場合、ラスタライザーがY,M,C,Kの多値のビットマップイメージを画像メモリに展開するのであるが、それを受け取った画像形成ユニットは誤差拡散法やデイザ処理といった周知の2値化処理をおこなって多値画像信号を2値画像信号に変換した後プリント出力する、という構成となる。
【0021】
このとき、やはり最適な2値化手法というものは画像の属性によって変わることになる。すなわち文字や図形などのグラフィックはディザのマトリックスサイズを小さくして解像度を重視した2値化が好ましいし、また写真のような自然画像はマトリックスサイズを大きくして階調再現性を重視した方が好ましい。
【0022】
また、この場合も画像メモリから転送される多値のビットマップイメージに対し像域分離処理をおこなってディザマトリックスのサイズを適応的に切り替えるという方法も考えられるが、前述と同様の不具合を防止することはできない。
【0023】
そこでPDL画像をビットマップ展開する場合に、展開された画像データが自然画像領域であるか、文字、図形領域であるかを示す属性情報を同時に生成して前記ビットマップ画像と同じように2次元ビットマップ状に展開しておき、展開された画像データを画像形成部に転送する際に、この属性情報も同時に転送し、属性情報に基づいて異なる画像処理を施してハードコピー出力するという方法が考えられる。
【0024】
この場合、前記のような画像の属性に応じて異なるディザマトリックスを適用したり、異なる色処理を適用したりすることが可能になる。しかしながら、例えば自然画像に文字を重ね書きしたり、あるいはグラフィック図形上に写真を張り付けたりした場合など、異なる属性の部品画像が同一座標上に展開される場合に、その部分の属性設定に矛盾が生じる場合がある。
【0025】
これは例えばカラーの自然画像上に無彩色のグレーのグラフィック図形を重ね書きする場合に、図形の内部に背景の自然画像が透かし状に見えるように設定したような場合などである。このとき重ね書きする図形は無彩色であるので、通常は黒単色で再現すべき領域となるはずであり、そのためこのグラフィック領域に対し白黒のオブジェクトであることを示す属性情報を付加することになる。しかしここでは背景のカラー画像が透けて見える状態で重ね書きする設定であるので、それを黒単色で再現してしまうと、本来背景に透けて見えるべき自然画像のカラー情報が失われてしまうことになる。
【0026】
本発明はかかる問題点に鑑みなされたものであり、コマンド形式で記述されたた印刷情報によって表わされる異なる属性を有する混在画像を、より高画質でプリント出力することを可能ならしめる画像処理システム及び画像処理装置及びその制御方法及び記憶媒体を提供しようとするものである。
【0027】
【課題を解決するための手段】
この課題を解決するため、例えば本発明の画像処理システムは以下の構成を備える。すなわち、
画像を構成する個々の部品に対応付けられたコマンド群で表現された画像データを入力するデータ入力手段と、
該コマンドに基づいてビットマップイメージを生成し、所定のビットマップメモリに格納するコマンド解釈手段と、
前記コマンドで表現される部品の属性を示す属性情報に基づき、前記ビットマップイメージの各画素単位に、少なくともベクトル属性を有するか否かを示す情報、文字属性を有するか否かを示す情報、及び、有彩色属性を有するか否かを示す情報を含む属性マップ情報を生成し、所定の属性メモリに格納する属性マップ情報生成手段と、
前記生成されたビットマップイメージと属性マップ情報に基づいてハードコピー出力する画像形成手段とを有する画像処理システムであって、
前記属性マップ情報生成手段は、注目部品の属性マップ情報を属性メモリに格納する際、前記注目部品の属性マップ情報と従前に格納されている他の部品の属性マップ情報を比較して、それぞれの属性マップ情報が異なる場合に、前記注目部品の属性マップ情報を、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有していない、前記文字属性を有するか否かを示す情報について文字属性を有していない、有彩色属性を有するか否かを示す情報について有彩色を有する、となるように更新することを特徴とする。
【0028】
【発明の実施の形態】
以下、添付図面に従って本発明に係る実施形態を詳細に説明する。
【0029】
図1は本発明の一実施形態のシステムブロック構成図である。図中、10〜15は図7の101〜106、また18、19は図7の107、108と同様である。
【0030】
本実施形態の特徴は属性マップメモリ16および画像処理部17にある。ここで、画像処理部17は独立して存在するように示してあるが、ラスターイメージプロセッサ13もしくはカラープリンタ18に含まれる構成としてもかまわない。また、ラスタライザー14は単独の装置でも良いし、ホストコンピュータ10或いはカラープリンタ18に含まれる構成にしてもよい。
【0031】
ラスタライザー14は画像を構成する個々の部品(以後オブジェクトと呼ぶ)に対応付けられたコマンドに基づいて画像メモリ15上にビットマップイメージを生成するが、このとき部品の属性に基づいて属性マップ情報を生成し属性マップメモリ16に書き込む。
【0032】
尚、実施形態におけるラスタライザー14は、画像メモリ15にビットマップイメージを生成するときに、1画素についてR、G、Bそれぞれ8ビットのビットマップイメージを作成するものとして説明する(従って画像メモリ15は1ページの画像記録が完了する毎に“白”を表現するデータFFhで初期化することになる)。
【0033】
図6に、実施形態における部品属性と属性マップ情報との関係の一例を示す。
【0034】
ここで、属性マップ情報を3ビットのフラグ情報としてあり、6通りの部品属性に従って図示のように属性マップ情報を生成するように示してある。属性マップ情報はベクトル属性、文字属性、色属性の3通りであり、ベクトル属性は対象部品(オブジェクト)が自然画像の場合は“0”、文字または図形などのグラフィックオブジェクトの場合は“1”となる。文字属性は自然画像、グラフィックオブジェクトの場合は“0”、文字オブジェクトの場合は“1”となる。色属性はオブジェクトがカラー(有彩色)か白黒(無彩色)かによって決められ自然画像、文字、グラフィックいずれのオブジェクトに関してもカラーオブジェクトの場合は“0”、白黒のオブジェクトの場合は“1”が設定される。なお、これらの属性は1つのオブジェクトについての定義であり、例えば色属性が“0”であるというのはそのオブジェクト全体が有彩色であることを示しているのであって、その画素が有彩色であることを示すものではない。
【0035】
図1に戻って、画像処理部17は画像メモリ15のビットマップデータに対し種々の画像処理を施してカラープリンタへデータを出力するが、このとき図6の規則によって属性マップメモリ16に記憶されている属性マップ情報を参照して画像処理方法を適宜切り替える(詳細は後述)。
【0036】
なお、実施形態における画像形成ユニット19は、カラーレーザビームプリンタエンジンを採用する(ただし、これに限るものではなく、インクジェットプリンタでも良い)。動作を簡単に説明すると、転写ドラム(不図示)に記録紙を巻きつけ、感光ドラム(不図示)上に生成させた1色成分のトナー像を転写することを、全4色成分につき順次行い、最後の色成分(Bk成分)の転写が完了すると、定着器で定着させ、外部に排出する、というものである。
【0037】
次に属性マップ情報の生成方法についてさらに詳細に説明する。
【0038】
まずPDLデータの展開を始める前に属性マップメモリ16の内容を全ての属性が1として初期化する。これは後述する、複数のオブジェクトを重ね書きして展開する場合の属性情報の処理を矛盾なく行うためである。
【0039】
次に、PDLで記述された文書画像の展開を行う。文書は例えば図2のようなものであるとする。この文書は異なる属性を持つ複数のオブジェクトによって構成されているが、これを属性ごとに分割して表示したものが図3である。
【0040】
図3(a)はカラーの自然画像オブジェクト、同図(b)は白黒の自然画像オブジェクトのみを抜き出したものである。同様に同図(c)はカラーの文字オブジェクト、同図(d)は白黒の文字オブジェクト、同図(e)はカラーのグラフィックオブジェクト、同図(f)は白黒のグラフィックオブジェクトをあらわしており、これらを全て重ね合わせると図2となる。
【0041】
これら図(a)〜(f)のそれぞれのオブジェクトが占める領域が図6の左欄の各属性に対応しており、図6の規則に従って属性マップ情報が各オブジェクトが存在する座標上に生成され、属性マップメモリ16に書き込まれる。
【0042】
例えば属性マップメモリ16上の図3(a)の画像が存在する矩形領域にはベクトル属性=0、文字属性=0、色属性=0という値が属性マップ情報として書き込まれる。
【0043】
また同図(b)の白黒自然画像領域では画像の存在する矩形領域に色属性=1が生成される(それ以外のベクトル属性、文字属性はやはり0である)。
【0044】
同様に同図(c)で画像が展開される領域に対応する属性マップメモリにはベクトル属性=1、文字属性=1、色属性=0が、同図(d)ではベクトル属性=1、文字属性=1、色属性=1が生成される。
【0045】
さらに同様に同図(e)ではベクトル属性=1、文字属性=0、色属性=0が、また同図(f)ではベクトル属性=1、文字属性=0、色属性=1が生成される。
【0046】
ここで図3であきらかなように、異なる属性のオブジェクトがビットマップメモリ上の同一の位置に重複して展開される場合がある。例えば図3(b)の右下の自然画像部分には同図(f)の右下の三角形のグラフィックが重ね書きされている。
【0047】
このような場合、通常は最後に展開されたオブジェクトがビットマップイメージを上書きするので、属性マップ情報も同様に、最後に展開されたオブジェクトの属性情報で上書きされる。すなわち図2の場合には三角形のグラフィックオブジェクトの属性情報が最終的な属性マップメモリに保存されることになる。
【0048】
しかし異なるオブジェクトが同一座標上に重ねて展開される場合、すでに展開されている画像データを残すようにする場合、例えばすでに自然画像が存在する領域に、その画像とANDやORなどの論理演算を施しながらグラフィックオブジェクトを上書きする、といった場合があり、これは先に説明したGDI(R)の場合、ROP処理(Raster Operation処理)と呼ばれているものがこのような処理に相当している。
【0049】
この場合、上書きするオブジェクトの属性情報までも上書きするようにしてしまうと、例えばカラーの自然画像の上に白黒の文字を上書きすると、上書きした部分の色属性が“1”(すなわち白黒)となってしまい、すでに存在しているカラーの画像情報が失われてしまうことになる。
【0050】
そこで、本実施形態では以下のように属性マップ情報を生成する。
【0051】
まずあらたなオブジェクトを展開する場合、展開されるべきビットマップ座標に対応する属性マップメモリを参照し、すでに生成されている属性情報を参照する。そして現在展開している属性情報とすでに生成されている属性マップメモリ上の属性情報をビット単位に比較し、両者が一致していればそれをそのまま保存し、一致していない場合はそのビットを“0”にリセットする。属性マップ情報は初期状態では全て“1”に初期化されているので、まだオブジェクトが展開されていない領域(下地領域)の上に新たなオブジェクトを展開する場合、展開するオブジェクトの属性情報の或るビットが“1”であれば、そのビットの属性情報は“1”となり、そうでない場合は“0”にリセットされることになる。
【0052】
尚、属性情報の比較はビット単位に行うものとしたが、3つの属性情報全てが一致するか否かを判定してもよい。
【0053】
前者の場合、すでに展開されている画像が白黒のグラフィックであり、その上に上書きして展開するオブジェクトがカラーの文字であったとすると、ベクトル属性はどちらも1なので1のままとなるが、文字属性は前者が0、後者が1なので0にリセットされ、色属性は前者が1で後者が0なのでやはり0にリセットされる。
【0054】
従って、この場合生成されるその画素位置における属性情報はベクトル属性=1、文字属性=色属性=0となり、カラーのグラフィックという扱いと同等となる。
【0055】
以上の手順で生成されたのが図4の属性情報であり、同図(a),(b),(c)がそれぞれベクトル属性、文字属性、色属性であり、黒く塗りつぶした領域がそれぞれの属性が“1”に設定されている部分を示している。
【0056】
初期状態が全て1であるので、同図(a)のベクトル属性の場合はベクトル属性が“0”のオブジェクト、すなわち自然画像を展開した領域のみが0となり、それ以外は“1”になっている。
【0057】
同様に同図(b)の文字属性は文字でないオブジェクトを展開した領域で“0”となる。また同図(c)ではカラーのオブジェクトを展開すると、その領域の属性情報が“0”にリセットされる。
【0058】
以上の手順で属性マップ情報が生成される。
【0059】
さて、生成された画像メモリ15に展開されたビットマップ画像データ、および属性マップメモリ16に格納された属性マップデータは図示しない同期信号とともに画像処理部17へ転送される。
【0060】
このとき画像メモリ15の所定の画素位置のデータと対応する画素の属性マップデータが互いに対応付けられて転送される。すなわち画像メモリ中の特定画素の画素値が画像処理部へ送られるときには、同一画素位置の属性マップデータ(フラグデータ)もほぼ同時に送られることになる。
【0061】
画像処理部17は画像メモリ15からの画素値(各色成分事のデータ)に対して種々の画像処理を施すのであるが、処理の方法は属性マップメモリ16からの属性情報(フラグデータ)によって決定され、制御される。
【0062】
すなわち画像メモリ15に展開された画像データ(RGBの24ビットデータ)に対し、先ず、log変換処理及びUCR処理によって、その時点での画像形成ユニットで形成している一色成分のデータを抽出する。RGB輝度データからYMCKの濃度データに変換することは公知であるので、その詳細は省略するが、抽出された1記録色成分のデータは、属性マップ情報に応じたディザマトリックスのサイズの切り替え処理を施され、2値信号に変換される。そして、その2値信号を画像形成ユニット19に出力する。
【0063】
図5は切り替えを行うディザマトリックスの一例である。同図(a),(b),(c)の3通りを属性マップ情報によって切り替える。本実施形態で用いる画像データは各画素ごとに8ビットの整数値(0〜255)であるとし、ディザマトリックスの各セル内の値をしきい値として2値化することにより出力画素のON/OFFを制御する。同図(a)は3x3のサイズのディザマトリックスであり、1画素を600dpiとすると200dpiの解像度で10階調を表現できる。同図(b)は5x5サイズであり、120dpi/26階調を表現できる。同図(c)は8x8サイズなので75dpi/65階調となる。
【0064】
したがって注目画素に対応する属性マップ情報を参照し、連続階調領域すなわちベクトル属性が0の場合は同図(c)のマトリックスで2値化するようにし、またグラフィック領域すなわちベクトル属性が“1”で文字属性が“0”の場合は同図(b)のマトリックスを用いて2値化する。また文字領域すなわちベクトル属性が“1”で文字属性が“1”の場合は同図(a)のマトリックスを用いる。このようにすると、例えば写真などは階調性を重視した再現をしながら文字は解像度高く再現し、またグラフィックはそれらの中間の再現というように高品質な出力画像を得ることができる。
【0065】
以上、説明したように本実施形態によれば、PDLで記述され、記録しようとするオブジェクトによる1ページのビットマップイメージを展開すると共に、各オブジェクトの属性(文字、線画、写真画像等の中間調画像)に応じて各画素単位にその属性情報をビットマップイメージと対応付けて作成すると共に、同じ位置に異なる属性があったとしても、重なり合う異なる属性に適した属性に適宜補正することで、より高品位の画像を記録することができるようになる。
【0066】
<第2の実施形態の説明>
上記実施形態(第1の実施形態)では、画像処置部17で、ディザマトリックスのサイズを、画像メモリ15からの画素データ(RGBデータ)と同期して属性マップメモリ16から属性マップデータを読出し、その属性マップデータに従ってディザマトリックスのサイズを切り換えるものであった。
【0067】
しかしながら、RGB→YMCKに変換する際に用いるUCR処理を、属性マップデータに従って制御するようにしてもよい。
【0068】
例えば、属性マップデータにおけるベクトル属性、文字属性及び色属性の全てが“0”の場合、つまり、その画素がカラー写真画像等の一部の画素を示している場合には100%UCR処理ではなく、80%UCR処理を行うようにすることで、全ての記録色成分による記録が行える方向に補正する。
【0069】
なお、注目画素がカラー属性を有していないのであれば、Bk成分のみによる画像記録が行われるようにする。例えば、写真画像等の一部であっても、その画像領域がカラー属性を有していない場合にはBk成分のみ出力し、他の成分(C、M、Y)は強制的に0を出力する。
【0070】
また、属性マップデータにより、注目画素が文字やベクトル成分の一部であって、カラー属性を有する場合には、100%UCR処理を行う。
【0071】
以上の如く、第2の実施形態によっても、第1の実施形態と同様の作用効果を奏することができるようになる。
【0072】
なお、第1、第2の実施形態を好適に組み合わせるようにしてもよい。
【0073】
<第3の実施形態の説明>
上記第1、第2の実施形態では、属性マップ情報として、ベクトル画像か否か、文字か否か、カラーか白黒か、という3通りの属性について説明したが、もちろんこれに限定されるわけではなく、例えばカラーのオブジェクトではその色の色相や彩度を識別するフラグとしたり、あるいはオブジェクトのエッジ部か否か、などといった様々なフラグ情報を考えることができる。
【0074】
また属性マップ情報に基づく画像処理方法の切り替えも前記実施形態に限られるものではなく、他にもエッジ強調処理の切り替えや、ビットマップデータを圧縮してプリンタ部へ転送する場合の圧縮方法の切り替え、など種々のものが考えられる。
【0075】
また2つのオブジェクトの属性情報から新たな属性情報を生成する規則として、本実施形態では2つのオブジェクトの持つ属性情報が等しい場合にはその値とし、そうでない場合には0にリセットするという構成を示したが、これは両者の属性情報に対し論理積(AND)処理を施したのと同等となる。しかしそれに限定されることはなく、例えば2つの属性の論理和(OR)をとることにより属性1を優先するようにしたり、あるいは上書きした部品の属性情報を常に用いるようにしたり、すでに存在している部品の属性情報をそのまま保存するようにする、といった方法も考えられる。
【0076】
更に、実施形態では、画像メモリ15にはRGB輝度成分のビットマップイメージを展開するものとして説明したが、YMC或いはYMCK濃度成分のビットマップイメージデータを展開するようにしてもよいのは勿論である。
【0077】
また、実施形態では画像形成ユニットとして、カラーLBPを例にして説明したが、PWM方式を採用して多値画像記録可能な画像形成ユニットに適合してもよい。この場合、1画素1ビットへの変換(2値化処理)は不要になるので、属性マップ情報に従ってRGB→YMCK変換処理、或いは濃度変換された画像データのエッジ強調処理等に適用すれば良いであろう。
【0078】
また、記録方式もレーザビームプリンタに限るものでなく、インク液滴を吐出するタイプのエンジンでも良いし、他の如何なる方式でも構わない。要は、属性マップメモリ16に記憶された属性情報に従って適宜、最適な記録処理へ切り換わるようになっていれば良い。
【0079】
更に、実施形態ではラスターイメージプロセッサ13は、ホストコンピュータ10とカラープリンタ18との間に介在するものとして説明したが、カラープリンタの筐体内にラスターイメージプロセッサ13を設けてもよいし、ホストコンピュータ10側の処理の一部として設けるようにしてもよい。
【0080】
後者の場合には、特にプリンタドライバ12の一部の機能として取込むことが可能であるので、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成される。
【0081】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0082】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピィディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発生のメモリカード、ROMなどを用いることができる。
【0083】
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0084】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0085】
【発明の効果】
以上説明したように本発明によれば、コマンド形式で記述されたた印刷情報によって表わされる異なる属性を有する混在画像を、より高画質でプリント出力することが可能になる。
【図面の簡単な説明】
【図1】本発明を実施するブロック構成の一例を示す図である。
【図2】本発明が適用されるPDL文書の一例を示す図である。
【図3】図2の文書中の部品を属性ごとに分解して表示した図である。
【図4】図2の文書から属性マップ情報を生成した場合を説明する図である。
【図5】本発明におけるディザマトリックスの一例を説明する図である。
【図6】実施形態における画像属性と属性マップ情報との関係を示す図である。
【図7】従来のブロック構成の一例を示す図である。
【図8】PDLによる画像出力の手順を説明する図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing system, an image processing apparatus, a control method therefor, and a storage medium, and more particularly to an image processing apparatus, method, and storage medium that digitally generate image data and output it to an output device such as a print.
[0002]
[Prior art]
Conventionally, such a system as shown in FIG. 7 is known.
[0003]
This is a general configuration of a system that uses a host computer 101 to create a page layout document such as DTP, a word processor, a graphic document, and the like, and outputs a hard copy by a laser beam printer, an inkjet printer, or the like.
[0004]
Reference numeral 102 denotes an application that runs on a host computer, and typical examples thereof include word processing software such as Microsoft Word (R) and page layout software such as Adobe PageMaker (R).
[0005]
A digital document created with these software is transferred to the printer driver 103 via an operating system (OS) of a computer (not shown).
[0006]
The digital document is usually represented as a set of command data representing graphics, characters, etc. constituting one page, and these commands are sent to the printer driver 103. The printer driver 103 converts a series of commands constituting the screen (page) into a language system called PDL (page description language). Typical examples of PDL are GDI (R) and PS (R) (postscript).
[0007]
The printer driver 103 transfers the generated PDL command data to the rasterizer 105 in the raster image processor 104. The rasterizer 105 develops characters, graphics and the like expressed by PDL commands into a two-dimensional bitmap image for actual printer output. Since a bitmap image is an image that fills a two-dimensional plane as a one-dimensional raster (line) repetition, 105 is called a rasterizer. The developed bitmap image is temporarily stored in the image memory 106.
[0008]
FIG. 8 schematically shows the above operation. The document image 111 displayed on the host computer is sent as a PDL command string 112 to the rasterizer via the printer driver, and the rasterizer develops a two-dimensional bitmap image on the image memory as shown at 113.
[0009]
The developed image data is sent to the color printer 107. The color printer 107 uses a known electrophotographic system or ink jet recording system image forming unit 108, which forms a visible image on paper and prints it out. Of course, the image data in the image memory is transferred in synchronization with a not-shown synchronization signal or clock signal necessary for operating the image forming unit, or a transfer request for a specific color component signal.
[0010]
[Problems to be solved by the invention]
In the conventional example described above, it is clear that various problems arise when the image forming unit used for output is considered.
[0011]
For example, normally, a color printer uses a four-color toner or ink of cyan (C), magenta (M), yellow (Y), and black (K) to form a color image on a print output. Image formation is performed based on the so-called subtractive color mixing principle.
[0012]
On the other hand, when a host computer application displays an image, it is common to use a color monitor. The color monitor uses three additive primary colors of red (R), green (G), and blue (B). Display the color.
[0013]
Therefore, the colors of characters and graphics constituting the document, or the color of the image that is laid out by reading a photograph or the like with a scanner are all expressed as a mixture of R, G, and B.
[0014]
That is, the rasterizer defines R, G, B as PDL and converts the color information transferred from the host computer into C, M, Y, K by some means, then generates a bitmap image and sends it to the printer There is a need to.
[0015]
However, the method of converting RGB to CMYK is not uniquely determined, and the optimum conversion method differs depending on the graphic attributes defined in PDL. For example, referring to the example of FIG. 8, a portion indicated by reference numeral 114 is a natural image read by a scanner or the like, a reference numeral 115 is an electronically generated graphic image such as a circle or a rectangle, and a reference numeral 116 is a character (TEXT) image. Each has different attributes.
[0016]
If the 116 TEXT colors are defined as black with R = G = B = 0, the optimal CMYK signal for this is expressed as an 8-bit density signal, C = M = Y = 0, and K = 255. In other words, it is preferable to reproduce black characters using only black toner out of the four colors of toner of the printer.
[0017]
On the other hand, if the pixel value of a specific pixel of the natural image 114 is R = G = B = 0, if converted to C = M = Y = 0 and K = 255 as in the case of the character data, Since the portion with the highest density in the natural image is to be expressed only with black toner, the absolute density is insufficient. Rather, in this case, it is preferable that the absolute density is increased by converting into values such as C = M = Y = 100 and K = 255.
[0018]
In order to solve such a problem, the rasterizer does not perform conversion to CMYK, but develops it into a bitmap image using RGB values, and in the RGB bitmap image sent on the image forming unit side. A character image area is detected using a well-known image area separation method, and a conversion method from RGB to CMYK is switched between the detected character image area and other areas to generate and output CMYK data. A method is conceivable.
[0019]
However, the image area separation method does not always detect 100% of the character area, and may erroneously detect the character area in the natural image area. Therefore, the formed image is also based on an erroneous detection result, which hinders improvement in the quality of the recorded image.
[0020]
As another example, there may be a case where the image forming unit can reproduce only binary dots. In this case, the rasterizer develops a multi-value bitmap image of Y, M, C, and K in the image memory. The image forming unit that receives the raster image is known binarization such as an error diffusion method or a dither process. The multi-valued image signal is converted into a binary image signal after processing, and then printed out.
[0021]
At this time, the optimum binarization method also changes depending on the attribute of the image. In other words, graphics such as characters and figures are preferably binarized by reducing the dither matrix size and emphasizing resolution. For natural images such as photographs, it is better to increase the matrix size and emphasize tone reproducibility. preferable.
[0022]
Also in this case, a method of adaptively switching the size of the dither matrix by performing image area separation processing on the multi-value bitmap image transferred from the image memory can be considered, but the same problem as described above is prevented. It is not possible.
[0023]
Therefore, when a PDL image is expanded into a bitmap, attribute information indicating whether the expanded image data is a natural image area, a character area, or a graphic area is generated at the same time, and two-dimensionally like the bitmap image. A method of developing a bitmap and transferring the developed image data to the image forming unit and transferring the attribute information at the same time, performing different image processing based on the attribute information, and outputting a hard copy. Conceivable.
[0024]
In this case, it is possible to apply different dither matrices or apply different color processing according to the image attributes as described above. However, if part images with different attributes are developed on the same coordinates, such as when characters are overwritten on a natural image or a photo is pasted on a graphic figure, the attribute settings for that part are inconsistent. May occur.
[0025]
For example, when an achromatic gray graphic figure is overwritten on a color natural image, the background natural image is set to look like a watermark inside the figure. Since the figure to be overwritten at this time is an achromatic color, it should normally be an area that should be reproduced with a single black color. Therefore, attribute information indicating a monochrome object is added to this graphic area. . However, since the background color image is set to be overlaid in such a way that it can be seen through, if it is reproduced in black only, the color information of the natural image that should originally be seen through the background will be lost. become.
[0026]
The present invention has been made in view of such a problem, and an image processing system that makes it possible to print out a mixed image having different attributes represented by print information described in a command format with higher image quality. An image processing apparatus, a control method thereof, and a storage medium are provided.
[0027]
[Means for Solving the Problems]
In order to solve this problem, for example, an image processing system of the present invention has the following configuration. That is,
Data input means for inputting image data expressed by a command group associated with individual components constituting the image;
Command interpreting means for generating a bitmap image based on the command and storing the bitmap image in a predetermined bitmap memory;
Of the part represented by the command Indicates an attribute Based on the attribute information, the bitmap image Each pixel unit includes information indicating whether or not it has at least a vector attribute, information indicating whether or not it has a character attribute, and information indicating whether or not it has a chromatic color attribute Attribute map information generating means for generating attribute map information and storing it in a predetermined attribute memory;
An image processing system having an image forming means for outputting a hard copy based on the generated bitmap image and attribute map information,
When the attribute map information generating unit stores the attribute map information of the part of interest in the attribute memory, the attribute map information of the part of interest and the attribute map information of other parts previously stored are stored. In comparison, if the attribute map information is different, whether the attribute map information of the component of interest has the character attribute, which does not have the vector attribute, with respect to the information indicating whether the vector attribute is present The information indicating whether or not it has a character attribute, and the information indicating whether or not it has a chromatic color attribute has a chromatic color. It is characterized by updating.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.
[0029]
FIG. 1 is a system block diagram of an embodiment of the present invention. In the figure, 10 to 15 are the same as 101 to 106 in FIG. 7, and 18 and 19 are the same as 107 and 108 in FIG.
[0030]
The feature of this embodiment resides in the attribute map memory 16 and the image processing unit 17. Here, the image processing unit 17 is shown to exist independently, but the image processing unit 17 may be included in the raster image processor 13 or the color printer 18. The rasterizer 14 may be a single device or may be included in the host computer 10 or the color printer 18.
[0031]
The rasterizer 14 generates a bitmap image on the image memory 15 based on a command associated with each part (hereinafter referred to as an object) constituting the image. At this time, the attribute map information is based on the attribute of the part. Is written into the attribute map memory 16.
[0032]
Note that the rasterizer 14 in the embodiment will be described on the assumption that when generating a bitmap image in the image memory 15, an R-, G-, and B-bit 8-bit bitmap image is created for each pixel (thus, the image memory 15 Is initialized with data FFh representing “white” every time image recording of one page is completed).
[0033]
FIG. 6 shows an example of the relationship between component attributes and attribute map information in the embodiment.
[0034]
Here, the attribute map information is 3-bit flag information, and the attribute map information is generated as shown in the figure according to six component attributes. There are three types of attribute map information: vector attribute, character attribute, and color attribute. The vector attribute is “0” when the target part (object) is a natural image, and “1” when the object is a graphic object such as a character or graphic. Become. The character attribute is “0” for a natural image or graphic object, and “1” for a character object. The color attribute is determined depending on whether the object is color (chromatic color) or black and white (achromatic color), and “0” is set for a color object and “1” is set for a black and white object for any natural image, character, or graphic object. Is set. These attributes are definitions for one object. For example, a color attribute of “0” indicates that the entire object is chromatic, and the pixel is chromatic. It does not indicate that there is.
[0035]
Returning to FIG. 1, the image processing unit 17 performs various image processing on the bitmap data in the image memory 15 and outputs the data to the color printer. At this time, the image processing unit 17 stores the data in the attribute map memory 16 according to the rules of FIG. The image processing method is appropriately switched with reference to the attribute map information (details will be described later).
[0036]
The image forming unit 19 in the embodiment employs a color laser beam printer engine (however, the present invention is not limited to this, and an ink jet printer may be used). Briefly explaining the operation, a recording paper is wound around a transfer drum (not shown), and the toner image of one color component generated on the photosensitive drum (not shown) is transferred sequentially for all four color components. When the transfer of the last color component (Bk component) is completed, it is fixed by a fixing device and discharged to the outside.
[0037]
Next, a method for generating attribute map information will be described in more detail.
[0038]
First, before starting the development of PDL data, the contents of the attribute map memory 16 are initialized with all attributes set to 1. This is to perform processing of attribute information when a plurality of objects are overwritten and developed, which will be described later, without contradiction.
[0039]
Next, the document image described in PDL is expanded. Assume that the document is as shown in FIG. This document is composed of a plurality of objects having different attributes. FIG. 3 shows this document divided for each attribute.
[0040]
FIG. 3A shows a color natural image object, and FIG. 3B shows only a black and white natural image object. Similarly, FIG. 7C shows a color character object, FIG. 10D shows a black and white character object, FIG. 10E shows a color graphic object, and FIG. 10F shows a black and white graphic object. When all these are superimposed, FIG. 2 is obtained.
[0041]
The area occupied by each object in FIGS. 6A to 6F corresponds to each attribute in the left column of FIG. 6, and attribute map information is generated on the coordinates where each object exists according to the rules of FIG. Are written in the attribute map memory 16.
[0042]
For example, the values of vector attribute = 0, character attribute = 0, and color attribute = 0 are written as attribute map information in a rectangular area where the image of FIG.
[0043]
In the black and white natural image area of FIG. 5B, color attribute = 1 is generated in the rectangular area where the image exists (other vector attributes and character attributes are also 0).
[0044]
Similarly, vector attribute = 1, character attribute = 1, color attribute = 0 in the attribute map memory corresponding to the area where the image is expanded in FIG. 4C, vector attribute = 1, character in FIG. Attribute = 1 and color attribute = 1 are generated.
[0045]
Similarly, in FIG. 8E, vector attribute = 1, character attribute = 0, and color attribute = 0 are generated, and in FIG. 8F, vector attribute = 1, character attribute = 0, and color attribute = 1 are generated. .
[0046]
Here, as clearly shown in FIG. 3, there are cases where objects having different attributes are expanded at the same position on the bitmap memory. For example, the lower right triangle graphic in FIG. 3F is overwritten on the lower right natural image portion in FIG.
[0047]
In such a case, since the last expanded object normally overwrites the bitmap image, the attribute map information is similarly overwritten with the attribute information of the last expanded object. That is, in the case of FIG. 2, the attribute information of the triangular graphic object is stored in the final attribute map memory.
[0048]
However, when different objects are expanded on the same coordinate, if the image data that has already been expanded is to be left, for example, a logical operation such as AND or OR is performed on the image in the area where the natural image already exists. In some cases, the graphic object is overwritten while being applied. In the case of GDI (R) described above, what is called ROP processing (Raster Operation processing) corresponds to such processing.
[0049]
In this case, if the attribute information of the object to be overwritten is overwritten, for example, when a monochrome character is overwritten on a color natural image, the color attribute of the overwritten portion becomes “1” (ie, monochrome). As a result, the existing color image information is lost.
[0050]
Therefore, in this embodiment, attribute map information is generated as follows.
[0051]
First, when a new object is expanded, the attribute map memory corresponding to the bitmap coordinates to be expanded is referred to, and already generated attribute information is referred to. Then, compare the currently developed attribute information with the attribute information in the attribute map memory that has already been generated in bit units, and if they match, store them as they are, and if they do not match, store the bits. Reset to “0”. Since the attribute map information is initialized to “1” in the initial state, when a new object is developed on an area where the object has not yet been developed (background area), the attribute information of the object to be developed If the corresponding bit is “1”, the attribute information of that bit is “1”; otherwise, it is reset to “0”.
[0052]
Although the comparison of attribute information is performed on a bit basis, it may be determined whether or not all three pieces of attribute information match.
[0053]
In the former case, if the image that has already been developed is a black and white graphic, and the object to be overwritten and developed is a color character, the vector attribute is both 1, so it remains at 1. The attribute is reset to 0 because the former is 0 and the latter is 1, and the color attribute is also reset to 0 because the former is 1 and the latter is 0.
[0054]
Accordingly, the attribute information generated at this pixel position in this case is vector attribute = 1 and character attribute = color attribute = 0, which is equivalent to the treatment of color graphics.
[0055]
The attribute information shown in FIG. 4 is generated by the above procedure. FIGS. 4A, 4B, and 4C are vector attributes, character attributes, and color attributes, respectively. The part in which the attribute is set to “1” is shown.
[0056]
Since all the initial states are 1, in the case of the vector attribute of FIG. 9A, only the object having the vector attribute of “0”, that is, only the area where the natural image is developed is 0, otherwise “1”. Yes.
[0057]
Similarly, the character attribute of FIG. 5B is “0” in the area where the non-character object is developed. In FIG. 5C, when a color object is developed, the attribute information of the area is reset to “0”.
[0058]
The attribute map information is generated by the above procedure.
[0059]
The generated bitmap image data developed in the image memory 15 and the attribute map data stored in the attribute map memory 16 are transferred to the image processing unit 17 together with a synchronization signal (not shown).
[0060]
At this time, the data of the predetermined pixel position in the image memory 15 and the attribute map data of the corresponding pixel are transferred in association with each other. That is, when the pixel value of the specific pixel in the image memory is sent to the image processing unit, attribute map data (flag data) at the same pixel position is also sent almost simultaneously.
[0061]
The image processing unit 17 performs various image processing on the pixel values (data of each color component) from the image memory 15. The processing method is determined by attribute information (flag data) from the attribute map memory 16. And controlled.
[0062]
That is, with respect to the image data (RGB 24-bit data) developed in the image memory 15, first, data of one color component formed in the image forming unit at that time is extracted by log conversion processing and UCR processing. Since it is known to convert RGB luminance data to YMCK density data, the details are omitted, but the extracted data of one recording color component is subjected to a dither matrix size switching process according to attribute map information. And converted into a binary signal. Then, the binary signal is output to the image forming unit 19.
[0063]
FIG. 5 is an example of a dither matrix for switching. The three patterns (a), (b), and (c) are switched according to the attribute map information. The image data used in the present embodiment is an 8-bit integer value (0 to 255) for each pixel, and the value in each cell of the dither matrix is binarized as a threshold value to turn ON / OFF the output pixel. Controls OFF. FIG. 5A shows a dither matrix having a size of 3 × 3. If one pixel is 600 dpi, 10 gradations can be expressed with a resolution of 200 dpi. FIG. 5B shows a 5 × 5 size and can express 120 dpi / 26 gradations. Since FIG. 8C is an 8 × 8 size, the gradation is 75 dpi / 65.
[0064]
Therefore, the attribute map information corresponding to the target pixel is referred to, and when the continuous tone area, that is, the vector attribute is 0, binarization is performed with the matrix of FIG. When the character attribute is “0”, binarization is performed using the matrix shown in FIG. When the character area, that is, the vector attribute is “1” and the character attribute is “1”, the matrix shown in FIG. In this way, for example, it is possible to obtain a high-quality output image such that a character or the like is reproduced with high resolution while a photograph is reproduced with an emphasis on gradation, and a graphic is reproduced between them.
[0065]
As described above, according to the present embodiment, a one-page bitmap image of an object to be recorded, which is described in PDL, is developed, and the attributes (characters, line drawings, photographic images, etc.) of each object are displayed. The attribute information is created in association with the bitmap image for each pixel according to the image), and even if there are different attributes at the same position, the attribute information is appropriately corrected to an attribute suitable for different overlapping attributes. High-quality images can be recorded.
[0066]
<Description of Second Embodiment>
In the above embodiment (the first embodiment), the image processing unit 17 reads the attribute map data from the attribute map memory 16 in synchronization with the pixel data (RGB data) from the image memory 15 in the dither matrix size. The dither matrix size is switched according to the attribute map data.
[0067]
However, the UCR process used when converting from RGB to YMCK may be controlled according to the attribute map data.
[0068]
For example, if all of the vector attribute, character attribute, and color attribute in the attribute map data are “0”, that is, if the pixel indicates a part of a pixel such as a color photographic image, the 100% UCR process is not performed. By performing the 80% UCR process, the recording is corrected in a direction in which recording with all the recording color components can be performed.
[0069]
If the pixel of interest does not have a color attribute, image recording is performed using only the Bk component. For example, even if it is a part of a photographic image or the like, if the image area has no color attribute, only the Bk component is output, and other components (C, M, Y) are forcibly output 0. To do.
[0070]
Also, if the target pixel is part of a character or vector component and has a color attribute based on the attribute map data, 100% UCR processing is performed.
[0071]
As described above, according to the second embodiment, the same operational effects as those of the first embodiment can be obtained.
[0072]
Note that the first and second embodiments may be suitably combined.
[0073]
<Description of Third Embodiment>
In the first and second embodiments, the attribute map information has been described with respect to three types of attributes: whether it is a vector image, whether it is a character, whether it is color or black and white, but of course it is not limited to this. For example, in the case of a color object, various flag information such as a flag for identifying the hue and saturation of the color or whether the edge portion of the object is used can be considered.
[0074]
Further, the switching of the image processing method based on the attribute map information is not limited to the above-described embodiment, and other switching of the edge emphasis processing or the compression method when the bitmap data is compressed and transferred to the printer unit. Various things are conceivable.
[0075]
As a rule for generating new attribute information from the attribute information of two objects, in this embodiment, the attribute information of the two objects is set to the same value, and if not, the value is reset to 0. Although shown, this is equivalent to performing logical product (AND) processing on the attribute information of both. However, the present invention is not limited to this. For example, the attribute 1 is given priority by taking the logical sum (OR) of two attributes, or the attribute information of the overwritten part is always used. A method is also conceivable in which the attribute information of the part being stored is stored as it is.
[0076]
Furthermore, in the embodiment, the image memory 15 has been described as developing a bitmap image of RGB luminance components, but it is needless to say that bitmap image data of YMC or YMCK density components may be expanded. .
[0077]
In the embodiment, the color LBP is described as an example of the image forming unit. However, the image forming unit may be adapted to an image forming unit capable of multi-value image recording by adopting a PWM method. In this case, since conversion to one bit per pixel (binarization processing) is not necessary, it may be applied to RGB → YMCK conversion processing or edge conversion processing of density-converted image data according to the attribute map information. I will.
[0078]
Further, the recording method is not limited to the laser beam printer, but may be an engine that ejects ink droplets or any other method. In short, it is only necessary to switch to the optimum recording process as appropriate according to the attribute information stored in the attribute map memory 16.
[0079]
Furthermore, although the raster image processor 13 has been described as being interposed between the host computer 10 and the color printer 18 in the embodiment, the raster image processor 13 may be provided in the housing of the color printer, or the host computer 10 It may be provided as part of the processing on the side.
[0080]
In the latter case, since it is possible to incorporate in particular as part of the functions of the printer driver 12, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus. However, this can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium.
[0081]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0082]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile raw memory card, a ROM, or the like can be used.
[0083]
Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer is actually executed based on an instruction of the program code. It goes without saying that the case where the functions of the above-described embodiment are realized by performing a part or all of the processing and the processing is included.
[0084]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0085]
【The invention's effect】
As described above, according to the present invention, a mixed image having different attributes represented by print information described in a command format can be printed out with higher image quality.
[Brief description of the drawings]
FIG. 1 is a diagram showing an example of a block configuration for implementing the present invention.
FIG. 2 is a diagram illustrating an example of a PDL document to which the present invention is applied.
FIG. 3 is a diagram in which parts in the document of FIG. 2 are disassembled and displayed for each attribute.
FIG. 4 is a diagram illustrating a case where attribute map information is generated from the document of FIG.
FIG. 5 is a diagram illustrating an example of a dither matrix in the present invention.
FIG. 6 is a diagram illustrating a relationship between image attributes and attribute map information in the embodiment.
FIG. 7 is a diagram illustrating an example of a conventional block configuration.
FIG. 8 is a diagram illustrating an image output procedure by PDL.

Claims (7)

画像を構成する個々の部品に対応付けられたコマンド群で表現された画像データを入力するデータ入力手段と、
該コマンドに基づいてビットマップイメージを生成し、所定のビットマップメモリに格納するコマンド解釈手段と、
前記コマンドで表現される部品の属性を示す属性情報に基づき、前記ビットマップイメージの各画素単位に、少なくともベクトル属性を有するか否かを示す情報、文字属性を有するか否かを示す情報、及び、有彩色属性を有するか否かを示す情報を含む属性マップ情報を生成し、所定の属性メモリに格納する属性マップ情報生成手段と、
前記生成されたビットマップイメージと属性マップ情報に基づいてハードコピー出力する画像形成手段とを有する画像処理システムであって、
前記属性マップ情報生成手段は、注目部品の属性マップ情報を属性メモリに格納する際、前記注目部品の属性マップ情報と従前に格納されている他の部品の属性マップ情報を比較して、それぞれの属性マップ情報が異なる場合に、前記注目部品の属性マップ情報を、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有していない、前記文字属性を有するか否かを示す情報について文字属性を有していない、有彩色属性を有するか否かを示す情報について有彩色を有する、となるように更新することを特徴とする画像処理システム。
Data input means for inputting image data expressed by a command group associated with individual components constituting the image;
Command interpreting means for generating a bitmap image based on the command and storing the bitmap image in a predetermined bitmap memory;
Based on attribute information indicating the attribute of the component expressed by the command, information indicating whether or not each pixel unit of the bitmap image has at least a vector attribute, information indicating whether or not it has a character attribute, and Attribute map information generating means for generating attribute map information including information indicating whether or not the chromatic color attribute is present, and storing the attribute map information in a predetermined attribute memory;
An image processing system having an image forming means for outputting a hard copy based on the generated bitmap image and attribute map information,
The attribute map information generating means compares the attribute map information of the part of interest with the attribute map information of other parts previously stored when storing the attribute map information of the part of interest in the attribute memory . When the attribute map information is different, the attribute map information of the component of interest has character information about information indicating whether or not the character attribute is not included in the information indicating whether or not the vector attribute is included. An image processing system, wherein information indicating whether or not a chromatic color attribute has no attribute is updated so as to have a chromatic color .
前記属性マップ情報は、初期状態として、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有する、前記文字属性を有するか否かを示す情報について文字属性を有する、有彩色属性を有するか否かを示す情報について有彩色を有していない、として設定されることを特徴とする請求項第項に記載の画像処理システム。Whether the attribute map information has, as an initial state, a chromatic color attribute having a vector attribute for information indicating whether or not the vector attribute is included, a character attribute regarding information indicating whether or not the character attribute is included not have chromatic information indicating as to whether or not, the image processing system of claim 1 wherein, characterized in that it is set as. 更に、前記ビットマップメモリ及び前記属性メモリより画素単位に読出し、読出した属性マップ情報に基づいて注目画素に対する色変換処理を切り換えて処理を行う画像処理手段を有し、該画像処理手段で色変換処理されたデータを前記画像形成手段に出力することを特徴とする請求項第1項または第2項に記載の画像処理システム。Further, the image processing means reads out pixel by pixel from the bitmap memory and the attribute memory, and performs processing by switching the color conversion processing for the pixel of interest based on the read attribute map information. 3. The image processing system according to claim 1, wherein the processed data is output to the image forming unit. コマンド形式のデータで構成される印刷データに基づいてカラー画像を記録する画像処理装置であって、
印刷データ中のコマンドに基づいて部品のビットマップイメージデータを生成し、所定の画像メモリに展開するコマンド解釈手段と、
前記コマンドで表現される部品の属性を示す属性情報に基づき、前記ビットマップイメージの各画素単位に、少なくともベクトル属性を有するか否かを示す情報、文字属性を有するか否かを示す情報、及び、有彩色属性を有するか否かを示す情報を含む属性マップ情報を生成し、所定の属性メモリに格納する属性マップ情報生成手段と、
前記生成されたビットマップイメージと属性マップ情報に基づいてカラー画像を記録する画像形成手段に出力する手段を有し、
前記属性マップ情報生成手段は、注目部品の属性マップ情報を属性メモリに格納する際、前記注目部品の属性マップ情報と従前に格納されている他の部品の属性マップ情報を比較して、それぞれの属性マップ情報が異なる場合に、前記注目部品の属性マップ情報を、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有していない、前記文字属性を有するか否かを示す情報について文字属性を有していない、有彩色属性を有するか否かを示す情報について有彩色を有する、となるように更新することを特徴とする画像処理装置。
An image processing apparatus for recording a color image based on print data composed of command format data,
Command interpreting means for generating bitmap image data of a part based on a command in the print data, and developing it in a predetermined image memory;
Based on attribute information indicating the attribute of the component expressed by the command, information indicating whether or not each pixel unit of the bitmap image has at least a vector attribute, information indicating whether or not it has a character attribute, and Attribute map information generating means for generating attribute map information including information indicating whether or not the chromatic color attribute is present, and storing the attribute map information in a predetermined attribute memory;
Means for outputting to an image forming means for recording a color image based on the generated bitmap image and attribute map information;
The attribute map information generating means compares the attribute map information of the part of interest with the attribute map information of other parts previously stored when storing the attribute map information of the part of interest in the attribute memory . When the attribute map information is different, the attribute map information of the component of interest has character information about information indicating whether or not the character attribute is not included in the information indicating whether or not the vector attribute is included. An image processing apparatus, wherein information indicating whether or not a chromatic color attribute has no attribute is updated to have a chromatic color .
コマンド形式のデータで構成される印刷データに基づいてカラー画像を記録する画像処理装置の制御方法であって、
印刷データ中のコマンドに基づいて部品のビットマップイメージデータを生成し、所定の画像メモリに展開するコマンド解釈工程と、
前記コマンドで表現される部品の属性を示す属性情報に基づき、前記ビットマップイメージの各画素単位に、少なくともベクトル属性を有するか否かを示す情報、文字属性を有するか否かを示す情報、及び、有彩色属性を有するか否かを示す情報を含む属性マップ情報を生成し、所定の属性メモリに格納する属性マップ情報生成工程と、
前記生成されたビットマップイメージと属性マップ情報に基づいてカラー画像を記録する画像形成手段に出力する工程とを有し、
前記属性マップ情報生成工程は、注目部品の属性マップ情報を属性メモリに格納する際、前記注目部品の属性マップ情報と従前に格納されている他の部品の属性マップ情報を比較して、それぞれの属性マップ情報が異なる場合に、前記注目部品の属性マップ情報を、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有していない、前記文字属性を有するか否かを示す情報について文字属性を有していない、有彩色属性を有するか否かを示す情報について有彩色を有する、となるように更新することを特徴とする画像処理装置の制御方法。
A control method of an image processing apparatus for recording a color image based on print data composed of command format data,
A command interpretation step of generating bitmap image data of a part based on a command in the print data and developing it in a predetermined image memory;
Based on attribute information indicating the attribute of the component expressed by the command, information indicating whether or not each pixel unit of the bitmap image has at least a vector attribute, information indicating whether or not it has a character attribute, and Generating attribute map information including information indicating whether or not a chromatic color attribute is included , and storing the attribute map information in a predetermined attribute memory; and
And outputting to the image forming means for recording a color image based on the generated bitmap image and attribute map information,
The attribute map information generation step compares the attribute map information of the target part with the attribute map information of other parts previously stored when storing the attribute map information of the target part in the attribute memory . When the attribute map information is different, the attribute map information of the component of interest has character information about information indicating whether or not the character attribute is not included in the information indicating whether or not the vector attribute is included. A control method for an image processing apparatus, wherein information indicating whether a chromatic color attribute is not included or not is updated so as to have a chromatic color .
コンピュータが読込み実行することで、前記コンピュータを、コマンド形式のデータで構成される印刷データに基づいてカラー画像を記録する画像処理装置として機能させるプログラムコードを格納した記録媒体であって、
印刷データ中のコマンドに基づいて部品のビットマップイメージデータを生成し、所定の画像メモリに展開するコマンド解釈手段と、
前記コマンドで表現される部品の属性を示す属性情報に基づき、前記ビットマップイメージの各画素単位に、少なくともベクトル属性を有するか否かを示す情報、文字属性を有するか否かを示す情報、及び、有彩色属性を有するか否かを示す情報を含む属性マップ情報を生成し、所定の属性メモリに格納する属性マップ情報生成手段と、
前記生成されたビットマップイメージと属性マップ情報に基づいてカラー画像を記録する画像形成手段に出力する手段と
して機能させるプログラムコードを格納し、
前記属性マップ情報生成手段は、注目部品の属性マップ情報を属性メモリに格納する際、前記注目部品の属性マップ情報と従前に格納されている他の部品の属性マップ情報を比較して、それぞれの属性マップ情報が異なる場合に、前記注目部品の属性マップ情報を、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有していない、前記文字属性を有するか否かを示す情報について文字属性を有していない、有彩色属性を有するか否かを示す情報について有彩色を有する、となるように更新することを特徴とする記録媒体。
A recording medium storing a program code for causing a computer to function as an image processing apparatus that records a color image based on print data composed of command format data when read and executed by the computer ,
Command interpreting means for generating bitmap image data of a part based on a command in the print data, and developing it in a predetermined image memory;
Based on attribute information indicating the attribute of the component expressed by the command, information indicating whether or not each pixel unit of the bitmap image has at least a vector attribute, information indicating whether or not it has a character attribute, and Attribute map information generating means for generating attribute map information including information indicating whether or not the chromatic color attribute is present, and storing the attribute map information in a predetermined attribute memory;
Storing a program code to function as a means for outputting to an image forming means for recording a color image based on the generated bitmap image and attribute map information;
The attribute map information generating means compares the attribute map information of the part of interest with the attribute map information of other parts previously stored when storing the attribute map information of the part of interest in the attribute memory . When the attribute map information is different, the attribute map information of the component of interest has character information about information indicating whether or not the character attribute is not included in the information indicating whether or not the vector attribute is included. What is claimed is: 1. A recording medium that is updated so as to have a chromatic color for information indicating whether or not it has a chromatic color attribute .
情報処理装置、画像処理装置、及び、カラー画像記録装置で構成される画像処理システムであって、
前記情報処理装置は、
アプリケーションプログラムから要求があった印刷対象情報を、コマンド形式の印刷データに変換して前記画像処理装置に出力する出力手段を備え、
前記画像処理装置は、
前記出力手段により出力されてきたコマンドを解釈し、当該コマンドで表現される部品のビットマップイメージデータを生成し、所定の画像メモリに展開するコマンド解釈手段と、
前記コマンドで表現される部品の属性を示す属性情報に基づき、前記ビットマップイメージの各画素単位に、少なくともベクトル属性を有するか否かを示す情報、文字属性を有するか否かを示す情報、及び、有彩色属性を有するか否かを示す情報を含む属性マップ情報を生成し、所定の属性メモリに格納する属性マップ情報生成手段と、
前記画像メモリ及び前記属性メモリから情報を読出し、属性マップ情報に基づいて、前記画像メモリからのビットマップイメージデータを補正する手段とを備え、
前記カラー画像処理装置は、
補正されたビットマップイメージデータに基づいてカラー画像を記録媒体上に記録する手段を備え、
前記属性マップ情報生成手段は、注目部品の属性マップ情報を属性メモリに格納する際、前記注目部品の属性マップ情報と従前に格納されている他の部品の属性マップ情報を比較して、それぞれの属性マップ情報が異なる場合に、前記注目部品の属性マップ情報を、前記ベクトル属性を有するか否かを示す情報についてベクトル属性を有していない、前記文字属性を有するか否かを示す情報について文字属性を有していない、有彩色属性を有するか否かを示す情報について有彩色を有する、となるように更新することを特徴とする画像処理システム。
An image processing system including an information processing device, an image processing device, and a color image recording device,
The information processing apparatus includes:
Print target information requested from the application program is provided with output means for converting the print target information into print data in a command format and outputting it to the image processing apparatus,
The image processing apparatus includes:
Command interpreting means for interpreting a command output by the output means, generating bitmap image data of a part represented by the command, and developing the bitmap image data in a predetermined image memory;
Based on attribute information indicating the attribute of the component expressed by the command, information indicating whether or not each pixel unit of the bitmap image has at least a vector attribute, information indicating whether or not it has a character attribute, and Attribute map information generating means for generating attribute map information including information indicating whether or not the chromatic color attribute is present, and storing the attribute map information in a predetermined attribute memory;
Means for reading information from the image memory and the attribute memory, and correcting bitmap image data from the image memory based on the attribute map information;
The color image processing apparatus includes:
Means for recording a color image on a recording medium based on the corrected bitmap image data;
The attribute map information generating means compares the attribute map information of the part of interest with the attribute map information of other parts previously stored when storing the attribute map information of the part of interest in the attribute memory . When the attribute map information is different, the attribute map information of the component of interest has character information about information indicating whether or not the character attribute is not included in the information indicating whether or not the vector attribute is included. An image processing system, wherein information indicating whether or not a chromatic color attribute has no attribute is updated so as to have a chromatic color .
JP21785299A 1999-03-09 1999-07-30 Image processing system, image processing apparatus, control method therefor, and storage medium Expired - Fee Related JP4356953B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP21785299A JP4356953B2 (en) 1999-07-30 1999-07-30 Image processing system, image processing apparatus, control method therefor, and storage medium
US09/521,850 US7054029B1 (en) 1999-03-09 2000-03-09 Image processing apparatus and method, and storage medium
US11/370,925 US7692813B2 (en) 1999-03-09 2006-03-09 Image processing apparatus and method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21785299A JP4356953B2 (en) 1999-07-30 1999-07-30 Image processing system, image processing apparatus, control method therefor, and storage medium

Publications (2)

Publication Number Publication Date
JP2001038970A JP2001038970A (en) 2001-02-13
JP4356953B2 true JP4356953B2 (en) 2009-11-04

Family

ID=16710786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21785299A Expired - Fee Related JP4356953B2 (en) 1999-03-09 1999-07-30 Image processing system, image processing apparatus, control method therefor, and storage medium

Country Status (1)

Country Link
JP (1) JP4356953B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4541181B2 (en) * 2005-02-22 2010-09-08 株式会社沖データ Color image processing device
JP4817934B2 (en) * 2006-03-31 2011-11-16 キヤノン株式会社 Image processing apparatus and method
JP5028190B2 (en) 2007-08-31 2012-09-19 キヤノン株式会社 Print control apparatus, print control method, and program
JP4944761B2 (en) * 2007-12-27 2012-06-06 キヤノン株式会社 Image processing apparatus, image processing method, and program
CN101387983B (en) 2008-09-28 2011-02-23 北大方正集团有限公司 Method and system for auto testing grating image processor
JP6614857B2 (en) * 2015-08-21 2019-12-04 キヤノン株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP2001038970A (en) 2001-02-13

Similar Documents

Publication Publication Date Title
US7692813B2 (en) Image processing apparatus and method, and storage medium
US7505174B2 (en) Image processing method, system and apparatus, and storage medium
JP4261739B2 (en) Image processing apparatus, image processing method, storage medium, and image processing system
US20050275856A1 (en) Image processing apparatus and method thereof
JP2004320448A (en) Image processor, image processing system, and program running on computer
JP2008005317A (en) Image processor and image processing method, and computer program and recording medium
US7612910B2 (en) Information processing apparatus, information processing system, information output control method, storage medium and program
JP4973803B1 (en) Image processing apparatus and program
JP4428743B2 (en) Image processing method and apparatus, printer, image processing system, and storage medium
JP4356953B2 (en) Image processing system, image processing apparatus, control method therefor, and storage medium
JP2006135936A (en) Printer controller, image forming apparatus and image formation program
JP4109785B2 (en) Image processing apparatus and method, and computer-readable memory
JP4514168B2 (en) Image processing system and image processing method
JP2007274629A (en) Image processing method, image processing device, imaging device, program and recoding medium
JP4306841B2 (en) Image processing apparatus and method, and computer-readable memory
JP3888594B2 (en) Image processing apparatus and image processing method
JP3550979B2 (en) Image processing device
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory
JP3768560B2 (en) Image processing apparatus and method
JP3829895B2 (en) Image processing device
JP4075657B2 (en) Image processing apparatus and printing apparatus
JPH11196246A (en) Image forming device
JPH02295766A (en) Imaging system
JP2006140955A (en) Image processor, image formation device, image processing system, image processing method and image processing program
JP2004295765A (en) Program for image processing and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060731

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080722

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080801

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090306

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

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

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

Free format text: PAYMENT UNTIL: 20120814

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130814

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees