JPH10162162A - Image processor and image processing system - Google Patents

Image processor and image processing system

Info

Publication number
JPH10162162A
JPH10162162A JP34515297A JP34515297A JPH10162162A JP H10162162 A JPH10162162 A JP H10162162A JP 34515297 A JP34515297 A JP 34515297A JP 34515297 A JP34515297 A JP 34515297A JP H10162162 A JPH10162162 A JP H10162162A
Authority
JP
Japan
Prior art keywords
image
dimensional
memory
dimensional image
displayed
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.)
Granted
Application number
JP34515297A
Other languages
Japanese (ja)
Other versions
JP3159431B2 (en
Inventor
Yasushi Fukunaga
泰 福永
Makoto Fujita
良 藤田
Kazuyoshi Koga
和義 古賀
Takeshi Kato
猛 加藤
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP34515297A priority Critical patent/JP3159431B2/en
Publication of JPH10162162A publication Critical patent/JPH10162162A/en
Application granted granted Critical
Publication of JP3159431B2 publication Critical patent/JP3159431B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to paste arbitrary image information, which is being displayed on a screen to the surface of a three-dimensional graphic by generating a three-dimensional image obtained by sticking a three-dimensional image, stored in a memory, to the surface of a desired three-dimensional graphic and stored image in the memory. SOLUTION: Graphic A, which is a two-dimensional graphic, is pasted to the flank of graphic B, which is a three-dimensional graphic. For this process, a CPU 1 instructs the image A for a mapping process so as to constitute it on part (flank) of the graphic B, and this instruction is sent to a display control processor 2 through a bus 5. The display control processor 2 makes a raster scan on the image A and sends respective data to a DDA circuit part 3. The DDA circuit part 3 calculates the coordinates and density on a straight line (r) by pixels according to those respective data. The coordinates and density which are thus obtained are stored in a frame memory 4 and then displayed, so that the graphic having the graphic A pasted to one flank of the graphic B is obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は濃淡画像をディスプ
レイ上に表示する画像処理装置と画像処理システムに係
り、特に、照明等の影響により各画素によって明度が異
なる画像を高速にディスプレイ上に表示する画像処理装
置と画像処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and an image processing system for displaying a gray-scale image on a display, and more particularly to an image processing system for displaying an image having a different brightness for each pixel due to the influence of illumination or the like. The present invention relates to an image processing device and an image processing system.

【0002】[0002]

【従来の技術】カラー画像を高速に処理するため、特願
昭59−30278号、「画像メモリのアクセス装置」
には、フレームメモリのプレーン単位に演算器を設け、
並列に処理する方式が示されている。
2. Description of the Related Art In order to process a color image at high speed, Japanese Patent Application No. 59-30278, "Image memory access device"
Has a computing unit for each frame memory plane,
The method of processing in parallel is shown.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、濃淡
画像の巾広い演算系について配慮されておらず、このた
め、濃淡画像の濃度変換処理を行なおうとすると、ホス
トプロセッサ(CPU)で画像の再計算を行なう必要が
あり、リアルタイムで表示を変更できない問題があっ
た。
The above-mentioned prior art does not take into account a wide calculation system for a grayscale image. For this reason, if a density conversion process of a grayscale image is to be performed, the host processor (CPU) needs to perform image conversion. Has to be recalculated, and the display cannot be changed in real time.

【0004】この問題点を明確化するためのアプリケー
ションの要求について、図を用いて、更に詳細に説明す
る。図2に示すように、左の画像データAは、2次元平
面上に濃淡を持って定義されている。これを右のような
直方体の一面に貼り付けるテクスチヤマツピング処理を
行って画像Bを構成させた場合、面の後方と前方(又は
視界側からみて後方と手前)では濃度差を生じるように
マッピング(画像変換)しないと、実際の事象のように
は見えない。そこで、例えば前方を濃く、後方を薄くす
る。
[0004] An application request for clarifying this problem will be described in more detail with reference to the drawings. As shown in FIG. 2, the left image data A is defined with shading on a two-dimensional plane. If this is applied to one side of a rectangular parallelepiped such as the right side and texture mapping processing is performed to form the image B, mapping is performed so that a density difference occurs between the rear and the front of the surface (or the rear and the front when viewed from the view side). Without (image conversion), it does not look like an actual event. Therefore, for example, the front is darkened and the rear is thinned.

【0005】この処理を実現するには、例えば、後方に
マッピングされる画素については、2次平面上の濃淡画
像の各画素の値を0.6倍してマッピングを行い、前方
については、1.0倍してマッピングを行い、その途中
は、(0.6〜1.0)倍の中間の値をとるようにする
必要がある。これによって後方は元の二次元平面上の濃
度に比して薄くなる。しかし、このような処理での濃度
変換は、従来、ホストプロセッサで行っており、リアル
タイム処理は容易でなかった。
[0005] In order to realize this processing, for example, for a pixel mapped backward, mapping is performed by multiplying the value of each pixel of the grayscale image on the secondary plane by 0.6. It is necessary to perform mapping by multiplying by 0.0 and to take an intermediate value of (0.6 to 1.0) during the mapping. As a result, the density at the rear becomes thinner than the original density on the two-dimensional plane. However, density conversion in such processing has conventionally been performed by a host processor, and real-time processing has not been easy.

【0006】本発明の目的は、画面に表示された任意の
画像情報を三次元図形の表面に貼り付けることのできる
できる画像処理装置と画像処理システムを提供するにあ
る。
An object of the present invention is to provide an image processing apparatus and an image processing system capable of attaching arbitrary image information displayed on a screen to the surface of a three-dimensional figure.

【0007】[0007]

【課題を解決するための手段】上記目的は、表示するた
めの画像情報を記録するメモリと、二次元画像を所望の
三次元図形の表面に貼り付けた三次元画像を生成し、前
記メモリに格納する画像変換手段とを備えた画像処理装
置において、上記画像変換手段は、上記メモリに格納し
た三次元画像を所望の三次元図形の表面に貼り付けた三
次元画像を生成し、前記メモリに格納することで、達成
される。
An object of the present invention is to generate a memory for recording image information to be displayed and a three-dimensional image in which a two-dimensional image is pasted on the surface of a desired three-dimensional figure. In the image processing apparatus provided with image conversion means for storing, the image conversion means generates a three-dimensional image in which the three-dimensional image stored in the memory is pasted on the surface of a desired three-dimensional figure, and It is achieved by storing.

【0008】上記目的は、表示装置と、上記表示装置に
表示するための画像情報を記録するメモリと、二次元画
像を所望の三次元図形の表面に表示した三次元画像を生
成し、前記メモリに格納する画像変換手段とを備えた画
像処理システムにおいて、上記画像変換手段は、上記メ
モリに格納した三次元画像を所望の三次元図形の表面に
表示した三次元画像を生成し、前記メモリに格納するこ
とで、達成される。
The object is to provide a display device, a memory for recording image information to be displayed on the display device, and a three-dimensional image in which a two-dimensional image is displayed on the surface of a desired three-dimensional figure. And an image conversion unit that stores the three-dimensional image stored in the memory on a surface of a desired three-dimensional figure, and generates the three-dimensional image in the memory. It is achieved by storing.

【0009】表示装置の画面に表示する画像情報は、通
常はフレームメモリと呼ばれるメモリ(メインメモリで
代用されることもある。)に格納されることで表示対象
となる。このメモリに格納された画像情報つまり表示さ
れた画像情報を、ソース画像として三次元図形の表面に
貼り付け処理した結果の画像情報をメモリに格納するこ
とで、三次元図形の表面に所望の画像情報が貼り付けら
れた三次元の画像情報を更に三次元図形の表面に貼り付
けることが可能となる。
Image information to be displayed on the screen of a display device is usually displayed in a memory called a frame memory (which may be substituted by a main memory). The image information stored in the memory, that is, the displayed image information is pasted to the surface of the three-dimensional figure as a source image, and the resulting image information is stored in the memory. The three-dimensional image information to which the information has been pasted can be further pasted on the surface of the three-dimensional figure.

【0010】[0010]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して説明する。図3は、本発明の一実施形態に係
る画像処理システムの構成図であり、図1はそのうち最
も特徴となるDDA回路部の構成図である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 3 is a configuration diagram of an image processing system according to one embodiment of the present invention, and FIG.

【0011】図3で、CPU1は、ホストプロセッサで
あり、表示制御プロセッサ2に対して、イメージの変換
や、図形の描画をバス5を介して指示する。表示制御プ
ロセッサ2は、バス5を介して指令された内容をDDA
回路部3が処理できる単位に分割し、バス6を介してD
DA回路部3へ指令する。
In FIG. 3, a CPU 1 is a host processor, and instructs a display control processor 2 to convert an image or draw a figure via a bus 5. The display control processor 2 converts the contents instructed via the bus 5 into a DDA
Divided into units that can be processed by the circuit unit 3,
It instructs the DA circuit unit 3.

【0012】DDA回路部3は、各画素毎の濃淡値を計
算し、バス7を介してフレームメモリ(FM)4へ書込
む。FM4の内容は、常にディスプレイに対してリフレ
ッシュ表示される(図示せず)。従って作業者は作成さ
れた画像を常にリアルタイムで見ることができる。
The DDA circuit section 3 calculates a gray scale value for each pixel and writes it to a frame memory (FM) 4 via a bus 7. The contents of FM4 are always refreshed on the display (not shown). Therefore, the operator can always see the created image in real time.

【0013】以上の図3による処理例を、図4の図形例
をもとに簡単に説明する。図4は、左側のA図形を右側
のB図形に変換する例を示している。A図形は2次元図
形、B図形は3次元図であり、A図形をB図形の一つの
側面に貼り付ける処理を行わせる。
The above-described processing example shown in FIG. 3 will be briefly described based on the graphic example shown in FIG. FIG. 4 shows an example of converting the left A graphic into the right B graphic. The A figure is a two-dimensional figure, and the B figure is a three-dimensional figure, and a process of pasting the A figure on one side of the B figure is performed.

【0014】この処理に際して、先ず、CPU1は、左
側のA画像に対し、右側のようにB図形上の一部に構成
すべくマッピング処理の指示を行う。この指示がバス5
を介して表示制御プロセッサ2に送られる。
In this process, the CPU 1 first instructs a mapping process on the left A image so as to constitute a part of the B graphic as shown on the right. This instruction is bus 5
Via the display control processor 2.

【0015】表示制御プロセッサ2は、画像Aをラスタ
スキヤンする。各ラスタ走査線にあっては、図4の走査
線l(エル)で示すように、その走査線lの始点(S
X,SY)を指示し、この始点(SX,SY)に対応す
るデイステイネーシヨンの座標(DX,DY)を指示
し、且つ明度情報I(0≦I≦1)を指示し、且つ、S
X,DX,DY,Iの次の点との変位ΔSX,ΔX,Δ
Y,ΔIを指示する。
The display control processor 2 raster scans the image A. For each raster scanning line, as shown by the scanning line 1 (ell) in FIG. 4, the starting point (S
X, SY), the coordinates (DX, DY) of the destination corresponding to the start point (SX, SY), and the brightness information I (0 ≦ I ≦ 1), and S
Displacement ΔSX, ΔX, Δ with the next point of X, DX, DY, I
Y, ΔI.

【0016】ここで、デイステイネーシヨンの座標(D
X,DY)とは、B図形上のA図形座標の対応値、S
X,DX,DY,Iの次の点とは、走査線l上での横方
向(X方向)での次のスキヤン点(例えば始点を現在の
スキヤン点とすれば、その始点の次のスキヤン点とな
る。一般に、X方向のスキヤンピツチは一定である)。
ΔSXがあってΔSYが不要なのは、1つの走査線lに
あっては、Y座標の変化がないためであり、DX,DY
が存在するのはB図形上では、走査線lは、直線rとな
り、この直線r上では、Xのみならず、Yの値も変化す
るためである。また、始点aはa1となり、終点bはb
1となる。更に走査線lは、図形上部から図形下部に一
定のY座標変位で変化する。その本数は、事前に決まっ
ている。
Here, the coordinates of the day stay (D
X, DY) is the corresponding value of the A graphic coordinate on the B graphic, S
The next point of X, DX, DY, I is the next scan point in the horizontal direction (X direction) on the scanning line l (for example, if the start point is the current scan point, the next scan point of the start point is In general, the scan pitch in the X direction is constant.)
There is ΔSX and ΔSY is unnecessary because there is no change in the Y coordinate in one scanning line l.
Exists because the scanning line 1 becomes a straight line r on the B figure, and not only the value of X but also the value of Y changes on the straight line r. Also, the start point a is a1 and the end point b is b
It becomes 1. Further, the scanning line 1 changes from the upper part of the figure to the lower part of the figure with a constant Y coordinate displacement. The number is predetermined.

【0017】表示制御プロセツサ2は、以上の各データ
SX,SY,I,DX,DY,ΔSX,ΔX,ΔY,Δ
IをDDA回路部3に送る。
The display control processor 2 stores the data SX, SY, I, DX, DY, .DELTA.SX, .DELTA.X, .DELTA.Y, .DELTA.
I is sent to the DDA circuit unit 3.

【0018】DDA回路部3は、これらの各データを元
に、直線r上での座標及び濃度を各画素毎に計算する。
かくして得た座標及び濃度をフレームメモリ4に格納
し、次いで表示すると、図4のB図形上での一つの側面
に貼り付けた状態での図形が得られる。
The DDA circuit section 3 calculates the coordinates and the density on the straight line r for each pixel based on these data.
When the coordinates and density thus obtained are stored in the frame memory 4 and then displayed, a figure is obtained in a state where it is pasted on one side of the figure B in FIG.

【0019】図1の実施例を説明する。DDA31は、
対称形DDAを使用している。対称形DDAの機能図を
図5に示す。ある数値を始点として次々に微小値Δを加
算し、各加算値毎に、その整数部分を次々に出力させ
る。この出力整数値が始点から終点に至る変換値とな
る。図5はその機能を示す。小数部分に対して微小値Δ
を加算して、前回の小数値に代って埋め込む。各埋め込
み毎に、その際の整数値を出力する。尚、埋込みによっ
て整数部分が更新される場合と、更新されない場合とが
ある。更新される場合とは、小数部分にΔを加算した結
果、1なる整数値が得られる場合であり、更新されない
場合とは、小数部分にΔを加算しても1なる整数値に達
していない場合である。前者は、キヤリー発生であり、
後者はキヤリー発生しない例である。
The embodiment of FIG. 1 will be described. DDA 31
A symmetric DDA is used. A functional diagram of the symmetric DDA is shown in FIG. Small values Δ are added one after another starting from a certain numerical value, and the integer part is output one after another for each added value. This output integer value is a converted value from the start point to the end point. FIG. 5 shows the function. Small value Δ for decimal part
Is added and embedded in place of the previous decimal value. The integer value at that time is output for each embedding. There are cases where the integer part is updated by embedding and cases where it is not updated. The case of being updated is a case where an integer value of 1 is obtained as a result of adding Δ to the decimal part, and the case of not being updated does not reach the integer value of 1 even if Δ is added to the decimal part. Is the case. The former is a carrier occurrence,
The latter is an example where no carry occurs.

【0020】ここで、始点とは、SX,DX,DY,I
の各値を云い、微小値Δとは、ΔSX,ΔX,ΔY,Δ
Iの各値を云う。SYについては、1つの任意の走査線
l に関しては、変化なしであり、Δ=0であり、上記演
算は不用である。上記SX,DX,DY,Iの5つのデ
ータに対して第5図の処理が個別に行われ、終点へのデ
ータ更新が5つのデータそれぞれについて、個別に行わ
れてゆく。
Here, the starting points are SX, DX, DY, I
And the small value Δ is ΔSX, ΔX, ΔY, Δ
Each value of I is referred to. For SY, one arbitrary scan line
As for l, there is no change, Δ = 0, and the above operation is unnecessary. The processing of FIG. 5 is individually performed on the five data SX, DX, DY, and I, and the data update to the end point is individually performed on each of the five data.

【0021】レジスタ32は、n個のプレーンレジスタ
321,322〜32nより成る。各レジスタ321〜
32nは、それぞれFIFO形のレジスタである。各レ
ジスタ321〜32nは、それぞれ16ビットxmの容
量を持つ。
The register 32 is composed of n plane registers 321, 322 to 32n. Each register 321-
32n are FIFO type registers. Each of the registers 321 to 32n has a capacity of 16 bits xm.

【0022】ここで、nとは、一画素を構成するビット
数であり、16ビットとは1回に転送されてくるビット
数であり、mとはFIFOとしての個別レジスタの数で
ある。従って、mはFIFOレジスタとしての容量を決
める値である。nは、4とか8とか16とかをとる例が
多い。nの数が大きい程、階調数は多くとれる。16ビ
ットの代りに8ビットや32ビットの例もある。このレ
ジスタ32にはバス6を介して画像データがFI入力す
る。
Here, n is the number of bits constituting one pixel, 16 bits is the number of bits transferred at one time, and m is the number of individual registers as FIFO. Therefore, m is a value that determines the capacity of the FIFO register. In many cases, n takes 4, 8, or 16, or the like. The greater the number n, the greater the number of gradations. There are also examples of 8 bits and 32 bits instead of 16 bits. Image data is input FI to the register 32 via the bus 6.

【0023】選択器33は、n個の選択器331〜33
nより成る。この選択器33は、レジスタ32の出力か
フレームメモリ(FM)4からの読出しデータかのいず
れか1つを選択する。この選択は、選択信号で行う。こ
の選択信号は、(SX,SY)のアドレスが、メインメ
モリのアドレスを指示するときはレジスタ32のFO出
力を選択し、(SX,SY)のアドレスがフレームメモ
リのアドレスを指示するときはフレームメモリ出力(バ
ス7−2を介してのFM DATA)を選択する。この
選択器33の選択器331〜32nは、レジスタ321
〜32nに対応する。また、選択器331〜33nはバ
ス7−2からのFM DATA出力の16xnに対応す
る。
The selector 33 includes n selectors 331-33.
n. The selector 33 selects one of the output of the register 32 and the data read from the frame memory (FM) 4. This selection is performed by a selection signal. The selection signal selects the FO output of the register 32 when the address (SX, SY) indicates the address of the main memory, and selects the frame when the address (SX, SY) indicates the address of the frame memory. Select memory output (FM DATA via bus 7-2). The selectors 331 to 32n of the selector 33 are
~ 32n. The selectors 331 to 33n correspond to 16xn of the FM DATA output from the bus 7-2.

【0024】ソースレジスタ34,35は、それぞれn
個のレジスタ341〜34n,351〜35nより成
る。この2つのソースレジスタ34,35は、32画素
用であり、それぞれ16画素のバツフアリングを行う。
32画素としたのは、16画素のシフトしたデータを発
生させるためである。そこで、先ずレジスタ34にデー
タをラツチし、次にこのデータをレジスタ35に送って
ラツチさせ、レジスタ34には新しいデータをラツチさ
せるとの動作をさせる。
The source registers 34 and 35 have n
341-34n and 351-35n. These two source registers 34 and 35 are for 32 pixels and perform buffering of 16 pixels each.
The reason why the number of pixels is 32 is to generate data shifted by 16 pixels. Therefore, first, data is latched in the register 34, and then this data is sent to the register 35 for latching, and the register 34 is operated to latch new data.

【0025】パレルシフター36は、n個のパレルシフ
ター361〜36nより成る。このパレルシフター36
は複数ビットを一度にシフトさせる機能を持つ。
The barrel shifter 36 is composed of n barrel shifters 361 to 36n. This barrel shifter 36
Has the function of shifting multiple bits at once.

【0026】乗算器37は、16個の乗算器37-1〜3
7-16より成る。各乗算器37-1〜37-16の各々は、一
画素に対応している。乗算は、情報Iと各画素データと
の間で行う。
The multiplier 37 includes 16 multipliers 37-1 to 37-3.
Consists of 7-16. Each of the multipliers 37-1 to 37-16 corresponds to one pixel. The multiplication is performed between the information I and each pixel data.

【0027】書込みデータバッフア38は、n個のバッ
フア381〜38nより成る。この書込み制御はDXの
下位4ビットのデコード結果によって行う。このデコー
ドは、デコーダ70が行う。
The write data buffer 38 is composed of n buffers 381 to 38n. This write control is performed based on the decoding result of the lower 4 bits of DX. This decoding is performed by the decoder 70.

【0028】演算器39は、n個の演算器(ALU)よ
り成る。
The computing unit 39 is composed of n computing units (ALU).

【0029】制御回路71は、DDA制御を行う。第5
図に示した機能中のループ数の指定L、及び開始コマン
ドCOMがセットされ、もし、COMがスタートであれ
ば、L=0になるまでDDA演算を続行させ、もしFM
読出し/書込みであればFMからの読出し又はFMへの
書込みを行う。ここで、FM書込みの条件は、(DYの
整数部分が変化したこと)+(DYの値がメモリ境界を
越えたこと)である。更に、DXの値がメモリ境界を越
えたことは、DXの下位4ビットから5ビット目にキヤ
リーが発生したこと、16画素単位がフレームメモリの
境界時であること、を云う。
The control circuit 71 performs DDA control. Fifth
The designation L of the number of loops in the function shown in the figure and the start command COM are set. If COM is started, the DDA operation is continued until L = 0,
In the case of reading / writing, reading from or writing to FM is performed. Here, the condition of FM writing is (the integer part of DY has changed) + (the value of DY has crossed the memory boundary). Further, the fact that the value of DX has crossed the memory boundary means that a carry has occurred in the fourth to fifth bits from the lower 4 bits of DX, and that a unit of 16 pixels is at the time of a frame memory boundary.

【0030】デイステイネーシヨンレジスタ(DSTR
EG)40は、n個のレジスタ401〜40nより成
る。
The day stay register (DSTR)
The EG) 40 includes n registers 401 to 40n.

【0031】以上の図1の構成で、構成要素32,3
3,34,35,36,38,39,40をn枚のプレ
ーン構成としたのは、画像が一画素nビットとした場合
にそのnビットのプレーンをプレーン単位に共通に処理
できるようにしたためである。これによって、並列処理
される。但し、乗算器37に関しては、プレーン間のキ
ヤリイ伝播を発生させるため、一画素単位に個別に乗算
器を設けた。
In the configuration shown in FIG. 1, the components 32, 3
The reason why 3, 34, 35, 36, 38, 39, and 40 are composed of n planes is that when an image is composed of n bits per pixel, the plane of n bits can be commonly processed in plane units. It is. Thereby, parallel processing is performed. However, as for the multiplier 37, a multiplier is individually provided for each pixel in order to generate a carrier propagation between planes.

【0032】図1の動作を説明する。バス6を介して与
えられた前記パラメータ(SX,SY,DX,DY,
I,ΔX,ΔY,ΔSX,ΔI)は、DDA回路31内
のレジスタにセットされる。
The operation of FIG. 1 will be described. The parameters (SX, SY, DX, DY,
I, ΔX, ΔY, ΔSX, ΔI) are set in registers in the DDA circuit 31.

【0033】(SX,SY)で始まるラスターがフレー
ムメモリ4上にある場合は、選択器54によって、S
X,SYのアドレスがフレームメモリ4用のアドレスと
してバス7−1を介して出力され、FM4をアクセスす
る。FM4からのこのアドレス内からの読出しデータ
は、バス7−2を介して送られ、選択器33はこのバス
7−2上の読出しデータを選択して取込む。
If a raster starting with (SX, SY) exists on the frame memory 4, the selector 54
The X and SY addresses are output via the bus 7-1 as addresses for the frame memory 4, and access the FM4. Read data from within this address from FM4 is sent via bus 7-2, and selector 33 selects and takes in the read data on bus 7-2.

【0034】一方、SX,SYで始まるラスターがCP
U1側のメインメモリ上にある場合は、バス6を介して
FIFOレジスタ32にその読出しデータを順次書込
み、選択器33はこのレジスタ32内のデータをFO方
式に従って取込む。
On the other hand, the raster starting with SX and SY is CP
When the data is in the main memory on the U1 side, the read data is sequentially written to the FIFO register 32 via the bus 6, and the selector 33 takes in the data in the register 32 according to the FO method.

【0035】選択器33を介して得たデータは、16画
素のデータである。一画素nビット構成であるから、1
6画素のデータとは、16×nビットのデータとなる。
The data obtained via the selector 33 is data of 16 pixels. Since each pixel has n bits, 1
The data of six pixels is data of 16 × n bits.

【0036】選択器33で選択したデータはソースレジ
スタ(SORCE REG)34にラッチされ、次い
で、レジスタ35に送られる。このレジスタ34と35
とで、2×16×nビットの情報をラッチする。
The data selected by the selector 33 is latched in a source register (SOURCE REG) 34 and then sent to a register 35. These registers 34 and 35
And 2 × 16 × n bits of information are latched.

【0037】パレルシフタ36は、DDA内のSXレジ
スタ内の下位4ビット(16ビットバス巾のどの位置に
あたるかが示されている)の内容によって、レジスタ3
4,35から受けたデータをシフトする。その結果が、
乗算器37によって各画素単位に明度情報のDDA内の
格納値Iと乗算される。この乗算結果は、一度、ライト
データバッフア38に格納される。一回に16画素分の
データを格納する。
The parallel shifter 36 determines the contents of the register 3 based on the contents of the lower 4 bits (indicating the position in the 16-bit bus width) in the SX register in the DDA.
The data received from 4, 35 is shifted. The result is
The multiplier 37 multiplies each pixel by the stored value I of the brightness information in the DDA. The result of this multiplication is once stored in the write data buffer 38. Data for 16 pixels is stored at one time.

