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
JP2896149B2 - Computer graphics processing system - Google Patents
[go: Go Back, main page]

JP2896149B2 - Computer graphics processing system - Google Patents

Computer graphics processing system

Info

Publication number
JP2896149B2
JP2896149B2 JP63286761A JP28676188A JP2896149B2 JP 2896149 B2 JP2896149 B2 JP 2896149B2 JP 63286761 A JP63286761 A JP 63286761A JP 28676188 A JP28676188 A JP 28676188A JP 2896149 B2 JP2896149 B2 JP 2896149B2
Authority
JP
Japan
Prior art keywords
color
pixel
dots
information
pixels
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 - Lifetime
Application number
JP63286761A
Other languages
Japanese (ja)
Other versions
JPH02134684A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63286761A priority Critical patent/JP2896149B2/en
Publication of JPH02134684A publication Critical patent/JPH02134684A/en
Application granted granted Critical
Publication of JP2896149B2 publication Critical patent/JP2896149B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、CRTディスプレイを使用したカラー表示装
置を有するパーソナルコンピュータによって図形処理を
実施するコンピュータ図形処理システムに関する。
The present invention relates to a computer graphic processing system for performing graphic processing by a personal computer having a color display device using a CRT display.

(従来の技術) 近年、パーソナルコンピュータによる図形処理システ
ム(以下、CADシステムと呼ぶ)が普及するにつれ、作
図、図形編集といった図形処理の能力自体の向上に加
え、より高精細な表示機能、豊富なカラー表現による図
形の認識し易さなど、実用性の向上が要求されている。
(Prior Art) In recent years, with the spread of graphic processing systems using personal computers (hereinafter referred to as CAD systems), in addition to the improvement of graphic processing capabilities such as drawing and graphic editing, more sophisticated display functions and rich There is a demand for improved practicality, such as ease of recognizing figures by color expression.

パーソナルコンピュータによるCADシステムは、ミニ
コンクラスのコンピュータを使用したCADシステムに比
し、安価であることが大きな特徴となっている。このよ
うな安価を実現するためには、装備するカラーCRTディ
スプレイとして、3原色の組合せで8色乃至16色表示す
るといった安価なタイプのディスプレイを使用すること
が一般的である。このようなカラーCRTディスプレイに
おいては、通常1ドット毎に、赤(R)、緑(G)、青
(B)の3原色のうち、いずれか1色、またはこれらの
うちのいずれか2色または3色を組合せた色を表示でき
る。第8図は、これらの色の組合せと、それにより表現
される色の関係を示す図である。図中1は青色、2は緑
色、4は赤色を示す。この場合、青色1と緑色2との組
合せはシアン色3(=1+2)、青色1と赤色4との組
合せは紫色5(=1+4)、緑色2と赤色4との組合せ
は黄色6(=2+4)にそれぞれ発色し、青色1、緑色
2、赤色4の3原色全てを組合せると白色7(=1+2
+4)に発色する。即ち、第1図においては、使用する
3原色1,2,4の色番号を加算した番号が、組合せによっ
て発色する色番号3,5,6,7となっている。また、この7
色に加えて黒色を表示できるため、計8色の発色が可能
となる。通常、RGB3原色を有するCRTディスプレイで
は、以上のような8色以外の中間色を1ドットで表示さ
せることや、1ドット毎に明るさを変えることはできな
い。従って、このようなカラーCRTディスプレイを使用
したCADシステムにおいて、図形を高詳細に表示した
り、特に、色の種類、色の濃淡などを表現するには、ハ
ード的に大きな制約があった。
A major feature of a CAD system using a personal computer is that it is less expensive than a CAD system using a minicomputer class computer. In order to realize such inexpensiveness, it is common to use an inexpensive type display such as displaying 8 to 16 colors by combining three primary colors as a color CRT display to be equipped. In such a color CRT display, usually, for each dot, one of three primary colors of red (R), green (G), and blue (B), or any two of these, or A combination of three colors can be displayed. FIG. 8 is a diagram showing the relationship between the combination of these colors and the colors expressed thereby. In the figure, 1 indicates blue, 2 indicates green, and 4 indicates red. In this case, the combination of blue 1 and green 2 is cyan 3 (= 1 + 2), the combination of blue 1 and red 4 is purple 5 (= 1 + 4), and the combination of green 2 and red 4 is yellow 6 (= 2 + 4). ), And all three primary colors of blue 1, green 2, and red 4 are combined to form white 7 (= 1 + 2).
+4). That is, in FIG. 1, the numbers obtained by adding the color numbers of the three primary colors 1, 2, and 4 to be used are the color numbers 3, 5, 6, and 7 that are generated by the combination. Also, this 7
Since black can be displayed in addition to color, a total of eight colors can be generated. Normally, in a CRT display having three primary colors of RGB, it is impossible to display the above-described intermediate colors other than the eight colors by one dot, and to change the brightness for each dot. Therefore, in a CAD system using such a color CRT display, there is a great limitation in terms of hardware for displaying a figure in high detail and for expressing a kind of a color, a shade of a color, and the like.

一方、CAD用ソフトウェアの表示機能は、直線、円弧
図形など、線画による表示を主たる手段としており、こ
れらの図形情報を保持するデータベースも、線画図形の
座標値・角度などといった幾何学情報を効率的に取扱う
ことを主目的として設計されている。このため、任意の
大きさの線画図形を拡大・縮小表示する処理が可能であ
る反面、カラー画像情報を保存したり、表示するなどの
ペイント(色塗り)機能に劣っている。
On the other hand, the display function of CAD software is mainly used for displaying line drawings such as straight lines and arc shapes, and the database that holds these graphic information is also able to efficiently convert geometric information such as coordinate values and angles of line drawing figures. It is designed primarily for handling. For this reason, it is possible to perform processing for enlarging / reducing a line drawing figure having an arbitrary size, but it is inferior in a paint (color coating) function for storing and displaying color image information.

他方、画像編集ソフトウェアの表示機能は、ドット単
位に色を発生させるペイント機能を主体としており、カ
ラー画像を保存するのに、通常一画分の画像データをCR
Tディスプレイ表示用メモリの状態として保存するよう
に設計されている。この場合、表示メモリの状態は、コ
ンピュータの機種毎に異なるため、一つの画像データを
異なるコンピュータで使用することはできない。
On the other hand, the display function of image editing software mainly consists of a paint function that generates colors in dot units.
It is designed to save the state of the T display display memory. In this case, since the state of the display memory differs for each computer model, one image data cannot be used by different computers.

従って、従来のパーソナルコンピュータによるCADシ
ステムにおいては、カラー画像情報を線画情報と共に保
持し、これらのデータを部分的に拡大・縮小表示するな
どして編集を行うことは困難であった。
Therefore, in a conventional CAD system using a personal computer, it has been difficult to hold color image information together with line drawing information and to edit such data by partially enlarging or reducing the data.

(発明が解決しようとする課題) 本発明は、上記のような従来技術の課題を解決するた
めに提案されたものであり、その第1の目的は、本来ハ
ード的にはサポートされていない色(以下中間色と呼
ぶ)を表示可能で、しかも簡略な構成の安価なカラー表
示装置を実現することにより、図形を高精細に表示した
り、特に、色の種類、色の濃淡などを表現できるよう
な、実用性の高い、低価格のコンピュータ図形処理シス
テムを提供することである。
(Problems to be Solved by the Invention) The present invention has been proposed to solve the above-mentioned problems of the prior art, and a first object of the present invention is to provide a color which is not originally supported in hardware. By realizing an inexpensive color display device that can display (hereinafter, referred to as an intermediate color) and has a simple configuration, graphics can be displayed with high definition, and in particular, the types of colors and the shading of colors can be expressed. Another object of the present invention is to provide a computer graphic processing system which is highly practical and inexpensive.

さらに、第2の目的は、色の組合せ、表示位置、表示
範囲などのカラー画像情報を線画情報と共にデータベー
スに保存し、線画情報と共にデータベースに保存し、両
方の情報による図形処理を同時に行えるようなコンピュ
ータ図形処理システムを提供することである。
A second object is to store color image information such as color combinations, display positions, and display ranges in a database together with line drawing information, and to store them in a database together with line drawing information so that graphic processing using both information can be performed simultaneously. A computer graphics processing system is provided.

[発明の構成] (課題を解決するための手段) 本発明は、CRTディスプレイ上の複数個のドットを一
つの画素とし、複数の画素から成るペイント単位によっ
て表示されるカラー画像と、線画とを、CRTディスプレ
イ上に表示するコンピュータ図形処理システムにおい
て、 前記各画素の発色を決定する画素の発色情報を、各画
素内のドットの発色と、各発色のドット数とによって表
示し、 ペイント単位の情報を、前記画素の発色情報と、ペイ
ント単位の形状と、ペイント単位の位置及びサイズの情
報とによって表示し、 線画情報を、線分の位置、フォント及びカラーのデー
タによって表示し、 前記ピクセルの発色情報、ペイント単位の情報及び線
画情報をデータベースに保存する手段とを備えたことを
特徴とする。
[Constitution of the Invention] (Means for Solving the Problems) The present invention regards a plurality of dots on a CRT display as one pixel, and a color image and a line image displayed by a paint unit composed of a plurality of pixels. In a computer graphic processing system for displaying on a CRT display, the color information of a pixel that determines the color of each pixel is displayed by the color of the dots in each pixel and the number of dots of each color, and information of a paint unit is displayed. Is displayed by the color information of the pixel, the shape of the paint unit, and the information on the position and size of the paint unit. The line drawing information is displayed by the data of the position, font and color of the line segment. Means for storing information, information of a paint unit, and line drawing information in a database.

(作用) 以上のような構成を有する本発明においては、まず、
各画素内のドットの色及び各発色のドット数を選択する
ことによって、一つの画素の色を、中間色に発色するこ
とができる。即ち、このように各ドットの発色及び各発
色のドット数を選択した場合、一つの画素の中で、各色
の色素を一定の割合でまぜ合せる混色作用を得られる。
なお、一つの画素は、ディスプレイ上で充分小さくする
ことにより、人間の視覚に対して1個の点のように見せ
ることができる。
(Operation) In the present invention having the above configuration, first,
By selecting the color of the dots in each pixel and the number of dots of each color, the color of one pixel can be developed to an intermediate color. That is, when the color of each dot and the number of dots of each color are selected in this way, a color mixing effect of mixing the dyes of each color at a fixed ratio in one pixel can be obtained.
Note that one pixel can be made to look like a single point to human vision by making it sufficiently small on the display.

また、カラー画像を構成する各画素の発色と表示範囲
を選択することにより、ディスプレイ上のカラー画像の
大きさ、形状を自由に決定できる。
Further, the size and shape of the color image on the display can be freely determined by selecting the coloring and the display range of each pixel constituting the color image.

さらに、カラー画像の位置(座標)は、線画情報にお
いて、例えば、直線を(始点,終点)の座標値で表現す
るのと同様に画素の位置を座標系で表現すればよい。
Furthermore, the position (coordinates) of the color image may be expressed by a coordinate system in the line drawing information, for example, in the same manner as expressing a straight line by the coordinate values of (start point, end point).

即ち、本発明においては、カラー画像を構成する各画
素の発色、位置、及び表示範囲のデータによるカラー画
像情報を、線画情報と共にデータベースに収納できるた
め、線画図形と共にカラー画像を表示できる。また、他
の線画情報との相対的な位置も保存される。
That is, in the present invention, since the color image information based on the data of the color development, position, and display range of each pixel constituting the color image can be stored in the database together with the line drawing information, the color image can be displayed together with the line drawing figure. Further, the position relative to other line drawing information is also stored.

(実施例) 以下に、本発明によるコンピュータ図形処理システム
の一実施例を図面を参照して具体的に説明する。なお、
本実施例においては、第8図に示したような、1ドット
毎に3原色のいずれかまたはこれを組合せた色を表示す
るタイプのカラーCRTディスプレイを使用するものとす
る。
(Embodiment) An embodiment of a computer graphic processing system according to the present invention will be specifically described below with reference to the drawings. In addition,
In this embodiment, a color CRT display of a type that displays any one of the three primary colors or a combination thereof for each dot as shown in FIG. 8 is used.

中間色発生手段 第1図において、11はカラーCRTディスプレイであ
る。本実施例においては、通常のパーソナルコンピュー
タ用として使用されている、横方向640ドット、縦方向4
00ドットの解像度を有するCRTディスプレイを使用す
る。12は4×4ドットの集まりのピクセル(画素)であ
る。ピクセル12は、常に4×4ドット単位で、CRTディ
スプレイ上の任意の位置に表示するものとする。この場
合、前記解像度を有する本実施例のCRTディスプレイ11
上で、1個のピクセル12は、約1.5mm×1.5mmの大きさに
表示されるので、人間の視覚では、ほぼ「点」に見え
る。ピクセル12を幾つか並べることによって、CRT上に
意味のある画素を表すことができる。
Intermediate color generating means In FIG. 1, reference numeral 11 denotes a color CRT display. In this embodiment, 640 dots in the horizontal direction and 4 dots in the vertical direction used for a normal personal computer are used.
Use a CRT display with a resolution of 00 dots. Reference numeral 12 denotes a group of pixels of 4 × 4 dots. The pixel 12 is always displayed at an arbitrary position on the CRT display in units of 4 × 4 dots. In this case, the CRT display 11 of the present embodiment having the above resolution is used.
Above, one pixel 12 is displayed in a size of about 1.5 mm × 1.5 mm, so that it looks almost as a “point” to human eyes. By arranging several pixels 12, significant pixels can be represented on the CRT.

第1図において、13は赤色と青色の両方を発色してい
るドットを示している。このドットは、赤色、青色の組
合せによってCRTディスプレイ11上では紫色に見える。1
4は無発色の、即ち背景色のドットである。15は赤色、1
6は青色に発色しているドットを表す。即ち、第1図に
おいては、紫色、赤色、青色に各2個ずつのドットが発
色しており、残り10個のドットは発色させていない背景
色となっている。背景色が黒色であるとき、ピクセル
は、やや暗い紫色に表現できる。赤色及び青色に発色し
ているドットの数を増やせば、このピクセル12は明るい
紫色に表現できる。
In FIG. 1, reference numeral 13 denotes dots emitting both red and blue. These dots appear purple on the CRT display 11 due to the combination of red and blue. 1
Reference numeral 4 denotes a non-colored dot, that is, a dot of a background color. 15 is red, 1
Reference numeral 6 denotes a dot colored in blue. That is, in FIG. 1, two dots each of purple, red, and blue are colored, and the remaining ten dots are background colors that are not colored. When the background color is black, the pixels can be rendered somewhat dark purple. By increasing the number of dots emitting red and blue, the pixel 12 can be expressed in bright purple.

第2図は、ピクセル12の中のドットの発色の組合せ方
法をより詳細に説明する図である。なお、第1図と同色
に発色しているドットには同じ符号を付している。
FIG. 2 is a diagram for explaining in more detail the method of combining the coloring of the dots in the pixel 12. It should be noted that the same reference numerals are given to the dots which are colored in the same color as in FIG.

まず、第2図(A)においては、15,16として示すよ
うに、赤色、青色に各2個ずつのドットが発色してお
り、14として示すように、残り12個のドットは無発色の
背景色となっている。この場合、ピクセル12は全体とし
て、紫色に見える。このように、各ドットを、赤色、緑
色、青色の3原色のいずれかに発色させ、他の混色を使
用しないものとすれば、ピクセル12は全体として、3原
色を各発色のドットの比率で組合せた色に見える。そし
て、ある特定の原色で発色させるドットの数を増やせ
ば、その色を協調した色の加え合せ効果が得られる。例
えば、第3図(A)において、さらに赤色に発色させる
ドット15の数を増やせば、ピクセル12は全体として、よ
り赤みがかった紫に見える。
First, in FIG. 2 (A), two dots each of red and blue are colored as indicated by 15 and 16, and the remaining 12 dots are non-colored as indicated by 14. Background color. In this case, pixel 12 appears purple overall. In this way, if each dot is colored in one of the three primary colors of red, green, and blue, and no other color mixture is used, the pixel 12 as a whole is formed by dividing the three primary colors by the ratio of the dots of each color. It looks like a combination of colors. Then, if the number of dots to be colored with a specific primary color is increased, an effect of adding the colors in a coordinated manner can be obtained. For example, in FIG. 3 (A), if the number of dots 15 for coloring red is further increased, the pixel 12 as a whole looks more reddish purple.

次に、第2図(B)においては、13として示すよう
に、4個のドットを、赤色の青色の混合色即ち紫色に発
色させており、14として示すように、残り12個のドット
は無発色の背景色となっている。この場合も、第2図
(A)と同様にピクセル12は紫色に見える。この場合、
紫色に発色させるドットの数を増やせば、ピクセル12の
発色の明度を高くすることができる。また、第2図
(B)の無発色のドット14の色を白色とすれば、このピ
クセル12の色を薄める効果が得られる。
Next, in FIG. 2 (B), four dots are colored in a mixed color of red and blue, that is, purple, as shown as 13, and as shown in FIG. It has no background color. Also in this case, the pixel 12 looks purple as in FIG. 2A. in this case,
Increasing the number of dots to be colored purple can increase the brightness of the color of the pixel 12. If the color of the non-colored dots 14 in FIG. 2B is white, the effect of diminishing the color of the pixels 12 can be obtained.

以上説明したように、本実施例においては、3原色
と、その組合せによる混色だけでは得られない中間色を
発生させることができる。
As described above, in the present embodiment, it is possible to generate intermediate colors that cannot be obtained only by mixing the three primary colors and the combination of the three primary colors.

そして、ピクセル12を幾つか並べて1個の意味あるカ
ラー画像を表示する際には、ピクセルの中のドットの発
色数を徐々に変えることにより、一つの画像の色の明る
さ、濃淡を徐々に変えることができる。
When displaying one meaningful color image by arranging several pixels 12, by gradually changing the number of colors of the dots in the pixels, the brightness and shade of the color of one image are gradually increased. Can be changed.

さらに、ピクセルの中の発色させないドットを背景色
のままにしておくことにより、背景に何か図形が描かれ
ていれば、カラー画像の背後に、元の図形を重ね合せて
表示することができる。
Furthermore, by leaving the non-colored dots in the pixels as the background color, if any figure is drawn on the background, the original figure can be superimposed and displayed behind the color image. .

ピクセルの配列手段 カラー画像を描く(ペイントする)手段として、予
め、ピクセルの配列の方法、配列数を定めておく。
Pixel arrangement means As a means for drawing (painting) a color image, a pixel arrangement method and the number of arrangements are determined in advance.

第3図は、ピクセルの配列の基本的な一例を示したも
のである。第3図において、第3図(A)は1個、第3
図(B)は4個、第3図(C)は、16個のピクセル21を
正方形に配置してカラー画像をペイントする一単位(以
下ペイント単位と呼ぶ)22としたものである。なお、第
3図において、23は、ペイント単位22の中心位置を表
す。
FIG. 3 shows a basic example of an array of pixels. In FIG. 3, FIG.
FIG. 3 (B) shows four pixels, and FIG. 3 (C) shows one unit (hereinafter referred to as a paint unit) 22 for painting a color image by arranging 16 pixels 21 in a square. In FIG. 3, reference numeral 23 denotes the center position of the paint unit 22.

第4図は、第3図の配列を、各ピクセル21内のドット
の表示によって、輪郭が円弧を描くように変形したもの
である。このように、ピクセルの配列を定めることは、
ペイント単位22の形状と寸法を選択することに相当す
る。
FIG. 4 shows a modification of the arrangement of FIG. 3 by displaying the dots in each pixel 21 so that the outline draws an arc. Thus, defining the arrangement of pixels is
This corresponds to selecting the shape and size of the paint unit 22.

第5図は、ピクセルの配列を変形として、ペイントす
るためのローラの概念を示したものである。第5図
(A)において、31は概念上のペイントローラ、32,33
はペイントローラ31によるペイントの幅方向中心の始点
座標(xs,ys)及び終点座標(xe,ye)、34はペイント幅
を示している。また、第5図(B)はペイントローラ31
によってペイントされた表示ドットの例を示す図であ
り、35は無発色のドット、36は発色しているドットを示
している。この場合、ペイント幅方向一列の表示ドット
の発色、無発色の順序を定め、且つペイントローラ31の
異同方向(図中矢印方向)を定めることにより、発色す
る各列の色を並びを順次ずらして、垂直、斜め、もしく
は交差状に並ぶ発色例を作ることができる。
FIG. 5 shows the concept of a roller for painting by changing the arrangement of pixels. In FIG. 5 (A), 31 is a conceptual paint roller, 32, 33
Indicates the starting point coordinates (xs, ys) and the ending point coordinates (xe, ye) of the center of the paint in the width direction by the paint roller 31, and 34 indicates the paint width. FIG. 5 (B) shows a paint roller 31.
FIG. 7 is a diagram showing an example of display dots painted by the printer, wherein 35 indicates a non-colored dot, and 36 indicates a colored dot. In this case, the order of coloring and non-coloring of the display dots in one row in the paint width direction is determined, and the different direction (the direction of the arrow in the drawing) of the paint roller 31 is determined. , Vertical, diagonal, or intersecting color development examples.

データベースへの保存手段 第6図は、線画と画像からなる図形を示した図であ
る。同図において、41は4個のピクセルの集まりから成
るペイント単位、42はピクセル、43はペイント単位41の
中心座標、44は線分、45,46は線分44の始点座標(xs,y
s)、終点座標(xe,ye)を表す。ペイント単位41の位置
は、線分と同じx−y座標系のスケールにて、(xb,y
b)と指定する。
Means for Saving to Database FIG. 6 is a diagram showing a figure composed of a line drawing and an image. In the figure, 41 is a paint unit consisting of a group of four pixels, 42 is a pixel, 43 is the center coordinate of the paint unit 41, 44 is a line segment, and 45 and 46 are the starting point coordinates (xs, y) of the line segment 44.
s), representing the end point coordinates (xe, ye). The position of the paint unit 41 is represented by (xb, y) on the same xy coordinate system scale as the line segment.
b).

第7図は、第6図に示した線分44とペイント単位41を
カラーCRTディスプレイ47に表示した場合を示してい
る。第7図(A)は、図形全体をCRTディスプレイ47に
表示した場合、第7図(B)は、第7図(A)よりも図
形全体を拡大し、図形の一部分をCRTディスプレイ47に
表示した場合を示している。
FIG. 7 shows a case where the line segment 44 and the paint unit 41 shown in FIG. 6 are displayed on the color CRT display 47. FIG. 7 (A) shows the entire graphic on the CRT display 47, and FIG. 7 (B) enlarges the entire graphic as compared with FIG. 7 (A) and displays a part of the graphic on the CRT display 47. It shows the case where it is done.

ここで、第6図に示す図形のデータは、以下のように
表現できる。
Here, the graphic data shown in FIG. 6 can be expressed as follows.

(1)1個のピクセル42の発色情報:下記のパラメータ
で表す。
(1) Coloring information of one pixel 42: represented by the following parameters.

PIXEL=(PRED,PGREEN,PBLUE,PTYPE) PIXEL :ピクセルの発色情報 PRED :ピクセルのうち、赤(RED)に発色させるドッ
ト数(0〜16) PGREEN:ピクセルのうち、緑(GREEN)に発色させるド
ット数(0〜16) PBLUE :ピクセルのうち、青(BLUE)に発色させるド
ット数(0〜16) (2)ペイント単位41の位置とサイズ:下記の8パラメ
ータで表す。
PIXEL = (PRED, PGREEN, PBLUE, PTYPE) PIXEL: Pixel color information PRED: Number of dots (0-16) to be colored red (RED) among pixels PGREEN: Color green (GREEN) among pixels Number of dots (0 to 16) PBLUE: Number of dots (0 to 16) to be colored in blue (BLUE) among pixels (2) Position and size of paint unit 41: represented by the following eight parameters.

BLUSH=(XB,YB,PIXL,TYPE,SIZE) BLUSH:ペイントの単位の情報 PIXEL:ピクセルの発色情報 TYPE :ペイント単位の情報(円形、矩形の別) XB,YB:ペイント単位の中心点の座標 SIZE :ペイント単位のサイズ (3)線分44のデータ:下記パラメータで表す。BLUSH = (XB, YB, PIXL, TYPE, SIZE) BLUSH: Paint unit information PIXEL: Pixel color information TYPE: Paint unit information (circular or rectangular) XB, YB: Coordinate of center point of paint unit SIZE: Paint unit size (3) Data of line segment 44: Expressed by the following parameters.

LINE=(XS,YS,XE,YE,LFONT,LCOLOR) LINE :線分の情報 XS,YS:線分の始点座標 XE,YE:線分の終点座標 LFONT:線分のフォント(実線、点線などの別) 上述のように、カラー画像を描く時の一単位に相当す
る情報をデータベースに保存することにより、これらの
データは、線画情報と同等に、座標の移動・回転、また
はスケーリングを施して、カラーCRTディスプレイ上に
再現できる。
LINE = (XS, YS, XE, YE, LFONT, LCOLOR) LINE: Line segment information XS, YS: Line segment start point coordinates XE, YE: Line segment end point coordinates LFONT: Line segment font (solid line, dotted line, etc.) As described above, by storing information corresponding to one unit when drawing a color image in a database, these data can be subjected to coordinate movement / rotation or scaling in the same manner as line drawing information. , Can be reproduced on a color CRT display.

[発明の効果] 以上説明したように、本発明によれば、CRTディスプ
レイのドットの集まりを一つの画素(ピクセル)とし、
各ピクセル内のドットの色及び発色しているドットの数
を定めることによって、一つの画素の発色を定義し、こ
れらの画素の集まりをCRT上の画像として表示すること
により、3原色の組合せだけでは得られない色彩を表現
することができる。
[Effects of the Invention] As described above, according to the present invention, a group of dots of a CRT display is defined as one pixel,
By defining the color of the dots in each pixel and the number of colored dots, the color development of one pixel is defined, and the collection of these pixels is displayed as an image on the CRT, so that only the combination of the three primary colors Can express colors that cannot be obtained.

そして、これらの発色情報、発色点の位置などの情報
を、上に述べた方法で表現することにより、線画図形の
パラメータと同様の方法で、データベースに保持できる
ため、線画図形と同様に、座標の移動、回転、またはス
ケーリングを施してCRT上に再現できる。
By expressing the color information and the information such as the position of the color point in the above-described manner, it can be stored in the database in the same manner as the parameters of the line drawing figure. Can be moved, rotated, or scaled and reproduced on a CRT.

さらに、従来、CRT表示用メモリの状態として保存さ
れていた画像データを、幾つかの数値パラメータで定ま
る画素(ピクセル)の集まりとして表現できるため、線
画図形をも含む一般のデータファイルと同様に異機種コ
ンピュータでも扱うことが可能になる。
Furthermore, since the image data conventionally stored in the state of the CRT display memory can be expressed as a set of pixels determined by several numerical parameters, it is different from a general data file including a line drawing figure. It can also be used with a model computer.

特に、本発明においては、位置や大きさを有する画素
の集まりとしてカラー画像を取扱っているために、線画
図形を、個々の線分や円弧図形の集まりとして取扱って
いた従来のCADの手法で、画像データも同様に取扱うこ
とが可能なCADシステムを提供できる。
In particular, in the present invention, since a color image is handled as a collection of pixels having a position and a size, a line drawing figure is handled as a collection of individual line segments and arc figures by a conventional CAD method. A CAD system that can handle image data in the same manner can be provided.

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

第1図乃至第7図は本発明によるCADシステムの一実施
例を示す図である。 第1図は実施例に使用するカラーCRTディスプレイ及び
4×4ドットのピクセルを示す平面図、第2図は同じく
異なる発色のピクセルを示す平面図であり、(A)は3
原色のみに発色させたドットを使用した状態、(B)は
混色に発色させたドットを使用した状態を示している。 第3図はピクセルの配列の基本的な一例を示す平面図で
あり、(A)は1個、(B)は4個、(C)は16個のピ
クセルを正方形に配置してカラー画像をペイントする一
単位とした配列は第4図は第3図の輪郭が円弧になるよ
うに変形した配列を示す平面図であり、(A)乃至
(C)は第3図の(A)乃至(C)にそれぞれ対応す
る。 第5図はピクセルの配列の変形例を示す図であり、
(A)は概念上のペイントローラ及びペイントの座標上
の範囲を示す斜視図、(B)はペイントローラによって
ペイントされる表示ドットの例を示す平面図である。 第6図は線画と画像からなる図形例を示す座標平面図、
第7図は第6図に示した線分とペイント単位をカラーCR
Tディスプレイに表示した場合を示す平面図であり、
(A)は図形全体を表示した場合、(B)は拡大した図
形の一部を表示した場合を示している。 第8図はCRTディスプレイの3原色の組合せと、それに
より表現される色の関係を示す図である。 11,47……CRTディスプレイ、12,21,42……ピクセル、13
……紫色に発色しているドット、14,35……無発色のド
ット、15……赤色に発色しているドット、16……青色に
発色しているドット、22,41……ペイント単位、31……
ペイントローラ、36……発色しているドット、44……線
分。
1 to 7 are views showing an embodiment of a CAD system according to the present invention. FIG. 1 is a plan view showing a color CRT display and pixels of 4.times.4 dots used in the embodiment, and FIG. 2 is a plan view showing pixels of different colors, and FIG.
FIG. 4B shows a state in which dots formed only in primary colors are used, and FIG. 4B shows a state in which dots formed in mixed colors are used. FIG. 3 is a plan view showing a basic example of an array of pixels. FIG. 3A shows one pixel, FIG. 3B shows four pixels, and FIG. FIG. 4 is a plan view showing an arrangement in which the outline of FIG. 3 is transformed into an arc, and FIGS. 4A to 4C are plan views showing the arrangement as one unit for painting. C) respectively. FIG. 5 is a diagram showing a modification of the arrangement of pixels.
FIG. 2A is a perspective view showing a conceptual paint roller and a range of coordinates of paint, and FIG. 2B is a plan view showing an example of display dots painted by the paint roller. FIG. 6 is a coordinate plan view showing a graphic example composed of a line drawing and an image,
FIG. 7 shows the line segment and the paint unit shown in FIG.
FIG. 5 is a plan view showing a case where the image is displayed on a T display,
(A) shows the case where the whole figure is displayed, and (B) shows the case where a part of the enlarged figure is displayed. FIG. 8 is a diagram showing a relationship between a combination of three primary colors of a CRT display and colors represented thereby. 11,47 …… CRT display, 12,21,42 …… Pixel, 13
…… Purple colored dots, 14,35 …… No colored dots, 15 …… Red colored dots, 16 …… Blue colored dots, 22,41 …… Paint units, 31 ……
Paint roller, 36 ... Colored dots, 44 ... Line segments.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】CRTディスプレイ上の複数個のドットを一
つの画素とし、複数の画素から成るペイント単位によっ
て表示されるカラー画像と、線画とを、CRTディスプレ
イ上に表示するコンピュータ図形処理システムにおい
て、 前記各画素の発色を決定する画素の発色情報を、各画素
内のドットの発色と、各発色のドット数とによって表示
し、 ペイント単位の情報を、前記画素の発色情報と、ペイン
ト単位の形状と、ペイント単位の位置及びサイズの情報
とによって表示し、 線画情報を、線分の位置、フォント及びカラーのデータ
によって表示し、 前記ピクセルの発色情報、ペイント単位の情報及び線画
情報をデータベースに保存する手段とを備えたことを特
徴とするコンピュータ図形処理システム。
A computer graphic processing system for displaying a plurality of dots on a CRT display as one pixel, a color image displayed by a paint unit composed of a plurality of pixels, and a line image on the CRT display. The color information of the pixel that determines the color of each pixel is displayed by the color of the dot in each pixel and the number of dots of each color, and the information of the paint unit is expressed by the color information of the pixel and the shape of the paint unit. And the position and size information of the paint unit, and the line drawing information is displayed by the line position, font and color data, and the coloring information of the pixel, the information of the paint unit and the line drawing information are stored in a database. Computer graphic processing system comprising:
JP63286761A 1988-11-15 1988-11-15 Computer graphics processing system Expired - Lifetime JP2896149B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63286761A JP2896149B2 (en) 1988-11-15 1988-11-15 Computer graphics processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63286761A JP2896149B2 (en) 1988-11-15 1988-11-15 Computer graphics processing system

Publications (2)

Publication Number Publication Date
JPH02134684A JPH02134684A (en) 1990-05-23
JP2896149B2 true JP2896149B2 (en) 1999-05-31

Family

ID=17708705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63286761A Expired - Lifetime JP2896149B2 (en) 1988-11-15 1988-11-15 Computer graphics processing system

Country Status (1)

Country Link
JP (1) JP2896149B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5212010B2 (en) * 1972-04-13 1977-04-04
JPS5643977A (en) * 1979-09-19 1981-04-22 Namuko Kk Method of displaying plurality of moving target body colored on video display screen
JPS57144590A (en) * 1981-03-03 1982-09-07 Fujitsu Ten Ltd Color picture display
JPS60486A (en) * 1983-06-04 1985-01-05 富士通テン株式会社 Display of color image
JPS61194493A (en) * 1985-02-25 1986-08-28 日本無線株式会社 Crt screen generator

Also Published As

Publication number Publication date
JPH02134684A (en) 1990-05-23

Similar Documents

Publication Publication Date Title
EP0313796B1 (en) Computer display color control and selection system
US6897879B2 (en) Hardware-enhanced graphics acceleration of pixel sub-component-oriented images
US4721951A (en) Method and apparatus for color selection and production
US20030025921A1 (en) Method and system for image processing
JPH03114097A (en) display system
JPH07146931A (en) Image creation method
JPS60198688A (en) Page makeup apparatus
JP2896149B2 (en) Computer graphics processing system
HK124993A (en) Graphic display device
JP3352458B2 (en) Graphic Coloring Method for Graphic Display System
JP2856420B2 (en) Character pattern data generation method
JP2000322601A (en) Image generation method
JPH0767136B2 (en) Image processing device
JP3257925B2 (en) Translucent color image generation device
EP0454477A2 (en) Image editing system
JP3304381B2 (en) Image processing device having contour extraction function
JPH06180573A (en) Image forming method
JP3230272B2 (en) Image processing device
JPH07123322A (en) Image transforming system
JPH0640242B2 (en) Color display device
JP2708062B2 (en) Star screen creation device
Myers Interactive Computer Graphics: Flying High Part II
JPH07210142A (en) Method for displaying picture
JPH0666871B2 (en) Image processing device
JPH03252778A (en) Processing of indicating image