JP3465975B2 - Image synthesis device - Google Patents

Image synthesis device

Info

Publication number
JP3465975B2
JP3465975B2 JP32606894A JP32606894A JP3465975B2 JP 3465975 B2 JP3465975 B2 JP 3465975B2 JP 32606894 A JP32606894 A JP 32606894A JP 32606894 A JP32606894 A JP 32606894A JP 3465975 B2 JP3465975 B2 JP 3465975B2
Authority
JP
Japan
Prior art keywords
image data
memory
original image
data
processors
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
JP32606894A
Other languages
Japanese (ja)
Other versions
JPH07234947A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP32606894A priority Critical patent/JP3465975B2/en
Publication of JPH07234947A publication Critical patent/JPH07234947A/en
Application granted granted Critical
Publication of JP3465975B2 publication Critical patent/JP3465975B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、テクスチャマッピング
によって画像を合成する装置に関するものであり、特
に、画像合成に必要なデータを保存するメモリの構成法
を提供することにより、少ないメモリ容量による安価な
構成で、高速な処理が可能になるよう構成された画像合
成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for synthesizing an image by texture mapping, and more particularly, by providing a method of configuring a memory for storing data required for image synthesizing, it is possible to reduce the cost due to a small memory capacity. The present invention relates to an image synthesizing device configured to enable high-speed processing with various configurations.

【0002】[0002]

【従来の技術】コンピュータを用いて物体の3次元的な
構造から2次元画像を合成する、いわゆる3次元コンピ
ュータ・グラフィックス(CG)の手法の1つとして、
テクスチャマッピングという手法がある。
2. Description of the Related Art As one of so-called three-dimensional computer graphics (CG) methods for synthesizing a two-dimensional image from a three-dimensional structure of an object using a computer,
There is a technique called texture mapping.

【0003】このテクスチャマッピングによれば、合成
画像データの各画素値を原画像データの画素値から得る
ので自然な画像を合成することができる。しかしその反
面、画像の合成に必要な演算量、及びメモリアクセスの
両方が大きいために、テクスチャマッピングによる画像
合成には、複数のプロセッサを備えたいわゆるマルチプ
ロセッサ構成の合成装置が利用されることが多い。
According to this texture mapping, since each pixel value of the composite image data is obtained from the pixel value of the original image data, a natural image can be composed. However, on the other hand, since the amount of calculation required for image composition and the memory access are both large, a so-called multiprocessor composition device having a plurality of processors is used for image composition by texture mapping. Many.

【0004】以下に、テクスチャマッピングにより画像
合成を行う従来のマルチプロセッサ構成の画像合成装置
を、図10を参照しながら説明する。
An image synthesizing apparatus having a conventional multiprocessor structure for synthesizing images by texture mapping will be described below with reference to FIG.

【0005】図10に示すように、複数のプロセッサ1
00a、100b、・・・(以下まとめて100とす
る)は、それぞれ、バス101a、101b、・・・
(以下まとめて101とする)によってローカルメモリ
102a、102b、・・・(以下まとめて102とす
る)と、フレームメモリ103a、103b、・・・
(以下まとめて103とする)に接続されており、フレ
ームメモリ103は、画像パス104によって1つに接
続されている。
As shown in FIG. 10, a plurality of processors 1
00a, 100b, ... (Hereinafter collectively referred to as 100) are buses 101a, 101b ,.
(Hereinafter collectively referred to as 101), the local memories 102a, 102b, ... (hereinafter collectively referred to as 102), and the frame memories 103a, 103b ,.
(Hereinafter collectively referred to as 103), and the frame memories 103 are connected together by the image path 104.

【0006】このような構成の従来の画像合成装置にお
いて、各プロセッサ100は、処理する合成画像データ
の領域によって負荷を分散して処理を行う。各プロセッ
サ100は、原画像データ、及び画像合成に必要な描画
データをそれぞれローカルメモリ102に格納し、これ
を処理することによって割り当てられた領域の合成画像
データを生成する。各プロセッサ100によって生成さ
れた合成画像データは、対応するフレームメモリ103
へ格納される。フレームメモリ103は、VRAM等の
2つのポートを有するメモリで構成されている。複数の
プロセッサ100によってそれぞれ分割して生成された
合成画像データは、画像パス104で1つにまとめられ
て出力される。
In the conventional image synthesizing apparatus having such a configuration, each processor 100 performs processing by distributing the load depending on the area of the synthesized image data to be processed. Each processor 100 stores original image data and drawing data required for image composition in the local memory 102, respectively, and processes them to generate composite image data of the allocated area. The composite image data generated by each processor 100 corresponds to the corresponding frame memory 103.
Stored in. The frame memory 103 is composed of a memory having two ports such as VRAM. The composite image data generated by being divided by each of the plurality of processors 100 are combined into one by the image path 104 and output.

【0007】一般的に、マルチプロセッサ構成による装
置では、プロセッサ間で共有するデータのアクセスの際
に発生するメモリアクセスの競合をいかに少なくするか
が性能を左右する。上記従来の画像合成装置では、原画
像データ及び描画データはローカルメモリへ、合成画像
データは分割した領域毎にフレームメモリへ格納するこ
とにより、複数のプロセッサからのメモリアクセス競合
に起因する性能低下を回避し、高速な画像合成を実現し
ていた。
Generally, in a device having a multiprocessor configuration, the performance depends on how small the contention of the memory access which occurs when the data shared by the processors is accessed. In the above-mentioned conventional image synthesizing device, the original image data and the drawing data are stored in the local memory, and the synthetic image data is stored in the frame memory for each divided area, so that the performance degradation due to the memory access competition from a plurality of processors is prevented. It avoids it and realizes high-speed image composition.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
画像合成装置では、透過や写り込みなどの処理を含む画
像合成のように、生成された合成画像データ(または合
成途中の画像データ)を原画像データとして再度利用す
る必要がある場合、他のプロセッサが生成した合成画像
データへのアクセスしなければならない。しかし、合成
画像データへアクセスすることのできるプロセッサが限
られているため、このような画像の合成は高速に行うこ
とができないという問題点を有していた。
However, in the conventional image synthesizing device, the generated synthetic image data (or the image data in the process of synthesizing) is used as the original image as in the image synthesizing including the processing such as the transparency and the reflection. If the data needs to be reused, the synthetic image data generated by another processor must be accessed. However, there is a problem in that such images cannot be combined at high speed because the number of processors that can access the combined image data is limited.

【0009】また、原画像データや描画データのための
メモリ領域を、複数のプロセッサがローカルメモリ内に
重複して確保する必要があり、多くのメモリ容量が必要
となるために装置が高価になるという問題点も有してい
た。
Further, it is necessary for a plurality of processors to reserve the memory areas for the original image data and the drawing data in the local memory in an overlapping manner, and a large memory capacity is required, so that the apparatus becomes expensive. There was also a problem.

【0010】本発明はこのような現状に鑑みてなされた
ものであり、本発明の目的は、複数のプロセッサから同
時にアクセス可能なメモリを構成することにより、安価
で高速な画像合成装置を提供することである。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an inexpensive and high-speed image synthesizing apparatus by configuring a memory that can be simultaneously accessed by a plurality of processors. That is.

【0011】[0011]

【課題を解決するための手段】本発明の画像合成装置
は、複数の面を有する対象物の3次元構造を定義する情
報を含むモデルデータと、該複数の面に属する画素の値
を表す原画像データと、該原画像データ及び該モデルデ
ータを用いて合成された3次元画像を2次元画像に変換
するためのレンダリングデータとを用いて、画像を合成
する画像合成装置であって、所定のアドレス単位で複数
のメモリブロックに分割されているメモリ手段であっ
て、該モデルデータ、該原画像データ、該レンダリング
データ、及び合成された2次元画像を表す合成画像デー
タを格納するメモリ手段と、アドレス空間を有するアー
ビタ部であって、該アドレス空間において連続するアド
レスは、異なるメモリブロックに割り当てられており、
それにより該複数のメモリブロックのアドレスがインタ
ーリーブされているアービタ部と、該対象物の該複数の
面のうちの異なる面の画像をそれぞれが合成する複数の
プロセッサ部であって、該複数のプロセッサ部のそれぞ
れは、該アービタ部を介して該メモリ手段にアクセス
し、該複数の面のうちの特定の面に対応する該モデルデ
ータの部分、該原画像データのうちの該特定の面に対応
する部分、及び該レンダリングデータのうちの該特定の
面に対応する部分に基づいて該特定の面の画像を合成す
る複数のプロセッサ手段とを備えており、該原画像デー
タ及び該合成画像データのそれぞれは、2次元座標空間
上で複数の矩形領域に分割されており、該複数の矩形領
域は、該複数のメモリブロックにそれぞれ割り付けられ
ており、そのことにより上記目的を達成する。
An image synthesizing apparatus according to the present invention includes model data including information defining a three-dimensional structure of an object having a plurality of surfaces, and an original representing values of pixels belonging to the plurality of surfaces. An image synthesizing apparatus for synthesizing an image using image data and rendering data for converting a three-dimensional image synthesized using the original image data and the model data into a two-dimensional image, Memory means divided into a plurality of memory blocks on an address basis, the memory means storing the model data, the original image data, the rendering data, and combined image data representing a combined two-dimensional image; An arbiter unit having an address space, consecutive addresses in the address space are assigned to different memory blocks,
Thereby, there are provided an arbiter unit in which addresses of the plurality of memory blocks are interleaved, and a plurality of processor units for respectively synthesizing images of different surfaces of the plurality of surfaces of the object, Each of the parts accesses the memory means via the arbiter part and corresponds to a part of the model data corresponding to a specific surface of the plurality of surfaces and a specific surface of the original image data. And a plurality of processor means for synthesizing an image of the specific surface based on a portion of the rendering data corresponding to the specific surface, the original image data and the synthetic image data. Each is divided into a plurality of rectangular areas in the two-dimensional coordinate space, and the plurality of rectangular areas are respectively allocated to the plurality of memory blocks. Ri to achieve the above purpose.

