JP2001324975A - Image processor - Google Patents

Image processor

Info

Publication number
JP2001324975A
JP2001324975A JP2000141399A JP2000141399A JP2001324975A JP 2001324975 A JP2001324975 A JP 2001324975A JP 2000141399 A JP2000141399 A JP 2000141399A JP 2000141399 A JP2000141399 A JP 2000141399A JP 2001324975 A JP2001324975 A JP 2001324975A
Authority
JP
Japan
Prior art keywords
drawing command
command
image
stored
area
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
JP2000141399A
Other languages
Japanese (ja)
Inventor
Tomoya Yamauchi
智也 山内
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 JP2000141399A priority Critical patent/JP2001324975A/en
Publication of JP2001324975A publication Critical patent/JP2001324975A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processor capable of performing a plotting processing having high-image quality at high speed and correctly. SOLUTION: After an inputted plotting command is interpreted in a plotting command interpreting part 1, whether the inputted command is impossible to be instantly plotted or even when it is instantly plot able, a plotting command whose plotting area is overlapped is stored in a plotting command storage part 5 or not is judged in a plotting command judging part 2. When these conditions are satisfied, a processing by a plotting command composing part 4 is performed. At first, the part 4 extracts the plotting command inputted from the part 2 and the plotting command whose plotting part is overlapped from the part 5 and inspects whether these command group constitutes a specific sequence or not to executes a corresponding processing. When these command group is a plotting command string performing the plotting with a mask accompanied by, for example, an XOR (exclusive OR) operation and an AND operation, the part 4 generates a copy plotting command in which masked image data are used.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、既に描画が行われ
た画像と入力画像との間の画素間演算を含む描画命令を
順次実行して出力画像データを生成する画像処理装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for generating output image data by sequentially executing a drawing command including an inter-pixel operation between an already drawn image and an input image. .

【0002】[0002]

【従来の技術】近年、電子技術の発展に伴い、パーソナ
ルコンピュータをはじめとするオフィスオートメーショ
ン機器でも旧来のモノクロームのキャラクタ表示は用い
られなくなり、カラーグラフィック表示が主流となっ
た。カラーグラフィックを使用するシステムでは、単純
な文字表示だけではなく、図形や画像といったデータを
表示及び印刷することが要求されるようになった。
2. Description of the Related Art In recent years, with the development of electronic technology, the conventional monochrome character display is no longer used in office automation equipment such as personal computers, and color graphic display has become mainstream. In a system using a color graphic, not only simple character display but also display and printing of data such as figures and images have been required.

【0003】ところで、図形や画像の表示には一般にR
OP(Raster OPeration)あるいはB
itBlt(BIT BLock Transfer)
と呼ばれる画素間演算が使用される場合がある。これ
は、すでに表示されている画像がメモリ上に記憶されて
いることを前提として、メモリ上の画像の画素値と指定
された画像の画素値との間での論理演算を行うもので、
モノクロームが主流の時代には選択領域の反転表示など
で使用されていたものである。
[0003] By the way, in general, R and R are used for displaying figures and images.
OP (Raster Operation) or B
itBlt (BIT BLOCK Transfer)
May be used. This performs a logical operation between the pixel value of the image on the memory and the pixel value of the specified image, assuming that the already displayed image is stored on the memory,
In the era when monochrome was the mainstream, it was used for inverted display of selected areas.

【0004】このようなROP演算が、現在では以前と
は異なった用途で使われている。その一例がカラー画像
に対するマスク付き描画である。図9は、マスク付き描
画の動作の一例の説明図である。図9(A)〜(F)は
画像データを示しており、画素を矩形で示すとともに各
画素の画素値を16進数で記載している。図9(A)に
示す画像データはマスク付き描画を実行する直前での背
景画像を示し、図9(B)に示す画像データはマスクに
よって描画を行う入力画像を示し、図9(C)に示す画
像データはマスク画像を示している。また、図9
(D),(E)に示す画像データは、以下で説明する処
理の過程で一時的に生成される背景画像であり、図9
(F)に示す画像データがマスク付き描画を実行した直
後の背景画像であって、この画像データが出力画像とな
る。
[0004] Such a ROP operation is currently used for a different purpose than before. One example is drawing with a mask for a color image. FIG. 9 is a diagram illustrating an example of the operation of drawing with a mask. FIGS. 9A to 9F show image data, in which pixels are indicated by rectangles and pixel values of each pixel are described in hexadecimal. The image data shown in FIG. 9A shows a background image immediately before executing drawing with a mask, the image data shown in FIG. 9B shows an input image drawn with a mask, and FIG. The illustrated image data indicates a mask image. FIG.
The image data shown in (D) and (E) is a background image temporarily generated in the course of the processing described below, and is shown in FIG.
The image data shown in (F) is the background image immediately after executing the drawing with the mask, and this image data is the output image.

【0005】図9に示すマスク付き描画は、図9(B)
に示す入力画像と、入力画像中の対象領域を指定する図
9(C)に示すマスク画像とを用意し、図9(A)に示
す背景画像に対象領域のみを描画して、図9(F)に示
す出力画像を生成する処理である。対象領域は、図9
(C)に示すマスク画像中の「00」で示された画素で
あり、ハッチングを施して示している。入力画像をS、
マスク画像をM、背景画像をDとすると、マスク付き描
画は以下の演算によって実現できる。 D := D xor S …(1) D := D and M …(2) D := D xor S …(3)
[0005] The drawing with a mask shown in FIG.
9 and a mask image shown in FIG. 9C for designating a target area in the input image, and only the target area is drawn on the background image shown in FIG. This is processing for generating an output image shown in F). The target area is shown in FIG.
Pixels indicated by “00” in the mask image shown in (C) are indicated by hatching. The input image is S,
If the mask image is M and the background image is D, drawing with a mask can be realized by the following calculation. D: = D xor S (1) D: = D and M (2) D: = D xor S (3)

【0006】図9においては、xor演算を「+」に丸
を付して示し、and演算を「*」で示している。図9
に示す例では、(1)式で示される演算により、図9
(A)に示す背景画像と図9(B)に示す入力画像から
図9(D)に示す中間画像が生成される。生成された図
9(D)に示す中間画像と図9(C)に示すマスク画像
から(2)式で示す演算により、図9(E)に示す中間
画像が生成される。最後に、生成された図9(E)に示
す中間画像と図9(B)に示す入力画像から(3)式で
示される演算により図9(F)に示す出力画像が生成さ
れる。
In FIG. 9, the xor operation is shown by adding a circle to “+”, and the and operation is shown by “*”. FIG.
In the example shown in FIG. 9, the calculation shown in equation (1)
The intermediate image shown in FIG. 9D is generated from the background image shown in FIG. 9A and the input image shown in FIG. The intermediate image shown in FIG. 9E is generated from the generated intermediate image shown in FIG. 9D and the mask image shown in FIG. Finally, an output image shown in FIG. 9F is generated from the generated intermediate image shown in FIG. 9E and the input image shown in FIG.

【0007】ところで、ディスプレイ等の表示装置に画
像を表示する場合には、一般に表示されている画像がメ
モリ上に保持されており、また解像度も荒く、さらにシ
ステム上で高速なバスによって接続されているため、こ
のような演算を実行することは容易である。しかし、例
えばプリンタなどに出力する場合には、ディスプレイ等
の表示装置に表示する場合と比較すると、非常に高い解
像度での出力を行う。そのため、画像データを記憶する
ためのメモリ量が多大になり、上述のような画素間の演
算を実行するには非常に時間がかかる。もちろんページ
全体のプリンタ出力のための画像データを保持できる大
容量のメモリを搭載すれば処理は可能であるが、コスト
がかかってしまう。また、圧縮してメモリに格納すれば
メモリ量を削減できるが、圧縮された画像データをいっ
たん伸長して画素間演算を実行し、その後に再圧縮を実
行するといった時間のかかる処理を行わなければならな
いという問題がある。
When an image is displayed on a display device such as a display, the displayed image is generally stored in a memory, has a low resolution, and is connected to a system via a high-speed bus. Therefore, it is easy to execute such an operation. However, for example, when outputting to a printer or the like, output is performed at a very high resolution as compared to when displaying on a display device such as a display. Therefore, the amount of memory for storing the image data becomes large, and it takes a very long time to execute the above-described calculation between pixels. Of course, processing can be performed if a large-capacity memory capable of holding image data for printer output of the entire page is mounted, but the cost is increased. Also, if the data is compressed and stored in the memory, the amount of memory can be reduced.However, it is necessary to perform a time-consuming process such as decompressing the compressed image data, performing an inter-pixel operation, and then performing recompression. There is a problem that it does not.

【0008】また、プリンタなどにおいてはディスプレ
イなどのように画素毎に多階調を表現できる場合は少な
く、画素毎の階調性を減少させたり、2値化の処理が施
されている場合もある。このような画像データに対して
は、そのまま画素間演算を実行することは困難である。
Further, in a printer or the like, there are few cases where multiple gradations can be expressed for each pixel as in a display or the like, and there are cases where the gradation of each pixel is reduced or a binarization process is performed. is there. It is difficult to perform the inter-pixel operation on such image data as it is.

【0009】さらに、通常はディスプレイなどの表示装
置への出力が仮定されているため、画像データの色空間
はRGB色空間が仮定されているが、プリンタなどでは
例えばCMYK色空間が使用されており、色空間が異な
る。そのために、そのまま画素間の演算を実行すること
ができないという問題もある。例えば画像データをRG
B色空間で保持して、すべての描画処理が終了してから
画素ごとに色空間変換処理を行うことも考えられるが、
画素毎の色空間変換処理に時間がかかってしまう。ま
た、CMYK色空間で保持している画像データをRGB
色空間に再変換して画素間演算を実行することも考えら
れるが、画質低下を引き起こすという問題がある。
Furthermore, since output to a display device such as a display is normally assumed, the color space of image data is assumed to be an RGB color space. However, for example, a CMYK color space is used in a printer or the like. , The color space is different. Therefore, there is also a problem that the operation between pixels cannot be executed as it is. For example, if image data is RG
It is also conceivable that the color space is held in the B color space and color space conversion processing is performed for each pixel after all the drawing processing is completed.
It takes time for the color space conversion process for each pixel. The image data held in the CMYK color space is converted to RGB data.
Although it is conceivable to execute an inter-pixel operation after re-conversion to a color space, there is a problem that image quality is reduced.

【0010】このような処理速度の低下やメモリ量の増
大を回避し、比較的高速かつ安価にROP処理を実現す
る方法として、例えば特開平11−7364号公報に記
載されている技術が提案されている。この技術は、描画
がまったく行われていない領域、すなわち白紙領域への
描画処理を検出し、白紙領域に対する画素間演算が要求
された場合には、例えば演算を行わないで描画するな
ど、その演算に対応した演算結果による描画を実行する
ものである。
As a method of avoiding such a reduction in processing speed and an increase in the amount of memory and realizing the ROP processing at a relatively high speed and at a low cost, for example, a technique disclosed in Japanese Patent Application Laid-Open No. 11-7364 has been proposed. ing. This technology detects a drawing process in an area where no drawing is performed, that is, a blank area, and when an inter-pixel operation is requested for the blank area, for example, performs drawing without performing an operation. Is executed based on the calculation result corresponding to.

【0011】この技術によって、画素間演算のいくつか
は回避できるため、演算を回避した分だけの処理の高速
化は期待できる。しかし、上述のマスク付き描画のよう
に、同一の領域に対して複数の画素間演算を伴う描画処
理を行う場合には演算を回避することができないため、
この技術ではほとんど効果がない。さらに、プリンタな
どへの描画処理では、画素間演算を伴う描画処理のほと
んどがマスク付き描画であることを考えると、結果とし
て、上述の技術はプリンタの描画処理ではほとんど効果
がない。
With this technique, some of the operations between pixels can be avoided, so that the processing speed can be expected to be increased by the amount of avoidance of the operations. However, when performing a drawing process involving a plurality of inter-pixel calculations on the same area as in the above-described drawing with a mask, the calculation cannot be avoided.
This technique has little effect. Furthermore, in the drawing processing on a printer or the like, considering that most of the drawing processing involving inter-pixel calculation is drawing with a mask, as a result, the above-described technique has almost no effect on the drawing processing of the printer.

【0012】一方、例えば特開平8−263674号公
報に記載されている技術では、先に述べたマスク付き描
画を実現する描画処理列、すなわち、xor、and、
xorの各演算を連続して実行する描画処理列を、マス
ク画像を用いたクリッピング処理に変換することで、R
OP処理に伴う画素間演算を回避しようというものであ
る。具体的には、以下の3ステップでの描画処理を実行
する。 1 xor演算を伴う描画処理を検出するとその描画処
理を破棄する。 2 xor演算を伴う描画処理に引き続く描画処理で指
定された画像データをマスクバッファに記憶する。 3 引き続くxor演算を伴う描画処理を上記マスクバ
ッファに記憶されているマスクを用いたクリッピング処
理に変換して実行し、マスクバッファの内容を破棄す
る。
On the other hand, for example, in the technique described in Japanese Patent Application Laid-Open No. 8-263674, a drawing processing sequence for realizing the above-described drawing with a mask, ie, xor, and,
xor is converted into a clipping process using a mask image to convert R
The purpose is to avoid the inter-pixel operation involved in the OP processing. Specifically, the drawing process in the following three steps is executed. When a drawing process involving 1 xor operation is detected, the drawing process is discarded. 2. Image data specified in a drawing process subsequent to a drawing process involving an xor operation is stored in a mask buffer. (3) The drawing process involving the subsequent xor operation is converted into a clipping process using the mask stored in the mask buffer and executed, and the contents of the mask buffer are discarded.

【0013】以上の処理により、マスク付き描画をエミ
ュレートし、画素間演算を伴う描画処理列はクリッピン
グ処理として実行される。クリッピング処理自体は各画
素の画素値に対する演算を要求しないため、CMYK色
空間に変換された画像データのRGB色空間への再変換
や、圧縮、2値化された画像データの復元などの処理は
不要となり、画素間演算に伴う画質低下を引き起こすこ
となく高速な描画処理が可能となる。また、上述のよう
に画素間演算を伴う描画のほとんどがマスク付き描画の
処理であることから、このような処理の変換による高速
化の効果は大きい。
With the above processing, the drawing with the mask is emulated, and the drawing processing sequence involving the calculation between pixels is executed as the clipping processing. Since the clipping process itself does not require an operation on the pixel value of each pixel, processes such as re-conversion of the image data converted to the CMYK color space to the RGB color space and restoration of the compressed and binarized image data are not performed. This is unnecessary, and high-speed drawing processing can be performed without deteriorating the image quality due to the calculation between pixels. Further, as described above, since most of the drawing involving the inter-pixel operation is the processing of drawing with a mask, the effect of speeding up by converting such processing is great.

【0014】実際のマスク付き描画が実行される状況に
は、対象物を指定するマスクにより画像中の対象物を切
り抜く切り抜き出力のみでなく、グラデーション出力と
いうものも存在する。図10は、マスク付き描画を使用
したグラデーション出力の一例の説明図である。マスク
付き描画を使用したグラデーション出力は、少しずつ色
の異なる複数の図形を単一のマスクで切り抜いて出力す
るものである。図10に示すように、まずグラデーショ
ンの色を表現する複数の入力画像(1−1)についてx
or演算を用いた描画命令が連続して実行される。続い
てマスク画像(1)の描画命令、その後に、先にxor
演算を行ったものと同一の複数の入力画像(1−2)に
ついてxor演算を用いた描画命令が実行される。これ
によって出力画像(1)が描画される。なお、図10に
おいては同様に複数の入力画像(2−1)についてのx
or演算を用いた描画命令、マスク画像(2)の描画命
令、複数の入力画像(2−2)についてのxor演算を
用いた描画命令によって出力画像(2)が描画される。
[0014] In a situation in which drawing with a mask is actually executed, there is a gradation output as well as a cutout output for cutting out an object in an image using a mask for designating the object. FIG. 10 is an explanatory diagram of an example of gradation output using drawing with a mask. The gradation output using the drawing with the mask is a method of cutting out a plurality of figures having slightly different colors with a single mask and outputting the cut out figures. As shown in FIG. 10, first, for a plurality of input images (1-1) expressing gradation colors, x
The drawing command using the or operation is continuously executed. Subsequently, a drawing instruction of the mask image (1) is performed, and then, xor
A rendering command using the xor operation is executed on the same plurality of input images (1-2) as those on which the operation was performed. Thereby, the output image (1) is drawn. In FIG. 10, similarly, x for a plurality of input images (2-1)
An output image (2) is drawn by a drawing command using an or operation, a drawing command of a mask image (2), and a drawing command using an xor operation on a plurality of input images (2-2).

【0015】上述のようなグラデーション出力を、先に
述べた技術によって処理する場合を考えると、マスク描
画以前に現れるxor描画命令の破棄は容易に実現可能
であるが、マスク画像の描画命令以後のxor描画命令
のマスク付き描画への置き換えを実施する対象を限定す
るのが困難となる。例えば図10に示すように、複数の
グラデーション出力が連続して行われた場合を考える
と、最初のグラデーション出力を行うための入力画像
(1−2)と、引き続いて行われるグラデーション出力
のための入力画像(2−1)とが連続して入力されるた
め、それらを区分しなければならない。
Considering the case where the gradation output as described above is processed by the above-described technique, discarding the xor drawing command appearing before the mask drawing can be easily realized. It becomes difficult to limit the target for replacing the xor drawing command with drawing with a mask. For example, as shown in FIG. 10, when a plurality of gradation outputs are continuously performed, an input image (1-2) for performing a first gradation output and an input image (1-2) for performing a subsequent gradation output are used. Since the input image (2-1) is continuously input, the input image (2-1) must be classified.

【0016】このような場合に対処するため、例えば図
10に丸付きの数字にて示しているように、マスク画像
の描画命令に先行するxor描画命令の数を数え、マス
ク画像の描画命令の実施後に、マスク画像の描画命令に
先行するxor描画命令と同数のxor描画命令を処理
するといった方法が考えられる。図10に示す例では、
マスク画像(1)の描画命令に先行する入力画像(1−
1)の数が4つであるので、マスク画像(1)の描画命
令を実行後、4つ分の入力画像(1−2)について処理
すればよい。このようにすれば、マスク画像(1)に対
応する入力画像(1−2)と、マスク画像(2)に対応
する入力画像(2−1)とを区別することができる。
In order to cope with such a case, the number of xor drawing commands preceding the drawing command of the mask image is counted, for example, as indicated by circled numbers in FIG. After execution, a method of processing the same number of xor drawing commands as the xor drawing command preceding the mask image drawing command is conceivable. In the example shown in FIG.
The input image (1- 1) preceding the drawing instruction of the mask image (1)
Since the number of 1) is four, it is sufficient to process the four input images (1-2) after executing the drawing instruction of the mask image (1). In this way, the input image (1-2) corresponding to the mask image (1) and the input image (2-1) corresponding to the mask image (2) can be distinguished.

【0017】しかしながら、マスク付き描画におけるx
or演算は一定の範囲で自由な順序で実行できる。図1
1、図12は、マスク付き描画を使用したグラデーショ
ン出力の別の例の説明図である。図11に示した例で
は、図12に示すように別の領域に2つの異なるグラデ
ーション図形を描画する場合の例を示している。このよ
うに異なる領域にグラデーション図形を描画する場合に
は、出力画像(1)を描画するための入力画像(1−
1)、マスク画像(1)、入力画像(1−2)、及び、
出力画像(2)を描画するための入力画像(2−1)、
マスク画像(2)、入力画像(2−2)の各描画命令が
それぞれ連続している必要はない。例えば図11に示す
ように、マスク画像(1)と入力画像(1−2)の描画
命令の間に、入力画像(2−1)及びマスク画像(2)
の描画命令が挿入されている。
However, x in the masked drawing
The or operation can be performed in any order within a certain range. FIG.
1 and FIG. 12 are explanatory diagrams of another example of gradation output using drawing with a mask. The example shown in FIG. 11 shows an example in which two different gradation figures are drawn in different areas as shown in FIG. When drawing a gradation figure in a different area as described above, the input image (1- 1) for drawing the output image (1) is used.
1), mask image (1), input image (1-2), and
An input image (2-1) for drawing an output image (2),
The drawing commands of the mask image (2) and the input image (2-2) need not be consecutive. For example, as shown in FIG. 11, the input image (2-1) and the mask image (2) are provided between the drawing instruction of the mask image (1) and the input image (1-2).
Has been inserted.

【0018】このような複雑な描画シーケンスには、上
述したような個数のみの制御では対応できない。すなわ
ち、図11に示した例において上述のような個数による
判断を行うと、入力画像(1−1)の個数が3であるも
のとして、マスク画像(1)に続く、マスク画像(2)
に対応する3個の入力画像(2−1)をマスク画像
(1)に対応する入力画像であるものと判断し、誤った
描画処理を行ってしまうという問題がある。
[0018] Such a complicated drawing sequence cannot be coped with by the control of only the number as described above. That is, in the example shown in FIG. 11, when the determination based on the number described above is performed, it is determined that the number of the input images (1-1) is 3 and the mask image (2) subsequent to the mask image (1).
There is a problem in that three input images (2-1) corresponding to (1) are determined to be input images corresponding to the mask image (1), and erroneous drawing processing is performed.

【0019】[0019]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、高速かつ正確に高画質の描
画処理を行うことができる画像処理装置を提供すること
を目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide an image processing apparatus capable of performing high-speed and accurate high-quality drawing processing. It is.

【0020】[0020]

【課題を解決するための手段】本発明は、画素間演算を
含む描画命令を順次実行して出力画像データを生成する
画像処理装置において、入力された描画命令を該描画命
令が描画する領域と命令内容に応じて、そのまま出力画
像データとするか、あるいは描画命令合成手段に与える
かを判断する。例えば、入力された描画命令が即時描画
可能な命令であり、かつ描画命令記憶手段に記憶された
描画命令と描画領域が重なり合わない場合に、入力され
た描画命令をそのまま出力画像データとし、それ以外の
場合には描画命令合成手段に入力された描画命令を与え
るようにすることができる。描画命令合成手段に与えら
れた描画命令については、その描画命令と描画命令記憶
手段に記憶されているそれまでの描画命令の描画範囲に
基づいて、同じ描画領域を有する1ないし複数の描画命
令に対する処理、例えば与えられた描画命令の描画命令
記憶手段への記憶、描画命令記憶手段中の描画命令の削
除、描画命令記憶手段中の描画命令と与えられた描画命
令からの描画命令の合成の処理を実行することができ
る。
According to the present invention, there is provided an image processing apparatus for sequentially executing a drawing command including an inter-pixel operation to generate output image data. In accordance with the content of the command, it is determined whether to use the output image data as it is or to give it to the drawing command combining means. For example, if the input drawing command is a command that can be drawn immediately and the drawing command stored in the drawing command storage unit does not overlap with the drawing area, the input drawing command is used as output image data as it is. In other cases, the drawing command input to the drawing command synthesizing means can be given. With respect to the drawing command given to the drawing command synthesizing means, one or more drawing commands having the same drawing area based on the drawing command and the drawing range of the previous drawing command stored in the drawing command storage means. Processing, for example, storage of a given drawing command in the drawing command storage means, deletion of the drawing command in the drawing command storage means, and processing of combining a drawing command in the drawing command storage means with a given drawing command Can be performed.

【0021】このように描画命令の内容と描画領域とを
判定して描画命令に対する処理を行うので、例えば同じ
描画領域に対する所定のシーケンスの描画命令の間に他
の描画領域に対する描画命令が挿入されていても、同じ
描画領域に対する所定のシーケンスの描画命令を正確に
検出することができる。そのため、検出した所定のシー
ケンスの描画命令を例えば画素間演算を行わないような
描画命令の生成及び不要となった描画命令の描画命令記
憶手段からの削除を行うことによって、処理の高速化を
図ることが可能である。
As described above, the contents of the drawing command and the drawing region are determined and the processing for the drawing command is performed. For example, a drawing command for another drawing region is inserted between drawing commands of a predetermined sequence for the same drawing region. However, a predetermined sequence of drawing commands for the same drawing area can be accurately detected. For this reason, the processing speed is increased by generating a drawing command that does not perform an inter-pixel operation and deleting unnecessary drawing commands from the drawing command storage unit, for example, for a detected drawing command of a predetermined sequence. It is possible.

【0022】所定のシーケンスとしては、xor演算を
伴う第1の描画命令と、前記第1の描画命令と重複する
領域に画素値0を書き込む第2の描画命令と、xor演
算を伴い前記第1の描画命令と同一の領域に対して前記
第1の描画命令と同一の色もしくは画像データを書き込
む第3の描画命令がこの順に実行される描画命令シーケ
ンスとすることができる。このような描画命令シーケン
スが検出されたとき、第2の描画命令で指定された領域
をマスクとして、第1の描画命令で指定された領域に第
1の描画命令で指定された色もしくは画像データを書き
込む描画命令を生成するとともに、描画命令記憶手段に
記憶された第1の描画命令を描画命令記憶手段から削除
する。また、第2の描画命令の前に第2の描画命令と描
画領域が重複するxor演算を伴う描画命令が描画命令
記憶手段に記憶されていない場合には、描画命令記憶手
段から第2の描画命令を削除するように処理を行うこと
ができる。これによって、画素間演算を減少させること
ができ、処理速度を向上させることができる。
The predetermined sequence includes a first drawing command involving an xor operation, a second drawing command for writing a pixel value 0 in an area overlapping with the first drawing instruction, and the first drawing command involving an xor operation. The drawing command sequence in which the third drawing command for writing the same color or image data as the first drawing command in the same area as the drawing command of the third drawing command may be executed in this order. When such a drawing command sequence is detected, the area specified by the second drawing command is used as a mask, and the color or image data specified by the first drawing command is stored in the area specified by the first drawing command. Is generated, and the first drawing command stored in the drawing command storage means is deleted from the drawing command storage means. If the drawing command with the xor operation in which the drawing area and the drawing area overlap each other is not stored in the drawing command storage means before the second drawing command, the second drawing command is stored in the second drawing command storage means. Processing can be performed to delete the instruction. As a result, the inter-pixel operation can be reduced, and the processing speed can be improved.

【0023】このようにして描画命令に関する処理を行
い、描画命令を描画命令記憶手段に記憶させてゆくと、
描画命令記憶手段の容量が不足することも考えられる。
描画命令記憶手段を有効に活用するため、例えば複数の
描画命令が1ないし複数の描画要素の情報が同じ場合に
は、それらの描画命令については、少なくとも同じ構成
要素について共有して記憶するように構成することがで
きる。あるいは、描画命令もしくは該描画命令の構成要
素を圧縮して記憶することができる。
When the processing relating to the drawing command is performed as described above and the drawing command is stored in the drawing command storage means,
It is conceivable that the capacity of the drawing command storage means is insufficient.
In order to effectively use the drawing command storage means, for example, when a plurality of drawing commands have the same information on one or more drawing elements, the drawing commands are shared and stored at least for the same component. Can be configured. Alternatively, the drawing command or a component of the drawing command can be compressed and stored.

【0024】[0024]

【発明の実施の形態】図1は、本発明の画像処理装置の
実施の一形態を示すブロック図である。図中、1は描画
命令解釈部、2は描画命令判定部、3は中間データ生成
部、4は描画命令合成部、5は描画命令記憶部である。
描画命令解釈部1は、入力された描画命令を解釈して、
その後の処理を容易にするもので、描画命令に適用され
るべきクリップ情報や色情報の描画命令への付加といっ
た処理を行う。もちろん、入力された描画命令が内部の
処理に適した形式である場合には、この描画命令解釈部
1を設けなくてもよい。描画命令解釈部1によって処理
された描画命令は描画命令判定部2に入力される。
FIG. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention. In the drawing, reference numeral 1 denotes a drawing command interpreting unit, 2 denotes a drawing command determination unit, 3 denotes an intermediate data generation unit, 4 denotes a drawing command synthesis unit, and 5 denotes a drawing command storage unit.
The rendering command interpreter 1 interprets the input rendering command,
It facilitates the subsequent processing, and performs processing such as adding clip information and color information to be applied to the drawing command to the drawing command. Of course, if the input drawing command is in a format suitable for internal processing, the drawing command interpreting unit 1 may not be provided. The drawing command processed by the drawing command interpretation unit 1 is input to the drawing command determination unit 2.

【0025】描画命令判定部2は、描画命令記憶部5に
記憶された描画命令を参照しながら、入力された描画命
令が後述する所定のシーケンスに適合するか否かを判断
し、描画命令を描画命令合成部4ないしは中間データ生
成部3に出力する。描画命令判定部2での判定内容は後
述する。
The drawing command judging section 2 refers to the drawing command stored in the drawing command storage section 5 and judges whether or not the inputted drawing command conforms to a predetermined sequence described later, and determines the drawing command. Output to the drawing command synthesizing unit 4 or the intermediate data generating unit 3. The details of the determination by the drawing command determination unit 2 will be described later.

【0026】中間データ生成部3は描画命令判定部2あ
るいは描画命令合成部4から入力された描画命令から出
力画像データを生成して出力する。出力画像データの形
式は任意である。例えば描画命令を必要に応じて圧縮、
符号化した中間データでよい。中間データは、一般に知
られているプリンタ言語と同様のものが使用可能であ
る。もちろん、ラスタイメージなど、他の形式のデータ
であってもよい。
The intermediate data generator 3 generates and outputs output image data from the drawing command input from the drawing command determiner 2 or the drawing command synthesizer 4. The format of the output image data is arbitrary. For example, compress drawing commands as needed,
Encoded intermediate data may be used. As the intermediate data, those similar to a generally known printer language can be used. Of course, data in other formats such as a raster image may be used.

【0027】描画命令合成部4は、描画命令判定部2か
ら入力された描画命令と描画命令記憶部5に記憶された
描画命令とから、同じ描画領域を有する1乃至複数の描
画命令に対する処理、例えば描画命令の合成、描画命令
の描画命令記憶部5への記憶、および描画命令記憶部5
からの削除を実行する。描画命令合成部4の詳細は後述
する。
The drawing command synthesizing unit 4 processes one or more drawing commands having the same drawing area from the drawing command input from the drawing command determination unit 2 and the drawing command stored in the drawing command storage unit 5. For example, the composition of the drawing command, the storage of the drawing command in the drawing command storage unit 5, and the drawing command storage unit 5
Perform a delete from. Details of the drawing command synthesizing unit 4 will be described later.

【0028】描画命令記憶部5は、描画命令合成部4か
ら入力された描画命令を、その順序を保存するように記
憶する。描画命令合成部4から渡される描画命令を記憶
することによって、描画命令合成部4において描画命令
の生成を遅延し、描画命令を合成する特定のシーケンス
を構成する描画命令群がそろうまで描画命令を記憶する
役割を果たす。描画命令を記憶する際には、描画命令を
記憶に適切な形式に変換して記憶することもできる。
The drawing command storage unit 5 stores the drawing commands input from the drawing command synthesizing unit 4 so as to preserve the order. By storing the drawing command passed from the drawing command synthesizing unit 4, generation of the drawing command in the drawing command synthesizing unit 4 is delayed, and the drawing command is generated until a drawing command group forming a specific sequence for synthesizing the drawing command is completed. Play the role of remembering. When storing the drawing command, the drawing command may be stored after being converted into a format suitable for storage.

【0029】描画内容によっては描画命令が非常に大き
くなり、描画命令記憶部5に必要とされるメモリ量が莫
大なものとなる場合がある。このような場合に、例えば
描画命令の構成要素の一部を圧縮して保持し、データ量
の削減を行うことで、描画命令記憶部5の容量増加を抑
えることができる。例えば複雑な形状を持つ描画命令の
形状定義などに好適である。
Depending on the contents of the drawing, the drawing command becomes very large, and the amount of memory required for the drawing command storage unit 5 may become enormous. In such a case, for example, by compressing and holding some of the components of the drawing command and reducing the data amount, it is possible to suppress an increase in the capacity of the drawing command storage unit 5. For example, it is suitable for defining the shape of a drawing command having a complicated shape.

【0030】また別の方法として、複数の描画命令につ
いて構成要素の情報が同一である場合に、それらを共有
するデータ構造とすることができる。描画命令の構成要
素の情報は、例えば、描画領域、マスク、クリップ、
色、画像データの情報などがある。この方法は、例えば
複雑な形状を持つクリップや画像データを共有する複数
の描画命令を記憶する際に好適である。
As another method, when the information of the constituent elements is the same for a plurality of drawing commands, a data structure that shares them can be used. The information on the components of the drawing command includes, for example, a drawing area, a mask, a clip,
Information such as color and image data. This method is suitable, for example, when storing a plurality of drawing commands sharing clips having complicated shapes and image data.

【0031】もちろん他の記憶方法を用いてもよく、ま
たこれらの方法を適宜組み合わせて用いることもでき
る。さらに、描画内容の同一性の比較のため、描画命令
に描画内容データから計算されたパリティを付加し、描
画命令の構成要素が圧縮されている場合においても、高
速な比較が可能な構成としておくことができる。また、
領域の検査の高速化を可能とするため、各描画命令の描
画領域に外接する矩形に関する情報を付加し、描画命令
の外接矩形同士を比較することで、描画領域の重なり判
定の高速化を可能にすることができる。
Of course, other storage methods may be used, and these methods may be used in an appropriate combination. Furthermore, in order to compare the sameness of the drawing contents, a parity calculated from the drawing contents data is added to the drawing command so that a high-speed comparison can be performed even when the components of the drawing command are compressed. be able to. Also,
In order to speed up the inspection of the area, information on the rectangle circumscribing the drawing area of each drawing command is added, and by comparing the circumscribed rectangles of the drawing commands, the overlap judgment of the drawing areas can be speeded up. Can be

【0032】本発明の画像処理装置の実施の一形態にお
ける動作の一例について説明する。本発明の画像処理装
置に入力される描画命令のシーケンスには、描画命令を
そのまま描画すればよいだけの単純なシーケンス、これ
までに何度か言及してきたマスク付き描画を実現するシ
ーケンスをはじめ、いくつかの描画シーケンスがある。
ここでは上述のマスクつき描画を実現する場合を一例と
して取り上げ、その動作を説明する。
An example of the operation of the image processing apparatus according to the embodiment of the present invention will be described. The sequence of the drawing command input to the image processing apparatus of the present invention includes a simple sequence of simply drawing the drawing command as it is, a sequence of realizing the drawing with a mask that has been mentioned several times, There are several drawing sequences.
Here, the case where the above-described drawing with a mask is realized will be taken as an example, and the operation thereof will be described.

【0033】上述のマスク付き描画を実現するシーケン
スとは以下のようなものである。すなわち、同一の描画
領域及び描画内容を持つ2つのxor画素間演算を行う
描画命令の間に描画領域内の画素の画素値を0とする描
画命令が挟まれているシーケンスがこれに該当する。こ
の場合、まず、描画領域内の画素の画素値を0とする描
画命令の描画領域をマスク画像データもしくはクリップ
に変換する。さらに、xor画素間演算を行う描画命令
を、変換したマスク画像データもしくはクリップを使用
する通常のコピー描画命令に変換する。これによって、
画素間演算を含まない描画命令が生成されることにな
る。この時、xor演算を行う2つの描画命令は不要と
なるが、マスク画像データとして利用される描画命令は
上記シーケンスが存続可能な間は保持されなければなら
ない。
The sequence for realizing the above-described drawing with a mask is as follows. In other words, this corresponds to a sequence in which a rendering command for setting the pixel value of a pixel in the rendering region to 0 is sandwiched between rendering commands for performing an operation between two xor pixels having the same rendering region and rendering content. In this case, first, the drawing area of the drawing command in which the pixel value of the pixel in the drawing area is set to 0 is converted into mask image data or a clip. Further, a rendering command for performing an xor pixel-to-pixel operation is converted into a normal copy rendering command using the converted mask image data or clip. by this,
A drawing command that does not include an inter-pixel operation is generated. At this time, two drawing commands for performing the xor operation are not required, but the drawing command used as the mask image data must be held as long as the above sequence can be maintained.

【0034】このような描画命令のシーケンスに対応す
る処理を実現するため、本発明の画像処理装置は以下の
ような動作を行う。図2は、本発明の画像処理装置の実
施の一形態における動作の一例を示すフローチャートで
ある。描画命令が入力されると、その描画命令を描画命
令解釈部1で解釈し、内部の処理に適した形式に変換し
た後、描画命令判定部2に渡される。描画命令判定部2
は、入力された描画命令が所定のシーケンスに適合する
か否かを判断するが、ここではS11において、入力さ
れた描画命令を即時描画可能なものと即時描画できない
ものを画素間演算によって分別する。図3は、画素間演
算と即時描画可能性の説明図である。図3において、S
は描画命令に付随する入力画像を示し、Dはすでに描画
されている画像を示している。ここで、即時描画が可能
か否かの判定基準は、すでに描画されている画像、すな
わち背景画像の画素値を読み取り、それに演算を行う必
要があるか否かである。例えば入力画像(S)を上書き
する描画命令であれば、背景画像との演算は不要である
ので即時描画可能である。図3に示す例では、1つの入
力画像と背景画像の間の画素間演算のみを扱っている
が、複数の入力画像を扱う場合においても同じ判定基準
によって判断が可能である。
In order to realize the processing corresponding to the sequence of the drawing command, the image processing apparatus of the present invention performs the following operation. FIG. 2 is a flowchart illustrating an example of an operation of the image processing apparatus according to the embodiment of the present invention. When a drawing command is input, the drawing command is interpreted by the drawing command interpreter 1, converted into a format suitable for internal processing, and passed to the drawing command determiner 2. Drawing command determination unit 2
Determines whether the input drawing command conforms to a predetermined sequence. Here, in S11, the input drawing command is distinguished from those that can be drawn immediately and those that cannot be drawn immediately by inter-pixel calculation. . FIG. 3 is an explanatory diagram of the calculation between pixels and the possibility of immediate drawing. In FIG. 3, S
Indicates an input image accompanying the drawing command, and D indicates an image that has already been drawn. Here, the criterion for determining whether or not immediate drawing is possible is whether or not it is necessary to read a pixel value of an already drawn image, that is, a pixel value of a background image, and perform an operation on the pixel value. For example, if it is a drawing command that overwrites the input image (S), the calculation with the background image is unnecessary, and the drawing can be performed immediately. In the example shown in FIG. 3, only the calculation between pixels between one input image and the background image is handled. However, the determination can be made based on the same determination criterion even when a plurality of input images are handled.

【0035】入力された描画命令が即時描画不可能であ
る場合、例えば図3において即時描画が不可能であると
記した画素間演算を行う描画命令の場合には、その描画
命令については特定の描画命令のシーケンスの一部であ
る可能性があるので、描画命令合成部4に出力する。
In the case where the input drawing command cannot be drawn immediately, for example, in the case of a drawing command for performing an inter-pixel operation indicating that immediate drawing is not possible in FIG. Since there is a possibility that it is part of the sequence of the drawing command, it is output to the drawing command synthesizing unit 4.

【0036】また、入力された描画命令が即時描画可能
である場合、例えば図3において即時描画が可能である
と記した画素間演算を行う描画命令の場合には、さらに
S12において、描画命令記憶部5に記憶されている各
描画命令と、入力された描画命令の描画領域が重なって
いるか否かを検査する。入力された描画命令が即時描画
可能であり、かつ描画命令記憶部5に描画領域が重なる
描画命令が記憶されていなければ、この描画命令はその
まま中間データ生成部3に渡され、S13において出力
画像データが出力される。このように、描画命令判定部
2は入力された描画命令が背景画像の書き換えを行うか
否かといった即時描画性と、入力された描画命令の描画
領域と描画命令記憶部5中の描画命令の描画領域の重な
り判定によって、入力された描画命令を即座に実行して
も問題が発生しないことを確認し、確認できた描画命令
についてはそのまま出力画像データを生成している。
If the input drawing command is capable of immediate drawing, for example, a drawing command for performing an inter-pixel operation indicating that immediate drawing is possible in FIG. 3, the drawing command storage is further performed in S12. It is checked whether each drawing command stored in the section 5 and the drawing area of the input drawing command overlap. If the input drawing command can be drawn immediately and the drawing command storing unit 5 does not store a drawing command that overlaps the drawing area, the drawing command is passed to the intermediate data generation unit 3 as it is, and the output image Data is output. As described above, the drawing command determination unit 2 determines whether or not the input drawing command performs rewriting of the background image, the immediate drawing property, the drawing area of the input drawing command and the drawing command in the drawing command storage unit 5. By judging the overlap of the drawing areas, it is confirmed that no problem occurs even if the inputted drawing command is immediately executed, and the output image data is generated as it is for the confirmed drawing command.

【0037】入力された描画命令が即時描画可能であっ
ても、描画命令記憶部5に描画領域が重なる描画命令が
記憶されていれば、その描画命令については特定の描画
命令のシーケンスの一部である可能性があるので、この
描画命令は描画命令合成部4に出力される。
Even if the input drawing command can be drawn immediately, if a drawing command that overlaps the drawing area is stored in the drawing command storage unit 5, the drawing command is part of a specific drawing command sequence. Therefore, the drawing command is output to the drawing command synthesizing unit 4.

【0038】入力された描画命令が即時描画不可能であ
るか、あるいは即時描画可能であっても、描画命令記憶
部5に描画領域が重なる描画命令が記憶されている場合
には、S14において、描画命令合成部4による処理を
行う。描画命令合成部4はまず、描画命令判定部2から
入力された描画命令と描画領域が重なる描画命令を描画
命令記憶部5から抽出し、それらの命令群が特定のシー
ケンスを構成するか否かを検査し、対応する処理を実行
する。
In step S14, if the input drawing command cannot be drawn immediately, or if the drawing command overlapping the drawing area is stored in the drawing command storage unit 5 even if the drawing command can be drawn immediately, The processing by the drawing command synthesizing unit 4 is performed. The drawing command synthesizing unit 4 first extracts, from the drawing command storage unit 5, a drawing command that overlaps the drawing command input from the drawing command determination unit 2 with the drawing area, and determines whether or not those commands form a specific sequence. And executes the corresponding processing.

【0039】描画命令合成部4が検査するシーケンスの
例として以下のものがある。既に述べた同一の描画領域
及び描画内容を持つ2つのxor画素間演算を行う描画
命令の間に描画領域内の画素の画素値を0とする描画命
令が挟まれている場合が、この特定のシーケンスの一つ
である。この場合、描画領域内の画素の画素値を0とす
る描画命令の描画領域をマスク画像データもしくはクリ
ップに変換し、xor画素間演算を行う描画命令を変換
したマスク画像データもしくはクリップを使用する通常
のコピー描画命令に変換して中間データ生成部3に出力
する。この時、描画命令記憶部5に記憶されている該当
するxor画素間演算を行う描画命令は描画命令記憶部
5から削除される。さらに、ここで使用された描画領域
内の画素の画素値を0とする描画命令の前にxor画素
間演算を行う描画命令が記憶されていなければ、マスク
描画する対象がないので、この描画命令も描画命令記憶
部5から削除される。
The following is an example of a sequence to be inspected by the drawing command synthesizing section 4. In the case where the rendering command for setting the pixel value of the pixel in the rendering region to 0 is interposed between the rendering commands for performing the operation between two xor pixels having the same rendering region and rendering content as described above, One of the sequences. In this case, the drawing area of the drawing command in which the pixel value of the pixel in the drawing area is set to 0 is converted into mask image data or a clip, and the mask image data or the clip obtained by converting the drawing command for performing an xor pixel-to-pixel operation is used. And outputs it to the intermediate data generation unit 3. At this time, the rendering command for performing the corresponding xor pixel-to-pixel operation stored in the rendering command storage unit 5 is deleted from the rendering command storage unit 5. Further, if the drawing command for performing the xor pixel-to-pixel operation is not stored before the drawing command for setting the pixel value of the pixel in the drawing area to 0 used here, there is no target for mask drawing. Are also deleted from the drawing command storage unit 5.

【0040】描画領域内の画素の画素値を0とする描画
命令が入力された際に、この描画命令と重なる描画領域
を有するxor画素間演算を行う描画命令が描画命令記
憶部5に記憶されていた場合には、入力された描画命令
を中間データ生成部3に出力し、この描画命令を描画命
令記憶部5に記憶する。
When a drawing command for setting the pixel value of a pixel in the drawing area to 0 is input, a drawing command for performing an xor inter-pixel operation having a drawing area overlapping the drawing command is stored in the drawing command storage unit 5. If so, the input drawing command is output to the intermediate data generating unit 3, and the drawing command is stored in the drawing command storage unit 5.

【0041】このような特定のシーケンスを構成しない
描画命令が描画命令判定部2から入力された場合、描画
命令合成部4はその描画命令が特定のシーケンスの一部
として有効であれば描画命令記憶部5に記憶し、無効な
命令が入力された場合には重なり合う描画領域を有する
描画命令記憶部5中の描画命令とともに描画命令を変換
せずに中間データ生成部3に出力する。
When such a drawing command that does not form a specific sequence is input from the drawing command determination unit 2, the drawing command synthesizing unit 4 stores the drawing command if the drawing command is valid as a part of the specific sequence. When an invalid command is input, the drawing command is output to the intermediate data generation unit 3 without conversion together with the drawing command in the drawing command storage unit 5 having an overlapping drawing area.

【0042】上述のように、本発明では、入力された描
画命令について描画命令合成部4で特定の描画命令シー
ケンスを検出する際に描画領域についての判断を行って
いる。そのため、例えば図10に示したように特定の描
画命令シーケンスが連続している場合だけでなく、図1
1に示したように、ある描画領域に対する特定の描画命
令シーケンス中に他の描画命令が挿入されている場合で
も、正確に特定の描画命令シーケンスを検出することが
できる。
As described above, in the present invention, when the drawing command synthesizing unit 4 detects a specific drawing command sequence for the input drawing command, the drawing area is determined. Therefore, for example, not only when a specific drawing command sequence is continuous as shown in FIG.
As shown in FIG. 1, even when another drawing command is inserted in a certain drawing command sequence for a certain drawing area, a specific drawing command sequence can be accurately detected.

【0043】上述の説明では、描画命令合成部4はマス
ク画像データを用いた描画処理に変換可能なシーケンス
のみを扱っているが、これに限定されるものではなく、
各種描画処理に適用可能である。
In the above description, the drawing command synthesizing section 4 deals only with a sequence that can be converted into a drawing process using mask image data. However, the present invention is not limited to this.
It is applicable to various drawing processes.

【0044】以下、本発明の画像処理装置をプリンタに
適用した例を示す。図4は、本発明の画像処理装置を適
用するプリンタシステムの一例を示す概略構成図であ
る。図中、21はホストシステム、22はプリントエン
ジン、23はケーブルである。図4に示すプリンタシス
テムは、ホストシステム21とプリントエンジン22か
ら構成され、ケーブル23で直結されている。もちろ
ん、ケーブル23で両者を接続するほか、例えばLAN
等のネットワークを介して接続されていてもよい。
Hereinafter, an example in which the image processing apparatus of the present invention is applied to a printer will be described. FIG. 4 is a schematic configuration diagram illustrating an example of a printer system to which the image processing apparatus of the present invention is applied. In the figure, 21 is a host system, 22 is a print engine, and 23 is a cable. The printer system shown in FIG. 4 includes a host system 21 and a print engine 22 and is directly connected by a cable 23. Of course, besides connecting both with the cable 23, for example, LAN
Or the like may be connected via a network.

【0045】図5は、ホストシステムの一例を示すブロ
ック図である。図中、31はCPU、32はメモリ、3
3はビデオコントローラ、34はビデオメモリ、35は
ディスプレイインタフェース、36はプリンタインタフ
ェースである。ホストシステム21は、例えば図5に示
すようにCPU31、メモリ32、ビデオコントローラ
33、ビデオメモリ34、ディスプレイインタフェース
35、プリンタインタフェース36、その他図示されな
い部材によって構成されている。例えば本発明の画像処
理装置をプリンタインタフェース36に適用することが
可能である。
FIG. 5 is a block diagram showing an example of the host system. In the figure, 31 is a CPU, 32 is a memory, 3
3 is a video controller, 34 is a video memory, 35 is a display interface, and 36 is a printer interface. The host system 21 includes, for example, a CPU 31, a memory 32, a video controller 33, a video memory 34, a display interface 35, a printer interface 36, and other members (not shown) as shown in FIG. For example, the image processing apparatus of the present invention can be applied to the printer interface 36.

