[Insight-developers] ImageRegion::PadByRadius() and ImageRegion::Crop()

Joshua Cates cates@cs.utah.edu
Thu, 20 Sep 2001 18:06:08 -0600 (MDT)


Thanks.  This is VERY helpful.

Josh.


On Thu, 20 Sep 2001, Miller, James V (CRD) wrote:

> I added two methods to ImageRegion that will help people write their GenerateInputRequestedRegion()
> methods.  These methods allow you to pad a region (for instance by the radius of a kernel) and crop a
> region (for instance by the LargestPossibleRegion).
>  
> You can take a look at the GenerateInputRequestedRegion() methods in NeighborhoodOperatorImageFilter,
> DiscreteGaussianImageFilter, DerivativeImageFilter, and GradientMagnitudeImageFilter so see different
> ways that these convenience methods can be used.
>  
> 
> 
> Jim Miller 
> _____________________________________
> Visualization & Computer Vision
> GE Corporate Research & Development
> Bldg. KW, Room C218B
> P.O. Box 8, Schenectady NY 12301
> 
> millerjv@crd.ge.com < mailto:millerjv@crd.ge.com <mailto:millerjv@crd.ge.com> >
> (518) 387-4005, Dial Comm: 8*833-4005, 
> Cell: (518) 505-7065, Fax: (518) 387-6981 
> 
> 
>  
>