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!