diff --git a/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx b/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx index 880ff3d607ecb2558c2b6779bf65704ad7cb30c1..823122fcbc78f19ae68de4297001e33618f8a03d 100644 --- a/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx +++ b/Modules/Registration/DisplacementField/test/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx @@ -22,11 +22,12 @@ int otbBSplinesInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) []) { - const unsigned int Dimension = 2; + const unsigned int Dimension = 3; typedef double PixelType; - typedef otb::VectorImage<PixelType, Dimension> ImageType; - typedef ImageType::PointType PointType; + typedef otb::VectorImage<PixelType, 2> ImageType; + typedef itk::FixedArray<double, Dimension> PointType; typedef itk::PointSet<PointType, Dimension> PointSetType; + typedef otb::BSplinesInterpolateDisplacementFieldGenerator<PointSetType, ImageType> FilterType; // Instantiating object