matlab - How to calculate the width, height or length (in pixels) of an object? -
this question has answer here:
is there function calculate horizontal or vertical length of object obtained applying bwboundaries?
you can width/height looking @ min , max values (range) of x,y coordinates in each individual boundary object. solution use bwconncomp->regionprops-> boundingbox
Comments
Post a Comment