JPH0567218A - Pixel coordinate computer and image forming device using the same - Google Patents

Pixel coordinate computer and image forming device using the same

Info

Publication number
JPH0567218A
JPH0567218A JP23013591A JP23013591A JPH0567218A JP H0567218 A JPH0567218 A JP H0567218A JP 23013591 A JP23013591 A JP 23013591A JP 23013591 A JP23013591 A JP 23013591A JP H0567218 A JPH0567218 A JP H0567218A
Authority
JP
Japan
Prior art keywords
pixel
polygon
coordinates
pixel coordinate
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP23013591A
Other languages
Japanese (ja)
Inventor
Satoshi Nagamine
永峰  聡
Kiyoshi Maenobu
潔 前信
Makoto Hirai
誠 平井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP23013591A priority Critical patent/JPH0567218A/en
Publication of JPH0567218A publication Critical patent/JPH0567218A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To provide an image forming device which solves a problem that a pixel coordinate calculation is inefficient in the case of a small polygon and which can realize a high speed processing. CONSTITUTION:A polygon selector 1 selects the small polygon capable of calculating the pixel coordinate in a first pixel coordinate computer 5 among the plural plotted polygons. The first pixel coordinate computer 5 consisting of a vertex coordinate converter 2, a pixel coordinate table 3 and a pixel coordinate converter 4 finds the pixel coordinate of the selected polygon, and a second pixel coordinate computer 6 as to the polygon which is not selected. A pixel data computing element 7 calculates the colors and luminance of the respective picture elements based on the coordinates, and the operated result is stored in a frame memory 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータ・グラフ
ィックスにおける画素座標計算及びそれを用いた画像生
成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to calculation of pixel coordinates in computer graphics and an image generating apparatus using the same.

【0002】[0002]

【従来の技術】近年、コンピュータ・グラフィック技術
の発展により、複雑な画像処理が可能になってきてい
る。ときにその処理精度、処理速度の改善について多く
の発明がなされている。従来のこの種のコンピュータ・
グラフィック技術により頂点座標が与えられた多角形画
像、いわゆるポリゴンの内部およびエッジの画素座標を
求める時、スキャン・ラインとよばれるX軸に平行な直
線とエッジとの交点を求め、これらの交点に囲まれたス
キャン・ライン上の画素を求めるという方法をとってき
た。これらの処理方法については、例えば、「コンピュ
ータ・グラフィックス」今宮淳美訳、日本コンピュータ
協会(1984年)などに詳しく述べられている。以下、
図4と図5を参照しながら、この従来の画素座標計算の
一例について説明する。
2. Description of the Related Art In recent years, with the development of computer graphic technology, complex image processing has become possible. At times, many inventions have been made to improve the processing accuracy and processing speed. Conventional computer of this kind
When calculating the pixel coordinates of the inside and edges of a polygonal image given the vertex coordinates by graphic technology, the intersections of a straight line parallel to the X axis called a scan line and the edge are obtained, and these intersections are set. We have taken the method of finding the pixels on the enclosed scan line. These processing methods are described in detail, for example, in "Computer Graphics", translated by Atsumi Imamiya, Japan Computer Association (1984). Less than,
An example of the conventional pixel coordinate calculation will be described with reference to FIGS. 4 and 5.

【0003】図4に従来の画素座標計算装置の構成例を
示す。図4に示すようにその構成要素として41はエッ
ジの傾き演算器で、ポリゴンの各頂点座標から各エッジ
の傾きを求めるものである。42はエッジ上の画素座標
演算器で、ポリゴンの各頂点とエッジの傾きからエッジ
上の画素座標を求めるものである。43はポリゴン内部
の画素座標演算器で、エッジ上の画素座標からポリゴン
内部の画素座標を求めるものである。一例として三角形
の頂点座標から内部の画素、およびエッジ上の画素座標
を求める方法を図5に示す。
FIG. 4 shows a configuration example of a conventional pixel coordinate calculation device. As shown in FIG. 4, the component 41 is an edge inclination calculator, which calculates the inclination of each edge from the coordinates of each vertex of the polygon. 42 is a pixel coordinate calculator on the edge, which calculates the pixel coordinate on the edge from each vertex of the polygon and the inclination of the edge. Reference numeral 43 denotes a pixel coordinate calculator inside the polygon, which calculates the pixel coordinates inside the polygon from the pixel coordinates on the edge. As an example, FIG. 5 shows a method for obtaining the internal pixel and the pixel coordinate on the edge from the vertex coordinates of the triangle.

【0004】まず、エッジの傾き演算器41で頂点51
の座標と頂点52の座標からエッジ54の傾きを、頂点
52の座標と頂点53の座標からエッジ55の傾きを、
頂点53の座標と頂点51の座標からエッジ56の傾き
をそれぞれ求める。エッジ上の画素座標演算器42で頂
点51の座標とエッジ54の傾きからエッジ54上の画
素座標を、頂点51の座標とエッジ56の傾きからエッ
ジ56上の画素座標を求める。エッジ55上の画素座標
は、頂点52の座標とエッジ55の傾きから求められ
る。
First, the edge inclination calculator 41 is used to calculate the vertex 51.
The inclination of the edge 54 based on the coordinates of and the coordinates of the vertex 52, and the inclination of the edge 55 from the coordinates of the vertex 52 and the coordinates of the vertex 53
The inclination of the edge 56 is obtained from the coordinates of the vertex 53 and the coordinates of the vertex 51. An edge pixel coordinate calculator 42 obtains pixel coordinates on the edge 54 from the coordinates of the vertex 51 and the inclination of the edge 54, and pixel coordinates on the edge 56 from the coordinates of the vertex 51 and the inclination of the edge 56. The pixel coordinates on the edge 55 are obtained from the coordinates of the vertex 52 and the inclination of the edge 55.

【0005】次に、内部画素座標演算器43において、
y座標値の等しいエッジ上の2点をむすぶ線分上の画素
座標を計算する。この線分をスキャンラインと呼ぶ。ス
キャン・ライン57は、複数存在するスキャン・ライン
の中の1つを表す。画素58、画素59はそれぞれスキ
ャン・ライン57とエッジ54、エッジ56との交点で
ある。画素60、画素61はともにスキャン・ライン5
7上の画素であり、三角形の内部の画素である。画素5
8と画素59から画素60と画素61の座標が求められ
る。この処理をすべてのスキャン・ラインについて行う
ことにより、三角形の内部の画素座標が求められる。
Next, in the internal pixel coordinate calculator 43,
Pixel coordinates on a line segment that joins two points on the edge with the same y coordinate value are calculated. This line segment is called a scan line. The scan line 57 represents one of a plurality of scan lines that exist. Pixel 58 and pixel 59 are the intersections of scan line 57 and edge 54 and edge 56, respectively. Pixel 60 and pixel 61 are both scan line 5
It is a pixel on 7 and is a pixel inside a triangle. Pixel 5
From 8 and pixel 59, the coordinates of pixel 60 and pixel 61 are obtained. By performing this process for all scan lines, the pixel coordinates inside the triangle are obtained.

【0006】[0006]

【発明が解決しようとする課題】しかしながら前記のよ
うな構成では、ポリゴンの大きさにかかわらず、エッジ
上の画素座標を求めるまでに多くの乗除演算を必要なの
で演算に時間がかかり、とくに小さなポリゴンの場合
は、求める画素座標の個数が少ないのに非常に多くの計
算時間を費やすこととなり、効率が悪いという問題点を
有していた。
However, in the above-mentioned structure, it takes a lot of multiplication and division operations to obtain the pixel coordinates on the edge regardless of the size of the polygon, so that the calculation is time-consuming, and especially for small polygons. In the case of (2), although the number of pixel coordinates to be obtained is small, a great amount of calculation time is spent, and there is a problem that efficiency is low.

【0007】本発明は上記課題に留意し、小さなポリゴ
ンに対してもエッジ上及びポリゴン内部の画素座標の算
出を効率的に高速に行うことができる画像生成装置を提
供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an image generation apparatus capable of efficiently calculating pixel coordinates on edges and inside polygons even for small polygons.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明の画素座標計算装置及びそれを用いた画像処
理装置は、ポリゴンの頂点の中から1点を基準点として
選び、この基準点以外の頂点座標を基準点からの相対座
標に変換する頂点座標変換器と、この頂点座標変換器が
出力する相対頂点座標からそのポリゴンの内部およびエ
ッジを構成する基準点からの相対画素座標を得るための
画素座標テーブルと、この相対画素座標を絶対画素座標
に変換する画素座標変換器という構成を備えたものであ
る。
In order to achieve the above object, a pixel coordinate calculating apparatus and an image processing apparatus using the same according to the present invention select one point from the vertices of a polygon as a reference point, and use this reference point. From the vertex coordinate converter that converts the vertex coordinates other than points to the relative coordinates from the reference point, and the relative pixel coordinates from the reference points that form the inside and edges of the polygon from the relative vertex coordinates output by this vertex coordinate converter. The pixel coordinate table for obtaining the pixel coordinate table and the pixel coordinate converter for converting the relative pixel coordinates into the absolute pixel coordinates are provided.

【0009】[0009]

【作用】上記構成の本発明の画素座標計算装置及びそれ
を用いた画像生成装置は、小さなポリゴンを描画する際
の画素座標を求めるために、ポリゴンの頂点座標とエッ
ジ及び内部の画素座標との対応を記述した画素座標テー
ブルを参照することにより、エッジの傾きやエッジ上の
画素座標計算などの計算を行う必要がなくなるものであ
る。
The pixel coordinate calculation apparatus of the present invention having the above-described configuration and the image generation apparatus using the same are configured to calculate the pixel coordinates when drawing a small polygon, in order to obtain the vertex coordinates of the polygon and the edges and the internal pixel coordinates. By referring to the pixel coordinate table in which the correspondence is described, it is not necessary to perform calculations such as edge tilt and pixel coordinate calculation on the edge.

【0010】[0010]

【実施例】以下本発明の一実施例の三角形の画素座標の
計算について、図面を参照しながら説明する。図1は本
発明の実施例における画像生成装置の構成を示すもので
ある。図1に示すようにその構成要素として1はポリゴ
ンの大小の選択を行うポリゴン選択器、2は頂点座標の
一つを基準点として相対座標に変換する頂点座標変換
器、3は相対画素座標とエッジ及びポリゴン内部の画素
の対応表である画素座標テーブル、4は相対画素座標を
絶対画素座標に変換する画素座標変換器、5は第1の画
素座標計算装置、6は第2の画素座標計算装置、7は画
素の色や輝度等を計算する画素データ演算器、8はフレ
ームメモリである。以上のように構成された画像生成装
置について、以下その動作を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Calculation of pixel coordinates of a triangle according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of an image generating apparatus according to an embodiment of the present invention. As shown in FIG. 1, as its constituent elements, 1 is a polygon selector for selecting the size of polygons, 2 is a vertex coordinate converter for converting one of the vertex coordinates into a relative coordinate, and 3 is a relative pixel coordinate. Pixel coordinate table, which is a correspondence table of edges and pixels inside the polygon, 4 is a pixel coordinate converter for converting relative pixel coordinates into absolute pixel coordinates, 5 is a first pixel coordinate calculation device, and 6 is a second pixel coordinate calculation. A device, 7 is a pixel data calculator for calculating the color and brightness of a pixel, and 8 is a frame memory. The operation of the image generating apparatus configured as described above will be described below.

【0011】まず、全体の処理の流れについて説明す
る。ポリゴン選択器1は、描画する複数のポリゴンの中
から第1の画素座標計算装置で画素座標計算が可能な小
さなポリゴンを選択する。ポリゴン選択器1によって選
択されたポリゴンについては、その頂点座標値が第1の
画素座標計算装置5に入力され、選択されなかったポリ
ゴンの頂点座標値は第2の画素座標計算装置6に入力さ
れる。第2の画素座標計算装置6は従来の方法で画素座
標を計算する装置である。第1の画素座標計算装置5ま
たは第2の画素座標計算装置6から出力された画素座標
値は、画素データ演算器7に入力され各画素の色や輝度
計算を行い、その演算結果をフレームメモリ8に格納す
る。
First, the overall processing flow will be described. The polygon selector 1 selects a small polygon for which the pixel coordinate calculation can be performed by the first pixel coordinate calculation device from a plurality of polygons to be drawn. The vertex coordinate values of the polygons selected by the polygon selector 1 are input to the first pixel coordinate calculation device 5, and the vertex coordinate values of the unselected polygons are input to the second pixel coordinate calculation device 6. It The second pixel coordinate calculation device 6 is a device for calculating pixel coordinates by a conventional method. The pixel coordinate value output from the first pixel coordinate calculation device 5 or the second pixel coordinate calculation device 6 is input to the pixel data calculator 7 to calculate the color and brightness of each pixel, and the calculation result is stored in the frame memory. Store in 8.

【0012】次に第1の画素座標計算装置5について説
明する。第1の画素座標計算装置5は頂点座標変換器2
と画素座標テーブル3と画素座標変換器4から構成され
る。頂点座標変換器2は、ポリゴンの頂点座標から1点
を基準点として選び、他の頂点座標を基準点からの相対
座標に変換する。画素座標テーブル3は頂点座標変換器
2で出力される座標値からテーブルを調べ、ポリゴンの
画素座標を求める。画素座標テーブル3で求められた画
素座標は、基準点からの相対座標なので、画素座標変換
器4は前記相対画素座標を絶対画素座標に変換する。三
角形の具体的な座標値を用いて画素座標計算過程を図2
に示す。図2(a)において、21は描画する三角形の
絶対頂点座標を示す。頂点座標変換器2で3つの座標の
うちの1つである(2,3)を基準点として選んだ場合、
他の頂点座標(6,4)、(5,6)は、それぞれ図2(b)
に示す22の三角形の相対頂点座標(4,1)、(3,3)に
変換される。この三角形の相対頂点座標22をもとに図
2(c)に示す画素座標テーブル23から24の三角形
内部およびエッジの相対画素座標(1,0)、(0,1)、
(2,1)、(2,2)、(3,1)、(3,2)を得る。この
相対画素座標24は画素座標変換器4によって、図2
(d)に示す25の絶対画素座標(3.3)、(2,4)、
(4,4)、(4,5)、(5,4)、(5,5)にそれぞれ変
換される。なお、図2では三角形の画素座標を求める場
合を例にして説明を行ったが、三角形以外のポリゴンに
ついても同様な方法で画素座標が計算される。
Next, the first pixel coordinate calculation device 5 will be described. The first pixel coordinate calculation device 5 includes the vertex coordinate converter 2
And a pixel coordinate table 3 and a pixel coordinate converter 4. The vertex coordinate converter 2 selects one point from the vertex coordinates of the polygon as a reference point, and converts the other vertex coordinates into relative coordinates from the reference point. The pixel coordinate table 3 looks up the table from the coordinate values output by the vertex coordinate converter 2 to find the pixel coordinates of the polygon. Since the pixel coordinates obtained in the pixel coordinate table 3 are relative coordinates from the reference point, the pixel coordinate converter 4 converts the relative pixel coordinates into absolute pixel coordinates. FIG. 2 shows a pixel coordinate calculation process using concrete coordinate values of a triangle.
Shown in. In FIG. 2A, reference numeral 21 indicates the absolute vertex coordinates of the drawn triangle. If (2,3), which is one of the three coordinates, is selected as the reference point by the vertex coordinate converter 2,
The other vertex coordinates (6, 4) and (5, 6) are respectively shown in FIG.
Are converted into relative vertex coordinates (4,1) and (3,3) of the 22 triangles shown in FIG. Based on the relative vertex coordinates 22 of this triangle, the relative pixel coordinates (1,0), (0,1) of the inside and the edge of the triangle of the pixel coordinate tables 23 to 24 shown in FIG.
(2,1), (2,2), (3,1), (3,2) are obtained. This relative pixel coordinate 24 is calculated by the pixel coordinate converter 4 as shown in FIG.
25 absolute pixel coordinates (3.3), (2, 4) shown in (d),
Converted to (4,4), (4,5), (5,4), (5,5), respectively. In FIG. 2, the case where the pixel coordinates of the triangle are obtained has been described as an example, but the pixel coordinates are calculated in the same manner for polygons other than the triangle.

【0013】次に、ポリゴン選択器1におけるポリゴン
選択方法について説明する。ポリゴン選択器1におい
て、ポリゴンの頂点のうち一つを基準点に選び、基準点
と他の任意の頂点座標とのx,y座標の変位がいずれも
m以下であるか否かでポリゴンを分類する。mは自然数
の定数である。m=3の場合の例を図3に示す。図3に
おいて◎印31は基準点を表し、複数の○印32は基準
点からx,y座標の変位がいずれも3以下の画素を表
し、33と34は、ポリゴン選択器1に選択されるポリ
ゴンを表し、35はポリゴン選択器1に選択されないポ
リゴンを表す。すなわち、ポリゴンの1頂点を基準点3
1をとしたとき、その他の頂点はすべて○印で示した画
素32のうちのどれかであれば、そのポリゴンはポリゴ
ン選択器1によって選択される。
Next, a polygon selecting method in the polygon selector 1 will be described. In the polygon selector 1, one of the vertices of the polygon is selected as a reference point, and the polygons are classified according to whether or not the displacements of the reference point and the coordinates of any other vertices in x and y coordinates are both m or less. To do. m is a constant of a natural number. An example in the case of m = 3 is shown in FIG. In FIG. 3, ⊚ mark 31 represents a reference point, plural ∘ marks 32 represent pixels whose displacements in x and y coordinates from the reference point are all 3 or less, and 33 and 34 are selected by the polygon selector 1. Polygons are shown, and 35 is a polygon that is not selected by the polygon selector 1. That is, one vertex of the polygon is the reference point 3
When 1 is set, if any of the other vertices is any one of the pixels 32 indicated by a circle, the polygon is selected by the polygon selector 1.

【0014】mの値は画素座標テーブルの大きさに関係
する。例えば、三角形のみを扱う場合でm=3と決定し
た場合について、画素座標テーブル3の大きさを考えて
みる。基準点とその他の画素の中の2点を頂点とする三
角形の場合の数は48個ある画素32の中から2個選ぶ
組合せであるから、直線になる場合も含めて1128通
りある。
The value of m is related to the size of the pixel coordinate table. For example, consider the size of the pixel coordinate table 3 when m = 3 is determined in the case of handling only triangles. In the case of a triangle having two vertices of the reference point and other pixels as the apex, the number is a combination in which two are selected from the 48 pixels 32, and therefore there are 1128 patterns including the case of a straight line.

【0015】[0015]

【数1】 [Equation 1]

【0016】この値から3点が直線上にならぶ場合の数
を引いた値が画素座標変換テーブル3のエントリー数に
相当する。従ってエントリー数は1128未満である。
次に一つの三角形を構成する画素数は、最も大きな三角
形で15個(基準点を除く)であるから、テーブルの1エ
ントリーあたり15個の画素座標を格納できる大きさを
用意すればよい。また、画素の総数は49個であるから
一つの画素座標を表すのに6ビット用意すればよい。し
たがって、画素座標テーブル3の大きさは(数2)で計算
されるように、12Kバイトあれば十分である。
A value obtained by subtracting the number when three points are arranged on a straight line from this value corresponds to the number of entries of the pixel coordinate conversion table 3. Therefore, the number of entries is less than 1128.
Next, since the largest triangle has 15 pixels (excluding the reference point) forming one triangle, it is sufficient to prepare a size capable of storing 15 pixel coordinates per entry of the table. Moreover, since the total number of pixels is 49, 6 bits may be prepared to represent one pixel coordinate. Therefore, it is sufficient for the size of the pixel coordinate table 3 to be 12 Kbytes as calculated by (Equation 2).

【0017】[0017]

【数2】 [Equation 2]

【0018】(表1)にm=3,4,5,6の場合につい
て前記の方法と同様に概算した座標変換テーブル3の大
きさを示す。画素座標テーブルに確保できるメモリの大
きさを考慮してmの大きさを決定すれば、実現可能な画
素座標装置を作成することができる。
Table 1 shows the size of the coordinate conversion table 3 roughly estimated in the same manner as the above method for m = 3, 4, 5, and 6. If the size of m is determined in consideration of the size of the memory that can be secured in the pixel coordinate table, a feasible pixel coordinate device can be created.

【0019】[0019]

【表1】 [Table 1]

【0020】以上のように本実施例によれば、画素座標
テーブルを設けることによりポリゴン内部及びエッジの
画素座標を複雑な計算を行わずに求めることができる。
As described above, according to this embodiment, by providing the pixel coordinate table, the pixel coordinates inside the polygon and the pixel coordinates of the edge can be obtained without performing complicated calculations.

【0021】[0021]

【発明の効果】以上の説明から明らかなように、本発明
の画素座標計算装置及びそれを用いた画像生成装置は、
画素座標の計算の際に画素座標テーブルを用いることに
より、小さなポリゴンに対して、そのポリゴンの内部お
よびエッジの画素座標を複雑な計算を行わずに求めるこ
とができるので効率的に画素座標計算が可能であり、高
速な画像処理が可能な画像生成が実現するものである。
As is apparent from the above description, the pixel coordinate calculation device of the present invention and the image generation device using the same are:
By using the pixel coordinate table when calculating the pixel coordinates, the pixel coordinates of the inside and edges of the polygon can be calculated for a small polygon without performing complicated calculations, so that the pixel coordinate calculation can be performed efficiently. It is possible to realize image generation capable of high-speed image processing.

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

【図1】本発明の実施例における画像生成装置の構成を
示すブロック図
FIG. 1 is a block diagram showing a configuration of an image generating apparatus according to an embodiment of the present invention.

【図2】同実施例における第1の画素座標計算装置で三
角形の画素座標を求める一例を示す説明図
FIG. 2 is an explanatory diagram showing an example of obtaining the pixel coordinates of a triangle by the first pixel coordinate calculation device in the embodiment.

【図3】同実施例におけるポリゴン選択器のポリゴン選
択方法の一例を示す説明図
FIG. 3 is an explanatory view showing an example of a polygon selecting method of a polygon selector in the embodiment.

【図4】従来の画素座標計算装置の構成を示すブロック
FIG. 4 is a block diagram showing a configuration of a conventional pixel coordinate calculation device.

【図5】同従来の画素座標計算装置における画素座標を
求める一例を示す説明図
FIG. 5 is an explanatory diagram showing an example of obtaining pixel coordinates in the conventional pixel coordinate calculation device.

【符号の説明】[Explanation of symbols]

1 ポリゴン選択器 2 頂点座標変換器 3 画素座標テーブル 4 画素座標変換器 5 第1の画素座標計算装置 6 第2の画素座標計算装置 7 画素データ演算器 8 フレームメモリ 1 polygon selector 2 vertex coordinate converter 3 pixel coordinate table 4 pixel coordinate converter 5 first pixel coordinate calculation device 6 second pixel coordinate calculation device 7 pixel data calculator 8 frame memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ポリゴンの頂点の中から1点を基準点と
して選び、前記基準点以外の頂点座標を前記基準点から
の相対座標に変換する頂点座標変換器と、前記頂点座標
変換器が出力する相対頂点座標から前記ポリゴンの内部
およびエッジを構成する画素の基準点からの相対座標を
得るための画素座標テーブルと、前記画素座標テーブル
から得られた相対画素座標を絶対画素座標へ変換する画
素座標変換器とを備えた画素座標計算装置。
1. A vertex coordinate converter for selecting one of the vertices of a polygon as a reference point and converting vertex coordinates other than the reference point into relative coordinates from the reference point, and the vertex coordinate converter outputs A pixel coordinate table for obtaining the relative coordinates from the reference point of the pixels forming the inside of the polygon and the edge from the relative vertex coordinates, and the pixel for converting the relative pixel coordinates obtained from the pixel coordinate table into absolute pixel coordinates. A pixel coordinate calculation device having a coordinate converter.
【請求項2】請求項1記載の画素座標計算装置から得ら
れた画素座標の画素について、画素データを演算する画
素データ演算器と、前記画素データ演算器の演算結果を
格納するフレームメモリとを備えた画像生成装置。
2. A pixel data calculator for calculating pixel data for a pixel having pixel coordinates obtained from the pixel coordinate calculator according to claim 1, and a frame memory for storing a calculation result of the pixel data calculator. An image generation device provided.
【請求項3】 ポリゴンの頂点の中から1点を基準点と
して選び、前記基準点から前記基準点以外の任意の頂点
座標への距離がある一定値以下のポリゴンを選択するポ
リゴン選択器と、前記ポリゴン選択器に選択されたポリ
ゴンに対して座標計算を行う請求項1記載の画素座標計
算装置と、選択されなかったポリゴンに対して座標計算
を行う第2の画素座標計算装置と、前記第1、第2の画
素座標計算装置から得られた画素座標の画素について画
素データを演算する画素データ演算器と、前記画素デー
タ演算器の演算結果を格納するフレームメモリとを備え
た画像生成装置。
3. A polygon selector for selecting one of the vertices of a polygon as a reference point and selecting a polygon having a distance from the reference point to any vertex coordinate other than the reference point and having a fixed value or less. The pixel coordinate calculation device according to claim 1 for performing coordinate calculation for a polygon selected by the polygon selector, the second pixel coordinate calculation device for performing coordinate calculation for a polygon that is not selected, An image generation apparatus comprising: a pixel data calculator that calculates pixel data for pixels having pixel coordinates obtained from the first and second pixel coordinate calculators; and a frame memory that stores a calculation result of the pixel data calculator.
JP23013591A 1991-09-10 1991-09-10 Pixel coordinate computer and image forming device using the same Pending JPH0567218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23013591A JPH0567218A (en) 1991-09-10 1991-09-10 Pixel coordinate computer and image forming device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23013591A JPH0567218A (en) 1991-09-10 1991-09-10 Pixel coordinate computer and image forming device using the same

Publications (1)

Publication Number Publication Date
JPH0567218A true JPH0567218A (en) 1993-03-19

Family

ID=16903132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23013591A Pending JPH0567218A (en) 1991-09-10 1991-09-10 Pixel coordinate computer and image forming device using the same

Country Status (1)

Country Link
JP (1) JPH0567218A (en)

Similar Documents

Publication Publication Date Title
EP0356103B1 (en) Scan-conversion process and processor
CA2743039C (en) Bezier curve drawing device, bezier curve drawing method, and recording medium
JP4030519B2 (en) Image processing apparatus and image processing system
US7554546B1 (en) Stippled lines using direct distance evaluation
CN100504923C (en) Grain engine for grain video signal processing, graph processor and method
JPWO2003001457A1 (en) Information processing equipment
US6812931B2 (en) Rendering process
KR20100052850A (en) A rasterizer for 2d vector graphics and method
JP3066596B2 (en) Address translation device
JPH0567218A (en) Pixel coordinate computer and image forming device using the same
US7859531B2 (en) Method and apparatus for three-dimensional graphics, and computer product
JP2008009897A (en) Vector graphic drawing device and program thereof
JP2007122188A (en) Image forming device, image processing method and program
JP2007087283A (en) Graphic drawing device and graphic drawing program
KR20080064523A (en) 3-dimension graphic processing apparatus and operating method thereof
JPS6022871A (en) Method and apparatus of enlarging and reduction
JPH1131236A (en) Sorting method of polygon data and picture processor using the method
JP3214389B2 (en) Data converter
JP3453410B2 (en) Image processing apparatus and method
JP3517982B2 (en) Drawing device
JPS6045287A (en) Clipping processor
JP2642374B2 (en) Figure clipping method
JP2002049931A (en) Method for generating image
KR100927131B1 (en) Method and system of anti-aliasing
JP4195953B2 (en) Image processing device