【0012】前記3次元構造を定義する情報は、前記複
数の面を定義する情報の1次元配列であり、前記複数の
プロセッサは、該複数の面を定義する情報が並べられて
いる順に該複数の面の画像を合成し、それにより該複数
の面のうちの該複数のプロセッサの個数と同じ数の面の
画像を同時に合成し、前記画像合成装置は、原画像デー
タのうちの該同時に合成される面に対応する部分が同一
のメモリブロックに格納されているか否かを判別し、該
同時に合成される面に対応する部分が該同一のメモリブ
ロックに格納されているときには、該複数の面を定義す
る情報の配列を変更する手段をさらに備えていてもよ
い。
The information defining the three-dimensional structure is a one-dimensional array of information defining the plurality of surfaces, and the plurality of processors are arranged in the plurality of processors in the order in which the information defining the plurality of surfaces are arranged. Images of the same number of surfaces of the plurality of planes are combined at the same time, and the image composition device combines the images of the original image data at the same time. It is determined whether or not a portion corresponding to the surface to be combined is stored in the same memory block, and when a portion corresponding to the surface to be simultaneously synthesized is stored in the same memory block, the plurality of surfaces It may further include means for changing the arrangement of the information defining the.

【0013】前記複数のプロセッサは、前記複数の面の
うちの該複数のプロセッサの個数と同じ数の面の画像を
同時に合成し、前記複数の矩形領域は、第1の方向にお
いて距離uλ毎、または第2の方向において距離vλ毎
に同じメモリブロックに割り付けられており、前記画像
合成装置は、前記原画像データのうちの任意の1つの面
に対応する部分の該第1の方向の大きさはuλよりも小
さく、該第2の方向の大きさはvλよりも十分に小さく
なるように、該原画像データが前記メモリ部に格納され
る前に該原画像データの構成を変更する手段と、該同時
に合成される面に対応する原画像データの部分が異なる
メモリブロックに存在するように、該同時に合成される
面を選択する手段とをさらに備えていてもよい。
The plurality of processors simultaneously combine images of the same number of planes as the number of the plurality of planes of the plurality of planes, and the plurality of rectangular areas are arranged at a distance uλ in the first direction. Alternatively, the image synthesizing device is assigned to the same memory block for each distance vλ in the second direction, and the image synthesizing apparatus determines the size in the first direction of a portion of the original image data corresponding to any one surface. Is smaller than uλ and the size in the second direction is sufficiently smaller than vλ, and means for changing the configuration of the original image data before the original image data is stored in the memory unit. And a means for selecting the surfaces to be simultaneously combined so that the portions of the original image data corresponding to the surfaces to be simultaneously combined exist in different memory blocks.

【0014】前記メモリ手段はDRAMを有しており、
前記複数のメモリブロックのそれぞれは、該DRAMの
1つのメモリセルアレイであり、前記複数の矩形領域の
それぞれはさらに複数の小矩形領域に分割されており、
該複数の小矩形領域は、該メモリセルアレイ内の複数の
列アドレスにそれぞれ割り付けられていてもよい。
The memory means has a DRAM,
Each of the plurality of memory blocks is one memory cell array of the DRAM, and each of the plurality of rectangular areas is further divided into a plurality of small rectangular areas,
The plurality of small rectangular areas may be assigned to a plurality of column addresses in the memory cell array.

【0015】前記メモリ手段はDRAMを有しており、
前記複数のメモリブロックのそれぞれは、該DRAMの
1つのメモリセルアレイであり、前記複数の矩形領域の
それぞれはさらに複数の小矩形領域に分割されており、
該複数の小矩形領域のそれぞれは、該メモリセルアレイ
内の1つの列アドレスに割り付けられており、かつ隣接
する小矩形領域が互いに異なるメモリセルアレイに対応
するように割り付けられていてもよい。
The memory means has a DRAM,
Each of the plurality of memory blocks is one memory cell array of the DRAM, and each of the plurality of rectangular areas is further divided into a plurality of small rectangular areas,
Each of the plurality of small rectangular areas may be allocated to one column address in the memory cell array, and adjacent small rectangular areas may be allocated to different memory cell arrays.

【0016】前記モデルデータのうちの前記特定の面に
対応する部分は、前記原画像データのうちの該特定の面
に対応する部分と同一のメモリブロックに格納されてい
てもよい。
A portion of the model data corresponding to the specific surface may be stored in the same memory block as a portion of the original image data corresponding to the specific surface.

【0017】前記メモリ手段及び前記アービタ部は、単
一のLSIによって実装されていてもよい。
The memory means and the arbiter unit may be mounted by a single LSI.

【0018】[0018]

【作用】本発明は、上記の構成により、複数のプロセッ
サから同時にアクセスすることができるメモリ部に、原
画像データ、合成画像データ等を格納する。従って、合
成画像データに対しても、再度原画像データとして複数
のプロセッサから同時にアクセスすることが可能とな
る。これにより、従来のように複数のプロセッサのロー
カルメモリに原画像データまたは合成画像データを重複
して確保する必要をなくすことができ、少ないメモリ容
量で、高速かつ安価な画像合成装置を実現することがで
きる。
According to the present invention, with the above configuration, the original image data, the combined image data, etc. are stored in the memory section which can be simultaneously accessed by a plurality of processors. Therefore, it is possible to simultaneously access the composite image data again as original image data from a plurality of processors. As a result, it is possible to eliminate the need to duplicately secure the original image data or the combined image data in the local memories of a plurality of processors as in the related art, and to realize a high-speed and inexpensive image combining device with a small memory capacity. You can

【0019】また、原画像データ及び合成画像データを
2次元座標空間上で複数の矩形領域に分割し、各矩形領
域を1つのメモリブロックに割り当てている。これによ
り、1つのプロセッサが1つの面の画像を合成する際に
アクセスするメモリブロックの数を減らすことができ
る。さらに、複数のプロセッサによって同時に処理され
る面の選択方法を制御することにより、メモリアクセス
競合の頻度を減少させることができる。
Further, the original image data and the composite image data are divided into a plurality of rectangular areas in the two-dimensional coordinate space, and each rectangular area is assigned to one memory block. As a result, it is possible to reduce the number of memory blocks accessed by one processor when synthesizing images of one surface. Further, by controlling the method of selecting the planes that are simultaneously processed by a plurality of processors, the frequency of memory access contention can be reduced.

【0020】さらに、各矩形領域をさらに細かく小矩形
領域に分割し、各小矩形領域を、メモリセルアレイ内の
同一列に割り当てると、列アドレス変更による画像合成
の速度の低下を防ぐことができ、更なる高速化を実現す
ることができる。
Further, by dividing each rectangular area into smaller rectangular areas and allocating each small rectangular area to the same column in the memory cell array, it is possible to prevent a decrease in the image synthesizing speed due to the column address change. Further speeding up can be realized.

【0021】[0021]

【実施例】【Example】

(実施例1)以下、本発明の画像合成装置の実施例1を
図面を参照しながら説明する。
(Embodiment 1) Hereinafter, Embodiment 1 of the image synthesizing apparatus of the present invention will be described with reference to the drawings.

【0022】図1は、本発明の画像合成装置の実施例1
の概略構成を示す図である。プロセッサ部10は、複数
のプロセッサ10a、10b、・・・を有しており、各
プロセッサは、プロセッサバス13によってアービタ部
12に接続されている。メモリ部11は、メモリバス1
4によってそれぞれアービタ部12に接続されている複
数のメモリブロック11a、11b・・・を有してい
る。複数のプロセッサ10a、10b、・・・は、アー
ビタ部12を介して複数のメモリブロック11a、11
b、・・・にアクセスする。
FIG. 1 shows a first embodiment of the image synthesizing apparatus of the present invention.
It is a figure which shows schematic structure of. The processor unit 10 has a plurality of processors 10a, 10b, ..., Each processor is connected to the arbiter unit 12 by a processor bus 13. The memory unit 11 is the memory bus 1
4 has a plurality of memory blocks 11a, 11b, ... Connected to the arbiter unit 12 respectively. The plurality of processors 10a, 10b, ... Are connected to the plurality of memory blocks 11a, 11 via the arbiter unit 12.
b, ... is accessed.

【0023】図2は、アービタ部12がプロセッサ部1
0から見て上位8ビット、下位8ビットを合わせた16
ビットのアドレス空間を有している場合のアドレスイン
ターリーブの例、つまり、アービタ部12のアドレス
と、複数のメモリブロック11a、11b、・・・及び
そのメモリブロック内のアドレスとの関係を示す例であ
る。この例では、アドレスインターリーブによって、ア
ービタ部12の連続するアドレス空間は異なるメモリブ
ロック11a、11b、・・・に割り当てられている。
例えば、プロセッサ部10から見たアドレス0x000
1及び0x0002は、それぞれ、メモリブロック11
bのアドレス0x00、メモリブロック11cのアドレ
ス0x00に割り当てられており、それゆえに同時にア
クセス可能である。
In FIG. 2, the arbiter unit 12 is the processor unit 1.
16 high-order 8 bits and low-order 8 bits viewed from 0
An example of address interleaving in the case of having an address space of bits, that is, an example showing a relationship between an address of the arbiter unit 12 and a plurality of memory blocks 11a, 11b, ... is there. In this example, the continuous address space of the arbiter unit 12 is assigned to different memory blocks 11a, 11b, ... By address interleaving.
For example, the address 0x000 seen from the processor unit 10
1 and 0x0002 are the memory blocks 11 respectively.
It is assigned to the address 0x00 of b and the address 0x00 of the memory block 11c, so that they can be simultaneously accessed.

【0024】同一のメモリブロックに割り当てられたア
ービタ部12の複数のアドレスに対して、複数のプロセ
ッサから同時にアクセスがあった場合、つまりメモリア
クセスの競合が発生した場合、1つのアクセスが即時に
処理され、残りのアクセスに対しては待ち時間が生じ
る。このことが複数のプロセッサを有するプロセッサ部
10の処理能力低下の原因となる。しかし、メモリアク
セス競合の頻度は、複数のプロセッサへの処理の割り当
ての方法を工夫することによって、減少させることがで
きるし、またアクセス数に対してメモリブロックの数を
大きくすることによっても減少させることができる。
When a plurality of processors simultaneously access a plurality of addresses of the arbiter unit 12 assigned to the same memory block, that is, when a memory access conflict occurs, one access is immediately processed. And a latency occurs for the rest of the accesses. This causes a decrease in the processing capability of the processor unit 10 having a plurality of processors. However, the frequency of memory access contention can be reduced by devising the method of allocating processing to multiple processors, and also by increasing the number of memory blocks with respect to the number of accesses. be able to.

【0025】図3は、メモリ部11内に格納されている
データを示している。メモリ部11には、原画像データ
30、モデルデータ31、レンダリングデータ32、及
び合成画像データ33が格納されている。原画像データ
30及び合成画像データ33は、対象物の複数の面に属
する画素値の2次元配列からなるデータである。モデル
データ31は、複数の面を有する対象物の3次元的構造
を規定する情報と、この構造情報と原画像データ30と
の対応関係の情報を含むデータである。レンダリングデ
ータ32は、原画像データ30及びモデルデータ31を
用いて合成された画像を2次元座標空間に投影するため
に必要な、合成時の視点、投影面等の情報を含むデータ
である。合成画像データ33は、原画像データ30、モ
デルデータ31、レンダリングデータ32を用いて生成
される画像のデータである。
FIG. 3 shows the data stored in the memory section 11. The memory unit 11 stores original image data 30, model data 31, rendering data 32, and combined image data 33. The original image data 30 and the composite image data 33 are data composed of a two-dimensional array of pixel values belonging to a plurality of surfaces of the object. The model data 31 is data including information defining a three-dimensional structure of an object having a plurality of surfaces and information on a correspondence relationship between the structure information and the original image data 30. The rendering data 32 is data including information such as a viewpoint and a projection surface at the time of combining, which is necessary for projecting an image combined using the original image data 30 and the model data 31 in a two-dimensional coordinate space. The composite image data 33 is data of an image generated using the original image data 30, the model data 31, and the rendering data 32.

【0026】図4は、図3に示すようにメモリ部11に
格納されたモデルデータ31の例である。モデルデータ
31は、原画像データ30を参照する原画像データ参照
情報、対象物が面p0、p1、・・・によって構成され
ることを示すモデル構成情報、面のそれぞれが有する頂
点を示す面の構成情報、各頂点の原画像上の2次元座標
と、それに対応する3次元座標を示している頂点の構成
情報とを含んでいる。原画像データ参照情報は、モデル
構成情報において面が並べられている順番にしたがって
順に参照される。例えば、図3に示すような立方体を合
成する場合には、対象物は6つの面を有しており、各面
は4つの頂点から構成され、頂点は全部で8つ存在し、
それぞれの頂点は原画像に対応して存在する。
FIG. 4 shows an example of the model data 31 stored in the memory section 11 as shown in FIG. The model data 31 includes original image data reference information that refers to the original image data 30, model configuration information that indicates that an object is composed of the faces p0, p1, ... It includes the configuration information, the two-dimensional coordinates of each vertex on the original image, and the vertex configuration information indicating the corresponding three-dimensional coordinates. The original image data reference information is sequentially referred to in the order in which the surfaces are arranged in the model configuration information. For example, when synthesizing a cube as shown in FIG. 3, the object has six faces, each face is composed of four vertices, and there are eight vertices in total.
Each vertex exists corresponding to the original image.

【0027】以上のような構成を有する画像合成装置の
動作を説明する。
The operation of the image synthesizing apparatus having the above configuration will be described.

【0028】複数のプロセッサ10a、10b、・・・
のそれぞれは、予め与えられたプログラムにしたがって
複数の面p0、p1、・・・うちの1つの画像の合成を
別個に行う。各プロセッサに処理を行うべき面を割り当
てる制御は、図示しない制御部によって行われる。な
お、複数のプロセッサ10a、10b、・・・の任意の
1つに制御部を兼ねさせることもできる。各プロセッサ
は、アービタ部12を経由してメモリ部11にアクセス
し、モデルデータ31、原画像データ30、及びレンダ
リングデータ32のうちの、それぞれに割り当てられた
面に対応する部分を読み込む。ここで、複数のプロセッ
サ10a、10b、・・・によるテクスチャマッピング
処理においては、メモリアクセスのほとんどが原画像デ
ータ30及び合成画像データ33へのアクセスである。
各プロセッサは、読み込まれたデータに基づいてテクス
チャマッピング処理によりそれぞれ割り当てられた面の
合成画像データ33を生成すると、合成画像データ33
をメモリ部11に書き込む。以上で画像合成処理を終了
する。
A plurality of processors 10a, 10b, ...
Of each of the plurality of planes p0, p1, ... Control of assigning a surface to be processed to each processor is performed by a control unit (not shown). Note that any one of the plurality of processors 10a, 10b, ... Can also serve as the control unit. Each processor accesses the memory unit 11 via the arbiter unit 12 and reads the part of the model data 31, the original image data 30, and the rendering data 32 corresponding to the surface assigned to each of them. Here, in the texture mapping processing by the plurality of processors 10a, 10b, ..., Most of the memory access is access to the original image data 30 and the composite image data 33.
When each processor generates the combined image data 33 of the surfaces assigned by the texture mapping processing based on the read data, the combined image data 33
Is written in the memory unit 11. This completes the image composition processing.

【0029】上述した動作において、各プロセッサに処
理すべき面を割り当てる制御は、以下のようにして行わ
れる。まず、複数のプロセッサ10a、10b、・・・
は、制御部によって定められた順にメモリ部11にアク
セスし、モデルデータ31を参照する。モデルデータ3
1には、面や頂点などの構造的な情報に加えて、各面の
画像合成が未処理か否かを示す未処理フラグが各面に1
つずつ備えられている。これらの未処理フラグは、画像
合成処理を各プロセッサが開始する以前に全て0にセッ
トされる。複数のプロセッサ10a、10b、・・・
は、モデル構成情報において面が並べられている順に未
処理フラグを参照し、未処理フラグが0である面を選択
し、選択した面の未処理フラグを1にしてから画像合成
を始める。このとき、制御部は、1つのプロセッサが選
択した面の未処理フラグを0から1に書き換えている間
は、他のプロセッサはモデルデータを参照することがで
きないように各プロセッサを制御する。このようにし
て、複数のプロセッサ10a、10b、・・・は、それ
ぞれ異なる面の画像処理を行うことができる。このよう
な制御により、モデル構成情報内に並べられている複数
の面p0、p1、・・・のうち、複数のプロセッサ10
a、10b、・・・の総数に等しい数だけ連続した面の
画像合成処理が同時に行われることになる。
In the above-mentioned operation, the control for allocating the surface to be processed to each processor is performed as follows. First, the plurality of processors 10a, 10b, ...
Accesses the memory unit 11 in the order determined by the control unit and refers to the model data 31. Model data 3
In addition to structural information such as faces and vertices, an unprocessed flag indicating whether or not the image synthesis of each face is unprocessed is 1 for each face.
Each one is equipped. These unprocessed flags are all set to 0 before the image synthesizing process is started by each processor. Multiple processors 10a, 10b, ...
Refers to the unprocessed flags in the order in which the surfaces are arranged in the model configuration information, selects the surface whose unprocessed flag is 0, sets the unprocessed flag of the selected surface to 1, and then starts image synthesis. At this time, the control unit controls each processor so that another processor cannot refer to the model data while the unprocessed flag of the surface selected by one processor is being rewritten from 0 to 1. In this way, the plurality of processors 10a, 10b, ... Can perform image processing on different surfaces. By such control, a plurality of processors 10 among the plurality of planes p0, p1, ... Arranged in the model configuration information.
The image synthesizing processing of continuous planes is performed at the same time by a number equal to the total number of a, 10b, ....

【0030】以上説明したように、本実施例の画像合成
装置では、複数のプロセッサ10a、10b、・・・が
それぞれ異なる面の画像合成を行う。同時に行われる複
数のプロセッサ10a、10b、・・・からのメモリア
クセスは、原画像データ30及び合成画像データ33の
異なるアドレスへのアクセスがほとんどである。このた
め、複数のプロセッサ10a、10b、・・・から、複
数のメモリブロック11a、11b、・・・へのアクセ
スは、多くの場合同時に処理可能となり、その結果、高
速な画像合成を実現することができる。
As described above, in the image synthesizing apparatus of this embodiment, the plurality of processors 10a, 10b, ... Perform image synthesizing on different planes. Most of the memory accesses from the plurality of processors 10a, 10b, ... Simultaneously performed are accesses to different addresses of the original image data 30 and the composite image data 33. Therefore, access from the plurality of processors 10a, 10b, ... To the plurality of memory blocks 11a, 11b, ... Can be processed simultaneously in many cases, and as a result, high-speed image composition can be realized. You can

【0031】また、本実施例によると、生成された合成
画像データは、プロセッサ部10から見て、原画像デー
タ30が存在するメモリ空間と等価なメモリ空間に書き
込まれる。したがって、図5に示すように、生成された
合成画像データ33aを原画像データとして利用して別
の合成画像データ33bを生成する必要がある場合で
も、どのプロセッサからでもアクセスが可能となり、従
来のマルチプロセッサ構成の画像合成装置よりも高速な
画像合成を行うことができる。また、原画像データ3
0、モデルデータ31、レンダリングデータ32及び合
成画像データ33a、33bの複数のコピーを重複して
格納しておく必要がないので、少ないメモリ容量のメモ
リ部11を備えた画像合成装置を実現することができ
る。
Further, according to the present embodiment, the generated composite image data is written in the memory space equivalent to the memory space in which the original image data 30 exists, as seen from the processor section 10. Therefore, as shown in FIG. 5, even when it is necessary to use the generated combined image data 33a as original image data to generate another combined image data 33b, it can be accessed from any processor, and the conventional It is possible to perform image synthesizing faster than the image synthesizing device having the multiprocessor configuration. Also, the original image data 3
0, the model data 31, the rendering data 32, and the multiple copies of the composite image data 33a and 33b do not need to be stored in duplicate, so that an image composition apparatus having a memory unit 11 with a small memory capacity can be realized. You can

【0032】(実施例2)以下、本発明の画像合成装置
の実施例2を説明する。
(Second Embodiment) A second embodiment of the image synthesizing apparatus of the present invention will be described below.

【0033】実施例2では、画像合成装置の動作及び構
成は、アービタ部12のアドレスインターリーブの方法
が異なることを除けば、上記実施例1の画像合成装置と
同じである。
In the second embodiment, the operation and the configuration of the image synthesizing device are the same as those of the image synthesizing device of the first embodiment except that the address interleaving method of the arbiter unit 12 is different.

