[Insight-users] extend image borders

Martin Urschler martin at urschler.info
Wed Aug 24 09:48:48 EDT 2005


hi,

you might have a look at the ConstantPadImageFilter, it should be 
exactly what you are looking for

regards,
Martin


Gaetan Lehmann wrote:
> 
> Hi,
> 
> I'm searching a filter to extend borders of an image with a given 
> value.  Something like CropImageFilter but to extend borders, not crop 
> them :-)
> I can't find this kind of filter in ITK. Is there one ?
> 
> I need this filter to implement a SafeBorder option in morphological  
> closing filter to avoid border effects.
> 
> Regards, 
> Gaetan


More information about the Insight-users mailing list