Gray-scale or colored damaged image recovery

to recover damaged areas in gray or colored images
563 Downloads
Updated 5 Nov 2011

View License

% Damaged gray-scale or colored image recovery
% This is a simple prog. for treating damaged areas in gray scale images.
% The recovery algorithm depends on replacing the missing pixels by the
% median of the non-damaged pixels lying within a 3x3 mask centered on the
% treated pixel. The algorithm is efficient for smooth areas, and it is
% less efficient in recovering areas belonging to different regions in the
% image. The prog. is tested on a segment of the rice.png image. The
% damaged area is determined by the user.
%
% By: Abdulrahman Ikram Siddiq
% Kirkuk - IRAQ
% Saturday Nov.5th 2011 10:50 PM

Cite As

Abdulrahman Siddiq (2024). Gray-scale or colored damaged image recovery (https://www.mathworks.com/matlabcentral/fileexchange/33635-gray-scale-or-colored-damaged-image-recovery), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: dip lab 3

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0