JP2002319018A - Plotting process device and method and computer readable recording medium recording plotting process program - Google Patents

Plotting process device and method and computer readable recording medium recording plotting process program

Info

Publication number
JP2002319018A
JP2002319018A JP2001122269A JP2001122269A JP2002319018A JP 2002319018 A JP2002319018 A JP 2002319018A JP 2001122269 A JP2001122269 A JP 2001122269A JP 2001122269 A JP2001122269 A JP 2001122269A JP 2002319018 A JP2002319018 A JP 2002319018A
Authority
JP
Japan
Prior art keywords
command
processing
drawing command
color space
image information
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.)
Pending
Application number
JP2001122269A
Other languages
Japanese (ja)
Inventor
Yozo Yamaguchi
陽三 山口
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 JP2001122269A priority Critical patent/JP2002319018A/en
Publication of JP2002319018A publication Critical patent/JP2002319018A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To increase the speed of plotting process while reproducing the colors of an image in a faithful way. SOLUTION: A method of plotting process includes the step S1 of accepting the input of plotting instructions which correspond to an RGB color space described in page description language, the step S2 of dividing the page of the accepted plotting instructions into a plurality of areas and distributing the plotting instructions to the areas, the step S4 of determining whether or not the plotting instructions distributed include logical instructions, the steps S5 and S6 of causing the plotting instructions for the area determined as containing the logical instructions to expand into image information corresponding to the RGB color space, and then converting the color of the image information into image information corresponding to a CMYK color space, and the steps S7 and S8 of causing the plotting instructions for the area determined as not containing the logic computation process instructions to be color converted into the CMYK color space, and then expanding the instructions into image information corresponding to this color space.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置等か
らの描画命令を変換して印刷装置等に出力する際に用い
られる描画処理技術に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a drawing processing technique used when a drawing command from an information processing device or the like is converted and output to a printing device or the like.

【0002】[0002]

【従来の技術】一般に、情報処理装置からの描画命令を
受けて印刷装置に画像情報を出力する描画処理装置にお
ける色表現においては、情報処理装置ではRGB表色系に
よる色空間、印刷装置ではCMYK表色系による色空間が使
われている。そのため、描画処理装置の内部では、文字
コードや線画などのオブジェクトをラスタライズする処
理と合わせて、RGB色空間からCMYK色空間への色変換処
理が行われる。
2. Description of the Related Art Generally, in a color representation in a rendering processing device which receives a rendering command from an information processing device and outputs image information to a printing device, a color space of an RGB color system is used in the information processing device, and a CMYK color space is used in the printing device. A color space based on a color system is used. Therefore, inside the drawing processing device, a color conversion process from the RGB color space to the CMYK color space is performed together with a process of rasterizing an object such as a character code or a line drawing.

【0003】ところで、情報処理装置から与えられる描
画命令の中には、画素同士の論理演算処理を指示するRO
P(Raster Operation)処理命令も含まれている。ROP処理
命令はRGB色空間での論理演算処理を指示するものであ
り、これをCMYK色空間で実現させようとすると、忠実な
色再現が行われないなどの不具合が起こる。そのため、
描画処理装置においては、RGB色空間でROP処理を行って
ラスタライズし、このラスタライズした画像情報(画素
データ)に対してCMYK色空間への色変換処理を行うの
が、忠実な色再現を実現するうえで好ましい。
[0005] By the way, a drawing command given from the information processing apparatus includes an RO command for instructing logical operation between pixels.
A P (Raster Operation) processing instruction is also included. The ROP processing instruction instructs a logical operation process in the RGB color space, and if this is to be realized in the CMYK color space, problems such as a failure to faithfully reproduce colors will occur. for that reason,
In the drawing processing apparatus, performing ROP processing in the RGB color space to perform rasterization and performing color conversion processing on the rasterized image information (pixel data) to the CMYK color space achieves faithful color reproduction. Above.

【0004】他方、色変換処理はラスタライズされた全
画素に対して行うと処理時間がかかり、パフォーマンス
が低下する。そのため、例えば特開平8−207363
号公報に記載の技術では、オブジェクトの段階で(ラス
タライズ処理を行う前に)RGB色空間からCMYK色空間への
色変換処理を行うことで、色変換処理の回数を減らして
いる(例えば25×25の単色矩形オブジェクトに対して
は、ラスタライズ後に625画素に対して色変換処理を行
うのに比べて1回の色変換処理で実現できるので大幅な
処理速度向上につながるとしている)。
On the other hand, if the color conversion processing is performed on all rasterized pixels, it takes a long processing time and the performance is reduced. Therefore, for example, Japanese Patent Application Laid-Open No. 8-207363
In the technology described in Japanese Patent Application Laid-Open Publication No. H10-157, the number of color conversion processes is reduced by performing a color conversion process from the RGB color space to the CMYK color space (before performing the rasterization process) at the object stage (for example, 25 × For 25 solid-color rectangular objects, it can be realized by one color conversion process as compared to performing color conversion process on 625 pixels after rasterization, which leads to a great improvement in processing speed).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記公
報に記載の技術では、それまで多くの処理時間を要した
色変換処理の時間を削減できるものの、ROP処理命令を
含む描画命令に対しては忠実な画像の色再現を実現でき
ないという問題が残る。即ち、上記公報に記載の技術で
は、描画命令の段階で、RGB色空間で色指定された文字
コードや線画と解釈したオブジェクトに対しCMYK色空間
への色変換処理を行うため、その後の描画処理、即ち画
素データに展開するためのラスタライズ処理をCMYK色空
間で行うことになる。このとき、オブジェクト同士の重
なりを定義するROP処理命令が含まれていると、重なっ
た領域の画素同士の論理演算もCMYK色空間で行うことに
なるため、忠実な画像の色再現を実現できなくなる。
However, the technique described in the above publication can reduce the time of the color conversion processing that has required a long processing time, but it does not faithfully draw the drawing instruction including the ROP processing instruction. However, there remains a problem that color reproduction of an image cannot be realized. That is, according to the technology described in the above publication, at the stage of a drawing command, a color conversion process to a CMYK color space is performed for a character code or an object interpreted as a line image specified in a color in an RGB color space. That is, a rasterizing process for developing into pixel data is performed in the CMYK color space. At this time, if the ROP processing instruction that defines the overlap between the objects is included, the logical operation between the pixels in the overlapped area is also performed in the CMYK color space, so that it is impossible to realize faithful image color reproduction .

【0006】本発明は、上記課題を解決するためになさ
れたもので、その目的とするところは、忠実な画像の色
再現を実現しつつ、描画処理の高速化を図ることにあ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to achieve a high-speed drawing process while realizing faithful color reproduction of an image.

【0007】[0007]

【課題を解決するための手段】本発明に係る描画処理装
置は、ページ記述言語で記述された第1の色空間に対応
する描画命令の入力を受け付ける描画命令入力手段と、
この描画命令入力手段で受け付けた描画命令のページを
複数の領域に分割し、この分割した各々の領域毎に描画
命令を分配する描画命令分配手段と、この描画命令分配
手段で各々の領域毎に分配された描画命令に論理演算処
理命令が含まれるか否かを判別する判別手段と、この判
別手段で論理演算処理命令が含まれると判別された領域
の描画命令を第1の色空間に対応する画像情報に展開し
た後、第2の色空間に対応する画像情報に色変換する第
1の変換手段と、判別手段で論理演算処理命令が含まれ
ないと判別された領域の描画命令を第2の色空間に色変
換した後、第2の色空間に対応する画像情報に展開する
第2の変換手段とを備えた構成となっている。
A drawing processing apparatus according to the present invention comprises: a drawing command input means for receiving a drawing command corresponding to a first color space described in a page description language;
A drawing command distributing unit that divides a page of the drawing command received by the drawing command input unit into a plurality of regions, and distributes the drawing command to each of the divided regions; Determining means for determining whether a logical operation processing instruction is included in the distributed drawing instruction, and corresponding to the first color space a drawing instruction of an area determined to include the logical operation processing instruction by the determining means After converting the image data into image information to be converted into image information corresponding to the second color space, the first conversion unit converts the image data into image information corresponding to the second color space. And a second conversion unit that converts the color to the second color space and develops the image information into the image information corresponding to the second color space.

【0008】上記構成の描画処理装置では、第1の変換
手段において、論理演算処理命令を含む領域の描画命令
が第1の色空間に対応する画像情報に展開された後、第
2の色空間に対応する画像情報に色変換されることで、
画像の色が忠実に再現される。また、第2の変換手段に
おいて、論理演算処理命令を含まない領域の描画命令が
第2の色空間に色変換された後、第2の色空間に対応す
る画像情報に展開されることで、描画処理が高速化され
る。
In the drawing processing apparatus having the above-described configuration, after the drawing command of the area including the logical operation processing command is developed into image information corresponding to the first color space by the first conversion means, the second color space Color conversion into image information corresponding to
The colors of the image are faithfully reproduced. In addition, the second conversion unit converts the drawing instruction of the area not including the logical operation processing instruction into the second color space after the color conversion, and expands the drawing instruction into image information corresponding to the second color space. The drawing process is sped up.

【0009】[0009]

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

【0010】図1は本発明の一実施形態に係る描画処理
装置の構成を示すブロック図である。図示した描画処理
装置1は、情報処理装置2と印刷装置3の間に位置し、
情報処理装置2からの描画命令を印刷装置3で扱う画像
情報(画素データ)に変換する。この描画処理装置1
は、中央処理部10と、描画命令入力部11と、画像情
報出力部12と、記憶部13と、描画命令分配部14
と、判別部15と、画像展開部16と、色変換処理部1
7とを備えて構成されている。
FIG. 1 is a block diagram showing a configuration of a drawing processing apparatus according to an embodiment of the present invention. The illustrated drawing processing device 1 is located between the information processing device 2 and the printing device 3,
The rendering command from the information processing device 2 is converted into image information (pixel data) handled by the printing device 3. This drawing processing device 1
Are a central processing unit 10, a drawing command input unit 11, an image information output unit 12, a storage unit 13, and a drawing command distribution unit 14.
, Determination unit 15, image development unit 16, color conversion processing unit 1
7 are provided.

【0011】中央処理部10は、描画処理装置1全体の
処理を司るもので、描画命令を参照しながら各モジュー
ルに処理の指示を行う。描画命令入力部11は、情報処
理装置2からの描画命令の入力を受け付けるものであ
る。情報処理装置2からは、ページ記述言語で記述され
たRGB色空間(第1の色空間)に対応する描画命令が出
力される。
The central processing unit 10 controls the entire processing of the drawing processing apparatus 1, and instructs each module to perform processing while referring to a drawing command. The drawing command input unit 11 receives an input of a drawing command from the information processing device 2. The information processing device 2 outputs a drawing command corresponding to the RGB color space (first color space) described in the page description language.

【0012】画像情報出力部12は、印刷対象となる画
像情報を印刷装置3に出力するものである。この出力部
12から出力される画像情報は、印刷装置3で使用され
るCMYK色空間(第2の色空間)に対応する画像情報とな
る。記憶部13は、描画処理に必要な各種の情報、デー
タ等を記憶するものである。この記憶部13には、例え
ば、描画命令入力部11で受け付けた描画命令や、後述
する分割領域毎の描画命令、或いは画像展開部16で展
開された画像情報(画素データ)などが記憶される。
The image information output section 12 outputs image information to be printed to the printing device 3. The image information output from the output unit 12 is image information corresponding to the CMYK color space (second color space) used in the printing device 3. The storage unit 13 stores various information, data, and the like necessary for the drawing process. The storage unit 13 stores, for example, a drawing command received by the drawing command input unit 11, a drawing command for each divided region described later, image information (pixel data) developed by the image developing unit 16, and the like. .

【0013】描画命令分配部14は、描画命令入力部1
1で受け付けた描画命令のページを複数の領域に分割
し、この分割した各々の領域毎に描画命令を分配するも
のである。この描画命令分配部14によるページの分割
方式としては、周知のバンディング方式を用いることが
できる。判別部15は、描画命令分配部14で各々の領
域毎に分配された描画命令に画像(オブジェクト)の重
ね合わせのための論理演算処理命令、即ちROP処理命令
が含まれるか否かを判別するものである。この判別部1
5で判別対象とするROP処理命令としては、「AND」、
「OR」、「XOR」などの論理演算処理命令が代表例とし
て挙げられる。ただし、「上書き」については判別の対
象外とする。
The drawing command distribution unit 14 includes a drawing command input unit 1
The page of the drawing command received in 1 is divided into a plurality of areas, and the drawing command is distributed to each of the divided areas. As a method of dividing the page by the drawing command distribution unit 14, a well-known banding method can be used. The determination unit 15 determines whether the drawing command distributed for each area by the drawing command distribution unit 14 includes a logical operation processing command for superimposing images (objects), that is, a ROP processing command. Things. This discriminating unit 1
The ROP processing instruction to be determined in step 5 is “AND”,
Logical operation processing instructions such as “OR” and “XOR” are typical examples. However, “overwrite” is not subject to the determination.

【0014】画像展開部16は、文字コード、線画、イ
メージなどのオブジェクトを、画素データからなる画像
情報に展開する処理、即ちラスタライズ処理を行うもの
である。色変換処理部17は、マトリクス演算等の手法
を用いて、RGB色空間からCMYK色空間への色変換処理を
行うものである。
The image developing unit 16 performs a process of developing an object such as a character code, a line drawing, or an image into image information including pixel data, that is, a rasterizing process. The color conversion processing unit 17 performs a color conversion process from the RGB color space to the CMYK color space by using a method such as a matrix operation.

【0015】図2は本発明の実施形態に係る描画処理装
置1によって実行される描画処理の手順を示すフローチ
ャートである。先ず、ページ記述言語で記述されたRGB
色空間に対応する描画命令が情報処理装置2から出力さ
れると、この描画命令を描画命令入力部11で受け付け
る(ステップS1)。この描画命令入力11で受け付け
た描画命令は中央処理部10によって記憶部13に格納
(記憶)される。
FIG. 2 is a flowchart showing a procedure of a drawing process executed by the drawing processing apparatus 1 according to the embodiment of the present invention. First, RGB described in page description language
When a drawing command corresponding to the color space is output from the information processing device 2, the drawing command is received by the drawing command input unit 11 (step S1). The drawing command received by the drawing command input 11 is stored (stored) in the storage unit 13 by the central processing unit 10.

【0016】次に、ステップS2においては、中央処理
部10からの指示を受けて、描画命令分配部14が、描
画命令入力部11で受け付けた描画命令のページを複数
のバンド(領域)に分割し、この分割した各々のバンド
毎に描画命令を分配する。この描画命令分配部14での
処理では、分配の元になる描画命令が記憶部13から読
み出される。こうして分配された各バンドの描画命令
は、中央処理部10によって記憶部13に格納される。
このとき、複数のバンドに跨るような描画命令について
は、各々のバンドに描画できる形式に変換され、個々の
バンドの描画命令として格納される。
Next, in step S2, in response to an instruction from the central processing unit 10, the drawing command distribution unit 14 divides the page of the drawing command received by the drawing command input unit 11 into a plurality of bands (regions). Then, the drawing command is distributed to each of the divided bands. In the processing in the drawing command distribution unit 14, the drawing command serving as the distribution base is read from the storage unit 13. The drawing command of each band distributed in this manner is stored in the storage unit 13 by the central processing unit 10.
At this time, a drawing command that straddles a plurality of bands is converted into a format that can be drawn in each band, and stored as a drawing command for each band.

【0017】続いて、処理対象となるバンド(領域)の
番数を表す“i”の値を“1”に設定する(ステップS
3)。これにより、1番目のバンドから順に、次のよう
な処理が行われる。即ち、ステップS4においては、i
番目のバンドの描画命令にROP処理命令が含まれるか否
かを判別部14で判別する。
Subsequently, the value of "i" representing the number of the band (region) to be processed is set to "1" (step S).
3). As a result, the following processing is performed sequentially from the first band. That is, in step S4, i
The determination unit 14 determines whether or not the ROP processing command is included in the drawing command of the third band.

【0018】このとき、判別部14でi番目のバンドの
描画命令にROP処理命令が存在すると判別されると、こ
の判別結果を基に中央処理部10は、画像展開部16と
色変換処理部17に順次処理命令を出す。この処理命令
を受けて、先ず、画像展開部16は、i番目のバンドの
描画命令を解釈してラスタライズ処理を行う(ステップ
S5)。これにより、i番目のバンドの描画命令は、RG
B色空間に対応する画像情報(画素データ)に展開され
る。次いで、画像展開部16により展開(ラスタライ
ズ)された画像情報に対し、色変換処理部17がRGB色
空間からCMYK色空間への色変換処理を行う(ステップS
6)。これにより、CMYK色空間に対応する画像情報が得
られる。
At this time, if the determination unit 14 determines that the ROP processing command is present in the drawing command of the i-th band, the central processing unit 10 determines the image processing unit 16 and the color conversion processing unit based on the determination result. The processing instructions are sequentially issued to 17. Upon receiving this processing command, first, the image developing unit 16 interprets the drawing command of the i-th band and performs a rasterizing process (step S5). Thereby, the drawing command of the i-th band is RG
It is developed into image information (pixel data) corresponding to the B color space. Next, the color conversion processing unit 17 performs a color conversion process from the RGB color space to the CMYK color space on the image information expanded (rasterized) by the image expansion unit 16 (step S).
6). Thereby, image information corresponding to the CMYK color space is obtained.

【0019】これに対し、判別部14でi番目のバンド
の描画命令にROP処理命令が存在しないと判別される
と、この判別結果を基に中央処理部10は、色変換処理
部17と画像展開部16に順次処理命令を出す。この処
理命令を受けて、先ず、色変換処理部17は、i番目の
バンドの描画命令について、その色指定部を解釈してRG
B色空間からCMYK色空間への色変換処理を行う(ステッ
プS7)。これにより、i番目のバンドの描画命令はCM
YK色空間に対応したものとなる。次いで、色変換処理部
17により色変換された描画命令に対し、画像展開部1
6がラスタライズ処理を行う(ステップS8)。これに
より、CMYK色空間に対応する画像情報が得られる。
On the other hand, if the determination unit 14 determines that the ROP processing command does not exist in the drawing command of the i-th band, the central processing unit 10 determines the color conversion processing unit 17 based on the determination result. A processing instruction is sequentially issued to the developing unit 16. In response to this processing command, first, the color conversion processing unit 17 interprets the color designation unit for the rendering command of the i-th band,
A color conversion process from the B color space to the CMYK color space is performed (step S7). Thereby, the drawing command of the i-th band is CM
It corresponds to the YK color space. Next, in response to the drawing command color-converted by the color conversion processing unit 17, the image
6 performs a rasterizing process (step S8). Thereby, image information corresponding to the CMYK color space is obtained.

【0020】その後、ステップS5,S6又はステップ
S7,S8の処理によって得られた画像情報を印刷装置
3に出力する(ステップS9)。画像情報の出力は、画
像情報出力部12によって行われる。
Thereafter, the image information obtained by the processing in steps S5 and S6 or steps S7 and S8 is output to the printing device 3 (step S9). The output of the image information is performed by the image information output unit 12.

【0021】続いて、先のステップS2で分割したペー
ジ内の全てのバンドについて処理が終了したか否かを判
断し(ステップS10)、終了していない場合は“i”
の値をインクリメント(+1)した後(ステップS1
1)、ステップS4からの処理を繰り返す。そして、全
てのバンドについて処理が終了した時点で、一連の処理
を抜ける。
Subsequently, it is determined whether or not the processing has been completed for all the bands in the page divided in step S2 (step S10).
Is incremented (+1) (step S1).
1) The process from step S4 is repeated. Then, when the processing is completed for all the bands, the processing exits from the series of processing.

【0022】続いて、具体的な事例を挙げて、本発明の
実施形態に係る描画処理装置1の処理動作について説明
する。先ず、図3に示すように、オブジェクト21(矩
形、白色のグラフィックオブジェクト)、オブジェクト
22(円、赤色のグラフィックオブジェクト)、オブジ
ェクト23(イメージオブジェクト)がページに描画さ
れる場合を例にとって考える。
Next, the processing operation of the drawing processing apparatus 1 according to the embodiment of the present invention will be described with specific examples. First, as shown in FIG. 3, a case is considered in which an object 21 (rectangular, white graphic object), an object 22 (circle, red graphic object), and an object 23 (image object) are drawn on a page.

【0023】ここで、各々のオブジェクト21,22,
23が描画されるページは、複数のバンドB1,B2,
B3,…に分割され、バンドB1が1番目、バンドB2
が2番目、バンドB3が3番目、…に相当するものとす
る。このとき、情報処理装置2からの描画命令は、図4
(A)に示すように、オブジェクト単位の描画命令を表
す形で記憶部13に格納されるものとする。
Here, each object 21, 22,
The page on which 23 is drawn includes a plurality of bands B1, B2,
B3, ..., band B1 is first, band B2
Correspond to the second, the band B3 corresponds to the third, and so on. At this time, the drawing command from the information processing device 2 is as shown in FIG.
As shown in (A), it is assumed that the drawing command is stored in the storage unit 13 so as to represent a drawing command for each object.

【0024】また、各々のオブジェクトに対応する描画
命令は、描画順、オブジェクト情報、描画属性、描画位
置を含んで構成されるものとする。このうち、オブジェ
クト情報については、グラフィック、イメージ及び文字
のいずれかで指定されるものとする。また、描画属性
は、論理演算で表現されるROP処理により指定されるも
のとする。イメージオブジェクトに関する画素データ
は、例えばデータの所在を表す位置情報を格納するなど
の方法が考えられる。
The drawing command corresponding to each object is configured to include a drawing order, object information, a drawing attribute, and a drawing position. Among them, the object information is specified by any of graphics, images, and characters. The drawing attribute is specified by ROP processing expressed by a logical operation. As the pixel data related to the image object, for example, a method of storing position information indicating the location of the data can be considered.

