[Insight-developers] Bug in itkFEMFiniteDifferenceFunctionLoad.h

Pablo D. Burstein pablob at grasp.cis.upenn.edu
Mon Mar 7 16:52:28 EST 2005


Hi,

I believe there's a bug in itkFEMFiniteDifferenceFunctionLoad.h.

There are the definitions:

typedef  Image<MovingPixelType,itkGetStaticConstMacro(ImageDimension)> 
MovingImageType;
typedef  Image<FixedPixelType,itkGetStaticConstMacro(ImageDimension)> 
FixedImageType;

This prevents the user from using a subclass of Image as a fixed and/or 
moving.

Using

typedef  TMoving MovingImageType;
typedef  TFixed FixedImageType;

instead, should fix this problem.

Regards,
Pablo


More information about the Insight-developers mailing list