JPH04143873A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH04143873A
JPH04143873A JP26731990A JP26731990A JPH04143873A JP H04143873 A JPH04143873 A JP H04143873A JP 26731990 A JP26731990 A JP 26731990A JP 26731990 A JP26731990 A JP 26731990A JP H04143873 A JPH04143873 A JP H04143873A
Authority
JP
Japan
Prior art keywords
image
processing
area ratio
edge
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
JP26731990A
Other languages
Japanese (ja)
Inventor
Hitomi Kumazaki
熊崎 ひとみ
Yoshiaki Haniyu
羽生 嘉昭
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 JP26731990A priority Critical patent/JPH04143873A/en
Publication of JPH04143873A publication Critical patent/JPH04143873A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To quickly obtain an approximate area rate without dividing a picture element to subpixels neither counting the number of painted-out picture elements by using the number of picture elements in the edge part to obtain the approximate area rate of picture elements in the edge part by interpolation of the area rate in a picture part and that in a non-picture part. CONSTITUTION:Coordinate values Xa and Xb of two intersections where vector data traverses scan lines Y0 and Y1 are inputted to calculate the number of picture elements in the edge part, and this number of picture elements is used to approximate area rates of plural picture elements in the edge part at a time by interpolation of the area rate of the picture part and that of the non- picture part. That is, approximate area rates of (m) picture elements in the edge part are calculated at a time based information indicating that the edge of the picture is extended over (m) picture elements ((m) is a positive integer) on scan lines Y0 and Y1. Thus, the approximate area rate is quickly obtained without dividing a picture element to subpixels neither counting the number of painted-out picture elements.

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, a technique called anti-aliasing processing is used to display images on a CRT, which is an output medium, and to make the displayed images 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 is used to smooth the surface as shown in the figure.

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

■均一平均化法は、各ビクセル(画素)をN*M(N、
Mは自然数)のサブピクセルに分解し、高解像度でラス
ク計算を行った後、各ピクセルの輝度をN*Mサブビク
セルの平均をとって求めるものである。第26図(a)
、(b)を参照して、均一平均化法によるアンチエイリ
アシング処理を具体的に説明する。あるビクセルに画像
の端がかかっている場合(ここでは斜めの線の右下に画
像がつながっているものとする)、アンチエイリアシン
グ処理を行わないときは、同図(a)に示すように、こ
のビクセルの輝度kidには表示できる階調の最高輝度
(例えば、256階調ではkid・255)が割り当て
られる。このビクセルにN=M=7の均一平均化法によ
るアンチエイリアシング処理を実施する場合、同図(ロ
)に示すように、ビクセルを7*7のサブピクセルに分
解し、画像に覆われているサブビクセル数をカウントす
る。そのカウント数(28)を1ビクセル中の全サブビ
クセル数(この場合、49)で割って規格化(平均化)
したものを最高輝度(255)に掛け、そのビクセルの
輝度を算出する。このように均一平均化法では、各ビク
セルに画像がどのようにかかっているかを考慮にいれて
そのビクセルの輝度を決める。
■The uniform averaging method calculates each pixel by N*M (N,
After decomposing the image into sub-pixels (M is a natural number) and performing rask calculation at high resolution, the brightness of each pixel is determined by taking the average of N*M sub-pixels. Figure 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 lower 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*7 subpixels, and the pixels covered by the image are divided into 7*7 subpixels. Count the number of sub-vixels. The count number (28) is divided by the total number of sub-vixels in one pixel (49 in this case) and normalized (averaged)
The brightness of that pixel is calculated by multiplying the brightness by the maximum brightness (255). 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 weighted averaging method, which simply counts subpixels, weighting gives each subpixel a weight, and the influence on the brightness kid of that subpixel depends on which subpixel the image falls on. are different. 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.

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

■畳み込み積分法 畳み込み積分法は、1つのビクセルの輝度を決定するに
あたり、その周りのビクセルの様子も参照する方法であ
る。即ち、輝度を決定しようとする1ピクセルの周りN
’ XN’ ビクセルを、均−平均化法或いは重み付は
平均化法のビクセルに対応させたものと考える。第29
図は3×3ピクセル参照の畳み込み積分法を示す。この
図で、輝度を決定しようとしているビクセルを2901
で示す。画像は斜めの線の右下に続いており、黒く塗っ
たサブピクセルがカウントされるサブピクセルである。
■Convolution Integration Method The convolution integration 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
It is assumed that the 'XN' pixel corresponds to the pixel of the equal-averaging method or the weighting/averaging method. 29th
The figure shows a convolution method with 3x3 pixel references. In this figure, the pixel whose brightness is to be determined is 2901
Indicated by The image continues below and to the right of the diagonal line, and the subpixels painted black are the subpixels that are counted.

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

一方、パーソナルコンピュータを用いた出版システム、
所謂、DTP (デスク・トップ・パブリッシング)の
普及に伴い、コンピュータ・グラフィクスで扱うような
ベクトル画像を印字するシステムが広く使われるように
なっている。その代表的なものとして、例えば、アトと
社のポスト・スクリプトを用いたシステムがある。ポス
ト・スクリプトは、ページ記述言語(Page 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 Atoto Co.'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 novel programming language, and such systems use vector fonts as character fonts. 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のものが多く、コンピュータ・グラフィックスのC
RT表示と同様に、解像度が低いためにエイリアスが発
生するという問題点がある。このため、レーザプリンタ
を用いた印字においても、アンチエイリアシング処理を
行い、印字画像の品質を向上させる必要が起こっている
However, the resolution of the laser printers used in these systems is at most 240dpi to 400dp.
There are many i, computer graphics C
Similar to RT display, there is a problem in that aliasing occurs due to the low resolution. For this reason, even in printing using a laser printer, there is a need to perform anti-aliasing processing to improve the quality of the printed image.

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

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

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

本発明は上記の目的を達成するため、塗りつぶすべき面
積率に基づいて、ベクトルデータのエツジ部の画素の出
力を調整し、出力画像のエツジ部のギザギザ(エイリア
ス)を滑らかに表現するアンチエイリアシング処理を実
行する図形処理装置において、ベクトルデータがスキャ
ンラインを横切る際の2つの交点の座標値を入力して、
エツジ部画素数を演算するエツジ部画素数演算手段と、
エツジ部画素数を用いて、画像部の面積率と非画像部の
面積率の内挿によってエツジ部の画素の近似面積率を求
める近似面積率決定手段とを備えた図形処理装置を提供
するものである。
In order to achieve the above object, the present invention adjusts the output of pixels at the edges of vector data based on the area ratio to be filled, and performs anti-aliasing processing to smoothly express jaggedness (alias) at the edges of the output image. In the graphic processing device that executes, input the coordinate values of the two intersection points when the vector data crosses the scan line,
Edge portion pixel number calculation means for calculating the number of edge portion pixels;
Provided is a graphic processing device equipped with an approximate area ratio determining means for determining an approximate area ratio of pixels in an edge part by interpolating an area ratio of an image part and an area ratio of a non-image part using the number of pixels of an edge part. It is.

〔作用〕[Effect]

本発明の図形処理装置において、エツジ部画素数演算手
段は、ベクトルデータがスキャンラインを横切る際の2
つの交点の座標値を入力して、エツジ部画素数を演算す
る。続いて、近似面積率決定手段により、エツジ部画素
数を用いて、画像部の面積率と非画像部の面積率の内挿
によってエツジ部の画素の近似面積率を決定する。
In the graphic processing device of the present invention, the edge portion pixel number calculation means is configured to calculate
Input the coordinate values of the two intersection points and calculate the number of edge pixels. Subsequently, the approximate area ratio determination means determines the approximate area ratio of the pixels in the edge part by interpolating the area ratio of the image part and the area ratio of the non-image part using the number of pixels in the edge part.

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

■画像処理装置の構成、■多値カラー・レーザープリン
ターの構成及び動作、■ドライバの多値駆動の順で詳細
に説明する。
A detailed explanation will be given in the following order: 1) 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コントローラと記
載する)は、ベクトルデータがスキャンラインを横切る
際の2つの交点の座標値を入力して、エツジ部画素数を
演算し、該エツジ部画素数を用いて、画像部の面積率と
非画像部の面積率の内挿によってエツジ部の複数の画素
の近似面積率を一度に求めるものである。即ち、1つの
スキャンライン上で、m個の画素(mは正数)に渡って
画像のエツジがかかっているという情報に基づいて、m
個のエツジ部画素の近似面積率を一度に導くものである
■Overview of anti-aliasing processing The graphic processing device of the present invention (hereinafter referred to as PDL controller) calculates the number of pixels at the edge by inputting the coordinate values of two intersection points when vector data crosses a scan line. , the approximate area ratio of a plurality of pixels in the edge part is obtained at once by interpolating the area ratio of the image part and the area ratio of the non-image part using the number of pixels of the edge part. That is, based on the information that the edge of the image spans m pixels (m is a positive number) on one scan line,
This method derives the approximate area ratio of each edge pixel at once.

第1図(a)に示すように、ベクトルデータがYo・Y
Iスキャンラインを横切る場合、画像部に近い側(同図
ではY0側)でX座標値Xaの交点。
As shown in Figure 1(a), the vector data is Yo and Y.
When crossing the I scan line, the intersection point of the X coordinate value Xa is on the side closer to the image area (Y0 side in the figure).

画像部から遠い側(同図ではYl側)でX座標値xb交
点の2つの交点ができる。これは、スキャンラインが1
画素分の厚み(即ち、Y+  Yoの厚み)をもってい
るためである、尚、以降、ベクトルデータとスキャンラ
インの2つの交点のうち、画像部に近い交点のX座標値
をXa 、 il像部から違い交点のX座標値をxbと
記載する。
Two intersections of X coordinate values xb are formed on the side far from the image area (Yl side in the figure). This means that the scan line is 1
This is because it has the thickness of a pixel (that is, the thickness of Y + Yo).Hereafter, among the two intersections of the vector data and the scan line, the X coordinate value of the intersection closest to the image area is calculated from the image area Xa and il. The X coordinate value of the difference intersection is written as xb.

従って、lXaの整数部−xbの整数部i+1の値が、
Yo ・Y1スキャンライン上を横切るベクトルデータ
によるエツジ部画素の個数mとなる。
Therefore, the value of the integer part of lXa - the integer part i+1 of xb is
Yo.Y1 The number of edge pixels based on vector data crossing the scan line is m.

本発明では、画像部側から非画像部側に向かって(同図
(a)において、画素Aから画素りに向かって)ベクト
ルデータの傾きにあわせて除々に小さくしながら近似面
積率を求める。実際には、ベクトルデータの傾き情報は
、エツジ部画素の個数mの中に含まれており、連続する
エツジ部画素において一定であるので、画像部から非画
像部に向かって内挿する形で途中の画素(エツジ部画素
)の近似面積率を求めればよい。
In the present invention, the approximate area ratio is determined by gradually decreasing it in accordance with the slope of the vector data from the image part side to the non-image part side (from pixel A to the next pixel in FIG. 3A). In reality, the slope information of vector data is included in the number m of edge pixels, and is constant for consecutive edge pixels, so it is interpolated from the image area to the non-image area. What is necessary is to find the approximate area ratio of the intermediate pixels (edge portion pixels).

以下、第1図(b)を参照して、内挿法による近似面積
率の求め方を説明する。
Hereinafter, with reference to FIG. 1(b), an explanation will be given of how to obtain the approximate area ratio by interpolation.

Yo ・Y1スキャンラインとベクトルデータの交点X
a、Xbから前述した式(l Xaの整数部−xbの整
数部1+1)を用いて求めた値がmとすると、エツジ部
画素のm個の画素にわたっていることになる。
Yo ・Intersection X of Y1 scan line and vector data
If m is the value obtained from a and Xb using the above-mentioned formula (l - the integer part of

ここで、面積率を最高値(n−1)から最低値0までの
n段階とし、説明を簡単にするために(n−1)倍して
表現する。従って、画素全体を画像が覆っている場合の
面積率は本来「1」であるが、以降、画像部の面積率を
(n−1)として表現し、非画像部の面積率を0として
表現する。
Here, the area ratio is expressed in n stages from the highest value (n-1) to the lowest value 0, and is expressed by multiplying it by (n-1) to simplify the explanation. Therefore, the area ratio when the image covers the entire pixel is originally "1", but from now on, the area ratio of the image part is expressed as (n-1), and the area ratio of the non-image part is expressed as 0. do.

これは、(n−1)個のサブピクセル分割によって求め
た近似面積率に相当する。
This corresponds to the approximate area ratio obtained by dividing into (n-1) subpixels.

先ず、m個のエツジ部画素の近似面積率を(n−1)と
Oを内挿するように決定する。即ち、エツジ部の近似面
積率は、Xaの存在する画素からxbの存在する画素ま
で、順に、 (a++1)   、    (m+1)  、、、、
(m+1)をそれぞれ四捨五入して求められる。
First, the approximate area ratio of m edge pixels is determined by interpolating (n-1) and O. That is, the approximate area ratio of the edge part is (a++1), (m+1), , , in order from the pixel where Xa exists to the pixel where xb exists.
(m+1) is rounded off to the nearest whole number.

例えば、第1図(C)は、サブピクセル分割2*2の場
合に相当する面積率が最低値0から最高値4の5段階の
近似面積率の計算例を示し、換言すれば、画像部の画素
の近似面積率が4、非画像部の近似面積率がOの場合を
表している。
For example, FIG. 1(C) shows an example of calculation of the approximate area ratio in five stages from the lowest value 0 to the highest value 4, which corresponds to the case of subpixel division 2*2. The approximate area ratio of the pixel is 4, and the approximate area ratio of the non-image area is O.

画像部に近い方のX座標値Xaのあるエツジ部画素Aか
ら、xbのあるエツジ部画素りに向かって近似面積率を
決定する。ここで、Xa =6.5゜Xb =3.6で
、整数部の差は3であるので、m −4となる。従って
、エツジ部画素Aの近似面積率からエツジ部画素りの近
似面積率まで順に、(4X4)15の四捨五入値=3 (3x4)15の四捨五入値=2 (2X4)15の四捨五入値=2 (IX4)15の四捨五入値=1 となり、エツジ部画素Aが近似面積率3、エツジ部画素
Bが近似面積率2、エツジ部画素Cが近似面積率2、エ
ツジ部画素りが近似面積率1として求められる。
An approximate area ratio is determined from an edge pixel A having an X coordinate value Xa closer to the image portion to an edge pixel having an X coordinate value xb. Here, since Xa = 6.5°Xb = 3.6 and the difference in the integer parts is 3, it becomes m -4. Therefore, from the approximate area ratio of edge pixel A to the approximate area ratio of edge pixel A, (4X4) rounded value of 15 = 3 (3x4) rounded value of 15 = 2 (2X4) rounded value of 15 = 2 ( IX4) The rounded value of 15 = 1, and the edge part pixel A is the approximate area ratio 3, the edge part pixel B is the approximate area ratio 2, the edge part pixel C is the approximate area ratio 2, and the edge part pixel 1 is the approximate area ratio 1. Desired.

前述した内挿法を用いることにより、サブピクセル毎の
スキャンライン処理や、その後のサブピクセルのカウン
ト処理を必要としないので、その分高速に処理できる。
By using the above-mentioned interpolation method, scan line processing for each subpixel and subsequent subpixel counting processing are not required, so processing can be performed at a correspondingly high speed.

また、複数のエツジ部画素を除々に変調しているので、
正確な変調を行った場合と比較して画質もほとんど変わ
らない。
Also, since multiple edge pixels are gradually modulated,
There is almost no difference in image quality compared to when accurate modulation is performed.

尚、Yo ・YIスキャンラインの間にベクトルの端点
があるときには、xb側が端点の場合と、Xa側が端点
の場合の2つに分けて以下のように処理する。
Note that when there is an endpoint of a vector between the Yo and YI scan lines, the following processing is performed for two cases: a case where the endpoint is on the xb side and a case where the endpoint is on the Xa side.

先ず、第1図((支)に示すようにXaが通常どおり存
在し、xb側が端点の場合、端点のX座標をxbと考え
て、端点かない場合と同様の処理を行う。
First, if Xa exists as usual and the xb side is an endpoint as shown in FIG.

次に、第1図(e)に示すようにxbが通常どおり存在
し、Xa側が端点の場合、端点のX座標をXaと考えて
、端点かない場合とほぼ同様の処理を行うが、この場合
、Xaの存在するエツジ部画素の面積率を内挿法の最高
価として定義する。
Next, as shown in Figure 1(e), if xb exists as usual and the endpoint is on the Xa side, the X coordinate of the endpoint is considered to be Xa, and almost the same processing as when there is no endpoint is performed. , Xa is defined as the highest value of the interpolation method.

具体的には、内挿する画素の個数mを(l Xaの整数
部−xbの整数部1)として求め、Xaが端点のときの
Xaの存在するエツジ部画素の面積率を予め決めておき
、その値を前述した内挿式の最高値(n−1)と置き換
えて、Xaの画素の隣の画素からxbの存在する画素ま
で近似面積率を求める。ここで、平均すると端点が画素
の中央部に存在すると考えると、Xaが端点のときのX
aの存在するエツジ部画素の面積率を(n−1)/2と
設定することができる。
Specifically, the number m of pixels to be interpolated is determined as (l integer part of Xa - integer part 1 of xb), and the area ratio of edge pixels where Xa exists when Xa is an end point is determined in advance. , and replaces that value with the highest value (n-1) of the interpolation formula described above to obtain an approximate area ratio from the pixel next to the pixel Xa to the pixel where xb exists. Here, if we consider that on average the endpoint exists in the center of the pixel, then when Xa is the endpoint,
The area ratio of the edge pixel where a exists can be set to (n-1)/2.

更に、2本以上のベクトルデータが1つのエツジ部画素
に対してあった場合は、それらの近似面積率の平均をと
ることとする。
Furthermore, if there are two or more pieces of vector data for one edge pixel, their approximate area ratios are averaged.

上記のようにアンチエイリアシング処理を行うことによ
り、エツジ部画素の近似面積率を簡単、且つ、高速に求
めることが可能となる。また、上記内挿法による精密さ
は、ベクトルデータがYo・Y1スキャンラインと交わ
った場合(端点を含まない場合)には、かなりよいと考
えられ、実際、端点を含まない場合がほとんどであるこ
とを考えると、サブビクセル分割法とほぼ同等である。
By performing the anti-aliasing process as described above, it becomes possible to easily and quickly obtain the approximate area ratio of the edge portion pixels. Also, the accuracy of the above interpolation method is considered to be quite good when the vector data intersects the Yo/Y1 scan line (does not include end points), and in fact, in most cases it does not include end points. Considering this, it is almost equivalent to the sub-vixel division method.

■画像形成システムのブロック図 本実施例の画像形成システムは、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 (Bost script 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コントローラ2002画像読取り装置30
0.ii像処理装置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 2002 image reading device 30
0. ii image processing device 400. and a system control section 600 that controls the multivalued color laser printer 500.

■PDLコントローラの構成及び動作 第3図は、PDLコントローラ200の構成ヲ示し、ホ
ストコンピュータ100から送られてきたPDL言語を
受信する受信装置201と、受信袋2201で受信した
PDL言語の格納制御及びアンチエイリアシング処理の
実行を行うCPU202と、内部システムバス203と
、内部システムバス203を介して受信装置201から
転送させるPDL言語を格納するRAM204と、アン
チエイリアシングプログラム等を格納したROM205
と、アンチエイリアシング処理を施した多値のROBイ
メージデータを格納するページメモリ206と、ページ
メモリ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 PDL language sent from the host computer 100, storage control of the PDL language received by the receiving bag 2201, and A CPU 202 that executes anti-aliasing processing, an internal system bus 203, a RAM 204 that stores PDL language to be transferred from the receiving device 201 via the internal system bus 203, and a ROM 205 that stores anti-aliasing programs and the like.
, a page memory 206 that stores multivalued ROB image data subjected to anti-aliasing processing, a transmitting device 207 that transfers the RGB image data stored in the page memory 206 to the image processing device 400 , and a system control unit 600 . It is composed of an I10 device 208 that performs transmission and reception.

ここで、CPU202は、受信装置201で受信したP
DL言語をROM205に格納されたプログラムに従っ
て、内部システムバス203を通して、RAM204に
格納する。その後、lベージ分のPDL言語を受信し、
RAM204へ格納すると、後述するフローチャートに
基づいて、RAM204内の図形要素にアンチエイリア
シング処理を施し、多値のRGBイメージデータをペー
ジメモリ206のブレーンメモリ部に格納する(ページ
メモリ206は、R,G、Bのブレーンメモリ部と、特
徴情報メモリ部とからなる)。
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, receive 1 page of PDL language,
Once stored in the RAM 204, the graphic elements in the RAM 204 are subjected to anti-aliasing processing based on a flowchart to be described later, and the multivalued RGB image data is stored in the brain memory section of the page memory 206 (the page memory 206 is , B's brain 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、:
7ン)ローラ200の動作を説明する。
Hereinafter, with reference to FIGS. 4(a) and (b), PDL:
7) The operation of the roller 200 will be explained.

第4図(a)は、CPU202が行う処理のフローチャ
ートを示す。PDLコントローラ200は、前述したよ
うにホストコンピュータ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 computer 100, and converts it to red (R).

緑(G)、青(B)の3色のイメージ画像に展開する。It is developed into three-color images: green (G) 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. Further, one page is made up of at least one bus, each of which is made up of one or more elements (graphic elements and character elements).

先ず、PDL言語を入力すると、その要素が曲線ベクト
ルか否か判定し、曲線ベクトルの場合はこれを直線ベク
トルに近似して、直線要素(ライン)として作業エリア
に登録する。これを1つのバス内の全ての図形及び文字
要素について行い、バス単位で作業エリアへ直線要素の
登録を実施する(処理1)。
First, when PDL language is input, it is determined whether the element is a curved vector, and if it is a curved vector, it is approximated to a straight line vector and registered as a straight line element (line) in the work area. This is performed for all graphic and character elements within one bus, and linear elements are registered in the work area for each bus (processing 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つずつ更新しながら、
走査線による塗りつぶし処理を行う。例えば、第4図[
有])に示すバスの塗りつぶし処理を実施する場合、処
理する走査線yc(本実施例では、前述したYo ・Y
1スキャンラインのように1画素分の厚みをもったもの
をスキャンラインとして記載し、厚みをもたない直線を
示す場合のスキャンラインを走査線と記載する)の横切
る辺の要素と、その走査線ycを横切ったX座標の実数
値(第4図に示すXI  Xz Xz X4)とをAE
T(Active Edge Table :走査線上
に現れるエツジ部のX座標を記録するテーブル)に登録
する。ここで、作業エリアに登録されている要素の順番
は、処理1で登録した順番になっているため、必ずしも
走査線ycを横切るX座標が小さい順に登録されている
とは限らない。例えば、処理1において、第4図の走査
線ycとx3とを通過する直線要素が最初に処理された
場合には、走査線yc上に現れるエツジ部のX座標とし
てX、がAETに最初に登録される。そこで、AETの
登録後、AET内の各辺の要素をX座標の小さい順にソ
ーティングする。そして、AETの最初の要素から2つ
をペアにして、その間を塗りつぶす(具体的には、例え
ば、走査線ycと走査線yc+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
A scan line that has a thickness of one pixel, such as one scan line, is described as a scan line, and a scan line that indicates a straight line with no thickness is described as a scan line), and its scanning. The real value of the X coordinate across the line yc (XI Xz Xz X4 shown in Figure 4) is
T (Active Edge Table: a table that records the X coordinate of an edge portion appearing on a scanning line). Here, the order of the elements registered in the work area is the order in which they were registered in process 1, so they are not necessarily registered in order of decreasing X coordinate across the scanning line yc. For example, in process 1, if a straight line element passing through scanning lines yc and x3 in FIG. 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, the first two elements of AET are made into a pair, and the space between them is filled in (specifically, for example, a filling process is performed using a scan line formed by scanning line yc and scanning line yc+1).

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

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

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

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

(イ)AB、BC,CD、DE、EAの5本の線ベクト
ル(実数表現) (II)図形内部の色及び輝度値 この図形は前述の動作により、第5図(b)に示すよう
に、主走査方向に延びた7本の直線ベクトル(実数表現
)に分割される。この時、本実施例では、以下に示す情
報を7本の直線ベクトルの始点及び終点に付加する。即
ち、 (ハ)直線ベクトルの始点及び終点を構成するベクトル
要素(上記の(イ))の始点座標値(実数表現) (ニ)直線ベクトルの始点及び終点を構成するベクトル
要素の傾き情報 (ネ)直線ベクトルの始点及び終点の特徴情報(右エツ
ジ、左エツジ、図形の端点、1ドツト以下の線、直線の
交差部等) スキャンラインの塗りつぶし処理において、エツジ部画
素が検出されると、第4図(C)のフローチャートに示
すアンチエイリアシング処理を実行する。
(B) Five line vectors AB, BC, CD, DE, and EA (represented by real numbers) (II) Color and brightness values inside the figure As shown in Figure 5 (b), this figure is , into seven straight line vectors (expressed as real numbers) extending in the main scanning direction. At this time, in this embodiment, the following information is added to the starting points and ending points of the seven straight line vectors. That is, (c) Starting point coordinate values (real number expression) of the vector elements ((a) above) forming the starting point and ending point of the straight line vector (d) Slope information (near ) 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.) When an edge pixel is detected in the scan line filling process, the The anti-aliasing process shown in the flowchart of FIG. 4(C) is executed.

先ず、エツジ部画素が左エツジか右エツジか、エツジの
種類を判定しく5401)、左エツジの場合、Yo ・
Y、スキャンラインとベクトルデータの交点のうち、大
きい方をXa、小さい方をxbとして設定しく5402
)、右エツジの場合、Yo ・Y1スキャンラインとベ
クトルデータの交点のうち、小さい方をXa、大きい方
をxbとして設定する(5403)。換言すれば、Yo
 ・Y、スキャンラインとベクトルデータの2つの交点
