JP2627112B2 - Vector generator - Google Patents

Vector generator

Info

Publication number
JP2627112B2
JP2627112B2 JP3346896A JP34689691A JP2627112B2 JP 2627112 B2 JP2627112 B2 JP 2627112B2 JP 3346896 A JP3346896 A JP 3346896A JP 34689691 A JP34689691 A JP 34689691A JP 2627112 B2 JP2627112 B2 JP 2627112B2
Authority
JP
Japan
Prior art keywords
vector
luminance
line width
brightness
component
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.)
Expired - Fee Related
Application number
JP3346896A
Other languages
Japanese (ja)
Other versions
JPH05181975A (en
Inventor
恵太郎 堀
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.)
Japan Aviation Electronics Industry Ltd
Original Assignee
Japan Aviation Electronics Industry 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 Japan Aviation Electronics Industry Ltd filed Critical Japan Aviation Electronics Industry Ltd
Priority to JP3346896A priority Critical patent/JP2627112B2/en
Publication of JPH05181975A publication Critical patent/JPH05181975A/en
Application granted granted Critical
Publication of JP2627112B2 publication Critical patent/JP2627112B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は初期位置情報と傾斜情
報とを入力して線幅をもったベクトル(線)を表示すべ
く、表示画面の各画素対応にビデオメモリに輝度データ
を書き込むベクター発生装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a vector for writing luminance data into a video memory corresponding to each pixel of a display screen in order to display a vector (line) having a line width by inputting initial position information and inclination information. It relates to a generator.

【0002】[0002]

【従来の技術】図7に従来のベクター発生装置を示す。
初期位置(始点)のXY座標(Xs ,Ys )のXs ,Y
s がそれぞれXレジスタ11,Yレジスタ12に格納さ
れ、傾斜情報ΔX,ΔYがそれぞれΔXレジスタ13,
ΔYレジスタ14に格納される。Xレジスタ11のXs
にΔXレジスタ13のΔXが加算器15で加算され、そ
の加算結果はXレジスタ11に格納される。従ってXs
に対しΔXが累積加算されることになる。同様に、Yレ
ジスタ12のYs にΔYレジスタ14のΔYが加算器1
6で加算され、その加算結果はYレジスタ12に格納さ
れる。
2. Description of the Related Art FIG. 7 shows a conventional vector generator.
Xs, Y of XY coordinates (Xs, Ys) of initial position (start point)
s are stored in the X register 11 and the Y register 12, respectively, and the inclination information ΔX and ΔY are stored in the ΔX register 13 and the Y register 12, respectively.
It is stored in the ΔY register 14. Xs of X register 11
Is added by the adder 15, and the result of the addition is stored in the X register 11. Therefore Xs
Is cumulatively added to. Similarly, ΔY of the ΔY register 14 is added to Ys of the Y register 12 by the adder 1.
6, and the result of the addition is stored in the Y register 12.

【0003】加算器15,16でそれぞれ加算されるご
とに、その各加算結果の各整数部はそれぞれXアドレス
カウンタ17,Yアドレスカウンタ18にプリセットさ
れる。また、マルチプレクサ19でΔX>ΔYの時は加
算器16の出力の小数部が、ΔX<ΔYの時は加算器1
5の出力の小数部が、それぞれ選択される。メモリ書き
込みシーケンサ21において、加算器15で加算を行う
ごとに、ΔX<ΔYの時はXアドレスカウンタ17を線
幅の画素数の半分だけ、ダウンカウントした後、1つず
アップカウントする、ΔX>ΔYの時はYアドレスカ
ウンタ18に対して同様のことを行う。
Each time the addition is performed by the adders 15 and 16, each integer part of the addition result is preset in an X address counter 17 and a Y address counter 18, respectively. Further, when ΔX> ΔY in the multiplexer 19, the fractional part of the output of the adder 16 is used, and when ΔX <ΔY, the adder 1 is used.
The fractional parts of the output of 5 are each selected. In memory write sequencer 21, each performing addition in adder 15, [Delta] X <half the X address counter 17 of the number of pixels of line width when the [Delta] Y, after down-count, 1 a time until
When ΔX> ΔY, the same operation is performed on the Y address counter 18.

【0004】メモリ書き込みシーケンサ21からのアド
レスカウンタ17または18に対するアップカウントの
カウント数 PXCNTとマルチプレクサ19の出力とがアド
レスとして輝度テーブル22に与えられる。輝度テーブ
ル22には、カウント数 PXCNTの中央で最大輝度デー
タ、それより小、大の何れになるにしても、それに従っ
て輝度が低下してゆくような輝度データが記憶されてい
る。輝度テーブル22で読み出された輝度データが、ア
ドレスカウンタ17,18の各計数値をアドレスとして
ビデオメモリ23に書き込まれる。以上の制御は演算制
御シーケンサ24により行われ、ベクトルの終点は演算
制御シーケンサ24内のデータで、加算器15,16に
対する加算制御を停止することにより決まる。
The count number PXCNT of the up-count from the memory write sequencer 21 to the address counter 17 or 18 and the output of the multiplexer 19 are given to the luminance table 22 as an address. The luminance table 22 stores the maximum luminance data at the center of the count number PXCNT, and luminance data whose luminance decreases in accordance with the maximum luminance data, whichever is smaller or larger. The luminance data read from the luminance table 22 is written to the video memory 23 using the count values of the address counters 17 and 18 as addresses. The above control is performed by the arithmetic control sequencer 24. The end point of the vector is the data in the arithmetic control sequencer 24 and is determined by stopping the addition control for the adders 15 and 16.

【0005】[0005]

【発明が解決しようとする課題】図7に示した従来のベ
クター発生装置において、線幅をもたせたベクトルを発
生させると、図8Aに示すようにベクトルの始点、終
点、接続点25の表示品質が劣化する。
In the conventional vector generating apparatus shown in FIG. 7, when a vector having a line width is generated, as shown in FIG. Deteriorates.

【0006】[0006]

【課題を解決するための手段】この発明によれば、輝度
テーブルに従来と同様に線幅の各画素と対応した輝度デ
ータを持ち、線幅の中心が最高輝度、両端に近づくに従
って輝度が低下し、両端が最低輝度の通常領域を設ける
他に、丸め領域を設け、丸め領域は線幅の各画素と対応
した輝度データをそれぞれ持つ複数の領域からなり、こ
れら領域を通常領域に対して順次並べると、対応画素の
輝度が通常領域から離れるに従って低くなっている。
According to the present invention, the luminance table has luminance data corresponding to each pixel of the line width in the same manner as in the prior art, and the center of the line width is the maximum luminance, and the luminance decreases as approaching both ends. In addition, in addition to providing a normal region with the lowest luminance at both ends, a rounded region is provided, and the rounded region is composed of a plurality of regions each having luminance data corresponding to each pixel of the line width, and these regions are sequentially arranged with respect to the normal region. When arranged, the brightness of the corresponding pixel decreases as the distance from the normal area increases.

【0007】輝度テーブルは発生ベクトルの端か否かに
応じて領域が選択される。ベクトルの始めでは線幅の半
分だけX成分またはY成分についてベクトルの反対方向
に始点がずらされて、始点処理がなされ、ベクトルの終
点が保持された後、終点保持されて、保持した終点が次
のベクトルの始点とされる。また、その次ベクトルの始
点処理では、輝度データの書き込みに先立ち、そのアド
レスでビデオメモリを読み出し、その読み出した輝度デ
ータが、輝度テーブルから読み出した輝度データより大
の場合は書き込みを禁止する。
[0007] In the luminance table, an area is selected depending on whether it is at the end of the generated vector. At the beginning of the vector, the start point is shifted in the opposite direction of the vector for the X or Y component by half the line width, the start point processing is performed, the end point of the vector is held, the end point is held, and the held end point is Is the starting point of the vector. In addition, in the start point processing of the next vector, before writing the luminance data, the video memory is read at that address, and if the read luminance data is larger than the luminance data read from the luminance table, the writing is prohibited.

【0008】[0008]

【実施例】図1にこの発明の実施例を示し、図7と対応
する部分に同一符号を付けてある。この例では、ΔXレ
ジスタ13,ΔYレジスタ14の各データΔX,ΔYは
それぞれシフタ26,27を介して加算器15,16へ
供給される。Xレジスタ11,Yレジスタ12の各内容
をそれぞれ保持レジスタ28,29に格納することがで
きるようにされる。加算器15の出力と保持レジスタ2
8の出力との一方をマルチプレクサ31で選択してXレ
ジスタ11に格納し、加算器16の出力と保持レジスタ
29の出力との一方をマルチプレクサ32で選択してY
レジスタ12に格納することができるようにされる。
FIG. 1 shows an embodiment of the present invention, in which parts corresponding to those in FIG. 7 are denoted by the same reference numerals. In this example, the data ΔX and ΔY of the ΔX register 13 and ΔY register 14 are supplied to adders 15 and 16 via shifters 26 and 27, respectively. The contents of the X register 11 and the Y register 12 can be stored in the holding registers 28 and 29, respectively. Output of adder 15 and holding register 2
8 is selected by the multiplexer 31 and stored in the X register 11, and one of the output of the adder 16 and the output of the holding register 29 is selected by the multiplexer 32 and
The data can be stored in the register 12.

【0009】ビデオメモリ23に対する書き込みに先立
ち、その時のアドレスでビデオメモリ23を読み出し、
その読み出された輝度データは読み出しレジスタ33に
格納され、その読み出しレジスタ33のデータと、輝度
テーブル22から読み出された輝度データ(書き込まれ
るべきデータ)とが比較器34で比較され、後者が大き
い時に比較器34の出力が書き込み指令としてビデオメ
モリ23へ供給される。
Prior to writing to the video memory 23, the video memory 23 is read at the address at that time,
The read luminance data is stored in the read register 33, and the data of the read register 33 and the luminance data (data to be written) read from the luminance table 22 are compared by the comparator 34. When it is larger, the output of the comparator 34 is supplied to the video memory 23 as a write command.

【0010】輝度テーブル22は図2Aに一部を示すよ
うに、通常の線幅を付けるための通常領域36の他にベ
クトル端の処理のための丸め領域37が設けられる。通
常領域36はベクトルの線幅の各画素数、この例では6
画素の輝度データを持ち、中心画素P0 が最大輝度であ
り、図では16進数のFとされ、その隣接画素P-1,P
+1の各輝度はそれぞれ7,Dとされ、その更に離れた画
素P-2,P+2の各輝度はそれぞれ1,7であり、画素P
+3の輝度は1である。つまり、この通常領域36にもと
づく通常のベクトルの線幅方向の輝度分布は、図2Bに
示すように中心画素P0 で最大輝度、これより遠ざかる
に従って輝度が下がり、両端P-2,P+3では最低輝度と
なる。
As shown in FIG. 2A, the luminance table 22 is provided with a rounded area 37 for processing a vector end in addition to a normal area 36 for giving a normal line width. The normal region 36 is the number of pixels of the line width of the vector, in this example, 6
Has a luminance data of the pixel, the maximum luminance is the central pixel P 0, is the F hexadecimal in FIG its neighboring pixels P -1, P
+1 is 7, D, respectively, and the pixels P -2 , P +2 , which are further away, are 1, 7 respectively, and the pixel P
The luminance of +3 is 1. That is, as shown in FIG. 2B, the luminance distribution in the line width direction of the normal vector based on the normal area 36 is the maximum luminance at the center pixel P 0 , the luminance decreases as the distance from the center pixel P 0 increases, and both ends P −2 , P +3 Then, the brightness becomes the lowest.

【0011】丸め領域37は、ベクトル線幅の画素数の
半分の数の領域、この例では3つの領域37a,37
b,37cからなり、それぞれ線幅の画素数、この例で
は6つの輝度データを持っている。これら領域37a,
37b,37cを順次通常領域36と並べると、対応画
素の輝度は通常領域36から離れるに従って輝度が低下
する。この例では画素P-2,P-1,P0 ,P+1,P+2
+3に対して、領域37aはそれぞれ輝度1,5,8,
9,5,1が領域37bはそれぞれ、輝度0,1,3,
2,1,0が、領域37cはそれぞれ輝度0,0,1,
0,0,0が与えられる。つまり、画素P0 についてみ
ると、輝度がF,B,3,1と順次低下し、画素P+1
ついても輝度がD,9,2,0と順次低下する。領域3
7a,37b,37cの輝度分布はそれぞれ図2C,
D,Eに示すようになる。領域36,37a,37b,
37cの各アドレスをTSEL0,TSEL1,TSEL2,TSEL3
とする。このアドレスTSELi(i=0,1,2,3)が図
1の演算制御シーケンサ24から輝度テーブル22に与
えられている。
The rounded area 37 is an area of half the number of pixels of the vector line width, in this example, three areas 37a, 37
b and 37c, each having the number of pixels of the line width, in this example, six luminance data. These areas 37a,
When the pixels 37b and 37c are sequentially arranged with the normal area 36, the brightness of the corresponding pixel decreases as the distance from the normal area 36 increases. In this example, pixels P -2 , P -1 , P 0 , P +1 , P +2 ,
For P +3 , the area 37a has luminances 1, 5, 8, and
9, 5, 1 and the area 37b have the brightness of 0, 1, 3, respectively.
2, 1, 0, and the area 37c has a luminance of 0, 0, 1, 1, respectively.
0,0,0 is provided. That is, as for the pixel P 0 , the luminance sequentially decreases to F, B, 3, 1 and the luminance also decreases to D, 9, 2, 0 for the pixel P + 1 . Area 3
The luminance distributions of 7a, 37b and 37c are shown in FIG.
D and E are as shown in FIG. The regions 36, 37a, 37b,
TSEL0, TSEL1, TSEL2, TSEL3
And This address TSELi (i = 0, 1, 2, 3) is given to the luminance table 22 from the arithmetic control sequencer 24 in FIG.

【0012】次にベクトルを発生するために、データX
s ,Ys ,ΔX,ΔYがそれぞれレジスタ11,12,
13,14に設定されると、この発明では先ず始点処理
が実行される。この処理は例えば図3に示す流れで行わ
れる。先ず輝度テーブル22のアドレスTSELi のiを3
にセットする(S1 ),次にΔXの絶対値がΔYの絶対
値より大きいかをチェックし(S2 ),|ΔX|>|Δ
Y|ならばXs −(ΔX×8×LW/2)をXレジスタ
11に格納する(S3 )。Lw はベクトルの線幅であ
り、X,Yの小数部は3ビットの場合であり、ステップ
3 ではXの値を線幅の半分だけベクトル方向と逆にず
らすことになる。|ΔX|>|ΔY|でなければ、Ys
−(ΔY×8×LW/2)をYレジスタ12に格納し
て、Yの値を線幅の半分だけベクトル方向と逆にずらす
(S4 )。図1においてシフタ26,27を3ビット上
位へシフトすることにより、ΔX,ΔYに対してそれぞ
れ8を掛算する。
Next, to generate a vector, the data X
s, Ys, ΔX, ΔY are registers 11, 12,
When these are set to 13 and 14, in the present invention, first, a start point process is executed. This process is performed, for example, according to the flow shown in FIG. First, i of the address TSELi of the luminance table 22 is set to 3
(S 1 ), then check whether the absolute value of ΔX is greater than the absolute value of ΔY (S 2 ), and | ΔX |> | Δ
Y | a mule Xs - the (ΔX × 8 × LW / 2 ) is stored in the X register 11 (S 3). Lw is the line width of the vector, X, fractional part of Y is the case of 3 bits, would be shifted only in the vector direction opposite half value of the line width of the X step S 3. If | ΔX |> | ΔY | is not Ys
- a (ΔY × 8 × LW / 2 ) and stored in Y register 12, shifted by the vector direction opposite half of the line width value of Y (S 4). In FIG. 1, the shifters 26 and 27 are shifted upward by 3 bits to multiply ΔX and ΔY by 8 respectively.

【0013】この時の、Xレジスタ11,Yレジスタ1
2の各内容がXアドレスカウンタ17,Yアドレスカウ
ンタ18にプリセットされ、従来と同様にメモリ書き込
みシーケンサ21の制御により、ビデオメモリ23に対
する書き込みを行う。ただ、各書き込みの前に、その時
のアドレスでビデオメモリ23を読み出し、その読み出
した輝度データを読み出しレジスタ33に保持し、輝度
テーブル22よりの読み出された輝度データと比較器3
4で比較される。輝度テーブル22は領域37cについ
て画素P-2,P-1,P0 ,P+1,P+2,P+3の順に読み
出され、その各読み出しごとに、ビデオメモリ23も読
み出され、比較器34での比較が行われる。ビデオメモ
リ23から読み出した輝度の方向が大きい場合は、ビデ
オメモリ23に対する書き込みを禁止する。このように
して領域37cの6画素についてのビデオメモリ23に
対する書き込みを行う(S5 )。
At this time, the X register 11 and the Y register 1
2 are preset in the X address counter 17 and the Y address counter 18, and writing to the video memory 23 is performed under the control of the memory writing sequencer 21 as in the conventional case. However, before each write, the video memory 23 is read at the address at that time, the read luminance data is held in the read register 33, and the read luminance data from the luminance table 22 and the comparator 3
4 is compared. The luminance table 22 is read from the area 37c in the order of the pixels P -2 , P -1 , P 0 , P +1 , P +2 , and P +3 , and for each read, the video memory 23 is also read, The comparison in the comparator 34 is performed. If the direction of the luminance read from the video memory 23 is large, writing to the video memory 23 is prohibited. Thus performing writes to video memory 23 for 6 pixels in the region 37c with (S 5).

【0014】アドレスTSELi を−1し、TSEL2とする
(S6 )。|ΔX|>|ΔY|か否かを調べ(S7 ),
|ΔX|>|ΔY|であれば、X+ΔX×8をXレジス
タ11に格納し(S8 ),|ΔX|>|ΔY|でなけれ
ばY+ΔY×8をYレジスタ12に格納する(S9 )。
i=0かをチェックし(S10),i=0でなければステ
ップS5 に戻り、領域37bについて同様にビデオメモ
リ23に対する書き込みを行い、更に領域37aについ
てのビデオメモリ23に対する書き込みが行われると、
i=0となり、通常のベクトル描画処理となる。通常の
ベクトル描画処理では、シフタ26,27はシフトする
ことなく、単に通過させる。
[0014] address TSELi a -1, and TSEL2 (S 6). It is checked whether or not | ΔX |> | ΔY | (S 7 ),
If | ΔX |> | ΔY |, X + ΔX × 8 is stored in the X register 11 (S 8 ). If | ΔX |> | ΔY |, Y + ΔY × 8 is stored in the Y register 12 (S 9 ). .
i = 0 or checked (S 10), returns to i = 0 unless step S 5, similarly writes to the video memory 23 for the area 37b, is written to the video memory 23 for further regions 37a When,
i = 0, and normal vector drawing processing is performed. In normal vector drawing processing, the shifters 26 and 27 simply pass through without shifting.

【0015】ベクトルが終点に達した時は、図4に示す
終端処理を行う。先ず、Xレジスタ11,Yレジスタ1
2の各内容X,Yを保持レジスタ28,29に格納し、
CPx ,CPy とする(S11),次に|ΔX|>|ΔY
|かをチェックし(S12),それであればX+ΔX×8
をXレジスタ11に格納し(S13),|ΔX|>|ΔY
|でなければY+ΔX×8をYレジスタ12に格納する
(S14)。次にアドレスTSELiのiを+1し、つまり、
それまではi=0であったから、TSEL1とし(S15),
その領域37aについてのビデオメモリ23への書き込
みを行う(S16)。この場合も、その各書き込みに先立
ちビデオメモリ23を読み出し、その読み出した輝度よ
り、輝度テーブル22から読み出した輝度が高い時のみ
書き込みを行う。次にアドレスTSELiがTSEL3となった
かがチェックされ(S17),i=3でない場合は、ステ
ップS12に戻る。このようにして丸め領域の各領域37
a,37b,37cについて順次ビデオメモリ23に対
する書き込みが行われる。i=3となると、保持レジス
タ28,29に保持されていた内容をそれぞれXレジス
タ11,Yレジスタ12に移す(S18)。従って、次の
ベクトルを連続して描画する場合は、終端処理の後に、
終端処理の前の点に戻り、これが始点とされる。
When the vector reaches the end point, the termination processing shown in FIG. 4 is performed. First, the X register 11 and the Y register 1
2 are stored in holding registers 28 and 29, respectively.
CPx, and CPy (S 11), then | ΔX |> | ΔY
| Is checked (S 12 ), and if so, X + ΔX × 8
Is stored in the X register 11 (S 13 ), and | ΔX |> | ΔY
If not |, Y + ΔX × 8 is stored in the Y register 12 (S 14 ). Next, i of the address TSELi is incremented by 1, that is,
Since Until was i = 0, and TSEL1 (S 15),
Writes to video memory 23 for that region 37a (S 16). Also in this case, the video memory 23 is read prior to each writing, and writing is performed only when the luminance read from the luminance table 22 is higher than the read luminance. Then address TSELi is checked whether a TSEL3 (S 17), if i = not 3, the process returns to step S 12. Thus, each area 37 of the rounding area
Writing to the video memory 23 is sequentially performed for a, 37b, and 37c. and it becomes i = 3, transfer the contents held in the holding register 28, 29 in the X register 11, Y register 12, respectively (S 18). Therefore, when drawing the next vector continuously, after the termination processing,
Return to the point before the termination processing, and this is set as the starting point.

【0016】以上のように処理されるから、|ΔX|>
|ΔY|の場合は、例えば図5Aに示すように始点
S ,Ys に対し、X方向に、この例では3画素分ベク
トル38と反対方向に移動された点から始端処理がさ
れ、ベクトル38の始端に丸み39が付けられる。この
始端処理の後、通常の処理によりベクトル38が形成さ
れ、その終点Xe ,Ye において終端処理がなされ、丸
み41が付けられる。|ΔX|>|ΔY|でない場合
は、例えば図5Bに示すように、ベクトル38の両端に
Y方向に突出した丸み39,41がそれぞれ付けられ
る。
Since processing is performed as described above, | ΔX |>
In the case of | ΔY |, for example, as shown in FIG. 5A, starting point processing is performed on the starting points X S and Y s from the point moved in the X direction, in this example, in the direction opposite to the vector 38 for three pixels. 38 is rounded at the beginning. After the start processing, the vector 38 is formed by the usual processing, and the end processing is performed at the end points Xe and Ye, and the roundness 41 is added. If | ΔX |> | ΔY | is not satisfied, for example, as shown in FIG. 5B, roundnesses 39 and 41 projecting in the Y direction are provided at both ends of the vector 38, respectively.

【0017】図6に示すように、Aのベクトル42の終
点X1 ,Y1 に対し、Bの始点1,Y1 のベクトル4
3を接続する場合は、ベクトル42の終端に丸み44が
付けられ、これに対し、ベクトル43の始点丸み45を
付けて接続する際に、前述したように先にビデオメモリ
23に記憶されている輝度より大きい輝度のみ書き込み
が行われるため、接続した状態において、Cに示すよう
に斜線を施した部分が、その比較書き込みとなり、丸み
44,45についての重なり部分の輝度は図の通りにな
る。従って、図8Aに示したベクトル図形について、こ
の発明を適用すると、図8Bに示すように、始点46,
終点47に丸みが生じ、かつ接続部48も丸みのある連
続性が得られ、画品質がよいものとなる。
As shown in FIG. 6, to the end point X 1, Y 1 vector 42 A, starting X 1, Y 1 vector 4 B
3 is connected, the end of the vector 42 is rounded. On the other hand, when the vector 43 is connected with the starting point rounded 45, it is stored in the video memory 23 first as described above. Since writing is performed only with a luminance higher than the luminance, a portion shaded as shown by C in the connected state is the comparison writing thereof, and the luminance of the overlapping portion of the roundnesses 44 and 45 is as shown in the figure. Therefore, when the present invention is applied to the vector graphic shown in FIG. 8A, as shown in FIG.
The end point 47 is rounded, and the connecting portion 48 also has rounded continuity, so that the image quality is good.

【0018】[0018]

【発明の効果】以上述べたように、この発明によればベ
クトルに線幅を付け、しかもベクトルの始点および終点
に丸みが付けられ、表示品質が向上する。特にベクトル
とベクトルの接続部に丸みが付き、表示品質が著しく向
上する。
As described above, according to the present invention, the line width is added to the vector, and the start point and the end point of the vector are rounded, so that the display quality is improved. In particular, the connection between the vectors is rounded, and the display quality is significantly improved.

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

【図1】この発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】Aはその輝度テーブル22の内容例と、B〜D
はその各領域の輝度分布を示す図である。
FIG. 2A shows an example of the contents of the luminance table 22 and B to D.
Is a diagram showing a luminance distribution of each region.

【図3】始端処理の動作例を示す流れ図。FIG. 3 is a flowchart illustrating an operation example of a start process.

【図4】終端処理の動作例を示す流れ図。FIG. 4 is a flowchart showing an operation example of termination processing.

【図5】この発明により発生されたベクトル例を示す
図。
FIG. 5 is a diagram showing an example of a vector generated according to the present invention.

【図6】二つのベクトルが接続される場合の動作を説明
するための図。
FIG. 6 is a diagram for explaining an operation when two vectors are connected.

【図7】従来のベクター発生装置を示すブロック図。FIG. 7 is a block diagram showing a conventional vector generator.

【図8】Aは従来装置により描画された複数の連続した
ベクトルを示す図、Bは対応ベクトルに対し、この発明
装置により描画された図である。
8A is a diagram showing a plurality of continuous vectors drawn by a conventional device, and FIG. 8B is a diagram drawn by a device of the present invention with respect to corresponding vectors.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 初期位置情報に対し、傾斜情報をそれぞ
れX成分、Y成分について累積加算し、 そのX成分およびY成分の各累積加算ごとに、その各累
積加算値の整数部をXアドレスカウンタおよびYアドレ
スカウンタにプリセットして、その両アドレスカウンタ
を線幅分画素クロックで歩進させ、短軸側(傾斜情報のX成分、Y成分の絶対値の小さい
軸)の上記各累積加算値の小数部 を選択し、その選択し
た小数部と上記画素クロックの計数値とにより輝度テー
ブルを読み出し、 上記画素クロックごとにより両アドレスカウンタの計数
値をアドレスとして、上記輝度テーブルから読み出しさ
れた輝度データをビデオメモリに書き込むベクター発生
装置において、 上記輝度テーブルは、上記線幅の各画素と対応した輝度
データを有し、線幅の中心が最高輝度、両端に近づくに
従って輝度が低下し、両端が最低輝度の通常領域と、 上記線幅の各画素と対応した輝度データをそれぞれ有
し、線幅の中心が最高輝度、両端に近づくに従って輝度
が低下し、両端が最低輝度の複数の領域からなり、上記
通常領域に対しこれと直角方向に順次並べると、その通
常領域から離れるに従って、対応画素の輝度がそれぞれ
低くなっている丸め領域とからなり、 上記輝度テーブルは発生ベクトルの端か否かに応じて領
域選択アドレスが与えられる、 ことを特徴とするベクター発生装置。
An inclination information is added to an initial position information for each of an X component and a Y component, and an integer part of each accumulated addition value is assigned to an X address counter for each of the X component and the Y component. And the Y address counter are preset, and both address counters are incremented by the pixel clock for the line width, and the short axis side (the absolute values of the X component and the Y component of the tilt information are small)
Axis), a decimal part of each of the cumulative addition values is selected, a luminance table is read out based on the selected decimal part and the count value of the pixel clock, and the count values of both address counters are used as an address for each pixel clock. In a vector generation device that writes luminance data read from a luminance table to a video memory, the luminance table has luminance data corresponding to each pixel of the line width, and the center of the line width has the highest luminance, as the line width approaches both ends. The brightness decreases, and both ends have a normal area with the lowest brightness and brightness data corresponding to each pixel of the above line width.
The center of the line width is the highest brightness, and the brightness becomes closer to both ends.
From but lowered, both ends of a plurality of regions of the lowest luminance, the sequentially arranged in this perpendicular direction against the above general area as the distance from the normal region, the rounding brightness of a corresponding pixel is lower respectively region Wherein the luminance table is given an area selection address according to whether or not it is the end of the generated vector.
【請求項2】 ベクトルの始点を線幅の半分だけX成分
またはY成分についてベクトルの反対方向にずらす手段
と、 ベクトルの終点を保持し、終点処理後に、その保持した
終点を次のベクトルの始点とする手段と、 その次のベクトルの始点処理において、上記ビデオメモ
リへの書き込みに先立ち、そのアドレスで上記ビデオメ
モリの読み出し、その読み出した輝度データが輝度テー
ブルより読み出した輝度データより大きいと、その時の
ビデオメモリへの書き込みを禁止する手段と、 を設けたことを特徴とする請求項1記載のベクター発生
装置。
2. A means for shifting the starting point of a vector by half the line width in the opposite direction of the vector for the X component or the Y component, holding the end point of the vector, and after processing the end point, sets the held end point to the starting point of the next vector. In the starting point processing of the next vector, before writing to the video memory, the video memory is read at the address, and if the read brightness data is larger than the brightness data read from the brightness table, 2. The vector generating apparatus according to claim 1, further comprising means for prohibiting writing to the video memory.
JP3346896A 1991-12-27 1991-12-27 Vector generator Expired - Fee Related JP2627112B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3346896A JP2627112B2 (en) 1991-12-27 1991-12-27 Vector generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3346896A JP2627112B2 (en) 1991-12-27 1991-12-27 Vector generator

Publications (2)

Publication Number Publication Date
JPH05181975A JPH05181975A (en) 1993-07-23
JP2627112B2 true JP2627112B2 (en) 1997-07-02

Family

ID=18386557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3346896A Expired - Fee Related JP2627112B2 (en) 1991-12-27 1991-12-27 Vector generator

Country Status (1)

Country Link
JP (1) JP2627112B2 (en)

Also Published As

Publication number Publication date
JPH05181975A (en) 1993-07-23

Similar Documents

Publication Publication Date Title
US6885377B2 (en) Image data output controller using double buffering
EP0199989B1 (en) Method and system for image processing
EP0827114B1 (en) Method and apparatus for texture data
US5592649A (en) RAM control method and apparatus for presetting RAM access modes
US6088037A (en) Rendering processor
KR100281949B1 (en) Video drawing device
JP2627112B2 (en) Vector generator
US5357601A (en) Apparatus for processing superimposed image information by designating sizes of superimposed and superimposing images
JP2006065869A (en) Image processing method for expanding image data for display by creating enlarged image from original image, image processing apparatus for expanding image data for display, and computer system for expanding image data for display
JPS5893095A (en) Memory address controller
JP4387611B2 (en) Drawing apparatus and drawing method
USRE33922E (en) Memory circuit for graphic images
US6002391A (en) Display control device and a method for controlling display
EP0814428A2 (en) A method and apparatus for transferring pixel data stored in a memory circuit
US4703230A (en) Raster operation circuit
JPH05324840A (en) High-resolution image processor
JP2820068B2 (en) Image data synthesis display device
JPS5848104B2 (en) Data conversion method
JP2938226B2 (en) Image scaling processor
JP3106246B2 (en) Image processing device
JPH0721395A (en) Address generator
KR0158483B1 (en) Selecting circuit for byte writing
JP3139805B2 (en) Image processing method and apparatus
JP2588758B2 (en) Image reduction apparatus and method
JP3247441B2 (en) Image processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970114

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees