I have a project concerning a grayscale picture
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen

here's the question about the attached picture:
''Consider the image below. Discuss thoroughly what is wrong with this image. Then make some plans to address these mistakes/problems''
Antworten (2)
Walter Roberson
am 4 Mai 2016
0 Stimmen
The answer is that the mistake was in creating a JPEG lossy image. JPEG effectively does a kind of anti-aliasing that makes image analysis difficult. The cure is to go back and re-take the picture using a lossless image format.
2 Kommentare
Tiisetso
am 4 Mai 2016
Walter Roberson
am 4 Mai 2016
Here then:
filename = 'twoguys.jpg';
[~,~,ext] = fileparts(filename);
if ismember(lower(ext), {'jpg', 'jpeg'})
error('Go back and retake the picture using a lossless compression like TIFF or RAW');
end
CS Researcher
am 4 Mai 2016
0 Stimmen
The image has the salt and pepper noise. You can remove it using medfilt2 (Image Processing Toolbox)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!