【0038】尚、一般にFM4等はワード単位のアドレ
スであるため、ソースデータと対応するデイステイネー
シヨンデータとの間は、αビット(0≦α≦15,1ワ
ード16ビット時)のいずれを生じている。これを合わ
せる回路が要素34,35,36である。即ち、αビッ
トのシフトを行うのがシフター36であり、αシフトし
ても1ワードのダータが生成できるようにソースデータ
を2ワード保持するのがレジスタ34,35である。
Since FM4 and the like are generally addresses in word units, any one of α bits (0 ≦ α ≦ 15, 1 word 16 bits) can be inserted between the source data and the corresponding destination data. Has occurred. Elements 34, 35, and 36 correspond to this circuit. That is, the shifter 36 shifts an α bit, and the registers 34 and 35 hold two words of source data so that a one-word dart can be generated even if the α shift is performed.

【0039】一方、書込むフレームメモリアドレスは、
DX,DYのDDA31の出力50によって与えられる
ため、そのアドレスが選択器54によって、FM4への
アドレス7−1として出力されてFM4をアクセスし、
このアクセスによって読み出されたデータは、バス7−
2を介してデイステイネーシヨンレジスタ40にセット
される(16画素分)。
On the other hand, the frame memory address to be written is
Since the address is given by the output 50 of the DDA 31 of DX and DY, the address is output by the selector 54 as the address 7-1 to the FM4 to access the FM4.
The data read by this access is transmitted to the bus 7-
The data is set in the destination register 40 via 2 (for 16 pixels).

