필터 지우기
필터 지우기

how to display 4 large connected components out of 20 in an image?

조회 수: 1 (최근 30일)
MoonPie1
MoonPie1 2015년 12월 10일
답변: Image Analyst 2015년 12월 10일
how to display 4 large connected components out of 20 in an image?

답변 (1개)

Image Analyst
Image Analyst 2015년 12월 10일
There is no bwfilt() function that I've heard of. Use bwareafilt(). It does not care in the slightest where your binary image originated, like if it was from a medical image or some other image.
biggest4 = bwareafilt(binaryImage, 4);

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by