Image processing method and device, storage medium and program product
The invention provides an image processing method and device, a storage medium and a program product, and the method comprises the steps: obtaining a to-be-processed original image, and determining the contour information of a target object in the original image; determining a shadow contour of the...
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 invention provides an image processing method and device, a storage medium and a program product, and the method comprises the steps: obtaining a to-be-processed original image, and determining the contour information of a target object in the original image; determining a shadow contour of the target object according to the contour information and position information of a preset light source; generating a shadow image corresponding to the target object according to the shadow contour and preset illumination information of the preset light source; and synthesizing the shadow image into an original image to generate a synthesized image. According to the method, the shadow image of the target object in the specific scene is automatically generated, so that the synthesized image is closer to the effect in the natural scene, the image shadow generation efficiency is improved, and the user experience is improved.
本申请提供一种图像处理方法、设备、存储介质及程序产品,其中方法包括:获取待处理的原始图像,确定所述原始图像中目标对象的轮廓信息;根据所述轮廓信息和预设光源的位置信息,确定所述目标对象的阴影轮廓; |
---|