(EN) An image matting implementation method and apparatus, and a device and a storage medium, relating to the technical field of image processing. The method comprises: acquiring video data including a first target object and a background image not including the first target object, wherein the background image and the video data have the same background (110); intercepting an image of the current frame in the video data and taking same as an original image (120); inputting the original image, the background image and a segmented image into an image matting application model, so as to obtain a first alpha channel output image output by the image matting application model, wherein the segmented image is obtained by means of a second alpha channel output image, and the second alpha channel output image is output when the image matting application model processes the previous frame of image in the video data (130); and obtaining an image matting result including the first target object according to the first alpha channel output image (140). By means of the method, the technical problems in the prior art of the labor cost being additionally increased due to manual calibration and the application restriction being high can be solved.
(FR) L'invention porte sur un procédé et sur un appareil d'implémentation de matage d'image, sur un dispositif, ainsi que sur un support de stockage, qui se rapportent au domaine technique du traitement d'image. Le procédé comprend les étapes consistant à : acquérir des données vidéo comprenant un premier objet cible et une image d'arrière-plan ne comprenant pas le premier objet cible, l'image d'arrière-plan et les données vidéo ayant le même arrière-plan (110) ; intercepter une image de la trame actuelle dans les données vidéo et prendre celle-ci en tant qu'image d'origine (120) ; entrer l'image d'origine, l'image d'arrière-plan et une image segmentée dans un modèle d'application de matage d'image, de façon à obtenir une première image de sortie de canal alpha produite par le modèle d'application de matage d'image, l'image segmentée étant obtenue au moyen d'une seconde image de sortie de canal alpha et la seconde image de sortie de canal alpha étant produite lorsque le modèle d'application de matage d'image traite la trame d'image précédente dans les données vidéo (130) ; et obtenir un résultat de matage d'image comprenant le premier objet cible selon la première image de sortie de canal alpha (140). Au moyen du procédé, les problèmes techniques de l'état de la technique selon lesquels le coût de main-d’œuvre est en outre augmenté en raison d'un étalonnage manuel et selon lesquels la restriction d'application est élevée peuvent être résolus.
(ZH) 一种抠图实现方法、装置、设备及存储介质,涉及图像处理技术领域,其包括:获取包含第一目标对象的视频数据和不包含第一目标对象的背景图像,背景图像和视频数据具有相同的背景(110);截取视频数据中当前帧的图像作为原始图像(120);将原始图像、背景图像和分割图像输入至抠图应用模型,以得到抠图应用模型输出的第一阿尔法通道输出图像,分割图像通过第二阿尔法通道输出图像得到,第二阿尔法通道输出图像由抠图应用模型处理视频数据中前一帧图像时输出(130);根据第一阿尔法通道输出图像得到包含第一目标对象的抠图结果(140)。采用上述方法可以解决现有技术中由于人工标定而额外增加人工成本且应用限制性高的技术问题。