[go: up one dir, main page]

JPH11188928A - Color image processing apparatus and color image processing method - Google Patents

Color image processing apparatus and color image processing method

Info

Publication number
JPH11188928A
JPH11188928A JP26152298A JP26152298A JPH11188928A JP H11188928 A JPH11188928 A JP H11188928A JP 26152298 A JP26152298 A JP 26152298A JP 26152298 A JP26152298 A JP 26152298A JP H11188928 A JPH11188928 A JP H11188928A
Authority
JP
Japan
Prior art keywords
color
color component
image data
type
component expression
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.)
Granted
Application number
JP26152298A
Other languages
Japanese (ja)
Other versions
JP3158101B2 (en
Inventor
Haruo Shimizu
治夫 清水
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 JP26152298A priority Critical patent/JP3158101B2/en
Publication of JPH11188928A publication Critical patent/JPH11188928A/en
Application granted granted Critical
Publication of JP3158101B2 publication Critical patent/JP3158101B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

(57)【要約】 【課題】 カラー描画の精度を保ちながらもバンディン
グ時に高速な処理が実現できるカラー画像処理装置およ
び方法を提供。 【解決手段】 入力情報をカラー画像処理装置の像形成
に適した第一種の色成分表現でぺージオブジェクト形式
の中間データに変換し、変換された中間データを色成分
毎にレンダリングする。また、入力情報を第一種の色成
分表現でぺージオブジェクト形式の中間データに変換
し、その中間データに基づいて、第一種の色成分表現の
画像データを得る。第一種の色成分表現の画像データに
論理演算を施す場合に、直接第一種の色成分表現の画像
データに論理演算を施す第一モードと、第一種の色成分
表現の画像データから変換された第二種の色成分表現の
画像データに論理演算を施し、論理演算された第二種の
色成分表現の画像データ第一種の色成分表現の画像デー
タに変換する第二モードとを備える。
(57) [Problem] To provide a color image processing apparatus and method capable of realizing high-speed processing at the time of banding while maintaining the accuracy of color drawing. SOLUTION: The input information is converted into intermediate data in a page object format by a first-type color component expression suitable for image formation of a color image processing apparatus, and the converted intermediate data is rendered for each color component. Also, the input information is converted into page object format intermediate data in a first-type color component expression, and image data in a first-type color component expression is obtained based on the intermediate data. When performing a logical operation on the image data of the first-type color component expression, the first mode in which the logical operation is directly performed on the image data of the first-type color component expression and the image data of the first-type color component expression A second mode for performing a logical operation on the converted image data of the second type of color component expression and converting the image data of the logically operated second type of color component expression into image data of the first type of color component expression; Is provided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、入力情報に対して
レンダリングを行うカラー画像処理装置およびカラー画
像処理方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a color image processing apparatus and a color image processing method for rendering input information.

【0002】本発明は、例えばCAD(計算機援用設
計)、CG(コンピュータグラフィックス)、デザイン
やビジネスにおけるカラーDTP( デスクトップパブリ
ッシング)分野等のカラー画像処理にも好適である。
[0002] The present invention is also suitable for color image processing in, for example, CAD (computer-aided design), CG (computer graphics), and color DTP (desktop publishing) fields in design and business.

【0003】[0003]

【従来の技術】最近の高機能ワークステーションやパー
ソナルコンピュータの出現により、フルカラーによる文
字、図形、イメージデータのハンドリングが、容易に行
なえる環境が整った。その結果、カラーを用いた文書、
OHP(オーバヘッドプロジェクタ)、スライド、アー
ト、デザイン等の広範な分野でカラー情報が利用されて
いる。
2. Description of the Related Art With the recent emergence of high-performance workstations and personal computers, an environment has been set up in which full-color characters, figures, and image data can be easily handled. As a result, documents using color,
Color information is used in a wide range of fields such as OHP (overhead projector), slide, art, design, and the like.

【0004】[0004]

【発明が解決しようとする課題】このように、ホスト計
算機側におけるカラー情報を用いたアプリケーション
が、広範な分野に渡り利用されている。しかしながらホ
スト側で作成したカラー情報を、印刷装置に記録する際
には従来では、ホスト側のCPUパワー(処理機能)を
利用し、ホスト側で文字、イメージ、図形を記録装置の
解像度に合わせて、イメージに展開した後、カラープリ
ンタに送るという、いわゆるダムプリンタまたはビデオ
プリンタと呼ばれる利用形態が一般的であった。この処
理方式はプリンタ側の機構をシンプルにし、ホスト側で
多くの処理を実行する点に特徴があるが、カラー情報を
取り扱う場合はそのデータ量の多さから、通信に多くの
時間をさかれ、スループットが非常に落ちる場合がある
という問題がある。
As described above, applications using color information on the host computer are used in a wide range of fields. However, when recording color information created on the host side in a printing apparatus, conventionally, CPU power (processing function) on the host side is used, and characters, images, and graphics are adjusted on the host side according to the resolution of the printing apparatus. In general, a so-called dumb printer or video printer is used in which an image is developed and then sent to a color printer. This processing method is characterized in that the mechanism on the printer side is simplified and many processes are executed on the host side.However, when handling color information, much time is required for communication due to the large amount of data. However, there is a problem that the throughput may be extremely reduced.

【0005】一方、白黒プリンタにおいては、ページ記
述言語(Page Description Lang
uageの略であり、以後PDLと略す。)方式とい
う、ホスト側から文字、図形、イメージを言語として送
り、プリンタでPDL言語を解釈し、各種情報をラスタ
メモリ中にスキャン変換(走査変換)することにより、
ページイメージを生成する方式が一般的である。本スキ
ャン方式をカラープリンタにも適用したカラーPDLプ
リンタが最近普及し始めている。
On the other hand, in a monochrome printer, a page description language (Page Description Language) is used.
This is an abbreviation of “uage” and is hereinafter abbreviated as “PDL”. By sending characters, graphics, and images as languages from the host side, interpreting the PDL language with a printer, and performing scan conversion (scan conversion) of various information in a raster memory,
A method of generating a page image is general. A color PDL printer in which the main scanning method is applied to a color printer has recently begun to spread.

【0006】しかしながら、カラーPDLプリンタにお
いては、従来の白黒PDLプリンタの言語アーキテクチ
ャー(構造)を踏襲しており、白黒すなわち1bit情
報に対する、すでにレンダリング(renderin
g)された情報(デスティネーション)とこれからレン
ダリングする図形、イメージ、文字情報(ソース)との
間で、SET,OR,XOR等の演算をビット毎に施す
というアーキテクチャーであった。しかし、カラープリ
ンタにおいては各カラープレーン、例えばRGB(レッ
ド,グリーン,ブルー)毎に深さを持っており(例えば
1,2,4,8ビット)、従来のSET,OR,XOR
の演算をビット毎に演算すると、所望の色が得られない
という問題があり、そのためカラー論理描画という(A
dd,Sub,Max,Min,Blend)等のビッ
ト深さを考慮した論理演算機能が導入されている。
However, the color PDL printer follows the language architecture (structure) of the conventional black-and-white PDL printer, and has already rendered (black and white) 1-bit information.
g) The architecture is such that an operation such as SET, OR, XOR or the like is performed for each bit between the information (destination) and the graphic, image, and character information (source) to be rendered. However, in a color printer, each color plane, for example, RGB (red, green, blue) has a depth (for example, 1, 2, 4, 8 bits), and the conventional SET, OR, XOR
Is a problem in that a desired color cannot be obtained when the operation is performed for each bit.
dd, Sub, Max, Min, Blend) and the like, a logical operation function taking into account the bit depth is introduced.

【0007】しかし、上記のカラー論理描画は色深さを
持った情報を、それも3,4面分演算する必要があるた
め、非常にコストの高くつく処理であるという解決すべ
き課題があった。
However, there is a problem to be solved that the above-described color logic drawing is a very expensive process because it is necessary to calculate information having color depth for three or four planes. Was.

【0008】そこで、本発明の目的は、上述の点に鑑み
て、カラー描画の精度を保ちながらも、バンディング時
に高速な処理が実現できるカラー画像処理装置およびカ
ラー画像処理方法を提供することにある。
In view of the above, an object of the present invention is to provide a color image processing apparatus and a color image processing method capable of realizing high-speed processing during banding while maintaining the accuracy of color drawing. .

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、カラー画像処理装置であって、
入力情報をカラー画像処理装置の像形成に適した第一種
の色成分表現でぺージオブジェクト形式の中間データに
変換する第一変換手段と、前記第一変換手段により変換
された中間データを色成分毎にレンダリングするレンダ
リング手段と、を有することを特徴とする。
In order to achieve the above object, the invention according to claim 1 is a color image processing apparatus,
First conversion means for converting input information into intermediate data in a page object format using a first-type color component expression suitable for image formation by a color image processing apparatus; and converting the intermediate data converted by the first conversion means into color data. And rendering means for rendering for each component.

【0010】ここで、好ましくは、入力情報を所定の論
理描画に適した第二種の色成分表現でぺージオブジェク
ト形式の中間データに変換する第二変換手段を更に有す
る。また、好ましくは、前記第一変換手段により変換さ
れた中間データをレンダリングすることにより得られる
第一種の色成分表現の画像データを第二種の色成分表現
の画像データに変換する第三変換手段を更に有する。
Preferably, the apparatus further comprises a second conversion means for converting the input information into intermediate data in a page object format using a second type of color component expression suitable for a predetermined logical drawing. Further, preferably, a third conversion for converting image data of a first-type color component expression obtained by rendering the intermediate data converted by the first conversion means into image data of a second-type color component expression Further comprising means.

【0011】また、好ましくは、第二種の色成分表現の
画像データを第一種の色成分表現の画像データに変換す
る第四変換手段を更に有する。
Preferably, the image processing apparatus further comprises a fourth conversion means for converting the image data of the second type of color component expression into image data of the first type of color component expression.

【0012】また、好ましくは、前記第一変換手段は、
入力情報を1ぺージを構成する複数のバンド毎に前記第
一種の色成分表現で前記中間データに変換する。
[0012] Preferably, the first conversion means includes:
The input information is converted into the intermediate data using the first-type color component expression for each of a plurality of bands forming one page.

【0013】また、好ましくは、バンド処理するか否か
を決定する決定手段を更に有する。また、好ましくは、
前記決定手段は、ハードウェアによるレンダリングが不
可能な所定の論理描画コマンドが入力情報に含まれてい
ることを検出する検出手段を含み、前記検出手段がハー
ドウェアによるレンダリングが不可能な所定の論理描画
コマンドが含まれていることを検出した場合に、バンド
処理しないことを決定する。
[0013] Preferably, the apparatus further comprises a determination means for determining whether or not to perform band processing. Also, preferably,
The determining means includes a detecting means for detecting that a predetermined logical drawing command that cannot be rendered by hardware is included in the input information, and the detecting means determines that the predetermined logical drawing command that cannot be rendered by hardware is included. When it is detected that a drawing command is included, it is determined not to perform band processing.

