diff --git a/Examples/Projections/OrthoRectificationExample.cxx b/Examples/Projections/OrthoRectificationExample.cxx index 5698ac0ef04e9a7f642309fa3d15743059db5a2a..0d4d69d19f70bb09c6adee35dda643a52e5f2927 100644 --- a/Examples/Projections/OrthoRectificationExample.cxx +++ b/Examples/Projections/OrthoRectificationExample.cxx @@ -22,11 +22,10 @@ // iostream is used for general output -#include <iostream> -#include <iterator> -#include <stdlib.h> +// #include <iostream> +// #include <iterator> +// #include <stdlib.h> -#include "otbMacro.h" #include "otbImage.h" #include "otbVectorImage.h" #include "otbImageFileReader.h" @@ -34,8 +33,6 @@ #include "otbPerBandVectorImageFilter.h" -// #include "init/ossimInit.h" - // Software Guide : BeginLatex // // This example demonstrates the use of the @@ -61,9 +58,6 @@ int main( int argc, char* argv[] ) { - - //ossimInit::instance()->initialize(argc, argv); - if(argc!=11) { std::cout << argv[0] <<" <input_filename> <output_filename> <utm zone> <hemisphere N/S> <x_ground_upper_left_corner> <y_ground_upper_left_corner> <x_Size> <y_Size> <x_groundSamplingDistance> <y_groundSamplingDistance> (should be negative since origin is upper left)>" diff --git a/Examples/Projections/SensorModelExample.cxx b/Examples/Projections/SensorModelExample.cxx index d6d4bb7a83dd832e6e444f223df43a1fea0b200a..f262b8235abe6b37ac7916848f0f056ca3f6157f 100644 --- a/Examples/Projections/SensorModelExample.cxx +++ b/Examples/Projections/SensorModelExample.cxx @@ -19,21 +19,12 @@ #pragma warning ( disable : 4786 ) #endif -#include <iostream> -#include <iterator> -#include <stdlib.h> - -#include "otbMacro.h" #include "otbImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -#include "otbStreamingImageFileWriter.h" - -#include "itkExceptionObject.h" #include "itkExtractImageFilter.h" #include "itkRescaleIntensityImageFilter.h" -#include "itkImageRegionIteratorWithIndex.h" #include "itkLinearInterpolateImageFunction.h" // Software Guide : BeginLatex @@ -60,8 +51,6 @@ int main( int argc, char* argv[] ) { -// ossimInit::instance()->initialize(argc, argv);//FIXME : est-ce - //toujours necessaire? if(argc!=8) {