From bcf6cd8e1aa081f9853cb5a13279e266ef763c61 Mon Sep 17 00:00:00 2001 From: Patrick Imbo <patrick.imbo@c-s.fr> Date: Fri, 8 Sep 2006 15:43:26 +0000 Subject: [PATCH] =?UTF-8?q?otbForwardFourierMellinTransformImageFilter=20:?= =?UTF-8?q?=20impl=C3=A9mentation=20de=20la=20classe=20+=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...rdFourierMellinTransformImageFilterNew.cxx | 59 ------------------- 1 file changed, 59 deletions(-) delete mode 100644 Testing/Code/FeatureExtraction/otbForwardFourierMellinTransformImageFilterNew.cxx diff --git a/Testing/Code/FeatureExtraction/otbForwardFourierMellinTransformImageFilterNew.cxx b/Testing/Code/FeatureExtraction/otbForwardFourierMellinTransformImageFilterNew.cxx deleted file mode 100644 index d8e229a57b..0000000000 --- a/Testing/Code/FeatureExtraction/otbForwardFourierMellinTransformImageFilterNew.cxx +++ /dev/null @@ -1,59 +0,0 @@ -/*========================================================================= - - Program: ORFEO Toolbox - Language: C++ - Date: $Date$ - Version: $Revision$ - - - Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. - See OTBCopyright.txt for details. - - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ - -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - -#define MAIN - -#include "otbImage.h" -#include "otbImageFileReader.h" -#include "otbImageFileWriter.h" -#include "otbForwardFourierMellinTransformImageFilter.h" -#include "itkLinearInterpolateImageFunction.h" - -int otbForwardFourierMellinTransformImageFilterNew(int argc, char* argv[]) -{ - - typedef double PixelType; - const unsigned int Dimension = 2; - - typedef otb::Image< PixelType, Dimension > InputImageType; - typedef otb::Image< PixelType, Dimension > OutputImageType; - - typedef itk::LinearInterpolateImageFunction< InputImageType, double > InterpolatorType; - typedef otb::ForwardFourierMellinTransformImageFilter<PixelType, - InterpolatorType,Dimension> FourierMellinTransformType; - try - { - FourierMellinTransformType::Pointer fourierMellinTransform = FourierMellinTransformType::New(); - } - catch( itk::ExceptionObject & err ) - { - std::cerr << "itk::Exception detected: " << err.GetDescription(); - return EXIT_FAILURE; - } - catch( ... ) - { - std::cout << "unknown exception detected !" << std::endl; - return EXIT_FAILURE; - } - - return EXIT_SUCCESS; -} -- GitLab