JPS5836904B2 - Shape editing processing method - Google Patents

Shape editing processing method

Info

Publication number
JPS5836904B2
JPS5836904B2 JP54098194A JP9819479A JPS5836904B2 JP S5836904 B2 JPS5836904 B2 JP S5836904B2 JP 54098194 A JP54098194 A JP 54098194A JP 9819479 A JP9819479 A JP 9819479A JP S5836904 B2 JPS5836904 B2 JP S5836904B2
Authority
JP
Japan
Prior art keywords
color
code
bit
editing
bits
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
JP54098194A
Other languages
Japanese (ja)
Other versions
JPS5622491A (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.)
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 JP54098194A priority Critical patent/JPS5836904B2/en
Publication of JPS5622491A publication Critical patent/JPS5622491A/en
Publication of JPS5836904B2 publication Critical patent/JPS5836904B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明は、図形の編集処理、特にカラー図形の編集処理
を容易にした図形編集処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a graphic editing processing method that facilitates graphic editing processing, particularly color graphic editing processing.

カラー図形の編集処理に於いては、各画素情報に付加さ
れた色情報を処理するものであり、例えば第1図のAに
示すように、黄色Yの背景に黒色BLの三角形の図形処
理に於いては、赤色R,緑色G,青色Bのそれぞれ色情
報を書込む編集メモIJ a , b , cを用意し
て、画素対応に斜線を施した領域に書込みを行ない、ラ
スク走査により各編集メモ’)a ,b ,cの内容を
同時に読出して色信号を形成することにより、黒色BL
の三角形が黄色Yの背景中に表示されることになる。
In the color graphic editing process, the color information added to each pixel information is processed. For example, as shown in A in Figure 1, a triangular shape with black BL on a yellow Y background is processed. In this case, edit memos IJ a, b, and c are prepared to write color information for red R, green G, and blue B, respectively, and written in the shaded area corresponding to the pixel, and each edit is performed by rask scanning. Note') By simultaneously reading out the contents of a, b, and c to form a color signal, black BL
The triangle will be displayed in the yellow Y background.

しかし、各編集メモリa ,b ,cの各ビット(各画
素)について色情報の書込みを行なうと共に、読出情報
も各ビット対応に処理しなければならないので、編集処
理時間が長くなる欠点があった。
However, since the color information must be written for each bit (each pixel) of each editing memory a, b, and c, and the read information must also be processed for each bit, the editing processing time is increased. .

本発明は、カラー図形の編集処理に於いて、図形の色の
変化点についてのみ編集メモリに書込むようにして、編
集処理時間の短縮を図ることを目的とするものである。
An object of the present invention is to shorten the editing processing time by writing only the color change points of the graphics into the editing memory in the editing processing of color graphics.

以下実施例について詳細に説明する。Examples will be described in detail below.

第2図は本発明の実施例の説明図であり、編集すべきカ
ラー図形が1に示すように、黄色Yの背景に黒色BLの
三角形であるとすると、2に示すようにラスク走査する
ことにより、3に示すように変化点の色符号が得られる
FIG. 2 is an explanatory diagram of the embodiment of the present invention. Assuming that the color figure to be edited is a black BL triangle on a yellow Y background, as shown in 1, rask scanning is performed as shown in 2. As a result, the color code of the change point is obtained as shown in 3.

即ち水平走査開始点では背景の黄色Yを示す変化点3a
,黒色BLの三角形については、黄色Yから黒色BLへ
の変化点3d及び黒色BLから黄色Yへの変化点3b,
3cが実線の如く得られ、例えばR,G,Hの3ビット
の色符号で変化点が表わされる。
That is, at the horizontal scanning start point, a change point 3a indicating yellow Y in the background
, for the triangle of black BL, the change point 3d from yellow Y to black BL and the change point 3b from black BL to yellow Y,
3c is obtained as a solid line, and the change point is represented by a 3-bit color code of R, G, and H, for example.

従って第2図のカラー図形1を得る為に、画面全体の画
素対応について総て色符号を処理する従来例に比較して
、変化点の色符号のみ処理すれば良いことになるので、
編集処理時間を大幅に短縮できることになる。
Therefore, in order to obtain the color figure 1 shown in Fig. 2, it is necessary to process only the color codes at the points of change, compared to the conventional example in which color codes are processed for all pixel correspondences on the entire screen.
Editing processing time can be significantly reduced.

編集メモリは色符号のビット数だけ、例えば3ビット構
成の色符号であれば第2図の4.5.6で示すように3
個用意することにより、色符号の書込みが可能となる。
The editing memory is equal to the number of bits of the color code, for example, if the color code has a 3-bit configuration, the number of editing memories is 3 as shown in 4.5.6 in Figure 2.
By preparing a separate color code, it is possible to write a color code.

例えば第2図の3に示す変化点3a〜3dについては、
変化点3aの色符号を” 1 1 0 ”、変化点3b
,3cの色符号を” 1 1 0 ”、変化点3dの色
符号を″o o o ”とすると、赤色R用の編集メモ
リ4には変化点3a〜3cに対応して4a〜4cの位置
にu 1 nが書込まれ、緑色G用の編集メモリ5には
変化点3a〜3cに対応して53〜5cの位置にN 1
+1が書込まれ、青色B用の編集メモリ6には青色の
要素がないので書込みは行なわれない。
For example, regarding the change points 3a to 3d shown in 3 in Fig. 2,
Change the color code of change point 3a to “1 1 0”, change point 3b
, 3c are "1 1 0" and the color code of the change point 3d is "o o o", then the edit memory 4 for red R has positions 4a to 4c corresponding to the change points 3a to 3c. u 1 n is written in the editing memory 5 for green G, and N 1 n is written in the positions 53 to 5c corresponding to the change points 3a to 3c.
+1 is written, and since there is no blue element in the edit memory 6 for blue B, no writing is performed.

このとき、変化点3dに対応する編集メモIJ 4 ,
5 . 6の点線位置に゛゜O″の書込みが行なわれ
ることになるが、4a〜4c,5a〜5cで示す位置以
外はn O uであるから、編集メモIJ 4 , 5
. 6の内容だけでは変化点3dの識別ができないこ
とになる。
At this time, the editing memo IJ4 corresponding to the change point 3d,
5. 6 will be written in the dotted line position, but since the positions other than those indicated by 4a to 4c and 5a to 5c are n O u, editing memo IJ 4, 5
.. This means that the change point 3d cannot be identified only from the contents of 6.

そこで変化点用の編集メモリ7を用意し、変化点の情報
を記憶させる。
Therefore, an editing memory 7 for changing points is prepared and information on changing points is stored.

この場合、色符号が” o o o ”の変化点につい
てのみ、即ち編集メモIJ 4 , 5 . 6の点線
で示す位置に対して記憶させることができる。
In this case, only the change point with the color code "o o o", that is, the editing memo IJ 4, 5 . It can be stored at the position indicated by the dotted line in 6.

従って編集メモリ4〜7を同時にラスク走査に同期して
読出すことにより、カラー図形1の編集が可能となる。
Therefore, by simultaneously reading out the editing memories 4 to 7 in synchronization with the rask scan, editing of the color graphic 1 becomes possible.

第3図は本発明の実施例の要部ブロック線図であり、1
1 .14は符号変換部、12は編集メモリ、13は読
出部、15はオア回路、16はレジスタである。
FIG. 3 is a block diagram of main parts of an embodiment of the present invention, and 1
1. 14 is a code conversion section, 12 is an editing memory, 13 is a reading section, 15 is an OR circuit, and 16 is a register.

図示しない外部装置よりカラー図形の変化点情報S,が
符号変換部11に入力される。
Change point information S of a color graphic is inputted to the code conversion unit 11 from an external device (not shown).

色符号がnビットの場合、符号変換部に於いてmビット
を付加し、n+mビットの内容の少なくとも1ビットが
”1″となるようにする。
When the color code is n bits, m bits are added in the code converter so that at least one bit of the n+m bits becomes "1".

例えばm1として、追加したビットを常に”1″とすれ
ば、nビットがオール″O ttであっても、n+mビ
ットの内容は少なくとも1ビットが″1′′となる。
For example, if the added bit is always "1" as m1, even if all n bits are "Ott", at least one bit of the n+m bits will be "1".

編集メモリ12はn+m面のメモIJM1〜Mn−kr
から構成され、例えば第2図に示す場合、変化点の色符
号が3ビットで変化点情報が1ビットであるとすると、
n=3,m=1となり、メモリM1〜M4で編集メモリ
12が構成されることになる。
The editing memory 12 contains notes IJM1 to Mn-kr on the n+m side.
For example, in the case shown in Figure 2, if the color code of the change point is 3 bits and the change point information is 1 bit, then
n=3, m=1, and the editing memory 12 is composed of the memories M1 to M4.

そして色符号がオール”0″の変化点については、追加
したビットが変化点情報の”1″として記憶されるから
、n+mビットの内容の少なくとも1ビットは″1″と
なる。
For a change point whose color code is all "0", the added bit is stored as "1" in the change point information, so at least one bit of the n+m bits becomes "1".

読出部13は編集メモリ12をラスタ走査により繰返し
読出し、このラスク走査はモニタのラスク走査と一致し
て行なわれるものである。
The reading unit 13 repeatedly reads out the editing memory 12 by raster scanning, and this raster scanning is performed in accordance with the raster scanning of the monitor.

読出部13によって読出されたn+mビットは符号変換
部14とオア回路15とに加えられる。
The n+m bits read by the reading section 13 are applied to the code converting section 14 and the OR circuit 15.

符号変換部14は符号変換部11と逆の変換を行なうも
ので、n−1−mビットからnビットを取出してレジス
タ16に加える。
The code converter 14 performs the reverse conversion than the code converter 11, and extracts n bits from the n-1-m bits and adds them to the register 16.

又変化点のn−1−mビットは前述の如く少なくとも1
ビットが゛1″であるので、オア回路15の出力が゛1
゜゛となったとき、変化点のnビットの色符号が読出さ
れたことになり、オア回路15の出力の゛1”によりレ
ジスタ16にnビットの内容がセットされ、そのセント
内容はカラー図形信号S2として出力され、図示しない
モニタ装置等に加えられる。
Also, the n-1-m bits at the change point are at least 1 as described above.
Since the bit is “1”, the output of the OR circuit 15 is “1”.
When ゜゛ is reached, it means that the n-bit color code at the change point has been read out, and the contents of n bits are set in the register 16 by the output ゛1'' of the OR circuit 15, and the cent contents are the color graphic signal. The signal is output as S2 and added to a monitor device (not shown) or the like.

前述の如くレジスタ16の内容はカラー図形の変化点毎
に書換えられるものとなり、変化点から変化点までの間
は先の変化点の色符号がセットされていることになり、
変化点の色符号がオールN 0 99であっても、付加
したmビットによりn+mビットの内容の1ビットが゛
1″であることによって変化点の識別が可能となり、そ
の場合はレジスタ16にオールtl O I1がセット
され、次の変化点の色符号が読出されるまで、黒色のカ
ラー図形信号が出力されることになる。
As mentioned above, the contents of the register 16 are rewritten at each change point of the color figure, and from one change point to another, the color code of the previous change point is set.
Even if the color codes of the changing points are all N 0 99, the changing points can be identified if one bit of the content of the n+m bits is ``1'' due to the added m bits. tl O I1 is set and a black color graphic signal is output until the color code of the next change point is read out.

色符号のnビットに付加するmビットを前述の如く色変
化点の位置を示す為に用いると同時に、色符号の処理を
示す制御ビットとして用いることもできる。
The m bits added to the n bits of the color code can be used to indicate the position of the color change point as described above, and can also be used as control bits to indicate the processing of the color code.

例えば付加されたmビットをデコードし、そのデコード
内容に応じて、クロツク信号とのオア合戒により白色成
分を多く含む表示色、又はクロック信号とのアンド合成
により黒色成分を多く含む表示色とすることができる。
For example, the added m bits are decoded, and depending on the decoded contents, a display color containing a large amount of white component is obtained by OR combination with a clock signal, or a display color containing a large amount of black component by AND synthesis with a clock signal. be able to.

又前記クロツク信号の周波数やパルス幅の制御も行なう
ようにすることにより、表示色の変更も可能となる。
Furthermore, by controlling the frequency and pulse width of the clock signal, it is also possible to change the display color.

又第2図に示す編集メモIJ 4 , 5 . 6をそ
れぞれ複数として読出情報の演算処理を施すこともでき
る。
Also, the editing memo IJ4, 5. shown in Figure 2. It is also possible to perform arithmetic processing on the read information by setting a plurality of numbers 6 to 6.

このような処理は、第1の符号変換部11で付加したm
ビットを第2の符号変換部14でデコードし、そのデコ
ード内容に従って符号処理を行なう符号処理部を第3図
に示す構成に追加すれば容易に実現することができる。
Such processing is performed using m added in the first code conversion unit 11.
This can be easily realized by adding to the configuration shown in FIG. 3 a code processing unit that decodes bits in the second code conversion unit 14 and performs code processing according to the decoded contents.

以上説明したように、本発明は、図形の色変化点のnビ
ットの色符号にmビットを付加し、n+mビットの少な
くとも1ビットが゛1″となるように第1の符号変換部
11により符号変換して編集メモリ12に書込み、この
編集メモリ12から読出されたn. + mビットの情
報中の少なくとも1ビットが″1゛であれば色変化点の
色符号であることを示すので、第2の符号変換部14に
よりnビットの色符号に変換して次の色変化点の色符号
が読出されるまで、そのまま又は演算処理して出力する
もので、色変化点に於ける処理で済むので、編集処理時
間が大幅に短縮され、又入力した色符号の変換処理で、
他の色符号に従った色で表示させることも容易となる。
As explained above, the present invention adds m bits to the n-bit color code of the color change point of a figure, and uses the first code conversion unit 11 to add m bits to the n-bit color code of the color change point of a figure, and to set the first code conversion unit 11 so that at least one bit of the n+m bits becomes "1". The code is converted and written into the editing memory 12, and if at least one bit of the n. It is converted into an n-bit color code by the second code converter 14 and output as is or after arithmetic processing until the color code of the next color change point is read out. This greatly reduces editing processing time, and the input color code conversion process
It is also easy to display colors in accordance with other color codes.

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

第1図は従来の図形編集処理方式の説明図、第2図は本
発明の実施例の説明図、第3図は本発明の実施例の要部
ブロック線図である。 11は第1の符号変換部、12は編集メモリ、13は読
出部、14は第2の符号変換部、15はオア回路、16
はレジスタである。
FIG. 1 is an explanatory diagram of a conventional graphic editing processing system, FIG. 2 is an explanatory diagram of an embodiment of the present invention, and FIG. 3 is a block diagram of main parts of the embodiment of the present invention. 11 is a first code conversion section, 12 is an editing memory, 13 is a reading section, 14 is a second code conversion section, 15 is an OR circuit, 16
is a register.

Claims (1)

【特許請求の範囲】[Claims] 1 nビットの色符号を有する図形を編集処理する方式
に於いて、図形の色変化点のnビットの色符号にmビッ
トを付加し、n−1−mビットの少なくとも1ビットが
″1”となるように符号変換する第1の符号変換部と、
前記1−}−mビットの情報を書込む編集メモリと、該
編集メモリから読出されたn十mビットの情報から前記
色変化点のnビットの色符号に変換する第2の符号変換
部とを備え、該第2の符号変換部により変換された色符
号をそのまま又は演算処理して、次の色変化点の色符号
が読出されるまで保持して出力することを特徴とする図
形編集処理方式。
1. In a method of editing a figure having an n-bit color code, m bits are added to the n-bit color code at color change points of the figure, and at least one bit of the n-1-m bits is "1". a first code conversion unit that converts the code so that
an editing memory into which the 1-}-m bit information is written; and a second code converter converting the n0m bit information read from the editing memory into an n-bit color code at the color change point. A graphic editing process characterized in that the color code converted by the second code conversion unit is held and outputted as it is or after being subjected to arithmetic processing until the color code of the next color change point is read out. method.
JP54098194A 1979-07-31 1979-07-31 Shape editing processing method Expired JPS5836904B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54098194A JPS5836904B2 (en) 1979-07-31 1979-07-31 Shape editing processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54098194A JPS5836904B2 (en) 1979-07-31 1979-07-31 Shape editing processing method

Publications (2)

Publication Number Publication Date
JPS5622491A JPS5622491A (en) 1981-03-03
JPS5836904B2 true JPS5836904B2 (en) 1983-08-12

Family

ID=14213188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54098194A Expired JPS5836904B2 (en) 1979-07-31 1979-07-31 Shape editing processing method

Country Status (1)

Country Link
JP (1) JPS5836904B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5925470A (en) * 1982-08-02 1984-02-09 Nippon Telegr & Teleph Corp <Ntt> Editing method of picture information
JPS6155693A (en) * 1984-08-27 1986-03-20 横河電機株式会社 Color graphic processor
JPS62174791A (en) * 1986-05-29 1987-07-31 株式会社 アスキ− Display unit
JPS62296192A (en) * 1986-06-17 1987-12-23 株式会社 アスキ− Display unit

Also Published As

Publication number Publication date
JPS5622491A (en) 1981-03-03

Similar Documents

Publication Publication Date Title
US4920571A (en) Image processing system with capability of enlarging and reducing operations
JPS61107392A (en) Image processing system
JPH0222957B2 (en)
JPH0531353B2 (en)
US4804948A (en) Video display control system
JP2579362B2 (en) Screen display device
JPS5836904B2 (en) Shape editing processing method
US5818433A (en) Grapics memory apparatus and method
JP2635309B2 (en) Image processing device
JPS6019517B2 (en) Color figure creation processing device
US4291306A (en) Figure displaying device
JPS5836903B2 (en) Shape editing processing method
JPH04122991A (en) Composing method for image and character
JPS61223894A (en) Contrast conversion control system
JP2839578B2 (en) Image data input processing device
JPS6017483A (en) Image display
JPS6362750B2 (en)
JP3106496B2 (en) Image processing apparatus and method
JPS61148487A (en) Expander/reducer
JPS58184189A (en) Blinking system depending on changes in color
JPS5848101B2 (en) Zukei Hatsuseisouchi
JPS61150517A (en) Test pattern signal generating circuit
JPH1069270A (en) Method for synthesizing display image
JPS58166387A (en) Image memory reading system
JPS61103196A (en) Input unit for image information