JPH0869539A - Method and equipment for decision of region extent of picture - Google Patents

Method and equipment for decision of region extent of picture

Info

Publication number
JPH0869539A
JPH0869539A JP13533295A JP13533295A JPH0869539A JP H0869539 A JPH0869539 A JP H0869539A JP 13533295 A JP13533295 A JP 13533295A JP 13533295 A JP13533295 A JP 13533295A JP H0869539 A JPH0869539 A JP H0869539A
Authority
JP
Japan
Prior art keywords
display area
image
display
area
determining
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.)
Pending
Application number
JP13533295A
Other languages
Japanese (ja)
Inventor
Jimmie D Edrington
ジミー・ダリウス・エドリングトン
Allen Peter Jensen
アレン・ピーター・ジャンセン
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of JPH0869539A publication Critical patent/JPH0869539A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide the device and method to decrease number of processes by deciding an area extent of an image generated from a plurality of image objects to conduct quick post-processing for expression of the image. CONSTITUTION: A display area 400 is divided into a plurality of areas and which of the areas are intersected with a plurality of image objects 410, 420 is decided. A marking is stored in a memory area corresponding to the display area decided to be intersected with at least either of the image objects.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータ・グラフィ
ックスのシステムに関し、詳細には画像の領域エクステ
ントを決める方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to computer graphics systems, and more particularly to a method and apparatus for determining image area extents.

【0002】[0002]

【従来の技術】コンピュータ・グラフィックスのシステ
ムでは、2次元ディスプレイに2次元あるいは3次元の
図画を表示することが望ましい。通常、こうした図画
は、1組の2次元あるいは3次元オブジェクトとしてメ
モリ内に記憶させることのできる構造あるいは画像であ
る。例えば、あるオブジェクトが1組の頂点P(0)、
P(1)、…、P(n−2)、P(n−1)として特定
される。ここで、nはオブジェクトの頂点の数である。
各頂点P(i)は、通常、座標空間における位置V
(i)とカラー因子のような少なくとも1つのファンク
ションf(V(i))によって特定される。カラー因子
は、後にカラー(グレースケールを含む)変化(輝度、
温度特性、湿度要因、等のような)として表示される各
頂点において評価されるファンクションである。このカ
ラー因子は各色に変換され、そして現実的グラフィック
画像あるいは情報としてのグラフィック画像を得るため
に利用される。
2. Description of the Related Art In computer graphics systems, it is desirable to display two-dimensional or three-dimensional drawings on a two-dimensional display. Typically, such drawings are structures or images that can be stored in memory as a set of 2D or 3D objects. For example, an object has a set of vertices P (0),
Specified as P (1), ..., P (n-2), P (n-1). Here, n is the number of vertices of the object.
Each vertex P (i) normally has a position V in the coordinate space.
(I) and at least one function f (V (i)) such as a color factor. The color factor will later change the color (including grayscale) change (luminance,
It is a function evaluated at each vertex displayed as (such as temperature characteristics, humidity factors, etc.). This color factor is converted to each color and used to obtain a realistic or informative graphic image.

【0003】オブジェクトを表現する際に、そのオブジ
ェクトは小さなオブジェクトに細片化され、一続きの平
行なスパンにラスタされ、各スパンのピクセル表示を算
出し、位置あるいはピクセル・アドレス(普通、X、Y
空間で)およびそのピクセルにたいする色などのような
種々のファンクションを有するように手が加えられる。
In representing an object, the object is fragmented into smaller objects, rasterized in a series of parallel spans, and a pixel representation of each span is calculated to determine the position or pixel address (usually X, Y
Are modified to have various functions such as (in space) and the color for that pixel, and so on.

【0004】一度表現されると、種々の表現後プロセス
がその表現画像にたいして行われることになる。例え
ば、クリア・コマンドを使用して表現画像における各ピ
クセルの値を単一カラーに変更させ、その画像を消す。
さらに、カラー比較コマンドは特定のカラーを有するピ
クセルが、例えば別のカラーへ変える場合に実行され
る。多数のピクセルが表現後プロセスを行われる結果と
して、表現後プロセスは通常、コンピュータ使用密度が
高くなる。
Once rendered, various post-representational processes will be performed on the rendered image. For example, a clear command is used to change the value of each pixel in the rendered image to a single color and erase the image.
Further, the color comparison command is executed when a pixel having a particular color changes, for example to another color. As a result of the large number of pixels undergoing the post-representation process, the post-representation process is typically computer intensive.

【0005】表現後プロセスをおこなうピクセルの数を
減少させるため使用する技術の一つは、表現画像の領域
エクステントにあるピクセルのみ表現後プロセスをおこ
なうことである。すなわち、表現画像のエクステントは
通常、表現画像の最小、最大x、y値と交わる長方形の
箱である。この画像の領域内のピクセルのみ処理するこ
とにより、表現後プロセスをおこなう必要があるピクセ
ルはかなり減少する。
One technique used to reduce the number of pixels that undergo the post-representation process is to perform the post-representation process only on those pixels that are in the region extent of the representation image. That is, the extent of the representation image is typically a rectangular box that intersects the minimum, maximum x, y values of the representation image. By processing only pixels within this region of the image, the number of pixels that need to undergo post-representation processing is significantly reduced.

【0006】[0006]

【発明が解決しようとする課題】本発明は、画像の表現
後処理を減少させるために、複数の画像オブジェクトか
ら作られた画像の領域エクステントを決定するための装
置および方法を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus and method for determining the area extent of an image created from multiple image objects to reduce post-rendering processing of the image. And

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明による複数の画像オブジェクトから作られた
画像の領域エクステントを決める装置は、ディスプレイ
・エリアを複数の表示領域に分ける装置と、複数の画像
オブジェクトと交わる可能性のある表示領域がどれであ
るか決定する装置と、少なくともその画像オブジェクト
の1個と交わると決定した表示領域にたいするメモリに
標識を記憶させる装置とを有する。また、本発明による
複数の画像オブジェクトから作られた画像の領域エクス
テントを決める方法は、ディスプレイ・エリアを複数の
表示領域に分けるステップと、複数の画像オブジェクト
と交わる可能性のある表示領域がどれであるか決定する
ステップと、少なくともその画像オブジェクトの1個と
交わると決定した表示領域にたいするメモリに標識を記
憶させるステップを有する。
In order to solve the above problems, an apparatus for determining an area extent of an image created from a plurality of image objects according to the present invention is a device for dividing a display area into a plurality of display areas. A device for determining which display area may intersect a plurality of image objects, and a device for storing an indicator in a memory for at least the display area determined to intersect with one of the image objects. In addition, the method of determining the area extent of an image created from a plurality of image objects according to the present invention includes a step of dividing the display area into a plurality of display areas and a display area that may intersect with the plurality of image objects. There is the step of determining if there is, and the step of storing the indicator in a memory for the display area determined to intersect at least one of the image objects.

【0008】[0008]

【作用】上記のように本発明は、画像の表現後処理を減
少させるために、複数の画像オブジェクトから作られた
画像の領域エクステントを決定するための装置および方
法に関する。本発明の望ましい実施例では、ディスプレ
イ・エリアを複数の領域に分割する。画像の各オブジェ
クトが表現されると、どの領域あるいはそのエクステン
トがオブジェクトに達するかを決定し、表現プロセスの
間に変更されるようにその領域にフラッグを与える。こ
れが一度完成すると、その領域フラッグが使用され、表
現プロセスの際に変更させることの可能なディスプレイ
の領域のみを表現後の処理工程の間に処理させることに
なる。これは、例えば鮮明度、色の比較調整、ズーミン
グ、ウィンドウ移動等の表現後に必要な処理の数を減ら
し、これにより表現後処理の速度をあげることになる。
As described above, the present invention is directed to an apparatus and method for determining a region extent of an image created from a plurality of image objects to reduce post-rendering processing of the image. In the preferred embodiment of the present invention, the display area is divided into a plurality of regions. As each object in the image is rendered, it determines which region, or extent, it reaches the object, and flags that region to be modified during the rendering process. Once this is completed, that region flag will be used, leaving only those regions of the display that can be modified during the rendering process during the post-rendering processing step. This reduces the number of processes required after expression such as sharpness, color comparison adjustment, zooming, window movement, etc., and thereby speeds up post-expression processing.

【0009】[0009]

【実施例】以下、図面を参照にして本発明の望ましい実
施例について説明する。図1は本発明の望ましい実施例
に使用された通常のデジタル・コンピュータ100の基
本的な構成を示すブロック図である。コンピュータ10
0は単数あるいは複数の主プロセッサ110を有し、主
プロセッサはメモリ120とハード・ディスク125に
コンピュータ・ボックス105内で接続されており、コ
ンピュータ・ボックス105には入力装置130および
出力装置140が取り付けられている。出力プロセッサ
110は単一のプロセッサあるいは複数のプロセッサで
もよい。入力装置130はキーボード、マウス、タブレ
ット、あるいは他のタイプの入力装置でもよい。出力装
置140はテキスト・モニタ、プロッタ、あるいは他の
タイプの出力装置を有することも可能である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the basic configuration of a conventional digital computer 100 used in the preferred embodiment of the present invention. Computer 10
0 has one or a plurality of main processors 110, which are connected to a memory 120 and a hard disk 125 in a computer box 105, and an input device 130 and an output device 140 are attached to the computer box 105. Has been. Output processor 110 may be a single processor or multiple processors. Input device 130 may be a keyboard, mouse, tablet, or other type of input device. The output device 140 can also include a text monitor, plotter, or other type of output device.

【0010】コンピュータにより読取り可能な離脱自在
の媒体190、たとえば磁気ディスケットやコンパクト
・ディスクをディスク・ドライブあるいはCD−ROM
ドライブのような入力/出力装置(以下I/O装置と称
する)180内に挿入させることが可能である。データ
はI/O装置コントローラ170の制御下でI/O装置
により離脱自在媒体190から読取りあるいは書込みが
行われる。このI/O装置コントローラ170はバス1
60を介して主プロセッサ110と電気的に接続する。
主メモリ120、ハードディスク125、離脱自在媒体
190等は主プロセッサ110による処理用のデータを
記憶するメモリとして使用される。
A computer readable removable medium 190, such as a magnetic diskette or compact disc, is a disk drive or CD-ROM.
It can be inserted into an input / output device (hereinafter referred to as an I / O device) 180 such as a drive. Data is read or written from the removable media 190 by the I / O device under the control of the I / O device controller 170. This I / O device controller 170 is the bus 1
It is electrically connected to the main processor 110 via 60.
The main memory 120, the hard disk 125, the removable medium 190, etc. are used as a memory for storing data for processing by the main processor 110.

【0011】主プロセッサ110は、また、グラフィッ
クス・アダプタ200を介してグラフィックス・ディス
プレイのようなグラフィックス出力装置150に接続さ
せることができる。グラフィックス・アダプタ200は
主プロセッサ110からの画像に関する命令をバス16
0を介して受ける。そして、グラフィックス・アダプタ
はグラフィックス・アダプタ・メモリ230に接続した
複数あるいは単数のグラフィックス・アダプタ・プロセ
ッサ220でその命令を実行する。そのプロセッサ22
0は命令を実行し、その命令に基づいてフレーム・バッ
ファ240を更新する。複数のグラフィックス・プロセ
ッサ220は、直列のパイプライン処理装置、あるいは
1組の並列処理装置、あるいはその組合せが可能であ
り、各処理装置は実行すべきタスクの一部分を担当する
ことになる。グラフィックス・プロセッサ220も特定
のタイプのプリミティブを表現するための特殊な表現ハ
ードウェアを有することも可能である。グラフィックス
・メモリ230はプロセッサ220により、たとえばオ
ブジェクト・データ、中間演算データ(ステンシル・バ
ッファあるいは部分的に表現したオブジェクト・データ
等)、およびフレーム・バッファ240にロードする完
成データのような処理対象の情報を記憶するために使用
される。フレーム・バッファ240は、グラフィックス
出力装置に表示させる各ピクセルにたいするデータを有
する。RAMDAC(読取り書込み記憶装置デジタル・
アナログ変換器)250はフレーム・バッファ240に
記憶させたデジタル・データをグラフィックス・ディス
プレイ150に供給するRGB信号に変換し、それによ
り主プロセッサ110からの所望のグラフィックス出力
を表現する。
The main processor 110 can also be connected via a graphics adapter 200 to a graphics output device 150, such as a graphics display. The graphics adapter 200 sends image-related instructions from the main processor 110 to the bus 16
Receive through 0. The graphics adapter then executes the instructions on multiple or singular graphics adapter processors 220 connected to the graphics adapter memory 230. The processor 22
0 executes the instruction and updates the frame buffer 240 based on the instruction. The plurality of graphics processors 220 can be serial pipeline processors, a set of parallel processors, or a combination thereof, with each processor responsible for a portion of the task to be performed. Graphics processor 220 may also have specialized rendering hardware for rendering a particular type of primitive. The graphics memory 230 is processed by the processor 220 such as object data, intermediate operation data (such as stencil buffer or partially represented object data), and completed data to be loaded into the frame buffer 240. Used to store information. The frame buffer 240 contains data for each pixel to be displayed on the graphics output device. RAMDAC (read / write storage device digital
The analog converter 250 converts the digital data stored in the frame buffer 240 into RGB signals that are supplied to the graphics display 150, thereby representing the desired graphics output from the main processor 110.

【0012】図2は、グラフィックス機能を実行するた
めホスト・コンピュータおよびグラフィックス・アダプ
タにより通常使用されるコードの層を説明するブロック
図である。UNIXのようなオペレーティング・システ
ム300がこのホスト・コンピュータの主な制御をおこ
なう。そのオペレーティング・システムにオペレーティ
ング・システム核310が接続され、そのオペレーティ
ング・システムにたいしてハードウェア集中タスクを提
供する。オペレーティング・システム核は直接、ホスト
・コンピュータ・マイクロコード320と接続する。ホ
スト・コンピュータ・マイクロコード320はホスト・
コンピュータ・プロセッサによって実行された主な命令
セットである。オペレーティング・システム300には
グラフィックス・アプリケーション330および332
が接続されている。このグラフィックス・アプリケーシ
ョン・ソフトウェアはSilicon Graphic's GL、IBM's gr
aPHIGS、MIT's PEX等のようなソフトウェア・パッケー
ジを有することが可能である。グラフィックス・アプリ
ケーション330、332は、それぞれグラフィックス
・アプリケーションAPI(アプリケーション・プログ
ラム・インターフェース)340、342に接続してい
る。APIは、グラフィックス・アプリケーションにた
いするコンピュータ的手段の集中タスクを多く提供し、
かつアプリケーション・ソフトウェアとグラフィックス
・アダプタ用の装置ドライバのようなグラフィックス・
ハードウェア側とのインターフェースを提供する。例え
ば、API340と342は、それぞれGAI(グラフ
ィックス・アプリケーション・インターフェース)35
0、352と接続可能である。GAIはアプリケーショ
ンAPIとグラフィックス・アダプタ装置ドライバ37
0間のインターフェースを提供する。いくつかのグラフ
ィックス・システムでは、このAPIはGAIのファン
クションもおこなう。
FIG. 2 is a block diagram illustrating the layers of code typically used by a host computer and graphics adapter to perform graphics functions. An operating system 300, such as UNIX, provides the main control of this host computer. An operating system kernel 310 is attached to the operating system and provides hardware intensive tasks to the operating system. The operating system kernel connects directly to the host computer microcode 320. The host computer microcode 320 is the host
It is the main instruction set executed by a computer processor. Operating system 300 includes graphics applications 330 and 332
Is connected. This graphics application software is Silicon Graphic's GL, IBM's gr
It is possible to have software packages such as aPHIGS, MIT's PEX, etc. The graphics applications 330 and 332 are connected to graphics application APIs (application program interfaces) 340 and 342, respectively. APIs provide many computationally intensive tasks for graphics applications,
And graphics drivers such as device drivers for application software and graphics adapters.
Provides an interface with the hardware side. For example, APIs 340 and 342 are respectively GAI (graphics application interface) 35
0,352 can be connected. GAI is an application API and graphics adapter device driver 37
Provides an interface between 0s. In some graphics systems, this API also performs GAI functions.

【0013】グラフィックス・アプリケーション、AP
I、およびGAIはオペレーティング・システムおよび
装置ドライバにより単独のプロセスと見なされる。すな
わち、グラフィックス・アプリケーション330、33
2、API340、342、およびGAI350、35
2は、オペレーティング・システム300および装置ド
ライバ370によりそれぞれプロセス360、362と
見なされる。プロセスはオペレーティング・システムに
より識別され、オペレーティング・システム核によりプ
ロセスに割当られたプロセス識別子(PID)により装
置ドライバが識別される。プロセス360、362は、
2つの異なったウィンドウで一つのプログラムを各々が
実行するように、同時に2度実行される同じコードを使
用することも可能である。PIDを使用して同じコード
の別々の実行を区別する。
Graphics application, AP
I, and GAI are considered by the operating system and device drivers as separate processes. That is, the graphics applications 330, 33
2, API 340, 342, and GAI 350, 35
2 is considered by operating system 300 and device driver 370 as processes 360, 362, respectively. The process is identified by the operating system and the device driver is identified by the process identifier (PID) assigned to the process by the operating system kernel. Process 360, 362
It is also possible to use the same code that is executed twice at the same time, each executing one program in two different windows. PIDs are used to distinguish different executions of the same code.

【0014】装置ドライバはオペレーティング・システ
ム核310の拡張であるグラフィックス核である。この
グラフィックス核はグラフィックス・アダプタ380の
マイクロコードに直接連絡している。多くのグラフィッ
クス・システムでは、GAI、あるいはGAI層が使用
されない場合にはAPIが、装置ドライバへ初期要求命
令を送ることによりGAIあるいはAPIから直接アダ
プタ・マイクロコードへのアクセスを要求することがで
きる。さらに、多くのグラフィックス・システムは装置
ドライバへ初期要求命令を送ることによりアダプタ・マ
イクロコードがGAI、あるいはGAI層が使用されな
い場合にはAPIへアダプタ・マイクロコードから直接
アクセスすることも可能としている。両方のプロセスは
以後、直接記憶アクセス(DMA)と称する。DMAは
通常、データの大きなブロックを転送する際に使用され
る。装置ドライバがDMAをセットアップするための初
期要求とは別にディスプレイ・ドライバを介して行う必
要をなくすことにより、DMAはホスト・コンピュータ
とアダプタ間の迅速なデータ転送を行う。あるケースで
は、アダプタ・マイクロコードにより利用される現在の
特性をアダプタ・マイクロコードが置換可能とする文脈
切換を利用する。現在使用中の適応マイクロコードとは
別の特性を利用するグラフィックス・アプリケーション
からの命令をアダプタ・マイクロコードが受け取る時に
文脈切換が使用される。文脈切換は通常、特性の変更を
認める装置ドライバにより開始される。
The device driver is a graphics kernel that is an extension of operating system kernel 310. This graphics core communicates directly with the microcode of graphics adapter 380. In many graphics systems, the GAI, or the API when the GAI layer is not used, can request access to the adapter microcode directly from the GAI or API by sending an initial request command to the device driver. . In addition, many graphics systems also allow the adapter microcode to access the GAI directly from the adapter microcode by sending an initial request command to the device driver, or when the GAI layer is not used. Both processes are hereafter referred to as direct memory access (DMA). DMA is typically used in transferring large blocks of data. By eliminating the need for the device driver to make a separate request through the display driver to set up the DMA, the DMA provides a fast data transfer between the host computer and the adapter. In some cases, it makes use of context switching, which allows adapter microcode to replace the current properties utilized by the adapter microcode. Context switching is used when the adapter microcode receives an instruction from a graphics application that utilizes a characteristic other than the adaptive microcode currently in use. Context switching is typically initiated by device drivers that allow the property to change.

【0015】ブロック300乃至340は、利用される
グラフィックス・アダプタのタイプとは通常独立したソ
フトウェア・コード層である。ブロック350乃至38
0は利用されるグラフィックス・アダプタのタイプに通
常依存したソフトウェア・コード層である。例えば、異
なったグラフィックス・アダプタをグラフィックス・ア
プリケーション・ソフトウェアに使用するなら、新しい
GAI、グラフィックス核、およびアダプタ・マイクロ
コードが必要になる。また、ブロック300乃至370
は通常、ホスト・コンピュータに依存し、かつホスト・
コンピュータにより実行される。しかし、アダプタ・マ
イクロコード380は通常グラフィックス・アダプタに
依存し、それにより実行される。あるケースでは、アダ
プタ・マイクロコードは、グラフィックス・アダプタの
初期化の際にホスト・コンピュータによりグラフィック
ス・アダプタにロードされる。
Blocks 300-340 are software code layers that are typically independent of the type of graphics adapter utilized. Blocks 350-38
0 is a software code layer that typically depends on the type of graphics adapter utilized. For example, using different graphics adapters for graphics application software would require new GAI, graphics kernel, and adapter microcode. In addition, blocks 300 to 370
Usually depends on the host computer and
It is executed by a computer. However, adapter microcode 380 typically depends on and is implemented by the graphics adapter. In some cases, adapter microcode is loaded into the graphics adapter by the host computer during initialization of the graphics adapter.

【0016】通常のグラフィックス・システムでは、ユ
ーザは2次元あるいは3次元のモデルから画像を作るた
めにグラフィックス・アプリケーションを命令する。初
めにユーザは光源の位置と種類を選択する。次にユーザ
は、所定のオブジェクトあるいはユーザが決めたオブジ
ェクトのセットから所望のモデルを作るためにアプリケ
ーション・ソフトウェアを命令する。各オブジェクト
は、そのオブジェクトを描く1以上の同一平面上の描画
プリミティブを有することが可能である。例えば、オブ
ジェクトの表面を表すために多数の三角のような描画プ
リミティブのセットを使用することができる。次に、ユ
ーザはそのモデルを見るためにウィンドウ内で斜視図を
作り、所望の画像を決める。そして、オブジェクトを描
く描画プリミティブをAPI、GAI、そしてDMAが
使用されてなければ装置ドライバを介してアダプタ・マ
イクロコードに送ることにより、アプリケーション・ソ
フトウェアがそのモデルからの画像の表現を開始する。
アダプタ・マイクロコードは、そのウィンドウの外側の
描画プリミティブをクリッピング(つまり、切り落とす
こと)してグラフィックス・ディスプレイ上に画像を表
現し、かつアダプタ・マイクロコードは、各々残留して
いる描画プリミティブをユーザにより提供された斜視画
から可視ピクセルに分解する。そして、ピクセルはフレ
ーム・バッファに、3次元モデルの場合にはしばしば深
層バッファの使用によりロードされる。このステップ
は、関連した描画プリミティブ、変数、およびピクセル
等の数により極めてコンピュータ的に集中したものであ
る。フレーム・バッファに記憶させ、グラフィックス・
ディスプレイに表示した画像は、通常、ピクセルが導か
れた描画プリミティブあるいはオブジェクトがどれかと
いうようなオリジナルな情報を保持していない。結果と
して、画像は部分的にあるいはウィンドウなら全体的に
再表現される必要があり、ユーザの斜視画、モデル、光
源等が修正される。
In a typical graphics system, a user commands a graphics application to create an image from a 2D or 3D model. First, the user selects the position and type of light source. The user then commands the application software to create the desired model from a given object or user-defined set of objects. Each object can have one or more coplanar drawing primitives that draw the object. For example, a set of drawing primitives, such as multiple triangles, can be used to represent the surface of an object. The user then makes a perspective view in the window to see the model and decides on the desired image. The application software then initiates the rendering of the image from that model by sending the drawing primitives that draw the object to the adapter microcode through the device driver if API, GAI, and DMA are not used.
The adapter microcode renders the image on the graphics display by clipping (ie, cropping) drawing primitives outside the window, and the adapter microcode renders each remaining drawing primitive to the user. Decompose into a visible pixel from the perspective image provided by. Pixels are then loaded into the frame buffer, often in the case of a three-dimensional model by the use of deep buffers. This step is very computationally intensive with a number of associated drawing primitives, variables, pixels, etc. You can store graphics in the frame buffer,
The image displayed on the display usually does not carry the original information such as which drawing primitive or object the pixel was derived from. As a result, the image needs to be re-rendered, either partially or entirely in the window, and the user's perspective, model, light source, etc. are modified.

【0017】本発明の技術は、アダプタ・フレーム・バ
ッファ側のアダプタ・マイクロコードのような多くの位
置において利用可能である。また、このアプローチは実
行するうえで、比較的迅速かつ簡単となる。さらに、本
発明はグラフィックス・アプリケーション・ソフトウェ
アに適用可能であり、そのグラフィックス・アプリケー
ション・ソフトウェアにたいするデータ・バックアップ
を通過させるグラフィックス・アダプタにより、表現画
像も表現前あるいは表現後にシステム・メモリに記憶さ
せる。このアプローチは遅いが、既存のグラフィックス
・アダプタに本発明の技術を利用することを可能とす
る。また、本発明はグラフィックス・アダプタ・プロセ
ッサのハードウェアで実行可能でもある。このアプロー
チは極めて迅速であるが、特別なハードウェアが必要と
なる。本発明分野の技術者には明白であるが、本発明は
ホスト・コンピュータあるいはグラフィックス・アダプ
タ内の他の多くの位置に応用可能である。
The technique of the present invention can be used in many locations, such as adapter microcode on the adapter frame buffer side. Also, this approach is relatively quick and easy to implement. Further, the present invention is applicable to graphics application software, and the representation image is also stored in the system memory before or after the representation by the graphics adapter that passes the data backup to the graphics application software. Let Although this approach is slow, it allows existing graphics adapters to utilize the techniques of the present invention. The present invention may also be implemented in the hardware of a graphics adapter processor. This approach is extremely quick, but requires special hardware. As will be apparent to those skilled in the art of the present invention, the present invention is applicable to many other locations within a host computer or graphics adapter.

【0018】大部分のグラフィックス画像は、各オブジ
ェクトが複数の頂点のセットを有するオブジェクト、あ
るいは多角形として表現可能である。例えば、図3はデ
ィスプレイ・エリア400に表示したボール420を取
ろうとする棒状の人410の画像を作るために表現され
た一セットの線(各線は2つの頂点を有する)を示して
いる。ディスプレイ・エリア400はディスプレイ全
体、あるいはディスプレイ上に示したウィンドウのディ
スプレイ部分、あるいは当業者に明白な別の形態であ
る。さらに、ディスプレイ・エリアは円のように矩形と
は別の形状であってもよい。
Most graphics images can be represented as objects, where each object has multiple sets of vertices, or polygons. For example, FIG. 3 shows a set of lines (each line having two vertices) rendered to create an image of a rod-shaped person 410 attempting to pick a ball 420 displayed in the display area 400. Display area 400 may be the entire display, the display portion of the window shown on the display, or another form apparent to one of ordinary skill in the art. Furthermore, the display area may have a shape other than a rectangle, such as a circle.

【0019】ディスプレイ・エリアはグラフィック・オ
ブジェクトによりわずかな部分しか占められていない
が、鮮明度あるいはカラー比較調整のような表現画像の
表現後処理は通常、ディスプレイ・エリア全体に対して
行われる。
Although the display area is only a small portion occupied by graphic objects, post-rendering processing of the rendered image, such as sharpness or color comparison adjustment, is typically performed on the entire display area.

【0020】図4はボール420を取ろうとする棒状の
人410の画像を有するディスプレイ・エリアを示して
いる。この例では、説明のため便宜的にディスプレイ・
エリアを幅方向に128ピクセル、高さ方向に112ピ
クセル、合計14336ピクセルに分けてあり、これは
従来の表現後処理技術を使用して行うために必要であ
る。より明白にするために、ピクセル・アドレスを下部
ケースx、yを使用して説明し、ディスプレイ領域アド
レスは上部ケースx、yを使用して説明する。
FIG. 4 shows a display area with an image of a rod-shaped person 410 attempting to pick up a ball 420. In this example, a display
The area is divided into 128 pixels in the width direction and 112 pixels in the height direction, for a total of 14336 pixels, which is required to be performed using conventional post-processing techniques for rendering. For clarity, pixel addresses are described using lower case x, y, and display area addresses are described using upper case x, y.

【0021】ディスプレイ・エリア400は56個の異
なったディスプレイ領域に分割され、各領域は256
(16X16)ピクセルを有する。高さ方向16ピクセ
ル、幅方向16ピクセルの領域にディスプレイ・エリア
を分割することにより、領域X、Yアドレスはその領域
内に位置するピクセルのアドレスの最多数の有効ビット
と同じである。つまり、いかなるバイナリ・ピクセル・
アドレス(x,y)をとり、かつそのx,yアドレスを
右に4ビット移動することにより、ディスプレイ領域ア
ドレス(X,Y)となる。全てのディスプレイ領域の幅
と高さ、2つのファクタ、を作ることにより、ディスプ
レイ領域アドレスがどのピクセル・アドレスからも迅速
に算出される。
The display area 400 is divided into 56 different display areas, each area having 256
It has (16 × 16) pixels. By dividing the display area into regions of 16 pixels in the height direction and 16 pixels in the width direction, the region X and Y addresses are the same as the most significant bits of the addresses of the pixels located in the region. That is, any binary pixel
The display area address (X, Y) is obtained by taking the address (x, y) and moving the x, y address to the right by 4 bits. By creating the width and height of all display areas, a factor of two, the display area address is quickly calculated from any pixel address.

【0022】望ましい実施例では、棒人間410とボー
ル420の表現の際に修正され得る領域のみがonとい
うフラッグをつけられ、そのonフラッグの領域のみが
表現後の処理の際に処理を行う。図4の例では、わずか
9個のディスプレイ領域([X,Y]=[2、5]、
[3、2]、[3、3]、[3、4]、[3、5]、
[4、2]、[5、6]、[5、7])であり、これは
表現後処理の際に取り扱う必要があるのは全部で220
4ピクセルである。これは上記の14336ピクセルよ
りかなり少ない。もちろん、当業者に自明なように、本
発明の利点を損なわずにディスプレイ・エリアを様々な
サイズや形状の領域に分割できる。
In the preferred embodiment, only the areas that can be modified in the representation of the stick man 410 and the ball 420 are flagged as on, and only those areas of the on flag are processed during the post-expression processing. In the example of FIG. 4, only nine display areas ([X, Y] = [2,5],
[3,2], [3,3], [3,4], [3,5],
[4, 2], [5, 6], [5, 7]), which need to be handled in the post-expression postprocessing in total 220.
It is 4 pixels. This is significantly less than the 14336 pixels above. Of course, one of ordinary skill in the art will appreciate that the display area can be divided into regions of various sizes and shapes without compromising the advantages of the present invention.

【0023】図5は本発明の望ましい実施例におけるグ
ラフィックス・アダプタ・メモリ230で使用したデー
タ構造を示すブロック図である。領域バッファ231
は、ディスプレイ・エリアのどの領域がディスプレイ・
エリアの表現時に修正され得るか示すフラッグを記憶す
るために使われる。この例では、領域バッファはx方向
(水平方向)に1280ピクセル、y方向(垂直方向)
に1024ピクセルを有するディスプレイ・エリアを表
すために使用される。さらに、この例では、ディスプレ
イを領域が幅32ピクセル、高さ32ピクセルで、X方
向に40領域でY方向に32領域で全部で1280領域
となるように分割させる。望ましい実施例では、この領
域バッファは各領域にたいし単一のビットあるいはフラ
ッグを有する。各ビットあるいはフラッグは、対応の領
域が画像表現の際に修正されるか否かを示す。この例で
は、Y方向に32領域があるので、メモリに記憶させた
単一の語をY方向の各領域にたいするフラッグを記憶す
るために使用することができる。さらに、X方向に40
領域があるので、各語が32ビットを有する40語をデ
ィスプレイの全領域にたいする全てのフラッグを記憶す
るために使用することができる。すなわち、これらの語
とそれに含まれるフラッグが迅速にonとされ、特定の
領域が画像の表現の際に修正され得るかを決定するため
に迅速にチェックされる。
FIG. 5 is a block diagram showing the data structure used in the graphics adapter memory 230 in the preferred embodiment of the present invention. Area buffer 231
Indicates which area of the display area is
Used to store flags that indicate what can be modified when rendering an area. In this example, the region buffer is 1280 pixels in the x direction (horizontal direction) and y direction (vertical direction).
Used to represent a display area having 1024 pixels. Further, in this example, the display is divided into regions having a width of 32 pixels and a height of 32 pixels, 40 regions in the X direction and 32 regions in the Y direction for a total of 1280 regions. In the preferred embodiment, the region buffer has a single bit or flag for each region. Each bit or flag indicates whether the corresponding area is modified during image representation. In this example, since there are 32 regions in the Y direction, a single word stored in memory can be used to store a flag for each region in the Y direction. Furthermore, 40 in the X direction
Because of the area, 40 words, each word having 32 bits, can be used to store all flags for the entire area of the display. That is, these words and the flags they contain are quickly turned on and checked quickly to determine if a particular region can be modified in the presentation of the image.

【0024】上記図4に関する説明の領域と同様に、各
領域は幅32ピクセル、高さ32ピクセル(2つのファ
クタ)で各領域にたいして総数1024ピクセルなの
で、1領域のアドレスは単に各バイナリ・ピクセル・ア
ドレスの最小の有効5ビットを除去することによりピク
セル・アドレスから迅速に決定できる。
Similar to the regions described in connection with FIG. 4 above, each region is 32 pixels wide and 32 pixels high (two factors) for a total of 1024 pixels for each region, so the address of one region is simply each binary pixel. It can be quickly determined from the pixel address by removing the least significant 5 bits of the address.

【0025】図5に関して単一の領域バッファを説明し
たが、複数の領域バッファを特にウィンドウ処理環境で
使用することができる。つまり、各ウィンドウ・エリア
に対して分離した領域バッファが使われることになる。
Although a single region buffer has been described with respect to FIG. 5, multiple region buffers can be used, especially in a windowing environment. That is, a separate region buffer is used for each window area.

【0026】以下に示すフローチャートは、領域バッフ
ァがどのように生成され、オブジェクトから表現したグ
ラフィック画像を迅速に処理するためにどのように使わ
れるか説明するものである。
The following flow chart illustrates how a region buffer is created and used to quickly process a graphic image rendered from an object.

【0027】図6は、本発明の望ましい実施例による表
現画像の領域エクステントを記述する領域バッファをど
のように生成するかを示すフローチャートである。この
手順は、画像オブジェクトをスパンあるいはラインにラ
スタした後のように、画像の表現の際に行うのが望まし
いが、画像のオブジェクトの頂点全てが処理有効である
時に実行可能である。
FIG. 6 is a flow chart showing how to create a region buffer describing a region extent of a representation image according to a preferred embodiment of the present invention. This procedure is preferably performed when rendering the image, such as after rasterizing the image object into spans or lines, but can be performed when all the vertices of the image object are valid.

【0028】初めに、ステップ600では、領域バッフ
ァを全てゼロに初期化し、現在どの領域も修正されてい
ないことを示す。
Initially, step 600 initializes the region buffer to all zeros, indicating that no region is currently modified.

【0029】ステップ610では、1オブジェクトの頂
点を処理のために受け取る。ステップ620では、オブ
ジェクトのエクステントを全てのオブジェクト頂点の最
小、最大x、yピクセル・アドレスを見つけることによ
り決定する。オブジェクトのエクステントを使用するこ
とは公知であり、通常、矩形として定義され、それはオ
ブジェクトの頂点の最小、最大x、y値である矩形の角
でそのオブジェクトを取り囲むものである。
At step 610, the vertices of one object are received for processing. In step 620, the extent of the object is determined by finding the minimum, maximum x, y pixel addresses of all object vertices. The use of extents for an object is known and is usually defined as a rectangle, which encloses the object at the corners of the rectangle that are the minimum, maximum x, y values of the object's vertices.

【0030】ステップ630では、オブジェクト・エク
ステントを使用してどの領域がオブジェクトと交わるの
か決定する。すなわち、図4に示すように、ボール42
0とそのエクステントが二つの領域([X,Y]=
[5、6]と[5、7])と交わる。さらに、棒人間4
10の右腕が3つの領域([X,Y]=[2、5]、
[3、4]と[3、5])と交わるが、腕のエクステン
トは4つの領域([X,Y]=[2、4]、[2、
5]、[3、4]と[3、5])と交わる。望ましい実
施例では、効率という見地からオブジェクト・エクステ
ントを使用して交わる領域(この右腕の場合は4領域)
を決定する。別の実施例では、オブジェクトそのものと
交わる領域がどこであるか正確に決定することも可能で
ある(例えば、右腕の場合3領域)。しかし、この正確
に決定する方法は時間がかかり、表現するオブジェクト
が小さいサイズである場合には一般的に望ましくない。
In step 630, the object extent is used to determine which region intersects the object. That is, as shown in FIG.
0 and its extent are two areas ([X, Y] =
[5, 6] and [5, 7]). Furthermore, Stickman 4
The right arm of 10 has three regions ([X, Y] = [2, 5],
[3,4] and [3,5]), but the extent of the arm is four areas ([X, Y] = [2,4], [2,
5], [3, 4] and [3, 5]). In the preferred embodiment, in terms of efficiency, the area of intersection using object extents (4 areas for this right arm)
To decide. In another embodiment, it is possible to determine exactly where the area that intersects the object itself (eg 3 areas for the right arm). However, this method of accurate determination is time consuming and is generally undesirable when the object to be represented is of small size.

【0031】ステップ620、630では、各頂点にた
いする完全なx,yアドレスが必要とされない。本例で
は、アドレスの最小有効5ビットが領域アドレスを生成
するためにドロップされるので、各頂点アドレスの最小
有効5ビットはこのステップの間にどこででもドロップ
する可能性がある。
In steps 620 and 630, the complete x, y address for each vertex is not required. In this example, the least significant 5 bits of the address are dropped to generate the region address, so the least significant 5 bits of each vertex address can be dropped anywhere during this step.

【0032】ステップ640では、現在のオブジェクト
と交わる領域が前に表現されたオブジェクトと交わった
領域と同じであるか否かを決定する。これは、いくつか
の場合に必要とされる演算の数を減らすための簡単なテ
ストである。つまり、現在のオブジェクトが前のオブジ
ェクトと同じ領域なら、両オブジェクトにたいする適切
なフラッグは既にonになっており、現在のオブジェク
トにはこれ以上の処理は必要ないことになる。
In step 640, it is determined whether the area of intersection with the current object is the same as the area of intersection with the previously represented object. This is a simple test to reduce the number of operations needed in some cases. That is, if the current object is in the same region as the previous object, the appropriate flags for both objects are already on and the current object does not need any further processing.

【0033】ステップ640でYESなら、後に説明す
るステップ670に続く。NOならば、ステップ650
に続く。
If YES in step 640, the process continues to step 670, which will be described later. If NO, step 650.
followed by.

【0034】ステップ650では、どの領域が現在のオ
ブジェクトのエクステントに交わっているかを示すバッ
ファ語を生成する。例えば、1オブジェクトのエクステ
ントがアドレス[X,Y]=[15、16]を有する領
域と交わるなら、バッファ語の第16ビットがon(1
にセット)にされ、他の全てのビットはoff(0にセ
ット)となる。次に、ステップ660に移り、生成語は
その領域バッファ内の対応する語でORされる。本例で
は、[X,Y]=[15、16]であると、上記ステッ
プ650で生成された語で領域バッファの第15番目の
語がORされる。最終的に、領域バッファの第15番目
の語の第16ビットが、そのビットが前のオブジェクト
により既にonされているかどうかにかかわらずonさ
れる。さらに、第16番目の語内の他のビットはOR操
作が生成された語で行われるので修正されない。そし
て、ステップ670に移る。
In step 650, a buffer word indicating which area intersects the extent of the current object is generated. For example, if the extent of one object intersects the area having the address [X, Y] = [15,16], the 16th bit of the buffer word is on (1
Set to 0) and all other bits are off (set to 0). Then in step 660, the generated word is OR'ed with the corresponding word in its region buffer. In this example, if [X, Y] = [15,16], the 15th word of the area buffer is ORed with the word generated in step 650. Finally, the 16th bit of the 15th word of the region buffer is turned on regardless of whether that bit was already turned on by the previous object. In addition, the other bits in the 16th word are not modified because the OR operation is done on the word generated. Then, the process proceeds to step 670.

【0035】ステップ670では、どの領域と画像オブ
ジェクトが交わっているか決定するため最後のオブジェ
クトが受け入れられるか否かを決定する。NOなら、ス
テップ610にもどり次のオブジェクトの頂点を受け入
れる。YESなら終了となる。
In step 670, it is determined whether the last object is accepted to determine which area intersects the image object. If NO, return to step 610 to accept the vertex of the next object. If YES, the process ends.

【0036】図7は本発明の望ましい実施例による、生
成されたデータ構造が画像表現後処理でどのように利用
されるかを示すフローチャートである。
FIG. 7 is a flow chart showing how the generated data structure is used in the post image rendering processing according to the preferred embodiment of the present invention.

【0037】ステップ700では、領域バッファ語を読
取る。図5を参照して説明すると、これはあるX値の3
2領域に対する32フラッグを有する水平方向の32ビ
ット語の一つである。次に、ステップ710では、この
語がゼロかどうか決定する。YESなら、この領域バッ
ファ語に対応するディスプレイ領域と交わる画像オブジ
ェクトはなく、後述するステップ770に移る。NOな
ら、対応のディスプレイ領域の少なくとも1つと画像オ
ブジェクトが交わるので、ステップ720に移る。
In step 700, the region buffer word is read. Referring to FIG. 5, this is a certain X value of 3
It is one of the horizontal 32 bit words with 32 flags for two regions. Next, in step 710, it is determined if this word is zero. If YES, there is no image object that intersects the display area corresponding to this area buffer word, and the process proceeds to step 770 described later. If NO, the image object intersects with at least one of the corresponding display areas, and thus the process proceeds to step 720.

【0038】ステップ720では、そのバッファ語の下
位ビットが1であるか否かを決定する。NOであれば、
そのビットあるいはフラッグに対応のディスプレイ領域
が画像オブジェクトのどれによっても修正を受けてない
ので、ステップ750に移る。YESなら、そのビット
あるいはフラッグに対応のディスプレイ領域が画像オブ
ジェクトのいずれかによって修正を受けているので、ス
テップ730に移る。
In step 720, it is determined whether the low order bit of the buffer word is one. If NO,
Since the display area corresponding to that bit or flag has not been modified by any of the image objects, step 750 is entered. If YES, then the display area corresponding to that bit or flag has been modified by any of the image objects, so step 730 is entered.

【0039】ステップ730では、フラッグに対応のデ
ィスプレイ領域のエクステントがピクセル・アドレスの
形で算出される。これは、ディスプレイ領域でピクセル
の迅速な処理を可能にする。ステップ740では、領域
エクステントが使用されてディスプレイ領域の全てのピ
クセルを処理する。上記したように、この処理は鮮明度
調整、カラー比較調整、ズーミング、ウィンドウ移動、
あるいは画像表現処理の際に修正された全てのピクセル
を処理するタイプの操作等が可能である。
In step 730, the extent of the display area corresponding to the flag is calculated in the form of a pixel address. This allows for rapid processing of pixels in the display area. In step 740, the area extent is used to process all pixels in the display area. As mentioned above, this process includes sharpness adjustment, color comparison adjustment, zooming, window movement,
Alternatively, it is possible to perform an operation such as a type of processing all the pixels modified in the image representation processing.

【0040】ステップ740が一旦完了すると、ステッ
プ750に移る。ステップ750では、領域バッファ語
の最終ビットが処理されたか否かを決定する。NOな
ら、ステップ760で領域ディスプレイ語が右に1ビッ
トずらされ、ステップ720に戻される。YESなら、
ステップ770に移り、最終領域ディスプレイ語が処理
されたか否か決定される。NOなら、ステップ700に
戻り、YESならこの領域ディスプレイ・バッファの処
理は修了する。
Once step 740 is complete, the process moves to step 750. At step 750, it is determined whether the last bit of the region buffer word has been processed. If no, then in step 760 the region display word is shifted to the right by one bit and returned to step 720. If yes,
Moving to step 770, it is determined whether the final area display word has been processed. If NO, the process returns to step 700, and if YES, the processing of this area display buffer is completed.

【0041】別の実施例では、オブジェクト全数の一部
のみを一度に取り扱う方法も利用できる。そして、その
オブジェクトの一部は上記したように処理され、別の部
分にたいする上記処理を繰り返す。これは特に、所定時
間で処理可能なオブジェクト数がオブジェクトの総数よ
り少ないときに有用である。また、これは各プロセッサ
が他のプロセッサから独立してオブジェクトの総数の一
部を取り扱うマルチ・プロセッサ・システムにおいて有
効である。
In another embodiment, a method of handling only a part of the total number of objects at a time can be used. Then, a part of the object is processed as described above, and the above process for another part is repeated. This is especially useful when the number of objects that can be processed in a given time is less than the total number of objects. This is also useful in multi-processor systems where each processor handles a portion of the total number of objects independently of the other processors.

【0042】また、別のプロセスでは、ディスプレイ領
域が初めに明らかにサイズ的に大きいが、一度ディスプ
レイ領域が特定のディスプレイ領域と交わる複数のオブ
ジェクトを有すると、そのディスプレイ領域をディスプ
レイ副領域にさらに分割させることができる。
In another process, once the display area is obviously larger in size, but once the display area has multiple objects that intersect a particular display area, the display area is further divided into display sub-areas. Can be made.

【0043】まとめとして、本発明の構成に関して以下
の事項を開示する。
In summary, the following matters will be disclosed regarding the configuration of the present invention.

【0044】(1)複数のグラフィック・オブジェクト
を含む画像の領域エクステントを決定する装置におい
て、ディスプレイ・エリアを複数のディスプレイ領域に
分割する手段と、前記複数のグラフィック・オブジェク
トと交わる可能性のあるディスプレイ領域がどれである
か決定する手段と、前記グラフィック・オブジェクトの
少なくとも1個と交わると決定したディスプレイ領域に
対応するメモリに標識を記憶させる手段とを有すること
を特徴とする画像の領域エクステントを決定する装置。 (2)上記分割する手段は、上記ディスプレイ・エリア
を各々が複数のピクセルを有するディスプレイ領域を有
する複数のディスプレイ領域に分割することを含むこと
を特徴とする(1)に記載の装置。 (3)上記分割する手段は、上記ディスプレイ・エリア
を各ディスプレイ領域の幅および高さが2つのファクタ
であるディスプレイ領域に分割することを含むことを特
徴とする(2)に記載の装置。 (4)上記決定する手段は、各グラフィック・オブジェ
クトのエクステントを算出することと、どのディスプレ
イ領域が算出した各エクステントと交わるか決定するこ
とを含むことを特徴とする(1)に記載の装置。 (5)上記の記憶させる手段は、上記グラフィック・オ
ブジェクトの少なくとも1つと交わると決定した各ディ
スプレイ領域に対応するメモリに標識を記憶させること
を含むことを特徴とする(1)に記載の装置。 (6)メモリに記憶させた対応の標識を有するディスプ
レイ領域に位置したピクセルのみを処理する手段をさら
に含むことを特徴とする(5)に記載の装置。 (7)複数のグラフィック・オブジェクトを含む画像の
領域エクステントを決定する方法において、ディスプレ
イ・エリアを複数のディスプレイ領域に分割するステッ
プと、上記複数のグラフィック・オブジェクトと交わる
可能性のあるディスプレイ領域がどれであるか決定する
ステップと、上記グラフィック・オブジェクトの少なく
とも1個と交わると決定したディスプレイ領域に対応す
るメモリに標識を記憶させるステップとを有することを
特徴とする画像の領域エクステントを決定する方法。 (8)上記分割するステップは、上記ディスプレイ・エ
リアを各々が複数のピクセルを有するディスプレイ領域
を有する複数のディスプレイ領域に分割することを含む
ことを特徴とする(7)に記載の方法。 (9)上記分割するステップは、上記ディスプレイ・エ
リアを各ディスプレイ領域の幅および高さが2つのファ
クタであるディスプレイ領域に分割することを含むこと
を特徴とする(8)に記載の方法。 (10)上記決定するステップは、各グラフィック・オ
ブジェクトのエクステントを算出することと、どのディ
スプレイ領域が算出した各エクステントと交わるか決定
することを含むことを特徴とする(7)に記載の方法。 (11)上記の記憶させるステップは、上記グラフィッ
ク・オブジェクトの少なくとも1つと交わると決定した
各ディスプレイ領域に対応するメモリに標識を記憶させ
ることを含むことを特徴とする(7)に記載の方法。 (12)メモリに記憶させた対応の標識を有するディス
プレイ領域に位置したピクセルのみを処理するステップ
を含むことを特徴とする(11)に記載の方法。 (13)処理すべきデータを記憶するメモリと、メモリ
に記憶したデータを処理するプロセッサと、複数のグラ
フィック・オブジェクトから作られた画像の領域エクス
テントを決定するグラフィックス処理装置とを含み、上
記グラフィックス処理装置は、i)ディスプレイ・エリ
アを複数のディスプレイ領域に分割する手段と、ii)前
記複数のグラフィック・オブジェクトと交わる可能性の
あるディスプレイ領域がどれであるか決定する手段と、
iii)前記グラフィック・オブジェクトの少なくとも1
個と交わると決定したディスプレイ領域に対応するメモ
リに標識を記憶させる手段とを含むことを特徴とするデ
ータ処理システム。
(1) In a device for determining an area extent of an image containing a plurality of graphic objects, a means for dividing a display area into a plurality of display areas, and a display which may intersect with the plurality of graphic objects. Determining an area extent of an image, comprising means for determining which area and means for storing an indicator in a memory corresponding to a display area determined to intersect at least one of said graphic objects. Device to do. (2) The apparatus according to (1), wherein the dividing means includes dividing the display area into a plurality of display areas each having a display area having a plurality of pixels. (3) The apparatus according to (2), wherein the dividing means includes dividing the display area into display areas in which the width and height of each display area are two factors. (4) The apparatus according to (1), wherein the determining means includes calculating an extent of each graphic object and determining which display area intersects each calculated extent. (5) The apparatus according to (1), wherein the storing means includes storing an indicator in a memory corresponding to each display area determined to intersect with at least one of the graphic objects. (6) The device of (5), further comprising means for processing only pixels located in the display area having the corresponding indicia stored in memory. (7) In a method of determining an area extent of an image including a plurality of graphic objects, a step of dividing a display area into a plurality of display areas and a display area that may intersect with the plurality of graphic objects are included. And a step of storing an indicator in a memory corresponding to a display area determined to intersect at least one of the graphic objects. (8) The method according to (7), wherein the dividing step includes dividing the display area into a plurality of display areas each having a display area having a plurality of pixels. (9) The method of (8), wherein the dividing step comprises dividing the display area into display areas in which the width and height of each display area are two factors. (10) The method according to (7), wherein the determining step includes calculating an extent of each graphic object and determining which display area intersects each calculated extent. (11) The method of (7) wherein the storing step comprises storing an indicator in a memory corresponding to each display area determined to intersect with at least one of the graphic objects. (12) The method of (11), including the step of processing only those pixels located in the display area having the corresponding indicia stored in memory. (13) The memory includes a memory for storing data to be processed, a processor for processing the data stored in the memory, and a graphics processing device for determining an area extent of an image made from a plurality of graphic objects. A processing device, i) means for dividing the display area into a plurality of display areas, and ii) means for determining which display area may intersect with the plurality of graphic objects,
iii) at least one of said graphic objects
Means for storing the indicia in a memory corresponding to the display area determined to intersect the individual.

【0045】[0045]

【発明の効果】本発明は多くの長所を有しており、例え
ば、鮮明度および色調調整などのような画像表現後のコ
ンピュータ処理はオブジェクトが表現された領域につい
てのみ行われ、それによって必要とされる表現後の演算
の数を減少させることが可能である。さらに、本発明は
画像の表現の際に簡単でかつ迅速に行える効果的な技術
を提供する。加えて、本発明は上記の多くの最適化技術
を柔軟に取り扱うことが可能である。
The present invention has many advantages, for example, computer processing after image representation, such as sharpness and tone adjustment, is performed only on the area in which the object is represented, thereby making it necessary. It is possible to reduce the number of post-expression operations performed. Furthermore, the present invention provides an effective technique that can be performed simply and quickly when expressing an image. In addition, the present invention is flexible in handling many of the above optimization techniques.

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

【図1】本発明の望ましい実施例に使用された通常のデ
ジタル・コンピュータの構成図である。
FIG. 1 is a block diagram of a conventional digital computer used in a preferred embodiment of the present invention.

【図2】グラフィックス機能を実行するためホスト・コ
ンピュータおよびグラフィックス・アダプタにより通常
使用されるコードの層を説明するブロック図である。
FIG. 2 is a block diagram illustrating layers of code typically used by a host computer and graphics adapter to perform graphics functions.

【図3】ディスプレイ・エリアに表示した画像を作るた
めに表現された一組の線を示す概略図である。
FIG. 3 is a schematic diagram showing a set of lines represented to create an image displayed in a display area.

【図4】複数のディスプレイ領域に分けたディスプレイ
・エリアに表示した画像を作るために表現された一組の
線を示す概略図である。
FIG. 4 is a schematic diagram showing a set of lines represented to create an image displayed in a display area divided into a plurality of display areas.

【図5】本発明の望ましい実施例におけるグラフィック
ス・アダプタ・メモリで使用したデータ構造を示すブロ
ック図である。
FIG. 5 is a block diagram showing a data structure used in a graphics adapter memory according to a preferred embodiment of the present invention.

【図6】本発明の望ましい実施例による表現画像の領域
エクステントを記述するデータ構造をどのように生成す
るかを示すフローチャートである。
FIG. 6 is a flowchart showing how to generate a data structure describing a region extent of a representation image according to a preferred embodiment of the present invention.

【図7】本発明の望ましい実施例による画像表現後処理
で、生成されたデータ構造がどのように利用されるかを
示すフローチャートである。
FIG. 7 is a flow chart showing how the generated data structure is used in the image representation post-processing according to the preferred embodiment of the present invention.

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

100 デジタル・コンピュータ 105 コンピュータ・ボックス 110 主プロセッサ 120 メモリ 125 ハード・ディスク 130 入力装置 140 出力装置 150 グラフィックス出力装置 160 バス 170 入力/出力装置コントローラ 180 入力/出力装置 190 離脱自在の媒体 200 グラフィックス・アダプタ 220 グラフィックス・アダプタ・プロセッサ 230 グラフィックス・アダプタ・メモリ 231 領域バッファ 250 RAMDAC 300 オペレーティング・システム 310 オペレーティング・システム核 320 ホスト・コンピュータ・マイクロコード 330 グラフィックス・アプリケーション 332 グラフィックス・アプリケーション 340 アプリケーション・プログラム・インターフェ
ース 342 アプリケーション・プログラム・インターフェ
ース 350 グラフィックス・アプリケーション・インター
フェース 352 グラフィックス・アプリケーション・インター
フェース 370 グラフィックス・アダプタ装置ドライバ
100 Digital Computer 105 Computer Box 110 Main Processor 120 Memory 125 Hard Disk 130 Input Device 140 Output Device 150 Graphics Output Device 160 Bus 170 Input / Output Device Controller 180 Input / Output Device 190 Removable Medium 200 Graphics Adapter 220 Graphics Adapter Processor 230 Graphics Adapter Memory 231 Area Buffer 250 RAMDAC 300 Operating System 310 Operating System Core 320 Host Computer Microcode 330 Graphics Application 332 Graphics Application 340 Application Program・ Interface 342 Application program interface 350 graphics application interface 352 graphics application interface 370 graphics adapter device driver

───────────────────────────────────────────────────── フロントページの続き (72)発明者 アレン・ピーター・ジャンセン アメリカ合衆国78758 テキサス州、オー スティン、シャディ・スプリングス 11901 ─────────────────────────────────────────────────── ——————————————————————————————————————— Inventor Allen Peter Jansen United States 78758 Shady Springs 11901 Austin Texas

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】複数のグラフィック・オブジェクトを含む
画像の領域エクステントを決定する装置において、 ディスプレイ・エリアを複数のディスプレイ領域に分割
する手段と、 前記複数のグラフィック・オブジェクトと交わる可能性
のあるディスプレイ領域がどれであるか決定する手段
と、 前記グラフィック・オブジェクトの少なくとも1個と交
わると決定したディスプレイ領域に対応するメモリに標
識を記憶させる手段とを有することを特徴とする画像の
領域エクステントを決定する装置。
1. A device for determining an area extent of an image including a plurality of graphic objects, a means for dividing a display area into a plurality of display areas, and a display area which may intersect with the plurality of graphic objects. Determining the area extent of the image, comprising means for determining which is, and means for storing an indicator in a memory corresponding to the display area determined to intersect at least one of said graphic objects. apparatus.
【請求項2】上記分割する手段は、上記ディスプレイ・
エリアを各々が複数のピクセルを有するディスプレイ領
域を有する複数のディスプレイ領域に分割することを含
むことを特徴とする請求項1に記載の装置。
2. The dividing means is the display.
The apparatus of claim 1 including dividing the area into a plurality of display areas each having a display area having a plurality of pixels.
【請求項3】上記分割する手段は、上記ディスプレイ・
エリアを各ディスプレイ領域の幅および高さが2つのフ
ァクタであるディスプレイ領域に分割することを含むこ
とを特徴とする請求項2に記載の装置。
3. The display is divided by the dividing means.
3. The apparatus of claim 2 including dividing the area into display areas where the width and height of each display area is a factor of two.
【請求項4】上記決定する手段は、各グラフィック・オ
ブジェクトのエクステントを算出することと、どのディ
スプレイ領域が算出した各エクステントと交わるか決定
することを含むことを特徴とする請求項1に記載の装
置。
4. The method according to claim 1, wherein the determining means includes calculating an extent of each graphic object and determining which display area intersects each calculated extent. apparatus.
【請求項5】上記の記憶させる手段は、上記グラフィッ
ク・オブジェクトの少なくとも1つと交わると決定した
各ディスプレイ領域に対応するメモリに標識を記憶させ
ることを含むことを特徴とする請求項1に記載の装置。
5. The method of claim 1 wherein the means for storing includes storing an indicator in a memory corresponding to each display area determined to intersect with at least one of the graphic objects. apparatus.
【請求項6】メモリに記憶させた対応の標識を有するデ
ィスプレイ領域に位置したピクセルのみを処理する手段
をさらに含むことを特徴とする請求項5に記載の装置。
6. The apparatus of claim 5, further comprising means for processing only pixels located in a display area having a corresponding indicia stored in memory.
【請求項7】複数のグラフィック・オブジェクトを含む
画像の領域エクステントを決定する方法において、 ディスプレイ・エリアを複数のディスプレイ領域に分割
するステップと、 上記複数のグラフィック・オブジェクトと交わる可能性
のあるディスプレイ領域がどれであるか決定するステッ
プと、 上記グラフィック・オブジェクトの少なくとも1個と交
わると決定したディスプレイ領域に対応するメモリに標
識を記憶させるステップとを有することを特徴とする画
像の領域エクステントを決定する方法。
7. A method of determining an area extent of an image containing a plurality of graphic objects, the method comprising: dividing a display area into a plurality of display areas; and a display area that may intersect with the plurality of graphic objects. Determining an area extent of an image, the method comprising: determining which is an image, and storing an indicator in a memory corresponding to a display area determined to intersect at least one of the graphic objects. Method.
【請求項8】上記分割するステップは、上記ディスプレ
イ・エリアを各々が複数のピクセルを有するディスプレ
イ領域を有する複数のディスプレイ領域に分割すること
を含むことを特徴とする請求項7に記載の方法。
8. The method of claim 7, wherein the dividing step comprises dividing the display area into a plurality of display areas each having a display area having a plurality of pixels.
【請求項9】上記分割するステップは、上記ディスプレ
イ・エリアを各ディスプレイ領域の幅および高さが2つ
のファクタであるディスプレイ領域に分割することを含
むことを特徴とする請求項8に記載の方法。
9. The method of claim 8, wherein the dividing step comprises dividing the display area into display areas where the width and height of each display area is a factor of two. .
【請求項10】上記決定するステップは、各グラフィッ
ク・オブジェクトのエクステントを算出することと、ど
のディスプレイ領域が算出した各エクステントと交わる
か決定することを含むことを特徴とする請求項7に記載
の方法。
10. The method according to claim 7, wherein the determining step includes calculating an extent of each graphic object and determining which display area intersects each calculated extent. Method.
【請求項11】上記の記憶させるステップは、上記グラ
フィック・オブジェクトの少なくとも1つと交わると決
定した各ディスプレイ領域に対応するメモリに標識を記
憶させることを含むことを特徴とする請求項7に記載の
方法。
11. The method of claim 7, wherein the storing step includes storing an indicator in a memory corresponding to each display area determined to intersect with at least one of the graphic objects. Method.
【請求項12】メモリに記憶させた対応の標識を有する
ディスプレイ領域に位置したピクセルのみを処理するス
テップを含むことを特徴とする請求項11に記載の方
法。
12. The method of claim 11 including the step of processing only those pixels located in the display area having the corresponding indicia stored in memory.
【請求項13】処理すべきデータを記憶するメモリと、 メモリに記憶したデータを処理するプロセッサと、 複数のグラフィック・オブジェクトから作られた画像の
領域エクステントを決定するグラフィックス処理装置と
を含み、 上記グラフィックス処理装置は、 i)ディスプレイ・エリアを複数のディスプレイ領域に
分割する手段と、 ii)前記複数のグラフィック・オブジェクトと交わる可
能性のあるディスプレイ領域がどれであるか決定する手
段と、 iii)前記グラフィック・オブジェクトの少なくとも1
個と交わると決定したディスプレイ領域に対応するメモ
リに標識を記憶させる手段とを含むことを特徴とするデ
ータ処理システム。
13. A memory for storing data to be processed, a processor for processing the data stored in the memory, and a graphics processing device for determining an area extent of an image created from a plurality of graphic objects, The graphics processing device comprises: i) means for dividing a display area into a plurality of display areas; ii) means for determining which display areas may intersect with the plurality of graphic objects; iii. ) At least one of said graphic objects
Means for storing the indicia in a memory corresponding to the display area determined to intersect the individual.
JP13533295A 1994-08-12 1995-06-01 Method and equipment for decision of region extent of picture Pending JPH0869539A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US28996194A 1994-08-12 1994-08-12
US289961 1994-08-12

Publications (1)

Publication Number Publication Date
JPH0869539A true JPH0869539A (en) 1996-03-12

Family

ID=23113941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13533295A Pending JPH0869539A (en) 1994-08-12 1995-06-01 Method and equipment for decision of region extent of picture

Country Status (1)

Country Link
JP (1) JPH0869539A (en)

Similar Documents

Publication Publication Date Title
JP3030206B2 (en) Method and apparatus for clipping a graphic polygon to a clipping area
US5734806A (en) Method and apparatus for determining graphical object visibility
KR100547258B1 (en) Method and apparatus for the anti-aliasing supersampling
US8659589B2 (en) Leveraging graphics processors to optimize rendering 2-D objects
JP4564718B2 (en) 3-D computer graphics rendering system
US6961065B2 (en) Image processor, components thereof, and rendering method
JP4076502B2 (en) Efficient graphics state management for zone rendering
US6288722B1 (en) Frame buffer reconfiguration during graphics processing based upon image attributes
US6734867B1 (en) Cache invalidation method and apparatus for a graphics processing system
US6411294B1 (en) Image display apparatus and image display method
US4855938A (en) Hidden line removal method with modified depth buffer
JP2001357410A (en) Graphic system for composing three-dimensional images generated separately
JP4704348B2 (en) Image generating apparatus and image generating method
US6894695B2 (en) Apparatus and method for acceleration of 2D vector graphics using 3D graphics hardware
US6323875B1 (en) Method for rendering display blocks on display device
KR0150832B1 (en) Method and apparatus for interlocking graphical objects
US5844571A (en) Z buffer bandwidth reductions via split transactions
US5295234A (en) Apparatus for displaying a three dimensional object which appears substantially the same in different display directions by modifying stored image data by a scale factor
JP3029878B2 (en) Apparatus and method for processing a plurality of polygons representing an image
US6097395A (en) Dynamic selection of lighting coordinates in a computer graphics system
US6850244B2 (en) Apparatus and method for gradient mapping in a graphics processing system
US6784892B1 (en) Fully associative texture cache having content addressable memory and method for use thereof
JPH10162161A (en) Efficient rendering that uses user-defined room and window
JP3104643B2 (en) Image processing apparatus and image processing method
JPH0869539A (en) Method and equipment for decision of region extent of picture