Adaptive Image Self-Recovery Based on Feature Extraction in the DCT Domain