From 4c886a79c0c70d8d81dc68c64870d06bc75f2d61 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Fri, 30 Jan 2009 10:43:05 +0100
Subject: [PATCH] ENH : test error

---
 .../otbFunctionWithNeighborhoodToImageFilterNew.cxx           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx
index 306f908d50..94aa6323ec 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;
 
-- 
GitLab