|
"subbmdee " <pani1mys@rediffmail.com> wrote in message <k2co54$j5s$1@newscl01ah.mathworks.com>...
> hi,
> i am trying to segment multiple ROIs in sequence. once 1st roi is obtained, the process repeats excluding 1st roi in image to find 2nd. Process repeats for 3rd roi excluding roi 1&2. how to go about this?
------------------------------------------------
Just mask it out to set that first roi to zero
newImage = oldImage;
newImage(rol1) = 0;
Put into a loop so each image has roi from prior image zeroed out.
|