Remove noise from an image
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everybody, I am a student and I am at the beginning in a course of Machine Vision. It is one week that I try to solve this problem but without success so maybe someone can help me. I have to remove the noise and improve the quality of this image http://www.filedropper.com/image_5
Can you explain me how it is possible a show some code?
Thanks
Ale
댓글 수: 0
답변 (3개)
Sean de Wolski
2011년 5월 12일
I2 = bwareaopen(I,3);
댓글 수: 2
Sean de Wolski
2011년 5월 12일
It was a shot in the dark. I didn't download your image (I don't trust the site). I also don't want to do your homework for you. If you posted your image to a site that's trustworthy (i.e. no download; e.g. www.uploadhouse.com) and showed us, in code, what you've tried so far, we'll be able to give you non-useless answers.
Sean de Wolski
2011년 5월 12일
X = imread(your_image);
Q = uint8(imclearborder(imfill(conv2(double(X(:,:,1)),ones(3),'same')<1400,'holes'))).*X(:,:,1); %quarters
imtool(Q)
댓글 수: 2
Sean de Wolski
2011년 5월 12일
That was the point. I have you six things to look into that you may find useful: convolution, hole filling, extraction of one slice, threshold, border clearing, map application. You can play with the parameters and or look at other functions such as imdilate, imerode, bwdist...
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!