[Insight-users] Smoothing with a Mask Image

Albert Huang alberth+itk at ece.ubc.ca
Tue Feb 13 19:58:51 EST 2007


Thanks for the suggestion Gaetan.

I guess I could do so but it'd be a pain to have to interpolate
the 0 points between two 1 (e.g. _ _ _ _ 1 _ _ 1 1 1 1 _ _)
with 3D inputs. I guess there isn't any sort of a ROI filter
or something like that available.

Albert

----- Original Message -----
From: "Gaetan Lehmann" <gaetan.lehmann at jouy.inra.fr>
To: "Albert Huang" <alberth+itk at ece.ubc.ca>; <insight-users at itk.org>
Sent: Tuesday, February 13, 2007 1:36 AM
Subject: Re: [Insight-users] Smoothing with a Mask Image

On Tue, 13 Feb 2007 02:15:16 +0100, Albert Huang <alberth+itk at ece.ubc.ca>
wrote:

> Dear experts,
>
> Is there any existing filter in ITK that allows smoothing an image
> inside a provided binary mask? And whatever is 0 in the binary
> mask can be treated as boundary condition.

Hi,

Can't you just create a new image with the boundary value outside the
mask, and apply a smoothing filter on it ?

Gaetan


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr 



More information about the Insight-users mailing list