From: Pearl on 20 Jul 2010 15:18 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 20 Jul 2010 16:52 "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 20 Jul 2010 17:35 > 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! ;-)
|
Pages: 1 Prev: How to create motion model? Next: script should wait while editing data in plot |