Info
この質問は閉じられています。 編集または回答するには再度開いてください。
I have a project concerning a grayscale picture
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163356/image.jpeg)
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!