Unity-based tone mapping method

A tone mapping and color value technology, applied in the computer field, can solve problems such as unsatisfactory picture effects, inability to control the strength of a single object, loss of color information, etc.

Pending Publication Date: 2022-03-22
厦门极致互动网络技术股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing tone mapping provided by Unity can only affect the final rendering of all objects as a whole, and cannot control the intensity of individual objects affected by tone mapping, and will make pixels in the darker areas of the screen darker and lost Certain color information, the final effect of the whole picture is not as expected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Unity-based tone mapping method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] Such as figure 1 As shown, a Unity-based hue mapping method includes the following steps:

[0032] S1, saving the rendering result of the original image as the basic texture before the Unity performs color mapping;

[0033] S2, in accordance with the preset brightness threshold to distinguish the dark portion of the original image, and adjust its brightness value, respectively, the adjustment brightness value is fucked into brightness texture;

[0034] Step S2 specifically includes the steps of:

[0035] S21, extract brightness information from the basic texture, and calculate the brightness value L of each pixel in the basic texture;

[0036] The calculation of the brightness value L is:

[0037] L = color.r * 0.2125 + color.g * 0.7154 + color.b * 0.0721; where color.r represents the brightness value of the red, color.g represents the green luminance value, and color.b represents the blue luminance value.

[0038] S22, the brightness threshold LUMINANCE is preset, the lumi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a tone mapping method based on Unity, and the method comprises the following steps: S1, storing a rendering result of an original image as a basic texture before the Unity carries out tone mapping; s2, distinguishing a dark part area and a bright part area of the original image according to a preset brightness threshold value, respectively adjusting the brightness values of the dark part area and the bright part area, performing fuzzy processing on the adjusted brightness values, and storing the brightness values as brightness textures; s3, in combination with the brightness texture and the mapping curve, performing tone mapping processing on the original image to obtain a rendering result after tone mapping, and storing the rendering result into a tone mapping texture; and S4, mixing the color values of the tone mapping texture and the basic texture to obtain a final tone mapping image. According to the method provided by the invention, the situation of information loss of the dark region in the picture of the mapped image is improved, and the intensity of the influence of tone mapping on a single object in the scene is accurately controlled.

Description

Technical field [0001] The present invention relates to the field of computer technology, and more particularly to a unity-based hue mapping method. Background technique [0002] The color tone mapping is a computer graphics technology that approximates high dynamic range images on a limited dynamic range medium. The basic principle is to make a large contrast attenuation to convert the scene brightness to the range, while maintaining image details and color, etc. It is very important to express the original scene. The color tone mapping provided by the existing Unity can only affect the effect of all the objects of all items, and cannot control the weakness of the affected single item being colored and mapped, which will make the brightness of the brightness in the dark portion of the dark area be darker and lost. A certain color information, the final picture is not expected. Inventive content [0003] In order to solve the above problems, the present invention provides a unit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/00G06T7/90
CPCG06T5/002G06T5/007G06T7/90G06T2207/20208
Inventor 张弦
Owner 厦门极致互动网络技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products