How to saperate these overlapping objects ?
조회 수: 15 (최근 30일)
이전 댓글 표시
I want to detect concave points of overlapping objects so that I can fit a circle and an ellipse or combination of 2 circles over it.

댓글 수: 2
KALYAN ACHARJYA
2019년 11월 18일
Can you elaborate more with the color symbol indicated by marker?
You can use paint?
답변 (2개)
Image Analyst
2019년 11월 18일
Why not just use regionprops to look for blobs that have high solidity?
mask = imfill(mask, 'holes');
props = regionprops(mask, 'Solidity', 'MajorAxisLength', 'MinorAxisLength');
allSolidities = [props.Solidity]
allMajorAxesLengths = [props.MajorAxisLength]
allMinorAxesLengths = [props.MinorAxisLength]
nonConvexIndexes = allSolidities < 0.8; % or whatever.
circleIndexes = (allMajorAxesLengths ./ allMinorAxesLengths) < 1.5; % Or whatever.
Circles should have minor and major axes roughly the same.
Adapt as needed.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!