Here's one possible way. I wrote the attached script to emulate what Adobe Photoshop's Magic Wand tool does.
Also there are region growing submissions in the File Exchange so check that out.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!