how can i get a position of rectangle in image?

1 次查看(过去 30 天)
i used BlobAnalysis to detect ROI, every region of interest so is enclosed with rectangle, i wanna extract the position of each rectangle (x,y,z,k)...any code please

回答(1 个)

Image Analyst
Image Analyst 2015-11-1
See my Image Segmentation Tutorial where I get the bounding box of every blob and crop it out as a sub-image. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by