Getting X,Y coordinates and width,height of objects in an Image
Show older comments
Hi,
I suppose to identify exact location(x,y) and width,height of objects in an image.
Say, there is an image and it contains circles, squares inside it, I need to identify x,y coordinates and width,height of these objects(shapes)separately.
Is there a function to achieve this?
Can anyone provide me some guidance please?
Answers (1)
Sean de Wolski
on 10 Jun 2011
doc bwconncomp
doc regionprops
Categories
Find more on Display and Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!