【0014】上記目的を達成するため、請求項8の発明
は、入力情報を第一種の色成分表現でぺージオブジェク
ト形式の中間データに変換する第一変換手段と、前記第
一種の色成分表現の中間データに基づいて、第一種の色
成分表現の画像データを得る第二変換手段と、第一種の
色成分表現の画像データを第二種の色成分表現の画像デ
ータに変換する第三変換手段と、第二種の色成分表現の
画像データを第一種の色成分表現の画像データに変換す
る第四変換手段とを有し、第一種の色成分表現の画像デ
ータに論理演算を施す場合に、直接第一種の色成分表現
の画像データに論理演算を施す第一モードと、前記第三
変換手段により第一種の色成分表現の画像データから変
換された第二種の色成分表現の画像データに論理演算を
施し、論理演算された第二種の色成分表現の画像データ
を第四変換手段により第一種の色成分表現の画像データ
に変換する第二モードとを備えることを特徴とする。
According to another aspect of the present invention, there is provided an image processing apparatus comprising: first conversion means for converting input information into intermediate data in a page object format using a first type of color component expression; Second conversion means for obtaining image data of a first-type color component expression based on intermediate data of the component expression, and converting image data of the first-type color component expression into image data of a second-type color component expression And third conversion means for converting the image data of the second type of color component expression into image data of the first type of color component expression, the image data of the first type of color component expression A first mode in which a logical operation is directly performed on image data of a first-type color component expression when performing a logical operation on the first-type color component expression, and a first mode in which the third conversion unit converts the image data of the first-type color component expression. Performs a logical operation on the image data of the two color component expressions, and performs the logical operation. The image data of the second kind of color component representation, characterized in that it comprises a second mode to convert the fourth conversion means into image data of the first type of color component representation was.

【0015】ここで、好ましくは、前記入力情報に含ま
れる論理描画コマンドに応答して、該論理描画コマンド
に対応する論理描画を第一モード及び第二モードのいず
れで実行するかを判定する判定手段を更に有する。
Preferably, in response to the logical drawing command included in the input information, it is determined whether to execute the logical drawing corresponding to the logical drawing command in the first mode or the second mode. Further comprising means.

【0016】また、好ましくは、第一グレードと、第一
グレードよりも低い第二グレードを含む複数のグレード
の一つを、前記入力情報からレンダリングされるべき画
像データのグレードとして決定する決定手段を更に有
し、前記判定手段が、第二モードで実行すると判定した
場合、前記決定手段は、入力情報からレンダリングされ
るべき画像データのグレードとして第二グレードを決定
する。
[0016] Preferably, a determination means for determining one of a plurality of grades including a first grade and a second grade lower than the first grade as a grade of image data to be rendered from the input information. When the determination unit determines that the image data is to be executed in the second mode, the determination unit determines a second grade as a grade of image data to be rendered from the input information.

【0017】また、好ましくは、第一モードの論理演算
はハードウェアにより実行され、第二モードの論理演算
はソフトウェアにより実行される。
Preferably, the logical operation in the first mode is executed by hardware, and the logical operation in the second mode is executed by software.

【0018】上記目的を達成するため、請求項12の発
明は、カラー画像処理方法であって、入力情報をカラー
画像処理装置の像形成に適した第一種の色成分表現でぺ
ージオブジェクト形式の中間データに変換する第一変換
ステップと、前記第一変換ステップで変換された中間デ
ータを色成分毎にレンダリングするレンダリングステッ
プと、を有することを特徴とする。
According to a twelfth aspect of the present invention, there is provided a color image processing method, comprising the steps of converting input information into a page object format using a first kind of color component expression suitable for image formation of a color image processing apparatus. And a rendering step of rendering the intermediate data converted in the first conversion step for each color component.

【0019】ここで、好ましくは、入力情報を所定の論
理描画に適した第二種の色成分表現でぺージオブジェク
ト形式の中間データに変換する第二変換ステップを更に
有する。
Preferably, the method further includes a second conversion step of converting the input information into intermediate data in a page object format using a second type of color component expression suitable for a predetermined logical drawing.

【0020】また、好ましくは、前記第一変換ステップ
により変換された中間データをレンダリングすることに
より得られる第一種の色成分表現の画像データを第二種
の色成分表現の画像データに変換する第三変換ステップ
を更に有する。
Preferably, image data of a first-type color component expression obtained by rendering the intermediate data converted in the first conversion step is converted into image data of a second-type color component expression. The method further includes a third conversion step.

【0021】また、好ましくは、第二種の色成分表現の
画像データを第一種の色成分表現の画像データに変換す
る第四変換ステップを更に有する。
Preferably, the method further includes a fourth conversion step of converting the image data of the second type of color component expression into image data of the first type of color component expression.

【0022】また、好ましくは、前記第一変換ステップ
では、入力情報を1ぺージを構成する複数のバンド毎に
前記第一種の色成分表現で前記中間データに変換する。
Preferably, in the first conversion step, the input information is converted into the intermediate data by the first-type color component expression for each of a plurality of bands constituting one page.

【0023】また、好ましくは、バンド処理するか否か
を決定する決定ステップを更に有する。
Preferably, the method further includes a determining step of determining whether or not to perform band processing.

【0024】また、好ましくは、前記決定ステップは、
ハードウェアによるレンダリングが不可能な所定の論理
描画コマンドが入力情報に含まれていることを検出する
検出ステップを含み、前記検出ステップにおいてハード
ウェアによるレンダリングが不可能な所定の論理描画コ
マンドが含まれていることを検出した場合に、バンド処
理しないことを決定する。
Preferably, the determining step includes:
A detection step of detecting that a predetermined logical drawing command that cannot be rendered by hardware is included in the input information, wherein the detecting step includes a predetermined logical drawing command that cannot be rendered by hardware. , It is determined that band processing is not to be performed.

【0025】上記目的を達成するため、請求項19の発
明は、入力情報を第一種の色成分表現でぺージオブジェ
クト形式の中間データに変換する第一変換ステップと、
前記第一種の色成分表現の中間データに基づいて、第一
種の色成分表現の画像データを得る第二変換ステップ
と、第一種の色成分表現の画像データを第二種の色成分
表現の画像データに変換する第三変換ステップと、第二
種の色成分表現の画像データを第一種の色成分表現の画
像データに変換する第四変換ステップとを有し、第一種
の色成分表現の画像データに論理演算を施す場合に、直
接第一種の色成分表現の画像データに論理演算を施す第
一モードと、前記第三変換ステップにより第一種の色成
分表現の画像データから変換された第二種の色成分表現
の画像データに論理演算を施し、論理演算された第二種
の色成分表現の画像データを第四変換ステップにより第
一種の色成分表現の画像データに変換する第二モードと
を備えることを特徴とする。
To achieve the above object, the invention of claim 19 is a first conversion step of converting input information into intermediate data in a page object format by a first-type color component expression,
A second conversion step of obtaining image data of a first-type color component expression based on the intermediate data of the first-type color component expression; and converting the image data of the first-type color component expression into a second-type color component. And a fourth conversion step of converting image data of a second type of color component expression into image data of a first type of color component expression. When performing a logical operation on the image data of the color component expression, a first mode in which the logical operation is directly performed on the image data of the first type color component expression, and an image of the first type color component expression by the third conversion step A logical operation is performed on the image data of the second type color component expression converted from the data, and the image data of the second type color component expression subjected to the logical operation is converted into an image of the first type color component expression by the fourth conversion step. A second mode for converting to data To.

【0026】ここで、好ましくは、前記入力情報に含ま
れる論理描画コマンドに応答して、該論理描画コマンド
に対応する論理描画を第一モード及び第二モードのいず
れで実行するかを判定する判定ステップを更に有する。
Here, preferably, in response to the logical drawing command included in the input information, it is determined whether to execute the logical drawing corresponding to the logical drawing command in the first mode or the second mode. The method further includes a step.

【0027】また、好ましくは、第一グレードと、第一
グレードよりも低い第二グレードを含む複数のグレード
の一つを、前記入力情報からレンダリングされるべき画
像データのグレードとして決定する決定ステップを更に
有し、前記判定ステップにおいて、第二モードで実行す
ると判定した場合、前記決定ステップでは、入力情報か
らレンダリングされるべき画像データのグレードとして
第二グレードを決定する。
Preferably, a determining step of determining one of a plurality of grades including a first grade and a second grade lower than the first grade as a grade of image data to be rendered from the input information. When the determination step determines that the image data is to be executed in the second mode, the determination step determines a second grade as a grade of image data to be rendered from the input information.

【0028】また、好ましくは、第一モードの論理演算
はハードウェアにより実行され、第二モードの論理演算
はソフトウェアにより実行される。
Preferably, the logical operation in the first mode is executed by hardware, and the logical operation in the second mode is executed by software.

【0029】[0029]

【作用】本発明では、カラーPDL(ページ記述言語)
の印刷について、バンディング時に、カラー画像処理装
置の像形成に適した色成分表現でページオブジェクトを
生成するので、高速なレンダリング処理が実現できる。
According to the present invention, color PDL (page description language) is used.
For printing, since the page object is generated by the color component expression suitable for image formation by the color image processing apparatus at the time of banding, high-speed rendering processing can be realized.

【0030】また、カラー画像処理装置の像形成に適し
た色成分表現の画像データを、論理描画に適した色成分
表現の画像データに変換して、高度な論理描画を処理す
るので、解像度や階調を多少落としながらもある程度の
色再現を保ってレンダリングすることができる。
In addition, since image data of a color component expression suitable for image formation of a color image processing apparatus is converted into image data of a color component expression suitable for logical drawing, and advanced logical drawing is processed, the resolution and the like are improved. Rendering can be performed while maintaining a certain degree of color reproduction while slightly reducing the gradation.

【0031】[0031]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0032】図1は本発明の一実施例のカラー印刷装置
の画像処理系の基本構成を示す。この図を用いて本発明
実施例における処理の大まかな流れを説明する。
FIG. 1 shows a basic configuration of an image processing system of a color printing apparatus according to an embodiment of the present invention. The general flow of the processing in the embodiment of the present invention will be described with reference to FIG.

【0033】(全体構成)図1において、1は、カラー
アプリケーションとしてカラー情報を作成し、このカラ
ー情報に対応するカラー、データをPDL形式に変換し
て、変換したPDLデータをカラー印刷装置の記録装置
コントローラ14に送出するホスト計算機(ワークステ
ーション)である。ここで、ホスト計算機1と記録装置
14間にPDLデータが流れる。このPDLデータの通
信形態はシリアル、ネットワーク、バス接続等何であっ
ても問題はないが、パフォーマンス的には高速通信路で
あることが望ましい。記録装置コントローラ14へ送ら
れたカラーPDLデータは入力バッファ(データ入力用
バッファ)2に一時格納され、プログラムROM6内の
PDLコマンド解析プログラムによって、入力データが
スキャンされる。3は文字のビットパターンまたはアウ
トライン情報、および文字ベースラインや文字メトリッ
ク情報を格納するフォントROMであり、文字の印字に
際して利用される。4のパネルIOP(入出力プロセッ
サ)は、プリンタ本体に装着されるパネルにおけるスイ
ッチ入力の検知やLCD(液晶ディスプレイ)への表示
を司る、I/Oプロセッサおよびファームウェア(パネ
ルI/Oプロセッサ)であり、低価格のCPUが利用さ
れる。拡張I/F(インタフェース)5は、プリンタの
拡張モジュール(フォントROM、プログラムROM、
RAM、ハードディスク)とのインタフェース回路であ
る。
(Overall Configuration) In FIG. 1, reference numeral 1 denotes color information as a color application, converts color and data corresponding to the color information into a PDL format, and records the converted PDL data in a color printing apparatus. It is a host computer (workstation) to send to the device controller 14. Here, PDL data flows between the host computer 1 and the recording device 14. Although there is no problem with the communication form of the PDL data, such as serial, network, bus connection, etc., a high-speed communication path is desirable in terms of performance. The color PDL data sent to the printing apparatus controller 14 is temporarily stored in the input buffer (data input buffer) 2, and the input data is scanned by the PDL command analysis program in the program ROM 6. A font ROM 3 stores character bit patterns or outline information, character baselines and character metric information, and is used for printing characters. A panel IOP (input / output processor) 4 is an I / O processor and firmware (panel I / O processor) that controls switch input detection on a panel mounted on the printer body and display on an LCD (liquid crystal display). , A low-cost CPU is used. The extension I / F (interface) 5 is a printer extension module (font ROM, program ROM,
RAM, a hard disk).

【0034】プログラムROM6は本発明に係る図2に
示すような処理手順(ソフトウェア)を格納するメモリ
であり、CPU12がこのソフトウェアに従って本カラ
ーPDLデータを読み込み処理を実行する。7はソフト
ウェアのための管理領域のRAMであり、入力されたカ
ラーPDLデータを解析して中間データ形式(ページオ
ブジェクト)に変換したデータや、グローバル情報等が
本管理用RAM7に格納される。
The program ROM 6 is a memory for storing the processing procedure (software) as shown in FIG. 2 according to the present invention, and the CPU 12 reads the color PDL data according to the software and executes the processing. Reference numeral 7 denotes a management area RAM for software, in which data obtained by analyzing input color PDL data and converting the data into an intermediate data format (page object), global information, and the like are stored in the main management RAM 7.

【0035】色変換ハードウェア8は、通常ワークステ
ーション(WS)で利用されているモニタの表色系のレ
ッド,グリーン,ブルーのRGB(加法混色)からプリ
ンタのインク処理で用いるイエロー,マゼンタ,シア
ン,ブラックのYMCK(減法混色)への変換を行なう
ハードウェアである。本色変換処理は色精度を追及する
と、非線形なログ変換・3×3のマトリックス演算等
で、演算パワーを大変要するものであるので、ハード的
にはテーブル・ルックアップ処理により高速化を図って
いる。この色変換パラメータは最初プリンタエンジンに
とって最適なものに調節されているが、ホスト側から色
変換方式を変更する要求があれば、テーブルの値を変更
することにより、色変換アルゴリズムをユーザ定義のそ
れに変えるのは可能である。
The color conversion hardware 8 converts red, green, and blue (additive color mixture) of red, green, and blue of a color system of a monitor usually used in a workstation (WS) from yellow, magenta, and cyan used in ink processing of a printer. , Black to YMCK (subtractive color mixture). This color conversion processing requires a great deal of calculation power in order to pursue color accuracy, such as non-linear log conversion and 3 × 3 matrix calculation. Therefore, in terms of hardware, the speed is increased by a table lookup process. . These color conversion parameters are initially adjusted to be optimal for the printer engine, but if the host requests to change the color conversion method, the color conversion algorithm can be changed to a user-defined one by changing the values in the table. It is possible to change.

【0036】ハードレンダラ(ハードウェアレンダリン
グ回路)9は、カラーレンダリング処理をASIC(特
定用途向けIC)ハードウェアで実行することにより、
カラープリンタ(例えば、レーザビームプリンタ)13
のビデオ転送に同期して実時間でレンダリング処理を行
い、少ないメモリ容量でのバンディング処理を実現する
ものである。ページ(バンド)バッファ10は、PDL
言語によって展開されるイメージを格納する領域であ
り、上述のバンディング処理を行なうための最低2バン
ドのメモリ(ページ幅*256または512位のバンド
高さ*プレーン数として3(RGB)または4(YMC
K)*ビット深さ)か、またはバンディング処理を出来
ない際に、LBP(レーザビームプリンタ)のようにプ
リンタエンジンに同期してイメージを転送する必要のあ
る装置では、解像度かつ/または色階調を落したフルカ
ラービットマップメモリを確保する必要がある。しか
し、インクジェットプリンタのように記録ヘッドの移動
をコントローラ側が制御可能な機構の場合には、上記2
バンドのメモリが最低限あればよい。
The hardware renderer (hardware rendering circuit) 9 executes a color rendering process by ASIC (application specific IC) hardware,
Color printer (for example, laser beam printer) 13
Rendering processing is performed in real time in synchronization with the video transfer, thereby realizing banding processing with a small memory capacity. The page (band) buffer 10 is a PDL
An area for storing an image developed according to a language, and a memory of at least two bands (page width * 256 or 512th band height * number of planes: 3 (RGB) or 4 (YMC)
K) * bit depth) or, when banding processing cannot be performed, in a device such as an LBP (laser beam printer) that needs to transfer an image in synchronization with a printer engine, the resolution and / or color gradation It is necessary to secure a full-color bitmap memory that has been dropped. However, in the case of a mechanism in which the movement of the recording head can be controlled by the controller side, such as an ink jet printer, the above-mentioned 2
The band's memory should be the minimum.

【0037】プリンタインタフェース(I/F)11は
カラープリンタ(カラー記録装置)13、例えばカラー
LBPとの間で、ページバッファ10の内容をプリンタ
側の水平・垂直同期信号に同期して、ビデオ情報を転送
する。あるいは、カラーインクジェットプリンタにおけ
るヘッド制御および複数ラインのヘッドサイズに合わせ
たビデオ情報の転送を行なう。さらに、本プリンタイン
タフェース11ではカラープリンタ13との間でプリン
タへのコマンド送信やプリンタからのステータス受信を
行なう。CPU(中央演算処理装置)12は記録装置コ
ントローラ14内部の処理を制御する演算装置である。
カラープリンタ13はコントローラ14から送出される
ビデオ信号を記録媒体にカラー印刷する。カラープリン
タ13としては電子写真式によるカラーLBPでもイン
クジェット方式のプリンタであってもよい。
A printer interface (I / F) 11 synchronizes the contents of the page buffer 10 with a color printer (color recording device) 13, for example, a color LBP, in synchronization with a horizontal / vertical synchronization signal on the printer side, and outputs video information. To transfer. Alternatively, head control in a color inkjet printer and transfer of video information in accordance with the head size of a plurality of lines are performed. Further, the printer interface 11 transmits commands to the printer and status reception from the printer with the color printer 13. The CPU (Central Processing Unit) 12 is an arithmetic unit that controls processing inside the recording device controller 14.
The color printer 13 performs color printing of a video signal sent from the controller 14 on a recording medium. The color printer 13 may be an electrophotographic color LBP or an inkjet printer.

【0038】(処理の流れ)図1中の矢印は、各種描画
情報に関するホスト計算機1からプリンタ13までの処
理の流れを示す。この処理の流れを図2のフローチャー
トを参照しながら説明する。
(Processing Flow) The arrows in FIG. 1 indicate the flow of processing from the host computer 1 to the printer 13 for various drawing information. This processing flow will be described with reference to the flowchart of FIG.

【0039】まず、ステップ101において、割り込み
処理等により入力バッファ2にカラーPDLデータをと
り込み、次にステップ102では入力されたPDLコマ
ンドを言語仕様に応じてインタプリット(解釈)する。
インタプリットした結果、ステップ103において入力
データが描画コマンド、例えば文字、直線、イメージ描
画である際には、ステップ104においてハードウェア
(またはソフトウェア)・レンダリング回路(ソフトウ
ェア)9がサポートするページオブジェクト形式に変換
する。
First, in step 101, color PDL data is fetched into the input buffer 2 by interrupt processing or the like, and then in step 102, the input PDL command is interpreted (interpreted) in accordance with the language specification.
As a result of the interpretation, if the input data is a drawing command, for example, a character, a straight line, or an image drawing in step 103, the data is converted into a page object format supported by the hardware (or software) / rendering circuit (software) 9 in step 104. Convert.

【0040】(レンダリングモデル)以後の説明の理解
のため、本実施例におけるレンダリングモデルは図3の
模式図を用いて簡単に説明する。本モデルは、各種描画
データの幾何的な情報、すなわち、どの部分が描画対象
かということを示すマスク情報151、そしてマスクを
どのような色で塗るかということを示すバックグランド
情報152、および論理描画方式153(SET,O
R,XOR,BLEND、ADD等)の三要素により構
成される。任意形状でのクリップを行なう際には、形状
データにまずクリップを施し、このクリップ後の残った
領域のみをマスクとする。その結果、レンダリングされ
たイメージの例を154に示す。
(Rendering Model) In order to understand the following description, the rendering model in this embodiment will be briefly described with reference to the schematic diagram of FIG. This model includes geometric information of various types of drawing data, that is, mask information 151 indicating which part is a drawing target, background information 152 indicating what color the mask should be painted with, and logical information. Drawing method 153 (SET, O
R, XOR, BLEND, ADD, etc.). When clipping is performed in an arbitrary shape, the shape data is first clipped, and only the remaining area after the clip is used as a mask. An example of the resulting rendered image is shown at 154.

【0041】(マスク)本実施例においてサポートする
マスク情報としては、ランレングス(X方向の一つのス
キャンライン)、エッジが交差しない凸多角形、ビット
マップイメージ、ビットマップフォントからなるとす
る。これからわかるように、これらのマスク情報は高速
なハードウェア・レンダリングに適した構造とし、例え
ば図4の(A)の五角形は図2のステップ104におい
て、図4の(B)に示すような交差しない5個の三角形
に分割する(この例では、塗りつぶしは、even−o
dd(奇偶法)ルールを適用)。また、図4の(C)に
示す、ラインの接続処理部においては、本モジュールに
おいてDDAアルゴリズムを適用して別領域にラインの
接続部分を展開した後、最終的な外部形状を、Yスキャ
ンライン毎にminx,max xをランレングス方式
で保持し、その後の高速なレンダリング(ステップ11
1)に備える。
(Mask) The mask information supported in this embodiment is assumed to consist of a run length (one scan line in the X direction), a convex polygon whose edges do not intersect, a bitmap image, and a bitmap font. As can be seen, the mask information has a structure suitable for high-speed hardware rendering. For example, the pentagon in FIG. 4A is replaced by the intersection shown in FIG. (In this example, the fill is even-o
dd (odd-even rule) is applied). Also, in the line connection processing unit shown in FIG. 4C, after applying the DDA algorithm in this module to develop the line connection part in another area, the final external shape is changed to a Y scan line. Each time, minx and maxx are held in a run-length manner, and then high-speed rendering (step 11)
Prepare for 1).

【0042】最終的に生成される各マスクオブジェクト
は、フルページメモリよりも少ないメモリ容量でのレン
ダリング、すなわちバンディングを行なうためページメ
モリを複数のバンド(高さが2の冪乗が望ましく、51
2ドット位が最適である。)に分割し、各マスクオブジ
ェクトをバンド毎にソーティングし、各バンド内で図4
の(C)に示すリンクリストを構成する。この際、バン
ドに跨る多角形に関しては、各バンドで多角形情報を共
有化する。各バンドに分割したマスクに対して、ステッ
プ105において、レンダリング時に必要となるデータ
のデコード時間とレンダリング時間を、各バンドごとに
加算する。これをそれぞれバンドi毎に保持し、pre
d−decode(i),pred−render
(i)とする。ここでデコード時間は、作成されたオブ
ジェクトのほぼデータ量に比例する。しかし、バンド3
における三角形1,4(図4の(B)参照)のデコード
時間は、前のバンド2の開始点からのバンド3の開始点
のオフセットを求める時間が余分に必要となる。
Each mask object to be finally generated is rendered in a page memory having a plurality of bands (preferably a power of 2 and having a height of 2 and 51) in order to perform rendering with less memory capacity than the full page memory, that is, banding.
Approximately two dots are optimal. ), And each mask object is sorted for each band.
The link list shown in FIG. At this time, with respect to the polygon spanning the bands, the polygon information is shared by each band. In step 105, for each mask divided into the bands, the decoding time and the rendering time of the data required at the time of rendering are added for each band. This is held for each band i, and pre
d-decode (i), pred-render
(I). Here, the decoding time is almost proportional to the data amount of the created object. But band 3
The decoding time of triangles 1 and 4 (see (B) in FIG. 4) requires extra time to find the offset of the start point of band 3 from the start point of the previous band 2.

【0043】レンダリング時間は、バンド内のマスク面
積×バックグランドの色深さ×色プレーン数×論理描画
の種類による演算ファクタにより計算される。
The rendering time is calculated by an operation factor based on the mask area in the band × the color depth of the background × the number of color planes × the type of logical drawing.

【0044】図2に戻り、入力されたデータが描画コマ
ンドでない場合には、ステップ106でその入力された
データが各種属性(バックグランド、論理描画)設定コ
マンドか否かを判定する。もし、YES(肯定判定)で
あれば、ステップ107において対応するカレントステ
ート設定処理を実行するが、これら属性設定コマンドは
それぞれハード(またはソフト)レンダラが読み込み可
能なデータ形式(ページオブジェクト)に変換するため
のものである。又、本実施例のように、カラー論理描画
の機能はハードウェアでサポートされないので、そのよ
うな属性設定コマンド情報を検知すると、フルペイント
フラグ(full−p−lag)をステップ107でセ
ットする。その結果として、ステップ102において強
制的に印刷の解像度かつ/または階調を落して、フルペ
イントモードでのレンダリングを行なう。これと同様
に、Flood Fill等の命令(点指定塗りつぶ
し)もバンディング処理が不可能である。
Returning to FIG. 2, if the input data is not a drawing command, it is determined in step 106 whether the input data is a command for setting various attributes (background, logical drawing). If YES (affirmative determination), a corresponding current state setting process is executed in step 107. These attribute setting commands are converted into data formats (page objects) that can be read by a hardware (or software) renderer, respectively. It is for. Further, as in the present embodiment, since the function of the color logic drawing is not supported by hardware, when such attribute setting command information is detected, a full paint flag (full-p-lag) is set in step 107. As a result, in step 102, the printing resolution and / or gradation is forcibly reduced, and rendering in the full paint mode is performed. Similarly, an instruction such as Flood Fill (point-specified filling) cannot perform banding processing.

【0045】(バックグランド)バックグランド情報
は、マスクに対してどのようにカラー・濃淡をつけるか
を示す。バックグランド情報の種類として、イメージと
して繰り返しを行なわずにマスクに張りつくバックグラ
ンドパターンと、パターンを縦・横方向に繰り返してマ
スクに張り付けるタイルパターンとが指定可能である。
本実施例においては、カラー印刷装置を想定しているた
め、イメージ、パターン、タイルはカラー情報を指定可
能である。
(Background) The background information indicates how to add color / shade to the mask. As the type of the background information, a background pattern that is attached to the mask without repeating the image and a tile pattern that is attached to the mask by repeating the pattern in the vertical and horizontal directions can be designated.
In the present embodiment, since a color printing apparatus is assumed, color information can be designated for images, patterns, and tiles.

【0046】ステップ108では、例えばデバッグ処理
等の目的で現在の状態をダンプ処理する。次のステップ
109では上述のインタプリタ120の処理が1ページ
分のPDLコマンド解析を終了したか否かを判定し、そ
れを終了していればステップ110のレンダラ121に
処理が移行するが、そうでなければステップ102に戻
って、次のコマンドの解析を繰り返す。ここまでは基本
的にPDLからページオブジェクトへの、データフィル
タリングタスクであり、これ以降の処理はページバッフ
ァ10への描画を行なうレンダリングタスクである。こ
の両者のタスクは、特にレンダリング・タスクの実時間
処理が要求されるため、リアルイタイムOS(オペレー
ティングシステム)上で別タスクとして実装され、かつ
後者のレンダリング・タスクは前者のインタプリタ・タ
スクよりもプライオリティ(優先順位)を高く設定され
て動作する。
In step 108, the current state is dumped for the purpose of, for example, debugging. In the next step 109, it is determined whether or not the processing of the interpreter 120 has completed the analysis of the PDL command for one page. If the processing has been completed, the processing shifts to the renderer 121 in step 110. If not, the process returns to step 102 to repeat the analysis of the next command. Up to this point, the data filtering task is basically performed from the PDL to the page object, and the subsequent processing is a rendering task for performing drawing on the page buffer 10. These two tasks are implemented as separate tasks on a real-time OS (operating system) because real-time processing of the rendering task is particularly required, and the latter rendering task is more effective than the former interpreter task. It operates with a high priority (priority).

【0047】(バンドレンダリング)ステップ110に
おいて、ページオブジェクトをレンダリングする前処理
として、バンドレンダリング(バンディング)処理が可
能か否かを判定する。このバンディング処理が不可能な
場合を以下に列挙する。
At (band rendering) step 110, it is determined whether or not band rendering (banding) processing is possible as a pre-process for rendering a page object. The cases where this banding process is not possible are listed below.

【0048】・上述したFlood Fill命令等が
ページ中に存在する。
The above-mentioned Flood Fill instruction exists in the page.

【0049】・大量のイメージ入力により管理用RAM
7の情報があふれた。
Management RAM by inputting a large amount of images
Information of 7 overflowed.

【0050】・カラープリンタ13が電子写真式LB
P,LED(発光ダイオード)プリンタの様に、一度紙
を給紙して記録を開始すると、バンディング処理はプリ
ンタ13へのビデオ信号転送とバンドへのレンダリング
とを並行処理する必要があり、そのためステップ105
で計算されたバンド毎のレンダリング時間pred−d
ecode(i),pred−render(i)に関
し、どれかのバンドが、所定の閾値をオーバする。
The color printer 13 is an electrophotographic LB
As in the case of a P, LED (light emitting diode) printer, once paper is fed and recording is started, the banding process needs to perform the video signal transfer to the printer 13 and the rendering to the band in parallel. 105
Rendering time pred-d for each band calculated by
Regarding code (i) and pred-render (i), any band exceeds a predetermined threshold.

【0051】上記の条件に適合すると、バンディングを
実行できないため、解像度または階調を落してページバ
ッファ10のメモリ中に、フルペイントメモリを確保
し、レンダリングする。一方、インクジェットプリンタ
等の記録ヘッドの移動をコントローラ側で制御出来る形
態の装置においては、レンダリング時間に(上記3番目
の条件)については上述の限りではなく、レンダリング
スピードが低下すると、ヘッドの移動を遅らせることに
より、バンディング処理が可能である。
If the above conditions are satisfied, banding cannot be executed. Therefore, the resolution or the gradation is reduced, a full paint memory is secured in the memory of the page buffer 10, and rendering is performed. On the other hand, in an apparatus such as an ink jet printer in which the movement of the recording head can be controlled by the controller, the rendering time (the third condition) is not limited to the above, and if the rendering speed decreases, the movement of the head is stopped. By delaying, banding processing is possible.

【0052】バンディング処理を図5を参照しながら以
下に説明する。バンドレンダリングは、上述のインタプ
リタのPDL解析タスク201により管理用RAM7に
作成されたページオブジェクト情報を、レンダリングタ
スク202によって起動されるハードまたはソフトレン
ダラ9が読み込み、マスクの情報からY座標におけるス
キャンライン情報(x min,x max)を抽出
し、カレントのバックグランド情報、論理描画モードを
参照して対応するバックグランド情報をページバッファ
(バンドバッファ)10に書き込む。そして、すべての
マスクのY座標に対応すべくY情報を変化させて、レン
ダリングを実行する。本システムではカラープリンタを
想定しているため、ページバッファには四面すなわちY
MCKのプレーンが存在し、各色情報をプレーン毎にレ
ンダリングする。
The banding process will be described below with reference to FIG. In the band rendering, the page object information created in the management RAM 7 by the PDL analysis task 201 of the interpreter is read by the hardware or software renderer 9 started by the rendering task 202, and scan line information at the Y coordinate is read from the mask information. (X min, x max) is extracted, and the corresponding background information is written to the page buffer (band buffer) 10 with reference to the current background information and the logical drawing mode. Then, the rendering is executed by changing the Y information so as to correspond to the Y coordinates of all the masks. Since this system assumes a color printer, the page buffer has four sides,
An MCK plane exists, and each color information is rendered for each plane.

【0053】ここでハードレンダラでサポートできる論
理描画としては、ソース・パターン(S)、ディスティ
ネーション・パターン(D)とすると、以下の三種類で
ある。これらは、パターンSとD間で両方の情報を入力
し、両者間で演算してパターンDに設定するような、演
算パワーが必要な処理はサポートされない。これは、カ
ラーの4つのプレーンを参照する必要があり、更に各プ
レーンが4から8ビットの際データの演算量が非常に大
きくなる点に起因する。
Here, the following three types of logical drawing can be supported by the hard renderer, assuming a source pattern (S) and a destination pattern (D). These do not support processing that requires computational power, such as inputting both information between patterns S and D, computing between them and setting pattern D. This is because it is necessary to refer to four planes of color, and when each plane has 4 to 8 bits, the amount of calculation of data becomes very large.

【0054】・上書き(D=S) ・透過、Dに描画しない(D=D) ・白(D=0) また通常は、高度なカラー論理描画データはホスト計算
機から頻繁に送出されないと仮定し、本ハードでサポー
ト可能なデータ処理をなくべく高速化するため、または
プリンタの色モデルはYMCKであることから、バック
グランドの持つカラー情報をYMCKとする。ステップ
107においてバックグランド情報を解析してデータを
管理用RAMに格納する際にホストから送られてくるR
GBデータに対して、色変換ハードウェア8を用いてY
MCKカラーに変換し、バックグランド情報として保持
しておく。色変換の際にハードウェアでなくソフトウェ
アで実現する形態も考えられるが、処理の高速化のため
にはハードを用いるのが望ましい。
Overwrite (D = S) Transparency, do not draw on D (D = D) White (D = 0) Also, it is usually assumed that advanced color logic drawing data is not frequently sent from the host computer. In order to speed up data processing that can be supported by the hardware, or because the color model of the printer is YMCK, the color information of the background is YMCK. In step 107, when the background information is analyzed and the data is stored in the management RAM, the R
Y for the GB data using the color conversion hardware 8
The data is converted to MCK color and stored as background information. Although a form in which the color conversion is realized by software instead of hardware is conceivable, it is desirable to use hardware in order to speed up the processing.

【0055】このようにしてハードウェアはマスク情
報、バックグランド情報、論理描画の方法に従いバンド
の番号iのページオブジェクトに対しレンダリングを行
なうと共に、並行してプリンタ13から送られてくる水
平同期信号にあわせ、プリンタインタフェース11を通
じて既にレンダリング済みのバンド番号i−1のバンド
情報をプリンタ13にカラービデオ信号(YMCK)と
して送出する。本バンディング処理は、上述の3個のカ
ラー論理描画からなるページデータは、十分に高速印字
が可能である。また、現在一般的に広く利用されている
ページ記述言語PostScript,LIPS等は、
このシンプルなカラー描画論理に準拠しているので、本
バンディング処理により多くのデータは高速にレンダリ
ング可能である。
In this way, the hardware renders the page object of the band number i in accordance with the mask information, the background information, and the method of the logical drawing, and generates the horizontal synchronizing signal sent from the printer 13 in parallel. At the same time, the band information of the band number i-1 which has already been rendered is transmitted to the printer 13 through the printer interface 11 as a color video signal (YMCK). In this banding process, the page data composed of the three color logic renderings described above can be printed at a sufficiently high speed. In addition, the page description languages PostScript, LIPS, etc., which are generally widely used at present, are as follows:
Since this simple banding logic is used, much data can be rendered at high speed by this banding process.

【0056】(論理描画)ハードレンダラ9でサポート
されていない高度な論理描画機能の実現方法について、
カラー情報の流れを示す図6、および図7のフローチャ
ートを用いて説明する。本論理描画の際には、ホスト計
算機1から入力されたカラーバックグランド情報(RG
Bデータ)401は、レンダリングハードまたはソフト
ウェアが取り扱えるページオブジェクト形式(RGB
obj)405に変換する。
(Logic Drawing) Regarding a method of realizing an advanced logic drawing function not supported by the hard renderer 9,
This will be described with reference to the flowcharts of FIGS. 6 and 7 showing the flow of the color information. At the time of this logical drawing, the color background information (RG
B data) 401 is a page object format (RGB) that can be handled by rendering hardware or software.
obj) 405.

【0057】(ページオブジェクト変換)まず、以下に
示す高度な論理描画を実現するために、LBP等の実時
間レンダリングを要求される印刷装置では、バンドレン
ダリングではなく、解像度かつ/または階調を落したフ
ルページバッファ10上へのレンダリングとなる。ま
た、ハードレンダラ9は処理の簡素化および高速化を要
求されるため、レンダリング時にランレングスや凸多角
形情報のリアルイタイム解像度変換は実行できない。そ
こで、以下に示す処理が必要であるが、インクジェット
プリンタ等においては、この限りではない。
(Page Object Conversion) First, in order to realize the following high-level logical drawing, in a printing apparatus that requires real-time rendering such as LBP, instead of band rendering, resolution and / or gradation are reduced. The rendering is performed on the full page buffer 10. Further, since the hard renderer 9 is required to simplify and speed up the processing, it is not possible to execute the real-time resolution conversion of the run length or the convex polygon information at the time of rendering. Therefore, the following processing is required, but is not limited to an inkjet printer or the like.

【0058】レンダリングの前処理として、例えば60
0DPI(ドット/インチ)から300DPIに解像度
を落とす際に、ランレングスは2ライン分をまとめて1
つのランレングスとし、かつ凸多角形は頂点情報の再計
算を実行する。これをページバッファ中のすべてのマス
ク情報に対して、インタプリタタスク201によって実
行する。ランレングスは、例えば600DPIにおけ
る、2つのラインi,i+1のX座標の開始・終了点を
それぞれxl (i),xr (i),xl (i+1),x
r (i+1)とすると、新規300DPIでの一つの開
始、終了点は以下のようになる。
As pre-processing for rendering, for example, 60
When lowering the resolution from 0 DPI (dots / inch) to 300 DPI, the run length is one line for two lines.
One run length, and the convex polygon performs recalculation of vertex information. This is executed by the interpreter task 201 for all the mask information in the page buffer. For example, the run length is defined as x l (i), x r (i), x l (i + 1), x x at the start and end points of the X coordinate of two lines i and i + 1 at 600 DPI.
Assuming r (i + 1), one start and end point at the new 300 DPI is as follows.

【0059】[0059]

【数1】new−xl (i)=min・1/2(x
l (i),xl (i+1)), new−xr (i)=max・1/2(xr (i),x
r (i+1)) イメージに関しては、ページオブジェクトのイメージ情
報自身は変化せずに、x,y方向へのスケーリングファ
クタをそれぞれ1/2とする。
## EQU1 ## new- xl (i) = min.1 / 2 (x
l (i), x l (i + 1)), new-x r (i) = max ・ (x r (i), x
r (i + 1)) Regarding the image, the scaling factors in the x and y directions are each set to そ れ ぞ れ without changing the image information itself of the page object.

【0060】一方、ページバッファを階調を落として
も、レンダラが容易に対応できるように、1,2,4,
8ビットレンダリングをサポートするので、インタプリ
タの前処理の負荷は大きくない。
On the other hand, even if the gradation of the page buffer is lowered, 1,2,4,4
Since it supports 8-bit rendering, the preprocessing load on the interpreter is not significant.

【0061】(フルペイント・レンダリング)本処理以
降のレンダリングに関する部分の処理手順を、図7のフ
ローチャートに示す。ステップ501においてインタプ
リタで変換されたオブジェクトを入力し、入力されたオ
ブジェクトが描画コマンドか否かをステップ502に判
断する。描画コマンドでなければステップ505におい
て、バックグランド情報や(論理)描画モードをカレン
ト情報を保持するグローバル変数に代入する。次に後述
のステップ507へ進む。
(Full Paint Rendering) FIG. 7 is a flowchart showing the processing procedure of the part related to rendering after this processing. In step 501, the object converted by the interpreter is input, and it is determined in step 502 whether the input object is a drawing command. If it is not a drawing command, in step 505, the background information and (logical) drawing mode are substituted into global variables holding current information. Next, the process proceeds to step 507 described later.

【0062】もし、入力されたオブジェクトが描画コマ
ンドであれば、ステップ503において現在の論理描画
モードをチェックする。もし、描画モードが上書き、透
過等のハードウェアによる高速レンダリングが可能な処
理であれば、ステップ506でハードレンダリングを起
動する。これは既に説明済みのバンディングによる、高
速処理のハードレンダラと同等の処理となる。唯一の相
違は、高速バンディング処理の場合はYMCKカラーで
レンダリングし、本フルページモードはRGBカラーで
レンダリングするため、あらかじめ異なるディザマトリ
ックスをロードしておく必要がある点である。
If the input object is a drawing command, in step 503 the current logical drawing mode is checked. If the drawing mode is a process capable of high-speed rendering by hardware such as overwriting and transparency, the hardware rendering is started in step 506. This is the same processing as the high-speed processing hard renderer by banding already described. The only difference is that in the case of high-speed banding processing, rendering is performed in YMCK color, and in this full page mode, rendering is performed in RGB color, so that a different dither matrix must be loaded in advance.

【0063】一方、高度な論理描画が指定された際に
は、ステップ504でソフトウェアによるレンダリング
を実行する。これは図6の406で示すようにフルペー
ジのページバッファ(D、ディスティネーション)40
7と現在のバックグランド・オブジェクト(S、ソー
ス)405のカラー情報をフェッチ(取り込む)して、
論理演算を施した後、フルページバッファ407に結果
を格納する。ここで代表的な論理演算処理として、以下
に示すようなものを各RGB成分毎に、ビット深さも考
慮して演算する。ソフトウェアによるレンダリングにお
いて、ソースイメージを作成するのは、ハードレンダラ
9と同じアルゴリズムを適用して、下述の論理描画を適
用するためであり、ページバッファアクセス・ライブラ
リを論理描画の方式毎に作成する。ソフトレンダリング
とハードレンダリングを混在させるため、ハードレンダ
リングが終了すると、CPU12に割り込みが発生し、
次のページオブジェクトをCPU12が続けてフェッチ
する仕掛けとなっている。
On the other hand, when advanced logic drawing is designated, rendering by software is executed in step 504. This corresponds to the page buffer (D, destination) 40 of the full page as indicated by 406 in FIG.
7 and the color information of the current background object (S, source) 405 are fetched.
After performing the logical operation, the result is stored in the full page buffer 407. Here, as a typical logical operation process, the following operation is performed for each RGB component in consideration of the bit depth. In rendering by software, the source image is created to apply the same logical rendering as that of the hard renderer 9 and apply the logical rendering described below. A page buffer access library is created for each logical rendering scheme. . In order to mix soft rendering and hard rendering, when hard rendering is completed, an interrupt occurs in the CPU 12,
The mechanism is such that the CPU 12 continuously fetches the next page object.

