JPH06139033A - Color page description language processor - Google Patents

Color page description language processor

Info

Publication number
JPH06139033A
JPH06139033A JP4289063A JP28906392A JPH06139033A JP H06139033 A JPH06139033 A JP H06139033A JP 4289063 A JP4289063 A JP 4289063A JP 28906392 A JP28906392 A JP 28906392A JP H06139033 A JPH06139033 A JP H06139033A
Authority
JP
Japan
Prior art keywords
color
definition
description
description language
monochromatic
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
JP4289063A
Other languages
Japanese (ja)
Other versions
JP3146690B2 (en
Inventor
Kazuhiro Soga
和浩 曽我
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP28906392A priority Critical patent/JP3146690B2/en
Publication of JPH06139033A publication Critical patent/JPH06139033A/en
Application granted granted Critical
Publication of JP3146690B2 publication Critical patent/JP3146690B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)
  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To easily monochrome convert a page description language program including a color description, to attain a color output by monochrome-processing the converted page description language program of the monochromatic description, and to attain a color correction at a high speed. CONSTITUTION:In a definition adding part 2, a monochromatic conversion definition adding part 2-1 adds a definition for converting the color description into the monochromatic description having only monochromatic values of respective primary colors, or a color correction definition adding part 2-2 further adds a definition related with a color correction to the definition for the monochromatic conversion to a page description language program 1 including the color description in a prescribed color destination system using prescribed plural primary colors. Then, a monochromatic interpreter 3 interprets the page description language program to which those difinitions are added, and develops it into monochromatic image data. Then, the signal image data are synthesized, and outputted as color output data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ポストスクリプトやイ
ンタプレス等のページ記述言語で表現された文書デー
タ、すなわちページ記述言語プログラムを処理する装置
に関し、特に限定されたカラー数しか処理できないペー
ジ記述言語インタプリタを用いて色記述を含むページ記
述言語プログラムを解釈し、イメージデータへの展開処
理を行うカラーページ記述言語処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for processing document data expressed in a page description language such as Postscript or Interpress, that is, a page description language program, and particularly a page description capable of processing only a limited number of colors. The present invention relates to a color page description language processing device that interprets a page description language program including color description using a language interpreter and performs expansion processing to image data.

【0002】[0002]

【従来の技術】従来、データ処理装置によりデータ処理
した結果の出力をレーザプリンタなどの高性能の印刷装
置により高品質の印刷出力を得るため、ページ記述言語
プログラムの実行により画像形成が行われる。
2. Description of the Related Art Conventionally, in order to obtain a high-quality print output of a high-performance printing device such as a laser printer from the output of the result of data processing by a data processing device, image formation is performed by executing a page description language program.

【0003】ここで、ページ記述言語は、文字、写真、
図形等が混在するデータ、すなわち文書データを統一し
て取り扱うことができる、出力装置との共通インターフ
ェース言語である。このため、ページ記述言語を解釈し
て処理することができるプリンタは、ページ記述言語で
記述されたデータであれば、異なる機種のデータ処理装
置により作成されたデータであっても、常に正常に出力
することができる。
Here, the page description language includes characters, photographs,
It is a common interface language with an output device that can handle data in which graphics and the like are mixed, that is, document data in a unified manner. Therefore, a printer capable of interpreting and processing the page description language will always output normally if the data is written in the page description language, even if the data is created by a data processing device of a different model. can do.

【0004】このページ記述言語を解釈実行するページ
記述言語インタプリタは、イメージデータに展開してプ
リンタなどへ出力するものである。
The page description language interpreter for interpreting and executing the page description language is for developing image data and outputting it to a printer or the like.

【0005】ところで、ページ記述言語処理装置をもつ
プリンタ(以下、ページ記述言語プリンタという)は、
高解像度等の高機能、高速処理を実現するため、高性能
マイクロコンピュータや大容量メモリを必要とする。こ
のため、ページ記述言語プリンタは、非常に高価なもの
となっている。
A printer having a page description language processing device (hereinafter referred to as page description language printer) is
A high-performance microcomputer and a large-capacity memory are required to realize high-performance such as high resolution and high-speed processing. This makes page description language printers very expensive.

【0006】また、近年、ページ記述言語プリンタのな
かには、カラー出力が可能なものが出現している。
In recent years, among page description language printers, printers capable of color output have appeared.

【0007】しかし、カラー出力が可能なページ記述言
語プリンタに搭載されるプリンタコントローラは、単色
のプリンタコントローラに比べて、カラー数が増大する
分、高速のマイクロコンピュータや大容量メモリを必要
とし、ページ記述言語インタプリタもカラーに対応する
ものでなければならない。このため、カラー出力が可能
なページ記述言語プリンタは、高価なものとなるという
問題があった。
However, the printer controller mounted on a page description language printer capable of color output requires a high-speed microcomputer and a large-capacity memory because the number of colors increases as compared with a monochrome printer controller. The description language interpreter must also support color. Therefore, there is a problem that the page description language printer capable of color output becomes expensive.

【0008】そして、この問題を解決するため、例え
ば、特開平3−11422号公報には、カラー記述を含
むページ記述言語プログラムをカラーごとに分割して、
高価格のカラープリンタコントローラの使用を避け、低
価格の単色のコントローラを使用する簡易カラーPDL
プリンタ装置が記述されている。
To solve this problem, for example, in Japanese Patent Laid-Open No. 11422/1993, a page description language program including a color description is divided for each color,
Simple color PDL that avoids the use of expensive color printer controllers and uses inexpensive monochromatic controllers
A printer device is described.

【0009】しかし、上記公報には、いかに色記述を含
むページ記述言語プログラムを分割するかの実現手段は
記載されてない。
However, the above publication does not describe a means for realizing how to divide a page description language program including a color description.

【0010】また、単色のコントローラを用いた場合、
カラー出力の色補正が困難になるという問題点がある。
When a single color controller is used,
There is a problem that color correction of color output becomes difficult.

【0011】[0011]

【発明が解決しようとする課題】前述したように、従
来、カラー出力が可能なページ記述言語プリンタは、高
性能のプリンタコントローラが必要であったため、高価
格であるという問題点があり、この問題点を解決するた
め、ページ記述言語プログラムをカラーごとに分離し、
単色のコントローラを使用することが考えられた。しか
し、ページ記述言語の性質上、新たにページ記述言語を
解釈し、分離する分離手段が必要となり、いかにページ
記述言語プログラムをカラーごとに分離するかが問題と
なっていた。また、単色のコントローラを用いているた
め、カラー出力に不可欠な色補正が困難になるという問
題点がある。そこで、ページ記述言語インタプリタによ
りイメージデータに展開したデータに対し、色補正を行
うことが考えられるが、これでは、イメージデータ全体
に対して演算する必要があり、色補正の処理時間がかか
るという問題点があった。
As described above, the page description language printer capable of color output has conventionally required a high-performance printer controller, and thus has a problem of high price, which is a problem. To solve the problem, separate page description language programs for each color,
It was considered to use a monochrome controller. However, due to the nature of the page description language, a new means for interpreting and separating the page description language is required, and how to separate the page description language program for each color has been a problem. Further, since a single-color controller is used, it is difficult to perform color correction, which is essential for color output. Therefore, it is conceivable to perform color correction on the data expanded into image data by the page description language interpreter, but this requires calculation for the entire image data, which requires a long processing time for color correction. There was a point.

【0012】そこで、本発明は、かかる問題点を除去
し、色記述を含むページ記述言語プログラムを容易に単
色変換でき、かつ変換した単色記述のページ記述言語プ
ログラムの単色処理によりカラー出力を行い、併せて高
速に色補正を行うことができるカラーページ記述言語処
理装置を提供することを目的とする。
In view of the above, the present invention eliminates such problems, allows a page description language program including a color description to be easily converted into a single color, and performs color output by the single color processing of the converted page description language program with a single color description. It is also an object of the present invention to provide a color page description language processing device capable of performing color correction at high speed.

【0013】[0013]

【課題を解決するための手段】本発明は、所定の複数の
色要素を用いた所定の色指定方式による色記述を含むペ
ージ記述言語で表現された入力文書データに、前記色記
述を複数の色要素のうちの1つの色要素値のみをもつ単
一要素記述に変換する定義を付加する付加手段と、前記
付加手段による定義が付加された文書データを解釈して
所定の単一要素のイメージデータに展開する展開手段
と、前記展開手段により展開された前記複数の色要素ご
との所定の単一要素のイメージデータを合成してカラー
イメージデータを作成する合成手段とを具備したことを
特徴とする。
According to the present invention, a plurality of color descriptions are added to input document data expressed in a page description language including a color description according to a predetermined color designation method using a plurality of predetermined color elements. Addition means for adding a definition for converting into a single element description having only one color element value among color elements, and image of a predetermined single element by interpreting document data to which the definition by the addition means is added The image forming apparatus further comprises: a developing unit for developing the data, and a synthesizing unit for synthesizing image data of a predetermined single element for each of the plurality of color elements developed by the developing unit to create color image data. To do.

【0014】また、所定の複数の色要素を用いた所定の
色指定方式による色記述を含むページ記述言語で表現さ
れた入力文書データに、前記色記述を複数の色要素のう
ちの1つの色要素値のみをもつ単一要素記述に変換する
定義を付加する付加手段と、前記付加手段による定義が
付加された文書データを解釈して所定の単一要素のイメ
ージデータに展開する展開手段と、前記展開手段により
展開された前記複数の色要素ごとの所定の単一要素のイ
メージデータを記憶する記憶手段と、前記記憶手段に記
憶された前記複数の色要素ごとの所定の単一要素のイメ
ージデータを順次読み出して、前記複数の色要素に対応
した所定の単一要素のイメージデータの出力制御を行う
出力制御手段とを具備したことを特徴とする。
In addition, in the input document data expressed in a page description language including a color description by a predetermined color designating method using a plurality of predetermined color elements, the color description is added to one of the plurality of color elements. Adding means for adding a definition for converting into a single element description having only element values, and expanding means for interpreting the document data to which the definition by the adding means is added and expanding it into image data of a predetermined single element, Storage means for storing image data of a predetermined single element for each of the plurality of color elements developed by the developing means, and image of a predetermined single element for each of the plurality of color elements stored in the storage means An output control means for sequentially reading data and controlling output of image data of a predetermined single element corresponding to the plurality of color elements is provided.

【0015】さらに、前記入力文書データに、前記所定
の単一要素記述の変換に併せて、前記複数の色要素の要
素値の補正を行う定義を付加する第2の付加手段を設
け、前記展開手段は、前記第2の付加手段に基づいて、
前記複数の色要素の要素値の補正を行うことを特徴とす
る。
Further, the input document data is provided with a second adding means for adding a definition for correcting the element values of the plurality of color elements in accordance with the conversion of the predetermined single element description, and the expansion is performed. Means, based on the second addition means,
The element values of the plurality of color elements are corrected.

【0016】[0016]

【作用】本発明は、付加手段が、所定の複数の色要素を
用いた所定の色指定方式による色記述を含むページ記述
言語で表現された入力文書データに、前記色記述を複数
の色要素のうちの1つの色要素値のみをもつ単一要素記
述に変換する定義を付加し、展開手段が、前記付加手段
による定義が付加された文書データを解釈して所定の単
一要素のイメージデータに展開し、合成手段が、前記展
開手段により展開された前記複数の色要素ごとの所定の
単一要素のイメージデータを合成してカラーイメージデ
ータを作成する。
According to the present invention, the adding means adds the plurality of color elements to the input document data expressed in a page description language including a color description by a predetermined color designation method using a plurality of predetermined color elements. A definition for converting to a single element description having only one color element value, and the expansion means interprets the document data to which the definition by the addition means is added to obtain image data of a predetermined single element. And the synthesizing means synthesizes the image data of the predetermined single element for each of the plurality of color elements developed by the developing means to create color image data.

【0017】また、付加手段が、所定の複数の色要素を
用いた所定の色指定方式による色記述を含むページ記述
言語で表現された入力文書データに、前記色記述を複数
の色要素のうちの1つの色要素値のみをもつ単一要素記
述に変換する定義を付加し、展開手段が、前記付加手段
による定義が付加された文書データを解釈して所定の単
一要素のイメージデータに展開し、記憶手段が、前記展
開手段により展開された前記複数の色要素ごとの所定の
単一要素のイメージデータを記憶し、出力制御手段が、
前記記憶手段に記憶された前記複数の色要素ごとの所定
の単一要素のイメージデータを順次読み出して、前記複
数の色要素に対応した所定の単一要素のイメージデータ
の出力制御を行う。
Further, the adding means adds the color description among the plurality of color elements to the input document data expressed in a page description language including a color description by a predetermined color designation method using a plurality of predetermined color elements. Definition is added to convert it into a single element description having only one color element value, and the expanding means interprets the document data to which the definition by the adding means is added and expands it into image data of a predetermined single element. Then, the storage means stores the image data of a predetermined single element for each of the plurality of color elements expanded by the expanding means, and the output control means,
Image data of a predetermined single element for each of the plurality of color elements stored in the storage unit is sequentially read, and output control of image data of a predetermined single element corresponding to the plurality of color elements is performed.

【0018】さらに、前記入力文書データに、前記所定
の単一要素記述の変換に併せて、前記複数の色要素の要
素値の補正を行う定義を付加する第2の付加手段を設
け、前記展開手段は、前記第2の付加手段に基づいて、
前記複数の色要素の要素値の補正を行う。
Further, the input document data is provided with a second addition means for adding a definition for correcting the element values of the plurality of color elements in accordance with the conversion of the predetermined single element description, and the expansion is performed. Means, based on the second addition means,
The element values of the plurality of color elements are corrected.

【0019】[0019]

【実施例】以下、図面を参照して本発明の一実施例につ
いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0020】図1は、本発明の第1の実施例であるカラ
ーページ記述言語処理装置の構成を示すブロック図であ
る。図1において、カラーページ記述言語処理装置は、
図示されていないバッファ等の記憶手段から色記述を含
むページ記述言語プログラム1を読み込み、このページ
記述言語プログラム1の色記述の各原色の単色値を単色
変換する定義を付加する単色変換定義付加部2−1およ
び色記述の各原色の単色値の色補正を単色変換に併せて
補正変換する色補正変換定義付加部2−2により色記述
を含むページ記述言語プログラムを、色記述の各原色の
単色値をそれぞれ単色変換する定義を付加することによ
り単色変換を行う定義付加部2、単色変換されたページ
記述言語プログラムを解釈し、イメージデータに展開す
る単色インタプリタ3、単色インタプリタ3により展開
されたイメージデータを合成し、カラー出力データとし
て出力するイメージ合成部4から構成される。
FIG. 1 is a block diagram showing the arrangement of a color page description language processing apparatus according to the first embodiment of the present invention. In FIG. 1, the color page description language processing device is
A monochromatic conversion definition adding unit that reads a page description language program 1 including a color description from a storage unit such as a buffer (not shown) and adds a definition for monochromatic conversion of a monochromatic value of each primary color of the color description of the page description language program 1 2-1 and a page description language program including a color description by the color correction conversion definition adding unit 2-2 that performs color conversion of the monochromatic value of each primary color of the color description in accordance with the monochromatic conversion. A definition adding unit 2 that performs monochromatic conversion by adding monochromatic conversions to monochromatic values, a monochromatic interpreter 3 that interprets the monochromatic converted page description language program, and develops it into image data, and a monochromatic interpreter 3 develop it. The image synthesizing unit 4 synthesizes image data and outputs it as color output data.

