JPH0433075A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH0433075A
JPH0433075A JP13558890A JP13558890A JPH0433075A JP H0433075 A JPH0433075 A JP H0433075A JP 13558890 A JP13558890 A JP 13558890A JP 13558890 A JP13558890 A JP 13558890A JP H0433075 A JPH0433075 A JP H0433075A
Authority
JP
Japan
Prior art keywords
end point
image
processing
edge pixel
data
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
JP13558890A
Other languages
Japanese (ja)
Inventor
Shogo Oneda
章吾 大根田
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 JP13558890A priority Critical patent/JPH0433075A/en
Publication of JPH0433075A publication Critical patent/JPH0433075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To execute an anti-aliasing processing at high speed by deciding the ratio of an area to be painted-out in an edge part picture element based on the position of an end point and the direction of painting-out when the end point exists in the edge part picture element. CONSTITUTION:The anti-aliasing processing is executed to adjust an output from the edge part picture element of a vector data based on the ratio of the area to be painted-out, and to smoothly express the edge part of an output picture. Then, it is decided whether the end point of the vector data exists in the edge part picture element or not, and when the end point does not exist, the ratio of the area to be painted-out in the edge part picture element is decided based on input / output coordinates when the vector data crosses the edge part picture element. On the other hand, when the end point exists, the ratio of the area to be painted-out in the edge part picture element is decided based on positions P1-P9 of the end points and directions D1-D4 of painting-out. Thus, without executing sub pixel division and counting the number of areas to be painted-out, the area ratio can be calculated at high speed.

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に色像を表示する際、その表示画像をより
美しくするためにアンチエイリアシング処理という手法
が用いられている。この処理は、第25図(a)に示す
ような階段上のギザギザ部分(エイリアスと呼ばれる)
に輝度変調をかけ、視覚的に表示画像を第25図(′b
)に示すように滑らかにするものである。
In the field of computer graphics, when displaying a color 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. 25(a).
The visually displayed image is shown in Figure 25 ('b
) 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 used as anti-aliasing processing methods.

■均一平均化法は、各ピクセル(iii!ii素)をN
*M(N、Mは自然数)のサブビクセルに分解し、高解
像度でラスク計算を行った後、各ピクセルの輝度をN*
Mサブピクセルの平均をとって求めるものである。第2
6図(a)、(5)を参照して、均一平均化法によるア
ンチエイリアシング処理を具体的に説明する。あるピク
セルに画像の端がかかっている場合(ここでは斜めの線
の右下に画像がつながっているものとする)、アンチエ
イリアシング処理を行わないときは、同図(a)に示す
ように、このピクセルの輝度kidには表示できる階調
の最高輝度(例えば、256階調ではkid・255)
が割り当てられる。このピクセルにN−M=7の均一平
均化法によるアンチエイリアシング処理を実施する場合
、同図(b)に示すように、ピクセルを7本7のサブビ
クセルに分解し、画像に覆われているサブビクセル数を
カウントする。そのカウント数(28)を1ピクセル中
の全サブビクセル数(この場合、49)で割って規格化
(平均化)したものを最高輝度(255)に掛け、その
ピクセルの輝度を算出する。このように均一平均化法で
は、各ピクセルに画像がどのようにかかっているかを考
慮にいれてそのピクセルの輝度を決める。
■In the uniform averaging method, each pixel (iii! ii element) is
*After decomposing into M (N, M is a natural number) sub-vixels and performing rask calculation at high resolution, the brightness of each pixel is calculated as N*
It is determined by taking the average of M subpixels. Second
Anti-aliasing processing using the uniform averaging method will be specifically explained with reference to FIGS. 6(a) and (5). 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 the highest brightness of the gradation that can be displayed (for example, kid・255 for 256 gradations)
is assigned. When performing anti-aliasing processing on this pixel using the uniform averaging method of N-M=7, as shown in the same figure (b), the pixel is decomposed into 7 sub-vixels, and the sub-vixels covered by the image are Count the numbers. 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 to the weighting method, which simply counts the number of sub-vixels in the image, the averaging method assigns a weight to each sub-vixel, so that the influence on the brightness kid of that sub-vixel differs depending on which sub-vixel the image falls on. I have to. Note that the weight at this time is given using a filter.

第27図(a)、 (b)を参照して、第26図(a)
と同じ画像データに、同じ分割法(N−M−7)で重み
付は平均化法を実施した例を示す。
With reference to FIGS. 27(a) and (b), FIG. 26(a)
An example is shown in which the same image data is weighted using the same dividing method (N-M-7) and the averaging method is applied.

第27図(a)は、フィルター(ここでは、conef
 i 1 ter )の特性を示し、対応するサブビク
セルにこの特性と同じ重みが与えられる0例えば、右上
角のサブビクセルの重みは2である。各サブビクセルに
画像がかかっていた場合、フィルター特性より与えられ
た重みの値がそのサブビクセルのカウント値となる。同
図(b)には、サブビクセルの重みの違いによってかか
った画像の表示パターンを変えて示しである。この場合
、重みを付けて画像のかかったサブビクセルをカウント
すると、199となる。この値を、均一平均化のときに
対応してフィルターの値の合計(この場合、336)で
割って平均化し、最高輝度に掛けて、このピクセルの輝
度を算出する。尚、フィルターとしては、第28図(a
)、ら)、 (C)、 (d)に示すフィルターが知ら
れている。
FIG. 27(a) shows a filter (here, conef
For example, the sub-vixel in the upper right corner has a weight of 2. When an image is applied to each sub-vixel, the weight value given by the filter characteristics becomes the count value of that sub-vixel. FIG. 6B shows the display pattern of the image changed depending on the weight of the sub-vixels. In this case, counting the weighted sub-vixels of the image results in 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. In addition, the filter shown in Fig. 28 (a
), et al.), (C), and (d) are known.

■畳み込み積分法 畳み込み積分法は、1つのピクセルの輝度を決定するに
あたり、その周りのピクセルの様子も参照する方法であ
る。即ち、輝度を決定しようとする1ピクセルの周りN
’ xN’ ピクセルを、均−平均化法或いは重み付は
平均化法のピクセルに対応するものと考える。第29図
は3×3ビクセル参照の畳み込み積分法を示す、この図
で、輝度を決定しようとしているピクセルを2901で
示す。
■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 'xN' pixels to correspond to pixels in the equal-averaging or weighted averaging method. FIG. 29 shows a 3×3 pixel reference convolution method, in which the pixel whose brightness is to be determined is indicated by 2901.

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

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

一方、パーソナルコンピュータを用いた出版システム、
所謂、DTP (デスク・トップ・パブリッシング)の
普及に伴い、コンピュータ・グラフィクスで扱うような
ベクトル画像を印字するシステムが広く使われるように
なっている。その代表的なものとして、例えば、アドビ
社のポスト・スクリプトを用いたシステムがある。ポス
ト・スクリプトは、ページ記述言語(Page Des
criptionLanguage  :以下、PDL
と記述する)と呼ばれる言語ジャンルに属し、1枚のド
キュメントを構成する内容について、その中に入るテキ
スト(文字部分)や、グラフィックス、或いは、それら
の配置や体裁までを含めたフオームを記述するためのプ
ログラミング言語であり、このようなシステムでは、文
字フォントとしてベクトルフォントを採用している。従
って、文字の変倍を行っても、ビットマツプフォントを
使用したシステム(例えば、従来のワードプロセッサ等
)と比べて、格段に印字品質を向上させることができ、
また、文字フォントとグラフィックとイメージを混在さ
せて印字することができるという利点がある。
On the other hand, a publishing system using a personal computer,
With the spread of so-called DTP (desk top publishing), 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. PostScript is a page description language (Page Des
criptionLanguage: Hereafter, PDL
It belongs to a language genre called ``Japanese language'', 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 systems such as this, and vector fonts are used as character fonts in such systems. Therefore, even if the characters are scaled, the print quality can be significantly improved compared to systems using bitmap fonts (for example, conventional word processors).
Another advantage is that character fonts, graphics, and images can be mixed and printed.

ところが、これらのシステムで使用されるレーザープリ
ンタの解像度は、せいぜい240dp i〜400dp
iのものが多く、コンピュータ・グラフィックスのCR
7表示と同様に、解像度が低いためにエイリアスが発生
するという問題点がある。このため、レーザプリンタを
用いた印字においても、アンチエイリアシング処理を行
い、印字画像の品質を向上させる必要が起こっている。
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 7 display, there is a problem 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個のサブピクセル)に分
割して、塗りつぶされるサブビクセルの個数をカウント
して面積率(m1度)を算出するため、面積率の計算に
時間がかかり、表示速度或いは印字速度の向上の妨げに
なるという間8点があった。特に、畳み込み積分法は、
計算量が多いのと複数のピクセルに影響が及ぶので処理
速度の向上を図りにくいという間厘点がある。
However, according to a graphic processing device that applies a conventional anti-aliasing processing method, one pixel is divided into a plurality of sub-vixels (for example, 49 sub-pixels), and the area ratio is calculated by counting the number of sub-vixels that are filled. (m1 degrees), it takes time to calculate the area ratio, which hinders the improvement of display speed or printing speed. In particular, the convolution method is
The problem is that it is difficult to improve processing speed because the amount of calculation is large and multiple pixels are affected.

本発明は上記に鑑みてなされてものであって、サブピク
セル分割及び塗りつぶし個数のカウントを行うことなく
、且つ、高速に面積率を求めることを目的とする。
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
の面積率決定手段と、エツジ部画素内に端点が存在する
場合、エツジ部画素内の端点の位置と、塗りつぶす方向
とに基づいて、エツジ部画素の塗りつぶすべき面積率を
決定する第2の面積率決定手段とを備えた図形処理装置
を提供するものである。
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 surface image. In a graphic processing device that executes, an end point determining means for determining whether or not an end point of vector data exists within an edge pixel, and a means for determining whether or not an end point of vector data exists within an edge pixel; The first step is to determine the area ratio to be filled in for edge pixels based on the input/output coordinates of
and a second area for determining the area ratio to be filled in for the edge pixel based on the position of the end point in the edge pixel and the filling direction when an end point exists in the edge pixel. The present invention provides a graphic processing device equipped with rate determining means.