【0064】・加算、D=S+D ・減算、D=D−S ・ブレンドでα値はユーザが指定、D=α×S+(1−
α)×D ・最大値、D=Max(S,D) ・最小値、D=Min(S,D) この高度な論理描画は、ホスト計算機1で、一般的にC
RT(陰極線管)ディスプレイで利用されるRGBデー
タ上で演算される。そのため、ホスト計算機と同じ色再
現を行なうには、プリンタ内部においてもRGBカラー
モデル上で実現する必要がある。そのため、論理描画の
フルペイントモードにおいては、ページバッファ407
はRGBカラーモデルでなければならない。又、ページ
オブジェクト情報405も、RGBカラーモデルの必要
がある。
Addition, D = S + D Subtraction, D = D−S The blending α value is specified by the user, and D = α × S + (1−
α) × D ・ Maximum value, D = Max (S, D) ・ Minimum value, D = Min (S, D) This advanced logical drawing is performed by the host computer 1 and generally C
The calculation is performed on RGB data used in an RT (cathode ray tube) display. Therefore, in order to perform the same color reproduction as that of the host computer, it is necessary to realize the RGB color model inside the printer. Therefore, in the full paint mode of the logical drawing, the page buffer 407 is used.
Must be an RGB color model. Further, the page object information 405 also needs to be an RGB color model.

【0065】すでに述べたように高速バンディング処理
においては、ページオブジェクト情報におけるバックグ
ランド情報をYMCKカラーモデルで保持するので、本
論理描画を行なうために、ページオブジェクトとしてR
GBカラーも持つ必要がある。その結果、ステップ50
7で、1ページ分のデータのレンダリング処理を終了す
ると、ステップ508においてページバッファ10のす
べての情報をRGBからYMCKにすべて変換した後、
YMCKのビデオデータをステップ509においてプリ
ンタインタフェース11を通じてプリンタ13に送出す
る。
As described above, in the high-speed banding process, the background information in the page object information is held in the YMCK color model.
It is necessary to have GB color. As a result, step 50
When the rendering process of one page of data is completed in step 7, all information in the page buffer 10 is converted from RGB to YMCK in step 508.
The YMCK video data is sent to the printer 13 through the printer interface 11 in step 509.

【0066】(カラー論理描画の印字例)最後に、図8
を用いて、論理描画の結果を示す。この原図はカラー表
示であるが、カラー表示を図面として添付できないの
で、便宜上ハッチングにより色の違いを表わした。図中
Rはレッド(Red)、Gはグリーン(Green)、
Bはブルー(Blue)、Yはイエロー(Yello
w)、Mはマゼンタ(Mazenta)、Cはシアン
(Cyan)、Wはホワイト(White)である。こ
こではD=S+Dのビット深さを考慮した論理演算を施
した例であり、CRTの加法混色の原理を示すものであ
る。図中の、Cyan=Green+Blue,Yel
low=Red+Green,Mazenta=Red
+Blue,White=Red+Green+Blu
eの加算により生成される。
(Printing Example of Color Logic Drawing) Finally, FIG.
Is used to show the result of logical drawing. Although the original drawing is a color display, since the color display cannot be attached as a drawing, the color difference is indicated by hatching for convenience. In the figure, R is red, G is green,
B is Blue, Y is Yellow
w), M is magenta, C is cyan, and W is white. This is an example in which a logical operation is performed in consideration of the bit depth of D = S + D, and shows the principle of additive color mixing of a CRT. Cyan = Green + Blue, Yel in FIG.
low = Red + Green, Magenta = Red
+ Blue, White = Red + Green + Blue
It is generated by adding e.

【0067】(カラー記録装置13)図9は本実施例が
適用できるカラー記録装置13の一例としてのカラーイ
ンクジェットプリンタ装置IJRAの外観を示す。尚、
図1におけるカラー記録装置13以外の制御部は図9に
は図示していない。図9において、駆動モータ5013
の正逆回転に連動して駆動力伝達ギヤ5011,500
9を介して回転するリードスクリュー5005に螺旋溝
5004に対してキャリッジHCが係合する。キャリッ
ジHCはその螺旋溝5004と係合するピン(不図示)
を有し、それにより、矢印a,b方向に往復移動させら
れる。このキャリッジHCには、インクジェットカート
リッジIJCが搭載されている。5002は紙押え板で
あり、キャリッジHCの移動方向に沿って紙をプラテン
5000に対して押圧する。5007,5008はフォ
トカプラからなり、キャリッジHCのレバー5006の
この領域での存在を確認して、モータ5013の回転方
向の切り換えを行なうためのホームポジション検知手段
である。5016はインクジェットカートリッジIJC
の記録ヘッドの全面をキャップ(覆う)するキャップ部
材であり、5015はこのキャップ部材5016内を吸
引する吸引手段であり、これらによりキャップ内開口5
023を介して記録ヘッドの吸引回復を行なう。501
7はクリーニングブレードであり、5015はこのクリ
ーニングブレードを前後方向に移動可能とする部材であ
り、本体支持板5018にこれらが支持されている。ク
リーニングブレードとしては、この形態だけではなく周
知のクリーニングブレードが適用できるのは言うまでも
ない。また、5012は、吸引回復の吸引を開始するた
めのレバーであり、キャリッジHDの係合するカム50
20の移動にともなって移動し、駆動モータ5013か
らの駆動力がクラッチ切り換えの公知の伝達手段で移動
制御される。これらのキャッピンク、クリーニング、吸
引回復は、キャリッジHCがホームポジション側の領域
に来た時にリードスクリュー5005の作用によって、
それらの対応位置で所望の処理が行なえるように構成さ
れているが、これら以外のタイミングで作動するように
してもよい。
(Color Recording Apparatus 13) FIG. 9 shows the appearance of a color ink jet printer apparatus IJRA as an example of the color recording apparatus 13 to which the present embodiment can be applied. still,
Control units other than the color recording device 13 in FIG. 1 are not shown in FIG. In FIG. 9, the drive motor 5013
Transmission gears 5011 and 500 in conjunction with the forward and reverse rotation of
The carriage HC engages with the spiral groove 5004 on the lead screw 5005 that rotates via 9. The carriage HC has a pin (not shown) that engages with the spiral groove 5004.
, Thereby being reciprocated in the directions of arrows a and b. An ink jet cartridge IJC is mounted on the carriage HC. Reference numeral 5002 denotes a paper pressing plate, which presses the paper against the platen 5000 along the moving direction of the carriage HC. Reference numerals 5007 and 5008 denote home position detecting means for confirming the presence of the lever 5006 of the carriage HC in this area and switching the rotation direction of the motor 5013. 5016 is an inkjet cartridge IJC
A cap member 5015 for capping (covering) the entire surface of the recording head, and a suction means 5015 for suctioning the inside of the cap member 5016.
The suction recovery of the recording head is performed via 023. 501
Reference numeral 7 denotes a cleaning blade. Reference numeral 5015 denotes a member that allows the cleaning blade to move in the front-rear direction. These members are supported by a main body support plate 5018. It goes without saying that not only this form but also a known cleaning blade can be applied as the cleaning blade. Reference numeral 5012 denotes a lever for starting suction for suction recovery, and a cam 50 with which the carriage HD engages.
It moves with the movement of 20, and the movement of the driving force from the drive motor 5013 is controlled by known transmission means for clutch switching. The capping, cleaning, and suction recovery are performed by the action of the lead screw 5005 when the carriage HC comes to the area on the home position side.
Although the desired processing can be performed at those corresponding positions, the operation may be performed at a timing other than these.

【0068】(他の実施例)本発明の他の実施例の構成
を図10に示す。図6に示す上記実施例においては、バ
ンディングによる高速レンダリング時には、YMCKの
ページオブジェクトおよびYMCKページバッファ、高
度な論理描画の際には、RGBのページバッファおよび
RGBページオブジェクトを保有するという例を示し
た。この例では、RGBおよびYMCK両者のカラーモ
ードのページオブジェクトを保有する必要があり、図1
の管理用RAM7の領域を多く消費する。そこで、図1
0に示す本実施例においては、高速バンディング処理の
時も論理描画の際においても、ページバッファおよびペ
ージオブジェクトをYMCKで保有することにより、記
録領域の減少を図った例を示す。
(Another Embodiment) FIG. 10 shows the configuration of another embodiment of the present invention. In the embodiment shown in FIG. 6, an example is shown in which the YMCK page object and the YMCK page buffer are held at the time of high-speed rendering by banding, and the RGB page buffer and the RGB page object are held at the time of advanced logical drawing. . In this example, it is necessary to have page objects of both RGB and YMCK color modes, and FIG.
Consumes a large area of the management RAM 7. Therefore, FIG.
In this embodiment shown in FIG. 0, the recording area is reduced by holding the page buffer and the page object in YMCK both in the high-speed banding process and in the logical drawing.

【0069】図10における上半分の高速バンディング
処理については、図6に示すものと同じなので説明を省
略し、下半分の論理描画のパス(経路)について説明す
る。カラーの高度な論理描画によるレンダリングの際に
はまず、カラー変換部605でソース(S)に対応する
ページオブジェクトのバックグランドデータ603をY
MCKからRGBに逆変換する。それと同様に、すでに
レンダリングされたページバッファ(D)604のうち
でソースと論理描画する部分を同様にカラー変換部60
8で逆変換する。
The high-speed banding process in the upper half in FIG. 10 is the same as that shown in FIG. 6, and therefore the description thereof will be omitted, and the lower half logical drawing path will be described. At the time of rendering by advanced logical drawing of color, first, the background data 603 of the page object corresponding to the source (S) is converted to Y by the color conversion unit 605.
Inverse conversion from MCK to RGB. Similarly, the part of the page buffer (D) 604 that has already been rendered and which is to be logically rendered with the source is similarly converted by the color converter 60.
Inverse conversion is performed at 8.

【0070】ここで問題となるのは、色変換処理602
の色変換処理でRGBからYMCKに変換する際に簡単
なログ変換を施してれば、逆変換も容易に計算し得る
が、UCR(下色除去処理)、マスキング処理を施して
いる場合は、完全にYMCKから精度を落とさずにRG
Bに逆変換するのは不可能である。また、このような変
換を実時間で行なうには、余りにも計算量が大きくな
る。
The problem here is that the color conversion processing 602
If a simple log conversion is performed when converting from RGB to YMCK in the color conversion processing of, the inverse conversion can be easily calculated, but if UCR (under color removal processing) and masking processing are performed, RG without losing accuracy from YMCK completely
It is impossible to convert back to B. Further, if such conversion is performed in real time, the amount of calculation becomes too large.

