[Insight-developers] CastImageFilter

Joshua Cates cates@cs.utah.edu
Thu, 21 Mar 2002 17:18:26 -0700 (MST)


Hi,

Anyone object to modifying itkCastImageFilter so that it is templated over
functor type, with default type Cast?  It seems to have been designed with
this intent.  I'm picturing scenarios where I want to cast an image of RGB
pixels into an image of itk::Vectors.  Be easy enough to subclass Cast to
perform any sort of conversion, or even just use the the adaptor classes
if they are still around.

Josh.

______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@cs.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates