JPS5855981A - Line smoothing system - Google Patents

Line smoothing system

Info

Publication number
JPS5855981A
JPS5855981A JP56154960A JP15496081A JPS5855981A JP S5855981 A JPS5855981 A JP S5855981A JP 56154960 A JP56154960 A JP 56154960A JP 15496081 A JP15496081 A JP 15496081A JP S5855981 A JPS5855981 A JP S5855981A
Authority
JP
Japan
Prior art keywords
brightness
information
straight line
generator
line
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
JP56154960A
Other languages
Japanese (ja)
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.)
SAIRATSUKU KK
Original Assignee
SAIRATSUKU KK
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 SAIRATSUKU KK filed Critical SAIRATSUKU KK
Priority to JP56154960A priority Critical patent/JPS5855981A/en
Publication of JPS5855981A publication Critical patent/JPS5855981A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 従来、ラスタースキャン型ディスプレイのラインスムー
ジング方式では、直線発生器(OD Aとも呼ぶ)の傾
き情報をベースとして、直線発生器から得られる座標点
の輝度を決定;シ、複数個の座標点にこれら輝度を所定
の明るさに配分して、滑らかな直線を作っていた。
DETAILED DESCRIPTION OF THE INVENTION Conventionally, in the line smoothing method of a raster scan type display, the brightness of a coordinate point obtained from a straight line generator (also called OD A) is determined based on the slope information of the straight line generator (also called OD A); A smooth straight line was created by distributing the luminance to a predetermined level to multiple coordinate points.

従来の方式では輝度情報は、直線発生器の示す座標点と
、その時点の直線の傾きおよび進行方向等の情報より得
てIlするた゛)、直線内の輝度配分は連続的であるが
、直線と直針との接続点では、前後の輝度情報を用いな
いため不連続な輝度となり、微小な直線で構成する自由
曲線等の表示では、輝度分布が不均一となり、ギザギザ
の曲線となっていた。
In the conventional method, brightness information is obtained from coordinate points indicated by a straight line generator and information such as the slope and direction of travel of the straight line at that point.The brightness distribution within the straight line is continuous; At the connection point between the line and the straight needle, brightness information before and after is not used, resulting in discontinuous brightness, and when displaying free curves made of minute straight lines, the brightness distribution becomes uneven, resulting in jagged curves. .

本発明は、直線発生器から得られる輝度情報を少なくと
も2段以上のレジスターをパイプライン構造に設けて、
これに直線発生器の歩進毎に順次記憶し、メモリーに惧
込もうとしている現在の輝度を、前段の輝度と、続く次
段の輝度情報とから決定するものである。この方法によ
り、ラスクー間で発生する段階点および直線と直線の接
続点の輝度の補間ができ、連続した滑らかな曲線を得る
The present invention provides luminance information obtained from a linear generator by providing at least two or more stages of registers in a pipeline structure.
This is sequentially stored for each step of the linear generator, and the current brightness to be stored in the memory is determined from the brightness information of the previous stage and the brightness information of the next stage. This method allows interpolation of the brightness of the step points occurring between the laskus and the connecting points of straight lines, resulting in a continuous smooth curve.

以下、本発明の詳細な説明を行う。The present invention will be described in detail below.

直線発生器から得られる輝度生成情報は、傾き情報、X
およびYカウンターの歩進情報、XおよμY軸の短軸長
軸情報、直線の進行方向等がある。
The brightness generation information obtained from the straight line generator is the slope information,
There is also step information of the Y counter, information on the short and long axes of the X and μY axes, and the direction of movement of the straight line.

直線発生器のカウンター歩進情報より、例えば輝度情報
を5レベルとし、1つの座標点を2ドツト用いて輝度分
配することにより、スムージングするものとすると、斜
めの線を構成するドツトは第1図に示すように輝度配分
を生成することができる。第1図では、輝度をθ〜4の
5レベルとし、X軸を長軸としている。輝度レベルの多
少により滑らかさは増減する。
Based on the counter step information of the straight line generator, if smoothing is performed by setting the brightness information to 5 levels and distributing the brightness using two dots per coordinate point, the dots that make up the diagonal line are as shown in Figure 1. The brightness distribution can be generated as shown in . In FIG. 1, the brightness is set to five levels from θ to 4, and the X axis is the long axis. The smoothness increases or decreases depending on the brightness level.

一方、第2図は、直線と直線の接続の場合のドツト列を
示し、実線円は前に計算した直線、破線円は現在および
次段計算のドツトである。この場合、直線の終点の輝度
は第2図(2a〜2c)の例に示すように、各種の組合
せが発生する。この値は、前記発生器の情報からは直線
発生器の精度上、予知できない。
On the other hand, FIG. 2 shows a row of dots in the case of connecting straight lines, where the solid circles are the previously calculated lines, and the broken circles are the dots of the current and next calculations. In this case, various combinations of brightness at the end points of the straight line occur, as shown in the example of FIG. 2 (2a to 2c). This value cannot be predicted from the information of the generator due to the accuracy of the linear generator.

この結果、破線円の輝度配分をどうするかは、後続の直
線がもつ始点時点でのカウンターの歩進情報を参照する
ことになる。
As a result, how to distribute the brightness of the broken line circle is determined by referring to the progress information of the counter at the starting point of the subsequent straight line.

この方法では、傾きが45度に近づく程、歩進情報の精
度はあいまいとなり、輝度の不連続性を発第3図は、曲
設および後段の輝度情報から現時点の輝度を決定した輝
度捕間図の例で、図38および図3bに示すように、終
点(@段)が同じ組合せであり、また後段が異なってい
ても、その間を補間する輝度を可変的に配分している。
In this method, as the inclination approaches 45 degrees, the accuracy of the step information becomes ambiguous, causing discontinuity in brightness. In the illustrated example, as shown in FIGS. 38 and 3b, even if the end points (@ stages) are in the same combination and the subsequent stages are different, the luminance for interpolation between them is variably distributed.

図3cは、後段情報から輝度を決定する。In FIG. 3c, brightness is determined from post-stage information.

第4図は、本発明に保る輝度発生方式のブロック図であ
る。
FIG. 4 is a block diagram of a luminance generation method according to the present invention.

直線発生器は、X軸およびY軸座標値を生成するカウン
ター3(a)および3(b)と、このカウンターを歩進
するための傾き情報の加算計算を行う小数点計算回路1
.11111度情報を生成するためのカウンター歩進回
路2で構成されている。歩進回路2の出力情報は、2段
のパイプラインレジスター5(a)および5(b)に、
前記カウンターが歩進する毎に逐次ロードされ、遅延し
ている。よって、歩進回路2、レジスター5(a)およ
び5(b)のそれぞれの情報はXおよびV座標値に、歩
進回路2の1段分の遅れをもたせれば、レジスター5(
a)の出力m報がカウンター3(a) 、3(b)の座
標点輝度とすることができ、過去、現在および次に続く
それぞれの輝度情報を得る。輝度計算回路4は、前記の
傾きおよび直線方向等の情報と、これら3つの輝度の組
合せ回路として構成することにより、予め定めた任意の
値が設定でき、不連続な点間輝度を補間することによっ
て、滑らかな直線を得ることができる。
The straight line generator includes counters 3 (a) and 3 (b) that generate X-axis and Y-axis coordinate values, and a decimal point calculation circuit 1 that performs addition calculation of slope information to advance the counters.
.. It is composed of a counter step circuit 2 for generating 11111 degree information. The output information of the step circuit 2 is sent to the two-stage pipeline registers 5(a) and 5(b).
Each time the counter increments, it is loaded sequentially and delayed. Therefore, if the respective information of step circuit 2 and registers 5(a) and 5(b) is delayed by one step of step circuit 2 to the X and V coordinate values, register 5(
The output m-information of a) can be the coordinate point brightness of counters 3(a) and 3(b), and past, present, and subsequent brightness information is obtained. By configuring the brightness calculation circuit 4 as a circuit combining information such as the above-mentioned inclination and linear direction, and these three brightnesses, any predetermined value can be set, and brightness between discontinuous points can be interpolated. This allows you to obtain smooth straight lines.

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

第1図は、直線を構成するドツト輝度配分第2図は、直
@接続点のドツト列 第3図は、輝度捕間図 第4図は、輝度発生方式のブロック図 1・直線発生器小数点計算回路 2・カウンター歩進情報発生回路 3(a)X軸カウンター (b) y軸カウンター 4、輝度計算回路 5(a)パイプラインレジスター (b)パイプラインレジスター ′1gJlノ 12m 射30 ■ #/17グ4# 射 Δ μ f府硫 #0
Figure 1 shows the brightness distribution of the dots that make up the straight line. Figure 2 shows the dot array of the direct connection points. Figure 3 shows the brightness interpolation diagram. Figure 4 shows the block diagram of the brightness generation system. Calculation circuit 2/Counter step information generation circuit 3 (a) X-axis counter (b) Y-axis counter 4, brightness calculation circuit 5 (a) Pipeline register (b) Pipeline register '1gJl-12m 30 ■ #/ 17g 4# Δ μ ffusu #0

Claims (1)

【特許請求の範囲】[Claims] ラスタースキャン型ディスプレイ装置において、複数本
のラスター上にそれぞれ輝度の異なる点前を表示し、直
線の階段状波形を滑らかな直線とするラインスムージン
グ方式に関し、直線発生器で計算される座標点、および
座標点輝度をメモリーに記憶する際、直線発生器より得
る輝度生成情報を少なくとも2段以上遅延する手段をも
ち、すでに記憶された前段および次に記憶する後段の輝
度生成情報とを用いて、前記座標点輝度を決定する、ラ
インスムージング方式。
In a raster scan type display device, regarding a line smoothing method that displays points with different brightness on multiple rasters and converts a straight step-like waveform into a smooth straight line, coordinate points calculated by a straight line generator, When storing the coordinate point brightness in the memory, it has means for delaying the brightness generation information obtained from the linear generator by at least two stages, and uses the previously stored brightness generation information and the subsequent brightness generation information to be stored next. A line smoothing method that determines coordinate point brightness.
JP56154960A 1981-09-30 1981-09-30 Line smoothing system Pending JPS5855981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56154960A JPS5855981A (en) 1981-09-30 1981-09-30 Line smoothing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56154960A JPS5855981A (en) 1981-09-30 1981-09-30 Line smoothing system

Publications (1)

Publication Number Publication Date
JPS5855981A true JPS5855981A (en) 1983-04-02

Family

ID=15595661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56154960A Pending JPS5855981A (en) 1981-09-30 1981-09-30 Line smoothing system

Country Status (1)

Country Link
JP (1) JPS5855981A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6098485A (en) * 1983-11-04 1985-06-01 カシオ計算機株式会社 Display unit
JPS6262391A (en) * 1985-09-13 1987-03-19 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション(番地なし) Improvement in image quality for crt display

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6098485A (en) * 1983-11-04 1985-06-01 カシオ計算機株式会社 Display unit
JPS6262391A (en) * 1985-09-13 1987-03-19 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション(番地なし) Improvement in image quality for crt display

Similar Documents

Publication Publication Date Title
US5214754A (en) Method and apparatus for approximating polygonal line to curve
JP2681486B2 (en) Contour line generator
JPH0927039A (en) Method and apparatus for computation of texel value for display of texture on object
JPS5855981A (en) Line smoothing system
US4819185A (en) Method and apparatus for drawing wide lines in a raster graphics display system
US4484189A (en) Memoryless artificial horizon generator
US3713134A (en) Digital stroke character generator
JPS59834B2 (en) Straight line generation circuit
JPS6329289B2 (en)
JP2538645B2 (en) Curved line approximation device
JPS615285A (en) Raster scan graphic display unit
JPS59188761A (en) Write system of picture memory
JPS582880A (en) Lattice point generator for graphic display
JP2699342B2 (en) Image conversion method
JPH0827842B2 (en) Polygonal vertex data tracking device in scanning display device
JPH0112309Y2 (en)
JPH06259570A (en) Shape expressing method
JPH0283787A (en) Segment pixel generating system
JPH02130689A (en) Graphic processor
JPH02127784A (en) Clipping system
EP0676721A2 (en) Styled vector generator
JPS6147986A (en) Painting pattern generation circuit
JPS63259777A (en) Linear display method and apparatus
JPH0213991A (en) Graphic display device
JPH02275591A (en) Graphic generator