Image pre-processing to remove noise

조회 수: 4 (최근 30일)
SS
SS 2021년 5월 30일
편집: SS 2021년 5월 30일
Hi. Is there any image pre-propcessing technique to remove noise from binary images? Please see attached image, I want to remove the objects that are not very straight lines and are connected together, a cxongregation of pixels that look like small circles in the image.
Any hints with MATLAB commands can really help.
Thanks.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 5월 30일
편집: KALYAN ACHARJYA 2021년 5월 30일
Absolutely possible, you can remove the white pixels based on area (Extract objects from binary image by size) and do some AND or OR logical Operation to get the resultant image.
  댓글 수: 4
Image Analyst
Image Analyst 2021년 5월 30일
How did you get your binary image, bw? By thresholding your original gray scale image? It should be logical then. You can't call it on a gray scale image.
bw = grayImage < 100; % or whatever
bw2 = bwpropfilt(bw, 'area', p, direction, conn);
SS
SS 2021년 5월 30일
편집: SS 2021년 5월 30일
The raw binary image is obtained by thresholding and combining few gray images.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by