separate objects in matlab

3 views (last 30 days)
sudarshan s
sudarshan s on 14 Jan 2013
Commented: PRIYANKA KAMRA on 25 Feb 2015
hi,
I am new to matlab and i just wanted to know how can i separate 2 objects a single image with same colour.
for exameple i have no background and and there is a circle and a square in the image with some distance in between them.
thanks

Answers (2)

Walter Roberson
Walter Roberson on 14 Jan 2013
Threshold, and then bwlabel()

Image Analyst
Image Analyst on 14 Jan 2013
  1 Comment
PRIYANKA KAMRA
PRIYANKA KAMRA on 25 Feb 2015
Thanks a lot... It solved my problem :)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!