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
JPH0720239B2 - Image creation device - Google Patents
[go: Go Back, main page]

JPH0720239B2 - Image creation device - Google Patents

Image creation device

Info

Publication number
JPH0720239B2
JPH0720239B2 JP60050804A JP5080485A JPH0720239B2 JP H0720239 B2 JPH0720239 B2 JP H0720239B2 JP 60050804 A JP60050804 A JP 60050804A JP 5080485 A JP5080485 A JP 5080485A JP H0720239 B2 JPH0720239 B2 JP H0720239B2
Authority
JP
Japan
Prior art keywords
color
data
colors
image
screen
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 - Fee Related
Application number
JP60050804A
Other languages
Japanese (ja)
Other versions
JPS61210779A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP60050804A priority Critical patent/JPH0720239B2/en
Publication of JPS61210779A publication Critical patent/JPS61210779A/en
Publication of JPH0720239B2 publication Critical patent/JPH0720239B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)
  • Television Systems (AREA)

Description

【発明の詳細な説明】 以下の順序でこの発明を説明する。DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in the following order.

A 産業上の利用分野 B 発明の概要 C 従来の技術 D 発明が解決しようとする問題点 E 問題点を解決するための手段 F 作用 G 実施例 G1 画像作成装置の説明(第1図) G2 カラーパレットの自動定義の説明(第2図) G3 カラーパレットのマニュアル修正の説明(第3図、
第5図) G4 機能ブロック図の説明(第4図) H 発明の効果 A 産業上の利用分野 この発明はビデオテックス画像等の作成装置に係わり
も、特にその画像の着色に関する技術に関する。
A Industrial field of use B Outline of the invention C Conventional technology D Problems to be solved by the invention E Means for solving the problems F Action G Example G 1 Description of image forming apparatus (Fig. 1) G description of automatic definition of the second color palette (Fig. 2) G 3 color palettes manual modifications described (FIG. 3,
Fig. 5) G 4 Description of functional block diagram (Fig. 4) H Effect of the invention A Industrial field of use The present invention relates to a videotex image creating device, and more particularly to a technique for coloring the image.

B 発明の概要 この発明は入力カラー画像データで表現できるM色例え
ば4096色よりも少ないN色例えば16色でこの入力カラー
画像データの色表現をする変換ビデオデータを作成し、
この変換ビデオデータの画像情報をエンコードして伝送
用のビデオテックス画像等のデータを作成する画像作成
装置において、上記N色を入力画像データ(1画面分)
中の色の出現頻度の高いものから順に選定するものでは
あるが、1画面分のすべての画像データの色の出現頻度
からN色を定めるのではなく、画面上の位置を指定する
外部入力装置によって指定したエリア及び特定色部分か
らN色を選定するようにして、画像の意図的な色付けを
可能としたものである。
B Summary of the Invention The present invention creates converted video data for color representation of the input color image data with N colors, eg, 16 colors, which are less than M colors, eg, 4096 colors, that can be represented by the input color image data,
In an image creating apparatus that creates image data such as a videotex image for transmission by encoding image information of the converted video data, the N colors are input image data (for one screen).
The selection is made in order from the highest appearance frequency of the medium color, but an external input device that specifies the position on the screen instead of defining N colors from the appearance frequencies of the colors of all image data for one screen. By selecting N colors from the area and the specific color portion designated by, it is possible to intentionally color the image.

C 従来の技術 ビデオテックス等の表示方式としてNAPLPS方式がある。
この方式は、画像の構成要素を、点(Point)、線(Lin
e)、円弧(Arc)、矩形(Rectangle)、多角形(Polyg
on)の5つの基本的幾何図形に分けて定義した図形情報
と、大きさや画面上の位置、色などを数値で指定する表
示情報(属性制御コマンド)とによって表示するもの
で、図形情報と表示情報はコード化して伝送し、端末側
では、これらのコードをデコードしてドットパターンに
変換して表示するようにするものである。
C Conventional Technology The NAPLPS system is a display system for videotex and the like.
In this method, the components of the image are divided into points (Points) and lines (Lin
e), Arc, Rectangle, Polyg
On) display information (attribute control command) that is defined by dividing it into five basic geometric figures, and display information (attribute control command) that numerically specifies the size, position on the screen, color, etc. Information is coded and transmitted, and the terminal side decodes these codes and converts them into dot patterns for display.

このNAPLPS方式によれば、1ドット毎にコード化して伝
送するものに比べて伝送画像情報量を大幅に削減するこ
とが可能になり、伝送効率の高い画像伝送ができる。
According to the NAPLPS method, it is possible to significantly reduce the amount of transmitted image information as compared with the case where each dot is encoded and transmitted, and image transmission with high transmission efficiency can be performed.

ところで、カラー画像情報をこのようなビデオテックス
等の画像情報にエンコードする場合、先ず、入力カラー
ビデオ信号を1ドット毎にデジタライズし、これに基づ
いてエンコード処理を行う。この場合、1ドットを、
赤、緑及び青の三原色信号R,G,Bで表し、これら原色信
号をそれぞれ4ビットでデジタイズした場合、画像は40
96色の色を含む可能性がある。しかし、この4096色のす
べての色を情報として伝送するのでは情報が多くなって
しまうので、ビデオテックス等の画像作成装置では、通
常、表示色として例えば16色を用い、原カラー画像の40
96色をその16色の色に割り当てる処理がなされた後、エ
ンコード処理を行うようにしている。
By the way, when encoding color image information into image information such as videotex, first, the input color video signal is digitized for each dot, and the encoding process is performed based on this. In this case, 1 dot
When the primary color signals R, G, and B are represented by the three primary color signals R, G, and B, and each of these primary color signals is digitized with 4 bits, the image is 40
May contain 96 colors. However, if all the 4096 colors are transmitted as information, the amount of information will be large. Therefore, in an image creating device such as a videotex, normally, for example, 16 colors are used as a display color and 40 colors of the original color image are used.
After the process of assigning 96 colors to the 16 colors is performed, the encoding process is performed.