【0025】次に、描画処理装置1は、各々の描画命令
の描画位置を把握して、上記ページ内で分割された各々
のバンド毎の描画命令に分ける。具体的には、先ず、1
番目のバンドB1に含まれる描画命令を探すとオブジェ
クト21が当てはまるため、このオブジェクト21に対
する描画命令をバンドB1に描画する形式に変換して格
納する。次に、2番目のバンドB2に含まれる描画命令
を探すとオブジェクト21,22,23が当てはまるた
め、それぞれの描画順を考慮しながら各描画命令をバン
ドB2に描画する形式に変換して格納する。次に、3番
目のバンドB3に含まれる描画命令を探すとオブジェク
ト21,23が当てはまるため、それぞれの描画順を考
慮しながら各描画命令をバンドB3に描画する形式に変
換して格納する。この結果、記憶部13に格納される描
画命令は、図4(B)に示すような形式になる。以下同
様に、最終バンドまで処理を行う。
Next, the drawing processing device 1 grasps the drawing position of each drawing command and divides it into drawing commands for each band divided in the page. Specifically, first, 1
When the drawing command included in the second band B1 is searched, the object 21 is applied. Therefore, the drawing command for the object 21 is converted into a format for drawing in the band B1 and stored. Next, since objects 21, 22, and 23 are applicable when a drawing command included in the second band B2 is searched, each drawing command is converted into a format for drawing in the band B2 and stored in consideration of the drawing order. . Next, when the drawing commands included in the third band B3 are searched for, the objects 21 and 23 are applied. Therefore, each drawing command is converted into a format for drawing in the band B3 and stored in consideration of the drawing order. As a result, the drawing command stored in the storage unit 13 has a format as shown in FIG. Hereinafter, similarly, processing is performed up to the last band.

【0026】続いて、各々のバンド毎の描画処理に移
る。先ず、1番目のバンドB1に含まれる描画命令につ
いて、上書き以外のROP処理命令が含まれるかどうかを
判別する。ここでは、該当するROP処理命令が存在しな
いため、各描画命令の色指定部に対してRGB色空間からC
MYK色空間への色変換処理を行う。具体的には、オブジ
ェクト21の色指定部におけるRGB色空間での「白色」
をCMYK色空間での該当する色に変換する。そして、この
色変換処理の後に、バンドB1全体に対するラスタライ
ズ処理を行い、これによって得られた画像情報を印刷装
置3に出力する。
Subsequently, the processing shifts to drawing processing for each band. First, it is determined whether or not a drawing command included in the first band B1 includes a ROP processing command other than overwriting. Here, since there is no corresponding ROP processing command, the color designation part of each drawing command is
Performs color conversion processing to the MYK color space. Specifically, “white” in the RGB color space in the color designation portion of the object 21
To the corresponding color in the CMYK color space. Then, after this color conversion processing, rasterization processing is performed on the entire band B1, and the image information obtained by this is output to the printing apparatus 3.

【0027】次に、2番目のバンドB2に含まれる描画
命令について、上書き以外のROP処理命令が含まれるか
どうかを判別する。ここでは、オブジェクト22に関す
る描画命令にROP処理命令が含まれるため、先ず、バン
ドB2全体に対するラスタライズ処理を行う。即ち、バ
ンドB2への描画として格納された、オブジェクト2
1,22,23の描画命令についてラスタライズ処理を
行う。そして、バンド全体をラスタライズした後に、バ
ンド全体の画素データに対してRGB色空間からCMYK色空
間への色変換処理を行い、これによって得られた画像情
報を印刷装置3に出力する。
Next, it is determined whether or not the drawing command included in the second band B2 includes a ROP processing command other than overwriting. Here, since the ROP processing command is included in the drawing command related to the object 22, first, the rasterizing process is performed on the entire band B2. That is, the object 2 stored as a drawing on the band B2
Rasterize processing is performed for drawing instructions 1, 22, and 23. Then, after rasterizing the entire band, the color conversion processing from the RGB color space to the CMYK color space is performed on the pixel data of the entire band, and the image information obtained thereby is output to the printing device 3.

【0028】次に、3番目のバンドB3に含まれる描画
命令について、上書き以外のROP処理命令が含まれるか
どうかを判別する。ここでは、該当する描画命令が存在
しないため、各描画命令の色指定部に対してRGB色空間
からCMYK色空間への色変換処理を行う。具体的には、オ
ブジェクト21の色指定部におけるRGB色空間での「白
色」をCMYK色空間での該当する色に変換し、オブジェク
ト23についてはイメージを構成する画素データに対し
てRGB色空間からCMYK色空間への色変換を行う。そし
て、この色変換処理の後に、バンドB3全体に対するラ
スタライズ処理を行い、これによって得られた画像情報
を印刷装置3に出力する。以下同様に、最終バンドまで
処理を行う。
Next, it is determined whether or not the drawing command included in the third band B3 includes a ROP processing command other than overwriting. Here, since there is no corresponding drawing command, a color conversion process from the RGB color space to the CMYK color space is performed on the color designation section of each drawing command. Specifically, “white” in the RGB color space in the color designation section of the object 21 is converted into a corresponding color in the CMYK color space, and for the object 23, pixel data constituting the image is converted from the RGB color space. Performs color conversion to CMYK color space. Then, after this color conversion processing, a rasterization processing is performed on the entire band B3, and the image information obtained thereby is output to the printing apparatus 3. Hereinafter, similarly, processing is performed up to the last band.

【0029】このように本実施形態に係る描画処理装置
1においては、情報処理装置2から受け付けた描画命令
のページを複数の領域に分割し、この分割した各々の領
域毎に描画命令を分配した後、各々の領域に対応する描
画命令に論理演算処理命令が含まれるか否かを判別し、
論理演算処理命令を含むと判別した領域の描画命令につ
いてはラスタライズ処理による画像の展開を行ってから
色変換処理を行い、論理演算処理命令を含まないと判別
した領域の描画命令については色変換処理を行ってから
ラスタライズ処理による画像の展開を行うものとしてい
る。
As described above, in the drawing processing apparatus 1 according to the present embodiment, the page of the drawing command received from the information processing apparatus 2 is divided into a plurality of areas, and the drawing command is distributed to each of the divided areas. Then, it is determined whether or not the drawing command corresponding to each area includes a logical operation processing command,
For the rendering command of the area determined to include the logical operation processing instruction, the image is expanded by rasterization processing, and then the color conversion processing is performed. For the drawing instruction of the area determined not to include the logical operation processing instruction, the color conversion processing is performed , And then rasterize the image.

【0030】これにより、論理演算処理命令を含む領域
の描画命令については、RGB色空間で論理演算処理が行
われるため、忠実な画像の色再現を実現することができ
る。また、論理演算処理を含まない領域の描画命令につ
いては、ラスタライズ処理による画像の展開前に(オブ
ジェクトの段階で)色変換処理が行われるため、描画処
理の高速化を実現することができる。
Thus, the rendering instruction for the area including the logical operation processing instruction is subjected to logical operation processing in the RGB color space, so that faithful color reproduction of an image can be realized. In addition, with regard to a drawing command for an area that does not include the logical operation processing, the color conversion processing is performed (at the stage of an object) before the image is developed by the rasterization processing, so that the speed of the drawing processing can be increased.

【0031】さらに、論理演算処理命令を含むかどうか
の判別については、ページ単位で行うことも可能である
が、そうした場合はページ内に一つでも論理演算処理命
令を含む描画命令が存在すると、そのページ全体が画像
展開処理(ラスタライズ処理)、色変換処理の順で描画
処理されることになる。これに対して、本実施形態のよ
うにページ内で分割した各々の領域毎に上記判別を行う
ようにすれば、論理演算処理命令を含む描画命令がペー
ジ内に存在したとしても、その描画命令が分配されなか
った領域については、色変換処理、画像展開処理の順で
描画処理されるため、より効率的な描画処理を実現する
ことができる。
Further, whether or not a logical operation processing instruction is included can be determined on a page basis. In such a case, if at least one drawing instruction including a logical operation processing instruction exists in a page, The entire page is rendered in the order of image development processing (rasterization processing) and color conversion processing. On the other hand, if the above-described determination is performed for each of the divided regions in the page as in the present embodiment, even if a drawing instruction including a logical operation processing instruction exists in the page, the drawing instruction Is not distributed, the rendering processing is performed in the order of the color conversion processing and the image development processing, so that more efficient rendering processing can be realized.

【0032】また、本発明の描画処理装置による描画処
理動作は、その処理手順を記述した描画処理プログラム
をCPU等が実行することでも行われる。かかる描画処
理プログラムは、コンピュータ読み取り可能な記録媒体
(例えば、フロッピー(登録商標)ディスク、CD−R
OM、DVD−ROMなど)にソフトウェアとして記録
される。この記録媒体に記録された描画処理プログラム
は、コンピュータ内のメモリにインストールして用いら
れる。そして、インストールされた描画処理プログラム
に基づいて描画処理が実行されることになる。
Further, the drawing processing operation by the drawing processing apparatus of the present invention is also performed by a CPU or the like executing a drawing processing program describing the processing procedure. Such a drawing processing program includes a computer-readable recording medium (for example, a floppy (registered trademark) disk, a CD-R
OM, DVD-ROM, etc.) as software. The drawing processing program recorded on the recording medium is used by being installed in a memory in the computer. Then, the drawing processing is executed based on the installed drawing processing program.

【0033】[0033]

【発明の効果】以上説明したように本発明によれば、ペ
ージ記述言語で記述された描画命令のページを複数の領
域に分割して各領域に描画命令を分配し、論理演算処理
命令を含む領域の描画命令については画像展開処理、色
変換処理の順で描画処理を行い、論理演算処理命令を含
まない領域の描画命令については色変換処理、画像展開
処理の順で描画処理を行うことにより、忠実な画像の色
再現と描画処理の高速化を両立させることが可能とな
る。
As described above, according to the present invention, the page of the drawing command described in the page description language is divided into a plurality of areas, the drawing command is distributed to each area, and a logical operation processing command is included. By performing rendering processing in the order of image development processing and color conversion processing for the rendering command of the area, and performing rendering processing in the order of color conversion processing and image development processing for the rendering command of the area not including the logical operation processing instruction. Thus, it is possible to achieve both faithful color reproduction of an image and speeding up of drawing processing.

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

【図1】 本発明の一実施形態に係る描画処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a drawing processing apparatus according to an embodiment of the present invention.

【図2】 本発明の実施形態に係る描画処理装置によっ
て実行される描画処理の手順を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating a procedure of a drawing process executed by the drawing processing apparatus according to the embodiment of the present invention.

【図3】 ページに描画されるオブジェクトの例を示す
図である。
FIG. 3 is a diagram illustrating an example of an object drawn on a page.

【図4】 描画命令とその分配例を示す図である。FIG. 4 is a diagram showing a drawing command and a distribution example thereof.

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

