Image blurring method and device, electronic equipment and storage medium

The embodiment of the invention discloses an image blurring method and device, electronic equipment and a storage medium. The method comprises the steps that the edge of a target object in an original image is detected; generating a target object image based on the edge of the target object and the...

Full description

Saved in:
Bibliographic Details
Main Author TAO WENXIN
Format Patent
LanguageChinese
English
Published 28.03.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The embodiment of the invention discloses an image blurring method and device, electronic equipment and a storage medium. The method comprises the steps that the edge of a target object in an original image is detected; generating a target object image based on the edge of the target object and the original image; the target object image is image data within the edge of the target object; and blurring an original image, and superposing the blurred original image and the target object image to obtain a blurred image. According to the embodiment of the invention, when the background of the image is blurred, the probability of carrying out wrong blurring on the shooting subject can be reduced. 本申请实施例公开一种图像虚化方法、装置、电子设备及存储介质,该方法包括:检测原始图像中目标对象的边缘;基于目标对象的边缘以及原始图像,生成目标对象图像;目标对象图像为目标对象的边缘以内的图像数据;对原始图像进行虚化,并将所述虚化后的原始图像与所述目标对象图像进行叠加,得到虚化图像。实施本申请实施例,能够在对图像的背景进行虚化时,降低对拍摄主体进行错误虚化的概率。
Bibliography:Application Number: CN202211627003