のうち、画像部に近い交点のX座標値をXa、画像部か
ら遠い交点のX座標値をxbに設定する。
First, it is necessary to determine whether the edge pixel is a left edge or a right edge (5401), and if it is a left edge, Yo
Among the intersections of Y, scan line and vector data, set the larger one as Xa and the smaller one as xb5402
), in the case of the right edge, the smaller one of the intersections of the Yo/Y1 scan line and the vector data is set as Xa, and the larger one is set as xb (5403). In other words, Yo
- Of the two intersections of the Y, scan line and vector data, set the X coordinate value of the intersection near the image area to Xa, and set the X coordinate value of the intersection far from the image area to xb.

次に、エツジ部画素の中にベクトルの端点が含まれてい
るか否か、ベクトルの端点の有無を判定する(S404
)。ベクトルの端点が無い場合、即ち、交点Xa、Xb
の両方が存在する場合には、次式■によってエツジ部画
素数mを算出する(S405)。
Next, it is determined whether the end points of the vector are included in the edge pixels (S404).
). If there are no end points of the vector, that is, the intersections Xa and Xb
If both exist, the number m of pixels in the edge portion is calculated using the following equation (2) (S405).

m=(lXaの整数部−xbの整数部1+1 >−■続
いて、5406で画素の面積率の最高値kIIlax(
kmax=n  1 :面積率をn段階とした場合の最
高値を示し、本実施例では面積率を10段階としたため
、kmaxは9である)を設定し、Xaの存在するエツ
ジ部画素を1番目としてxb力方向α番目(αはl−m
)のエツジ部画素βをβ=αとして定義する(5407
)。
m=(integer part of lXa - integer part 1+1 of xb
kmax=n 1 : Indicates the highest value when the area ratio is set to n stages; in this example, the area ratio is set to 10 stages, so kmax is 9), and the edge part pixel where Xa exists is set to 1. xb force direction αth (α is l-m
) edge pixel β is defined as β=α (5407
).

一方、ベクトルの端点が有る場合、端点が交点Xa、X
bの何れの側にあるか判定しく5408)、xb側の場
合には端点のX座標値ををxbとしく5409)、54
05へ進む。また、端点がXa側の場合には端点のX座
標値をXaとしく5410)、次式■によってエツジ部
画素数mを算出する(5411)。
On the other hand, if the vector has endpoints, the endpoints are the intersections Xa and X
Determine which side of b it is on 5408), and if it is on the xb side, let the X coordinate value of the end point be xb5409), 54
Proceed to 05. If the end point is on the Xa side, the X coordinate value of the end point is set to Xa (5410), and the number m of pixels in the edge portion is calculated using the following equation (2) (5411).

m=IXaの整数部−xbの整数部1 ・−・・■続い
て、5412で画素の面積率の最高値kmax(kma
x=n −1/ 2 :面積率をn段階とした場合の端
点の面積率を示し、本実施例では面積率を10段階とし
たため、kmaxは9/2となる)を設定し、Xaの存
在するエツジ部画素を1番目としてxb力方向α番目(
αは1〜m)のエツジ部画素βをβ=α−1として定義
する(5413)。
m = integer part of IXa - integer part 1 of
x=n -1/2: indicates the area ratio of the end point when the area ratio is set to n stages, and in this example, the area ratio is set to 10 stages, so kmax is 9/2) is set, and Xa is xb force direction αth (
The edge pixel β of α is 1 to m is defined as β=α−1 (5413).

その後、5414において、次式■の内挿法の弐を用い
て、1〜β番目までのエツジ部画素の近似面積率を求め
る。
Thereafter, in step 5414, approximate area ratios of the 1st to βth edge pixels are determined using the second interpolation method of the following equation (2).

更に、処理しているエツジ部画素に他のベクトルデータ
が存在するか判定しく5415)、存在すれば全てのベ
クトルデータによる近似面積率を平均してそのエツジ部
画素の近似面積率にとする(5416)。存在しない場
合は5414で求めた近似面積率kを使用する。
Furthermore, it is determined whether other vector data exists in the edge pixel being processed (5415), and if so, the approximate area ratios of all vector data are averaged to obtain the approximate area ratio of the edge pixel (5415). 5416). If it does not exist, the approximate area ratio k obtained in step 5414 is used.

CPU202は、上記の処理を走査線(y座標)の最後
の画素まで繰り返し、同時に上記の(=)の情報により
、上記(ハ)の内容を更新する。このようにしてアンチ
エイリアシング処理によって求めた第5図(a)の図形
の近似面積率k(前述したように近似面積率には全て(
n−1)倍で表しである)は第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 (=) above. Approximate area ratio k of the figure in FIG.
(expressed as n-1) times) has a value as shown in FIG.

ここで、第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.

尚、次式で、近似面積率には(n−1)倍していない値
を用いるものとする。
Note that in the following equation, a value that is not multiplied by (n-1) is used for the approximate area ratio.

K、= K□xk  + K、zx(1k)K* = 
Kc+Xk  + KczX(1−k)K、=に□Xk
 + KRIX(1k)但し、KRI、  K−1,K
□はそれぞれ上記(El)で与えられる図形の色(それ
ぞれ赤、緑、青)の輝度値を示し、KHz、  Kcm
、に0は以前に塗られた各色の輝度値を示す。尚、Kl
!、に、、、に、、はベージメモリ206のRGBに対
応する各ブレーンメモリ部のデータを参照する。
K, = K□xk + K,zx(1k)K* =
Kc+Xk + KczX(1-k)K,=□Xk
+ KRIX (1k) However, KRI, K-1, K
□ indicates the brightness value of the color (red, green, blue, respectively) of the figure given by (El) above, KHz, Kcm
, 0 indicates the brightness value of each previously painted color. In addition, Kl
! , , , , refer to data in each brain memory section corresponding to RGB of the page memory 206.

このようにして求められた輝度値Kl’1KflK、の
輝度値は、第7図(a)、 (b)、 (C)ニ示すヨ
ウニ、ページメモリ206の該当するブレーンメモリ部
にRGBイメージデータとして格納される。ここで、比
較のためにアンチエイリアシング処理を施していない場
合のRGBイメージデータを第8図(a)、 (b)、
 (C)に示す。
The brightness value Kl'1KflK obtained in this way is stored as RGB 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図を参照して画像処理装置400の構成を説明する
(2) Configuration of Image Processing Apparatus The configuration of the image processing apparatus 400 will be explained with reference to FIG. 9.

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

イエロー(Y)、マゼンタ(M)、及び、シアン(C)
の各記録信号に変換する。また、前述したPDLコント
ローラ200から与えられるRGBイメージデータを同
様にブランク(BK)、イエロー(Y)、マゼンタ(M
)、及び、シアン(C)の各記録信号に変換する。ここ
で、画像読取り装置300から画像信号を入力するモー
ドを複写機モード、PDLコントローラ200からRG
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 are similarly applied to blank (BK), yellow (Y), magenta (M
) and cyan (C) recording signals. Here, the mode for inputting the image signal from the image reading device 300 is the copying machine mode, and the mode for inputting the image signal from the PDL controller 200 is set to the RG mode.
The mode in which B image data is input is called a graphics mode.

画像処理装置400は、CCD7r、7g、及び、7b
の出力信号を8ビツトにA/D変換した色階調データを
入力し、該色階調データの光学的な照度むらや、CCD
7 r、、7 g、7 bの内部端子素子の怒度ばらつ
き等に対する補正を実行するシェーディング補正回路4
01と、シェーディング補正回路401の出力する色階
調データ、或いは、PDLコントローラ200の出力す
る色階調データ(RGBイメージデータ)の一方を前述
したモードに従って選択的に出力するマルチプレクサ4
02と、マルチプレクサ402の出力する8ビツトデー
タ(色階調データ)を入力し、感光体の特性に合わせて
階調性を変更して6ビツトデータとして出力するγ補正
回路403と、γ補正回路403から出力される(R)
、緑(G)、青(B)の階調を示す6ビツトの階調デー
タをそれぞれの補色であるシアン(C)、マゼンタ(M
)イエロー(Y)の階調データ(6ビツト)に変換する
補色生成回路405と、補色生成回路405から出力さ
れるY、M、Cの各階調データに所定のマスキング処理
を行うマスキング処理回路406と、マスキング処理後
のY、 M、  Cの各階調データを入力してUCR処
理及び黒発生処理を実行するUCR処理・黒発生回路4
07と、UCR処理・黒発生回路407から出力される
Y、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 4 that performs correction for variations in the degree of anger of internal terminal elements of 7r, 7g, and 7b.
01, and a multiplexer 4 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.
02, a γ correction circuit 403 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, and a γ correction circuit. Output from 403 (R)
, green (G), and blue (B) are used as complementary colors, cyan (C) and magenta (M).
) A complementary color generation circuit 405 that converts into yellow (Y) gradation data (6 bits), and a masking processing circuit 406 that performs predetermined masking processing on each Y, M, and C gradation data output from the complementary color generation circuit 405. and a UCR processing/black generation circuit 4 that inputs each Y, M, and C gradation data after masking processing and executes UCR processing and black generation processing.
07, and Y and M output from the UCR processing/black generation circuit 407.

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

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

また、階調処理回路408で使用するアルゴリズムとし
ては、多値デイザ法、多値誤差拡散法等を適用すること
ができ、例えば、多値デイザ法のデイザマトリクスを3
×3とすると、多値カラー・レーザー・プリンタ500
の階調数は3X3の面積階調と、3ビツト(即ち、8段
階)の多値レベルの積となり、 3X3X8=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 3×3 area gradations and 3-bit (that is, 8 steps) multivalue level, and is 3×3×8=72 (gradations).

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

マスキング処理回路406のマスキング処理の演算式と
しては一般に、 Y、、M、、C,:マスキング処理前データY、、M、
、C0:マスキング処理後データまた、NCR処理・黒
発生回路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,,M,
, C0: Data after masking processing Also, the arithmetic expression for UCR processing of the NCR processing/black generation circuit 407 is generally expressed as follows.

従って、この実施例ではこれらの弐から両方の係数の積
を用いて、新しい係数を求めている。
Therefore, in this embodiment, new coefficients are obtained 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,.

Ci  (各6ビツト)に対応する出力値(yoo等:
UCR処理・黒発生回路407の演算結果となる値)を
求め、予め所定のメモリに記憶している。
Output value (yoo, etc.) corresponding to Ci (6 bits each)
A value that is the calculation result of the UCR 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で
特定されるアドレスのデータがOCR処理・黒発生回路
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 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.

以上の構成において、γ補正回路403が第10図に示
すγ補正用変換グラフに基づいて処理を実行し、補色生
成回路405が第11図(a)。
In the above configuration, the γ correction circuit 403 executes the process based on the γ 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)。
Assuming 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イメージデータは、γ
補正回路403.補色生成回路405.マスキング処理
回路406.及び、UCR処理・黒発生回路407を経
て、第12図(a)、 (b)、 (C)、 (d)(
7)ように変換される。
The RGB image data shown in (b) and (C) is γ
Correction circuit 403. Complementary color generation circuit 405. Masking processing circuit 406. 12(a), (b), (C), (d)(
7) It is converted as follows.

更に、階調処理回路408が第13図に示すベイヤー型
の3×3の多値デイザマトリクスを用いたとすると、第
12図(a)、 (b)、 (C)、 (d)のY、M
Furthermore, if the gradation processing circuit 408 uses a Bayer type 3×3 multivalued 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) is converted into the data shown in (C).

尚、比較のために、アンチエイリアシング処理を行って
いないデータ(第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
The transformation shown in Figure 5 (a), (b), (cl, and (d)) is performed.

■多値カラー・レーザー・プリンタの構成先ず、第16
図に示す制御ブロック図を参照して、多値カラー・レー
ザー・プリンタ500の概略構成を説明する。
■Configuration of multivalued 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データの現像・転写を行うマゼンタ現像・転写部5゜
1mと、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 blank development/transfer section 501bk that performs transfer, a cyan development/transfer section 501c that develops and transfers C data,
It includes a magenta developing/transfer section 501m that develops and transfers M data, and a yellow developing/transfer section 501y that develops and transfers Y data.

レーザー駆動処理部502は、前述した画像処理装置4
00から出力されるY、 M、  C,BKの3ビツト
データ(ここでは、画像濃度データとなる)を入力して
、レーザービームを出力するものであり、Y、M、Cの
3ビツトデータを入力するバッファメモリ503y、5
03m、503cと、Y、M、C,BKのそれぞれ対応
したレーザービームを出力するレーザーダイオード50
4y、504m、504c、504bkと、レーザーダ
イオード504y、504m、504c、504bkを
それぞれ駆動するドライバ505y、505m、505
c、505bとから構成される。
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, 5
03m, 503c, and a laser diode 50 that outputs laser beams corresponding to Y, M, C, and BK, respectively.
Drivers 505y, 505m, 505 drive the laser diodes 504y, 504m, 504c, and 504bk, respectively.
c, 505b.

尚、感光体現像処理部501のブラック現像・転写部5
01bkと、レーザー駆動処理部502レーザーダイオ
ード504bk、及び、ドライバ505bkとの組合せ
をブラック記録ユニットBKU(第17図参照)と呼ぶ
。同様に、シアン現像・転写部501c、  レーザー
ダイオード504c、  ドライバ505c、及び、バ
ッファメモリ503cの組合せをシアン記録ユニットC
U(第17図参照)、マゼンタ現像・転写部501m、
  レーザーダイオード504m、  ドライバ505
m、及び、バッファメモリ503mの組合せをマゼンタ
記録ユニットMU (第17図参照)、イエロー現像・
転写部501y、  レーザーダイオードj504 y
、  ドライバ505 y、及び。
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, the cyan developing/transfer section 501c, laser diode 504c, driver 505c, and buffer memory 503c are combined into a cyan recording unit C.
U (see Figure 17), magenta developing/transfer section 501m,
Laser diode 504m, driver 505
The combination of the buffer memory 503m and the magenta recording unit MU (see Fig. 17) and the yellow developing unit MU (see Fig. 17)
Transfer section 501y, laser diode j504y
, driver 505y, and.

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

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

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

多値カラー・レーザー・プリンタ500は、記録紙を搬
送する搬送ベルト506と、前述したように搬送ベルト
506の周囲に配設された各記録ユニットYU、MU、
CU、BKUと、記録紙を収納した給紙カセット507
a、507bと、給紙カセット507a、507bから
それぞれ記録紙を送り出す給紙コロ508a、508b
と、給紙カセット507a、507bから送り出された
記録紙の位置合わせを行うレジストローラ509と、搬
送ベルト506によって記録ユニッ)BKU、CU、M
U、YUを順次搬送されて転写された画像を記録紙に定
着される定着ローラ510と、記録紙を所定の排出部(
図示せず)に排出する排紙コロ511とから構成される
。ここで、各記録ユニットYU、MU、CU、BKUは
、感光体ドラム512)’、512m、512c、51
2bkと、それぞれ感光体ドラム512y、512m・
512c、512bkを一様に帯電する帯電器513y
、513m、513c、513bkと、感光体ドラム5
12y、512m、512c、512bkにレーザービ
ームを導くためのポリゴンミラー514)’、514m
、514c、514bk及びモータ515y、515m
、515c、515bkと、感光体ドラム512y、5
12m、512c、512bk上に形成された静電潜像
をそれぞれ該当する色のトナーを用いて現像するトナー
現像装置516)’、516m、516c、516bk
と、現像したトナー像を記録紙に転写する転写帯電器5
17y、517m、517c、517bkと、転写後に
感光体ドラム512y、512m、512c、512b
k上に残留するトナーを除去するクリーニング装置1J
518y、518m。
The multilevel color laser printer 500 includes a conveyor belt 506 that conveys recording paper, and recording units YU, MU, and YU arranged around the conveyor belt 506 as described above.
Paper cassette 507 containing CU, BKU, and recording paper
a, 507b, and paper feed rollers 508a, 508b that feed recording paper from paper feed cassettes 507a, 507b, respectively.
The recording units (BKU, CU, M
A fixing roller 510 transports U and YU sequentially and fixes the transferred image onto the recording paper, and the recording paper is transferred to a predetermined ejection section (
(not shown). Here, each recording unit YU, MU, CU, BKU has a photosensitive drum 512)', 512m, 512c, 51
2bk, and photoreceptor drums 512y and 512m, respectively.
Charger 513y that uniformly charges 512c and 512bk
, 513m, 513c, 513bk, and photosensitive drum 5
Polygon mirror 514)', 514m for guiding the laser beam to 12y, 512m, 512c, 512bk
, 514c, 514bk and motor 515y, 515m
, 515c, 515bk, and photosensitive drums 512y, 5
Toner developing devices 516)', 516m, 516c, and 516bk that develop the electrostatic latent images formed on 12m, 512c, and 512bk using toners of corresponding colors, respectively.
and a transfer charger 5 that transfers the developed toner image onto recording paper.
17y, 517m, 517c, 517bk, and photosensitive drums 512y, 512m, 512c, 512b after transfer.
Cleaning device 1J for removing toner remaining on k
518y, 518m.

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 by taking the exposure, development, and transfer of the yellow recording unit 7 YU as an example.

第18図(a)、 (b)はイエロー記録ユニットYU
の露光系の構成を示す。同図において、レーザーダイオ
ード504yから出射されたレーザービームはポリゴン
ミラー514yで反射されて、f−θレンズ520yを
通過して、更にミラー521 y。
Figures 18(a) and 18(b) show the yellow recording unit YU.
The configuration of the exposure system is shown. In the same figure, a laser beam emitted from a laser diode 504y is reflected by a polygon mirror 514y, passes through an f-theta lens 520y, and further passes through a mirror 521y.

522yで反射されて防塵ガラス523yを通して感光
体ドラム512yに照射される。このときレーザービー
ムはポリゴンミラー514yがモータ515yで定速回
転駆動されるので、感光体ドラム512yの軸に沿う方
向(主走査方向)に移動する。また、本実施例では、主
走査の走査位置追跡のための基点を検知するため、非露
光位置のレーザービームをフォトセンサ524yを配設
しである。レーザーダイオード504yは記録データ(
画像処理装置400からの3ビツトデータ)に基づいて
発光付勢されるので、記録データに対応した多値露光が
、感光体ドラム504yの表面に対して行われる。感光
体ドラム504yの表面は、前述したように予め帯電器
513yで一様に荷電されており、上記露光により原稿
画像対応の静電潜像が形成される。該静電潜像はイエロ
ー現像装置516yで現像され、イエローのトナー像と
なる。このトナー像は、第17図に示したように、カセ
ット507a  (或いは、507b)から給紙コロ5
08a (或いは、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 515y, the laser beam moves in a direction along the axis of the photosensitive drum 512y (main scanning direction). Furthermore, 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. The laser diode 504y outputs recording data (
Since the photoreceptor drum 504y is activated to emit light based on the 3-bit data from the image processing device 400, multivalue 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 5, as shown in FIG.
08a (or 508b), and is transferred by registration rollers 509 onto a recording sheet conveyed by a conveyor belt 506 in synchronization with the toner image formation in blank 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 blank toner image, and the cyan recording unit C
U is equipped with 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.

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

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

以下、本実施例で適用するパワー変調による多値駆動を
第19図(a)、 (b)、 (C)、 (d)を参照
して詳細に説明する。尚、ドライバ505)’、505
m。
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). Furthermore, the driver 505)', 505
m.

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
n / Of f回路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 the laser diode 504y on and off based on a predetermined LD drive clock.
n/Of f circuit 550, a D/A converter 551 that converts 3-bit image density data (here, Y data) into an analog signal, and an analog signal based on the image density value inputted from the D/A converter 551. The current that drives the laser diode 504y (LD drive current)
A constant current circuit 552 supplies Id to a laser diode on10ff circuit 550.

ここで、LDドライブクロックは“1″でOnパ0”で
offと定義づけられ、第19図(b)に示すように、
レーザーダイオードon10ff回路550はこれに従
ってレーザーダイオード504yをonloffする。
Here, the LD drive clock is defined as "1" to be on and "0" to be off, as shown in FIG. 19(b).
The laser diode on10ff circuit 550 turns off the laser diode 504y accordingly.

また、LD駆動電流Idとレーザービームパワーは比例
関係にあるので、画像濃度データ値に基づ<LD駆動電
流1dを生成することで、画像濃度データ値に対応した
レーザービームパワー出力が得られることになる。例え
ば、第19図(b)に示すように、画像濃度データ値が
“4°゛ (同図のデータN−1)の場合には、定電流
回路552によって相当するLD駆動電流Idが供給さ
れ、レーザーダイオード504yのレーザービームパワ
ーはレベル4となる。また、画像濃度データ値が“7”
 (同図のデータN)の場合には、定電流回路552に
よって相当するLD駆動電流1dが供給され、レーザー
ダイオード504yのレーザービームパワーはレベル7
となる。
Furthermore, since the LD drive current Id and the laser beam power are in a proportional relationship, by generating the LD drive current 1d based on the image density data value, the laser beam power output corresponding to the image density data value can be obtained. become. 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 Id is supplied by the constant current circuit 552. , the laser beam power of the laser diode 504y is level 4. Also, the image density data value is “7”.
(Data N in the figure), the constant current circuit 552 supplies the corresponding LD drive current 1d, and the laser beam power of the laser diode 504y is level 7.
becomes.

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

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

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

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

定電流回路552は、前述したようにレーザーダイオー
ドon10ff回路550にレーザーダイオード504
yの電流を供給するものであり、トランジスター560
と、抵抗R4,Rs とから構成される。D/Aコンバ
ータ551からの出力Vdはトランジスター560のベ
ースに加えられ、抵抗R4に印加される電圧を決定する
。換言すれば、抵抗R4に流れる電流はトランジスター
560のコレクタ電流にほぼ等しいため、Vdによって
レーザーダイオード504yに流れる電流1dが制御さ
れる。
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 R4 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. In other words, since the current flowing through the resistor R4 is approximately equal to the collector current of the transistor 560, 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階調データ)に基づいて、Vrey 
X O/7〜7/7の8段階の値をとり、Idは、この
VdO値に基づいて、10〜I、の8段階のレベルを示
す。レーザーダイオード504yはこのIdの8段階レ
ベル(I。−レベル0゜I、=レベルト・・・ T7=
レヘル7)に従って、感光体ドラム512y上に、第2
0図に示すような潜像を形成する。
5 is a timing chart showing the relationship between VGI, Vd, and Id. Here, Vd is Vrey based on image density data (3 bit data: 8 gradation data from 0 to 7).
X takes values in 8 levels from O/7 to 7/7, and Id indicates levels in 8 levels from 10 to I based on this VdO value. The laser diode 504y has eight levels of this Id (I.-level 0°I, = level...T7=
According to Leher 7), the second
A latent image as shown in Figure 0 is formed.

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

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

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

以上説明したように、本発明の図形処理装置は、塗りつ
ぶすべき面積率に基づいて、ベクトルデータのエツジ部
の画素の出力を調整し、出力画像のエツジ部のギザギザ
(エイリアス)を滑らかに表現するアンチエイリアシン
グ処理を実行する図形処理装置において、ベクトルデー
タがスキャンラインを横切る際の2つの交点の座標値を
入力して、エツジ部画素数を演算するエツジ部画素数演
算手段と、エツジ部画素数を用いて、画像部の面積率と
非画像部の面積率の内挿によってエツジ部の画素の近似
面積率を求める近似面積率決定手段とを備えたため、サ
ブビクセル分割及び塗りつぶし個数のカウントを行うこ
となく、且つ、高速に近似面積率を求めることができる
As explained above, the graphic processing device of the present invention adjusts the output of pixels at the edges of vector data based on the area ratio to be filled, and smoothly expresses the jaggedness (alias) at the edges of the output image. In a graphic processing device that performs anti-aliasing processing, an edge portion pixel number calculating means calculates the number of edge portion pixels by inputting the coordinate values of two intersection points when vector data crosses a scan line; Since the present invention includes an approximate area ratio determining means for determining an approximate area ratio of pixels in the edge part by interpolating the area ratio of the image part and the area ratio of the non-image part using Approximate area ratios can be obtained quickly and easily.

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

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

Claims (1)

【特許請求の範囲】 塗りつぶすべき面積率に基づいて、ベクトルデータのエ
ッジ部の画素の出力を調整し、出力画像のエッジ部のギ
ザギザ(エイリアス)を滑らかに表現するアンチエイリ
アシング処理を実行する図形処理装置において、 前記ベクトルデータがスキャンラインを横切る際の2つ
の交点の座標値を入力して、エッジ部画素数を演算する
エッジ部画素数演算手段と、前記エッジ部画素数を用い
て、画像部の面積率と非画像部の面積率の内挿によって
前記エッジ部の画素の近似面積率を求める近似面積率決
定手段とを備えたことを特徴する図形処理装置。
[Claims] Graphic processing that adjusts the output of pixels at the edge of vector data based on the area ratio to be filled, and performs anti-aliasing processing to smoothly express jaggedness (alias) at the edge of the output image. In the apparatus, an edge part pixel number calculating means calculates the number of edge part pixels by inputting the coordinate values of two intersection points when the vector data crosses a scan line; 2. A graphic processing device comprising: approximate area ratio determination means for determining an approximate area ratio of pixels in the edge portion by interpolating the area ratio of the non-image area and the area ratio of the non-image area.
JP26731990A 1990-10-04 1990-10-04 Graphic processor Pending JPH04143873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26731990A JPH04143873A (en) 1990-10-04 1990-10-04 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26731990A JPH04143873A (en) 1990-10-04 1990-10-04 Graphic processor

Publications (1)

Publication Number Publication Date
JPH04143873A true JPH04143873A (en) 1992-05-18

Family

ID=17443170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26731990A Pending JPH04143873A (en) 1990-10-04 1990-10-04 Graphic processor

Country Status (1)

Country Link
JP (1) JPH04143873A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10388030B2 (en) 2016-11-18 2019-08-20 Panasonic Intellectual Property Management Co., Ltd. Crossing point detector, camera calibration system, crossing point detection method, camera calibration method, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10388030B2 (en) 2016-11-18 2019-08-20 Panasonic Intellectual Property Management Co., Ltd. Crossing point detector, camera calibration system, crossing point detection method, camera calibration method, and recording medium
US10885668B2 (en) 2016-11-18 2021-01-05 Panasonic Intellectual Property Management Co., Ltd. Crossing point detector, camera calibration system, crossing point detection method, camera calibration method, and recording medium
US11615552B2 (en) 2016-11-18 2023-03-28 Panasonic Intellectual Property Management Co., Ltd. Crossing point detector, camera calibration system, crossing point detection method, camera calibration method, and recording medium

Similar Documents

Publication Publication Date Title
JP3071229B2 (en) Graphic processing unit
JP3102805B2 (en) Graphic output device
JP2790707B2 (en) Graphic processing unit
JPH04143873A (en) Graphic processor
JPH0481170A (en) Graphic processing unit
JPH04144479A (en) Graphic output device
JPH03286384A (en) Graphic processor
JPH03278287A (en) Method and device for antialiasing processing
JPH04150563A (en) Image processor
JP2798496B2 (en) Graphic processing unit
JP3148291B2 (en) Graphic output device
JPH041872A (en) Graphic processor
JPH0433075A (en) Graphic processor
JPH04154363A (en) Image forming device
JPH04148949A (en) Vector image printing apparatus
JPH04249977A (en) Graphical output device
JPH04157980A (en) Graphic processor
JPH0457175A (en) Graphic processor
JPH04152751A (en) Image forming device
US20030030857A1 (en) Image processing method and image output apparatus
JPH04152757A (en) Image forming device
JP3431687B2 (en) Image forming apparatus and image forming system
JPH0433074A (en) Graphic processor
JPH04207260A (en) Figure output device
JPH04155385A (en) Graphic processing device