1…描画処理装置、2…情報処理装置、3…印刷装置、
10…中央処理部、11…描画命令入力部、12…画像
情報出力部、13…記憶部、14…描画命令分配部、1
5…判別部、16…画像展開部、17…色変換処理部
DESCRIPTION OF SYMBOLS 1 ... Drawing processing apparatus, 2 ... Information processing apparatus, 3 ... Printing apparatus,
10 central processing unit, 11 drawing command input unit, 12 image information output unit, 13 storage unit, 14 drawing command distribution unit, 1
5 discriminating unit, 16 image developing unit, 17 color conversion processing unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C087 AA15 BA03 BA04 BA05 BC01 BD31 5B021 AA01 CC05 LG07 5B057 AA11 CA01 CA08 CA12 CA18 CB01 CB08 CB12 CB16 CC04 CE17 CE18 5C077 LL18 LL19 MP08 NN01 PP32 PP33 PP37 SS02 TT02 5C079 HB01 HB03 HB12 NA03 PA03 ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) 2C087 AA15 BA03 BA04 BA05 BC01 BD31 5B021 AA01 CC05 LG07 5B057 AA11 CA01 CA08 CA12 CA18 CB01 CB08 CB12 CB16 CC04 CE17 CE18 5C077 LL18 LL19 MP08 NN01 PP32 PP33 5B03 H03 HB03H NA03 PA03

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ページ記述言語で記述された第1の色空
間に対応する描画命令の入力を受け付ける描画命令入力
手段と、 前記描画命令入力手段で受け付けた前記描画命令のペー
ジを複数の領域に分割し、この分割した各々の領域毎に
前記描画命令を分配する描画命令分配手段と、 前記描画命令分配手段で前記各々の領域毎に分配された
前記描画命令に論理演算処理命令が含まれるか否かを判
別する判別手段と、 前記判別手段で前記論理演算処理命令が含まれると判別
された領域の描画命令を前記第1の色空間に対応する画
像情報に展開した後、第2の色空間に対応する画像情報
に色変換する第1の変換手段と、 前記判別手段で前記論理演算処理命令が含まれないと判
別された領域の描画命令を前記第2の色空間に色変換し
た後、前記第2の色空間に対応する画像情報に展開する
第2の変換手段とを備えることを特徴とする描画処理装
置。
1. A drawing command input unit for receiving a drawing command corresponding to a first color space described in a page description language, and a page of the drawing command received by the drawing command input unit is stored in a plurality of areas. A drawing command distribution unit that divides and distributes the drawing command for each of the divided regions; and whether the logic command processing command is included in the drawing command distributed for each of the regions by the drawing command distribution unit. Determining means for determining whether or not the rendering instruction is included in the area determined to include the logical operation processing instruction into image information corresponding to the first color space; A first conversion unit for performing color conversion to image information corresponding to a space, and after performing a color conversion to the second color space of a drawing instruction of an area determined not to include the logical operation processing instruction by the determination unit. The second Drawing processing apparatus, characterized in that it comprises a second conversion means for developing the image information corresponding to the space.
【請求項2】 前記第1の色空間はRGB表色系による
色空間で、前記第2の色空間はCMYK表色系による色
空間であることを特徴とする請求項1記載の描画処理装
置。
2. The drawing processing apparatus according to claim 1, wherein the first color space is a color space according to an RGB color system, and the second color space is a color space according to a CMYK color system. .
【請求項3】 前記ページ記述言語で記述された第1の
色空間に対応する描画命令は、オブジェクト単位の描画
命令を表すもので、少なくとも描画順、オブジェクト情
報、描画位置、描画属性を含んで構成されることを特徴
とする請求項1記載の描画処理装置。
3. A drawing command corresponding to a first color space described in the page description language represents a drawing command in an object unit, and includes at least a drawing order, object information, a drawing position, and a drawing attribute. The drawing processing apparatus according to claim 1, wherein the drawing processing apparatus is configured.
【請求項4】 前記オブジェクト情報は、グラフィッ
ク、イメージ及び文字のいずれかで指定されることを特
徴とする請求項3記載の描画処理装置。
4. The drawing processing apparatus according to claim 3, wherein the object information is specified by one of a graphic, an image, and a character.
【請求項5】 前記描画属性は、論理演算で表現される
ラスターオペレーション処理で指定されることを特徴と
する請求項3記載の描画処理装置。
5. The drawing processing apparatus according to claim 3, wherein the drawing attribute is specified by a raster operation process represented by a logical operation.
【請求項6】 ページ記述言語で記述された第1の色空
間に対応する描画命令の入力を受け付ける描画命令入力
処理と、 前記描画命令入力処理で受け付けた前記描画命令のペー
ジを複数の領域に分割し、この分割した各々の領域毎に
前記描画命令を分配する描画命令分配処理と、 前記描画命令分配処理で前記各々の領域毎に分配された
前記描画命令に論理演算処理命令が含まれるか否かを判
別する判別処理と、 前記判別処理で前記論理演算処理命令が含まれると判別
された領域の描画命令を前記第1の色空間に対応する画
像情報に展開した後、第2の色空間に対応する画像情報
に色変換する第1の変換処理と、 前記判別処理で前記論理演算処理命令が含まれないと判
別された領域の描画命令を前記第2の色空間に色変換し
た後、前記第2の色空間に対応する画像情報に展開する
第2の変換処理とを有することを特徴とする描画処理方
法。
6. A drawing command input process for receiving an input of a drawing command corresponding to a first color space described in a page description language, and a page of the drawing command received in the drawing command input process is stored in a plurality of areas. A drawing command distribution process of dividing and distributing the drawing command for each of the divided areas; and whether the logic command processing command is included in the drawing command distributed for each of the regions in the drawing command distribution process. A determination process of determining whether or not the rendering process has been performed; and a rendering command for an area determined to include the logical operation processing command in the determination process is developed into image information corresponding to the first color space. A first conversion process of performing color conversion to image information corresponding to a space, and a color conversion process of drawing a region in which the logical operation processing command is determined not to be included in the determination process into the second color space. The second Drawing processing method characterized by and a second conversion processing to expand the image information corresponding to the space.
【請求項7】 ページ記述言語で記述された第1の色空
間に対応する描画命令の入力を受け付ける描画命令入力
処理と、 前記描画命令入力処理で受け付けた前記描画命令のペー
ジを複数の領域に分割し、この分割した各々の領域毎に
前記描画命令を分配する描画命令分配処理と、 前記描画命令分配処理で前記各々の領域毎に分配された
前記描画命令に論理演算処理命令が含まれるか否かを判
別する判別処理と、 前記判別処理で前記論理演算処理命令が含まれると判別
された領域の描画命令を前記第1の色空間に対応する画
像情報に展開した後、第2の色空間に対応する画像情報
に色変換する第1の変換処理と、 前記判別処理で前記論理演算処理命令が含まれないと判
別された領域の描画命令を前記第2の色空間に色変換し
た後、前記第2の色空間に対応する画像情報に展開する
第2の変換処理とを実行するための描画処理プログラム
を記録したコンピュータ読み取り可能な記録媒体。
7. A drawing command input process for receiving a drawing command input corresponding to a first color space described in a page description language, and a page of the drawing command received in the drawing command input process is stored in a plurality of areas. A drawing command distribution process of dividing and distributing the drawing command for each of the divided regions; and whether the logic command processing command is included in the drawing command distributed for each of the regions in the drawing command distribution process. A determination process of determining whether or not the rendering process has been performed; and a rendering command for an area determined to include the logical operation processing command in the determination process is developed into image information corresponding to the first color space. A first conversion process of performing color conversion to image information corresponding to a space, and a color conversion process of drawing a region in which the logical operation processing command is determined not to be included in the determination process into the second color space. The second A computer-readable recording medium drawing processing program for executing the second conversion processing to expand the image information corresponding to the space.
JP2001122269A 2001-04-20 2001-04-20 Plotting process device and method and computer readable recording medium recording plotting process program Pending JP2002319018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001122269A JP2002319018A (en) 2001-04-20 2001-04-20 Plotting process device and method and computer readable recording medium recording plotting process program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001122269A JP2002319018A (en) 2001-04-20 2001-04-20 Plotting process device and method and computer readable recording medium recording plotting process program

