Skip to content
Snippets Groups Projects
Commit cf1a8917 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Replace all occurences of otb::WarpImageFilter by itk::WarpImageFilter,...

ENH: Replace all occurences of otb::WarpImageFilter by itk::WarpImageFilter, as otb::WarpImageFilter is now deprecated
parent ae44bfdb
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@
#include "otbImageFileReader.h"
#include "itkUnaryFunctorImageFilter.h"
#include "itkRecursiveGaussianImageFilter.h"
#include "otbWarpImageFilter.h"
#include "itkWarpImageFilter.h"
#include "itkMeanReciprocalSquareDifferenceImageToImageMetric.h"
// Software Guide : BeginCodeSnippet
......@@ -252,7 +252,7 @@ int main(int argc, char** argv)
dfWriter->SetFileName(argv[4]);
dfWriter->Update();
typedef otb::WarpImageFilter<InputImageType, InputImageType,
typedef itk::WarpImageFilter<InputImageType, InputImageType,
DisplacementFieldType> WarperType;
WarperType::Pointer warper = WarperType::New();
......
......@@ -39,7 +39,7 @@
// Software Guide : BeginCodeSnippet
#include "otbNCCRegistrationFilter.h"
#include "itkRecursiveGaussianImageFilter.h"
#include "otbWarpImageFilter.h"
#include "itkWarpImageFilter.h"
// Software Guide : EndCodeSnippet
#include "otbImageOfVectorsToMonoChannelExtractROI.h"
......@@ -208,7 +208,7 @@ int main(int argc, char** argv)
dfWriter->SetFileName(argv[4]);
dfWriter->Update();
typedef otb::WarpImageFilter<MovingImageType, MovingImageType,
typedef itk::WarpImageFilter<MovingImageType, MovingImageType,
DisplacementFieldType> WarperType;
WarperType::Pointer warper = WarperType::New();
......
......@@ -44,7 +44,7 @@
#include "itkWindowedSincInterpolateImageFunction.h"
#include "itkGradientDescentOptimizer.h"
#include "otbBSplinesInterpolateDisplacementFieldGenerator.h"
#include "otbWarpImageFilter.h"
#include "itkWarpImageFilter.h"
// Software Guide : EndCodeSnippet
#include "otbImageFileReader.h"
......@@ -411,7 +411,7 @@ int main(int argc, char* argv[])
// Software Guide : BeginCodeSnippet
typedef otb::WarpImageFilter<ImageType, ImageType,
typedef itk::WarpImageFilter<ImageType, ImageType,
DisplacementFieldType> ImageWarperType;
// Software Guide : EndCodeSnippet
......
......@@ -18,7 +18,7 @@
#ifndef __otbStreamingWarpImageFilter_h
#define __otbStreamingWarpImageFilter_h
#include "otbWarpImageFilter.h"
#include "itkWarpImageFilter.h"
#include "otbStreamingTraits.h"
namespace otb
......@@ -47,12 +47,12 @@ namespace otb
template <class TInputImage, class TOutputImage, class TDisplacementField>
class ITK_EXPORT StreamingWarpImageFilter
: public otb::WarpImageFilter<TInputImage, TOutputImage, TDisplacementField>
: public itk::WarpImageFilter<TInputImage, TOutputImage, TDisplacementField>
{
public:
/** Standard class typedefs. */
typedef StreamingWarpImageFilter Self;
typedef otb::WarpImageFilter<TInputImage, TOutputImage, TDisplacementField> Superclass;
typedef itk::WarpImageFilter<TInputImage, TOutputImage, TDisplacementField> Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment