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

Image processing method and device

An image processing, image technology, applied in the field of image processing, can solve problems such as image distortion

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

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides an image processing method and device to at least solve the technical problem of related technologies that only sample and mix the fuzzy texture in the image on the object body, resulting in distortion of the image when the depth is discontinuous

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

[0037] According to an embodiment of the present invention, a method embodiment of an image processing method is provided.

[0038] Optionally, in this embodiment, the above image processing method can be applied to image 3 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as image 3As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The image processing method in this embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the execution of the image processing method in the embodiment of the present invention by the terminal 104 may also be executed b...

Embodiment 2

[0083] According to an embodiment of the present invention, an image processing device for implementing the above image processing method is also provided. Figure 14 is a schematic diagram of an optional image processing device according to an embodiment of the present invention, such as Figure 14 As shown, the device may include:

[0084] The acquisition unit 22 is configured to acquire the COC value of each pixel of the image to be processed, wherein the COC value of each pixel is the distance between the object corresponding to the pixel in the image to be processed and the lens of the shooting device There is a corresponding relationship, the image to be processed is the image obtained by the shooting device shooting the object; the layering unit 24 is used to layer the image to be processed according to the COC value of each pixel to obtain a multi-layer texture image, wherein each The COC values ​​of the pixels in the layer texture image are located in the same COC va...

Embodiment 3

[0095] According to an embodiment of the present invention, a terminal for implementing the above image processing method is also provided.

[0096] Figure 15 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 15 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205, such as Figure 15 As shown, the terminal may also include an input and output device 207 .

[0097] Wherein, the memory 203 can be used to store software programs and modules, such as the program instructions / modules corresponding to the image processing method and device in the embodiment of the present invention, and the processor 201 executes various programs by running the software programs and modules stored in the memory 203. A functional application and data processing, that is, realizing the above-mentioned image processing method. The memory 203 may include ...

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 an image processing method and device. The image processing method comprises steps of obtaining a COC value of each pixel of an image to be processed, performing layering on the image to be processed according to the COC value to obtain a multi-layer texture image, performing a following first operation on each pixel point in each layer of the texture image when a biggest value in each COC value range is smaller than or equal to a preset threshold to obtain a texture image after multi-layer processing, recording each pixel point as a first current pixel point, reducing the pixel value from a first current value to a first target value according to a COC value of the first current pixel point, setting pixel values of N first target pixel points around the first current pixel points as first target values, performing superposition processing on the texture image after multi-layer processing to obtain a target image having a depth of field. The image processing method and device solve a problem that: the prior art only performs sampling mixing on a fuzzy texture in the image on the main body of the object, which causes the image to be distorted when the depth is discontinuous.

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] Objects can be clearly imaged within a range from the lens, but outside this range (near or far) the image is blurred. This effect is the depth of field. In industries such as photography and film, depth of field is often used to indicate the extent of attention to a scene and to provide a sense of scene depth. For example, in high-quality games, the depth-of-field effect that simulates the visual experience of the human eye has attracted more and more attention from players. [0003] At present, in order to obtain the depth of field effect of the image in the related art, the Z-buffer technology based on reverse mapping is usually used to obtain the depth of field. Vary the amount of pixels to blur the rendered scene. Wherein, for a pixel with a larger difference between the Z value and the focal plan...

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): G06T7/50G06T3/40
CPCG06T3/4023G06T7/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