Image Processing Method, Model Training Method, and Related Apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsFan Li, Weiwei Liu, Yuhao Liu
Life of this patent
Estimating the term…
Abstract
An image processing method comprises classifying continuously captured images in an image sequence into a reference frame and a non-reference frame. For a non-reference frame in the image sequence, a semantic feature of a reference frame located before the non-reference frame is reused to predict a semantic feature of the non-reference frame, the semantic feature of the non-reference frame is no longer re-extracted, and then an image segmentation result of the non-reference frame is obtained through prediction based on the semantic feature of the non-reference frame.
Claims20
An image processing method, comprising:
- obtaining a first image from an image sequence;
- obtaining a second image from the image sequence, wherein the second image is after the first image within the image sequence;
- processing the first image by using a semantic feature extraction network to obtain a first semantic feature of the first image, wherein the first semantic feature is for predicting a first image segmentation result of the first image;
- and
- processing the first semantic feature and the second image by using a noise reduction network to obtain a second semantic feature of the second image through prediction, wherein the second semantic feature is for obtaining a second image segmentation result of the second image.
A model training method, comprising:
- obtaining a first image from an image sequence;
- obtaining a second image from the image sequence, wherein the second image is after the first image within the image sequence;
- processing the first image using a semantic feature extraction network to obtain a first semantic feature of the first image, wherein the semantic feature extraction network is a trained network;
- predicting a first image segmentation result of the first image using the first semantic feature;
- processing the first image using the first semantic feature and the second image using a noise reduction network to obtain a second semantic feature of the second image through prediction;
- inputting the second image to the semantic feature extraction network to obtain a target semantic feature;
- obtaining a loss function value based on a distance between the second semantic feature and the target semantic feature;
- and
- updating the noise reduction network based on the loss function value to obtain an updated noise reduction network.
An image processing apparatus, comprising:
- a memory configured to store code;
- and
- one or more processors coupled to the memory and configured to execute the code to cause the image processing apparatus to:
- obtain a first image from an image sequence;
- obtain a second image from the image sequence, wherein the second image is after the first image within the image sequence;
- process the first image by using a semantic feature extraction network to obtain a first semantic feature of the first image, wherein the first semantic feature is for predicting a first image segmentation result of the first image;
- and
- process the first semantic feature of and the second image by using a noise reduction network to obtain a second semantic feature of the second image through prediction, wherein the second semantic feature is for obtaining a second image segmentation result of the second image.
Dependencies are inferred from the claim text.