【0021】ここで、色記述の各原色とは、例えばRG
Bによる色指定方式の場合においては、R(レッド)、
G(グリーン)、B(ブルー)を意味し、CMYKによ
る色指定方式の場合においては、C(シアン)、M(マ
ゼンタ)、Y(イエロー)、K(ブラック)を意味し、
各種の色指定方式により表現する要素を意味する。
Here, each primary color of the color description is, for example, RG.
In the case of the color designation method by B, R (red),
It means G (green) and B (blue), and in the case of the color designation method by CMYK, it means C (cyan), M (magenta), Y (yellow), and K (black).
It means an element represented by various color designation methods.

【0022】次に、図1のカラーページ記述言語処理装
置の動作についてフローチャートを参照して説明する。
Next, the operation of the color page description language processing apparatus of FIG. 1 will be described with reference to the flowchart.

【0023】図2は、図1のカラーページ記述言語処理
装置の動作フローチャートである。図2において、ま
ず、定義付加部2がホストコンピュータから直接、ある
いはネットワークを介して、プリンタ制御装置内の記憶
手段に格納されたページ記述言語プログラムを読み込
み、色記述の各原色の単色値に対するページ記述言語の
定義を付加し、さらに色補正を行うときには、色記述の
各原色の単色値を変更する定義を併せて付加する(ステ
ップ101)。さらに、単色インタプリタ3は、これら
の定義が付加されたページ記述言語プログラムを解釈
し、単色のイメージデータに展開する(ステップ10
2)。そして、色記述の全ての原色の単色値に対する処
理が終了したか否かを判断し(ステップ103)、終了
していない場合は、さらに、ステップ101に移行し、
処理していない他の原色の単色値に対する処理を行う。
FIG. 2 is an operation flowchart of the color page description language processing device of FIG. In FIG. 2, first, the definition adding unit 2 reads the page description language program stored in the storage means in the printer control device from the host computer directly or via the network, and the page for each monochromatic value of each primary color of the color description is read. When a definition of the description language is added and further color correction is performed, a definition for changing the monochromatic value of each primary color of the color description is also added (step 101). Further, the monochrome interpreter 3 interprets the page description language program to which these definitions are added and develops it into monochrome image data (step 10).
2). Then, it is determined whether or not the processing for all the primary color values of the color description has been completed (step 103). If not, the process proceeds to step 101,
Performs processing for the monochromatic values of other primary colors that have not been processed.

【0024】一方、色記述の全ての原色の単色値に対す
る処理が終了したならば、イメージ合成部4がそれぞれ
の原色の単色イメージデータを合成し(ステップ10
4)、プリンタに出力する(ステップ105)。そし
て、文書データ(入力されたページ記述言語プログラ
ム)において、処理していないページがあるか否かを判
断し(ステップ106)、まだ処理していないページが
ある場合は、ステップ101に移行して処理していない
ページに対して上述した処理を繰り返す。一方、全ての
ページの処理を終了したならば、本処理を終了する。
On the other hand, when the processing for all the primary color monochromatic values of the color description is completed, the image compositing unit 4 composites monochromatic image data of each primary color (step 10).
4) Output to the printer (step 105). Then, in the document data (input page description language program), it is determined whether there is a page that has not been processed (step 106). If there is a page that has not been processed, the process proceeds to step 101. The above process is repeated for the unprocessed pages. On the other hand, when the processing of all pages is completed, this processing is completed.

【0025】次に、具体的な色記述を含むページ記述言
語プログラムを例にとり、定義の付加による単色記述の
変換について説明する。
Next, conversion of a single color description by adding a definition will be described by taking a page description language program including a concrete color description as an example.

【0026】図3は、単色変換の定義の具体的な例を示
した図である。
FIG. 3 is a diagram showing a specific example of the definition of monochromatic conversion.

【0027】図3(a)は、ページ記述言語の1つであ
るポストスクリプト(PostScript)によるCMYKの色
指定方式の色記述を含むページ記述言語プログラムを示
している。まず、この色記述を含むページ記述言語プロ
グラムについて説明する。
FIG. 3A shows a page description language program including a color description of CMYK color designation system by PostScript which is one of page description languages. First, a page description language program including this color description will be described.

【0028】「100 100 moveto」は、ペ
ンを座標(100,100)に移動することを意味す
る。
"100 100 moveto" means to move the pen to coordinates (100, 100).

【0029】「Times−Roman findfo
nt 12 scalefontsetfont」は、
ローマン書体のフォントを設定し、12ポイントの大き
さを設定することを意味する。
"Times-Roman findfo
nt 12 scalefont setfont ”
It means setting the font of Roman typeface and setting the size of 12 points.

【0030】「0.5 0.2 1 0.5 setc
mykcolor」は、CMYKによる色指定方式に対
するカレントカラーを変更するオペレータ「setcm
ykcolor」によりCMYKをそれぞれ、C(シア
ン)=0.5、M(マゼンタ)=0.2、Y(イエロ
ー)=1、K(ブラック)=0.5とする組み合わせの
色に変更することを意味する。
"0.5 0.2 1 0.5 setc
"mykcolor" is an operator "setcm" that changes the current color for the color designation method by CMYK.
CMYK is changed to a combination of C (cyan) = 0.5, M (magenta) = 0.2, Y (yellow) = 1, and K (black) = 0.5 by "ykcolor". means.

【0031】「(color)show」は、文字列’
color’を書くことを命令することを意味する。
"(Color) show" is a character string '
Means to order to write color '.

【0032】「200 200 moveto」は、ペ
ンを座標(200,200)に移動することを意味す
る。
"200 200 moveto" means to move the pen to the coordinates (200, 200).

【0033】「0.1 0.6 0.2 1 setc
mykcolor」は、CMYKによる色指定方式に対
するカレントカラーを変更するオペレータ「setcm
ykcolor」によりCMYKをそれぞれ、C(シア
ン)=0.1、M(マゼンタ)=0.6、Y(イエロ
ー)=0.2、K(ブラック)=1とする組み合わせの
色に変更することを意味する。
"0.1 0.6 0.2 1 setc
"mykcolor" is an operator "setcm" that changes the current color for the color designation method by CMYK.
CMYK = 0.1, M (magenta) = 0.6, Y (yellow) = 0.2, K (black) = 1 by CMYK by ykcolor. means.

【0034】「300 200 lineto」は、座
標(300,200)まで直線を描画することを意味す
る。従って、直線は、座標(200,200)から座標
(300,200)まで描かれることになる。
"300 200 lineto" means to draw a straight line up to coordinates (300, 200). Therefore, the straight line is drawn from the coordinates (200, 200) to the coordinates (300, 200).

【0035】これにより、CMYKの値がそれぞれ0.
5,0.2,1,0.5を有した色の’color’と
いう文字列が書かれ、CMYKの値がそれぞれ0.1,
0.6,0.2,1を有した色の直線が座標(200,
200)から座標(300,200)まで描かれること
になる。
As a result, the CMYK values are 0.
The character string'color 'of the color having 5, 0.2, 1, 0.5 is written, and the values of CMYK are 0.1,
A straight line with a color of 0.6, 0.2, 1 has coordinates (200,
From 200) to coordinates (300,200) will be drawn.

【0036】このような色記述を含むポストスクリプト
プログラムに対して、定義付加部2が定義を付加する単
色変換の定義を図3(b)〜図3(e)に示している。
Definitions of monochromatic conversion in which the definition adding unit 2 adds a definition to a Postscript program including such a color description are shown in FIGS. 3B to 3E.

【0037】図3(b)〜図3(e)は、単色変換定義
付加部2−1が有する定義である。すなわち、図3
(b)は、シアン(C)に対する単色変換の定義を、図
3(c)は、マゼンタ(M)に対する単色変換の定義
を、図3(d)は、イエロー(Y)に対する単色変換の
定義を、図3(e)は、ブラック(B)に対する単色変
換の定義を示している。
3 (b) to 3 (e) are the definitions possessed by the monochromatic conversion definition adding section 2-1. That is, FIG.
3B is a definition of a monochrome conversion for cyan (C), FIG. 3C is a definition of a monochrome conversion for magenta (M), and FIG. 3D is a definition of a monochrome conversion for yellow (Y). 3 (e) shows the definition of monochromatic conversion for black (B).

【0038】例えば、図3(b)におけるシアンに対す
る単色変換の定義は、 /setcmykcolor{pop pop pop
setgray}def であり、オペレータ「setcmykcolor」のオ
ペランドは、シアン,マゼンタ,イエロー,ブラックの
順で並んでいるため、シアン以外の値をオペレータ「p
op」により取り除き、オペレータ「setgray」
により、残ったシアンの値をグレー値として設定してい
る。例えば、図3(a)中の色記述、 0.5 0.2 1 0.5 setcmykcolo
r はシアンが「0.5」、マゼンタが「0.2」、イエロ
ーが「1」、ブラックが「0.5」の値をもつことを意
味している。ここでオペレータ「pop」はブラックか
らシアンへの順番に対して作用するため、シアン「0.
5」の値のみがグレー値への変換の対象となる。従っ
て、この定義を付加することにより、オペレータ「se
tcmykcolor」による色記述中のシアンの値が
グレー値に変更される。この場合、シアン以外の値は、
グレー値への変更に関与しない。
For example, the definition of the monochrome conversion for cyan in FIG. 3B is as follows: / setcmykcolor {pop pop pop
setgray} def, and the operands of the operator "setcmmykcolor" are arranged in the order of cyan, magenta, yellow, and black.
op "to remove, operator" setgray "
Sets the remaining cyan value as a gray value. For example, the color description in FIG. 3A, 0.5 0.2 1 0.5 setcmykcol
r means that cyan has a value of "0.5", magenta has a value of "0.2", yellow has a value of "1", and black has a value of "0.5". Here, since the operator "pop" acts on the order from black to cyan, cyan "0.
Only values of "5" are subject to conversion to gray values. Therefore, by adding this definition, the operator "se
The cyan value in the color description by "tcmykcolor" is changed to the gray value. In this case, values other than cyan are
Does not participate in changes to gray values.

【0039】また、図3(c)は、同様にマゼンタ以外
の値をオペレータ「pop」により取り除き、マゼンタ
のみの値をオペレータ「setgray」によりグレー
値に変更する。この場合、図3(c)の「4 1 ro
ll」は、C←M←Y←Kの方向に1回回転させること
であり、この結果、4つの原色の順番は、MYKCの順
番となり、「pop」オペレータにより、YKCが取り
除かれ、Mすなわち、マゼンタの値「0.2」のみがグ
レー値への変換の対象となる。
Further, in FIG. 3C, similarly, values other than magenta are removed by the operator "pop", and values only magenta are changed to gray values by the operator "setgray". In this case, “4 1 ro in FIG.
"ll" means to rotate once in the direction of C ← M ← Y ← K. As a result, the order of the four primary colors becomes the order of MYKC, and YKC is removed by the "pop" operator. , Magenta value “0.2” is the only target for conversion to gray value.

【0040】さらに、図3(d)は、イエロー以外の値
をオペレータ「pop」により取り除き、イエローのみ
の値をオペレータ「setgray」によりグレー値に
変更する。この場合、図3(d)の「4 2 rol
l」は、C←M←Y←Kの方向に2回回転させることで
あり、この結果、YKMCの順番となり、KMCが「p
op」オペレータにより取り除かれ、Yすなわち、イエ
ローの値「1」のみがグレー値への変換の対象となる。
Further, in FIG. 3D, the values other than yellow are removed by the operator "pop", and the values of only yellow are changed to gray values by the operator "setgray". In this case, “4 2 roll” in FIG.
“L” means to rotate twice in the direction of C ← M ← Y ← K, and as a result, the order is YKMC, and KMC is “p”.
The "op" operator removes Y, that is, only the yellow value "1" is subject to conversion to gray values.

【0041】さらに、図3(e)も、ブラック以外の値
をオペレータ「pop」により取り除き、ブラックのみ
の値をオペレータ「setgray」によりグレー値に
変更する。この場合、図3(e)の「4 −1 rol
l」は、C→M→Y→K方向に1回回転させることであ
り、この結果、KCMYの順番となり、CMYが「po
p」オペレータにより取り除かれ、Kすなわち、ブラッ
クの値「0.5」がグレー値への変換の対象となる。
Further, also in FIG. 3E, the values other than black are removed by the operator "pop", and the values of only black are changed to gray values by the operator "setgray". In this case, “4-1 roll” in FIG.
“L” means to rotate once in the direction of C → M → Y → K. As a result, the order of KCMY becomes, and CMY becomes “po.
Removed by the "p" operator, K, ie the black value "0.5", is subject to conversion to gray values.

【0042】この図3(b)〜図3(e)の4つの単色
変更の定義を1セットとし、この1セットの定義付加に
より、CMYKによる色指定方式の記述が単色変換され
ることになる。
The definitions of the four monochromatic changes in FIGS. 3B to 3E are set as one set, and the addition of the one set results in the CMYK color designation method description being monochromatic converted. .

【0043】なお、この図3(a)のプログラム例で
は、オペレータ「setcmykcolor」のみの定
義について説明したが、同様にRGBによる色指定方式
の場合の色記述オペレータ「setrgbcolo
r」、HSB方式による色記述オペレータ「seths
bcolor」、あるいはオペレータ「colorim
age」など全ての色記述に関するオペレータに対する
定義が行われる。ここで、HSB方式のHは色相(hu
e)、Sは彩度(saturation)、Bは明度
(brightness)である。
In the program example of FIG. 3 (a), the definition of only the operator "setcmykcolor" has been described, but similarly, the color description operator "setrgbcol" in the case of the color designation method by RGB.
r ”, a color description operator“ seths ”according to the HSB method
bcolor ”or operator“ colorim ”
The definition for the operator regarding all color descriptions such as “age” is performed. Here, H of the HSB method is a hue (hu
e) and S are saturations, and B is brightness.

【0044】また、上記説明では、CMYKの各原色に
対するグレースケールへの展開のための定義を例として
示したが、CMYKによる色指定方式からRGB、HS
Bなど色指定方式への変換など、各種色指定方式間の変
換定義を付加することにより各種色指定方式間の変換を
行うこともできる。
Further, in the above description, the definition for developing the CMYK primary colors into the gray scale is shown as an example. However, from the color designation system by CMYK, RGB, HS
It is also possible to perform conversion between various color designation methods by adding a conversion definition between various color designation methods such as conversion to a color designation method such as B.

【0045】例えば、CMYKによる色指定方式から、
RGBによる色指定方式に変換する次の3つの式をペー
ジ記述言語で定義すればよい。
For example, from the CMYK color designation system,
The following three expressions for converting to the RGB color specification method may be defined in the page description language.

【0046】R=1−(C+K) G=1−(M+K) B=1−(Y+K) 次に、色補正について説明する。R = 1- (C + K) G = 1- (M + K) B = 1- (Y + K) Next, color correction will be described.

【0047】図4は、RGBによる色指定方式の色記述
の色補正の定義を示した図である。図4において、図4
(a)〜図4(c)は、それぞれ、レッド(R),グリ
ーン(G),ブルー(B)の色補正の定義をページ記述
言語プログラムで示したものである。
FIG. 4 is a diagram showing the definition of the color correction of the color description of the color designation method by RGB. In FIG.
FIGS. 4A to 4C show definitions of red (R), green (G), and blue (B) color corrections in a page description language program, respectively.

