diff --git a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx index 306f908d50271077781818a0b7870320dba9a8d2..94aa6323ecdfd2133da2168d48991e847221fbab 100644 --- a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx @@ -18,14 +18,14 @@ #include "itkExceptionObject.h" #include "otbImage.h" #include "otbFunctionWithNeighborhoodToImageFilter.h" -#include "itkVarianceImageFunction.h" +#include "otbEnergyTextureImageFunction.h" int otbFunctionWithNeighborhoodToImageFilterNew(int argc, char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; typedef otb::Image<PixelType,Dimension> ImageType; - typedef itk::VarianceImageFunction<ImageType> FunctionType; + typedef otb::EnergyTextureImageFunction<ImageType> FunctionType; typedef otb::FunctionWithNeighborhoodToImageFilter<ImageType, ImageType, FunctionType> FilterType;