Method and device for generating halo effect diagram

A technology for renderings and images, applied in the field of image processing, can solve problems such as the inability to accurately determine the light source of the image

Inactive Publication Date: 2017-08-01
BEIJING 58 INFORMATION TECH
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a method and device for generating a halo effect map, which is used to solve the problem

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
  • Method and device for generating halo effect diagram
  • Method and device for generating halo effect diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] This embodiment provides a method for generating a halo effect map, figure 1 is the flowchart of the method, such as figure 1 As shown, the method includes the following steps:

[0021] Step 101: Determine the area in the original image where halo needs to be added according to the brightness information of the original image;

[0022] Preferably, according to the brightness information of the original image, determining the area where the halo needs to be added in the original image includes: converting the color value of the original image to obtain a brightness value; that is, converting the image from an RGB value to an HSV value, where V is the brightness value, and determine the area formed by the pixels whose luminance value is higher than the preset threshold as the area in the original image where halo needs to be added, hereinafter referred to as the light source area.

[0023] Step 102: blurring the region;

[0024] In this step, blurring the light source ...

Embodiment 2

[0028] This embodiment further illustrates the method for generating a halo effect map provided by the present invention by disclosing more technical details.

[0029] First, you need to specify the light source in the object. The color and brightness of the light source will be directly converted into the color and brightness of the final halo that needs to be realized. Therefore, you can control the appearance of the halo by changing the brightness of the light source. In this embodiment, the light source can be a geometry specified by some object's attributes or flags, or limited to a small part of the object using texture data. For the latter case, the texture data can be made to mask the non-illuminant sources, rendered as black, and the illuminant part can be set to the desired color and brightness. The preferred way to accomplish the above steps is to use texture data, which is convenient and makes the rendered object more artistic.

[0030] Different from the traditio...

Embodiment 3

[0034] This embodiment provides a device for generating a halo effect diagram, which is used to implement the methods for generating a halo effect provided in Embodiment 1 and Embodiment 2 above, figure 2 is the block diagram of the device, such as figure 2 As shown, the device 20 includes the following components:

[0035] Determining module 21, is used for determining the region that needs to increase halo in the original image according to the brightness information of the original image;

[0036] A processing module 22, configured to perform blurring processing on the region;

[0037] The overlay module 23 is configured to overlay the blurred image and the original image to obtain a halo effect image.

[0038] Wherein, the above-mentioned determination module 21 may specifically include: a conversion unit for converting the color value of the original image to obtain the brightness value of the image; a determination unit for determining an area composed of pixels whos...

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 provides a method and a device for generating a halo effect diagram, so as to solve the problem that a light emitting source in an image can not be determined accurately in a mode of increasing halo effects for the image in the current prior art. The method comprises steps: according to the brightness information of an original image, an area in need of halo increasing in the original image is determined; fuzzy processing is carried out on the area; and the image after fuzzy processing and the original image are overlapped to obtain the halo effect diagram. The determined halo area in the scheme is more close to the natural halo, and the halo effects are better and more vivid.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and device for generating a halo effect map. Background technique [0002] In games or videos, there are often halo scenes in the image. Halo is an image rendering effect that makes bright parts of the image glow. The terminal generally does not have halo effects when processing videos or images. Post-processing generally provides halo effects by changing the RGB and alpha values ​​of the texture in the image, or superimposing some video elements, etc. The performance of halo effects is relatively high. Moreover, the luminous source in the image cannot be accurately determined only according to the RGB and alpha values ​​(that is, the part of the image where the halo effect needs to be added), so that the halo-processed image is not realistic enough. Contents of the invention [0003] The present invention provides a method and device for generating a halo effect map, ...

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
IPC IPC(8): G06T11/00
CPCG06T11/001
Inventor 王丽新
Owner BEIJING 58 INFORMATION TECH
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