CN1530825A - Image displaying method - Google Patents

Image displaying method Download PDF

Info

Publication number
CN1530825A
CN1530825A CNA03119589XA CN03119589A CN1530825A CN 1530825 A CN1530825 A CN 1530825A CN A03119589X A CNA03119589X A CN A03119589XA CN 03119589 A CN03119589 A CN 03119589A CN 1530825 A CN1530825 A CN 1530825A
Authority
CN
China
Prior art keywords
object images
value
brightness
display
displaying image
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
CNA03119589XA
Other languages
Chinese (zh)
Other versions
CN1265283C (en
Inventor
镝 赵
赵镝
林光信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN 03119589 priority Critical patent/CN1265283C/en
Publication of CN1530825A publication Critical patent/CN1530825A/en
Application granted granted Critical
Publication of CN1265283C publication Critical patent/CN1265283C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The method can raise night scene display result for game system which has image databank to store multiple object image colour value and brightness ratio value for it so that the game system can find out right colour and brigtness value for the night scene from the databank. The game system stores object image colour value which has brightness ratio value as one into display buffer region and specially processed colour value which is obtained by multiple assigned image colour value with its brightness ratio value for desired object image into display buffer region too in order to let the game system display colour value according to those stored in the display buffer region when night scene is to be displayed for the game.

Description

A kind of method for displaying image
Technical field
The invention relates to a kind of method for displaying image, particularly about a kind of in order to provide games system to handle the method for displaying image of the demonstration special efficacy of night scene picture.
Background technology
Along with network is flourish, panoramic website is as the appearance as emerging rapidly in large numbersBamboo shoots after a spring rain, and in numerous websites, the abstract the recreational consumption website is to allow the online friend linger on round place.This abstract the recreational consumption website is the aspect of appliance computer recreation, and by the multi-person interactive character of uniqueness, has changed the essence of recreation, has increased unpredictable variation greatly, builds enchanting charm.
With the migration games system in the present 2D RPG (Role-playing game) (RPG) is example, for making the player obtain impression more really in recreation, along with the difference of playtime, scene of game has the variation at dusk, dusk in morning, just like actual life is general, make the player enjoy oneself so much as to forget to go home.
All need to add the night scene treatment effect in the recreation plot of this RPG (Role-playing game) (RPG), just, the processing at night, generally be that the whole scene behind the refreshed image object is shown in the special efficacy mode that changes brightness, thereby realize the effect of whole image deepening or blackening, this processing mode can make all picture deepening or blackening, yet but can not reach some demand of true night scene, for example requirements such as street lamp brightens after the darkness, and some object images also can't produce needed demonstration special efficacy at night on the display process.
Therefore, how making the object images of games system handle the needed demonstration special efficacy of generation in the picture at night scene, is the problem that needs solution at present.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of method for displaying image, makes the object images of games system handle the needed demonstration special efficacy of generation in the picture at night scene.
Another object of the present invention is to provide a kind of method for displaying image, must not duplicate another object images and need not change under the situation of former object images color value, different object images are shown with different brightness.
According to above-mentioned purpose, the invention provides a kind of method for displaying image.Method for displaying image of the present invention, display effect in order to the night scene picture of promoting games system, this games system has image data base, in order to the color value that stores a plurality of object images and the brightness ratio value of this object images, this method for displaying image comprises following program at least: (1) makes this display system specify the object images that will show; (2) make the object images of this display system, find out the color value and the brightness ratio value thereof of this object images certainly in this image data base, and judge whether the brightness ratio value of this object images is 1, if then proceed to this step (3) according to this appointment; Otherwise, then proceed to step (4); (3) make that this display system is the color value of 1 object images with this brightness ratio value, be stored in the display buffer, and proceed to step (5); (4) make this display system that the color value and the brightness ratio value of the object images of this appointment are multiplied each other, obtaining the new color value of this appointed object image, and the new color value that will obtain is stored in this display buffer; And (5) make this display system judge whether need to show this appointed object image, if then show according to object images color value stored in this display buffer; Otherwise, then proceed this step (5).
Method for displaying image of the present invention is that the different object images in the scene of game are set different brightness values, allow different object images show with the special efficacy of different brightness simultaneously whereby, can carry out the brightness adjustment to the object images in the scene according to the needs of Games Software.Therefore, method for displaying image of the present invention does not need to duplicate another object images, and need not change the original color value of this object images, can make Games Software different object images be carried out the adjustment of different brightness.
Description of drawings
Fig. 1 is a block schematic diagram, the basic framework block schematic diagram that display application method for displaying image of the present invention is required;
Fig. 2 is a contrast synoptic diagram, and the display object image special effect is handled the contrast relationship of its normal color of back and its output color; And
Fig. 3 is a flow process synoptic diagram, shows each steps flow chart of the required execution of method for displaying image of the present invention.
Embodiment
Embodiment
Following conjunction with figs. describes the embodiment of method for displaying image of the present invention in detail.
See also Fig. 1, it has shown the basic framework block schematic diagram of using method for displaying image of the present invention.As shown in the figure, method for displaying image of the present invention is to be applied in the Games Softwares such as online game (On linegame) or electronic game, in order to the object images of promoting this Games Software display effect in the night scene, this Games Software comprises object image data storehouse 1, perspective process module 10, prospect storage area 11, screen post-processing module 12, screen storage area 13, back and display process module 14 at least.
This object image data storehouse 1 is in order to the color value that stores a plurality of object images and the range of luminance values of this object images, brightness value is meant 0 to 255 color value, so according to the needed display brightness of the object images of Games Software, can set the range of luminance values of this object images, and then obtain the brightness ratio value, this brightness ratio value=brightness value/maximum color value (maximum color value=255), so the brightness value of object images is 0, then its display effect is complete black, if the brightness value of image object is 255, then its display effect is the normal color of this object images.
This perspective process module 10 is the scene of game that provide according to this Games Software, takes out the color value of required object images certainly in this object image data storehouse 1, and the object images color value that this is obtained is stored in this prospect storage area 11.
This shields post-processing module 12, when this perspective process module 10 is stored in this prospect storage area 11 with required object images color value, this screen post-processing module 12 will the object images according to this scene of game obtain its brightness value in this object image data storehouse 1, to judge whether this object images has the demonstration special efficacy, wherein, if this object images brightness value is 255, the display mode of then representing this object images does not have special efficacy, just, the shown color of this object images is normal value (i.e. a Yu She color value); When the object images that obtains when this screen post-processing module 12 had special efficacy and shows, then the brightness value with this object images was stored in the storage area 13, screen back.
This display process module 14, be that Games Software is will show a certain scene picture the time, obtain from this prospect storage area 11 this scene picture object images color value and certainly storage area 13, this screen back obtain the pairing brightness value of this object images, and this display process module 14 with the brightness value obtained divided by maximum brightness value (255), to calculate the brightness ratio value of this object images, then, this object images color value be multiply by the brightness ratio value, and the result after will taking advantage of reverts to color value, so, this display process module 14 can be sent to the color value of the object images of scene of game on the display device (not icon).
For example, if Games Software is will show the night scene picture time, the object images of this night scene picture comprises background, buildings, street lamp, personage and the moon etc., and should the demonstration demand to be that background is wanted dark, buildings and the personage is dark slightly, the brightness of street lamp and the moon is constant.Therefore according to above-mentioned demonstration demand, then the background object brightness value is made as 128, buildings and personage's brightness value be made as 192, the street lamp and the moon then must not carry out brightness special effect processing (so its brightness value is made as 255), and then can calculate the brightness ratio value of each object images, make the color value of each object images that this display process module 14 will obtain be multiplied by the brightness ratio value that calculates, can show the night scene picture that this Games Software is required.
Fig. 2 is that the display object image special effect is handled its normal color of back and its output color contrast relationship figure.As shown in the figure, the output when left Figure 20 indicated object image normally shows is handled, and its brightness value is made as 255, so the brightness ratio value is 1; And the output of right Figure 21 indicated object image after special effect processing is handled, and is the demonstration output after the reduction brightness, and its brightness value is made as 128, so the brightness ratio value is 128/255.Therefore, after treatment, the display effect of this object images is with deepening.When the brightness value of object images is 0, then its output effect is complete black.
Fig. 3 shows the step of the required execution of method for displaying image of the present invention.As shown in the figure, when Games Software will show a night scene picture, at first carry out step S1, show required object images according to this night scene picture, then proceed to step S2 by Games Software.
In step S2, make this Games Software in this image data base 1, find out the color value and the brightness value thereof of this object images according to the object images of this appointment, whether the brightness value of judging this object images is maximum brightness value 255, if equal maximum brightness value 255, i.e. expression need not carried out special effect processing, then proceeds to step S5; Otherwise, if less than maximum brightness value 255, represent that promptly this object images need carry out special effect processing, then proceed to step S3.
In step S3, make the brightness value of object images that this Games Software carries out need special effect processing divided by maximum brightness value, to obtain its brightness ratio value, then proceed to step S4.
In step S4, make this Games Software that the color value of the object images of this appointment is multiplied each other with the brightness ratio value that obtains, obtaining the color value after this appointed object image special effect is handled, and the color value after this special effect processing is stored in this display buffer, then proceeds to step S6.
In step S5, be that the color value of 1 object images is stored in this display buffer by this Games Software with this brightness ratio value, and to step S6.
In step S6, make this Games Software judge whether the object images of this night scene picture needs to be shown, if then proceed to step S7; Otherwise, then proceed this step S6.
In step S7, make this Games Software show according to object images color value stored in this display buffer.
In summary, method for displaying image of the present invention is that the different object images in the scene of game are set different brightness values, allow different object images show with the special efficacy of different brightness simultaneously whereby, can carry out the brightness adjustment to the object images in the scene according to the needs of Games Software.Therefore, method for displaying image of the present invention will not need to duplicate another object images, and need not change the original color value of this object images, can make Games Software different object images be carried out the adjustment of different brightness.

Claims (8)

1. method for displaying image, in order to promote the display effect of display system to the scene picture, it is characterized in that this display packing has the color value that can store a plurality of object images and the image data base of this object images brightness ratio value, this method for displaying image comprises following program at least:
(1) make this display system specify the object images that will show;
(2) make the object images of this display system, find out the color value and the brightness ratio value thereof of this object images certainly in this image data base, and judge whether the brightness ratio value of this object images is 1, if then proceed to this step (3) according to this appointment; Otherwise, then proceed to step (4);
(3) make that this display system is the color value of 1 object images with this brightness ratio value, be stored in the display buffer, and proceed to step (5);
(4) make this display system that the color value and the brightness ratio value of the object images of this appointment are multiplied each other, obtaining the new color value of this appointed object image, and the new color value that will obtain is stored in this display buffer; And
(5) make this display system judge whether to need to show this appointed object image, if then show according to the object images color value that stores in this display buffer; Otherwise, then proceed this step (5).
2. method for displaying image as claimed in claim 1 is characterized in that, this brightness ratio value is that 1 object images is meant light source.
3. method for displaying image as claimed in claim 2 is characterized in that, this light source is meant any in the moon, star, light fixture and the big sun.
4. method for displaying image as claimed in claim 3 is characterized in that this light fixture is meant any in street lamp, car light and the electric light.
5. method for displaying image as claimed in claim 1 is characterized in that, this brightness ratio value is brightness value/255.
6. method for displaying image as claimed in claim 5 is characterized in that, this brightness value is to show demand and set according to the object images of this online game system.
7. method for displaying image as claimed in claim 1 is characterized in that this display system is a Games Software.
8. method for displaying image as claimed in claim 1 is characterized in that, this scene picture is the night scene picture.
CN 03119589 2003-03-12 2003-03-12 Image displaying method Expired - Fee Related CN1265283C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03119589 CN1265283C (en) 2003-03-12 2003-03-12 Image displaying method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03119589 CN1265283C (en) 2003-03-12 2003-03-12 Image displaying method

Publications (2)

Publication Number Publication Date
CN1530825A true CN1530825A (en) 2004-09-22
CN1265283C CN1265283C (en) 2006-07-19

Family

ID=34285172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03119589 Expired - Fee Related CN1265283C (en) 2003-03-12 2003-03-12 Image displaying method

Country Status (1)

Country Link
CN (1) CN1265283C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253954A (en) * 2010-05-19 2011-11-23 株式会社日立制作所 Screen customization supporting system and screen customization supporting method
CN105335591A (en) * 2014-06-20 2016-02-17 北京奇虎科技有限公司 Method and apparatus for providing background image of software
CN106331482A (en) * 2016-08-23 2017-01-11 努比亚技术有限公司 Photo processing device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253954A (en) * 2010-05-19 2011-11-23 株式会社日立制作所 Screen customization supporting system and screen customization supporting method
CN102253954B (en) * 2010-05-19 2013-12-11 株式会社日立制作所 Screen customization supporting system and screen customization supporting method
CN105335591A (en) * 2014-06-20 2016-02-17 北京奇虎科技有限公司 Method and apparatus for providing background image of software
CN106331482A (en) * 2016-08-23 2017-01-11 努比亚技术有限公司 Photo processing device and method

Also Published As

Publication number Publication date
CN1265283C (en) 2006-07-19

Similar Documents

Publication Publication Date Title
JP4481166B2 (en) Method and system enabling real-time mixing of composite and video images by a user
US9582610B2 (en) Visual post builder
AU2011258972B2 (en) Visual element, method and system
CN103247064B (en) A kind of generation method of three-dimensional dynamic graphical, device and mobile terminal
CN1957393A (en) Image processing apparatus, image display apparatus, image processing method, and computer product
MXPA03002165A (en) Hardware-enhanced graphics acceleration of pixel sub-component-oriented images.
CN110149550B (en) Image data processing method and device and storage medium
CN109767733A (en) Display control method, display control unit and electronic equipment
US6999093B1 (en) Dynamic time-of-day sky box lighting
CN101686336B (en) Display method of a timing device in a three-dimensional scene
CN113282212A (en) Interface display method, interface display device and electronic equipment
CN1265283C (en) Image displaying method
CN110164385B (en) Backlight brightness adjusting method
US8451285B2 (en) Method for improving motion blur and contour shadow of display and display thereof
US7692612B2 (en) Video enhancement and display power management
WO2008145966A2 (en) Imaging apparatus
Gong et al. Investigation of perceptual attributes for mobile display image quality
CN114428573B (en) Special effect image processing method and device, electronic equipment and storage medium
JP2008249952A (en) Image display system and image display program
US7236182B2 (en) Image processing system and method, and computer-readable recording medium
CN114415920A (en) Parameter adjusting method and device, electronic equipment and readable storage medium
TW200405236A (en) Line scanning in a display
CN101212606B (en) Pixel driving and image data displaying method
TWI738379B (en) Image processing circuit and image orbiting method
CN220023893U (en) Mixed reality naked eye 3D fish tank

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060719

Termination date: 20110312