【0071】そこで、本実施例の処理では、各ビット深
さのパターン2,4,8毎にYMCKからRGBへの近
似変換テーブルをシュミレーションによりあらかじめ求
めておき、この近似変換テーブルを用いて得られたRG
Bデータを逆変換データとして用いる。近似変換テーブ
ルにおいて2ビットの際はテーブルは256バイト、4
ビットの際にはテーブルは65,536バイトであり、
これらは実現可能なメモリサイズである。しかし、8ビ
ットの際には余りにもデータ量が大きいので、4ビット
テーブルを用いて色精度が犠牲にするか、あるいは計算
時間の増大を覚悟でソフトウェアにより計算するかを、
ユーザが選択できるようにするとよい。
Therefore, in the processing of this embodiment, an approximate conversion table from YMCK to RGB is obtained in advance for each of the patterns 2, 4 and 8 of each bit depth by simulation, and is obtained using this approximate conversion table. RG
The B data is used as inverse conversion data. When the approximate conversion table is 2 bits, the table is 256 bytes, 4
In bits, the table is 65,536 bytes,
These are achievable memory sizes. However, since the amount of data is too large in the case of 8 bits, whether to sacrifice color accuracy using a 4-bit table or to calculate with software in preparation for an increase in calculation time,
Preferably, the user can make a selection.

【0072】そして上述のようにして得られたRGBモ
デルにおけるSとDの情報を基に、論理演算606を実
行したのち、得られたRGBデータを色変換ハードウェ
ア8を用いてYMCKデータに変換し、ページバッファ
10に格納する。格納したデータを最終的にプリンタイ
ンタフェース11を通じて、カラー記録装置13にビデ
オ信号として転送する。
After performing a logical operation 606 based on the information of S and D in the RGB model obtained as described above, the obtained RGB data is converted into YMCK data using the color conversion hardware 8. Then, the data is stored in the page buffer 10. The stored data is finally transferred as a video signal to the color recording device 13 through the printer interface 11.

【0073】このように、本実施例によれば、カラーP
DL(ページ記述言語)情報の印刷について、簡単な論
理描画(SET、OR、透過)等はハードレンダリング
を用いて高速に行い、また高度な論理演算機能はハード
レンダリングとソフトウェアレンダリングの機能の切り
分けにより解像度や階調を多少落としながらもある程度
の色再現を目指すようにしたので、低価格で高速にレン
ダリングすることができるという効果が得られる。
As described above, according to the present embodiment, the color P
Regarding printing of DL (Page Description Language) information, simple logical drawing (SET, OR, transparency), etc. are performed at high speed using hard rendering, and advanced logical operation functions are performed by separating hard rendering and software rendering functions. Since a certain degree of color reproduction is aimed at while slightly lowering the resolution and gradation, the effect that high-speed rendering can be achieved at low cost can be obtained.

【0074】[0074]

【発明の効果】以上説明したように、本発明によれば、
カラーPDL(ページ記述言語)の印刷について、バン
ディング時に、カラー画像処理装置の像形成に適した色
成分表現でページオブジェクトを生成するので、高速な
レンダリング処理が実現できるという効果が得られる。
As described above, according to the present invention,
In printing of color PDL (page description language), a page object is generated with a color component expression suitable for image formation of a color image processing apparatus at the time of banding, so that an effect that high-speed rendering processing can be realized is obtained.

【0075】また、カラー画像処理装置の像形成に適し
た色成分表現の画像データを、論理描画に適した色成分
表現の画像データに変換して、高度な論理描画を処理す
るので、解像度や階調を多少落としながらもある程度の
色再現を保ってレンダリングすることができるという効
果が得られる。
Further, since the image data of the color component expression suitable for image formation of the color image processing apparatus is converted into the image data of the color component expression suitable for logical rendering, and the advanced logical rendering is processed, the resolution and the like are improved. The effect is obtained that rendering can be performed while maintaining a certain degree of color reproduction while slightly reducing the gradation.

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

【図1】本発明の一実施例のカラー印刷装置の基本構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a basic configuration of a color printing apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例の全体のアルゴリズムの概要
を示すフローチャートである。
FIG. 2 is a flowchart illustrating an outline of an entire algorithm according to an embodiment of the present invention.

【図3】本発明の一実施例のイメージングモデルを示す
構成図である。
FIG. 3 is a configuration diagram illustrating an imaging model according to an embodiment of the present invention.

【図4】本発明の一実施例における各種のマスク情報に
関する説明図である。
FIG. 4 is an explanatory diagram regarding various types of mask information according to an embodiment of the present invention.

【図5】本発明の一実施例におけるバンドレンダリング
の概念を示す図である。
FIG. 5 is a diagram showing the concept of band rendering in one embodiment of the present invention.

【図6】本発明の一実施例の論理描画におけるカラー処
理に関するアーキテクチャ図である。
FIG. 6 is an architecture diagram relating to color processing in logical drawing according to an embodiment of the present invention.

【図7】本発明の一実施例のフルペイントレンダリング
における論理描画の手順を示すフローチャートである。
FIG. 7 is a flowchart showing a logical drawing procedure in full paint rendering according to an embodiment of the present invention.

【図8】本発明の一実施例のカラー論理描画の結果を示
す図である。
FIG. 8 is a diagram showing a result of color logic drawing according to one embodiment of the present invention.

【図9】本発明に適用可能なカラー記録装置の機構を示
す斜視図である。
FIG. 9 is a perspective view illustrating a mechanism of a color recording apparatus applicable to the present invention.