【0034】図6に、本実施例におけるアービタ部12
のアドレスインターリーブの方法の例を示す。アービタ
部12のアドレス空間は所定ワードずつ複数のメモリブ
ロック11a、11b、・・・に割り当てられており、
ここでは256ワードのアドレス空間が1つのメモリブ
ロックに割り当てられているものとする。また、1つの
メモリブロックに割り当てられたインターリーブのブロ
ック(ここでは16×16のブロック)は、原画像デー
タ30及び合成画像データ33のそれぞれを2次元座標
空間上で複数の矩形領域に分割したときの1矩形領域に
割り当てられている。このようにアドレスインターリー
ブを行うことにより、ほとんどの場合において、それぞ
れのプロセッサが、割り当てられた1つの面の画像を合
成する際にアクセスするメモリブロックの数を、実施例
1と比べて少なくすることができる。
FIG. 6 shows the arbiter unit 12 in this embodiment.
An example of the method of address interleaving of is shown below. The address space of the arbiter unit 12 is assigned to a plurality of memory blocks 11a, 11b, ...
Here, it is assumed that an address space of 256 words is assigned to one memory block. The interleaved block (16 × 16 block in this case) assigned to one memory block is obtained when each of the original image data 30 and the composite image data 33 is divided into a plurality of rectangular areas in the two-dimensional coordinate space. Is allocated to one rectangular area. By performing address interleaving in this way, in most cases, the number of memory blocks accessed by each processor when synthesizing an image of an assigned one surface is reduced as compared with the first embodiment. You can

【0035】さらに、本実施例では、各プロセッサに画
像を合成すべき面を1つずつ割り当てる制御に加えて、
画像合成が同時に行われる複数の面として、原画像デー
タ30等の各面に対応する部分が異なるメモリブロック
に存在している面を選択する制御が行われる。これによ
りメモリアクセス競合の頻度を減少させることができ
る。
Further, in the present embodiment, in addition to the control for allocating one surface to be combined with each image to each processor,
As a plurality of surfaces for which image combination is performed at the same time, control is performed to select a surface in which a portion corresponding to each surface of the original image data 30 or the like exists in different memory blocks. This can reduce the frequency of memory access conflicts.

【0036】以下に、このような制御の方法の例を2つ
説明する。なお、モデルデータ31及びレンダリングデ
ータ32へのアクセス量は、原画像データ30及び合成
画像データ33へのアクセス量よりも小さいため、ここ
では原画像データ30及び合成画像データ33へのアク
セス衝突を回避する制御を主に説明する。
Two examples of such control methods will be described below. Since the access amount to the model data 31 and the rendering data 32 is smaller than the access amount to the original image data 30 and the composite image data 33, the access collision to the original image data 30 and the composite image data 33 is avoided here. The control to be performed will be mainly described.

【0037】上述したように、複数のプロセッサ10
a、10b、・・・は、モデルデータ31のモデル構成
情報内の順番にしたがって、プロセッサの総数と同じ数
の面の画像合成処理を同時に行う。このため、同時に処
理される面に対応する原画像データ30及び合成画像デ
ータ33が異なるメモリブロックに存在するように、モ
デル構成情報内の面の配列順を決定すればよい。
As described above, the plurality of processors 10
A, 10b, ... Simultaneously perform image combination processing of the same number of faces as the total number of processors according to the order in the model configuration information of the model data 31. Therefore, the arrangement order of the surfaces in the model configuration information may be determined so that the original image data 30 and the combined image data 33 corresponding to the surfaces to be processed at the same time exist in different memory blocks.

【0038】第一の制御方法では、モデルデータ31の
モデル構成情報内に、任意の順番で面を予め配列してお
く。原画像データ30及びモデルデータ31が2次記憶
装置から読み込まれることにより、あるいは計算により
生成され、メモリ部11に読み込まれると、モデルデー
タ31及び原画像データ30の各面に対応する部分が存
在するメモリブロックが定まる。上述した制御部(不図
示)は、読み込まれたモデル構成情報を基に、原画像デ
ータ30の各面に対応する部分がどのメモリブロックに
存在するかを調べる。その結果、プロセッサの総数と同
数の連続する面、つまり同時に画像合成処理が行われる
可能性が高い面に対応する原画像データ30の部分が異
なるメモリブロックに存在していればそのままにしてお
く。これに対して、同一のメモリブロックに存在するも
のがあれば、連続する面に対応する原画像データ30の
部分が異なるメモリブロックに存在するように、モデル
構成情報内の面の配列順を入れ替える。
In the first control method, the surfaces are arranged in advance in the model configuration information of the model data 31 in an arbitrary order. When the original image data 30 and the model data 31 are read from the secondary storage device or generated by calculation and read into the memory unit 11, there is a portion corresponding to each surface of the model data 31 and the original image data 30. The memory block to be used is determined. The above-mentioned control unit (not shown) checks in which memory block the portion corresponding to each surface of the original image data 30 exists based on the read model configuration information. As a result, if the same number of consecutive planes as the total number of processors, that is, the planes in which image combining processing is likely to be performed at the same time, the portions of the original image data 30 are present in different memory blocks, they are left as they are. On the other hand, if something exists in the same memory block, the arrangement order of the planes in the model configuration information is changed so that the portions of the original image data 30 corresponding to consecutive planes exist in different memory blocks. .

【0039】図11に示す制御のフローを参照しなが
ら、第一の制御方法をより具体的に説明する。ここで
は、3個のプロセッサ10a〜10cと、6個のメモリ
ブロック11a〜11fに分割されたメモリ部11とを
備えている画像合成装置が面p0〜p5の6つの面を有
する対象物の画像を合成する場合を例として考える。ま
た、原画像データ30の面p0、p1、p2、p3、p
4及びp5に対応する部分は、それぞれ、メモリブロッ
ク11a、11b、11a、11c、11d及び11e
に格納されるものとする。
The first control method will be described more specifically with reference to the control flow shown in FIG. Here, an image synthesizing apparatus including three processors 10a to 10c and a memory unit 11 divided into six memory blocks 11a to 11f is an image of an object having six planes p0 to p5. Consider as an example the case of synthesizing. In addition, the surfaces p0, p1, p2, p3, p of the original image data 30
The portions corresponding to 4 and p5 are the memory blocks 11a, 11b, 11a, 11c, 11d and 11e, respectively.
Shall be stored in.

【0040】原画像データ30及びモデルデータ31が
メモリ部11に読み込まれた後、制御部は図11に示さ
れる処理を実行する。まず、制御部は、複数の面のうち
からプロセッサの個数に等しい数の面を、モデル構成情
報内の配列順に、同時に画像合成が行われる面として特
定する(ステップS1)。例えば、面p0、p1及びp
2の3つの面が、同時に画像合成が行われる面として特
定される。続いて制御部は、特定された面に対応する原
画像データ30の部分のうち、同一メモリブロックに格
納されているものの数がn以下か否かを判断する(ステ
ップS2)。nは0以上の整数であり、画像合成装置に
備えられているプロセッサの数、及びメモリブロックの
個数等を考慮して予め決定される。同一メモリブロック
に格納されているものの数がnを超えたときには、制御
部は、同一メモリブロックに対応する原画像データ30
の部分が格納されているn個以上の面から1つを、面の
配列順の入れ替えの対象として選び出す(ステップS
3)。例えば、制御部は、該当する面のうちで配列順が
一番早いものを選択する。ここではn=0としており、
面p0及びp2に対応する原画像データ30の部分が同
一メモリブロック11aに格納されているので、面p0
が順番の入れ替えの対象となる面として選択される。
After the original image data 30 and the model data 31 are read into the memory section 11, the control section executes the processing shown in FIG. First, the control unit specifies, out of the plurality of surfaces, the number of surfaces equal to the number of processors as the surface in which image synthesis is performed simultaneously in the order of arrangement in the model configuration information (step S1). For example, the planes p0, p1 and p
The three planes of 2 are specified as the planes on which image synthesis is performed at the same time. Subsequently, the control unit determines whether or not the number of pieces of the original image data 30 corresponding to the specified surface stored in the same memory block is n or less (step S2). n is an integer of 0 or more and is determined in advance in consideration of the number of processors provided in the image synthesizing device, the number of memory blocks, and the like. When the number of items stored in the same memory block exceeds n, the control unit controls the original image data 30 corresponding to the same memory block.
One of the n or more faces in which the part of is stored is selected as the target of the face arrangement change (step S
3). For example, the control unit selects the surface having the earliest arrangement order from the corresponding surfaces. Here, n = 0,
Since the parts of the original image data 30 corresponding to the surfaces p0 and p2 are stored in the same memory block 11a, the surface p0
Is selected as the surface whose order is to be changed.

【0041】続いて、制御部は、複数の面のうちのステ
ップS1で特定された面よりも後に配列されている面の
うちから、原画像データ30の対応する部分が、ステッ
プS3で選択された面とは異なるメモリブロックに格納
されている面の有無を調べ(ステップS4)、該当する
面があれば、該当する面のうちの1つ、例えば配列順が
一番早いものと、ステップS3で選択された面との間で
配列順の入れ替えを行う(ステップS5)。このような
面の配列順の入れ替えを、特定された面に対応する原画
像データ30の部分のうち、同一のメモリブロックに存
在するものの数がn以下となるまで繰り返す。なお、ス
テップS4において特定された面よりも後には面が残っ
ていない場合には、ステップS6に進み、処理を終了す
る。このような処理を未判別の面が無くなるまで繰り返
すことにより、同時に処理する面として、原画像データ
30の対応する部分ができるだけ異なるメモリブロック
に存在する面を選択する制御が行われる。
Then, the control section selects the corresponding portion of the original image data 30 from the surfaces arranged after the surface specified in step S1 among the plurality of surfaces in step S3. The presence or absence of a surface stored in a memory block different from the stored surface is checked (step S4), and if there is a corresponding surface, one of the corresponding surfaces, for example, the one having the earliest arrangement order is determined to be step S3. The arrangement order is exchanged with the surface selected in (step S5). Such replacement of the array order of the planes is repeated until the number of those existing in the same memory block among the portions of the original image data 30 corresponding to the specified plane becomes n or less. If no surface remains after the surface specified in step S4, the process proceeds to step S6 and the process ends. By repeating such processing until there is no undetermined surface, control is performed to select a surface having corresponding portions of the original image data 30 in different memory blocks as much as possible, as surfaces to be simultaneously processed.

【0042】上述した例では、面p3と選択された面p
0との間で配列順の入れ替えが行われる。この時点でモ
デル構成情報内の6つの面の配列は、p3、p1、p
2、p0、p4、p5の順となる。次に、同時に処理さ
れる面として面p0、p4及びp5を選択し、上述した
処理と同様の処理を行う。ここではこれらの面に対応す
る原画像データ30の部分は、それぞれメモリブロック
11a、11d及び11eに存在しており、全て異な
る。したがって面の配列順の入れ替えは行われない。
In the above example, the plane p3 and the selected plane p
The arrangement order is exchanged between 0 and 0. At this point, the arrays of the six faces in the model configuration information are p3, p1, p
The order is 2, p0, p4, p5. Next, the surfaces p0, p4, and p5 are selected as the surfaces to be processed at the same time, and the same processing as that described above is performed. Here, the portions of the original image data 30 corresponding to these surfaces are present in the memory blocks 11a, 11d, and 11e, respectively, and are all different. Therefore, the order of arrangement of the faces is not changed.

【0043】このようにして、複数のプロセッサ10
a、10b、・・・によって複数の面の画像合成を同時
に行う際に、原画像データ30へのアクセスができるだ
け衝突しないようにすることができる。また、一般に、
原画像データ30の2次元座標空間上で隣接していない
面同士は、合成画像データ33の2次元座標空間上でも
隣接していない可能性が高い。なぜなら、通常、エリア
ノイズの少ない画質のよい画像を合成するためには、原
画像データ30と合成画像データ33の面積比がなるべ
く1:1の面が多くなるようにモデルデータ31及び原
画像データ30が用意され、それゆえに原画像データ3
0での面間の関係と、合成画像データ33での面間の関
係とは近い可能性が高いからである。したがって、上述
した方法により原画像データ30へのアクセスができる
だけ衝突しないようにすれば、合成画像データ33への
アクセス衝突の可能性も低減することができる。
In this way, the plurality of processors 10
It is possible to prevent access to the original image data 30 from colliding as much as possible when images of a plurality of surfaces are simultaneously combined by a, 10b, .... Also, in general,
It is highly possible that surfaces that are not adjacent in the two-dimensional coordinate space of the original image data 30 are not adjacent in the two-dimensional coordinate space of the composite image data 33. This is because normally, in order to synthesize an image having a high image quality with a small area noise, the model data 31 and the original image data are arranged so that the area ratio of the original image data 30 and the synthetic image data 33 is as large as 1: 1. 30 are prepared, and therefore, the original image data 3
This is because there is a high possibility that the relationship between the surfaces of 0 and the relationship between the surfaces of the composite image data 33 are close to each other. Therefore, if the access to the original image data 30 is made to avoid the collision as much as possible by the above-described method, the possibility of the access collision to the combined image data 33 can be reduced.

【0044】次に、第二の制御方法を説明する。Next, the second control method will be described.

【0045】計算によって生成された原画像データ30
及びモデルデータ31がメモリ部11に読み込まれる前
に、メモリ空間内で、原画像データ30、モデルデータ
31、レンダリングデータ32及び合成画像データ33
が格納されるべき領域が定められる。このとき、原画像
データ30の各矩形領域に対応する部分は、一定の周期
で同一のメモリブロックに割り当てられる。以下、2次
元座標空間上でのu方向及びv方向の周期をそれぞれu
λ、vλとする。各データが格納される領域が確保され
ると、制御部は、メモリ部11に読み込まれる前の原画
像データ30及びモデルデータ31を参照し、所定の条
件を満足するように原画像データ30及びモデルデータ
31を再構成する。これについては後で詳述する。続い
て、制御部は、メモリ部11内に読み込まれたモデルデ
ータ31内の頂点構成情報に基づいて、同一メモリブロ
ックに原画像データ30の対応する部分が存在する確率
が低い面の組を決定する。これに基づき、制御部は、複
数のプロセッサによって画像が合成される面の順番を制
御する。
Original image data 30 generated by calculation
Before the model data 31 and the model data 31 are read into the memory unit 11, the original image data 30, the model data 31, the rendering data 32, and the composite image data 33 are stored in the memory space.
The area in which is stored is defined. At this time, the portion of the original image data 30 corresponding to each rectangular area is assigned to the same memory block at a constant cycle. In the following, the u-direction and v-direction periods in the two-dimensional coordinate space are respectively represented by u.
Let λ and vλ. When the area for storing each data is secured, the control unit refers to the original image data 30 and the model data 31 before being read into the memory unit 11, and sets the original image data 30 and the model data 31 so as to satisfy a predetermined condition. The model data 31 is reconstructed. This will be described in detail later. Subsequently, the control unit determines a set of faces having a low probability that a corresponding portion of the original image data 30 exists in the same memory block, based on the vertex configuration information in the model data 31 read in the memory unit 11. To do. Based on this, the control unit controls the order of the surfaces on which the images are combined by the plurality of processors.

【0046】図12は、原画像データ30及びモデルデ
ータ31の再構成処理の流れの例を示す図である。まず
制御部は、原画像データ30の各矩形領域が割り当てら
れたメモリブロックを調べ、これに基づいて、上記周期
uλ、vλを求める(S101)。続いて、制御部は、
原画像データ30の各面に対応する部分の2次元座標空
間上での大きさを調べ、複数の面に対応する部分のu方
向、v方向の平均的な大きさが、それぞれ周期uλ、v
λよりも小さいか否かを判別する(S102)。複数の
面に対応する部分のu方向、v方向の平均的な大きさ
が、それぞれ周期uλ、vλよりも大きければ、原画像
データ30を生成する上での面の大きさの設定が変更さ
れる(S103)。これに対応してモデルデータ31も
再構成される(S104)。
FIG. 12 is a diagram showing an example of the flow of the reconstruction process of the original image data 30 and the model data 31. First, the control unit examines the memory block to which each rectangular area of the original image data 30 is assigned, and based on this, obtains the cycles uλ and vλ (S101). Then, the control unit
The sizes of the parts of the original image data 30 corresponding to the respective surfaces in the two-dimensional coordinate space are examined, and the average sizes of the parts corresponding to the plurality of surfaces in the u and v directions are the cycles uλ and v, respectively.
It is determined whether it is smaller than λ (S102). If the average sizes in the u-direction and v-direction of the portions corresponding to the plurality of surfaces are larger than the cycles uλ and vλ, respectively, the setting of the surface size for generating the original image data 30 is changed. (S103). Corresponding to this, the model data 31 is also reconfigured (S104).

【0047】例えば、対象物が面p0〜p5を有してい
る場合に、原画像データ30のこれらの面に対応する部
分の平均的な大きさが周期uλ、vλよりも大きけれ
ば、制御部は各面をさらに細かに分割する。分割によ
り、対象物が有する面が面p0〜p23になったとする
と、これに対応してモデルデータ31は、モデル構成情
報は面p0〜p23の配列に変更され、原画像データ参
照情報は、1つの面の画像合成に用いられる原画像デー
タ30の部分が1つとなるように変更される。あわせて
面構成情報及び頂点構成情報も変更される。
For example, if the object has surfaces p0 to p5 and the average size of the portions of the original image data 30 corresponding to these surfaces is larger than the cycles uλ and vλ, the control unit. Divides each face into smaller pieces. Assuming that the surfaces of the object are the surfaces p0 to p23 due to the division, the model data 31 correspondingly changes the model configuration information to the array of the surfaces p0 to p23, and the original image data reference information is 1 The part of the original image data 30 used for image composition of one surface is changed to one. At the same time, the surface configuration information and the vertex configuration information are also changed.

【0048】上述した処理を、原画像データ30の複数
の面に対応する部分の平均的な大きさが周期uλ、vλ
よりも小さくなるまで繰り返す。このようにして原画像
データ30及びモデルデータ31は再構成される。
In the above-described processing, the average size of the portions of the original image data 30 corresponding to a plurality of surfaces is determined by the periods uλ and vλ.
Repeat until smaller. In this way, the original image data 30 and the model data 31 are reconstructed.

【0049】再構成された原画像データ30及びモデル
データ31がメモリ部11に読み込まれると、続いて、
対応する原画像データ30の部分が同じブロックに存在
する確率の低い面の組が決定される。モデルデータ31
内の各頂点の構成情報は、図4に示すように原画像デー
タ30の2次元座標空間における座標(ui,vi)を
含んでいる。これを用いて、制御部は各面の重心の座
標、及び重心間のu方向、v方向の距離を求める。ある
2つの面の重心間のu方向、v方向のそれぞれにおける
距離が、上述した周期uλ、vλのそれぞれの自然数倍
に近ければ、これらの2つの面に対応する原画像データ
30の部分は同じメモリブロックに存在する確率が高
い。逆に近くなければ(ある程度離れていれば)、同じ
メモリブロックに存在する確率は低い。実際には、制御
部は、2つの面の重心間のu方向、v方向における距離
と周期uλ、vλの自然数倍との近さを表す数値を「類
似度」として全ての面に対して算出し、類似度に基づい
て、同一のメモリブロックに原画像データ30の対応す
る部分が存在する確率の低い面を決定する。
When the reconstructed original image data 30 and model data 31 are read into the memory section 11, subsequently,
A set of surfaces having a low probability that the corresponding portion of the original image data 30 exists in the same block is determined. Model data 31
As shown in FIG. 4, the configuration information of each of the vertices includes coordinates (ui, vi) in the two-dimensional coordinate space of the original image data 30. Using this, the control unit obtains the coordinates of the center of gravity of each surface and the distances between the centers of gravity in the u and v directions. If the distances in the u direction and the v direction between the centers of gravity of two planes are close to the natural multiples of the above-mentioned periods uλ and vλ, the portions of the original image data 30 corresponding to these two planes will be High probability of being in the same memory block. On the contrary, if they are not close (they are apart from each other to some extent), they are unlikely to exist in the same memory block. In practice, the control unit regards all surfaces as a “similarity” with a numerical value indicating the closeness between the distance between the centers of gravity of the two surfaces in the u direction and the v direction and the cycle uλ, a natural multiple of vλ. A surface having a low probability that the corresponding portion of the original image data 30 exists in the same memory block is determined based on the calculated similarity.

【0050】この決定に基づいて、制御部は複数のプロ
セッサ10a、10b、・・・が画像合成を行う面の順
番を制御する。これにより、複数の面の画像をそれぞれ
異なるプロセッサによって同時に合成する際のアクセス
の衝突を低減することができる。
Based on this determination, the control unit controls the order of the surfaces on which the plurality of processors 10a, 10b, ... Combine images. As a result, it is possible to reduce access collisions when images of a plurality of surfaces are simultaneously combined by different processors.

【0051】ここでは、計算によって生成された原画像
データ30及びモデルデータ31がメモリ部31に読み
込まれる前の段階において、原画像データ30の各面に
対応する部分の2次元座標空間上での大きさを調べ、そ
れに基づき原画像データ30及びモデルデータ31の再
構成を行っている。しかし、2次元座標空間での矩形領
域が同一のメモリブロックに割り当てられる周期uλ、
vλは事前に分かるので、原画像データ30及びモデル
データ31を生成するための計算の際に、原画像データ
30の各面に対応する部分のu方向及びv方向での大き
さが周期uλ、vλよりも小さくなるようにしてもよ
い。
Here, in a stage before the original image data 30 and the model data 31 generated by the calculation are read into the memory section 31, the portions of the original image data 30 corresponding to the respective surfaces in the two-dimensional coordinate space are calculated. The size is checked, and the original image data 30 and the model data 31 are reconstructed based on the size. However, a period uλ in which a rectangular area in the two-dimensional coordinate space is assigned to the same memory block,
Since vλ is known in advance, in the calculation for generating the original image data 30 and the model data 31, the size in the u direction and the v direction of the portion corresponding to each surface of the original image data 30 has a period uλ, It may be smaller than vλ.

【0052】以上説明したように、本実施例では、アド
レスインターリーブさせたメモリブロックの1つを、原
画像データ30及び合成画像データ33を2次元座標空
間上で格子状に分割して得られる矩形領域の1つに割り
付けている。これにより、任意の1つのプロセッサが、
1つの面の画像を合成する際にアクセスするメモリブロ
ックの数を少なくすることができる。さらに、同時に画
像合成が行われる面に対応する原画像データ30の部分
が異なるメモリブロックに存在するように、画像合成を
行う面の順序を制御している。これによりアクセス衝突
を低減させることができ、その結果、高速な画像合成を
行うことができる画像合成装置を実現することができ
る。
As described above, in the present embodiment, one of the address-interleaved memory blocks is a rectangle obtained by dividing the original image data 30 and the composite image data 33 in a two-dimensional coordinate space in a grid pattern. It is assigned to one of the areas. This allows any one processor to
It is possible to reduce the number of memory blocks to be accessed when synthesizing an image of one surface. Further, the order of the planes for image synthesis is controlled so that the portions of the original image data 30 corresponding to the planes for image synthesis at the same time exist in different memory blocks. As a result, it is possible to reduce access collisions, and as a result, it is possible to realize an image synthesizing apparatus capable of performing high-speed image synthesizing.

【0053】なお、本実施例では、同時に画像合成が行
われる複数の面を、原画像データ等のが異なるメモリブ
ロックに存在するような面とするための制御の例として
2つの方法を説明したが、他の制御方法を適用した場合
にも同様の効果を得ることができる。また、制御部を備
える代わりに、複数のプロセッサ10a、10b、・・
・の任意の1つに上述した制御部の機能と同様の機能を
持たせてもよい。
In the present embodiment, two methods have been described as examples of control for making a plurality of surfaces on which image combination is performed simultaneously such that original image data and the like exist in different memory blocks. However, the same effect can be obtained when other control methods are applied. Further, instead of having a control unit, a plurality of processors 10a, 10b, ...
Any one of-may have a function similar to that of the control unit described above.

【0054】(実施例3)以下、本発明の画像合成装置
の実施例3を説明する。
(Third Embodiment) A third embodiment of the image synthesizing apparatus of the present invention will be described below.

【0055】実施例3では、画像合成装置の動作及び構
成は、アービタ部12のアドレスインターリーブの方法
が異なることを除けば、上記実施例2の画像合成装置と
同じである。また、本実施例では、複数のメモリブロッ
ク11a、11b、・・・のそれぞれとしてDRAMの
1つのメモリセルアレイを用いている。
In the third embodiment, the operation and configuration of the image synthesizing apparatus are the same as those of the image synthesizing apparatus of the second embodiment except that the address interleaving method of the arbiter unit 12 is different. Further, in this embodiment, one memory cell array of DRAM is used as each of the plurality of memory blocks 11a, 11b, ....

【0056】図7は、DRAMの1つのメモリセルアレ
イの一般的な構成図である。セルアレイ70に格納され
たデータは、行アドレス71と列アドレス72の2つを
合わせたアドレスによって特定される。このDRAMの
メモリセルアレイ内の特定のアドレスのデータを読み出
す際には、まずそのデータの列アドレスを指定すること
により同一の列アドレスを持つ1列分のデータが一旦全
て読み出される。続いて、行アドレスを指定することに
より特定のアドレスのデータにアクセスする。したがっ
て、同じ列アドレスを有するデータへ連続してアクセス
する場合には、異なる列アドレスを有するデータに連続
してアクセスする場合よりも、高速にアクセスを行うこ
とができる。
FIG. 7 is a general configuration diagram of one memory cell array of DRAM. The data stored in the cell array 70 is specified by the combined address of the row address 71 and the column address 72. When reading data at a specific address in the memory cell array of the DRAM, first, all the data for one column having the same column address is once read by designating the column address of the data. Then, by specifying the row address, the data at the specific address is accessed. Therefore, continuous access to data having the same column address can be performed faster than continuous access to data having different column addresses.

【0057】DRAMのメモリセルの上述した利点を生
かすために、本実施例では、実施例2と同様に原画像デ
ータ30及び合成画像データ33の矩形領域を1つのメ
モリブロック、すなわち1つのメモリセルアレイに割り
付け、この矩形領域をさらに分割して得られる小矩形領
域を、1つのメモリセルアレイの1つの列に割り付けて
いる。図8に本実施例におけるアービタ部12のアドレ
スインターリーブの方法の例を示す。ここでは、1つの
メモリブロックとして、行アドレス4ビット、列アドレ
ス4ビットの計8ビットの256ワード空間を持つメモ
リセルアレイを用いており、メモリブロック内のアドレ
スの下位4ビットが行アドレスを、上位4ビットが列ア
ドレスを示すものとする。
In order to take advantage of the above-described advantages of the memory cell of the DRAM, in this embodiment, as in the second embodiment, the rectangular areas of the original image data 30 and the composite image data 33 are divided into one memory block, that is, one memory cell array. , And a small rectangular area obtained by further dividing this rectangular area is allocated to one column of one memory cell array. FIG. 8 shows an example of an address interleaving method of the arbiter unit 12 in this embodiment. Here, as one memory block, a memory cell array having a total of 8 bits, that is, a row address of 4 bits and a column address of 4 bits, is used, and the lower 4 bits of the address in the memory block are the row address and the upper address. It is assumed that 4 bits indicate the column address.

【0058】上記実施例1及び2で述べたように、複数
のプロセッサの1つ1つに画像合成を行う面を割り当
て、複数の面の画像合成を同時に行う場合、原画像デー
タ30及び合成画像データ33のうちの2次元座標空間
上で隣接する領域に対応する部分を、連続してアクセス
する頻度が高くなる。しかし、本実施例のように小矩形
領域を1つの列に割り付ければ、隣接する領域に対応す
る原画像データ30及び合成画像データ33の部分はメ
モリセルの同一列に格納される。したがって、列アドレ
スの変更によるDRAMのメモリセルへのアクセス速度
低下を防ぐことができる。
As described in the first and second embodiments, when a plane for image synthesis is assigned to each of a plurality of processors and image synthesis of a plurality of planes is performed at the same time, the original image data 30 and the synthesized image are combined. The frequency of continuous access to the portion of the data 33 corresponding to the adjacent region in the two-dimensional coordinate space increases. However, if the small rectangular areas are allocated to one column as in the present embodiment, the portions of the original image data 30 and the combined image data 33 corresponding to the adjacent areas are stored in the same column of memory cells. Therefore, it is possible to prevent a decrease in the access speed to the memory cell of the DRAM due to the change of the column address.

【0059】また、本実施例において、実施例2と同様
に、同時に画像を合成する面の順番の制御を行えば、D
RAMを用いた画像合成装置においてもメモリアクセス
競合の頻度を減少させることができる。これにより、D
RAMを用いた高速な画像合成装置を実現することがで
きる。
Further, in this embodiment, as in the second embodiment, if the order of the planes for synthesizing the images is controlled at the same time, D
The frequency of memory access competition can be reduced even in an image synthesizing apparatus using a RAM. This gives D
A high-speed image synthesizing device using RAM can be realized.

【0060】(実施例4)以下、本発明の画像合成装置
の実施例4を説明する。
(Fourth Embodiment) A fourth embodiment of the image synthesizing apparatus of the present invention will be described below.

【0061】実施例4では、画像合成装置の動作及び構
成は、アービタ部12のアドレスインターリーブの方法
が異なることを除けば、上記実施例3の画像合成装置と
同じである。
In the fourth embodiment, the operation and configuration of the image synthesizing apparatus are the same as those of the image synthesizing apparatus of the third embodiment except that the address interleaving method of the arbiter unit 12 is different.

【0062】図9に、本実施例におけるアービタ部12
のアドレスインターリーブの方法の例を示す。本実施例
においても、上記実施例3と同様に、DRAMの1つの
メモリセルアレイを1つのメモリブロックとして用い、
原画像データ30及び合成画像データ33の1つの小矩
形領域に対応する部分を、メモリセルアレイ内の1つの
列に割り付けている。また、本実施例では、2次元座標
空間上で隣接する小矩形領域に対応する部分を異なるメ
モリブロックに割り付けている。
FIG. 9 shows the arbiter unit 12 in this embodiment.
An example of the method of address interleaving of is shown below. Also in this embodiment, one memory cell array of DRAM is used as one memory block as in the third embodiment.
A portion of the original image data 30 and the combined image data 33 corresponding to one small rectangular area is assigned to one column in the memory cell array. Further, in this embodiment, the portions corresponding to the adjacent small rectangular areas in the two-dimensional coordinate space are allocated to different memory blocks.

【0063】実施例3では、複数のプロセッサ10a、
10b、・・・によって同時に画像が合成される面を2
次元座標空間上で離れた面とする制御、つまり画像を合
成する面の順番の制御を行うことにより、メモリアクセ
ス競合の頻度を減少させることができると述べた。しか
し、それとは逆に、例えば、同時に画像の合成を行う面
として、1周期uλ、vλ内に全ての面が存在するよう
な面を選択する、等の制御により、同時に画像が合成さ
れる面を2次元座標空間上で近接した面とすることもで
きる。本実施例のアドレスインターリーブの方法はこの
ような場合に有効であり、メモリアクセス競合の頻度を
減少させることができる。
In the third embodiment, a plurality of processors 10a,
10b, ...
It was stated that the frequency of memory access conflicts can be reduced by controlling the planes that are separated in the dimensional coordinate space, that is, controlling the order of the planes that synthesize images. However, conversely, for example, as a surface for simultaneously synthesizing images, a surface on which images are simultaneously synthesized by control such as selecting a surface in which all surfaces are present in one cycle uλ, vλ Can be surfaces close to each other in the two-dimensional coordinate space. The address interleaving method of the present embodiment is effective in such a case, and the frequency of memory access competition can be reduced.