この表示色16色は固定的に定めておくこともできるが、
それでは原カラー画像の色調を損う可能性もある。そこ
で、出願人は、先に、この表示色16色を原カラー画像情
報に基づいて自動的に定める方法を提案した(昭和59年
11月30日付の特許願8参照)。
The 16 display colors can be fixed, but
Then, the color tone of the original color image may be impaired. Therefore, the applicant previously proposed a method of automatically determining the 16 display colors based on the original color image information (1984).
See Patent Application 8 dated November 30).

これは、一画面分のカラー画像情報の各ドットの色とし
て出現頻度の高い色から順に上位16色を選出するという
方式である。
This is a method in which the upper 16 colors are selected in descending order of appearance frequency as the color of each dot of color image information for one screen.

D 発明が解決しようとする問題点 しかし、このように一画面の全部の色情報から表示色を
選定したときは、画像の中心的な事物への意図的な重み
づけができず、不要な部分に多くの色が使われてしまう
欠点がある。
D Problems to be solved by the invention However, when the display color is selected from the color information of one screen in this way, it is not possible to intentionally weight the central object of the image, and unnecessary parts There is a drawback that many colors are used.

例えば、画像が第5図のような人物画像であった場合、
人物の特徴を表すという目的のためには人物の背景部分
は全く不要な部分である。ところが、この背景部分は画
面中では大きな面積を占めるため、色の出現頻度はこの
部分で高くなり、この背景部分の色が表示色として選出
されてしまうため、重要な人物部分を細かく再現するた
めに必要な色が選出されず、原画像と異なる印象を受け
るような場合もある。
For example, if the image is a person image as shown in FIG.
For the purpose of expressing the characteristics of a person, the background portion of the person is completely unnecessary. However, since this background portion occupies a large area on the screen, the frequency of color appearance is high in this portion, and the color of this background portion is selected as the display color, so in order to reproduce the important person portion in detail. In some cases, the colors required for the image are not selected, giving the impression that the original image is different.

E 問題点を解決するための手段 この発明は、マイクロコンピュータと、モニタ受像機
(512)と、1画面分の入力ビデオデータを記憶できる
メモリ(507)と、このメモリ(507)のアドレスに対応
する上記モニタ受像機(512)の画面上の位置を指定で
きる外部入力装置(502)と、この外部入力装置(502)
で指定されたエリア内の画像データ中の色の出現頻度を
求める手段(504)と、この出現頻度を求める手段(50
4)の出力情報より出現頻度の高い色から上位N色を選
定する手段(505)と、外部入力装置(502)で指定した
特定の画像部分の色を上記表示色のうちの1つとして強
制的に設定する手段(513)と、入力ビデオデータを上
記N色以下の色で表現した変換ビデオデータを作成する
手段(506)(507)と、この変換ビデオデータのその画
像情報をエンコードして伝送データに変換するエンコー
ド手段(508)とからなる。
E Means for Solving Problems This invention corresponds to a microcomputer, a monitor receiver (512), a memory (507) capable of storing input video data for one screen, and an address of this memory (507). An external input device (502) capable of specifying a position on the screen of the monitor receiver (512), and this external input device (502)
Means (504) for obtaining the appearance frequency of the color in the image data in the area specified by, and means (50) for obtaining the appearance frequency.
A means (505) for selecting an upper N color from colors having a higher appearance frequency than the output information of 4) and a color of a specific image portion designated by the external input device (502) are forced as one of the above display colors. Setting means (513), means (506) (507) for creating converted video data in which the input video data is expressed in N or less colors, and encoding the image information of the converted video data. And an encoding means (508) for converting into transmission data.

F 作用 例えば、第5図の人物画像において、人物部分のみを外
部入力装置(502)によって指定すれば、手段(504)で
この人物部分のみの色の出現頻度が求められ、その出現
頻度の高い色から順次上位N色が手段(505)で選定さ
れる。その後、外部入力装置(502)で例えば唇の部
分、眼の部分等を指定すること、この唇の色、眼の色が
その選出されたN色の例えば下位2色と入れ替えられて
N色が選出され直される。
F action For example, in the person image of FIG. 5, if only the person portion is specified by the external input device (502), the means (504) obtains the appearance frequency of the color of only this person portion, and the appearance frequency is high. The upper N colors are sequentially selected from the colors by means (505). After that, by designating, for example, a lip portion, an eye portion, etc. with the external input device (502), the lip color and the eye color are exchanged with the selected N colors, for example, the lower two colors, and the N color is changed. Be elected again.

G 実施例 G1 画像作成装置の説明 第1図はこの発明装置の一例で、ビデオテックス画像作
成装置について説明する。この例では装置は入力カラー
画像情報を1画面分毎のデータに変換するフレームデー
タ作成部(100)と、その1画面分毎のデータからビデ
オテックス画像等のデータを作成するビデオテックス装
置部(200)とからなる。
G Embodiment G 1 Description of Image Creating Apparatus FIG. 1 is an example of the apparatus of the present invention, and a videotex image creating apparatus will be described. In this example, the device is a frame data creation unit (100) that converts input color image information into data for each screen, and a videotex device unit (100) that creates data such as a videotex image from the data for each screen. 200) and.

フレームデータ作成部(100)において、(101)はアナ
ログカラービデオ信号の入力端子で、ビデオカメラ、VT
R、ビデオディスク等のカラービデオ信号の発生源(1
0)からのNTSCカラービデオ信号がこの入力端子(101)
を通じてNTSCデコーダ(102)に供給されてデコードさ
れ、3原色信号R,G,Bとしてこれより得られる。
In the frame data creation unit (100), (101) is an analog color video signal input terminal, which is a video camera, a VT
Source of color video signal such as R, video disc (1
0) NTSC color video signal from this input terminal (101)
It is supplied to the NTSC decoder (102) through and is decoded to obtain the three primary color signals R, G, B from this.

また(103)は3原色信号R,G,Bの入力端子で、マイクロ
コンピュータ等の画像情報作成装置よりの3原色ビデオ
信号R,G,Bの発生源(20)からこの入力端子(103)を通
じてフレームデータ作成部(100)にこの3原色信号が
入力される。
Further, (103) is an input terminal for the three primary color signals R, G, B. From the generation source (20) of the three primary color video signals R, G, B from an image information creation device such as a microcomputer, this input terminal (103) The three primary color signals are input to the frame data creation unit (100) through.

そして、NTSCデコーダ(102)からの3原色信号と入力
端子(103)からの3原色信号が入力選択回路(104)に
よって選択されて取り出され、その選択出力がA/Dコン
バータ(105)に供給される。このA/Dコンバータ(10
5)においては1サンプル毎に3原色信号R,G,Bを夫々4
ビットのデータとして1サンプル(1ビット)を12ビッ
トのデジタル信号に変換する。この12ビットのデジタル
信号はフィールドメモリ(106)に供給されて1フィー
ルド分ずつこのメモリ(106)に書き込まれる。
Then, the three primary color signals from the NTSC decoder (102) and the three primary color signals from the input terminal (103) are selected and taken out by the input selection circuit (104), and the selected output is supplied to the A / D converter (105). To be done. This A / D converter (10
In 5), the three primary color signals R, G, B are set to 4 for each sample.
One sample (1 bit) as bit data is converted into a 12-bit digital signal. The 12-bit digital signal is supplied to the field memory (106) and written in the memory (106) for each one field.

このフィールドメモリ(106)の書き込み及び読み出し
は後述するようにビデオテックス装置部(200)のマイ
クロコンピュータ(201)からの指令により行われるも
のである。また、入力選択回路(104)の切り換えも同
様にビデオテックス装置部(200)側からのコマンドに
より行われるようにされている。(108)はそのタイミ
ングをコントロールするためのタイミングコントロール
回路である。
Writing and reading of the field memory (106) are performed by commands from the microcomputer (201) of the videotex device section (200) as described later. Switching of the input selection circuit (104) is also performed by a command from the videotex device section (200) side. (108) is a timing control circuit for controlling the timing.

したがって、フィールドメモリ(106)からは1フィー
ルド単位の信号が得られ、これがD/Aコンバータ(107)
によりアナログ3原色信号R,G,Bに戻され、これがビデ
オテックス装置部(200)のセレクタ(231)を通じてモ
ニタ受像機(230)に供給されてその画像が画面に映出
される。
Therefore, a signal for each field is obtained from the field memory (106), which is the D / A converter (107).
The analog three primary color signals R, G, B are thereby returned to the monitor receiver (230) through the selector (231) of the videotex device section (200) and the image is displayed on the screen.

ビデオテックス装置部(200)においてはマイクロコン
ピュータ(201)が設けられる。
The videotex device section (200) is provided with a microcomputer (201).

即ち、(202)はそのCPUのプロセッサであり、(203)
は後述するようなデータ処理のプログラムが記憶されて
いるROMであり、また(204)はワークエリア用のRAMで
ある。さらに(205)はデータバスである。
That is, (202) is the processor of that CPU, and (203)
Is a ROM in which a data processing program as described later is stored, and (204) is a work area RAM. Further, (205) is a data bus.

また、(211)はフレームデータ作成部(100)からの1
ドット12ビットのデジタルデータを取り込むためのバッ
ファRAMである。
Also, (211) is 1 from the frame data creation unit (100).
This is a buffer RAM that captures 12-bit dot digital data.

(212)はこのバッファRAM(211)に取り込まれた1画
面分のデータに対し、後述するようにして作成された16
色のカラーパレットによって各ドットの色を表すデータ
に変換された変換デジタルビデオデータが記憶されるビ
デオRAMである。この場合、このビデオRAM(212)には
フレームデータ作成部(100)よりのビデオデータの他
に、このビデオデータに対し操作者の意図する処理をな
すための複数のコマンドをコマンドメニュー(230M)と
して第5図に示すように画面上に表すためのメニューデ
ータが記憶されている。
(212) is created as described later with respect to the data for one screen taken into this buffer RAM (211).
It is a video RAM that stores converted digital video data converted into data representing the color of each dot by a color palette of colors. In this case, in the video RAM (212), in addition to the video data from the frame data creation section (100), a plurality of commands for performing processing intended by the operator on the video data are provided in a command menu (230M). As shown in FIG. 5, menu data to be displayed on the screen is stored.

(213)はこのビデオRAM(212)のコントローラであ
り、夫々データバス(205)と接続されている。
Reference numeral (213) is a controller of the video RAM (212), which is connected to the data bus (205).

(214)はカラーパレットメモリで、これには後述する
ようにして設定された16色のビデオデータ、即ち3原色
信号R,G,Bが夫々4ビットのデジタル信号で表現される
データが16色分記憶されている。
(214) is a color palette memory in which 16 colors of video data set as described later, that is, data in which each of the three primary color signals R, G, and B is represented by a 4-bit digital signal is 16 colors Minutes are remembered.

また、(215)はビデオRAM(212)に記憶されている変
換デジタルビデオデータから幾何図形コード及びその属
性コードからなるNAPLPSのPDIコードに変換されたデー
タを記憶するRAMである。
Further, (215) is a RAM for storing the data converted from the converted digital video data stored in the video RAM (212) to the NAPLPS PDI code including the geometric figure code and its attribute code.

(216)は外部入力装置としてのタブレットで、このタ
ブレット(216)はモニタ受像機(230)の画面上の位置
を指定する座標入力装置である。この座標入力装置とし
てはタブレットではなくいわゆるマウスその他の入力装
置であってもよい。
(216) is a tablet as an external input device, and this tablet (216) is a coordinate input device for designating a position on the screen of the monitor receiver (230). The coordinate input device may be a so-called mouse or other input device instead of the tablet.

このタブレット(216)で前述のコマンドメニューの一
つのコマンドを選択すれば、そのコマンドが実行される
ようにされるものである。即ち、ビデオRAM(212)のア
ドレスをこのタブレット(216)上でスタイラスによっ
て指定することができるようにされており、スタライス
で指定した画面上の位置はカーソルにより画面中に表示
される。このタブレット(216)はインターフェース(2
21)を介してデータバス(205)に接続されている。
When one command of the above-mentioned command menu is selected on the tablet (216), the command is executed. That is, the address of the video RAM (212) can be designated by the stylus on the tablet (216), and the position on the screen designated by Stalice is displayed on the screen by the cursor. This tablet (216) has an interface (2
21) and is connected to the data bus (205).

(217)はフロッピーディスクで、RAM(215)に記憶さ
れている1画面分毎のNAPLPSのコードを記憶しておき、
またこれから読み出すことができるようにされているも
ので、これもインターフェース(222)を介してデータ
バス(205)と接続されている。
(217) is a floppy disk in which the NAPLPS code for each screen stored in the RAM (215) is stored.
It is also designed to be readable, which is also connected to the data bus (205) via the interface (222).

(218)はモデムであり、RAM(215)のNAPLPSのコード
を変調して、例えば電話線を通じて送信するようにする
もので、これもインターフェース(223)を介してデー
タバス(205)と接続されている。
(218) is a modem for modulating the NAPLPS code of the RAM (215) and transmitting it through, for example, a telephone line, which is also connected to the data bus (205) via the interface (223). ing.

そして、(220)はフレームデータ作成部(100)からの
1画面分のデジタルビデオデータを取り込むためのイン
ターフェースであり、これを通じてデータバス(205)
に供給されたビデオデータはバッファRAM(211)に生デ
ータとして先ず取り込まれる。
Further, (220) is an interface for taking in one screen of digital video data from the frame data creation section (100), and through this, the data bus (205)
The video data supplied to is first taken into the buffer RAM (211) as raw data.

G2 カラーパレットの自動定義の説明 以上のように構成されるビデオテックス装置において、
第2図に示すようなフローチャートに従ってフレームデ
ータ作成部(100)からの4096色が表現可能な12ビット
のビデオデータに対し設定されたカラーパレットに従っ
て16色で表現されるカラー画像データが作成される。
Explanation of automatic definition of G 2 color palette In the videotex device configured as above,
According to the flowchart as shown in FIG. 2, color image data represented by 16 colors is created according to a color palette set for 12-bit video data capable of expressing 4096 colors from the frame data creation unit (100). .

即ち、先ずフレームデータの作成部(100)のフィール
ドメモリ(106)よりビデオテックス装置(200)におい
て、タブレット(216)によりメニュー(230M)上で選
択された指令に応じて1画面分のビデオデータがインタ
ーフェース(220)を介してデータバス(205)に取り込
まれる(ステップ〔301〕)。
That is, first, in the videotex device (200) from the field memory (106) of the frame data creation unit (100), the video data for one screen is displayed according to the command selected on the menu (230M) by the tablet (216). Is taken into the data bus (205) via the interface (220) (step [301]).

こうして取り込まれたデータはバッファRAM(211)に転
送されて一時ストアされる(ステップ〔302〕)。
The data thus fetched is transferred to the buffer RAM (211) and temporarily stored (step [302]).

そして、次のようにしてこのバッファRAM(211)の1画
面分のデータの全てが用いられて表示色の16色が自動的
に割り付けられ、その選定された16色に基づいて作成さ
れた変換データがビデオRAM(212)に書き込まれる(ス
テップ〔303〕)。
Then, as shown below, all of the data for one screen of the buffer RAM (211) is used to automatically allocate 16 display colors, and the conversion created based on the selected 16 colors The data is written to the video RAM (212) (step [303]).

即ち、バッファRAM(211)に取り込まれたデータから各
ドット毎の色の出現頻度がROM(203)のプログラムに従
って求められ、その頻度数の高い色から順に上位16色の
デジタルビデオデータ(12ビット)がカラーパレットメ
モリ(214)に書き込まれる。
That is, the appearance frequency of the color of each dot is obtained from the data loaded into the buffer RAM (211) according to the program of the ROM (203), and the higher 16 colors of digital video data (12 bits ) Is written to the color palette memory (214).

こうして、カラーパレットメモリ(214)に記憶された
全画面の画像データから自動的に選ばれた16色のデータ
によってバッファRAM(211)の生データの各ドットの色
が再色付けされる。
In this way, the color of each dot of the raw data of the buffer RAM (211) is recolored by the data of 16 colors automatically selected from the image data of the entire screen stored in the color palette memory (214).

この場合、各ドットの情報がバッファRAM(212)のビデ
オデータの元の色に対し最も近いカラーパレットメモリ
(214)の16色の内の1色のデータに変換される。そし
て、この再色付けされたビデオデータに相当するデータ
がビデオRAM(212)に各ドットのデータとして書き込ま
れる。このビデオRAM(212)に記憶されるデータは12ビ
ットのビデオデータではなく、カラーパレットメモリ
(214)のその変換される色のビデオデータのアドレス
データ(4ビット)である。こうして、ビデオRAM(21
2)にはバッファRAM(211)の1ドット12ビットの生デ
ータに対し、1ドット4ビットの変換ビデオデータが書
き込まれることになる。
In this case, the information of each dot is converted into data of one color out of 16 colors in the color palette memory (214) which is closest to the original color of the video data in the buffer RAM (212). Then, data corresponding to the recolored video data is written in the video RAM (212) as data of each dot. The data stored in the video RAM (212) is not the 12-bit video data but the address data (4 bits) of the converted color video data in the color palette memory (214). In this way, video RAM (21
In 2), the converted video data of 1 dot 4 bits is written to the raw data of 1 dot 12 bits of the buffer RAM (211).

そして、タブレット(216)において、第5図に示すよ
うにモニタ受像機(230)の画面上の下部に表示された
コマンドメニュー(230M)においてタブレット(216)
でこの再色付けした画像を表示するコマンドを選定した
ときは、選択回路(231)が図の状態とは逆の状態に切
り換えられる。そして、コントローラ(213)の制御に
従ってビデオRAM(212)より水平及び垂直方向に順次各
ドットの色指定のためのアドレスデータが読み出され、
そのアドレスデータによりカラーパレットメモリ(21
4)より選定された色データ(即ち3原色信号R,G,Bが4
ビットで表された信号)が得られ、これがD/Aコンバー
タ(233)によってアナログ信号に戻され、このアナロ
グ3原色信号R,G,Bが選択回路(231)を介してモニタ受
像機(230)に供給されて、その画面に再色付け画像が
映出される。
Then, as shown in FIG. 5, in the tablet (216), the tablet (216) is displayed in the command menu (230M) displayed on the lower part of the screen of the monitor receiver (230).
When the command for displaying the recolored image is selected, the selection circuit (231) is switched to the state opposite to that shown in the figure. Then, under the control of the controller (213), the address data for specifying the color of each dot is sequentially read out in the horizontal and vertical directions from the video RAM (212),
Color palette memory (21
4) The color data selected from (that is, the three primary color signals R, G, B are 4
A signal expressed in bits) is obtained, and this is converted back into an analog signal by the D / A converter (233), and the analog three primary color signals R, G, B are sent via the selection circuit (231) to the monitor receiver (230). ), The recolored image is displayed on the screen.

このとき、画面にはRAM(212)に記憶されているメニュ
ー(230M)も映出することができるようにされている。
At this time, the menu (230M) stored in the RAM (212) can also be displayed on the screen.

こうして、全画面のデータから作成されたカラーパレッ
トに基づいて作成した新たな再色付け画像がモニタ受像
機(230)の画面上に表示されることになる。
In this way, a new recolored image created based on the color palette created from the data of the entire screen is displayed on the screen of the monitor receiver (230).

次にマニュアル修整が必要かどうか判別される(ステッ
プ〔304〕)。表示画面を見て修正の必要があるとユー
ザーが判断するときはタブレット(216)で第5図のよ
うにメニューを表示させるようにスタイラスを動かし、
修正コマンドをヒットする。すると、修正必要ありと判
別され、装置はマニュアル修正モードになる(ステップ
〔305〕)。
Next, it is determined whether manual modification is necessary (step [304]). When the user sees the display screen and determines that it needs to be corrected, move the stylus on the tablet (216) to display the menu as shown in Fig. 5,
Hit the modify command. Then, it is determined that the correction is necessary, and the apparatus enters the manual correction mode (step [305]).

画面を見てマニュアル修正の必要がなければタブレット
(216)で次の画像データの処理のためのコマンドがヒ
ットされ、それでカラーパレットの定義は終了する。
If there is no need for manual correction on the screen, the command for processing the next image data is hit on the tablet (216), and the definition of the color palette is completed.

G3 カラーパレットのマニュアル修正の説明 第3図はマニュアル修正のフローチャートである。Description Figure 3 of G 3 color palette manual modification is a flow chart of the manual modification.

このマニュアル修正モードにおいては、カラーパレット
の指定に特に重要視したいエリアを指定することができ
ると共に、その画像の中の特定の色をもカラーパレット
の1色として使うことができるようにする機能が備えら
れている。
In this manual correction mode, there is a function that allows you to specify an area that you want to attach particular importance to when specifying a color palette and also use a specific color in the image as one color of the color palette. It is equipped.

先ず、色付けしたいエリアが指定されているかどうかが
判別される(ステップ(401))。
First, it is judged whether or not the area to be colored is designated (step (401)).

ユーザーはエリア指定をしたいときは前述した画面上の
コマンドメニュー(230M)の内、例えばMASKというコマ
ンドをタブレット(216)のスタイラスによってヒット
する。そして、カラーパレットの定義に使用しない部
分、例えば第5図の画面の人物画の背景部分をタブレッ
ト(216)においてスタイラスで塗りつぶす。すると塗
りつぶされた部分以外の人物画部分のバッファRAM(21
1)のアドレスが指定されることになり、このバッファR
AM(211)よりその人物画部分のデジタルビデオ情報が
読み出され、このデジタルビデオ情報の各ドットの色の
出現頻度のヒストグラムが再び作成される(ステップ
〔402〕)。そして、この作成されたヒストグラムより
得られる頻度数が全画面情報から自動選出された各色の
頻度数に重畳され、その重畳されたものの上位16色が選
出され直される(ステップ(403))。
When the user wants to specify the area, the command "MASK" in the command menu (230M) on the screen described above is hit by the stylus of the tablet (216). Then, a portion not used for the definition of the color palette, for example, the background portion of the human figure on the screen of FIG. 5 is filled with the stylus on the tablet (216). Then, the buffer RAM (21
The address of 1) will be specified, and this buffer R
The digital video information of the human figure portion is read from the AM (211), and a histogram of the appearance frequency of the color of each dot of this digital video information is created again (step [402]). Then, the frequency count obtained from the created histogram is superimposed on the frequency count of each color automatically selected from the entire screen information, and the upper 16 colors of the superimposed colors are re-selected (step (403)).

こうして、背景部分以外の人物の顔面及び人物の頭部の
カラー画像情報のみからカラーパレットが再び作成し直
されることになり、カラーパレットメモリ(214)には
その作成し直された16色のデータが書き込まれる。
In this way, the color palette is recreated only from the color image information of the face and the head of the person other than the background portion, and the recreated 16-color data is stored in the color palette memory (214). Is written.

そして、この新たに定義されたカラーパレットが前述し
た第5図の画面上の下部のメニュー(230M)の一番上の
部分に表示される。このとき、色の配列順序もヒストグ
ラムに従って変えられることになる。
Then, this newly defined color palette is displayed in the uppermost part of the lower menu (230M) on the screen of FIG. 5 described above. At this time, the arrangement order of colors is also changed according to the histogram.

また、画面も新たに作成し直されたカラーパレットの16
色によって再色付けし直されたビデオRAM(212)のデー
タに応じてその色調が変えられる画像となる。
In addition, the screen has been newly recreated with a color palette of 16
The image becomes an image whose color tone is changed according to the data of the video RAM (212) recolored by the color.

さらに、この画像を見て、例えば唇の色とか眼の色とか
特定の色部分が元の画像と異なる場合等において、その
元の画像の色に直したいときは、その特定の色部分は次
のようにしてカラーパレットの16色の1つとして加える
ことができる。この場合に元の画面の色と作成した画面
の色の違いを比較するためタブレット(216)上でスタ
イラスによりコマンドメニュー(230M)をヒットするこ
とにより選択回路(231)が切り換えられてフレームデ
ータ作成部(100)からの本来の画像の色と、再色付け
したビデオRAM(212)の画像データによる色が比較でき
ることになる。
Furthermore, when looking at this image, if you want to restore the color of the original image, such as when the color of the lips, the color of the eyes, or a specific color part is different from the original image, the specific color part is You can add it as one of the 16 colors in the color palette. In this case, to compare the difference between the original screen color and the created screen color, hit the command menu (230M) with the stylus on the tablet (216) to switch the selection circuit (231) and create the frame data. The color of the original image from the copy (100) and the color of the recolored image data of the video RAM (212) can be compared.

そして、特定の色をカラーパレット上に加えるコマンド
がタブレット(216)で選択されたかどうか判別される
(ステップ〔404〕)。タブレット(216)でコマンドメ
ニュー(230M)において、そのコマンドをヒットする
と、ステップ〔405〕に進み、特定色の追加のモードに
なる。ステップ〔405〕ではセレクタ(231)を図の状態
にして元のフレームデータ作成部(100)からの画像を
モニタ受像機(230)の画面上に表示した状態におい
て、あるいは新たに作成した画像において、元の特定色
を追加したい部分例えば唇の部分をヒットする。する
と、そのアドレスがバッファRAM(211)において指定さ
れ、カラーパレットはこのバッファRAM(211)から読み
出された12ビットのビデオデータが例えばカラーパレッ
トメモリ(214)に記憶されているデータのうち頻度数
の最も低いビデオデータと交換されて、16色の選出がや
り直される。眼の色も加えたいときは、この部分もタブ
レット(216)でスタイラスをヒットすれば同様にして
カラーパレットメモリ(214)にその眼の色のオリジナ
ルの色のビデオデータが強制的に16色のうちの1色とし
て定義されることになる。以上はステップ〔405〕及び
ステップ〔406〕でなされる。
Then, it is judged whether or not a command for adding a specific color to the color palette is selected by the tablet (216) (step [404]). When the command is hit on the command menu (230M) on the tablet (216), the process proceeds to step [405], and the mode for adding a specific color is entered. In step [405], with the selector (231) in the state shown in the figure, the image from the original frame data creation unit (100) is displayed on the screen of the monitor receiver (230), or in the newly created image. , Hit the part where you want to add the original specific color, such as the lip part. Then, the address is specified in the buffer RAM (211), and the color palette is the frequency of the 12-bit video data read from the buffer RAM (211) among the data stored in the color palette memory (214). Exchanged with the lowest number of video data, selection of 16 colors is redone. If you also want to add eye color, hit the stylus with the tablet (216) in this part as well, and in the same way, the video data of the original color of that eye color is forcibly forced to 16 colors in the color palette memory (214). It will be defined as one of the colors. The above is performed in step [405] and step [406].

こうして選出し直された16色から改めてバッファRAM(2
11)のデータに対してその16色からなるビデオデータが
作成され、これがビデオRAM(212)に記憶され直される
ことになり(ステップ〔407〕)、そのビデオRAM(21
2)に記憶されたデータによる画像がモニタ受像機(23
0)の画面に映出される。
The buffer RAM (2
Video data of 16 colors is created for the data of 11), and this is stored again in the video RAM (212) (step [407]).
2) The image based on the data stored in
0) is displayed on the screen.

このとき、16色全てを用いるのではなく16色の内、例え
ば14色を用いてビデオRAM(212)のビデオ情報を作成す
ることもできる。その場合には、タブレット(216)に
よってメニュー(230M)上に表示されている16色のうち
使用する色をヒットして指定すればよい。
At this time, the video information of the video RAM (212) can be created by using, for example, 14 colors out of 16 colors instead of using all 16 colors. In that case, the tablet (216) may be used to hit and specify the color to be used among the 16 colors displayed on the menu (230M).

以上により修正が終了すれば(ステップ〔408〕)修正
モードは完了し、カラーパレットの定義は終了し、修正
終了でなければステップ〔401〕〜〔407〕がくり返えさ
れることになる。
When the correction is completed as described above (step [408]), the correction mode is completed and the definition of the color palette is completed. If the correction is not completed, steps [401] to [407] are repeated.

こうして、ビデオRAM(212)に16色又は16色より少ない
色で表現されたカラービデオデータに等しいデータが取
り込まれることになる。
Thus, the video RAM (212) is loaded with data equal to the color video data represented by 16 colors or less than 16 colors.

そして、このビデオRAM(212)からのデータがマイクロ
コンピュータ(201)のROM(203)のプログラムに従っ
て前述した5種類の基本幾何図形からなる図形コードと
色、大きさ及びその座標位置等を示す属性コードからな
るNAPLPS方式のコードにエンコードされ、そのエンコー
ドされたコードがRAM(215)に書き込まれる。さらに、
場合に応じてインターフェース(222)を通じて、このN
APLPSコードの画像データがデータ画像ファイルとして
フロッピーディスク(217)にストアされる。
Then, the data from the video RAM (212) is represented by the program of the ROM (203) of the microcomputer (201), and the figure code consisting of the above-mentioned five types of basic geometric figures and the attributes indicating the color, the size, and the coordinate position thereof. The code is encoded into a NAPLPS system code, and the encoded code is written in the RAM (215). further,
This N through the interface (222) depending on the case
The image data of the APLPS code is stored in the floppy disk (217) as a data image file.

こうして作成されたNAPLPSのコードはタブレット(21
6)で送りのコマンドをヒットしたとき、モデム(218)
に送出され変調されて電話線を通じて送られることにな
る。
The NAPLPS code created in this way is a tablet (21
6) When the send command is hit by the modem (218)
Will be transmitted to and modulated over the telephone line.

なお、オリジナルの色に置き換えたい部分を指定できる
個所はカラーパレットとして定義できる色が16色から当
然のように16個所までできる。
In addition, the place where you can specify the part you want to replace with the original color can be defined from 16 colors as a color palette to 16 places as a matter of course.

また、カラーパレットの定義に関係しない部分を指定す
るモードにおいてカラーパレットの定義から除外した領
域に対しても特定のオリジナルの色を指定する動作は行
うことができる。
Further, in the mode for designating a part unrelated to the definition of the color palette, the operation of designating a specific original color can be performed even for the area excluded from the definition of the color palette.

G4 機能ブロック図の説明 第4図は以上説明したフローチャートに従って機能をブ
ロック図的に示した図で、フレームデータ作成部(10
0)からの入力デジタルビデオ信号が入力端(500)を通
じてバッファRAM(501)に供給され、このバッファRAM
(501)のアドレスを外部入力装置であるタブレット(5
02)によってアドレス指定回路(503)を介して指定
し、指定された位置及びエリア内の情報がバッファRAM
(501)から読み出され、その読み出された情報からヒ
ストグラムがヒストグラム作成回路(504)において作
成される。そして、その作成されたヒストグラムから上
位16色が選定回路(505)において選定され、この選定
回路(505)により選定された16色がカラーパレットメ
モリ(506)に記憶される。そして、この選定された16
色からバッファRAM(501)の1画面分のデータ全てにつ
いて、ビデオRAM(507)に16色で表現された、すなわち
カラーパレットメモリ(506)のアドレスデータ(4ビ
ット)で表現されたビデオデータが形成されて書き込ま
れ、これがNAPLPS方式のエンコーダ(508)に供給され
て図形コード及び属性コードとして表現されるコードに
変換され、そのコードがバッファRAM(509)に記憶され
る。そして変調回路(510)を介して伝送線、例えば電
話ケーブルに送出される。
G 4 Description of functional block diagram Fig. 4 is a block diagram showing the functions according to the flowchart described above.
The input digital video signal from (0) is supplied to the buffer RAM (501) through the input terminal (500), and this buffer RAM
The address of (501) is the tablet (5
02) is specified via the addressing circuit (503), and the information in the specified position and area is stored in the buffer RAM.
The histogram is read from (501), and a histogram is created in the histogram creating circuit (504) from the read information. Then, the upper 16 colors are selected by the selection circuit (505) from the created histogram, and the 16 colors selected by the selection circuit (505) are stored in the color palette memory (506). And this selected 16
Video data represented by 16 colors in the video RAM (507), that is, represented by the address data (4 bits) of the color palette memory (506) for all the data for one screen of the color in the buffer RAM (501) After being formed and written, it is supplied to the NAPLPS encoder (508) and converted into a code expressed as a graphic code and an attribute code, and the code is stored in the buffer RAM (509). Then, it is sent to a transmission line, for example, a telephone cable via the modulation circuit (510).

またビデオRAM(507)の4ビットの信号がアドレスとし
てカラーパレットメモリ(506)に供給されて、各ドッ
トの3原色情報がこのカラーパレットメモリ(506)よ
り読み出され、これがD/Aコンバータ(511)によってア
ナログ信号に変換されて、そのアナログ信号がモニタ受
像機(512)に供給されてその画面上に映出されるよう
にされる。
Further, the 4-bit signal of the video RAM (507) is supplied to the color palette memory (506) as an address, and the three primary color information of each dot is read out from the color palette memory (506), which is the D / A converter ( It is converted into an analog signal by 511) and the analog signal is supplied to a monitor receiver (512) so that it is displayed on the screen.

また、タブレット(502)で特定の画面部分をヒットし
た場合に、そのアドレスが指定されてその部分がバッフ
ァRAM(501)から読み出されると共に特定色設定回路
(513)にそのデータが取り込まれ、そのデータがN色
選定回路(505)に供給されて強制的に16色の内の1色
として定義され、カラーパレットメモリ(506)に書き
込まれる。したがって、この特定色が強制的に16色の内
の1色とされ、これによってビデオRAM(507)の情報が
再び書き改められることになる。
When the tablet (502) hits a specific screen portion, the address is specified, the portion is read from the buffer RAM (501), and the data is loaded into the specific color setting circuit (513). The data is supplied to the N color selection circuit (505) and is forcibly defined as one color out of 16 colors and written in the color palette memory (506). Therefore, this specific color is forcibly set to one of 16 colors, which causes the information in the video RAM (507) to be rewritten again.

なお、1画面分の情報からカラーパレットを定義する説
明はしなかったが、前述したようにヒストグラム作成回
路(504)において外部入力装置であるタブレット(50
2)からエリア指定しないときは全画面分の情報に基づ
いたヒストグラムが作成され、カラーパレットが自動的
に定義されることは勿論である。
Although a description has been given of defining a color palette from information for one screen, as described above, in the histogram creation circuit (504), the tablet (50
If the area is not specified from 2), of course, a histogram is created based on the information for the entire screen, and the color palette is automatically defined.

〔発明の効果〕〔The invention's effect〕

以上のようにこの発明によれば、1画面分の全画面情報
からカラーパレットを定義する表示色を選出するだけで
はなく、ユーザが重視したい部分をエリア指定すること
により、そのエリア部分を重視したカラーパレットの定
義を行うことができるととも元の画像の特定のオリジナ
ルの色をカラーパレットの1色として定義することも可
能であるので、ユーザの意図的な色付けがなされたビデ
オテックス等画像作成装置を得ることが可能になるもの
である。
As described above, according to the present invention, not only the display color that defines the color palette is selected from the full screen information for one screen, but also the area that the user wants to emphasize is designated, and the area is emphasized. Since it is possible to define a color palette and also to define a specific original color of the original image as one color of the color palette, image creation such as videotex with user's intentional coloring is made. It is possible to obtain the device.

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

第1図はこの発明装置の一例のブロック図、第2図及び
第3図はその動作のフローチャートを示す図、第4図は
この発明装置の機能を構成的に示したブロック図、第5
図は表示画面の一例を説明するための図である。 (201)はマイクロコンピュータ、(230)はモニタ受像
機、(211)はバッファRAM、(212)はビデオRAM、(21
4)はカラーパレットメモリ、(216)はタブレットであ
る。
FIG. 1 is a block diagram of an example of the device of the present invention, FIGS. 2 and 3 are flowcharts showing the operation thereof, and FIG. 4 is a block diagram showing the function of the device of the present invention in a structural manner.
The figure is a diagram for explaining an example of a display screen. (201) is a microcomputer, (230) is a monitor receiver, (211) is a buffer RAM, (212) is a video RAM, (21
4) is a color palette memory, and (216) is a tablet.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】(a) マイクロコンピュータと、 (b) モニタ受像機と、 (c) 1画面分の入力ビデオデータを記憶できるメモ
リと、 (d) このメモリのアドレスに対応する上記モニタ受
像機の画面上の位置を指定できる外部入力装置と、 (e) この外部入力装置で指定されたエリア内の画面
データ中の色の出現頻度を求める手段と、 (f) この出現頻度を求める手段の出力情報より出現
頻度の高い色から上位N色を選出する手段と、 (g) 上記外部入力装置で指定した特定の画像部分の
色を上記表示色のうちの1つとして強制的に設定する手
段と、 (h) 上記入力ビデオデータを上記N色以下の色で表
現した変換ビデオデータを作成する手段と、 (i) この変換ビデオデータのその画像情報をエンコ
ードして伝送データに変換するエンコード手段とからな
る画像作成装置。
1. A microcomputer, (b) a monitor receiver, (c) a memory capable of storing input video data for one screen, and (d) the monitor receiver corresponding to an address of this memory. An external input device capable of designating a position on the screen of (e) a means for obtaining the appearance frequency of a color in screen data in an area designated by the external input device, and (f) a means for obtaining the appearance frequency. Means for selecting upper N colors from colors having a higher appearance frequency than output information, and (g) Means for forcibly setting the color of a specific image portion designated by the external input device as one of the display colors. And (h) means for creating converted video data in which the input video data is represented by the N or less colors, and (i) encoding the image information of the converted video data to convert it into transmission data. Image creating apparatus comprising a encoding means.
JP60050804A 1985-03-14 1985-03-14 Image creation device Expired - Fee Related JPH0720239B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60050804A JPH0720239B2 (en) 1985-03-14 1985-03-14 Image creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60050804A JPH0720239B2 (en) 1985-03-14 1985-03-14 Image creation device

Publications (2)

Publication Number Publication Date
JPS61210779A JPS61210779A (en) 1986-09-18
JPH0720239B2 true JPH0720239B2 (en) 1995-03-06

Family

ID=12868957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60050804A Expired - Fee Related JPH0720239B2 (en) 1985-03-14 1985-03-14 Image creation device

Country Status (1)

Country Link
JP (1) JPH0720239B2 (en)

Also Published As

Publication number Publication date
JPS61210779A (en) 1986-09-18

Similar Documents

Publication Publication Date Title
US4642680A (en) Method and system for processing image data stored in RGB form
JPS59197085A (en) Color image altering apparatus
JPH03502617A (en) Method and device for operating video image signals
JPH0720239B2 (en) Image creation device
JPH0325493A (en) Color display
US20080117967A1 (en) Moving image data controlling apparatus and method
JPS61208578A (en) Image forming device
JPH0763185B2 (en) Image processing device
JP4708743B2 (en) projector
JPH0574857B2 (en)
JP2703219B2 (en) Image processing device
JPH0580016B2 (en)
EP0185328B1 (en) Display control system
KR930008176B1 (en) Apparatus for encoding image signal
JPS61214672A (en) Picture encoder
JP2911126B2 (en) Image display device
JPS61214679A (en) Picture data forming device
JPH0321942B2 (en)
JPS61223894A (en) Contrast conversion control system
JP2633538B2 (en) Image editing device
JPS5848101B2 (en) Zukei Hatsuseisouchi
McArthur Computer-based Video Synthesizer System
JPH05199506A (en) Transmitting image processing method
JPH0720240B2 (en) Image creation device
JPH0546757B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees