Clear Filters
Clear Filters

Getting X,Y coordinates and width,height of objects in an Image

4 views (last 30 days)
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
Sean de Wolski on 10 Jun 2011
doc bwconncomp
doc regionprops

Community Treasure Hunt

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

Start Hunting!