Markov-Based Methodology for the Restoration of Underwater Acoustic Images