【0046】CPU31は、メモリ32中の画像を表示
させる場合には、描画命令をビデオコントローラ33に
渡し、ビデオコントローラ33が表示画面に対応するビ
デオメモリ34を用いて描画を行ってディスプレイイン
タフェース35を介してディスプレイなどの表示装置に
画像を表示させる。表示の場合には、ビデオメモリ34
が表示装置の画素と一対一の関係で、オペレーティング
システムおよびその規約に基づく描画命令が仮定する色
空間(通常はRGBを用いる)の画像データを保持して
いる。そのため、ビデオコントローラ33に対して指定
された画素間演算を実行するよう指示するだけで描画処
理が完了する。このときの画素間演算は、表示解像度が
低く、元の画像がビデオメモリ34に格納されており、
高速に画素間演算を行うことができる。
To display an image in the memory 32, the CPU 31 passes a drawing command to the video controller 33, and the video controller 33 performs drawing using the video memory 34 corresponding to the display screen, and connects the display interface 35. An image is displayed on a display device such as a display via the display. In the case of display, the video memory 34
Has a one-to-one relationship with the pixels of the display device, and holds image data in a color space (usually using RGB) assumed by a drawing command based on the operating system and its rules. Therefore, the rendering process is completed only by instructing the video controller 33 to execute the specified inter-pixel operation. In the inter-pixel operation at this time, the display resolution is low, the original image is stored in the video memory 34,
The operation between pixels can be performed at high speed.

【0047】一方、プリンタエンジン22によりメモリ
32中の画像を記録する場合には、CPU31は、描画
命令をプリンタインタフェース36に渡し、上述のよう
な本発明の画像処理装置においてプリントエンジン22
に転送する形式の出力画像データを生成し、その出力画
像データをプリントエンジン22へ転送する。
On the other hand, when an image in the memory 32 is recorded by the printer engine 22, the CPU 31 passes a drawing command to the printer interface 36, and in the image processing apparatus of the present invention as described above,
The output image data in a format to be transferred to the print engine 22 is generated, and the output image data is transferred to the print engine 22.

【0048】なお、ホストシステム21として、一般に
使用されているパーソナルコンピュータを用いて、ソフ
トウエアを中心として構成することができる。図6は、
ホストシステムのソフトウエア構成の一例を示すブロッ
ク図である。図中、41はアプリケーションプログラ
ム、42はオペレーティングシステム、43はプリンタ
ドライバ、44はプリンタインタフェースドライバ、4
5はビデオドライバである。ホストシステム21では、
例えばWindows(登録商標)やUNIX(登録商
標)などのオペレーティングシステム42のもとで、例
えばワードプロセッサ、スプレッドシートなどの1ない
し複数のアプリケーションプログラム41が動作する。
The host system 21 can be constituted mainly of software by using a personal computer generally used. FIG.
FIG. 2 is a block diagram illustrating an example of a software configuration of a host system. In the figure, 41 is an application program, 42 is an operating system, 43 is a printer driver, 44 is a printer interface driver, 4
5 is a video driver. In the host system 21,
For example, under an operating system 42 such as Windows (registered trademark) or UNIX (registered trademark), one or a plurality of application programs 41 such as a word processor and a spreadsheet operate.

【0049】また、あたかもオペレーティングシステム
42の一部のように動作するプリンタドライバ43,プ
リンタインタフェースドライバ44、ビデオドライバ4
5などの各種のドライバなどを有している。ビデオドラ
イバ45は、アプリケーションプログラム41からの描
画命令をオペレーティングシステム42を介して受け取
り、図5に示すビデオコントローラ33、ビデオメモリ
34、ディスプレイインタフェース35などを制御し
て、ディスプレイ等の表示装置に画像を表示する。プリ
ンタドライバ43は、同様にオペレーティングシステム
42を介してアプリケーションプログラム41から受け
取った描画命令を中間データに変換する。また、プリン
タインタフェースドライバ44は、プリンタドライバ4
3が生成した中間データをオペレーティングシステム4
2を通して受け取り、図5に示すプリンタインタフェー
ス36を制御してプリントエンジン22に出力する。
A printer driver 43, a printer interface driver 44, and a video driver 4 which operate as if they were part of the operating system 42
5 and the like. The video driver 45 receives a drawing command from the application program 41 via the operating system 42 and controls the video controller 33, the video memory 34, the display interface 35, and the like shown in FIG. indicate. The printer driver 43 similarly converts a drawing command received from the application program 41 via the operating system 42 into intermediate data. The printer interface driver 44 is a printer driver 4
Operating system 4 for the intermediate data generated by
2 and controls the printer interface 36 shown in FIG.

【0050】このようなソフトウエア構成において、本
発明の画像処理装置を実現するソフトウエアをプリンタ
ドライバ43に組み込むことが可能である。オペレーテ
ィングシステム42からプリンタドライバ43に渡され
る描画命令に対して、上述のような本発明の画像処理装
置の動作を実行し、生成される出力画像データを中間デ
ータとして出力すればよい。例えばマスクつき描画を行
う場合、オペレーティングシステム42からxor演算
あるいはand演算を行う描画命令の列としてプリンタ
ドライバ43に与えられる。プリンタドライバ43にお
いて本発明の画像処理装置の機能を実行することによっ
て、xor演算やand演算などの画素間演算のない描
画命令に変換し、中間データとしてプリントエンジン2
2に対して出力することができる。
In such a software configuration, it is possible to incorporate software for realizing the image processing apparatus of the present invention into the printer driver 43. In response to the drawing command passed from the operating system 42 to the printer driver 43, the above-described operation of the image processing apparatus of the present invention may be executed, and the generated output image data may be output as intermediate data. For example, when rendering with a mask is performed, the operating system 42 gives the printer driver 43 as a sequence of rendering commands for performing an xor operation or an operation. By executing the function of the image processing apparatus of the present invention in the printer driver 43, the image data is converted into a drawing command without inter-pixel operation such as xor operation and and operation, and the print engine 2 is converted into intermediate data.
2 can be output.

【0051】図7は、プリントエンジンの一例を示すブ
ロック図である。図中、51はCPU、52はメモリ、
53はホストシステムインタフェース、54はマーキン
グエンジンインタフェース、55はマーキングエンジン
である。プリントエンジン22は図7に示すように、C
PU51、メモリ52、ホストシステムインタフェース
53、マーキングエンジンインタフェース54、マーキ
ングエンジン55などから構成されている。
FIG. 7 is a block diagram showing an example of the print engine. In the figure, 51 is a CPU, 52 is a memory,
53 is a host system interface, 54 is a marking engine interface, and 55 is a marking engine. As shown in FIG. 7, the print engine 22
It comprises a PU 51, a memory 52, a host system interface 53, a marking engine interface 54, a marking engine 55, and the like.

【0052】ホストシステムインタフェース53を通し
てホストシステム21から入力された中間データは、C
PU51によって処理され、メモリ52上に画像データ
が生成される。このメモリ52上の画像データがマーキ
ングエンジンインタフェース54を通してマーキングエ
ンジン55に送られ、用紙などの媒体上に記録される。
The intermediate data input from the host system 21 through the host system interface 53 is C
Processing is performed by the PU 51, and image data is generated on the memory 52. The image data on the memory 52 is sent to the marking engine 55 through the marking engine interface 54 and is recorded on a medium such as paper.

【0053】図8は、プリントエンジンのソフトウエア
構成の一例を示すブロック図である。図中、61はホス
トインタフェースドライバ、62はスプーラ、63はイ
メージャ、64はマーキングエンジンドライバ、65は
システム制御部である。ホストインタフェースドライバ
61により図7におけるホストシステムインタフェース
53を制御し、ホストシステム21からの中間データを
受け取ると、スプーラ62により中間データを一旦蓄積
する。そして、イメージャ63がスプーラ62から中間
データを取り出し、取り出した中間データを元に画像を
生成する。さらにマーキングエンジンドライバ64が図
7に示すマーキングエンジンインタフェース54及びマ
ーキングエンジン55を制御して、イメージャ63で生
成した画像を用紙等の媒体上に記録させる。システム制
御部65は、これらの動作を制御する。
FIG. 8 is a block diagram showing an example of the software configuration of the print engine. In the figure, 61 is a host interface driver, 62 is a spooler, 63 is an imager, 64 is a marking engine driver, and 65 is a system control unit. The host system interface 53 in FIG. 7 is controlled by the host interface driver 61, and upon receiving the intermediate data from the host system 21, the spooler 62 temporarily stores the intermediate data. Then, the imager 63 extracts the intermediate data from the spooler 62 and generates an image based on the extracted intermediate data. Further, the marking engine driver 64 controls the marking engine interface 54 and the marking engine 55 shown in FIG. 7 to record the image generated by the imager 63 on a medium such as paper. The system control unit 65 controls these operations.

【0054】例えば上述のようにホストシステム21に
本発明の画像処理装置あるいは本発明の画像処理装置の
機能を実現するソフトウエアを搭載することによって、
プリントエンジン22に渡される中間データは、画素間
演算をなるべく使用しないように生成されている。例え
ばマスクつき描画処理についてはホストシステム21の
オペレーティングシステム42からはxor演算やan
d演算を伴う描画命令の列が出力されているが、プリン
タドライバ43において本発明の画像処理装置の機能を
実行することによって、マスク画像データを用いたコピ
ー描画命令に変換されている。イメージャ63では、マ
スク画像データと入力画像データとを用いて、マスク画
像データの画素値が1である画素に対応する位置の入力
画像データの画素の画素値を出力すべき画像データにコ
ピーする処理を行えばよい。この処理は、画素間演算を
複数回行う場合に比べてはるかに高速に実行することが
でき、また、色空間と無関係に行うことができるので、
色空間の変換などに伴う画質の劣化なども発生しない。
For example, as described above, by installing the image processing apparatus of the present invention or software for realizing the functions of the image processing apparatus of the present invention in the host system 21,
The intermediate data passed to the print engine 22 is generated so as not to use the inter-pixel operation as much as possible. For example, with respect to the drawing processing with mask, xor operation and an
Although a sequence of drawing commands with d operation is output, the sequence is converted into a copy drawing command using mask image data by executing the function of the image processing apparatus of the present invention in the printer driver 43. The imager 63 uses the mask image data and the input image data to copy the pixel value of the pixel of the input image data at the position corresponding to the pixel having the pixel value of 1 to the image data to be output. Should be performed. This processing can be performed much faster than the case where the inter-pixel operation is performed a plurality of times, and can be performed independently of the color space.
There is no deterioration in image quality due to color space conversion or the like.

【0055】このように、プリントエンジン22におい
ては必要最小限の画素間演算を行うのみで画像を生成す
ることができ、高速に処理を行い、画像記録終了までの
時間を短縮することができる。また、上述のような描画
命令の合成処理を行うことによって中間データのデータ
量も削減されており、ホストシステム21からプリント
エンジン22へ転送するデータ量も少なく、短時間で中
間データの転送を行うことが可能である。
As described above, in the print engine 22, an image can be generated only by performing a minimum necessary inter-pixel operation, processing can be performed at high speed, and the time until the end of image recording can be shortened. In addition, the data amount of the intermediate data is also reduced by performing the above-described rendering command synthesizing process, the data amount transferred from the host system 21 to the print engine 22 is small, and the intermediate data is transferred in a short time. It is possible.

【0056】なお、上述のプリンタシステムの一例の説
明では、ホストシステム21に本発明の画像処理装置あ
るいは本発明の画像処理装置の機能を実現するソフトウ
ェアを搭載するものとして説明した。本発明はこれに限
らず、例えばプリントエンジン22に本発明の画像処理
装置あるいは本発明の画像処理装置の機能を実現するソ
フトウェアを搭載することが可能である。例えば図8に
おけるイメージャ63の機能として、あるいは、スプー
ラ62の前または後に本発明の画像処理装置の機能を実
行する処理部を設け、画素間演算の処理を減らすことが
可能である。
In the description of an example of the printer system described above, the host system 21 has been described as being equipped with the image processing apparatus of the present invention or software for realizing the functions of the image processing apparatus of the present invention. The present invention is not limited to this. For example, the print engine 22 can be equipped with the image processing apparatus of the present invention or software for realizing the functions of the image processing apparatus of the present invention. For example, it is possible to provide a processing unit that executes the function of the image processing apparatus of the present invention as the function of the imager 63 in FIG. 8 or before or after the spooler 62 to reduce the processing of the inter-pixel calculation.

【0057】[0057]

【発明の効果】以上の説明から明らかなように、本発明
によれば、入力された描画命令及びそれまでに保存され
ている描画命令について、その内容と描画領域とを判定
して、描画命令に対する処理を行う。そのため、例えば
同じ描画領域に対する所定のシーケンスの描画命令の間
に他の描画領域に対する描画命令が挿入されていても、
同じ描画領域に対する所定のシーケンスの描画命令を正
確に検出し、処理を行うことが可能である。例えば検出
した画素間演算を伴う所定のシーケンスの描画命令から
画素間演算を行わないような描画命令を生成することに
よって、画質を劣化させず、処理の高速化を図ることが
可能であるという効果がある。
As is apparent from the above description, according to the present invention, the contents and the drawing area of the inputted drawing command and the drawing command stored so far are determined, and the drawing command is determined. The processing for is performed. Therefore, for example, even if a drawing command for another drawing region is inserted between drawing commands of a predetermined sequence for the same drawing region,
It is possible to accurately detect a drawing command of a predetermined sequence for the same drawing area and perform processing. For example, by generating a drawing command that does not perform an inter-pixel calculation from a detected drawing command of a predetermined sequence involving an inter-pixel calculation, it is possible to increase processing speed without deteriorating image quality. There is.

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

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

【図2】 本発明の画像処理装置の実施の一形態におけ
る動作の一例を示すフローチャートである。
FIG. 2 is a flowchart illustrating an example of an operation of the image processing apparatus according to the embodiment of the present invention.

【図3】 画素間演算と即時描画可能性の説明図であ
る。
FIG. 3 is an explanatory diagram of the calculation between pixels and the possibility of immediate drawing.

【図4】 本発明の画像処理装置を適用するプリンタシ
ステムの一例を示す概略構成図である。
FIG. 4 is a schematic configuration diagram illustrating an example of a printer system to which the image processing device of the present invention is applied.

【図5】 ホストシステムの一例を示すブロック図であ
る。
FIG. 5 is a block diagram illustrating an example of a host system.

【図6】 ホストシステムのソフトウエア構成の一例を
示すブロック図である。
FIG. 6 is a block diagram illustrating an example of a software configuration of a host system.

【図7】 プリントエンジンの一例を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating an example of a print engine.

【図8】 プリントエンジンのソフトウエア構成の一例
を示すブロック図である。
FIG. 8 is a block diagram illustrating an example of a software configuration of a print engine.

【図9】 マスク付き描画の動作の一例の説明図であ
る。
FIG. 9 is an explanatory diagram of an example of an operation of drawing with a mask.

【図10】 マスク付き描画を使用したグラデーション
出力の一例の説明図である。
FIG. 10 is an explanatory diagram of an example of gradation output using drawing with a mask.

【図11】 マスク付き描画を使用したグラデーション
出力の別の例の説明図である。
FIG. 11 is an explanatory diagram of another example of gradation output using drawing with a mask.

【図12】 マスク付き描画を使用したグラデーション
出力の別の例における描画結果の説明図である。
FIG. 12 is an explanatory diagram of a drawing result in another example of gradation output using drawing with a mask.

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

1…描画命令解釈部、2…描画命令判定部、3…中間デ
ータ生成部、4…描画命令合成部、5…描画命令記憶
部、21…ホストシステム、22…プリントエンジン、
23…ケーブル、31…CPU、32…メモリ、33…
ビデオコントローラ、34…ビデオメモリ、35…ディ
スプレイインタフェース、36…プリンタインタフェー
ス、41…アプリケーションプログラム、42…オペレ
ーティングシステム、43…プリンタドライバ、44…
プリンタインタフェースドライバ、45…ビデオドライ
バ、51…CPU、52…メモリ、53…ホストシステ
ムインタフェース、54…マーキングエンジンインタフ
ェース、55…マーキングエンジン、61…ホストイン
タフェースドライバ、62…スプーラ、63…イメージ
ャ、64…マーキングエンジンドライバ、65…システ
ム制御部。
DESCRIPTION OF SYMBOLS 1 ... Drawing command interpretation part, 2 ... Drawing command determination part, 3 ... Intermediate data generation part, 4 ... Drawing command synthesis part, 5 ... Drawing command storage part, 21 ... Host system, 22 ... Print engine,
23 ... cable, 31 ... CPU, 32 ... memory, 33 ...
Video controller, 34 ... Video memory, 35 ... Display interface, 36 ... Printer interface, 41 ... Application program, 42 ... Operating system, 43 ... Printer driver, 44 ...
Printer interface driver, 45 ... Video driver, 51 ... CPU, 52 ... Memory, 53 ... Host system interface, 54 ... Marking engine interface, 55 ... Marking engine, 61 ... Host interface driver, 62 ... Spooler, 63 ... Imager, 64 ... Marking engine driver, 65 ... System control unit.

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/387 G06T 3/00 300 // G06T 3/00 300 G09G 5/36 520M Fターム(参考) 2C087 AA15 AA16 AB05 BB10 BC02 BC04 BD01 BD07 BD35 BD40 BD42 BD46 BD53 CB03 5B057 AA11 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE08 CG01 5B069 CA02 DD01 5C076 AA03 AA14 AA19 BA03 BA06 5C082 AA01 AA32 BA02 BA12 BB22 CA18 CA34 CA56 CB03 DA63 DA86 EA15 MM02 Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (reference) H04N 1/387 G06T 3/00 300 // G06T 3/00 300 G09G 5/36 520M F-term (reference) 2C087 AA15 AA16 AB05 BB10 BC02 BC04 BD01 BD07 BD35 BD40 BD42 BD46 BD53 CB03 5B057 AA11 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE08 CG01 5B069 CA02 DD01 5C076 AA03 AA14 AA19 BA03 BA06 5C082 AA01 CAA23 CA02 CB02

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 画素間演算を含む描画命令を順次実行し
て出力画像データを生成する画像処理装置において、描
画命令を記憶する描画命令記憶手段と、前記描画命令記
憶手段に記憶されている描画命令と与えられた描画命令
の描画範囲に基づいて同じ描画領域を有する1ないし複
数の描画命令に対する処理を行う描画命令合成手段と、
入力された描画命令を該描画命令が描画する領域と命令
内容に応じてそのまま前記出力画像データとするか前記
描画命令合成手段に与えるかを判断する描画命令判定手
段を具備していることを特徴とする画像処理装置。
1. An image processing apparatus for sequentially executing a drawing command including an inter-pixel operation to generate output image data, comprising: a drawing command storage means for storing a drawing command; and a drawing command stored in the drawing command storage means. Drawing command synthesizing means for performing processing for one or more drawing commands having the same drawing area based on the drawing range of the command and the given drawing command;
A drawing command determining unit configured to determine whether the input drawing command is to be used as the output image data or to be given to the drawing command synthesizing unit according to an area where the drawing command is drawn and the content of the command. Image processing apparatus.
【請求項2】 前記描画命令判定手段は、入力された描
画命令が即時描画可能な命令であり、かつ上記描画命令
記憶手段に記憶された描画命令と描画領域が重なり合わ
ない場合に、該入力された描画命令をそのまま前記出力
画像データとし、それ以外の場合には前記描画命令合成
手段に該入力された描画命令を与えることを特徴とする
請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the drawing command determining unit determines that the input drawing command is a command that can be drawn immediately and that the drawing command stored in the drawing command storage unit does not overlap with the drawing area. 2. The image processing apparatus according to claim 1, wherein the rendered drawing command is directly used as the output image data, and otherwise, the inputted drawing command is given to the drawing command synthesizing means.
【請求項3】 前記描画命令合成手段は、前記与えられ
た描画命令の前記描画命令記憶手段への記憶、前記描画
命令記憶手段中の描画命令の削除、前記描画命令記憶手
段中の描画命令と前記与えられた描画命令からの描画命
令の合成の処理を実行することを特徴とする請求項1ま
たは請求項2に記載の画像処理装置。
3. The drawing command synthesizing means stores the given drawing command in the drawing command storage means, deletes the drawing command in the drawing command storage means, and stores the drawing command in the drawing command storage means. The image processing apparatus according to claim 1, wherein a process of synthesizing a drawing command from the given drawing command is executed.
【請求項4】 前記描画命令合成手段は、前記描画命令
判定手段から与えられた描画命令と、該描画命令と同じ
描画領域を有する前記描画命令記憶手段に記憶された描
画命令とが所定のシーケンスを構成する場合には、該所
定のシーケンスを構成する前記描画命令記憶手段に記憶
された描画命令と前記描画命令判別手段から与えられた
描画命令とを合成して描画命令を生成し、前記出力画像
データとするとともに、合成された描画命令の生成によ
り不要となる前記描画命令記憶手段中の描画命令を前記
描画命令記憶手段から削除することを特徴とする請求項
1ないし請求項3のいずれか1項に記載の画像処理装
置。
4. The drawing command synthesizing means, wherein a drawing command given from the drawing command determination means and a drawing command stored in the drawing command storage means having the same drawing area as the drawing command are stored in a predetermined sequence. In the case of configuring the drawing sequence, the drawing command stored in the drawing command storage unit forming the predetermined sequence and the drawing command given from the drawing command determination unit are combined to generate a drawing command, and the output command is generated. 4. The drawing command storage device according to claim 1, wherein the drawing command stored in the drawing command storage unit is deleted from the drawing command storage unit, the drawing command being unnecessary by generation of the combined drawing command. 2. The image processing device according to claim 1.
【請求項5】 前記描画命令合成手段は、前記描画命令
判定手段から与えられた描画命令と、該描画命令と同じ
描画領域を有する前記描画命令記憶手段に記憶された描
画命令とが所定のシーケンスを構成しない場合には、前
記描画命令判定手段から与えられた描画命令を前記描画
命令記憶手段に記憶させることを特徴とする請求項4に
記載の画像処理装置。
5. The drawing command synthesizing means, wherein a drawing command given from the drawing command judging means and a drawing command stored in the drawing command storage means having the same drawing area as the drawing command are stored in a predetermined sequence. 5. The image processing apparatus according to claim 4, wherein when not configuring, the drawing command given from the drawing command determination unit is stored in the drawing command storage unit.
【請求項6】 前記描画命令合成手段は、前記所定のシ
ーケンスとして、xor演算を伴う第1の描画命令と、
前記第1の描画命令と重複する領域に画素値0を書き込
む第2の描画命令と、xor演算を伴い前記第1の描画
命令と同一の領域に対して前記第1の描画命令と同一の
色もしくは画像データを書き込む第3の描画命令がこの
順に実行される描画命令シーケンスを検出したとき、前
記第2の描画命令で指定された領域をマスクとして、前
記第1の描画命令で指定された領域に前記第1の描画命
令で指定された色もしくは画像データを書き込む描画命
令を生成するとともに、前記描画命令記憶手段に記憶さ
れた前記第1の描画命令を前記描画命令記憶手段から削
除し、前記第2の描画命令の前に前記第2の描画命令と
描画領域が重複するxor演算を伴う描画命令が前記描
画命令記憶手段に記憶されていない場合には前記描画命
令記憶手段から前記第2の描画命令を削除することを特
徴とする請求項4または請求項5に記載の画像処理装
置。
6. The drawing command synthesizing means, as the predetermined sequence, a first drawing command accompanied by an xor operation,
A second drawing instruction for writing a pixel value 0 in an area overlapping with the first drawing instruction, and a same color as the first drawing instruction for the same area as the first drawing instruction with xor operation. Alternatively, when the third drawing command for writing image data detects a drawing command sequence to be executed in this order, the area specified by the first drawing command is used as a mask using the region specified by the second drawing command. Generating a drawing command to write the color or image data designated by the first drawing command to the first drawing command, deleting the first drawing command stored in the drawing command storage means from the drawing command storage means, If the drawing command including the xor operation whose drawing area overlaps with the second drawing command is not stored in the drawing command storage means before the second drawing command, the drawing command storage means The image processing apparatus according to claim 4 or claim 5, characterized in that to remove the second drawing command.
【請求項7】 前記描画命令記憶手段は、描画命令を記
憶する際に、該描画命令について描画領域の情報を含む
構成要素の情報をそれぞれ保持し、複数の描画命令につ
いて1ないし複数の描画要素の情報が同じ場合には、少
なくとも同じ構成要素の情報について共有して記憶する
ことを特徴とする請求項1ないし請求項6のいずれか1
項に記載の画像処理装置。
7. The drawing command storage means, when storing a drawing command, holds information on components including information on a drawing area for the drawing command, and stores one or more drawing elements for a plurality of drawing commands. 7. If the information is the same, at least the information of the same constituent element is shared and stored.
An image processing apparatus according to the item.
【請求項8】 前記描画命令記憶手段は、描画命令を記
憶する際に、該描画命令もしくは該描画命令の構成要素
を圧縮することを特徴とする請求項1ないし請求項7の
いずれか1項に記載の画像処理装置。
8. The image forming apparatus according to claim 1, wherein the drawing command storage unit compresses the drawing command or a component of the drawing command when storing the drawing command. An image processing apparatus according to claim 1.
JP2000141399A 2000-05-15 2000-05-15 Image processor Pending JP2001324975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000141399A JP2001324975A (en) 2000-05-15 2000-05-15 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000141399A JP2001324975A (en) 2000-05-15 2000-05-15 Image processor

Publications (1)

Publication Number Publication Date
JP2001324975A true JP2001324975A (en) 2001-11-22

Family

ID=18648521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000141399A Pending JP2001324975A (en) 2000-05-15 2000-05-15 Image processor

Country Status (1)

Country Link
JP (1) JP2001324975A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252115A (en) * 2005-03-10 2006-09-21 Dainippon Printing Co Ltd Image conversion output system, image conversion output server, image handling method, program and recording medium
US7682430B2 (en) 2001-08-18 2010-03-23 Roche Diagnostics Corporation Device for extracting gas or liquid from microfluidid through-flow systems
JP2010099973A (en) * 2008-10-24 2010-05-06 Kyocera Mita Corp Image forming apparatus and image forming program
JP2012155610A (en) * 2011-01-27 2012-08-16 Fujitsu Ltd Drawing apparatus and method
JP2015029172A (en) * 2013-07-30 2015-02-12 キヤノン株式会社 Image processing method
JP2015152693A (en) * 2014-02-12 2015-08-24 株式会社東芝 information processing device, semiconductor device, display device, control method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7682430B2 (en) 2001-08-18 2010-03-23 Roche Diagnostics Corporation Device for extracting gas or liquid from microfluidid through-flow systems
JP2006252115A (en) * 2005-03-10 2006-09-21 Dainippon Printing Co Ltd Image conversion output system, image conversion output server, image handling method, program and recording medium
JP4642510B2 (en) * 2005-03-10 2011-03-02 大日本印刷株式会社 Image conversion output system, image conversion output server, image handling method, program, and recording medium
JP2010099973A (en) * 2008-10-24 2010-05-06 Kyocera Mita Corp Image forming apparatus and image forming program
JP2012155610A (en) * 2011-01-27 2012-08-16 Fujitsu Ltd Drawing apparatus and method
JP2015029172A (en) * 2013-07-30 2015-02-12 キヤノン株式会社 Image processing method
JP2015152693A (en) * 2014-02-12 2015-08-24 株式会社東芝 information processing device, semiconductor device, display device, control method, and program

Similar Documents

Publication Publication Date Title
US20110075165A1 (en) Image processing system, image processing method and computer readable medium
JP2000083161A (en) Image processing unit, its method and image processing system
US20180082160A1 (en) Image processing apparatus and image processing method
EP0731423A1 (en) Arbitrary masking technique for filling in shapes for display
US6975416B2 (en) Print control apparatus and method
US20140168695A1 (en) Image forming apparatus and control method for image forming apparatus
JP3845045B2 (en) Image processing apparatus, image processing method, image forming apparatus, printing apparatus, and host PC
JP2004334852A (en) Image processing by pixel types
US6891970B1 (en) Image processing apparatus and method
JP2887572B2 (en) Image output device and image processing method
JP2001324975A (en) Image processor
US6906707B2 (en) Image processing apparatus and method
JP2001293936A (en) Image information processor and method of processing image information
JP3211417B2 (en) Page description language processor
JP6882099B2 (en) Image processing equipment, image processing methods and programs
JP6904717B2 (en) Image processing equipment, its control method, and programs
JP2002157108A (en) Image processing method, storage medium, and image forming device
JPH07135575A (en) Color picture information output device
JP2004334533A (en) Image processing device and method
JP4853504B2 (en) Image processing program and image processing system
JP4539801B2 (en) Image processing apparatus and image forming apparatus
US8756491B2 (en) PDL data processing device
JP2001169120A (en) Method, device, and system for image processing
JP2002133429A (en) Plotting information processing device, plotting information processing method, and storage medium
JP2002024840A (en) Drawing processing device