18 #ifndef __itkBSplineControlPointImageFilter_h
19 #define __itkBSplineControlPointImageFilter_h
30 #include "vnl/vnl_matrix.h"
31 #include "vnl/vnl_vector.h"
59 template <
class TInputImage,
class TOutputImage = TInputImage>
74 TInputImage::ImageDimension );
80 typedef typename OutputImageType::PixelType
PixelType;
82 typedef typename OutputImageType::IndexType
IndexType;
83 typedef typename OutputImageType::PointType
PointType;
88 typedef typename OutputImageType::SizeType
SizeType;
132 itkGetConstReferenceMacro( SplineOrder,
ArrayType );
150 itkSetMacro( CloseDimension,
ArrayType );
155 itkGetConstReferenceMacro( CloseDimension,
ArrayType );
215 typename ControlPointLatticeType::Pointer
250 const RealType,
const unsigned int );
290 k[i] = size[ImageDimension-i-1]*k[i-1];
295 index[ImageDimension-i-1]
296 =
static_cast<unsigned int>( number/k[ImageDimension-i-1] );
297 number %= k[ImageDimension-i-1];
306 #ifndef ITK_MANUAL_INSTANTIATION
307 #include "itkBSplineControlPointImageFilter.hxx"