【0048】このときの色補正は、次の1次変換式によ
る色補正を実現したものである。すなわち、 R=m11R’+m12G’+m13B’+d1 G=m21R’+m22G’+m23B’+d2 B=m31R’+m32G’+m33B’+d3 ここで、R’,G’,B’は、被演算信号であり、mi
j(i=1,2,3、j=1,2,3)は被演算信号の
補正係数、d1〜d3は、オフセット補正項である。こ
れにより、(R,G,B)による色記述は、(R’,
G’,B’)の色記述に補正され、さらにオペレータ
「setgray」によりグレー値にそれぞれ変換され
る。このときのRからR’への色補正を含むグレー値へ
の変換の定義が図4(a)であり、GからG’への色補
正を含むグレー値への変換の定義が図4(b)であり、
BからB’への色補正を含むグレー値への変換の定義が
図4(c)である。
The color correction at this time realizes the color correction by the following primary conversion formula. That is, R = m11R '+ m12G' + m13B '+ d1 G = m21R' + m22G '+ m23B' + d2 B = m31R '+ m32G' + m33B '+ d3 where R', G ', and B'are signals to be calculated, mi
j (i = 1,2,3, j = 1,2,3) is a correction coefficient of the signal to be operated, and d1 to d3 are offset correction terms. As a result, the color description by (R, G, B) becomes (R ',
G ', B') are corrected to the color description, and are further converted into gray values by the operator "setgray". The definition of the conversion to the gray value including the color correction from R to R ′ at this time is shown in FIG. 4A, and the definition of the conversion to the gray value including the color correction from G to G ′ is shown in FIG. b),
The definition of the conversion to the gray value including the color correction from B to B ′ is shown in FIG.

【0049】ここで、この色補正を含むグレー値への変
換の定義の意味について説明する。例えば、図4(a)
のレッドのグレー値への変換の定義について説明する
と、RGBによる色指定方式による色の変更オペレータ
「setorgbcolor」に関して{}内のように
色補正を変更することにより、R(レッド)の値が補正
される。
Here, the meaning of the definition of conversion into gray values including the color correction will be described. For example, in FIG.
The definition of the conversion of red into gray values will be explained. The value of R (red) is corrected by changing the color correction as in {} for the color change operator "setorgbcolor" by the RGB color specification method. To be done.

【0050】すなわち、最初に、R→G→Bの値がすで
にスタックされており、これに対し、「m13 mul
exch」を行うと、新たに補正係数m13が与えら
れ、m13→R→G→Bの順でスタックされたことにな
る。そして、乗算オペレータである「mul」により
「m13×R」が実行され、(m13×R)→G→Bの
順でスタックされる。さらに、相互置換オペレータ「e
xch」により、(m13×R)とGの相互置換を行
い、G→(m13×R)→Bの順でスタックされる。
That is, first, the values of R → G → B are already stacked, while "m13 mul"
When “exch” is performed, a correction coefficient m13 is newly provided, and the stacking is performed in the order of m13 → R → G → B. Then, “m13 × R” is executed by the multiplication operator “mul”, and they are stacked in the order of (m13 × R) → G → B. Furthermore, the mutual replacement operator "e
xch ”performs mutual replacement of (m13 × R) and G, and stacks in the order of G → (m13 × R) → B.

【0051】次に、「m12 mul add exc
h」を行う。すなわち、新たな補正係数m12が与えら
れ、m12→G→(m13×R)→Bの順でスタックさ
れる。そして、乗算オペレータ「mul」により、m1
2とGの乗算が行われ、(m12×G)→(m13×
R)→Bの順でスタックされる。さらに、加算オペレー
タ「add」により、(m12×G)と(m13×R)
の加算が行われ、(m12×G+m13×R)→Bの順
でスタックされる。最後に、相互置換オペレータ「ex
ch」により、相互置換を行い、B→(m12×G+m
13×R)の順でスタックされる。
Next, "m12 mul add exc
h ”. That is, a new correction coefficient m12 is given, and the stack is performed in the order of m12 → G → (m13 × R) → B. Then, by the multiplication operator "mul", m1
The multiplication of 2 and G is performed, and (m12 × G) → (m13 ×
R) → B are stacked in this order. Furthermore, by the addition operator “add”, (m12 × G) and (m13 × R)
Is added, and the stack is made in the order of (m12 × G + m13 × R) → B. Finally, the mutual replacement operator "ex
ch ”to perform mutual replacement, and B → (m12 × G + m
13 × R) are stacked in this order.

【0052】さらに、「m11 mul add」を行
う。すなわち、新たな補正係数m11が与えられ、m1
1→B→(m12×G+m13×R)でスタックされ、
乗算オペレータ「mul」により、m11とBの乗算が
行われ、(m11×B)→(m12×G+m13×R)
のようにスタックされる。そして、加算オペレータ「a
dd」により、(m11×B)と(m12×G+m13
×R)の加算を行い、(m11×B+m12×G+m1
3×R)が作成され、さらに、「d1 add」を行う
ことによって、オフセット補正項d1が与えられ、d1
→(m11×G+m12×G+m13×R)とスタック
され、加算オペレータ「add」により、最終的に、
「d1+m11×G+m12×G+m13×R」が作成
される。
Further, "m11 mul add" is performed. That is, a new correction coefficient m11 is given and m1
1 → B → (m12 × G + m13 × R) stacked,
The multiplication operator “mul” multiplies m11 and B, and (m11 × B) → (m12 × G + m13 × R)
Is stacked like. Then, the addition operator "a
dd ”, (m11 × B) and (m12 × G + m13
× R) is added and (m11 × B + m12 × G + m1)
3 × R) is created, and the offset correction term d1 is given by performing “d1 add” to obtain d1
→ (m11 × G + m12 × G + m13 × R) is stacked, and finally by the addition operator “add”,
“D1 + m11 × G + m12 × G + m13 × R” is created.

【0053】これにより、R(レッド)に関する色補
正、すなわち、 R=m11R’+m12G’+m13B’+d1 の変換が行われる。
As a result, color correction for R (red), that is, conversion of R = m11R '+ m12G' + m13B '+ d1 is performed.

【0054】そして、グレー値に変更するオペレータ
「setgray」によりグレー値に変換される。
Then, it is converted into a gray value by the operator "setgray" for changing into a gray value.

【0055】なお、図4(b)のG(グリーン)の色補
正あるいは、図4(c)のB(ブルー)の色補正につい
ては、図4(a)の色補正と同様にして、色補正の変換
が行われる。
The G (green) color correction of FIG. 4B or the B (blue) color correction of FIG. 4C is performed in the same manner as the color correction of FIG. 4A. A correction conversion is performed.

【0056】このように、単色変換に色補正の定義を含
ませることにより、オペレータの数で決定される演算回
数が大幅に省略することができ、高速の色補正処理がで
きる。
In this way, by including the definition of color correction in the single color conversion, the number of calculations determined by the number of operators can be greatly omitted, and high speed color correction processing can be performed.

【0057】次に、第2の実施例について説明する。Next, the second embodiment will be described.

【0058】図5は、本発明の第2の実施例であるカラ
ーページ記述言語処理装置の構成を示すブロック図であ
る。図5において、カラーページ記述言語処理装置は、
図示されていないバッファ等の記憶手段から色記述を含
むページ記述言語プログラム11を読み込み、このペー
ジ記述言語プログラム11の色記述の各原色の単色値を
単色変換する定義を付加する単色変換定義付加部12−
1および色記述の各原色の単色値の色補正を単色変換に
併せて補正変換する色補正変換定義付加部12−2によ
り色記述を含むページ記述言語プログラムを、色記述の
各原色の単色値をそれぞれ単色変換する定義を付加する
ことにより単色変換を行う定義付加部2、単色変換され
たページ記述言語プログラムを解釈し、イメージデータ
に展開する単色インタプリタ3、単色インタプリタ3に
より展開されたイメージデータを記憶する記憶部14、
記憶部14から順次、図示していない出力装置の出力に
合わせた単色のイメージデータを読み込み、出力装置に
単色カラーデータ16を出力する制御を行う出力制御部
15から構成される。
FIG. 5 is a block diagram showing the arrangement of a color page description language processing apparatus according to the second embodiment of the present invention. In FIG. 5, the color page description language processing device is
A monochromatic conversion definition adding unit for reading a page description language program 11 including a color description from a storage means such as a buffer (not shown) and adding a definition for monochromatic conversion of monochromatic values of each primary color of the color description of the page description language program 11 12-
1 and the page description language program including the color description by the color correction conversion definition adding unit 12-2 that performs the color conversion of the color correction of the single color value of each primary color of the color description by the color correction conversion definition adding unit 12-2. Definition adding unit 2 for performing monochrome conversion by adding a definition for converting each color, a monochrome interpreter 3 that interprets the monochrome converted page description language program, and develops the image data into image data, and image data developed by the monochrome interpreter 3. A storage unit 14 for storing
The storage unit 14 is composed of an output control unit 15 which sequentially reads monochromatic image data corresponding to the output of an output device (not shown) and outputs monochromatic color data 16 to the output device.

