JPH0457175A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH0457175A
JPH0457175A JP16905090A JP16905090A JPH0457175A JP H0457175 A JPH0457175 A JP H0457175A JP 16905090 A JP16905090 A JP 16905090A JP 16905090 A JP16905090 A JP 16905090A JP H0457175 A JPH0457175 A JP H0457175A
Authority
JP
Japan
Prior art keywords
approximate
coordinate value
edge
image
area ratio
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
JP16905090A
Other languages
Japanese (ja)
Inventor
Nobuharu Takahashi
信晴 高橋
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 JP16905090A priority Critical patent/JPH0457175A/en
Publication of JPH0457175A publication Critical patent/JPH0457175A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To find an are ratio at high speed by providing a coordinate value approximation means, a storage means, and an approximate area ratio decision means. CONSTITUTION:When vector data passes a closed interval, intersections Xa, Xb show input/output coordinate values for the edge part picture element of the vector data. Firstly, plural coordinate value approximate points are provided on the edge part picture element, and the coordinate values Xa, Xb are approximated to the nearest coordinate value approximate points. For example, the input/output coordinate value Xa is approximated to a coordinate value approximate point P4 by comparing the distance of the approximate point P4 near to Xa with that of a point P8. Thence, the coordinate value Xb is approximated to an approximate point P14 nearer to Xa. The area of an image part is calculated as the area of a triangle formed with the coordinate value approximate points P4, P14, and P16. The area of the edge part picture element is calculated, and is stored in a LUT as an approximate area ratio (k). Thereby, the approximate area ratio (k) of the edge part picture element can be easily obtained from the LUT.

Description

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

〔従来の技術〕[Conventional technology]

コンピュータ・グラフィクスの分野では、その出力媒体
であるCRTに画像を表示する際、その表示画像をより
美しくするためにアンチエイリアシング処理という手法
が用いられている。この処理は、第25図(a)に示す
ような階段上のギザギザ部分(エイリアスと呼ばれる)
に輝度変調をかけ、視覚的に表示画像を第25図(b)
に示すように清らかにするものである。
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. 25(a).
Figure 25(b) visually displays the displayed image by applying brightness modulation to
It purifies the body as shown in the figure.

アンチエイリアシング処理方法としては、以下に示す、
■均一平均化法、■重み付げ平均化法0畳み込み積分法
等が知られている。
The anti-aliasing processing method is shown below.
■Uniform averaging method, ■weighted averaging method, zero convolution integral method, etc. are known.

■均一平均化法は、各ピクセル(画素)をN*M(N、
Mは自然数)のサブピクセルに分解し、高解像度でラス
ク計算を行った後、各ピクセルの輝度をN*Mザブビク
セルの平均をとって求めるものである。第26図(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 image into subpixels (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 subpixels. Figure 26(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, as shown in the same figure (b), the pixel is decomposed into 7 and 7 sub-vixels, and sub-pixels covered by the image are Count the numbers. The count number (28) is divided by the total number of subvixels 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 account how the image differs from each pixel.

■重み付は平均化法 重みイ」け平均化法は、均一平均化法を一部変更したも
のであり、均一平均化法が1ビクセル中のザブビクセル
を全て同し重み(即ち、画像のがかっているザブピクセ
ルを単純にカウントする)で取り扱ったのに対して、重
み付は平均化法は各サブピクセルに重みをもたせ、画像
がどのザブピクセルにかかっているかでそのザブピクセ
ルの輝度kidへの影響が異なるようにしている。尚、
この際の重みはフィルターを用いて伺与する。
■Weighting is based on the averaging method.The 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 effect on the brightness of that subpixel depends on which subpixel the image falls on. Trying to be different. still,
The weight at this time is determined 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 weighting is performed using the same dividing method (N=M=7) and the averaging method on the same image data.

第27図(a)は、フィルター(ここでは、conef
 i I ter )の特性を示し、対応するサブピク
セルにこの特性と同じ重みが与えられる。例えば、右上
角のサブピクセルの重みは2である。各ザブピクセルに
画像がかかっていた場合、フィルター特性より与えられ
た重みの値がそのサブピクセルのカウント値となる。同
図(b)には、ザブピクセルの重めの違いによってかか
った画像の表示パターンを変えて示しである。この場合
、重のを付けて画像のかかったザブピクセルをカウント
すると、199となる。この値を、均一平均化のときに
対応してフィルターの値の合計(この場合、33G)で
割って平均化し、最高輝度に掛けて、このピクセルの輝
度を算出する。尚、フィルターとしては、第28図(a
)、 (b)、 (c)、 (d)に示すフィルターが
知られている。
FIG. 27(a) shows a filter (here, conef
i I ter ), 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. FIG. 6B shows different display patterns of the image depending on the weight of the subpixels. In this case, if you count the subpixels in the image with weight, it will be 199. This value is divided by the sum of the filter values (33G in this case) corresponding to the 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
), (b), (c), and (d) are known.

0畳の込み積分法 畳み込み積分法は、1つのピクセルの輝度を決定するに
あたり、その周りのピクセルの様子も参照する方法であ
る。即ち、輝度を決定しようとする1ピクセルの周りN
”XN’ ピクセルを、均−平均化法或いは重み付は平
均化法のピクセルに対応するものと考える。第29図は
3×3ビクセル参照の畳み込の積分法を示す。この図で
、輝度を決定しようとしているピクセルを2901で示
す。画像は斜めの線の右下に続いており、黒く塗った・
す゛ブビクセルがカウントされるザブピクセルである。
0-fold convolutional integral method The convolutional integral method is a method that also 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
``XN'' pixel is considered to correspond to a pixel of the average-average method or the weighted-average method. Figure 29 shows the integration method of convolution with a 3x3 pixel reference. In this figure, the luminance The pixel for which we are trying to determine the
The subpixel is the subpixel that is counted.

各ピクセルは、4*4に分割されている。従って、この
場合はフィルターとして12*]2のものを用いるこよ
になる。この方法はベクトル画像に含まれる高周波成分
を除去する効果がある。
Each pixel is divided into 4*4. Therefore, in this case, a 12*]2 filter should be used. This method has the effect of removing high frequency components contained in a vector image.

一方、パーソナルコンピュータを用いた出版システム、
所謂、DTP (デスク・トップ・パブリッシング)の
普及に伴い、コンピュータ・グラフィクスで扱うような
ベクトル画像を印字するシステムが広く使われるように
なっている。その代表的なものとして、例えば、アドビ
社のポスト・スフリプ1〜を用いたシステムがある。ポ
スト・スクリプトは、ページ記述言語(Page De
scriptionLan’guage  :以下、P
DLと記述する)と呼ばれる言語ジャンルに属し、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. As a typical example, there is a system using Adobe's Post Softlip 1. PostScript is a page description language (Page Descriptor).
scriptionLan'guage:Hereafter, P
It belongs to a language genre called DL (described as DL), 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 writing text, and in such systems, vector fonts are used as character fonts. Therefore, even if characters are scaled, the print quality can be significantly improved compared to systems that use pit map fonts (for example, conventional word processors, etc.). There is an advantage that printing can be performed in a mixed manner.

ところが、これらのシステムで使用されるレーザープリ
ンタの解像度は、せいぜい240dpi〜400dpi
のものが多(、コンピュータ・グラフィックスのCRT
表示と同様に、解像度が低いためにエイリアスが発生す
るという問題点がある。このため、レーザプリンタを用
いた印字においても、アンチエイリアシング処理を行い
、印字画像の品質を向上させる必要が起こっている。
However, the resolution of the laser printers used in these systems is at most 240 dpi to 400 dpi.
There are many things (, computer graphics CRT
As with 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 conventional graphic processing devices, one pixel is divided into multiple subpixels (for example, 49 subpixels), and the area ratio (brightness) is calculated by counting the number of subpixels that are filled. Therefore, 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]

本発明は上記の目的を達成するため、塗りつぶすべき面
積率に基づいて、ベクトルデータのエツジ部画素の出力
を調整し、出力画像のエツジ部のギザギザ(エイリアス
)を滑らかに表現するアンチエイリアシング処理を実行
する図形処理装置において、エツジ部画素上に複数の座
標値近似点を設け、ベクトルデータのエツジ部画素に対
する入出力座標値、及び、エツジ部画素内の端点の座標
値を、複数の座標値近似点のうちの最も近い座標値近似
点に近似する座標値近似手段と、予め、複数の座標値近
似点の組み合わせ、エツジ部画素内の端点の有無、及び
、エツジの種類に基づいて、エツジ部画素を分類し、エ
ツジ部画素の分類毎に設定した近似面積率を記憶した記
憶手段と、座標値近似手段によって近似した座標近似点
5端点の有無、及び、エツジの種類に基づいて、記憶手
段から該当する近似面積率を読み込み、エツジ部画素の
近似面積率を決定する近似面積率決定手段とを備えた図
形処理装置を提供するものである。
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, a plurality of approximate coordinate values are provided on the edge pixel, and the input/output coordinate values for the edge pixel of vector data and the coordinate values of the end points within the edge pixel are converted into a plurality of coordinate values. The coordinate value approximation means approximates the closest coordinate value approximate point among the approximate points, and the edge storage means that stores approximate area ratios set for each classification of edge pixels, the presence or absence of coordinate approximate points 5 end points approximated by the coordinate value approximation means, and the storage based on the type of edge. An object of the present invention is to provide a graphic processing device comprising approximate area ratio determining means for reading a corresponding approximate area ratio from the means and determining the approximate area ratio of edge portion pixels.

〔作用〕[Effect]

本発明の図形処理装置は、座標値近似手段によって、ベ
クトルデータのエツジ部画素に対する入出力座標値、及
び、エツジ部画素内の端点の座標値を、最も近い座標値
近似点に近似する。その後、近似面積率決定手段によっ
て、座標値近似手段によって近似した座標近似点、端点
の有無、及びエツジの種類に基づいて、予めエツジ部画
素の分類毎に設定した近似面積率を記憶した記憶手段か
ら該当する近似面積率を読み込み、エツジ部画素の近似
面積率を決定する。
The graphic processing device of the present invention uses the coordinate value approximation means to approximate the input/output coordinate values for the edge portion pixels of vector data and the coordinate values of the end points within the edge portion pixels to the nearest coordinate value approximation point. Thereafter, the approximate area ratio determination means stores the approximate area ratio set in advance for each classification of edge pixels based on the coordinate approximate point approximated by the coordinate value approximation means, the presence or absence of an end point, and the type of edge. The corresponding approximate area ratio is read from , and the approximate area ratio of the edge portion pixel is determined.

〔実施例〕〔Example〕

以下、本発明の図形処理装置をPDLコントローラとし
て適用した画像形成システムを実施例として、■アンチ
エイリアシング処理の概要(本発明の要部)、■画像形
成システムのブロック図、■PDLコントローラ(本発
明の図形処理装置)の構成及び動作、■画像処理装置の
構成、■多値カラー・レーザープリンターの構成多値カ
ラー・レーザープリンターの現像部の構成及び動作、■
ドライバの多値駆動の順で詳細に説明する。
Hereinafter, an image forming system to which the graphic processing device of the present invention is applied as a PDL controller will be described as an example. ■ Overview of anti-aliasing processing (main part of the present invention), ■ Block diagram of the image forming system, ■ PDL controller (the present invention). (Graphic processing device), ■Configuration of image processing device, ■Configuration of multivalued color laser printer, ■Configuration and operation of developing section of multivalued color laser printer, ■
A detailed explanation will be given in the order of multi-value driving of the driver.

■本発明のアンチエイリアシング処理の概要本発明の図
形処理装置(以下、PDLコン)−ローラ200と記載
する)は、ベクトルデータのエツジ部画素に対する入出
力座標値、及び、エツジ部画素内の端点の座標値を、そ
れぞれ座標値近似点に近似し、該座標値近似点、及び、
エツジの種類に基づいて、エツジ部画素の近似面積率(
濃度)を決定するものである。以下、第1図(a)〜(
h)を参照して、本発明の図形処理装置におけるアンチ
エイリアシング処理を詳細に説明する。
■Outline of anti-aliasing processing of the present invention The graphic processing device (hereinafter referred to as PDL controller) of the present invention (referred to as roller 200) processes input and output coordinate values for edge pixels of vector data, and end points within edge pixels. The coordinate values of are each approximated to the coordinate value approximate point, and the coordinate value approximate point, and
Based on the edge type, approximate area ratio of edge pixels (
concentration). Below, Figures 1(a) to (
The anti-aliasing process in the graphic processing apparatus of the present invention will be explained in detail with reference to h).

第1図(a)に示すように、Yo−Y、スキャンライン
上のへクトルデータが通過する1画素(即ち、エツジ部
画素)を閉区間とすると、ベクトルデータが閉区間を通
過する際に、該閉区間を形成する4辺(上下・左右の辺
)との間で、図示の如く、Xa、 xbの2つ交点がで
きる。この2つの交点Xa、Xbが、ベクトルデータの
エツジ部画素に対する入出力座標値である。
As shown in Fig. 1(a), if one pixel (i.e., an edge pixel) through which vector data on a Yo-Y scan line passes is a closed interval, then when vector data passes through a closed interval, , and the four sides (top, bottom, left and right sides) forming the closed section, two intersections Xa and xb are formed as shown in the figure. These two intersections Xa and Xb are the input/output coordinate values for the edge pixel of the vector data.

先ず、エツジ部画素上に複数の座標値近似点を設け、前
述した入出力座標値Xa、Xbをそれぞれ座標値近似点
のうちの最も近い座標値近似点に近似し、座標値近似点
に基ついて該当するエツジ部画素の面積率を求める方法
を説明する。本実施例では、第1図(b)に示すように
、座標値近似点として門、P2.P3・・・・・・PI
3の16個の座標値近似点を設定する。該座標値近似点
の座標値はX′y゛座標(エツジ部画素上のサブ座標)
上でそれぞれ次表に示す通りである。
First, a plurality of coordinate value approximate points are provided on the edge pixel, and the aforementioned input/output coordinate values Xa and Xb are each approximated to the coordinate value approximate point among the coordinate value approximate points, and the coordinate value approximate points are A method for determining the area ratio of the corresponding edge pixel will be explained. In this embodiment, as shown in FIG. 1(b), the coordinate value approximate points are gate, P2. P3...PI
Set 16 coordinate value approximate points of 3. The coordinate value of the coordinate value approximate point is the X'y゛ coordinate (sub-coordinate on the edge part pixel)
The above are shown in the table below.

表 例えば、第1図(c)に示すような、入出力座標値Xa
、Xbのエツジ部画素があるとすると、該エツジ部画素
の面積率は以下のようにして求められる。入出力座標値
Xaは、Xaに近い座標値近似点P4とP8との距離を
比較することにより、より近い座標値近似点P4に近似
される。次に、入出力座標値xbは、xbに近い座標値
近似点PI3とPI3との距離を比較することにより、
より近い座標値近似点P14に近似される。ここで、エ
ツジ部画素は左エツジ(直線の右側が画像部)であるた
め、画像部の面積は、座標値近似点P4. PI/l、
 PI3の3点によって形成される三角形の面積として
算出される。
For example, the input/output coordinate values Xa as shown in FIG. 1(c)
, Xb, the area ratio of the edge pixels is determined as follows. The input/output coordinate value Xa is approximated to the closer coordinate value approximate point P4 by comparing the distances between the coordinate value approximate points P4 and P8, which are closer to Xa. Next, the input/output coordinate value xb is determined by comparing the distance between the coordinate value approximate points PI3 and PI3 close to xb.
It is approximated to the closer coordinate value approximation point P14. Here, since the edge part pixel is the left edge (the right side of the straight line is the image part), the area of the image part is the coordinate value approximate point P4. PI/l,
It is calculated as the area of the triangle formed by the three points of PI3.

また、第1図(d)に示すような、入出力座標値Xa、
Xbのエツジ部画素では、入出力座標値Xaは、Xaに
近い座標値近似点P3とP4との距離を比較することに
より、より近い座標値近似点P3に近似される。次に、
入出力座標値xbは、xbに近い座標値近似点P13と
PI3との距離を比較することにより、より近い座標値
近似点P14に近似される。ここで、エツジ部画素は左
エツジ(直線の右側が画像部)であるため、画像部の面
積は、座標値近似点P3. PI3. PI3. P4
の4点によって形成される台形の面積として算出される
In addition, as shown in FIG. 1(d), the input/output coordinate values Xa,
For the edge pixel of Xb, the input/output coordinate value Xa is approximated to the closer coordinate value approximate point P3 by comparing the distances between the coordinate value approximate points P3 and P4, which are closer to Xa. next,
The input/output coordinate value xb is approximated to the closer coordinate value approximate point P14 by comparing the distance between the coordinate value approximate point P13 and PI3, which are closer to xb. Here, since the edge portion pixel is the left edge (the right side of the straight line is the image portion), the area of the image portion is the coordinate value approximate point P3. PI3. PI3. P4
It is calculated as the area of the trapezoid formed by the four points.

更に、第1図(e)に示すような、入出力座標値Xa、
Xbのエツジ部画素では、入出力座標値Xa !、t、
Xaに近い座標値近似点P2とP3との距離を比較する
ことにより、より近い座標値近似点+13に近似される
。次に、入出力座標値xbは、xbに近い座標値近似点
P14 とPI3との距離を比較することにより、より
近い座標値近似点P15に近似される。ここで、エツジ
部画素は左エツジ(直線の右側が画像部)であるため、
画像部の面積は、座標値近似点P3. PI3. I’
16. P4の4点によって形成される四角形の面積と
して算出される。
Furthermore, input and output coordinate values Xa, as shown in FIG. 1(e),
For the edge pixel of Xb, the input/output coordinate value Xa! ,t,
By comparing the distances between coordinate value approximation points P2 and P3 that are closer to Xa, the coordinate value approximation point +13 is approximated. Next, the input/output coordinate value xb is approximated to a closer coordinate value approximate point P15 by comparing the distance between the coordinate value approximate point P14 near xb and PI3. Here, since the edge pixel is the left edge (the right side of the straight line is the image part),
The area of the image portion is determined by the coordinate value approximate point P3. PI3. I'
16. It is calculated as the area of the rectangle formed by the four points P4.

本発明では、第1図(C)、 (d)、 (e)に示す
ような画素を2分割する座標値近似点の組み合わせと、
エツジの左右とに基づいて、予め、エツジ部画素の面積
を算出し、第1図(匂に示すように近似面積率にとして
L U T (Look Up Table) ]に記
憶させる。
In the present invention, a combination of coordinate value approximate points that divide a pixel into two as shown in FIGS. 1(C), (d), and (e),
The area of the edge pixel is calculated in advance based on the left and right sides of the edge, and is stored in the LUT (Look Up Table) as an approximate area ratio as shown in FIG.

これによって、例えば、第1図(d)のエツジ部画素の
近似面積率には、座標値近似点P3.P14.及び、左
エツジに基づいて、L U T 1から近似面積率5/
9を容易に得ることができる。
As a result, for example, the approximate area ratio of the edge pixel in FIG. 1(d) is determined by the coordinate value approximate point P3. P14. And, based on the left edge, approximate area ratio 5/ from L U T 1
9 can be easily obtained.

一方、第1図(f)に示すように、エツジ部画素内に端
点Xcを有する場合には、同様に、入出力座標値Xa、
Xbをそれぞれ座標値近似点P15. PI3に近似し
、端点Xcを座標値近似点P6に近似することにより、
画像部の面積を、座標値近似点P6゜PI3. PI5
の3点によって形成される三角形の面積として算出する
ことができる。従って、本発明では、第1図(h)に示
すように、入出力座標値Xa。
On the other hand, as shown in FIG. 1(f), when there is an end point Xc in the edge pixel, the input and output coordinate values Xa,
Xb is the coordinate value approximate point P15. By approximating PI3 and approximating the end point Xc to the coordinate value approximation point P6,
The area of the image part is determined by the coordinate value approximate point P6°PI3. PI5
It can be calculated as the area of the triangle formed by the three points. Therefore, in the present invention, as shown in FIG. 1(h), the input/output coordinate value Xa.

xbの座標値近似点と、端点Xcの座標値近似点との組
み合わせによって、エツジ部画素の近似面積率kを求め
て、LUT2として記憶する。
An approximate area ratio k of the edge pixel is determined by a combination of the coordinate value approximate point of xb and the coordinate value approximate point of the end point Xc, and is stored as LUT2.

これによって、例えば、入出力座標値の座標値近似点が
PI 、P8、端点の座標値近似点がP5のエツジ部画
素の近似面積率には、第1図(ロ)のLUT2から近似
面積率3/9を容易に得ることができる。
As a result, for example, the approximate area ratio of an edge pixel where the coordinate value approximate point of the input/output coordinate value is PI, P8, and the coordinate value approximate point of the end point is P5, is obtained from LUT2 in Figure 1 (b). 3/9 can be easily obtained.

前述したように、複数の座標値近似点を設け、該座標値
近似点に基づいて求めたエツジ部画素の近似面積率kを
、予めLUTに記憶させておくことにより、面積率の計
算を行うことなくLUTから直ちに近似面積率kを得る
ことができる。
As described above, the area ratio is calculated by providing a plurality of coordinate value approximate points and storing the approximate area ratio k of the edge portion pixel obtained based on the coordinate value approximate points in the LUT in advance. Approximate area ratio k can be obtained immediately from LUT without having to do so.

■画像形成システムのブロック図 本実施例の画像形成システムは、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の出力する多値イメージ
データを印字する多値カラー・レーザー・プリンタ50
0と、PDLコントローラ2001画像読取り装置30
01画像処理装置400.及び、多値カラー・レーザー
・プリンタ500を制御するシステム制御部600とか
ら構成される。
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 laser printer that prints the multi-value image data output from the image processing device 400. printer 50
0, PDL controller 2001 image reading device 30
01 Image processing device 400. and a system control section 600 that controls the multivalued color laser printer 500.

■P D Lコントローラの構成及び動作第3図は、P
DLコントローラ200の構成を示し、ホストコンピュ
ータ100から送られてきたP D L言語を受信する
受信装置201と、受信装置201で受信したPDL言
語の格納制御及びアンチエイリアシング処理の実行を行
うCPU202と、内部システムバス203と、内部シ
ステムバス203を介して受信装置201から転送させ
るPDL言語を格納するRAM204と、アンチエイリ
アシングプログラム等を格納したROM205と、アン
チエイリアシング処理を施した多値のRGBイメージデ
ータを格納するページメモリ206と、ページメモリ2
06に格納したRGBイメージデータを画像処理装置4
00に転送する送信装置207と、システム制御部60
0との送受信を行うI10装置208とから構成される
■The configuration and operation of the PDL controller is shown in Figure 3.
The configuration of the DL controller 200 is shown as follows: a receiving device 201 that receives the PDL language sent from the host computer 100; a CPU 202 that controls storage of the PDL language received by the receiving device 201 and executes anti-aliasing processing; 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, a ROM 205 that stores anti-aliasing programs, etc., and multi-value RGB image data that has been subjected to anti-aliasing processing. Page memory 206 to store and page memory 2
The RGB image data stored in 06 is processed by image processing device 4.
00, and the system control unit 60.
0, and an I10 device 208 that performs transmission and reception with 0.

ここで、CPU202は、受信装置201で受信したP
DL言語をROM205に格納されたプログラムに従っ
て、内部システムバス203を通して、RAM204に
格納する。その後、1ペ一ジ分のPDL言語を受信し、
RAM204へ格納すると、後述するフローチャートに
基づいて、RAM204内の図形要素にアンチエイリア
シング処理を施し、多値のRGBイメージデータをペー
ジメモリ206のプレーンメモリ部に格納する(ページ
メモリ206は、RGBのプレーンメモリ部と、特徴情
報メモリ部とからなる)。
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. (consisting of a 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.

以下、第4図(a)、 (b)を参照して、PDLコン
トローラ200の動作を説明する。
The operation of the PDL controller 200 will be described below with reference to FIGS. 4(a) and 4(b).

第4図(a)は、CPU202が行う処理のフローチャ
ートを示す。PDLコンl−ローラ200は、前述した
ようにホス1−コンピュータ100からページ単位で送
られてきたPDL言語をアンチエイリアシング処理を施
しながら、赤(R)。
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 1-computer 100, and converts it to red (R).

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

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

先ず、P D L言語を入力すると、その要素が曲線ヘ
クI・ルか否か判定し、曲線ベクトルの場合はこれを直
線ベクトルに近似して、直線要素(ライン)として作業
エリアに登録する。これを1つのパス内の全ての図形及
び文字要素について行い、パス単位で作業エリアへ直線
要素の登録を実施する(処理1)。
First, when the PDL language is input, it is determined whether the element is a curved line, 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 linear 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の横切る辺の要素と、その走査線ycを
横切ったX座標の実数値(第5図に示すx、x2x1χ
、)とをAET(Active Edge Table
 :走査線上に現れるエツジ部のX座標を記録するテー
ブル)に登録する。ここで、作業エリアに登Hされてい
る要素の順番は、処理1で登録した順番になっているた
め、必ずしも走査線ycを横切るX座標が小さい順に登
録されているとは限らない。例えば、処理IQこおいて
、第5図の走査線ycとX3とを通過する直線要素が最
初に処理された場合には、走査線yc上に現れるエツジ
部のX座標としてX3がAETに最初に登録される。そ
こで、AETの登録後、AET内の各辺の要素をX座標
の小さい順にソーティングする。そして、AETの最初
の要素から2つをペアにして、その間を塗りつふず(走
査線による塗りつぶし処理)。アンチエイリアシング処
理はこの塗りつぶし処理において、エツジ部のビクセル
の濃度及び輝度を近似面積率に応じて調整することで実
現する。その後、処理済みの辺をAETから除去し、走
査線を更新(X座標を更新)し、AET内の辺を全て処
理するまで、換言すれば、1つのパス内の要素を全て処
理するまで同様の処理を繰り返す。
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 bus filling process shown in b), the elements 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 (x, x2x1χ shown in Figure 5)
) and AET (Active Edge Table
: A table that records the X coordinate of the edge portion appearing on the scanning line). Here, since the order of the elements registered in the work area is the order in which they were registered in process 1, they are not necessarily registered in order of decreasing X coordinate across the scanning line yc. For example, in the processing IQ, if a straight line element passing through scanning lines yc and X3 in FIG. will be registered. Therefore, after the AET is registered, the elements on each side within the AET are sorted in descending order of X coordinate. Then, pair the first two elements of AET and fill in between them (filling process using scanning lines). Anti-aliasing processing is achieved in this filling processing by adjusting the density and brightness of the pixels in the edge portion according to the approximate area ratio. 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-alias song 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が入力されたとすると
、この図形は、以下の要素を持つ。
Here, for example, in process 1 of FIG. 4(a),
), this figure has the following elements.

(イ)AB、BC,CD、DE、EAの5本の線ヘクト
ル(実数表現) (ロ)図形内部の色及び輝度値 この図形は前述の動作により、第5図(b)に示すよう
に、主走査方向に延びた7木の直線ベクトル(実数表現
)に分割される。この時、本実施例では、以下に示す情
報を7木の直線ヘタ1〜ルの始点及び終点に付加する。
(a) Hector of the five lines AB, BC, CD, DE, and EA (represented by real numbers) (b) Color and brightness values inside the figure This figure is created as shown in Figure 5 (b) by the above-mentioned operation. , 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 and ending points of the seven straight line heters.

即ら、 (ハ)直線ヘタ1−ルの始点及び終点を構成するベクト
ル要素(上記の(イ))の始点座標値(実数表現) (ニ)直線ベクトルの始点及び終点を構成するベクトル
要素の傾き情報 (*)直線ベクトルの始点及び終点の特徴情報(右エツ
ジ、左エツジ、図形の端点、1ドツト以下の線、直線の
交差部等) スキャンラインの塗りつぶし処理において、工ッジ部画
素が検出されると、第4図(C)のフローチャートに示
すアンチエイリアシング処理が実行される。第1図(a
)〜(h)で示したように、本発明では座標値近似点に
基づいて、LUTI及びLUT2から該当する近似面積
率kを求めるものである。
That is, (c) the starting point coordinate value (real number expression) of the vector element composing the starting point and ending point of the straight line vector ((a) above) (d) the vector element composing the starting point and ending point of the straight line vector Slope information (*) Characteristic information of the start point and end point of a straight line vector (right edge, left edge, end point of a figure, line of 1 dot or less, intersection of straight lines, etc.) In the scan line filling process, edge part pixels When detected, anti-aliasing processing shown in the flowchart of FIG. 4(C) is executed. Figure 1 (a
) to (h), in the present invention, the corresponding approximate area ratio k is obtained from the LUTI and LUT2 based on the coordinate value approximate point.

先ず、エツジ部画素中にベクトルデータ(直線要素)の
端点が存在するか判定する(S401)。端点かない場
合には、エツジ部画素の入出力座標値を座標値近似点(
第1図(b)参照)に近似しく5402)、近似した入
出力座標値の座標値近似点と、エツジの左右に基づいて
、LUTI(第1図(g)参照)から該当する近似面積
率kを入力する(5403)。一方、端点が存在する場
合には、エツジ部画素の入出力座標値及び端点の座標値
を座標値近似点に近似しく5404)、近似した入出力
座標値の座標値近似点と、端点の座標値近似点とに基づ
いて、LUT2 (第1図(h)参照)から該当する近
似面積率kを入力する(S405)。その後、エツジ部
画素の面積率として近似面積率kを設定して処理を終了
する(S406)。
First, it is determined whether an end point of vector data (straight line element) exists in an edge pixel (S401). If there is no end point, the input/output coordinate values of the edge pixels are set to the coordinate value approximate point (
5402), and based on the coordinate value approximation point of the approximated input/output coordinate values and the left and right sides of the edge, the corresponding approximate area ratio from the LUTI (see Figure 1 (g)). Input k (5403). On the other hand, if an end point exists, the input/output coordinate values of the edge pixel and the coordinate values of the end point are approximated to the coordinate value approximate point 5404), and the coordinate value approximate point of the approximated input/output coordinate value and the coordinate value of the end point are approximated. Based on the value approximate point, the corresponding approximate area ratio k is input from LUT2 (see FIG. 1(h)) (S405). Thereafter, an approximate area ratio k is set as the area ratio of the edge portion pixels, and the process ends (S406).

この第4図(C)のフローチャートに示す処理は、処理
3のスキャンラインによる塗りつぶし処理において、エ
ツジ部画素が検出された場合にサブルーチンとしてコー
ルされる。
The process shown in the flowchart of FIG. 4(C) is called as a subroutine when an edge pixel is detected in the scan line filling process of process 3.

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 using the information of (2) above. The approximate 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. 6.

ここで、第5図(a)の図形が、例えば、背景色が白(
最高輝度:255)の上に図形色が赤(最高輝度:25
5)で描画されているとすると、近似面積率k(第6図
参照)より、図形の各色毎の輝度値に、(赤)、に、(
緑)、Kb(青)が以下の式に基づいて求められる。
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 approximate area ratio k (see Figure 6), the brightness values for each color of the figure are (red), (red), (
Kb (green) and Kb (blue) are obtained based on the following formula.

Kr −KR+Xk  +  KR2X(1k)K9 
= Kr+Xk  + KG2X(1k)Kb −Kn
+Xk  +  KB□x(1k)但し、K 、ll+
  K c + 、  K 8+はそれぞれ上記(II
)で与えられる図形の色(それぞれ赤、緑、青)の輝度
値を示し、KR□、  Kcz、 Kn□は以前に塗ら
れた各色の輝度値を示す。尚、KR□、 KG2  K
ozはページメモリ206のRGBに対応する各プレー
ンメモリ部のデータを参照する。
Kr −KR+Xk + KR2X(1k)K9
= Kr + Xk + KG2X (1k) Kb - Kn
+Xk + KB□x (1k) However, K, ll+
K c + and K 8+ are respectively the above (II
) represents the brightness value of the color (red, green, blue, respectively) of the figure given by KR□, Kcz, Kn□ represents the brightness value of each previously painted color. Furthermore, KR□, KG2 K
oz refers to data in each plane memory section corresponding to RGB of the page memory 206.

このようにして求められた輝度値に、、K。The brightness value obtained in this way is ,K.

K、の輝度値は、第7図(a)、 (b)、 (C)に
示すように、ページメモリ206の該当するプレーンメ
モリ部にRGBイメージデータとして格納される。ここ
で、比較のためにアンチエイリアシング処理を施してい
ない場合のRGBイメージデータを第8図(a)、 (
b)、 (C)に示す。
The brightness value of K is stored as RGB image data in the corresponding plane memory section of the page memory 206, as shown in FIGS. 7(a), (b), and (C). For comparison, RGB image data without anti-aliasing processing is shown in Figure 8(a).
b), shown in (C).

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

画像処理装置400ば、画像読取り装W300内のCC
D7r、7g、及び、7bで読み取った3色の画像信号
を記録に必要なブラック(BK)イエロー(Y)、マゼ
ンタ(M)、及び、シアン(C)の各記録信号に変換す
る。また、前述したPDLコントローラ200から与え
られるRGBイメージデータを同様にブラック(BK)
、イエロー(Y)、マゼンタ(M)、及び、シアン(C
)の各記録信号に変換する。ここで、画像読取り装置3
00から画像信号を入力するモードを複写機モード、P
DLコントローラ200からRGBイメージデータを入
力するモードをグラフィックスモードと呼ぶ。
CC in the image processing device 400 and the image reading device W300
The three-color image signals read by D7r, 7g, and 7b are converted into black (BK), yellow (Y), magenta (M), and cyan (C) recording signals necessary for recording. Similarly, the RGB image data given from the PDL controller 200 described above is converted into black (BK).
, yellow (Y), magenta (M), and cyan (C
) into each recording signal. Here, the image reading device 3
The mode for inputting image signals from 00 is copy machine mode, P
The mode in which RGB image data is input from the DL controller 200 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)の階調を示す6ビントの階調データをそれ
ぞれの補色であるシアン(C)、マゼンタ(M)イエロ
ー(Y)の階調データ(6ビント)に変換する補色生成
回路405と、補色生成回路405から出力されるY、
M、Cの各階調データに所定のマスキング処理を行うマ
スキング処理回路406と、マスキング処理後のY、M
、Cの各階調データを入力してOCR処理及び黒発生処
理を実行するUCR処理・黒発生回路407と、UCR
処理・黒発生回路407から出力されるY、 MC9及
び、BKの各6ビツトの階調データを3ビツトの階調デ
ータYl、Ml、CL及び、BKIに変換し、多値カラ
ー・レーザー・プリンタ500内部のレーザー駆動処理
部502に出力する階調処理回路408と、画像処理装
置400の各回路の同期をとるための同期制御回路40
9とから構成される。
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 sensitivity variations, etc. 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 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.
), a complementary color generation circuit that converts 6-bint gradation data indicating the gradation of blue (B) into gradation data (6-bint) of cyan (C), magenta (M), and yellow (Y), which are the respective complementary colors. 405, Y output from the complementary color generation circuit 405,
A masking processing circuit 406 that performs predetermined masking processing on each of M and C gradation data, and a masking processing circuit 406 that performs predetermined masking processing on each gradation data of M and C, and
, a UCR processing/black generation circuit 407 that inputs each gradation data of C and executes OCR processing and black generation processing;
The 6-bit gradation data of Y, MC9, and BK outputted from the processing/black generation circuit 407 is converted into 3-bit gradation data Yl, Ml, CL, and BKI, and is used in a multi-value color laser printer. A gradation processing circuit 408 outputting to the laser drive processing unit 502 inside the image processing device 500 and a synchronization control circuit 40 for synchronizing each circuit of the image processing device 400.
It consists of 9.

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

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

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

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

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

本実施例では、このマスキング処理とOCR処理を同時
に行・う新しい係数(all”等)を予め計算して求め
、更に、該新しい係数を用いて、マスキング処理回路4
06の予定された入力値Y、、M。
In this embodiment, a new coefficient (such as "all") for performing this masking process and OCR process simultaneously is calculated and obtained in advance, and further, using the new coefficient, the masking process circuit 4
06 scheduled input values Y,,M.

C8(各6ビツト)に対応する出力値(yo’ 等:U
CR処理・黒発生回路407の演算結果となる値)を求
め、予め所定のメモリに記憶している。
Output value (yo', etc.: U) corresponding to C8 (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.

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

尚、−船釣に言って、マスキング処理回路40Gは記録
像形成用j−ナーの分光反射波長の特性に合わせてY、
M、C信号を補正するものであり、UCR処理・黒発生
回路407は各色(・ナーの重ね合わせにおける色バラ
ンス用の補正を行うものである。Ul、R処理・黒発生
回路407を通ると、人力されるY、M、Cの3色のデ
ータの合成により黒成分のデータBKが生成され、出力
のY、M、Cの各色成分のデータは黒成分データBKを
差し引いた値に補正される。
In addition, for boat fishing, the masking processing circuit 40G has Y,
The M and C signals are corrected, and the UCR processing/black generation circuit 407 performs correction for color balance in the superimposition of each color (・ner). , black component data BK is generated by manually combining three color data of Y, M, and C, and the output data of each color component of Y, M, and C is corrected to the value obtained by subtracting the black component data BK. Ru.

以上の構成において、γ補正回路403が第10図に示
すT補正用変換グラフに基づいて処理を実行し、補色生
成回路405が第11図(a)(b)、 (C)に示す
補色生成用変換グラフに基づいて処理を実行し、その後
、マスキング処理回路406及びUCR処理・黒発生回
路407が次式にに基づいて処理を実行したとすると、
第7図(a)。
In the above configuration, the γ correction circuit 403 executes processing based on the T correction conversion graph shown in FIG. 10, and the complementary color generation circuit 405 generates complementary colors shown in FIGS. Suppose that the processing is executed based on the conversion graph for
Figure 7(a).

(b)、 (C)に示したRGBイメージデータは、γ
補正回路403.補色生成回路405.マスキング処理
回路406.及び、UCR処理・黒発生回路407を経
て、第12図(a)、 (b)、 (C)、 (d)の
ように変換される。
The RGB image data shown in (b) and (C) is γ
Correction circuit 403. Complementary color generation 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 (d).

更に、階調処理回路408が第13図に示すベイヤー型
の3×3の多値デイザマトリクスを用いたとすると、第
12図(a)、 (b)、 (c)、 (d)の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)、 (b)、 (cl、 (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
It is converted as shown in Figures 5 (a), (b), (cl, and (d)).

■多値カラー・レーザープリンターの構成(多値カラー
・レーザープリンターの現像部の構成及び動作) 先ず、第16図に示す制御ブロック図を参照して、多値
カラー・レーザー・プリンタ500の概略構成を説明す
る。
■Configuration of multi-value color laser printer (configuration and operation of developing section of multi-value color laser printer) First, with reference to the control block diagram shown in FIG. Explain.

感光体現像処理部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、!503
m、503cと、Y、M、C,BKのそれぞれ対応した
レーザービームを出力するレーザーダイオード504 
y。
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,! 503
a laser diode 504 that outputs laser beams corresponding to Y, M, C, and BK;
y.

504m、504c、504bkと、レーザーダイオー
ド504y、5’04m、504c。
504m, 504c, 504bk and laser diode 504y, 5'04m, 504c.

504bkをそれぞれ駆動するドライバ505 y。Drivers 505y each drive 504bk.

505m、505c、505bとから構成される。It consists of 505m, 505c, and 505b.

尚、感光体現像処理部501のブラック現像・転写部5
01bkと、レーザー駆動処理部502レーザーダイオ
ード504bk、及び、ドライバ505bkとの組合せ
をブラック記録ユニットBKU(第17図参照)と呼ぶ
。同様に、シアン現像・転写部501c、  レーザー
ダイオード504c、  ドライバ505 c、及び、
バッファメモリ503cの組合せをシアン記録ユニット
CU(第17図参照)、マゼンダ現像・転写部501m
、  レーザーダイオード504m、  ドライバ50
5m、及び、バッファメモリ503mの組合せをマゼン
ダ記録ユニットMU(第17図参照)、イエロー現像・
転写部501y、゛レーザーダイオード504y、  
ドライバ505 y、及びバッファメモリ503yの組
合せをイエロー記録ユニッ)YU (第17図参照)と
呼ぶ。これらの各記録ユニットは、図示の如く、記録紙
を搬送する搬送ベルト506の周囲に記録紙の搬送方向
かラフラック記録ユニッ)BKU、  シアン記録ユニ
ットCU、マゼンダ記録ユニットMU、  イエロー記
録ユニットYUの順に配設されている。
In addition, the black developing/transfer section 5 of the photoreceptor development processing section 501
01bk, the laser drive processing unit 502, the laser diode 504bk, and the driver 505bk are called a black recording unit BKU (see FIG. 17). Similarly, a cyan developing/transfer section 501c, a laser diode 504c, a driver 505c, and
The buffer memory 503c is combined with a cyan recording unit CU (see FIG. 17) and a magenta developing/transfer section 501m.
, laser diode 504m, driver 50
5m and a buffer memory 503m are combined into a magenta recording unit MU (see Fig. 17), a yellow developing unit, and a buffer memory 503m.
Transfer section 501y, laser diode 504y,
The combination of the driver 505y and the buffer memory 503y is called a yellow recording unit (YU) (see FIG. 17). As shown in the figure, these recording units are arranged around a conveyor belt 506 that conveys the recording paper in the following order in the conveying direction of the recording paper: a rough rack recording unit (BKU), a cyan recording unit CU, a magenta recording unit MU, and a yellow recording unit YU. It is arranged.

このような各記録ユニットの配列によって、最初に露光
開始となるのはブラック露光用のレーザーダイオード5
04bkであり、イエロー露光用のレーザーダイオード
504yが最後に露光を開始することになる。従って、
各レーザ−ダイオー1間で露光開始順に時間差があり、
該時間差の間記録データ(画像処理装置400の出力)
を保持するため、レーザー駆動処理部502には前述し
た3組のバッファメモリ503y、503m503cが
備えられている。
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 and diode 1,
Data recorded during the time difference (output of the image processing device 400)
In order to hold the data, the laser drive processing section 502 is equipped with the three sets of buffer memories 503y, 503m, and 503c described above.

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

多値カラー・レーザー・プリンタ500は、記録紙を搬
送する)船道ヘルド506と、前述したように搬送ベル
ト506の周囲に配設された各記録ユニッ1−YU、M
U、CU、BKUと、記録紙を収納した給紙カセット5
07a、507bと、給紙カセソ1507a、507b
からそれぞれ記録紙を送り出す給紙コロ508a、50
8bと、給紙カセット507a、507bから送り出さ
れた記録紙の位置合わせを行うレジストローラ509と
、搬送ベルh 506によって記録ユニッ1〜BKU、
CU、MU、YUを順次搬送されて転写された画像を記
録紙に定着される定着ローラ5]0と、記録紙を所定の
排出部(図示せず)に排出する排紙コロ511とから構
成される。ここで、各記録ユニン1〜YU  MU、C
U、BKUは、感光体ドラム512y、512m、51
2c、5]2bkと、それぞれ感光体ドラム5]、2y
、512m。
The multivalued color laser printer 500 includes a channel heald 506 (for conveying recording paper) and recording units 1-YU, M disposed around the conveyor belt 506 as described above.
Paper cassette 5 containing U, CU, BKU and recording paper
07a, 507b and paper feed cassettes 1507a, 507b
Paper feed rollers 508a and 50 that feed the recording paper from
8b, a registration roller 509 that aligns the recording paper sent out from the paper feed cassettes 507a and 507b, and a conveyance bell h506 to transport the recording units 1 to BKU,
It consists of a fixing roller 5]0 that sequentially transports CU, 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). be done. Here, each recording unit 1 to YU MU, C
U, BKU are photosensitive drums 512y, 512m, 51
2c, 5] 2bk and photoreceptor drums 5], 2y, respectively.
, 512m.

512c  51.2bkを一様に帯電する帯電器51
3y、513m、513c、513bkと、感光体ドラ
ム512y、5]2m、512c512bkにレーザー
ビームを導くためのポリゴンミラー514y、514m
、5]、4c514bk及びモータ515y、515m
515c、515bkと、感光体ドラム512y512
m、512c、512bk上に形成された静電潜像をそ
れぞれ該当する色の1−ナーを用いて現像するトナー現
像装置516y、51.6m516c、516bkと、
現像したトナー像を記録紙に転写する転写帯電器517
y、517m517c、517bkと、転写後に感光体
ドラ広512y、512m、512c、512bk上に
残留するトナーを除去するクリーニング装置5]8y、
518m、518c、518bkとから構成される。尚
、519y、519m519c  519bkは、それ
ぞれ感光体ドラム5]2y、512m、512c、51
2bk上に設けられた所定のバクーンを読み取るための
CODラインセンサーを示し、詳細は省略するが、これ
によって多イ直カラー・レーザー・プリンタ500のプ
ロセス状態の検知を行う。
Charger 51 that uniformly charges 512c 51.2bk
3y, 513m, 513c, 513bk, and polygon mirrors 514y, 514m for guiding the laser beam to the photosensitive drums 512y, 5]2m, 512c, 512bk.
, 5], 4c514bk and motor 515y, 515m
515c, 515bk and photosensitive drum 512y512
toner developing devices 516y, 51.6m, 516c, and 516bk that develop the electrostatic latent images formed on the respective 1-toners of the corresponding colors;
Transfer charger 517 that transfers the developed toner image onto recording paper
y, 517m, 517c, and 517bk, and a cleaning device 5]8y that removes toner remaining on the photoreceptor drum wide 512y, 512m, 512c, and 512bk after transfer;
It consists of 518m, 518c, and 518bk. Note that 519y, 519m, 519c, and 519bk are the photosensitive drums 5]2y, 512m, 512c, and 51, respectively.
A COD line sensor for reading a predetermined vacuum provided on the 2bk is shown, and although the details are omitted, the process status of the multi-color laser printer 500 is detected by this sensor.

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

第18図(a)、 (b)はイエロー記録ユニン)YU
の露光系の構成を示す。同図において、レーザーダイオ
ード504yから出射されたレーザービームはポリゴン
ミラー514yで反射されて、f−θレンズ502yを
通過して、更にミラー521y522yで反則されて防
塵ガラス523yを通して感光体Fラム512yに照射
される。このときレーザービームはポリゴンミラー51
4yがモータ515yで定速回転駆動されるので、感光
体ドラム512yの軸に沿う方向(主走査方向)に移動
する。また、本実施例では、主走査の走査位置追跡のた
めの基点を検知するため、非露光位置のレーザービーム
をフォトセンザ524yを配設しである。レーザーダイ
オード504yは記録ブタ(画像処理装置400からの
3ビツトデータ)に基づいて発光付勢されるので、記録
データに対応した多値露光が、感光体ドラム504yの
表面に対して行われる。感光体ドラム504yの表面ば
、前述したように予め帯電器513yで一様に荷電され
ており、上記露光により原稿画像対応の静電潜像が形成
される。該静電潜像はイエロー現像装置516yで現像
され、イエローのトナー像となる。このトナー像は、第
17図に示したように、カセット507a  (或いは
、507b)から給紙コロ508a (或いは、508
b)で繰り出され、レジストローラ509によってブラ
ック記録ユニットBKUの1〜ナー像形成と同期をとっ
て、搬送ベルl−506によって搬送されてきた記録紙
に転写される。
Figure 18 (a) and (b) are yellow recording units) YU
The configuration of the exposure system is shown. In the figure, a laser beam emitted from a laser diode 504y is reflected by a polygon mirror 514y, passes through an f-theta lens 502y, is further reflected by a mirror 521y522y, and is irradiated onto a photoreceptor F ram 512y through a dustproof glass 523y. be done. At this time, the laser beam is
4y is driven to rotate at a constant speed by the motor 515y, so it moves in the direction along the axis of the photosensitive drum 512y (main scanning direction). Further, in this embodiment, a photosensor 524y 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. 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. The surface of the photosensitive drum 504y is uniformly charged in advance by the charger 513y as described above, and an electrostatic latent image corresponding to the original image is formed by the exposure. The electrostatic latent image is developed by a yellow developing device 516y to become a yellow toner image. This toner image is transferred from the cassette 507a (or 507b) to the paper feed roller 508a (or 508) as shown in FIG.
b), and is transferred by the registration roller 509 to the recording paper conveyed by the conveyance bell l-506 in synchronization with the formation of the 1 to toner images of the black recording unit BKU.

他の記録ユニットBKU、CU、MUも同様な構成で同
様な動作を実行するが、ブラック記録ユニットBKUは
ブラックトナー現像装置516bkを備え、ブラックの
トナー像の形成及び転写を行い、シアン記録ユニットC
Uはシアントナー現像装置516cを備え、シアンのト
ナー像の形成及び転写を行い、マゼンダ記録ユニットM
Uはマゼンダトナー現像装置516mを備え、マゼンダ
のトナー像の形成及び転写を行う。
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 516bk and forms and transfers a black toner image, and the cyan 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、505c505bは、画
像処理装置400から送られてくるY、M、C,BKの
3ビツトデータに基づいて、該当するレーザーダイオー
ド504y、504m。
(2) Multi-value drive of the driver The driver 505y, 505m, 505c 505b drives the corresponding laser diode 504y, 504m based on the 3-bit data of Y, M, C, and BK sent from the image processing device 400.

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

以下、本実施例で適用するパワー変調による多値駆動を
第19図(a)、 (b)、 (C)、 (d)を参照
して詳細に説明する。尚、ドライバ505y、505m
Hereinafter, multi-value 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をo n / o f fするレーザーダ
イオードo n / o f f @路550と、3ビ
ツトの画像濃度データ(ここでは、Yデータ)をアナロ
グ信号に変換するD/Aコンバータ551と、画像濃度
値に基づくアナログ信号をD/Aコンバータ551から
入力して、レーザーダイオード504yを駆動する電流
(LD駆動電流)Idをレーザーダイオードon10f
f回路550に供給する定電流回路552とから構成さ
れる。
As shown in FIG. 19(a), the driver 505y has a laser diode ON/OFF @ path 550 which is applied to a predetermined LD drive circuit and turns the laser diode 504y ON/OFF. A D/A converter 551 converts 3-bit image density data (here, Y data) into an analog signal, and an analog signal based on the image density value is input from the D/A converter 551 to drive the laser diode 504y. Current (LD drive current) Id to laser diode on10f
The constant current circuit 552 supplies the f circuit 550.

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

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

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

差動型スイッチング回路556がonとなる条件を満足
するVO2を生成する分圧回路を形成する抵抗R2,R
3とから構成される。従って、LDドライブクロツタが
” 1 ”の時にインバータ554の出力がVGlを生
成し、前記条件(VGi>VO2)を満足し、差動型ス
イッチング回路555がon、差動型スイッチング回路
556がoffして、レーザーダイオ−t”504yを
onする。
Resistors R2 and R form a voltage dividing circuit that generates VO2 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 VGl, satisfying the above condition (VGi>VO2), the differential switching circuit 555 is on, and the differential switching circuit 556 is off. Then, turn on the laser diode 504y.

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

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

定電流回路552は、前述したようにレーザーダイオー
ドon10ff回路550にレーザーダイオード504
 yの電流を供給するものであり、1〜ランシスター5
60と、抵抗R4,R5とから構成される。D/Aコン
バータ551からの出力Vdはトランジスター560の
ベースに加えられ、抵抗R4に印加される電圧を決定す
る。換言ずれば、抵抗R4に流れる電流はl・ランシス
ター560のコレクタ電流にほぼ等しいため、Vdによ
ってレーザーダイオード504yに流れる電流Idが制
御される。
The constant current circuit 552 includes the laser diode 504 in the laser diode ON10ff circuit 550 as described above.
It supplies a current of y, 1 to Runsister 5
60, and resistors R4 and R5. The output Vd from D/A converter 551 is applied to the base of transistor 560 to determine the voltage applied to resistor R4. In other words, since the current flowing through the resistor R4 is approximately equal to the collector current of the l·Lancy star 560, the current Id flowing through the laser diode 504y is controlled by Vd.

第19図(d)ば、前述したラッチ557の出力VGI
、Vd、及び、ldの関係を示すタイミングチャートで
ある。ここでVdは画像濃度データ(3ビットデータ:
0〜7の8階8周データ)に法づいて、■r□×077
〜7/7の8段階の値をとり、Idは、このVdの値に
基づいて、1.−I7の8段階のレベルを示す。レーザ
ーダイオード504yばこのIdの8段階レベル(Io
−レベルo、r、−レベルト・・・、I7−レベル7)
に従って、感光体ドラム512y上に、第20図に示す
ような潜像を形成する。
FIG. 19(d) shows the output VGI of the latch 557 mentioned above.
, Vd, and ld. Here, Vd is image density data (3-bit data:
Based on the 8th floor 8 lap data from 0 to 7), ■r□×077
Values are taken in 8 steps from 7/7 to 7/7, and Id is 1. - Shows 8 levels of I7. Laser diode 504y 8 levels of Id (Io
-Level o, r, -Levelt..., I7-Level 7)
Accordingly, a latent image as shown in FIG. 20 is formed on the photosensitive drum 512y.

本発明の図形処理装置では、前述した構成及び動作によ
って、第5図(a)に示した五角形ABCDEに対して
、最終的に第21図に示すl−ナー像が記録紙上に形成
される。−船釣にレーザー・プリンタの解像度が240
〜400dpiであることを考慮すると、図形のエツジ
部の濃度がアンチエイリアシング処理によって視覚的に
薄くなる。第22図はアンチエイリアシング処理を行わ
ない場合の五角形ABCDEのトナー像を示し、第21
図(本発明のトナー像)と第22図とを比較すると明ら
かなように、アンチエイリアシング処理によって、図形
の斜線部で現れる階段上のギザギザ部分(エイリアス)
が視覚的に滑らかになる。
In the graphic processing apparatus of the present invention, the l-ner image shown in FIG. 21 is finally formed on the recording paper for the pentagon ABCDE shown in FIG. 5(a) by the configuration and operation described above. -Resolution of laser printer for boat fishing is 240
Considering that the resolution is ~400 dpi, the density of the edges of the figure becomes visually thinner due to the anti-aliasing process. FIG. 22 shows a toner image of pentagon ABCDE without anti-aliasing processing;
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 applied, but it goes without saying that the same effect can be obtained by using multi-value drive using mid-pulse modulation.

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

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

以上説明したように、本発明の図形処理装置は、塗りつ
ふすべき面積率に基づいて、ベクトルデクのエツジ部画
素の出力を調整し、出力画像のエツジ部のギザギザ(エ
イリアス)を滑らかに表現するアンチエイリアシング処
理を実行する図形処理装置において、エツジ部画素上に
複数の座標値近似点を設の、ヘクトルデータのエツジ部
画素に対する入出力座標値、及び、エツジ部画素内の端
点の座標値を、複数の座標値近似点のうちの最も近い座
標値近似点に近似する座標値近似手段と、予め、複数の
座標値近似点の組み合わせ、エツジ部画素内の端点の有
無、及び、エツジの種類に基づいて、エツジ部画素を分
類し、エツジ部画素の分類毎に設定した近似面積率を記
憶した記憶手段と、座標値近似手段によって近似した座
標近似点端点の有無、及び、エツジの種類に基づいて、
記憶手段から該当する近似面積率を読み込み、エツジ部
画素の近似面積率を決定する近似面積率決定手段とを備
えたため、ザブピクセル分割及び塗りつぶし個数のカウ
ントを行うことなく、且つ、高速に面積率を求めること
ができる。
As explained above, the graphic processing device of the present invention adjusts the output of the edge portion pixels of the vector deck based on the area ratio to be filled, and smoothly expresses the jaggedness (alias) at the edge portion of the output image. In a graphic processing device that performs anti-aliasing processing, input and output coordinate values for edge pixels of hector data and coordinate values of end points within edge pixels are set in a plurality of approximate coordinate values on edge pixels. , a coordinate value approximation means for approximating the closest coordinate value approximate point among a plurality of coordinate value approximate points, and a combination of a plurality of coordinate value approximate points, the presence or absence of an end point in an edge pixel, and the type of edge. The edge area pixels are classified based on the storage means that stores the approximate area ratio set for each classification of edge area pixels, the presence or absence of the coordinate approximate point end point approximated by the coordinate value approximation means, and the type of edge. based on,
Since the approximation area ratio determination means reads the corresponding approximate area ratio from the storage means and determines the approximate area ratio of the edge pixel, the area ratio can be determined at high speed without dividing subpixels or counting the number of filled pixels. You can ask for it.

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

第1図(a)〜(h)は本発明の図形処理装置にお&J
るアンチエイリアシング処理の概要を示す説明図、第2
図は本実施例の画像形成システムの構成を示す説明図、
第3図はPDLコントローラの構成を示す説明図、第4
図(a)はP D Lコントローラの動作を示すフロー
チャート、第4図(b)はバスの塗りつぶし処理を示す
説明図、第4図(C)は本発明のアンチエイリアシング
処理を示すフローチャート、第5図(a)、 (b)は
図形の直線ヘクトル分割を示す説明図、第6図はアンチ
エイリアシング処理を実施後の近似面積率を示す説明図
、第7図(a)、 (b)、 (c)はページメモリの
プレーンメモリ部に格納されるROBイメージデータを
示す説明図、第8図(a)2(b)、 (C)はアンチ
エイリアシング処理を施していない場合のページメモリ
のプレーンメモリ部に格納されるROBイメージデータ
を示す説明図、第9図は画像処理装置の構成を示す説明
図、第10図はγ補正回路のγ補正用変換グラフを示す
説明図、第11図(a)、 (b)、 (C)は補色生
成回路で使用する補色生成用変換グラフを示す説明図、
第12図(a)。 (b)、 (c)、 (d)は第7図(a)、 (b)
、 (C)に示したRC,BイメージデータがUCR処
理・黒発生回路から出力された状態を示す説明図、第1
3図はベイヤー型の3×3の多値デイザマトリクスを示
す説明図、第14図(a)、 (b)、 (C)、 (
d)は第12図(a)、 (b)、 (C)。 (d)のY、M、C,NY3にのデータを階調処理回路
によって変換した状態を示す説明図、第15図(a)。 (b)、 (c)、 (d)は第8図(a)、 (b)
、 (C)のデータを画像処理装置によって処理した状
態を示す説明図、第16図は多値カラー・レーザー・プ
リンタを示す制御ブロック図、第17図は多値カラー・
レーザー・プリンタの構成を示す説明図、第18図(a
)、 (b)はイエロー記録ユニットの露光系の構成を
示す説明図、第19図(a)、 (b)、 (C)、 
(d)はパワー変調による多値駆動を示す説明図、第2
0図はパワー変調のレベルによる潜像の状態を示す説明
図、第21図は第5図(a)に示した五角形ABCDE
の最終的なトナー像を示す説明図、第22図はアンチエ
イリアシング処理を行わない場合の五角形ABCDEの
トナー像を示す説明図、第23図はパルス巾変調のレベ
ルによる潜像の状態を示す説明図、第24図は第5図(
a)に示した五角形ABCDEにパルス巾変調を通用し
た場合のトナー像を示す説明図、第25図(a)、 (
b)は従来のアンチエイリアシング処理を示す説明図、
第26図(a)、 (b)は均一平均化法によるアンチ
エイリアシング処理を示す説明図、第27図(a)、 
(b)は重み付は平均化法によるアンチエイリアシング
処理を示す説明図、第28図(a)、 (b)、 (C
)、 (d)は重み付は平均化法に使用するフィルター
例を示す説明図、第29図は3×3ピクセル参照の畳み
込み積分法を示す説明図である。 符号の説明 ポストコンピュータ P D Lコントローラ 受信装置 202 ・内部システムバス RAM  205 ページメモリ I10装置 画像読取り装置 画像処理装置 OM 送信装置 PU 20  B−m= 300−・ 多値カラー・レーザー・プリンタ システム制御部
FIGS. 1(a) to (h) show the graphic processing device of the present invention &J.
Explanatory diagram showing an overview of anti-aliasing processing, Part 2
The figure is an explanatory diagram showing the configuration of the image forming system of this embodiment,
Figure 3 is an explanatory diagram showing the configuration of the PDL controller;
FIG. 4(a) is a flowchart showing the operation of the PDL controller, FIG. 4(b) is an explanatory diagram showing bus filling processing, FIG. 4(C) is a flowchart showing antialiasing processing of the present invention, Figures (a) and (b) are explanatory diagrams showing the linear hector division of a figure, Figure 6 is an explanatory diagram showing the approximate area ratio after anti-aliasing processing, and Figures 7 (a), (b), ( c) is an explanatory diagram showing the ROB image data stored in the plain memory section of the page memory, Figures 8(a), 2(b), and (C) are the plain memory of the page memory when anti-aliasing processing is not performed. FIG. 9 is an explanatory diagram showing the configuration of the image processing device, FIG. 10 is an explanatory diagram showing the γ correction conversion graph of the γ correction circuit, and FIG. 11 (a ), (b), and (C) are explanatory diagrams showing conversion graphs for complementary color generation used in the complementary color generation circuit,
Figure 12(a). (b), (c), (d) are shown in Figure 7 (a), (b)
, Explanatory diagram showing the state in which the RC, B image data shown in (C) is output from the UCR processing/black generation circuit, 1st
Figure 3 is an explanatory diagram showing a Bayer type 3 x 3 multilevel dither matrix, Figure 14 (a), (b), (C), (
d) is Fig. 12 (a), (b), (C). FIG. 15(a) is an explanatory diagram showing the state in which the data of Y, M, C, NY3 in (d) is converted by the gradation processing circuit. (b), (c), (d) are shown in Figure 8 (a), (b).
, FIG. 16 is a control block diagram showing a multi-value color laser printer, and FIG. 17 is a multi-value color laser printer.
Explanatory diagram showing the configuration of a laser printer, Fig. 18 (a)
), (b) is an explanatory diagram 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, the second
Figure 0 is an explanatory diagram showing the state of the latent image depending on the level of power modulation, and Figure 21 is the pentagon ABCDE shown in Figure 5 (a).
FIG. 22 is an explanatory diagram showing the final toner image of pentagon ABCDE without anti-aliasing processing. FIG. 23 is an explanatory diagram showing the state of the latent image depending on the level of pulse width modulation. Figure 24 is Figure 5 (
An explanatory diagram showing a toner image when pulse width modulation is applied to the pentagonal ABCDE shown in a), FIG. 25(a), (
b) is an explanatory diagram showing conventional anti-aliasing processing;
FIGS. 26(a) and 26(b) are explanatory diagrams showing anti-aliasing processing using the uniform averaging method, and FIG. 27(a),
(b) is an explanatory diagram showing anti-aliasing processing using weighted averaging method; Fig. 28 (a), (b), (C
), (d) is an explanatory diagram showing an example of a filter used in the weighted averaging method, and FIG. 29 is an explanatory diagram showing a convolution method with reference to 3×3 pixels. Description of symbols Post computer PDL controller Receiving device 202 ・Internal system bus RAM 205 Page memory I10 device Image reading device Image processing device OM Transmitting device PU 20 B-m= 300-・Multinary color laser printer system control unit

Claims (1)

【特許請求の範囲】  塗りつぶすべき面積率に基づいて、ベクトルデータの
エッジ部画素の出力を調整し、出力画像のエッジ部のギ
ザギザ(エイリアス)を滑らかに表現するアンチエイリ
アシング処理を実行する図形処理装置において、 前記エッジ部画素上に複数の座標値近似点を設け、前記
ベクトルデータのエッジ部画素に対する入出力座標値、
及び、エッジ部画素内の端点の座標値を、前記複数の座
標値近似点のうちの最も近い座標値近似点に近似する座
標値近似手段と、予め、前記複数の座標値近似点の組み
合わせ、エッジ部画素内の端点の有無、及び、エッジの
種類に基づいて、前記エッジ部画素を分類し、前記エッ
ジ部画素の分類毎に設定した近似面積率を記憶した記憶
手段と、 前記座標値近似手段によって近似した座標近似点、端点
の有無、及び、エッジの種類に基づいて、前記記憶手段
から該当する近似面積率を読み込み、前記エッジ部画素
の近似面積率を決定する近似面積率決定手段とを備えた
ことを特徴する図形処理装置。
[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. A plurality of coordinate value approximate points are provided on the edge pixel, and input/output coordinate values for the edge pixel of the vector data are set;
and a coordinate value approximation means for approximating the coordinate value of an end point in the edge pixel to the closest coordinate value approximate point among the plurality of coordinate value approximate points, and a combination of the plurality of coordinate value approximate points in advance; a storage means that classifies the edge pixels based on the presence or absence of an end point in the edge pixel and the type of edge, and stores an approximate area ratio set for each classification of the edge pixel; and the coordinate value approximation. Approximate area ratio determining means reads the corresponding approximate area ratio from the storage means based on the coordinate approximate point approximated by the means, the presence or absence of an end point, and the type of edge, and determines the approximate area ratio of the edge portion pixel; A graphic processing device characterized by comprising:
JP16905090A 1990-06-27 1990-06-27 Graphic processor Pending JPH0457175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16905090A JPH0457175A (en) 1990-06-27 1990-06-27 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16905090A JPH0457175A (en) 1990-06-27 1990-06-27 Graphic processor

Publications (1)

Publication Number Publication Date
JPH0457175A true JPH0457175A (en) 1992-02-24

Family

ID=15879402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16905090A Pending JPH0457175A (en) 1990-06-27 1990-06-27 Graphic processor

Country Status (1)

Country Link
JP (1) JPH0457175A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020013250A (en) * 2018-07-17 2020-01-23 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020013250A (en) * 2018-07-17 2020-01-23 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image processing program

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
JPH07274029A (en) Two-level degital color printer system with improved procedure for undercolor removal and error distribution
JPH0457175A (en) Graphic processor
JP2790707B2 (en) Graphic processing unit
JPH03286384A (en) Graphic processor
JPH041872A (en) Graphic processor
JPH0481170A (en) Graphic processing unit
JPH04144479A (en) Graphic output device
JPH04143873A (en) Graphic processor
JPH03278287A (en) Method and device for antialiasing processing
JP2798496B2 (en) Graphic processing unit
JP3148291B2 (en) Graphic output device
JPH0433075A (en) Graphic processor
JPH04155385A (en) Graphic processing device
JPH04150563A (en) Image processor
JPH04157980A (en) Graphic processor
JPH04152757A (en) Image forming device
JPH04152751A (en) Image forming device
JPH04117581A (en) Graphic processor
JPH0433074A (en) Graphic processor
JPH04249977A (en) Graphical output device
JPH04154363A (en) Image forming device
JPH04207260A (en) Figure output device