〔作用〕[Effect]

本発明の図形処理装置は、端点判定手段によってエツジ
部画素内にベクトルデータの端点が存在するか否か判定
する。エツジ部画素内に端点が存在しない場合、第1の
面積率決定手段によってベクトルデータがエツジ部画素
を横切る際の入出力座標に基づいて、エツジ部画素の塗
りつぶすべき面積率を決定する。一方、エツジ部画素内
に端点が存在する場合、第2の面積率決定手段によって
エツジ部画素内の端点の位置と、塗りつぶす方向とに基
づいて、エツジ部画素の塗りつふすべき面積率を決定す
る。
In the graphic processing apparatus of the present invention, the end point determining means determines whether an end point of vector data exists within an edge pixel. If there is no end point within the edge pixel, the first area ratio determining means determines the area ratio to be filled in for the edge pixel based on the input/output coordinates when the vector data crosses the edge pixel. On the other hand, if there is an end point in the edge pixel, the second area ratio determining means determines the area ratio to be filled in for the edge pixel based on the position of the end point in the edge pixel and the filling direction. do.

〔実施例〕〔Example〕

以下、本発明の図形処理装置をPDLコントローラとし
て組み込んだ画像形成システムを実施例として、■アン
チエイリアシング処理の概要(本発明の要部)、■画像
形成システムのブロック図。
Hereinafter, as an example of an image forming system incorporating the graphic processing device of the present invention as a PDL controller, 1) Overview of anti-aliasing processing (main part of the present invention), and 2) A block diagram of the image forming system.

■PDLコントローラ(本発明の図形処理装置)の構成
及び動作、■画像処理装置の構成、■多値カラー・レー
ザープリンターの構成及び動作、■ドライバの多値駆動
の順で詳細に説明する。
A detailed explanation will be given in the following order: 1) the configuration and operation of the PDL controller (graphic processing device of the present invention), 2) the configuration of the image processing device, 2) the configuration and operation of the multi-valued color laser printer, and 2) the multi-valued drive of the driver.

■アンチエイリアシング処理の概要 本発明の図形処理装置(以下、PDLコントローラ20
0と記載する)は、エツジ部画素内に端点が存在しない
場合、ベクトルデータがエツジ部画素を横切る際の入出
力座標に基づいて、面積率を決定し、エツジ部画素内に
端点が存在する場合、予め定めた所定の定数をエツジ部
画素の面積率として設定することによりアンチエイリア
シング処理を高速に実行できるようにしたものである。
■Overview of anti-aliasing processing
0), if there is no end point within the edge pixel, the area ratio is determined based on the input/output coordinates when the vector data crosses the edge pixel, and the end point exists within the edge pixel. In this case, anti-aliasing processing can be executed at high speed by setting a predetermined constant as the area ratio of edge pixels.

以下、第1図(萄〜(6)を参照して、本発明の要部と
なるアンチエイリアシング処理の原理を詳細に説明する
Hereinafter, the principle of anti-aliasing processing, which is the main part of the present invention, will be explained in detail with reference to FIG. 1 (6).

詳細は後述するがPDLコントローラ200はベクトル
データを入力すると、その要素が曲線ベクトルか否か判
定し、曲線ベクトルの場合はこれを直線ベクトルに近位
して、直線要素(ライン)として所定の作業エリアに登
録し、この作業エリアの直線要素を直線の開始X座標に
よりソーティング(換言すれば、スキャンライン順の並
べ代え処理)する、その後、アンチエイリアシング処理
を行いながらスキャンライン毎の塗りつぶし処理を実施
する。この塗りつぶし処理を実施する場合、先ず処理す
るスキャンライン上のエツジ部画素及びエツジ部画素内
の画像部分を識別するため、スキャンライン上に現れる
エツジ部画素のX座標及びエツジ情報(エツジの左右)
を所定のテーブル(所謂、A E T : Activ
e Edge Table )に登録する0本実施例で
は、このAET内へ、エツジ部画素内に端点が存在する
か否かの情報と、エツジ部画素を直線要素(ベクトルデ
ータ)が横切る際の入出力座標(エツジ部画素内の相対
座標)と、端点のエツジ部画素自位置情報と、端点に対
する塗りつぶし方向情報とを、前述したエツジ部画素の
X座標等とともに登録する。
The details will be described later, but when vector data is input, the PDL controller 200 determines whether the element is a curved vector, and if it is a curved vector, it is proximal to a straight line vector and used as a straight line element (line) for a predetermined operation. area, and sort the linear elements in this work area by the starting X coordinate of the straight line (in other words, rearrange them in the order of the scan lines), then perform the filling process for each scan line while performing anti-aliasing processing. do. When performing this filling process, first, in order to identify the edge pixels on the scan line to be processed and the image portion within the edge pixels, the X coordinate and edge information (left and right of the edge) of the edge pixels appearing on the scan line are identified.
to a predetermined table (so-called AET: Activ
In this embodiment, information on whether an end point exists in an edge pixel and input/output information when a straight line element (vector data) crosses an edge pixel are stored in this AET. The coordinates (relative coordinates within the edge pixel), the edge pixel self-position information of the end point, and the filling direction information for the end point are registered together with the aforementioned X coordinate of the edge pixel.

具体的には、直線要素(ベクトルデータ)と対象となる
スキャンラインとの交点の座標を算出し、その交点の存
在する画素をエツジ部画素とする。
Specifically, the coordinates of the intersection between the linear element (vector data) and the target scan line are calculated, and the pixel where the intersection exists is defined as the edge pixel.

次に、エツジ部画素内に端点があるか、換言すれば、1
つのエツジ部画素内で2つの直線要素(ベクトルデータ
)が交差するかを調べる。端点が存在すれば所定の端点
フラグ情報をONにし、更に、端点のエツジ部画素内座
標を、第1図(a)に示すようにXs ye座標系に基
づいて、エツジ部画素内の相対座標として算出する。端
点が存在しなければ、そのエツジ部画素に対する直線要
素の入出力座標を、同様にXs ’10座標系に基づい
て、エツジ部画素内の相対座標として算出する。その後
、前記交点の座標(X座標)、端点フラグ情報、エツジ
部画素的座標、入出力座標等をAETに登録する。尚、
端点に対する塗りつぶし方向情報の登録は、AET内の
X座標によるソーティング時に端点に対する塗りつぶし
方向を検出し、AETに追加する。
Next, check whether there is an end point within the edge pixel, in other words, 1
Check whether two straight line elements (vector data) intersect within one edge pixel. If an end point exists, the specified end point flag information is turned on, and the coordinates of the end point within the edge pixel are set to the relative coordinates within the edge pixel based on the Xsye coordinate system as shown in FIG. 1(a). Calculated as If there is no end point, the input/output coordinates of the linear element for that edge pixel are calculated as relative coordinates within the edge pixel, similarly based on the Xs'10 coordinate system. Thereafter, the coordinates (X coordinates) of the intersection, end point flag information, edge pixel coordinates, input/output coordinates, etc. are registered in the AET. still,
To register the filling direction information for the endpoints, the filling direction for the endpoints is detected during sorting by the X coordinate in the AET, and is added to the AET.

このように登録されたAETの情報に基づいて、アンチ
エイリアシング処理において、端点フラグ情報がOFF
の場合には、エツジ部画素内に端点が存在しないと判定
し、AETからベクトルデータの入出力座標を入力して
、以下の方法によって面積率を決定する。
Based on the AET information registered in this way, the end point flag information is turned OFF during antialiasing processing.
In this case, it is determined that there is no end point within the edge pixel, input and output coordinates of vector data are input from the AET, and the area ratio is determined by the following method.

予めエツジ部画素の座標を、第1図(ロ)に示すように
、al、a2.a3.a4.・・・・・・al2の12
の入出カニリアに分割し、この12の入出カニリアの組
み合わせに基づいて、第1図(C)に示すようなLUT
(Look Lip Table) 1を作成しておく
0次に、ベクトルデータの入出力座標を第1図(d)に
示す変換テーブルを用いて入出カニリアに変換し、該入
出カニリアの組み合わせ、及び、エツジの種類をキーと
して前述したLUTIから該当する面積率を読み込む0
例えば、ベクトルデータがエツジ部画素を入出カニリア
a1から入出カニリアa4へ通過して横切る場合、LU
Tよりその面積率は、左エツジの場合r3/9J 、右
エツジの場合r9/9jと決定される。尚、この面積率
は3*3サブピクセル分割(均一平均化法)で求めた面
積率に相当する。
The coordinates of the edge pixels are set in advance as al, a2, . a3. a4. ...al2 no 12
Based on the combination of these 12 input and output canilia, create a LUT as shown in Figure 1 (C).
(Look Lip Table) 1 is created.Next, the input and output coordinates of the vector data are converted to input and output canilia using the conversion table shown in Figure 1(d), and the combination of the input and output canilia and the edge Read the corresponding area ratio from the above-mentioned LUTI using the type of 0 as a key.
For example, when vector data passes through an edge pixel from input/output canilia a1 to input/output canilia a4, LU
From T, the area ratio is determined to be r3/9J for the left edge and r9/9j for the right edge. Note that this area ratio corresponds to the area ratio determined by 3*3 subpixel division (uniform averaging method).

一方、端点フラグ情報がONの場合には、エツジ部画素
内に端点が存在すると判定し、AETから端点のエツジ
部画素内座標及び塗りつぶし方向を入力して、以下の方
法によって面積率を決定する。
On the other hand, if the end point flag information is ON, it is determined that the end point exists within the edge pixel, the coordinates of the end point within the edge pixel and the filling direction are input from the AET, and the area ratio is determined by the following method. .

予めエツジ部画素の座標を、第1図(e)に示すように
、Pl、P2.P3.P4.・・・・・・P9の9つの
エツジ部画素内位置に分割し、この9つのエツジ部画素
内位置と、上下左右の4つの塗りつぶし方向(01,0
2,D3゜D4)の組み合わせに基づいて、第1図げ)
に示すようなLUT2を作成しておく0次に、AETか
ら入力したエツジ部画素内座標を第1図(g)に示す変
換テーブルを用いてエツジ部画素内位置に変換し、該エ
ツジ部画素白値と塗りつぶし方向をキーとして前述した
LUT2から該当する面積率を読み込む0例えば、エツ
ジ部画素内位置がP2で、塗りつぶし方向がD2の場合
、LUT2よりその面積率は11/9 Jと決定される
。尚、LUT2に設定した面積率は一例であり、特にこ
の値に限定されるものではない。
As shown in FIG. 1(e), the coordinates of the edge pixels are set in advance as Pl, P2, . P3. P4. ...... P9 is divided into nine edge pixel positions, and these nine edge pixel positions and four fill directions (01, 0
2. Based on the combination of D3゜D4), the first figure)
Create LUT2 as shown in FIG. 1. Next, convert the coordinates in the edge pixel input from the AET to the position in the edge pixel using the conversion table shown in FIG. Using the white value and filling direction as keys, read the corresponding area ratio from LUT2 described above.0For example, if the edge pixel position is P2 and the filling direction is D2, the area ratio is determined from LUT2 to be 11/9 J. Ru. Note that the area ratio set in LUT2 is just an example, and is not particularly limited to this value.

このようにエツジ部画素内に端点かない場合には入出力
座標によりLUTIから簡易に面積率を求め、端点があ
る場合にはエツジ部画素内座標及び塗りつぶし方向に基
づいてLUT2から簡易に面積率を求めることができ、
アンチエイリアシング処理を高速に行うことができる。
In this way, if there is no end point in the edge pixel, the area ratio can be easily calculated from LUTI using the input/output coordinates, and if there is an end point, the area ratio can be easily calculated from LUT2 based on the edge part pixel coordinates and the filling direction. can be asked for,
Anti-aliasing processing can be performed at high speed.

■画像形成システムのブロック図 本実施例の画像形成システムは、DTP (デスク・ト
ップ・パブリッシング)から出力されるページ記述言語
(Page Description Languag
e  :以下、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)) and image information read by an image reading device. The configuration of the image forming system of this embodiment will be described below with reference to FIG.

画像形成システムは、PDL言語(本実施例ではポスト
スクリプト言語を使用)で記述された文書を作成するホ
ストコンピュータ100と、ホストコンピュータ100
からページ単位で送られてきたPDL言語をアンチエイ
リアシング処理を施しながら、赤(R)、緑(G)、青
(B)の3色ノイメージ画像に展開するPDLコントロ
ーラ(本発明の図形処理装置)200と、光学系ユニッ
トを介して画像情報を読み取る画像読取り装置300と
、PDLコントローラ200.或いは。
The image forming system includes a host computer 100 that creates a document written in PDL language (Postscript language is used in this embodiment);
A PDL controller (graphic processing device of the present invention) that applies anti-aliasing processing to the PDL language sent page by page from ) 200, an image reading device 300 that reads image information via an optical system unit, and a PDL controller 200. Or.

画像読取り装置300から出力されるイメージ画像を入
力して画像処理(詳細は後述する)を施す画像処理装置
400と、画像処理装置400の出力する多値イメージ
データを印字する多値カラー・レ−4−・7’lJンタ
500と、PDLコントローラ200.i!i像読取り
装置3001画像処理装置400.及び、多値カラー・
レーザー・プリンタ500を制御するシステム制御部6
00とから構成される。
An image processing device 400 that inputs the image output from the image reading device 300 and performs image processing (details will be described later); and a multi-value color printer that prints the multi-value image data output from the image processing device 400. 4-.7'lJ printer 500 and PDL controller 200. i! i-image reading device 3001 image processing device 400. And multi-value color/
System control unit 6 that controls the laser printer 500
00.

■PDLコントローラの構成及び動作 第3図は、PDLコントローラ200の構成を示し、ホ
ストコンピュータ100から送られてきたPDL言語を
受信する受信装置201と、受信装置f201で受信し
たPDL言語の格納制御及びアンチエイリアシング処理
の実行を行うCPU202と、内部システムバス203
と、内部システムバス203を介して受信装置201か
ら転送さセるPDL言語を格納するRAM204と、ア
ンチエイリアシングプログラム等を格納したROM20
5と、アンチエイリアシング処理を施した多値のRGB
イメージデータを格納するページメモI7206と、ペ
ージメモリ206に格納したRGBイメージデータを画
像処理装置400に転送する送信装置207と、システ
ム制御部600との送受信を行うI10装置208とか
ら構成される。
■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 f201. A CPU 202 that executes anti-aliasing processing and an internal system bus 203
, a RAM 204 that stores the PDL language 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 RGB with anti-aliasing processing
It is composed of a page memo I 7206 that stores image data, a transmitting device 207 that transfers the RGB image data stored in the page memory 206 to the image processing device 400, and an I10 device 208 that performs transmission and reception with the system control unit 600.

ここで、CPU202は、受信装置201で受信したP
DL言語をROM205に格納されたプログラムに従っ
て、内部システムバス203を通して、RAM204に
格納する。その後、1ペ一ジ分のPDL言語を受信し、
RAM204へ格納すると、後述するフローチャートに
基づいて、RAM204内の図形要素にアンチエイリア
シング処理を施し、多値のRGBイメージデータをペー
ジメモリ206のプレーンメモリ部に格詰する(ページ
メモリ206は、R,G、  B(7)7”レーアメモ
リ部と、特徴情報メモリ部とからなる)。
Here, the CPU 202 receives the P received by the receiving device 201.
The DL language is stored in the RAM 204 via the internal system bus 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 the flowchart described later, and the multivalued RGB image data is stored in the plain memory section of the page memory 206 (the page memory 206 has R, G, B (7) Consists of a 7'' layer memory section and a feature information memory section).

ページメモリ206内のデータは、その後、送信装置2
07を介して画像処理装置400へ送られる。
The data in the page memory 206 is then transferred to the transmitter 2
07 to the image processing device 400.

以下1、第4図(a)、 (b)を参照して、PDL)
:/)ローラ200の動作を説明する。
PDL)
:/) The operation of the roller 200 will be explained.

第4図(a)は、CPU202が行う処理のフローチャ
ートを示す、PDLコントローラ200は、前述したよ
うにホストコンビエータ100からページ単位で送られ
てきたPDL言語をアンチエイリアシング処理を施しな
がら、赤(R)。
FIG. 4(a) shows a flowchart of the processing performed by the CPU 202. The PDL controller 200 performs anti-aliasing processing on the PDL language sent page by page from the host combinator 100 as described above. R).

緑(C)、青(B)の3色のイメージ画像に展開する。It is developed into three-color images: green (C) and blue (B).

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つのパス内の全ての図形及び文字
要素について行い、パス単位で作業エリアへ直線要素の
登録を実施する(処理l)。
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 (process 1).

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

次に、処理3により、X座標を1つずつ更新しながら、
走査線による塗りつぶし処理を行う0例えば、!4図(
ロ)に示すパスの塗りつぶし処理を実施する場合、処理
する走査線ycの横切る辺の要素と、その走査線ycを
横切ったX座標の実数値(第5図に示すXI X! X
3 X4)とをAET(Active Edge 丁a
ble :走査線上に現れるエツジ部のX座標を記録す
るテーブル)に登録する。ここで、作業エリアに登録さ
れている要素の順番は、処理lで登録した順番になって
いるため、必ずしも走査線ycを横切るX座標が小さい
順に登録されているとは限らない0例えば、処理1にお
いて、第5図の走査&9!ycとX3とを通過する直線
要素が最初に処理された場合には、走査線yc上に現れ
るエツジ部のX座標としてX、がAETに最初に登録さ
れる。そこで、AETの登録後、AET内の各辺の要素
をX座標の小さい順にソーティングする。そして、AE
Tの最初の要素から2つをペアにして、その間を塗りつ
ぶす(具体的には、例えば、走査線ycと走査lip 
y c + lのよって形成されるスキャンラインによ
る塗りつぶし処理)。
Next, in process 3, while updating the X coordinate one by one,
For example, 0, which performs filling processing using scanning lines. Figure 4 (
When performing the path filling process shown in b), the element on the side across which the scanning line yc to be processed and the real value of the X coordinate across the scanning line yc (XI X!
3 X4) and AET (Active Edge
ble: Register in the table (table for recording 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 l, so they are not necessarily registered in ascending order of the X coordinates that cross the scanning line yc. For example, process 1, scan Figure 5 & 9! When a straight line element passing through yc and X3 is processed first, X is first registered in the AET as the X coordinate of the edge portion appearing on the scanning line yc. Therefore, after the AET is registered, the elements on each side within the AET are sorted in descending order of X coordinate. And A.E.
Pair the first two elements of T and fill in the space between them (for example, scan line yc and scan lip
y c + l).

アンチエイリアシング処理はこの塗りつぶし処理におい
て、エツジ部のピクセルの濃度及び輝度を面積率に応じ
て調整することで実現する。その後、処理済みの辺をA
ETから除去し、走査線を更新(X座標を更新)し、A
ET内の辺を全て処理するまで、換言すれば、1つのパ
ス内の要素を全て処理するまで同様の処理を繰り返す。
Anti-aliasing processing is achieved by adjusting the density and brightness of pixels in the edge portion in accordance with the area ratio in this filling processing. After that, move the processed side to A
Remove from ET, update scan line (update X coordinate), A
Similar processing is repeated until all edges in ET are processed, in other words, until all elements in one path are processed.

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

次に、前述した処理3のスキャンラインによる塗りつぶ
し処理中に実行されるAETの登録及びアンチエイリア
シング処理について、第4図(C)。
Next, FIG. 4(C) shows the AET registration and anti-aliasing processing executed during the scan line filling process of Process 3 described above.

(d)のフローチャートを参照して詳細に説明する。This will be explained in detail with reference to the flowchart in (d).

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

(イ’)AB、BC,CD、DE、EAの5本の線ベク
トル(実数表現) (El)図形内部の色及び耀度値 この図形は前述の動作により、第5図(b)に示すよう
に、主走査方向に延びた7本の直線ベクトル(実数表現
)に分割される。この時、本実施例では、以下に示す情
報を7本の直線ベクトルの始点及び終点に付加する。即
ち、 (ハ)直線ベクトルの始点及び終点(エツジ部画素)を
構成するベクトル要素(上記の(イ))の始点座標値(
実数表現) (ニ)直線ベクトルの始点及び終点(エツジ部画素)を
構成するベクトル要素の傾き情報(ネ)直線ベクトルの
始点及び終点(エツジ部画素)の特徴情報(右エツジ、
左エツジ、端点フラグ情報、1ドツト以下の線等) (へ)直線ベクトルの始点及び終点(エツジ部画素)を
ベクトル要素が横切る際の入出力座標(エツジ部画素内
の相対座標)。
(A') Five line vectors AB, BC, CD, DE, and EA (represented by real numbers) (El) Color and brightness values inside the figure This figure is shown in Figure 5 (b) by the above-mentioned operation. It is divided 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) the starting point coordinate value (
Real number expression) (d) Slope information of vector elements that constitute the starting point and ending point (edge part pixels) of the straight line vector (d) Feature information of the starting point and ending point (edge part pixel) of the straight line vector (right edge,
(Left edge, end point flag information, line of 1 dot or less, etc.) (f) Input/output coordinates (relative coordinates within edge pixels) when a vector element crosses the start and end points (edge pixels) of a straight line vector.

(ト)端点のエツジ部画素内座標(工・2ジ部画素内の
相対座標) (f) :4点に対する塗りつぶし方向第4図(C)は
、処理3のAETの登録を示すフローチャートである。
(G) Coordinates of the end points within the edge pixel (relative coordinates within the edge/2nd pixel) (f): Filling direction for 4 points FIG. 4 (C) is a flowchart showing the registration of AET in Process 3. .

先ず、現在の走査線(例えば、走査線ycを横切る直線
要素(ヘクトルデータ)のX座標(交点)を算出する(
5401) 、次にそのX座標を含むエツジ部画素内に
端点が存在するが調べ(5402) 、端点が存在すれ
ば端点フラグ情報をONにしく5403) 、続いて端
点のエツジ部画素内座標をエツジ部画素内の相対座標と
して算出する(5404)、一方、端点が存在しなけれ
ば、直線要素の該当するエツジ部画素に対する入出力座
標をエツジ部画素内の相対座標として算出する(540
5)、前述した(イ)〜(ト)の情報をAETに書き込
む(5406)、上記の5401−5406の処理を全
ての直線要素について実施する(340’l) 、尚、
説明は省略するが、(チ)の端点に対する塗りつぶし方
向の情報は、処理3(同図(a)参照)のAET内のX
座標によるソーティングの時に、端点に対する塗りつぶ
し方向を検出して、AETに追加登録される。
First, calculate the X coordinate (intersection point) of a straight line element (hector data) that crosses the current scanning line (for example, scanning line yc).
5401), Next, check whether an end point exists within the edge pixel that includes the X coordinate (5402), and if the end point exists, turn on the end point flag information 5403), and then check the coordinates of the end point within the edge pixel. Calculate the relative coordinates within the edge pixel (5404). On the other hand, if there is no end point, calculate the input/output coordinates for the corresponding edge pixel of the straight line element as the relative coordinates within the edge pixel (540
5) Write the information in (a) to (g) above into the AET (5406), perform the processing in steps 5401-5406 above for all linear elements (340'l),
Although the explanation is omitted, the information on the filling direction for the end point in (H) is
When sorting by coordinates, the filling direction for the end point is detected and additionally registered in the AET.

第4図(ロ)は、処理3のスキャンラインによる塗りつ
ぶし処理を示すフローチャートであり、AETの情報に
基づいてアンチエイリアシング処理を行い、画素の塗り
つぶしを実行する。
FIG. 4(b) is a flowchart showing the filling process using scan lines in process 3, in which anti-aliasing processing is performed based on AET information and pixels are filled.

先ず、エツジ部画素の端点フラグ情報を参照して(54
08)、端点フラグ情報がONの場合には、端点のエツ
ジ部画素内座標及び塗りつぶし方向に基づいて、LUT
2から該当する面積率を読み込み、エツジ部画素の面積
率とする(5409)、端点フラグ情報がONでない場
合には、エツジ部画素の入出力座標に基づいてLUTI
から該当する面積率を読み込み、エツジ部画素の面積率
とする(5410)。
First, refer to the end point flag information of the edge pixel (54
08), when the end point flag information is ON, the LUT is
The corresponding area ratio is read from 2 and set as the area ratio of the edge pixel (5409).If the end point flag information is not ON, the LUTI is read based on the input/output coordinates of the edge pixel.
The corresponding area ratio is read from , and is set as the area ratio of the edge portion pixel (5410).

上記の5408〜5410の処理を全てのエツジ部画素
が終了するまで繰り返す(5411)、続いて、非エツ
ジ部画素(エツジ部画素以外の画像部の画素)に面積率
を1に設定して(5412)、アンチエイリアシング処
理を終了し、続いて、重ね書き処理(5413)を行い
、ページメモリにlfi!iを行う(5414)。
The above processes 5408 to 5410 are repeated until all edge pixels are completed (5411), and then the area ratio is set to 1 for non-edge pixels (pixels in the image area other than edge pixels). 5412), the anti-aliasing process is finished, and then the overwrite process (5413) is performed and lfi! is stored in the page memory. Perform i (5414).

このようにアンチエイリアシング処理によって求めた第
5図(a)の図形の面積率には第6図に示すような値と
なる。
The area ratio of the figure in FIG. 5(a) obtained by the anti-aliasing process in this way has a value as shown in FIG.

ここで、第5図(a)の図形が、例えば、背景色が白(
最高輝度:255)の上に図形色が赤(最高輝度:25
5)で描画されているとすると、面積率k(第6図参照
)より、図形の各色毎の輝度値に、(赤)、に、(緑)
、に、(青)が以下の式に基づいて求められる。
Here, if the figure in FIG. 5(a) has a white background color (
The figure color is red (maximum brightness: 25) on top of (maximum brightness: 255)
5), from the area ratio k (see Figure 6), the brightness values for each color of the figure are (red), (green),
, (blue) is calculated based on the following formula.

K、 −K□Xk 十K。X(1−k)K、= Kit
xk  + KggX(1k)Kb ”  K□Xk 
十 K0×(1−k)但し、Kll、 KGI、 K、
Iはそれぞれ上記(Ill) テ与えられる図形の色(
それぞれ赤、緑、青)の輝度価を示し、K * z +
  K c z +  K * tは以前に塗られた各
色の輝度値を示す、尚、Kit、 Keg、 Kmzは
ページメモリ206のROBに対応する各プレーンメモ
リ部のデータを参照する。
K, −K□Xk 10K. X(1-k)K, = Kit
xk + KggX(1k)Kb ”K□Xk
10 K0×(1-k) However, Kll, KGI, K,
I is the color of the given figure (Ill), respectively.
K * z +
K c z + K * t indicates the luminance value of each previously painted color. Note that Kit, Keg, and Kmz refer to data in each plane memory section corresponding to ROB of the page memory 206.

このようにして求められた輝度値Kr+Kl+に、の輝
度値は、第7図(a)、 (b)、 (C)に示すよう
に、ページメモリ206の該当するブレーンメモリ部に
ROBイメージデータとして格納される。ここで、比較
のためにアンチエイリアシング処理を施していない場合
のRGBイメージデータを第8図(a)、 (b)、 
(c)に示す。
The brightness value Kr+Kl+ obtained in this way is stored as ROB image data in the corresponding brain memory section of the page memory 206, as shown in FIGS. 7(a), (b), and (C). Stored. Here, for comparison, RGB image data without antialiasing processing is shown in Figures 8 (a), (b),
Shown in (c).

■画像処理装置の構成 第9図を参照して画像処理装置f400の構成を説明す
る。
(2) Configuration of Image Processing Apparatus The configuration of the image processing apparatus f400 will be explained with reference to FIG.

画像処理装置400は、画像読取り装置300内のCC
D7r、7g、及び、7bで読み取った3色の画像信号
を記録に必要なブランク(BK)。
The image processing device 400 is a CC in the image reading device 300.
Blank (BK) necessary for recording three color image signals read by D7r, 7g, and 7b.

イエロー(Y)、マゼンタ(M)、及び、シアン(C)
の各記録信号に変換する。また、前述したPDLコント
ローラ200から与えられるRGBイメージデータを同
様にブラック(BK)、イエロー(Y)、マゼンタ(M
)、及び、シアン(C)の各記録信号に変換する。ここ
で、画像読取り装置300から画像信号を入力するモー
ドを複写機モード、PDLコントローラ200からRO
Bイメージデータを入力するモードをグラフィックスモ
ードと呼ぶ。
Yellow (Y), magenta (M), and cyan (C)
Convert to each recording signal. In addition, the RGB image data given from the PDL controller 200 described above is similarly applied to black (BK), yellow (Y), magenta (M
) and cyan (C) recording signals. Here, the mode for inputting image signals from the image reading device 300 is set to copy machine mode, and the mode for inputting image signals from the PDL controller 200 is set to RO mode.
The mode in which B image data is input is called a graphics mode.

画像処理装置400は、CCD7r、7g、及び、7b
の出力信号を8ビツトにA/D変換した色階調データを
入力し、該色階調データの光学的な照度むらや、CCD
7r、7g、7bの内部端子素子の怒度ばらつき等に対
する補正を実行するシェーディング補正回路401と、
シェーディング補正回路401の出力する色階調データ
、或いは、PDLコントローラ200の出力する色階調
データ(RGBイメージデータ)の一方を前述したモー
ドに従って選択的に出力するマルチプレクサ402と、
マルチプレクサ402の出力する8ビツトデータ(色階
調データ)を入力し、感光体の特性に合わせて階調性を
変更して6ビツトデータとして出力するT補正回路40
3と、T補正回路403から出力される(R)、緑(G
)、青(B)の11111を示す6ビツトの階調データ
をそれぞれの補色であるシアン(C)、マゼンタ(M)
The image processing device 400 includes CCDs 7r, 7g, and 7b.
The color gradation data obtained by A/D converting the output signal of
a shading correction circuit 401 that performs correction for variations in anger level of internal terminal elements of 7r, 7g, and 7b;
a multiplexer 402 that selectively outputs either the color gradation data output from the shading correction circuit 401 or the color gradation data (RGB image data) output from the PDL controller 200 according to the above-described mode;
A T correction circuit 40 that inputs the 8-bit data (color gradation data) output from the multiplexer 402, changes the gradation according to the characteristics of the photoreceptor, and outputs it as 6-bit data.
3, and the (R) and green (G) output from the T correction circuit 403.
), 6-bit gradation data indicating 11111 of blue (B) is converted into complementary colors cyan (C) and magenta (M).
.