【0059】次に、図5のカラーページ記述言語処理装
置の動作についてフローチャートを参照して説明する。
Next, the operation of the color page description language processing apparatus of FIG. 5 will be described with reference to the flowchart.

【0060】図6は、図5のカラーページ記述言語処理
装置の動作フローチャートである。図6において、ま
ず、定義付加部12がホストコンピュータから直接、あ
るいはネットワークを介して、プリンタ制御装置内の記
憶手段に格納されたページ記述言語プログラムを読み込
み、色記述の各原色の単色値に対するページ記述言語の
定義を付加し、さらに色補正を行うときには、色記述の
各原色の単色値を変更する定義を併せて付加する(ステ
ップ201)。さらに、単色インタプリタ13は、これ
らの定義が付加されたページ記述言語プログラムを解釈
し、単色のイメージデータに展開する(ステップ20
2)。そして、展開され、記憶部14に記憶された単色
のイメージデータを読み込み、出力制御部15の制御の
もとにプリンタに単色カラーデータを出力する(ステッ
プ203)。そして、色記述の全ての原色の単色値に対
する処理が終了したか否かを判断し(ステップ20
4)、終了していない場合は、さらに、ステップ201
に移行し、処理していない他の原色の単色値に対する処
理を行う。
FIG. 6 is an operation flowchart of the color page description language processing device of FIG. In FIG. 6, first, the definition adding unit 12 reads the page description language program stored in the storage means in the printer control device from the host computer directly or via the network, and the page for each monochromatic value of each primary color of the color description is read. When a definition of the description language is added and further color correction is performed, a definition for changing the monochromatic value of each primary color of the color description is also added (step 201). Further, the monochrome interpreter 13 interprets the page description language program to which these definitions are added and develops it into monochrome image data (step 20).
2). Then, the monochromatic image data that has been expanded and stored in the storage unit 14 is read, and the monochromatic color data is output to the printer under the control of the output control unit 15 (step 203). Then, it is determined whether or not the processing for all the primary color values of the color description is completed (step 20).
4) If it has not been completed, further step 201
Then, the processing is performed on the monochromatic values of the other primary colors that have not been processed.

【0061】一方、色記述の全ての原色の単色値に対す
る処理が終了したならば、文書データ(入力されたペー
ジ記述言語プログラム)において、処理していないペー
ジがあるか否かを判断し(ステップ205)、まだ処理
していないページがある場合は、ステップ201に移行
して処理していないページに対して上述した処理を繰り
返す。一方、全てのページの処理を終了したならば、本
処理を終了する。
On the other hand, when the processing for all the monochromatic values of the primary colors of the color description is completed, it is determined whether or not there is an unprocessed page in the document data (input page description language program) (step 205), if there is a page that has not been processed yet, the process proceeds to step 201 and the above-described processing is repeated for the page that has not been processed. On the other hand, when the processing of all pages is completed, this processing is completed.

【0062】次に、具体的な色記述を含むページ記述言
語プログラムを例にとり、定義の付加による単色記述の
変換について説明する。
Next, the conversion of a single color description by adding a definition will be described by taking a page description language program including a concrete color description as an example.

【0063】図7は、単色変換の定義の具体的な例を示
した図である。図7(a)は、ページ記述言語の1つで
あるポストスクリプト(PostScript)によるCMYKの
色指定方式の色記述を含むページ記述言語プログラムを
示している。この色記述を含むページ記述言語プログラ
ムは、図3と同じプログラムであり、プログラムの意味
についても同じである。
FIG. 7 is a diagram showing a specific example of the definition of monochromatic conversion. FIG. 7A shows a page description language program including a color description of a CMYK color specification method by PostScript which is one of page description languages. The page description language program including this color description is the same program as in FIG. 3 and has the same meaning as the program.

【0064】図7(a)におけるポストスクリプトプロ
グラム中の色記述である、CMYKによる色指定方式に
対するカレントカラーを変更するオペレータ「setc
mykcolor」に対して定義付加部12が定義を付
加する単色変換の定義を図7(b)〜図7(e)に示し
ている。また、図7(b)〜図7(e)は、単色変換定
義付加部12−1が有する定義である。すなわち、図7
(b)は、シアン(C)に対する単色変換の定義を、図
7(c)は、マゼンタ(M)に対する単色変換の定義
を、図7(d)は、イエロー(Y)に対する単色変換の
定義を、図7(e)は、ブラック(B)に対する単色変
換の定義を示している。
The operator "setc" for changing the current color for the color designation method by CMYK, which is the color description in the PostScript program in FIG. 7A.
7B to 7E show the definition of the monochrome conversion in which the definition adding unit 12 adds the definition to "mykcolor". Further, FIGS. 7B to 7E are definitions included in the monochromatic conversion definition adding unit 12-1. That is, FIG.
7B is a definition of monochromatic conversion for cyan (C), FIG. 7C is a definition of monochromatic conversion for magenta (M), and FIG. 7D is a definition of monochromatic conversion for yellow (Y). 7 (e) shows the definition of monochromatic conversion for black (B).

【0065】例えば、図3(b)におけるシアンに対す
る単色変換の定義は、 /setcmykcolor{pop pop pop
setgray}def であり、オペレータ「setcmykcolor」のオ
ペランドは、シアン,マゼンタ,イエロー,ブラックの
順で並んでいるため、シアン以外の値をオペレータ「p
op」により取り除き、オペレータ「setgray」
により、残ったシアンの値をグレー値として設定してい
る。従って、この定義を付加することにより、オペレー
タ「setcmykcolor」による色記述中のシア
ンの値がグレー値に変更される。なお、シアン以外の値
は、グレー値への変更に関与しない。
For example, the definition of the monochrome conversion for cyan in FIG. 3B is as follows: / setcmykcolor {pop pop pop
setgray} def, and the operands of the operator "setcmmykcolor" are arranged in the order of cyan, magenta, yellow, and black.
op "to remove, operator" setgray "
Sets the remaining cyan value as a gray value. Therefore, by adding this definition, the cyan value in the color description by the operator "setcmykcolor" is changed to the gray value. Note that values other than cyan do not contribute to the change to gray values.

【0066】また、図7(c)は、同様にマゼンタ以外
の値をオペレータ「pop」により取り除き、マゼンタ
のみの値をオペレータ「setgray」によりグレー
値に変更する。さらに、図7(d)は、イエロー以外の
値をオペレータ「pop」により取り除き、イエローの
みの値をオペレータ「setgray」によりグレー値
に変更する。さらに、図7(e)も、ブラック以外の値
をオペレータ「pop」により取り除き、ブラックのみ
の値をオペレータ「setgray」によりグレー値に
変更する。
In FIG. 7C, similarly, the values other than magenta are removed by the operator "pop", and the values only magenta are changed to gray values by the operator "setgray". Further, in FIG. 7D, the values other than yellow are removed by the operator “pop”, and the values of only yellow are changed to gray values by the operator “setgray”. Further, also in FIG. 7E, the values other than black are removed by the operator “pop”, and the values of only black are changed to gray values by the operator “setgray”.

【0067】この図7(b)〜図7(e)のそれぞれの
単色変更の定義のにより変更されたページ記述言語プロ
グラムをもとに、単色のイメージデータが作成され、単
色のイメージデータごとに出力されることになる。そし
て、4つの単色変更されたページ単位の単色のイメージ
データが順次出力され、1ページのカラー出力がなされ
る。
Image data of a single color is created based on the page description language program changed by the definition of the single color change of FIGS. 7B to 7E, and for each image data of the single color. Will be output. Then, four single-color image data of single-color changed page units are sequentially output, and color output of one page is performed.

【0068】なお、この図7(a)のプログラム例で
は、オペレータ「setcmykcolor」のみの定
義について説明したが、同様にRGBによる色指定方式
の場合の色記述オペレータ「setrgbcolo
r」、HSB方式による色記述オペレータ「seths
bcolor」、あるいはオペレータ「colorim
age」など全ての色記述に関するオペレータに対する
定義が行われる。
In the program example shown in FIG. 7A, the definition of only the operator "setcmykcolor" has been described. Similarly, the color description operator "setrgbcol" in the case of the color designation method by RGB.
r ”, a color description operator“ seths ”according to the HSB method
bcolor ”or operator“ colorim ”
The definition for the operator regarding all color descriptions such as “age” is performed.

【0069】また、上記説明では、CMYKの各原色に
対するグレースケールへの展開のための定義を例として
示したが、CMYKによる色指定方式からRGB、HS
Bなど色指定方式への変換など、各種色指定方式間の変
換定義を付加することにより各種色指定方式間の変換を
行うこともできる。
Further, in the above description, the definition for developing the CMYK primary colors into the gray scale is shown as an example. However, from the color designating method by CMYK, RGB, HS
It is also possible to perform conversion between various color designation methods by adding a conversion definition between various color designation methods such as conversion to a color designation method such as B.

【0070】次に、色補正について説明する。Next, color correction will be described.

【0071】図8は、RGBによる色指定方式の色記述
の色補正の定義を示した図である。図8において、図8
(a)〜図8(c)は、それぞれ、レッド(R),グリ
ーン(G),ブルー(B)の色補正の定義をページ記述
言語プログラムで示したものである。
FIG. 8 is a diagram showing the definition of the color correction of the color description of the color designation method by RGB. In FIG.
FIGS. 8A to 8C show definitions of color corrections of red (R), green (G), and blue (B) in a page description language program, respectively.

【0072】このときの色補正は、次の1次変換式によ
る色補正を実現したものである。すなわち、 R=m11R’+m12G’+m13B’+d1 G=m21R’+m22G’+m23B’+d2 B=m31R’+m32G’+m33B’+d3 ここで、R’,G’,B’は、被演算信号であり、mi
j(i=1,2,3、j=1,2,3)は被演算信号の
補正係数、d1〜d3は、オフセット補正項である。こ
れにより、(R,G,B)による色記述は、(R’,
G’,B’)の色記述に補正され、さらにオペレータ
「setgray」によりグレー値にそれぞれ変換され
る。このときのRからR’への色補正を含むグレー値へ
の変換の定義が図8(a)であり、GからG’への色補
正を含むグレー値への変換の定義が図8(b)であり、
BからB’への色補正を含むグレー値への変換の定義が
図8(c)である。なお、この色補正のを含むグレー値
への変換の定義は、図4(a)〜(c)と同じであり、
意味についても同じである。
The color correction at this time realizes the color correction by the following primary conversion formula. That is, R = m11R '+ m12G' + m13B '+ d1 G = m21R' + m22G '+ m23B' + d2 B = m31R '+ m32G' + m33B '+ d3 where R', G ', and B'are signals to be calculated, mi
j (i = 1,2,3, j = 1,2,3) is a correction coefficient of the signal to be operated, and d1 to d3 are offset correction terms. As a result, the color description by (R, G, B) becomes (R ',
G ', B') are corrected to the color description, and are further converted into gray values by the operator "setgray". The definition of the conversion to the gray value including the color correction from R to R ′ at this time is shown in FIG. 8A, and the definition of the conversion to the gray value including the color correction from G to G ′ is shown in FIG. b),
The definition of the conversion to the gray value including the color correction from B to B ′ is shown in FIG. Note that the definition of conversion to gray values including this color correction is the same as in FIGS. 4A to 4C,
The meaning is the same.

【0073】このように、単色変換に色補正の定義を含
ませることにより、オペレータの数で決定される演算回
数が大幅に省略することができ、高速の色補正処理がで
きる。
In this way, by including the definition of color correction in the single color conversion, the number of calculations determined by the number of operators can be greatly omitted, and high speed color correction processing can be performed.

【0074】このように、本実施例においては、色記述
に対する単色変換の定義を付加することにより、結果的
に色記述を単色値ごとに分離した、単色値ごとの単色記
述に変換することができる。また、色補正を単色記述へ
の変換の際に付加することにより色補正演算が高速に行
うことができる。
As described above, in the present embodiment, by adding the definition of the monochromatic conversion to the color description, the color description can be converted into the monochromatic description for each monochromatic value as a result. it can. In addition, the color correction calculation can be performed at high speed by adding the color correction at the time of conversion into the monochrome description.

【0075】[0075]

【発明の効果】以上説明したように、本発明は、所定の
複数の原色を用いた所定の色指定方式による色記述を含
むページ記述言語で表現された入力文書データに、前記
色記述を1つの原色の単色値のみをもつ単色記述に変換
する定義を付加する付加手段を有し、この定義が付加さ
れた文書データを解釈して単色のイメージデータに展開
し、展開された前記複数の原色ごとの単色のイメージデ
ータを合成してカラーイメージデータを作成し、出力す
る。また、出力装置が「1パス1カラー」のプリンタの
ように、各原色ごとに出力を行う場合には、一度ページ
単位に展開した単色のイメージデータを記憶し、各原色
ごとに逐次ページ単位で出力する付加手段の定義に合わ
せて、色補正を行うようにしている。
As described above, according to the present invention, the above-mentioned color description is added to the input document data expressed in the page description language including the color description by the predetermined color designation method using the predetermined plural primary colors. It has additional means for adding a definition to convert it into a single-color description having only single-color values of one primary color, interprets the document data with this definition added, develops it into single-color image data, and develops the plurality of primary colors. The single color image data for each is combined to create color image data and output. When the output device outputs for each primary color like a "1-pass 1-color" printer, single-color image data that has been developed once for each page is stored, and each primary color is sequentially output for each page. Color correction is performed in accordance with the definition of the output means.

【0076】従って、色記述を含むページ記述言語プロ
グラムを色記述を各原色ごとに分離することなく、定義
の付加のみで分離し、しかも単色のコントローラを使用
して処理を行うことができるので、高速に処理を行うこ
とができるという利点を有する。
Therefore, the page description language program including the color description can be separated only by adding the definition without separating the color description for each primary color, and the processing can be performed by using the controller of a single color. It has an advantage that processing can be performed at high speed.

【0077】また、出力装置が「1パス1カラー」のプ
リンタである場合に、色記述のそれぞれの原色の展開が
終了する度にプリンタに出力するため、単色のイメージ
データを記憶するメモリのみでカラー出力を行うことが
できるため、メモリの大幅な節約を行うことができると
いう利点を有する。
Further, when the output device is a "1-pass 1-color" printer, the output is output to the printer each time the development of each primary color of the color description is completed, so only a memory for storing image data of a single color is used. Since color output can be performed, there is an advantage that a large amount of memory can be saved.

【0078】さらに、色補正を行う場合には、単色変換
の定義に加えて色補正を行うようにしているので、色補
正の演算処理時間を短縮することができるという利点を
有する。
Further, in the case of performing color correction, since color correction is performed in addition to the definition of monochromatic conversion, there is an advantage that the calculation processing time of color correction can be shortened.

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

【図1】本発明の第1の実施例であるカラーページ記述
言語処理装置の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a color page description language processing device according to a first embodiment of the present invention.

【図2】図1のカラーページ記述言語処理装置の動作フ
ローチャート。
FIG. 2 is an operation flowchart of the color page description language processing device of FIG.

【図3】単色変換の定義の具体的な例を示した図。FIG. 3 is a diagram showing a specific example of a definition of monochrome conversion.

【図4】RGBによる色指定方式の色記述の色補正の定
義を示した図。
FIG. 4 is a diagram showing a definition of color correction of a color description of a color designation method by RGB.

【図5】本発明の第2の実施例であるカラーページ記述
言語処理装置の構成を示すブロック図。
FIG. 5 is a block diagram showing a configuration of a color page description language processing device according to a second embodiment of the present invention.

【図6】図5のカラーページ記述言語処理装置の動作フ
ローチャート。
6 is an operation flowchart of the color page description language processing device of FIG.

【図7】単色変換の定義の具体的な例を示した図。FIG. 7 is a diagram showing a specific example of a definition of monochromatic conversion.

【図8】RGBによる色指定方式の色記述の色補正の定
義を示した図。
FIG. 8 is a diagram showing a definition of color correction of a color description of a color designation method by RGB.

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

1 ページ記述言語プログラム 2 定義付加部 2−1 単色変換定義付加部 2−2 色補正定義付加
部 3 単色インタプリタ 4 イメージ合成部 5 カラ
ー出力データ
1 page description language program 2 definition addition section 2-1 monochromatic conversion definition addition section 2-2 color correction definition addition section 3 monochromatic interpreter 4 image synthesis section 5 color output data

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 B41J 29/38 Z 9113−2C G06F 9/45 15/40 530 L 7218−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location B41J 29/38 Z 9113-2C G06F 9/45 15/40 530 L 7218-5L

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】所定の複数の色要素を用いた所定の色指定
方式による色記述を含むページ記述言語で表現された入
力文書データに、前記色記述を複数の色要素のうちの1
つの色要素値のみをもつ単一要素記述に変換する定義を
付加する付加手段と、 前記付加手段による定義が付加された文書データを解釈
して所定の単一要素のイメージデータに展開する展開手
段と、 前記展開手段により展開された前記複数の色要素ごとの
所定の単一要素のイメージデータを合成してカラーイメ
ージデータを作成する合成手段とを具備したことを特徴
とするカラーページ記述言語処理装置。
1. The input document data expressed in a page description language including a color description according to a predetermined color designation method using a plurality of predetermined color elements, the color description being one of the plurality of color elements.
Adding means for adding a definition for converting into a single element description having only one color element value, and expanding means for interpreting the document data to which the definition by the adding means is added and developing the image data of a predetermined single element And a synthesizing means for synthesizing image data of a predetermined single element for each of the plurality of color elements expanded by the expanding means to create color image data. apparatus.
【請求項2】所定の複数の色要素を用いた所定の色指定
方式による色記述を含むページ記述言語で表現された入
力文書データに、前記色記述を複数の色要素のうちの1
つの色要素値のみをもつ単一要素記述に変換する定義を
付加する付加手段と、 前記付加手段による定義が付加された文書データを解釈
して所定の単一要素のイメージデータに展開する展開手
段と、 前記展開手段により展開された前記複数の色要素ごとの
所定の単一要素のイメージデータを記憶する記憶手段
と、 前記記憶手段に記憶された前記複数の色要素ごとの所定
の単一要素のイメージデータを順次読み出して、前記複
数の色要素に対応した所定の単一要素のイメージデータ
の出力制御を行う出力制御手段とを具備したことを特徴
とするカラーページ記述言語処理装置。
2. The input document data expressed in a page description language including a color description according to a predetermined color designation method using a plurality of predetermined color elements, the color description being one of the plurality of color elements.
Adding means for adding a definition for converting into a single element description having only one color element value, and expanding means for interpreting the document data to which the definition by the adding means is added and developing the image data of a predetermined single element A storage unit for storing image data of a predetermined single element for each of the plurality of color elements developed by the developing unit; and a predetermined single element for each of the plurality of color elements stored in the storage unit. And an output control means for controlling the output of image data of a predetermined single element corresponding to the plurality of color elements.
【請求項3】さらに、前記入力文書データに、前記所定
の単一要素記述の変換に併せて、前記複数の色要素の要
素値の補正を行う定義を付加する第2の付加手段を設
け、 前記展開手段は、前記第2の付加手段に基づいて、前記
複数の色要素の要素値の補正を行うことを特徴とする前
記請求項1または前記請求項2記載のカラーページ記述
言語処理装置。
3. A second adding means for adding a definition for correcting the element values of the plurality of color elements to the input document data in accordance with the conversion of the predetermined single element description, The color page description language processing device according to claim 1 or 2, wherein the expansion means corrects the element values of the plurality of color elements based on the second addition means.
JP28906392A 1992-10-27 1992-10-27 Color page description language processor Expired - Fee Related JP3146690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28906392A JP3146690B2 (en) 1992-10-27 1992-10-27 Color page description language processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28906392A JP3146690B2 (en) 1992-10-27 1992-10-27 Color page description language processor

Publications (2)

Publication Number Publication Date
JPH06139033A true JPH06139033A (en) 1994-05-20
JP3146690B2 JP3146690B2 (en) 2001-03-19

Family

ID=17738348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28906392A Expired - Fee Related JP3146690B2 (en) 1992-10-27 1992-10-27 Color page description language processor

Country Status (1)

Country Link
JP (1) JP3146690B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6179409B1 (en) 1998-11-09 2001-01-30 Nec Corporation Color printing apparatus and color print data analyzing method
JP2003528403A (en) * 2000-03-23 2003-09-24 イメーション コーポレイション Correct color value of page description file
JP2010015545A (en) * 2008-05-08 2010-01-21 Infoprint Solutions Co Llc Mechanism for k-only object rendering in high-speed color controller
JP2016208360A (en) * 2015-04-24 2016-12-08 富士ゼロックス株式会社 Image processing apparatus, image processing program and image forming apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6179409B1 (en) 1998-11-09 2001-01-30 Nec Corporation Color printing apparatus and color print data analyzing method
JP2003528403A (en) * 2000-03-23 2003-09-24 イメーション コーポレイション Correct color value of page description file
JP2010015545A (en) * 2008-05-08 2010-01-21 Infoprint Solutions Co Llc Mechanism for k-only object rendering in high-speed color controller
JP2016208360A (en) * 2015-04-24 2016-12-08 富士ゼロックス株式会社 Image processing apparatus, image processing program and image forming apparatus

Also Published As

Publication number Publication date
JP3146690B2 (en) 2001-03-19

Similar Documents

Publication Publication Date Title
JP4155322B2 (en) Image processing apparatus, image processing method, and image processing program
US7379209B1 (en) Color separation of pattern color spaces and form XObjects
JP4458176B2 (en) Printing control apparatus, printing apparatus, and program
JP4469249B2 (en) Image processing device
JPH11105349A (en) Print processing system, print processing method and computer readable recording medium recording print processing control program
US20140078525A1 (en) Image processing apparatus, image processing method, and computer readable medium
US7777924B2 (en) Color conversion device and color conversion program
JP3146690B2 (en) Color page description language processor
US8477373B2 (en) Image processing system, image processing apparatus, image forming apparatus and computer-readable storage medium
JP5896610B2 (en) Apparatus, method and program
JP2010056769A (en) Device and method for processing image
JP2006260532A (en) Image forming apparatus and method
JP3573035B2 (en) Color printing system and drawing command generation method used therefor
JPH11216935A (en) Printer, controlling method for printing, and recording medium containing program for controlling printing
JP2831784B2 (en) Color image processing method
JP2011197956A (en) Printer control device, and printer apparatus and control method thereof
JPH10151815A (en) Printing-processing apparatus
JP3071349B2 (en) Color printing apparatus and control method for color printing apparatus
JP3826091B2 (en) Information processing apparatus, information processing method, printing apparatus, and printing method
JP4853654B2 (en) Image processing apparatus, image processing system, and image processing program
JP2024058150A (en) Image processing apparatus, image processing method, and program
JP2024085184A (en) Image processing apparatus, image processing method, and program
JP2002007088A (en) Printing data processing method
JPH11110151A (en) Printer driver, computer having printer driver, and computer system
JP2007324864A (en) Image processor, control method thereof, and program

Legal Events

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

Free format text: PAYMENT UNTIL: 20080112

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110112

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees