JP2003196648A - Image processing method and device, its storage medium and program product - Google Patents

Image processing method and device, its storage medium and program product

Info

Publication number
JP2003196648A
JP2003196648A JP2001390532A JP2001390532A JP2003196648A JP 2003196648 A JP2003196648 A JP 2003196648A JP 2001390532 A JP2001390532 A JP 2001390532A JP 2001390532 A JP2001390532 A JP 2001390532A JP 2003196648 A JP2003196648 A JP 2003196648A
Authority
JP
Japan
Prior art keywords
attribute
bit
plane
color
valued
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.)
Withdrawn
Application number
JP2001390532A
Other languages
Japanese (ja)
Inventor
Yoshinari Onishi
佳成 大西
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 JP2001390532A priority Critical patent/JP2003196648A/en
Publication of JP2003196648A publication Critical patent/JP2003196648A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To perform color processing classified by object attribute at high speed by using a small quantity of memory, and to output the result on a printer device. <P>SOLUTION: A multivalued bitmap is generated following a drawing instruction (S3), and an attribute bitplane having a plane for drawing area determination corresponding to the attribute of an object included in the multivalued bitmap and having a flag bit set on an address corresponding to a coordinate value where the object of the multivalued bitmap of the plane exists is generated. Each attribute bitplane is scanned, and multivalued data corresponding to the multivalued bitmap are stored in an address of the attribute bitplane where the flag bit is set, and the color processing is performed to the stored multivalued data, and each attribute bitplane corresponding to each object subjected to the color processing is composed and transferred to a printer device. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、オペレーティング
システムからプリンタ装置を制御するためのソフトウェ
アに印刷命令が発行された場合に、当該印刷命令に含ま
れるビットマップ情報を多値で展開する画像処理を実行
する画像処理方法及び装置とその記憶媒体及びプログラ
ム製品に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image processing for developing multi-valued bitmap information included in a print command when a print command is issued from operating system to software for controlling a printer device. The present invention relates to an image processing method and apparatus to be executed, a storage medium therefor, and a program product.

【0002】[0002]

【従来の技術】パーソナルコンピュータ等のコンピュー
タ機器では、例えば、接続されているプリンタ装置に適
合した印刷コマンドに変換して出力するプリンタドライ
バ等のプログラムがハードディスクなどに記憶されてい
る。そして、アプリケーションプログラムにより印刷指
令が発行されると、そのアプリケーションプログラムか
らのデータを受取り、それをそのプリンタ装置用の印刷
コマンドに変換してプリンタ装置に出力することにより
印刷を行っている。このようなプリンタドライバによる
処理では、描画命令により多値ビットマップ領域にビッ
トデータを展開し、全ての描画命令の処理が終了した時
点で多値ビットマップ領域全体に、色処理(色補正、色
変換、2(n)値化)の処理を行っていた。このため、
その描画命令に含まれる各オブジェクトの属性毎の色処
理ができなかった。また最近では、独自の論理演算処理
機能を有し、その様な演算処理機能を用いて色処理を行
った後、その濃度データを直接デバイスに書き込むこと
により、各オブジェクトに対して属性別に色処理を行な
うドライバがある。
2. Description of the Related Art In a computer device such as a personal computer, a program such as a printer driver for converting a print command suitable for a connected printer device and outputting the print command is stored in a hard disk or the like. When a print command is issued by the application program, data is received from the application program, converted into a print command for the printer device, and output to the printer device for printing. In such a process by the printer driver, bit data is expanded in the multi-valued bitmap area by a drawing command, and when the processing of all drawing commands is completed, color processing (color correction, color Conversion (2 (n) value conversion). For this reason,
The color processing for each attribute of each object included in the drawing command could not be performed. In addition, recently, it has its own logical operation processing function, and after performing color processing using such an operation processing function, by directly writing the density data to the device, color processing is performed for each object by attribute. There is a driver that does.

【0003】また、3プレーン1ビットドライバを使
い、各色プレーンにビットマップを展開し、その作成し
た各色プレーンをスキャンして、ビットの並びからどの
オブジェクトかを判断することにより、オブジェクトの
属性別の色処理を行なうドライバがある。
Further, by using a 3-plane 1-bit driver, a bitmap is developed for each color plane, each created color plane is scanned, and which object is determined from the bit sequence to determine the object by attribute. There is a driver that performs color processing.

【0004】[0004]

【発明が解決しようとする課題】従来の、オブジェクト
の属性別に色処理するドライバでは、独自の論理演算処
理を持っているが、UCR(Under Color Removal:下色
除去)を用いて出力した部分に論理演算処理を行うと、
その出力結果が不正になってしまう場合があった。ま
た、このような不具合を回避するためにUCR機能を無
効にすると、高品位の画像出力が得られないという欠点
があった。
The conventional driver for performing color processing for each attribute of an object has its own logical operation processing, but the portion output using UCR (Under Color Removal) is used. When logical operation processing is performed,
The output result may be incorrect. Further, if the UCR function is disabled in order to avoid such a problem, there is a drawback that high-quality image output cannot be obtained.

【0005】また、最近のプリンタ装置の高性能化によ
り、最小出力単位を多値にできるプリンタ装置がある。
従来の、オブジェクトの属性別に色処理するプリンタド
ライバでは、中間色に対応するため、描画命令ごとにブ
ラシオブジェクトを作成する必要があるが、多値データ
を作るためのブラシのn値化部分に負荷がかかり処理速
度が著しく低下してしまう。またn値化処理において、
nの値が大きくなると、それに対応するために多くのソ
ースコードの修正が必要となり、そのために開発工数が
多くかかってしまう欠点があった。
Further, due to recent improvements in the performance of printers, there are printers that can make the minimum output unit multivalued.
In the conventional printer driver that performs color processing for each object attribute, it is necessary to create a brush object for each drawing command in order to handle intermediate colors, but the load on the n-valued portion of the brush for creating multivalued data is high. The processing speed is significantly reduced. In the n-value conversion process,
When the value of n becomes large, many source codes need to be modified in order to cope with it, which results in a lot of development man-hours.

【0006】また、オブジェクトの属性別に描画命令中
の色情報をRGB(Red, Green Blue)に設定し、3プ
レーン1ビットドライバを使い、各色プレーン毎にビッ
トマップ展開し、作成した各色プレーンをスキャンし
て、各色プレーンにおけるビットの並びからどのオブジ
ェクトかを判断し、そのオブジェクトの属性に合った色
処理を多値ビットマップにかける方法も提案されてい
る。しかし、このような方法では、3プレーン分の画像
データを記憶するために大量のメモリ容量が必要にな
り、更に、RGBの各色プレーン(3プレーン)を全て
スキャンする必要があるため、その画像処理に負荷がか
かり処理速度が著しく低下するという欠点があった。
Color information in a drawing command is set to RGB (Red, Green Blue) for each attribute of an object, a 3-plane 1-bit driver is used to develop a bitmap for each color plane, and each created color plane is scanned. Then, there is also proposed a method of determining which object from the arrangement of bits in each color plane and applying color processing suitable for the attribute of the object to the multi-valued bitmap. However, in such a method, a large amount of memory capacity is required to store the image data for three planes, and further, it is necessary to scan all the RGB color planes (three planes). However, there is a drawback that the processing speed is remarkably reduced due to the load.

【0007】本発明は上記従来例に鑑みてなされたもの
で、オブジェクト属性別の色処理を容易にして、全ての
オブジェクトに最適な色処理による高品位の出力結果が
得られる画像処理方法及び装置とその記憶媒体及びプロ
グラム製品を提供することを目的とする。
The present invention has been made in view of the above conventional example, and an image processing method and apparatus for facilitating color processing for each object attribute and obtaining a high-quality output result by optimal color processing for all objects. And its storage medium and program product.

【0008】また本発明の目的は、プリンタ装置に出力
する印刷データの作成処理速度の低下を防止できる画像
処理方法及び装置とその記憶媒体及びプログラム製品を
提供することにある。
It is another object of the present invention to provide an image processing method and apparatus, a storage medium therefor and a program product which can prevent a decrease in the processing speed of creating print data to be output to a printer.

【0009】また本発明の目的は、少量のメモリを使用
して高速にオブジェクト属性別の色処理を行うことが出
来る画像処理方法及び装置とその記憶媒体及びプログラ
ム製品を提供することにある。
It is another object of the present invention to provide an image processing method and apparatus, a storage medium therefor and a program product, which are capable of performing high-speed color processing for each object attribute using a small amount of memory.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明の画像処理装置は以下のような構成を備える。
即ち、オペレーティングシステムからプリンタ装置を制
御するためのソフトウェアに印刷命令が発行された場合
に、当該印刷命令に含まれるビットマップ情報を多値で
展開する画像処理装置であって、描画命令に従って多値
ビットマップを生成するビットマップ生成手段と、前記
多値ビットマップに含まれるオブジェクトの属性に対応
する描画領域判定用プレーンを有し、当該プレーンの前
記多値ビットマップのオブジェクトが存在する座標値に
対応するアドレスにフラグビットをセットした属性ビッ
トプレーンを生成する属性ビットプレーン生成手段と、
前記属性ビットプレーンのそれぞれを走査し、前記フラ
グビットがセットされている前記属性ビットプレーンの
アドレスに前記多値ビットマップに対応する多値データ
を格納する格納手段と、前記格納手段により格納された
前記多値データに対して色処理を行なう色処理手段と、
前記色処理手段により色処理された各オブジェクトに対
応する前記属性ビットプレーン同士を合成して前記プリ
ンタ装置に転送する転送手段と、を有することを特徴と
する。
In order to achieve the above object, the image processing apparatus of the present invention has the following configuration.
That is, when a print command is issued from the operating system to the software for controlling the printer device, the image processing device expands the bitmap information included in the print command in multi-values, and multi-valued according to the drawing command. Bit map generating means for generating a bit map, and a drawing area determination plane corresponding to the attributes of the objects included in the multi-valued bitmap, the coordinate value of the object of the multi-valued bitmap of the plane exists. Attribute bit plane generating means for generating an attribute bit plane in which a flag bit is set to a corresponding address,
A storage unit that scans each of the attribute bit planes and stores multi-valued data corresponding to the multi-valued bitmap at an address of the attribute bit plane in which the flag bit is set; and a storage unit that stores the multi-valued data. Color processing means for performing color processing on the multi-valued data,
A transfer unit configured to combine the attribute bit planes corresponding to the respective objects color-processed by the color processing unit and transfer the combined attribute bit planes to the printer device.

【0011】上記目的を達成するために本発明の画像処
理方法は以下のような工程を備える。即ち、オペレーテ
ィングシステムからプリンタ装置を制御するためのソフ
トウェアに印刷命令が発行された場合に、当該印刷命令
に含まれるビットマップ情報を多値で展開する画像処理
装置における画像処理方法であって、描画命令に従って
多値ビットマップを生成するビットマップ生成工程と、
前記多値ビットマップに含まれるオブジェクトの属性に
対応する描画領域判定用プレーンを有し、当該プレーン
の前記多値ビットマップのオブジェクトが存在する座標
値に対応するアドレスにフラグビットをセットした属性
ビットプレーンを生成する属性ビットプレーン生成工程
と、前記属性ビットプレーンのそれぞれを走査し、前記
フラグビットがセットされている前記属性ビットプレー
ンのアドレスに前記多値ビットマップに対応する多値デ
ータをメモリに格納する格納工程と、前記メモリに格納
された前記多値データに対して色処理を行なう色処理工
程と、前記色処理工程で色処理された各オブジェクトに
対応する前記属性ビットプレーン同士を合成して前記プ
リンタ装置に転送する転送工程と、を有することを特徴
とする。
In order to achieve the above object, the image processing method of the present invention comprises the following steps. That is, when a print command is issued from the operating system to the software for controlling the printer device, it is an image processing method in an image processing device that expands the bitmap information included in the print command in multi-values. A bitmap generation step of generating a multi-valued bitmap according to the instruction,
An attribute bit having a drawing area determination plane corresponding to an attribute of an object included in the multi-valued bitmap, and a flag bit set to an address corresponding to a coordinate value of the object of the multi-valued bitmap of the plane. A step of generating an attribute bit plane for generating a plane, scanning each of the attribute bit planes, and storing multi-valued data corresponding to the multi-valued bit map in a memory at an address of the attribute bit plane in which the flag bit is set. A storing step of storing, a color processing step of performing color processing on the multi-valued data stored in the memory, and a synthesis of the attribute bit planes corresponding to the respective objects subjected to color processing in the color processing step are combined. And a transfer step of transferring to the printer device.

【0012】[0012]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0013】図1は、本発明の実施の形態に係る画像印
刷処理方法が適用される情報処理システムの構成例を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration example of an information processing system to which an image print processing method according to an embodiment of the present invention is applied.

【0014】図1において、1は中央処理装置で、本実
施の形態に係る制御プログラム及び、その関連データが
記憶されているFD,CD−ROM,ICメモリカード
等の記憶媒体を、このシステムに接続された媒体読取装
置6から読み込み、主記憶装置2に記憶して実行するこ
とができる。また、補助記憶装置3から主記憶装置2に
ロードされたシステムプログラム、アプリケーションプ
ログラムによって、入力装置4から入力される情報を処
理して出力装置5やプリンタ7に出力することができ
る。なお、本実施の形態では、出力装置5は、液晶やC
RT等のディスプレイなどの表示装置としている。ま
た、入力装置4はキーボード、及びマウスなどポインテ
ィングデバイスを有している。補助記憶装置3は、ハー
ドディスク、光磁気ディスクで構成されるものであって
も良く、或いは、これらを組み合わせて構成されたもの
であってもよい。また、上述したこれら装置がネットワ
ークを介して接続されていても良い。ROM8は、中央
処理装置1及び主記憶装置2を含むコンピュータ機器に
特有な制御データ等の各種データを記憶している。
In FIG. 1, reference numeral 1 is a central processing unit, and a storage medium such as an FD, a CD-ROM, an IC memory card in which the control program according to the present embodiment and its related data are stored is provided in this system. It can be read from the connected medium reading device 6, stored in the main storage device 2, and executed. Further, the system program and the application program loaded from the auxiliary storage device 3 to the main storage device 2 can process the information input from the input device 4 and output it to the output device 5 or the printer 7. In the present embodiment, the output device 5 is a liquid crystal or C
It is used as a display device such as a display such as an RT. The input device 4 has a keyboard and a pointing device such as a mouse. The auxiliary storage device 3 may be a hard disk, a magneto-optical disk, or a combination thereof. Further, these devices described above may be connected via a network. The ROM 8 stores various data such as control data unique to computer equipment including the central processing unit 1 and the main storage device 2.

【0015】図2は、媒体読取装置6或いは補助記憶装
置3に格納されていた、本実施の形態に係る画像処理方
法を実行する制御プログラムと関連するプログラムコー
ド及び各種データが中央処理演算装置1に読み込まれ、
入力装置4から印刷命令が入力されて、プリンタ7へ記
録データを出力して印刷するまでの処理の概念図であ
る。尚、本実施の形態では、アプリケーション201及
びドライバ200は、OS202の制御下で機能する。
In FIG. 2, the central processing unit 1 stores the program code and various data related to the control program for executing the image processing method according to the present embodiment, which is stored in the medium reading device 6 or the auxiliary storage device 3. Loaded into
FIG. 6 is a conceptual diagram of a process in which a print command is input from the input device 4, recording data is output to the printer 7, and printing is performed. In this embodiment, the application 201 and the driver 200 function under the control of the OS 202.

【0016】図3は、本実施の形態に係るドライバ20
0における処理を詳しく説明する図である。
FIG. 3 shows a driver 20 according to this embodiment.
It is a figure explaining the process in 0 in detail.

【0017】OS202から描画命令が送られてくる
と、その描画命令の中にある多値の色データに対して色
補正を行なう(ステップS1)。次にステップS2で、
ステップS1で色補正した色データを使って多値のビッ
トマップ210に展開する。ここでビットマップに展開
すると同時に、描画命令の属性別にオブジェクト属性判
定用プレーン211にフラグビットを立てる。次に、こ
の作成した多値のビットマップ210を、オブジェクト
属性判定用プレーンのフラグビットを参照しながら、該
当するオブジェクト属性別(例えば、テキスト、フレー
ム、イメージ等別)にオブジェクト属性別処理用領域に
転送し、それぞれのオブジェクト属性別に適正な色変換
を行い(ステップS3)、そしてステップS4で、2
(n)値化処理を行ってデバイスビットマップ212に
変換する。
When a drawing command is sent from the OS 202, color correction is performed on the multivalued color data in the drawing command (step S1). Then in step S2,
The color data subjected to color correction in step S1 is used to develop into a multi-valued bitmap 210. Here, at the same time as expanding to a bitmap, a flag bit is set in the object attribute determination plane 211 for each attribute of the drawing command. Next, referring to the flag bits of the object attribute determination plane, the created multi-valued bitmap 210 is divided into object attribute-specific processing areas for each corresponding object attribute (eg, text, frame, image, etc.). , Perform proper color conversion for each object attribute (step S3), and in step S4, 2
(N) The value is converted into the device bitmap 212.

【0018】こうして全てのオブジェクトに対する処理
が終了するとステップS6に進み、オブジェクト属性別
処理用領域のデバイスビットマップ212を結合し、そ
の結合したデバイスビットマップをプリンタ7へ送信す
る。
When the processing for all the objects is completed in this way, the process proceeds to step S6, the device bitmaps 212 in the object attribute-specific processing areas are combined, and the combined device bitmaps are transmitted to the printer 7.

【0019】なお、ステップS1における色補正をかけ
るタイミングは、ビットマップに展開する前でも、ビッ
トマップに展開した後のいずれでも良い。
The timing of color correction in step S1 may be before or after development into a bitmap.

【0020】図4(A)乃至(E)は、こうして得られ
た多値ビットマップを基に描画領域判別用プレーンをデ
ータ形式として簡略化して表した図である。
FIGS. 4A to 4E are views showing the drawing area discrimination plane in a simplified form as a data format based on the multi-valued bitmap thus obtained.

【0021】これら各プレーンには、多値のビットマッ
プと同様の座標位置に、オブジェクト属性別にフラグビ
ットが立てられる。この実施の形態では、テキストオブ
ジェクトの属性を"1"で,グラフィックスオブジェクト
の属性を"2"で,イメージオブジェクトの属性を"4"で
表し、それ以外の領域は"0"で初期化されているものと
する。
On each of these planes, a flag bit is set for each object attribute at the same coordinate position as the multi-valued bitmap. In this embodiment, the attribute of the text object is represented by "1", the attribute of the graphics object is represented by "2", the attribute of the image object is represented by "4", and the other areas are initialized by "0". It is assumed that

【0022】図4(A)は、得られた多値画像の一例を
示す図、図4(B)は、各描画領域の判別用領域フラグ
ビットを説明する図である。また図4(C)〜(E)の
それぞれは、テキスト、グラフィクス及びイメージのプ
レーン領域1〜3のそれぞれのデータ例を説明する図で
ある。
FIG. 4A is a diagram showing an example of the obtained multi-valued image, and FIG. 4B is a diagram for explaining the discrimination area flag bit of each drawing area. In addition, FIGS. 4C to 4E are diagrams illustrating data examples of the plain areas 1 to 3 of the text, graphics, and image.

【0023】図4(C)は、図4(A)の領域1で示さ
れるプレーン領域を示し、ここには図4(A)のテキス
ト「文字」に相当するテキストフラグビットがセットさ
れている。即ち、この描画領域判別用プレーンでは、多
値ビットマップのテキストが描画されている座標に該当
する部分にテキストオブジェクトを示すフラグビット"
1"がセットされている。
FIG. 4C shows the plain area shown by area 1 in FIG. 4A, in which the text flag bit corresponding to the text "character" in FIG. 4A is set. . In other words, in this drawing area determination plane, a flag bit indicating a text object is displayed at the portion corresponding to the coordinates where the text of the multi-valued bitmap is drawn.
1 "is set.

【0024】同様に、図4(D)は図4(A)の領域2
で示されるプレーン領域を示し、ここでは図4(A)の
グラフィックス401に相当するグラフィックスフラグ
ビットがセットされており、多値ビットマップのグラフ
ィックスが描画されている座標に該当する部分に、グラ
フィックスオブジェクト属性を示すフラグビット"2"が
セットされている。
Similarly, FIG. 4D shows the area 2 of FIG.
4A, the graphics flag bit corresponding to the graphics 401 in FIG. 4A is set, and the area corresponding to the coordinates where the graphics of the multi-valued bitmap is drawn is shown. , Flag bit "2" indicating the graphics object attribute is set.

【0025】更に図4(E)は図4(A)の領域3で示
されるプレーン領域を示し、ここでは図4(A)の写真
画像402に相当するイメージフラグビットがセットさ
れており、この写真画像が描画されている座標に該当す
る部分に、イメージフラグビット"4"がセットされてい
る。
Further, FIG. 4 (E) shows the plane area shown by the area 3 in FIG. 4 (A), in which the image flag bit corresponding to the photographic image 402 in FIG. 4 (A) is set. The image flag bit "4" is set in the portion corresponding to the coordinates where the photographic image is drawn.

【0026】図5(A),(B)は、図4に示す多値ビ
ットマップのイメージを基に、ライン別描画判定用領域
のフラグビットをデータ形式として簡略化して表した図
である。
FIGS. 5A and 5B are diagrams showing the flag bits of the drawing determination area for each line in a simplified data format based on the image of the multi-valued bitmap shown in FIG.

【0027】図5(A)は多値画像の一例を示し、ここ
にはテキスト「文字」を表すテキストデータ、グラフィ
ックス401を示すグラフィックスデータ、そして写真
画像402を示すイメージデータが記憶されている。図
5(B)は、この多値画像から得られたライン別描画判
定領域のフラグを示している。ここでは、1ページのラ
イン分のメモリを予め"0"で初期化しておき、描画命令
で描画されたラインに該当する領域に、描画されたオブ
ジェクト属性のフラグビットを立てる。そして、全ての
描画コマンドが終了した時点で、ライン別描画判定用領
域のフラグビットをチェックし、オブジェクト属性フラ
グビットが立っていないラインは、図4の描画領域判別
用プレーンのスキャンをスキップする。尚、図5(B)
において、フラグビット"5"は、イメージフラグビッ
ト"4"とテキストフラグビット"1"の両方(2つのフラ
グビットの論理和)がセットされているラインを示して
いる。
FIG. 5A shows an example of a multi-valued image in which text data representing a text "character", graphics data representing a graphic 401, and image data representing a photographic image 402 are stored. There is. FIG. 5B shows the flags of the drawing determination area for each line obtained from this multi-valued image. Here, the memory for the line of one page is initialized to "0" in advance, and the flag bit of the drawn object attribute is set in the area corresponding to the line drawn by the drawing command. Then, when all drawing commands are completed, the flag bit of the drawing determination area for each line is checked, and for the lines for which the object attribute flag bit is not set, the scanning of the drawing area determination plane of FIG. 4 is skipped. Incidentally, FIG. 5 (B)
In, the flag bit "5" indicates a line in which both the image flag bit "4" and the text flag bit "1" (logical sum of two flag bits) are set.

【0028】図6(A)〜(D)は、描画領域判定用プ
レーンをもとに、多値ビットマップからデータをオブジ
ェクト属性別ワーク領域にコピーしたものに色処理を施
し、転送先にコピーする方法を説明する図である。
In FIGS. 6A to 6D, based on the drawing area determination plane, color processing is applied to a copy of the data from the multi-valued bitmap to the work area for each object attribute, and the data is copied to the transfer destination. It is a figure explaining the method to do.

【0029】図6(A)に示すように、「文字」を表す
テキストデータと、グラフィックス403を表すグラフ
ィックデータとを含む多値ビットマップに示した高さ1
の処理領域404(1ライン幅相当)について、描画領
域判別用プレーンを基に多値ビットマップから、オブジ
ェクト属性別にデータをオブジェクト属性別ワーク領域
にコピーする。各オブジェクト属性別ワーク領域にオブ
ジェクト属性別(テキストとグラフィックス)の色処理
をかけた後、上記ライン別描画判定用領域のフラグビッ
トの値から、描画されたオブジェクト属性別ワーク領域
のデータを論理和で合成して転送先にコピーする。
As shown in FIG. 6 (A), the height 1 shown in the multi-valued bit map including text data representing "characters" and graphic data representing graphics 403.
For the processing area 404 (corresponding to one line width), data is copied from the multi-valued bitmap to the object attribute-specific work area based on the drawing area determination plane. After performing color processing for each object attribute (text and graphics) on each object attribute work area, the drawn work area data for each object attribute is logically calculated based on the value of the flag bit of the line drawing determination area. Combine in Japanese and copy to destination.

【0030】図6(B)は、オブジェクト属性別ワーク
領域(テキスト)を示し、図6(C)は、オブジェクト
属性別ワーク領域(グラフィックス)を示している。そ
して図6(D)は、転送先へ転送されるワーク領域のデ
ータを示し、ここでは図6(B)と図6(C)のデータ
の論理和がとられている。
FIG. 6B shows a work area (text) for each object attribute, and FIG. 6C shows a work area (graphics) for each object attribute. 6D shows the data in the work area transferred to the transfer destination, and the logical sum of the data in FIGS. 6B and 6C is taken here.

【0031】図7は、本実施の形態に係る画像処理方法
を実行する制御プログラム及びその関連データが、記憶
媒体であるFD701を介してコンピュータ(PC)7
00にロードされる状態を示している。このFD701
を媒体読取装置6にセットすると、主記憶装置2に読み
込まれているOS202及び基本I/Oプログラムの制
御の基に、この実施の形態に係る画像処理方法を実行す
る制御プログラム及びその関連データがFD701から
読み出されて主記憶装置2にインストールされることに
より、そのプログラムが実行可能となり動作可能とな
る。
FIG. 7 shows a computer (PC) 7 in which a control program for executing the image processing method according to the present embodiment and its related data are transmitted via an FD 701 which is a storage medium.
00 shows the state of being loaded. This FD701
Is set in the medium reading device 6, a control program for executing the image processing method according to the present embodiment and its related data are generated based on the control of the OS 202 and the basic I / O program read in the main storage device 2. By being read from the FD 701 and installed in the main storage device 2, the program becomes executable and operable.

【0032】図8は、本実施の形態に係る画像処理方法
を実行する制御プログラムがFD701に格納されてい
るメモリマップの状態を示す図である。
FIG. 8 is a diagram showing a state of the memory map in which the control program for executing the image processing method according to the present embodiment is stored in the FD 701.

【0033】図9は、FD701に格納されていた、本
実施の形態に係る画像処理方法を実行する制御プログラ
ムが媒体読取装置6を介して補助記憶装置3から主記憶
装置2にロードされたときの、この主記憶装置2のメモ
リマップを説明する図である。
FIG. 9 shows a case where the control program stored in the FD 701 for executing the image processing method according to this embodiment is loaded from the auxiliary storage device 3 to the main storage device 2 via the medium reading device 6. 3 is a diagram illustrating a memory map of the main storage device 2. FIG.

【0034】図9において、基本I/Oプログラム(B
IOS)、OS202、そして本実施の形態に係る画像
処理方法制御プログラム901と、その関連データ90
2が主記憶装置2(RAM)に記憶されている。
In FIG. 9, the basic I / O program (B
IOS), the OS 202, the image processing method control program 901 according to the present embodiment, and its related data 90.
2 is stored in the main storage device 2 (RAM).

【0035】本実施の形態では、FD701から本実施
の形態に係る画像処理方法を実行する制御プログラム9
01を直接、補助記憶装置3を介して主記憶装置2に読
み込んで実行する例を示したが、この画像処理方法を実
行する制御プログラム901をFD701などの記憶媒
体からHDなどの補助記憶装置3に予めインストールし
ておき、その実行が指示された時に、主記憶装置2にロ
ードして実行する形態をとってもよい。
In the present embodiment, the control program 9 for executing the image processing method according to the present embodiment from the FD 701.
Although the example in which 01 is directly read into the main storage device 2 via the auxiliary storage device 3 and executed is shown, the control program 901 for executing this image processing method is stored in the auxiliary storage device 3 such as an HD from a storage medium such as the FD 701. It may be installed in advance and loaded into the main storage device 2 and executed when the execution is instructed.

【0036】また、本実施の形態に係る画像処理方法を
実行する制御プログラム701を記録する記憶媒体とし
てはFD、HD以外にも、例えば光磁気ディスクやCD
−ROM、ICメモリカード等であってもよい。また、
本実施の形態に係る画像処理方法を実行する制御プログ
ラム901を予めROMに記憶しておくことも可能であ
る。
Further, as a storage medium for recording the control program 701 for executing the image processing method according to the present embodiment, in addition to FD and HD, for example, a magneto-optical disk or a CD.
It may be a ROM, an IC memory card or the like. Also,
The control program 901 for executing the image processing method according to this embodiment can be stored in the ROM in advance.

【0037】図10は、本実施の形態に係る画像処理方
法を実行するプログラム901の概略フローチャートで
ある。この処理を実行する制御プログラムは、前述の様
に、媒体読取り装置6から読み取られても良く、或いは
補助記憶装置3に記憶されていてもよい。
FIG. 10 is a schematic flowchart of a program 901 for executing the image processing method according to this embodiment. The control program for executing this process may be read from the medium reading device 6 or stored in the auxiliary storage device 3, as described above.

【0038】この処理に際して、まず入力装置4から印
刷を実行するように命令が入力されると、補助記憶装置
3から主記憶装置2に読み込まれたOS202、ドライ
バ200やアプリケーション(図2)のうち、OS20
2がそのメッセージを受け取る。OS202は現在アク
ティブであるアプリケーションに印刷実行メッセージを
送る。アプリケーション201は、そのメッセージをO
S202が認識できるコマンドに変換して、印刷データ
やコマンドのメッセージを送る。そしてOS202はド
ライバ200が認識できるコマンドに変換して、メッセ
ージを送る。
In this process, first, when a command to execute printing is input from the input device 4, of the OS 202, the driver 200 and the application (FIG. 2) read from the auxiliary storage device 3 into the main storage device 2. , OS20
2 receives the message. The OS 202 sends a print execution message to the currently active application. The application 201 sends the message O
It is converted into a command that can be recognized in S202, and print data or a command message is sent. Then, the OS 202 converts the command into a command that the driver 200 can recognize and sends the message.

【0039】こうしてドライバ200に初期化用のメッ
セージが送られてくるとステップS1に進み、描画領域
判別用プレーン、多値ビットマップ展開用プレーンやオ
ブジェクト属性別ワーク領域、ライン別描画判定用領域
を主記憶装置2内にアロケートして、それぞれの内容
を"0"でクリアする。
When the initialization message is sent to the driver 200 in this way, the process proceeds to step S1 and the drawing area discrimination plane, the multi-valued bit map development plane, the object attribute work area, and the line drawing decision area are set. Allocate to the main memory 2 and clear each content with "0".

【0040】次にステップS2に進み、ドライバ200
はOS202から送られてくる描画命令を取得する。次
にステップS3に進み、多値ビットマップ展開用プレー
ンにビットマップを生成する。次にステップS4に進
み、描画命令から、どのオブジェクトの描画命令か判別
し、描画領域判別用プレーンにオブジェクト属性ごとに
定義されたフラグビットを、多値ビットマップ展開用プ
レーンの描画した座標と同様の座標に立てる。またステ
ップS5では、描画領域判別用プレーンに描画した際
に、そのY座標に基づいて、ライン別描画判定用領域の
該当するライン位置に該当するオブジェクト属性のフラ
グビットを立てる。こうしてステップS6に進み、全て
の描画コマンドの処理が終了したかどうかを調べ、終了
していない時はステップS2に戻って、前述の処理を実
行する。
Next, in step S2, the driver 200
Acquires a drawing command sent from the OS 202. Next, in step S3, a bitmap is generated on the multi-value bitmap expansion plane. Next, in step S4, it is determined which object the drawing command is based on from the drawing command, and the flag bit defined for each object attribute in the drawing area determination plane is set to the same as the coordinate drawn in the multi-value bitmap expansion plane. Stand at the coordinates of. Further, in step S5, when drawing is performed on the drawing area determination plane, a flag bit of an object attribute corresponding to a corresponding line position in the drawing determination area for each line is set based on the Y coordinate. In this way, the process proceeds to step S6, and it is checked whether or not the processes of all the drawing commands have been completed. If not completed, the process returns to step S2 to execute the above-mentioned processes.

【0041】一方、ステップS6で、全ての描画コマン
ドの処理が終了している場合はステップS7に進み、ラ
イン別描画判定用領域の先頭から、いずれのオブジェク
トのフラグビットが立っているかチェックする。ここで
ライン別描画判定用領域のフラグビットが立っていると
ステップS8に進み、描画領域判別用プレーンをスキャ
ンする。そしてステップS9で、フラグビットが立って
いる座標の多値ビットマップ展開用領域のデータを、フ
ラグビットの値から、該当するオブジェクト属性別ワー
ク領域にコピーしてステップS10に進む。一方、ステ
ップS7でオブジェクト描画フラグがオフのときはステ
ップS10に進む。
On the other hand, if the processing of all drawing commands is completed in step S6, the process proceeds to step S7, and it is checked which object flag bit is set from the head of the drawing determination area for each line. If the flag bit of the drawing determination area for each line is set, the process advances to step S8 to scan the drawing area determination plane. Then, in step S9, the data of the multi-valued bitmap development area of the coordinates where the flag bit is set is copied from the value of the flag bit to the corresponding object attribute work area, and the process proceeds to step S10. On the other hand, when the object drawing flag is off in step S7, the process proceeds to step S10.

【0042】ステップS10では、1ラインを全てスキ
ャンした後、ライン別描画判定用領域の該当するライン
の値をチェックし、ステップS11で、その値から、描
画されたオブジェクト属性別ワーク領域のデータに色処
理をかける。そしてステップS12に進み、その色処理
がかけられたオブジェクト属性別処理用領域のデータを
論理和によって合成し、ステップS13で、転送先へコ
ピーする。こうしてステップS14に進み、全てのライ
ンの処理が終了したか判断し、全てのラインの処理が終
了していない時はステップS15に進み、多値ビットマ
ップ展開用領域とライン別描画判定用領域のポインタを
次のラインに進めてステップS7に戻る。一方、ステッ
プS14で、全ラインの処理が終了するとステップS1
6に進み、転送先のデータをプリンタ7に送信して処理
を終了する。
In step S10, after scanning all one line, the value of the corresponding line in the drawing determination area for each line is checked, and in step S11 the value is converted into the data of the drawn work area for each object attribute. Apply color processing. Then, the process proceeds to step S12, and the data of the object attribute-specific processing area subjected to the color processing is combined by logical sum, and is copied to the transfer destination in step S13. In this way, the process proceeds to step S14, and it is determined whether the processing of all the lines has been completed. If the processing of all the lines has not been completed, the process proceeds to step S15, in which the multi-value bitmap development area and the line-by-line drawing determination area The pointer is advanced to the next line and the process returns to step S7. On the other hand, in step S14, when the processing of all lines is completed, step S1
In step 6, the data of the transfer destination is transmitted to the printer 7, and the process is ended.

【0043】尚、上記実施の形態におけるプリンタ7と
しては、バンド幅単位で印刷を行うバインディング式の
プリンタでも、それ以外のアンバインディングプリンタ
であってもよい。
The printer 7 in the above embodiment may be a binding type printer which prints in units of bandwidth or an unbinding printer other than that.

【0044】また前述の実施の形態では、複数ライン単
位でプリンタ7に印刷データを転送するようにしたが、
本発明はこれに限定されるものでなく、例えば1ライン
単位でプリンタにデータを転送して印刷を行ってもよい
ことはもちろんである。
In the above embodiment, the print data is transferred to the printer 7 in units of a plurality of lines.
The present invention is not limited to this, and it goes without saying that data may be transferred to the printer in units of one line for printing.

【0045】なお本発明は、複数の機器(例えばホスト
コンピュータ、インターフェース機器、リーダ、プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機、ファクシミリ装置
など)に適用してもよい。
Even when the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), a device including one device (for example, a copying machine, a facsimile device, etc.) ) May be applied.

【0046】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても達
成される。この場合、記憶媒体から読み出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。また、コンピュータが読
み出したプログラムコードを実行することにより、前述
した実施形態の機能が実現されるだけでなく、そのプロ
グラムコードの指示に基づき、コンピュータ上で稼働し
ているオペレーティングシステム(OS)などが実際の
処理の一部または全部を行い、その処理によって前述し
た実施形態の機能が実現される場合も含まれる。
Further, an object of the present invention is to supply a storage medium (or recording medium) recording a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and to supply a computer of the system or apparatus ( Alternatively, it can be achieved by the CPU or MPU) reading and executing the program code stored in the storage medium. 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. Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized, but also an operating system (OS) running on the computer is executed based on the instruction of the program code. This also includes a case where a part or all of the actual processing is performed and the processing realizes the functions of the above-described embodiments.

【0047】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれる。
Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion card inserted in the computer or the function expansion unit connected to the computer, based on the instruction of the program code. , The CPU provided in the function expansion card or the function expansion unit performs some or all of the actual processing,
The case where the functions of the above-described embodiments are realized by the processing is also included.

【0048】以上説明したように本実施の形態によれ
ば、オブジェクト属性の判別が可能となり、オブジェク
トの属性別に最適な色処理を実施することで、高品位な
画像出力を短時間で得ることができる。
As described above, according to the present embodiment, it is possible to discriminate the object attribute, and by performing the optimum color processing for each object attribute, a high quality image output can be obtained in a short time. it can.

【0049】[0049]

【発明の効果】以上説明したように本発明によれば、オ
ブジェクト属性別の色処理を容易にして、全てのオブジ
ェクトに最適な色処理による高品位の出力結果が得られ
るという効果がある。
As described above, according to the present invention, there is an effect that color processing for each object attribute is facilitated and a high-quality output result can be obtained by optimal color processing for all objects.

【0050】また本発明によれば、プリンタ装置に出力
する印刷データの作成処理速度の低下を防止できるとい
う効果がある。
Further, according to the present invention, there is an effect that it is possible to prevent a reduction in the processing speed for creating print data to be output to the printer device.

【0051】また本発明によれば、少量のメモリを使用
して高速にオブジェクト属性別の色処理を行うことが出
来るという効果がある。
Further, according to the present invention, there is an effect that color processing for each object attribute can be performed at high speed using a small amount of memory.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態に係る画像印刷方法が適用
される情報処理システムの構成の一例を示すブロック図
である。
FIG. 1 is a block diagram showing an example of a configuration of an information processing system to which an image printing method according to an embodiment of the present invention is applied.

【図2】本実施の形態に係る画像処理方法を実行する制
御プログラムと関連するデータが、媒体読取装置或いは
記憶装置から中央処理演算装置に読み込まれ、入力装置
から印刷命令が入力されて、プリンタへデータを送り印
刷するまでの概念図である。
FIG. 2 is a diagram in which data related to a control program for executing the image processing method according to the present embodiment is read from a medium reading device or a storage device into a central processing unit, a print command is input from an input device, and a printer is provided. FIG. 3 is a conceptual diagram until data is sent to and printed.

【図3】図2のドライバ部分を処理内容を中心に詳しく
説明する図である。
FIG. 3 is a diagram for explaining in detail the driver part of FIG. 2 focusing on processing contents.

【図4】多値ビットマップを基に描画領域判別用プレー
ンをデータ形式として簡略化して表した図で、(A)は
多値ビットマップを示し、(B)は描画領域属性判別フ
ラグビットを説明する図、(C)乃至(E)は各描画領
域判別用のプレーンのデータ例を示す図である。
FIG. 4 is a diagram simply showing a drawing area discrimination plane as a data format based on a multivalued bitmap, (A) showing a multivalued bitmap, and (B) showing a drawing area attribute discrimination flag bit. FIGS. 6C to 6E are diagrams illustrating data examples of planes for discriminating each drawing area.

【図5】多値ビットマップを基に描画領域判別用プレー
ンをデータ形式として簡略化して表した図で、(A)は
多値ビットマップを示し、(B)はライン別の描画領域
属性判別フラグの一例を示す図である。
FIG. 5 is a diagram showing a simplified drawing area discrimination plane based on a multi-valued bitmap as a data format. (A) shows a multi-valued bitmap, and (B) shows drawing area attribute discrimination for each line. It is a figure which shows an example of a flag.

【図6】描画領域判別用プレーンをもとに多値ビットマ
ップからオブジェクト属性別にデータをオブジェクト属
性別ワーク領域にコピーしたものに色処理をかけ、転送
先にコピーする方法を説明する図で、(A)は多値ビッ
トマップを示し、(B)乃至(C)は、それぞれオブジ
ェクト属性別のワーク領域のフラグ例と、その転送先デ
ータ例を示す図である。
FIG. 6 is a diagram illustrating a method of performing color processing on a copy of data for each object attribute from a multivalued bitmap to a work area for each object attribute based on a drawing area determination plane, and copying the data to a transfer destination; (A) shows a multi-valued bit map, (B) thru | or (C) is a figure which shows the example of the flag of the work area for each object attribute, and its transfer destination data example, respectively.

【図7】本実施の形態に係る画像処理方法の制御プログ
ラムおよび関連データがFDを介してコンピュータにロ
ードされる状態を説明する図である。
FIG. 7 is a diagram illustrating a state in which a control program and related data of the image processing method according to the present embodiment are loaded into a computer via the FD.

【図8】本実施の形態に係る画像処理方法を実行する制
御プログラムがFDに格納されているメモリマップを示
す図である。
FIG. 8 is a diagram showing a memory map in which a control program for executing the image processing method according to the present embodiment is stored in the FD.

【図9】本実施の形態に係る画像処理方法を実行する制
御プログラムが主記憶装置にロードされたときのメモリ
マップを示す図である。
FIG. 9 is a diagram showing a memory map when a control program for executing the image processing method according to the present embodiment is loaded in the main storage device.

【図10】本発明の実施の形態に係る画像処理方法の制
御プログラムによる処理を説明するフローチャートであ
る。
FIG. 10 is a flowchart illustrating processing by a control program of the image processing method according to the embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B021 AA01 DD01 DD09 LG07 LL05 5B057 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 5C077 LL18 MP08 PP28 PP32 PP37 PQ12 PQ24 TT02 5C079 HB01 LA06 LB01 MA11 NA10 NA11 PA03    ─────────────────────────────────────────────────── ─── Continued front page    F term (reference) 5B021 AA01 DD01 DD09 LG07 LL05                 5B057 CA01 CA08 CA12 CA16 CB01                       CB08 CB12 CB16 CC01 CE17                 5C077 LL18 MP08 PP28 PP32 PP37                       PQ12 PQ24 TT02                 5C079 HB01 LA06 LB01 MA11 NA10                       NA11 PA03

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 オペレーティングシステムからプリンタ
装置を制御するためのソフトウェアに印刷命令が発行さ
れた場合に、当該印刷命令に含まれるビットマップ情報
を多値で展開する画像処理装置であって、 描画命令に従って多値ビットマップを生成するビットマ
ップ生成手段と、 前記多値ビットマップに含まれるオブジェクトの属性に
対応する描画領域判定用プレーンを有し、当該プレーン
の前記多値ビットマップのオブジェクトが存在する座標
値に対応するアドレスにフラグビットをセットした属性
ビットプレーンを生成する属性ビットプレーン生成手段
と、 前記属性ビットプレーンのそれぞれを走査し、前記フラ
グビットがセットされている前記属性ビットプレーンの
アドレスに前記多値ビットマップに対応する多値データ
を格納する格納手段と、 前記格納手段により格納された前記多値データに対して
色処理を行なう色処理手段と、 前記色処理手段により色処理された各オブジェクトに対
応する前記属性ビットプレーン同士を合成して前記プリ
ンタ装置に転送する転送手段と、を有することを特徴と
する画像処理装置。
1. An image processing apparatus which, when a print command is issued from the operating system to software for controlling the printer device, expands the bitmap information included in the print command in multi-values. And a drawing area determination plane corresponding to an attribute of an object included in the multi-valued bitmap, and the object of the multi-valued bitmap of the plane exists. Attribute bit plane generation means for generating an attribute bit plane in which a flag bit is set to an address corresponding to a coordinate value, and scanning each of the attribute bit planes, and assigning an address to the attribute bit plane in which the flag bit is set Stores multi-valued data corresponding to the multi-valued bitmap Storing means, color processing means for performing color processing on the multi-valued data stored by the storing means, and the attribute bit planes corresponding to the respective objects color-processed by the color processing means are combined. And a transfer unit for transferring to the printer device.
【請求項2】 前記属性ビットプレーン生成手段は、描
画するライン単位でオブジェクトの属性別に描画データ
があるか否かを判定するためのフラグビットをライン別
描画判定用領域にセットし、 前記格納手段は、前記属性ビットプレーンを走査する前
に、当該ライン別描画判定用領域のフラグビットをチェ
ックし、所定属性のオブジェクトのフラグビットがセッ
トされていない場合、当該ラインのオブジェクトの属性
別に前記属性ビットプレーンにおける前記フラグビット
の走査をスキップすることを特徴とする請求項1に記載
の画像処理装置。
2. The attribute bit plane generation means sets a flag bit for determining whether or not there is drawing data for each attribute of an object for each drawing line in the drawing determination area for each line, and the storage means. Checks the flag bit of the drawing determination area for each line before scanning the attribute bit plane, and if the flag bit of the object of the predetermined attribute is not set, the attribute bit is classified by the attribute of the object of the line. The image processing apparatus according to claim 1, wherein scanning of the flag bit in a plane is skipped.
【請求項3】 前記色処理手段は、前記オブジェクトの
属性に応じて、色補正の内容或いは色変換係数、或いは
2値化処理の少なくともいずれかを変更することを特徴
とする請求項1に記載の画像処理装置。
3. The color processing means changes at least one of the content of color correction, color conversion coefficient, and binarization processing according to the attribute of the object. Image processing device.
【請求項4】 前記色処理手段は、属性により色補正、
色変換係数、n値化処理の少なくともいずれかを変更す
ることを特徴とする請求項1乃至3のいずれか1項に記
載の画像処理装置。
4. The color processing means corrects colors according to attributes,
The image processing apparatus according to claim 1, wherein at least one of a color conversion coefficient and an n-value conversion process is changed.
【請求項5】 オペレーティングシステムからプリンタ
装置を制御するためのソフトウェアに印刷命令が発行さ
れた場合に、当該印刷命令に含まれるビットマップ情報
を多値で展開する画像処理装置における画像処理方法で
あって、 描画命令に従って多値ビットマップを生成するビットマ
ップ生成工程と、 前記多値ビットマップに含まれるオブジェクトの属性に
対応する描画領域判定用プレーンを有し、当該プレーン
の前記多値ビットマップのオブジェクトが存在する座標
値に対応するアドレスにフラグビットをセットした属性
ビットプレーンを生成する属性ビットプレーン生成工程
と、 前記属性ビットプレーンのそれぞれを走査し、前記フラ
グビットがセットされている前記属性ビットプレーンの
アドレスに前記多値ビットマップに対応する多値データ
をメモリに格納する格納工程と、 前記メモリに格納された前記多値データに対して色処理
を行なう色処理工程と、 前記色処理工程で色処理された各オブジェクトに対応す
る前記属性ビットプレーン同士を合成して前記プリンタ
装置に転送する転送工程と、を有することを特徴とする
画像処理方法。
5. An image processing method in an image processing apparatus, wherein when a print command is issued to software for controlling a printer device from an operating system, the bitmap information included in the print command is expanded in multivalue. A bitmap generation step of generating a multi-valued bitmap according to a drawing command, and a drawing area determination plane corresponding to the attribute of an object included in the multi-valued bitmap, and the multi-valued bitmap of the plane. An attribute bit plane generating step of generating an attribute bit plane in which a flag bit is set at an address corresponding to a coordinate value in which an object exists, and each of the attribute bit planes is scanned, and the attribute bit in which the flag bit is set The plane address corresponds to the multi-valued bitmap. Storing multi-valued data in a memory, a color processing step of performing color processing on the multi-valued data stored in the memory, and a color processing step corresponding to each object color-processed in the color processing step. And a transfer step of combining the attribute bit planes and transferring the attribute bit planes to the printer device.
【請求項6】 前記属性ビットプレーン生成手工程で
は、描画するライン単位でオブジェクトの属性別に描画
データがあるか否かを判定するためのフラグビットをラ
イン別描画判定用領域にセットし、 前記格納工程では、前記属性ビットプレーンを走査する
前に、当該ライン別描画判定用領域のフラグビットをチ
ェックし、所定属性のオブジェクトのフラグビットがセ
ットされていない場合、当該ラインのオブジェクトの属
性別に前記属性ビットプレーンにおける前記フラグビッ
トの走査をスキップすることを特徴とする請求項5に記
載の画像処理方法。
6. In the attribute bit plane generation step, a flag bit for determining whether or not there is drawing data for each attribute of an object for each drawing line is set in the drawing determination area for each line, and the storage is performed. In the step, before scanning the attribute bit plane, the flag bit of the drawing determination area for each line is checked, and if the flag bit of the object of the predetermined attribute is not set, the attribute is classified by the attribute of the object of the line. The image processing method according to claim 5, wherein scanning of the flag bit in a bit plane is skipped.
【請求項7】 前記色処理工程では、前記オブジェクト
の属性に応じて、色補正の内容或いは色変換係数、或い
は2値化処理の少なくともいずれかを変更することを特
徴とする請求項5に記載の画像処理方法。
7. The color processing step according to claim 5, wherein at least one of the content of the color correction, the color conversion coefficient, and the binarization processing is changed according to the attribute of the object. Image processing method.
【請求項8】 前記色処理工程では、属性により色補
正、色変換係数、n値化処理の少なくともいずれかを変
更することを特徴とする請求項5乃至7のいずれか1項
に記載の画像処理方法。
8. The image according to claim 5, wherein in the color processing step, at least one of color correction, color conversion coefficient, and n-value conversion processing is changed according to an attribute. Processing method.
【請求項9】 請求項5乃至のいずれか1項に記載の画
像処理方法を実行するプログラムを記憶したことを特徴
とする、コンピュータにより読取り可能な記憶媒体。
9. A computer-readable storage medium storing a program for executing the image processing method according to claim 5. Description:
【請求項10】 オペレーティングシステムからプリン
タ装置を制御するためのソフトウェアに印刷命令が発行
された場合に、当該印刷命令に含まれるビットマップ情
報を多値で展開する画像処理を実行するプログラム製品
であって、 描画命令に従って多値ビットマップを生成するビットマ
ップ生成工程モジュールと、 前記多値ビットマップに含まれるオブジェクトの属性に
対応する描画領域判定用プレーンを有し、当該プレーン
の前記多値ビットマップのオブジェクトが存在する座標
値に対応するアドレスにフラグビットをセットした属性
ビットプレーンを生成する属性ビットプレーン生成工程
モジュールと、 前記属性ビットプレーンのそれぞれを走査し、前記フラ
グビットがセットされている前記属性ビットプレーンの
アドレスに前記多値ビットマップに対応する多値データ
をメモリに格納する格納工程モジュールと、 前記メモリに格納された前記多値データに対して色処理
を行なう色処理工程モジュールと、 前記色処理工程モジュールにより色処理された各オブジ
ェクトに対応する前記属性ビットプレーン同士を合成し
て前記プリンタ装置に転送する転送工程モジュールと、
を有することを特徴とするプログラム製品。
10. A program product for executing image processing for multi-value expansion of bitmap information included in a print command when the print command is issued from the operating system to software for controlling the printer device. A multi-valued bit map generating module for generating a multi-valued bit map according to a drawing command, and a drawing area determination plane corresponding to an attribute of an object included in the multi-valued bit map, and the multi-valued bit map of the plane. An attribute bit plane generating step module for generating an attribute bit plane in which a flag bit is set to an address corresponding to a coordinate value in which the object exists, and scanning each of the attribute bit planes, wherein the flag bit is set Attribute bit plane address A storage process module that stores multivalued data corresponding to a value bitmap in a memory, a color processing process module that performs color processing on the multivalued data stored in the memory, and a color processing by the color processing process module. A transfer process module that combines the attribute bit planes corresponding to each of the generated objects and transfers the combined attribute bit planes to the printer device;
A program product characterized by having.
JP2001390532A 2001-12-21 2001-12-21 Image processing method and device, its storage medium and program product Withdrawn JP2003196648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001390532A JP2003196648A (en) 2001-12-21 2001-12-21 Image processing method and device, its storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001390532A JP2003196648A (en) 2001-12-21 2001-12-21 Image processing method and device, its storage medium and program product

Publications (1)

Publication Number Publication Date
JP2003196648A true JP2003196648A (en) 2003-07-11

Family

ID=27598422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001390532A Withdrawn JP2003196648A (en) 2001-12-21 2001-12-21 Image processing method and device, its storage medium and program product

Country Status (1)

Country Link
JP (1) JP2003196648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005059814A1 (en) * 2003-12-09 2005-06-30 Oce Printing Systems Gmbh Method and system for processing print data of at least one print page
CN100376104C (en) * 2004-12-17 2008-03-19 佳能株式会社 Image-processing apparatus and method for controlling image-processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005059814A1 (en) * 2003-12-09 2005-06-30 Oce Printing Systems Gmbh Method and system for processing print data of at least one print page
CN100376104C (en) * 2004-12-17 2008-03-19 佳能株式会社 Image-processing apparatus and method for controlling image-processing apparatus

Similar Documents

Publication Publication Date Title
US7692813B2 (en) Image processing apparatus and method, and storage medium
EP0933723B1 (en) Printing apparatus
US8014031B2 (en) Formation of picture image having gradation expressed by fill area and one-line image data
JP4135195B2 (en) Print processing system, print processing method, and computer-readable recording medium on which print processing control program is recorded
JP5684466B2 (en) Method and computer readable medium for processing at least one pixel in a raster image buffer corresponding to objects of multiple object types
JP4428743B2 (en) Image processing method and apparatus, printer, image processing system, and storage medium
JPH08174919A (en) Multicolor printing apparatus
JP3285930B2 (en) Image processing device
JP2006155308A (en) Image forming apparatus
JP2006272557A (en) Image processor and image processing program
JP4109785B2 (en) Image processing apparatus and method, and computer-readable memory
JP4356953B2 (en) Image processing system, image processing apparatus, control method therefor, and storage medium
JP2003196648A (en) Image processing method and device, its storage medium and program product
JP4514168B2 (en) Image processing system and image processing method
JP2004246596A (en) Printing control device
JP3695498B2 (en) Image processing device
JP4306841B2 (en) Image processing apparatus and method, and computer-readable memory
JP2003051929A (en) Image processing method and apparatus
JP3636891B2 (en) Color image output method
JP2006103045A (en) Image forming apparatus
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory
JPH08256255A (en) Image forming device
JP2006140597A (en) Device and method for printing control, computer program, and storage medium
JPH11191055A (en) Printing system, data processing method therefor, and storage medium stored with computer-readable program
JP3120981B2 (en) Image processing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050301