findcircles

버전 1.0.0.0 (2.66 KB) 작성자: John T. McCarthy
This function provides an example of feature-extraction in a binary image.
다운로드 수: 11.6K
업데이트 날짜: 2001/4/24

라이선스 보기

This function provides an example of feature-extraction in a binary image. This example could be adapted for other specific requirements.

Features are assumed to be made up of ones, against a background of zeros. The program makes an effort to remove outliers and stray pixels (line 47). Features are isolated using MATLAB's morphological routine BWLABEL. Conceptually, a square is drawn around each separate feature, then the feature is compared with a circle occupying the same square. If it resembles the circle to within a certain tolerance (line 40), the feature is counted as a circle. Features are not considered if they are smaller than a preset size (line 43). The program also finds the distance between the centers of the first two circles found. Circles may be missed if they are only partly in the image (i.e. at the edges).

NOTE: Requires IMCIRCLE.M, also provided in the MATLAB image userfiles.

The files have been tested on Matlab v. 5.3.1, and 6.0.

인용 양식

John T. McCarthy (2024). findcircles (https://www.mathworks.com/matlabcentral/fileexchange/121-findcircles), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Morphological Operations에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

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