【0064】なお、上記実施例1〜4ではモデルデータ
31のメモリ配置には言及していない。しかし、図4に
示すように各面を規定する頂点の配列を含む面構成情報
の特定の面に対応する部分を、その面に対応する原画像
データ30の部分と同一のメモリブロックに格納すれ
ば、モデルデータ31へのアクセス時のメモリアクセス
の競合の頻度を減少させることができる。また、各頂点
の座標を含む頂点構成情報に関しても同様であり、頂点
構成情報の特定の面に対応する部分を、できるだけそ、
の面に対応する原画像データ30の部分と同一のメモリ
ブロックに格納することにより、メモリアクセス競合の
頻度を減少させることができる。これにより、より高速
な画像合成装置を実現することができる。
It should be noted that the above first to fourth embodiments do not refer to the memory arrangement of the model data 31. However, as shown in FIG. 4, the portion corresponding to a specific surface of the surface configuration information including the array of vertices defining each surface may be stored in the same memory block as the portion of the original image data 30 corresponding to that surface. For example, it is possible to reduce the frequency of contention for memory access when accessing the model data 31. The same applies to the vertex configuration information including the coordinates of each vertex, and the portion of the vertex configuration information corresponding to a specific surface can be
By storing the same in the same memory block as the portion of the original image data 30 corresponding to the plane, it is possible to reduce the frequency of memory access conflict. This makes it possible to realize a faster image synthesizing device.

【0065】なお、実施例1において、プロセッサ部1
0から見たアービタ部12のアドレス空間を16ビット
としているが、16ビット以外のアドレス空間であって
も同様の効果を得ることができる。また、実施例2にお
いて、個々のメモリブロックは256ワードのアドレス
空間を持つものとしたが、256ワード以外であっても
同様の効果を得ることができる。
In the first embodiment, the processor unit 1
Although the address space of the arbiter unit 12 viewed from 0 is 16 bits, the same effect can be obtained even if the address space is other than 16 bits. Further, in the second embodiment, each memory block has an address space of 256 words, but the same effect can be obtained even if it is not 256 words.

【0066】なお、実施例1〜4では、対象物が多角形
の面によって構成される場合を説明した。しかし、対象
物の複数の面のそれぞれが多角形である必要はなく、複
数の面の画像の合成を複数のプロセッサによって分担し
て行うものであれば、上記実施例1〜4で述べた効果と
同様の効果を得ることができる。
In the first to fourth embodiments, the case where the object is composed of polygonal surfaces has been described. However, each of the plurality of surfaces of the object does not have to be a polygon, and the effects described in the above-described first to fourth embodiments may be used as long as the images of the plurality of surfaces are combined by the plurality of processors. The same effect as can be obtained.

【0067】また、実施例1〜4のいずれにおいても、
メモリ部11とアービタ部12とを1つのLSIによっ
て実装すれば、画像合成装置全体の小型化につながり、
その結果、コストをさらに低減することができる。
Further, in any of Examples 1 to 4,
If the memory unit 11 and the arbiter unit 12 are mounted by one LSI, it leads to downsizing of the entire image synthesizing apparatus,
As a result, the cost can be further reduced.

【0068】[0068]

【発明の効果】以上説明したように、本発明の画像合成
装置では、複数のプロセッサから見て、原画像データが
存在するメモリ空間と等価なメモリ空間に合成画像デー
タを書き込む。このため、生成された合成画像データを
さらに原画像データとして用いて別の合成画像データを
生成する場合でも、どのプロセッサからでもアクセスが
可能となり、結果として従来のマルチプロセッサ構成の
画像合成装置よりも高速な画像合成を行うことができ
る。また、各データの複数のコピーを重複して格納して
おく必要が無くなるため、メモリ容量を少なくすること
ができる。
As described above, in the image synthesizing apparatus of the present invention, the synthetic image data is written in the memory space equivalent to the memory space in which the original image data exists, as seen from a plurality of processors. Therefore, even when the generated combined image data is further used as the original image data to generate another combined image data, it can be accessed from any processor, and as a result, compared to the image combining apparatus having the conventional multiprocessor configuration. High-speed image composition can be performed. Moreover, since it is not necessary to store a plurality of copies of each data in duplicate, the memory capacity can be reduced.

【0069】また、原画像データ及び合成画像データを
2次元座標空間上で分割して得られる矩形領域のそれぞ
れを、アドレスインターリーブさせたメモリブロックの
1つに割り付けている。これにより、1つのプロセッサ
が、割り当てられた1つの面の画像を合成する際にアク
セスするメモリブロックの数を減らすことができる。さ
らに、画像を合成する面の順序を制御して、原画像デー
タの対応する部分が異なるメモリブロックに存在するよ
うな面の画像を同時に合成することにより、守りアクセ
スの競合を低減させることができる。
Further, each of the rectangular areas obtained by dividing the original image data and the combined image data in the two-dimensional coordinate space is allocated to one of the address-interleaved memory blocks. As a result, one processor can reduce the number of memory blocks accessed when synthesizing an image of one assigned surface. Furthermore, by controlling the order of the planes for synthesizing the images and synthesizing the images of the planes in which the corresponding portions of the original image data exist in different memory blocks at the same time, it is possible to reduce the defensive access conflict. .

【0070】メモリ部をDRAMで構成する場合には、
メモリブロックのそれぞれを1つのメモリセルアレイに
割り当て、さらに矩形領域をさらに細かく分割して得ら
れる小矩形領域を1つの列に割り当てる。これにより、
さらに高速な画像合成が可能となる。
When the memory section is composed of DRAM,
Each of the memory blocks is assigned to one memory cell array, and a small rectangular area obtained by further dividing the rectangular area is assigned to one column. This allows
Higher-speed image composition is possible.

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

【図1】本発明の画像合成装置の第1の実施例の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of an image synthesizing apparatus of the present invention.

【図2】第1の実施例におけるアドレスインターリーブ
によるアドレス配置を示す図である。
FIG. 2 is a diagram showing an address arrangement by address interleaving in the first embodiment.

【図3】第1の実施例におけるメモリ部でのデータ配置
を示す図である。
FIG. 3 is a diagram showing a data arrangement in a memory unit in the first embodiment.

【図4】モデルデータの構成を示す図である。FIG. 4 is a diagram showing a structure of model data.

【図5】第1の実施例における合成画像データの配置を
説明する図である。
FIG. 5 is a diagram illustrating an arrangement of composite image data according to the first embodiment.

【図6】第2の実施例におけるアドレスインターリーブ
によるアドレス配置を示す図である。
FIG. 6 is a diagram showing address arrangement by address interleaving in the second embodiment.

【図7】DRAMの1つのメモリセルアレイの構成を示
すブロック図である。
FIG. 7 is a block diagram showing a configuration of one memory cell array of DRAM.

【図8】第3の実施例におけるアドレスインターリーブ
によるアドレス配置を示す図である。
FIG. 8 is a diagram showing address arrangement by address interleaving in the third embodiment.

【図9】第4の実施例におけるアドレスインターリーブ
によるアドレス配置を示す図である。
FIG. 9 is a diagram showing address arrangement by address interleaving in the fourth embodiment.

【図10】従来の画像合成装置の構成を示すブロック図
である。
FIG. 10 is a block diagram showing a configuration of a conventional image synthesizing device.

【図11】画像を合成する面の順序を制御する第一の方
法の流れを示すフローチャートである。
FIG. 11 is a flowchart showing the flow of a first method for controlling the order of the planes on which images are combined.

【図12】画像を合成する面の順序を制御する第二の方
法の流れの主要部を示すフローチャートである。
FIG. 12 is a flowchart showing the main part of the flow of a second method for controlling the order of the planes on which images are combined.

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

10 プロセッサ部 10a、10b プロセッサ 11 メモリ部 11a、11b メモリブロック 12 アービタ部 13 プロセッサバス 14 メモリバス 30 原画像データ 31 モデルデータ 32 レンダリングデータ 33、33a、33b 合成画像データ 70 セルアレイ 71 行アドレス 72 列アドレス 100a、100b プロセッサ 101a、101b バス 102a、102b ローカルメモリ 103a、103b フレームメモリ 104 画像バス 10 Processor part 10a, 10b processor 11 Memory section 11a, 11b memory block 12 Arbiter part 13 processor bus 14 memory bus 30 original image data 31 model data 32 rendering data 33, 33a, 33b Composite image data 70 cell array 71 line address 72 column address 100a, 100b processor 101a, 101b bus 102a, 102b Local memory 103a, 103b frame memory 104 image bus

