MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Label matrix of a segmented image 

Subject: Label matrix of a segmented image From: Mohi rad Date: 7 Oct, 2010 10:31:06 Message: 1 of 9 
I would like to inform you that I segmented an image using a software named 'EDISON'and I got 
Subject: Label matrix of a segmented image From: Image Analyst Date: 7 Oct, 2010 10:39:04 Message: 2 of 9 
Why can't you just call bwlabel()? 
Subject: Label matrix of a segmented image From: Mohi rad Date: 7 Oct, 2010 20:14:04 Message: 3 of 9 
"Image Analyst" <imageanalyst@mailinator.com> wrote in message <i8k808$rnh$1@fred.mathworks.com>... 
> As I know bwlabel acts on binary images but I have a colored segmented image.so, how can I use this command for a segmented image? 
Subject: Label matrix of a segmented image From: Mohi rad Date: 8 Oct, 2010 12:12:03 Message: 5 of 9 
"Sean " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <i8la93$5h1$1@fred.mathworks.com>... 
Subject: Label matrix of a segmented image From: Image Analyst Date: 8 Oct, 2010 12:55:05 Message: 6 of 9 
Mohi rad: 

Subject: Label matrix of a segmented image From: Image Analyst Date: 8 Oct, 2010 13:22:03 Message: 8 of 9 
It's not the way I'd do it, but I think it's basically right if you have one binary image that describes (locates) all colored regions no matter what their color is. So, for example, you have a binary image with two blobs  one where a purple region is (in the original RGB image), and another where an orange region is. Then the pixelidxList list gives you the coordinates for each blob in turn. Then he's extracting the mean R, mean G, and mean B value for each blob  the purple one and the orange one. But, like you, I'm not sure what the problem is, if any. 
"Mohi rad" <mohi_rad2009@yahoo.com> wrote in message <i8k7ha$s4b$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.