JP3575889B2 - Color addition circuit in image processing - Google Patents

Color addition circuit in image processing Download PDF

Info

Publication number
JP3575889B2
JP3575889B2 JP27363895A JP27363895A JP3575889B2 JP 3575889 B2 JP3575889 B2 JP 3575889B2 JP 27363895 A JP27363895 A JP 27363895A JP 27363895 A JP27363895 A JP 27363895A JP 3575889 B2 JP3575889 B2 JP 3575889B2
Authority
JP
Japan
Prior art keywords
circuit
background image
information
color
palette
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
JP27363895A
Other languages
Japanese (ja)
Other versions
JPH0984956A (en
Inventor
修二 窪田
Original Assignee
株式会社タイトー
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 株式会社タイトー filed Critical 株式会社タイトー
Priority to JP27363895A priority Critical patent/JP3575889B2/en
Publication of JPH0984956A publication Critical patent/JPH0984956A/en
Application granted granted Critical
Publication of JP3575889B2 publication Critical patent/JP3575889B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Closed-Circuit Television Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ビデオゲーム機等の画像処理装置における色加算回路に関する。
【0002】
【従来の技術】
ゲーム機等の画像処理においては、一般に、データ点である1つのピクセルに対して1つのカラーパレット番号,カラーコードが指定され、その指定された色が出力される。もし、他の色で表現するならば、そのパレット番号やカラーコードを変える必要がある。
パレット番号,カラーコード指定により1つの色を表現している1つのピクセルに、他のキャラクタが重なる場合、キャラクタが半透明の色付きのものであるならば、上記ピクセルはその色を加算した色にならねばならない。
色加算はこのように2つの色を重ねて他の色を作り出すものであるが、これを画面上で実現できることが望まれる。
【0003】
この色加算の手法は従来より種々のものが考えられている。
図4は、従来より考えられている色加算回路の一例を示す回路ブロック図である。
背景画とオブジェクトについて色加算をする場合、同じ位置の画素情報をそれぞれ優先回路21,22に入力して表示優先度を決める。2つのパレット回路23,24では優先回路21,22からのパレット番号,カラーコードによりそれぞれRGB信号が出力される。これらRGB信号は、加算部25で色加算され、混合された色が出力される。
【0004】
【発明が解決しようとする課題】
従来より考えられている色加算回路は、このようにオブジェクトと背景画の優先回路,パレット回路をそれぞれ経由した後、色加算を行うので、色加算のために優先回路,パレット回路をそれぞれ2個備える必要があり、回路構成が複雑となり低価格化が要請されていた。
本発明の目的は、上記要請に応えるもので、1つの優先回路(オブジェクト・背景画切替手段),パレット回路を用いて色加算することにより回路を簡易にして低価格化を実現できる画像処理における色加算回路を提供することにある。
【0005】
【課題を解決するための手段】
前記目的を達成するために本発明による画像処理における色加算回路は、背景画,オブジェクトの画素の色を重ねる画像処理における色加算回路において、オブジェクト情報および背景画情報の表示画面上の同じ画素位置の画素情報を交互に切り替え出力するオブジェクト・背景画切替手段と、前記オブジェクト・背景画切替手段から出力される画素情報に基づきRGB信号を出力するパレット回路と、前記パレット回路から出力され、オブジェクト情報および背景画情報の同じ画素位置の一方のRGB信号を保持する保持手段と、前記保持手段に保持したオブジェクト情報および背景画情報の同じ画素位置の一方のRGB信号と、つぎに前記パレット回路から出力されるオブジェクト情報および背景画情報の同じ画素位置の他方のRGB信号とを加算する加算回路とから構成されている。
【0006】
上記構成によれば、例えばスリガラスに模様を書いたものを背景画の前におくと、その背景画はスリガラスの模様を重ね合わせたような感じの色に見えなければならないが、簡単な構成で上記の色加算を実現できる。
【0007】
【発明の実施の形態】
以下、図面を参照して本発明をさらに詳しく説明する。
図1は、本発明による画像処理における色加算回路を用いたゲーム機の全体ブロック図である。
コイン関連装置15にコインが投入されると、入出力制御装置13を介してCPU11に伝達され、ゲームが起動される。バックアップメモリ12にはコイン数・プレイ数・難易度の設定値が格納される。CPU11はプログラムROM16よりゲーム全体を制御するプログラムを読み出し、読み出したプログラムにしたがってビデオ制御回路9を制御し初期画面をCRT10に表示させる。
ワークRAM17はCPU11が演算をする場合に用いられるエリアである。
【0008】
コミュニケーションRAM18は、サウンドに関するCPU11の指令を格納するもので、CPU11がサウンド状況を確認するときに用いられる。
サウンドシステム回路19によりサウンドが生成され、スピーカ20よりサウンドが出力される。
ビデオ制御回路9に接続されるキャラクタROM8は、背景画を構成するキャラクタ(16×16ドット)を格納しており、スクリーンRAM7より読み出されたアドレスのキャラクタが読み出される。スクリーンRAM7は、N枚の背景画を持っており、これらを重ね合わせることにより奥行き感のある画面を演出することができる。バッファ回路6はビットマップ形メモリで、当該フレームを表示するOBJキャラクタを格納している。
【0009】
上記スクリーンRAM7に基づき読み出されたキャラクタとバッファ回路6より読み出されたオブジェクトが後述の本発明による加算回路で処理されてCRT10に表示される。
本発明による加算回路は、オブジェクト・背景画切替回路1,パレット回路2,フリップフロップ回路3,加算器4およびD/A変換キャラクタ5より構成されている。
バッファ回路6から読み出されたオブジェクトと背景画のキャラクタとの画素の位置が同じ場合、同じタイミングでオブジェクト・背景画切替回路1に入力する。オブジェクト・背景画切替回路1,パレット回路2,フリップフロップ回路3および加算器4は、他の回路の速度(クロック周波数f)に対し2倍の速度(クロック周波数f=2f)で動作するようになっている。
【0010】
図2は、本発明による画像処理における色加算回路の実施例を示す回路ブロック図である。
オブジェクト・背景画切替回路1では他の回路の1サイクル時間の半分の周期がオブジェクト側に切り替えられ、残りの半分の周期が背景画側に切り替えられる。まず、オブジェクト情報がドット単位(各ドット毎にパレット番号とカラーコード情報を持っている)でパレット回路2に入力される。
パレット回路2は図3に示すようなパレット番号とカラーコードから指定されるRGB信号が格納されている。
したがって、ドット単位でパレット回路2からオブジェクト情報に基づくRGB信号が読み出され、フリップフロップ回路3a,3bおよび3cに保持される。
【0011】
つぎの半分の周期で背景画情報がドット単位でパレット回路2に入力し、同様にRGB信号が読み出される。
加算器4a,4bおよび4cにはパレット回路2からの背景画情報に基づくRGB信号と、フリップフロップ回路3a,3bおよび3cに保持されているオブジェクト情報に基づくRGB信号が入力され、それぞれ加算される。
加算出力はD/A変換器5でアナログ信号に変換されてCRTに送られる。
つぎの重なる画素に対しも同様に他の回路の1サイクル時間の半分の周期でオブジェクト情報のRGB信号が読み出され,残りの半分の周期で背景画のRGB信号が読み出されて色加算され、各重なる画素に対しこの動作が繰り返される。
なお、オブジェクト情報と背景画情報とが重なっていない場合には、オブジェクト・背景画切替回路1には異なるタイミングで入力するため、パレット回路2,フリップフロップ回路3および加算器4で加算されることはない。
【0012】
【発明の効果】
以上、説明したように本発明は、背景画,オブジェクトの画素の色を重ねる画像処理における色加算回路において、オブジェクト情報および背景画情報の表示画面上の同じ画素位置の画素情報を交互に切り替え出力するオブジェクト・背景画切替手段と、前記オブジェクト・背景画切替手段から出力される画素情報に基づきRGB信号を出力するパレット回路と、前記パレット回路から出力され、オブジェクト情報および背景画情報の同じ画素位置の一方のRGB信号を保持する保持手段と、前記保持手段に保持したオブジェクト情報および背景画情報の同じ画素位置の一方のRGB信号と、つぎに前記パレット回路から出力されるオブジェクト情報および背景画情報の同じ画素位置の他方のRGB信号とを加算する加算回路とから構成されている。
したがって、優先回路,パレット回路は1系統となるため、従来の色加算回路に比較しコストを低減化できるという効果がある。
例えば、ガラスを通した背景画の表示に好適に表現できる。
この加算機能と解像度アップとをモードとして切り替えて用いることができる。
【図面の簡単な説明】
【図1】本発明による画像処理における色加算回路が用いられるゲーム機の全体ブロックを示す図である。
【図2】本発明による画像処理における色加算回路の実施例を示す回路ブロック図である。
【図3】パレット回路の詳細を示す回路図である。
【図4】従来の画像処理における色加算回路の一例を示す回路ブロック図である。
【符号の説明】
1…オブジェクト・背景画切替回路(優先回路)
2…パレット回路
3,3a,3b,3c…フリップフロップ回路
4,4a,4b,4c…加算器
5…D/A変換器
6…バッファ回路
7…背景画RAM
8…キャラクタROM
9…ビデオ制御回路
10…CRT
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color addition circuit in an image processing apparatus such as a video game machine.
[0002]
[Prior art]
In image processing such as a game machine, one color palette number and color code are generally designated for one pixel which is a data point, and the designated color is output. If it is expressed in other colors, it is necessary to change the palette number and color code.
If another character overlaps one pixel expressing one color by specifying the palette number and color code, if the character has a translucent color, the pixel will be the color obtained by adding that color. Must be.
In this way, color addition is to create two other colors by overlapping two colors, and it is desirable that this can be realized on the screen.
[0003]
Various methods of color addition have been conventionally considered.
FIG. 4 is a circuit block diagram showing an example of a color addition circuit which has been conventionally considered.
When color addition is performed for the background image and the object, the pixel information at the same position is input to the priority circuits 21 and 22, respectively, and the display priority is determined. The two palette circuits 23 and 24 output RGB signals based on the palette numbers and color codes from the priority circuits 21 and 22, respectively. These RGB signals are color-added by the adding unit 25, and a mixed color is output.
[0004]
[Problems to be solved by the invention]
The color adder circuit that has been considered in the past performs color addition after passing through the priority circuit and palette circuit of the object and background image in this way, so there are two priority circuits and palette circuits for color addition. It was necessary to prepare, the circuit configuration became complicated, and the price reduction was requested.
The object of the present invention is to meet the above-mentioned demand. In image processing that can simplify the circuit and realize low cost by adding colors using one priority circuit (object / background image switching means) and a palette circuit. The object is to provide a color addition circuit.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, the color addition circuit in the image processing according to the present invention is the same pixel position on the display screen of the object information and the background image information in the color addition circuit in the image processing for superimposing the colors of the pixels of the background image and the object. Object / background image switching means for alternately switching and outputting pixel information, a palette circuit for outputting RGB signals based on pixel information output from the object / background image switching means, and object information output from the palette circuit and holding means for holding one of the RGB signals of the same pixel position of the background picture information, and one of the RGB signals of the same pixel position of the object information and the background picture information held in the holding means, then output from the palette circuit the other RGB signals of the same pixel position of the object information and the background image information is It is composed of a summing circuit for adding and.
[0006]
According to the above configuration, for example, when a pattern written on ground glass is placed in front of the background image, the background image should look like a color that is superimposed on the ground glass pattern, but with a simple configuration The above color addition can be realized.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in more detail with reference to the drawings.
FIG. 1 is an overall block diagram of a game machine using a color addition circuit in image processing according to the present invention.
When a coin is inserted into the coin related device 15, it is transmitted to the CPU 11 via the input / output control device 13, and the game is started. The backup memory 12 stores setting values for the number of coins, the number of plays, and the difficulty level. The CPU 11 reads a program for controlling the entire game from the program ROM 16 and controls the video control circuit 9 according to the read program to display an initial screen on the CRT 10.
The work RAM 17 is an area used when the CPU 11 performs calculations.
[0008]
The communication RAM 18 stores a command of the CPU 11 relating to sound, and is used when the CPU 11 confirms the sound status.
Sound is generated by the sound system circuit 19, and the sound is output from the speaker 20.
The character ROM 8 connected to the video control circuit 9 stores characters (16 × 16 dots) constituting the background image, and the character at the address read from the screen RAM 7 is read out. The screen RAM 7 has N background images, and by superimposing these, a screen with a sense of depth can be produced. The buffer circuit 6 is a bitmap type memory and stores an OBJ character for displaying the frame.
[0009]
The character read based on the screen RAM 7 and the object read from the buffer circuit 6 are processed by an adder circuit according to the present invention described later and displayed on the CRT 10.
The adding circuit according to the present invention comprises an object / background image switching circuit 1, a palette circuit 2, a flip-flop circuit 3, an adder 4 and a D / A conversion character 5.
When the pixel positions of the object read from the buffer circuit 6 and the character of the background image are the same, they are input to the object / background image switching circuit 1 at the same timing. The object / background image switching circuit 1, the palette circuit 2, the flip-flop circuit 3, and the adder 4 are operated at a speed (clock frequency f 1 = 2f) that is twice the speed of the other circuits (clock frequency f). It has become.
[0010]
FIG. 2 is a circuit block diagram showing an embodiment of a color addition circuit in image processing according to the present invention.
In the object / background image switching circuit 1, half the cycle time of the other circuits is switched to the object side, and the remaining half cycle is switched to the background image side. First, object information is input to the palette circuit 2 in dot units (having a palette number and color code information for each dot).
The palette circuit 2 stores RGB signals designated by palette numbers and color codes as shown in FIG.
Therefore, the RGB signal based on the object information is read from the palette circuit 2 in dot units and held in the flip-flop circuits 3a, 3b and 3c.
[0011]
Background image information is input to the palette circuit 2 in dot units in the next half cycle, and the RGB signals are read out in the same manner.
The adders 4a, 4b and 4c are inputted with RGB signals based on the background image information from the palette circuit 2 and RGB signals based on the object information held in the flip-flop circuits 3a, 3b and 3c, and are respectively added. .
The added output is converted into an analog signal by the D / A converter 5 and sent to the CRT.
Similarly, for the next overlapping pixel, the RGB signal of the object information is read out with a half period of one cycle time of the other circuit, and the RGB signal of the background image is read out with the other half of the period, and the colors are added. This operation is repeated for each overlapping pixel.
If the object information and the background image information do not overlap, they are input to the object / background image switching circuit 1 at different timings, so that they are added by the palette circuit 2, the flip-flop circuit 3, and the adder 4. There is no.
[0012]
【The invention's effect】
As described above, the present invention alternately outputs pixel information at the same pixel position on the display screen of the object information and the background image information in the color addition circuit in the image processing for superimposing the colors of the background image and the object pixel. Object / background image switching means, a palette circuit that outputs RGB signals based on pixel information output from the object / background image switching means, and the same pixel position of the object information and background image information output from the palette circuit Holding means for holding one of the RGB signals, one RGB signal at the same pixel position of the object information and background image information held in the holding means, and then the object information and background image information output from the palette circuit It is composed of a summing circuit for adding the other RGB signals for the same pixel position of There.
Therefore, since the priority circuit and the palette circuit are one system, the cost can be reduced as compared with the conventional color addition circuit.
For example, it can be suitably expressed for display of a background image through glass.
This addition function and resolution enhancement can be switched and used as modes.
[Brief description of the drawings]
FIG. 1 is a diagram showing an overall block of a game machine using a color addition circuit in image processing according to the present invention.
FIG. 2 is a circuit block diagram showing an embodiment of a color addition circuit in image processing according to the present invention.
FIG. 3 is a circuit diagram showing details of a pallet circuit.
FIG. 4 is a circuit block diagram illustrating an example of a color addition circuit in conventional image processing.
[Explanation of symbols]
1. Object / background image switching circuit (priority circuit)
2 ... pallet circuit 3, 3a, 3b, 3c ... flip-flop circuit 4, 4a, 4b, 4c ... adder 5 ... D / A converter 6 ... buffer circuit 7 ... background image RAM
8 ... Character ROM
9 ... Video control circuit 10 ... CRT

Claims (1)

背景画,オブジェクトの画素の色を重ねる画像処理における色加算回路において、
オブジェクト情報および背景画情報の表示画面上の同じ画素位置の画素情報を交互に切り替え出力するオブジェクト・背景画切替手段と、
前記オブジェクト・背景画切替手段から出力される画素情報に基づきRGB信号を出力するパレット回路と、
前記パレット回路から出力され、オブジェクト情報および背景画情報の同じ画素位置の一方のRGB信号を保持する保持手段と、
前記保持手段に保持したオブジェクト情報および背景画情報の同じ画素位置の一方のRGB信号と、つぎに前記パレット回路から出力されるオブジェクト情報および背景画情報の同じ画素位置の他方のRGB信号とを加算する加算回路とを、
備えたことを特徴とする画像処理における色加算回路。
In the color addition circuit in the image processing that overlaps the color of the pixel of the background image and the object,
Object / background image switching means for alternately switching and outputting pixel information of the same pixel position on the display screen of object information and background image information,
A palette circuit that outputs RGB signals based on pixel information output from the object / background image switching means;
Holding means for holding one RGB signal at the same pixel position of the object information and the background image information output from the palette circuit;
One RGB signal at the same pixel position in the object information and background image information held in the holding means is added to the other RGB signal at the same pixel position in the object information and background image information output from the palette circuit. And an adder circuit to
A color addition circuit in image processing, comprising:
JP27363895A 1995-09-26 1995-09-26 Color addition circuit in image processing Expired - Fee Related JP3575889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27363895A JP3575889B2 (en) 1995-09-26 1995-09-26 Color addition circuit in image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27363895A JP3575889B2 (en) 1995-09-26 1995-09-26 Color addition circuit in image processing

Publications (2)

Publication Number Publication Date
JPH0984956A JPH0984956A (en) 1997-03-31
JP3575889B2 true JP3575889B2 (en) 2004-10-13

Family

ID=17530488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27363895A Expired - Fee Related JP3575889B2 (en) 1995-09-26 1995-09-26 Color addition circuit in image processing

Country Status (1)

Country Link
JP (1) JP3575889B2 (en)

Also Published As

Publication number Publication date
JPH0984956A (en) 1997-03-31

Similar Documents

Publication Publication Date Title
EP0592120B1 (en) Image processing system
US6181353B1 (en) On-screen display device using horizontal scan line memories
EP0590961B1 (en) Image processing apparatus
JP2579362B2 (en) Screen display device
JPH049096A (en) Dynamic pallet loading optical code system for display based on pixel
JP3575889B2 (en) Color addition circuit in image processing
JPH06103374A (en) Picture scaling device
JP2593427B2 (en) Image processing device
US5920302A (en) Display scrolling circuit
JPH06180569A (en) Image processor
JP3729187B2 (en) Image display device
JPH07311568A (en) Method and device for outputting image
JPS59143473A (en) Dot interpolation type picture processor
JPH09258708A (en) Dissolving display control device
JPH06295171A (en) Image processor
JP2650988B2 (en) Image display device
JP3017003B2 (en) Image processing device
JPH03105386A (en) Controller for display device
JP2000163033A (en) Picture display device
JPH08123400A (en) Display control device, storing method for displayed information and display device
JPH03282786A (en) Graphic display system
JPH11156023A (en) Color image display device for pachinko machine
JPH0863141A (en) Color image display method and video game device using the same
JPH03160495A (en) Image display device
JPH0616261B2 (en) Display controller

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040706

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees