Skip to content
Snippets Groups Projects
Commit 4c886a79 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : test error

parent 50de9528
Branches
Tags
Loading
...@@ -18,14 +18,14 @@ ...@@ -18,14 +18,14 @@
#include "itkExceptionObject.h" #include "itkExceptionObject.h"
#include "otbImage.h" #include "otbImage.h"
#include "otbFunctionWithNeighborhoodToImageFilter.h" #include "otbFunctionWithNeighborhoodToImageFilter.h"
#include "itkVarianceImageFunction.h" #include "otbEnergyTextureImageFunction.h"
int otbFunctionWithNeighborhoodToImageFilterNew(int argc, char * argv[]) int otbFunctionWithNeighborhoodToImageFilterNew(int argc, char * argv[])
{ {
const unsigned int Dimension = 2; const unsigned int Dimension = 2;
typedef double PixelType; typedef double PixelType;
typedef otb::Image<PixelType,Dimension> ImageType; typedef otb::Image<PixelType,Dimension> ImageType;
typedef itk::VarianceImageFunction<ImageType> FunctionType; typedef otb::EnergyTextureImageFunction<ImageType> FunctionType;
typedef otb::FunctionWithNeighborhoodToImageFilter<ImageType, ImageType, FunctionType> FilterType; typedef otb::FunctionWithNeighborhoodToImageFilter<ImageType, ImageType, FunctionType> FilterType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment