Implementation of error concealment algorithms that recover the damaged areas at the decoder based on characteristics of image and video signals