Retaining the largest blob in an image

버전 1.0.0.0 (526 Bytes) 작성자: Ani
'bwlargestblob' reads in a 2-d binary image and outputs a binary image, retaining only the largest b
다운로드 수: 2.7K
업데이트 날짜: 2007/7/16

라이선스 없음

'bwlargestblob' reads in a 2-d binary image and outputs a binary image, retaining only the largest blob.

Usage: [outim] = bwlargestblob(im,connectivity)

im - 2-d binary image
conenctivity - Accepts 4/8 connectivity
outim - Output binary image (with 1s and 0s)

Example:

im = imread('text.png');
outim = bwlargestblob(im,8);
figure;
subplot(1,2,1); imshow(im);
subplot(1,2,2); imshow(255*outim);

인용 양식

Ani (2024). Retaining the largest blob in an image (https://www.mathworks.com/matlabcentral/fileexchange/15596-retaining-the-largest-blob-in-an-image), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0