[Insight-users] extend image borders

Andinet Enquobahrie andinet.enqu at kitware.com
Wed Aug 24 11:01:59 EDT 2005


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
>
Hello Gaetan,

Take a look at

itk::PadImageFilter

I believe it does what you are looking for...

-Andinet



More information about the Insight-users mailing list