JPH04155385A - Graphic processing device - Google Patents
Graphic processing deviceInfo
- Publication number
- JPH04155385A JPH04155385A JP2280515A JP28051590A JPH04155385A JP H04155385 A JPH04155385 A JP H04155385A JP 2280515 A JP2280515 A JP 2280515A JP 28051590 A JP28051590 A JP 28051590A JP H04155385 A JPH04155385 A JP H04155385A
- Authority
- JP
- Japan
- Prior art keywords
- area ratio
- intersection
- approximate area
- pixel
- image
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
- Laser Beam Printer (AREA)
- Image Generation (AREA)
- Color, Gradation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
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 suppress thickening of intersection points and obtain sharp images.
〔従来の技術]
コンピュータ・グラフィクスの分野では、その出力媒体
であるCRTに画像を表示する際、その表示画像をより
美しくするためにアンチエイリアシング処理という手法
が用いられている。この処理は、第17図(a)に示す
ような階段上のギザギザ部分(エイリアスと呼ばれる)
に輝度変調をかけ、視覚的に表示画像を第17図(b)
に示すように滑らかにするものである。[Prior Art] In the field of computer graphics, when displaying an image on a CRT, which is an output medium, a technique called anti-aliasing processing is used to make the displayed image more beautiful. This process is performed on the jagged part (called alias) on the stairs as shown in Fig. 17(a).
Figure 17(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サブピク
セルの平均をとって求めるものである。第18図(a)
、 (b)を参照して、均一平均化法によるアンチエイ
リアシング処理を具体的に説明する。あるピクセルに画
像の端がかかっている場合(ここでは斜めの線の右下に
画像がつながっているものとする)、アンチエイリアシ
ング処理を行わないときは、同図(a)に示すように、
このピクセルの輝度kicfには表示できる階調の最高
輝度(例えば、256階調ではkid=255 )が割
り当てられる。このピクセルにN=M=7の均一平均化
法によるアンチエイリアシング処理を実施する場合、同
図(b)に示すように、ピクセルを7*7のサブピクセ
ルに分解し、画像に覆われているサブビクセル数をカウ
ントする。そのカウント数(28)を1ピクセル中の全
サブビクセル数(この場合、49)で割って規格化(平
均化)したものを最高H度(255)に掛け、そのピク
セルの輝度を算出する。このように均一平均化法では、
各ピクセルに画像がどのようにかかっているかを考慮に
いれてそのピクセルの輝度を決める。■The uniform averaging method calculates each pixel (picture element) to N*M (N,
After decomposing the pixel into sub-pixels (M is a natural number) and performing rask calculation at high resolution, the brightness of each pixel is determined by taking the average of N*M sub-pixels. Figure 18(a)
, (b), anti-aliasing processing using the uniform averaging method will be specifically explained. If the edge of the image overlaps a certain pixel (here, it is assumed that the image is connected to the bottom right of the diagonal line), and when anti-aliasing processing is not performed, as shown in Figure (a),
The brightness kicf of this pixel is assigned the highest brightness of the displayable gradations (for example, kid=255 for 256 gradations). When performing anti-aliasing processing on this pixel using the uniform averaging method with N=M=7, the pixel is decomposed into 7*7 sub-pixels as shown in the same figure (b), and the pixels covered by the image are divided into 7*7 sub-pixels. 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), normalized (averaged), and multiplied by the maximum H degree (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 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 the number of sub-pixels that are in The effects are different. Note that the weight at this time is given using a filter.
第19121(a)、 (b)を参照して、第18図(
a) 、、l!:同し画像データに、同し分割法(N=
41=7)で重み付は平均化法を実施した例を示す。19121(a) and (b), FIG.
a) ,,l! : Same image data, same division method (N=
41=7), and the weighting shows an example in which the averaging method is implemented.
第19図(a)は、フィルター(ここでは、conef
ilter)の特性を示し、対応するサブビクセルにこ
の特性と同じ重みが与えられる。例えば、右上角のサブ
ピクセルの重みは2である。各サブピクセルに画像がか
かっていた場合、フィルター特性より与えられた重みの
値がそのサブピクセルのカウント値となる。同図(b)
には、サブピクセルの重みの違いによってかかった画像
の表示パターンを変えて示しである。この場合、重みを
付けて画像のかかったサブピクセルをカウントすると、
199となる。この値を、均一平均化のときに対応じて
フィルターの値の合計(この場合、336)で割って平
均化し、最高輝度に掛けて、このピクセルの輝度を算出
する。尚、フィルターとしては、第20図(a)、 (
b)、 (C)、 (d)に示すフィルターが知られて
いる。FIG. 19(a) shows a filter (here, conef
ilter), and the corresponding sub-vixel 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. 20 (a), (
Filters shown in b), (C), and (d) are known.
■畳み込み積分法
畳み込み積分法は、1つのピクセルの輝度を決定するに
あたり、その周りのピクセルの様子も参照する方法であ
る。即ち、輝度を決定しようとする1ピクセルの周りN
’xN’ ピクセルを、均−平均化法或いは重み付は
平均化法のピクセルに対応させたものと考える。第21
図は3×3ピクセル参照の畳み込み積分法を示す。この
図で、輝度を決定しようとしているピクセルを2101
で示す。画像は斜めの線の右下に続いており、黒く塗っ
たサブピクセルがカウントされるサブピクセルである。■Convolution integral method The convolution integral method is a method that refers to the appearance of surrounding pixels when determining the brightness of one pixel. That is, the area around one pixel whose brightness is to be determined is N
Consider 'xN' pixels to correspond to pixels of the equal-averaging method or the weighted averaging method. 21st
The figure shows a convolution method with 3x3 pixel references. In this figure, the pixel whose brightness is to be determined is 2101
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 the hector 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 hector images, such as those used in computer graphics, have become widely used. A typical example is a system using Adobe's Post Script. PostScript is a page description language (Page Des
criptionLanguage: Hereafter, PDL
It belongs to a language genre called ``Japanese language'', and describes the form of the contents of a single document, including the text (letter part), graphics, and their arrangement and appearance. It is a programming language for systems such as this, and vector fonts are used as character fonts in such systems. Therefore, even if the characters are scaled, the print quality can be significantly improved compared to systems using bitmap fonts (for example, conventional word processors).
Another advantage is that character fonts, graphics, and images can be mixed and printed.
ところが、これらのシステムで使用されるレーザープリ
ンタの解像度は、せいぜい240dp i〜400dp
iのものが多く、コンピュータ・グラフィックスの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, antialiasing processing is now being applied to printing using a laser printer in order to improve the quality of the printed image.
C発明が解決しようとする課題〕
しかしながら、従来のアンチエイリアシング処理を適用
した図形処理装置によれば、前述したように塗りつふさ
れる面積率に基づいて、階調値(濃度データ)を算出し
ているため、2つのベクトルデータの交点部分にアンチ
エイリアシング処理を通用した場合、交点部分が太くな
り、シャープネス(鮮明さ)が低下するという問題点が
あった。Problems to be Solved by the Invention] However, according to the graphic processing device applying the conventional anti-aliasing processing, the gradation value (density data) is calculated based on the percentage of area to be filled in as described above. Therefore, when anti-aliasing processing is applied to the intersection of two vector data, the intersection becomes thick and the sharpness decreases.
具体的には、例えば、第22図(a)に示すように、画
素G1及びG2を直線D1が通過し、画素G2及びG3
を直線D2が通過する場合において、工画素を4*4サ
ブピクセル分割(均一平均化法)で近位面積率を求める
と、画素c1. G2゜G3の近似面積率は各々、1/
4.1/2.5/8となる。Specifically, for example, as shown in FIG. 22(a), a straight line D1 passes through pixels G1 and G2, and pixels G2 and G3
When straight line D2 passes through pixel c1., when calculating the proximal area ratio by dividing the pixel into 4*4 subpixels (uniform averaging method), pixel c1. The approximate area ratio of G2゜G3 is 1/
4.1/2.5/8.
従って、画素G2は膨らみを持ったように見える。Therefore, pixel G2 appears to have a bulge.
また、第22図rb) :こ示すように、アウトライン
・データのように定義された交点C1を含む画素G44
二ついても同様に交点部分か太くなる。Also, Fig. 22 rb): As shown, the pixel G44 includes the intersection C1 defined as the outline data.
Similarly, if there are two, the intersection will be thicker.
本発明は上記に鑑みてなされたものであって、交点を含
んだエツジ部画素に対してアンチエイリアシング処理を
施し、且つ、シャープネス(鮮明さ)を損なわないこと
を目的とする。The present invention has been made in view of the above, and an object of the present invention is to apply anti-aliasing processing to edge pixels including intersection points, and to do so without impairing sharpness.
本発明は上記の目的を達成するため、塗りつふすべき面
積率に基づいて、ベクトルデータのエツジ部画素の出力
を調整し、出力画像のエツジ部のギザギザ(エイリアス
)を滑らかに表現するアンチエイリアシング処理方法を
適用した図形処理装置において、ベクトルデータとベク
トルデータが交差する場合の交点を算出する交点算出手
段と、交点を含むエツジ部画素の近似面積率をアンチエ
イリアシング処理方法を用いて算出する近似面積率算出
手段と、交点を含むエツジ部画素において、ベクトルデ
ータの交差具合に応じて近似面積率を補正する近似面積
率補正手段とを備えた図形処理装置を提供するものであ
る。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 uses anti-aliasing to smoothly express jagged edges (aliases) of the output image. In a graphic processing device to which the processing method is applied, an intersection calculation means that calculates an intersection point when vector data intersects, and an approximation that calculates an approximate area ratio of an edge pixel including the intersection point using an anti-aliasing processing method. The present invention provides a graphic processing device that includes an area ratio calculation means and an approximate area ratio correction means for correcting the approximate area ratio according to the degree of intersection of vector data in edge portion pixels including intersection points.
また、本発明は上記の目的を達成するため、塗りつふす
べき面積率に基づいて、ベクトルデータのエツジ部画素
の出力を調整し、出力画像のエツジ部のギザギザ(エイ
リアス)を滑らかに表現するアンチエイリアシング処理
方法を適用した図形処理装置において、ベクトルデータ
とベクトルデータが交差する場合の交点を算出する交点
算出手段と、交点を含むエツジ部画素の近似面積率をア
ンチエイリアシング処理方法を用いて算出する近似面積
率算出手段と、交点を形成する2つのベクトルデータの
塗りつぶし側の交点角度θを算出する交点角度算出手段
と、交点角度θが180°〈θく360°の場合に、エ
ツジ部画素内における交点の位置、及び、工・ノジ部画
素における画像部の塗りつぶし方向に基づいて、近似面
積率を補正する近似面積率補正手段とを備えた図形処理
装置を提供するものである。In addition, in order to achieve the above object, the present invention adjusts the output of edge portion pixels of vector data based on the area ratio to be filled, and smoothly expresses jaggedness (alias) at the edge portion of the output image. In a graphic processing device to which an anti-aliasing processing method is applied, an intersection calculation means for calculating an intersection point when vector data intersects, and an approximate area ratio of an edge pixel including the intersection point is calculated using the anti-aliasing processing method. an approximate area ratio calculation means for calculating an intersection angle θ on the filled side of two vector data forming an intersection; The present invention provides a graphic processing device equipped with approximate area ratio correction means for correcting the approximate area ratio based on the position of the intersection in the area and the filling direction of the image area in the cut/edge part pixels.
また、前述の構成において、近似面積率補正手段は、交
点角度θを2等分する仮想線の傾きφが、0≦φ〈45
°、或いは、135°≦φ〈180の範囲で、塗りつぶ
さない開口部が画素の右側方向にある場合をH0方向、
塗りつぶさない開口部が画素の左側方向にある場合をH
8方向とし、交点角度θを2等分する仮想線の傾きφが
、45゜≦φ〈135の範囲で、塗りつぶさない開口部
が画素の上側方向にある場合を■。方向、塗りつぶさな
い開口部が画素の下側方向にある場合を■1方向とし、
塗りつぶさない開口部の方向がH0方向及びH1方向の
場合、交点のX座標値に基づいて、近似面積率を補正す
るか否か判定し、塗りつぶさない開口部の方向が■。方
向及び■、力方向場合、交点のX座標値に基づいて、近
似面積率を補正するか否か判定することが望ましい。In the above configuration, the approximate area ratio correction means is configured such that the slope φ of the virtual line dividing the intersection angle θ into two equal parts is 0≦φ<45
°, or in the range of 135°≦φ<180, and the opening that is not filled is on the right side of the pixel, in the H0 direction,
H if the opening that is not filled is to the left of the pixel
8 directions, the slope φ of the virtual line that bisects the intersection angle θ is in the range of 45°≦φ<135, and the opening that is not filled is in the upper direction of the pixel. direction, if the opening that is not filled is in the lower direction of the pixel, it is defined as ■1 direction;
When the directions of the openings that are not filled are in the H0 direction and the H1 direction, it is determined whether or not to correct the approximate area ratio based on the X coordinate value of the intersection, and the direction of the openings that are not filled is ■. In the case of the direction and the force direction, it is desirable to determine whether or not to correct the approximate area ratio based on the X coordinate value of the intersection point.
また、前述の構成において、近似面積率補正手段は、近
似面積率の大きさに基づいて予め設定した係数を、近似
面積率に乗算することで近似面積率の補正を行うことが
望ましい。Further, in the above-described configuration, it is preferable that the approximate area ratio correcting means corrects the approximate area ratio by multiplying the approximate area ratio by a coefficient set in advance based on the magnitude of the approximate area ratio.
更に、前述の構成において、予め設定した係数Sは、近
似面積率kが0.25≦に≦0.75のときs=0.5
、それ以外の場合にはs=1であることが望ましい。Furthermore, in the above configuration, the preset coefficient S is s=0.5 when the approximate area ratio k is 0.25≦≦0.75.
, otherwise it is desirable that s=1.
本発明の図形処理装置は、交点算出手段によってベクト
ルデータとベクトルデータが交差する場合の交点を算出
する。次に、近(以面積率算出手段で前記交点を含むエ
ツジ部画素の近似面積率をアンチエイリアシング処理方
法を用いて算出する。In the graphic processing device of the present invention, the intersection calculation means calculates the intersection when the vector data intersects. Next, a near area ratio calculation means calculates an approximate area ratio of the edge portion pixels including the intersection point using an anti-aliasing processing method.
その後、近似面積率補正手段で、交点を含むエツジ部画
素の近似面積率を、ベクトルデータの交差具合に応じて
補正する。Thereafter, the approximate area ratio correction means corrects the approximate area ratio of the edge portion pixels including the intersection according to the degree of intersection of the vector data.
以下、本発明の図形処理装置を適用した画像形成システ
ムを実施例として、■本発明による近似面積率補正の概
要、0画像形成システムのブロック図、■PDLコント
ローラの構成及び動作、■画像処理装置の構成、■多値
カラー・レーザープリンタの構成及び動作、■ドライバ
の多値駆動の順で詳細に説明する。Hereinafter, an image forming system to which the graphic processing device of the present invention is applied will be described as an example. ■Outline of approximate area ratio correction according to the present invention, block diagram of the zero image forming system, ■Configuration and operation of PDL controller, ■Image processing device 1.The configuration and operation of the multi-valued color laser printer, 2.The multi-valued drive of the driver will be explained in detail in this order.
■本発明による近似面積率補正の概要。■Outline of approximate area ratio correction according to the present invention.
本発明の図形処理装置は、近似面積率補正手段によって
、アンチエイリアシング処理によって求めた交点を含む
エツジ部画素の近似面積率を、交点を形成するベクトル
データの交差具合に基づいて補正することにより、交点
部分の太りをなくした鮮明な画像が得られるようにした
ものである。The graphic processing device of the present invention corrects the approximate area ratio of edge pixels including the intersection obtained by anti-aliasing processing by the approximate area ratio correction means based on the degree of intersection of vector data forming the intersection. This makes it possible to obtain clear images without thickening at the intersections.
以下、本発明による近似面積率補正について詳細に説明
する。The approximate area ratio correction according to the present invention will be described in detail below.
本実施例では、第1図(a)に示すように、2直線の成
す角度θが180°〈θ〈360°を満足し、この角度
θの領域側を塗りつぶす場合に近似面積率補正処理を実
施する。尚、アンチエイリアシング処理において、ベク
トルデータは全て直線ベクトルに近似して用いられるた
め、以鋒、ベクトルデータを直線として説明する。In this example, as shown in FIG. 1(a), when the angle θ formed by two straight lines satisfies 180° < θ < 360° and the area side of this angle θ is filled in, approximate area ratio correction processing is performed. implement. In the anti-aliasing process, all vector data is approximated to a straight line vector, so the vector data will be explained below assuming that it is a straight line.
先ず、2直線の成す角度θについて定義する。First, the angle θ formed by two straight lines will be defined.
第1図(b)に示すように、端点T、及びT2を有する
直線11と、端点T3及びT4を有する直線ρ2が交差
する場合、これらの2直線の交点Pは端点T、9.T2
から直線!、の方程式を導き、端点T、、T、から直線
12の方程式を導いて、これらの連立方程式を解くこと
によって算出てきる。この交点Pの座標を含む画素が対
象となるエツジ部画素となる(尚、T2とT3か一致す
る場合も同様に交点Pを求めることができる)。As shown in FIG. 1(b), when a straight line 11 having end points T and T2 intersects a straight line ρ2 having end points T3 and T4, the intersection P of these two straight lines is the end point T, 9. T2
A straight line! It is calculated by deriving the equation of , deriving the equation of straight line 12 from the end points T, , T, and solving these simultaneous equations. The pixel including the coordinates of this intersection P becomes the target edge pixel (note that even if T2 and T3 match, the intersection P can be found in the same way).
次に、左右エツジの判定から、塗りつふすべき領域を知
ることができるので、交点Pを基準として、塗りつふす
べき領域側の2直線の成す角度をθとして求める。Next, since the area to be filled can be determined from the determination of the left and right edges, the angle formed by the two straight lines on the side of the area to be filled is determined as θ with the intersection point P as a reference.
このようにして求めた角度θが180°〈θ〈360°
を満足するとき、以下の近似面積率補正処理を実行する
。The angle θ obtained in this way is 180°〈θ〈360°
When the following is satisfied, the following approximate area ratio correction process is executed.
交点Pの画素における位置関係を求める。The positional relationship between the pixels of the intersection point P is determined.
先ず、第1図(C)、 (d)に示すように、角度θを
2等分する仮想up3の傾きφを求め、傾きφが、0≦
φく45°、或いは、135°≦φ〈180の範囲で、
塗りつぶさない開口部が画素の右側方向にある場合をH
0方向、塗りつぶさない開口部が画素の左側方向にある
場合をH,方向と定義する。First, as shown in FIGS. 1(C) and (d), the slope φ of the virtual up3 that divides the angle θ into two is determined, and the slope φ is 0≦
In the range of 45° or 135°≦φ<180,
H if the opening that is not filled is on the right side of the pixel.
The 0 direction and the case where the unfilled opening is to the left of the pixel are defined as the H direction.
また、角度θを2等分する仮想線13の傾きφが、45
°≦φ〈135の範囲で、塗りつぶさない開口部が画素
の上側方向にある場合をV。方向、塗りつぶさない開口
部が画素の下側方向にある場合をv1方向と定義する。Also, the slope φ of the virtual line 13 that divides the angle θ into two equal parts is 45
V if the opening that is not filled is in the upper direction of the pixel in the range of °≦φ<135. The direction is defined as the v1 direction when the opening that is not filled is in the lower direction of the pixel.
上記のように定義したH0方向、H1方向、■。H0 direction, H1 direction, ■ defined as above.
方向、V1方向と、傾きθの関係を第1図(e)に示す
ようになる。The relationship between the direction, the V1 direction, and the slope θ is shown in FIG. 1(e).
次に、H0方向、H1方向、■。方向、■1方向と交点
Pの座標を用いて、交点Pの画素における位置関係を求
める。Next, H0 direction, H1 direction, ■. Direction, (1) Using the coordinates of the direction and the intersection P, find the positional relationship at the pixel of the intersection P.
本実施例では、塗りつぶさない開口部の方向がH0方向
及びH1方向の場合、それぞれの示す方向を下として、
交点Pのに座標値に基づいて、画素に対する交点Pの上
下関係を決定する。具体的には、開口部がH6方向の場
合、X座標の小数部が0.5より小さいければ上、0.
5以上であれば下と決定し、開口部がH1方向の場合、
X座標の小数部が0.5より小さいければ下、0.5以
上であれば上と決定する。従って、第1図(d)の交点
Pは下と決定される。In this example, when the directions of the openings that are not filled are in the H0 direction and the H1 direction, the respective directions are set as the bottom, and
Based on the coordinate values of the intersection P, the vertical relationship of the intersection P to the pixel is determined. Specifically, when the opening is in the H6 direction, if the decimal part of the X coordinate is smaller than 0.5, it is upper, 0.
If it is 5 or more, it is determined as lower, and if the opening is in the H1 direction,
If the decimal part of the X coordinate is less than 0.5, it is determined to be lower, and if it is 0.5 or more, it is determined to be upper. Therefore, the intersection P in FIG. 1(d) is determined to be below.
また、塗りつぶさない開口部の方向が■。方向及び■1
方向の場合には、それぞれの示す方向を下として、交点
PのX座標値に基づいて、画素に対する交点Pの上下関
係を決定する。具体的には、開口部がV0方向の場合、
X座標の小数部が0.5より小さいければ上、0.5以
上であれば下と決定し、開口部が■1方向の場合、X座
標の小数部が0.5より小さいければ下、0. 5以上
であれば上と決定する。従って、第1図(C)の交点P
は上と決定される。Also, the direction of the opening that is not filled is ■. Direction and ■1
In the case of a direction, the vertical relationship of the intersection point P with respect to the pixel is determined based on the X coordinate value of the intersection point P, with the direction shown as the bottom. Specifically, when the opening is in the V0 direction,
If the decimal part of the ,0. If it is 5 or more, it is determined to be upper. Therefore, the intersection P in Fig. 1(C)
is determined to be above.
このようにして決定した上下関係は、交点Pが画素の上
に位置する場合、画素内の塗りつぶし領域が小さいこと
を意味し、下にある場合には画素内の塗りつぶし領域が
大きいことを示す。従って、画素内の塗りつぶし領域が
小さい場合に交点部分の太りが顕著に現れるので、交点
Pが画素の上に位置する場合のみ該当する交点を含むエ
ツジ部画素の近似面積率を補正するようにする。The vertical relationship determined in this manner indicates that when the intersection P is located above the pixel, the filled area within the pixel is small, and when it is located below, it indicates that the filled area within the pixel is large. Therefore, when the filled area within a pixel is small, the thickening of the intersection point becomes noticeable, so the approximate area ratio of the edge pixel including the corresponding intersection point is corrected only when the intersection point P is located above the pixel. .
近似面積率の補正は、アンチエイリアシング処理で求め
た近似面積率k。を所定の補正係数Sを用いて以下のよ
うに行う。The approximate area ratio is corrected by the approximate area ratio k obtained by anti-aliasing processing. is performed using a predetermined correction coefficient S as follows.
k = s X k o ■
ここで、補正係数Sは、闇値0.25及び0.75を用
いて次のように設定される。k = s X k o ■ Here, the correction coefficient S is set as follows using the darkness values of 0.25 and 0.75.
0.25≦ko ≦0.75のとき、s=0.5それ以
外の場合、s=1 (補正なしと同し)とする。When 0.25≦ko≦0.75, s=0.5; otherwise, s=1 (same as no correction).
第1図げ)は交点位置が上であるが、面積率オーバー(
ko >0.75)の場合の処理例、第1図(釦は交点
位置が下であるので近似面積率の補正を行わない場合の
処理例、第1図(h)は交点位置が上で、近似面積率の
補正を行った場合の処理例を示す。In the first figure), the intersection point is at the top, but the area ratio is over (
ko > 0.75), Fig. 1 (The button has an intersection position at the bottom, so the approximate area ratio is not corrected. Fig. 1 (h) shows an example of processing when the intersection position is above. , an example of processing when correcting the approximate area ratio is shown.
また、交点位置の条件を除いて、単に全交点において近
似面積率に応じて3倍するといった本例を簡略化した方
法も考えられる。Alternatively, a method that simplifies this example may be considered, except for the condition of the intersection position, and simply multiplying the area ratio by three at all intersections according to the approximate area ratio.
■画像形成システムのブロック図
本実施例の画像形成システムは、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).
The configuration is such that image formation can be performed using image information of both hector data written in the PDL language (hereinafter referred to as PDL language) and image images 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コントローラ20
0.或いは1画像読取り装置300から出力されるイメ
ージ画像を入力して画像処理(詳細は後述する)を施す
画像処理装置400と、画像処理装置400の出力する
多値イメージデータを印字する多値カラー・レーザー・
プリンタ500と、PDLコントローラ200.画像読
取り装置3003画像処理装置400.及び、多値カラ
ー・レーザー・プリンタ500を制御するシステム制御
部600とから構成される。The image forming system includes a host computer 100 that creates a document written in PDL language (Postscript language is used in this embodiment);
The PDL controller 200, which applies anti-aliasing processing to the PDL language sent in pages from an image reading device 300 that reads image information via the PDL controller 20;
0. Alternatively, an image processing device 400 that inputs the image output from the image reading device 300 and performs image processing (details will be described later), and a multi-value color printer that prints the multi-value image data output from the image processing device 400. laser·
A printer 500 and a PDL controller 200. Image reading device 3003 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と、受信装置201で受信した
PDL言語の格納制御及びアンチエイリアシング処理の
実行を行うCPU202と、内部システムハス203と
、内部システムハス203を介して受信装置201から
転送されるPDL言語を格納するRAM204と、アン
チエイリアシングプログラム等を格納したROM205
と、アンチエイリアシング処理を施した多値のRGBイ
メージデータを格納するページメモリ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 the PDL language sent from the host computer 100, and storage control and control of the PDL language received by the receiving device 201. A CPU 202 that executes anti-aliasing processing, an internal system 203, a RAM 204 that stores the PDL language transferred from the receiving device 201 via the internal system 203, and a ROM 205 that stores anti-aliasing programs and the like.
, a page memory 206 that stores multivalued RGB 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に
格納する。その後、1ペ一ジ分の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 through the internal system hash 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. , B, 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コントローラ200は、前述したよ
うにホストコンピュータ100からページ単位で送られ
てきたPDL言語をアンチェイリアソング処理を施しな
がら、赤(R)。FIG. 4(a) shows a flowchart of processing performed by the CPU 202. As described above, the PDL controller 200 processes the PDL language sent page by page from the host computer 100 while processing it in 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. Furthermore, one page is made up of at least one path, with each path being made up of one or more elements (graphic elements and text elements).
先ず、PDL言語を入力すると、その要素が曲線ベクト
ルか否か判定し、曲線ベクトルの場合はこれを直線ベク
トルに近似しで、直線要素(ライン)として作業エリア
に登録する。これを1つのパス内の全ての図形及び文字
要素について行い、パス単位で作業エリアへ直線要素の
登録を実施する(処理1)。First, when PDL language is input, it is determined whether the element is a curved vector, and if it is a curved vector, it is approximated to a straight line vector and registered as a straight line element (line) in the work area. This is performed for all graphic and character elements within one path, and linear elements are registered in the work area for each path (processing 1).
そして、このパス単位に登録した作業エリアの直線要素
を直線の開始X座標によりソーティングする (処理2
)。Then, the 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)に示すパスの塗りつふ5処理を実施する場合、処理
する走査線ycの横切る辺の要素と、その走査線ycを
横切ったX座標の実数値(第4図に示すXI X2
X3 Xa)とをAET(Active Edge T
able :走査線上に現れるエノン部のX座標を記録
するテーブル)に登録する。ここで、作業エリアに登録
されている要素の順番は、処理1で登録した順番になっ
ているため、必ずしも走査線ycを横切るX座標が小さ
い順に登録されているとは限らない。例えば、処理1に
おいて、第4図の走査線ycとx3とを通過する直線要
素が最初に処理された場合には、走査線yc上に現れる
エツジ部のX座標としてX、がAETに最初に登録され
る。そこで、AETの登録後、AET内の各辺の要素を
X座標の小さい順にソーティングする。そして、AET
の最初の要素から2つをペアにして、その間を塗りつぶ
す。アンチエイリアシング処理はこの塗りつぶし処理に
おいて、エツジ部のピクセルの濃度及び輝度を近似面積
率に応じて調整することで実現する。その後、処理済み
の辺をAETから除去し、走査線を更新(X座標を更新
)し、AET内の辺を全て処理するまで、換言すれば、
1つのパス内の要素を全て処理するまで同様の処理を繰
り返す。Next, in process 3, while updating the X coordinate one by one,
Performs fill-in filling processing using scanning lines. For example, in Figure 4 (
When performing the pass fill 5 process shown in b), the elements of the side across the scanning line yc to be processed and the real value of the X coordinate across the scanning line yc (XI X2 shown in Figure 4)
X3 Xa) and AET (Active Edge T
able: registered in a table that records the X coordinate of the enon portion appearing on the scanning line). Here, the order of the elements registered in the work area is the order in which they were registered in process 1, so they are not necessarily registered in order of decreasing X coordinate across the scanning line yc. For example, in process 1, if a straight line element passing through scanning lines yc and 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. And AET
Pair the first two elements and fill in the space between them. 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 X coordinate), until all edges in the AET have been processed, in other words
Similar processing is repeated until all elements within one pass are processed.
上記処理1.処理2.処理3の作業をパス単位に実行し
、1ペ一ジ分の全バスが終了するまで繰り返す。Above processing 1. Processing 2. The work in process 3 is executed pass by pass and 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本の線ベクト
ル(実数表現)
(El)図形内部の色及び輝度値
この図形は前述の動作により、第5図ら〕に示すように
、主走査方向に延びた7本の直線ベクトル(実数表現)
に分割される。この時、本実施例では、以下に示す情報
を7本の直線ベクトルの始点及び終点に付加する。即ち
、
(ハ)直線ベクトルの始点及び終点を構成するベクトル
要素(上記の(イ))の始点座標値(実数表現)
(ニ)直線ベクトルの始点及び終点を構成するベクトル
要素の傾き情報
(ネ)直線ベクトルの始点及び終点の特徴情報(右エツ
ジ、左エツジ、ベクトルデータが垂直であるという情報
等)
スキャンラインの塗りつぶし処理において、エツジ部画
素が検出されると、第4図(C)のフローチャートに示
すアンチエイリアシング処理を実行する。(B) Five line vectors AB, BC, CD, DE, and EA (represented by real numbers) (El) Color and brightness values inside the figure As shown in Figure 5, etc., this figure is mainly Seven straight line vectors extending in the scanning direction (real number representation)
divided into 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 the straight line vector (right edge, left edge, information that the vector data is vertical, etc.) When an edge pixel is detected in the scan line filling process, the information shown in Fig. 4 (C) Execute the antialiasing process shown in the flowchart.
先ず、サブビクセル塗りつぶし処理において、3*3の
サブピクセル分割法で、サブピクセル毎の塗りつぶし領
域の算出を行う(S401)。この処理を走査線を横切
る全てのベクトルに対して繰り返す(5402)。First, in sub-vixel filling processing, a filling area for each sub-pixel is calculated using a 3*3 sub-pixel division method (S401). This process is repeated for all vectors that cross the scanning line (5402).
次に、濃度決定処理において、対象となる走査線の最初
の画素から順番に、均一平均化法(アンチエイリアンン
グ処理方法)のフィルターを用いて、各画素の近似面積
率を算出する(S403)。Next, in the density determination process, the approximate area ratio of each pixel is calculated in order from the first pixel of the target scanning line using a uniform averaging method (anti-aliening processing method) filter (S403). .
続いて、近似面積率補正処理において、2直線め成す角
度θが180°〈θ〈360°を満足し、この角度θの
領域側を塗りつぶす場合に近似面積率補正処理を実施す
る(5404)。Next, in the approximate area ratio correction process, when the angle θ formed by the two straight lines satisfies 180°<θ<360° and the area side of this angle θ is filled in, the approximate area ratio correction process is performed (5404).
重ね書き処理で図形の各色(BK、 R,G、 B
の4色)の階調値(濃度)を計算する。Each color of the figure (BK, R, G, B
Calculate the gradation value (density) of the four colors.
ここで、第5図(a)の図形が、例えば、背景色が白(
最高輝度:255)の上に図形色が赤(最高輝度:25
5)で描画されているとすると、近似面積率により、図
形の各色毎の輝度(F!K r(赤)、に9(緑)、
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), the luminance of each color of the figure (F!K r (red), 9 (green),
Kb (blue) is obtained based on the following formula.
Kr ’= KRtXk 十KRZX(1k)K9 =
Kc、+Xk + Kczx(1k)Kb −
に+zXk 十KB□X(1−k)但し、K R+ 、
K c + 、 K s +はそれぞれ上記([1)
で与えられる図形の色(それぞれ赤、緑、青)の輝度値
を示し、KH2,KG□、KH2は以前に塗られた各色
の輝度値を示す。尚、K、□、KG□、KB□はページ
メモリ206のRGBに対応する各プレーンメモリ部の
データを参照する(5405)。Kr'= KRtXk 10KRZX(1k)K9=
Kc, +Xk + Kczx(1k)Kb −
+zXk 1KB□X(1-k) However, K R+,
K c + and K s + are respectively the above ([1)
KH2, KG□, and KH2 indicate the brightness values of each previously painted color. Note that K, □, KG□, and KB□ refer to data in each plane memory section corresponding to RGB of the page memory 206 (5405).
その後、ページメモリ描画処理て各色の階調値をページ
メモリ206に書き込む(S406)。Thereafter, the page memory drawing process is performed to write the gradation values of each color into the page memory 206 (S406).
更に、上記の5403から5406の処理を1ライン分
の全ての画素に対して繰り返し実行する(5407)。Furthermore, the processes from 5403 to 5406 described above are repeatedly executed for all pixels of one line (5407).
CPU202は、上記の処理を走査線(X座標)の最後
の画素まで繰り返す。The CPU 202 repeats the above process up to the last pixel of the scanning line (X coordinate).
次に、第4図(d)のフローチャートを参照して近似面
積率補正処理について説明する。Next, approximate area ratio correction processing will be described with reference to the flowchart in FIG. 4(d).
先ず、スキャンライン上のベクトルデータ(直線)のう
ち、交差する2直線はあるか判定する(S408)。こ
こで、交差する直線がなければ処理を終了する。First, it is determined whether there are two intersecting lines among the vector data (straight lines) on the scan line (S408). Here, if there are no intersecting straight lines, the process ends.
交差する直線があれば、交点の座標を算出し、続いて、
交点を含む画素を算出する(5409.410)。If there are straight lines that intersect, calculate the coordinates of the intersection, then
Pixels including the intersection are calculated (5409.410).
次に、2直線の塗りつぶし例の角度θを算出しく541
2)、角度θが180°〈θ< 360 ’ T:ナケ
れば、エツジ部画素内の交点位置を下と判定しく541
3)、5417へ進む。Next, calculate the angle θ of the example of filling in two straight lines541
2) If the angle θ is 180° <θ<360'
3), proceed to 5417.
一方、角度θが180°〈θ〈360°ならば、θを2
等分する仮想線の傾き、及び、塗りつぶさない開口部の
方向からH8方向、H1方向、v。方向、v1方向を以
下のように判定する。角度θを2等分する仮想線の傾き
φを求め、傾きφが、0≦φ〈45°、或いは、135
°≦φ〈18oの範囲で、塗りつぶさない開口部が画素
の右側方向にある場合をH6方向、塗りつぶさない開口
部が画素の左側方向にある場合をH1方向、また、傾き
φが、45°≦φ〈135の範囲で、塗りつぶさない開
口部が画素の上側方向にある場合をV0方向、塗りつぶ
さない開口部が画素の下側方向にある場合を■1方自と
判定する(5414)。On the other hand, if the angle θ is 180°<θ<360°, set θ to 2
The slope of the virtual line that divides into equal parts, and the H8 direction, H1 direction, and v from the direction of the opening that is not filled. The direction, v1 direction, is determined as follows. Find the slope φ of the imaginary line that bisects the angle θ, and find if the slope φ is 0≦φ〈45° or 135
In the range of °≦φ<18o, when the opening that is not filled is on the right side of the pixel, the H6 direction is, and when the opening that is not filled is on the left side of the pixel, it is the H1 direction, and the slope φ is 45°≦ In the range of φ<135, the case where the unfilled opening is located above the pixel is determined as the V0 direction, and the case where the unfilled opening is located below the pixel is determined as ■1 direction (5414).
続いて、画素に対する交点の上下関係を判定する。具体
的には、開口部がH0方向の場合、X座標の小数部が0
.5より小さいければ上、0. 5以上であれば下と決
定し、開口部がH1方向の場合、X座標の小数部が0.
5より小さいければ下、0.5以上であれば上と判定
する(5415)。Subsequently, the vertical relationship between the intersection points and the pixels is determined. Specifically, when the opening is in the H0 direction, the decimal part of the X coordinate is 0.
.. If it is smaller than 5, it is above, 0. If it is 5 or more, it is determined to be lower, and if the opening is in the H1 direction, the decimal part of the X coordinate is 0.
If it is less than 5, it is determined to be lower, and if it is 0.5 or more, it is determined to be upper (5415).
その後、上下の判定が上かどうか判定しく5416)、
上ならば、交点を含む画素の近(0面積率k。が0.2
5≦kn≦0.75かどうか判定しく5417)、0.
25≦ko≦0.75の範囲ならば補正係数Sを0.5
に設定して、k=5Xkoの式を用いて補正後の近似面
積率kを得る(5418.5420)。After that, it is necessary to judge whether the upper or lower judgment is upper or not (5416),
If it is above, the area near the pixel including the intersection (0 area ratio k. is 0.2
5417), 0.
If the range is 25≦ko≦0.75, set the correction coefficient S to 0.5.
, and obtain the corrected approximate area ratio k using the formula k=5Xko (5418.5420).
一方、上下の判定が下の場合、及び、交点を含む画素の
近似面積率に0が0.25≦に0≦0.75でない場合
には、補正係数Sを1に設定し、k=5Xkoの式を用
いて補正後の近似面積率kを得る(5419.5420
)。On the other hand, if the upper/lower judgment is lower, and if the approximate area ratio of the pixel including the intersection point is not 0.25≦ or 0≦0.75, the correction coefficient S is set to 1, and k=5Xko Obtain the approximate area ratio k after correction using the formula (5419.5420
).
尚、本実施例では、近似面積率補正処理を濃度決定処理
を分けて示したが、濃度決定処理の中に含めて処理する
ようにしてもよい。In this embodiment, the approximate area ratio correction process is shown separately from the density determination process, but it may be included in the density determination process.
■画像処理装置の構成
第6図を参照して画像処理装置400の構成を説明する
。(2) Configuration of Image Processing Apparatus The configuration of the image processing apparatus 400 will be explained with reference to FIG.
画像処理装置400は、画像読取り装置300内のCC
D7r、7g、及び、7bで読み取った3色の画像信号
を記録に必要なブラック(BK)。The image processing device 400 is a CC in the image reading device 300.
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か
らROBイメージデータを入力するモードをグラフィッ
クスモードと呼ぶ。Yellow (Y), magenta (M), and cyan (C)
) into each recording signal. Further, the RGB image data given from the PDL controller 200 described above is similarly converted into black (BK), yellow (Y), magenta (M), and cyan (C) recording signals. Here, the mode in which image signals are input from the image reading device 300 is called a copying machine mode, and the mode in which ROB image data is input from the PDL 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ビツトデータとして出力するγ補正回路40
3と、γ補正回路403から出力される赤(R)、緑(
G)。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 take (RGB image take) output from the PDL controller 200 according to the aforementioned mode;
A γ correction circuit 40 receives 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 red (R) and green (
G).
青(B)の階調を示す6ビ、トの階調データをそれぞれ
の補色であるシアン(C)、マゼンタ(M)、イエロー
(Y)の階調データ(6ビ、ト)に変換する補色生成回
路405と、補色生成回路405から出力されるY、M
、Cの各階調データに所定のマスキング処理を行うマス
キング処理回路406と、マスキング処理後のY、M、
Cの各階調データを入力してUCR処理及び黒発生処理
を実行するUCR処理・黒発生回路407と、UCR処
理・黒発生回路407から出力されるY。Convert 6-bit, G gradation data indicating the gradation of blue (B) to gradation data (6-bit, G) of cyan (C), magenta (M), and yellow (Y), which are the respective complementary colors. Complementary color generation circuit 405 and Y, M output from complementary color generation circuit 405
, C, and a masking processing circuit 406 that performs predetermined masking processing on each gradation data of Y, M,
A UCR processing/black generation circuit 407 inputs each gradation data of C and executes UCR processing and black generation processing, and Y outputted from the UCR processing/black generation circuit 407.
M、C,及び、BKの各6ビツトの階調データを3ビツ
トの階調データYl、ML C1,及び、BKIに変換
し、多値カラー・レーザー・プリンタ500内部のレー
ザー駆動処理部502に出力する階調処理回路408と
、画像処理装置400の各回路の同期をとるための同期
制御回路409とから構成される。Each 6-bit tone data of M, C, and BK is converted into 3-bit tone data Yl, ML C1, and BKI, and is sent to the laser drive processing section 502 inside the multivalued color laser printer 500. It is composed of a gradation processing circuit 408 for outputting, 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
の階二周数は3×3の面積階調と、3ビツト(即ち、8
段階)の多値レベルの積となり、3X3X8=72 (
階調)となる。Further, as the algorithm used in the gradation processing circuit 408, a multi-value dither method, a multi-value error diffusion method, etc. can be used. For example, a dither matrix of the multi-value dither method can be
x3, multilevel color laser printer 500
The two-round frequency is 3 x 3 area gradation and 3 bits (i.e. 8
It is the product of the multi-value levels of the stages), and 3X3X8=72 (
gradation).
次に、マスキング処理回路406及びUCR処理・黒発
生回路407の処理について説明する。Next, the processing of the masking processing circuit 406 and the UCR processing/black generation circuit 407 will be explained.
マスキング処理回路406のマスキング処理の演算式と
しては一般に、
また、UCR処理・黒発生回路407のtJcR処理の
演算式も一般に、次式で表される。The arithmetic expression for the masking process of the masking processing circuit 406 is generally expressed by the following expression, and the arithmetic expression for the tJcR process of the UCR processing/black generation circuit 407 is also generally expressed by the following expression.
従って、この実施例ではこれらの式から両方の係数の積
を用いて、新しい係数を求めている。Therefore, in this embodiment, new coefficients are obtained from these equations using the product of both coefficients.
(・・ ・・ ・・j
aa+ aaz a<3
本実施例では、このマスキング処理とUCR処理を同時
に行う新しい係数(al+”等)を予め計算して求め、
更に、該新しい係数を用いて、マスキング処理回路40
6の予定された入力値Y、、M□。(... . . . j aa+ aaz a<3 In this example, a new coefficient (al+", etc.) that performs this masking processing and UCR processing simultaneously is calculated in advance,
Furthermore, using the new coefficients, the masking processing circuit 40
6 scheduled input values Y,,M□.
Ci (各6ビノト)に対応する出力値(Y0′ 等
:UCR処理・黒発生回路407の演算結果となる値)
を求め、予め所定のメモリに記憶している。Output value corresponding to Ci (6 bits each) (Y0', etc.: value that is the calculation result of the UCR processing/black generation circuit 407)
is calculated 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 inputs Y, M, and C of the masking processing circuit 406 is given as the output of the UCR 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,
, M, and C are corrected to values obtained by subtracting the black component data BK.
以上の構成において、T補正回路403が第7図に示す
T補正用変換グラフに基づいて処理を実行し、補色生成
回路405が第8図(a)、 (b)。In the above configuration, the T correction circuit 403 executes processing based on the T correction conversion graph shown in FIG. 7, and the complementary color generation circuit 405 executes processing as shown in FIGS. 8(a) and (b).
(C)に示す補色生成用変換グラフに基づいて処理を実
行し、その後、マスキング処理回路406及びUCR処
理・黒発生回路407が次式
に基づいて処理を実行する。Processing is executed based on the conversion graph for complementary color generation shown in (C), and then the masking processing circuit 406 and the UCR processing/black generation circuit 407 execute processing based on the following equation.
その後、階調処理回路408が第9図に示すヘイヤー型
の3×3の多値デイザマトリクスを用いて、階調処理を
実施する。Thereafter, the gradation processing circuit 408 performs gradation processing using a Heyer type 3×3 multivalued dither matrix shown in FIG.
■多値カラー・レーザー・プリンタの構成先ず、第10
図に示す制御ブロック図を参照して、多値カラー・レー
ザー・プリンタ500の概略構成を説明する。■Multi-value color laser printer configuration First, the 10th
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データの現像・転写を行うマゼンタ現像・転写部50
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 black developing/transfer section 501bk& that performs transfer, a cyan developing/transfer section 501c that develops/transfers C data,
A magenta developing/transfer section 50 that develops/transfers M data.
1m, 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、503m
、503cと、Y、M、C,BKのそれぞれ対応したレ
ーザービームを出力するレーザーダイオード504y、
504m、504c、504bkと、レーザーダイオー
ド504y、504m、504c、504bkをそれぞ
れ駆動するドライバ505y、505m、505c、5
05bkとから構成される。The laser drive processing unit 502 includes the image processing device 4 described above.
The laser beam is output by inputting the 3-bit data of Y, M, C, and BK output from 00 (in this case, image density data). Input buffer memory 503y, 503m
, 503c, and a laser diode 504y that outputs laser beams corresponding to Y, M, C, and BK, respectively.
Drivers 505y, 505m, 505c, and 5 drive the laser diodes 504y, 504m, 504c, and 504bk, respectively.
It consists of 05bk.
尚、感光体現像処理部501のブランク現像・転写部5
01bkと、レーザー駆動処理部502レーザーダイオ
ード504bk、及び、ドライバ5−05 b kとの
組合せをブランク記録ユニットBKU (第11図参照
)と呼ぶ。同様に、シアン現像・転写部501c、
レーザーダイオード504c、 ドライバ505c、
及び、バッファメモ’) 503 cの組合せをシアン
記録ユニットCU(第11図参照)、マゼンタ現像・転
写部501m、 レーザーダイオード504m、
ドライバ505m、及び、バッファメモリ503mの組
合せをマゼンタ記録ユニットMU (第11図参照)、
イエロー現像・転写部501y、 レーザーダイオー
ド504y、 ドライバ505 y、及び9バツフア
メモリ503yの組合せをイエロー記録ユニッ1−YU
(第11図参照)と呼ぶ。これらの各記録ユニットは
、図示の如く、記録紙を搬送する搬送ベルト506の周
囲に記録紙の搬送方向からブランク記録ユニットBKU
、 シアン記録ユニットCU、 マゼンタ記録ユニッ
トMU、 イエロー記録ユニソ)YUの順に配設され
ている。Note that the blank developing/transfer section 5 of the photoreceptor development processing section 501
01bk, the laser drive processing unit 502 laser diode 504bk, and the driver 5-05bk are called a blank recording unit BKU (see FIG. 11). Similarly, the cyan developing/transfer section 501c,
Laser diode 504c, driver 505c,
and buffer memo') 503c, a combination of cyan recording unit CU (see Figure 11), magenta developing/transfer section 501m, laser diode 504m,
A combination of a driver 505m and a buffer memory 503m is connected to a magenta recording unit MU (see FIG. 11),
The yellow developing/transfer section 501y, laser diode 504y, driver 505y, and 9 buffer memory 503y are combined into a yellow recording unit 1-YU.
(See Figure 11). As shown in the figure, each of these recording units includes a blank recording unit BKU from the recording paper conveyance direction around a conveyor belt 506 that conveys the recording paper.
, cyan recording unit CU, magenta recording unit MU, and yellow recording unit (UNISO) YU.
このような各記録ユニットの配列によって、最初に露光
開始となるのはブラック露光用のレーザーダイオード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.
次に、第11図を参照して多値カラー・レーザー・プリ
ンタ500の構成を具体的に説明する。Next, the configuration of the multilevel color laser printer 500 will be specifically explained with reference to FIG.
多値カラー・レーザー・プリンタ500は、記録紙を搬
送する搬送ヘルド506と、前述したように搬送ベル)
506の周囲に配設された各記録ユニットYU、MU、
(、U、BKUと、記録紙を収納した給紙力セント50
7a、507bと、給紙カセy)507a、507bか
らそれぞれ記録紙を送り出す給紙コロ508a、508
bと、給紙カ七ノ)507a、507bから送り出され
た記録紙の位置合わせを行うレジストローラ509と、
搬送ヘルド506によって記録ユニy トBKU、CU
、MU、YUを順次搬送されて転写された画像を記録紙
に定着される定着ローラ510と、記録紙を所定の排出
部(図示せず)に排出する排紙コロ511とから構成さ
れる。ここで、各記録ユニットYU、MU、CU、BK
Uは、感光体ドラム512y、512m、512c、5
12bkと、それぞれ感光体ドラム512y、512m
。The multivalued color laser printer 500 includes a transport heald 506 that transports recording paper, and a transport bell (as described above).
Each recording unit YU, MU, arranged around 506
(, U, BKU, and paper feeding power cents 50 containing recording paper)
7a, 507b, and paper feed rollers 508a, 508 that feed the recording paper from 507a, 507b, respectively.
b, and a registration roller 509 that aligns the recording paper sent out from the paper feed rollers 507a and 507b,
The recording units BKU and CU are transported by the transport heald 506.
, MU, and YU and fixes the transferred image on the recording paper, and a paper discharge roller 511 that discharges the recording paper to a predetermined discharge section (not shown). Here, each recording unit YU, MU, CU, BK
U represents photoreceptor drums 512y, 512m, 512c, 5
12bk, and photoreceptor drums 512y and 512m, respectively.
.
512c、512bkを一様に帯電する帯電器513y
、513m、513c、513bkと、感光体ドラム5
12y、512m、512c、512bkにレーザービ
ームを導くためのポリゴンミラー514y、514m、
514c、514bk及びモータ515y、515m、
515c、515bkと、感光体ドラム512y、51
2m、512c、512bk上に形成された静電潜像を
それぞれ該当する色のトナーを用いて現像するトナー現
像装置516y、516m、516c、516bkと、
現像したトナー像を記録紙に転写する転写帯電器517
y、517m、517c、517bkと、転写後に感光
体ドラム512y、512m、512c、512bk上
に残留するトナーを除去するクリーニング装置518y
、518m。Charger 513y that uniformly charges 512c and 512bk
, 513m, 513c, 513bk, and photosensitive drum 5
Polygon mirrors 514y, 514m for guiding the laser beam to 12y, 512m, 512c, 512bk,
514c, 514bk and motor 515y, 515m,
515c, 515bk, and photosensitive drums 512y, 51
toner developing devices 516y, 516m, 516c, and 516bk that develop the electrostatic latent images formed on 2m, 512c, and 512bk using toners of corresponding colors;
Transfer charger 517 that transfers the developed toner image onto recording paper
y, 517m, 517c, and 517bk, and a cleaning device 518y that removes toner remaining on the photoreceptor drums 512y, 512m, 512c, and 512bk after transfer.
, 518m.
518c、518bkとから構成される。It consists of 518c and 518bk.
尚、519y、519m、519c、519bkは、そ
れぞれ感光体ドラム512y、512m。Note that 519y, 519m, 519c, and 519bk are photosensitive drums 512y and 512m, respectively.
512c、512bk上に設けられたテストパターンを
読み取るためのトナー付着濃度測定装置を示し、スラス
ト方向に並んだCCDラインセンサー及びLED光源か
ら構成されている。This shows a toner adhesion density measuring device for reading test patterns provided on 512c and 512bk, and is composed of a CCD line sensor and an LED light source arranged in the thrust direction.
以上の構成において、イエロー記録ユニットYUの露光
・現像・転写を例にその動作を説明する。In the above configuration, the operations of the yellow recording unit YU will be explained using exposure, development, and transfer as examples.
第12図(a)、 (b)はイエロー記録ユニットYU
の露光系の構成を示す。同図において、レーザーダイオ
ード504yから出射されたレーザービームはポリゴン
ミラー514yで反射されて、f−θレンズ520yを
通過して、更にミラー521 y。Figure 12 (a) and (b) are 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で現像され、イエローのトナー像と
なる。このトナー像は、第11図に示したように、カセ
ット507a (或いは、507b)から給紙コロ5
08a (或いは、508b)で繰り出され、レジス
トローラ509によってブラ・ツク記録ユニソ)BKL
Iのトナー像形成と同期をとって搬送ベルト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 the registration roller 509 records the black (unisolated) BKL.
In synchronization with the formation of the toner image I, the toner image is transferred onto the recording paper conveyed by the conveyor belt 506.
他の記録ユニッI−BKU、CU、MUも同様な構成で
同様な動作を実行するが、ブラック記録ユニットBKU
はブラックトナー現像装置516bkを備え、ブラック
のトナー像の形成及び転写を行い、シアン記録ユニット
CUはシアントナー現像装置516Cを備え、シアンの
トナー像の形成及び転写を行い、マゼンタ記録ユニット
MUはマゼンタトナー現像装置516mを備え、マゼン
タのトナー像の形成及び転写を行う。The other recording units I-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 to form and transfer a black toner image, the cyan recording unit CU is equipped with a cyan toner developing device 516C to form and transfer a cyan toner image, and the magenta recording unit MU is equipped with a cyan toner developing device 516C to form and transfer a cyan toner image. A toner developing device 516m is provided to form and transfer a magenta toner image.
■ドライバの多値駆動
トライバ505y、505m、505c、505bkは
、画像処理装置400から送られてくるY、M、C,B
Kの3ビ、トデークに基づいて、3亥当するレーザーダ
イオード504y、504m。■The multi-value drive drivers 505y, 505m, 505c, and 505bk are Y, M, C, and B sent from the image processing device 400.
Based on K's 3-bit, Todek, laser diode 504y, 504m that corresponds to 3.
504c、504bkを多値駆動するための制御を行う
ものであり、その駆動方法としては、パワー変調、パル
ス巾変調等が一般的に用いられてい、 る。It performs control for multi-value driving of 504c and 504bk, and power modulation, pulse width modulation, etc. are generally used as the driving method.
以下、本実施例で適用するパワー変調による多値駆動を
第13図(a)、 (b)、 (C)、 (d)を参照
して詳細に説明する。尚、トライバ505y、505m
。Hereinafter, the multivalue drive by power modulation applied in this embodiment will be explained in detail with reference to FIGS. 13(a), (b), (C), and (d). In addition, Triba 505y, 505m
.
505c、505bk、及び、レーザーダイオード50
4y、504m、504c、504bkはそれぞれ同一
の構成であるため、ここでは、ドライバ505y及びレ
ーザーダイオード504yを例として説明する。505c, 505bk, and laser diode 50
4y, 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は、第13図(a)に示すように、所
定のLDドライブクロツタに基づいて、レーザーダイオ
ード504yをonloffするレーザーダイオードo
n10ff回路550と、3ピントの画像濃度データ(
ここでは、Yデータ)をアナログ信号に変換するD/A
コンバータ551と、画像濃度値に基づくアナログ信号
をD/Aコンバータ551から入力して、レーザーダイ
オード504yを駆動する電流(LD駆動電流)Idを
レーザーダイオードOn10 f f回路550に供給
する定電流回路552とから構成される。As shown in FIG. 13(a), the driver 505y turns the laser diode 504y on and off based on a predetermined LD drive clock.
n10ff circuit 550 and 3-focus image density data (
Here, the D/A converts Y data) into an analog signal.
A converter 551 and a constant current circuit 552 that inputs an analog signal based on the image density value from the D/A converter 551 and supplies a current (LD drive current) Id for driving the laser diode 504y to the laser diode On10 f f circuit 550. It consists of
ここで、LDドライブクロツタは′1°′でOn“0゛
′でoffと定義づけられ、第13図(b)に示すよう
に、レーザーダイオードon10ff回路550はこれ
に従ってレーザーダイオード504yをonloffす
る。また、LD駆動電流1dとレーザービームパワーは
比例関係にあるので、画像濃度データ値に基づ<LD駆
動電流Idを生成することで、画像濃度データ値に対応
したレーザービームパワー出力が得られることになる。Here, the LD drive blocker is defined as on at '1°' and off at '0', and as shown in FIG. 13(b), the laser diode on10ff circuit 550 turns on and off the laser diode 504y accordingly. Furthermore, since there is a proportional relationship between the LD drive current 1d and the laser beam power, by generating 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. It turns out.
例えば、第13図(b)に示すように、画像濃度データ
値が“′4”(同図のデータN−1)の場合には、定電
流回路552によって相当するLD駆動電流Idが供給
され、レーザーダイオード504yのレーザービームパ
ワーはレベル4となる。また、画像濃度データ値が“7
゛(同図のデータN)の場合には、定電流回路552に
よって相当するLD駆動電流1dが供給され、レーザー
ダイオード504yのレーザービームパワーはレベル7
となる。For example, as shown in FIG. 13(b), when the image density data value is "'4" (data N-1 in the figure), the corresponding LD drive current Id is supplied by the constant current circuit 552. , the laser beam power of the laser diode 504y is level 4. Also, the image density data value is “7”.
In the case of "(data N in the figure), the corresponding LD drive current 1d is supplied by the constant current circuit 552, and the laser beam power of the laser diode 504y is level 7.
becomes.
次に、第13図(C)を参照して、レーザーダイオード
o n / o f f回路550.D/Aコンハ゛−
タ551、及び、定電流回路552の具体的な回路構成
を示す。レーザーダイオードo n / o f f回
路550は、TTLインバータ553,554と、on
loffのトグル動作をする差動型スイッチング回路5
55,556と、VGI>VC2の時、差動型スイッチ
ング回路555がon、差動型スイッチング回路556
がo f f、VGI<VC2の時、差動型スイッチン
グ回路555がoff。Next, referring to FIG. 13(C), a laser diode on/off circuit 550. D/A converter
5 shows a specific circuit configuration of the circuit 551 and the constant current circuit 552. The laser diode on/off circuit 550 has TTL inverters 553, 554 and an on/off circuit.
Differential switching circuit 5 with loff toggle operation
55, 556, and when VGI>VC2, the differential switching circuit 555 is on, and the differential switching circuit 556 is on.
is off, and when VGI<VC2, the differential switching circuit 555 is off.
差動型スイッチング回路556がonとなる条件を満足
するVC,2を生成する分圧回路を形成する抵抗R,,
R3とから構成される。従って、LDドライブクロック
が“1”の時にインバータ554の出力がVGIを生成
し、前記条件(VGI>VO2)を満足し、差動型スイ
ンチング回路555がon、差動型スイッチング回路5
56がoffしで、レーザーダイオード504yをOn
する。A resistor R, which forms a voltage divider circuit that generates VC,2 that satisfies the conditions for the differential switching circuit 556 to be turned on.
It is composed of R3. Therefore, when the LD drive clock is "1", the output of the inverter 554 generates VGI, the above condition (VGI>VO2) is satisfied, the differential switching circuit 555 is turned on, and the differential switching circuit 555 is turned on.
56 is turned off and the laser diode 504y is turned on.
do.
また、逆にLDドライブクロツタが“0パの時には、イ
ンバータ554の出力のないため、前記条件(VGI<
VO2)を満足し、差動型スインチング回路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<
VO2), and the differential switching circuit 555
ff, the differential switching circuit 556 turns on and turns off the laser diode 504y.
D/Aコンバータ551は、入力した画像濃度データを
LDドライブクロツタが“1゛の間ラッチするラッチ5
57と、最大出力値V refを与えるV rat発生
器558と、画像濃度データ及び最大出力値V ref
に基づいてアナログデータVdを出力する3ビツトD/
Aコンバータ559とから構成される。尚、ここでVd
と画像濃度データ及び最大出力値V refとの関係は
次式によって表される。The D/A converter 551 has a latch 5 that latches the input image density data while the LD drive clock is "1".
57, a V rat generator 558 that provides a maximum output value V ref, and a V rat generator 558 that provides image density data and a maximum output value V ref.
3-bit D/ that outputs analog data Vd based on
A converter 559. Furthermore, here Vd
The relationship between the image density data and the maximum output value V ref is expressed by the following equation.
定電流回路552は、前述したようにレーザーダイオー
ドon10ff回路550にレーザーダイオード504
yの電流を供給するものであり、トランジスター560
と、抵抗R,,R6とから構成される。D/Aコンバー
タ551からの出力Vdはトランジスター560のベー
スに加えられ、抵抗R4に印加される電圧を決定する。The constant current circuit 552 includes the laser diode 504 in the laser diode ON10ff circuit 550 as described above.
y current, and the transistor 560
and resistors R, , R6. The output Vd from D/A converter 551 is applied to the base of transistor 560 to determine the voltage applied to resistor R4.
換言すれば、抵抗R4に流れる電流はトランジスター5
60のコレクタ電流にほぼ等しいため、Vdによってレ
ーザーダイオード504yに流れる電流1dが制御され
る。In other words, the current flowing through the resistor R4 is the current flowing through the transistor 5.
60, the current 1d flowing through the laser diode 504y is controlled by Vd.
第1311D(d)は、前述したランチ557の出力。No. 1311D(d) is the output of the aforementioned launch 557.
VGI、Vd、及び、Idの関係を示すタイミングチャ
ートである。ここでVdは画像濃度データ(3ピントデ
ータ:0〜7の8階調データ)に基づいて、Vrl、f
×0/7〜7/7の8段階の値をとり、Idは、このV
dO値に基づいて、1.〜17の8段階のレベルを示す
。レーザーダイオード504yはこのIdの8段階レベ
ル(1,−レベル0111−レヘルト・・・、I7−レ
ベル7)に従って、感光体ドラム512y上に、第14
図に示すような潜像を形成する。5 is a timing chart showing the relationship between VGI, Vd, and Id. Here, Vd is Vrl, f based on image density data (3 focus data: 8 gradation data from 0 to 7).
It takes a value in 8 steps from ×0/7 to 7/7, and Id is this V
Based on the dO value, 1. Shows 8 levels from ~17. The laser diode 504y is placed on the photosensitive drum 512y at the 14th level according to the 8 levels of this Id (1, - level 0111 - level . . . , I7 - level 7).
A latent image as shown in the figure is formed.
本発明の図形処理装置を適用した画像形成システムでは
、前述した構成及び動作によって、例えば、第15図(
a)、 (b)、 (C)に示す交点を含むエツジ部画
素が第16図(a)、 (b)、 (C)のように処理
される。In an image forming system to which the graphic processing device of the present invention is applied, the configuration and operation described above can be used, for example, as shown in FIG.
Edge pixels including the intersections shown in a), (b), and (C) are processed as shown in FIGS. 16(a), (b), and (C).
図示から明らかなように、交点部分の太りがなくなり、
鮮明な画像が得られる。As is clear from the illustration, the thickness at the intersection is gone,
A clear image can be obtained.
以上説明したように、本発明の図形処理装置は、塗りつ
ふすべき面積率に基づいて、ベクトルデータのエツジ部
画素の出力を調整し、出力画像のエツジ部のギザギザ(
エイリアス)を滑らかに表現するアンチエイリアシング
処理方法を通用した図形処理装置において、ベクトルデ
ータとベクトルデータが交差する場合の交点を算出する
交点算出手段と、交点を含むエツジ部画素の近似面積率
をアンチエイリアシング処理方法を用いて算出する近似
面積率算出手段と、交点を含む工、ジ部画素において、
ベクトルデータの交差具合に応じて近似面積率を補正す
る近似面積率補正手段とを備えたため、交点を含んだエ
ツジ部画素に対してアンチエイリアシング処理を施し、
且つ、シャープネス(鮮明さ)を損なわない画像を得る
ことができる。As explained above, the graphic processing device of the present invention adjusts the output of edge portion pixels of vector data based on the area ratio to be filled, and jagged edge portions (
In a graphics processing device that uses an anti-aliasing processing method that smoothly expresses aliases, there is an intersection calculation means that calculates the intersection point when vector data intersects, and an anti-aliasing method that calculates the approximate area ratio of edge pixels including the intersection point. Approximate area ratio calculation means that calculates using an aliasing processing method, and in pixels including intersection points,
Since it is equipped with an approximate area ratio correction means that corrects the approximate area ratio according to the degree of intersection of the vector data, anti-aliasing processing is performed on edge pixels including intersection points,
Moreover, it is possible to obtain an image without losing sharpness.
また、本発明の図形処理装置は、塗りつふすべき面積率
に基づいて、ベクトルデータのエツジ部画素の出力を調
整し、出力画像のエツジ部のギザギザ(エイリアス)を
滑らかに表現するアンチエイリアシング処理方法を通用
した図形処理装置において、ベクトルデータとベクトル
データが交差する場合の交点を算出する交点算出手段と
、交点を含むエツジ部画素の近似面積率をアンチエイリ
アシング処理方法を用いて算出する近似面積率算出手段
と、交点を形成する2つのベクトルデータの塗りつぶし
側の交点角度θを算出する交点角度算出手段と、交点角
度θが180°くθ<360’の場合に、エツジ部画素
内における交点の位置。In addition, the graphic processing device of the present invention adjusts the output of edge portion pixels of vector data based on the area ratio to be filled, and performs anti-aliasing processing to smoothly express jaggedness (alias) at the edge portion of the output image. In a graphic processing device that is compatible with the method, an intersection calculation means that calculates an intersection point when vector data intersects, and an approximate area that calculates an approximate area ratio of an edge pixel including the intersection point using an anti-aliasing processing method. an intersection angle calculation means for calculating an intersection angle θ on the filled side of two vector data forming an intersection; Position of.
及び、エツジ部画素における画像部の塗りつぶし方向に
基づいて、近似面積率を補正する近似面積率補正手段と
を備えたため、交点を含んだユ、ジ部画素に対してアン
チエイリアシング処理を施し且つ、シャープネス(鮮明
さ)を損なわない画像を得ることができる。and approximate area ratio correction means for correcting the approximate area ratio based on the filling direction of the image area in the edge area pixels, so that anti-aliasing processing is performed on the edge area pixels including the intersection points, and Images can be obtained without losing sharpness.
第1図(a)〜Q′1)は本発明の近似面積率補正処理
を示す説明図、第2図は本実施例の画像形成システムの
構成を示す説明図、第3図はPDLコントローラの構成
を示す説明図、第4図(a)はPDLコントローラの動
作を示すフローチャート、第4図(b)はパスの塗りつ
ぶし処理を示す説明図、第4図(C)はアンチエイリア
シング処理を示すフローチャート、第4図(d)は近似
面積率補正処理のフローチャート、第5図(a)、 (
b)は図形の直線ヘクトル分側を示す説明図、第6図は
画像処理装置の構成を示す説明図、第7図はT補正回路
のr補正用変換グラフを示す説明図、第8図(a)、
(b)、 (C)は補色生成回路で使用する補色生成用
変換グラフを示す説明図、第9図はへイヤー型の3×3
の多値デイザマトリクスを示す説明図、第10図は多値
カラー・レーザー・プリンタを示す制御プロ・ツク図、
第11図、 は多値カラー・レーザー・プリンタの構
成を示す説明図、第12図(a)、 (b)はイエロー
記録ユニットの露光系の構成を示す説明図、第13図(
a)、 (b)。
(C)、 (d)はパワー変調による多値駆動を示す説
明図、第14図はパワー変調のレベルによる潜像の状態
を示す説明図、第15図(a)、 (b)、 (C)は
交点部分の補正処理前を示す説明図、第16図(a)、
(b)、 (C)は本発明による交点部分の補正処理
後を示す説明図、第17図(a)、 (b)は従来のア
ンチエイリアシング処理を示す説明図、第18図(a)
、 (b)は均一平均化法によるアンチエイリアシング
処理を示す説明図、第19図(a)、 (b)は重み付
は平均化法によるアンチエイリアシング処理を示す説明
図、第20図(a)。
(b)、 (C)、 (d)は重み付は平均化法に使用
するフィルター例を示す説明図、第21図は3×3ピク
セル参照の畳み込み積分法を示す説明図、第22図(a
)。
(b)は従来の問題点を示す説明図である。
符号の説明
100−−−−−ホストコンピュータ
200−−−−− P D Lコントローラ201−−
−−−受信装置 202−−−−− CP U203−
−−−−内部システムハス
204−・−−RAM 205−・−ROM2O6−
・−ページメモリ 207−−送信装置208−−−−
−I / O装置
300−−−−一画像読取り装置
400−−〜−−−−画像処理装置
500−・−多値カラー・レーザー・プリンタ600−
−−−システム制御部FIGS. 1(a) to Q'1) are explanatory diagrams showing the approximate area ratio correction processing of the present invention, FIG. 2 is an explanatory diagram showing the configuration of the image forming system of this embodiment, and FIG. An explanatory diagram showing the configuration, FIG. 4(a) is a flowchart showing the operation of the PDL controller, FIG. 4(b) is an explanatory diagram showing path filling processing, and FIG. 4(C) is a flowchart showing anti-aliasing processing. , FIG. 4(d) is a flowchart of approximate area ratio correction processing, FIG. 5(a), (
b) is an explanatory diagram showing the linear hector side of the figure, Fig. 6 is an explanatory diagram showing the configuration of the image processing device, Fig. 7 is an explanatory diagram showing the conversion graph for r correction of the T correction circuit, and Fig. 8 ( a),
(b) and (C) are explanatory diagrams showing conversion graphs for complementary color generation used in the complementary color generation circuit, and Figure 9 is a Heyer type 3 × 3
FIG. 10 is a control program diagram showing a multi-value color laser printer.
11 and 11 are explanatory diagrams showing the configuration of a multivalue color laser printer, FIGS. 12(a) and 12(b) are explanatory diagrams showing the configuration of the exposure system of the yellow recording unit, and FIG. 13 (
a), (b). (C), (d) are explanatory diagrams showing multi-level driving by power modulation, Figure 14 is an explanatory diagram showing the state of latent images depending on the level of power modulation, and Figures 15 (a), (b), (C ) is an explanatory diagram showing the intersection before correction processing, FIG. 16(a),
(b) and (C) are explanatory diagrams showing after the correction processing of the intersection portion according to the present invention, Fig. 17 (a) and (b) are explanatory diagrams showing the conventional anti-aliasing processing, and Fig. 18 (a)
, (b) is an explanatory diagram showing anti-aliasing processing using the uniform averaging method, Fig. 19 (a), (b) is an explanatory diagram showing anti-aliasing processing using the weighted averaging method, Fig. 20 (a) . (b), (C), and (d) are explanatory diagrams showing examples of filters used in the weighted averaging method; Fig. 21 is an explanatory diagram showing a convolution method with 3 x 3 pixel reference; a
). (b) is an explanatory diagram showing conventional problems. Explanation of symbols 100 ----- Host computer 200 --- PDL controller 201 ---
--- Receiving device 202 --- CPU U203-
---Internal system lotus 204----RAM 205---ROM2O6-
-Page memory 207--Transmitting device 208--
-I/O device 300---One image reading device 400---Image processing device 500---Multi-value color laser printer 600-
---System control section
Claims (4)
タのエッジ部画素の出力を調整し、出力画像のエッジ部
のギザギザ(エイリアス)を滑らかに表現するアンチエ
イリアシング処理方法を適用した図形処理装置において
、 ベクトルデータとベクトルデータが交差する場合の交点
を算出する交点算出手段と、 前記交点を含むエッジ部画素の近似面積率をアンチエイ
リアシング処理方法を用いて算出する近似面積率算出手
段と、 前記交点を含むエッジ部画素において、ベクトルデータ
の交差具合に応じて近似面積率を補正する近似面積率補
正手段とを備えたことを特徴とする図形処理装置。(1) In a graphic processing device that applies an anti-aliasing processing method that adjusts the output of edge pixels of vector data based on the area ratio to be filled, and smoothly expresses jagged edges (aliases) of the output image. Intersection point calculation means for calculating an intersection point when vector data intersects; Approximate area ratio calculation means for calculating an approximate area ratio of edge pixels including the intersection point using an anti-aliasing processing method; A graphic processing device comprising: an approximate area ratio correcting means for correcting an approximate area ratio in accordance with the degree of intersection of vector data in edge portion pixels including the image data.
タのエッジ部画素の出力を調整し、出力画像のエッジ部
のギザギザ(エイリアス)を滑らかに表現するアンチエ
イリアシング処理方法を適用した図形処理装置において
、 ベクトルデータとベクトルデータが交差する場合の交点
を算出する交点算出手段と、 前記交点を含むエッジ部画素の近似面積率をアンチエイ
リアシング処理方法を用いて算出する近似面積率算出手
段と、 前記交点を形成する2つのベクトルデータの塗りつぶし
側の交点角度θを算出する交点角度算出手段と、 前記交点角度θが180°<θ<360°の場合に、前
記エッジ部画素内における交点の位置、及び、前記エッ
ジ部画素における画像部の塗りつぶし方向に基づいて、
前記近似面積率を補正する近似面積率補正手段とを備え
たことを特徴とする図形処理装置。(2) In a graphic processing device that applies an anti-aliasing processing method that adjusts the output of edge pixels of vector data based on the area ratio to be filled, and smoothly expresses jagged edges (aliases) of the output image. Intersection point calculation means for calculating an intersection point when vector data intersects; Approximate area ratio calculation means for calculating an approximate area ratio of edge pixels including the intersection point using an anti-aliasing processing method; an intersection angle calculating means for calculating an intersection angle θ on the filling side of two vector data to be formed; when the intersection angle θ is 180°<θ<360°, a position of the intersection within the edge pixel; Based on the filling direction of the image area in the edge area pixel,
A graphic processing device comprising approximate area ratio correction means for correcting the approximate area ratio.
る仮想線の傾きφが、0≦φ<45°、或いは、135
°≦φ<180の範囲で、塗りつぶさない開口部が画素
の右側方向にある場合をH_0方向、塗りつぶさない開
口部が画素の左側方向にある場合をH_1方向とし、 前記交点角度θを2等分する仮想線の傾きφが、45°
≦φ<135の範囲で、塗りつぶさない開口部が画素の
上側方向にある場合をV_0方向、塗りつぶさない開口
部が画素の下側方向にある場合をV_1方向とし、 前記塗りつぶさない開口部の方向がH_0方向及びH_
1方向の場合、前記交点のx座標値に基づいて、前記近
似面積率を補正するか否か判定し、前記塗りつぶさない
開口部の方向がV_0方向及びV_1方向の場合、前記
交点のy座標値に基づいて、前記近似面積率を補正する
か否か判定することを特徴とする図形処理装置。(3) In the second aspect, the approximate area ratio correcting means is configured such that an inclination φ of a virtual line dividing the intersection angle θ into two equal parts is 0≦φ<45°, or 135°.
In the range of °≦φ<180, the case where the unfilled opening is on the right side of the pixel is defined as the H_0 direction, and the case where the unfilled opening is on the left side of the pixel is defined as the H_1 direction, and the intersection angle θ is divided into two. The slope φ of the virtual line is 45°
In the range of ≦φ<135, when the opening that is not filled is in the upper direction of the pixel, the direction is V_0, and when the opening that is not filled is in the lower direction of the pixel, it is the direction V_1, and the direction of the opening that is not filled is H_0 direction and H_
In the case of one direction, it is determined whether or not to correct the approximate area ratio based on the x-coordinate value of the intersection point, and if the direction of the unfilled opening is in the V_0 direction and the V_1 direction, the y-coordinate value of the intersection point is determined. A graphic processing device that determines whether or not to correct the approximate area ratio based on.
基づいて予め設定した係数を、前記近似面積率に乗算す
ることで近似面積率の補正を行うことを特徴とする図形
処理装置。(5)前記請求項4において、 前記予め設定した係数sは、前記近似面積率kが0.2
5≦k≦0.75のときs=0.5、それ以外の場合に
はs=1であることを特徴とする図形処理装置。(4) In claim 3, the approximate area ratio correction means corrects the approximate area ratio by multiplying the approximate area ratio by a coefficient set in advance based on the magnitude of the approximate area ratio. A graphic processing device characterized by: (5) In claim 4, the preset coefficient s is such that the approximate area ratio k is 0.2.
A graphic processing device characterized in that when 5≦k≦0.75, s=0.5, and in other cases, s=1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2280515A JPH04155385A (en) | 1990-10-18 | 1990-10-18 | Graphic processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2280515A JPH04155385A (en) | 1990-10-18 | 1990-10-18 | Graphic processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04155385A true JPH04155385A (en) | 1992-05-28 |
Family
ID=17626178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2280515A Pending JPH04155385A (en) | 1990-10-18 | 1990-10-18 | Graphic processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04155385A (en) |
-
1990
- 1990-10-18 JP JP2280515A patent/JPH04155385A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3071229B2 (en) | Graphic processing unit | |
| JP3102805B2 (en) | Graphic output device | |
| US6556311B1 (en) | Luminance-based color resolution enhancement | |
| JP2010074627A (en) | Image processor and method of processing image | |
| JP2790707B2 (en) | Graphic processing unit | |
| JPH04155385A (en) | Graphic processing device | |
| JPH04144479A (en) | Graphic output device | |
| JPH0481170A (en) | Graphic processing unit | |
| JP3148291B2 (en) | Graphic output device | |
| JPH041872A (en) | Graphic processing device | |
| JPH04157980A (en) | Graphic processing device | |
| JPH04152751A (en) | Image forming device | |
| JPH03286384A (en) | Graphic processing device | |
| JPH04152757A (en) | Image forming device | |
| JPH0457175A (en) | Graphic processing device | |
| JPH03278287A (en) | Method and device for antialiasing processing | |
| JP2798496B2 (en) | Graphic processing unit | |
| JPH04249977A (en) | Graphic output device | |
| JPH04150563A (en) | Image processing device | |
| JPH04154363A (en) | Image forming device | |
| JPH04143873A (en) | Graphic processor | |
| JPH04148949A (en) | Vector image printing apparatus | |
| JPH04144359A (en) | Graphic output device | |
| JPH0433074A (en) | Graphic processing device | |
| JPH04158062A (en) | Graphic output device |