イエロー(Y)の階調データ(6ビツト)に変換する補
色生成回路405と、補色生成回路405から出力され
るY、M、Cの各階調データに所定のマスキング処理を
行うマスキング処理回路406と、マスキング処理後の
Y、M、Cの各階調データを入力してUCR処理及び黒
発生処理を実行するUCR処理・黒発生回路407と、
UCR処理・黒発生回路407から出力されるY、 M
A complementary color generation circuit 405 converts into yellow (Y) gradation data (6 bits), and a masking processing circuit 406 performs predetermined masking processing on each Y, M, and C gradation data output from the complementary color generation circuit 405. , a UCR processing/black generation circuit 407 that inputs Y, M, and C gradation data after masking processing and executes UCR processing and black generation processing;
Y and M output from the UCR processing/black generation circuit 407
.

C9及び、BKの各6ビツトの階調データを3ビツトの
階調データYl、M1.C1,及び、BKIに変換し、
多値カラー・レーザー・プリンタ50o内部のレーザー
駆動処理部502に出力する階調処理回路408と、画
像処理装置400の各回路の同期をとるための同期制御
回路409とから構成される。
The 6-bit gradation data of C9 and BK are converted into 3-bit gradation data Yl, M1 . Convert to C1 and BKI,
It is comprised of a gradation processing circuit 408 that outputs output to the laser drive processing section 502 inside the multivalued color laser printer 50o, and a synchronization control circuit 409 for synchronizing each circuit of the image processing apparatus 400.

尚、詳細は省略するが、T補正回路403はコンソール
700の操作ボタンより任意にill性を変更できる構
成である。
Although details will be omitted, the T correction circuit 403 has a configuration in which the illumination property can be changed arbitrarily using an operation button on the console 700.

また、階調処理回路408で使用するアルゴリズムとし
ては、多値デイザ法、多値誤差拡散法等を通用すること
ができ、例えば、多値デイザ法のデイザマトリクスを3
×3とすると、多値カラー・レーザー・プリンタ500
の階調数は3×3の面積階調と、3ビツト(即ち、8段
階)の多値レベルの積となり、 3x3x8−72 (階!It) となる。
Further, as the algorithm used in the gradation processing circuit 408, a multi-value dither method, a multi-value error diffusion method, etc. can be used. For example, a dither matrix of the multi-value dither method can be
x3, multilevel color laser printer 500
The number of gradations is the product of 3×3 area gradations and 3-bit (that is, 8 steps) multivalue level, and is 3×3×8−72 (floor!It).

次に、マスキング処理回路406及びUCR処理・黒発
生回B4O7の処理について説明する。
Next, the processing of the masking processing circuit 406 and the UCR processing/black generation circuit B4O7 will be explained.

マスキング処理回路406のマスキング処理の演算式と
しては一般に、 Y、、M、、Cえ :マスキング処理前データY・1M
・、C@ :マスキング処理後データまた、UCR処理
・黒発生回路407のUCR処理の演算式も一般に、 で表される。
Generally, the arithmetic expression for the masking process of the masking process circuit 406 is as follows: Y, , M, , C: Data before masking process Y・1M
. . , C@: data after masking processing Also, the arithmetic expression for UCR processing of the UCR processing/black generation circuit 407 is generally expressed as follows.

従って、この実施例ではこれらの式から両方の係数の積
を用いて、新しい係数を求めている。
Therefore, in this embodiment, new coefficients are obtained from these equations using the product of both coefficients.

本実施例では、このマスキング処理とUCR処理を同時
に行う新しい係数(all”等)を予め計算して求め、
更に、酸析しい係数を用いて、マスキング処理回路40
6の予定された入力値Y、、M、。
In this embodiment, a new coefficient (such as "all") that performs this masking processing and UCR processing at the same time is calculated in advance, and
Furthermore, the masking processing circuit 40
6 scheduled input values Y,,M,.

C,(各6ビ、ト)に対応する出力値(Y、° 等:U
CR処理・黒発生回路407の演算結果となる値)を求
め、予め所定のメモリに記憶している。
Output value (Y, °, etc.: U) corresponding to C, (6 bits each)
A value that is the calculation result of the CR processing/black generation circuit 407 is obtained and stored in a predetermined memory in advance.

従って、本実施例では、マスキング処理回路4゜6とO
CR処理・黒発生回路407は1組のROMで構成され
ており、マスキング処理回路406の入力Y、M、Cで
特定されるアドレスのデータがOCR処理・黒発生回路
407の出力として与えられる。
Therefore, in this embodiment, the masking processing circuit 4.6 and O
The CR processing/black generation circuit 407 is composed of a set of ROMs, and the data at the address specified by the inputs Y, M, and C of the masking processing circuit 406 is given as the output of the OCR processing/black generation circuit 407.

尚、−船釣に言って、マスキング処理回路406は記録
像形成用トナーの分光反射波長の特性に合わせてY、M
、C信号を補正するものであり、UCR処理・黒発生回
路407は各色トナーの重ね合わせにおける色バランス
用の補正を行うものである。UCR処理・黒発生回路4
07を通ると、入力されるY、M、Cの3色のデータの
合成により黒成分のデータBKが生成され、出力のY、
M、Cの各色成分のデータは黒成分データBKを差し引
いた値に補正される。
In addition, for boat fishing, the masking processing circuit 406 performs Y and M according to the characteristics of the spectral reflection wavelength of the toner for forming a recorded image.
, C signals, and the UCR processing/black generation circuit 407 performs correction for color balance in overlapping toners of each color. UCR processing/black generation circuit 4
07, black component data BK is generated by combining the input three color data of Y, M, and C, and the output Y,
The M and C color component data are corrected to values obtained by subtracting the black component data BK.

以上の構成において、T補正回路403が第10図に示
すT補正用変換グラフに基づいて処理を実行し、補色生
成回路405が第11図(a)。
In the above configuration, the T correction circuit 403 executes the process based on the T correction conversion graph shown in FIG. 10, and the complementary color generation circuit 405 executes the process as shown in FIG. 11(a).

(b)、 (C)に示す補色生成用変換グラフに基づい
て処理を実行し、その後、マスキング処理回路406及
びUCR処理・黒発生回路407が次式にに基づいて処
理を実行したとすると、第7図(a)。
Suppose that processing is executed based on the conversion graphs for complementary color generation shown in (b) and (C), and then the masking processing circuit 406 and the UCR processing/black generation circuit 407 execute processing based on the following equation. Figure 7(a).

(b)、 (C)に示したRGBイメージデータは、T
補正回路403.補色性成回路405.マスキング処理
回路406.及び、UCR処理・黒発生回路407を経
て、第12図(a)、 (b)、 (C)、(ハ)のよ
うに変換される。
The RGB image data shown in (b) and (C) is T
Correction circuit 403. Complementary color forming circuit 405. Masking processing circuit 406. Then, through the UCR processing/black generation circuit 407, it is converted as shown in FIGS. 12(a), (b), (C), and (c).

更に、階調処理回路408が第13図に示すベイヤー型
の3×3の多値デイザマトリクスを用いたとすると、第
12図(3)、 (b)、 (C)、(ロ)のY、M。
Furthermore, if the gradation processing circuit 408 uses a Bayer-type 3×3 multilevel dither matrix shown in FIG. 13, Y in FIGS. ,M.

C,BKのデータはそれぞれ第14図(a)、 (b)
、 (C)。
The data for C and BK are shown in Figure 14 (a) and (b), respectively.
, (C).

(d)に示すデータに変換される。It is converted into the data shown in (d).

尚、比較のために、アンチエイリアシング処理を行って
いないデータ(第8図(a)、 (b)、 (C)のデ
ータ)を画像処理装置400によって処理すると、第1
5図(a]、ら)、 (C)、 (d)に示すように変
換される。
For comparison, when data without anti-aliasing processing (data in FIGS. 8(a), (b), and (C)) is processed by the image processing device 400, the first
The images are converted as shown in Figures 5 (a], et al.), (C), and (d).

■多値カラー・レーザープリンターの構成先ず、第16
図に示す制御ブロック図を参照して、多値カラー・レー
ザー・プリンタ500の概略構成を説明する。
■Configuration of multilevel color laser printer First, the 16th
The schematic configuration of the multivalued color laser printer 500 will be described with reference to the control block diagram shown in the figure.

感光体現像処理部501は後述する感光体ドラムの表面
を一様に帯電し、荷電面をレーザービームで露光して潜
像を形成し、その潜像をトナーで現像して記録紙に転写
するものであり、詳細は後述するがBKデータの現像・
転写を行うブラック現像・転写部501bkと、Cデー
タの現像・転写を行うシアン現像・転写部501cと、
Mデータの現像・転写を行うシアン現像・転写部501
mと、Yデータの現像・転写を行うシアン現像・転写部
501yとを備えている。
A photoreceptor development processing unit 501 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 501bk that performs transfer, a cyan developing/transfer section 501c that develops and transfers C data,
Cyan development/transfer section 501 that develops/transfers M data
m, and a cyan developing/transfer section 501y that develops and transfers Y data.

レーザー駆動処理部502は、前述した画像処理装置4
00から出力されるY、M、C,BKの3ビツトデータ
(ここでは、画像濃度データとなる)を入力して、レー
ザービームを出力するものであり、Y、M、Cの3ビツ
トデータを入力するバッファメモリ503y、503m
、503cと、Y、M、C,BKのそれぞれ対応したレ
ーザービームを出力するレーザーダイオード504y、
504m、504c、504bkと、レーザーダイオー
ド504y、504m、504c、504bkをそれぞ
れ駆動するドライバ505y、505m、505c、5
05bとから構成される。
The laser drive processing unit 502 includes the image processing device 4 described above.
It outputs a laser beam by inputting the 3-bit data of Y, M, C, and BK output from 00 (in this case, image density data). Input buffer memory 503y, 503m
, 503c, and a laser diode 504y that outputs laser beams corresponding to Y, M, C, and BK, respectively.
Drivers 505y, 505m, 505c, and 5 drive the laser diodes 504y, 504m, 504c, and 504bk, respectively.
05b.

尚、感光体現像処理部501のブランク現像・転写部5
0 l bkと、レーザー駆動処理部502レーザーダ
イオード504bk、及び、ドライバ505bkとの組
合せをブラック記録ユニットBKLJ (第17図参照
)と呼ぶ、同様に、シアン現像・転写部501c、  
レーザーダイオード504c、  ドライバ505c、
及び、バッファメモリ503cの組合せをシアン記録ユ
ニットCU(第17図参照)、マゼンダ現像・転写部5
01m、  レーザーダイオード504m、  ドライ
バ505m、及び、バッファメモリ503mの組合せを
マゼンダ記録ユニットMU(M17図参照)、イエロー
現像・転写部501y、  レーザーダイオード504
 y、  ドライバ5osy、及び。
Note that the blank developing/transfer section 5 of the photoreceptor development processing section 501
0 l bk, the laser drive processing unit 502, the laser diode 504bk, and the driver 505bk are called a black recording unit BKLJ (see FIG. 17).Similarly, the cyan developing/transfer unit 501c,
Laser diode 504c, driver 505c,
The combination of the buffer memory 503c and the cyan recording unit CU (see FIG. 17) and the magenta developing/transfer section 5
01m, laser diode 504m, driver 505m, and buffer memory 503m are combined into magenta recording unit MU (see figure M17), yellow developing/transfer section 501y, and laser diode 504.
y, driver 5osy, and.

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

このような各記録ユニットの配列によって、最初に露光
開始となるのはブラック露光用のレーザーダイオード5
04bkであり、イエロー露光用のレーザーダイオード
504yが最後に露光を開始することになる。従って、
各レーザーダイオード間で露光開始順に時間差があり、
該時間差の間記録データ(画像処理装置400の出力)
を保持するため、レーザー駆動処理部502には前述し
た3&lのバッファメモリ503y、503m、503
cが備えられている。
Due to this arrangement of each recording unit, the laser diode 5 for black exposure starts exposure first.
04bk, and the laser diode 504y for yellow exposure starts exposure last. Therefore,
There is a time difference in the order of exposure start between each laser diode,
Data recorded during the time difference (output of the image processing device 400)
, the laser drive processing unit 502 includes the aforementioned 3 & l buffer memories 503y, 503m, 503.
c is provided.

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

多値カラー・レーザー・プリンタ500は、8己録紙を
搬送する搬送ベルト506と、前述したように搬送ベル
ト506の周囲に配設された各記録ユニットYU、MU
、CU、BKUと、記録紙を収納した給紙カセット50
7a、507bと、給紙カセット507a、507bか
らそれぞれ記録紙を送り出す給紙コロ508a、508
bと、給紙カセット507a、507bから送り出され
た記録紙の位置合わせを行うレジストローラ509と、
搬送ベルト506によって記録ユニツ)BKU、CU、
MU、YUを順次搬送されて転写された画像を記録紙に
定着される定着ローラ510と、記録紙を所定の排出部
(図示せず)に排出する排紙コロ511とから構成され
る。ここで、各記録ユニットYU、MU、CU、BKU
は、感光体ドラム5t2y、512m、512c、51
2bkと、それぞれ感光体ドラム512y、512m。
The multilevel color laser printer 500 includes a conveyor belt 506 that conveys eight recording sheets, and recording units YU and MU arranged around the conveyor belt 506 as described above.
, CU, BKU, and a paper feed cassette 50 containing recording paper.
7a, 507b, and paper feed rollers 508a, 508 that feed recording paper from paper feed cassettes 507a, 507b, respectively.
b, and a registration roller 509 that aligns the recording paper sent out from the paper feed cassettes 507a and 507b.
The recording units) BKU, CU,
It is composed of a fixing roller 510 that sequentially transports MU and YU and fixes the transferred image on the recording paper, and a paper discharge roller 511 that discharges the recording paper to a predetermined discharge section (not shown). Here, each recording unit YU, MU, CU, BKU
are photosensitive drums 5t2y, 512m, 512c, 51
2bk, and photoreceptor drums 512y and 512m, respectively.

512c、512bkを一様に帯電する帯電器513y
、513m、513c、513bkと、感光体ドラム5
12y、512m、512c、512bkにレーザービ
ームを導くためのポリゴンミラー514y、514m、
514c、514bk及びモータ515y、515m、
515c、515bkと、感光体ドラム512y、51
2m、512c、512bk上に形成された静1ft?
!像をそれぞれ該当する色のトナーを用いて現像するト
ナー現像装置51631.516m、516c、516
bkと、現像したトナー像を記録紙に転写する転写帯電
器517y、517m、517c、517bkと、転写
後に感光体ドラム512y、512m、512c、51
2bk上に残留するトナーを除去するクリーニング装置
518y、518m。
Charger 513y that uniformly charges 512c and 512bk
, 513m, 513c, 513bk, and photosensitive drum 5
Polygon mirrors 514y, 514m for guiding the laser beam to 12y, 512m, 512c, 512bk,
514c, 514bk and motor 515y, 515m,
515c, 515bk, and photosensitive drums 512y, 51
2m, 1ft of static formed on 512c, 512bk?
! Toner developing devices 51631, 516m, 516c, 516 for developing images using toners of respective colors;
bk, transfer chargers 517y, 517m, 517c, 517bk that transfer the developed toner image onto recording paper, and photosensitive drums 512y, 512m, 512c, 51 after transfer.
Cleaning devices 518y and 518m remove toner remaining on 2bk.

518c、518bkとから構成される。尚、519y
、519m、519c、519bkは、それぞれ感光体
ドラム512)’、512m、512C,512bk上
に設けられた所定のパターンを読み取るためのCCDラ
インセンサーを示し、詳細は省略するが、これによって
多値カラー・レーザー・プリンタ500のプロセス状態
の検知を行う。
It consists of 518c and 518bk. In addition, 519y
, 519m, 519c, and 519bk indicate CCD line sensors for reading predetermined patterns provided on the photoreceptor drums 512)', 512m, 512C, and 512bk, respectively. Although details are omitted, this allows multi-value color - Detecting the process status of the laser printer 500.

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

第18図(a)、 (b)はイエロー記録ユニー/ )
 Y Uの露光系の構成を示す、同図において、レーザ
ーダイオード504yから出射されたレーザービームは
ポリゴンミラー514yで反射されて、f−θレンズ5
02yを通過して、更にミラー521y。
Figure 18 (a) and (b) are yellow record units/)
In the figure showing the configuration of the exposure system of YU, a laser beam emitted from a laser diode 504y is reflected by a polygon mirror 514y, and is reflected by an f-theta lens 5.
Pass through 02y and then mirror 521y.

522yで反射されて防塵ガラス523yを通して感光
体ドラム512yに照射される。このときレーザービー
ムはポリゴンミラー514yがモータ515°yで定速
回転駆動されるので、感光体ドラム512yの軸に沿う
方向(主走査方向)に移動する。また、本実施例では、
主走査の走査位置追跡のための基点を検知するため、非
露光位置のレーザービームをフォトセンサ524yを配
設シである。レーザーダイオード504yは記録データ
(画像処理装置400からの3ビツトデータ)に基づい
て発光付勢されるので、記録データに対応した多値露光
が、感光体ドラム504yの表面に対して行われる。感
光体ドラム504yの表面は、前述したように予め帯電
器513)’で一様に荷電されており、上記露光により
原稿画像対応の静電潜像が形成される。該静を潜像はイ
エロー現像装置516yで現像され、イエローのトナー
像となる。このトナー像は、第17図に示したように、
カセット507a (或いは、507b)から給紙コロ
508a (或いは、508b)で繰り出され、レジス
トローラ509によってブラック記録ユニッ)BKUの
トナー像形成と同期をとって、搬送ベルト506によっ
て搬送されてきた記録紙に転写される。
522y and is irradiated onto the photosensitive drum 512y through the dustproof glass 523y. At this time, since the polygon mirror 514y is rotated at a constant speed by the motor 515°y, the laser beam moves in the direction along the axis of the photoreceptor drum 512y (main scanning direction). Furthermore, in this example,
In order to detect the base point for main scanning scanning position tracking, a photosensor 524y is provided to detect the laser beam at the non-exposed position. Since the laser diode 504y is activated to emit light based on the recording data (3-bit data from the image processing device 400), multilevel exposure corresponding to the recording data is performed on the surface of the photoreceptor drum 504y. As described above, the surface of the photosensitive drum 504y is uniformly charged in advance by the charger 513)', and an electrostatic latent image corresponding to the original image is formed by the exposure. The static latent image is developed by a yellow developing device 516y to become a yellow toner image. This toner image, as shown in FIG.
Recording paper is fed out from a cassette 507a (or 507b) by a paper feed roller 508a (or 508b) and is conveyed by a conveyor belt 506 by a registration roller 509 in synchronization with the formation of a toner image in a black recording unit (BKU). transcribed into.

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

■ドライバの多値駆動 ドライバ505y、505m、505c、505bは、
画像処理装置400から送られて(るY。
■The multi-value drive drivers 505y, 505m, 505c, and 505b are as follows:
(Y) sent from the image processing device 400.

M、C,BKの3ビツトデータに基づいて、該当するレ
ーザーダイオード504y、504m、504c、50
4bkを多値駆動するための制御を行うものであり、そ
の駆動方法としては、パワー変調、パルス巾変調等が一
般的に用いられている。
Based on the 3-bit data of M, C, and BK, the corresponding laser diodes 504y, 504m, 504c, and 50
It performs control for multi-value driving of 4bk, and power modulation, pulse width modulation, etc. are generally used as the driving method.

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

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

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

ここで、LDドライブクロックは“1″′でon“0″
でoffと定義づけられ、第19図(ロ)に示すように
、レーザーダイオードon10ff回路550はこれに
従ってレーザーダイオード504yをonloffする
。また、LD駆動電流1dとレーザービームパワーは比
例関係にあるので、色像濃度データ値に基づ<LD駆動
電流1dを生成することで、画像濃度データ値に対応し
たレーザービームパワー出力が得られることになる0例
えば、第19図(b)に示すように、画像濃度データ値
が“4” (同図のデータN−1)の場合には、定を流
回路552によって相当するLD駆動電流Idが供給さ
れ、レーザーダイオード504yのレーザービームパワ
ーはレベル4となる。また、色像濃度データ値が“7”
 (同図のデータN)の場合には、定を流回路552に
よって相当するLD駆動電流1dが供給され、レーザー
ダイオード504yのレーザービームパワーはレベル7
となる。
Here, the LD drive clock is “1” and on “0”.
As shown in FIG. 19(b), the laser diode on10ff circuit 550 turns off the laser diode 504y accordingly. Furthermore, since there is a proportional relationship between the LD drive current 1d and the laser beam power, by generating <LD drive current 1d based on the color image density data value, the laser beam power output corresponding to the image density data value can be obtained. For example, as shown in FIG. 19(b), when the image density data value is "4" (data N-1 in the same figure), the constant is set by the current circuit 552 to output the corresponding LD drive current. Id is supplied, and the laser beam power of the laser diode 504y becomes level 4. Also, the color image density data value is “7”
(Data N in the figure), the corresponding LD drive current 1d is supplied by the constant current circuit 552, and the laser beam power of the laser diode 504y is level 7.
becomes.

次に、第19図(C)を参照して、レーザーダイオード
on10ff回路550.D/Aコンバニタ551、及
び、定電流回路552の具体的な回路構成を示す、レー
ザーダイオードon10ff回路550は、TTLイン
バータ553,554と、onloffのトグル動作を
する差動型スイッチング回路555,556と、VC,
1>VC2の時、差動型スイッチング回路555がon
、差動型スイッチング回路556がo f f%VGI
<VC20時、差動型スイッチング回路555がoff
Next, referring to FIG. 19(C), laser diode on10ff circuit 550. The laser diode on10ff circuit 550, which shows the specific circuit configuration of the D/A converter 551 and the constant current circuit 552, includes TTL inverters 553 and 554, and differential switching circuits 555 and 556 that perform an onloff toggle operation. ,VC,
When 1>VC2, the differential switching circuit 555 is on.
, the differential switching circuit 556 is of f%VGI
<When VC20, differential switching circuit 555 is off
.

差動型スイッチング回路556がonとなる条件を満足
するVC2を生成する分圧回路を形成する抵抗R富、R
3とから構成される。従って、LDドライブクロフクが
1”の時にインバータ554の出力がVGIを生成し、
前記条件(VGI>VO2)を満足し、差動型スイッチ
ング回路555がon、差動型スイッチング回路556
がoffして、レーザーダイオード504yをonする
Resistors R and R form a voltage dividing circuit that generates VC2 that satisfies the conditions for the differential switching circuit 556 to be turned on.
It consists of 3. Therefore, when the LD drive clock is 1", the output of the inverter 554 generates VGI,
The above condition (VGI>VO2) is satisfied, the differential switching circuit 555 is on, and the differential switching circuit 556 is turned on.
turns off and turns on the laser diode 504y.

また、逆にLDドライブクロックが′0′″の時には、
インバータ554の出力のないため、前記条件(VGI
<VO2)を満足し、差動型スイッチング回路555が
off、差動型スイッチング回路556がonLで、レ
ーザーダイオード504yをoffする。
Conversely, when the LD drive clock is '0''',
Since there is no output from the inverter 554, the above condition (VGI
<VO2), the differential switching circuit 555 is off, the differential switching circuit 556 is onL, and the laser diode 504y is turned off.

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

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

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

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

VGI、Vd、及び、Idの関係を示すタイミングチャ
ートである。ここでVdは画像濃度データ(3ビットデ
ータ:0〜7の8階調データ)に基づいて、■rat 
X O/7〜7/7の8段階の値をとり、1dは、この
VdO値に基づいて、!・〜11の8段階のレベルを示
す、レーザーダイオード504yはこのIdの8段階レ
ベル(Is−レベル0゜It−t’ベルト・・・、I、
−レベル7)に従って、感光体ドラム512F上に、第
20図に示すような潜像を形成する。
5 is a timing chart showing the relationship between VGI, Vd, and Id. Here, Vd is determined based on the image density data (3 bit data: 8 gradation data from 0 to 7).
X takes values in 8 stages from O/7 to 7/7, and 1d is based on this VdO value.・The laser diode 504y shows 8 levels of 11, 8 levels of this Id (Is-level 0° It-t' belt . . . , I,
- Level 7), a latent image as shown in FIG. 20 is formed on the photosensitive drum 512F.

本発明のアンチエイリアシング処理及びその装置を通用
した画像形成システムでは、前述した構成及び動作によ
って、第5図(a)に示した五角形ABCDHに対して
、最終的に第21図に示すトナー像が記録紙上に形成さ
れる。−船釣にレーザー・プリンタの解像度が240〜
400dp iであることを考慮すると、図形のエツジ
部の濃度がアンチエイリアシング処理によって視覚的に
薄くなる。第22図はアンチエイリアシング処理を行わ
ない場合の五角形ABCDHのトナー像を示し、第21
図(本発明のトナー像)と第22図とを比較すると明ら
かなように、アンチエイリアシング処理によって、図形
の斜線部で現れる階段上のギザギザ部分(エイリアス)
が視覚的に滑らかになる。
In the image forming system using the anti-aliasing processing and the device of the present invention, the toner image shown in FIG. 21 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. 22 shows a toner image of pentagon ABCDH when anti-aliasing processing is not performed.
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 drive using power modulation is used, but it goes without saying that the same effect can be obtained by using multi-value drive using pulse width modulation.

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

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

以上説明したように、本発明の図形処理装置は、塗りつ
ぶすべき面積率に基づいて、ベクトルデータのエツジ一
部画素の出力を調整し、出力画像のエツジ部のギザギザ
(エイリアス)を滑らかに表現するアンチエイリアシン
グ処理を実行する図形処理装置において、エツジ部画素
内にベクトルデータの端点が存在するか否か判定する端
点判定手段と、エツジ部画素内に端点が存在しない場合
、ベクトルデータがエツジ部画素を横切る際の入出力座
標に基づいて、エツジ部画素の塗りつぶすべき面積率を
決定する第1の面積率決定手段と、エツジ部画素内に端
点が存在する場合、エツジ部画素内の端点の位置と、塗
りつぶす方向とに基づいて、エツジ部画素の塗りつぶす
べき面積率を決定する第2の面積率決定手段とを備えた
ため、サブピクセル分割及び塗りつぶし個数のカウント
を行うことなく、且つ、高速に面積率を求めることがで
きる。
As explained above, the graphic processing device of the present invention adjusts the output of some pixels at the edge of vector data based on the area ratio to be filled, and smoothly expresses jaggedness (alias) at the edge of the output image. In a graphic processing device that performs anti-aliasing processing, there is provided an end point determining means for determining whether an end point of vector data exists within an edge pixel, and if an end point does not exist within an edge pixel, the vector data a first area ratio determination means that determines the area ratio to be filled in for the edge pixel based on the input/output coordinates when crossing the edge pixel; and a second area ratio determination means that determines the area ratio to be filled in for the edge pixel based on the filling direction and the filling direction. You can find the rate.

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

第1図(a)〜(6)は本発明の図形処理装置における
アンチエイリアシング処理の原理を示す説明図、第2図
は本実施例の画像形成システムの構成を示す説明図、第
3図はPDLコントローラ(本発明の図形処理装置)の
構成を示す説明図、第4図(a)はPDLコントローラ
の動作を示すフローチャート、第4図(ロ)はバスの塗
りつぶし処理を示す説明図、第4図(C)はAETの登
録を示すフローチャート、第4図(ロ)はスキャンライ
ンによる塗りつぶし処理におけるアンチエイリアシング
処理を示すフローチャート、第5図(a)、(ロ)は図
形の直線ベクトル分割を示す説明図、第6図はアンチエ
イリアシング処理を実施後の面積率を示す説明図、第7
図(a)、 (b)、 (C)はページメモリのプレー
ンメモリ部に格納されるRGBイメージデータを示す説
明図、第8図(a)、 (b)、 (C)はアンチエイ
リアシング処理を施していない場合のページメモリのプ
レーンメモリ部に格納されるRGBイメージデータを示
す説明図、第9図は画像処理装置の構成を示す説明図、
第1O図はT補正回路のT補正用変換グラフを示す説明
図、第11図(a)、(ハ)、(C)は補色生成回路で
使用する補色生成用変換グラフを示す説明図、第12図
(a)、 (b)、 (C)、 (d)は第7図(a)
、 (b)、 (c)ニ示したRGBイメージデータが
OCR処理・黒発生回路から出力された状態を示す説明
図、第13図はベイヤー型の3×3の多値デイザマトリ
クスを示す説明図、第14図(a)、 (b)、 (C
)、’ (d)は第12図(a)、 (b)、 (C)
、 (d)のY、M、C,BKのデータを階調処理回路
によって変換した状態を示す説明図、第15図(a)、
 (b)、 (C)、 (d)はI!8図(a)、 (
b)、 (c)のデータを画像処理装置によって処理し
た状態を示す説明図、第16図は多値カラー・レーザー
・プリンタを示す制御ブロック図、第17図は多値カラ
ー・レーザー・プリンタの構成を示す説明図、第18図
(a)、 Cb)はイエロー記録ユニットの露光系の構
成を示す説明図、第19図(a)、 (b)、 (C)
、 (d)はパワー変調による多値駆動を示す説明図、
第20図はパワー変調のレベルによる潜像の状態を示す
説明図、第21図は第5図(a)に示した五角形ABC
DHの最終的なトナー像を示す説明図、第22図はアン
チエイリアシング処理を行わない場合の五角形ABCD
Hのトナー像を示す説明図、第23図はパルス巾変調の
レベルによる潜像の状態を示す説明図、第24図は第5
図(a)に示した五角形ABCDHにパルス巾変調を適
用した場合のトナー像を示す説明図、第25図(a)、
 (b)は従来のアンチエイリアシング処理を示す説明
図、第26図(a)。 (b)は均一平均化法によるアンチエイリアシング処理
を示す説明図、第27図(a)、(ロ)は重み付は平均
化法によるアンチエイリアシング処理を示す説明図、第
28図(a)、 (b)、 (C)、 (d)は重み付
は平均化法に使用するフィルター例を示す説明図、第2
9図は3×3ビクセル参照の畳み込み積分法を示す説明
図である。 符号の説明 ・−・・・・・ホストコンピュータ ・・・−・−PDLコントローラ ・・・・・・・受信装置 202・・・・・・−CPU
−・−・−・−内部システムバス 一=−RAM  205−−−−−=ROM・・・・・
・・ページメモリ 207・・・−・送信装置・・・・
・・・I10装置 ・・・・−・−画像読取り装置 ・・・・・・画像処理装置 ・・多値カラー・レーザー・プリンタ ・・・・・システム制御部
FIGS. 1(a) to (6) 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. FIG. 4(a) is a flowchart showing the operation of the PDL controller; FIG. 4(b) is an explanatory diagram showing the bus filling process; FIG. Figure (C) is a flowchart showing AET registration, Figure 4 (b) is a flowchart showing anti-aliasing processing in fill processing using scan lines, and Figures 5 (a) and (b) show linear vector division of a figure. Explanatory diagram, Figure 6 is an explanatory diagram showing the area ratio after anti-aliasing processing, Figure 7
Figures (a), (b), and (C) are explanatory diagrams showing RGB image data stored in the plain memory section of the page memory. FIG. 9 is an explanatory diagram showing the configuration of the image processing device;
FIG. 1O is an explanatory diagram showing a conversion graph for T correction of the T correction circuit, and FIGS. Figures 12 (a), (b), (C), and (d) are similar to Figure 7 (a).
, (b), (c) An explanatory diagram showing the state in which the RGB image data shown in (d) is output from the OCR processing/black generation circuit, and Fig. 13 is an explanation showing a Bayer type 3 × 3 multilevel dither matrix. Figure 14 (a), (b), (C
), ' (d) are shown in Figure 12 (a), (b), (C)
, (d) An explanatory diagram showing the state in which the Y, M, C, BK data is converted by the gradation processing circuit, FIG. 15 (a),
(b), (C), (d) are I! Figure 8 (a), (
An explanatory diagram showing the state in which the data in b) and (c) are processed by an image processing device. Fig. 16 is a control block diagram showing a multi-value color laser printer. Fig. 17 is a control block diagram showing a multi-value color laser printer. Explanatory diagrams showing the configuration; FIGS. 18(a) and 18(Cb) are explanatory diagrams showing the configuration of the exposure system of the yellow recording unit; FIGS. 19(a), (b), (C)
, (d) is an explanatory diagram showing multi-value drive by power modulation,
Fig. 20 is an explanatory diagram showing the state of the latent image depending on the level of power modulation, and Fig. 21 shows the pentagon ABC shown in Fig. 5(a).
An explanatory diagram showing the final toner image of DH, Fig. 22 is a pentagon ABCD when anti-aliasing processing is not performed.
FIG. 23 is an explanatory diagram showing the state of the latent image depending on the level of pulse width modulation, and FIG. 24 is an explanatory diagram showing the toner image of H.
FIG. 25(a) is an explanatory diagram showing a toner image when pulse width modulation is applied to the pentagonal ABCDH shown in FIG. 25(a),
26(b) is an explanatory diagram showing conventional anti-aliasing processing, and FIG. 26(a). (b) is an explanatory diagram showing antialiasing processing using the uniform averaging method; FIGS. 27(a) and (b) are explanatory diagrams showing antialiasing processing using the weighted averaging method; FIG. 28(a), (b), (C), and (d) are explanatory diagrams showing examples of filters used in the weighting averaging method;
FIG. 9 is an explanatory diagram showing a convolution method with reference to 3×3 pixels. Explanation of symbols --- Host computer --- PDL controller --- Receiving device 202 --- CPU
−・−・−・−Internal system bus 1=−RAM 205−−−−−=ROM・・・・
...Page memory 207...--Transmitting device...
...I10 device...--Image reading device...Image processing device...Multi-value color laser printer...System control unit

Claims (1)

【特許請求の範囲】 塗りつぶすべき面積率に基づいて、ベクトルデータのエ
ッジ部画素の出力を調整し、出力画像のエッジ部のギザ
ギザ(エイリアス)を滑らかに表現するアンチエイリア
シング処理を実行する図形処理装置において、 前記エッジ部画素内にベクトルデータの端点が存在する
か否か判定する端点判定手段と、 前記エッジ部画素内に端点が存在しない場合、前記ベク
トルデータが前記エッジ部画素を横切る際の入出力座標
に基づいて、前記エッジ部画素の塗りつぶすべき面積率
を決定する第1の面積率決定手段と、 前記エッジ部画素内に端点が存在する場合、前記エッジ
部画素内の端点の位置と、塗りつぶす方向とに基づいて
、前記エッジ部画素の塗りつぶすべき面積率を決定する
第2の面積率決定手段とを備えたことを特徴する図形処
理装置。
[Claims] A graphic processing device that adjusts the output of edge pixels of vector data based on the area ratio to be filled, and executes anti-aliasing processing to smoothly express jagged edges (aliases) of an output image. An end point determining means for determining whether or not an end point of vector data exists within the edge pixel, and an input point when the vector data crosses the edge pixel if the end point does not exist within the edge pixel. a first area ratio determination unit that determines the area ratio to be filled in the edge pixel based on the output coordinates; if an end point exists within the edge pixel, the position of the end point within the edge pixel; and second area ratio determining means for determining an area ratio to be filled in for the edge pixel based on the filling direction.
JP13558890A 1990-05-24 1990-05-24 Graphic processor Pending JPH0433075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13558890A JPH0433075A (en) 1990-05-24 1990-05-24 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13558890A JPH0433075A (en) 1990-05-24 1990-05-24 Graphic processor

Publications (1)

Publication Number Publication Date
JPH0433075A true JPH0433075A (en) 1992-02-04

Family

ID=15155334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13558890A Pending JPH0433075A (en) 1990-05-24 1990-05-24 Graphic processor

Country Status (1)

Country Link
JP (1) JPH0433075A (en)

Similar Documents

Publication Publication Date Title
JP3071229B2 (en) Graphic processing unit
JP3102805B2 (en) Graphic output device
GB2243063A (en) Variable sub pixel arrays for anti-aliasing
JPH10334228A (en) Method for improving resolution of raster image
JP2790707B2 (en) Graphic processing unit
JPH0433075A (en) Graphic processor
JPH0481170A (en) Graphic processing unit
JPH04150563A (en) Image processor
JPH04143873A (en) Graphic processor
JP4492090B2 (en) Image forming apparatus and image forming method
JPH03278287A (en) Method and device for antialiasing processing
JPH04144479A (en) Graphic output device
JPH0457175A (en) Graphic processor
JPH041872A (en) Graphic processor
JP2798496B2 (en) Graphic processing unit
JPH03286384A (en) Graphic processor
JPH0433074A (en) Graphic processor
US20030030857A1 (en) Image processing method and image output apparatus
JPH04154363A (en) Image forming device
JPH04148949A (en) Vector image printing apparatus
JPH04249977A (en) Graphical output device
JP3148291B2 (en) Graphic output device
JPH04152757A (en) Image forming device
JPH04152751A (en) Image forming device
JPH04157980A (en) Graphic processor