From 1df215432d56cc7c9ce046028af7dea4916fa113 Mon Sep 17 00:00:00 2001 From: Guillaume Borrut <guillaume.borrut@c-s.fr> Date: Tue, 23 Sep 2008 15:39:00 +0000 Subject: [PATCH] BUG. Wrong name --- .../Code/IO/otbImageFileWriterRADComplex.cxx | 56 ------------------- 1 file changed, 56 deletions(-) delete mode 100644 Testing/Code/IO/otbImageFileWriterRADComplex.cxx diff --git a/Testing/Code/IO/otbImageFileWriterRADComplex.cxx b/Testing/Code/IO/otbImageFileWriterRADComplex.cxx deleted file mode 100644 index 25b8d27167..0000000000 --- a/Testing/Code/IO/otbImageFileWriterRADComplex.cxx +++ /dev/null @@ -1,56 +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 - -#include "otbImage.h" -#include "itkExceptionObject.h" -#include <iostream> -#include "otbImageFileReader.h" -#include "otbImageFileWriter.h" -#include "otbExtractROI.h" - -int otbImageFileWriterRADComplex(int argc, char* argv[]) -{ - // Verify the number of parameters in the command line - const char * inputFilename = argv[1]; - const char * outputFilename = argv[2]; - - typedef std::complex<int> PixelType; - const unsigned int Dimension = 2; - - typedef otb::Image< PixelType, Dimension > ImageType; - - typedef otb::ImageFileReader< ImageType > ReaderType; - typedef otb::ImageFileWriter< ImageType > WriterType; - - ReaderType::Pointer complexReader = ReaderType::New(); - WriterType::Pointer complexWriter = WriterType::New(); - - complexReader->SetFileName( inputFilename ); - complexWriter->SetFileName( outputFilename ); - complexWriter->SetInput( complexReader->GetOutput() ); - complexWriter->Update(); - - - - return EXIT_SUCCESS; -} - -- GitLab