JPH04117581A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH04117581A
JPH04117581A JP10973990A JP10973990A JPH04117581A JP H04117581 A JPH04117581 A JP H04117581A JP 10973990 A JP10973990 A JP 10973990A JP 10973990 A JP10973990 A JP 10973990A JP H04117581 A JPH04117581 A JP H04117581A
Authority
JP
Japan
Prior art keywords
gradation value
vector data
pixel
image
triangular
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
JP10973990A
Other languages
Japanese (ja)
Inventor
Tadashi Ueda
直史 上田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10973990A priority Critical patent/JPH04117581A/en
Publication of JPH04117581A publication Critical patent/JPH04117581A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To obtain an area ratio at high speed by reading the gradation value of the group of an applying triangle part based on the inclination of storage means vector data at processing an anti-alien thing and determining the gradation value of an edge part picture element with the area ratio. CONSTITUTION:When one picture element on a scanner line is defined as a closed section, a triangle part formed when vector data intersects and crosses the upper edge and the lower edge of the closed section and the triangle part formed when they intersects and crosses a left side edge and a right side edge are case-classified by the inclination of the vector data in advance. Then, a gradation value K' is set every the group of the triangle part case-classified and is stored as an LUT (recording means), the gradation value K' of the group of the applying triangle part is read based on the ionclination of the vector data at processing an anti-alien thing and a gradation value K of an edge part picture element is determined with the gradation value K'. Thus, an area ratio can be found at high speed without executing subpixel division and the counting of the number of painting-out.

Description

【発明の詳細な説明】 【産業上の利用分野〕 本発明は出力画像のエツジ部のギザギザを除去するアン
チエイリアシング処理を実行する図形処理装置に関し、
より詳細には、アンチエイリアシング処理を高速に実行
できる図形処理装置に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a graphic processing device that performs anti-aliasing processing to remove jagged edges of an output image.
More specifically, the present invention relates to a graphic processing device that can perform anti-aliasing processing at high speed.

〔従来の技術〕[Conventional technology]

コンピュータ・グラフィクスの分野では、その出力媒体
であるCRTに画像を表示する際、その表示画像をより
美しくするためにアンチエイリアシング処理という手法
が用いられている。この処理は、第17図(a)に示す
ような階段上のギザギザ部分(エイリアスと呼ばれる)
に輝度変調をかけ、視覚的に表示画像を第17図(ハ)
に示すように滑らかにするものである。
In the field of computer graphics, when displaying an image on a CRT, which is an output medium, a technique called anti-aliasing processing is used to make the displayed image more beautiful. This process is performed on the jagged part (called alias) on the stairs as shown in Fig. 17(a).
Figure 17 (c) visually displays the displayed image by applying brightness modulation to
It is used to smooth the surface as shown in the figure.

従来の図形処理装置では、■均一平均化法、■重み付は
平均化法、■畳み込み積分法等がアンチエイリアシング
処理の方法として一般的に適用されている。
In conventional graphic processing apparatuses, (1) uniform averaging method, (2) weighted averaging method, (2) convolution integral method, etc. are generally applied as anti-aliasing processing methods.

■均一平均化法は、各ピクセル(画素)をN*M(N、
Mは自然数)のサブビクセルに分解し、高解像度でラス
ク計算を行った後、各ピクセルの輝度をN*Mサブピク
セルの平均をとって求めるものである。第18図(a)
、 (b)を参照して、均一平均化法によるアンチエイ
リアシング処理を具体的に説明する。あるピクセルに画
像の端がかかっている場合(ここでは斜めの線の右下に
画像がつながっているものとする)、アンチエイリアシ
ング処理を行わないときは、同図(a)に示すように、
このピクセルの輝度kidには表示できる階調の最高輝
度(例えば、256階調ではkid・255)が割り当
てられる。このピクセルにN=M=7の均一平均化法に
よるアンチエイリアシング処理を実施する場合、同図(
b)に示すように、ピクセルを7*7のサブピクセルに
分解し、画像に覆われているサブピクセル数をカウント
する。そのカウント数(28)を1ビクセル中の全サブ
ビクセル数(この場合、49)で割って規格化(平均化
)したものを最高輝度(255)に掛け、そのピクセル
の輝度を算出する。このように均一平均化法では、各ピ
クセルに画像がどのようにかかっているかを考慮にいれ
てそのピクセルの輝度を決める。
■The uniform averaging method calculates each pixel (picture element) to N*M (N,
After decomposing the pixel into sub-pixels (M is a natural number) and performing rask calculation at high resolution, the brightness of each pixel is determined by taking the average of N*M sub-pixels. Figure 18(a)
, (b), anti-aliasing processing using the uniform averaging method will be specifically explained. If the edge of the image overlaps a certain pixel (here, it is assumed that the image is connected to the bottom right of the diagonal line), and when anti-aliasing processing is not performed, as shown in Figure (a),
The brightness kid of this pixel is assigned the highest brightness of the displayable gradations (for example, kid·255 for 256 gradations). When performing anti-aliasing processing on this pixel using the uniform averaging method with N=M=7, the same figure (
As shown in b), the pixel is decomposed into 7*7 sub-pixels and the number of sub-pixels covered by the image is counted. The count number (28) is divided by the total number of sub-vixels in one pixel (49 in this case), normalized (averaged), and multiplied by the maximum brightness (255) to calculate the brightness of that pixel. In this way, in the uniform averaging method, the brightness of each pixel is determined by taking into consideration how the image covers each pixel.

■重み付は平均化法 重み付は平均化法は、均一平均化法を一部変更したもの
であり、均一平均化法が1ピクセル中のサブピクセルを
全て同じ重み(即ち、画像のかかってい、るサブピクセ
ルを単純にカウントする)で取り扱ったのに対して、重
み付は平均化法は各サブピクセルに重みをもたせ、画像
がどのサブピクセルにかがうているかでそのサブピクセ
ルの輝度kidへの影響が異なるようにしている。尚、
この際の重みはフィルターを用いて付与する。
■ Weighting is an averaging method The weighting and averaging method is a partial modification of the uniform averaging method. In contrast, the weighted averaging method assigns a weight to each subpixel, and the brightness of that subpixel is calculated based on which subpixel the image focuses on. The effects on the kids are different. still,
At this time, weights are assigned using a filter.

第I9図(司、(ロ)を参照して、第18図(a)と同
じ画像データに、同じ分割法(N=M=7)で重み付は
平均化法を実施した例を示す。
Referring to FIG. 19 (Tsukasa, (b)), an example is shown in which the same image data as in FIG. 18(a) is weighted using the same dividing method (N=M=7) and the averaging method.

第19図(a)は、フィルター(ここでは、conef
ilter)の特性を示し、対応するサブピクセルにこ
の特性と同じ重みが与えられる。例えば、右上角のサブ
ピクセルの重みは2である。各サブピクセルに画像がか
かっていた場合、フィルター特性より与えられた重みの
値がそのサブピクセルのカウント値となる。同図(ハ)
には、サブピクセルの重みの違いによってかかった画像
の表示パターンを変えて示しである。この場合、重みを
付けて画像のかかったサブピクセルをカウントすると、
199となる。この値を、均一平均化のときに対応して
フィルターの値の合計(この場合、336)で割って平
均化し、最高輝度に掛けて、このピクセルの輝度を算出
する。尚、フィルターとしては、第20興(a)、(ロ
)、 (C)、 (d)に示すフィルターが知られてい
る。
FIG. 19(a) shows a filter (here, conef
ilter), and the corresponding sub-pixel is given the same weight as this characteristic. For example, the weight of the upper right corner subpixel is 2. When an image is applied to each subpixel, the weight value given by the filter characteristics becomes the count value of that subpixel. Same figure (c)
This figure shows how the display pattern of the image is changed depending on the weight of the sub-pixels. In this case, if we count the weighted subpixels of the image, we get
It becomes 199. This value is divided by the sum of the filter values (336 in this case) corresponding to uniform averaging, averaged, and multiplied by the maximum brightness to calculate the brightness of this pixel. Incidentally, as filters, filters shown in No. 20 (a), (b), (C), and (d) are known.

■畳み込み積分法 畳み込み積分法は、1つのピクセルの輝度を決定するに
あたり、その周りのピクセルの様子も参照する方法であ
る。即ち、輝度を決定しようとする1ピクセルの周りN
’ XN’ ピクセルを、均−平均化法或いは重み付は
平均化法のピクセルに対応するものと考える。第21図
は3×3ビクセル参照の畳み込み積分法を示す。この図
で、輝度を決定しようとしているピクセルを2101で
示す。
■Convolution integral method The convolution integral method is a method that refers to the appearance of surrounding pixels when determining the brightness of one pixel. That is, the area around one pixel whose brightness is to be determined is N
Consider the 'XN' pixels to correspond to the equal-averaging or weighted averaging pixels. FIG. 21 shows a convolution method with 3×3 pixel references. In this figure, the pixel whose brightness is to be determined is indicated by 2101.

画像は斜めの線の右下に続いており、黒く塗ったサブピ
クセルがカウントされるサブピクセルである。各ピクセ
ルは、4*4に分割されている。従って、この場合はフ
ィルターとして12*12のものを用いることになる。
The image continues below and to the right of the diagonal line, and the subpixels painted black are the subpixels that are counted. Each pixel is divided into 4*4. Therefore, in this case, a 12*12 filter will be used.

この方法はベクトル画像に含まれる高周波成分を除去す
る効果がある。
This method has the effect of removing high frequency components contained in a vector image.

一方、パーソナルコンピュータを用いた出版システム、
所謂、DTP (デスク・トップ、・パブリッシング)
の普及に伴い、コンピュータ・グラフィクスで扱うよう
なベクトル画像を印字するシステムが広く使われるよう
になっている。その代表的なものとして、例えば、アド
ビ社のポスト・スクリプトを用いたシステムがある。ボ
スト°・スクリプトは、ページ記述言語(Page D
escriptionLanguage :以下、PD
Lと記述する)と呼ばれる言語ジャンルに属し、1枚の
ドキュメントを構成する内容について、その中に入るテ
キスト(文字部分)や、グラフィックス、或いは9それ
らの配置や体裁までを含めたフオームを記述するための
プログラミング言語であり、このようなシステムでは、
文字フォントとしてベクトルフォントを採用している。
On the other hand, a publishing system using a personal computer,
So-called DTP (Desk Top Publishing)
With the spread of computer graphics, systems for printing vector images, such as those used in computer graphics, have become widely used. A typical example is a system using Adobe's Post Script. Bost° scripts are written in the Page Description Language (Page D).
DescriptionLanguage: PD
It belongs to a language genre called ``L'', and describes the form of the contents of a single document, including the text (letter part), graphics, and their arrangement and appearance. It is a programming language for such systems.
A vector font is used as the character font.

従って、文字の変倍を行っても、ビットマツプフォント
を使用したシステム(例えば、従来のワードプロセッサ
等)と比べて、格段に印字品質を向上させることができ
、また、文字フォントとグラフィックとイメージを混在
させて印字することができるという利点がある。
Therefore, even if characters are scaled, the print quality can be significantly improved compared to systems that use bitmap fonts (for example, conventional word processors), and character fonts, graphics, and images can be There is an advantage that printing can be performed in a mixed manner.

ところが、これらのシステムで使用されるレーザープリ
ンタの解像度は、せいぜい240dp i〜400dp
iのものが多く、コンピュータ・グラフィックスのCR
T表示と同様に、解像度が低いためにエイリアスが発生
するという問題点がある。このため、レーザプリンタを
用いた印字においても、アンチエイリアシング処理を行
い、印字画像の品質を向上させる必要が起こっている。
However, the resolution of the laser printers used in these systems is at most 240dpi to 400dp.
There are many i, computer graphics CR
Similar to the T display, there is a problem in that aliasing occurs due to the low resolution. For this reason, even in printing using a laser printer, there is a need to perform anti-aliasing processing to improve the quality of the printed image.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来のアンチエイリアシング処理方法を
適用した図形処理装置によれば、1つのピクセルを複数
のサブピクセル(例えば、49個のサブピクセル)に分
割して、塗りつぶされるサブピクセルの個数をカウント
して面積率(輝度)を算出するため、面積率の計算に時
間がかかり、表示速度或いは印字速度の向上の妨げにな
るという問題点があった。特に、畳み込み積分法は、計
算量が多いのと複数のピクセルに影響が及ぶので処理速
度の向上を図りにくいという問題点がある。
However, according to a graphic processing device that applies a conventional anti-aliasing processing method, one pixel is divided into multiple sub-pixels (for example, 49 sub-pixels) and the number of sub-pixels to be filled is counted. Since the area ratio (brightness) is calculated, there is a problem in that it takes time to calculate the area ratio, which hinders improvement in display speed or printing speed. In particular, the convolution method has problems in that it requires a large amount of calculation and affects multiple pixels, making it difficult to improve processing speed.

本発明は上記に鑑みてなされてものであって、サブピク
セル分割及び塗りつぶし個数のカウントを行うことなく
、且つ、高速に面積率を求めることを目的とする。
The present invention has been made in view of the above, and an object of the present invention is to quickly obtain an area ratio without dividing subpixels or counting the number of filled pixels.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、塗りつぶすべき面
積率に基づいて、ベクトルデータのエツジ部画素の出力
を調整し、出力画像のエツジ部のギザギザ(エイリアス
)を滑らかに表現するアンチエイリアシング処理を実行
する図形処理装置において、スキャンライン上の1画素
を閉区間とした場合に、ベクトルデータが閉区間の上方
の辺及び下方の辺と交差して横切る時に形成される三角
形部分、及び、左側の辺及び右側の辺と交差して横切る
時に形成される三角形部分を、予めベクトルデータの傾
きによって場合分けし、この場合分けした三角形部分の
グループ毎に設定した階調値を記憶する記憶手段と、ア
ンチエイリアシング処理時に、記憶手段からベクトルデ
ータの傾きに基づいて、該当する三角形部分のグループ
の階調値を読み込み、この面積率を用いてエツジ部画素
の階調値を決定する演算手段とを備えた図形処理装置を
提供するものである。
In order to achieve the above object, the present invention adjusts the output of edge pixels of vector data based on the area ratio to be filled, and performs anti-aliasing processing to smoothly express jagged edges (aliases) of the output image. In the graphic processing device that executes the processing, when one pixel on the scan line is defined as a closed interval, the triangular part formed when the vector data intersects the upper side and the lower side of the closed interval, and the left side A storage means that divides the triangular parts formed when crossing the side and the right side into cases according to the slope of the vector data in advance, and stores tone values set for each group of the triangular parts divided into cases; and calculation means for reading the gradation value of the corresponding group of triangular parts from the storage means during anti-aliasing processing based on the slope of the vector data, and determining the gradation value of the edge part pixel using this area ratio. The present invention provides a graphics processing device that has the following features.

また、前述の構成において、演算手段が、ベクトルデー
タが閉区間の隣接する2つの辺を横切って通過し、且つ
、隣接する2つの辺及びベクトルデータによって形成さ
れる三角形部分が画像部(塗りつぶし部分)の場合、三
角形部分の階調値をエツジ部画素の階調値とし、ベクト
ルデータが閉区間の隣接する2つの辺を横切って通過し
、且つ、隣接する2つ、の辺及びベクトルデータによっ
て形成される三角形部分が画像部(塗りつぶし部分)で
ない場合、1画素の最大階調値から三角形部分の階調値
を減算してエツジ部画素の階調値を求める図形処理装置
を提供するものである。
Further, in the above-described configuration, the calculation means is configured such that the vector data passes across two adjacent sides of the closed interval, and a triangular part formed by the two adjacent sides and the vector data is an image part (a filled part ), the gradation value of the triangle part is the gradation value of the edge pixel, the vector data passes across two adjacent sides of the closed interval, and the two adjacent sides and vector data If the triangular part to be formed is not an image part (filled part), the present invention provides a graphic processing device that subtracts the gradation value of the triangular part from the maximum gradation value of one pixel to obtain the gradation value of the edge part pixel. be.

〔作用〕[Effect]

本発明の図形処理装置において、演算手段は、アンチエ
イリアシング処理時に、記憶手段からバクトルデータの
傾きに基づいて、該当する三角死部分のグループの階調
値を読み込み、この階調(dを用いてエツジ部画素の階
調値を決定する。ま大演算手段は、ベクトルデータが閉
区間の隣接すZ2つの辺を横切って通過し、且つ、隣接
する2−′:の辺及びベクトルデータによって形成され
る二戸形部分が画像部(塗りつぶし部分)の場合、二戸
形部分の階調値をエツジ部画素の階調値とし、−クトル
データが閉区間の隣接する2つの辺を横9って通過し、
且つ、隣接する2つの辺及びベクトルデータによって形
成される三角形部分が画像部(塗りつぶし部分)でない
場合、1画素の最大君調値から三角形部分の階調値を減
算してエツジ自画素の階調値を求める。
In the graphic processing device of the present invention, the calculation means reads the gradation value of the group of the corresponding triangular dead part from the storage means based on the slope of the vector data during anti-aliasing processing, and uses this gradation (d). The gradation value of the edge pixel is determined by the calculation means. If the Nito-shaped part to be displayed is an image part (filled part), the gradation value of the Nito-shaped part is taken as the gradation value of the edge part pixel, and the vector data passes through two adjacent sides of the closed section horizontally. death,
In addition, if the triangular part formed by two adjacent sides and vector data is not an image part (filled part), the gradation value of the triangular part is subtracted from the maximum gradation value of one pixel to determine the gradation level of the edge self-pixel. Find the value.

〔実施例〕〔Example〕

以下、本発明の図形処理装置をPDLコント【−ラとし
て組み込んだ画像形成システムを実施仔として、■アン
チエイリアシング処理の概要、■画像形成システムのブ
ロック図、■PDLコントローラ(本発明の図形処理装
置)の構成及び動作。
Hereinafter, an image forming system incorporating the graphic processing device of the present invention as a PDL controller will be described. ) configuration and operation.

■多値カラー・レーザープリンターの構成及び動作、■
ドライバの多値駆動の順で詳細に説明する。
■Configuration and operation of multilevel color laser printer,■
A detailed explanation will be given in the order of multi-value driving of the driver.

■アンチエイリアシング処理の概要 本発明の図形処理装置(以下、PDLコントローラと記
載する)は、同じベクトルデータにより描画される図形
要素のエツジ部分の画素に対し、そのベクトルデータの
傾きより求められる固有の三角形部分の面積に基づいて
設定した階調値を、L UT (Look [jp T
able)から読み込み、該三角形部分の階調値と残り
の長方形部分の面積から求められる階調値とに基づいて
、エツジ部画素の階調値を決定するものである。以下、
第1図(a)〜(g)を参照して、本発明の図形処理装
置におけるアンチエイリアシング処理の概要を詳細に説
明する。
■Summary of anti-aliasing processing The graphic processing device of the present invention (hereinafter referred to as PDL controller) performs a unique processing for pixels at the edge portion of graphic elements drawn using the same vector data, which is determined from the slope of the vector data. The tone value set based on the area of the triangular part is calculated using LUT (Look [jp T
ble) and determines the gradation value of the edge pixel based on the gradation value of the triangular portion and the gradation value obtained from the area of the remaining rectangular portion. below,
An outline of antialiasing processing in the graphic processing apparatus of the present invention will be explained in detail with reference to FIGS. 1(a) to 1(g).

第1図(a)に示すように、Yo ・Y1スキャンライ
ン上のベクトルデータが通過する1i!素(即ち、エツ
ジ部画素)を閉区間とすると、ベクトルデータが閉区間
を通過する際に、該閉区間を形成する4辺(上下・左右
の辺)との間で、図示の如く、Xa、Xbの2つ交点が
できる。
As shown in FIG. 1(a), the vector data on the Yo-Y1 scan line passes through 1i! When an element (that is, an edge pixel) is a closed interval, when the vector data passes through the closed interval, the Xa , Xb are formed.

一方、傾きを有する直線ベクトル(ベクトルデータ)を
スキャンライン処理した際、出力媒体の主走査方向、或
いは、出力媒体の副走査方向に対して、第1図(ハ)、
(C)に示すように、同じ角度で複数の共通な面積を有
する三角形部分が形成される従って、例えば、ベクトル
データが左エツジの場合には、この三角形部分の階調値
に’  (三角形部分の面積率S°を1画素全体の階調
数n−1に基づいて変換した値:に′ζS’ X(n−
1) )と残りの長方形部分の階調値に′を加算した値
が該当するエツジ部画素の階調値にとなる。
On the other hand, when a straight line vector (vector data) having an inclination is subjected to scan line processing, in the main scanning direction of the output medium or the sub-scanning direction of the output medium,
As shown in (C), a plurality of triangular parts having a common area are formed at the same angle. Therefore, for example, if the vector data is the left edge, the gradation value of this triangular part is ' (triangular part The value obtained by converting the area ratio S° based on the number of gradations n-1 for one pixel as a whole: 'ζS'
1) The value obtained by adding ') to the gradation value of the remaining rectangular portion becomes the gradation value of the corresponding edge pixel.

この共通の三角形部分の階調値に′は、1画素の大きさ
が決まっているため、ベクトルデータの傾きによって一
意的に決定されるものである。本発明では、スキャンラ
イン上の1画素を閉区間とした場合に、ベクトルデータ
が閉区間の上方の辺及び下方の辺と交差して横切る時に
形成される三角形部分(第1図(ロ)の三角形部分)、
及び、左側の辺及び右側の辺と交差して横切る時に形成
される三角形部分(第1図(C)の三角形部分)を、予
め、ベクトルデータの傾きによって場合分けし、この場
合分けした三角形部分のグループ毎に、第1図(d)に
示すように階調値に゛を設定して、LUT(記録手段)
として記憶し、アンチエイリアシング処理時に、ベクト
ルデータの傾きに基づいて、該当する三角形部分のグル
ープの階調値に′を読み込み4二の階調値に゛を用いて
エツジ部画素の階調値Kを決定する。尚、本実施例では
、階調数をO〜9のIO段階(3*3サブビクセル分割
に相当する階調数)として、階調値に′を設定した。
Since the size of one pixel is fixed, the gradation value ' of this common triangular part is uniquely determined by the slope of the vector data. In the present invention, when one pixel on a scan line is defined as a closed interval, a triangular part (as shown in FIG. 1 (b) triangular part),
The triangular portion formed when crossing the left side and the right side (the triangular portion in FIG. 1 (C)) is divided into cases in advance according to the slope of the vector data, and the triangular portion is divided into cases. For each group, set the gradation value to ゛ as shown in Fig. 1(d), and write the LUT (recording means).
, and during anti-aliasing processing, based on the slope of the vector data, ' is read as the gradation value of the group of the corresponding triangular part, and ' is used as the gradation value of 42 to calculate the gradation value K of the edge pixel. Determine. In this embodiment, the number of gradations is set to IO stages from 0 to 9 (the number of gradations corresponding to 3*3 sub-vixel division), and the gradation value is set to '.

以下、第1図(e)、 (f)、 ((至)を参照して
、エツジ部画素の階調値にの演算を具体的に示す。
Hereinafter, with reference to FIGS. 1(e), 1(f), and ((to)), calculations for the gradation values of edge pixels will be specifically described.

エツジ部画素(1)の階調値には、前述したように三角
形部分の階調値に°と長方形部分の階調値K”を加算し
て求めることができる。先ず、ベクトルデータの傾きに
基づいて、LUT(第1図(d)参M)から該当する階
調値に゛を読み込む。次に、残りの長方形部分の面積S
”をS”=X”×yの式によって求め、更にS” X9
 (9は10(階調数)−1の値)を求めて四捨五入し
た値を長方形部分の階調値K“°として算出し、K’+
K”の値をエツジ部画素(1)の階調値にとする。
As mentioned above, the gradation value of the edge pixel (1) can be found by adding ° and the gradation value K'' of the rectangular part to the gradation value of the triangular part. First, the gradient of the vector data is Based on this, read ゛ into the corresponding gradation value from the LUT (see M in Figure 1 (d)).Next, the area S of the remaining rectangular part is
” is determined by the formula S”=X”×y, and further S”X9
(9 is the value of 10 (number of gradations) - 1) and rounded off to the nearest whole number, which is calculated as the gradation value K"° of the rectangular part, and K'+
Let the value of K'' be the gradation value of the edge pixel (1).

エツジ部画素(2)及びエツジ部画素(5)は、1画素
を閉区間とした場合、エツジ部画素(1)と同様に、ベ
クトルデータと閉区間との交点が上辺と下辺に位置して
おり、同様の方法でそれぞれの階調値Kを求めることが
できる。このように三角形部分の階調値に′は同一のベ
クトルデータのエツジ部画素の階調値を求める場合に繰
り返し利用できるため、最初のLUT参照の後、再度L
UTを検索しなくて済むように保持しておくと良い。
For edge part pixel (2) and edge part pixel (5), when one pixel is a closed interval, the intersection of the vector data and the closed interval is located on the upper and lower sides, similar to edge part pixel (1). Therefore, each gradation value K can be obtained in a similar manner. In this way, the gradation value of the triangular part can be used repeatedly when calculating the gradation value of the edge pixel of the same vector data, so after the first LUT reference, the LUT can be used again.
It is a good idea to keep it so you don't have to search for the UT.

一方、エツジ部画素(3)及びエツジ部画素(4)のよ
うにベクトルデータが画素の上辺と下辺を通らずに、隣
接する2つの辺を通過する場合には、第1図(f)、(
6)に示す三角形部分の階調値K I+を、LUTから
求めた階調値に″と、y゛を用いて、K’ Xy’を四
捨五入した値として求め、該三角形部分が塗りつぶし部
分である(同図@)場合には、エツジ部画素の階調値K
 = K ”とし、該三角形部分が塗りつぶし部分でな
い(同図(f))場合には、エツジ部画素の階調値に=
9−K”とする。
On the other hand, when the vector data does not pass through the upper and lower sides of the pixel, as in the case of edge pixel (3) and edge pixel (4), but instead passes through two adjacent sides, as shown in FIG. 1(f), (
The gradation value K I+ of the triangular part shown in 6) is determined as a value obtained by rounding off K' (same figure @), the gradation value K of the edge pixel
= K'', and if the triangular part is not a filled part ((f) in the same figure), the gradation value of the edge pixel is set as =
9-K”.

ここでは、ベクトルデータが上辺と下辺を通過する場合
のエツジ部画素の階調値にの求め方について説明したが
、エツジ部画素が左辺と右辺を通過する場合にも同様に
三角形部分の階調値に′と残りの長方形部分の階調値に
゛を加算することによりエツジ部画素の階調値Kを求め
ることができる。但し、この場合には長方形部分の階調
値K”を算出する計算式が、前述した上辺と下辺を通過
する場合と異なるため、ベクトルデータがエツジ部画素
の上辺と下辺を通過するか、或いは、左辺と右辺を通過
するか判定する必要がある。詳細は後述するが本実施例
では、ベクトルデータの傾きを用いて、2つのケースを
判定する。
Here, we have explained how to obtain the gradation value of the edge pixel when the vector data passes through the top and bottom sides, but the same applies to the case where the edge pixel passes through the left and right sides. By adding ' to the value and ' to the tone value of the remaining rectangular portion, the tone value K of the edge pixel can be determined. However, in this case, the calculation formula for calculating the gradation value K'' of the rectangular part is different from the above-mentioned case of passing through the upper and lower sides, so whether the vector data passes through the upper and lower sides of the edge pixel or , it is necessary to determine whether it passes through the left side or the right side.The details will be described later, but in this embodiment, two cases are determined using the slope of vector data.

尚、エツジ部画素内にベクトルデータの端点(始点或い
は終点)が含まれる場合には、上記の方法を適用するこ
とができないため、例えば、従来のサブピクセル分割に
よる方法で階調値Kを求めるようにする。しかし、−船
釣にエツジ部画素が端点を有する確率は小さいため、大
部分は本発明を適用して階調値Kを求めることができ、
アンチエイリアシング処理の高速化を図ることができる
Note that if the end point (start point or end point) of the vector data is included in the edge pixel, the above method cannot be applied, so for example, the gradation value K is determined by the conventional sub-pixel division method. do it like this. However, since the probability that an edge part pixel has an end point in boat fishing is small, the present invention can be applied in most cases to find the gradation value K.
It is possible to speed up anti-aliasing processing.

■画像形成システムのブロック図 本実施例の画像形成システムは、DTP (デスク・ト
ップ・パブリッシング)から出力されるページ記述言語
(Page Description Languag
e :以下、PDL言語と記す)で記述されたベクトル
データを、PDLコントローラを介してイメージ画像に
変換して画像情報の画像形成を行うものであある。以下
、第2図を参照して、本実施例の画像形成システムの構
成を説明する。
■Block diagram of the image forming system The image forming system of this embodiment uses the Page Description Language output from DTP (Desk Top Publishing).
e: Hereinafter referred to as PDL language) is converted into an image via a PDL controller to form an image of image information. The configuration of the image forming system of this embodiment will be described below with reference to FIG.

画像形成システムは、PDL言語(本実施例ではボスト
スクリプト言語を使用)で記述された文書を作成するホ
ストコンピュータ100と、ホストコンピュータ100
からページ単位で送られたきたPDL言語をアンチエイ
リアシング処理を施しながら、記録に必要なブラック(
BK)、 イエロー(Y)、マゼンタ(M)、及び、シ
アン(C)の多値イメージデータに展開するPDLコン
トローラ(本発明の図形処理装置F)200と、PDL
コントローラ200の出力する多値イメージデータを印
字する多値カラー・レーザー・プリンタ300と、PD
Lコントローラ200.及び、多値カラー・レーザー・
プリンタ300を制御するシステム制御部400とから
構成される。
The image forming system includes a host computer 100 that creates a document written in PDL language (Bost script language is used in this embodiment);
While anti-aliasing the incoming PDL language sent page by page from
BK), yellow (Y), magenta (M), and cyan (C) multivalued image data.
A multi-value color laser printer 300 that prints multi-value image data output by the controller 200, and a PD.
L controller 200. And, multivalued color/laser/
The system controller 400 controls the printer 300.

■PDLコントローラの構成及び動作 第3図は、PDLコントローラ200の構成を示し、ホ
ストコンピュータ100から送られてきたPDL言語を
受信する受信装置201と、受信装置201で受信した
PDL言語の格納制御及びアンチエイリアシング処理等
の実行を行うCPU202と、内部システムバス203
と、内部システムバス203を介して受信装置201か
ら転送させるPDL言語を格納するRAM204と、ア
ンチエイリアシングプログラム等を格納したROM20
5と、アンチエイリアシング処理を施した多値のYMC
及びBKイメージデータを格納するページメモリ206
と、ページメモリ206に格納したYMC及びBKイメ
ージデータを多値カラー・レーザー・プリンタ300に
転送する送信装置207と、システム制御部400との
送受信を行うI10装2208とから構成される。
■Configuration and operation of PDL controller FIG. 3 shows the configuration of the PDL controller 200, which includes a receiving device 201 that receives the PDL language sent from the host computer 100, and storage control and control of the PDL language received by the receiving device 201. A CPU 202 that executes anti-aliasing processing, etc., and an internal system bus 203
, a RAM 204 that stores the PDL language to be transferred from the receiving device 201 via the internal system bus 203, and a ROM 20 that stores an anti-aliasing program and the like.
5 and multivalued YMC with anti-aliasing processing
and page memory 206 for storing BK image data.
, a transmitting device 207 that transfers the YMC and BK image data stored in the page memory 206 to the multilevel color laser printer 300, and an I10 device 2208 that performs transmission and reception with the system control section 400.

ここで、CPU202は、受信装置201で受信したP
DL言語をROM205に格納されたプログラムに従っ
て、内部システムパス203を通して、RAM204に
格納する。その後、1ペ一ジ分のPDL言語を受信し、
RAM204へ格納すると、後述するフローチャートに
基づいて、RAM204内の図形要素にアンチエイリア
シング処理を施し、多値のYMC及びBKイメージデー
タをページメモリ206のブレーンメモリ部に格納する
(ページメモリ206は、Y、M、CBKのプレーンメ
モリ部と、特徴情報メモリ部とからなる)。
Here, the CPU 202 receives the P received by the receiving device 201.
The DL language is stored in the RAM 204 through the internal system path 203 according to the program stored in the ROM 205. After that, you will receive one page of PDL language,
Once stored in the RAM 204, the graphic elements in the RAM 204 are subjected to anti-aliasing processing based on a flowchart to be described later, and the multilevel YMC and BK image data is stored in the brain memory section of the page memory 206 (the page memory 206 is , M, consists of a plane memory section of CBK and a feature information memory section).

ページメモリ206内のデータは、その後、送信装置2
07を介して多値カラー・レーザー・プリンク300へ
送られる。
The data in the page memory 206 is then transferred to the transmitter 2
07 to the multilevel color laser link 300.

以下、第4図(a)、 (b)を参照して、PDL:1
7)ローラ200の動作を説明する。
Hereinafter, with reference to FIGS. 4(a) and (b), PDL: 1
7) The operation of roller 200 will be explained.

第4図(a)は、CPU202が行う処理のフローチャ
ートを示す。PDLコントローラ200は、前述したよ
うにホストコンピュータ100からページ単位で送られ
たきたPDL言語をアンチエイリアシング処理を施しな
がら、ブラック(BK)、イエロー(Y)、マゼンタ(
M)、及び、シアン(C)の4色のイメージ画像に展開
する。
FIG. 4(a) shows a flowchart of processing performed by the CPU 202. As described above, the PDL controller 200 performs anti-aliasing processing on the PDL language sent page by page from the host computer 100, and processes the PDL language into black (BK), yellow (Y), magenta (
M) and cyan (C).

PDL言語では、グラフィックスも文字も全てベクトル
データで記述されており、また、ページ記述言語という
呼び名が示す通り、画像情報の処理単位はページ単位で
扱うものである。更に、1ページは、1つ或いは複数の
要素(図形要素及び文字要素)から構成されるパスを単
位として、少なくとも1個以上のパスで構成される。
In the PDL language, graphics and characters are all described using vector data, and as the name "page description language" indicates, image information is processed in units of pages. Furthermore, one page is made up of at least one path, with each path being made up of one or more elements (graphic elements and text elements).

先ず、PDL言語を入力すると、その要素が曲線ベクト
ルか否か判定し、曲線ベクトルの場合はこれを直線ベク
トルに近似して、直線要素(ライン)として作業エリア
に登録する。これを1つのパス内の全ての図形及び文字
要素について行い、パス単位で作業エリアへ直線要素の
登録を実施する(処理1)。
First, when PDL language is input, it is determined whether the element is a curved vector, and if it is a curved vector, it is approximated to a straight line vector and registered as a straight line element (line) in the work area. This is performed for all graphic and character elements within one path, and linear elements are registered in the work area for each path (processing 1).

そして、このパス単位に登録した作業エリアの直線要素
を直線の開始X座標によりソーティングする(処理2)
Then, the straight line elements of the work area registered in this path unit are sorted by the starting X coordinate of the straight line (processing 2)
.

次に、処理3により、X座標を1つずつ更新しながら、
走査線による塗りつぶし処理を行う。例えば、第4図(
b)に示すパスの塗りつぶし処理を実施する場合、処理
する走査線yc(本実施例では、前述したYo ・Y1
スキャンラインのように1画素分の厚みをもったものを
スキャンラインとして記載し、厚みをもたない直線を示
す場合のスキャンラインを走査線と記載する)の横切る
辺の要素と、その走査線ycを横切ったX座標の実数値
(第4図(ハ)に示すxI+ x2.X 31 X 4
)とをAET(Active Edge Table 
:走査線上に現れるエツジ部のX座標を記録するテーブ
ル)に登録する。ここで、作業エリアに登録されている
要素の順番は、処理1で登録した順番になっているため
、必ずしも走査線ycを横切るX座標が小さい順に登録
されているとは限らない。例えば、処理1において、第
4図(b)の走査線ycとX、とを通過する直線要素が
最初に処理された場合には、走査線yc上に現れるエツ
ジ部のX座標としてx3がAETに最初に登録される。
Next, in process 3, while updating the X coordinate one by one,
Performs filling processing using scanning lines. For example, in Figure 4 (
When performing the path filling process shown in b), the scanning line yc to be processed (in this embodiment, the above-mentioned Yo ・Y1
A scan line with a thickness of one pixel is described as a scan line, and a scan line that indicates a straight line with no thickness is described as a scan line), and the elements of the side that crosses that scan line. Real value of the X coordinate across yc (xI + x2.X 31 X 4 shown in Figure 4 (c)
) and AET (Active Edge Table
: A table that records the X coordinate of the edge portion appearing on the scanning line). Here, the order of the elements registered in the work area is the order in which they were registered in process 1, so they are not necessarily registered in order of decreasing X coordinate across the scanning line yc. For example, in process 1, if a straight line element passing through scanning lines yc and X in FIG. 4(b) is processed first, x3 is the AET is first registered in

そこで、AETの登録後、AET内の各辺の要素をX座
標の小さい順にソーティングする。そして、AETの最
初の要素から2つをベアにして、その間を塗りつぶす(
具体的には、例えば、走査線ycと走査線yc+1のよ
って形成されるスキャンラインによる塗りつぶし処理)
Therefore, after the AET is registered, the elements on each side within the AET are sorted in descending order of X coordinate. Then, make two of the first elements of AET bare and fill in the space between them (
Specifically, for example, filling processing using a scan line formed by scanning line yc and scanning line yc+1)
.

アンチエイリアシング処理はこの塗りつぶし処理におい
て、エツジ部のピクセルの濃度及び輝度を近似面積率に
応じて調整することで実現する。その後、処理済みの辺
をAETから除去し、走査線を更新(X座標を更新)し
、AET内の辺を全て処理するまで、換言すれば、1つ
のパス内の要素を全て処理するまで同様の処理を繰り返
す。
Anti-aliasing processing is achieved by adjusting the density and brightness of pixels in the edge portion in accordance with the approximate area ratio in this filling processing. Then remove the processed edge from the AET, update the scanline (update the Repeat the process.

上記処理1.処理2.処理3の作業をパス単位に実行し
、1ペ一ジ分の全パスが終了するまで繰り返す。
Above processing 1. Processing 2. The work in process 3 is executed pass by pass and repeated until all passes for one page are completed.

次に、前述した処理3のスキャンラインによる塗りつぶ
し処理中に実行されるアンチエイリアシング処理につい
て、第4図(C)のフローチャートを参照して詳細に説
明する。
Next, the anti-aliasing process executed during the scan line filling process of process 3 described above will be described in detail with reference to the flowchart of FIG. 4(C).

二′とで、例えば、第4図(a)の処理1で、第5図(
a)に示すような五角形ABCDEが入力されたとする
と、この図形は、以下の要素を持つ。
For example, in process 1 in FIG. 4(a), in FIG.
If a pentagon ABCDE as shown in a) is input, this figure has the following elements.

(イ)AB、BC,CD、DE、EAの5本の線ベクト
ル(実数表現) (ロ)図形内部の色及び輝度値 この図形は前述の動作により、第5図(b)に示すよう
に、主走査方向に延びた7本の直線ベクトル(実数表現
)に分割される。この時、本実施例では、以下に示す情
報を7本の直線ベクトルの始点及び終点に付加する。即
ち、 (ハ)直線ベクトルの始点及び終点を構成するベクトル
要素(上記の(イ))の始点座標値(実数表現) (ニ)直線ベクトルの始点及び終点を構成するベクトル
要素の傾き情報 (杓直線ベクトルの始点及び終点の特徴情報(右エツジ
、左エツジ、図形の頂点、1ドツト以下の綿、直線の交
差部等) スキャンラインの塗りつぶし処理において、エツジ部画
素が検出されると、第4図(C)のフローチャートに示
すアンチエイリアシング処理が実行される。第1図(a
)〜(□□□で示したように、本発明ではLUTからベ
クトルデータの傾きに基づいて、該当する三角形部分の
グループの階調値に゛を読み込み、この階調値に゛を用
いてエツジ部画素の階調値Kを高速に求めるものである
(a) Five line vectors AB, BC, CD, DE, and EA (represented by real numbers) (b) Color and brightness values inside the figure This figure is created by the above-mentioned operation as shown in Figure 5 (b). , into seven straight line vectors (expressed as real numbers) extending in the main scanning direction. At this time, in this embodiment, the following information is added to the starting points and ending points of the seven straight line vectors. That is, (c) Starting point coordinate values (real number expression) of vector elements ((a) above) that constitute the starting point and ending point of a straight line vector (d) Slope information (dip) of vector elements that constitute the starting point and ending point of a straight line vector Characteristic information of the start point and end point of a straight line vector (right edge, left edge, apex of a figure, cotton of 1 dot or less, intersection of straight lines, etc.) When an edge pixel is detected in the scan line filling process, the fourth The anti-aliasing process shown in the flowchart of Figure 1(C) is executed.
) ~ (As shown in □□□, in the present invention, ゛ is read into the gradation value of the group of the corresponding triangular part based on the slope of the vector data from the LUT, and ゛ is used for this gradation value to create an edge. The gradation value K of a partial pixel is determined at high speed.

先ず、スキャンライン上にベクトルの端点が含まれてい
るか否か、ベクトルの端点の有無を判定する(S401
)。ベクトルの端点が無い場合には、直線ベクトルの傾
きθに基づいて、LUTから該当する三角形部分の階調
値に′を読み込み、保持する(s402)。次に、傾き
θがπ/4≦θ≦3π/4の範囲か否か判定する(S4
03)。換言すれば、傾きθの直線ベクトルが上下の辺
を通過する可能性があるか、或いは、左右の辺を通過す
る可能性があるかを判定する。ここで、例えば、傾きθ
がπ/4≦θ≦3π/4の範囲ならば直線ベクトルは垂
直性が高いことを示し、且つ、左右の両辺と交差して画
素を通過することがないことを示す。従って、傾きθが
π/4≦θ≦3π/4の範囲の場合、直線ベクトルが上
辺と下辺を通るか否か判定しく3404)、上辺と下辺
を通る場合には、長方形部分の面積を求めて、更に、長
方形部分の階調値K“°を得る( 5405)。続いて
、三角形部分の階調値に゛と長方形部分の階調値K”を
加算して該当するエツジ部画素の階調値Kを決定する(
3406)。一方、上辺と下辺を通らない場合には、画
素の三角形部分の階調値K”を求め(S407) 、画
素内の塗りつぶし部分を判断しく5408) 、三角形
部分が塗りつぶし部分の場合には三角形部分の階調値K
”を該当するエツジ部画素の階調値にとしく5409)
 、三角形部分以外が塗りつぶし部分の場合には該当す
るエツジ部画素の階調値Kをに=9−K”とする(S4
10)。その後、1ライン分のエツジ部分のスキャンラ
イン処理が終了したか判定しく5411)、終了してい
なければ再度5404から処理を繰り返す。
First, it is determined whether the end points of the vector are included on the scan line (S401).
). If there is no endpoint of the vector, ' is read from the LUT into the gradation value of the corresponding triangular part based on the slope θ of the straight line vector and held (s402). Next, it is determined whether the slope θ is in the range of π/4≦θ≦3π/4 (S4
03). In other words, it is determined whether there is a possibility that a straight line vector having an inclination θ passes through the upper and lower sides, or whether it has a possibility that it passes through the left and right sides. Here, for example, the slope θ
If is in the range of π/4≦θ≦3π/4, it indicates that the straight line vector has high perpendicularity, and also indicates that it does not intersect both the left and right sides and pass through the pixel. Therefore, if the slope θ is in the range of π/4≦θ≦3π/4, it is necessary to determine whether the straight line vector passes through the upper and lower sides (3404), and if it passes through the upper and lower sides, the area of the rectangular portion is calculated. Then, the gradation value K"° of the rectangular part is obtained (5405). Next, the gradation value of the corresponding edge pixel is obtained by adding " and the gradation value K of the rectangular part" to the gradation value of the triangular part. Determine the adjustment value K (
3406). On the other hand, if it does not pass through the upper and lower sides, the gradation value K'' of the triangular part of the pixel is calculated (S407), and the filled part in the pixel is determined (5408), and if the triangular part is a filled part, the triangular part gradation value K
” to the gradation value of the corresponding edge pixel 5409)
, if the part other than the triangular part is a filled part, the gradation value K of the corresponding edge pixel is set to "9-K" (S4
10). Thereafter, it is determined whether the scan line processing of the edge portion for one line has been completed (5411), and if it has not been completed, the processing is repeated from 5404.

一方、傾きθがπ/4≦θ≦3π/4の範囲でない場合
、直線ベクトルが左辺と右辺を通るか否か判定しく54
12) 、左辺と右辺を通る場合には、長方形部分の面
積を求めて、更に、長方形部分の階調値K”を得る(S
413)。続いて、三角形部分の階調値に゛と長方形部
分の階調値K”を加算して該当するエツジ部画素の階調
値Kを決定する(5414)。
On the other hand, if the slope θ is not within the range of π/4≦θ≦3π/4, it is difficult to determine whether the straight line vector passes through the left side and the right side.
12) When passing through the left and right sides, calculate the area of the rectangular part and further obtain the gradation value K'' of the rectangular part (S
413). Next, the gradation value K of the corresponding edge pixel is determined by adding `` and the gradation value K'' of the rectangular portion to the gradation value of the triangular portion (5414).

左辺と右辺を通らない場合には、画素の三角形部分の階
調値K”を求め(S415) 、画素内の塗りつぶし部
分を判断しく3416) 、三角形部分が塗りつぶし部
分の場合には三角形部分の階調値K Hを該当するエツ
ジ部画素の階調値にとしく5417) 、三角形部分以
外が塗りつぶし部分の場合には該当するエツジ部画素の
階調値Kをに=9−K“とする(S41B)。その後、
1ライン分のエツジ部分のスキャンライン処理が終了し
たか判定しく5419)、終了していなければ再度54
04から処理を繰り返す。
If it does not pass through the left and right sides, the gradation value K'' of the triangular part of the pixel is calculated (S415), and the filled part in the pixel is determined (3416), and if the triangular part is a filled part, the gradation value of the triangular part is Set the tone value KH to the tone value of the corresponding edge pixel (5417), and if the area other than the triangular part is a filled area, set the tone value K of the corresponding edge pixel to =9-K'' ( S41B). after that,
Check whether the scan line processing of the edge part for one line has been completed (5419), and if it has not been completed, the process again
Repeat the process from 04.

上記の5411及び5419において、1ライン分のス
キャンラインが終了しているならば、5420で全ライ
ンのエツジ部分のスキャンライン処理が終了したか否か
判定され、終了していれば処理をアンチエイ・リアシン
グ処理を終了する。また、終了していなければ、540
1から処理を繰り返す。
If one scan line has been completed in steps 5411 and 5419 above, it is determined in step 5420 whether or not the scan line processing of the edge portions of all lines has been completed, and if it has been completed, the processing is performed as an anti-ray. Finish the reasing process. Also, if it is not finished, 540
Repeat the process from 1.

尚、5401でスキャンライン上にベクトルの端点が含
まれていると判定した場合には、3*3サブビクセル分
割によって面積面積率を計算しく5421)、5420
へ進む。
Note that if it is determined in 5401 that the end point of the vector is included on the scan line, the area ratio is calculated by 3*3 sub-vixel division (5421), 5420
Proceed to.

CPU202は、上記の処理を走査線(y座標)の最後
の画素まで繰り返し、同時に上記の(ニ)の情報により
、上記(ハ)の内容を更新する。このようにしてアンチ
エイリアシング処理によって求めた第5図(a)の図形
の階調値には第6図に示すような値となる。
The CPU 202 repeats the above processing up to the last pixel of the scanning line (y coordinate), and at the same time updates the contents of (c) above with the information of (d) above. The gradation values of the figure shown in FIG. 5(a) obtained through the anti-aliasing process in this way have values as shown in FIG.

このようにして求められた階調値には、所定のYMC及
びBK変換処理(詳細は省略するが本実施例では、ソフ
トウェアとしてYMC及びBK変換プログラムを備えて
いる)によって、前述した図形内部の色及び輝度値((
U)の情報)に基づいて、ブラック(BK)、 イエロ
ー(Y)、マゼンタ(M)、及び、シアン(C)の4色
のイメージ画像に展開されて、ページメモリ206の該
当するプレーンメモリ部にイメージデータとして格納さ
れる。第7図(a)、(ロ)、 (C)、 (d)は、
色及び輝度値の情報が、C: M : Y= 1 :o
、s:o、3の場合でUCRを100%かけたときの状
態を示す。
The gradation values obtained in this way are processed by predetermined YMC and BK conversion processing (details are omitted, but in this embodiment, a YMC and BK conversion program is provided as software). Color and brightness values ((
Based on the information in U), the image is developed into four-color images of black (BK), yellow (Y), magenta (M), and cyan (C), and is stored in the corresponding plain memory section of the page memory 206. is stored as image data. Figures 7(a), (b), (C), and (d) are
Color and brightness value information is C: M: Y= 1:o
, s:o, 3 and the UCR is multiplied by 100%.

■多値カラー・レーザープリンターの構成先ず、第8図
に示す制御ブロック図を参照して、多値カラー・レーザ
ー・プリンタ300の概略構成を説明する。
■Configuration of multi-value color laser printer First, the general configuration of the multi-value color laser printer 300 will be explained with reference to the control block diagram shown in FIG.

感光体現像処理部301は後述する感光体ドラムの表面
を一様に帯電し、荷電面をレーザービームで露光して潜
像を形成し、その潜像をトナーで現像して記録紙に転写
するものであり、詳細は後述するがBKデータの現像・
転写を行うブラック現像・転写部301bkと、Cデー
タの現像・転写を行うシアン現像・転写部301cと、
Mデータの現像・転写を行うシアン現像・転写部301
mと、Yデータの現像・転写を行うシアン現像・転写部
301yとを備えている。
A photoreceptor development processing unit 301 uniformly charges the surface of a photoreceptor drum (described later), exposes the charged surface to a laser beam to form a latent image, develops the latent image with toner, and transfers it to recording paper. The details will be explained later, but the development and development of BK data is
A black developing/transfer section 301bk that performs transfer, a cyan developing/transfer section 301c that develops and transfers C data,
Cyan development/transfer section 301 that develops/transfers M data
m, and a cyan developing/transfer section 301y that develops and transfers Y data.

レーザー駆動処理部302は、前述したPDLコントロ
ーラ200から出力されるY、M、C。
The laser drive processing unit 302 receives Y, M, and C signals output from the PDL controller 200 described above.

BKの3ビツトデータ(ここでは、画像濃度データとな
る)を入力して、レーザービームを出力するものであり
、Y、M、Cの3ビツトデータを入力するバッファメモ
リ303)’、303m。
Buffer memories 303)', 303m input 3-bit BK data (in this case, image density data) and output a laser beam, and input 3-bit Y, M, and C data.

303Cと、Y、M、C,BKのそれぞれ対応したレー
ザービームを出力するレーザーダイオード304y、3
04m、304c、304bkと、レーザーダイオード
304y、304m、304c、304bkをそれぞれ
駆動するドライバ305y、305m、305c、30
5bとから構成される。
303C, and laser diodes 304y and 3 that output laser beams corresponding to Y, M, C, and BK, respectively.
04m, 304c, 304bk and drivers 305y, 305m, 305c, 30 that drive laser diodes 304y, 304m, 304c, 304bk, respectively.
5b.

尚、感光体現像処理部301のブラック現像・転写部3
01bkと、レーザー駆動処理部302レーザーダイオ
ード304bk、及び、ドライバ305bkとの組合せ
をブラック記録ユニットBKU(第9図参照)と呼ぶ。
In addition, the black developing/transfer section 3 of the photoreceptor development processing section 301
01bk, the laser drive processing unit 302, the laser diode 304bk, and the driver 305bk are called a black recording unit BKU (see FIG. 9).

同様に、シアン現像・転写部301c、  レーザーダ
イオード304c、  ドライバ305 c、及び、バ
ッファメモリ303Cの組合せをシアン記録ユニットC
U(第9図参照)、マゼンダ現像・転写部301m、 
 レーザーダイオード304m、  ドライバ305m
、及び、バッファメモリ303mの組合せをマゼンダ記
録ユニッI−MU (第9図参照)、イエロー現像・転
写部301y、 レーザーダイオードao4y、  ド
ライバ305 y、及び。
Similarly, the cyan developing/transfer section 301c, laser diode 304c, driver 305c, and buffer memory 303C are combined into a cyan recording unit C.
U (see Figure 9), magenta developing/transfer section 301m,
Laser diode 304m, driver 305m
, and the buffer memory 303m are combined into a magenta recording unit I-MU (see FIG. 9), a yellow developing/transfer section 301y, a laser diode ao4y, a driver 305y, and.

バッファメモリ303yの組合せをイエロー記録ユニッ
)YU (第9図参照)と呼ぶ。これらの各記録ユニッ
トは、図示の如く、記録紙を搬送する搬送ベルト306
の周囲に記録紙の搬送方向からブラック記録ユニットB
KU、  シアン記録ユニッ)CU、マゼンダ記録ユニ
ットMU、  イエロー記録ユニットYUの順に配設さ
れている。
The combination of buffer memories 303y is called a yellow recording unit (YU) (see FIG. 9). As shown in the figure, each of these recording units is connected to a conveyor belt 306 that conveys the recording paper.
Black recording unit B from the recording paper conveyance direction
KU, cyan recording unit) CU, magenta recording unit MU, and yellow recording unit YU are arranged in this order.

このような各記録ユニットの配列によって、最初に露光
開始となるのはブラック露光用のレーザーダイオード3
04bkであり、イエロー露光用のレーザーダイオード
304yが最後に露光を開始することになる。従って、
各レーザーダイオード間で露光開始順に時間差があり、
該時間差の間記録データ(PDLコントローラ200の
出力)を保持するため、レーザー駆動処理部302には
前述した3組のバッファメモリ303 )’+303m
、303cが備えられている。
Due to this arrangement of each recording unit, the laser diode 3 for black exposure starts exposure first.
04bk, and the laser diode 304y for yellow exposure starts exposure last. Therefore,
There is a time difference in the order of exposure start between each laser diode,
In order to hold the recorded data (output of the PDL controller 200) during the time difference, the laser drive processing unit 302 has the aforementioned three sets of buffer memories 303)'+303m.
, 303c are provided.

次に、第9図を参照して多値カラー・レーザー・プリン
タ300の構成を具体的に説明する。
Next, the configuration of the multilevel color laser printer 300 will be specifically explained with reference to FIG.

多値カラー・レーザー・プリンタ300は、記録紙を搬
送する搬送ベルト306と、前述したように搬送ベルト
306の周囲に配設された各記録ユニットYU、MU、
CtJ、BKUと、記録紙を収納した給紙カセット30
7a、307bと、給紙カセッ)307a、307bか
らそれぞれ記録紙を送り出す給紙コロ308a、308
bと、給紙カセット307a、307bから送り出され
た記録紙の位置合わせを行うレジストローラ309と、
搬送ベルト306によって記録ユニッI−BKU、CU
、MU、YUを順次搬送されて転写された画像を記録紙
に定着される定着ローラ310と、記録紙を所定の排出
部(図示せず)に排出する排紙コロ311とから構成さ
れる。ここで、各記録ユニットYU、MU、CU、BK
Uは、感光体ドラム312y、312m、312c、3
12bkと、それぞれ感光体ドラム312y、312m
The multilevel color laser printer 300 includes a conveyor belt 306 that conveys recording paper, and recording units YU, MU, and YU arranged around the conveyor belt 306 as described above.
Paper feed cassette 30 containing CtJ, BKU, and recording paper
7a, 307b, and paper feed rollers 308a, 308 that feed the recording paper from the paper feed cassettes) 307a, 307b, respectively.
b, a registration roller 309 that aligns the recording paper sent out from the paper feed cassettes 307a and 307b,
The recording units I-BKU, CU are transported by the conveyor belt 306.
, MU, and YU are sequentially conveyed and the transferred image is fixed on the recording paper, and a paper discharge roller 311 discharges the recording paper to a predetermined discharge section (not shown). Here, each recording unit YU, MU, CU, BK
U represents photoreceptor drums 312y, 312m, 312c, 3
12bk, and photoreceptor drums 312y and 312m, respectively.
.

312c、312bkを一様に帯電する帯電器313y
、313m、313c、313bkと、感光体ドラム3
12y、312m、312c。
Charger 313y that uniformly charges 312c and 312bk
, 313m, 313c, 313bk, and photosensitive drum 3
12y, 312m, 312c.

312bkにレーザービームを導くためのポリゴンミラ
ー314y、314m、314c、314bk及びモー
タ315y、315m、315c。
Polygon mirrors 314y, 314m, 314c, 314bk and motors 315y, 315m, 315c for guiding the laser beam to 312bk.

315bkと、感光体ドラム312)’、312m。315bk, photosensitive drum 312)', 312m.

312c、312bk上に形成された静電潜像をそれぞ
れ該当する色のトナーを用いて現像するトナー現像装置
3163’、316m、316c316bkと、現像し
たトナー像を記録紙に転写する転写帯電器317y、3
17m、317c。
toner developing devices 3163', 316m, 316c316bk that develop the electrostatic latent images formed on 312c, 312bk using toners of corresponding colors; transfer charger 317y that transfers the developed toner images onto recording paper; 3
17m, 317c.

317bkと、転写後に感光体ドラム312y。317bk and a photosensitive drum 312y after transfer.

312m、312c、312bk上に残留するトナーを
除去するクリーニング装W318y、318m、318
c、318bkとから構成される。
Cleaning device for removing toner remaining on 312m, 312c, 312bk W318y, 318m, 318
c, 318bk.

尚、319y、319m、319c、319bkは、そ
れぞれ感光体ドラム3123’、312m312c、3
1.2bk上に設けられた所定のパターンを読み取るた
めのCCDラインセンサーを示し、詳細は省略するが、
これによって多値カラー・レーザー・プリンタ300の
プロセス状態の検知を行う。
Note that 319y, 319m, 319c, and 319bk are photosensitive drums 3123', 312m, 312c, and 319bk, respectively.
A CCD line sensor for reading a predetermined pattern provided on 1.2bk is shown, and the details are omitted, but
As a result, the process status of the multivalued color laser printer 300 is detected.

以上の構成において、イエロー記録ユニットYUの露光
・現像・転写を例にその動作を説明する。
In the above configuration, the operations of the yellow recording unit YU will be explained using exposure, development, and transfer as examples.

第10図(a)、 Cb)はイエロー記録ユニッ)YU
の露光系の構成を示す。同図において、レーザーダイオ
ード304yから出射されたレーザービームはポリゴン
ミラー314yで反射されて、f−θレンズ302yを
通過して、更にミラー321y322yで反射されて防
塵ガラス323yを通して感光体ドラム312yに照射
される。このときレーザービームはポリゴンミラー31
4yがモータ315yで定速回転駆動されるので、感光
体ドラム312yの軸に沿う方向(主走査方向)に移動
する。また、本実施例では、主走査の走査位置追跡のた
めの基点を検知するため、非露光位置のレーザービーム
をフォトセンサ324yを配設しである。レーザーダイ
オード304yは記録データ(PDLコントローラ20
0からの3ビツトデータ)に基づいて発光付勢されるの
で、記録データに対応した多値露光が、感光体ドラム3
04yの表面に対して行われる。感光体ドラム304y
の表面は、前述したように予め帯電器313yで一様に
荷電されており、上記露光により原稿画像対応の静電潜
像が形成される。該静電潜像はイエロー現像装置316
yで現像され、イエローのトナー像となる。このトナー
像は、第9図に示したように、カセット307a (或
いは、307b)から給紙コロ308a (或いは、3
08b)で繰り出され、レジストローラ309によって
ブラック記録ユニッ)BKUのトナー像形成と同期をと
って、搬送ベルト306によって搬送されてきた記録紙
に転写される。
Figure 10 (a), Cb) shows the yellow recording unit) YU.
The configuration of the exposure system is shown. In the figure, a laser beam emitted from a laser diode 304y is reflected by a polygon mirror 314y, passes through an f-theta lens 302y, is further reflected by a mirror 321y322y, and is irradiated onto a photosensitive drum 312y through a dustproof glass 323y. Ru. At this time, the laser beam is
4y is driven to rotate at a constant speed by the motor 315y, so it moves in the direction along the axis of the photosensitive drum 312y (main scanning direction). Further, in this embodiment, a photosensor 324y is provided to detect the base point for tracking the scanning position of the main scan, so that the laser beam at the non-exposed position is detected. The laser diode 304y outputs recording data (PDL controller 20
Since the light is energized to emit light based on the 3-bit data (from 0), the multi-value exposure corresponding to the recorded data
This is done on the surface of 04y. Photosensitive drum 304y
The surface of the document is uniformly charged in advance by the charger 313y as described above, and an electrostatic latent image corresponding to the original image is formed by the exposure. The electrostatic latent image is transferred to a yellow developing device 316.
y to form a yellow toner image. This toner image is transferred from the cassette 307a (or 307b) to the paper feed roller 308a (or 3
08b), and is transferred by the registration rollers 309 onto the recording paper conveyed by the conveyor belt 306 in synchronization with the toner image formation in the black recording unit (BKU).

他の記録ユニットBKU、CU、MUも同様な構成で同
様な動作を実行するが、ブラック記録ユニットBKUは
ブラックトナー現像装置316bkを備え、ブラックの
トナー像の形成及び転写を行い、シアン記録ユニットC
Uはシアントナー現像装置316Cを備え、シアンのト
ナー像の形成及び転写を行い、マゼンダ記録ユニットM
Uはマゼンダトナー現像装置316mを備え、マゼンダ
のトナー像の形成及び転写を行う。
The other recording units BKU, CU, and MU have similar configurations and perform similar operations, but the black recording unit BKU is equipped with a black toner developing device 316bk and forms and transfers a black toner image, and the cyan recording unit C
U includes a cyan toner developing device 316C, which forms and transfers a cyan toner image, and a magenta recording unit M.
U includes a magenta toner developing device 316m, which forms and transfers a magenta toner image.

■ドライバの多値駆動 ドライバ305y、305m、305c、305bは、
画像処理袋W400から送られてくるY。
■The multi-value drive drivers 305y, 305m, 305c, and 305b are as follows:
Y sent from image processing bag W400.

M、C,BKの3ビツトデータに基づいて、8亥当する
レーザーダイオード304y、304m。
Based on the 3-bit data of M, C, and BK, the laser diodes 304y and 304m correspond to 8.

304c、304bkを多値駆動するための制御を行う
ものであり、その駆動方法としては、パワー変調、パル
ス巾変調等が一般的に用いられている。
It performs control for multi-value driving of 304c and 304bk, and power modulation, pulse width modulation, etc. are generally used as the driving method.

以下、本実施例で適用するパワー変調による多値駆動を
第11図(a)、 (b)、 (C)、 (d)を参照
して詳細に説明する。尚、ドライバ305y、305m
Hereinafter, the multivalue drive by power modulation applied in this embodiment will be explained in detail with reference to FIGS. 11(a), (b), (C), and (d). In addition, drivers 305y, 305m
.

305c、305b、及び、レーザーダイオード304
y、304m、304c、304bkはそれぞれ同一の
構成であるため、ここでは、ドライバ305y及びレー
ザーダイオード304yを例として説明する。
305c, 305b, and laser diode 304
y, 304m, 304c, and 304bk each have the same configuration, so here, the driver 305y and laser diode 304y will be explained as an example.

ドライバ305yは、第11図(a)に示すように、所
定のLDドライブクロックに基づいて、レーザーダイオ
ード304yをonloffするレーザーダイオードo
n10ff回路350と、3ビツトの画像濃度データ(
ここでは、Yデータ)をアナログ信号に変換するD/A
コンバータ351と、画像濃度値に基づ(アナログ信号
をD/Aコンバータ351から入力して、レーザーダイ
オード304yを駆動する電流(LD駆動電流)Idを
レーザーダイオードon10ff回路350に供給する
定電流回路352とから構成される。
As shown in FIG. 11(a), the driver 305y turns the laser diode 304y on and off based on a predetermined LD drive clock.
n10ff circuit 350 and 3-bit image density data (
Here, the D/A converts Y data) into an analog signal.
a converter 351, and a constant current circuit 352 that inputs an analog signal from the D/A converter 351 and supplies a current (LD drive current) Id for driving the laser diode 304y to the laser diode on10ff circuit 350 based on the image density value. It consists of

ここで、LDドライブクロックは°“1゛でon“OI
Iでoffと定義づけられ、第11図(b)に示すよう
に、レーザーダイオードon10ff回路350はこれ
に従ってレーザーダイオード304yをonloffす
る。また、LD駆動電流Idとレーザービームパワーは
比例関係にあるので、画像濃度データ値に基づ<LD駆
動電流1dを生成することで、画像濃度データ値に対応
したレーザービームパワー出力が得られることになる。
Here, the LD drive clock is “1” and on “OI”.
I is defined as off, and as shown in FIG. 11(b), the laser diode on10ff circuit 350 turns off the laser diode 304y accordingly. Furthermore, since the LD drive current Id and the laser beam power are in a proportional relationship, by generating the LD drive current 1d based on the image density data value, the laser beam power output corresponding to the image density data value can be obtained. become.

例えば、第11図(b)に示すように、画像濃度データ
値が°’4”(同図のデータN−1)の場合には、定電
流回路352によって相当するLD駆動電流Idが供給
され、レーザーダイオード304yのレーザービームパ
ワーはレベル4となる。また、画像濃度データ値が“7
” (同図のデータN)の場合には、定電流回路352
によって相当するLD駆動電流1dが供給され、レーザ
ーダイオード304yのレーザービームパワーはレベル
7となる。
For example, as shown in FIG. 11(b), when the image density data value is °'4'' (data N-1 in the figure), the corresponding LD drive current Id is supplied by the constant current circuit 352. , the laser beam power of the laser diode 304y is level 4. Also, the image density data value is “7”.
” (data N in the figure), the constant current circuit 352
The corresponding LD drive current 1d is supplied, and the laser beam power of the laser diode 304y becomes level 7.

次に、第11図(C)を参照して、レーザーダイオード
on10ff回路350.D/Aコンバータ351、及
び、定電流回路352の具体的な回路構成を示す。レー
ザーダイオードo n/ o r f回路350は、T
TLインバータ353,354と、onloffのトグ
ル動作をする差動型スイッチング回路355,356と
、VGl>VO2の時、差動型スイッチング回路355
がon、差動型スイッチング回路356がo f f、
VGI<VO2の時、差動型スイッチング回路355が
oft。
Next, referring to FIG. 11(C), laser diode on10ff circuit 350. A specific circuit configuration of the D/A converter 351 and the constant current circuit 352 is shown. The laser diode on/o r f circuit 350 has T
TL inverters 353, 354, differential switching circuits 355, 356 that perform onloff toggle operation, and differential switching circuit 355 when VGl>VO2.
is on, the differential switching circuit 356 is off,
When VGI<VO2, the differential switching circuit 355 is off.

差動型スイッチング回路356がOnとなる条件を満足
するVO2を生成する分圧回路を形成する抵抗Rz、R
sとから構成される。従って、LDドライブクロックが
°“1゛′の時にインパーク354の出力がVGIを生
成し、前記条件(VCI>VO2)を満足し、差動型ス
イッチング回路355がon、差動型スイッチング回路
356がoffして、レーザーダイオード304yをO
nする。
Resistors Rz and R form a voltage dividing circuit that generates VO2 that satisfies the conditions for the differential switching circuit 356 to be turned on.
It consists of s. Therefore, when the LD drive clock is "1", the output of the impark 354 generates VGI, the above condition (VCI>VO2) is satisfied, the differential switching circuit 355 is turned on, and the differential switching circuit 356 is turned off and the laser diode 304y is turned off.
Do n.

また、逆にLDドライブクロックが“0″の時には、イ
ンバータ354の出力のないため、前記条件(VCI<
VO2)を満足し、差動型スイッチング回路355がo
ff、差動型スイッチング回路356がOnして、レー
ザーダイオード304yをoffする。
Conversely, when the LD drive clock is "0", there is no output from the inverter 354, so the above condition (VCI<
VO2), and the differential switching circuit 355
ff, the differential switching circuit 356 is turned on and the laser diode 304y is turned off.

D/Aコンバータ351は、入力した画像濃度データを
LDドライブクロックが“1″の間ラッチするラッチ3
57と、最大出力値V refを与えるV ref発生
器358と、画像濃度データ及び最大出力値V raf
に基づいてアナログデータVdを出力する・3ビツトD
/Aコンバータ359とから構成される。尚、ここでV
dと画像濃度データ及び最大出力値V refとの関係
は次式によって表される。
The D/A converter 351 has a latch 3 that latches the input image density data while the LD drive clock is "1".
57, a V ref generator 358 that provides a maximum output value V ref, and a V ref generator 358 that provides image density data and a maximum output value V raf.
Outputs analog data Vd based on 3-bit D
/A converter 359. Furthermore, here V
The relationship between d, image density data, and maximum output value V ref is expressed by the following equation.

定電流回路352は、前述したようにレーザーダイオー
ドon10ff回路350にレーザーダイオード304
yの電流を供給するものであり、トランジスター360
と、抵抗Ra、Rsとから構成される。D/Aコンバー
タ351からの出力Vdはトランジスター360のベー
スに加えられ、抵抗R4に印加される電圧を決定する。
The constant current circuit 352 includes the laser diode 304 in the laser diode ON10ff circuit 350 as described above.
y current, and the transistor 360
, and resistors Ra and Rs. The output Vd from D/A converter 351 is applied to the base of transistor 360 to determine the voltage applied to resistor R4.

換言すれば、抵抗R4に流れる電流はトランジスター3
60のコレクタ電流番ごほぼ等しいため、Vdによって
レーザーダイオード304yに流れる電流1dが制御さ
れる。
In other words, the current flowing through resistor R4 is
Since the collector current numbers of 60 are almost equal, the current 1d flowing through the laser diode 304y is controlled by Vd.

第、11図(d)は、前述したラッチ357の出力。FIG. 11(d) shows the output of the latch 357 mentioned above.

VGI、Vd、及び、Idの関係を示すタイミングチャ
ートである。ここでVdは画像濃度データ(3ビツトデ
ータ二〇〜7の8階調データ)に基づいて、Vr*t 
X O/7〜7/7の8段階の値をとり、Idは、この
VdO値に基づいて、10〜I、の8段階のレベルを示
す。レーザーダイオード304yはこのIdの8段階レ
ベル(1゜=レベルO2L”レベルト・・・ ■、=レ
ベル7)に従って、感光体ドラム312y上に、第12
図に示すような潜像を形成する。
5 is a timing chart showing the relationship between VGI, Vd, and Id. Here, Vd is Vr
X takes values in 8 levels from O/7 to 7/7, and Id indicates levels in 8 levels from 10 to I based on this VdO value. The laser diode 304y is placed on the photoreceptor drum 312y at the 12th level according to the 8 levels of this Id (1° = level O2L'' level...■, = level 7).
A latent image as shown in the figure is formed.

本発明のアンチエイリアシング処理及びその装置を適用
した画像形成システムでは、前述した構成及び動作によ
って、第5図(a)に示した五角形ABCDHに対して
、最終的に第13図に示すトナー像が記録紙上に形成さ
れる。−船釣にレーザー・プリンタの解像度が240〜
400dp iであることを考慮すると、図形のエツジ
部の濃度がアンチエイリアシング処理によって視覚的に
薄くなる。第14図はアンチエイリアシング処理を行わ
ない場合の五角形ABCDEのトナー像を示し、第13
図(本発明のトナー像)と第14図とを比較すると明ら
かなように、アンチエイリアシング処理によって、図形
の斜線部で現れる階段上のギザギザ部分(エイリアス)
が視覚的に滑らかになる。
In the image forming system to which the anti-aliasing processing and the device of the present invention are applied, the toner image shown in FIG. 13 is finally created for the pentagon ABCDH shown in FIG. 5(a) by the above-described configuration and operation. Formed on recording paper. -Resolution of laser printer for boat fishing is 240~
Considering that it is 400 dpi, the density of the edge portion of the figure becomes visually lighter due to the anti-aliasing process. FIG. 14 shows a toner image of pentagon ABCDE without anti-aliasing processing, and the 13th
As is clear from a comparison between the figure (toner image of the present invention) and FIG.
becomes visually smoother.

また、本実施例では、パワー変調による多値駆動を適用
したが、パルス巾変調による多値駆動を用いても同様の
効果が得られるのは勿論である。
Further, in this embodiment, multi-value driving using power modulation is applied, but it goes without saying that similar effects can be obtained by using multi-value driving using pulse width modulation.

ここで、参考のためにパルス巾変調のレベルによる潜像
形態の変化を第15図に示し、更に、第5図(a)に示
した五角形ABCDHにパルス巾変調を適用した場合の
トナー像を第16図に示す。
For reference, FIG. 15 shows the change in latent image form depending on the level of pulse width modulation, and also shows the toner image when pulse width modulation is applied to the pentagonal ABCDH shown in FIG. 5(a). It is shown in FIG.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の図形処理装置は、塗りつ
ぶすべき面積率に基づいて、ベクトルデータのエツジ部
画素の出力を調整し、出力画像のエツジ部のギザギザ(
エイリアス)を滑らかに表現するアンチエイリアシング
処理を実行する図形処理装置において、スキャンライン
上の1画素を閉区間とした場合に、ベクトルデータが閉
区間の上方の辺及び下方の辺と交差して横切る時に形成
される三角形部分、及び、左側の辺及び右側の辺と交差
して横切る時に形成される三角形部分を、予めベクトル
データの傾きによって場合分けし、この場合分けした三
角形部分のグループ毎に設定した階調値を記憶する記憶
手段と、アンチエイリアシング処理時に、記憶手段から
ベクトルデータの傾きに基づいて、該当する三角形部分
のグループの階調値を読み込み、この階調値を用いてエ
ツジ部画素の階調値を決定する演算手段とを備えたため
、サブピクセル分割及び塗りつぶし個数のカウントを行
うことなく、且つ、高速に面積率を求めることができる
As explained above, the graphic processing device of the present invention adjusts the output of the edge portion pixels of vector data based on the area ratio to be filled, and adjusts the output of the edge portion pixels of the output image (
In a graphics processing device that performs anti-aliasing processing to smoothly express images (aliases), when one pixel on a scan line is defined as a closed interval, vector data intersects with the upper and lower sides of the closed interval. The triangular parts formed when crossing the left side and the right side are divided into cases according to the slope of the vector data in advance, and set for each group of triangular parts divided into cases. A storage means for storing tone values of the corresponding triangular portion group is read from the storage means based on the slope of the vector data during anti-aliasing processing, and edge portion pixels are The area ratio can be determined at high speed without dividing subpixels or counting the number of filled pixels.

また、前述の構成において、演算手段は、ベクトルデー
タが閉区間の隣接する2つの辺を横切って通過し、且つ
、隣接する2つの辺及びベクトルデータによって形成さ
れる三角形部分が画像部(塗りつぶし部分)の場合、三
角形部分の階調値をエツジ部画素の階調値とし、ベクト
ルデータが閉区間の隣接する2つの辺を横切って通過し
、且つ、隣接する2つの辺及びベクトルデータによって
形成される三角形部分が画像部(塗りつぶし部分)でな
い場合、1画素の最大階調値から三角形部分の階調値を
減算してエツジ部画素の階調値を求めるため、高速に面
積率を求めることができる。
Furthermore, in the above-described configuration, the calculation means is configured such that the vector data passes across two adjacent sides of the closed interval, and the triangular part formed by the two adjacent sides and the vector data is an image part (a filled part ), the gradation value of the triangular part is the gradation value of the edge pixel, and the vector data passes across two adjacent sides of the closed interval, and is formed by the two adjacent sides and vector data. If the triangular part is not an image part (filled part), the gradation value of the triangle part is subtracted from the maximum gradation value of one pixel to find the gradation value of the edge pixel, so the area ratio can be calculated quickly. can.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(a)〜(粉は本発明の図形処理装置におけるア
ンチエイリアシング処理の原理を示す説明図、第2図は
本実施例の画像形成システムの構成を示す説明図、第3
図はPDLコントローラ(本発明の図形処理装置)の構
成を示す説明図、第4図(a)はPDLコントローラの
動作を示すフローチャート、第4図(ハ)はパスの塗り
つぶし処理を示す説明図、第4図(C)はアンチエイリ
アシング処理を示すフローチャート、第5図(a)、 
(t))は図形の直線ベクトル分割を示す説明図、第6
図はアンチエイリアシング処理を実施後の階調値を示す
説明図、第7図(a)、 (b)、 (C)はページメ
モリのブレーンメモリ部に格納されるYMC及びBKイ
メージデータを示す説明図、第8図は多値カラー・レー
ザー・プリンタを示す制御ブロック図、第9図は多値カ
ラー・レーザー・プリンタの構成を示す説明図、第10
図(a)、 (b)はイエロー記録ユニットの露光系の
構成を示す説明図、第11図(a)、 (b)、 (c
)、 (d)はパワー変調による多値駆動を示す説明図
、第12図はパワー変調のレベルによる潜像の状態を示
す説明図、第13図は第5図(a)に示した五角形AB
CDHの最終的なトナー像を示す説明図、第14図はア
ンチエイリアシング処理を行わない場合の五角形ABC
DEのトナー像を示す説明図、第15図はパルス巾変調
のレベルによる潜像の状態を示す説明図、第16図は第
5図(a)に示した五角形ABCDEにパルス巾変調を
適用した場合のトナー像を示す説明図、第17図(a)
、 (b)は従来の一アンチエイリアシング処理を示す
説明図、第18図(a)、 (b)は均一平均化法によ
るアンチエイリアシング処理を示す説明図、第19図(
a)、 (b)は重み付は平均化法によるアンチエイリ
アシング処理を示す説明図、第20図(a)、 (b)
、 (C)、 (d)は重み付は平均化法に使用するフ
ィルター例を示す説明図、第21図は3×3ピクセル参
照の畳み込み積分法を示す説明図である。 符号の説明 0・・・・・・・ホストコンピュータ O−・−−−−−−P D Lコントローラ1−・・−
・受信装置 202・・・・・・・CPU3−・・・内
部システムバス 4・・・・−・RAM  205・・−・・・−ROM
6・−・・・・ページメモリ 207・−・・・・・送
信装置8・−・・・・・I10装置 0・・・・・・−多値カラー・レーザー・プリンタ0・
・−・−システム制御部
FIGS. 1(a) to (powder are explanatory diagrams showing the principle of anti-aliasing processing in the graphic processing apparatus of the present invention, FIG. 2 is an explanatory diagram showing the configuration of the image forming system of this embodiment, and FIG.
4(a) is a flowchart showing the operation of the PDL controller; FIG. 4(c) is an explanatory drawing showing the path filling process; FIG. 4(C) is a flowchart showing anti-aliasing processing, FIG. 5(a),
(t)) is an explanatory diagram showing linear vector division of a figure, No. 6
The figure is an explanatory diagram showing gradation values after performing anti-aliasing processing, and Fig. 7 (a), (b), and (C) are explanatory diagrams showing YMC and BK image data stored in the brain memory section of the page memory. 8 is a control block diagram showing a multi-value color laser printer, FIG. 9 is an explanatory diagram showing the configuration of a multi-value color laser printer, and FIG. 10 is a control block diagram showing a multi-value color laser printer.
Figures (a) and (b) are explanatory diagrams showing the configuration of the exposure system of the yellow recording unit, and Figures 11 (a), (b), (c
), (d) is an explanatory diagram showing multi-level driving by power modulation, Fig. 12 is an explanatory diagram showing the state of the latent image depending on the level of power modulation, and Fig. 13 is the pentagon AB shown in Fig. 5 (a).
An explanatory diagram showing the final toner image of CDH, Fig. 14 is a pentagon ABC when anti-aliasing processing is not performed.
An explanatory diagram showing the toner image of DE, Fig. 15 is an explanatory diagram showing the state of the latent image depending on the level of pulse width modulation, and Fig. 16 is an explanatory diagram showing the state of the latent image depending on the level of pulse width modulation. An explanatory diagram showing a toner image in the case, FIG. 17(a)
, (b) is an explanatory diagram showing one conventional anti-aliasing process, FIGS. 18(a) and (b) are explanatory diagrams showing anti-aliasing process using the uniform averaging method, and FIG.
a) and (b) are explanatory diagrams showing anti-aliasing processing using the weighted averaging method; Fig. 20 (a) and (b)
, (C) and (d) are explanatory diagrams showing examples of filters used in the weighted averaging method, and FIG. 21 is an explanatory diagram showing a convolution method with reference to 3×3 pixels. Explanation of symbols 0...Host computer O-----PDL controller 1--
-Receiving device 202...CPU3--Internal system bus 4--RAM 205...--ROM
6.--Page memory 207.--.Transmitting device 8.--.I10 device 0.--Multi-value color laser printer 0.
・−・−System control unit

Claims (2)

【特許請求の範囲】[Claims] (1)塗りつぶすべき面積率に基づいて、ベクトルデー
タのエッジ部画素の出力を調整し、出力画像のエッジ部
のギザギザ(エイリアス)を滑らかに表現するアンチエ
イリアシング処理を実行する図形処理装置において、 スキャンライン上の1画素を閉区間とした場合に、前記
ベクトルデータが前記閉区間の上方の辺及び下方の辺と
交差して横切る時に形成される三角形部分、及び、左側
の辺及び右側の辺と交差して横切る時に形成される三角
形部分を、予め前記ベクトルデータの傾きによって場合
分けし、この場合分けした三角形部分のグループ毎に設
定した階調値を記憶する記憶手段と、 前記アンチエイリアシング処理時に、前記記憶手段から
前記ベクトルデータの傾きに基づいて、該当する三角形
部分のグループの階調値を読み込み、この階調値を用い
てエッジ部画素の階調値(濃度)を決定する演算手段と
を備えたことを特徴とする図形処理装置。
(1) Scanning is performed in a graphic processing device that adjusts the output of edge pixels of vector data based on the area ratio to be filled and performs anti-aliasing processing to smoothly express jagged edges (aliases) of the output image. When one pixel on a line is a closed interval, a triangular part is formed when the vector data crosses the upper side and the lower side of the closed interval, and the left side and right side. Triangular parts formed when crossing each other are divided into cases according to the slope of the vector data in advance, and storage means for storing gradation values set for each group of the divided triangular parts; , an arithmetic means for reading the gradation value of the corresponding group of triangular parts from the storage means based on the slope of the vector data, and determining the gradation value (density) of the edge pixel using this gradation value; A graphic processing device comprising:
(2)前記請求項1において、 前記演算手段は、前記ベクトルデータが前記閉区間の隣
接する2つの辺を横切って通過し、且つ、前記隣接する
2つの辺及び前記ベクトルデータによって形成される三
角形部分が画像部(塗りつぶし部分)の場合、前記三角
形部分の階調値をエッジ部画素の階調値とし、前記ベク
トルデータが前記閉区間の隣接する2つの辺を横切って
通過し、且つ、前記隣接する2つの辺及び前記ベクトル
データによって形成される三角形部分が画像部(塗りつ
ぶし部分)でない場合、1画素の最大階調値から前記三
角形部分の階調値を減算してエッジ部画素の階調値を求
めることを特徴とする図形処理装置。
(2) In claim 1, the calculation means is configured to allow the vector data to pass across two adjacent sides of the closed interval, and to calculate a triangle formed by the two adjacent sides and the vector data. If the part is an image part (filled part), the gradation value of the triangular part is the gradation value of the edge pixel, and the vector data passes across two adjacent sides of the closed section, and If the triangular part formed by two adjacent sides and the vector data is not an image part (filled part), the gradation value of the triangular part is subtracted from the maximum gradation value of one pixel to determine the gradation of the edge pixel. A graphic processing device characterized by calculating values.
JP10973990A 1990-04-24 1990-04-24 Graphic processor Pending JPH04117581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10973990A JPH04117581A (en) 1990-04-24 1990-04-24 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10973990A JPH04117581A (en) 1990-04-24 1990-04-24 Graphic processor

Publications (1)

Publication Number Publication Date
JPH04117581A true JPH04117581A (en) 1992-04-17

Family

ID=14518024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10973990A Pending JPH04117581A (en) 1990-04-24 1990-04-24 Graphic processor

Country Status (1)

Country Link
JP (1) JPH04117581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8390641B2 (en) 2009-02-23 2013-03-05 Fujitsu Limited Device and method for multicolor vector image processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8390641B2 (en) 2009-02-23 2013-03-05 Fujitsu Limited Device and method for multicolor vector image processing

Similar Documents

Publication Publication Date Title
JP3071229B2 (en) Graphic processing unit
JP3102805B2 (en) Graphic output device
US5299308A (en) Graphic data processing apparatus for producing a tone for an edge pixel and reducing aliasing effects
US5357583A (en) Graphics processing apparatus for smoothing edges of images
JPH04117581A (en) Graphic processor
JP2790707B2 (en) Graphic processing unit
JPH04144479A (en) Graphic output device
JPH0481170A (en) Graphic processing unit
JP2798496B2 (en) Graphic processing unit
JPH03286384A (en) Graphic processor
JPH041872A (en) Graphic processor
JPH03278287A (en) Method and device for antialiasing processing
JPH04249977A (en) Graphical output device
JPH04152757A (en) Image forming device
JPH04152751A (en) Image forming device
JPH04154363A (en) Image forming device
JP3148291B2 (en) Graphic output device
JP4492090B2 (en) Image forming apparatus and image forming method
JPH0457175A (en) Graphic processor
JPH04207260A (en) Figure output device
JPH04143873A (en) Graphic processor
JPH04150563A (en) Image processor
JPH0433076A (en) Graphic processor
JPH04160869A (en) Graph output device
JPH04155385A (en) Graphic processing device