JPS58163993A - Color image display system - Google Patents

Color image display system

Info

Publication number
JPS58163993A
JPS58163993A JP57046439A JP4643982A JPS58163993A JP S58163993 A JPS58163993 A JP S58163993A JP 57046439 A JP57046439 A JP 57046439A JP 4643982 A JP4643982 A JP 4643982A JP S58163993 A JPS58163993 A JP S58163993A
Authority
JP
Japan
Prior art keywords
pixel
color
code
reset
point
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
JP57046439A
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.)
Nippon Telegraph and Telephone Corp
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 JP57046439A priority Critical patent/JPS58163993A/en
Publication of JPS58163993A publication Critical patent/JPS58163993A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 本発明は、複数個の任意の形のカラー図形から構成され
るカラー画像を、高速にラスタ走査型の画像表示装置に
表示する方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for rapidly displaying a color image composed of a plurality of color graphics of arbitrary shapes on a raster scanning type image display device.

従来、任意の形のカラー図形をラスタ走査型の画像表示
装置に表示する方式においては、主に次のような2つの
方式がとられていた。すなわち、(1)  あらかじめ
、図形の右側かあるいは左側かを°定義した線図形要素
から輪郭線発生器により得られる画素列を画像メモリに
蓄え、これをラスタ走査と同期するように読み出し、画
像表示装置に色信号を送る方式、 (2)輪郭線発生器等により得られた輪郭線情報を画像
メモリに格納し、さらに前記輪郭線の内部の1点(始点
と呼ぶ)および色情報を指示することにより、該始点か
ら順次、その隣接点が内部の点であるかどうかを判断し
、もし内部の点であれば、該色情報を該画素に書きこむ
ことをくり返し、前記画像メモリ上に描かれた輪郭線内
を該色情報でぬりつぶしたのち、この画像メそりをラス
タ走査して読み出し、画像表示装置にカラー図形を表示
する方式、 の2方式が主たる方式であるが、前者(1)においては
、図形の回転などの座標変換に対しては、すてに定義さ
れている図形の右側あるいは左側に関する情報の再定義
をするために、複離な処理を必要とし、後者(2)にお
いては、各々の点が領域の内部であるか、どうかを判定
するために要する演算量に対し、領域の面積分を必要と
する、など、いずれの方式も演算処理量を多くする傾向
があり、計算機の負担が大きくなるという欠点があった
Conventionally, the following two methods have been mainly used for displaying color graphics of arbitrary shapes on a raster scanning type image display device. That is, (1) pixel rows obtained by a contour generator from a line figure element whose right side or left side of the figure is defined in advance are stored in an image memory, read out in synchronization with raster scanning, and displayed as an image. A method of sending color signals to the device. (2) Storing contour information obtained by a contour generator etc. in an image memory, and further specifying a point inside the contour (called a starting point) and color information. By sequentially starting from the starting point, it is determined whether the adjacent point is an internal point, and if it is an internal point, the color information is repeatedly written to the pixel, and the image is drawn on the image memory. There are two main methods: a method in which the inside of the contour line is filled in with the color information, and then this image mesori is raster scanned and read out to display a color figure on an image display device.The first method is (1). In the latter case (2), coordinate transformation such as rotation of a figure requires complex processing in order to redefine information regarding the right or left side of the figure that has already been defined. Both methods tend to require a large amount of calculation processing, such as requiring area integrals for the area compared to the amount of calculation required to determine whether each point is inside the area. The drawback was that it placed a heavy burden on the computer.

本発明の目的は、これらの欠点を解決するために、任意
に与えられた境界線情報および色情報に    )従っ
て、高速にカラー領域をラスタ走査型画像表示装置に表
示する方式を提供することにあり、本発明のカラー画像
表示方式においては、カラー領域を定義する閉曲線の座
標の発生の際に、発生画素が該カラー領域に対して右側
画素かあるいは左側画素であるかなどを、発生中の3点
のx、  3/座標(あるいはそれに相当する情報)の
みに基づいて判定し、これを符号で表わしく以下、セラ
) IJ上セツト号と呼ぶ)、色情報と合わせて画像メ
モリに格納することによって、境界線部分のみ書き込捷
れた画像メモリから画像表示装置に目的とするカラー領
域を表示することを特徴とする。
SUMMARY OF THE INVENTION In order to solve these drawbacks, an object of the present invention is to provide a method for rapidly displaying a color area on a raster scanning image display device according to arbitrarily given border information and color information. In the color image display method of the present invention, when generating the coordinates of a closed curve that defines a color area, it is possible to determine whether the generated pixel is on the right or left side of the color area. Judgment is made based only on the x, 3/ coordinates of the three points (or information equivalent thereto), which is represented by a code (hereinafter referred to as IJ set code) and stored in the image memory along with color information. By doing so, the target color area is displayed on the image display device from the image memory in which only the boundary line portion is written and truncated.

以下、図面を用いて本発明について詳しく説明する。第
1図は本発明の表示方式を説明するための、本表示方式
が適用される画像表示装置のブロック図の例であり、図
中1は線図形情報の発生、編集、変換を行なう中央処理
装置、2は線図形要素から輪郭線のx、y座標全発生す
る線分発生器、3は画素列のx、y座標からセラ) I
J上セツト号を求め、さらに色符号と合わせて色境界符
号に変換する符号化器、4は色境界符号を格納する画像
メモリ、5は色境界符号から色信号へ変換する復5− 号化器、6はラスタ走査型の画像表示装置(ディスプレ
イ)である。これを動作するには第2図に示すように、
線分発生器2は、中央処理装置1から閉曲線を形成する
線図形要素を受は取り、閉曲線の画素列のx、y座標を
符号化器3へ送る。符号化器3は、前記x、y座標から
まずセットリセット符号を求め、さらに色境界符号に変
換し、得られる色境界符号を画像メモリ4の該x、y座
標の画素に書きこむ。復号化器5は、画像メモリ4をラ
スタ走査して色境界符号を読み出し、ディスプレイ6の
ビームを偏向する色信号に変換し、目的とするカラー画
像をディスプレイ7に表示させる。
Hereinafter, the present invention will be explained in detail using the drawings. FIG. 1 is an example of a block diagram of an image display device to which this display method is applied, for explaining the display method of the present invention. 2 is a line segment generator that generates all the x and y coordinates of the contour line from the line graphic element; 3 is a line segment generator that generates all the x and y coordinates of the pixel column) I
An encoder that calculates the J set code and converts it into a color boundary code together with a color code; 4 is an image memory that stores the color boundary code; and 5 is a decoder that converts the color boundary code into a color signal. 6 is a raster scanning type image display device (display). To operate this, as shown in Figure 2,
The line segment generator 2 receives line graphic elements forming a closed curve from the central processing unit 1 and sends the x, y coordinates of the pixel string of the closed curve to the encoder 3. The encoder 3 first obtains a set/reset code from the x, y coordinates, converts it into a color boundary code, and writes the obtained color boundary code to the pixel at the x, y coordinates in the image memory 4. The decoder 5 raster-scans the image memory 4 to read out the color boundary code, converts it into a color signal that deflects the beam of the display 6, and displays the desired color image on the display 7.

第2図(aL (A)は本発明の表示方式における図形
の記述法を説明するための線分発生器2の入力となる線
図形要素の記述の例である。第2図(a)に示すように
、任意の図形Aは、図形Aを左(又は右、以下本説明で
は左とする)に見ながら図形Aをとり囲む(以下、左回
りと呼ぶ)閉曲線7で表わす。
FIG. 2 (a) is an example of the description of line graphic elements that are input to the line segment generator 2 to explain the graphic description method in the display method of the present invention. As shown, an arbitrary figure A is represented by a closed curve 7 that surrounds figure A (hereinafter referred to as counterclockwise rotation) while looking at figure A to the left (or right, hereinafter referred to as left in this description).

第2図(a)の例では図形Aは円弧PQ、線分QR1線
6一 分RPの3個の線図形要素で、左回りの閉曲線7を表わ
しており、第2図(h)の形式で記述することができる
。中央処理装置1は1画面分の全図形に対して、各図形
を第2図(h)の形式で記述して線分発生器2に送り、
各図形に対して左回りの閉曲線の画素列を発生させるよ
うにしておく。線分発生器2は画素列のx、y座標およ
び、該図形の色符号を符号化器3に送ればよい。従って
、従来より用いられている線分発生器をそのま1使用す
ることを妨げない。
In the example of Fig. 2(a), the figure A is composed of three line figure elements: an arc PQ, a line segment QR, a line 6, and a segment RP, and represents a counterclockwise closed curve 7, and the form shown in Fig. 2(h) is It can be written as The central processing unit 1 describes each figure in the format shown in FIG. 2(h) for all the figures for one screen, and sends it to the line segment generator 2.
A counterclockwise closed curved pixel array is generated for each figure. The line segment generator 2 only needs to send the x and y coordinates of the pixel row and the color code of the figure to the encoder 3. Therefore, the conventional line segment generator can be used as is.

第3図、第4図および第5図は、本発明の表示方式の中
で、符号化器3の動作を説明するための、セットリセッ
ト符号の判定を行う判定方式のフローチャートの例とそ
の説明図である。第3図において8は符号化器の出力と
なる実行部であり、第4図の9は第3図のフローチャー
トで使われる関数、flを定義するときに用いる画素S
の8近傍である。第3図において、Ro−R7はレジス
タで、x、y座標、あるいは方向コード、あるいはセッ
トリセット符号を格納するのに用いられ、f、、f2は
それぞれ、前記”t  y座標から前記方向コードを求
める4変数関数および、前記方向コードから前記セント
リセット符号を求める2変数関数であり、次のように定
義される。す々わち、flは連続する2画素(S、Tと
する)のx、y座標(R8゜、!’so rt、 3/
、とする)を変数とし、画素対STがいずれの方向を向
いているかを8近傍9の中の1つのコード(以下、ST
の方向コード、又は単に方向コードと呼ぶ)で割り当て
る関数である。第4図は、関数−f1’(xs、ys+
 x、、 3/l ) 全定義すル例ノ図であり、図中
、点Sに対して点Tが右横の場の方向コードをf、二N
、とし、以下反時計回りにf、 =N2.N3.・・・
・・・・・、R8と定義している。次に、f2は連続す
る3画素(それぞれU、V、Wとする)の中間の画素V
のセットリセット符号を判定する2変数関数で、該2変
数(2,,2,、とする)は、それぞれ、点Uと点Vの
x、y座標を変数とする関数、八(”+3+ ”/u+
 xvl 3’y )の値、すなわちUVの方向−1−
ド(z、とする)、および、点Vと点Wのx、y座標を
変数とする関数f2 C!v、 3/v、 %、 yw
)の値、すなわちVWの方向コード(R2とする)であ
る。
FIG. 3, FIG. 4, and FIG. 5 are flowchart examples and explanations of the determination method for determining the set-reset code in order to explain the operation of the encoder 3 in the display method of the present invention. It is a diagram. In FIG. 3, 8 is an execution unit that is the output of the encoder, and 9 in FIG. 4 is the pixel S used when defining the function fl used in the flowchart in FIG.
This is the 8th neighborhood of . In FIG. 3, Ro-R7 is a register used to store x, y coordinates, a direction code, or a set/reset code, and f, , f2 are used to store the direction code from the ``ty'' coordinates, respectively. A four-variable function to obtain and a two-variable function to obtain the cent reset code from the direction code, which are defined as follows.In other words, fl is x of two consecutive pixels (S, T). , y coordinate (R8°, !'sort, 3/
, ) is taken as a variable, and one code (hereinafter referred to as ST
This is a function assigned by the direction code (or simply called the direction code). Figure 4 shows the function -f1'(xs, ys+
x,, 3/l) This is an example diagram with all definitions, and in the diagram, the direction code of the field where point T is to the right of point S is f,
, and hereafter counterclockwise f, =N2. N3. ...
... is defined as R8. Next, f2 is the middle pixel V of three consecutive pixels (U, V, W, respectively)
A two-variable function that determines the set-reset sign of , where the two variables (2, , 2, , etc.) are a function whose variables are the x and y coordinates of points U and V, respectively, and 8 ("+3+ " /u+
xvl 3'y), that is, the UV direction -1-
(z), and a function f2 whose variables are the x and y coordinates of points V and W. v, 3/v, %, yw
), that is, the VW direction code (referred to as R2).

第5図は関数f2(zl、R2)を定義する図で、図に
おいてz、lZ2はそnぞれ第4図で与えられる方向コ
ードに対応し、図中のf2の値、M19M21M3゜M
4はそれぞれ M −1セツトIl   、  M 2IIリセツト1
】 M−”ポイント”、M4 −″スルー1を表わし、これ
らを総称してセットリセット符号と呼ぶ。
Fig. 5 is a diagram defining the function f2 (zl, R2), in which z and lZ2 correspond to the direction codes given in Fig. 4, respectively, and the value of f2 in the figure, M19M21M3゜M
4 are M-1 set Il and M2II reset 1, respectively.
] M-"point", M4-"represents through 1, and these are collectively called set-reset codes.

次に、第3図のフローチャートについて説明をする。オ
ず第1図に示すように、符号化器3の入力は左回りの閉
曲線の画素列(”1 + ’/1) + (”2.3’
2) *(、r3. R3) 、・・・・・・・・・(
”、、 yρ、(N個から構成されるとする)であるが
、本フローチャートではxl−xN。
Next, the flowchart shown in FIG. 3 will be explained. As shown in FIG.
2) *(, r3. R3) , ・・・・・・・・・(
",, yρ, (supposed to be composed of N pieces), but in this flowchart, xl-xN.

y、=yN、すなわち最初の画素と最後の画素が同じ座
標でおると仮定して記述しである。この仮定は画素列か
ら閉曲線が得られるならば、同様の結果を得るフローチ
ャートを排除しない。次に第3図に示すように、画素列
(z、y)、(r、y)、・・・・・・・・・Cx、y
’)に対してi番目のくり返しく2<j4N)9− においては (1)現在の点(z、y座標がR4,R5にある)から
次の点(x、’y座標が”i+  3/i)の方向コー
ドを求めR6に入れる、 (2)前の点から現在の点への方向コード(R3にはい
っている)とR6から現在の点のセットリセット符号を
求めR7に入れる、 (3)  現在点の座標、すなわちR4,R5の内容お
よび現在点のセットリセット符号、す々わちR7の内容
を画像メモリ4に送る、(又は符号化のデータとする) (4)  R6の内容をR3に入れる(現在点から次の
点への方向コードをR3に入れる) (5)  次の点の座標を現在点の座標とする( x、
をR4゜ylをR5に入nる) (6)  (])へ戻る の(1)〜(6)のステップで連続する3点の中間の点
の七ノドリセット符号を判定し画像メモリ4に送る。
The description is based on the assumption that y,=yN, that is, the first pixel and the last pixel have the same coordinates. This assumption does not preclude flowcharts that yield similar results, provided a closed curve is obtained from the pixel array. Next, as shown in FIG. 3, the pixel columns (z, y), (r, y), .
For the i-th iteration 2<j4N) 9- for /i) Find the direction code and put it in R6. (2) Find the direction code from the previous point to the current point (which is in R3) and the set reset code from R6 to the current point and put it in R7. 3) Send the coordinates of the current point, that is, the contents of R4 and R5, and the set/reset code of the current point, that is, the contents of R7, to the image memory 4 (or use them as encoded data) (4) Contents of R6 into R3 (enter the direction code from the current point to the next point into R3) (5) Set the coordinates of the next point as the coordinates of the current point (x,
Enter R4゜yl into R5) (6) Return to (]). In steps (1) to (6), determine the seven-point reset code of the middle point of the three consecutive points and store it in the image memory 4. send.

また1イ2、又はi > Nの場合は、初期化および後
処理を行なっている。なお、Roは画素列の110− 番目の点から2番目の点への方向コードの格納レジスタ
で、i=2のときに確定し、後処理で使われる。
In addition, in the case of 1-2 or i>N, initialization and post-processing are performed. Note that Ro is a storage register for the direction code from the 110th point to the 2nd point in the pixel column, which is determined when i=2 and is used in post-processing.

第6図は、本発明の表示方式において画像メモリ4に書
き込まれた色境界符号の例である。第6図では色境界符
号のうちのセットリセット符号の成分のみを図中の画素
に表記してあり、以下この図を用いてセントリセット符
号の役割を説明する。
FIG. 6 is an example of a color boundary code written in the image memory 4 in the display method of the present invention. In FIG. 6, only the set-reset code component of the color boundary code is shown in the pixels in the figure, and the role of the center-reset code will be explained below using this figure.

なお図中、10は閉領域を表わす。第6図に示すように
セットリセット符号がそれぞれ (1)M、、すなわち1セツト′1の場合はその画素を
含め右側に領域10があシ、 (2)M2、すなわチ11リセツ) IIの場合はその
画素を含め左側に領域10があり、 (3)M3、すなわち11ポイントIIの場合はその画
素が上又は下につき出た図形の凸形の頂点で、直圧およ
び直右に領域】0が々く、 (4)M4、すなわち+1スルー11の場合はその画素
の左および右に領域10がある ことを示すことができる。また、セットリセット符号は
、領域10を横方向のラン11の集合として見り場合、
11セットII、11スル−II 、II l) セラ
) 11はそれぞれ長さ2以上のランの始点、中間点、
終点を表わし、′Iポイント11は長さ1のランを表わ
している。従って、画像メモリ4の内容をラスク走査し
て読み出し、色境界符号があれば復号化してセントリセ
ット符号を求め、これを逐次記憶しておくことにより、
読み出し中の画素が、領域の内部であるか外部であるか
を、または該領域のラン上の点であるか否かを知ること
ができ、従来のぬりつぶし法を用いずに、カラー領域を
表示することができる。なお前述のようにセットリセッ
ト符号は4状態があるので情報量として2ビツト必要で
あるが、例として画像メモリ4の深さを8ピントとする
場合、8ビツト中2ビツトをセットリセット符号に、そ
の他の6ビツトを色符号に割り尚てるという単純な色境
界符号化を用いても、最大64色の色符号を割シ当てる
ことが可能である。   )さらに、ラスク走査の際の
記憶されたセットリセット符号の情報を利用すれば、セ
ラ) IJ上セツト号として+1セツト11、■リセッ
ト+1のみを用いても同様の結果を得ることは可能であ
り、この場合セットリセット符号のために必要とする情
報量は1ビツトで済む。即ち、ポイント画素に対しては
セットリセット符号として11リセツト1を割当てると
、画像メモリ4のラスク走査の際に、あるラン上で最初
に”リセット11を表わすセットリセット符号が読み出
されたとき、これをポイント画素と判定することができ
る。
Note that in the figure, 10 represents a closed area. As shown in FIG. 6, if the set/reset code is (1) M, i.e., 1 set '1, there is an area 10 on the right including that pixel, and (2) M2, i.e., 11 reset) II. In the case of , there is an area 10 on the left side including that pixel, and (3) In the case of M3, that is, 11 points II, the pixel is at the top or bottom of the convex vertex of the figure, and there is an area on the direct pressure and directly to the right. (4) In the case of M4, that is, +1 through 11, it can be shown that there are areas 10 on the left and right of the pixel. Furthermore, when viewing the area 10 as a set of runs 11 in the horizontal direction, the set-reset code is as follows:
11 set II, 11 through II, II l) Sera) 11 is the starting point, intermediate point, respectively of a run of length 2 or more,
The 'I point 11 represents a run of length 1. Therefore, by rask-scanning and reading out the contents of the image memory 4, decoding the color boundary code if there is one to obtain the cent reset code, and storing this sequentially,
It is possible to know whether the pixel being read out is inside or outside the region, or whether it is a point on a run of the region, and displays the color region without using traditional filling methods. can do. As mentioned above, the set-reset code has 4 states, so 2 bits are required as the amount of information. For example, if the depth of the image memory 4 is 8 pins, 2 bits out of 8 bits are used as the set-reset code, Even by using simple color boundary coding in which the other 6 bits are reassigned to color codes, it is possible to allocate color codes for up to 64 colors. )Furthermore, by using the information on the set-reset code stored during rask scanning, it is possible to obtain similar results by using only +1 set 11 and ■reset +1 as the set code on the IJ. In this case, the amount of information required for the set-reset code is only one bit. That is, when 11 reset 1 is assigned as a set reset code to a point pixel, when a set reset code representing "reset 11" is first read out on a certain run during rask scanning of the image memory 4, This can be determined to be a point pixel.

画像メモリ4に書かれた色境界符号からラスク走査型ノ
ディスプレイ6にリフレッシュ表示する場合には復号化
器5は次の動作をする。す々わち、復号化器5は画像メ
モリ4の内容をラスク走査して読み出し、該画素の内容
が空でないとき、該内容を色符号およびセラ) IJ上
セツト号に分離し、該色符号に従った色信号をディスプ
レイ6への色信号送出部のレジスタ等に書き込み又は消
去する。
When the color boundary code written in the image memory 4 is to be refreshed and displayed on the rask scanning type display 6, the decoder 5 performs the following operations. That is, the decoder 5 scans and reads the contents of the image memory 4, and when the contents of the pixel are not empty, separates the contents into a color code and a set code. A color signal according to the above is written or erased in a register or the like of a color signal sending section to the display 6.

この書き込み、消去の制御は分離されたセットリセット
符号に従って次のように行われる。
This writing and erasing control is performed in the following manner according to separate set/reset codes.

13− セットリセット符号     色信号レジスタ制御++
セット…  −書き込み +1  リセラトガ  −1画素分時間経過後消去1ポ
イント” −書き込み、さらに1画素分時間後消去”ス
ルー”   −書き込み、消去は行々わ々い捷だ該画素
の内容が空の場合も上記1′スルーiと同じである。こ
のようにした場合、画像メモリ4のラスク走査信号と、
ディスプレイ6のラスク走査信号の間の同期をとり、復
号化器5から送られる色信号に従ってディスプレイ6の
ヒームヲ偏向することにより、該カラー領域を与える色
境界符号からカラー画像を表示することが可能となる。
13- Set/reset code Color signal register control++
Set... - Write +1 Receratoga - Erase 1 point after 1 pixel time - Write and erase after 1 pixel time "Through" - Writing and erasing are slow and slow If the content of the pixel is empty is the same as 1' through i above. In this case, the rask scanning signal of the image memory 4 and
By synchronizing the rask scanning signals of the display 6 and deflecting the beam of the display 6 according to the color signal sent from the decoder 5, it is possible to display a color image from the color boundary code that provides the color area. Become.

以上のように、本発明においては、与えられた線図形要
素から得られる画素列に従って、セットリセット符号と
呼ぶ図形の縦方向境界の状態を表わす符号を求め色符号
と共に画像メモリに書き込み、書かれた色境界符号から
カラー領域を画像表示装置に表示する方法をとる。従っ
て、本発明の方法においては、与えられた線図形要素に
対して、座標変換による回転、移動、拡大、縮少を行っ
た14− ものを中央処理装置1の出力とすることにより、この座
標変換と独立に、七ノドリセット符号の判定、画像メモ
リへの書き込み、読み出し、表示が可能である。従って
本発明の方法に依れば、例えばコンピュータアニメーシ
ョンのような複数個のカラー領域に動的変換を行いなが
ら表示することが、はぼ実時間で可能となり有効である
As described above, in the present invention, a code representing the state of the vertical boundary of a figure, called a set-reset code, is obtained according to a pixel column obtained from a given line figure element, and is written into the image memory together with a color code. A method is adopted in which a color area is displayed on an image display device from a color boundary code. Therefore, in the method of the present invention, the output of the central processing unit 1 is obtained by rotating, moving, enlarging, and reducing a given linear graphic element by coordinate transformation. Independently from conversion, it is possible to determine the seven-point reset code, write to, read from, and display the image memory. Therefore, according to the method of the present invention, it is possible to dynamically transform and display a plurality of color areas, such as computer animation, in almost real time, which is effective.

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

第1図は、本発明の表示方法を実現する装置のブロック
図の例、第2図(a) 、 (h)は領域の記述法の説
明図、第3図〜第5図はセラ) IJ上セツト号を求め
る実施例とその説明図で、第3図はセットリセット符号
を求めるフローチャート、第4図は方向フードの説明図
、第5図は方向コードとセットリセット符号との関係を
示す図である。第6図は、実際に得られるセットリセッ
ト符号の例である。 1 ・・・・・・・・・中央処理装置、 2・・・・・
・・・・線分発生器、3・・・・・・・・符号化器、 
4・・・・・・・・・画像メモリ、5・・・°・・・・
・復号化器、 6・・・・・・・・・ (ラスク走査型
)ディスプレイ、 7 ・・・・・・・・・図形Aの境
界線、8・・・・・・・・出力値を表わす実行部、 9
・・・・・・・・・点Sの8近傍、 10・・・・・・
・・・閉領域、 11・・・・・・・・・ラン。 第3図 揃畿豫1籠〃゛j (xI y+1 (・−−−−(XN   )i霞0 ilI 1ll YES  + > N ES 、、  YES      ”’ fl (Rn、 R5t xl+ yl)      
fl(F?4+R5+ xI v Yi’目伺つ一ト 
tギめる] f2(R3+ R61Ro  Rs E毛!トリゼブト后うt R4、R5,R7’I 3−R6 R4←xl R5←yI R@−R。 第4図 第5図
FIG. 1 is an example of a block diagram of a device that implements the display method of the present invention, FIGS. 2(a) and (h) are explanatory diagrams of the area description method, and FIGS. An example of calculating the upper set code and an explanatory diagram thereof, FIG. 3 is a flowchart for calculating the set/reset code, FIG. 4 is an explanatory diagram of the direction hood, and FIG. 5 is a diagram showing the relationship between the direction code and the set/reset code. It is. FIG. 6 is an example of a set-reset code that is actually obtained. 1...Central processing unit, 2...
... Line segment generator, 3 ... Encoder,
4... Image memory, 5...°...
・Decoder, 6...... (Rask scanning type) display, 7......Boundary line of figure A, 8......Output value an execution unit representing 9;
...... 8 neighborhoods of point S, 10...
...Closed region, 11......Run. Figure 3 Completed 1 basket〃゛j (xI y+1 (・----(XN) i Kasumi 0 ilI 1ll YES + > NES,, YES ”' fl (Rn, R5t xl+ yl)
fl(F?4+R5+ xI v Yi'
f2 (R3+ R61Ro Rs E hair! Torizebutu t R4, R5, R7'I 3-R6 R4←xl R5←yI R@-R. Figure 4 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)  内側が任意の色調で塗りつぶされた複数個の
カラー領域から形成されるカラー画像を画素型画像メモ
リを用いて、ラスク走査型の画像表示装置に表示するカ
ラー画像表示方式において、前記カラー領域の輪郭部を
形成する色境界線をあらかじめ直線や円弧などの線図形
要素(以下色境界線情報と呼ぶ)で記述しておき、該色
境界線情報から前記色境界線を形成する画素列を発生す
る第1の手段と。 ラスク走査方向を右側と呼ぶことにしたとき、該画素列
の各画素が前記カラー領域の左側に位置する画素(以下
、セット画素と呼ぶ)であるか、右側に位置する画素(
以下、す、セット画素と呼ぶ)であるか、上下方向の突
頂点に位置する画素(以下、ポイント画素と呼ぶ)であ
るか、あるいはそれら以外の画素であるかを判定する第
2の手段と、少くとも前記セント画素、リセット画素お
よびポイント画素に対して、前記第2の手段により判定
した画素の種類を表わす符号(以下、七)) IJ上セ
ツト号と呼ぶ)と、前記カラー領域の色を表わす色符号
とを合成した符号(以下、色境界符号と呼ぶ)を割り当
て、該色境界符号を前記画素型画像メモリに格納する第
3の手段と、 該画素型画像メモリをラスク走査し、前記色境界符号を
読み出し、該色境界符号を前記セントリセット符号と、
前記色符号とに分離し、かつ該セソ) IJ上セツト号
から画素の種類を判読する第4の手段と、 前記第4の手段におけるラスク走査に同期して、該セッ
ト画素からり七ソト画素までの間の画素位置、およびポ
イント画素位置に対して、前記第4の手段で得られた色
符号で表わされた色信号に変換する第5の手段 を備えだことを特徴とするカラー画像表示方式。
(1) In a color image display method in which a color image formed from a plurality of color areas whose insides are filled with an arbitrary color tone is displayed on a rask scanning type image display device using a pixel type image memory, the color The color boundary line that forms the outline of the area is described in advance using line graphic elements such as straight lines and circular arcs (hereinafter referred to as color boundary line information), and the pixel sequence that forms the color boundary line is determined from the color boundary line information. and a first means for generating. When the rask scanning direction is called the right side, each pixel in the pixel column is either a pixel located on the left side of the color area (hereinafter referred to as a set pixel) or a pixel located on the right side (
A second means for determining whether the pixel is a pixel (hereinafter referred to as a set pixel), a pixel located at a salient vertex in the vertical direction (hereinafter referred to as a point pixel), or a pixel other than these. , a code representing the type of pixel determined by the second means (hereinafter referred to as IJ set number) for at least the cent pixel, reset pixel, and point pixel, and the color of the color area. a third means for allocating a code (hereinafter referred to as a color boundary code) that is a composite of a color code representing the color boundary code and storing the color boundary code in the pixel-type image memory; reading the color boundary code and combining the color boundary code with the cent reset code;
a fourth means for separating the color code from the set pixel and reading the type of pixel from the set pixel in the IJ; A color image characterized by comprising a fifth means for converting pixel positions up to and point pixel positions into color signals expressed by the color code obtained by the fourth means. Display method.
(2)  前記第3の手段における七ノドリセット符号
として、セット符号とリセット符号の2状態の符号を用
い、セント画素に対し七ノ1符号を割当て、リセット画
素に対してリセット符号を割当て、ポイント画素に対し
てリセット符号を割当てたことを特徴とする特許請求の
範囲第(1)項記載のカラー画像表示方式。
(2) As the seven-point reset code in the third means, a two-state code of a set code and a reset code is used, a seven-point code is assigned to the cent pixel, a reset code is assigned to the reset pixel, and the point A color image display system according to claim 1, characterized in that a reset code is assigned to each pixel.
JP57046439A 1982-03-25 1982-03-25 Color image display system Pending JPS58163993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57046439A JPS58163993A (en) 1982-03-25 1982-03-25 Color image display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57046439A JPS58163993A (en) 1982-03-25 1982-03-25 Color image display system

Publications (1)

Publication Number Publication Date
JPS58163993A true JPS58163993A (en) 1983-09-28

Family

ID=12747190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57046439A Pending JPS58163993A (en) 1982-03-25 1982-03-25 Color image display system

Country Status (1)

Country Link
JP (1) JPS58163993A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61265981A (en) * 1985-05-20 1986-11-25 Sony Corp Animation generator
JPS62174791A (en) * 1986-05-29 1987-07-31 株式会社 アスキ− Display unit
JPS62296192A (en) * 1986-06-17 1987-12-23 株式会社 アスキ− Display unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61265981A (en) * 1985-05-20 1986-11-25 Sony Corp Animation generator
JPS62174791A (en) * 1986-05-29 1987-07-31 株式会社 アスキ− Display unit
JPS62296192A (en) * 1986-06-17 1987-12-23 株式会社 アスキ− Display unit

Similar Documents

Publication Publication Date Title
US4189743A (en) Apparatus and method for automatic coloration and/or shading of images
US4609917A (en) Three-dimensional display system
US4189744A (en) Apparatus for generating signals representing operator-selected portions of a scene
JPS6158083A (en) Fast memory system, data processing method and memory segment
JPS61500691A (en) a device that electronically moves parts of several different images on a CRT screen
JPH0154752B2 (en)
JPH04287292A (en) Method and device for rendering trimmed parametric surface
JPH0322188A (en) Method of changing graphic image into raster and expressing said image
JP5172640B2 (en) Vector drawing equipment
JPS58163993A (en) Color image display system
JPS634380A (en) Computer graphic processor
JPH0562348B2 (en)
JP5159949B2 (en) Vector drawing equipment
JPH09171564A (en) Plotting device
US6124863A (en) Object-based graphics system for displaying an image using explicit quadratic polynomial fragments
JP2006072834A (en) Image formation apparatus and method
JP2776793B2 (en) Image display method and display device thereof
JP2698170B2 (en) Closed area fill display method
WO2021245875A1 (en) Image compositing device and image compositing method
JP2782904B2 (en) Polygon fill method
JPH0431399B2 (en)
JPS5960484A (en) Display control system
RU2109350C1 (en) Graphic data display
JP2551322B2 (en) Image reproduction method and apparatus
JPH0668272A (en) Pseudo three-dimensional image synthetic device