───────────────────────────────────────────────────── フロントページの続き (72)発明者 浜田 正宏 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 平3−201081(JP,A) 特開 平5−189550(JP,A) 特開 平2−219184(JP,A) 特開 昭62−140181(JP,A) 特開 平6−215143(JP,A) 特開 平6−309471(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 15/00 G06F 15/167 G06F 15/177 G09G 5/36 G06T 17/40 CSDB(日本国特許庁)─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masahiro Hamada 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) Reference JP-A-3-201081 (JP, A) JP-A-5- 189550 (JP, A) JP-A-2-219184 (JP, A) JP-A-62-140181 (JP, A) JP-A-6-215143 (JP, A) JP-A-6-309471 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06T 15/00 G06F 15/167 G06F 15/177 G09G 5/36 G06T 17/40 CSDB (Japan Patent Office)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の面を有する対象物の3次元構造を
定義する情報を含むモデルデータと、該複数の面に属す
る画素の値を表す原画像データと、該原画像データ及び
該モデルデータを用いて合成された3次元画像を2次元
画像に変換するためのレンダリングデータとを用いて、
画像を合成する画像合成装置であって、 所定のアドレス単位で複数のメモリブロックに分割され
ているメモリ手段であって、該モデルデータ、該原画像
データ、該レンダリングデータ、及び合成された2次元
画像を表す合成画像データを格納するメモリ手段と、 アドレス空間を有するアービタ部であって、該アドレス
空間において連続するアドレスは、異なるメモリブロッ
クに割り当てられており、それにより該複数のメモリブ
ロックのアドレスがインターリーブされているアービタ
部と、 該対象物の該複数の面のうちの異なる面の画像をそれぞ
れが合成する複数のプロセッサ部であって、該複数のプ
ロセッサ部のそれぞれは、該アービタ部を介して該メモ
リ手段にアクセスし、該複数の面のうちの特定の面に対
応する該モデルデータの部分、該原画像データのうちの
該特定の面に対応する部分、及び該レンダリングデータ
のうちの該特定の面に対応する部分に基づいて該特定の
面の画像を合成する複数のプロセッサ手段と、を備えて
おり、 該原画像データ及び該合成画像データのそれぞれは、2
次元座標空間上で複数の矩形領域に分割されており、該
複数の矩形領域は、該複数のメモリブロックにそれぞれ
割り付けられている、画像合成装置。
1. Model data including information defining a three-dimensional structure of an object having a plurality of surfaces, original image data representing values of pixels belonging to the plurality of surfaces, the original image data and the model data. And rendering data for converting a three-dimensional image synthesized using
An image synthesizing device for synthesizing images, comprising: memory means divided into a plurality of memory blocks at a predetermined address unit, the model data, the original image data, the rendering data, and a synthesized two-dimensional An arbiter unit having a memory means for storing composite image data representing an image and an address space, and consecutive addresses in the address space are assigned to different memory blocks, whereby the addresses of the plurality of memory blocks are assigned. Is an interleaved arbiter unit and a plurality of processor units that respectively combine images of different faces of the plurality of faces of the object, each of the plurality of processor units including the arbiter unit. A portion of the model data corresponding to a specific surface of the plurality of surfaces by accessing the memory means via A plurality of processor means for synthesizing an image of the specific surface based on a portion of the original image data corresponding to the specific surface and a portion of the rendering data corresponding to the specific surface, And each of the original image data and the composite image data is 2
An image synthesizing apparatus, which is divided into a plurality of rectangular areas in a dimensional coordinate space, and the plurality of rectangular areas are respectively allocated to the plurality of memory blocks.
【請求項2】 前記3次元構造を定義する情報は、前記
複数の面を定義する情報の1次元配列であり、前記複数
のプロセッサは、該複数の面を定義する情報が並べられ
ている順に該複数の面の画像を合成し、それにより該複
数の面のうちの該複数のプロセッサの個数と同じ数の面
の画像を同時に合成し、 前記画像合成装置は、原画像データのうちの該同時に合
成される面に対応する部分が同一のメモリブロックに格
納されているか否かを判別し、該同時に合成される面に
対応する部分が該同一のメモリブロックに格納されてい
るときには、該複数の面を定義する情報の配列を変更す
る手段をさらに備えている、請求項1に記載の画像合成
装置。
2. The information defining the three-dimensional structure is a one-dimensional array of information defining the plurality of surfaces, and the plurality of processors are arranged in the order in which the information defining the plurality of surfaces is arranged. The images of the plurality of planes are combined to thereby simultaneously combine the images of the same number of planes as the number of the plurality of processors of the plurality of planes, It is determined whether or not the portions corresponding to the surfaces to be combined at the same time are stored in the same memory block. When the portions corresponding to the surfaces to be combined at the same time are stored in the same memory block, the plurality of The image synthesizing apparatus according to claim 1, further comprising a unit that changes an array of information that defines a plane of the image.
【請求項3】 前記複数のプロセッサは、前記複数の面
のうちの該複数のプロセッサの個数と同じ数の面の画像
を同時に合成し、前記複数の矩形領域は、第1の方向に
おいて距離uλ毎、または第2の方向において距離vλ
毎に同じメモリブロックに割り付けられており、 前記画像合成装置は、 前記原画像データのうちの任意の1つの面に対応する部
分の該第1の方向の大きさはuλよりも小さく、該第2
の方向の大きさはvλよりも十分に小さくなるように、
該原画像データが前記メモリ部に格納される前に該原画
像データの構成を変更する手段と、 該同時に合成される面に対応する原画像データの部分が
異なるメモリブロックに存在するように、該同時に合成
される面を選択する手段と、をさらに備えている、請求
項1に記載の合成画像装置。
3. The plurality of processors simultaneously combine images of the same number of surfaces as the number of the plurality of processors of the plurality of surfaces, and the plurality of rectangular regions are separated by a distance uλ in a first direction. Every v or in the second direction
The image synthesizing device allocates a portion corresponding to any one surface of the original image data in the first direction to a size smaller than uλ. Two
So that the magnitude in the direction of is sufficiently smaller than vλ,
A means for changing the structure of the original image data before the original image data is stored in the memory section, and a portion of the original image data corresponding to the surface to be simultaneously combined exists in different memory blocks, The composite image device according to claim 1, further comprising: a unit that selects the surfaces to be composited at the same time.
【請求項4】 前記メモリ手段はDRAMを有してお
り、前記複数のメモリブロックのそれぞれは、該DRA
Mの1つのメモリセルアレイであり、前記複数の矩形領
域のそれぞれはさらに複数の小矩形領域に分割されてお
り、該複数の小矩形領域は、該メモリセルアレイ内の複
数の列アドレスにそれぞれ割り付けられている、請求項
1、2または3に記載の画像合成装置。
4. The memory means includes a DRAM, and each of the plurality of memory blocks includes the DRA.
M is one memory cell array, each of the plurality of rectangular areas is further divided into a plurality of small rectangular areas, and the plurality of small rectangular areas are respectively allocated to a plurality of column addresses in the memory cell array. The image synthesizing apparatus according to claim 1, 2, or 3.
【請求項5】 前記メモリ手段はDRAMを有してお
り、前記複数のメモリブロックのそれぞれは、該DRA
Mの1つのメモリセルアレイであり、前記複数の矩形領
域のそれぞれはさらに複数の小矩形領域に分割されてお
り、該複数の小矩形領域のそれぞれは、該メモリセルア
レイ内の1つの列アドレスに割り付けられており、かつ
隣接する小矩形領域が互いに異なるメモリセルアレイに
対応するように割り付けられている、請求項1に記載の
画像合成装置。
5. The memory means has a DRAM, and each of the plurality of memory blocks has the DRA.
M is one memory cell array, each of the plurality of rectangular areas is further divided into a plurality of small rectangular areas, and each of the plurality of small rectangular areas is assigned to one column address in the memory cell array. The image synthesizing apparatus according to claim 1, wherein the adjacent small rectangular areas are allocated so as to correspond to different memory cell arrays.
【請求項6】 前記モデルデータのうちの前記特定の面
に対応する部分は、前記原画像データのうちの該特定の
面に対応する部分と同一のメモリブロックに格納されて
いる、請求項1〜5のいずれか1つに記載の画像合成装
置。
6. The portion of the model data corresponding to the specific surface is stored in the same memory block as the portion of the original image data corresponding to the specific surface. The image synthesizing apparatus according to any one of items 1 to 5.
【請求項7】 前記メモリ手段及び前記アービタ部は、
単一のLSIによって実装されている、請求項1〜6の
いずれか1つに記載の画像合成装置。
7. The memory means and the arbiter unit are
The image synthesizing device according to claim 1, wherein the image synthesizing device is mounted by a single LSI.
JP32606894A 1993-12-28 1994-12-27 Image synthesis device Expired - Fee Related JP3465975B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32606894A JP3465975B2 (en) 1993-12-28 1994-12-27 Image synthesis device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP33777093 1993-12-28
JP5-337770 1993-12-28
JP32606894A JP3465975B2 (en) 1993-12-28 1994-12-27 Image synthesis device

Publications (2)

Publication Number Publication Date
JPH07234947A JPH07234947A (en) 1995-09-05
JP3465975B2 true JP3465975B2 (en) 2003-11-10

Family

ID=26572067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32606894A Expired - Fee Related JP3465975B2 (en) 1993-12-28 1994-12-27 Image synthesis device

Country Status (1)

Country Link
JP (1) JP3465975B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3853829B1 (en) 2005-10-31 2006-12-06 株式会社ソニー・コンピュータエンタテインメント Drawing processing apparatus, parallel processing apparatus, and exclusive control method
KR20220110832A (en) 2019-12-10 2022-08-09 주식회사 쿠라레 Multilayer structure and manufacturing method thereof, packaging material using same, vacuum insulator and protective sheet for electronic device

Also Published As

Publication number Publication date
JPH07234947A (en) 1995-09-05

Similar Documents

Publication Publication Date Title
JP2637931B2 (en) Computer system for texture mapping
US5757374A (en) Method and apparatus for performing texture mapping
USRE44347E1 (en) Method and device for creating a two-dimensional representation of a three-dimensional structure
US7872657B1 (en) Memory addressing scheme using partition strides
US7620793B1 (en) Mapping memory partitions to virtual memory pages
US6940514B1 (en) Parallel initialization path for rasterization engine
US5877770A (en) Texture pattern memory circuit for providing plural texel data in response to a single access operation
JP3138173B2 (en) Frame memory device for graphics
EP1267308B1 (en) Texturing systems for use in three-dimensional imaging systems
US7990391B2 (en) Memory system having multiple address allocation formats and method for use thereof
US6999088B1 (en) Memory system having multiple subpartitions
KR100648293B1 (en) Graphic system and graphic processing method for the same
JPH07296173A (en) Two-dimensional memory-manager of quadrant base
US6885384B2 (en) Method of creating a larger 2-D sample location pattern from a smaller one by means of X, Y address permutation
US5586246A (en) Image synthesis apparatus
JPH06175646A (en) Frame buffer and raster processor for graphic system and method for buffering pixel variable
US7069387B2 (en) Optimized cache structure for multi-texturing
GB2325838A (en) Volumetric data organisation method for volume rendering
US5719598A (en) Graphics processor for parallel processing a plurality of fields of view for multiple video displays
GB2364873A (en) Graphics data storage in a linearly allocated multi-banked memory
US5777625A (en) Clipper re-uses storage locations allocated for verticles
JP2003186740A (en) Memory control device and memory control method
JP3083724B2 (en) Graphic system signal processing method and apparatus
JP3465975B2 (en) Image synthesis device
JP2003108437A (en) Stored-memory data processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030819

LAPS Cancellation because of no payment of annual fees