From: ahmad yahya on 8 Apr 2010 00:20 hell if i have did image segmentation and i have some noise out side the shape so how can i clean this noise which function can use thanks for help
From: us on 8 Apr 2010 01:59 "ahmad yahya" <ahyda99(a)hotmail.com> wrote in message <hpjlhl$hbs$1(a)fred.mathworks.com>... > hell if i have did image segmentation and i have some noise out side the shape so how can i clean this noise which function can use thanks for help what have YOU done so far to solve YOUR particular problem... us
From: ImageAnalyst on 8 Apr 2010 06:18 On Apr 8, 12:20 am, "ahmad yahya" <ahyd...(a)hotmail.com> wrote: > hell if i have did image segmentation and i have some noise out side the shape so how can i clean this noise which function can use thanks for help -------------------------- Well hell . . . I'd probably use bwareaopen on your segmented (binary) image, what about you? Median filter maybe?
From: PinkLab on 8 Apr 2010 06:29 @Image, any idea on how to build median filter for n = 1+r:N-r for m = 1+r:M-r % Extract a window of size (2r+1)x(2r+1) around (m,n) w = x(m+(-r:r),n+(-r:r)); % ... write the filter here ... y(m,n) = result; end end
From: ImageAnalyst on 8 Apr 2010 06:44 On Apr 8, 6:29 am, "PinkLab " <pink...(a)pinklab.com> wrote: > @Image, any idea on how to build median filter ------------------------------------------------------------------- Yes, but why would I when MATLAB has the built-in medfilt2() function?
|
Next
|
Last
Pages: 1 2 3 Prev: Trying to speed up a script - any tips ? Next: Memory problems with large sparse matrices |