Publications (1)

Publication Number Publication Date
JP2002319018A true JP2002319018A (en) 2002-10-31

Family

ID=18972002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001122269A Pending JP2002319018A (en) 2001-04-20 2001-04-20 Plotting process device and method and computer readable recording medium recording plotting process program

Country Status (1)

Country Link
JP (1) JP2002319018A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006341457A (en) * 2005-06-08 2006-12-21 Canon Inc Printer
CN1305683C (en) * 2004-06-02 2007-03-21 致伸科技股份有限公司 Image treatment method
US7859713B2 (en) 2003-02-13 2010-12-28 Canon Kabushiki Kaisha Printing control apparatus, method and printer driver
KR101166388B1 (en) 2007-08-28 2012-07-23 삼성전자주식회사 Color space conversion apparatus and control method for thereof
US8355164B2 (en) 2005-06-08 2013-01-15 Canon Kabushiki Kaisha Imaging device, control method, and program for rendering data and performing color matching
CN104660841A (en) * 2013-11-19 2015-05-27 柯尼卡美能达株式会社 Information processing apparatus and information processing method
JP2015109598A (en) * 2013-12-05 2015-06-11 コニカミノルタ株式会社 Image processor, image processing method, and image processing program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7859713B2 (en) 2003-02-13 2010-12-28 Canon Kabushiki Kaisha Printing control apparatus, method and printer driver
CN1305683C (en) * 2004-06-02 2007-03-21 致伸科技股份有限公司 Image treatment method
JP2006341457A (en) * 2005-06-08 2006-12-21 Canon Inc Printer
US8355164B2 (en) 2005-06-08 2013-01-15 Canon Kabushiki Kaisha Imaging device, control method, and program for rendering data and performing color matching
KR101166388B1 (en) 2007-08-28 2012-07-23 삼성전자주식회사 Color space conversion apparatus and control method for thereof
CN104660841A (en) * 2013-11-19 2015-05-27 柯尼卡美能达株式会社 Information processing apparatus and information processing method
JP2015100040A (en) * 2013-11-19 2015-05-28 コニカミノルタ株式会社 Information processing device, information processing method, information processing program and recording medium
CN104660841B (en) * 2013-11-19 2018-04-06 柯尼卡美能达株式会社 Information processor and information processing method
JP2015109598A (en) * 2013-12-05 2015-06-11 コニカミノルタ株式会社 Image processor, image processing method, and image processing program

Similar Documents

Publication Publication Date Title
JP3008943B1 (en) Image processing apparatus and image processing method
JP2002319018A (en) Plotting process device and method and computer readable recording medium recording plotting process program
US7375850B2 (en) Image output apparatus, method of controlling the image output apparatus, and image output system
JP3362674B2 (en) Image processing apparatus and image processing method
JP2000153647A (en) Image-processing apparatus and its method
JP3687721B2 (en) Image processing apparatus, image processing method, and image processing system
JP2005182692A (en) Drawing processing method, program, drawing instruction output unit, and image formation device
JP2004021886A (en) Image processing device and image processing method
JP2006103045A (en) Image forming apparatus
JP2001324975A (en) Image processor
JP2002133429A (en) Plotting information processing device, plotting information processing method, and storage medium
JP3450961B2 (en) Printing apparatus and control method thereof
JP2004334533A (en) Image processing device and method
JP2001169120A (en) Method, device, and system for image processing
JP3636891B2 (en) Color image output method
JP3809373B2 (en) Printing processing method and apparatus
JP2002024840A (en) Drawing processing device
JPH09252411A (en) Picture processor and method therefor
JPH10260801A (en) Information processor and information processing method
JP4853654B2 (en) Image processing apparatus, image processing system, and image processing program
JP2000215010A (en) Image processor, image forming device, image formation system, image processing method, image forming method, and image processing and forming method
JPH1013696A (en) Device and method for converting color of image data
JP2001282480A (en) Data processor, its method and storage medium
JPH1051636A (en) Printing controller, information processor, printer and printing information processing method
US7675642B2 (en) Print apparatus and print method