Robuta

https://www.mathworks.com/help/images/ref/regionprops.html regionprops - Measure properties of image regions - MATLAB The regionprops function measures properties such as area, centroid, and bounding box, for each object (connected component) in an image. measurepropertiesimageregionsmatlab