Skip to content
Snippets Groups Projects
Commit 074f332e authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ITK4: use otb::WarpImageFilter

parent 7955fbf3
Branches
Tags
No related merge requests found
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include "otbImageFileWriter.h" #include "otbImageFileWriter.h"
#include "otbImageFileReader.h" #include "otbImageFileReader.h"
#include "itkRecursiveGaussianImageFilter.h" #include "itkRecursiveGaussianImageFilter.h"
#include "itkWarpImageFilter.h" #include "otbWarpImageFilter.h"
#include "itkMeanReciprocalSquareDifferenceImageToImageMetric.h" #include "itkMeanReciprocalSquareDifferenceImageToImageMetric.h"
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
...@@ -254,7 +254,7 @@ int main(int argc, char** argv) ...@@ -254,7 +254,7 @@ int main(int argc, char** argv)
dfWriter->SetFileName(argv[4]); dfWriter->SetFileName(argv[4]);
dfWriter->Update(); dfWriter->Update();
typedef itk::WarpImageFilter<InputImageType, InputImageType, typedef otb::WarpImageFilter<InputImageType, InputImageType,
DeformationFieldType> WarperType; DeformationFieldType> WarperType;
WarperType::Pointer warper = WarperType::New(); WarperType::Pointer warper = WarperType::New();
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
#include "otbNCCRegistrationFilter.h" #include "otbNCCRegistrationFilter.h"
#include "itkRecursiveGaussianImageFilter.h" #include "itkRecursiveGaussianImageFilter.h"
#include "itkWarpImageFilter.h" #include "otbWarpImageFilter.h"
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
#include "otbImageOfVectorsToMonoChannelExtractROI.h" #include "otbImageOfVectorsToMonoChannelExtractROI.h"
...@@ -210,7 +210,7 @@ int main(int argc, char** argv) ...@@ -210,7 +210,7 @@ int main(int argc, char** argv)
dfWriter->SetFileName(argv[4]); dfWriter->SetFileName(argv[4]);
dfWriter->Update(); dfWriter->Update();
typedef itk::WarpImageFilter<MovingImageType, MovingImageType, typedef otb::WarpImageFilter<MovingImageType, MovingImageType,
DeformationFieldType> WarperType; DeformationFieldType> WarperType;
WarperType::Pointer warper = WarperType::New(); WarperType::Pointer warper = WarperType::New();
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include "itkZeroFluxNeumannBoundaryCondition.h" #include "itkZeroFluxNeumannBoundaryCondition.h"
#include "itkGradientDescentOptimizer.h" #include "itkGradientDescentOptimizer.h"
#include "otbBSplinesInterpolateDeformationFieldGenerator.h" #include "otbBSplinesInterpolateDeformationFieldGenerator.h"
#include "itkWarpImageFilter.h" #include "otbWarpImageFilter.h"
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
#include "otbImage.h" #include "otbImage.h"
...@@ -417,7 +417,7 @@ int main(int argc, char* argv[]) ...@@ -417,7 +417,7 @@ int main(int argc, char* argv[])
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
typedef itk::WarpImageFilter<ImageType, ImageType, typedef otb::WarpImageFilter<ImageType, ImageType,
DeformationFieldType> ImageWarperType; DeformationFieldType> ImageWarperType;
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment