JPH07200818A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH07200818A JPH07200818A JP5338565A JP33856593A JPH07200818A JP H07200818 A JPH07200818 A JP H07200818A JP 5338565 A JP5338565 A JP 5338565A JP 33856593 A JP33856593 A JP 33856593A JP H07200818 A JPH07200818 A JP H07200818A
- Authority
- JP
- Japan
- Prior art keywords
- output device
- sub
- image
- pixel
- filter
- 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
- Image Processing (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】
【目的】 オペレータに何等負担をかけることなく、出
力装置に最適なサブピクセルフィルタを用いてアンチエ
イリアシング処理を行ない、常に最良の画像を得る。
【構成】 画像処理装置1のCPU2は、出力装置2
0,20a…のうち出力切換部8を介して切換接続され
ている例えば出力装置20を検出し識別して、不揮発性
RAM6に格納されている複数のサブピクセルフィルタ
のうち、出力装置20に最適なフィルタを選択し、該フ
ィルタを用いてホストマシン10から入力する画像のベ
クトル情報をアンチエイリアシング処理して、フレーム
メモリ5に画像の画素毎に濃度データを書込む。フレー
ムメモリ5上に形成された画像データは、出力装置20
に出力されて表示又は印刷される。
(57) [Abstract] [Purpose] An anti-aliasing process is performed by using an optimal sub-pixel filter for an output device without any burden on the operator, and the best image is always obtained. [Structure] The CPU 2 of the image processing apparatus 1 has an output device 2
Of the plurality of sub-pixel filters stored in the non-volatile RAM 6, the output device 20, which is switched and connected through the output switching unit 8 among 0, 20a ... A different filter is selected, vector information of the image input from the host machine 10 is anti-aliased using the filter, and density data is written in the frame memory 5 for each pixel of the image. The image data formed on the frame memory 5 is output to the output device 20.
Output to and displayed or printed.
Description
【0001】[0001]
【産業上の利用分野】この発明は画像のエッジ部のジャ
ギーを除去するためのアンチエイリアシング処理を行な
う画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing anti-aliasing processing for removing jaggies at an edge portion of an image.
【0002】[0002]
【従来の技術】図形等の画像を表示装置又はプリンタ等
の出力装置によって表示又は印刷する場合に、多数の画
素(以下「ピクセル」ともいう)を一列に配列して横方
向(主走査方向)のラインを形成し、そのラインを縦方
向(副走査方向)に多数本並べて画像を形成することは
よく知られている。2. Description of the Related Art When an image such as a graphic is displayed or printed by an output device such as a display device or a printer, a large number of pixels (hereinafter also referred to as "pixels") are arranged in a row in the horizontal direction (main scanning direction). It is well known to form a line and form a large number of lines in the vertical direction (sub-scanning direction) to form an image.
【0003】例えば、表示装置としては白黒又はカラー
のCRT(ブラウン管),LCM(液晶マトリックス)
等があり、プリンタとしては電子写真方式のLBP(レ
ーザビームプリンタ)及びLEDA(発光ダイオードア
レー),LCA(液晶アレー)を用いたプリンタ、昇華
型や熔融型のサーマルプリンタ、或いはワイヤドットプ
リンタやインクジェットプリンタ等がある。For example, as a display device, a monochrome or color CRT (CRT), LCM (liquid crystal matrix) is used.
There are printers such as electrophotographic type LBP (laser beam printer), LEDA (light emitting diode array), LCA (liquid crystal array), sublimation type or melting type thermal printer, wire dot printer and ink jet printer. There is a printer etc.
【0004】このような出力装置を用いて画像を表示又
は印刷する時に、互いに濃度や色の異なる領域のエッジ
部が垂直に近いか厳密に水平であれば問題にならない
が、斜め特に水平に近づくほどエッジ部が階段状のギザ
ギザに見えるジャギー(エイリアスともいう)が見立つ
ようになり、エッジ部を挾む両側の領域の濃度差又は色
相差が大きいほど著るしくなる。When an image is displayed or printed by using such an output device, it does not matter if the edges of the regions having different densities or colors are close to vertical or strictly horizontal, but diagonally particularly close to horizontal. The jaggies (also called aliases) in which the edge part looks like a stepped jagged part become more prominent, and the more the density difference or the hue difference between the regions on both sides of the edge part is, the more marked it becomes.
【0005】特に、コンピュータ・グラフィックスの分
野では、解像度の高いLBP等ではジャギーが比較的目
立ち難いが、ライン数(走査線数)の限られているCR
T,LCM(液晶マトリックス)で表示する場合は目立
ち易い。特に円は、上下の部分が極めて水平に近づくの
でLBPでもジャギーが現れるから、アンチエイリアシ
ング処理によってエッジ部の画素の濃度又は輝度を変え
て、視覚的に滑らかに見えるようにしていた。Particularly in the field of computer graphics, jaggies are relatively inconspicuous in high-resolution LBPs, etc., but CR in which the number of lines (the number of scanning lines) is limited.
When displaying with T and LCM (liquid crystal matrix), it is easy to stand out. In particular, since the upper and lower parts of a circle are extremely horizontal and jaggies appear in the LBP, the density or brightness of the pixel at the edge portion is changed by the anti-aliasing process so that the circle looks visually smooth.
【0006】アンチエイリアシング処理とは、エッジ部
を示すベクトルと交わる画素について、ベクトルにより
2分されて残った部分の寄与率(面積率等)に応じて該
画素の濃度又は輝度を決定する処理であり、均一平均化
法,重み付け平均化法,畳み込み積分法等が一般に用い
られている。The anti-aliasing process is a process for determining the density or brightness of a pixel that intersects with a vector indicating an edge portion, in accordance with the contribution rate (area ratio, etc.) of the portion that is bisected by the vector and remains. Yes, the uniform averaging method, the weighted averaging method, the convolution integration method, etc. are generally used.
【0007】これらのうち均一平均化法が最も簡単であ
るが、出力装置によって中間濃度の表現方法が異なるた
め、濃度領域の左側と右側とで濃度が違ってくる場合が
あるから、そのような時は出力装置に応じて最適なサブ
ピクセルフィルタを用いた重み付け平均化法が用いられ
ていた。The uniform averaging method is the simplest of these, but since the method of expressing the intermediate density differs depending on the output device, the density may differ between the left side and the right side of the density area. At that time, a weighted averaging method using an optimum subpixel filter according to the output device was used.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、画像処
理装置に接続される出力装置が1種類だけという構成は
稀であり、少なくともCRT等の表示装置と、それに表
示された画像を記録するプリンタの2種類の出力装置が
接続されている構成が普通である。However, a configuration in which only one type of output device is connected to the image processing device is rare, and at least a display device such as a CRT and a printer for recording the image displayed on the display device are used. A configuration in which various types of output devices are connected is common.
【0009】このような場合に、表示装置とプリンタと
で同じサブピクセルフィルタを用いたのではそれぞれに
最適な画像が得られず、どちらか一方に重点を置くか、
両者の中間的な性質を有するサブピクセルフィルタを用
いて我慢するかになる。さもなければ、それぞれに最適
なザブピクセルフィルタを2個用意し、出力装置に応じ
て選択し指示する必要がある。In such a case, if the same sub-pixel filter is used in the display device and the printer, an optimum image cannot be obtained for each, and either one should be emphasized.
You will have to put up with a sub-pixel filter that has an intermediate property between them. Otherwise, it is necessary to prepare two optimal subpixel filters for each and select and instruct according to the output device.
【0010】そのためには、オペレータはどの出力装置
にどのサブピクセルフィルタを用いるかを覚えていなけ
ればならず、ピクセル(画素)を分割したサブピクセル
のマトリックスの数が異なれば、それぞれにサブピクセ
ルフィルタが用意されることになるから、もし誤って指
示すれば1個のサブピクセルフィルタで兼用した場合よ
りも悪い結果になるという問題があった。To this end, the operator must remember which sub-pixel filter is used for which output device, and if the number of sub-pixel matrices into which a pixel (pixel) is divided is different, each sub-pixel filter is different. Therefore, there is a problem in that if an incorrect instruction is given, the result will be worse than in the case where one sub-pixel filter is also used.
【0011】さらに、LANによって結ばれたそれぞれ
に画像処理装置を有する複数の端末(表示装置はそれぞ
れ専用に備えていてる)が、複数のプリンタのうち空い
ているプリンタを使用するようなシステムであれば、オ
ペレータはその都度どのプリンタを使用するかを調べ
て、マトリックスの数が一致する最適なサブピクセルフ
ィルタを選択しなければならず、オペレータの負担が増
して選択ミスを生じ易くなるという問題も発生する。Further, it may be a system in which a plurality of terminals (each of which has a dedicated display device) each having an image processing device connected to each other via a LAN use an available printer among the plurality of printers. For example, the operator must check which printer to use each time and select the optimum sub-pixel filter with the same number of matrices, which increases the operator's burden and tends to cause a selection error. Occur.
【0012】この発明は上記の点に鑑みてなされたもの
であり、オペレータに何等負担をかけることなく、画像
処理装置が出力装置に応じて最適なサブピクセルフィル
タを用いることにより、常に最良の画像が得られること
を目的とする。The present invention has been made in view of the above points, and the image processing apparatus always uses the optimum subpixel filter according to the output apparatus without imposing any burden on the operator, so that the best image can always be obtained. Is intended to be obtained.
【0013】[0013]
【課題を解決するための手段】この発明は上記の目的を
達成するため、ホストマシンから入力した画像のベクト
ルデータを処理して画像データを形成し、該画像データ
を接続されている出力装置に出力して画像を表示又は印
刷させる画像処理装置において、ベクトルデータに基づ
いてアンチエイリアシング処理を行なうアンチエイリア
シング処理手段と、該処理手段がアンチエイリアシング
処理を行なう際にエッジ部画素の寄与率を求めるために
使用する互いに特性が異なる複数個のサブピクセルフィ
ルタと、接続されている出力装置の種類に応じて複数個
のサブピクセルフィルタのうちいずれか1個を選択して
アンチエイリアシング処理手段に使用させるフィルタ選
択手段とを設けたものである。In order to achieve the above object, the present invention processes vector data of an image input from a host machine to form image data, and outputs the image data to an output device connected thereto. In an image processing apparatus that outputs or displays or prints an image, in order to obtain an anti-aliasing processing unit that performs anti-aliasing processing based on vector data and a contribution ratio of edge pixels when the processing unit performs the anti-aliasing processing. Used for the anti-aliasing processing means by selecting one of the plurality of sub-pixel filters having different characteristics from each other and one of the plurality of sub-pixel filters according to the type of the connected output device. The selection means is provided.
【0014】上記の画像処理装置において、フィルタ選
択手段を、接続されている出力装置の種類を検出して識
別し、その識別した出力装置の種類に応じてサブピクセ
ルフィルタを選択してアンチエイリアシング処理手段に
使用させる手段とするとよい。In the above-mentioned image processing apparatus, the filter selection means detects the type of the output device connected and identifies it, and selects a sub-pixel filter according to the identified type of output device to perform anti-aliasing processing. It is recommended that the means be used by the means.
【0015】または、フィルタ選択手段を、ホストマシ
ン又は接続されている出力装置から該出力装置の種類の
情報を入力し、入力した情報に応じてサブピクセルフィ
ルタを選択してアンチエイリアシング処理手段に使用さ
せる手段としてもよい。Alternatively, the filter selection means inputs the information of the type of the output device from the host machine or the connected output device, selects the sub-pixel filter according to the input information and uses it as the anti-aliasing processing means. It may be a means for causing it.
【0016】または、フィルタ選択手段を、ホストマシ
ン又は接続されている出力装置から該出力装置の種類に
適したサブピクセルフィルタの種類の情報を入力し、入
力した情報に応じてサブピクセルフィルタを選択してア
ンチエイリアシング処理手段に使用させる手段としても
よい。Alternatively, the filter selection means inputs the information of the type of subpixel filter suitable for the type of the output device from the host machine or the connected output device, and selects the subpixel filter according to the input information. Alternatively, the anti-aliasing processing means may be used as the means.
【0017】あるいは、ホストマシンから入力した画像
のベクトルデータを処理して画像データを形成し、該画
像データを接続されている出力装置に出力して画像を表
示又は印刷させる画像処理装置であって、ベクトルデー
タに基いてアンチエイリアシング処理を行なうアンチエ
イリアシング処理手段と、該処理手段がアンチエイリア
シング処理を行なう際にエッジ部画素の寄与率を求める
ために使用するサブピクセルフィルタのデータをホスト
マシン又は接続されている出力装置から入力してアンチ
エイリアシング処理手段に使用させる手段とを設けた画
像処理装置を提供する。Alternatively, an image processing apparatus for processing vector data of an image input from a host machine to form image data and outputting the image data to a connected output device to display or print the image. , Anti-aliasing processing means for performing anti-aliasing processing based on vector data, and data of a sub-pixel filter used by the processing means for obtaining a contribution rate of edge portion pixels when performing the anti-aliasing processing to a host machine or connection Image processing apparatus provided with means for inputting from an output device that is used and causing the anti-aliasing processing means to use it.
【0018】[0018]
【作用】上記のように構成した画像処理装置は、アンチ
エイリアシング処理を行う際にエッジ部画素の寄与率を
求めるために使用する予め設けられている互いに特性が
異なる複数個のサブピクセルフィルタのうち、接続され
ている出力装置の種類に応じてフィルタ選択手段がいず
れか1個を選択して、アンチエイリアシング処理手段に
使用させる。In the image processing apparatus configured as described above, among the plurality of sub-pixel filters having different characteristics, which are provided in advance and are used for obtaining the contribution rate of the edge pixel when performing the anti-aliasing processing. The filter selecting means selects any one of them according to the type of the output device connected, and causes the anti-aliasing processing means to use the selected one.
【0019】また、上記の画像処理装置において、フィ
ルタ選択手段が接続されている出力装置の種類を検出し
て識別し、その識別した出力装置の種類に応じて複数個
のサブピクセルフィルタのうちいずれか1個を選択し
て、アンチエイリアシング処理手段に使用させる。Further, in the above image processing apparatus, the type of the output device to which the filter selecting means is connected is detected and identified, and any one of the plurality of sub-pixel filters is selected according to the identified type of the output device. One of them is selected and used by the anti-aliasing processing means.
【0020】または、フィルタ選択手段がホストマシン
又は接続されている出力装置から該出力装置の種類を示
す情報を入力し、その情報に応じて複数個のサブピクセ
ルフィルタのうちいずれか1個を選択して、アンチエイ
リアシング処理手段に使用させる。Alternatively, the filter selection means inputs information indicating the type of the output device from the host machine or the connected output device, and selects any one of the plurality of subpixel filters according to the information. Then, the anti-aliasing processing means is used.
【0021】または、フィルタ選択手段がホストマシン
又は接続されている出力装置から該出力装置の種類に適
したサブピクセルフィルタの種類の情報を入力し、その
情報に示された種類のサブピクセルフィルタを選択し
て、アンチエイリアシング処理手段に使用させる。Alternatively, the filter selecting means inputs the information of the type of sub-pixel filter suitable for the type of the output device from the host machine or the connected output device, and selects the sub-pixel filter of the type indicated in the information. Selected for use by anti-aliasing means.
【0022】いずれの場合にも、アンチエイリアシング
処理手段はフィルタ選択手段が選択したサブピクセルフ
ィルタを使用して、ホストマシンから入力した画像のベ
クトルデータに基づいてアンチエイリアシング処理を行
う。処理された結果によって形成された画像データは接
続されている出力装置に出力されて、表示又は印刷され
る。In any case, the anti-aliasing processing means uses the sub-pixel filter selected by the filter selecting means to perform the anti-aliasing processing based on the vector data of the image input from the host machine. The image data formed by the processed result is output to a connected output device and displayed or printed.
【0023】あるいは、上記のサブピクセルフィルタの
データを入力する手段を設けた画像処理装置は、ホスト
マシン又は接続されている出力装置から、アンチエイリ
アシング処理を行う際にエッジ部画素の寄与率を求める
ために使用する、接続されている出力装置に応じたサブ
ピクセルフィルタのデータを入力する。Alternatively, the image processing apparatus provided with the means for inputting the data of the above sub-pixel filter obtains the contribution rate of the edge pixel when performing the anti-aliasing processing from the host machine or the connected output device. Input the data of the sub-pixel filter according to the connected output device used.
【0024】アンチエイリアシング処理手段は入力され
たサブピクセルフィルタのデータを使用して、ホストマ
シンから入力した画像のベクトルデータに基づいてアン
チエイリアシング処理を行なう。処理された結果によっ
て形成された画像データは接続されている出力装置に出
力されて、表示又は印刷される。The anti-aliasing processing means uses the input sub-pixel filter data to perform anti-aliasing processing based on the vector data of the image input from the host machine. The image data formed by the processed result is output to a connected output device and displayed or printed.
【0025】したがって、上記のいずれの画像処理装置
も、何等オペレータを煩わせることなく、接続されてい
る出力装置に最適なサブピクセルフィルタを用いてアン
チエイリアシング処理を行なうから、常に最良の画像が
得られる。Therefore, in any of the above-mentioned image processing devices, the anti-aliasing process is performed using the optimum sub-pixel filter for the connected output device without bothering the operator, so that the best image is always obtained. To be
【0026】[0026]
【実施例】以下、この発明の実施例を図面を参照して具
体的に説明する。一般に画像処理は、全画面をそれぞれ
閉曲線(エッジ)に囲まれた色相及び濃度が均一な領域
毎に分割され、それらの各領域を1つのグループとし
て、グループ毎に所定の処理が行なわれる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be specifically described below with reference to the drawings. Generally, in image processing, the entire screen is divided into areas surrounded by closed curves (edges) and having uniform hues and densities, and these areas are set as a group and predetermined processing is performed for each group.
【0027】エッジが曲線の場合は、その曲率に応じて
複数の直線(ベクトル)に分解される。即ち曲率が大き
い(曲率半径が小さい)ほど多数の短いベクトルに、曲
率が小さい(曲率半径が大きい)ほど少数の長いベクト
ルにそれぞれ分解される。When the edge is a curve, it is decomposed into a plurality of straight lines (vectors) according to its curvature. That is, the larger the curvature (smaller radius of curvature), the smaller the number of short vectors, and the smaller the curvature (larger radius of curvature), the smaller the number of long vectors.
【0028】これらのベクトル群は、或る点を始点とし
て右回り又は左回りに、それぞれ1つのベクトルの終点
が次のベクトルの始点になるように、最後のベクトルの
終点が最初のベクトルの始点と一致するように整理さ
れ、1つのグループのベクトルデータは、各ベクトルの
始点及び終点の座標の集合として入出力される。These vector groups rotate clockwise or counterclockwise from a certain point as the starting point, and the end point of the last vector becomes the starting point of the first vector so that the end point of one vector becomes the starting point of the next vector. The vector data of one group are input / output as a set of coordinates of the start point and the end point of each vector.
【0029】図4は後述する各実施例がそれぞれ共通に
使用する画像処理のルーチンの一例を示すフロー図であ
る。図5は図4に示したルーチンによって処理される図
形の一例を示す図であり、図形の各頂点P0,P1,P
2の座標を(X0,Y0),(X1,Y1),(X2,
Y2)とする。FIG. 4 is a flow chart showing an example of an image processing routine commonly used by the respective embodiments described later. FIG. 5 is a diagram showing an example of a graphic processed by the routine shown in FIG. 4, and each vertex P0, P1, P of the graphic
The coordinates of 2 are (X0, Y0), (X1, Y1), (X2,
Y2).
【0030】以下、図4に示したフロー図を参照しなが
ら、画像のグループの1つである図5に示した図形を例
としてステップ9乃至12に示すアンチエイリアシング
処理を含む画像処理ルーチンをステップ毎に説明する。With reference to the flow chart shown in FIG. 4, the image processing routine including the anti-aliasing processing shown in steps 9 to 12 will be described with reference to the figure shown in FIG. 5 which is one of the groups of images as an example. Each will be described.
【0031】(ステップ1):ホストマシンから画像デ
ータである図形情報をグループ単位で入力する。図形情
報は全部のグループを一度に入力しても、メモリに余裕
がない時は1グループ分ずつ入力してもよい。次に、入
力された1グループ分の閉曲線をなす図形情報を、ベク
トル情報に展開(多数の直線ベクトルに分解)する。ホ
ストマシンからベクトル情報が入力する場合は、ステッ
プ1を省略する。(Step 1): Graphic information, which is image data, is input from the host machine in group units. The graphic information may be input for all the groups at once, or for each group when the memory has no space. Next, the input graphic information forming a closed curve for one group is expanded into vector information (decomposed into many straight line vectors). When vector information is input from the host machine, step 1 is omitted.
【0032】(ステップ2):1グループ分のベクトル
情報を、第1のエッジテーブルET(1)に登録する。
即ち、図5の(A)に示した図形は、表1に示すように
ベクトル名A,B,Cと共に各始点,終点の座標値(X
s,Ys)(Xe,Ye)がテーブルに書込まれる。表1か
ら明らかなように、この時点では、ベクトルAの終点と
ベクトルBの始点、ベクトルBの終点とベクトルCの始
点、ベクトルCの終点とベクトルAの始点がP1,P
2,P0としてそれぞれ一致している。(Step 2): Vector information for one group is registered in the first edge table ET (1).
That is, as shown in Table 1, the figure shown in FIG. 5A has the vector names A, B, and C as well as the coordinate values (X
s, Ys) (Xe, Ye) is written to the table. As is clear from Table 1, at this point, the end point of the vector A and the start point of the vector B, the end point of the vector B and the start point of the vector C, the end point of the vector C and the start point of the vector A are P1 and P, respectively.
2 and P0 match each other.
【0033】(ステップ3):ET(1)の各ベクトル
のうち、終点のYe が始点のYs より大きいベクトル
は、始点と終点のX,Yを置換えてベクトルの方向を逆
にし、そうでないベクトルはそのままで、第2のエッジ
テーブルET(2)に再登録する。即ち図5の(B)及
び表2に示すように、ベクトルBはそのままで、ベクト
ルA,Cの方向が逆転して再登録される。(Step 3): Among the vectors of ET (1), for the vector whose Ye at the end point is larger than Ys at the start point, the direction of the vector is reversed by replacing X and Y at the start point and the end point. Is re-registered in the second edge table ET (2). That is, as shown in FIG. 5B and Table 2, the vector B is left as it is and the directions of the vectors A and C are reversed and re-registered.
【0034】(ステップ4):ET(2)の各ベクトル
の始点のYs の最大値と、終点のYe の最小値とをサー
チして、グループの最高点Ys max と最低点Ye min と
を決定することにより、このグループの高さ方向(Y方
向)の処理範囲すなわちY領域が設定される。即ち、最
高点はP1(X1,Y1)であり、最低点はP2(X
2,Y2)であって、Y領域はY1〜Y2である。(Step 4): The maximum value Ys max and the minimum point Ye min of the group are determined by searching the maximum value of Ys at the start point and the minimum value of Ye at the end point of each vector of ET (2). By doing so, the processing range in the height direction (Y direction) of this group, that is, the Y region is set. That is, the highest point is P1 (X1, Y1) and the lowest point is P2 (X1
2, Y2), and the Y region is Y1 to Y2.
【0035】(ステップ5):設定されたY領域(Y1
〜Y2)について、水平なYラインをYの値の大きい方
から1ライン分ずつ降ろしながら、ベクトルとの交点を
決めてゆくために、先ず最高点の座標Ys max をライン
ピッチ単位で小数点以下切捨てた値を、Yラインの座標
値Yh の最初の値とする。(Step 5): Set Y area (Y1
For Y2), first lower the horizontal Y line by one line from the one with the largest Y value and, in order to determine the intersection with the vector, first discard the coordinates Ys max of the highest point in decimal units below the decimal point in line pitch units. This value is the first value of the coordinate value Yh of the Y line.
【0036】(ステップ6):Yラインと交差するベク
トルの情報のみをET(2)から選択して、アクティブ
エッジテーブルAETに登録する。即ち始点がYs >Y
h になった時に、そのベクトルの情報がAETに登録さ
れ、終点がYe ≧Yh になった時に、そのベクトルの情
報はAETから抹消される。例えば、図5の(C)に示
すようなYラインの時に、AETには表3に示すよう
に、ベクトルA,Bの情報が登録されている。(Step 6): Only the information of the vector intersecting the Y line is selected from ET (2) and registered in the active edge table AET. That is, the starting point is Ys> Y
When the value becomes h, the information of the vector is registered in the AET, and when the end point becomes Ye ≧ Yh, the information of the vector is deleted from the AET. For example, in the case of the Y line as shown in FIG. 5C, the information on the vectors A and B is registered in the AET as shown in Table 3.
【0037】(ステップ7):Yラインの座標値Yh と
AETに登録されているベクトルの情報から交点の座標
Xを計算し、そのXの値をワークテーブルWTに登録す
る。即ち、図5の(C)に示したYラインとベクトル
A,Bの交点の座標XA,XBが、表4に示すように、
WTに登録される。(Step 7): The coordinate X of the intersection is calculated from the coordinate value Yh of the Y line and the vector information registered in the AET, and the value of X is registered in the work table WT. That is, as shown in Table 4, the coordinates XA and XB of the intersections of the Y line and the vectors A and B shown in FIG.
Registered in WT.
【0038】(ステップ8):WTのXの値を小さい順
にソートし、ソートワークテーブルSWTに登録する。
即ち、図5の(C)に示した例ではXA<XBであるか
ら、表4に示したWTの内容がそのまま変らずに、表5
に示すSWTに登録される。(Step 8): The values of X in WT are sorted in ascending order and registered in the sorted work table SWT.
That is, since XA <XB in the example shown in FIG. 5C, the contents of WT shown in Table 4 remain unchanged and Table 5
Is registered in the SWT shown in FIG.
【0039】以上、ステップ8までのルーチンでアンチ
エイリアシング処理の準備が終了し、次のステップ9か
らステップ12までがアンチエイリアシング処理であ
る。As described above, the preparation for the anti-aliasing processing is completed in the routine up to step 8, and the following steps 9 to 12 are the anti-aliasing processing.
【0040】(ステップ9):1本のライン(走査線)
をN本のサブラインに分割すると共に、1個の画素をN
×N個のサブピクセルに分割したものをワーキングメモ
リ(メモリ中の作業用領域)上に形成し、1サブライン
毎の、ステップ7及びステップ8と同様なルーチンで、
各サブピクセル毎にエッジ上又はその内側にあれば1
(塗りつぶし)、エッジの外側にあれば0(白のまま残
す)とする塗りつぶし処理を、N回繰返す。(Step 9): One line (scan line)
Is divided into N sublines, and one pixel is divided into N sublines.
A sub-pixel divided into × N sub-pixels is formed on a working memory (working area in the memory), and the same routine as steps 7 and 8 is performed for each sub-line.
1 if it is on or inside the edge for each subpixel
The filling process of (filling) and 0 (leaving white as it is) outside the edge is repeated N times.
【0041】(ステップ10):1個の画素のうちの塗
りつぶされた1のサブピクセルに応じて、該画素の寄与
率を計算する。この際、1のサブピクセルの数を(N×
N)で割って寄与率とするのが均一平均化法であり、後
述するサブピクセルフィルタを用いて寄与率を計算する
のが重み付け平均化法である。(Step 10): According to one filled sub-pixel of one pixel, the contribution rate of the pixel is calculated. At this time, the number of 1 sub-pixels is (N ×
The uniform averaging method divides by N) to obtain the contribution rate, and the weighted averaging method calculates the contribution rate using a sub-pixel filter described later.
【0042】(ステップ11):得られた寄与率Kに基
づいて、その画素の処理前の濃度D1と、処理中のグル
ープの濃度D2とから、D1と(1−K)の積と、D2
とKの積との和を、画素処理後の濃度と決定する。(Step 11): Based on the obtained contribution ratio K, the product of D1 and (1−K) and D2 from the density D1 of the pixel before processing and the density D2 of the group under processing.
The sum of the product of K and K is determined as the density after pixel processing.
【0043】(ステップ12):このようにして決定さ
れた濃度を、画素毎に予め設定されている1頁分のフレ
ームメモリに書込むことを繰返して、1ライン分のアン
チエイリアシング処理が終了する。(Step 12): The density thus determined is repeatedly written into the frame memory for one page preset for each pixel, and the anti-aliasing processing for one line is completed. .
【0044】(ステップ13):Yh =Yh −1、即ち
Yラインを1ラインピッチ降ろす。 (ステップ14):Yh >Ye min か否か、即ちYライ
ンが最低点より上にあるか否かを判定して、上にあれば
ステップ6に戻り、否ならば次に進む。(Step 13): Yh = Yh-1, that is, the Y line is lowered by one line pitch. (Step 14): It is judged whether or not Yh> Ye min, that is, whether or not the Y line is above the lowest point. If it is above, the process returns to step 6, and if not, the process proceeds to the next.
【0045】(ステップ15):全てのグループについ
て処理が終了したか否かを判定し、否であればステップ
1(図形情報入力の場合)又はステップ2(ベクトル情
報入力の場合)に戻り、全てのグループの処理が終了し
ていればエンドになる。(Step 15): It is judged whether or not the processing is completed for all the groups, and if not, the process returns to Step 1 (in the case of graphic information input) or Step 2 (in the case of vector information input), If the processing of the group of is completed, it becomes the end.
【0046】図6は、図5の(C)に示した図形を、1
画素を3×3のサブピクセルに分割してアンチエイリア
シング処理し、ステップ9を終った時にワーキングメモ
リ上に形成されたサブピクセルの状態の一例を示す図で
あり、各サブピクセルで塗りつぶされたものには丸印を
付して示し、下側にそれぞれの画素の均一平均化法、即
ち1のサブピクセルの数を画素のサブピクセル数9で割
って計算された寄与率を添記している。FIG. 6 shows the figure shown in FIG.
FIG. 9 is a diagram showing an example of a state of sub-pixels formed in the working memory when the step 9 is completed by dividing the pixel into 3 × 3 sub-pixels and performing the anti-aliasing process, which is filled with each sub-pixel. Is indicated by a circle, and the uniform averaging method for each pixel, that is, the contribution rate calculated by dividing the number of subpixels of 1 by the number 9 of subpixels of the pixel is added to the lower side.
【0047】図7は、濃度0(白)から6(黒ベタ)ま
での7階調の表現が、変調方法によって如何に異なるか
の一例を示す拡大図であり、図5の(A),(B)はL
BPにおけるPWM(パルス幅変調)、同図の(C)は
LBP,CRTにおけるPM(パワー変調)、同図の
(D)はサーマルプリンタにおけるPMの一例をそれぞ
れ示している。FIG. 7 is an enlarged view showing an example of how the expression of 7 gradations from density 0 (white) to density 6 (black solid) differs depending on the modulation method. (B) is L
An example of PWM (pulse width modulation) in BP, an example of PM (power modulation) in LBP and a CRT in FIG. 7C, and an example of PM in a thermal printer in FIG.
【0048】図7の(A)は位相制御を行なわない通常
のPWMの例で、濃度が増すに従ってドットの幅が画素
の左端から右に拡大してゆく。同図の(B)はドットの
幅が中央から両側に拡大してゆくように位相制御したP
WMの例である。同図の(C)はPMによる例で、LB
PやCRTのように高速でスキャンされるものは円でな
く横長の楕円形になり易い。FIG. 7A shows an example of normal PWM in which phase control is not performed, and the dot width increases from the left end of the pixel to the right as the density increases. In (B) of the figure, the phase control is performed so that the width of the dot expands from the center to both sides.
It is an example of WM. (C) of the figure is an example of PM, LB
What is scanned at high speed, such as P and CRT, tends to have a horizontally long ellipse instead of a circle.
【0049】図7の(D)は1ラインヘッドを有する昇
華型,熔融型のサーマルプリンタでPMを行なった例
で、PMの電力波形が悪ければ同図の(C)のようにな
るが、波形が良いと丸くなる。しかしながら用紙が縦に
送られているため、図示したように縦長の楕円形にな
る。更に、図示しないが、LCM(液晶マトリックス)
による表示装置のようにPMによってもドットの大きさ
に変化がなく、ほぼ均一に明るさが変化するものもあ
る。FIG. 7D shows an example in which PM is carried out by a sublimation-type or fusion-type thermal printer having a one-line head. If the power waveform of PM is bad, it becomes as shown in FIG. 7C. If the waveform is good, it becomes round. However, since the paper is fed vertically, it becomes a vertically long ellipse as shown. Further, although not shown, LCM (liquid crystal matrix)
In some display devices, the dot size does not change even with PM, and the brightness changes almost uniformly.
【0050】図8は黒ベタの画素が並んだ両サイド(エ
ッジ)に、対称なエッジによる濃度の揃った画素がある
図形を、LBPによって図5の(A)に示したような通
常のPWMを行なった場合の一例を示す拡大図である。FIG. 8 shows a normal PWM as shown in FIG. 5A by LBP for a graphic having pixels with uniform density due to symmetrical edges on both sides (edges) where black solid pixels are lined up. It is an enlarged view showing an example in the case of performing.
【0051】このような場合、単純な均一平均化法で求
めた寄与率は同じになるため、図示したように左側のエ
ッジ部画素はドットが離れ、右側のエッジ部画素はつな
がっているから、同じ濃度であるのに左側の方が濃度が
小さく感じられる。この例では、図7の(B)のように
位相制御すれば解決するが、常に位相制御したPWMで
問題がなくなるとはいえない。In such a case, since the contribution ratios obtained by the simple uniform averaging method are the same, as shown in the figure, the left edge pixel is separated from the dot, and the right edge pixel is connected. Although the density is the same, the left side seems to have smaller density. In this example, the problem can be solved by controlling the phase as shown in FIG. 7B, but it cannot always be said that the PWM in which the phase is controlled does not eliminate the problem.
【0052】図9は、図7に示した各変調方法を用いた
出力装置に適したサブピクセルフィルタの一例を示す図
であり、1画素を6×6のサブピクセルに分割した場合
のフィルタを示している。図9の(A)〜(D)に示し
たサブピクセルフィルタは、それぞれ図7の(A)〜
(D)に示した変調方法によるドットの特性を補正する
ためのものである。FIG. 9 is a diagram showing an example of a subpixel filter suitable for an output device using each of the modulation methods shown in FIG. 7, and shows a filter when one pixel is divided into 6 × 6 subpixels. Shows. The subpixel filters shown in FIGS. 9A to 9D are respectively shown in FIGS.
This is for correcting the dot characteristics by the modulation method shown in (D).
【0053】これらのサブピクセルフィルタに用いたア
ンチエイリアシング処理は、重み付け平均化法の一種で
あって、それぞれ対応する位置にあるサブピクセルの値
1又は0にサブピクセルフィルタの値を乗じた積の総和
を、サブピクセルフィルタの値の総和で割って寄与率が
求められる。LCMによる表示装置のようにムラがない
場合は、全部1としたサブピクセルフィルタによる計
算、すなわち均一平均化法でよい。The anti-aliasing process used for these subpixel filters is a kind of weighted averaging method, and is a product of products obtained by multiplying the subpixel value 1 or 0 at the corresponding position by the subpixel filter value. The contribution ratio is obtained by dividing the total sum by the total sum of the values of the sub-pixel filters. When there is no unevenness as in a display device using LCM, calculation using a subpixel filter with all 1s, that is, a uniform averaging method may be used.
【0054】例えば、図9の(A)に示したサブピクセ
ルフィルタを、図7の(A)に示した位相制御のない通
常のPWMによるLBPと組合せると、図8に示した左
側のエッジ部画素のサブピクセルは図9の(A)におい
て右側に集中し、右側のエッジ部画素のサブピクセルは
左側に集中するから、エッジ部画素の寄与率は左側の方
が右側より大きくなって濃度が増す。従って、図8に示
した左側のドットの幅が右側より広くなって、濃度の小
さい感じが補正される。For example, if the sub-pixel filter shown in FIG. 9A is combined with the normal PWM LBP without phase control shown in FIG. 7A, the left edge shown in FIG. The sub-pixels of the partial pixels are concentrated on the right side in FIG. 9A, and the sub-pixels of the edge pixels on the right side are concentrated on the left side. Will increase. Therefore, the width of the dot on the left side shown in FIG. 8 becomes wider than that on the right side, and the feeling of low density is corrected.
【0055】このように、出力装置の特性すなわち種類
に適したサブピクセルフィルタを用いてアンチエイリア
シング処理を行なった場合は、高品位な画像が得られ
る。しかしながら、逆に不適当なサブピクセルフィルタ
を選択して用いると、単純な均一平均化法を用いた場合
よりも悪い結果が得られる。従って、サブピクセルフィ
ルタの選択を誤らないことが極めて大切になってくる。As described above, when the anti-aliasing processing is performed by using the sub-pixel filter suitable for the characteristics, that is, the type of the output device, a high quality image is obtained. However, conversely selecting and using an unsuitable sub-pixel filter gives worse results than using the simple uniform averaging method. Therefore, it is extremely important that the sub-pixel filter is selected correctly.
【0056】図1は、この発明の第1実施例である画像
処理装置の構成を示す回路図である。図1に示した画像
処理装置1は、アンチエイリアシング処理手段,フィル
タ選択手段であるCPU2と、CPU2が使用するプロ
グラム等が格納されたROM3と、各種のデータ,テー
ブルを記憶しワーキングメモリとしても使われるRAM
4と、出力装置に出力する画像データを格納するための
RAMであるフレームメモリ5と、複数のサブピクセル
フィルタが格納されている不揮性RAM6と、ホストI
/F7及び出力切換部8とから構成されている。FIG. 1 is a circuit diagram showing the configuration of an image processing apparatus according to the first embodiment of the present invention. The image processing apparatus 1 shown in FIG. 1 stores a CPU 2 which is an anti-aliasing processing means and a filter selection means, a ROM 3 which stores programs used by the CPU 2 and various data and tables, and is also used as a working memory. RAM
4, a frame memory 5 that is a RAM for storing image data to be output to an output device, a non-volatile RAM 6 that stores a plurality of subpixel filters, and a host I
/ F7 and the output switching unit 8.
【0057】画像処理装置1はホストI/F(インター
フェース)7を介してホストマシン10に接続され、ま
た出力切換部8を介して複数の出力装置20,20a,
20b…が選択的に接続される。The image processing apparatus 1 is connected to a host machine 10 via a host I / F (interface) 7, and a plurality of output devices 20, 20a,
20b ... Are selectively connected.
【0058】出力装置20は出力本体21と、画像処理
装置1に接続するためのI/F22とからなり、出力装
置20a以降はいずれも出力装置20と同一構成である
から内部構成の図示を省略している。The output device 20 comprises an output main body 21 and an I / F 22 for connecting to the image processing device 1. Since the output device 20a and the subsequent components have the same structure as the output device 20, the internal structure is not shown. is doing.
【0059】出力切換部8はそれぞれ出力装置20,2
0a…にケーブルで接続される複数の図示しない出力端
子を備え、CPU2の指令に応じて出力端子を切換える
ことにより、接続される出力装置を切換えることが出来
る。ホストマシン10が出力装置を指定する場合は、C
PU2を介して指令が出力切換部8に伝えられる。The output switching section 8 includes output devices 20, 2 respectively.
0a ... Has a plurality of output terminals (not shown) connected by a cable, and by switching the output terminals according to a command from the CPU 2, the connected output device can be switched. When the host machine 10 specifies the output device, C
The command is transmitted to the output switching unit 8 via PU2.
【0060】CPU2は、電源オン後の初期設定時に、
出力切換部8を介して各出力装置20,20a…を順に
接続し、その種類を検出して識別した結果をRAM4に
記憶しておく。従って、いずれの出力装置を接続して
も、直ちにその出力装置に最適なサブピクセルフィルタ
を不揮発性RAM6に格納されている多数のサブピクセ
ルフィルタのなかから選択してRAM4に記憶させるこ
とが出来る。When the CPU 2 is initialized after the power is turned on,
The output devices 20, 20a ... Are connected in order via the output switching unit 8 and the result of detecting and identifying the type is stored in the RAM 4. Therefore, whichever output device is connected, the optimum subpixel filter for the output device can be immediately selected from the many subpixel filters stored in the nonvolatile RAM 6 and stored in the RAM 4.
【0061】また、CPU2は、出力装置を切換えて接
続した都度、切換えがホストマシン10からの指令であ
ればホストマシン10から、CPU2自体の指令に基づ
く切換えであれば接続された出力装置から、それぞれ接
続された出力装置の種類の情報を入力し、入力した情報
に応じて最適なサブピクセルフィルタを選択することも
出来る。Whenever the CPU 2 switches and connects the output devices, the CPU 2 outputs from the host machine 10 if the switching is a command from the host machine 10, or from the connected output device if the switching is based on the command of the CPU 2 itself. It is also possible to input information about the type of output device connected to each and select the optimum sub-pixel filter according to the input information.
【0062】あるいは、上記と同じような場合に、CP
U2はホストマシン10又は接続された出力装置から、
該出力装置の種類の情報に代えて、その出力装置に最適
なサブピクセルフィルタの種類の情報を入力し、入力し
た情報によってサブピクセルフィルタを選択することも
出来る。Alternatively, in a case similar to the above, CP
U2 is from the host machine 10 or the connected output device,
Instead of the information on the type of the output device, information on the type of the sub-pixel filter most suitable for the output device may be input, and the sub-pixel filter may be selected according to the input information.
【0063】いずれの場合も、ホストマシン10からホ
ストI/F7を介して画像のベクトル情報を一度に、又
は1グループずつ入力して、RAM4に転送したサブピ
クセルフィルタを使用してアンチエイリアシング処理を
実行し、フレームメモリ5に形成した画像(の濃度)デ
ータを出力切換部8と接続された出力装置のI/F(イ
ンターフェース)を介して、その出力本体に出力し、表
示あるいは印刷されるから、常に最良の画像が得られ
る。In any case, the vector information of the image is input from the host machine 10 via the host I / F 7 at a time or in groups, and the anti-aliasing process is performed using the sub-pixel filter transferred to the RAM 4. Since the image data (density) data formed in the frame memory 5 is executed and output to the output main body via the I / F (interface) of the output device connected to the output switching unit 8, and is displayed or printed. , Always get the best image.
【0064】図2は、この発明の第2実施例である画像
処理装置の構成を示す回路図である。図2に示した画像
処理装置1aが、図1に示した第1実施例の画像処理装
置1と異なる所は、複数のサブピクセルフィルタが格納
されている不揮発メモリ6がなくなったことであり、そ
の他は全く同様であるから、同一部分には同一符号を付
して説明を省略する。FIG. 2 is a circuit diagram showing the structure of an image processing apparatus according to the second embodiment of the present invention. The image processing apparatus 1a shown in FIG. 2 is different from the image processing apparatus 1 of the first embodiment shown in FIG. 1 in that the non-volatile memory 6 storing a plurality of subpixel filters is eliminated. Others are exactly the same, so the same parts are denoted by the same reference numerals and description thereof is omitted.
【0065】この実施例では、画像処理装置1a単独で
はサブピクセルフィルタを有していないから選択の余地
もないが、ホストマシン10が接続された出力装置の種
類に応じてそれに最適なサブピクセルフィルタを、ホス
トマシン10に付属するディスク装置11に格納されて
いる複数のサブピクセルフィルタのなかから選択し、C
PU2は、ホストマシン10が選択されたサブピクセル
フィルタのデータそのものを入力してRAM4に格納す
る。In this embodiment, the image processing apparatus 1a alone does not have a sub-pixel filter, so there is no room for selection. However, a sub-pixel filter that is most suitable for the type depending on the type of output device to which the host machine 10 is connected. From among a plurality of sub-pixel filters stored in the disk device 11 attached to the host machine 10, C
The PU 2 inputs the data itself of the subpixel filter selected by the host machine 10 and stores it in the RAM 4.
【0066】それ以降は、CPU2がRAM4に格納さ
れたサブビクセルフィルタによってアンチエイリアシン
グ処理を行なうから、第1実施例と同じ効果が得られ
る。また、多数のサブピクセルフィルタを格納しておく
必要がないから、不揮発性RAM6は不要であり、1個
だけのサブピクセルフィルタならばRAM4に簡単に格
納出来る。After that, the CPU 2 performs the anti-aliasing process by the sub-Vixel filter stored in the RAM 4, so that the same effect as that of the first embodiment can be obtained. Further, since it is not necessary to store a large number of subpixel filters, the non-volatile RAM 6 is unnecessary, and if only one subpixel filter is used, it can be easily stored in the RAM 4.
【0067】図3は、この発明の第3実施例である画像
処理装置の構成を示す回路図である。図3に示した画像
処理装置1bの構成は、図2に示した第2実施例の画像
処理装置1aと全く同じであるが、作用はCPU2がサ
ブピクセルフィルタのデータをホストマシン10に代え
て、接続された出力装置自体から入力する点が異る。FIG. 3 is a circuit diagram showing the structure of an image processing apparatus according to the third embodiment of the present invention. The configuration of the image processing apparatus 1b shown in FIG. 3 is exactly the same as that of the image processing apparatus 1a of the second embodiment shown in FIG. 2, except that the CPU 2 replaces the subpixel filter data with the host machine 10. The difference is that input is made from the connected output device itself.
【0068】そのため、出力装置23,23a,23b
…の構成は、第1及び第2実施例に接続された出力装置
20,20a,20b…に加えて、各出力装置自身の特
性又は種類に最適のサブピクセルフィルタのデータが格
納されている不揮発性RAM等からなるメモリ24が設
けられている。Therefore, the output devices 23, 23a, 23b
In the configuration of ..., In addition to the output devices 20, 20a, 20b connected to the first and second embodiments, the data of the sub-pixel filter optimal for the characteristics or type of each output device is stored in a nonvolatile manner. A memory 24, which is a memory RAM or the like, is provided.
【0069】この第3実施例が、第1及び第2実施例よ
り優れている点は、画像処理装置1又はホストマシン1
0がサブピクセルフィルタを有する場合は多数の種類を
用意しなければならないが、各出力装置が有する場合は
1種類またはサブピクセルの数に応じた数種類があれば
済むことである。This third embodiment is superior to the first and second embodiments in that the image processing apparatus 1 or the host machine 1 is
When 0 has a sub-pixel filter, many types must be prepared, but when each output device has 0, one type or several types according to the number of sub-pixels are sufficient.
【0070】さらに、図5に示した変調方法に応じたド
ットの形状は、固定的なものではなく、出力装置毎に異
なると共に、温度又は経時的な変化が生じ易いものであ
る。従って、各出力装置23,23a,23b…毎にサ
ブピクセルフィルタを有していれば、ドットの形状に変
化が生じても直ちにサブピクセルフィルタを変化に合せ
て修正出来るが、不揮発性RAM6又はホストマシン1
0のディスク装置11の内容を修正するのは、他の出力
装置との関係で実用上不可能に近い。Further, the shape of the dots according to the modulation method shown in FIG. 5 is not fixed, but varies depending on the output device, and tends to change with temperature or with time. Therefore, if each output device 23, 23a, 23b ... Has a sub-pixel filter, even if the dot shape changes, the sub-pixel filter can be immediately corrected according to the change. Machine 1
It is practically impossible to correct the contents of the disk device 11 of 0 because of the relationship with other output devices.
【0071】したがって、保守の点で楽になるだけでな
く、出力装置の特性の変化に応じて内蔵するサブピクセ
ルフィルタを更新することにより、常にその出力装置と
して最高品質の表示又は印刷が得られる。また、画像処
理装置やホストマシンがそれに適したサブピクセルフィ
ルタを用意していない新型の出力装置でも、簡単に交換
して接続することが出来る。Therefore, not only is maintenance easy, but by updating the built-in sub-pixel filter according to the change in the characteristics of the output device, the highest quality display or printing can always be obtained as the output device. Further, even a new type output device in which the image processing device or the host machine does not have a subpixel filter suitable for it can be easily exchanged and connected.
【0072】[0072]
【表1】 [Table 1]
【0073】[0073]
【表2】 [Table 2]
【0074】[0074]
【表3】 [Table 3]
【0075】[0075]
【表4】 [Table 4]
【0076】[0076]
【表5】 [Table 5]
【0077】[0077]
【発明の効果】以上説明したように、この発明による画
像処理装置は、オペレータに何等負担をかけることな
く、接続されている出力装置に応じて最適なサブピクセ
ルフィルタを用いることにより、常に最良の画像が得ら
れる。As described above, the image processing apparatus according to the present invention always uses the optimum sub-pixel filter according to the connected output device without imposing any burden on the operator. An image is obtained.
【図1】この発明による画像処理装置の第1実施例の構
成を示す回路図である。FIG. 1 is a circuit diagram showing a configuration of a first embodiment of an image processing apparatus according to the present invention.
【図2】画像処理装置の第2実施例の構成を示す回路図
である。FIG. 2 is a circuit diagram showing a configuration of a second embodiment of the image processing apparatus.
【図3】画像処理装置の第3実施例の構成を示す回路図
である。FIG. 3 is a circuit diagram showing a configuration of a third embodiment of the image processing apparatus.
【図4】画像処理のルーチンの一例を示すフロー図であ
る。FIG. 4 is a flowchart showing an example of an image processing routine.
【図5】図4に示したルーチンによって処理される図形
の一例を示す図である。5 is a diagram showing an example of a graphic processed by the routine shown in FIG.
【図6】図5に示した図形をアンチエイリアシング処理
して形成されたサブピクセルの状態の一例を示す図であ
る。FIG. 6 is a diagram showing an example of a state of sub-pixels formed by anti-aliasing the figure shown in FIG.
【図7】変調方法による階調の表現の差の一例を示す拡
大図である。FIG. 7 is an enlarged view showing an example of a difference in gradation expression depending on a modulation method.
【図8】図形の左右のエッジ部画素の表現の差の一例を
示す拡大図である。FIG. 8 is an enlarged view showing an example of a difference in expression between left and right edge pixels of a figure.
【図9】アンチエイリアシング処理に用いられるサブピ
クセルフィルタの一例を示す図である。FIG. 9 is a diagram showing an example of a sub-pixel filter used for anti-aliasing processing.
1,1a,1b:画像処理装置 2:CPU(アンチエイリアシング処理手段,フィルタ
選択手段,サブピクセルフィルタのデータを入力する手
段) 5:フレームメモリ 6:不揮発性RAM 8:出力切換部 10:ホストマシン 20,20a…,23,23a…:出力装置1, 1a, 1b: Image processing device 2: CPU (anti-aliasing processing means, filter selection means, means for inputting data of sub-pixel filter) 5: Frame memory 6: Non-volatile RAM 8: Output switching unit 10: Host machine 20, 20a ..., 23, 23a ...: Output device
フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/20 9471−5G 9365−5L G06F 15/72 355 K Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location G09G 5/20 9471-5G 9365-5L G06F 15/72 355 K
Claims (5)
ルデータを処理して画像データを形成し、該画像データ
を接続されている出力装置に出力して画像を表示又は印
刷させる画像処理装置において、 前記ベクトルデータに基づいてアンチエイリアシング処
理を行なうアンチエイリアシング処理手段と、 該処理手段がアンチエイリアシング処理を行なう際にエ
ッジ部画素の寄与率を求めるために使用する互いに特性
が異なる複数個のサブピクセルフィルタと、 接続されている出力装置の種類に応じて、前記複数個の
サブピクセルフィルタのうちいずれか1個を選択して前
記アンチエイリアシング処理手段に使用させるフィルタ
選択手段とを設けたことを特徴とする画像処理装置。1. An image processing apparatus for processing vector data of an image input from a host machine to form image data, outputting the image data to a connected output device to display or print the image, An anti-aliasing processing means for performing anti-aliasing processing based on vector data, and a plurality of sub-pixel filters having mutually different characteristics used for obtaining the contribution rate of the edge pixel when the processing means performs the anti-aliasing processing, A filter selecting means for selecting one of the plurality of sub-pixel filters to be used by the anti-aliasing processing means according to the type of the output device connected. Image processing device.
の種類を検出して識別し、その識別した出力装置の種類
に応じて前記サブピクセルフィルタを選択して前記アン
チエイリアシング処理手段に使用させる手段であること
を特徴とする画像処理装置。2. The image processing apparatus according to claim 1, wherein the filter selection unit detects and identifies the type of the output device connected thereto, and the sub-pixels according to the identified type of the output device. An image processing apparatus, comprising means for selecting a filter to be used by the anti-aliasing processing means.
れている出力装置から該出力装置の種類の情報を入力
し、その入力した情報に応じて、前記サブピクセルフィ
ルタを選択して前記アンチエイリアシング処理手段に使
用させる手段であることを特徴とする画像処理装置。3. The image processing apparatus according to claim 1, wherein the filter selection unit inputs information on the type of the output device from the host machine or a connected output device, and according to the input information. An image processing apparatus, comprising means for selecting the sub-pixel filter for use by the anti-aliasing processing means.
れている出力装置から該出力装置の種類に適したサブピ
クセルフィルタの種類の情報を入力し、その入力した情
報に応じて、前記サブピクセルフィルタを選択して前記
アンチエイリアシング処理手段に使用させる手段である
ことを特徴とする画像処理装置。4. The image processing apparatus according to claim 1, wherein the filter selection unit inputs information on a type of sub-pixel filter suitable for the type of the output device from the host machine or a connected output device. An image processing apparatus, which is means for selecting the sub-pixel filter according to the input information and causing the anti-aliasing processing means to use the sub-pixel filter.
ルデータを処理して画像データを形成し、該画像データ
を接続されている出力装置に出力して画像を表示又は印
刷させる画像処理装置において、 前記ベクトルデータに基いてアンチエイリアシング処理
を行なうアンチエイリアシング処理手段と、 該処理手段がアンチエイリアシング処理を行なう際にエ
ッジ部画素の寄与率を求めるために使用するサブピクセ
ルフィルタのデータを、前記ホストマシン又は接続され
ている出力装置から入力して、前記アンチエイリアシン
グ処理手段に使用させる手段とを設けたことを特徴とす
る画像処理装置。5. An image processing device for processing vector data of an image input from a host machine to form image data, outputting the image data to a connected output device to display or print the image, The anti-aliasing processing means for performing anti-aliasing processing based on vector data, and the sub-pixel filter data used by the processing means for obtaining the contribution rate of the edge portion pixel when performing the anti-aliasing processing are stored in the host machine or An image processing apparatus, comprising means for inputting from a connected output device to be used by the anti-aliasing processing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5338565A JPH07200818A (en) | 1993-12-28 | 1993-12-28 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5338565A JPH07200818A (en) | 1993-12-28 | 1993-12-28 | Image processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07200818A true JPH07200818A (en) | 1995-08-04 |
Family
ID=18319376
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5338565A Pending JPH07200818A (en) | 1993-12-28 | 1993-12-28 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07200818A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011516981A (en) * | 2008-04-04 | 2011-05-26 | アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド | Filter processing method and apparatus for anti-aliasing |
| CN114627314A (en) * | 2022-03-22 | 2022-06-14 | 中国农业银行股份有限公司 | Texture feature extraction method and device |
-
1993
- 1993-12-28 JP JP5338565A patent/JPH07200818A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011516981A (en) * | 2008-04-04 | 2011-05-26 | アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド | Filter processing method and apparatus for anti-aliasing |
| CN114627314A (en) * | 2022-03-22 | 2022-06-14 | 中国农业银行股份有限公司 | Texture feature extraction method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE60031337T2 (en) | Device-dependent display of characters | |
| EP2579246B1 (en) | Mapping samples of foreground/background color image data to pixel sub-components | |
| US6421140B1 (en) | Color space conversion with simplified interpolation | |
| US7502144B2 (en) | Method of preparing bit map | |
| JPH08255254A (en) | Font Rendering Method Using Gray Scale Processing of Grid Fitted Font | |
| WO2000021068A1 (en) | Methods and apparatus for displaying images such as text | |
| JP3142550B2 (en) | Graphic processing unit | |
| WO2000021070A1 (en) | Mapping image data samples to pixel sub-components on a striped display device | |
| EP0750775A1 (en) | Multi-level to bi-level raster shape converter | |
| US4894665A (en) | Method of generating an expanded color set of a low resolution color printer | |
| JPH07200818A (en) | Image processing device | |
| JPH04139589A (en) | Graphic processor | |
| JP2004226679A (en) | Character display method and device | |
| JP3647104B2 (en) | Image processing method and apparatus | |
| JPH0795260B2 (en) | Information processing equipment | |
| JPH0668271A (en) | Image processor | |
| JP3475489B2 (en) | Image printing device | |
| JPH0333895A (en) | Font plotting device | |
| JP3417753B2 (en) | Method and apparatus for generating gradation character | |
| JP2764927B2 (en) | Gradation display control device | |
| JPH03103894A (en) | Half tone font generating system | |
| JPH07106644B2 (en) | Character generator | |
| JP3476270B2 (en) | Print data creation device | |
| JP2975025B2 (en) | Color scheme simulation system | |
| JPH07140945A (en) | Method and device for displaying gradation characters |