Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image processing method and device

A technology for image processing and object processing, which is applied in the field of image processing, and can solve problems such as reducing the sense of layering and not being able to realize the image processing process of layer superimposition

Active Publication Date: 2019-07-05
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The darker the dark part of the picture, the brighter the bright part, resulting in a greater contrast between the light and dark of the image, and will reduce the sense of layering
[0003] However, the existing image processing methods for layer overlay are all implemented based on the system API, that is to say, for terminals that do not support the system API, the image processing process for layer overlay cannot be realized

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
  • Image processing method and device
  • Image processing method and device
  • Image processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] refer to figure 1 , figure 1 A flowchart of an image processing method provided in this embodiment may specifically include:

[0051] S101: Predetermine a base map and an overlay map, wherein the base map has a one-to-one correspondence with pixels on the overlay map.

[0052] The image processing method in this embodiment actually performs layer overlay processing on two images. Therefore, first of all, it is necessary to determine two pictures as the base map and the overlay map respectively. Specifically, if layer overlay of the base map and the overlay map is to be implemented, the base map and the pixels on the overlay map have a one-to-one correspondence. Specifically, when the layers are superimposed, the pixels overlapping each other on the two images have a one-to-one correspondence.

[0053] S102: Take any pair of pixels with one-to-one correspondence as the processing object, wherein, the pixels in the processing object located on the base map are called ...

Embodiment 2

[0070] refer to figure 2 , figure 2 A schematic structural diagram of an image processing device provided in this embodiment may specifically include:

[0071] The first determination module 201 is configured to predetermine a base map and an overlay, wherein the base map has a one-to-one correspondence with pixels on the overlay;

[0072] The second determining module 202 is configured to use any pair of pixel points with one-to-one correspondence as the processing object, wherein the pixel points located on the base map in the processing object are called base map pixels, and the processing Pixels located on the overlay in the object are called overlay pixels;

[0073] The first acquisition module 203 is configured to use any one of the three color channels of red, green, and blue as the color channel to be processed, and acquire the brightness of the pixel point of the base image based on the color channel to be processed, the Brightness of pixels in the overlay image,...

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 picture processing method. The method comprises the steps of pre-determining a base graph and a cover graph, wherein pixel points on the base graph and the cover graph have a one-to-one correspondence relationship; taking any pair of the pixel points with the one-to-one correspondence relationship as a processing object, wherein the pixel points located on the base graph in the processing object are called base graph pixel points, and the pixel points located on the cover graph in the processing object are called cover graph pixel points; taking any color channel of three color channels of red, green and blue as a to-be-processed color channel, obtaining the brightness of the base graph pixel points and the cover graph pixel points of the to-be-processed color channel, and obtaining the transparency of the cover graph; and determining the brightness in a result after the processing object is processed according to the brightness of the base graph pixel points, the brightness of the cover graph pixel points and the transparency of the cover graph. Compared with an existing graphic layer superposition-based picture processing mode, the picture processing method is realized without depending on a system API and can be used for a terminal of any system platform.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to an image processing method and device. Background technique [0002] Layer overlay is a kind of image processing method, which is actually a mixed mode of Multiply mode and Screen mode. In this mode, the mixed color is superimposed on the base color, which means that the underlying image controls the layer above, which can be brightened or darkened. Areas darker than 50% will be darkened using Multiply mode, and areas lighter than 50% will be lightened using Screen mode. The darker the dark part of the picture, the brighter the bright part, resulting in a greater contrast between the light and dark of the image, and will reduce the layering. [0003] However, the image processing methods of the existing layer overlay are all implemented based on the system API, that is to say, for terminals that do not support the system API, the image processing process of the layer ove...

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 Patents(China)
IPC IPC(8): G06T5/50
Inventor 金晓东
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products