JPH0729021A - Picture output device - Google Patents

Picture output device

Info

Publication number
JPH0729021A
JPH0729021A JP5195197A JP19519793A JPH0729021A JP H0729021 A JPH0729021 A JP H0729021A JP 5195197 A JP5195197 A JP 5195197A JP 19519793 A JP19519793 A JP 19519793A JP H0729021 A JPH0729021 A JP H0729021A
Authority
JP
Japan
Prior art keywords
processing
data
output
image
graphics
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5195197A
Other languages
Japanese (ja)
Other versions
JP3085036B2 (en
Inventor
Motofumi Hori
素史 堀
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 JP05195197A priority Critical patent/JP3085036B2/en
Publication of JPH0729021A publication Critical patent/JPH0729021A/en
Application granted granted Critical
Publication of JP3085036B2 publication Critical patent/JP3085036B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a picture output device which can execute optimum antialiasing by the type of plotting data and which can execute an output processing without adding a frame memory to the output device which does not have the frame memory. CONSTITUTION:Input data is analyzed in a language processing part 1. In the case of a graphics processing, an antialiasing processing 3 and a plotting processing are executed in a graphics processing part 2. In the antialiasing processing 3, a private processing corresponding to data to be plotted is executed. The antialiasing processing is executed by a character-only processing 4, a vector-only processing 5 and an image-only processing 6 according to whether data to be plotted is a character, a vector and an image, and it is rasterized. Raster data is outputted from an output processing part 7 to an output device 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力データを処理して
画像を出力する画像出力装置に関するものであり、特
に、グラフィックスの処理の一つとしてアンチエリアシ
ング処理を行なう画像出力装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image output apparatus for processing input data and outputting an image, and more particularly to an image output apparatus for performing anti-aliasing processing as one of graphics processing. Is.

【0002】[0002]

【従来の技術】近年、ページ記述言語(以下、PDLと
略す)で記述されたデータを入力データとし、入力デー
タを解釈して処理を行ない、出力画像を得る画像出力装
置が多く利用されるようになった。
2. Description of the Related Art In recent years, image output devices have been widely used in which data described in a page description language (hereinafter abbreviated as PDL) is used as input data, the input data is interpreted and processed, and an output image is obtained. Became.

【0003】図12は、従来の画像出力装置の構成図で
ある。図中、71は言語処理部、72はグラフィックス
処理部、73はフレームバッファ、74は出力装置であ
る。PDLで記述された入力データは、言語処理部71
に入力される。言語処理部71では、入力データを解釈
し、それぞれの処理を行なう。例えば、各種のパラメー
タの設定処理や、グラフィックスデータからビットマッ
プデータへの変換などの処理などを行なう。ビットマッ
プデータへ展開された画像は、例えば、フレームバッフ
ァ73に格納しておく。1ページ分のビットマップ展開
された画像データは、プリンタやCRTなどの出力装置
74に転送され、画像として出力される。
FIG. 12 is a block diagram of a conventional image output device. In the figure, 71 is a language processing unit, 72 is a graphics processing unit, 73 is a frame buffer, and 74 is an output device. The input data described in PDL is the language processing unit 71.
Entered in. The language processing unit 71 interprets the input data and performs each processing. For example, various parameter setting processing, processing of converting graphics data to bitmap data, and the like are performed. The image expanded into bitmap data is stored in the frame buffer 73, for example. The image data that has been bitmap-developed for one page is transferred to an output device 74 such as a printer or a CRT and output as an image.

【0004】図13は、従来の画像出力装置におけるグ
ラフィックス処理部の動作を示すフローチャートであ
る。まず、S81において、PDLで記述された入力デ
ータを読み込む。そして、S82において、読み込んだ
入力データを解釈し、入力データとして記述されている
指令の種類を判断し、その指令の種類に応じた処理に移
行する。指令の種類がパラメータの設定を行なうもので
あれば、S83において、各種のパラメータの値を格納
したパラメータテーブルに対して、指定されたパラメー
タの設定を行なう。指令の種類が、グラフィックスデー
タの構築を行なうものである場合には、S84におい
て、指定された図形を描画するためのグラフィックスデ
ータを構築し、描画の指令の入力データとする。また、
指令の種類が、グラフィックスデータの描画を行なうも
のであれば、S85において、グラフィックスデータと
パラメータからビットマップ展開を行ない、フレームバ
ッファ73へ書き込む。これらの各指令の処理をくり返
し行なうことになる。1ページ分の描画が終了し、ペー
ジ出力の指令を受け取ると、S86において、フレーム
バッファ73からビットマップ展開された画像を読み出
して、出力装置へ転送し、1ページ分のグラフィックス
処理部の処理を終了する。
FIG. 13 is a flowchart showing the operation of the graphics processing unit in the conventional image output apparatus. First, in S81, the input data described in PDL is read. Then, in S82, the read input data is interpreted, the type of the command described as the input data is determined, and the process corresponding to the type of the command is performed. If the command type is to set a parameter, in S83, the designated parameter is set to the parameter table storing the values of various parameters. If the type of command is to build graphics data, in S84, graphics data for drawing the specified figure is built and used as input data for the drawing command. Also,
If the type of command is to draw graphics data, in S85, bitmap expansion is performed from the graphics data and parameters, and the result is written into the frame buffer 73. The processing of each of these commands will be repeated. When drawing of one page is completed and a page output command is received, in step S86, the bitmap-developed image is read from the frame buffer 73, transferred to the output device, and processed by the graphics processing unit for one page. To finish.

【0005】上述のような画像出力装置において、出力
装置74の多くは、300dpi(ドット/インチ)以
下のレーザビームプリンタや、CRTなどの画面表示装
置である。これらの装置は、比較的、低解像度である。
低解像度の出力装置では、上述のようなビットマップ展
開された画像は、エッジ部分のドットが顕在化し、ぎざ
ぎざに見えるエリアシングが発生するという問題があ
る。そのため、従来より、出力の際にアンチエリアシン
グと呼ばれる処理を施し、出力画像の高画質化を図る試
みがなされている。
In the image output device as described above, most of the output devices 74 are laser beam printers of 300 dpi (dots / inch) or less, and screen display devices such as CRTs. These devices have relatively low resolution.
In a low-resolution output device, in the bitmap-developed image as described above, there is a problem in that dots in the edge portions become visible and aliasing that looks jagged occurs. Therefore, conventionally, an attempt has been made to improve the image quality of an output image by performing a process called anti-aliasing at the time of outputting.

【0006】アンチエリアシングの処理方式の1つとし
ては、例えば、特開平4−57175号公報の図形処理
装置が挙げられる。この方式では、文字も単なるベクタ
グラフィックスデータの集合として扱い、アンチエリア
シング処理を行なっている。図12,図13の例では、
グラフィックス処理部72の一つの機能としてアンチエ
リアシングの処理が組み込まれており、S85における
描画処理の中で、アンチエリアシング処理が施されるこ
とになる。
One of the anti-aliasing processing methods is, for example, the graphic processing device disclosed in Japanese Patent Laid-Open No. 4-57175. In this method, characters are treated as a set of vector graphics data and antialiasing processing is performed. In the example of FIGS. 12 and 13,
The anti-aliasing process is incorporated as one function of the graphics processing unit 72, and the anti-aliasing process is performed in the drawing process in S85.

【0007】一方、文字と図形のグラフィックスでは、
性質に違いがある。文字の場合には、非常に小さな領域
の中に細線がたくさん描かれている。したがって、低解
像度の出力装置に小さな文字を出力する場合、上述のよ
うな、通常用いられているアンチエリアシング処理のア
ルゴリズムを用いると、文字全体にアンチエリアシング
が行なわれ、文字がぼやけて見えたり、つぶれてしまう
こともあり得る。
On the other hand, in the graphics of characters and figures,
There are differences in properties. In the case of letters, many fine lines are drawn in a very small area. Therefore, when outputting small characters to a low-resolution output device, antialiasing is performed on the entire character and the character appears to be blurry when the above-mentioned algorithm of the antialiasing process that is normally used is used. Or it may get crushed.

【0008】また、上述の特開平4−57175号公報
等に記載されている図形処理装置のように、PDL等で
記述されたコマンドを逐一解釈して、図形や文字等のグ
ラフィックスプリミティブを描画して行くモデルにおい
ては、新しいグラフィックスプリミティブの描画は、フ
レームメモリにすでに描画してある背景、および、グラ
フィックスのビットマップを参照しながらアンチエリア
シング処理を行なっている。そのため、フレームメモリ
は頻繁に読み出される。このような処理を行なうには、
少なくとも1ページ分のフレームメモリを有し、このフ
レームメモリを高速に参照することが可能なハードウェ
ア構成が必要である。しかし、ある一定幅の印字領域に
対応したバンドバッファしか有しない方式の出力装置な
ど、フレームメモリを持たない出力装置も多数存在す
る。このような出力装置をサポートするには、アンチエ
リアシングの処理のためにフレームメモリを別個に用意
する必要がある。
Further, like the graphic processing device described in Japanese Patent Laid-Open No. 4-57175, the commands described in PDL and the like are interpreted one by one to draw graphics primitives such as graphics and characters. In the model, a new graphics primitive is drawn by performing anti-aliasing while referring to the background already drawn in the frame memory and the graphics bitmap. Therefore, the frame memory is frequently read. To do this,
It is necessary to have a hardware configuration that has a frame memory for at least one page and can refer to this frame memory at high speed. However, there are many output devices that do not have a frame memory, such as an output device that uses only a band buffer corresponding to a print area of a certain width. To support such an output device, it is necessary to prepare a separate frame memory for the anti-aliasing process.

【0009】また、同様に、画像出力装置からネットワ
ークを介して接続された出力装置で出力する場合に、出
力装置が有しているフレームメモリの参照ができない形
式のものや、フレームメモリの参照が可能であっても、
実用上使用できない程度の速度でしか通信できない場合
がある。図14は、ネットワークを介して印刷装置と接
続された従来の画像出力装置の概略構成図である。図
中、75は出力処理部、76は第1のフレームバッフ
ァ、77は第2のフレームバッファ、78は印刷装置で
ある。印刷装置78が有する第2のフレームバッファ7
7が画像出力装置から参照できなかったり、または、ネ
ットワークを介して第2のフレームバッファ77を参照
すると速度的に利用できない場合には、アンチエリアシ
ングの処理を行なうために、グラフィックス処理部72
または出力処理部75に別個に第1のフレームバッファ
76を用意する必要がある。そして、第1のフレームバ
ッファ76に描画された画像をネットワークを介して第
2のフレームバッファ77に転送し、印刷装置78は、
第2のフレームバッファ77を読み出して印刷を行なう
ことになる。このように、2重のフレームバッファを設
けなければならないという問題がある。
Similarly, when outputting from an image output device to an output device connected via a network, the frame memory of the output device cannot be referred to, or the frame memory is not referred to. Even if possible
In some cases, communication can only be performed at a speed that is not practically usable. FIG. 14 is a schematic configuration diagram of a conventional image output device connected to a printing device via a network. In the figure, 75 is an output processing unit, 76 is a first frame buffer, 77 is a second frame buffer, and 78 is a printing device. The second frame buffer 7 included in the printing device 78
7 cannot be referred to from the image output device, or if the second frame buffer 77 is not available at high speed by referring to the second frame buffer 77 via the network, the graphics processing unit 72 performs the anti-aliasing process.
Alternatively, it is necessary to separately prepare the first frame buffer 76 in the output processing unit 75. Then, the image drawn in the first frame buffer 76 is transferred to the second frame buffer 77 via the network, and the printing device 78
The second frame buffer 77 is read out and printing is performed. As described above, there is a problem that a double frame buffer must be provided.

【0010】[0010]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、出力するデータの種類によ
って、最適なアンチエリアシングを行なえるようにする
とともに、フレームメモリを有しない出力装置に対して
も、フレームメモリを付加することなく、出力処理を行
なうことのできる画像出力装置を提供することを目的と
するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and makes it possible to perform optimum anti-aliasing depending on the type of data to be output, and output without a frame memory. It is an object of the present invention to provide an image output device capable of performing output processing without adding a frame memory to the device.

【0011】[0011]

【課題を解決するための手段】本発明は、入力データを
解釈して処理を行ない出力画像を得る画像出力装置にお
いて、前記入力データを解釈する言語処理部と、少なく
ともアンチエリアシング処理を行なうグラフィックス処
理部と、該グラフィックス処理部で処理された画像を出
力する出力処理部を有し、前記グラフィックス処理部に
おいて行なわれるアンチエリアシング処理は、前記入力
データの種別に応じた処理を行なうことを特徴とするも
のである。
SUMMARY OF THE INVENTION According to the present invention, in an image output apparatus for interpreting input data and processing to obtain an output image, a language processing section for interpreting the input data and a graphic for performing at least anti-aliasing processing. A graphics processing unit and an output processing unit for outputting the image processed by the graphics processing unit, and the anti-aliasing processing performed in the graphics processing unit performs processing according to the type of the input data. It is characterized by that.

【0012】また、前記グラフィックス処理部は、入力
データに基づきエッジリストを生成する処理を含み、前
記グラフィックス処理部において行なわれる前記アンチ
エリアシング処理は、エッジリストを生成する際に、あ
るいは、エッジリストに対して行なわれ、前記出力処理
部は前記グラフィックス処理部において生成された前記
エッジリストに基づいてラスタ出力を行なうことを特徴
とするものである。
Further, the graphics processing unit includes a process of generating an edge list based on input data, and the anti-aliasing process performed in the graphics processing unit is performed when the edge list is generated, or The output processing unit performs the raster output based on the edge list generated by the graphics processing unit.

【0013】[0013]

【作用】本発明によれば、グラフィックス処理部におい
て行なわれるアンチエリアシング処理は、入力データの
種別に応じた処理が行なわれるので、例えば、図形など
ではエッジ部にぎざぎざのない、エリアシングの除去さ
れた画像となり、また、文字などではぼけやつぶれがな
く、視認性を保ったままでエリアシングの除去がなされ
た画像を得ることができる。
According to the present invention, the anti-aliasing process performed in the graphics processing unit is performed in accordance with the type of input data. The image becomes a removed image, and there is no blurring or crushing of characters and the like, and an image in which aliasing is removed can be obtained while maintaining visibility.

【0014】また、エッジリストの生成時に、あるい
は、エッジリストに対してアンチエリアシング処理を行
なうことにより、隣接するラインのエッジの位置関係の
みによりアンチエリアシング処理を行なうことができ、
また、エッジリストに基づいてラスタ出力を行なうこと
ができるので、フレームメモリを参照せずにアンチエリ
アシング処理を行なうことができるとともに、フレーム
メモリを有しない出力装置であっても、新たにフレーム
メモリを用意することなく、画像の出力を行なうことが
できる。
Further, when the edge list is generated or by performing the anti-aliasing process on the edge list, the anti-aliasing process can be performed only by the positional relationship of the edges of the adjacent lines.
Further, since the raster output can be performed based on the edge list, the anti-aliasing process can be performed without referring to the frame memory, and even if the output device does not have the frame memory, the frame memory is newly added. It is possible to output an image without preparing.

【0015】[0015]

【実施例】図1は、本発明の画像出力装置の一実施例を
示す概略構成図である。図中、1は言語処理部、2はグ
ラフィックス処理部、3はアンチエリアシング処理、4
は文字専用処理、5はベクタ専用処理、6はイメージ専
用処理、7は出力処理部、8は出力装置である。言語処
理部1に入力される入力データとしては、例えば、PD
L等の言語で記述されたデータとすることができる。P
DLとしては、例えば、Adobe社のPost Sc
riptなどが有名である。これに限らず、Knuth
のTeXや、多くのX−Yプロッタ等で用いられている
ベクタ形式のデータなどを入力データとすることは可能
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic block diagram showing an embodiment of an image output apparatus of the present invention. In the figure, 1 is a language processing unit, 2 is a graphics processing unit, 3 is anti-aliasing processing, 4
Is a character only process, 5 is a vector only process, 6 is an image only process, 7 is an output processing unit, and 8 is an output device. As the input data input to the language processing unit 1, for example, PD
It can be data described in a language such as L. P
As the DL, for example, Post Sc from Adobe
Ript is famous. Not limited to this, Knuth
TeX, vector format data used in many XY plotters, etc. can be used as the input data.

【0016】言語処理部1は、入力された入力データを
解釈する。解釈した入力データに基づき、ループ処理や
条件判定等の簡単な制御や、数値演算なども行なう。入
力データがグラフィックスに関する処理であると解釈し
た場合には、次のグラフィック処理部2に送る。グラフ
ィックス処理部2は、グラフィックに関する種々の処理
を行なう。その処理の一つとして、アンチエリアシング
処理3を有している。アンチエリアシング処理3は、描
画するデータに応じた専用の処理を行なう。文字専用処
理4は、描画するデータが文字の場合に、描画する文字
画像に対してアンチエリアシング処理を施す。同様に、
ベクタ専用処理5は、描画するデータがベクタデータの
場合に、イメージ専用処理6は、描画するデータがイメ
ージデータの場合に、それぞれアンチエリアシング処理
を行なう。出力処理部7は、例えば、プリンタやCRT
等の出力装置8に対する出力処理を行なう。
The language processing unit 1 interprets input input data. Based on the interpreted input data, simple control such as loop processing and condition determination, and numerical calculation are also performed. When the input data is interpreted as a process related to graphics, it is sent to the next graphic processing unit 2. The graphics processing unit 2 performs various kinds of processing related to graphics. The anti-aliasing process 3 is included as one of the processes. The anti-aliasing process 3 performs a dedicated process according to the data to be drawn. The character-dedicated processing 4 performs anti-aliasing processing on a character image to be drawn when the drawn data is a character. Similarly,
The vector-only processing 5 performs anti-aliasing processing when the drawing data is vector data, and the image-only processing 6 performs anti-aliasing processing when the drawing data is image data. The output processing unit 7 is, for example, a printer or a CRT.
Output processing to the output device 8 is performed.

【0017】グラフィックス処理部2は、フレームバッ
ファを有する構成においては、描画及びアンチエリアシ
ング処理はフレームバッファを用いて行なうことができ
る。また、フレームバッファを有しない構成の場合に
は、グラフィックス処理部2は、描画するデータをエッ
ジリストに形式変換して出力するように構成することも
できる。この場合、アンチエリアシング処理は、エッジ
リスト生成時に、あるいは、エッジリストに対して行な
うことができる。出力処理部7は、グラフィックス処理
部2から出力されるエッジリストに基づき、各ラスタラ
インごとにビットマップ展開し、出力装置8に出力する
ことができる。
When the graphics processing unit 2 has a frame buffer, the drawing and anti-aliasing processing can be performed using the frame buffer. Further, in the case of a configuration having no frame buffer, the graphics processing unit 2 may be configured to format-convert the data to be drawn into an edge list and output it. In this case, the anti-aliasing process can be performed when the edge list is generated or on the edge list. The output processing unit 7 can develop a bitmap for each raster line based on the edge list output from the graphics processing unit 2 and output the rasterized bitmap to the output device 8.

【0018】図2は、本発明の画像出力装置の一実施例
における動作を説明するためのフローチャートである。
S11において、PDL等によって記述された入力デー
タは、言語処理部1で解釈される。PDLが有するルー
プ処理や条件判定、数値演算などの機能は、言語処理部
1で処理された後、グラフィックスに関連する命令がグ
ラフィックス処理部2に送られる。グラフィックスに関
連する命令は大きく4つに分かれる。S12において、
命令の種類を判別し、各処理に移行する。
FIG. 2 is a flow chart for explaining the operation in one embodiment of the image output apparatus of the present invention.
In S11, the language processing unit 1 interprets the input data described in PDL or the like. The functions of the PDL, such as loop processing, condition determination, and numerical calculation, are processed by the language processing unit 1, and then graphics-related commands are sent to the graphics processing unit 2. The commands related to graphics are roughly divided into four. In S12,
The type of instruction is determined, and the process proceeds to each process.

【0019】命令がパラメータ設定の場合には、S13
において、パラメータテーブルにパラメータの設定を行
なう。設定後はS11に戻る。図3は、パラメータの説
明図である。設定できるパラメータの一例としては、図
3(A)に示すようなものが考えられる。これらのパラ
メータのいくつかは、図3(B)に示す各部の描画に用
いられる。例えば、図3(B)の「く」の字の2本の直
線の描画に際しては、“Current Point”
を基準として、直線の始点、終点の座標をもとに描画さ
れる。その時、“matrix”で指定された変換マト
リクスによって座標変換がなされる。描画に際しては、
“Current Color”で指定された色で、
“Line Width”で指定された線幅により描画
される。このとき、線幅の丸め誤差は、“Stroke
Adjust”により設定されている。さらに、線の
先端は、“Line Cap”で指定された形状で描画
され、また、線と線のつなぎ部は、“Line Joi
n”で指定された形状によりつながれる。つなぎ部の形
状としてマイターを用いる場合には、“MiterLi
mit”により、つなぎ部の滑らかさが指定される。線
の先端やつなぎ部、あるいは、円弧などの曲線を描画す
る場合には、“Flatness”で指定された丸め誤
差の範囲内で直線近似され、直線のベクターデータに変
換される。描画する線が破線の場合には、“Dash
Pattern”で指定された形状で描画される。ま
た、図3(B)の「文字出力」の文字の描画時には、
“Current Font”を用いてベクターデータ
に変換される。このほかにも、クリップ領域を指定する
“Clipping Path”や、処理対象領域を指
定する“Current Path”等のパラメータが
ある。もちろん、このほかにも、塗り潰しの際の透過ま
たは上塗りなどの種別等、種々のパラメータを設定可能
とし、処理時に利用することができる。
If the command is parameter setting, S13
At, the parameters are set in the parameter table. After setting, the process returns to S11. FIG. 3 is an explanatory diagram of parameters. As an example of the parameter that can be set, the one shown in FIG. Some of these parameters are used for drawing each part shown in FIG. For example, when drawing the two straight lines of the "K" in FIG. 3 (B), "Current Point"
Is used as a reference, and is drawn based on the coordinates of the start and end points of the straight line. At that time, coordinate conversion is performed by the conversion matrix designated by "matrix". When drawing,
In the color specified by "Current Color",
It is drawn with the line width specified by "Line Width". At this time, the rounding error of the line width is "Stroke
It is set by "Adjust". Further, the tip of the line is drawn in the shape specified by "Line Cap", and the connecting portion between the lines is "Line Joy".
It is connected by the shape specified by n ". When a miter is used as the shape of the connecting portion," MiterLi
"mit" specifies the smoothness of the joint. When drawing a curve such as the tip of a line, joint, or arc, a linear approximation is performed within the rounding error range specified by "Flatness". Converted to straight line vector data.If the line to be drawn is a broken line, "Dash
It is drawn in the shape specified by "Pattern." In addition, at the time of drawing the character of "character output" in FIG.
It is converted into vector data by using “Current Font”. In addition to these, there are parameters such as "Clipping Path" for specifying the clip area and "Current Path" for specifying the processing target area. Of course, in addition to this, various parameters such as the type of transparent or overcoating at the time of filling can be set and can be used at the time of processing.

【0020】命令がグラフィックスデータの構築を指示
している場合には、S14において、グラフィックスデ
ータの構築の処理を行なう。PDLでは、ベクターグラ
フィックスを複数集めてセグメント化して1つの幾何学
図形を構築し、その図形を対象として線引きや塗りつぶ
しを行なう場合がある。そのための図形を構築する作業
を、このステップで行なう。このステップで作成された
図形および文字、イメージ等のグラフィックスデータ
は、S11に戻り、描画命令によって描画される。
If the instruction instructs the construction of graphics data, the processing of constructing graphics data is performed in S14. In PDL, a plurality of vector graphics may be collected and segmented to construct one geometric figure, and the figure may be subjected to line drawing and painting. In this step, the work for constructing the graphic for that purpose is performed. The graphics data such as figures, characters and images created in this step is returned to S11 and drawn by a drawing command.

【0021】命令が描画処理を指示している場合には、
ラスタデータへの変換を行なって描画を行なうが、ま
ず、S15において、データの種類によって処理を切り
換え、データの種類に応じた処理を行なう。描画するデ
ータが文字データの場合には、S16において、文字専
用処理4によって、文字画像に対するアンチエリアシン
グ処理を行ない、ラスタデータへの変換を行なう。描画
するデータがベクタデータの場合には、S17におい
て、ベクタ専用処理5によってアンチエリアシング処理
を行ない、ラスタデータへの変換を行なう。描画するデ
ータがイメージデータの場合には、S18において、イ
メージ専用処理6によってアンチエリアシング処理を行
ない、ラスタデータへの変換を行なう。
If the command indicates drawing processing,
Rendering is performed by converting to raster data. First, in S15, processing is switched depending on the type of data, and processing according to the type of data is performed. If the data to be drawn is character data, in step S16, the character-only processing 4 performs anti-aliasing processing on the character image to convert it into raster data. If the data to be drawn is vector data, the antialiasing process is performed by the vector-dedicated process 5 in S17 to convert it to raster data. When the data to be drawn is image data, the anti-aliasing process is performed by the image-dedicated process 6 in S18, and conversion into raster data is performed.

【0022】命令がページ出力を指示している場合に
は、S19において、出力処理部7において出力装置8
に対する出力処理を行なう。描画命令は順に処理される
ので、多くのPDLでは、後から描画する図形が前に描
かれた図形上にオーバライトされて描かれて行くことに
なる。オーバライト以外にも透過的なモデルも考えられ
るが、どちらにしても重なりに対する処理をしなければ
ならない。そのため、描画コマンドに対してすぐに出力
装置に送るのではなく、例えば、1ページ分の画像を描
画した後、ページ出力命令によって、1ページ分の画像
を一度に出力する処理を行なう。フレームバッファを有
する構成では、描画はフレームバッファと呼ばれる1ペ
ージ分の出力バッファに描かれる。そのフレームバッフ
ァを出力装置8の出力同期に合わせて読み出して出力す
る。これらの手順によって、出力画像が得られる。
If the command indicates page output, the output processing unit 7 outputs the output device 8 in step S19.
Output processing to. Since the drawing commands are processed in order, in many PDLs, the figure to be drawn later is overwritten on the figure drawn before and drawn. A transparent model can be considered in addition to the overwrite, but in any case, it is necessary to handle the overlap. Therefore, instead of sending the drawing command to the output device immediately, for example, after drawing an image of one page, a process of outputting an image of one page at a time by a page output command is performed. In a configuration having a frame buffer, drawing is performed in an output buffer for one page called a frame buffer. The frame buffer is read and output in synchronization with the output synchronization of the output device 8. An output image is obtained by these procedures.

【0023】次に、上述の描画処理について詳述する。
本発明では、アンチエリアシング処理をより効果的に行
なうために、描画データを文字データ、ベクタデータ、
イメージデータに分けてから処理を行なっている。この
理由は、文字データはベクターデータに比べてかなり限
定的なグラフィックスと考えられるからである。すなわ
ち、一般的な文書では12ポイント以下の文字が多く使
われ、例えば、72dpiのディスプレイに表示される
ときには1ドットの線が多発することが考えられる。他
方、ベクターグラフィックスなどにおいては、最低でも
数ドットの幅の線が多く、また、塗りつぶしなど、大き
な領域が対象になることも有り得る。したがって、文字
をアウトラインフォントで表現した場合、本来はベクタ
ーグラフィックスの集合ではあるが、同じパラメータで
アンチエリアシング処理を行なうと、全体的にぼけた
り、線間の隙間がつぶれたりして、最良の効果が得られ
ない可能性が高い。このように、画一的な処理を施す
と、描画するデータの種類によっては、最良の効果が得
られない場合が発生する。そのため、本発明では、文
字、ベクター、イメージの各データについて、それぞれ
専用の処理を行なうことによって、データの種類によら
ず、最良の効果を得ることができる。
Next, the above-mentioned drawing processing will be described in detail.
In the present invention, in order to perform the anti-aliasing process more effectively, the drawing data is changed to character data, vector data,
Processing is performed after dividing into image data. The reason for this is that character data is considered to be much more limited graphics than vector data. That is, in general documents, characters of 12 points or less are often used, and for example, when displayed on a 72 dpi display, it is conceivable that a line of 1 dot will frequently occur. On the other hand, in vector graphics and the like, there are many lines with a width of at least several dots, and it is possible that a large area such as a filled area is targeted. Therefore, when characters are expressed in outline font, they are originally a set of vector graphics, but if antialiasing processing is performed with the same parameters, they will be blurred as a whole or the gaps between the lines will be crushed. There is a high possibility that the effect of will not be obtained. If uniform processing is performed in this way, the best effect may not be obtained depending on the type of data to be drawn. Therefore, in the present invention, the best effect can be obtained regardless of the type of data by performing dedicated processing for each data of character, vector, and image.

【0024】各データの種別ごとに、それぞれの専用処
理について述べる。文字データの場合には、水平線・垂
直線においてはアンチエリアシング処理を行なわないよ
うにする。この結果、水平線、垂直線のエッジが強調さ
れ、斜め線、カーブの部分のみに補正がかかり、ぼけが
抑えられて、メリハリのきいた画像が得られる。ベクタ
ーデータの場合には、既存のアルゴリズムによってアン
チエリアシング処理を行なう。イメージデータの場合に
は、その輪郭のみにアンチエリアシング処理を施せば良
い。
The dedicated processing for each type of data will be described. In the case of character data, the anti-aliasing process is not performed on the horizontal and vertical lines. As a result, the edges of horizontal lines and vertical lines are emphasized, correction is applied only to the portions of diagonal lines and curves, blurring is suppressed, and sharp images are obtained. In the case of vector data, antialiasing processing is performed using an existing algorithm. In the case of image data, anti-aliasing processing may be applied only to the contour.

【0025】イメージデータの場合には、アンチエリア
シング処理の他に、色数変換を同時に行なっておくと、
より効果的である。イメージデータと出力装置の表現可
能な色の数が異なる場合、一般的には誤差拡散法などの
アルゴリズムを用いて変換を行なう。このようなアルゴ
リズムが有効なのは、イメージデータのような離散的な
データである。これに対してグラフィックス等は色は一
定なので誤差拡散の必要はなく、単なる線形変換であ
る。したがって、イメージデータだけ選択的に処理を行
なえば充分である。輪郭のアンチエリアシング処理とと
もに、この色数変換も行なっておくことにより、色数変
換による輪郭部の乱れも滑らかになり、効果的である。
In the case of image data, if the number of colors is converted at the same time as the anti-aliasing process,
More effective. When the image data and the number of colors that can be expressed by the output device are different, conversion is generally performed using an algorithm such as an error diffusion method. Such an algorithm is effective for discrete data such as image data. On the other hand, since the colors of graphics and the like are constant, there is no need for error diffusion and it is just a linear conversion. Therefore, it is sufficient to selectively process only the image data. By performing this color number conversion together with the contour anti-aliasing processing, the disturbance of the contour portion due to the color number conversion is also smoothed, which is effective.

【0026】文字データの場合、あるPDLでは、文字
コードとアウトラインフォントデータを単に結び付ける
だけでなく、文字をきれいにラスタライズするためにヒ
ント情報と呼ばれるデータを別に持っていることがあ
る。例えば、Adobe社のType1フォントフォー
マットと呼ばれる文字格納フォーマットでは、あるアウ
トラインベクターが水平線または垂直線である場合に、
水平線または垂直線であるという情報を付加している。
文字データに対してアンチエリアシング処理を行なうと
きには、このヒント情報を用いることにより、アンチエ
リアシングを行なわない水平線及び垂直線の抽出処理を
簡略化することができる。また、既存のフォントフォー
マット以外に、アンチエリアシングを考慮した別のヒン
ト情報を付加した新しいフォントフォーマットを用いる
ことにより、より良い効果を得ることも可能である。
In the case of character data, a certain PDL may have not only a link between a character code and outline font data, but also separate data called hint information for neatly rasterizing a character. For example, in a character storage format called Adobe's Type1 font format, when an outline vector is a horizontal line or a vertical line,
Information that the line is a horizontal line or a vertical line is added.
When the anti-aliasing process is performed on the character data, the hint information can be used to simplify the extraction process of the horizontal and vertical lines for which anti-aliasing is not performed. Further, in addition to the existing font format, it is possible to obtain a better effect by using a new font format to which another hint information considering anti-aliasing is added.

【0027】一般に、アンチエリアシング処理は、フレ
ームメモリにすでに書き込まれている前図形の色を読み
出し、その色と自身の図形の色から処理を行なう。その
ため、フレームメモリは頻繁に読み出される。したがっ
て、前述したように、出力装置にフレームメモリがない
場合、例えば、バンドバッファを持つ装置の場合は、ア
ンチエリアシング処理のために別にフレームメモリが必
要となる。また、フレームメモリを持っていても読み出
せないものや読み出せてもその速度が遅すぎる場合も別
にフレームメモリが必要となる。図14でも説明したよ
うに、ネットワークで接続されているものなどでも同様
である。
In general, in the anti-aliasing process, the color of the previous figure already written in the frame memory is read, and the process is performed from the color and the color of the own figure. Therefore, the frame memory is frequently read. Therefore, as described above, if the output device does not have a frame memory, for example, if the device has a band buffer, a separate frame memory is required for the anti-aliasing process. Further, a separate frame memory is required even if the device has a frame memory that cannot be read or if the speed of reading is too slow. As described with reference to FIG. 14, the same applies to those connected by a network.

【0028】これらの出力装置に対しても出力可能とす
るため、描画するグラフィックスデータをエッジリスト
の形式に変換し、各ラインごとのエッジリストを参照し
てドットイメージに変換して出力する方式がある。アン
チエリアシング処理は、エッジリストの形式に変換する
際に、または、エッジリストに変換された後に行なうこ
とができる。以下、この方法による画像の出力について
説明する。
In order to enable output to these output devices, the graphics data to be drawn is converted into an edge list format, and the edge list of each line is referred to and converted into a dot image for output. There is. The anti-aliasing process can be performed at the time of conversion to the edge list format or after conversion to the edge list. The output of images by this method will be described below.

【0029】図4は、グラフィックスデータのエッジリ
ストへの変換の説明図である。いま、一例として図4
(A)に示す三角形の描画を行なう場合を考える。三角
形の描画を行なうグラフィックス描画命令を受けると、
図4(B)に示すように、出力装置の解像度に応じてラ
インごとのスキャンを行なう。図4(B)では、描画す
る三角形を縦横とも2倍に拡大し、スキャンを行なって
いる。スキャンされた結果、始点、終点と色情報を得る
ことができる。図4(C)に示す始点、終点のデータを
持ったエッジと呼ぶランレングス形式のデータが、その
グラフィックスのスキャンラインの数だけできる。これ
をエッジリストと呼ぶ。図4(C)では示していない
が、色や輝度を示すデータまたはポインタが付加される
こともある。
FIG. 4 is an explanatory diagram of conversion of graphics data into an edge list. Now, as an example, FIG.
Consider the case of drawing the triangle shown in FIG. When a graphics drawing command that draws a triangle is received,
As shown in FIG. 4B, scanning is performed line by line according to the resolution of the output device. In FIG. 4B, the triangle to be drawn is magnified twice in both length and width and scanning is performed. As a result of scanning, the starting point, the ending point and the color information can be obtained. As shown in FIG. 4C, the run-length format data called an edge having the start point data and the end point data is created by the number of scan lines of the graphics. This is called an edge list. Although not shown in FIG. 4C, data or a pointer indicating color or brightness may be added.

【0030】このようにして変換されたエッジリストを
参照し、または、エッジリストを作成する際に、隣接す
るスキャンラインの始点、終点と、当該スキャンライン
の始点、終点の関係から、始点及び終点における色、濃
度等を調整する。図4(B)に示したように、拡大され
た図形に対してスキャンを行なっている場合、2ライン
ごとに参照し、2画素ずつ、すなわち4画素を単位とし
て参照するごとく、始点、終点の位置関係を判定する。
例えば、上に隣接するスキャンの始点が偶数で、当該ス
キャンの始点が奇数の場合、4画素内に存在するドット
の数は多くの場合3であると判定し、75%の色割合で
出力するように調整する。もちろん、拡大した図形に対
してスキャンしたエッジリストでなくとも、隣接したラ
インのエッジリストを参照して色割合を調整することも
できる。
When referring to the edge list thus converted or creating an edge list, the start point and the end point are determined from the relationship between the start point and the end point of adjacent scan lines and the start point and the end point of the scan line. Adjust the color, density, etc. in. As shown in FIG. 4B, when scanning is performed on an enlarged figure, reference is made every two lines, and every two pixels, that is, every four pixels are referred to as a unit. Determine the positional relationship.
For example, when the start points of the adjacent scans above are even numbers and the start points of the scans are odd numbers, it is determined that the number of dots existing within four pixels is 3 in most cases, and output at a color ratio of 75%. To adjust. Of course, the color ratio can be adjusted by referring to the edge list of adjacent lines instead of the edge list scanned for the enlarged figure.

【0031】このような色割合の調整により、アンチエ
リアシング処理が行なわれる。図5はアンチエリアシン
グ処理後のエッジリストの説明図、図6は出力される画
像の説明図である。アンチエリアシング処理により色割
合が調整されたドットは、図5に示すように、分割され
て別のエッジとなる。図5に示すエッジリストを用い、
各ラインごとにラスタ変換して出力することにより、図
6に示すようなアンチエリアシング処理の施された画像
を得ることができる。図では、色や濃淡を示すことがで
きないので、ドット内のハッチングにより、色や濃度の
違いを示している。
The anti-aliasing process is performed by adjusting the color ratio in this way. FIG. 5 is an explanatory diagram of the edge list after the anti-aliasing processing, and FIG. 6 is an explanatory diagram of the output image. The dot whose color ratio has been adjusted by the anti-aliasing process is divided into different edges as shown in FIG. Using the edge list shown in FIG.
By raster-converting and outputting each line, an image subjected to anti-aliasing processing as shown in FIG. 6 can be obtained. In the figure, since it is not possible to show the color and shade, the hatching in the dots shows the difference in color and density.

【0032】図7は、グラフィックス描画の処理のフロ
ーチャートである。まず、S21において、図3に示し
たようなパラメータテーブルから、グラフィックスの描
画に必要なパラメータを取得する。S22において、描
画する図形を、線引き、塗りつぶし等のコマンドに合わ
せて、パラメータを用いながら、アウトラインベクター
化する。そして、S23において、作成されたアウトラ
インベクターに基づき、アンチエリアシング処理を行な
いながらエッジリストを生成する。生成したエッジリス
トは、S24において、それまでに生成されているエッ
ジリストとマージされる。
FIG. 7 is a flowchart of the graphics drawing process. First, in S21, the parameters necessary for drawing graphics are acquired from the parameter table as shown in FIG. In S22, the figure to be drawn is made into an outline vector by using the parameters in accordance with commands such as drawing and filling. Then, in S23, an edge list is generated while performing anti-aliasing processing based on the created outline vector. The generated edge list is merged with the edge lists generated so far in S24.

【0033】描画するデータが文字データの場合には、
各文字をアウトラインベクターに変換し、グラフィック
スデータと同様にエッジリストを作成し、アンチエリア
シング処理を行なうことができる。このとき、水平線、
垂直線が検出された場合には、その部分にはアンチエリ
アシング処理を行なわず、もとの色や濃度を保つように
処理を行なう。水平線や垂直線の検出は、ヒント情報を
用いることが可能である。
If the data to be drawn is character data,
Each character can be converted into an outline vector, an edge list can be created in the same manner as graphics data, and anti-aliasing processing can be performed. At this time, the horizon,
When a vertical line is detected, antialiasing processing is not performed on that portion, but processing is performed so as to maintain the original color and density. Hint information can be used to detect horizontal lines and vertical lines.

【0034】図8は、文字の描画の処理のフローチャー
トである。まず、S31において、文字フォントなど、
文字の描画に必要なパラメータを取得する。S32にお
いて、フォント辞書を参照し、アンチエリアシング処理
に役立つヒント情報があるか否かを判定する。もし、ヒ
ント情報があるならば、S33において、ヒント情報を
用いたアンチエリアシング処理を行ないながら、エッジ
リストを生成する。もし、ヒント情報がない場合には、
S34において、通常の文字データに対するアンチエリ
アシング処理及びエッジリストの生成を行なう。生成し
たエッジリストは、S35において、それまでに生成さ
れているエッジリストとマージされる。
FIG. 8 is a flowchart of a character drawing process. First, in S31, such as a character font,
Get the parameters needed to draw a character. In S32, the font dictionary is referred to, and it is determined whether or not there is hint information useful for the anti-aliasing process. If there is hint information, in S33, an edge list is generated while performing anti-aliasing processing using the hint information. If there is no hint information,
In S34, the anti-aliasing process for the normal character data and the generation of the edge list are performed. The generated edge list is merged with the edge lists generated so far in S35.

【0035】描画するデータがイメージデータの場合に
は、イメージデータ内の情報に対してはアンチエリアシ
ング等の処理を行なわない。そのため、イメージデータ
の外形をエッジリスト化する。図9は、イメージデータ
のエッジリストへの変換の説明図である。イメージデー
タのドット列に合わせてスキャンラインを設定し、外形
の始点、終点の座標をエッジリストとする。エッジリス
トには、各スキャンラインのドットイメージを指し示す
ポインタを付加することができる。アンチエリアシング
処理は、エッジリストを用いてイメージデータの輪郭部
分のみに施し、イメージデータ内には処理を行なわな
い。出力の際には、このエッジリストからそのままビッ
トマップデータを出力することになる。
When the data to be drawn is image data, the information in the image data is not subjected to anti-aliasing processing. Therefore, the outline of the image data is converted into an edge list. FIG. 9 is an explanatory diagram of conversion of image data into an edge list. The scan line is set according to the dot row of the image data, and the coordinates of the start point and the end point of the outer shape are used as the edge list. A pointer that points to the dot image of each scan line can be added to the edge list. The anti-aliasing process is performed only on the outline portion of the image data using the edge list, and is not performed in the image data. At the time of output, the bitmap data is output as it is from this edge list.

【0036】図10は、イメージデータの描画の処理の
フローチャートである。まず、S41において、イメー
ジの描画に必要なパラメータを取得する。S42におい
て、描画するイメージを、パラメータを用いながら、誤
差拡散などの補正処理を行なう。そして、S43におい
て、補正処理の行なわれたイメージデータの輪郭部に対
してアンチエリアシング処理を行ないながらエッジリス
トを生成する。生成したエッジリストは、S44におい
て、それまでに生成されているエッジリストとマージさ
れる。
FIG. 10 is a flowchart of the processing for drawing the image data. First, in S41, parameters required for drawing an image are acquired. In S42, the image to be drawn is subjected to correction processing such as error diffusion while using the parameters. Then, in S43, an edge list is generated while performing anti-aliasing processing on the contour portion of the image data on which the correction processing has been performed. The generated edge list is merged with the edge lists generated so far in S44.

【0037】上述の各データは、単独で出力されること
はまれであり、通常は、複数のデータによる描画が行な
われ、1ページごとに出力される。そのため、エッジリ
ストに変換され、アンチエリアシング処理の施されたエ
ッジリストは、1ページ分まとまるまで保管される。エ
ッジリストは、X座標でソートされた後、同じYバケッ
トに収められる。新しいグラフィックスが描画される
と、エッジリストに変換された後、同じYバケットにあ
ったものに関しては、さらにその中のエッジデータを比
較して、重なるものに関しては、例えば、オーバーライ
トの処理を行ない、後から描画されたデータを優先す
る。もちろん、透過するように、先に描画されたデータ
を優先させることもできる。このようにして、1ページ
分のエッジリストを生成するが、すべて、Yバケット、
すなわち、スキャンラインごとのエッジリストになって
いる。ページ出力指示があると出力装置の仕様に合わせ
てスキャンラインごとにラスターデータへの展開を行な
い、出力する。
Each of the above-mentioned data is rarely output alone, and normally, drawing is performed by a plurality of data and is output for each page. Therefore, the edge list converted into the edge list and subjected to the anti-aliasing process is stored until one page is collected. The edge list is sorted by X coordinate and then put in the same Y bucket. When a new graphic is drawn, it is converted into an edge list, then the edge data in the same Y bucket is further compared, and the overlapping data is processed, for example, by overwriting. The data rendered later has priority. Of course, the previously drawn data can be prioritized so as to be transparent. In this way, the edge list for one page is generated.
That is, it is an edge list for each scan line. When there is a page output instruction, raster data is expanded for each scan line according to the specifications of the output device and output.

【0038】このように、アンチエリアシング処理及び
出力処理において、画像出力装置にはフレームバッファ
が不要になる。逆に、エッジリストを格納しておくため
のメモリが必要となるが、エッジリストはランレングス
方式のため、それほどメモリの容量を必要としない。し
たがって、フレームバッファ方式ではない出力装置に有
効なのはもちろん、フレームバッファ方式の出力装置に
おいても同じ処理系が流用できるというメリットがあ
る。このエッジリストを用いた方式は、多種の出力装置
をサポートしなければならない環境下において特に有効
である。
As described above, in the anti-aliasing process and the output process, the image output device does not need a frame buffer. On the contrary, although a memory for storing the edge list is required, the edge list does not require so much memory capacity because of the run length method. Therefore, not only is it effective for an output device that is not a frame buffer system, but the same processing system can be used for an output device that is a frame buffer system. The method using this edge list is particularly effective in an environment where various output devices must be supported.

【0039】図2に示したフローチャートでは、アンチ
エリアシングおよびラスタライズの処理は、すべて、文
字、ベクター、イメージのデータの種類ごとに独立して
行なわれている。しかし、エッジリストを用いる方法で
は、ラスタライズ処理はエッジリストのビットマップ化
という共通処理になる。そのため、エッジリスト方式を
採用することは、多種の出力装置に対応できるだけでな
く、処理プログラムの簡素化、記憶装置の占有量の低減
を図ることができる。
In the flowchart shown in FIG. 2, the antialiasing and rasterizing processes are all performed independently for each type of character, vector, and image data. However, in the method using the edge list, the rasterizing process is a common process of converting the edge list into a bitmap. Therefore, adopting the edge list method can not only support various output devices, but also can simplify the processing program and reduce the amount of storage device occupied.

【0040】図11は、本発明の画像出力装置の一具体
例を示す構成図である。図中、51は入力装置、52は
中央演算処理装置、53は記憶装置、54は言語処理プ
ログラム、55はグラフィックス処理プログラム、56
はアンチエリアシング処理プログラム、57は出力処理
プログラム、58はエッジリスト格納領域、59,63
は出力装置、60,62はバッファ、61はネットワー
クである。この具体例では、画像出力装置における各処
理は、プログラムに基づいて中央演算処理装置52によ
って実行される。
FIG. 11 is a block diagram showing a specific example of the image output apparatus of the present invention. In the figure, reference numeral 51 is an input device, 52 is a central processing unit, 53 is a storage device, 54 is a language processing program, 55 is a graphics processing program, and 56.
Is an anti-aliasing processing program, 57 is an output processing program, 58 is an edge list storage area, 59, 63
Is an output device, 60 and 62 are buffers, and 61 is a network. In this specific example, each process in the image output device is executed by the central processing unit 52 based on a program.

【0041】画像出力装置は、入力装置51、中央演算
処理装置52、記憶装置53と、ある場合には、出力装
置59により構成されている。記憶装置53上には、言
語処理プログラム54、グラフィックス処理プログラム
55、アンチエリアシング処理プログラム56、出力処
理プログラム57等の処理プログラムや、エッジリスト
格納領域58等が配置される。出力装置59には、バッ
ファ60が設けられている。このバッファ60は、フレ
ームバッファあるいはバンドバッファ等により構成され
る。
The image output device comprises an input device 51, a central processing unit 52, a storage device 53, and in some cases an output device 59. On the storage device 53, processing programs such as a language processing program 54, a graphics processing program 55, an anti-aliasing processing program 56, an output processing program 57, and an edge list storage area 58 are arranged. The output device 59 is provided with a buffer 60. The buffer 60 is composed of a frame buffer, a band buffer, or the like.

【0042】また、ある場合には、ネットワーク61を
介して出力装置63が接続されることもある。出力装置
63には、バッファ62が設けられている。このバッフ
ァ62も、フレームバッファあるいはバンドバッファな
どにより構成されている。
In some cases, the output device 63 may be connected via the network 61. The output device 63 is provided with a buffer 62. The buffer 62 is also composed of a frame buffer or a band buffer.

【0043】PDL等で記述された入力データがクライ
アントから送られてくると、入力装置51で受けとる。
入力データを受け取ると、中央演算処理装置52は、記
憶装置53上にある言語処理プログラム54を実行し
て、入力データを解釈し、文字、グラフィックス、イメ
ージの描画命令、あるいは、パラメータの設定、グラフ
ィックスデータの構築などの命令が認識される。入力デ
ータが描画命令の場合には、その種類別に、記憶装置5
3上にあるそれぞれ専用のグラフィックス処理プログラ
ム55、アンチエリアシング処理プログラム56によっ
て処理が行なわれ、例えば、エッジリストなど、中間出
力形式に変換された後、合成される。その後、出力命令
を認識すると、出力処理プログラム57によって、出力
装置59の描画用バッファ60に書き込まれて出力され
る。また、描画用バッファがネットワーク61上にある
場合、ネットワーク61を通してから描画用バッファ6
2に書き込まれて出力装置63から出力される。
When the input data described in PDL or the like is sent from the client, it is received by the input device 51.
Upon receiving the input data, the central processing unit 52 executes the language processing program 54 stored in the storage unit 53 to interpret the input data, draw a command for drawing characters, graphics, images, or set parameters. Commands such as building graphics data are recognized. When the input data is a drawing command, the storage device 5 is classified by type.
Processing is performed by the dedicated graphics processing program 55 and anti-aliasing processing program 56 on each of the three, and is converted into an intermediate output format such as an edge list and then combined. After that, when the output command is recognized, the output processing program 57 writes it in the drawing buffer 60 of the output device 59 and outputs it. In addition, when the drawing buffer is on the network 61, the drawing buffer 6 is passed through the network 61.
The data is written in 2 and output from the output device 63.

【0044】出力装置59のバッファ60がフレームバ
ッファでない場合や、出力装置63のようにネットワー
ク61を介して接続されている場合には、エッジリスト
を用いる方法を採用することにより、フレームバッファ
を用いることなく、アンチエリアシング処理及びラスタ
ライズを行ない、ラスタデータとして出力装置59や出
力装置63に画像データを転送し、出力させることがで
きる。
When the buffer 60 of the output device 59 is not a frame buffer or when it is connected via the network 61 like the output device 63, the frame buffer is used by adopting the method using the edge list. Without performing the antialiasing process and the rasterization, the image data can be transferred to the output device 59 or the output device 63 as raster data and output.

【0045】[0045]

【発明の効果】以上の説明から明らかなように、本発明
によれば、アンチエリアシング処理によって画質の改善
を図る際に、文字、ベクター、イメージ等の各描画対象
に専用のアンチエリアシング処理を施すことによって、
それぞれの描画対象に最適なアンチエリアシング処理を
行なうことができ、より効果的な処理を行なうことが可
能になる。
As is apparent from the above description, according to the present invention, when the image quality is improved by the anti-aliasing process, the anti-aliasing process dedicated to each drawing object such as a character, a vector, or an image is performed. By applying
The optimum anti-aliasing processing can be performed for each drawing target, and more effective processing can be performed.

【0046】また、エッジリストという共通のデータ形
式を利用し、エッジリストへの変換の際に、または、エ
ッジリストに対してアンチエリアシング処理を行ない、
エッジリストに基づいてラスタライズ処理を行なうこと
により、フレームメモリを用いずにアンチエリアシング
処理等を行なうことができ、メモリ容量の削減や装置の
簡素化を図ることができるとともに、フレームバッファ
方式でない出力デバイスに対しても容易に出力すること
が可能となる。さらに、エッジリストの利用により、描
画対象に応じて別々のアンチエリアシング処理を行なっ
ても、ラスタライズ処理を共通化することができ、処理
プログラム量の低減が図れる等の効果がある。
Further, a common data format called an edge list is used, and when the edge list is converted or the edge list is subjected to anti-aliasing processing,
By performing rasterization processing based on the edge list, anti-aliasing processing etc. can be performed without using a frame memory, and it is possible to reduce memory capacity and simplify the device, and to output without the frame buffer method. It is possible to easily output to the device. Further, by using the edge list, even if different anti-aliasing processing is performed according to the drawing target, the rasterizing processing can be made common, and the processing program amount can be reduced.

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

【図1】 本発明の画像出力装置の一実施例を示す概略
構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of an image output apparatus of the present invention.

【図2】 本発明の画像出力装置の一実施例における動
作を説明するためのフローチャートである。
FIG. 2 is a flow chart for explaining the operation of an embodiment of the image output apparatus of the present invention.

【図3】 パラメータの説明図である。FIG. 3 is an explanatory diagram of parameters.

【図4】 グラフィックスデータのエッジリストへの変
換の説明図である。
FIG. 4 is an explanatory diagram of conversion of graphics data into an edge list.

【図5】 アンチエリアシング処理後のエッジリストの
説明図である。
FIG. 5 is an explanatory diagram of an edge list after anti-aliasing processing.

【図6】 出力される画像の説明図である。FIG. 6 is an explanatory diagram of an output image.

【図7】 グラフィックス描画の処理のフローチャート
である。
FIG. 7 is a flowchart of a graphics drawing process.

【図8】 文字の描画の処理のフローチャートである。FIG. 8 is a flowchart of a character drawing process.

【図9】 イメージデータのエッジリストへの変換の説
明図である。
FIG. 9 is an explanatory diagram of conversion of image data into an edge list.

【図10】 イメージデータの描画の処理のフローチャ
ートである。
FIG. 10 is a flowchart of a process of drawing image data.

【図11】 本発明の画像出力装置の一具体例を示す構
成図である。
FIG. 11 is a configuration diagram showing a specific example of the image output apparatus of the present invention.

【図12】 従来の画像出力装置の構成図である。FIG. 12 is a configuration diagram of a conventional image output device.

【図13】 従来の画像出力装置におけるグラフィック
ス処理部の動作を示すフローチャートである。
FIG. 13 is a flowchart showing an operation of a graphics processing unit in a conventional image output device.

【図14】 ネットワークを介して印刷装置と接続され
た従来の画像出力装置の概略構成図である。
FIG. 14 is a schematic configuration diagram of a conventional image output device connected to a printing device via a network.

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

1 言語処理部、2 グラフィックス処理部、3 アン
チエリアシング処理、4 文字専用処理、5 ベクタ専
用処理、6 イメージ専用処理、7 出力処理部、8
出力装置、51 入力装置、52 中央演算処理装置、
53 記憶装置、54 言語処理プログラム、55 グ
ラフィックス処理プログラム、56 アンチエリアシン
グ処理プログラム、57 出力処理プログラム、58
エッジリスト格納領域、59,63出力装置、60,6
2 バッファ、61 ネットワーク、71 言語処理
部、72 グラフィックス処理部、73 フレームバッ
ファ、74 出力装置、75 出力処理部、76 第1
のフレームバッファ、77第2のフレームバッファ、7
8 印刷装置。
1 language processing section, 2 graphics processing section, 3 anti-aliasing processing, 4 character dedicated processing, 5 vector dedicated processing, 6 image dedicated processing, 7 output processing section, 8
Output device, 51 input device, 52 central processing unit,
53 storage device, 54 language processing program, 55 graphics processing program, 56 anti-aliasing processing program, 57 output processing program, 58
Edge list storage area, 59, 63 output device, 60, 6
2 buffers, 61 network, 71 language processing unit, 72 graphics processing unit, 73 frame buffer, 74 output device, 75 output processing unit, 76 1st
Frame buffer, 77 second frame buffer, 7
8 Printing device.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 3/12 G G06T 5/30 8420−5L G06F 15/66 405 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location G06F 3/12 G G06T 5/30 8420-5L G06F 15/66 405

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力データを解釈して処理を行ない出力
画像を得る画像出力装置において、前記入力データを解
釈する言語処理部と、少なくともアンチエリアシング処
理を行なうグラフィックス処理部と、該グラフィックス
処理部で処理された画像を出力する出力処理部を有し、
前記グラフィックス処理部において行なわれるアンチエ
リアシング処理は、前記入力データの種別に応じた処理
を行なうことを特徴とする画像出力装置。
1. An image output apparatus for interpreting input data and performing an operation to obtain an output image, a language processing section for interpreting the input data, a graphics processing section for performing at least anti-aliasing processing, and the graphics. It has an output processing unit for outputting the image processed by the processing unit,
The image output device, wherein the anti-aliasing process performed in the graphics processing unit is a process according to the type of the input data.
【請求項2】 前記グラフィックス処理部は、入力デー
タに基づきエッジリストを生成する処理を含み、前記グ
ラフィックス処理部において行なわれる前記アンチエリ
アシング処理は、エッジリストを生成する際に、あるい
は、エッジリストに対して行なわれ、前記出力処理部は
前記グラフィックス処理部において生成された前記エッ
ジリストに基づいてラスタ出力を行なうことを特徴とす
る請求項1に記載の画像出力装置。
2. The graphics processing unit includes a process of generating an edge list based on input data, and the anti-aliasing process performed in the graphics processing unit is performed when the edge list is generated, or 2. The image output device according to claim 1, wherein the image output device performs the raster output based on the edge list generated by the graphics processing unit, which is performed on the edge list.
JP05195197A 1993-07-12 1993-07-12 Image output device Expired - Fee Related JP3085036B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05195197A JP3085036B2 (en) 1993-07-12 1993-07-12 Image output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05195197A JP3085036B2 (en) 1993-07-12 1993-07-12 Image output device

Publications (2)

Publication Number Publication Date
JPH0729021A true JPH0729021A (en) 1995-01-31
JP3085036B2 JP3085036B2 (en) 2000-09-04

Family

ID=16337072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05195197A Expired - Fee Related JP3085036B2 (en) 1993-07-12 1993-07-12 Image output device

Country Status (1)

Country Link
JP (1) JP3085036B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11167377A (en) * 1997-09-11 1999-06-22 Valeo Borg Instruments Gmbh & Co Kg Display device performing anntialiasing processing or not
JP2001222274A (en) * 1999-12-20 2001-08-17 Xerox Corp Method for performing variable line width adjustment
US6687017B1 (en) 1997-04-01 2004-02-03 Omron Corporation Printer equipped with image recognition unit for counterfeiting prevention, computer providing printer with print source, and print system including printer and computer
US7103221B2 (en) 1995-04-06 2006-09-05 Canon Kabushiki Kaisha Image processing apparatus and method
JP2008201058A (en) * 2007-02-22 2008-09-04 Oki Data Corp Image forming apparatus
JP2015027792A (en) * 2013-07-04 2015-02-12 キヤノン株式会社 Image formation device, image formation method, and program
TWI829449B (en) * 2022-03-31 2024-01-11 日商日本他喜龍希愛股份有限公司 Polyester-based shrink film

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103221B2 (en) 1995-04-06 2006-09-05 Canon Kabushiki Kaisha Image processing apparatus and method
US7424152B2 (en) 1995-04-06 2008-09-09 Canon Kabushiki Kaisha Image processing apparatus and method based on feature of a color image
US6687017B1 (en) 1997-04-01 2004-02-03 Omron Corporation Printer equipped with image recognition unit for counterfeiting prevention, computer providing printer with print source, and print system including printer and computer
JPH11167377A (en) * 1997-09-11 1999-06-22 Valeo Borg Instruments Gmbh & Co Kg Display device performing anntialiasing processing or not
JP2001222274A (en) * 1999-12-20 2001-08-17 Xerox Corp Method for performing variable line width adjustment
JP2008201058A (en) * 2007-02-22 2008-09-04 Oki Data Corp Image forming apparatus
JP4514762B2 (en) * 2007-02-22 2010-07-28 株式会社沖データ Image forming apparatus
JP2015027792A (en) * 2013-07-04 2015-02-12 キヤノン株式会社 Image formation device, image formation method, and program
TWI829449B (en) * 2022-03-31 2024-01-11 日商日本他喜龍希愛股份有限公司 Polyester-based shrink film

Also Published As

Publication number Publication date
JP3085036B2 (en) 2000-09-04

Similar Documents

Publication Publication Date Title
JP3142550B2 (en) Graphic processing unit
US5404431A (en) Image drawing with improved area ratio approximation process
JP3085036B2 (en) Image output device
JP3223617B2 (en) Drawing apparatus and drawing method
JP2002063583A (en) Apparatus and method for processing pixels of digital image
JP7009316B2 (en) Image forming apparatus, its image forming method, and a program
JP2903917B2 (en) Image editing processor
US6611632B1 (en) Device and method for interpolating image data and medium on which image data interpolating program is recorded
KR20010104212A (en) Method, system, program, and data structure for generating raster objects
JP3085175B2 (en) Drawing equipment
JP4385628B2 (en) Image data processing apparatus and image forming apparatus
JP2001219601A (en) Print controller and data processing method thereof
JP6755644B2 (en) Character processing device, character processing method, character processing program
JPH11109943A (en) Font processor and recording medium recorded with font processing program
JP4125245B2 (en) Document display method and document display apparatus
JP2004334533A (en) Image processing device and method
JP2000066658A (en) Image processor and recording medium
JP2002318680A (en) Image processor and image processing method
JP4325339B2 (en) Printing system, host computer and printer driver
JPH0333895A (en) Font plotting device
JPH09244614A (en) Method and device for character generation
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JPH09277616A (en) Printer and control method therefor
JP3220437B2 (en) Output control device and method
JPH06110444A (en) Character processor and character output method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080707

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090707

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100707

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120707

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130707

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees