Commit 734aaa43 authored by Thomas Feuvrier's avatar Thomas Feuvrier

Ménage : suppression des #define MAIN, nécessaire avant pour la CAI.

parent 5f007ddd
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkPointSet.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkPointSet.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkHistogram.h"
#include "otbHistogramStatisticsFunction.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkPolyLineParametricPath.h"
#include "otbOrientationPathFunction.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkPolyLineParametricPath.h"
#include "otbOrientationPathFunction.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -20,8 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "otbImage.h"
#include "otbImageFileReader.h"
#include "otbImageFileWriter.h"
......
......@@ -20,8 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "otbImage.h"
#include "otbForwardFourierMellinTransformImageFilter.h"
#include "itkLinearInterpolateImageFunction.h"
......
......@@ -21,8 +21,6 @@
#include "otbImage.h"
#endif
#define MAIN
#include "otbImage.h"
#include "itkImage.h"
#include "otbImageFileReader.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......@@ -40,9 +37,9 @@ int otbLineCorrelationDetector( int argc, char* argv[] )
const char * inputFilename = argv[1];
const char * outputFilename = argv[2];
// Largeur de la ligne detecter = 2*WidthLine+1
// Largeur de la ligne detecter = 2*WidthLine+1
unsigned int WidthLine((unsigned int)::atoi(argv[3]));
// Longueur de la ligne detecter = 2*LengthLine+1
// Longueur de la ligne detecter = 2*LengthLine+1
unsigned int LengthLine((unsigned int)::atoi(argv[4]));
typedef unsigned char InputPixelType;
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......@@ -42,9 +39,9 @@ int otbLineCorrelationDetectorLinear( int argc, char* argv[] )
const char * outputFilename1 = argv[2];
const char * outputFilename2 = argv[3];
// Largeur de la ligne detecter = 2*WidthLine+1
// Largeur de la ligne detecter = 2*WidthLine+1
unsigned int WidthLine((unsigned int)::atoi(argv[4]));
// Longueur de la ligne detecter = 2*LengthLine+1
// Longueur de la ligne detecter = 2*LengthLine+1
unsigned int LengthLine((unsigned int)::atoi(argv[5]));
typedef unsigned char InputPixelType;
......
......@@ -19,9 +19,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -19,9 +19,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......@@ -39,9 +36,9 @@ int otbLineRatioDetector( int argc, char* argv[] )
const char * inputFilename = argv[1];
const char * outputFilename = argv[2];
// Largeur de la ligne detecter = 2*WidthLine+1
// Largeur de la ligne detecter = 2*WidthLine+1
unsigned int WidthLine((unsigned int)::atoi(argv[3]));
// Longueur de la ligne detecter = 2*LengthLine+1
// Longueur de la ligne detecter = 2*LengthLine+1
unsigned int LengthLine((unsigned int)::atoi(argv[4]));
typedef unsigned char InputPixelType;
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -23,7 +23,6 @@
#include "itkExceptionObject.h"
#include <iostream>
#include "otbImage.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include "itkImageFileWriter.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkImage.h"
#include <iostream>
......
......@@ -20,7 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
//#define MAIN
#include "otbCAIImageIO.h"
#include "itkExceptionObject.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
//#define MAIN
#include "otbImage.h"
#include "itkVectorImage.h"
#include "itkExceptionObject.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
//#define MAIN
#include "otbImage.h"
#include "itkExceptionObject.h"
#include <iostream>
......
......@@ -20,7 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
//#define MAIN
#include "itkVectorImage.h"
#include "itkExceptionObject.h"
......
......@@ -20,8 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "otbImage.h"
......
......@@ -20,8 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "otbImage.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "otbImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "otbImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "otbImage.h"
#include <iostream>
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "otbImage.h"
#include <iostream>
......
......@@ -20,8 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkPointSet.h"
......
......@@ -20,9 +20,6 @@
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include "itkExceptionObject.h"
#include "itkPointSet.h"
#include <iostream>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment