JPH10214337A - Picture forming device - Google Patents

Picture forming device

Info

Publication number
JPH10214337A
JPH10214337A JP9028476A JP2847697A JPH10214337A JP H10214337 A JPH10214337 A JP H10214337A JP 9028476 A JP9028476 A JP 9028476A JP 2847697 A JP2847697 A JP 2847697A JP H10214337 A JPH10214337 A JP H10214337A
Authority
JP
Japan
Prior art keywords
color information
processing
blend
processing unit
filter
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.)
Withdrawn
Application number
JP9028476A
Other languages
Japanese (ja)
Inventor
Katsuhiro Miura
克宏 三浦
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.)
Namco Ltd
Original Assignee
Namco Ltd
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 Namco Ltd filed Critical Namco Ltd
Priority to JP9028476A priority Critical patent/JPH10214337A/en
Publication of JPH10214337A publication Critical patent/JPH10214337A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a picture forming device which quickly generates a picture to which a high semitransparent effect high is added. SOLUTION: A blend processing part 100 blends read color information CR of each picture element from a picture memory 120 and write color information CW based on a blend coefficient OP. A filter processing part 110 filters color information CB from the blend processing part 100 based on a filter coefficient F and writes obtained color information CF in the picture memory 120. The blend processing may be performed after the filter processing. Plural blend processing parts 100 and filter processing parts 110 may be provided, and at least one of the blend processing and the filter processing may be made ineffective. Thus, the number of times of access to the picture memory 120 is minimized even if one picture element is subjected to both the blend processing and the filter processing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、半透明表示が可能
な画像生成装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image generating apparatus capable of translucent display.

【0002】[0002]

【背景技術及び発明が解決しようとする課題】従来よ
り、ゲーム装置、画像生成ツール等に使用される画像生
成装置として種々のものが知られている。このような画
像生成装置では、いわゆる仮想現実感の実現のために、
如何にして画像を高品質化するかが大きな技術的課題と
なっている。そしてこのような画像高品質化技術の1つ
として半透明処理と呼ばれる手法が知られている。
2. Description of the Related Art Conventionally, various image generating apparatuses have been known for use in game machines, image generating tools, and the like. In such an image generation device, in order to realize a so-called virtual reality,
A major technical problem is how to improve the quality of an image. A technique called translucent processing is known as one of such image quality improving techniques.

【0003】半透明処理では、半透明表示物の色情報と
画像メモリに書き込まれた背景の色情報とをブレンディ
ングするブレンド処理や、画像メモリに書き込まれた背
景の色情報をフィルタリングするフィルタ処理を行うこ
とで、各画素の色情報を得る。半透明処理を行うこと
で、半透明表示物の表現が可能となり、画像のリアリテ
ィを格段に増すことができる。
In the translucent processing, a blending process for blending the color information of the translucent display object with the color information of the background written in the image memory and a filtering process for filtering the color information of the background written in the image memory are performed. By doing so, color information of each pixel is obtained. By performing the translucent processing, a translucent display object can be expressed, and the reality of an image can be significantly increased.

【0004】さて、より高度な半透明効果を得るために
は、1つの表示物に対してブレンド処理とフィルタ処理
の両方を施すことが望ましく、その場合には、例えば次
のような手法を採用する。即ち例えば初めに、画像メモ
リから読み出した色情報に基づいてブレンド処理を行
い、得られた色情報を画像メモリに書き込む。次に、書
き込まれた色情報を画像メモリから再度読み出し、読み
出された色情報に基づいてフィルタ処理を行い、得られ
た色情報を画像メモリに再度書き込む。
[0004] In order to obtain a higher translucent effect, it is desirable to perform both blend processing and filter processing on one display object. In this case, for example, the following method is employed. I do. That is, for example, first, a blending process is performed based on the color information read from the image memory, and the obtained color information is written to the image memory. Next, the written color information is read again from the image memory, a filtering process is performed based on the read color information, and the obtained color information is written again to the image memory.

【0005】しかしながら、この手法では、ブレンド処
理の際に、読み出し、書き込みの2回の画像メモリへの
アクセスが必要であり、フィルタ処理の際にも、読み出
し、書き込みの2回の画像メモリへのアクセスが必要で
ある。即ち画像メモリへのアクセスが合計で4回必要に
なる。画像メモリへのアクセスは多くの時間を要するた
め、この手法によると、処理の高速化が大幅に妨げられ
る。特にリアルタイムな処理が要求される画像生成装置
においては、これは大きな問題となる。
However, in this method, it is necessary to access the image memory twice for reading and writing at the time of the blending process, and at the same time, to access the image memory twice for reading and writing at the time of the filtering process. Access is required. That is, access to the image memory is required four times in total. Since access to the image memory requires a lot of time, this method greatly hinders the processing speed. This is a serious problem particularly in an image generating apparatus that requires real-time processing.

【0006】本発明は以上のような技術的課題を達成す
るためになされたものであり、その目的とするところ
は、高度な半透明効果を付加した画像を高速に生成でき
る画像生成装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned technical problems, and an object of the present invention is to provide an image generating apparatus capable of generating an image to which an advanced translucent effect is added at a high speed. Is to do.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明は、半透明処理を行う画像生成装置であっ
て、画像情報記憶手段からの画素毎の読み出し色情報と
所与の書き込み色情報とを所与のブレンド係数に基づい
てブレンディングするブレンド処理手段と、前記ブレン
ド処理手段からの色情報を所与のフィルタ係数に基づい
てフィルタリングし、得られた色情報を前記画像情報記
憶手段に書き込むフィルタ処理手段とを含むことを特徴
とする。また本発明は、半透明処理を行う画像生成装置
であって、画像情報記憶手段からの画素毎の読み出し色
情報を所与のフィルタ係数に基づいてフィルタリングす
るフィルタ処理手段と、前記フィルタ処理手段からの色
情報と所与の書き込み色情報とを所与のブレンド係数に
基づいてブレンディングし、得られた色情報を前記画像
情報記憶手段に書き込むブレンド処理手段とを含むこと
を特徴とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention relates to an image generating apparatus for performing a translucent process, comprising: reading color information for each pixel from image information storage means; Blend processing means for blending color information with a given blend coefficient; filtering the color information from the blend processing means with a given filter coefficient; and storing the obtained color information in the image information storage means. And a filter processing means for writing into Further, the present invention is an image generating apparatus that performs a translucent process, wherein a filter processing unit that filters read color information for each pixel from an image information storage unit based on a given filter coefficient; and And blend processing means for blending the color information and the given write color information based on a given blend coefficient, and writing the obtained color information to the image information storage means.

【0008】本発明によれば、1つの画素に対してブレ
ンド処理とフィルタ処理の両方を施すことが可能とな
る。これによりブレンド的な性質とフィルタ的な性質を
併せ持つ表示物の表現も可能となり、画像のリアリティ
を格段に増すことできる。そして本発明によれば、この
ように1つの画素に対してブレンド処理とフィルタ処理
の両方を施した場合にも、画像情報記憶手段へのアクセ
ス回数を最小限に抑えることができる。これにより処理
の高速化を図れ、特にパイプライン方式の半透明処理の
実現に最適な画像生成装置を提供できる。
According to the present invention, it is possible to perform both the blending process and the filtering process on one pixel. As a result, it is possible to express a display object having both a blending property and a filtering property, and the reality of an image can be significantly increased. According to the present invention, the number of accesses to the image information storage unit can be minimized even when both the blending process and the filtering process are performed on one pixel. As a result, the processing can be speeded up, and an image generating apparatus that is particularly suitable for realizing the pipeline system translucent processing can be provided.

【0009】また本発明は、半透明処理を行う画像生成
装置であって、画像情報記憶手段からの画素毎の読み出
し色情報に少なくとも基づいて第1の処理を行う第1の
処理手段と、前記第1の処理手段からの出力に少なくと
も基づいて第2の処理を行う第2の処理手段と、前記第
2の処理手段からの出力に少なくとも基づいて第3の処
理を行う第3の処理手段と、・・・・・・第(N−1)
(N≧2)の処理手段からの出力に少なくとも基づいて
第Nの処理を行い、得られた色情報を前記画像情報記憶
手段に書き込む第Nの処理手段とを含み、前記第1〜第
Nの処理手段の少なくとも1つが、所与の2つの色情報
を所与のブレンド係数に基づいてブレンドするブレンド
処理手段であり、前記第1〜第Nの処理手段の少なくと
も1つが、所与の色情報を所与のフィルタ係数に基づい
てフィルタリングするフィルタ処理手段であることを特
徴とする画像生成装置。
According to another aspect of the present invention, there is provided an image generating apparatus for performing a translucent process, comprising: a first processing unit for performing a first process based at least on color information read for each pixel from an image information storage unit; A second processing unit that performs a second process based on at least an output from the first processing unit, and a third processing unit that performs a third process based on at least an output from the second processing unit. ..., (N-1)
An N-th processing unit that performs an N-th processing based on at least an output from the (N ≧ 2) processing unit and writes the obtained color information into the image information storage unit; At least one of the processing means is a blend processing means for blending given two pieces of color information based on a given blend coefficient, and at least one of the first to Nth processing means is a given color information. An image generating apparatus, comprising: a filter processing unit that filters information based on a given filter coefficient.

【0010】本発明によれば、1つの画素に対して1又
は複数回のブレンド処理と1又は複数回のフィルタ処理
を施すことが可能となる。これにより例えば背景表示物
の上に複数の半透明表示物が重なる場合等においても、
画像情報記憶手段へのアクセス回数を最小限に抑えなが
ら、リアル感溢れる画像を生成することが可能となる。
なお本発明の第1〜第Nの処理としては、ブレンド処
理、フィルタ処理以外にも、デプスキューイング処理、
輝度処理、反射率パラメータを用いた処理等、種々の処
理を考えることができる。
According to the present invention, one pixel can be subjected to one or more blending processes and one or more filtering processes. Thereby, for example, even when a plurality of translucent display objects overlap on the background display object,
It is possible to generate an image full of realism while minimizing the number of accesses to the image information storage means.
Note that the first to N-th processes of the present invention include, besides blending and filtering, depth queuing,
Various processes such as a brightness process and a process using a reflectance parameter can be considered.

【0011】また本発明は、前記ブレンド処理手段にて
行われるブレンド処理及び前記フィルタ処理手段にて行
われるフィルタ処理の少なくとも1つを無効にする手段
を含むことを特徴とする。
Further, the present invention is characterized in that it comprises means for invalidating at least one of the blending process performed by the blending unit and the filtering process performed by the filtering unit.

【0012】本発明によれば、ブレンド処理、フィルタ
処理の有効、無効の制御が可能となる。例えば処理対象
となる表示物が、ブレンド的な性質及びフィルタ的な性
質を併せ持つ場合には、ブレンド処理、フィルタ処理の
両方を有効にすることで対応できる。また処理対象とな
る表示物が、ブレンド的な性質又はフィルタ的な性質の
一方のみを持つ場合には、ブレンド処理、フィルタ処理
の一方を有効にし他方を無効にすることで対応できる。
また処理対象となる表示物が、不透明であり半透明処理
を必要としない場合には、ブレンド処理、フィルタ処理
の両方を無効にすることで対応できる。例えば表示物を
見る方向によって半透明処理を有効にしたり無効にした
りすることで、見る方向によって半透明になったり不透
明になるハーフミラーなどの表示物の表現が可能とな
る。
According to the present invention, the validity and invalidity of the blending process and the filtering process can be controlled. For example, when a display object to be processed has both a blending property and a filtering property, it can be dealt with by enabling both the blending process and the filtering process. If the display object to be processed has only one of the blending property and the filtering property, it can be dealt with by enabling one of the blending process and the filtering process and disabling the other.
If the display object to be processed is opaque and does not require translucent processing, it can be dealt with by disabling both the blend processing and the filter processing. For example, by enabling or disabling the translucent processing depending on the viewing direction of the display object, it is possible to express a display object such as a half mirror that becomes translucent or opaque depending on the viewing direction.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施例について図
面を用いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】まずブレンド処理(色補間処理)、フィル
タ処理について説明する。
First, blend processing (color interpolation processing) and filter processing will be described.

【0015】図1(A)に示すように、ブレンド処理で
は、書き込み色情報(半透明表示物の色情報)CW、フ
ィールドバッファなどの画像メモリ220から読み出さ
れる色情報(背景の色情報)CR、ブレンド係数OPが
ブレンド処理部200に入力される。そしてブレンド処
理部200は、書き込み色情報CWと読み出し色情報C
Rとをブレンド係数OPに基づいてブレンディング(補
間)し、得られた色情報CBを画像メモリ220に書き
込む。ここで、ブレンド処理部200は、例えば次式
(1)にしたがったブレンド処理を行う。 RCB=OP×RCW+(1−OP)×RCRCB=OP×GCW+(1−OP)×GCR (1) BCB=OP×BCW+(1−OP)×BCR ここでRCW、CW、BCWは書き込み色情報CWのRGB
の各成分を、RCR、GCR、BCRは読み出し色情報CRの
RGBの各成分を表すものである。またRCB、GCB、B
CBはブレンド処理部200で得られる色情報CBのRG
Bの各成分を表すものである。また、ブレンド係数であ
るOP(0≦OP≦1)は半透明表示物のオパシティ
(不透明度)を表すものである。なおOPをRGBの各
成分毎に異ならせてもよい。またブレンド係数として
は、オパシティ以外にも、トランスペアランシー(透明
度)等、種々のものを採用できる。
As shown in FIG. 1A, in the blending process, write color information (color information of a translucent display object) CW and color information (background color information) CR read from the image memory 220 such as a field buffer. , And the blend coefficient OP are input to the blend processing unit 200. Then, the blend processing section 200 writes the write color information CW and the read color information C
R is blended (interpolated) based on the blend coefficient OP, and the obtained color information CB is written to the image memory 220. Here, the blend processing unit 200 performs, for example, a blend process according to the following equation (1). RC B = OP × R CW + (1−OP) × R CR G CB = OP × G CW + (1−OP) × G CR (1) B CB = OP × B CW + (1−OP) × B CR where R CW, G CW and B CW are the RGB of the write color information CW
, R CR , G CR , and B CR represent the RGB components of the read color information CR. R CB , G CB , B
CB is the RG of the color information CB obtained by the blend processing unit 200
B represents each component. OP (0 ≦ OP ≦ 1), which is a blend coefficient, represents the opacity (opacity) of a translucent display object. The OP may be different for each of the RGB components. As the blend coefficient, various factors other than opacity, such as transparency (transparency), can be adopted.

【0016】一方、図1(B)に示すように、フィルタ
処理では、画像メモリ220からの読み出し色情報C
R、フィルタ係数Fがフィルタ処理部210に入力され
る。そしてフィルタ処理部210は、読み出し色情報C
Rをフィルタ係数Fに基づいてフィルタリングし、得ら
れた色情報CFを画像メモリ220に書き込む。ここ
で、フィルタ処理部210は、例えば次式(2)にした
がったフィルタ処理を行う。 RCF=FR×RCRCF=FG×GCR (2) BCF=FB×BCR ここでRCR、GCR、BCRは読み出し色情報CRのRGB
の各成分を表すものである。またRCF、GCF、BCFはフ
ィルタ処理部210で得られる色情報CFのRGBの各
成分を表すものである。またフィルタ係数FはRGBの
各成分毎に異なった値をとり、R成分に対してはFR
G成分に対してはFG、B成分に対してはFBの値をとる
(0≦FR、FG、FB≦1)。
On the other hand, as shown in FIG. 1B, in the filtering process, the color information C read from the image memory 220 is read.
R and the filter coefficient F are input to the filter processing unit 210. Then, the filter processing unit 210 reads the read color information C
R is filtered based on the filter coefficient F, and the obtained color information CF is written to the image memory 220. Here, the filter processing unit 210 performs, for example, a filter process according to the following equation (2). R CF = F R × R CR G CF = F G × G CR (2) B CF = F B × B CR where R CR , G CR , and B CR are RGB of the read color information CR.
Represents each of the components. R CF , G CF , and B CF represent RGB components of the color information CF obtained by the filter processing unit 210. The filter coefficient F takes a different value for each of the RGB components. For the R component, F R ,
For G component F G, it takes the value of F B is the B-component (0 ≦ F R, F G , F B ≦ 1).

【0017】図2(A)、(B)に、ブレンド処理とフ
ィルタ処理の概念を模式的に示す。
FIGS. 2A and 2B schematically show the concept of blending and filtering.

【0018】ブレンド処理では、半透明表示物20自体
が持つ色C1と、背景表示物22の色C2とがブレンド
される。より概念的にはブレンド処理のモデルでは、半
透明表示物20を複数の色要素を含む透明体と考えるこ
とができる。これらの色要素はC1の色の光を出す。そ
して背景表示物22からのC2の色の光は所与の割合で
この透明体を透過する。従って、色要素からの光の色C
1に、この透過光の色C2がブレンドされ、このブレン
ドされた色が全体として見える色になる。ブレンド係数
は、色要素の占める面積と透明部分の占める面積の割合
を表すものである。色要素の占める面積が大きければC
1の影響が大きくなり、透明部分の占める面積が大きけ
ればC2の影響が大きくなる。
In the blending process, the color C1 of the translucent display object 20 itself and the color C2 of the background display object 22 are blended. More conceptually, in the blending process model, the translucent display object 20 can be considered as a transparent body including a plurality of color elements. These color elements emit light of the color C1. Then, the light of C2 color from the background display 22 passes through this transparent body at a given ratio. Therefore, the color C of light from the color element
1, the color C2 of the transmitted light is blended, and the blended color becomes a color that can be seen as a whole. The blend coefficient indicates the ratio of the area occupied by the color element to the area occupied by the transparent portion. If the area occupied by the color element is large, C
1 is greater, and the greater the area occupied by the transparent portion, the greater the effect of C2.

【0019】一方、ブレンド処理では、背景表示物22
からの色C3が半透明表示物20によりフィルタリング
されてC4になる。例えば背景表示物22の色C3が白
であり、半透明表示物20が赤の成分のみを通過させる
フィルタである場合には、得られるC4は赤になる。半
透明表示物20が緑の成分のみを通過させるフィルタで
ある場合にはC4は緑となる。
On the other hand, in the blending process, the background display 22
Is filtered by the translucent display object 20 to become C4. For example, if the color C3 of the background display 22 is white and the translucent display 20 is a filter that passes only the red component, the obtained C4 is red. When the translucent display object 20 is a filter that allows only a green component to pass, C4 is green.

【0020】例えば図2(C)に示すように、白の下地
28に赤の文字30が描かれた背景表示物32の上に、
赤の半透明表示物34を重ねる場合を考える。ここで背
景表示物32の下地28の色を(R、G、B)=(0.
5、0.5、0.5)(0≦R、G、B≦1)とし、文
字30及び半透明表示物34の色を(R、G、B)=
(0.5、0、0)とする。またブレンド係数をOP=
0.5とし、フィルタ係数を(FR、FG、FB)=
(0.5、0、0)とする。
For example, as shown in FIG. 2C, on a background display object 32 in which red characters 30 are drawn on a white base 28,
Consider a case in which a red translucent display object 34 is overlaid. Here, the color of the base 28 of the background display object 32 is set to (R, G, B) = (0.
5, 0.5, 0.5) (0 ≦ R, G, B ≦ 1), and the color of the character 30 and the translucent display 34 is (R, G, B) =
(0.5, 0, 0). Also, if the blend coefficient is OP =
0.5, and the filter coefficients are (F R , F G , F B ) =
(0.5, 0, 0).

【0021】するとブレンド処理の場合には、図2
(D)に示すように、下地28の色は(0.5、0.2
5、0.25)になり、文字30の色は(0.5、0、
0)になる(上式(1)参照)。即ち下地28と文字3
0は異なる色となり、文字30の存在を認識できる。
Then, in the case of the blending process, FIG.
As shown in (D), the color of the base 28 is (0.5, 0.2
5, 0.25), and the color of the character 30 is (0.5, 0,
0) (see equation (1) above). That is, the base 28 and the character 3
0 is a different color, and the presence of the character 30 can be recognized.

【0022】一方、フィルタ処理の場合には、図2
(E)に示すように、下地28の色は(0.25、0、
0)になり、文字30の色も(0.25、0、0)にな
る(上式(2)参照)。即ち下地28と文字30は同じ
色となり、文字30の存在は認識できず、文字30は消
えて見える。
On the other hand, in the case of filter processing, FIG.
As shown in (E), the color of the base 28 is (0.25, 0,
0), and the color of the character 30 is also (0.25, 0, 0) (see the above equation (2)). That is, the base 28 and the character 30 have the same color, the presence of the character 30 cannot be recognized, and the character 30 appears to disappear.

【0023】また例えば真っ黒(0、0、0)の背景表
示物の上に半透明表示物を重ねた場合、フィルタ処理で
は、フィルタ係数の値の如何に依存せずに見える色は必
ず真っ黒なる。一方、ブレンド処理では、半透明表示物
の色が加わった色が見えることになる。
Also, for example, when a translucent display object is superimposed on a black (0, 0, 0) background display object, in the filtering process, the color which is seen irrespective of the value of the filter coefficient is always black. . On the other hand, in the blending process, a color to which the color of the translucent display object is added becomes visible.

【0024】以上のように、ブレンド処理とフィルタ処
理とでは、得られる画像効果が相異なったものとなる。
そして実存する半透明物質は、ブレンド的な性質とフィ
ルタ的な性質を併せ持っている。従って、よりリアルな
半透明表現を実現するためには、ブレンド処理とフィル
タ処理の両方を1つの画素に対して施すことが望まし
い。そしてブレンド処理とフィルタ処理の両方を行うも
のとして例えば次に説明するような手法を用いることも
できる。
As described above, the obtained image effects are different between the blending process and the filtering process.
Existing translucent materials have both blend-like and filter-like properties. Therefore, in order to realize a more realistic translucent expression, it is desirable to perform both the blending process and the filtering process on one pixel. Then, for example, a method described below can be used to perform both the blend processing and the filter processing.

