Height of circular shape
4 views (last 30 days)
Kevin Holly on 30 Sep 2022
You could use regionprops to find the major axis length. Or did you need the length of the object in the y-direction? What do you mean by height?
Img = imread('segemented cup 1.jpg');
rp = regionprops(imbinarize(Img),"MajorAxisLength")