<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>Why is cropping the masked region from the smoothed not good?</div><div><br></div><div>What do you expect he boundary condition around the mask to be? You could set the non-masked pixels to zero, and then run the smoothing on the whole image or a crop/ROI of the image?</div><div><br></div><div>Brad</div><div><br><div><div>On Sep 14, 2015, at 3:12 AM, András, Osztroluczki <<a href="mailto:andras.osztroluczki@gmail.com">andras.osztroluczki@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><span style="font-size:12.8px">Dear ITK users,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is there a way to perform smoothing (for example with: RecursiveGaussianImageFilter) under a masked region only (e.g.: the computation only use those pixel values which are marked by the mask).</div><div style="font-size:12.8px">Smoothing the whole image and crop the masked region from the smoothed image is not good for me unfortunately.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px">Andras</div></div>
_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org">Community@itk.org</a><br>http://public.kitware.com/mailman/listinfo/community<br></blockquote></div><br></div></body></html>