Info
此问题已关闭。 请重新打开它进行编辑或回答。
I have a project concerning a grayscale picture
1 次查看(过去 30 天)
显示 更早的评论
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''
0 个评论
回答(2 个)
Walter Roberson
2016-5-4
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 个评论
Walter Roberson
2016-5-4
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
2016-5-4
The image has the salt and pepper noise. You can remove it using medfilt2 (Image Processing Toolbox)
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!