Image depth-of-field rendering method and system, and terminal
The invention discloses an image depth-of-field rendering method. The method comprises steps that an original RGB image and a depth image corresponding to a target object are acquired; a fuzzy radiusCOC of the depth image is calculated; a convolution kernel corresponding to the fuzzy radius COC is u...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
26.01.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses an image depth-of-field rendering method. The method comprises steps that an original RGB image and a depth image corresponding to a target object are acquired; a fuzzy radiusCOC of the depth image is calculated; a convolution kernel corresponding to the fuzzy radius COC is utilized to carry out filtering processing of the original RGB image to acquire a corresponding rendering image; alpha fusion of the rendering image and the original RGB image is carried out to acquire an image after fusion. The method is advantaged in that after the fuzzy radius COC of the depth image is calculated, the convolution kernel corresponding to the fuzzy radius COC is further utilized to carry out filtering processing of the original RGB image, and a problem of color leakage in the image depth-of-field rendering process is solved. The invention further discloses an image depth-of-field rendering system and a terminal.
本申请公开了种图像景深渲染方法,包括:获取与目标物体对应的原始RGB图和深度图;计算深度图的模糊半径COC;利用与模糊半径COC对应的卷积核,对原始RGB图进行滤波处理,得到 |
---|---|
Bibliography: | Application Number: CN20171777729 |