【図10】本発明の他の実施例における、論理描画時の
カラー処理に関するアーキテクチャ図である。
FIG. 10 is an architecture diagram relating to color processing at the time of logical drawing in another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 ホスト計算機 2 データ入力用バッファ(入力バッファ) 3 フォントROM 4 パネルI/Oプロセッサ(パネルIOP) 5 拡張インタフェース(拡張I/F) 6 プログラムROM 7 管理用RAM 8 色変換ハードウェア(色変換H/W) 9 ハードウェアレンダリング回路(ハードレンダラ) 10 ページ(バンド)バッファ 11 プリンタインタフェース(プリンタI/F) 12 CPU 13 カラー記録装置(プリンタ) 14 コントローラ Reference Signs List 1 host computer 2 data input buffer (input buffer) 3 font ROM 4 panel I / O processor (panel IOP) 5 extension interface (extension I / F) 6 program ROM 7 management RAM 8 color conversion hardware (color conversion H / W) 9 Hardware rendering circuit (hard renderer) 10 Page (band) buffer 11 Printer interface (printer I / F) 12 CPU 13 Color recording device (printer) 14 Controller

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像処理装置であって、 入力情報をカラー画像処理装置の像形成に適した第一種
の色成分表現でぺージオブジェクト形式の中間データに
変換する第一変換手段と、 前記第一変換手段により変換された中間データを色成分
毎にレンダリングするレンダリング手段と、 を有することを特徴とするカラー画像処理装置。
1. A color image processing apparatus, comprising: first conversion means for converting input information into intermediate data in a page object format using a first type of color component expression suitable for image formation of the color image processing apparatus; And a rendering means for rendering the intermediate data converted by the first conversion means for each color component.
【請求項2】 入力情報を所定の論理描画に適した第二
種の色成分表現でぺージオブジェクト形式の中間データ
に変換する第二変換手段を更に有することを特徴とする
請求項1に記載のカラー画像処理装置。
2. The image processing apparatus according to claim 1, further comprising a second conversion unit configured to convert the input information into intermediate data in a page object format using a second type of color component expression suitable for a predetermined logical drawing. Color image processing device.
【請求項3】 前記第一変換手段により変換された中間
データをレンダリングすることにより得られる第一種の
色成分表現の画像データを第二種の色成分表現の画像デ
ータに変換する第三変換手段を更に有することを特徴と
する請求項2に記載のカラー画像処理装置。
3. A third conversion for converting image data of a first type of color component expression obtained by rendering the intermediate data converted by the first conversion means into image data of a second type of color component expression. 3. The color image processing apparatus according to claim 2, further comprising a unit.
【請求項4】 第二種の色成分表現の画像データを第一
種の色成分表現の画像データに変換する第四変換手段を
更に有することを特徴とする請求項3に記載のカラー画
像処理装置。
4. The color image processing apparatus according to claim 3, further comprising a fourth conversion unit configured to convert the image data of the second type of color component expression into image data of the first type of color component expression. apparatus.
【請求項5】 前記第一変換手段は、入力情報を1ぺー
ジを構成する複数のバンド毎に前記第一種の色成分表現
で前記中間データに変換することを特徴とする請求項1
に記載のカラー画像処理装置。
5. The image processing apparatus according to claim 1, wherein the first conversion unit converts the input information into the intermediate data using the first-type color component expression for each of a plurality of bands forming one page.
3. The color image processing apparatus according to 1.
【請求項6】 バンド処理するか否かを決定する決定手
段を更に有することを特徴とする請求項5に記載のカラ
ー画像処理装置。
6. The color image processing apparatus according to claim 5, further comprising a determination unit that determines whether or not to perform band processing.
【請求項7】 前記決定手段は、ハードウェアによるレ
ンダリングが不可能な所定の論理描画コマンドが入力情
報に含まれていることを検出する検出手段を含み、前記
検出手段がハードウェアによるレンダリングが不可能な
所定の論理描画コマンドが含まれていることを検出した
場合に、バンド処理しないことを決定することを特徴と
する請求項6に記載のカラー画像処理装置。
7. The determining means includes a detecting means for detecting that a predetermined logical drawing command which cannot be rendered by hardware is included in the input information, and wherein the detecting means does not perform rendering by hardware. 7. The color image processing apparatus according to claim 6, wherein when it is detected that a possible predetermined logical drawing command is included, band processing is not performed.
【請求項8】 入力情報を第一種の色成分表現でぺージ
オブジェクト形式の中間データに変換する第一変換手段
と、 前記第一種の色成分表現の中間データに基づいて、第一
種の色成分表現の画像データを得る第二変換手段と、 第一種の色成分表現の画像データを第二種の色成分表現
の画像データに変換する第三変換手段と、 第二種の色成分表現の画像データを第一種の色成分表現
の画像データに変換する第四変換手段とを有し、 第一種の色成分表現の画像データに論理演算を施す場合
に、直接第一種の色成分表現の画像データに論理演算を
施す第一モードと、前記第三変換手段により第一種の色
成分表現の画像データから変換された第二種の色成分表
現の画像データに論理演算を施し、論理演算された第二
種の色成分表現の画像データを第四変換手段により第一
種の色成分表現の画像データに変換する第二モードとを
備えることを特徴とするカラー画像処理装置。
8. A first conversion means for converting input information into intermediate data in a page object format using a first type of color component expression, and a first type conversion device based on the intermediate data of the first type color component expression. Second conversion means for obtaining image data of a color component expression of the type; third conversion means for converting image data of a color component expression of the first type into image data of a color component expression of the second type; A fourth conversion means for converting the image data of the component expression into image data of the first type color component expression, wherein when performing a logical operation on the image data of the first type color component expression, A first mode for performing a logical operation on the image data of the color component expression, and a logical operation on the image data of the second type of color component expression converted from the image data of the first type of color component by the third conversion means. And the logically operated image data of the second type of color component Color image processing apparatus characterized by comprising a second mode to convert the image data of the first type of color component representation by converting means.
【請求項9】 前記入力情報に含まれる論理描画コマン
ドに応答して、該論理描画コマンドに対応する論理描画
を第一モード及び第二モードのいずれで実行するかを判
定する判定手段を更に有することを特徴とする請求項8
に記載のカラー画像処理装置。
9. A determination unit for determining whether to execute a logical drawing corresponding to the logical drawing command in the first mode or the second mode in response to the logical drawing command included in the input information. 9. The method according to claim 8, wherein
3. The color image processing apparatus according to 1.
【請求項10】 第一グレードと、第一グレードよりも
低い第二グレードを含む複数のグレードの一つを、前記
入力情報からレンダリングされるべき画像データのグレ
ードとして決定する決定手段を更に有し、 前記判定手段が、第二モードで実行すると判定した場
合、前記決定手段は、入力情報からレンダリングされる
べき画像データのグレードとして第二グレードを決定す
ることを特徴とする請求項9に記載のカラー画像処理装
置。
10. A determination means for determining one of a plurality of grades including a first grade and a second grade lower than the first grade as a grade of image data to be rendered from the input information. 10. The method according to claim 9, wherein when the determination unit determines that the image data is to be executed in the second mode, the determination unit determines a second grade as a grade of image data to be rendered from the input information. Color image processing device.
【請求項11】 第一モードの論理演算はハードウェア
により実行され、第二モードの論理演算はソフトウェア
により実行されることを特徴とする請求項8に記載のカ
ラー画像処理装置。
11. The color image processing apparatus according to claim 8, wherein the logical operation in the first mode is executed by hardware, and the logical operation in the second mode is executed by software.
【請求項12】 カラー画像処理方法であって、 入力情報をカラー画像処理装置の像形成に適した第一種
の色成分表現でぺージオブジェクト形式の中間データに
変換する第一変換ステップと、 前記第一変換ステップで変換された中間データを色成分
毎にレンダリングするレンダリングステップと、 を有することを特徴とするカラー画像処理方法。
12. A color image processing method, comprising: a first conversion step of converting input information into intermediate data in a page object format in a first kind of color component expression suitable for image formation of a color image processing apparatus; A rendering step of rendering the intermediate data converted in the first conversion step for each color component.
【請求項13】 入力情報を所定の論理描画に適した第
二種の色成分表現でぺージオブジェクト形式の中間デー
タに変換する第二変換ステップを更に有することを特徴
とする請求項12に記載のカラー画像処理方法。
13. The apparatus according to claim 12, further comprising a second conversion step of converting the input information into intermediate data in a page object format using a second type of color component expression suitable for a predetermined logical drawing. Color image processing method.
【請求項14】 前記第一変換ステップにより変換され
た中間データをレンダリングすることにより得られる第
一種の色成分表現の画像データを第二種の色成分表現の
画像データに変換する第三変換ステップを更に有するこ
とを特徴とする請求項13に記載のカラー画像処理方
法。
14. A third conversion for converting image data of a first-type color component expression obtained by rendering the intermediate data converted in the first conversion step into image data of a second-type color component expression. 14. The color image processing method according to claim 13, further comprising a step.
【請求項15】 第二種の色成分表現の画像データを第
一種の色成分表現の画像データに変換する第四変換ステ
ップを更に有することを特徴とする請求項14に記載の
カラー画像処理方法。
15. The color image processing according to claim 14, further comprising a fourth conversion step of converting image data of a second type of color component expression into image data of a first type of color component expression. Method.
【請求項16】 前記第一変換ステップでは、入力情報
を1ぺージを構成する複数のバンド毎に前記第一種の色
成分表現で前記中間データに変換することを特徴とする
請求項12に記載のカラー画像処理方法。
16. The method according to claim 12, wherein in the first conversion step, the input information is converted into the intermediate data by the first-type color component expression for each of a plurality of bands forming one page. The color image processing method described in the above.
【請求項17】 バンド処理するか否かを決定する決定
ステップを更に有することを特徴とする請求項16に記
載のカラー画像処理方法。
17. The color image processing method according to claim 16, further comprising a determining step of determining whether or not to perform band processing.
【請求項18】 前記決定ステップは、ハードウェアに
よるレンダリングが不可能な所定の論理描画コマンドが
入力情報に含まれていることを検出する検出ステップを
含み、前記検出ステップにおいてハードウェアによるレ
ンダリングが不可能な所定の論理描画コマンドが含まれ
ていることを検出した場合に、バンド処理しないことを
決定することを特徴とする請求項17に記載のカラー画
像処理方法。
18. The determining step includes a detecting step of detecting that a predetermined logical drawing command that cannot be rendered by hardware is included in the input information, wherein the rendering by hardware is not performed in the detecting step. 18. The color image processing method according to claim 17, wherein it is determined not to perform band processing when detecting that a possible predetermined logical drawing command is included.
【請求項19】 入力情報を第一種の色成分表現でぺー
ジオブジェクト形式の中間データに変換する第一変換ス
テップと、 前記第一種の色成分表現の中間データに基づいて、第一
種の色成分表現の画像データを得る第二変換ステップ
と、 第一種の色成分表現の画像データを第二種の色成分表現
の画像データに変換する第三変換ステップと、 第二種の色成分表現の画像データを第一種の色成分表現
の画像データに変換する第四変換ステップとを有し、 第一種の色成分表現の画像データに論理演算を施す場合
に、直接第一種の色成分表現の画像データに論理演算を
施す第一モードと、前記第三変換ステップにより第一種
の色成分表現の画像データから変換された第二種の色成
分表現の画像データに論理演算を施し、論理演算された
第二種の色成分表現の画像データを第四変換ステップに
より第一種の色成分表現の画像データに変換する第二モ
ードとを備えることを特徴とするカラー画像処理方法。
19. A first conversion step of converting input information into intermediate data in a page object format using a first-type color component expression; A second conversion step of obtaining image data of a color component expression of: a third conversion step of converting image data of a first type of color component expression into image data of a second type of color component expression; A fourth conversion step of converting the image data of the component expression into image data of the first type color component expression, wherein a logical operation is directly performed on the image data of the first type color component expression. A first mode for performing a logical operation on the image data of the color component expression, and a logical operation on the image data of the second type of color component expression converted from the image data of the first type of color component by the third conversion step. And a second type of color operation Color image processing method characterized by comprising a second mode for converting image data of the representation by the fourth conversion step to image data of the first type of color component representation.
【請求項20】 前記入力情報に含まれる論理描画コマ
ンドに応答して、該論理描画コマンドに対応する論理描
画を第一モード及び第二モードのいずれで実行するかを
判定する判定ステップを更に有することを特徴とする請
求項19に記載のカラー画像処理方法。
20. A determination step, in response to a logical drawing command included in the input information, determining whether to execute a logical drawing corresponding to the logical drawing command in the first mode or the second mode. 20. The color image processing method according to claim 19, wherein:
【請求項21】 第一グレードと、第一グレードよりも
低い第二グレードを含む複数のグレードの一つを、前記
入力情報からレンダリングされるべき画像データのグレ
ードとして決定する決定ステップを更に有し、 前記判定ステップにおいて、第二モードで実行すると判
定した場合、前記決定ステップでは、入力情報からレン
ダリングされるべき画像データのグレードとして第二グ
レードを決定することを特徴とする請求項20に記載の
カラー画像処理方法。
21. A determination step of determining one of a plurality of grades including a first grade and a second grade lower than the first grade as a grade of image data to be rendered from the input information. 21. The method according to claim 20, wherein in the determining step, when it is determined that the image data is to be executed in the second mode, the determining step determines a second grade as a grade of image data to be rendered from the input information. Color image processing method.
【請求項22】 第一モードの論理演算はハードウェア
により実行され、第二モードの論理演算はソフトウェア
により実行されることを特徴とする請求項19に記載の
カラー画像処理方法。
22. The color image processing method according to claim 19, wherein the logical operation in the first mode is executed by hardware, and the logical operation in the second mode is executed by software.
JP26152298A 1993-11-19 1998-09-16 Color image processing apparatus and color image processing method Expired - Fee Related JP3158101B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26152298A JP3158101B2 (en) 1993-11-19 1998-09-16 Color image processing apparatus and color image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26152298A JP3158101B2 (en) 1993-11-19 1998-09-16 Color image processing apparatus and color image processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP29092893A Division JP2875725B2 (en) 1993-11-19 1993-11-19 Print control device and print control method

Publications (2)

Publication Number Publication Date
JPH11188928A true JPH11188928A (en) 1999-07-13
JP3158101B2 JP3158101B2 (en) 2001-04-23

Family

ID=17363081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26152298A Expired - Fee Related JP3158101B2 (en) 1993-11-19 1998-09-16 Color image processing apparatus and color image processing method

Country Status (1)

Country Link
JP (1) JP3158101B2 (en)

Also Published As

Publication number Publication date
JP3158101B2 (en) 2001-04-23

Similar Documents

Publication Publication Date Title
EP0654759B1 (en) Printing apparatus
US6323958B1 (en) Printing apparatus
JP3554034B2 (en) Color printing apparatus and method
US7861156B2 (en) Methods and apparatus for parallel processing page description language data
US5642474A (en) Arbitrary masking technique for filling in shapes for display
US6456298B1 (en) Image processing apparatus and method
US5859958A (en) Compact representation of object slices for rendering raster graphics
US20040135796A1 (en) Apparatus and method for image processing capable of accelerating image overlay process
JP2875725B2 (en) Print control device and print control method
JP3673536B2 (en) Printing apparatus and printing method
JP3158101B2 (en) Color image processing apparatus and color image processing method
JPH0918732A (en) Information processing apparatus and method
JPH09314915A (en) Printing control device, printing device control method, printing system, and storage medium
JP5424546B2 (en) Image processing apparatus and image forming system
JP5428516B2 (en) Image processing apparatus and program
JP2004021886A (en) Image processing device and image processing method
JP4368652B2 (en) Printing processing method and apparatus
JP2005038084A (en) Method and apparatus for converting drawing data
JP4072403B2 (en) Information processing apparatus, information processing method, and program
JP3968989B2 (en) Image processing apparatus, image processing method, and storage medium storing image processing program
JP2002007101A (en) Information processing apparatus, information processing method, and storage medium
JP5046237B2 (en) Image processing apparatus, image processing method, and program
JP2003283816A (en) Image processing apparatus and image output system
JP2005151064A (en) Image processing apparatus and program for image processing
JPH0930068A (en) Output device and method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20080209

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20090209

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20100209

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

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20120209

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20130209

LAPS Cancellation because of no payment of annual fees