【0040】最終的な書込みデータはライトデータバツ
フア38とデイステイネーシヨンレジスタ40との内容
が、演算器39によって16画素同時に演算されること
によって得られる。この結果は、バス7−1を介してF
M4へ書込まれる。
The final write data is obtained by calculating the contents of the write data buffer 38 and the destination register 40 simultaneously by the arithmetic unit 39 for 16 pixels. This result is output to F via bus 7-1.
Written to M4.

【0041】以上の演算結果のFM4への書込みに関し
ては、基本的にソースデータの書込みパターンはビット
境界であるのに対し、FM4はワード単位のアクセスで
あるため、そのまま書込んでしまうと、元のデータをこ
わしてしまう。このため、デイステイネーシヨンの元の
データを読出すレジスタ40と、書込むべきデータ38
との間をマージする処理が必要である。このための演算
器が演算器39である。
Regarding the writing of the above operation result to the FM4, the writing pattern of the source data is basically at the bit boundary, whereas the writing of the FM4 is performed in word units. Will break the data. Therefore, the register 40 for reading the original data of the day storage and the data 38 to be written are provided.
It is necessary to perform a process of merging with. An arithmetic unit for this is the arithmetic unit 39.

【0042】尚、DDA31での処理は、前述したが、
数式で示すと、1回の指令ごとに下記の演算を実行す
る。
The processing in the DDA 31 has been described above.
In a mathematical expression, the following operation is performed for each command.

【0043】DX←DX+ΔX DY←DY+ΔY I←I+ΔI SY←SX+ΔSX SY…一定値 これによって書込むべき次の画素のアドレスや明度情
報、書込まれるべきソース画素のアドレスを画素単位で
演算できる。
DX ← DX + ΔX DY ← DY + ΔY I ← I + ΔI SY ← SX + ΔSX SY ... Constant value By this, the address of the next pixel to be written, brightness information, and the address of the source pixel to be written can be calculated in pixel units.

【0044】本実施例によれば、16画素まで一度に乗
算を行うことができるため、ソース画像とデイステイネ
ーシヨン画像のサイズが不変で、且つ明度情報も一定の
場合は、16画素一度に演算を実行することができ、更
に高速化も達成できる。
According to this embodiment, since multiplication can be performed up to 16 pixels at a time, if the size of the source image and the destination image is unchanged and the brightness information is constant, 16 pixels at a time Calculations can be performed, and further speeding up can be achieved.

【0045】尚、16画素とは、一例であり、8画素、
32画素等の扱いも可能である。
Note that 16 pixels is an example, and 8 pixels,
It is also possible to handle 32 pixels and the like.

【0046】[0046]

【発明の効果】本発明によれば、濃淡情報を有するイメ
ージデータを、逐次演算した明度情報によって変換する
ことができるため、表示デイスプレイ上に照明度で明度
を異なって表示する画像を作成することができる。
According to the present invention, since image data having shading information can be converted by sequentially calculating brightness information, it is possible to create an image on a display display in which brightness is differently displayed according to illumination. Can be.

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

【図1】本発明の一実施形態に係る画像処理装置の構成
図である。
FIG. 1 is a configuration diagram of an image processing apparatus according to an embodiment of the present invention.

【図2】図形変換処理を説明する図である。FIG. 2 is a diagram illustrating a graphic conversion process.

【図3】本発明の一実施形態に係る画像処理システムの
構成図である。
FIG. 3 is a configuration diagram of an image processing system according to an embodiment of the present invention.

【図4】本発明の実施形態による画像処理装置で得られ
る図形変換処理の説明図である。
FIG. 4 is an explanatory diagram of a graphic conversion process obtained by the image processing device according to the embodiment of the present invention.

【図5】DDAの処理例を示す図である。FIG. 5 is a diagram illustrating a processing example of DDA.

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

1…CPU、2…表示制御プロセッサ、3…DDA回路
図、4…フレームメモリ。
DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... Display control processor, 3 ... DDA circuit diagram, 4 ... Frame memory.

フロントページの続き (72)発明者 加藤 猛 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内Continued on the front page. (72) Inventor Takeshi Kato 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Inside the Hitachi, Ltd. Omika Plant

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 表示するための画像情報を記録するメモ
リと、二次元画像を所望の三次元図形の表面に貼り付け
た三次元画像を生成し、前記メモリに格納する画像変換
手段とを備えた画像処理装置において、 上記画像変換手段は、上記メモリに格納した三次元画像
を所望の三次元図形の表面に貼り付けた三次元画像を生
成し、前記メモリに格納することを特徴とする画像処理
装置。
1. A memory for recording image information to be displayed, and image conversion means for generating a three-dimensional image in which a two-dimensional image is pasted on a surface of a desired three-dimensional figure and storing the generated three-dimensional image in the memory. In the image processing apparatus, the image conversion means generates a three-dimensional image in which the three-dimensional image stored in the memory is pasted on a surface of a desired three-dimensional figure, and stores the three-dimensional image in the memory. Processing equipment.
【請求項2】 二次元画像を記憶する第1のメモリと、
表示するための画像情報を記憶する第2のメモリと、上
記第1のメモリに記憶された二次元画像を読み出し、該
二次元画像を所望の三次元図形の表面に表示した三次元
画像を生成し、前記第2のメモリに格納する画像変換手
段とを備えた画像処理装置において、 上記画像変換手段は、上記第2のメモリ記憶された三次
元画像を読み出し、所望の三次元図形の表面に表示した
三次元画像を生成することを特徴とする画像処理装置。
2. A first memory for storing a two-dimensional image,
A second memory for storing image information to be displayed, and a two-dimensional image stored in the first memory are read out to generate a three-dimensional image in which the two-dimensional image is displayed on a desired three-dimensional figure surface An image processing apparatus comprising: an image conversion unit that stores the three-dimensional image stored in the second memory; the image conversion unit reads the three-dimensional image stored in the second memory; An image processing apparatus for generating a displayed three-dimensional image.
【請求項3】 二次元画像を三次元図形用に変換して該
三次元図形の表面に表示する命令を発行するCPUと、
二次元画像を記憶する第1のメモリと、表示するための
画像情報を記憶する第2のメモリと、上記CPUからの
命令を受け、上記第1のメモリに記憶された二次元画像
を読み出し、該二次元画像を所望の三次元図形の表面に
表示した三次元画像を生成し、前記第2のメモリに格納
する画像変換手段とを備えた画像処理装置において、 上記画像変換手段は、上記CPUからの命令に基づいて
所望の三次元図形の表面に表示すべき画像を上記第1の
メモリまたは上記第2のメモリから読み出し、該読み出
した画像を所望の三次元図形の表面に表示した三次元画
像を生成し、上記第2のメモリに格納することを特徴と
する画像処理装置。
3. A CPU that issues a command to convert a two-dimensional image into a three-dimensional figure and display the three-dimensional figure on the surface of the three-dimensional figure.
A first memory for storing a two-dimensional image, a second memory for storing image information for display, and receiving a command from the CPU, reading the two-dimensional image stored in the first memory; An image conversion unit that generates a three-dimensional image in which the two-dimensional image is displayed on the surface of a desired three-dimensional figure and stores the three-dimensional image in the second memory; An image to be displayed on the surface of a desired three-dimensional figure is read from the first memory or the second memory based on the command from the third memory, and the read image is displayed on the surface of the desired three-dimensional figure. An image processing apparatus for generating an image and storing the generated image in the second memory.
【請求項4】 表示装置と、上記表示装置に表示するた
めの画像情報を記録するメモリと、二次元画像を所望の
三次元図形の表面に表示した三次元画像を生成し、前記
メモリに格納する画像変換手段とを備えた画像処理シス
テムにおいて、 上記画像変換手段は、上記メモリに格納した三次元画像
を所望の三次元図形の表面に表示した三次元画像を生成
し、前記メモリに格納することを特徴とする画像処理シ
ステム。
4. A display device, a memory for recording image information to be displayed on the display device, and a three-dimensional image in which a two-dimensional image is displayed on a surface of a desired three-dimensional figure, and stored in the memory. An image processing system comprising: an image conversion unit configured to generate a three-dimensional image in which the three-dimensional image stored in the memory is displayed on a surface of a desired three-dimensional figure and store the generated three-dimensional image in the memory An image processing system, characterized in that:
【請求項5】 表示装置と、二次元画像を記憶する第1
のメモリと、上記表示装置に表示するための画像情報を
記憶する第2のメモリと、上記第1のメモリに記憶され
た二次元画像を読み出し、該二次元画像を所望の三次元
図形の表面に表示した三次元画像を生成し、前記第2の
メモリに格納する画像変換手段とを備えた画像処理シス
テムにおいて、 上記画像変換手段は、上記第2のメモリ記憶された三次
元画像を読み出し、所望の三次元図形の表面に表示した
三次元画像を生成することを特徴とする画像処理システ
ム。
5. A display device and a first device for storing a two-dimensional image.
, A second memory for storing image information to be displayed on the display device, and a two-dimensional image stored in the first memory, and reading the two-dimensional image onto a surface of a desired three-dimensional figure. An image processing system comprising: a three-dimensional image displayed on the second memory; and an image conversion unit configured to store the three-dimensional image in the second memory. The image conversion unit reads the three-dimensional image stored in the second memory, An image processing system for generating a three-dimensional image displayed on a surface of a desired three-dimensional figure.
【請求項6】 二次元画像を三次元図形用に変換して該
三次元図形の表面に表示する命令を発行するCPUと、
表示装置と、二次元画像を記憶する第1のメモリと、上
記表示装置に表示するための画像情報を記憶する第2の
メモリと、上記CPUからの命令を受け、上記第1のメ
モリに記憶された二次元画像を読み出し、該二次元画像
を所望の三次元図形の表面に表示した三次元画像を生成
し、前記第2のメモリに格納する画像変換手段とを備え
た画像処理システムにおいて、 上記画像変換手段は、上記CPUからの命令に基づいて
所望の三次元図形の表面に表示すべき画像を上記第1の
メモリ、上記第2のメモリのいずれかから読み出し、該
読み出した画像を所望の三次元図形の表面に表示した三
次元画像を生成し、上記第2のメモリに格納することを
特徴とする画像処理システム。
6. A CPU for issuing a command for converting a two-dimensional image into a three-dimensional figure and displaying the three-dimensional figure on the surface of the three-dimensional figure,
A display device, a first memory for storing a two-dimensional image, a second memory for storing image information to be displayed on the display device, and a command received from the CPU for storage in the first memory Read out the obtained two-dimensional image, generate a three-dimensional image that displays the two-dimensional image on the surface of the desired three-dimensional figure, and image conversion means for storing the two-dimensional image in the second memory, The image conversion means reads an image to be displayed on the surface of a desired three-dimensional figure from one of the first memory and the second memory based on a command from the CPU, and reads the read image as a desired image. An image processing system, which generates a three-dimensional image displayed on the surface of the three-dimensional figure and stores the generated three-dimensional image in the second memory.
JP34515297A 1987-02-27 1997-12-15 Image processing system Expired - Lifetime JP3159431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34515297A JP3159431B2 (en) 1987-02-27 1997-12-15 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34515297A JP3159431B2 (en) 1987-02-27 1997-12-15 Image processing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP62042963A Division JP2766478B2 (en) 1987-02-27 1987-02-27 Image processing system

Publications (2)

Publication Number Publication Date
JPH10162162A true JPH10162162A (en) 1998-06-19
JP3159431B2 JP3159431B2 (en) 2001-04-23

Family

ID=18374641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34515297A Expired - Lifetime JP3159431B2 (en) 1987-02-27 1997-12-15 Image processing system

Country Status (1)

Country Link
JP (1) JP3159431B2 (en)

Also Published As

Publication number Publication date
JP3159431B2 (en) 2001-04-23

Similar Documents

Publication Publication Date Title
US4967392A (en) Drawing processor for computer graphic system using a plurality of parallel processors which each handle a group of display screen scanlines
US5973705A (en) Geometry pipeline implemented on a SIMD machine
US6181352B1 (en) Graphics pipeline selectively providing multiple pixels or multiple textures
KR950012931B1 (en) Graphic display device
US6417858B1 (en) Processor for geometry transformations and lighting calculations
EP0360155B1 (en) Image transformation method and device
JPS6158083A (en) Fast memory system, data processing method and memory segment
JPH05307610A (en) Texture mapping method and its device
JPH0916806A (en) Stereoscopic image processor
US4970499A (en) Apparatus and method for performing depth buffering in a three dimensional display
US5157385A (en) Jagged-edge killer circuit for three-dimensional display
JPH0714029A (en) Equipment and method for drawing of line
US4945497A (en) Method and apparatus for translating rectilinear information into scan line information for display by a computer system
JP3159431B2 (en) Image processing system
JPH09120278A (en) Apparatus and method for line scan conversion in computer graphics system
JP2766478B2 (en) Image processing system
JPS61133482A (en) Multiprocessor for graphic display
KR19980041754A (en) Method and apparatus for determining texture coordinates in computer graphics
JP4195953B2 (en) Image processing device
JP3358891B2 (en) Z-value perspective transformation processing method and image processing apparatus
KR19990078036A (en) Method and apparatus for implementing efficient floating point Z-buffering
JP2656753B2 (en) Image data processing apparatus and system using the same
JPH06309472A (en) Method and device for texture mapping
JPS63247868A (en) Display device for 3-dimensional pattern
EP0410744B1 (en) Graphics processor trapezoidal fill instruction method and apparatus

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term