MATLAB: How to measure the wide of object in binary image

Image Processing Toolboximage segmentation

i have a binary image, and i want to measure the wide of object ( white pixel). how to measure it ? please help. thanks

Best Answer

See my Image Segmentation Tutorial and see how I get the bounding box. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862