Gray-scale or colored damaged image recovery
% 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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Morphological Operations >
Tags
Acknowledgements
Inspired: dip lab 3
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |