Image processing method and device, electronic equipment and storage medium
The embodiment of the invention discloses an image processing method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a depth map of a current frame image through a first model; determining a depth value of a focusing plane according to a dep...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses an image processing method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a depth map of a current frame image through a first model; determining a depth value of a focusing plane according to a depth value corresponding to a main body region in the depth map of the current frame image; determining a blurring mapping image according to the depth value of each pixel point in the depth map of the current frame image and the depth value of the focusing plane; and performing blurring processing on the current frame image by using the blurring mapping graph. According to the method provided by the embodiment of the invention, the accuracy and the stability are improved, and meanwhile, the more natural gradual change blurring effect of the single lens reflex can be simulated according to the distance between the person and the scene object.
本申请实施例公开了一种图像处理方法、装置、电子设备及存储介质。所述方法包括:通过第一模型获取当前帧图像的深度图;根据所述当前帧图像的深度图中主体区域对 |
---|