【0025】まずソフトウェアによりブレンド処理の実
行が指示される。すると、図1(C)において、描画プ
ロセッサ230のソフトウェア的な実行手段240が、
画像メモリ220から色情報CRを読み出す。次に、実
行手段240は、このCRと、書き込み色情報CWと、
ブレンド係数OPとをブレンド処理部200に出力する
と共に、ブレンド処理を行うことをブレンド処理部20
0に指示する。するとブレンド処理部200は、上式
(1)に示すブレンド処理を行い、得られた色情報CB
を描画プロセッサ230に返す。そして描画プロセッサ
230は、このCBを画像メモリ220に書き戻す。
First, execution of blend processing is instructed by software. Then, in FIG. 1C, the software execution means 240 of the drawing processor 230
The color information CR is read from the image memory 220. Next, the execution means 240 calculates the CR, the write color information CW,
The output of the blend coefficient OP to the blend processing unit 200 and the execution of the blend processing are performed by the blend processing unit 20.
Indicate 0. Then, the blend processing unit 200 performs the blend processing represented by the above equation (1), and obtains the obtained color information CB.
Is returned to the drawing processor 230. Then, the drawing processor 230 writes the CB back to the image memory 220.

【0026】次に、ソフトウェアによりフィルタ処理の
実行が指示されると、実行手段240は、画像メモリ2
20から色情報CRを読み出す。このCRは、ブレンド
処理部200により既にブレンド処理が施された色情報
CBに相当するものである。次に、実行手段240は、
このCRと、フィルタ係数Fとをフィルタ処理部210
に出力すると共に、フィルタ処理を行うことをフィルタ
処理部210に指示する。するとフィルタ処理部210
は、上式(2)に示すフィルタ処理を行い、得られた色
情報CFを描画プロセッサ230に返す。そして描画プ
ロセッサ230は、このCFを画像メモリ220に書き
戻す。このようにしてブレンド処理とフィルタ処理の両
方が施された色情報を得ることができる。
Next, when execution of the filter processing is instructed by software, the execution means 240
20 to read out the color information CR. This CR corresponds to the color information CB that has already been subjected to the blend processing by the blend processing unit 200. Next, the execution means 240
This CR and the filter coefficient F are combined with the filter processing unit 210
And instructs the filter processing unit 210 to perform the filter processing. Then, the filter processing unit 210
Performs the filter processing shown in the above equation (2), and returns the obtained color information CF to the drawing processor 230. Then, the drawing processor 230 writes the CF back to the image memory 220. In this way, it is possible to obtain color information on which both the blending process and the filtering process have been performed.

【0027】この手法には次のような利点がある。即ち
この手法によれば、ブレンド処理の後にフィルタ処理を
行い、再度ブレンド処理を行ったり、ブレンド処理とフ
ィルタ処理の間に他の別の処理を挿入したりする等、処
理の自由な組み合わせが可能となる。つまり汎用性が高
く、ユーザの操作性の自由度を高めることができる。
This method has the following advantages. In other words, according to this method, a free combination of processes is possible, such as performing a filtering process after the blending process, performing a blending process again, or inserting another process between the blending process and the filtering process. Becomes That is, versatility is high, and the degree of freedom of user operability can be increased.

【0028】しかしながら、この手法には、画像メモリ
220へのアクセス回数が極めて多くなるという欠点が
ある。即ち初めのブレンド処理の際には、CRを画像メ
モリ220から読み出すアクセス、ブレンド処理により
得られたCBを画像メモリ220に書き込むアクセスが
必要である。また次のフィルタ処理の際には、ブレンド
処理後のCR(=CB)を画像メモリ220から読み出
すアクセス、フィルタ処理により得られたCFを画像メ
モリ220に書き込むアクセスが必要である。つまり合
計で4回のアクセスが必要になってしまう。画像メモリ
220へのアクセス回数の増加は、処理の高速化の大き
な妨げとなるため、特にリアルタイムな画像生成が要求
される画像生成装置には、この手法は適当ではない。
However, this method has a disadvantage that the number of accesses to the image memory 220 is extremely large. That is, at the time of the first blending process, an access for reading the CR from the image memory 220 and an access for writing the CB obtained by the blending process to the image memory 220 are necessary. At the time of the next filter processing, access to read CR (= CB) after the blend processing from the image memory 220 and access to write the CF obtained by the filter processing to the image memory 220 are required. That is, a total of four accesses are required. Since the increase in the number of accesses to the image memory 220 greatly hinders the speeding up of the processing, this method is not suitable especially for an image generating apparatus that requires real-time image generation.

【0029】そこで本実施例では以下に説明するような
手法を採用している。
Therefore, the present embodiment employs a method as described below.

【0030】図3に本実施例の画像生成装置の機能ブロ
ック図の一例を示す。この画像生成装置は、ブレンド処
理部100、フィルタ処理部110及び画像メモリ12
0を含む。
FIG. 3 shows an example of a functional block diagram of the image generating apparatus of this embodiment. The image generating apparatus includes a blend processing unit 100, a filter processing unit 110, and an image memory 12
Contains 0.

【0031】ブレンド処理部100には、書き込み色情
報(半透明表示物の色情報)CW、フィールドバッファ
などの画像メモリ120から読み出される色情報(背景
の色情報)CR、ブレンド係数OPが入力される。ブレ
ンド処理部100は、線形補間器などのハードウェアに
より構成され、これらの色情報CW及びCRをブレンド
係数OPに基づいてブレンディングし、色情報CBを求
める。即ち、例えば上式(1)に示すような処理により
CBを求める。得られたCBはフィルタ処理部110に
出力される。
The blend processing unit 100 receives input of write color information (color information of a translucent display) CW, color information (background color information) CR read from the image memory 120 such as a field buffer, and a blend coefficient OP. You. The blend processing unit 100 is configured by hardware such as a linear interpolator, and blends the color information CW and CR based on the blend coefficient OP to obtain color information CB. That is, CB is obtained by a process as shown in the above equation (1). The obtained CB is output to filter processing section 110.

【0032】フィルタ処理部110には、ブレンド処理
部100からの色情報CBと、フィルタ係数Fが入力さ
れる。フィルタ処理部110は、乗算器などのハードウ
ェアにより構成され、フィルタ処理部110からの色情
報CBをフィルタ係数Fに基づいてフィルタリングし、
色情報CFを求める。即ち例えば上式(2)に示すよう
な処理によりCFを求め、求めたCFを画像メモリ12
0に書き込む。
The filter processor 110 receives the color information CB and the filter coefficient F from the blend processor 100. The filter processing unit 110 is configured by hardware such as a multiplier, filters the color information CB from the filter processing unit 110 based on the filter coefficient F,
Find color information CF. That is, for example, the CF is obtained by the processing shown in the above equation (2), and the obtained CF is
Write to 0.

【0033】一方、図4には本実施例の画像生成装置の
機能ブロック図の他の例が示される。図4ではブレンド
処理部100とフィルタ処理部110の配置が図3と逆
になっている。即ちフィルタ処理部110は、読み出し
色情報CRとフィルタ係数Fに基づいてフィルタ処理を
行い、得られた色情報CFをブレンド処理部100に出
力する。ブレンド処理部100は、フィルタ処理部11
0からの色情報CFと書き込み色情報CWとブレンド係
数OPとに基づいてブレンド処理を行い、得られた色情
報CBを画像メモリ120に書き込む。
On the other hand, FIG. 4 shows another example of a functional block diagram of the image generating apparatus of the present embodiment. In FIG. 4, the arrangement of the blend processing unit 100 and the filter processing unit 110 is opposite to that in FIG. That is, the filter processing unit 110 performs a filtering process based on the read color information CR and the filter coefficient F, and outputs the obtained color information CF to the blend processing unit 100. The blend processing unit 100 includes a filter processing unit 11
A blending process is performed based on the color information CF from 0, the write color information CW, and the blend coefficient OP, and the obtained color information CB is written to the image memory 120.

【0034】ブレンド処理とフィルタ処理の両方を行う
場合、図1(A)〜(C)にて説明した手法では画像メ
モリ120へのアクセス回数が合計4回になる。これに
対して本実施例によれば、画像メモリ120へのアクセ
ス回数を2回とすることができる。即ち例えば図3にお
いて、初めに画像メモリ120からCRを読み出すアク
セス、フィルタ処理部110にて得られたCFを画像メ
モリ120に書き込むアクセスの2回で済ますことがで
きる。従って、図1(A)〜(C)にて説明した手法に
比べて処理を格段に高速化でき、リアルタイムな画像生
成に最適な画像生成装置を提供できる。
In the case where both the blending process and the filtering process are performed, the number of accesses to the image memory 120 is four in the method described with reference to FIGS. On the other hand, according to the present embodiment, the number of accesses to the image memory 120 can be set to two. That is, for example, in FIG. 3, access for reading a CR from the image memory 120 first and access for writing the CF obtained by the filter processing unit 110 to the image memory 120 can be performed twice. Therefore, the processing can be remarkably speeded up as compared with the method described with reference to FIGS. 1A to 1C, and an image generating apparatus optimal for real-time image generation can be provided.

【0035】特にパイプライン方式により半透明処理を
行う場合、画像メモリ120へのアクセス回数の増加は
処理の高速化の大きな妨げとなる。例えば図3におい
て、第1、第2・・・第Kの画素の色情報が順次入力さ
れる場合を考える。このような場合、パイプライン方式
では、第1の画素の色情報を画像メモリ120に書き込
んでいる間に、第2の画素の色情報に対する処理をフィ
ルタ処理部110で行うと共に第3の画素に対する処理
をブレンド処理部100で行う。このようにパイプライ
ン方式では、1つの処理を複数の独立な処理段階に分け
て一列に並べ、各処理段階を並列に実行することで、処
理の実質的な高速化を図る。しかしながら半透明処理で
は、画像メモリからの読み出し色情報がブレンド処理部
やフィルタ処理部に返されるため、パイプライン制御が
若干複雑化する。そして、ブレンド処理とフィルタ処理
の両方を行った場合に画像メモリからの読み出しアクセ
スが2回必要な手法では、パイプライン制御が更に複雑
化し、処理の高速化が更に妨げられる。これに対して本
実施例によれば、ブレンド処理とフィルタ処理の両方を
行った場合にも、画像メモリからの読み出しアクセス回
数を最小限の回数で済ますことができるため、制御をそ
れほど複雑化することなく半透明処理のパイプライン化
を図れる。
In particular, when performing translucent processing by a pipeline method, an increase in the number of accesses to the image memory 120 greatly hinders a high-speed processing. For example, in FIG. 3, it is assumed that the color information of the first, second,... In such a case, in the pipeline method, while the color information of the first pixel is being written into the image memory 120, the processing for the color information of the second pixel is performed by the filter processing unit 110 and the processing for the third pixel is performed. The processing is performed by the blend processing unit 100. As described above, in the pipeline system, one process is divided into a plurality of independent processing stages, arranged in a line, and each processing stage is executed in parallel, thereby substantially increasing the speed of the process. However, in the translucent processing, the color information read from the image memory is returned to the blend processing unit and the filter processing unit, so that the pipeline control is slightly complicated. In a method that requires two read accesses from the image memory when both the blending process and the filtering process are performed, the pipeline control is further complicated, and the speeding up of the process is further hindered. On the other hand, according to the present embodiment, even when both the blending process and the filtering process are performed, the number of times of read access from the image memory can be minimized, so that the control becomes much more complicated. The translucent processing can be pipelined without any need.

【0036】図5、図6に、フレンド処理部、フィルタ
処理部を含む第1〜第Nの処理部を設けた場合の機能ブ
ロック図を示す。
FIGS. 5 and 6 show functional block diagrams in the case where first to Nth processing units including a friend processing unit and a filter processing unit are provided.

【0037】図5では、第1の処理(ブレンド処理)部
130-1は書き込み色情報CW1と画像メモリ120か
らの読み出し色情報CRとブレンド係数OP1とに基づ
いてC1を求め、第2の処理(フィルタ処理)部130
-2は第1の処理部130-1からのC1とフィルタ係数F2
とに基づいてC2を求める。
[0037] In Figure 5, the first processing (blending process) 130 -1 sought C 1 based on the read color information CR from writing color information CW 1 and the image memory 120 and the blending coefficient OP 1, the 2 processing (filter processing) unit 130
-2 C 1 and the filter coefficient F 2 from the first processing unit 130 -1
Request C 2 based on and.

【0038】また第3の処理部130-3は書き込み色情
報CW3と第2の処理部130-2からのC2とブレンド係
数OP3とに基づいてC3を求め、第4の処理部130-4
は第3の処理部130-3からのC3とフィルタ係数F4
に基づいてC4を求める。
Further the third processing unit 130 -3 obtains a C 3 based on the writing color information CW 3 and C 2 and the blending coefficient OP 3 from the second processing unit 130 -2, the fourth processing unit 130 -4
Determine the C 4 on the basis of the C 3 and the filter coefficient F 4 from the third processing unit 130 -3.

【0039】また第(N−1)(N≧2)の処理部13
-(Nー1)は書き込み色情報CWNー1と第(N−2)の処
理部130-(Nー2)からのCN-2とブレンド係数OPNー1
に基づいてCNー1を求め、第Nの処理部130-Nは第
(N−1)の処理部130-(N-1)からのCNー1とフィル
タ係数FNとに基づいてCNを求め、得られたCNを画像
メモリ120に書き込む。
The (N-1) th (N ≧ 2) processing unit 13
0- (N-1) is a value based on the write color information CW N-1 , C N-2 from the (N-2) th processing unit 130- (N-2) and the blend coefficient OP N-1. N-1 is obtained, and the N-th processing unit 130- N obtains C N based on C N-1 from the (N-1) -th processing unit 130- (N-1) and the filter coefficient F N. writes the resultant C N in the image memory 120.

【0040】図6では、第1の処理部130-1は画像メ
モリ120からの読み出し色情報CRとフィルタ係数F
1とに基づいてC1を求め、第2の処理部130-2は書き
込み色情報CW2と第1の処理部130-1からのC1とブ
レンド係数OP2とに基づいてC2を求める。
In FIG. 6, the first processing unit 130-1 includes the read color information CR from the image memory 120 and the filter coefficient F
Seeking C 1 based on 1 and obtains a C 2 based on the second processing unit 130 -2 and writes color information CW 2 and C 1 and the blending coefficient OP 2 from the first processing unit 130 -1 .

【0041】また第3の処理部130-3は第2の処理部
130-2からのC2とフィルタ係数F3とに基づいてC3
を求め、第4の処理部130-4は書き込み色情報CW4
と第3の処理部130-3からのC3とブレンド係数OP4
とに基づいてC4を求める。
Further the third processing unit 130 -3 based on the C 2 and the filter coefficient F 3 from the second processing unit 130 -2 C 3
And the fourth processing unit 130-4 outputs the write color information CW 4
When C 3 and the blending coefficient OP 4 from the third processing unit 130 -3
Request C 4 based on and.

【0042】また第(N−1)の処理部130-(Nー1)
第(N−2)の処理部130-(N-2)からのCNー2とフィ
ルタ係数FNー1とに基づいてCNー1を求め、第Nの処理部
130-Nは書き込み色情報CWNと第(N−1)の処理
部130ー(Nー1)からのCNー1とブレンド係数OPNとに基
づいてCNを求め、得られたCNを画像メモリ120に書
き込む。
The (N-1) th processing section 130- (N-1) is the C N-2 and the filter coefficient F N-1 from the (N-2) th processing section 130- (N-2). seeking C N-1 based on the bets, C N-1 and the blend from the processing section 130 -N of the N-write color information CW N (N-1) th processing unit 130 over (N-1) C N is obtained based on the coefficient OP N, and the obtained C N is written to the image memory 120.

【0043】図5、図6のように、ブレンド処理部、フ
ィルタ処理部を複数段設けることで、半透明処理の対象
となる画素に対して複数回のブレンド処理、複数回のフ
ィルタ処理を施すことが可能となる。例えば図7(A)
に示すように、背景表示物40の上に2枚の半透明表示
物42、44が重なっており、半透明表示物42、44
の各々について1回のブレンド処理、1回のフィルタ処
理を行う場合、結局、2回のブレンド処理と2回のフィ
ルタ処理が必要になる。同様に図7(B)に示すよう
に、背景表示物40の上に3枚の半透明表示物42、4
4、46が重なっている場合には、3回のブレンド処理
と3回のフィルタ処理が必要になる。そしてブレンド処
理部100、フィルタ処理部110が1段ずつしかない
図3、図4の構成であると、画像メモリ120からの読
み出しアクセスが、図7(A)の場合には2回、図7
(B)の場合には3回必要となってしまい、これは処理
の高速化の妨げとなる。これに対して、図5、図6に示
すようにブレンド処理部、フィルタ処理部を複数段設け
れば、複数回のブレンド処理、複数回のフィルタ処理が
必要な場合にも、画像メモリ120からの読み出しアク
セスの回数を最小限に抑えることが可能となる。例えば
図7(A)の場合にはブレンド処理部、フィルタ処理部
を2段(N=2)にすることにより、図7(B)の場合
には3段(N=3)にすることにより、画像メモリ12
0からの読み出しアクセス回数を1回にすることが可能
となる。
As shown in FIGS. 5 and 6, by providing a plurality of stages of the blend processing unit and the filter processing unit, a plurality of blending processes and a plurality of filtering processes are performed on the pixel to be subjected to the translucent process. It becomes possible. For example, FIG.
As shown in the figure, two translucent display objects 42 and 44 are overlapped on the background display object 40, and the translucent display objects 42 and 44
When one blending process and one filtering process are performed for each of the above, after all, two blending processes and two filtering processes are required. Similarly, as shown in FIG. 7B, three translucent display objects 42, 4
When 4 and 46 overlap, three blending processes and three filtering processes are required. 3 and FIG. 4 in which the blend processing unit 100 and the filter processing unit 110 have only one stage, read access from the image memory 120 is performed twice in the case of FIG.
In the case of (B), three times are required, which hinders the speeding up of the processing. On the other hand, if a plurality of blend processing units and filter processing units are provided as shown in FIGS. 5 and 6, even if a plurality of blend processes and a plurality of filter processes are required, Can be minimized. For example, in the case of FIG. 7A, the blend processing unit and the filter processing unit have two stages (N = 2), and in the case of FIG. 7B, three stages (N = 3). , Image memory 12
The number of read accesses from 0 can be reduced to one.

【0044】なお処理の高速性を犠牲にしてハードウェ
アの小規模化を重視する場合には、図3、図4に示すよ
うにブレンド処理部、フィルタ処理部を1段ずつにする
ことが望ましい。また書き込み色情報CW1〜CWN、ブ
レンド係数OP1〜OPN、フィルタ係数F1〜FNを同一
にすることも可能である。
When emphasizing downsizing of hardware at the expense of high-speed processing, it is desirable that the blend processing unit and the filter processing unit be provided one by one as shown in FIGS. . It is also possible to make the write color information CW 1 to CW N , the blend coefficients OP 1 to OP N , and the filter coefficients F 1 to F N the same.

【0045】また第1〜第Nの処理部130-1〜130
-Nにおいて、ブレンド処理、フィルタ処理以外の処理を
行ってもよいし、ブレンド処理、フィルタ処理を行う順
序も種々のものを考えることができる。例えば図8で
は、第2、第6の処理部130-2、130-6においてブ
レンド処理が、第4の処理部130-4においてフィルタ
処理が行われている。一方、他の処理部においては、例
えばデプスキューイング処理、輝度処理、反射率パラメ
ータに基づく処理等、ブレンド処理、フィルタ処理以外
の種々の処理が行われている。
The first to Nth processing units 130 -1 to 130 -1
In -N , processes other than the blending process and the filtering process may be performed, and the order of performing the blending process and the filtering process may be various. For example, in FIG. 8, the blending process is performed in the second and sixth processing units 130 -2 and 130 -6 , and the filtering process is performed in the fourth processing unit 130-4 . On the other hand, in other processing units, various processes other than the blending process and the filtering process, such as a depth queuing process, a brightness process, a process based on a reflectance parameter, and the like, are performed.

【0046】さて本実施例では、図3、図4においてブ
レンド処理部100にて行われるブレンド処理及びフィ
ルタ処理部110にて行われるフィルタ処理の少なくと
も1つを無効にする手段を設けることが望ましい。同様
に図5、図6、図8において、第1〜第Nの処理部13
-1〜130-Nにて行われるブレンド処理、フィルタ処
理の少なくとも1つを無効にする手段を設けることが望
ましい。例えば図7(C)において、背景表示物50の
上に重なっている表示物52がブレンド的な性質のみを
もつ半透明表示物である場合には、フィルタ処理は必要
ない。従ってこの場合にはフィルタ処理を無効にするこ
とが望ましい。逆に表示物52がフィルタ的な性質のみ
をもつ半透明表示物である場合には、ブレンド処理は必
要なく、ブレンド処理を無効にすることが望ましい。ま
た表示物52が不透明表示物である場合には、半透明処
理自体が必要なくなる。
In this embodiment, it is desirable to provide a means for invalidating at least one of the blending process performed by the blending process unit 100 and the filtering process performed by the filter processing unit 110 in FIGS. . Similarly, in FIGS. 5, 6, and 8, the first to Nth processing units 13
It is desirable to provide means for invalidating at least one of the blending process and the filtering process performed in 0 -1 to 130 -N . For example, in FIG. 7C, when the display object 52 overlapping the background display object 50 is a translucent display object having only a blending property, no filtering is necessary. Therefore, in this case, it is desirable to invalidate the filtering process. Conversely, if the display object 52 is a translucent display object having only a filter-like property, it is desirable that the blending process be unnecessary and the blending process be invalidated. If the display object 52 is an opaque display object, the translucent processing itself is not required.

【0047】例えばブレンド処理及びフィルタ処理の少
なくとも1つを無効にする場合の機能ブロック図の一例
を図9(A)、(B)に示す。これらは図3の構成に対
応するものである。
FIGS. 9A and 9B show an example of a functional block diagram when at least one of the blending process and the filter process is invalidated. These correspond to the configuration of FIG.

【0048】図9(A)では、ブレンド処理部100、
フィルタ処理部110にイネーブル端子ENB、ENF
を設けると共に、これらのイネーブル端子ENB、EN
FをフラグFLB、FLFにより制御する。FLB=1
の時にはブレンド処理部100の処理は有効になり、F
LB=0の時には無効になる。FLF=1の時にはフィ
ルタ処理部110の処理は有効になり、FLF=0の時
には無効になる。
In FIG. 9A, the blend processing unit 100
Enable terminals ENB, ENF
And enable terminals ENB, ENB
F is controlled by flags FLB and FLF. FLB = 1
In the case of, the processing of the blend processing unit 100 is enabled, and F
Invalid when LB = 0. When FLF = 1, the processing of the filter processing unit 110 is valid, and when FLF = 0, the processing is invalid.

【0049】また図9(B)では、前処理部150、1
52においてブレンド係数OP、フィルタ係数Fに対し
て前処理を行うことで、ブレンド処理部100、フィル
タ処理部110での処理の有効、無効を制御している。
In FIG. 9B, the pre-processing units 150, 1
By performing pre-processing on the blend coefficient OP and the filter coefficient F in 52, the validity and invalidity of the processing in the blend processing unit 100 and the filter processing unit 110 are controlled.

【0050】例えばフラグFLB=1の場合には、前処
理部150はOP’=OPを出力し、このOP’に基づ
いてブレンド処理部100がブレンド処理を行う。即ち
ブレンド処理が有効になる。一方、FLB=0の場合に
は、前処理部150はOP’を1に固定する。ブレンド
係数OP’を1に固定するということは、上式(1)か
ら明らかなように、ブレンド処理を無効にすることと等
価である。
For example, when the flag FLB = 1, the preprocessing unit 150 outputs OP ′ = OP, and the blend processing unit 100 performs the blending process based on the OP ′. That is, the blending process becomes effective. On the other hand, when FLB = 0, the preprocessing unit 150 fixes OP ′ to 1. Fixing the blend coefficient OP 'to 1 is equivalent to disabling the blending process, as is apparent from the above equation (1).

【0051】またフラグFLF=1の場合には、前処理
部152はF’=Fを出力し、このF’に基づいてフィ
ルタ処理部110がフィルタ処理を行う。即ちフィルタ
処理が有効になる。一方、FLF=0の場合には、前処
理部152はF’のRGBの各成分を1に固定する。フ
ィルタ係数F’のRGBの各成分を1に固定するという
ことは、上式(2)から明らかなように、フィルタ処理
を無効にすることと等価である。
When the flag FLF = 1, the pre-processing unit 152 outputs F ′ = F, and the filter processing unit 110 performs a filtering process based on F ′. That is, the filtering process becomes effective. On the other hand, when FLF = 0, the preprocessing unit 152 fixes the RGB components of F ′ to 1. Fixing each of the RGB components of the filter coefficient F 'to 1 is equivalent to disabling the filter processing, as is apparent from the above equation (2).

【0052】なお図4、図5、図6、図8においても、
図9(A)、(B)で説明したものと同様の手法でブレ
ンド処理、フィルタ処理の有効、無効を制御できるが、
ここでは説明を省略する。
In FIGS. 4, 5, 6 and 8,
Although the blending process and the filtering process can be enabled and disabled in the same manner as described with reference to FIGS.
Here, the description is omitted.

【0053】またフラグFLB、FLFは、例えば画面
毎(フレーム毎)、ポリゴンや自由曲面などの表示物
毎、あるいは表示物の各部分毎に設定できる。例えば色
情報、ブレンド係数、フィルタ係数等が同一に設定され
た画面であっても、FLB、FLFの設定を異ならせる
ことで、画面の見え方を異ならせることが可能となる。
同様に、色情報、ブレンド係数、フィルタ係数等が同一
に設定された表示物或いは表示物の各部分であっても、
FLB、FLFの設定を異ならせることで、表示物或い
は表示物の各部分の見え方を異ならせることが可能とな
る。従って、フラグFLB、FLFを用いることで、得
られる画像のバラエティを格段に増すことができ、少な
いハードウェア規模、処理負担で高品質な画像を生成す
ることが可能となる。
The flags FLB and FLF can be set, for example, for each screen (for each frame), for each display object such as a polygon or a free-form surface, or for each part of the display object. For example, even on a screen in which color information, a blend coefficient, a filter coefficient, and the like are set to be the same, it is possible to make the appearance of the screen different by changing the settings of FLB and FLF.
Similarly, even for a display object or each part of the display object in which the color information, the blend coefficient, the filter coefficient, and the like are set to be the same,
By making the settings of FLB and FLF different, it is possible to make the appearance of the display object or each part of the display object different. Therefore, by using the flags FLB and FLF, the variety of obtained images can be remarkably increased, and a high-quality image can be generated with a small hardware scale and processing load.

【0054】なお本発明は、上記実施例で説明したもの
に限らず、種々の変形実施が可能である。
The present invention is not limited to the embodiment described above, and various modifications can be made.

【0055】例えばブレンド処理手段、フィルタ処理手
段で行われるブレンド処理、フィルタ処理は本実施例で
説明したものに限られるものではなく、例えば視線方向
や光の屈折などを考慮したブレンド処理、フィルタ処理
等、種々のものを考えることができる。
For example, the blend processing and the filter processing performed by the blend processing means and the filter processing means are not limited to those described in the present embodiment. For example, the blend processing and the filter processing in consideration of the line-of-sight direction and light refraction are performed. And so on.

【0056】またブレンド処理、フィルタ処理の有効、
無効を制御する手法も図9(A)、(B)に示したもの
に限られるものではない。
Also, the validity of the blending process and the filtering process,
The method of controlling the invalidation is not limited to the method shown in FIGS. 9A and 9B.

【0057】また画像情報記憶手段(画像メモリ)に
は、1フレーム分の色情報の全てを書き込む必要はな
く、1フレーム分の色情報の一部のみを書き込むように
してもよい。例えば、画像生成ツール等においては、生
成したい画像を複数の部分に分割し、この分割された各
部分の画像を生成することもあるが、この様な場合に
も、本発明は適用できる。
It is not necessary to write all of the color information for one frame in the image information storage means (image memory), and only a part of the color information for one frame may be written. For example, in an image generation tool or the like, an image to be generated may be divided into a plurality of parts, and an image of each of the divided parts may be generated. The present invention can be applied to such a case.

【0058】[0058]

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

【図1】図1(A)、(B)、(C)は、ブレンド処
理、フィルタ処理が可能な画像生成装置について説明す
るための図である。
FIGS. 1A, 1B, and 1C are diagrams for explaining an image generating apparatus capable of performing a blending process and a filtering process; FIG.

【図2】図2(A)〜(E)は、ブレンド処理、フィル
タ処理の概念について説明するための図である。
FIGS. 2A to 2E are diagrams for explaining the concept of blend processing and filter processing;

【図3】本実施例の機能ブロック図の一例である。FIG. 3 is an example of a functional block diagram of the embodiment.

【図4】本実施例の機能ブロック図の他の例である。FIG. 4 is another example of a functional block diagram of the present embodiment.

【図5】ブレンド処理部、フィルタ処理部を含む第1〜
第Nの処理部を設ける場合の機能ブロック図の一例であ
る。
FIG. 5 is a diagram illustrating first to fifth examples including a blend processing unit and a filter processing unit;
It is an example of a functional block diagram in the case of providing the Nth processing part.

【図6】ブレンド処理部、フィルタ処理部を含む第1〜
第Nの処理部を設ける場合の機能ブロック図の他の例で
ある。
FIG. 6 is a diagram illustrating a first example including a blend processing unit and a filter processing unit;
FIG. 14 is another example of a functional block diagram in the case where an Nth processing unit is provided.

【図7】図7(A)〜(C)は、複数回のブレンド処
理、フィルタ処理の必要性、ブレンド処理、フィルタ処
理の有効、無効の制御の必要性について説明するための
図である。
FIGS. 7A to 7C are diagrams for explaining a plurality of times of blending processing, necessity of filter processing, and necessity of control of blending processing and validity / invalidity of filter processing;

【図8】ブレンド処理部、フィルタ処理部を含む第1〜
第Nの処理部を設ける場合の機能ブロック図の他の例で
ある。
FIG. 8 is a block diagram showing a first to a fifth embodiments including a blend processing unit and a filter processing unit;
FIG. 14 is another example of a functional block diagram in the case where an Nth processing unit is provided.

【図9】図9(A)、(B)は、ブレンド処理、フィル
タ処理の有効、無効を制御する場合の機能ブロック図の
一例である。
FIGS. 9A and 9B are examples of a functional block diagram in the case where the validity and invalidity of a blending process and a filtering process are controlled.

【符号の説明】[Explanation of symbols]

100 ブレンド処理部 110 フィルタ処理部 130-1〜130-N 第1〜第Nの処理部 120 画像メモリ(画像情報記憶手段) 150、152 前処理部REFERENCE SIGNS LIST 100 blend processing unit 110 filter processing unit 130 -1 to 130 -N first to Nth processing units 120 image memory (image information storage unit) 150, 152 preprocessing unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 9/74 G06F 15/72 350 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 9/74 G06F 15/72 350

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 半透明処理を行う画像生成装置であっ
て、 画像情報記憶手段からの画素毎の読み出し色情報と所与
の書き込み色情報とを所与のブレンド係数に基づいてブ
レンディングするブレンド処理手段と、 前記ブレンド処理手段からの色情報を所与のフィルタ係
数に基づいてフィルタリングし、得られた色情報を前記
画像情報記憶手段に書き込むフィルタ処理手段とを含む
ことを特徴とする画像生成装置。
1. An image generating apparatus for performing translucent processing, comprising: blending read color information for each pixel from image information storage means and given write color information based on a given blend coefficient. Means for filtering the color information from the blend processing means based on a given filter coefficient, and writing the obtained color information to the image information storage means. .
【請求項2】 半透明処理を行う画像生成装置であっ
て、 画像情報記憶手段からの画素毎の読み出し色情報を所与
のフィルタ係数に基づいてフィルタリングするフィルタ
処理手段と、 前記フィルタ処理手段からの色情報と所与の書き込み色
情報とを所与のブレンド係数に基づいてブレンディング
し、得られた色情報を前記画像情報記憶手段に書き込む
ブレンド処理手段とを含むことを特徴とする画像生成装
置。
2. An image generating apparatus for performing a translucent process, comprising: a filter processing unit configured to filter read color information for each pixel from an image information storage unit based on a given filter coefficient; And a blend processing unit for blending the color information and the given write color information based on a given blend coefficient and writing the obtained color information to the image information storage unit. .
【請求項3】 半透明処理を行う画像生成装置であっ
て、 画像情報記憶手段からの画素毎の読み出し色情報に少な
くとも基づいて第1の処理を行う第1の処理手段と、前
記第1の処理手段からの出力に少なくとも基づいて第2
の処理を行う第2の処理手段と、前記第2の処理手段か
らの出力に少なくとも基づいて第3の処理を行う第3の
処理手段と、・・・・・・第(N−1)(N≧2)の処
理手段からの出力に少なくとも基づいて第Nの処理を行
い、得られた色情報を前記画像情報記憶手段に書き込む
第Nの処理手段とを含み、 前記第1〜第Nの処理手段の少なくとも1つが、所与の
2つの色情報を所与のブレンド係数に基づいてブレンド
するブレンド処理手段であり、前記第1〜第Nの処理手
段の少なくとも1つが、所与の色情報を所与のフィルタ
係数に基づいてフィルタリングするフィルタ処理手段で
あることを特徴とする画像生成装置。
3. An image generating apparatus for performing a translucent process, comprising: a first processing unit for performing a first process based at least on color information read out for each pixel from an image information storage unit; A second based at least on the output from the processing means;
, A third processing unit that performs a third process based on at least an output from the second processing unit,... (N-1) ( An N-th processing unit that performs an N-th processing based on at least an output from the processing unit of (N ≧ 2), and writes the obtained color information to the image information storage unit. At least one of the processing means is blend processing means for blending given two pieces of color information based on a given blend coefficient, and at least one of the first to Nth processing means is provided with given color information. An image generating apparatus characterized in that the image processing apparatus is a filter processing unit that performs filtering based on a given filter coefficient.
【請求項4】 請求項1乃至3のいずれかにおいて、 前記ブレンド処理手段にて行われるブレンド処理、前記
フィルタ処理手段にて行われるフィルタ処理の少なくと
も1つを無効にする手段を含むことを特徴とする画像生
成装置。
4. The apparatus according to claim 1, further comprising a unit that invalidates at least one of a blending process performed by the blending unit and a filtering process performed by the filtering unit. An image generation device.
JP9028476A 1997-01-28 1997-01-28 Picture forming device Withdrawn JPH10214337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9028476A JPH10214337A (en) 1997-01-28 1997-01-28 Picture forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9028476A JPH10214337A (en) 1997-01-28 1997-01-28 Picture forming device

Publications (1)

Publication Number Publication Date
JPH10214337A true JPH10214337A (en) 1998-08-11

Family

ID=12249708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9028476A Withdrawn JPH10214337A (en) 1997-01-28 1997-01-28 Picture forming device

Country Status (1)

Country Link
JP (1) JPH10214337A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000066659A (en) * 1998-08-21 2000-03-03 Denso Corp Image compositing device and method, and navigation system
US6636233B1 (en) 1999-02-18 2003-10-21 Nec Electronics Corporation Apparatus for processing two-dimensional images and method of doing the same
JP2007164557A (en) * 2005-12-15 2007-06-28 Namco Bandai Games Inc Program, information recording medium and image generation system
JP5324017B1 (en) * 2013-03-13 2013-10-23 楽天株式会社 Image processing apparatus, image processing method, and image processing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000066659A (en) * 1998-08-21 2000-03-03 Denso Corp Image compositing device and method, and navigation system
US6636233B1 (en) 1999-02-18 2003-10-21 Nec Electronics Corporation Apparatus for processing two-dimensional images and method of doing the same
JP2007164557A (en) * 2005-12-15 2007-06-28 Namco Bandai Games Inc Program, information recording medium and image generation system
JP4717622B2 (en) * 2005-12-15 2011-07-06 株式会社バンダイナムコゲームス Program, information recording medium, and image generation system
JP5324017B1 (en) * 2013-03-13 2013-10-23 楽天株式会社 Image processing apparatus, image processing method, and image processing program
WO2014141412A1 (en) * 2013-03-13 2014-09-18 楽天株式会社 Image processing device, image processing method, and image processing program

Similar Documents

Publication Publication Date Title
US5995111A (en) Image processing apparatus and method
CA2279353C (en) A method and apparatus for performing chroma key, transparency and fog operations
EP1247253B1 (en) Dynamically adjusting a sample-to-pixel filter in response to user input and/or sensor input
KR100549358B1 (en) Image with depth of field using Z-buffer image data and alpha blending
JP4399910B2 (en) Image processing apparatus and method including blending processing
US6005580A (en) Method and apparatus for performing post-process antialiasing of polygon edges
US7499108B2 (en) Image synthesis apparatus, electrical apparatus, image synthesis method, control program and computer-readable recording medium
CN111080780B (en) Edge processing method and device for virtual character model
JPH07501639A (en) pixel change unit
JP2000149053A5 (en)
JP3073519B2 (en) Display range control device and external memory device
JPH0844867A (en) Method and equipment for correction of original image
US7864197B2 (en) Method of background colour removal for porter and duff compositing
JP3715222B2 (en) Drawing method, drawing device, drawing processing program, recording medium recording drawing processing program, and drawing processing program execution device
JP3328741B2 (en) Display device for anti-aliased images
JPH10208067A (en) Image generator and image generating method
US6064395A (en) Apparatus and method of synthesizing images
JPH10214337A (en) Picture forming device
JP2973573B2 (en) Image conversion device
JPH10208025A (en) Method and device for picture generation
JP2002325171A (en) Image composition processing apparatus and image composition program
JP3068590B1 (en) Two-dimensional image processing device
JPH10107999A (en) Image processing unit, its method and computer readable memory
KR20000023605A (en) Spotlight characteristic forming method and image processor using the same
JP2713677B2 (en) Color image color change processing method and color image synthesis processing method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040406