Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6048757B2 - Color surface graphic display processing device - Google Patents
[go: Go Back, main page]

JPS6048757B2 - Color surface graphic display processing device - Google Patents

Color surface graphic display processing device

Info

Publication number
JPS6048757B2
JPS6048757B2 JP55155036A JP15503680A JPS6048757B2 JP S6048757 B2 JPS6048757 B2 JP S6048757B2 JP 55155036 A JP55155036 A JP 55155036A JP 15503680 A JP15503680 A JP 15503680A JP S6048757 B2 JPS6048757 B2 JP S6048757B2
Authority
JP
Japan
Prior art keywords
contour
line
address
data
register
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
Application number
JP55155036A
Other languages
Japanese (ja)
Other versions
JPS5778595A (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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP55155036A priority Critical patent/JPS6048757B2/en
Publication of JPS5778595A publication Critical patent/JPS5778595A/en
Publication of JPS6048757B2 publication Critical patent/JPS6048757B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は、カラー面図形表示処理装置、特にラスタ走
査図形表示装置に対し、色情報を含む輪郭線データを与
えて、面画像を表示させる装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a device for displaying a surface image by supplying outline data including color information to a color surface graphic display processing device, particularly a raster scanning graphic display device.

従来この種装置で第1図図示の三角形aを表示する場
合、輪郭線ををディジタルメモリ上に発生させ、ディジ
タルメモリ上の輪郭線データを読み出すタイミングでリ
フレッシュ信号をON/OFFして輪郭線を塗りつぶす
方法がとられていた。
Conventionally, when displaying the triangle a shown in FIG. 1 with this type of device, the contour line is generated on a digital memory, and a refresh signal is turned ON/OFF at the timing of reading out the contour line data on the digital memory to display the contour line. The method used was to fill it in.

したがつて輪郭線データは塗りつぶすときの走査方向に
対し偶数でなければならない。しカル一般的にはディジ
タルメモリ上に発生された輪郭線をの画素数nは塗りつ
ぶす方向に一定していないので、単純に輪郭線データの
間を塗りつぶす方法をとると、表示した画像が乱れた画
像cとなつてしまう欠点があつた。 また、色の変化点
だけを輪郭線データとしてもたせる方法がとられる場合
もあるが、図形の回転などの処理を行うと色の左右の関
係が崩れてしまい、全く異なつた画像になつてしまうと
いう欠点があつた。
Therefore, the contour data must be an even number with respect to the scanning direction when filling. In general, the number of pixels n of the contour line generated on the digital memory is not constant in the filling direction, so if you simply fill in between the contour data, the displayed image will be distorted. There was a drawback that the image turned into image c. In addition, there are cases where a method is used in which only the color change points are included as outline data, but if processing such as rotation of the figure is performed, the left-right relationship between the colors will be disrupted, resulting in a completely different image. There were flaws.

本発明は、これらの欠点を解決するため、輪郭線の左
右の色を同時に発生し、画面像が表示てきるようにした
もので、以下図面について詳細に説明する。
In order to solve these drawbacks, the present invention generates the left and right colors of the outline simultaneously so that a screen image can be displayed.The drawings will be described in detail below.

第2図は輪郭線の表わし方について説明する説ヨ開口
て、輪郭線を表わす線分の両端点と線分の発生方向の右
側と左側の色で表わす。
FIG. 2 begins with an explanation of how to represent a contour line, and the two end points of the line segment representing the contour line and the right and left sides of the line segment are represented by color.

なお線分は直線でも曲線でもよく、線分の座標値データ
でもよい。第2図において、線分Ab,bc,caは左
側にB)右側にRなる色情報を有している。第3図は本
発明の原理を説明する説明図で、表示すべきカラー図形
が第3図aに示すように背景は赤R)三角形は青Bてあ
るとする。
Note that the line segment may be a straight line or a curved line, or may be coordinate value data of the line segment. In FIG. 2, line segments Ab, bc, and ca have color information B on the left side and R on the right side. FIG. 3 is an explanatory diagram for explaining the principle of the present invention. As shown in FIG. 3a, the color figure to be displayed is assumed to have a red background (R) and a blue triangle (B).

背景は線分Ab,bc,cd,daで囲まれた図形であ
り、Ξ角形は線分Ef,fg,朋で囲まれた図形である
。第3図bは輪部線データの一例であつて輪部線の始点
から終点に向う方向に対する左右の色情報を与えた1も
のである。第3図cは本発明により線分を発生したとき
のディジタルメモリ上での画素の状態を示したもので、
Ξ角形を表わす線分D,fg,geを発生したときの状
態を示している。次に、輪部線を発生する手順について
説明する。
The background is a figure surrounded by line segments Ab, bc, cd, and da, and the Ξ-gon is a figure surrounded by line segments Ef, fg, and . FIG. 3b is an example of limbal line data, which gives left and right color information in the direction from the starting point to the ending point of the limbal line. Figure 3c shows the state of pixels on the digital memory when line segments are generated according to the present invention.
This shows the state when line segments D, fg, and ge representing a Ξ-gon are generated. Next, a procedure for generating limbal lines will be explained.

いま線分Efの始点を(Xe,ye)、終点を(X,,
yf)とし、(Xe,ye)から(Xf,yf)に向う
線分をディジタル的に発生する。この線分発生は、ディ
ジタル微分解析器(DDA:DigitalDiffe
rencialAnalizer)を用いて容易に実現
できる。ここで発生される線分の時刻tの格子座標を(
x、,Y,)とし、Iy,=y、−,−1ならば(x、
,y、)に左側の色、(X,f,,y,)に右側の色を
発生し、Iiy,=y、−,+1ならば(x、,y、)
に左側の色、(x、−,y、)に右側の色を発生し、I
iiy、=y、−,ならばディジタルメモリには何も発
生しない。
Now, the starting point of the line segment Ef is (Xe, ye), and the ending point is (X,,
yf), and a line segment from (Xe, ye) to (Xf, yf) is digitally generated. This line segment generation is performed using a digital differential analyzer (DDA).
This can be easily realized using the RencialAnalyzer). The grid coordinates of the line segment generated here at time t are (
x,,Y,), and if Iy,=y,−,−1, then (x,
,y,) and the right color at (X, f,,y,), and if Iiy,=y,−,+1, then (x,,y,)
The left color is generated at (x, −, y,), the right color is generated at (x, −, y,), and I
If iiiy,=y,-, nothing occurs in the digital memory.

このように輪部線を発生することにより、輪部線の左右
の色を同時に発生することがてきる。
By generating the limbal line in this manner, the colors on the left and right sides of the limbal line can be generated simultaneously.

また、線分Ab,bc,cd,daで表わされた外わく
は、外側の色情報は持たないが、ディジタルメモリ空間
外となるので、左側の色だけを発生するようにすればよ
い。また上記説明ではXアドレス,yアドレスをその都
度計算してディジタルメモリ.へ書き込むようにしてい
るが、すでに求められた輪部線アドレス情報のX,yア
ドレスを受けて、yアドレスについて1つ前の状態と比
較して変化があつたときのみディジタルメモリへ書き込
むようにしても良い。第4図はこのようにして発生した
輪部線データを面画像に表示するときの手順を示す説明
図で、第4図Iはクロック、第4図■はディジタルメモ
リ上の輪部線データ、第4図■はディジタルメモリから
の信号を論理和をとつて得られる信号、第4図■は第4
図■で得られた色情報を保持して第4図■のタイミング
まで連続して読み出し、このタイミングで同時に色情報
を更新して得られる面画像信号てあり、この面画像信号
をラスタ走査形の表示端末に出力すれば面画像が得られ
る。
Furthermore, although the outer frame represented by the line segments Ab, bc, cd, and da does not have outside color information, it is outside the digital memory space, so it is sufficient to generate only the colors on the left side. Also, in the above explanation, the X address and y address are calculated each time and stored in the digital memory. However, after receiving the X and y addresses of the limbal line address information that have already been obtained, it is written to the digital memory only when there is a change in the y address compared to the previous state. It's okay. Fig. 4 is an explanatory diagram showing the procedure for displaying the limbal line data generated in this way on a surface image, in which Fig. 4 I shows the clock, Fig. 4 ■ shows the limbal line data on the digital memory, Figure 4 ■ is a signal obtained by ORing the signals from the digital memory;
The color information obtained in Figure ■ is held and read out continuously until the timing shown in Figure 4 ■, and the color information is simultaneously updated at this timing to obtain a surface image signal, and this surface image signal is converted into raster scanning format. If you output it to a display terminal, you can obtain a surface image.

第5図はこれらを実現する装置の構成の一実施例を示し
たもので、図中1は最新のyアドレスを保持するレジス
タ、2は1つ前のyアドレスを保持するレジスタ、3は
レジスタ1とレジスタ2との差分を検出する比較器、4
はXアドレスを保持するレジスタ、5は加算器、6は書
込み回路、7は左側の色情報を保持するレジスタ、8は
右側の色情報を保持するレジスタ、9はディジタルメモ
リ、10は読出し回路、11はラスタ走査形表示装置で
ある。外部から受信したyアドレスはyアドレスレジス
タ1に保持される。
Figure 5 shows an example of the configuration of a device that realizes these. In the figure, 1 is a register that holds the latest y address, 2 is a register that holds the previous y address, and 3 is a register. a comparator for detecting the difference between register 1 and register 2;
is a register that holds the X address, 5 is an adder, 6 is a write circuit, 7 is a register that holds left side color information, 8 is a register that holds right side color information, 9 is a digital memory, 10 is a read circuit, 11 is a raster scanning type display device. The y address received from the outside is held in the y address register 1.

レジスタ2は次のyアドレスが入力された時点でレジス
タ1の内容を受信する。比較器3はレジスタ2とレジス
タ1との内容を比較しyアドレスの変化を検出して、負
であれば+1を正であれば−1を出力する。外部から受
信したXアドレスは、Xアドレスレジスタ4に保持され
る。加算器5は比較器3の出力を得て、一1または+1
の演算を行つて書込み回路6へXアドレスを出力する。
書込み回路6は最新のyアドレスを保持しているYアド
レスレジスタ1のYアドレスと、Xアドレスレジスタ4
のXアドレスと、加算器5からの出力(x+1)または
(x一1)のアドレスと色レジスタ7,8の色情報とを
得てディジタルメモリ9へ書き込む。読出し回路10は
ディジタルメモリ9をリフレッシュ読出しする回路でフ
リップフロップ回路から構成されていて、ディジタルメ
モリ9からの出力信号を論理和をとつてリセット信号と
する。ディジタルメモリから読出されたデータはリセッ
ト信号が入力されるまでディジタルメモリ9から得られ
る色情報を保持し、リセット信号が入力された毎に色情
報を更新する。このようにして得られた信号をラス多走
査形表示装置11に出力することにより面画像を表示す
る。以上説明したように、本発明によれば、輪部線デー
タを書き込む際に輪部線のyアドレスが変化したときの
み輪部線の左右の色を同時にデイジタルメモリ上に書き
込むようになつているので、輪部線を塗りつふして面画
像に変換するときの処理が非常に簡易化される。
Register 2 receives the contents of register 1 when the next y address is input. Comparator 3 compares the contents of register 2 and register 1, detects a change in the y address, and outputs +1 if it is negative and -1 if it is positive. The X address received from the outside is held in the X address register 4. Adder 5 obtains the output of comparator 3 and outputs -1 or +1.
It performs the calculation and outputs the X address to the write circuit 6.
The write circuit 6 writes the Y address of the Y address register 1, which holds the latest y address, and the X address register 4.
, the address of the output (x+1) or (x-1) from the adder 5, and the color information of the color registers 7 and 8 are obtained and written into the digital memory 9. The read circuit 10 is a circuit for refreshing and reading the digital memory 9, and is composed of a flip-flop circuit, and performs a logical sum on output signals from the digital memory 9 to generate a reset signal. The data read from the digital memory holds the color information obtained from the digital memory 9 until a reset signal is input, and the color information is updated every time the reset signal is input. A plane image is displayed by outputting the signal thus obtained to the lath multi-scanning display device 11. As explained above, according to the present invention, when writing limbal line data, only when the y address of the limbal line changes, the left and right colors of the limbal line are simultaneously written into the digital memory. Therefore, the process of filling out the limbal line and converting it into a surface image is greatly simplified.

また、面図形を回転する際には、線分の始点、終点に回
転の演算を施すだけて良いので短時間て画質の良い回転
図形が得られ、輪部線の左右の色情報を保持しているの
で図形の回転に際して左右の色の関係は崩れることがな
い利点がある。
In addition, when rotating a surface figure, you only need to perform rotation calculations on the starting and ending points of the line segment, so you can obtain a rotated figure with good image quality in a short time, and retain color information on the left and right sides of the limbal line. This has the advantage that the relationship between the left and right colors does not collapse when the figure is rotated.

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

第1図は従来の表示の態様を説明する説明図、第2図お
よび第3図は本発明の原理を説明する説明図、第4図は
面画像化するときの信号を説明する説明図、第5図は本
発明装置の一実施例を示す。 1はYアドレスレジスタ、2はYアドレスレジスタ、3
は比較器、4はXアドレスレジスタ、5は加算器、6は
書き込み回路、7は左側色レジスタ、8は右側色レジス
タ、9はディジタルメモリ、10は読出し回路、11は
ラスタ走査形表示装置。
FIG. 1 is an explanatory diagram for explaining the conventional display mode, FIGS. 2 and 3 are explanatory diagrams for explaining the principle of the present invention, and FIG. 4 is an explanatory diagram for explaining the signal when converting into a plane image. FIG. 5 shows an embodiment of the apparatus of the present invention. 1 is Y address register, 2 is Y address register, 3
4 is a comparator, 4 is an X address register, 5 is an adder, 6 is a write circuit, 7 is a left color register, 8 is a right color register, 9 is a digital memory, 10 is a read circuit, and 11 is a raster scanning type display device.

Claims (1)

【特許請求の範囲】[Claims] 1 表示画面に2次元的に対応するリフレッシュ用メモ
リを有する図形表示装置において、表示すべき画像の輪
郭線データを該リフレッシュ用メモリに書き込む際に、
該輪郭線データの書き込み位置に対応して、当該輪郭線
を境界として変化する2つの色情報を含む輪郭線データ
を書き込む手段と、該リフレッシュ用メモリを所定方向
に順次走査し、書き込まれた輪郭線データを検出してか
ら異なる輪郭線データが検出されるまで同じ色情報を連
続して発生させる手段とを有し、与えられた輪郭線デー
タから面画像を発生し表示することを特徴とするカラー
面図形表示処理装置。
1. In a graphic display device having a refresh memory that corresponds two-dimensionally to the display screen, when writing outline data of an image to be displayed into the refresh memory,
means for writing contour data including two color information that changes with the contour as a boundary corresponding to a writing position of the contour data; and means for sequentially scanning the refresh memory in a predetermined direction to read the written contour. and means for continuously generating the same color information after detecting line data until different contour data is detected, and generating and displaying a surface image from given contour data. Color surface graphic display processing device.
JP55155036A 1980-11-04 1980-11-04 Color surface graphic display processing device Expired JPS6048757B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55155036A JPS6048757B2 (en) 1980-11-04 1980-11-04 Color surface graphic display processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55155036A JPS6048757B2 (en) 1980-11-04 1980-11-04 Color surface graphic display processing device

Publications (2)

Publication Number Publication Date
JPS5778595A JPS5778595A (en) 1982-05-17
JPS6048757B2 true JPS6048757B2 (en) 1985-10-29

Family

ID=15597264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55155036A Expired JPS6048757B2 (en) 1980-11-04 1980-11-04 Color surface graphic display processing device

Country Status (1)

Country Link
JP (1) JPS6048757B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6155693A (en) * 1984-08-27 1986-03-20 横河電機株式会社 Color graphic processor

Also Published As

Publication number Publication date
JPS5778595A (en) 1982-05-17

Similar Documents

Publication Publication Date Title
KR900008399B1 (en) Image processing system
JPH0681275B2 (en) Image converter
JPH06100911B2 (en) Image data processing apparatus and method
JPS6048757B2 (en) Color surface graphic display processing device
JPS6113256B2 (en)
JP3354725B2 (en) Display device
JPS6155677B2 (en)
JP3327961B2 (en) Image processing device
JP2836617B2 (en) Rendering processor
JP2887122B2 (en) Image data processing apparatus and system using the same
JPS6362750B2 (en)
JP2656754B2 (en) Image data processing apparatus and system using the same
JPH041356B2 (en)
JPH07109549B2 (en) Graphic processor
JPS59142679A (en) Detecting circuit of projection distribution of picture
JP2551322B2 (en) Image reproduction method and apparatus
JPH023195B2 (en)
JPH07325927A (en) Image data processing device and system using the same
JPH05204588A (en) Cursor pattern display controller
JPH04186293A (en) image processing system
JPS63111584A (en) Image processing device
JPH07198825A (en) Interpolation apparatus of detection signal
JPH07109550B2 (en) Image data processing system
JPS6112316B2 (en)
JPS62184577A (en) display control circuit