MATLAB: I am not getting the BoundingBox

boundingboxImage Processing Toolboximage segmentation

stats = regionprops(bwlabel(K),'Area','Centroid','Perimeter','BoundingBox');
Boxes=cat(1,stats.BoundingBox);

Best Answer