CN1049992C - Position conversion device and method for image synthesis device - Google Patents
Position conversion device and method for image synthesis device Download PDFInfo
- Publication number
- CN1049992C CN1049992C CN94115282A CN94115282A CN1049992C CN 1049992 C CN1049992 C CN 1049992C CN 94115282 A CN94115282 A CN 94115282A CN 94115282 A CN94115282 A CN 94115282A CN 1049992 C CN1049992 C CN 1049992C
- Authority
- CN
- China
- Prior art keywords
- order
- coordinate
- aforementioned
- screen
- conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention relates to a position converting device used in an image synthesizing device, which is used for converting screen coordinates into figure coordinates. The position converting device comprises a memory, a memory reading device and a coordinate processing equipment device, wherein the memory is used for storing the data of conversion coordinates, and the memory reading device reads the data of conversion coordinates in the memory through loading a memory address into the memory. A method of the present invention comprises the steps that (I) the screen coordinates of each figure point are converted into the memory address; (II) conversion coordinate values are read from the memory according to the memory address; (III) the conversion coordinate values are processed according to an internally built program, and the horizontal position and the vertical position of figure coordinates are output.
Description
The present invention relates to a kind of position conversion device that is used for image synthesizer.
In present electronic game machine, as the game machine of Nintendo (FamiCOM) of Japan, SEGA game machine (Mega Drive), NEC game machine (PC-Engine), newer SFC game machine (SuperFamiCOM), even large-scale game host, the hardware configuration of its image forming appts is not supported the function that produces such as special frame effects such as crystal balls.Therefore, in the design of recreation, its transformable picture effect is just less, or needs more procedure code, or more graph data just can reach this kind function, perhaps even can't reach the requirement of the required instant playback of electronic game machine.
In view of this, in order to promote the function of image synthesizer, purpose of the present invention promptly is to provide a kind of position conversion device and method that is used for image synthesizer, it can immediately convert a screen position to graph position, use the access graph graphic data, and it is possessed in display frame, reach such as the required any mapping of crystal ball effect (Random Mapping) function.
The present invention utilizes a mapping table (Mapping Table) that screen coordinate is converted to figure coordinate, uses the function that reaches any conversion.
A kind of position conversion device that is used for image synthesizer provided by the invention can be in order to be converted to figure coordinate with a screen coordinate, and it comprises:
One storer is in order to store conversion coordinate data; One storage reading apparatus is connected with aforementioned memory with a data bus via an address and control bus, and utilizes a storage address is sent in the described storer, to read the conversion coordinate data in the storer; One coordinate treating apparatus, after calculation process, the output pattern coordinate is to read graph data in order to the conversion coordinate data that will read; It is characterized in that: described storage reading apparatus comprises: an address producing device, the address of the converted coordinate of desiring to read in order to generation, to read conversion coordinate data, described address producing device comprises: a screen level position generation device, in order to produce the screen level position that a screen scanning line is corresponded to, position, the vertical position of one screen generation device, in order to produce the screen upright position that aforementioned screen scanning line is corresponded to, one horizontal shift apparatus for temporary storage, in order to control the horizontal shift that aforementioned conversion coordinate data moves on screen, one perpendicular displacement apparatus for temporary storage, in order to control the perpendicular displacement that aforementioned conversion coordinate data moves on screen, one first adder, in order to the horizontal shift addition of screen level position that aforementioned screen level position generation device is produced and the output of aforementioned levels displacement apparatus for temporary storage and be output as a primary importance, one second adder, in order to the perpendicular displacement addition of screen upright position that aforementioned screen upright position generation device is produced and the output of aforementioned perpendicular displacement apparatus for temporary storage and be output as a second place, one substrate location working storage, it is the reference position of aforementioned conversion coordinate data in the storage space of aforementioned memory, one address synthesizer is in order to synthesize the reference position in the working storage of aforementioned substrates position and the address of the converted coordinate that generation is desired to read with the aforementioned primary importance and the aforementioned second place respectively; Described reading device also comprises a data apparatus for temporary storage, in order to store the conversion coordinate data that reads according to the address of aforementioned addresses generation device generation from described storer.Described coordinate treating apparatus comprises: a graphic level displacement apparatus for temporary storage, in order to a horizontal shift of control figure; One the 3rd adder in order to the horizontal shift of graphic level position after the conversion that receives the output of aforementioned data apparatus for temporary storage and the output of former figures horizontal shift apparatus for temporary storage, and is output as the horizontal level of a figure coordinate after addition; One figure perpendicular displacement apparatus for temporary storage is in order to a perpendicular displacement of control figure; One the 4th adder in order to the perpendicular displacement of figure upright position after the conversion that receives the output of described data apparatus for temporary storage and the output of described figure perpendicular displacement apparatus for temporary storage, and is output as the upright position of a figure coordinate after addition.
It is as follows to be described with reference to the accompanying drawings preferred embodiment of the present invention:
Brief description of drawings:
Fig. 1 is the synoptic diagram of coordinate conversion table and screen space relation among the present invention;
Fig. 2 is the block scheme of position conversion device structure of the present invention;
Fig. 3 is the block scheme of address producing device structure of the present invention;
Fig. 4 is the block scheme of coordinate treating apparatus structure of the present invention;
Fig. 5 a and Fig. 5 b are the synoptic diagram of explanation figure output of the present invention example.
See also Fig. 1, a coordinate conversion table 15 is positioned on the screen space 10, and its position can be by a horizontal shift and perpendicular displacement decision.On coordinate conversion table 15, each translation data comprises the figure coordinate of a conversion.
See also Fig. 2, the position conversion device that is used for image synthesizer of the present invention, be to utilize a mapping table to deposit conversion coordinate data, in order to a screen coordinate is converted into figure coordinate, this position conversion device comprises: a storer 100, in order to storing conversion coordinate data, its form of depositing can be as shown in Figure 1 a two-dimensional transformations table, and the size of conversion table is then decided according to the size of form; One storage reading apparatus 20, it is connected with aforementioned memory 100 with a data bus 25 via an address and control bus 24, and utilizes a storage address is sent in the aforementioned memory 100, to read the conversion coordinate data in the storer 100; One coordinate treating apparatus 30 after the calculation process (being illustrated again after a while) of different mode, is exported a figure coordinate in order to the conversion coordinate data that will read; One figure reading device 40 in order to receiving the figure coordinate of aforementioned coordinate treating apparatus 30 outputs, and reads graph data in view of the above from a graphic memory (not being shown in the figure); One overflow pick-up unit 50, in order to detect the scope whether the aforementioned memory address is positioned at the conversion table of aforementioned memory 100 storages, use when aforementioned address is not positioned at the scope of aforementioned conversion table, control former figures reading device 40 does not use the figure coordinate of aforementioned coordinate treating apparatus 30 outputs.
Aforesaid storage reading apparatus 20 comprises: an address producing device 21, and the address of the converted coordinate of desiring to read in order to generation, and be sent in the storer 100 via address and control bus 24, to read conversion coordinate data; One data apparatus for temporary storage 22, in order to storing the address that produces according to aforementioned addresses generation device 21, and the conversion coordinate data that from aforementioned memory 100, reads via aforementioned data bus 25.
See also Fig. 3, the aforementioned addresses generation device comprises: a screen level position generation device 211, in order to produce the screen level position that a screen scanning line is corresponded to; One screen upright position generation device 213 is in order to produce the screen upright position that aforementioned screen scanning line is corresponded to; One horizontal shift apparatus for temporary storage 212, the horizontal shift of on screen, moving in order to the conversion tables in the control store 100; One perpendicular displacement apparatus for temporary storage 214 is in order to control the perpendicular displacement that aforementioned conversion table moves on screen; One substrate location working storage 215, it is the reference position of aforementioned conversion table in the storage space of aforementioned memory 100; One first adder 216 is in order to the horizontal shift addition of screen level position that aforementioned screen level position generation device 211 is produced and 212 outputs of aforementioned levels displacement apparatus for temporary storage and be output as a primary importance; One second adder 217 is in order to the perpendicular displacement addition of screen upright position that aforementioned screen upright position generation device 213 is produced and 214 outputs of aforementioned perpendicular displacement apparatus for temporary storage and be output as a second place; One first working storage 218, in order to be written into and to store a horizontal minute surface control signal XMIR, the action of using aforementioned first adder 216 of control is the screen level position that the horizontal shift of aforementioned levels displacement apparatus for temporary storage 212 outputs is added or deducts 211 generations of aforementioned screen level position generation device; One second working storage 219, in order to be written into and to store a vertical minute surface control signal YMIR, the action of using aforementioned second adder 217 of control is the screen upright position that the perpendicular displacement of aforementioned perpendicular displacement apparatus for temporary storage 214 outputs is added or deducts 213 generations of aforementioned screen upright position generation device; One address synthesizer 210 is in order to synthesize the substrate location in the aforementioned substrates position working storage 215 and the address of the converted coordinate that generation is desired to read with the aforementioned primary importance and the aforementioned second place respectively.Aforementioned screen level position generation device 211 and screen upright position generation device 213 can be counter.The content of aforementioned each apparatus for temporary storage can be write direct by a central processing unit (not shown), or reads from a storer (not shown).In addition, aforementioned addresses synthesizer 210 can be subjected to a selection signal SEL control and with different patterns, as addition or serial connection (cascade), synthesize a storage address.
Next see also Fig. 4, aforementioned coordinate treating apparatus comprises: a graphic level displacement apparatus for temporary storage 302, in order to be written into and to store a horizontal shift of figure; One the 3rd adder 304 in order to the horizontal shift of graphic level position MX after the conversion that receives 22 outputs of aforementioned data apparatus for temporary storage and 302 outputs of former figures horizontal shift apparatus for temporary storage, and is output as the horizontal level X of a figure coordinate after addition; One figure perpendicular displacement apparatus for temporary storage 306 is in order to be written into and to store a perpendicular displacement of figure; One the 4th adder 308 is in order to the perpendicular displacement of figure upright position MY after the conversion that receives 22 outputs of aforementioned data apparatus for temporary storage and 308 outputs of former figures perpendicular displacement apparatus for temporary storage and be output as the upright position Y of a figure coordinate after addition.Wherein, former figures horizontal shift apparatus for temporary storage 302 and figure, the content of perpendicular displacement apparatus for temporary storage 306 can be write direct or read in storer by CPU (central processing unit), therefore can be according to the different display effect demand control former figures horizontal shifts and the size of perpendicular displacement.
According to aforesaid device, the position conversion method that is used for image synthesizer of the present invention comprises the following steps: that (1) to each figure point, converts its screen coordinate to a storage address; (2) according to the aforementioned memory address, by reading conversion coordinate value in the storer; (3) according to a built-in program, aforementioned conversion coordinate value is handled, and the horizontal level and the upright position of exporting a figure coordinate; (4) according to the former figures coordinate, from a graphic memory (not shown), read graphic documentation, this graphic documentation is exported and is shown on the screen.Wherein, the mode that aforementioned conversion coordinate value is handled has and it is added or does not add top offset that in addition, the size of displacement is a may command also, uses to produce required figure coordinate.
Utilize the resulting display result of device and method of the present invention shown in Fig. 5 a and Fig. 5 b, wherein, Fig. 5 a shows original image, and Fig. 5 b shows then that via position conversion device processed images of the present invention arrow A has been pointed out the display position of tool crystal ball effect.
Though the present invention discloses as above with preferred embodiment, so it is not in order to qualification the present invention, so the scope that protection scope of the present invention is worked as by accompanying Claim is limited.
Claims (6)
1. position conversion device that is used for image synthesizer can be in order to be converted to figure coordinate with a screen coordinate, and this position conversion device comprises:
One storer is in order to store conversion coordinate data;
One storage reading apparatus is connected with aforementioned memory with a data bus via an address and control bus, and utilizes a storage address is sent in the described storer, to read the conversion coordinate data in the storer;
One coordinate treating apparatus, after calculation process, the output pattern coordinate is to read graph data in order to the conversion coordinate data that will read; It is characterized in that:
Described storage reading apparatus comprises: an address producing device, the address of the converted coordinate of desiring to read in order to generation, to read conversion coordinate data, described address producing device comprises: a screen level position generation device, in order to produce the screen level position that a screen scanning line is corresponded to, one screen upright position generation device, in order to produce the screen upright position that aforementioned screen scanning line is corresponded to, one horizontal shift apparatus for temporary storage, in order to control the horizontal shift that aforementioned conversion coordinate data moves on screen, one perpendicular displacement apparatus for temporary storage, in order to control the perpendicular displacement that aforementioned conversion coordinate data moves on screen, one first adder, in order to the horizontal shift addition of screen level position that aforementioned screen level position generation device is produced and the output of aforementioned levels displacement apparatus for temporary storage and be output as a primary importance, one second adder, in order to the perpendicular displacement addition of screen upright position that aforementioned screen upright position generation device is produced and the output of aforementioned perpendicular displacement apparatus for temporary storage and be output as a second place, one substrate location working storage, it is the reference position of aforementioned conversion coordinate data in the storage space of aforementioned memory, one address synthesizer is in order to synthesize the reference position in the working storage of aforementioned substrates position and the address of the converted coordinate that generation is desired to read with the aforementioned primary importance and the aforementioned second place respectively; Described reading device also comprises a data apparatus for temporary storage, in order to store the conversion coordinate data that reads according to the address of aforementioned addresses generation device generation from described storer;
Described coordinate treating apparatus comprises: a graphic level displacement apparatus for temporary storage, in order to a horizontal shift of control figure; One the 3rd adder in order to the horizontal shift of graphic level position after the conversion that receives the output of aforementioned data apparatus for temporary storage and the output of former figures horizontal shift apparatus for temporary storage, and is output as the horizontal level of a figure coordinate after addition; One figure perpendicular displacement apparatus for temporary storage is in order to a perpendicular displacement of control figure; One the 4th adder in order to the perpendicular displacement of figure upright position after the conversion that receives the output of described data apparatus for temporary storage and the output of described figure perpendicular displacement apparatus for temporary storage, and is output as the upright position of a figure coordinate after addition.
2. device as claimed in claim 1 is characterized in that, more comprises a figure reading device, in order to receiving the figure coordinate of described coordinate treating apparatus output, and reads graph data according to this from a graphic memory.
3. device as claimed in claim 2, it is characterized in that, more comprise an overflow pick-up unit, whether be positioned at the converted coordinate scope of described memory storage in order to the address of detecting described address producing device generation, use when not being positioned at described converted coordinate scope in described address, control the figure coordinate that described figure reading device does not use described coordinate treating apparatus output.
4. device as claimed in claim 1 is characterized in that the form of described memory storage conversion coordinate data can be the conversion table of a two dimension.
5. device as claimed in claim 1, it is characterized in that, more comprise one first working storage, in order to be written into and to store a horizontal minute surface control signal, the action of using described first adder of control is the screen level position that the horizontal shift of described horizontal shift apparatus for temporary storage output is added or deducts the generation device generation of described screen level position.
6. device as claimed in claim 5, it is characterized in that, more comprise one second working storage, in order to be written into and to store a vertical minute surface control signal, the action of using described second adder of control is the screen upright position that the perpendicular displacement of described perpendicular displacement apparatus for temporary storage output is added or deducts the generation device generation of described screen upright position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN94115282A CN1049992C (en) | 1994-09-16 | 1994-09-16 | Position conversion device and method for image synthesis device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN94115282A CN1049992C (en) | 1994-09-16 | 1994-09-16 | Position conversion device and method for image synthesis device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1120208A CN1120208A (en) | 1996-04-10 |
CN1049992C true CN1049992C (en) | 2000-03-01 |
Family
ID=5037453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN94115282A Expired - Lifetime CN1049992C (en) | 1994-09-16 | 1994-09-16 | Position conversion device and method for image synthesis device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1049992C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106540810B (en) * | 2016-10-28 | 2018-06-22 | 杭州红山热电有限公司 | A kind of boiler dusting circulating treating system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0399633A1 (en) * | 1989-05-26 | 1990-11-28 | Schering Aktiengesellschaft | Leukotriene B4 derivatives, process for their preparation and their use as medicines |
US5117484A (en) * | 1985-03-18 | 1992-05-26 | Sony Corporation | Terminal apparatus for videotex system |
US5289426A (en) * | 1990-06-11 | 1994-02-22 | Kabushiki Kaisha Toshiba | Dual port memory having address conversion function |
-
1994
- 1994-09-16 CN CN94115282A patent/CN1049992C/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5117484A (en) * | 1985-03-18 | 1992-05-26 | Sony Corporation | Terminal apparatus for videotex system |
EP0399633A1 (en) * | 1989-05-26 | 1990-11-28 | Schering Aktiengesellschaft | Leukotriene B4 derivatives, process for their preparation and their use as medicines |
US5289426A (en) * | 1990-06-11 | 1994-02-22 | Kabushiki Kaisha Toshiba | Dual port memory having address conversion function |
Also Published As
Publication number | Publication date |
---|---|
CN1120208A (en) | 1996-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5537224A (en) | Texture mapping image processing method and apparatus | |
CN1950878B (en) | GPU rendering to system memory | |
KR0169541B1 (en) | Image processing device and method therefor and electronic device having image processing device | |
EP0820037B1 (en) | Apparatus and method for drawing | |
CN1008486B (en) | Image processing system | |
GB2263837A (en) | Mapping a 2-d image onto a 3-d surface such as a polyhedron. | |
JPS60239796A (en) | Circuit and apparatus for altering data in display memory | |
JP2005531833A (en) | Method and apparatus for encoding texture information | |
US6133923A (en) | Method and apparatus for texture data | |
JP3349787B2 (en) | Drawing data creation device and drawing data creation method | |
US6339430B1 (en) | Video game machine and method for changing texture of models | |
CN1049992C (en) | Position conversion device and method for image synthesis device | |
MY113049A (en) | Image generation apparatus | |
CN1010351B (en) | Video display control circuit arrang ment | |
CN1081369C (en) | Two-dimensional rotary method of image synthetic device two-demensional conversion device | |
CN1121653C (en) | Two-dimensional converting device and method of picture composing equipment | |
CN1084506C (en) | Switchable memory address producing method and device | |
JPS59224892A (en) | Rotation/movement control system for image data | |
CN1130649C (en) | Two dimensional conversion device and method for image recombination device | |
JPS5595145A (en) | Rotating method for pattern | |
JPS58136093A (en) | Display controller | |
CN1067785C (en) | Approximately linear image reducing method and device | |
JPH06301374A (en) | Image forming device | |
CN1120207A (en) | Image synthesis device and method | |
JPS5969866A (en) | High speed processor of two-dimensional picture data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CX01 | Expiry of patent term |
Expiration termination date: 20140916 Granted publication date: 20000301 |