| MATLAB Central > MATLAB Newsreader > Assign different grey scale value to different obj... |
|
|
|
Subject: Assign different grey scale value to different objects From: user mat Date: 20 Jun, 2012 15:51:06 Message: 1 of 9 |
|
Hi, |
|
Subject: Assign different grey scale value to different objects From: Jeff EA Date: 20 Jun, 2012 18:19:07 Message: 2 of 9 |
|
"user mat" wrote in message <jrsrha$cp1$1@newscl01ah.mathworks.com>... |
|
Subject: Assign different grey scale value to different objects From: user mat Date: 21 Jun, 2012 09:32:09 Message: 3 of 9 |
|
Hi, |
|
Subject: Assign different grey scale value to different objects From: user mat Date: 22 Jun, 2012 08:17:06 Message: 4 of 9 |
|
Hi |
|
Subject: Assign different grey scale value to different objects From: ImageAnalyst Date: 24 Jun, 2012 18:57:08 Message: 5 of 9 |
|
Do you have access to the binary image from case 1 when you're working on case 2? I'd hope so otherwise there's no telling how many objects are missing from binary image 2. Let's say binary image 2 has 10 blobs in it. How can I know if blob 10 was blob 50 in image 1, or blob 300? How would I know if binary image 1 had 11 blobs in it, or 1000 blobs in it? If you don't know which blobs are missing (because image 1 is not available) then there is no way to reassign labels to match what they were in image 1. If you do have image 1 available then it's simple multiplication. |
|
Subject: Assign different grey scale value to different objects From: user mat Date: 26 Jun, 2012 13:25:08 Message: 6 of 9 |
|
Thanks, Yes i have access to the binary image from case 1 and i also know that in case 1 i have three objects, and i also know that second or in third image will contain one/ two or all three objects. I tried your suggestions but this does not work for the case where the size of blobs/object changes and in my situation objects are also moving (your suggestion will work for the case when there is no motion/objects in case 1 and in case 2 (objects/blobs are in the same position/size) ? |
|
Subject: Assign different grey scale value to different objects From: ImageAnalyst Date: 27 Jun, 2012 23:03:44 Message: 7 of 9 |
|
On Tuesday, June 26, 2012 9:25:08 AM UTC-4, user mat wrote: |
|
Subject: Assign different grey scale value to different objects From: user mat Date: 28 Jun, 2012 11:31:06 Message: 8 of 9 |
|
thanks, In my case the objects don't move more than their size but i cannot use And e.g |
|
Subject: Assign different grey scale value to different objects From: user mat Date: 2 Jul, 2012 12:17:07 Message: 9 of 9 |
|
Still waiting for the response ! |
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.
