The present invention discloses an inter-frame
error concealment method, device and medium based on a stable
diffusion model, which relates to the field of
image processing technology, and includes the steps of: extracting lost frames in the process of video compression transmission and inter-frame images of the frames before and after the lost frames; based on the spatiotemporal continuity characteristics between the corresponding pixels of the continuous inter-frame images, obtaining the filling
frame based on the pixel values of the inter-frame images before and after the stable
diffusion model; obtaining the direction of the fastest gradient growth of the stable
diffusion model at the current filling frame, and updating the filling
frame based on the
gradient direction; outputting the filling frame after the gradient change is less than a preset threshold to complete the inter-frame
error concealment under the prediction of the lost frame. The present invention performs inter-frame
error concealment based on the stable diffusion method, reduces the amount of
data transmission while maintaining high-quality images, thereby saving bandwidth and improving transmission efficiency, and can be used in scenarios with poor
network conditions or requiring real-time transmission.