From: Pearl on
Hi there -

I'm wondering if there's a way to set the output of bwperim to be more than 1 pixel thick. I could do a loop over the boundaries to get each coordinate to be thicker so that I can emphasize the segmentation boundary. However sometimes I have many cells in one frame and it takes a long time to plot them. Is there a fast way to plot the boundaries? Right now I overlay an output of bwperim on my original image and it's hard to see one pixel thick line.

Thank you in advance!
From: us on
"Pearl " <chonlarat.wichaidit(a)utsouthwestern.edu> wrote in message <i24spf$jqh$1(a)fred.mathworks.com>...
> Hi there -
>
> I'm wondering if there's a way to set the output of bwperim to be more than 1 pixel thick. I could do a loop over the boundaries to get each coordinate to be thicker so that I can emphasize the segmentation boundary. However sometimes I have many cells in one frame and it takes a long time to plot them. Is there a fast way to plot the boundaries? Right now I overlay an output of bwperim on my original image and it's hard to see one pixel thick line.
>
> Thank you in advance!

a hint:

help imdilate;
% eg,
bw=bwperim(your_img,8);
bwd=imdilate(double(bw),strel('ball',3,3));

us
From: Pearl on

> a hint:
>
> help imdilate;
> % eg,
> bw=bwperim(your_img,8);
> bwd=imdilate(double(bw),strel('ball',3,3));
>
> us

Ahh .. I was stupid ... yes, thank you so much! ;-)