Height of circular shape
Show older comments


I have these two images and I want a code that can be used to determine the height of these nearly circular region can anyone help?
Accepted Answer
More Answers (1)
Image Analyst
on 30 Sep 2022
props = regionprops(mask, 'BoundingBox');
bb = vertcat(props.BoundingBox); % In case there is more than one blob in the image.
heights = bb(:, 4); % Height along the y direction.
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!