diff --git a/Code/Markov/otbMRFEnergy.h b/Code/Markov/otbMRFEnergy.h index f537df29f4f7e87d887711b880b8b20999aa0e4b..8ad4fef5b39fc864306f2119eb6ceef43bcac5e9 100644 --- a/Code/Markov/otbMRFEnergy.h +++ b/Code/Markov/otbMRFEnergy.h @@ -78,7 +78,7 @@ public: this->Modified(); } - virtual double GetSingleValue(const InputImagePixelType& value1, const LabelledImagePixelType& value2) + virtual double GetSingleValue(const InputImagePixelType& itkNotUsed(value1), const LabelledImagePixelType& itkNotUsed(value2)) { itkExceptionMacro(<< "GetSingleValue() has to be declared in child classes."); } @@ -181,7 +181,7 @@ public: this->Modified(); } - virtual double GetSingleValue(const LabelledImagePixelType& value1, const LabelledImagePixelType& value2) + virtual double GetSingleValue(const LabelledImagePixelType& itkNotUsed(value1), const LabelledImagePixelType& itkNotUsed(value2)) { itkExceptionMacro(<< "GetSingleValue() has to be declared in child classes."); } diff --git a/Code/OBIA/otbLabelMapToSampleListFilter.txx b/Code/OBIA/otbLabelMapToSampleListFilter.txx index ad39cfa2ea68d34eafb09336e891c737807140fa..de3694946c8eff410bb140e13827ce1c716b8ecd 100644 --- a/Code/OBIA/otbLabelMapToSampleListFilter.txx +++ b/Code/OBIA/otbLabelMapToSampleListFilter.txx @@ -43,7 +43,7 @@ template <class TInputLabelMap, class TOutputListSample, class TMeasurementFunct typename LabelMapToSampleListFilter<TInputLabelMap,TOutputListSample,TMeasurementFunctor> ::DataObjectPointerType LabelMapToSampleListFilter<TInputLabelMap,TOutputListSample,TMeasurementFunctor> -::MakeOutput(unsigned int idx) +::MakeOutput(unsigned int itkNotUsed(idx)) { DataObjectPointerType output; output = static_cast<itk::DataObject*>(OutputSampleListType::New().GetPointer()); diff --git a/Code/ObjectDetection/otbObjectDetectionClassifier.txx b/Code/ObjectDetection/otbObjectDetectionClassifier.txx index 60ab2c6942ccb7846eea9c4a81225547402364c1..53ae4d9f0cf37ef323239984a9822a77a8c5364e 100644 --- a/Code/ObjectDetection/otbObjectDetectionClassifier.txx +++ b/Code/ObjectDetection/otbObjectDetectionClassifier.txx @@ -245,8 +245,6 @@ PersistentObjectDetectionClassifier<TInputImage, TOutputVectorData, TLabel, TFun SVMModelType* model = static_cast<SVMModelType*>(this->itk::ProcessObject::GetInput(1)); typedef typename RegionType::IndexType IndexType; - typedef typename RegionType::IndexValueType IndexValueType; - IndexType begin = outputRegionForThread.GetIndex(); IndexType end = begin; end[0] += outputRegionForThread.GetSize(0); diff --git a/Testing/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGeneratorTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGeneratorTest.cxx index 6e92a3471079b51c3e22fbb0156eed3cdbe5c56b..53a164c02bff7c00ab818591586acde2422d8049 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGeneratorTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperApplicationHtmlDocGeneratorTest.cxx @@ -23,7 +23,7 @@ #include "otbWrapperApplicationRegistry.h" #include "otbWrapperApplication.h" -int otbWrapperApplicationHtmlDocGeneratorNew(int argc, char* argv[]) +int otbWrapperApplicationHtmlDocGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::ApplicationHtmlDocGenerator DocGeneratorType; DocGeneratorType generator; @@ -31,7 +31,7 @@ int otbWrapperApplicationHtmlDocGeneratorNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbWrapperApplicationHtmlDocGeneratorTest1(int argc, char* argv[]) +int otbWrapperApplicationHtmlDocGeneratorTest1(int argc, char * argv[]) { if (argc != 5) { diff --git a/Testing/Code/ApplicationEngine/otbWrapperApplicationRegistryTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperApplicationRegistryTest.cxx index 355a7c1c6ffb39a3fae701a2aa7b633e42b47c7b..bc080d8261dffecdff4e4f78ca0140f8547871fc 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperApplicationRegistryTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperApplicationRegistryTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperApplicationRegistry.h" -int otbWrapperApplicationRegistry(int argc, char* argv[]) +int otbWrapperApplicationRegistry(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { using otb::Wrapper::ApplicationRegistry; std::vector<std::string> list = ApplicationRegistry::GetAvailableApplications(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperApplicationTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperApplicationTest.cxx index 6e2124fa08f66cbc5747aa20218b615bba7ef350..c53512a0747364a113d844b7e72a9909ecb25e4b 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperApplicationTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperApplicationTest.cxx @@ -21,9 +21,9 @@ #include "otbWrapperApplication.h" -int otbWrapperApplicationNew(int argc, char* argv[]) +int otbWrapperApplicationNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { - typedef otb::Wrapper::Application ApplicationType; +// typedef otb::Wrapper::Application ApplicationType; // ApplicationType application = ApplicationType::New(); return EXIT_SUCCESS; } diff --git a/Testing/Code/ApplicationEngine/otbWrapperChoiceParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperChoiceParameterTest.cxx index c4235679fbb6302a557299edffa7855105baae0e..bd4b80c61a2842b10fdf4283249cea5625fe0d1f 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperChoiceParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperChoiceParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperChoiceParameter.h" -int otbWrapperChoiceParameterNew(int argc, char* argv[]) +int otbWrapperChoiceParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::ChoiceParameter ChoiceParameterType; ChoiceParameterType::Pointer parameter = ChoiceParameterType::New(); @@ -29,7 +29,7 @@ int otbWrapperChoiceParameterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbWrapperChoiceParameterTest1(int argc, char* argv[]) +int otbWrapperChoiceParameterTest1(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { // TODO return EXIT_FAILURE; diff --git a/Testing/Code/ApplicationEngine/otbWrapperDocExampleStructureTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperDocExampleStructureTest.cxx index db6196aa99226c3fa45bf48242882a3d3e208dc7..35d8762dd4b3636f8cfb00c241f5d82b3f6c2be8 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperDocExampleStructureTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperDocExampleStructureTest.cxx @@ -23,7 +23,7 @@ #include "itksys/SystemTools.hxx" #include <fstream> -int otbWrapperDocExampleStructureNew(int argc, char* argv[]) +int otbWrapperDocExampleStructureNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::DocExampleStructure DocExampleStructureType; DocExampleStructureType::Pointer docStruct = DocExampleStructureType::New(); @@ -32,7 +32,7 @@ int otbWrapperDocExampleStructureNew(int argc, char* argv[]) } -int otbWrapperDocExampleStructureTest(int argc, char* argv[]) +int otbWrapperDocExampleStructureTest(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::DocExampleStructure DocExampleStructureType; DocExampleStructureType::Pointer docStruct = DocExampleStructureType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperEmptyParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperEmptyParameterTest.cxx index 240c1a50ddc428b0ad7e58545d37b663bbea5d3e..90ee0529b8d0c493aeeae3463284e8a8220fc92b 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperEmptyParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperEmptyParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperEmptyParameter.h" -int otbWrapperEmptyParameterNew(int argc, char* argv[]) +int otbWrapperEmptyParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::EmptyParameter EmptyParameterType; EmptyParameterType::Pointer parameter = EmptyParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperInputImageListParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperInputImageListParameterTest.cxx index 20f9d3562bf1c31e32302af4b84a7703a709661a..9bff66391f85b90179eb5f7e1436eed8279c38a7 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperInputImageListParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperInputImageListParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperInputImageListParameter.h" -int otbWrapperInputImageListParameterNew(int argc, char* argv[]) +int otbWrapperInputImageListParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::InputImageListParameter ParameterType; ParameterType::Pointer parameter = ParameterType::New(); @@ -30,7 +30,7 @@ int otbWrapperInputImageListParameterNew(int argc, char* argv[]) } -int otbWrapperInputImageListParameterTest1(int argc, char* argv[]) +int otbWrapperInputImageListParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::InputImageListParameter ParameterType; ParameterType::Pointer param = ParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperInputImageParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperInputImageParameterTest.cxx index b738dffb5d339a4617baf0e35127497c84c39b69..139c667c5348caed76d9ff6b67a46c4ad7aabd70 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperInputImageParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperInputImageParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperInputImageParameter.h" -int otbWrapperInputImageParameterNew(int argc, char* argv[]) +int otbWrapperInputImageParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::InputImageParameter InputImageParameterType; InputImageParameterType::Pointer parameter = InputImageParameterType::New(); @@ -29,7 +29,7 @@ int otbWrapperInputImageParameterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbWrapperInputImageParameterTest1(int argc, char* argv[]) +int otbWrapperInputImageParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::InputImageParameter InputImageParameterType; InputImageParameterType::Pointer param = InputImageParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataListParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataListParameterTest.cxx index e5eb4d11e7852656eb849a0f36385e3a660c848c..853b79d9a28fde3ee82be0fabb8c04cf2bb3f5cd 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataListParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataListParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperInputVectorDataListParameter.h" -int otbWrapperInputVectorDataListParameterNew(int argc, char* argv[]) +int otbWrapperInputVectorDataListParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::InputVectorDataListParameter ParameterType; ParameterType::Pointer parameter = ParameterType::New(); @@ -30,7 +30,7 @@ int otbWrapperInputVectorDataListParameterNew(int argc, char* argv[]) } -int otbWrapperInputVectorDataListParameterTest1(int argc, char* argv[]) +int otbWrapperInputVectorDataListParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::InputVectorDataListParameter ParameterType; ParameterType::Pointer param = ParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataParameterTest.cxx index f7cb0e7d299def0224bba0892cc9bc02c330375d..ee2d5199ef562a995882306a365898b4dc73b554 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperInputVectorDataParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperInputVectorDataParameter.h" -int otbWrapperInputVectorDataParameterNew(int argc, char* argv[]) +int otbWrapperInputVectorDataParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::InputVectorDataParameter InputVectorDataParameterType; InputVectorDataParameterType::Pointer parameter = InputVectorDataParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperNumericalParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperNumericalParameterTest.cxx index 589f83ba194df69c4a59f7c42c3ffe9ad9092786..14c7698f378f3b5807b21bc274f269d6ad462149 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperNumericalParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperNumericalParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperNumericalParameter.h" -int otbWrapperNumericalParameterNew(int argc, char* argv[]) +int otbWrapperNumericalParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::NumericalParameter <int> NumericalParameterType; NumericalParameterType::Pointer parameter = NumericalParameterType::New(); @@ -30,7 +30,7 @@ int otbWrapperNumericalParameterNew(int argc, char* argv[]) } -int otbWrapperNumericalParameterTest1(int argc, char* argv[]) +int otbWrapperNumericalParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::NumericalParameter <double> NumericalParameterType; NumericalParameterType::Pointer numParam = NumericalParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperOutputImageParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperOutputImageParameterTest.cxx index f8212889d55177452fe32a0eb080076c6bf1e4a0..46365f4b2eb138d20a6ba4289dc06724b4636794 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperOutputImageParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperOutputImageParameterTest.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbWrapperTypes.h" -int otbWrapperOutputImageParameterNew(int argc, char* argv[]) +int otbWrapperOutputImageParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::OutputImageParameter OutputImageParameterType; OutputImageParameterType::Pointer parameter = OutputImageParameterType::New(); @@ -32,7 +32,7 @@ int otbWrapperOutputImageParameterNew(int argc, char* argv[]) } -int otbWrapperOutputImageParameterTest1(int argc, char* argv[]) +int otbWrapperOutputImageParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::OutputImageParameter OutputImageParameterType; OutputImageParameterType::Pointer param = OutputImageParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperParameterKeyTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperParameterKeyTest.cxx index fa186402619c4038573db3d14a2eeaf7faf126d5..e24df212e6846ed2dbb5764bc46a196610237fb9 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperParameterKeyTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperParameterKeyTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperParameterKey.h" -int otbWrapperParameterKey(int argc, char* argv[]) +int otbWrapperParameterKey(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { std::string theKey = "parent.current.child"; diff --git a/Testing/Code/ApplicationEngine/otbWrapperParameterListTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperParameterListTest.cxx index 412c0fc1e42f3f44c4ab7c71a2d6af5624d04d7c..5d14917b40d3389d20bf30ef226231f1b7664eb8 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperParameterListTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperParameterListTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperParameterGroup.h" -int otbWrapperParameterListNew(int argc, char* argv[]) +int otbWrapperParameterListNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { using otb::Wrapper::ParameterGroup; ParameterGroup::Pointer parameters = ParameterGroup::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperParameterTest.cxx index 146f5dd0e2187bff8d5ad358d06d25d8f6b9917d..2fa2e40ce4d6ff7029f08ad37967034e8015f539 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperParameter.h" -int otbWrapperParameterNew(int argc, char* argv[]) +int otbWrapperParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::Parameter ParameterBaseType; ParameterBaseType::Pointer parameter = ParameterBaseType::New(); @@ -31,7 +31,7 @@ int otbWrapperParameterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbWrapperParameterTest1(int argc, char* argv[]) +int otbWrapperParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::Parameter ParameterBaseType; ParameterBaseType::Pointer parameter = ParameterBaseType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperRAMParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperRAMParameterTest.cxx index cbb8331805f3907222170aed6f52fe3a1d2dae26..b10f0c55f1a03ef899b17552f58915a2ffb1026f 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperRAMParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperRAMParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperRAMParameter.h" -int otbWrapperRAMParameterNew(int argc, char* argv[]) +int otbWrapperRAMParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::RAMParameter RAMParameterType; RAMParameterType::Pointer parameter = RAMParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperStringListParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperStringListParameterTest.cxx index 93300b325467c1c9a1d6d8547840d26c035c69d6..b7d234e36a1c4c347230d337fdc4f9a6dc8691a5 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperStringListParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperStringListParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperStringListParameter.h" -int otbWrapperStringListParameterNew(int argc, char* argv[]) +int otbWrapperStringListParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::StringListParameter StringListParameterType; StringListParameterType::Pointer parameter = StringListParameterType::New(); @@ -30,7 +30,7 @@ int otbWrapperStringListParameterNew(int argc, char* argv[]) } -int otbWrapperStringListParameterTest1(int argc, char* argv[]) +int otbWrapperStringListParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::StringListParameter StringListParameterType; StringListParameterType::Pointer numParam = StringListParameterType::New(); diff --git a/Testing/Code/ApplicationEngine/otbWrapperStringParameterTest.cxx b/Testing/Code/ApplicationEngine/otbWrapperStringParameterTest.cxx index 71dd9a5f23bd1ee7c53601e91ea444182b29e895..7ea5c5a579d0f85e202878e250c308342090d919 100644 --- a/Testing/Code/ApplicationEngine/otbWrapperStringParameterTest.cxx +++ b/Testing/Code/ApplicationEngine/otbWrapperStringParameterTest.cxx @@ -21,7 +21,7 @@ #include "otbWrapperStringParameter.h" -int otbWrapperStringParameterNew(int argc, char* argv[]) +int otbWrapperStringParameterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Wrapper::StringParameter StringParameterType; StringParameterType::Pointer parameter = StringParameterType::New(); @@ -30,7 +30,7 @@ int otbWrapperStringParameterNew(int argc, char* argv[]) } -int otbWrapperStringParameterTest1(int argc, char* argv[]) +int otbWrapperStringParameterTest1(int itkNotUsed(argc), char* argv[]) { typedef otb::Wrapper::StringParameter StringParameterType; StringParameterType::Pointer numParam = StringParameterType::New(); diff --git a/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx b/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx index ee694b90f8063fb835f9924ed95b78581c4d6aac..299198e4b003ecdd212c37a23d20e05e01ad954a 100644 --- a/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx @@ -24,6 +24,7 @@ int otbImageToPointSetFilterTest(int itkNotUsed(argc), char * itkNotUsed(argv) []) { +/* const unsigned int Dimension = 2; typedef unsigned char PixelType; @@ -32,6 +33,6 @@ int otbImageToPointSetFilterTest(int itkNotUsed(argc), char * itkNotUsed(argv) [ typedef itk::PointSet<PixelType, Dimension> PointSetType; //FunctionType::Pointer function = FunctionType::New(); - +*/ return EXIT_SUCCESS; } diff --git a/Testing/Code/ChangeDetection/otbKullbackLeiblerDistanceImageFilterNew.cxx b/Testing/Code/ChangeDetection/otbKullbackLeiblerDistanceImageFilterNew.cxx index 5b59713f6123e6fa5b10bfdbc6f2b6bd0e98abac..bdb49da86df068b2edea85c6a86d297566016277 100644 --- a/Testing/Code/ChangeDetection/otbKullbackLeiblerDistanceImageFilterNew.cxx +++ b/Testing/Code/ChangeDetection/otbKullbackLeiblerDistanceImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbImage.h" #include "otbKullbackLeiblerDistanceImageFilter.h" -int otbKullbackLeiblerDistanceImageFilterNew(int argc, char * argv[]) +int otbKullbackLeiblerDistanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilterNew.cxx b/Testing/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilterNew.cxx index 71406cab6d769eb959f8f0c60953aa868296ebc4..94ab041c859fba15d4635f096dd9e1b5b094e30f 100644 --- a/Testing/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilterNew.cxx +++ b/Testing/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbKullbackLeiblerProfileImageFilter.h" -int otbKullbackLeiblerProfileImageFilterNew(int argc, char * argv[]) +int otbKullbackLeiblerProfileImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/ChangeDetection/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx b/Testing/Code/ChangeDetection/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx index 375336c66c926eca0cb1adaddee7d641184586f7..262c0b9e28606dde5eb880f3c3d08b0ac85a17b7 100644 --- a/Testing/Code/ChangeDetection/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx +++ b/Testing/Code/ChangeDetection/otbKullbackLeiblerSupervizedDistanceImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbImage.h" #include "otbKullbackLeiblerSupervizedDistanceImageFilter.h" -int otbKullbackLeiblerSupervizedDistanceImageFilterNew(int argc, char * argv[]) +int otbKullbackLeiblerSupervizedDistanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/ChangeDetection/otbMultivariateAlterationDetectorImageFilter.cxx b/Testing/Code/ChangeDetection/otbMultivariateAlterationDetectorImageFilter.cxx index 7e63c50faabeab58e9a5575125ac05f346f06e45..71b6be213c644e728dcdcca89eb565c2809c145d 100644 --- a/Testing/Code/ChangeDetection/otbMultivariateAlterationDetectorImageFilter.cxx +++ b/Testing/Code/ChangeDetection/otbMultivariateAlterationDetectorImageFilter.cxx @@ -27,7 +27,7 @@ typedef otb::ImageFileWriter<OutputImageType> WriterType; typedef otb::MultivariateAlterationDetectorImageFilter<ImageType, OutputImageType> MADFilterType; -int otbMultivariateAlterationDetectorImageFilterNew(int argc, char* argv[]) +int otbMultivariateAlterationDetectorImageFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { MADFilterType::Pointer madFilter = MADFilterType::New(); @@ -35,7 +35,7 @@ int otbMultivariateAlterationDetectorImageFilterNew(int argc, char* argv[]) } -int otbMultivariateAlterationDetectorImageFilter(int argc, char* argv[]) +int otbMultivariateAlterationDetectorImageFilter(int itkNotUsed(argc), char* argv[]) { char * infname1 = argv[1]; char * infname2 = argv[2]; diff --git a/Testing/Code/Fusion/otbBayesianFusionFilter.cxx b/Testing/Code/Fusion/otbBayesianFusionFilter.cxx index ac0bebac694aa2067073ca7ca8098f4df17f9679..c8ecd71c7cbda7db43f83f1c3dbd2a0c38c5f6fb 100644 --- a/Testing/Code/Fusion/otbBayesianFusionFilter.cxx +++ b/Testing/Code/Fusion/otbBayesianFusionFilter.cxx @@ -24,7 +24,7 @@ #include "otbBayesianFusionFilter.h" -int otbBayesianFusionFilter(int argc, char * argv[]) +int otbBayesianFusionFilter(int itkNotUsed(argc), char * argv[]) { const char * multispect = argv[1]; const char * multispectinterp = argv[2]; diff --git a/Testing/Code/Fusion/otbBayesianFusionFilterNew.cxx b/Testing/Code/Fusion/otbBayesianFusionFilterNew.cxx index 7fccdd1d72d6c1d722cb6692ca347bd86237b038..529f6a44fba6e807d90742a9788d8e71fa9cf4d1 100644 --- a/Testing/Code/Fusion/otbBayesianFusionFilterNew.cxx +++ b/Testing/Code/Fusion/otbBayesianFusionFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbBayesianFusionFilter.h" -int otbBayesianFusionFilterNew(int argc, char * argv[]) +int otbBayesianFusionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Fusion/otbFusionImageBaseNew.cxx b/Testing/Code/Fusion/otbFusionImageBaseNew.cxx index 88c7d0e9d65dc6a2f20df1022087691f15d18e1b..d51ec9bb6231302d17615800b238ad7b71353308 100644 --- a/Testing/Code/Fusion/otbFusionImageBaseNew.cxx +++ b/Testing/Code/Fusion/otbFusionImageBaseNew.cxx @@ -38,7 +38,7 @@ public: }; } -int otbFusionImageBaseNew(int argc, char * argv[]) +int otbFusionImageBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilter.cxx b/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilter.cxx index 3e48ca2297837415d76bad5dc870d9c6106bee71..8ae09e7db184cbc3979e966cf8aa755383f4bcb2 100644 --- a/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilter.cxx +++ b/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbLmvmPanSharpeningFusionImageFilter.h" -int otbLmvmPanSharpeningFusionImageFilter(int argc, char * argv[]) +int otbLmvmPanSharpeningFusionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * panchro = argv[1]; const char * multispect = argv[2]; diff --git a/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilterNew.cxx b/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilterNew.cxx index d31b5145de1ce671c1d6d2232d87dd8491344c6f..702ed170a1d895056ea9760c15770770393111fd 100644 --- a/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilterNew.cxx +++ b/Testing/Code/Fusion/otbLmvmPanSharpeningFusionImageFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbLmvmPanSharpeningFusionImageFilter.h" -int otbLmvmPanSharpeningFusionImageFilterNew(int argc, char * argv[]) +int otbLmvmPanSharpeningFusionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilter.cxx b/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilter.cxx index 66594ae45b79122943f71e6bffd4066fdc0bd851..4f36618cbdac788377159ab77fb48f9ca1a16fc9 100644 --- a/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilter.cxx +++ b/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbSimpleRcsPanSharpeningFusionImageFilter.h" -int otbSimpleRcsPanSharpeningFusionImageFilter(int argc, char * argv[]) +int otbSimpleRcsPanSharpeningFusionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * panchro = argv[1]; const char * multispect = argv[2]; diff --git a/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx b/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx index 8361846ecbb97ad17717fa10a71451303baa7f0e..d4857aa98e30fc33636ed39be36b03adc715a0ff 100644 --- a/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx +++ b/Testing/Code/Fusion/otbSimpleRcsPanSharpeningFusionImageFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbSimpleRcsPanSharpeningFusionImageFilter.h" -int otbSimpleRcsPanSharpeningFusionImageFilterNew(int argc, char * argv[]) +int otbSimpleRcsPanSharpeningFusionImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Fuzzy/otbConfusionMatrixToMassOfBeliefTest.cxx b/Testing/Code/Fuzzy/otbConfusionMatrixToMassOfBeliefTest.cxx index 592eb7921becf07bddca09a81428810e3782805f..64ec90f92d362706e2b8da6f39b98cb6f2c1438a 100644 --- a/Testing/Code/Fuzzy/otbConfusionMatrixToMassOfBeliefTest.cxx +++ b/Testing/Code/Fuzzy/otbConfusionMatrixToMassOfBeliefTest.cxx @@ -20,7 +20,7 @@ #include "otbConfusionMatrixToMassOfBelief.h" -int otbConfusionMatrixToMassOfBeliefNew(int argc, char* argv[]) +int otbConfusionMatrixToMassOfBeliefNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef unsigned long ConfusionMatrixEltType; typedef itk::VariableSizeMatrix<ConfusionMatrixEltType> ConfusionMatrixType; @@ -51,7 +51,7 @@ int otbConfusionMatrixToMassOfBeliefNew(int argc, char* argv[]) } -int otbConfusionMatrixToMassOfBeliefTest(int argc, char* argv[]) +int otbConfusionMatrixToMassOfBeliefTest(int itkNotUsed(argc), char* argv[]) { typedef unsigned long ConfusionMatrixEltType; typedef itk::VariableSizeMatrix<ConfusionMatrixEltType> ConfusionMatrixType; diff --git a/Testing/Code/Fuzzy/otbDSFusionOfClassifiersImageFilterTest.cxx b/Testing/Code/Fuzzy/otbDSFusionOfClassifiersImageFilterTest.cxx index dc9d05cf7d08709a3d68d3ec8b6c88acfc384b5d..6ee1de92a317ec4091a616f464c49717cb473797 100644 --- a/Testing/Code/Fuzzy/otbDSFusionOfClassifiersImageFilterTest.cxx +++ b/Testing/Code/Fuzzy/otbDSFusionOfClassifiersImageFilterTest.cxx @@ -157,7 +157,7 @@ int CSVConfusionMatrixFileReader(const std::string fileName, MapOfClassesType &m -int otbDSFusionOfClassifiersImageFilterNew(int argc, char* argv[]) +int otbDSFusionOfClassifiersImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/Fuzzy/otbDempsterShaferFusionTests.cxx b/Testing/Code/Fuzzy/otbDempsterShaferFusionTests.cxx index 34aadb9b5329a669a021485a7f736185f0e8d5d3..034ae245c43adb899d4457034ceb5072843c8c30 100644 --- a/Testing/Code/Fuzzy/otbDempsterShaferFusionTests.cxx +++ b/Testing/Code/Fuzzy/otbDempsterShaferFusionTests.cxx @@ -183,7 +183,7 @@ int CSVConfusionMatrixFileReader(const std::string fileName, MapOfClassesType &m // OPTIMIZED RECURSIVE DS FUSION WITH CONFUSION MATRICES -int otbDempsterShaferFusionOptRecConfMatTest(int argc, char * argv[]) +int otbDempsterShaferFusionOptRecConfMatTest(int itkNotUsed(argc), char * argv[]) { unsigned int nbClassifiers = 6; diff --git a/Testing/Code/Fuzzy/otbFuzzyDescriptorsModelManager.cxx b/Testing/Code/Fuzzy/otbFuzzyDescriptorsModelManager.cxx index dc1463022c5cf4b6213b5636265e177ea48d4224..afb6bec89608f3e9de4d0ffe7e703ea41f67eb78 100644 --- a/Testing/Code/Fuzzy/otbFuzzyDescriptorsModelManager.cxx +++ b/Testing/Code/Fuzzy/otbFuzzyDescriptorsModelManager.cxx @@ -20,16 +20,16 @@ #include "otbFuzzyDescriptorsModelManager.h" #include <iostream> #include <stdlib.h> +#include "itkMacro.h" - -int otbFuzzyDescriptorsModelManagerNew(int argc, char* argv[]) +int otbFuzzyDescriptorsModelManagerNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { otb::FuzzyDescriptorsModelManager mng; return EXIT_SUCCESS; } -int otbFuzzyDescriptorsModelManagerTest(int argc, char* argv[]) +int otbFuzzyDescriptorsModelManagerTest(int itkNotUsed(argc), char* argv[]) { otb::FuzzyDescriptorsModelManager::DescriptorsModelType model; otb::FuzzyDescriptorsModelManager::ParameterType param; diff --git a/Testing/Code/Fuzzy/otbFuzzyVariable2Values.cxx b/Testing/Code/Fuzzy/otbFuzzyVariable2Values.cxx index 61cb2c12f65bf1bbe4f580ccd5e16eaae4818b99..d11dfae992da79aaae61f41d81cd548ffb40b766 100644 --- a/Testing/Code/Fuzzy/otbFuzzyVariable2Values.cxx +++ b/Testing/Code/Fuzzy/otbFuzzyVariable2Values.cxx @@ -19,7 +19,7 @@ #include "otbFuzzyVariable.h" -int otbFuzzyVariable2Values(int argc, char* argv[]) +int otbFuzzyVariable2Values(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float PrecisionType; diff --git a/Testing/Code/Fuzzy/otbFuzzyVariableDSApplied.cxx b/Testing/Code/Fuzzy/otbFuzzyVariableDSApplied.cxx index 958a8203aabb4741a590029b01a7b8c00d6193fd..fe1c8a0ce4d2e9f1a4e5d5498b07a8fff5133c82 100644 --- a/Testing/Code/Fuzzy/otbFuzzyVariableDSApplied.cxx +++ b/Testing/Code/Fuzzy/otbFuzzyVariableDSApplied.cxx @@ -19,7 +19,7 @@ #include "otbFuzzyVariable.h" -int otbFuzzyVariableDSApplied(int argc, char* argv[]) +int otbFuzzyVariableDSApplied(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef float PrecisionType; diff --git a/Testing/Code/Fuzzy/otbFuzzyVariableGetMaxVar.cxx b/Testing/Code/Fuzzy/otbFuzzyVariableGetMaxVar.cxx index 1ec2c081fc6504131bb4175dbacf269f1d98681d..24643060af06e590676fbcc210a4603253af68ec 100644 --- a/Testing/Code/Fuzzy/otbFuzzyVariableGetMaxVar.cxx +++ b/Testing/Code/Fuzzy/otbFuzzyVariableGetMaxVar.cxx @@ -19,7 +19,7 @@ #include "otbFuzzyVariable.h" -int otbFuzzyVariableGetMaxVar(int argc, char* argv[]) +int otbFuzzyVariableGetMaxVar(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float PrecisionType; typedef otb::FuzzyVariable<std::string, PrecisionType> FuzzyVarType; diff --git a/Testing/Code/Fuzzy/otbFuzzyVariableNew.cxx b/Testing/Code/Fuzzy/otbFuzzyVariableNew.cxx index 43ac7d2367d2006eeddfa461a1b4ea94df027252..e349fd08f8eec50b8cf735703565daf16a8bc2af 100644 --- a/Testing/Code/Fuzzy/otbFuzzyVariableNew.cxx +++ b/Testing/Code/Fuzzy/otbFuzzyVariableNew.cxx @@ -19,7 +19,7 @@ #include "otbFuzzyVariable.h" -int otbFuzzyVariableNew(int argc, char* argv[]) +int otbFuzzyVariableNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float PrecisionType; typedef unsigned short LabelType; diff --git a/Testing/Code/Fuzzy/otbFuzzyVariableSetValue.cxx b/Testing/Code/Fuzzy/otbFuzzyVariableSetValue.cxx index fdaa6eca6a12d755538b1283872c24cdf82ef8c8..d823958d2ca75d91cd2764c46b843ee5e952e4c2 100644 --- a/Testing/Code/Fuzzy/otbFuzzyVariableSetValue.cxx +++ b/Testing/Code/Fuzzy/otbFuzzyVariableSetValue.cxx @@ -19,7 +19,7 @@ #include "otbFuzzyVariable.h" -int otbFuzzyVariableSetValue(int argc, char* argv[]) +int otbFuzzyVariableSetValue(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float PrecisionType; typedef otb::FuzzyVariable<std::string, PrecisionType> FuzzyVarType; diff --git a/Testing/Code/Fuzzy/otbJointMassOfBeliefFilter.cxx b/Testing/Code/Fuzzy/otbJointMassOfBeliefFilter.cxx index 62a47d30b2e3a221b27974f1eaea44c6c24acaad..a26802c1c327b844e0373132d867bd7c89d12a39 100644 --- a/Testing/Code/Fuzzy/otbJointMassOfBeliefFilter.cxx +++ b/Testing/Code/Fuzzy/otbJointMassOfBeliefFilter.cxx @@ -21,7 +21,7 @@ #include "otbJointMassOfBeliefFilter.h" #include "otbMath.h" -int otbJointMassOfBeliefFilter(int argc, char* argv[]) +int otbJointMassOfBeliefFilter(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::MassOfBelief<std::string> MassOfBeliefFunctionType; typedef otb::JointMassOfBeliefFilter<MassOfBeliefFunctionType> JointMassOfBeliefFilterType; @@ -111,7 +111,7 @@ int otbJointMassOfBeliefFilter(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbJointMassOfBeliefFilterLimit(int argc, char* argv[]) +int otbJointMassOfBeliefFilterLimit(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::MassOfBelief<std::string> MassOfBeliefFunctionType; typedef otb::JointMassOfBeliefFilter<MassOfBeliefFunctionType> JointMassOfBeliefFilterType; diff --git a/Testing/Code/Fuzzy/otbMassOfBelief.cxx b/Testing/Code/Fuzzy/otbMassOfBelief.cxx index 6215fddb04c3f6b98f1385f66a9babe255c816ef..e8eb7f9887757cad10857794c8a4a154e7229f77 100644 --- a/Testing/Code/Fuzzy/otbMassOfBelief.cxx +++ b/Testing/Code/Fuzzy/otbMassOfBelief.cxx @@ -27,7 +27,7 @@ std::ostream& operator <<(std::ostream& os, const MassOfBeliefFunctionType::Labe return os; } -int otbMassOfBelief(int argc, char* argv[]) +int otbMassOfBelief(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { // Instantiate function MassOfBeliefFunctionType::Pointer massFunction = MassOfBeliefFunctionType::New(); diff --git a/Testing/Code/Fuzzy/otbMassOfBeliefDSApplied.cxx b/Testing/Code/Fuzzy/otbMassOfBeliefDSApplied.cxx index a97688a5b29d7a886c06a41e9871f27be5abec72..c3e76fa095daa230a9bb506846dbe64de0b715bc 100644 --- a/Testing/Code/Fuzzy/otbMassOfBeliefDSApplied.cxx +++ b/Testing/Code/Fuzzy/otbMassOfBeliefDSApplied.cxx @@ -36,7 +36,7 @@ std::ostream& operator <<(std::ostream& os, const MassOfBeliefFunctionType::Labe return os; } -int otbMassOfBeliefDSApplied(int argc, char* argv[]) +int otbMassOfBeliefDSApplied(int itkNotUsed(argc), char* argv[]) { const char * hyp_1 = argv[1]; const char * hyp_2 = argv[2]; diff --git a/Testing/Code/Fuzzy/otbStandardDSCostFunction.cxx b/Testing/Code/Fuzzy/otbStandardDSCostFunction.cxx index b86046b680a889a5667d9220eff769781e49718f..172a1650e269efc7f558f459ae88a5d856894d23 100644 --- a/Testing/Code/Fuzzy/otbStandardDSCostFunction.cxx +++ b/Testing/Code/Fuzzy/otbStandardDSCostFunction.cxx @@ -22,7 +22,7 @@ #include "otbVectorData.h" #include "otbVectorDataToDSValidatedVectorDataFilter.h" -int otbStandardDSCostFunctionNew(int argc, char* argv[]) +int otbStandardDSCostFunctionNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PrecisionType; typedef otb::VectorData<PrecisionType> VectorDataType; diff --git a/Testing/Code/Fuzzy/otbVectorDataToDSValidatedVectorDataFilter.cxx b/Testing/Code/Fuzzy/otbVectorDataToDSValidatedVectorDataFilter.cxx index 95cfc55fb7ba16dd9d1f1dc37060394002d315e3..6dff2be2faa62bce38063be90f9c36127df98fed 100644 --- a/Testing/Code/Fuzzy/otbVectorDataToDSValidatedVectorDataFilter.cxx +++ b/Testing/Code/Fuzzy/otbVectorDataToDSValidatedVectorDataFilter.cxx @@ -25,7 +25,7 @@ #include "otbVectorDataFileWriter.h" #include "otbFuzzyDescriptorsModelManager.h" -int otbVectorDataToDSValidatedVectorDataFilterNew(int argc, char* argv[]) +int otbVectorDataToDSValidatedVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float PrecisionType; typedef otb::VectorData<PrecisionType> VectorDataType; @@ -41,7 +41,7 @@ int otbVectorDataToDSValidatedVectorDataFilterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbVectorDataToDSValidatedVectorDataFilter(int argc, char* argv[]) +int otbVectorDataToDSValidatedVectorDataFilter(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * outputVD = argv[2]; diff --git a/Testing/Code/Fuzzy/otbVectorDataToRoadDescriptionFilter.cxx b/Testing/Code/Fuzzy/otbVectorDataToRoadDescriptionFilter.cxx index 0c045c58b787ee5c9939d7d9142b98e5fb9d6f9c..fba3067a1fce7f1417d21e5a9e8bc157cbf8e4e6 100644 --- a/Testing/Code/Fuzzy/otbVectorDataToRoadDescriptionFilter.cxx +++ b/Testing/Code/Fuzzy/otbVectorDataToRoadDescriptionFilter.cxx @@ -34,7 +34,7 @@ -int otbVectorDataToRoadDescriptionFilterNew(int argc, char* argv[]) +int otbVectorDataToRoadDescriptionFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PrecisionType; typedef otb::VectorData<PrecisionType> VectorDataType; @@ -51,7 +51,7 @@ int otbVectorDataToRoadDescriptionFilterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbVectorDataToRoadDescriptionFilter(int argc, char* argv[]) +int otbVectorDataToRoadDescriptionFilter(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * inputImg = argv[2]; diff --git a/Testing/Code/Fuzzy/otbVectorDataToSpecificDescriptionFilterBase.cxx b/Testing/Code/Fuzzy/otbVectorDataToSpecificDescriptionFilterBase.cxx index c49fa45490eaade4af66affc245e7341d01b0c18..e5e1d7c4e1543d04704d72cfe8783da303bd6cf6 100644 --- a/Testing/Code/Fuzzy/otbVectorDataToSpecificDescriptionFilterBase.cxx +++ b/Testing/Code/Fuzzy/otbVectorDataToSpecificDescriptionFilterBase.cxx @@ -21,7 +21,7 @@ #include "otbVectorData.h" -int otbVectorDataToSpecificDescriptionFilterBaseNew(int argc, char* argv[]) +int otbVectorDataToSpecificDescriptionFilterBaseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float PrecisionType; typedef otb::VectorData<PrecisionType> VectorDataType; diff --git a/Testing/Code/Hyperspectral/otbEigenvalueLikelihoodMaximization.cxx b/Testing/Code/Hyperspectral/otbEigenvalueLikelihoodMaximization.cxx index c3a06a2ee33c7eaf8cdc03fa0338d0c6e2dcb4b9..62f2a53fcc1319eb033da5d04c1a2dfdeba7b6f8 100644 --- a/Testing/Code/Hyperspectral/otbEigenvalueLikelihoodMaximization.cxx +++ b/Testing/Code/Hyperspectral/otbEigenvalueLikelihoodMaximization.cxx @@ -30,7 +30,7 @@ typedef otb::StreamingStatisticsVectorImageFilter<ImageType> StreamingStatistics typedef otb::EigenvalueLikelihoodMaximisation<double> ELMType; -int otbEigenvalueLikelihoodMaximizationNewTest(int argc, char * argv[]) +int otbEigenvalueLikelihoodMaximizationNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { ELMType::Pointer elm = ELMType::New(); std::cout << elm << std::endl; @@ -38,7 +38,7 @@ int otbEigenvalueLikelihoodMaximizationNewTest(int argc, char * argv[]) } -int otbEigenvalueLikelihoodMaximizationTest(int argc, char * argv[]) +int otbEigenvalueLikelihoodMaximizationTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/Hyperspectral/otbFullyConstrainedLeastSquareImageFilter.cxx b/Testing/Code/Hyperspectral/otbFullyConstrainedLeastSquareImageFilter.cxx index e30ec5f025a0ed9ced2d17f71926913ab44ffa3b..16e4322e9ce4e145981a4d3328b0013d8b573394 100644 --- a/Testing/Code/Hyperspectral/otbFullyConstrainedLeastSquareImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbFullyConstrainedLeastSquareImageFilter.cxx @@ -32,14 +32,14 @@ typedef otb::FullyConstrainedLeastSquareImageFilter<ImageType, ImageType, double typedef otb::VectorImageToMatrixImageFilter<ImageType> VectorImageToMatrixImageFilterType; typedef otb::ImageFileWriter<ImageType> WriterType; -int otbFullyConstrainedLeastSquareImageFilterNewTest(int argc, char * argv[]) +int otbFullyConstrainedLeastSquareImageFilterNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { FullyConstrainedLeastSquareSolverType::Pointer filter = FullyConstrainedLeastSquareSolverType::New(); std::cout << filter << std::endl; return EXIT_SUCCESS; } -int otbFullyConstrainedLeastSquareImageFilterTest(int argc, char * argv[]) +int otbFullyConstrainedLeastSquareImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * inputEndmembers = argv[2]; diff --git a/Testing/Code/Hyperspectral/otbISRAUnmixingImageFilter.cxx b/Testing/Code/Hyperspectral/otbISRAUnmixingImageFilter.cxx index 0928115176520feb10af269ae59adeac56d2959d..6ddfb27327ae730359e31d357ee6c909bbb65851 100644 --- a/Testing/Code/Hyperspectral/otbISRAUnmixingImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbISRAUnmixingImageFilter.cxx @@ -32,14 +32,14 @@ typedef otb::ISRAUnmixingImageFilter<ImageType, ImageType, PixelType> UnmixingIm typedef otb::VectorImageToMatrixImageFilter<ImageType> VectorImageToMatrixImageFilterType; typedef otb::ImageFileWriter<ImageType> WriterType; -int otbISRAUnmixingImageFilterNewTest(int argc, char * argv[]) +int otbISRAUnmixingImageFilterNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { UnmixingImageFilterType::Pointer filter = UnmixingImageFilterType::New(); std::cout << filter << std::endl; return EXIT_SUCCESS; } -int otbISRAUnmixingImageFilterTest(int argc, char * argv[]) +int otbISRAUnmixingImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * inputEndmembers = argv[2]; diff --git a/Testing/Code/Hyperspectral/otbLocalRxDetectorRoiTest.cxx b/Testing/Code/Hyperspectral/otbLocalRxDetectorRoiTest.cxx index 6931a3ba0583980e1355e1880346d938d249aeac..8ef6581e87e6cf072632a736d08e26459460c2bb 100644 --- a/Testing/Code/Hyperspectral/otbLocalRxDetectorRoiTest.cxx +++ b/Testing/Code/Hyperspectral/otbLocalRxDetectorRoiTest.cxx @@ -7,7 +7,7 @@ #include "otbExtractROI.h" -int LocalRXDetectorROITest(int argc, char * argv[]) +int LocalRXDetectorROITest(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> VectorImageType; @@ -74,5 +74,3 @@ int LocalRXDetectorROITest(int argc, char * argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Hyperspectral/otbLocalRxDetectorTest.cxx b/Testing/Code/Hyperspectral/otbLocalRxDetectorTest.cxx index bbeb0338dbd7383e746f19a7e645090ee25dbd1f..80936763014a6ae1d647913abd64f129bbc63d72 100644 --- a/Testing/Code/Hyperspectral/otbLocalRxDetectorTest.cxx +++ b/Testing/Code/Hyperspectral/otbLocalRxDetectorTest.cxx @@ -5,7 +5,7 @@ #include "otbLocalRxDetectorFilter.h" #include "itkRescaleIntensityImageFilter.h" -int LocalRXDetectorNewTest(int argc, char * argv[]) +int LocalRXDetectorNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> VectorImageType; @@ -16,7 +16,7 @@ int LocalRXDetectorNewTest(int argc, char * argv[]) return EXIT_SUCCESS; } -int LocalRXDetectorTest(int argc, char * argv[]) +int LocalRXDetectorTest(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> VectorImageType; @@ -62,5 +62,3 @@ int LocalRXDetectorTest(int argc, char * argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Hyperspectral/otbMDMDNMFImageFilter.cxx b/Testing/Code/Hyperspectral/otbMDMDNMFImageFilter.cxx index eb45cb2d006817af2a33628b5aaf625065bb5246..b80e069d3d5f10517e4daa1f5681a35ed05adde5 100644 --- a/Testing/Code/Hyperspectral/otbMDMDNMFImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbMDMDNMFImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbVectorImageToMatrixImageFilter.h" #include "otbStandardWriterWatcher.h" -int otbMDMDNMFImageFilterNewTest(int argc, char * argv[]) +int otbMDMDNMFImageFilterNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> VectorImageType; @@ -32,7 +32,7 @@ int otbMDMDNMFImageFilterNewTest(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbMDMDNMFImageFilterTest(int argc, char * argv[]) +int otbMDMDNMFImageFilterTest(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> ImageType; @@ -72,7 +72,7 @@ int otbMDMDNMFImageFilterTest(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbMDMDNMFImageFilterTest2(int argc, char * argv[]) +int otbMDMDNMFImageFilterTest2(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> ImageType; diff --git a/Testing/Code/Hyperspectral/otbNCLSUnmixingImageFilter.cxx b/Testing/Code/Hyperspectral/otbNCLSUnmixingImageFilter.cxx index d97e73ec4d24a2d994fce81dfc236cac16c5ab5b..4ade2a1b4a32e9246093df25d386894bfb8e1877 100644 --- a/Testing/Code/Hyperspectral/otbNCLSUnmixingImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbNCLSUnmixingImageFilter.cxx @@ -32,14 +32,14 @@ typedef otb::NCLSUnmixingImageFilter<ImageType, ImageType, PixelType> UnmixingIm typedef otb::VectorImageToMatrixImageFilter<ImageType> VectorImageToMatrixImageFilterType; typedef otb::ImageFileWriter<ImageType> WriterType; -int otbNCLSUnmixingImageFilterNewTest(int argc, char * argv[]) +int otbNCLSUnmixingImageFilterNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { UnmixingImageFilterType::Pointer filter = UnmixingImageFilterType::New(); std::cout << filter << std::endl; return EXIT_SUCCESS; } -int otbNCLSUnmixingImageFilterTest(int argc, char * argv[]) +int otbNCLSUnmixingImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * inputEndmembers = argv[2]; diff --git a/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilter.cxx b/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilter.cxx index fecc1e7f3eccebb4f72c4f3eee582098f8b4640b..d467cb60deae79f22d50f7abb9e4d2ed0af35ed5 100644 --- a/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilter.cxx @@ -112,5 +112,3 @@ int otbSparseUnmixingImageFilterTest ( int argc, char * argv[] ) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilterNew.cxx b/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilterNew.cxx index fd5a0a1c6a7fa5c12d60723663d5cf6af3f498f0..da9c3c769a5b096caa6234b2dd6d576eb1848e0a 100644 --- a/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilterNew.cxx +++ b/Testing/Code/Hyperspectral/otbSparseUnmixingImageFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbSparseUnmixingImageFilter.h" -int otbSparseUnmixingImageFilterNew ( int argc, char * argv[] ) +int otbSparseUnmixingImageFilterNew ( int itkNotUsed(argc), char * itkNotUsed(argv)[]) { // number of images to consider const unsigned int nbInputImages = 2; @@ -37,5 +37,3 @@ int otbSparseUnmixingImageFilterNew ( int argc, char * argv[] ) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Hyperspectral/otbUnConstrainedLeastSquareImageFilter.cxx b/Testing/Code/Hyperspectral/otbUnConstrainedLeastSquareImageFilter.cxx index 8714652cb077f2d6f1d7ba14d4923052adafbfde..b8a0f39d261773a9f9457256355c57d412d0538d 100644 --- a/Testing/Code/Hyperspectral/otbUnConstrainedLeastSquareImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbUnConstrainedLeastSquareImageFilter.cxx @@ -31,14 +31,14 @@ typedef otb::UnConstrainedLeastSquareImageFilter<ImageType, ImageType, PixelType typedef otb::VectorImageToMatrixImageFilter<ImageType> VectorImageToMatrixImageFilterType; typedef otb::ImageFileWriter<ImageType> WriterType; -int otbUnConstrainedLeastSquareImageFilterNewTest(int argc, char * argv[]) +int otbUnConstrainedLeastSquareImageFilterNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { UnConstrainedLeastSquareSolverType::Pointer filter = UnConstrainedLeastSquareSolverType::New(); std::cout << filter << std::endl; return EXIT_SUCCESS; } -int otbUnConstrainedLeastSquareImageFilterTest(int argc, char * argv[]) +int otbUnConstrainedLeastSquareImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * inputEndmembers = argv[2]; diff --git a/Testing/Code/Hyperspectral/otbVCAImageFilter.cxx b/Testing/Code/Hyperspectral/otbVCAImageFilter.cxx index e5fbd467cc439b824f10d696c5f9b01c05b1d469..adf7035d2f3d82570c2030b418786877d172b22e 100644 --- a/Testing/Code/Hyperspectral/otbVCAImageFilter.cxx +++ b/Testing/Code/Hyperspectral/otbVCAImageFilter.cxx @@ -32,14 +32,14 @@ typedef otb::VCAImageFilter<VectorImageType> VCAFilterType; typedef otb::ImageFileReader<VectorImageType> ReaderType; typedef otb::ImageFileWriter<VectorImageType> WriterType; -int otbVCAImageFilterNew(int argc, char * argv[]) +int otbVCAImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { VCAFilterType::Pointer vca = VCAFilterType::New(); std::cout << vca << std::endl; return EXIT_SUCCESS; } -int otbVCAImageFilterTestHighSNR(int argc, char * argv[]) +int otbVCAImageFilterTestHighSNR(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * outputImage = argv[2]; diff --git a/Testing/Code/Hyperspectral/otbVirtualDimensionality.cxx b/Testing/Code/Hyperspectral/otbVirtualDimensionality.cxx index 1215e30dca4377780dc82dd69a049156bcfafe96..c7183564f2698e4a14f1ecc3cfd952b6c433bef5 100644 --- a/Testing/Code/Hyperspectral/otbVirtualDimensionality.cxx +++ b/Testing/Code/Hyperspectral/otbVirtualDimensionality.cxx @@ -30,7 +30,7 @@ typedef otb::StreamingStatisticsVectorImageFilter<ImageType> StreamingStatistics typedef otb::VirtualDimensionality<double> VDType; -int otbVirtualDimensionalityNewTest(int argc, char * argv[]) +int otbVirtualDimensionalityNewTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { VDType::Pointer vd = VDType::New(); std::cout << vd << std::endl; @@ -38,7 +38,7 @@ int otbVirtualDimensionalityNewTest(int argc, char * argv[]) } -int otbVirtualDimensionalityTest(int argc, char * argv[]) +int otbVirtualDimensionalityTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/Markov/otbMRFEnergyEdgeFidelity.cxx b/Testing/Code/Markov/otbMRFEnergyEdgeFidelity.cxx index 87ce3d33b7bd0559642dc74a8758ec55b8adae2b..bf43629799beae5924a248e77c739ec598f29ec0 100644 --- a/Testing/Code/Markov/otbMRFEnergyEdgeFidelity.cxx +++ b/Testing/Code/Markov/otbMRFEnergyEdgeFidelity.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include <fstream> -int otbMRFEnergyEdgeFidelity(int argc, char * argv[]) +int otbMRFEnergyEdgeFidelity(int itkNotUsed(argc), char * argv[]) { const char * outputFile = argv[1]; diff --git a/Testing/Code/Markov/otbMRFEnergyEdgeFidelityNew.cxx b/Testing/Code/Markov/otbMRFEnergyEdgeFidelityNew.cxx index 6881f6eb7e79f50d7a818b841c4ed50d7db6807e..3a83a03d0c094533f97175a0383834a373b5e284 100644 --- a/Testing/Code/Markov/otbMRFEnergyEdgeFidelityNew.cxx +++ b/Testing/Code/Markov/otbMRFEnergyEdgeFidelityNew.cxx @@ -20,11 +20,9 @@ #include "otbMRFEnergyEdgeFidelity.h" #include "otbImage.h" -int otbMRFEnergyEdgeFidelityNew(int argc, char * argv[]) +int otbMRFEnergyEdgeFidelityNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; - typedef int PixelType2; - typedef otb::Image<PixelType, 2> ImageType; typedef otb::MRFEnergyEdgeFidelity<ImageType, ImageType> MRFEnergyType; diff --git a/Testing/Code/Markov/otbMRFEnergyFisherClassification.cxx b/Testing/Code/Markov/otbMRFEnergyFisherClassification.cxx index 0511286bbb6e2536b0f523e78ec0b132ebf321bd..6aa38a45d59961d7cef0c2d03c2fcccd13811784 100644 --- a/Testing/Code/Markov/otbMRFEnergyFisherClassification.cxx +++ b/Testing/Code/Markov/otbMRFEnergyFisherClassification.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include <fstream> -int otbMRFEnergyFisherClassificationNew(int argc, char * argv[]) +int otbMRFEnergyFisherClassificationNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelTypeInput; typedef int PixelTypeLabel; @@ -38,7 +38,7 @@ int otbMRFEnergyFisherClassificationNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbMRFEnergyFisherClassification(int argc, char * argv[]) +int otbMRFEnergyFisherClassification(int itkNotUsed(argc), char * argv[]) { const char * outputFile = argv[1]; diff --git a/Testing/Code/Markov/otbMRFEnergyGaussian.cxx b/Testing/Code/Markov/otbMRFEnergyGaussian.cxx index 0fce547ee2b9f8524056a86b3c197652f397cf2b..3a3775fdaf5722d92e47be490f6f2bac63988e6e 100644 --- a/Testing/Code/Markov/otbMRFEnergyGaussian.cxx +++ b/Testing/Code/Markov/otbMRFEnergyGaussian.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include <fstream> -int otbMRFEnergyGaussian(int argc, char * argv[]) +int otbMRFEnergyGaussian(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef int PixelType2; diff --git a/Testing/Code/Markov/otbMRFEnergyGaussianClassification.cxx b/Testing/Code/Markov/otbMRFEnergyGaussianClassification.cxx index ba303d8cad91811db5196209b6cb7e225b5d7a28..0c76010d0af826a75e5024438f53f7b8a991733c 100644 --- a/Testing/Code/Markov/otbMRFEnergyGaussianClassification.cxx +++ b/Testing/Code/Markov/otbMRFEnergyGaussianClassification.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include <fstream> -int otbMRFEnergyGaussianClassification(int argc, char * argv[]) +int otbMRFEnergyGaussianClassification(int itkNotUsed(argc), char * argv[]) { const char * outputFile = argv[1]; diff --git a/Testing/Code/Markov/otbMRFEnergyGaussianClassificationNew.cxx b/Testing/Code/Markov/otbMRFEnergyGaussianClassificationNew.cxx index 0f6bfbabfa83a8cefa7ef4265576581e644ef46b..67c9f9bb127aa53292aac8573bb369f2b942e8ed 100644 --- a/Testing/Code/Markov/otbMRFEnergyGaussianClassificationNew.cxx +++ b/Testing/Code/Markov/otbMRFEnergyGaussianClassificationNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFEnergyGaussianClassification.h" #include "otbImage.h" -int otbMRFEnergyGaussianClassificationNew(int argc, char * argv[]) +int otbMRFEnergyGaussianClassificationNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Markov/otbMRFEnergyGaussianNew.cxx b/Testing/Code/Markov/otbMRFEnergyGaussianNew.cxx index 09ac2c1537315dc5bccee4538a38d17f367eef01..90fadb56f98cbf7acadfb3847261faa64bb2332f 100644 --- a/Testing/Code/Markov/otbMRFEnergyGaussianNew.cxx +++ b/Testing/Code/Markov/otbMRFEnergyGaussianNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFEnergyGaussian.h" #include "otbImage.h" -int otbMRFEnergyGaussianNew(int argc, char * argv[]) +int otbMRFEnergyGaussianNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Markov/otbMRFEnergyPotts.cxx b/Testing/Code/Markov/otbMRFEnergyPotts.cxx index cd3270916e111b26e001ccba13c46bed6e325936..2424ea4fb31a2a7ab271a4f78bd61dd91f221eb0 100644 --- a/Testing/Code/Markov/otbMRFEnergyPotts.cxx +++ b/Testing/Code/Markov/otbMRFEnergyPotts.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include <fstream> -int otbMRFEnergyPotts(int argc, char * argv[]) +int otbMRFEnergyPotts(int itkNotUsed(argc), char * argv[]) { const char * outputFile = argv[1]; diff --git a/Testing/Code/Markov/otbMRFEnergyPottsNew.cxx b/Testing/Code/Markov/otbMRFEnergyPottsNew.cxx index 86e4da19393aa85f836c212b9de31b5141cec49b..54886d28e934da053afb30096137732c9197979e 100644 --- a/Testing/Code/Markov/otbMRFEnergyPottsNew.cxx +++ b/Testing/Code/Markov/otbMRFEnergyPottsNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFEnergyPotts.h" #include "otbImage.h" -int otbMRFEnergyPottsNew(int argc, char * argv[]) +int otbMRFEnergyPottsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Markov/otbMRFOptimizerICM.cxx b/Testing/Code/Markov/otbMRFOptimizerICM.cxx index 705659b7224e2c47c053f48a9cbc984ecc630e38..95fa17a475c1a17047e3e751a19f9efc12c798e0 100644 --- a/Testing/Code/Markov/otbMRFOptimizerICM.cxx +++ b/Testing/Code/Markov/otbMRFOptimizerICM.cxx @@ -20,7 +20,7 @@ #include "otbMRFOptimizerICM.h" #include <cstdlib> -int otbMRFOptimizerICM(int argc, char * argv[]) +int otbMRFOptimizerICM(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::MRFOptimizerICM MRFOptimizerICMType; diff --git a/Testing/Code/Markov/otbMRFOptimizerICMNew.cxx b/Testing/Code/Markov/otbMRFOptimizerICMNew.cxx index 1a92dc8cb0f8e389b309827bd7d38e3a6831aee9..64e0e75b9abfe07234fd4f3e2088b86c1f9156a4 100644 --- a/Testing/Code/Markov/otbMRFOptimizerICMNew.cxx +++ b/Testing/Code/Markov/otbMRFOptimizerICMNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFOptimizerICM.h" #include <cstdlib> -int otbMRFOptimizerICMNew(int argc, char * argv[]) +int otbMRFOptimizerICMNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::MRFOptimizerICM MRFOptimizerType; diff --git a/Testing/Code/Markov/otbMRFOptimizerMetropolis.cxx b/Testing/Code/Markov/otbMRFOptimizerMetropolis.cxx index ad5434468af5f65e1a815e104ab021c80ae57e44..2d71ad8181c12c19b55db2e5b5988fcb73046bc5 100644 --- a/Testing/Code/Markov/otbMRFOptimizerMetropolis.cxx +++ b/Testing/Code/Markov/otbMRFOptimizerMetropolis.cxx @@ -21,7 +21,7 @@ #include <fstream> #include <cstdlib> -int otbMRFOptimizerMetropolis(int argc, char * argv[]) +int otbMRFOptimizerMetropolis(int itkNotUsed(argc), char * argv[]) { const char * outputFile = argv[1]; diff --git a/Testing/Code/Markov/otbMRFOptimizerMetropolisNew.cxx b/Testing/Code/Markov/otbMRFOptimizerMetropolisNew.cxx index cc1d18ac81219b91b03df98a95861757500bcced..e91acf86cd282df5ba9e808386d1721c00a018df 100644 --- a/Testing/Code/Markov/otbMRFOptimizerMetropolisNew.cxx +++ b/Testing/Code/Markov/otbMRFOptimizerMetropolisNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFOptimizerMetropolis.h" #include <cstdlib> -int otbMRFOptimizerMetropolisNew(int argc, char * argv[]) +int otbMRFOptimizerMetropolisNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::MRFOptimizerMetropolis MRFOptimizerType; diff --git a/Testing/Code/Markov/otbMRFSamplerMAP.cxx b/Testing/Code/Markov/otbMRFSamplerMAP.cxx index 3cf4d36a48c85b84951eb9c9c2f75fc0e6055fef..0cf14a903e862c4eef2f6a115641cb3634ac0170 100644 --- a/Testing/Code/Markov/otbMRFSamplerMAP.cxx +++ b/Testing/Code/Markov/otbMRFSamplerMAP.cxx @@ -23,7 +23,7 @@ #include "otbMRFEnergyPotts.h" #include <fstream> -int otbMRFSamplerMAP(int argc, char * argv[]) +int otbMRFSamplerMAP(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * labelImage = argv[2]; diff --git a/Testing/Code/Markov/otbMRFSamplerMAPNew.cxx b/Testing/Code/Markov/otbMRFSamplerMAPNew.cxx index a723f701d5887d480b614b75c03970afc1a6eab8..b28f2855134dacaf1fc3c9ad9f19c346edd79828 100644 --- a/Testing/Code/Markov/otbMRFSamplerMAPNew.cxx +++ b/Testing/Code/Markov/otbMRFSamplerMAPNew.cxx @@ -22,7 +22,7 @@ #include "otbMRFSamplerMAP.h" #include "otbImage.h" -int otbMRFSamplerMAPNew(int argc, char * argv[]) +int otbMRFSamplerMAPNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Markov/otbMRFSamplerRandom.cxx b/Testing/Code/Markov/otbMRFSamplerRandom.cxx index 9bbc693640a25a4281c70e24386f32134e0e48a5..f9995bd1250ab584c1e30d6ab3191176f06cd707 100644 --- a/Testing/Code/Markov/otbMRFSamplerRandom.cxx +++ b/Testing/Code/Markov/otbMRFSamplerRandom.cxx @@ -23,7 +23,7 @@ #include "otbMRFEnergyPotts.h" #include <fstream> -int otbMRFSamplerRandom(int argc, char * argv[]) +int otbMRFSamplerRandom(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * labelImage = argv[2]; diff --git a/Testing/Code/Markov/otbMRFSamplerRandomMAP.cxx b/Testing/Code/Markov/otbMRFSamplerRandomMAP.cxx index 2c742889965f14ab94d6334bfcb15d92c4d54e21..714c1fbd82b042ae573485e682fc9e0037df981c 100644 --- a/Testing/Code/Markov/otbMRFSamplerRandomMAP.cxx +++ b/Testing/Code/Markov/otbMRFSamplerRandomMAP.cxx @@ -24,7 +24,7 @@ #include <fstream> -int otbMRFSamplerRandomMAP(int argc, char * argv[]) +int otbMRFSamplerRandomMAP(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const char * labelImage = argv[2]; diff --git a/Testing/Code/Markov/otbMRFSamplerRandomMAPNew.cxx b/Testing/Code/Markov/otbMRFSamplerRandomMAPNew.cxx index ecaa364ee1946cee7920ce6a2a2665a452f2e436..54511d78c432aaf9be437d6c9bec22874192ceb4 100644 --- a/Testing/Code/Markov/otbMRFSamplerRandomMAPNew.cxx +++ b/Testing/Code/Markov/otbMRFSamplerRandomMAPNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFSamplerRandomMAP.h" #include "otbImage.h" -int otbMRFSamplerRandomMAPNew(int argc, char * argv[]) +int otbMRFSamplerRandomMAPNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Markov/otbMRFSamplerRandomNew.cxx b/Testing/Code/Markov/otbMRFSamplerRandomNew.cxx index 03e0414b0a4366c28aec9059b4ce0dac760db012..53467532bbed9e8cc73de14706cbdca8825a86cb 100644 --- a/Testing/Code/Markov/otbMRFSamplerRandomNew.cxx +++ b/Testing/Code/Markov/otbMRFSamplerRandomNew.cxx @@ -20,7 +20,7 @@ #include "otbMRFSamplerRandom.h" #include "otbImage.h" -int otbMRFSamplerRandomNew(int argc, char * argv[]) +int otbMRFSamplerRandomNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Markov/otbMarkovRandomFieldFilter.cxx b/Testing/Code/Markov/otbMarkovRandomFieldFilter.cxx index d96f11111d47cf396e74b81369669b9eaceb38e7..761b69e37f936d10e2779185bb44de1a7a147df1 100644 --- a/Testing/Code/Markov/otbMarkovRandomFieldFilter.cxx +++ b/Testing/Code/Markov/otbMarkovRandomFieldFilter.cxx @@ -29,7 +29,7 @@ #include "otbMRFOptimizerMetropolis.h" #include "otbMRFSamplerRandom.h" -int otbMarkovRandomFieldFilter(int argc, char* argv[]) +int otbMarkovRandomFieldFilter(int itkNotUsed(argc), char* argv[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/Markov/otbMarkovRandomFieldFilterNew.cxx b/Testing/Code/Markov/otbMarkovRandomFieldFilterNew.cxx index e0d31a157109a94f77abc697185d4450c1464ecb..1588c39045d7b9ef3bea3480cb127bccd1efa8a4 100644 --- a/Testing/Code/Markov/otbMarkovRandomFieldFilterNew.cxx +++ b/Testing/Code/Markov/otbMarkovRandomFieldFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbMarkovRandomFieldFilter.h" #include "otbImage.h" -int otbMarkovRandomFieldFilterNew(int argc, char * argv[]) +int otbMarkovRandomFieldFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/MultiTemporal/otbEnvelopeSavitzkyGolayInterpolationFunctorTest.cxx b/Testing/Code/MultiTemporal/otbEnvelopeSavitzkyGolayInterpolationFunctorTest.cxx index 7520c8d0445d61c8d2164d064f804df3b0603cab..c1d14a09475bf6f7cfa511daaaf1bf0626dc0e37 100644 --- a/Testing/Code/MultiTemporal/otbEnvelopeSavitzkyGolayInterpolationFunctorTest.cxx +++ b/Testing/Code/MultiTemporal/otbEnvelopeSavitzkyGolayInterpolationFunctorTest.cxx @@ -21,7 +21,7 @@ #include "otbEnvelopeSavitzkyGolayInterpolationFunctor.h" #include "otbTimeSeries.h" -int otbEnvelopeSavitzkyGolayInterpolationFunctorTest(int argc, char* argv[]) +int otbEnvelopeSavitzkyGolayInterpolationFunctorTest(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef float PixelType; diff --git a/Testing/Code/MultiTemporal/otbPolynomialTimeSeriesTest.cxx b/Testing/Code/MultiTemporal/otbPolynomialTimeSeriesTest.cxx index 21bfd88f583a71a07e64b82c848fba14cfa3f2b5..f16ec2b3fca047b2d842f2c37b4371e524234132 100644 --- a/Testing/Code/MultiTemporal/otbPolynomialTimeSeriesTest.cxx +++ b/Testing/Code/MultiTemporal/otbPolynomialTimeSeriesTest.cxx @@ -20,7 +20,7 @@ #include "itkFixedArray.h" #include "otbTimeSeries.h" -int otbPolynomialTimeSeriesTest(int argc, char* argv[]) +int otbPolynomialTimeSeriesTest(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef double CoefficientPrecisionType; diff --git a/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorNew.cxx b/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorNew.cxx index e060070fd9729b116c0ce938ac933ab25b82c137..7d8aec56f2f3ac812ddc85289d50cc837b9e8021 100644 --- a/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorNew.cxx +++ b/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorNew.cxx @@ -21,7 +21,7 @@ #include "otbSavitzkyGolayInterpolationFunctor.h" #include "otbTimeSeries.h" -int otbSavitzkyGolayInterpolationFunctorNew(int argc, char* argv[]) +int otbSavitzkyGolayInterpolationFunctorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef float PixelType; diff --git a/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorTest.cxx b/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorTest.cxx index 0425ecfd507c73708936e067dd085ed7d01d2921..87f6879b1c5cfd566af86332065f4ba8dc6f30ae 100644 --- a/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorTest.cxx +++ b/Testing/Code/MultiTemporal/otbSavitzkyGolayInterpolationFunctorTest.cxx @@ -21,7 +21,7 @@ #include "otbSavitzkyGolayInterpolationFunctor.h" #include "otbTimeSeries.h" -int otbSavitzkyGolayInterpolationFunctorTest(int argc, char* argv[]) +int otbSavitzkyGolayInterpolationFunctorTest(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef float PixelType; diff --git a/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorNew.cxx b/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorNew.cxx index 6510e322acfaf6603d81f29370caafd2a866aff3..2113342213401f828dc81640a18b68d77beaaf24 100644 --- a/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorNew.cxx +++ b/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorNew.cxx @@ -21,7 +21,7 @@ #include "otbTimeSeriesLeastSquareFittingFunctor.h" #include "otbTimeSeries.h" -int otbTimeSeriesLeastSquareFittingFunctorNew(int argc, char* argv[]) +int otbTimeSeriesLeastSquareFittingFunctorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef float PixelType; diff --git a/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorTest.cxx b/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorTest.cxx index dc77e433b7dcb9a45e2e98111a8f9ef217727987..20826ab3bed407ccc8d1f4a10649590540f984ed 100644 --- a/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorTest.cxx +++ b/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorTest.cxx @@ -21,7 +21,7 @@ #include "otbTimeSeriesLeastSquareFittingFunctor.h" #include "otbTimeSeries.h" -int otbTimeSeriesLeastSquareFittingFunctorTest(int argc, char* argv[]) +int otbTimeSeriesLeastSquareFittingFunctorTest(int itkNotUsed(argc), char* argv[]) { const unsigned int Degree = 2; diff --git a/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorWeightsTest.cxx b/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorWeightsTest.cxx index 73bcebede14be009aad1a5f5544a63d187b15933..9d125b0f1d5e2632843591c42497825b42619b96 100644 --- a/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorWeightsTest.cxx +++ b/Testing/Code/MultiTemporal/otbTimeSeriesLeastSquareFittingFunctorWeightsTest.cxx @@ -21,7 +21,7 @@ #include "otbTimeSeriesLeastSquareFittingFunctor.h" #include "otbTimeSeries.h" -int otbTimeSeriesLeastSquareFittingFunctorWeightsTest(int argc, char* argv[]) +int otbTimeSeriesLeastSquareFittingFunctorWeightsTest(int itkNotUsed(argc), char* argv[]) { const unsigned int Degree = 2; diff --git a/Testing/Code/OBIA/otbAttributesMapLabelObjectNew.cxx b/Testing/Code/OBIA/otbAttributesMapLabelObjectNew.cxx index f23c011d956b7ac7179daf24919f5c2dce82d02e..88e3887ff1c17eef655fef0dda9c6cbbc80d79dc 100644 --- a/Testing/Code/OBIA/otbAttributesMapLabelObjectNew.cxx +++ b/Testing/Code/OBIA/otbAttributesMapLabelObjectNew.cxx @@ -19,7 +19,7 @@ #include "otbAttributesMapLabelObject.h" -int otbAttributesMapLabelObjectNew(int argc, char* argv[]) +int otbAttributesMapLabelObjectNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType; diff --git a/Testing/Code/OBIA/otbAttributesMapLabelObjectWithClassLabelNew.cxx b/Testing/Code/OBIA/otbAttributesMapLabelObjectWithClassLabelNew.cxx index 822d98bbf3fcabef57e58a43c2df353a4470ac96..d5ff95e9cc0c8a083d9e656533fea66ba15aab7d 100644 --- a/Testing/Code/OBIA/otbAttributesMapLabelObjectWithClassLabelNew.cxx +++ b/Testing/Code/OBIA/otbAttributesMapLabelObjectWithClassLabelNew.cxx @@ -19,7 +19,7 @@ #include "otbAttributesMapLabelObjectWithClassLabel.h" -int otbAttributesMapLabelObjectWithClassLabelNew(int argc, char* argv[]) +int otbAttributesMapLabelObjectWithClassLabelNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObjectWithClassLabel<unsigned short, 2, double, unsigned short> LabelObjectType; diff --git a/Testing/Code/OBIA/otbAttributesMapOpeningLabelMapFilterNew.cxx b/Testing/Code/OBIA/otbAttributesMapOpeningLabelMapFilterNew.cxx index 9fc6221560ffc889e1c625348cd9e10aaace19d1..09c60f87abd55255549c8d85fe09a5479d76b293 100644 --- a/Testing/Code/OBIA/otbAttributesMapOpeningLabelMapFilterNew.cxx +++ b/Testing/Code/OBIA/otbAttributesMapOpeningLabelMapFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkLabelMap.h" #include "otbAttributesMapOpeningLabelMapFilter.h" -int otbAttributesMapOpeningLabelMapFilterNew(int argc, char* argv[]) +int otbAttributesMapOpeningLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType; typedef itk::LabelMap<LabelObjectType> LabelMapType; diff --git a/Testing/Code/OBIA/otbBandsStatisticsAttributesLabelMapFilter.cxx b/Testing/Code/OBIA/otbBandsStatisticsAttributesLabelMapFilter.cxx index d2fdb7a40a53099fdbf1668a9317ab02d6352291..3da6d95256cc29d45188e13307261a4caee68cb6 100644 --- a/Testing/Code/OBIA/otbBandsStatisticsAttributesLabelMapFilter.cxx +++ b/Testing/Code/OBIA/otbBandsStatisticsAttributesLabelMapFilter.cxx @@ -45,13 +45,13 @@ typedef itk::LabelImageToLabelMapFilter<LabeledImageType, LabelMapType> typedef otb::BandsStatisticsAttributesLabelMapFilter<LabelMapType, VectorImageType> BandsStatisticsFilterType; -int otbBandsStatisticsAttributesLabelMapFilterNew(int argc, char* argv[]) +int otbBandsStatisticsAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { BandsStatisticsFilterType::Pointer object = BandsStatisticsFilterType::New(); return EXIT_SUCCESS; } -int otbBandsStatisticsAttributesLabelMapFilter(int argc, char* argv[]) +int otbBandsStatisticsAttributesLabelMapFilter(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; const char * lfname = argv[2]; @@ -104,4 +104,3 @@ int otbBandsStatisticsAttributesLabelMapFilter(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/OBIA/otbGISTableToLabelMapFilterNew.cxx b/Testing/Code/OBIA/otbGISTableToLabelMapFilterNew.cxx index 3c2116a6ed36fcff84bef026a5ffa44b86d98216..21bd73bfbad874fd0615b3b2c7f6a32c8abf74ee 100644 --- a/Testing/Code/OBIA/otbGISTableToLabelMapFilterNew.cxx +++ b/Testing/Code/OBIA/otbGISTableToLabelMapFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbGISTable.h" #include "itkAttributeLabelObject.h" -int otbGISTableToLabelMapFilterNew(int argc, char * argv[]) +int otbGISTableToLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const int Dimension = 2; typedef double PType; diff --git a/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilter.cxx b/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilter.cxx index 5f942e40ee2090f17fadef4747fa4f6132201766..475b53282db7a2bf1f4a42858543616dc35651c1 100644 --- a/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilter.cxx +++ b/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbAttributesMapLabelObjectWithClassLabel.h" -int otbImageToLabelMapWithAttributesFilter(int argc, char* argv[]) +int otbImageToLabelMapWithAttributesFilter(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; const char * lfname = argv[2]; diff --git a/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilterNew.cxx b/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilterNew.cxx index 2af952e35a7abec90a0f058028d8ff722e3d582e..92a621bf8a100aa93f835b3155cfbe72643543b0 100644 --- a/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilterNew.cxx +++ b/Testing/Code/OBIA/otbImageToLabelMapWithAttributesFilterNew.cxx @@ -24,7 +24,7 @@ #include "itkLabelMap.h" #include "otbAttributesMapLabelObjectWithClassLabel.h" -int otbImageToLabelMapWithAttributesFilterNew(int argc, char* argv[]) +int otbImageToLabelMapWithAttributesFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::VectorImage<double, 2> ImageType; diff --git a/Testing/Code/OBIA/otbKMeansAttributesLabelMapFilter.cxx b/Testing/Code/OBIA/otbKMeansAttributesLabelMapFilter.cxx index 544a94a27221770f2ded40ff56d685523dd381e0..b3def1e9d0f8d1825db59fb1b6b82e4b8acd8054 100644 --- a/Testing/Code/OBIA/otbKMeansAttributesLabelMapFilter.cxx +++ b/Testing/Code/OBIA/otbKMeansAttributesLabelMapFilter.cxx @@ -48,13 +48,13 @@ typedef itk::LabelImageToLabelMapFilter<LabeledImageType, LabelMapType> typedef otb::ShapeAttributesLabelMapFilter<LabelMapType> ShapeFilterType; typedef otb::KMeansAttributesLabelMapFilter<LabelMapType> KMeansAttributesLabelMapFilterType; -int otbKMeansAttributesLabelMapFilterNew(int argc, char * argv[]) +int otbKMeansAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { KMeansAttributesLabelMapFilterType::Pointer radiometricLabelMapFilter = KMeansAttributesLabelMapFilterType::New(); return EXIT_SUCCESS; } -int otbKMeansAttributesLabelMapFilter(int argc, char * argv[]) +int otbKMeansAttributesLabelMapFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * lfname = argv[2]; diff --git a/Testing/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.cxx b/Testing/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.cxx index 4cb9e4e2a2a52cc10acb0a38ae6b424078bdb433..9c3c1c5d93b9de7472f441b003f4ca2a00da8d22 100644 --- a/Testing/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.cxx +++ b/Testing/Code/OBIA/otbLabelImageToLabelMapWithAdjacencyFilter.cxx @@ -36,7 +36,7 @@ typedef otb::LabelImageToLabelMapWithAdjacencyFilter < LabelImageType, LabelMapType> FilterType; -int otbLabelImageToLabelMapWithAdjacencyFilterNew(int argc, char * argv[]) +int otbLabelImageToLabelMapWithAdjacencyFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { // Instantiation FilterType::Pointer filter = FilterType::New(); @@ -44,7 +44,7 @@ int otbLabelImageToLabelMapWithAdjacencyFilterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbLabelImageToLabelMapWithAdjacencyFilter(int argc, char * argv[]) +int otbLabelImageToLabelMapWithAdjacencyFilter(int itkNotUsed(argc), char * argv[]) { LabelReaderType::Pointer reader = LabelReaderType::New(); reader->SetFileName(argv[1]); diff --git a/Testing/Code/OBIA/otbLabelMapSVMClassifier.cxx b/Testing/Code/OBIA/otbLabelMapSVMClassifier.cxx index 3eaafae5df56392450364ffb564cb63c1e2a9fa1..a8b42beb9a5f1f060e2500538711a2da3e52ee21 100644 --- a/Testing/Code/OBIA/otbLabelMapSVMClassifier.cxx +++ b/Testing/Code/OBIA/otbLabelMapSVMClassifier.cxx @@ -76,13 +76,13 @@ LabelObjectType::Pointer makeTrainingSample(LabelMapType* labelMap, LabelType la return newLabelObject; } -int otbLabelMapSVMClassifierNew(int argc, char * argv[]) +int otbLabelMapSVMClassifierNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { ClassifierType::Pointer classifier = ClassifierType::New(); return EXIT_SUCCESS; } -int otbLabelMapSVMClassifier(int argc, char * argv[]) +int otbLabelMapSVMClassifier(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * lfname = argv[2]; @@ -176,5 +176,3 @@ int otbLabelMapSVMClassifier(int argc, char * argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/OBIA/otbLabelMapSourceNew.cxx b/Testing/Code/OBIA/otbLabelMapSourceNew.cxx index 7dfc26110ee497b1a5564a6bdeb2e5eb55626d7c..0cc75055f3c91cf8f807d5b9effca96443f62aed 100644 --- a/Testing/Code/OBIA/otbLabelMapSourceNew.cxx +++ b/Testing/Code/OBIA/otbLabelMapSourceNew.cxx @@ -21,7 +21,7 @@ #include "itkLabelMap.h" #include "otbAttributesMapLabelObject.h" -int otbLabelMapSourceNew(int argc, char * argv[]) +int otbLabelMapSourceNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned short LabelType; diff --git a/Testing/Code/OBIA/otbLabelMapToAttributeImageFilterNew.cxx b/Testing/Code/OBIA/otbLabelMapToAttributeImageFilterNew.cxx index 1e08547a4aaca003d52c91cd88e8b7486430454a..36a421e42f05a75424cf98cfbb34fd00b23c65a5 100644 --- a/Testing/Code/OBIA/otbLabelMapToAttributeImageFilterNew.cxx +++ b/Testing/Code/OBIA/otbLabelMapToAttributeImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkLabelMap.h" #include "otbVectorImage.h" -int otbLabelMapToAttributeImageFilterNew(int argc, char* argv[]) +int otbLabelMapToAttributeImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObject<unsigned int, 2, float> LabelObjectType; typedef itk::LabelMap<LabelObjectType> LabelMapType; diff --git a/Testing/Code/OBIA/otbLabelMapToGISTableFilterNew.cxx b/Testing/Code/OBIA/otbLabelMapToGISTableFilterNew.cxx index 9de03dd422d722d0db9d4bb0799b49c11a75c651..84a42e1119be916f008295a9b8712988617a5d93 100644 --- a/Testing/Code/OBIA/otbLabelMapToGISTableFilterNew.cxx +++ b/Testing/Code/OBIA/otbLabelMapToGISTableFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbGISTable.h" #include "itkAttributeLabelObject.h" -int otbLabelMapToGISTableFilterNew(int argc, char * argv[]) +int otbLabelMapToGISTableFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const int Dimension = 2; typedef unsigned char PType; diff --git a/Testing/Code/OBIA/otbLabelMapToSampleListFilterNew.cxx b/Testing/Code/OBIA/otbLabelMapToSampleListFilterNew.cxx index 850a5d2742bf7c01277a00fc221cf407764953ca..a1db87ed42ffab124ef256f0bc51437e3ffaf43c 100644 --- a/Testing/Code/OBIA/otbLabelMapToSampleListFilterNew.cxx +++ b/Testing/Code/OBIA/otbLabelMapToSampleListFilterNew.cxx @@ -23,7 +23,7 @@ #include "itkVariableLengthVector.h" #include "itkListSample.h" -int otbLabelMapToSampleListFilterNew(int argc, char* argv[]) +int otbLabelMapToSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType; typedef itk::LabelMap<LabelObjectType> LabelMapType; diff --git a/Testing/Code/OBIA/otbLabelMapToVectorDataFilterNew.cxx b/Testing/Code/OBIA/otbLabelMapToVectorDataFilterNew.cxx index f7f6f0e064073b9a39a60293a5d26192dabc616d..9161b7e28e2425f03d72f4917de8ce466e371b1c 100644 --- a/Testing/Code/OBIA/otbLabelMapToVectorDataFilterNew.cxx +++ b/Testing/Code/OBIA/otbLabelMapToVectorDataFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorData.h" #include "itkAttributeLabelObject.h" -int otbLabelMapToVectorDataFilterNew(int argc, char * argv[]) +int otbLabelMapToVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const int dim = 2; typedef otb::VectorData<> VectorDataType; diff --git a/Testing/Code/OBIA/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx b/Testing/Code/OBIA/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx index 3a8fc867749acaf26d30cab063a9e02270c9fa47..358637dae08dbbcc9aa4fcc8dad195ce9f55e5f4 100644 --- a/Testing/Code/OBIA/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx +++ b/Testing/Code/OBIA/otbLabelMapWithClassLabelToLabeledSampleListFilterNew.cxx @@ -23,7 +23,7 @@ #include "itkVariableLengthVector.h" #include "itkListSample.h" -int otbLabelMapWithClassLabelToLabeledSampleListFilterNew(int argc, char* argv[]) +int otbLabelMapWithClassLabelToLabeledSampleListFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObjectWithClassLabel <unsigned short, 2, double, unsigned short> LabelObjectType; diff --git a/Testing/Code/OBIA/otbLabelObjectToPolygonFunctorNew.cxx b/Testing/Code/OBIA/otbLabelObjectToPolygonFunctorNew.cxx index 0774442af7f405cc57540e681e56940e7cc2ac8f..25797f552f0be5691bc53f9cfcae81300ed40dc4 100644 --- a/Testing/Code/OBIA/otbLabelObjectToPolygonFunctorNew.cxx +++ b/Testing/Code/OBIA/otbLabelObjectToPolygonFunctorNew.cxx @@ -20,7 +20,7 @@ #include "otbAttributesMapLabelObject.h" #include <cstdlib> -int otbLabelObjectToPolygonFunctorNew(int argc, char * argv[]) +int otbLabelObjectToPolygonFunctorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned short LabelType; diff --git a/Testing/Code/OBIA/otbMeanShiftConnectedComponentSegmentationFilterTest.cxx b/Testing/Code/OBIA/otbMeanShiftConnectedComponentSegmentationFilterTest.cxx index afbb4f0dbc11b7e4a48ee6b2ce2ec6bb0185d884..f538e275bbbea08459a57001f2144a5e249ff16c 100644 --- a/Testing/Code/OBIA/otbMeanShiftConnectedComponentSegmentationFilterTest.cxx +++ b/Testing/Code/OBIA/otbMeanShiftConnectedComponentSegmentationFilterTest.cxx @@ -40,7 +40,7 @@ typedef otb::MeanShiftConnectedComponentSegmentationFilter typedef otb::MeanShiftSmoothingImageFilter<ImageType, ImageType> MeanShiftFilterType; -int otbMeanShiftConnectedComponentSegmentationFilter(int argc, char * argv[]) +int otbMeanShiftConnectedComponentSegmentationFilter(int itkNotUsed(argc), char * argv[]) { /* mean shift parameters */ diff --git a/Testing/Code/OBIA/otbMeanShiftStreamingConnectedComponentOBIATest.cxx b/Testing/Code/OBIA/otbMeanShiftStreamingConnectedComponentOBIATest.cxx index 6f6fff2371c145092a92361ea37d25a346947027..9d2d1fa792a08ea951fc1f57c2b41f7a55e3c9e6 100644 --- a/Testing/Code/OBIA/otbMeanShiftStreamingConnectedComponentOBIATest.cxx +++ b/Testing/Code/OBIA/otbMeanShiftStreamingConnectedComponentOBIATest.cxx @@ -50,7 +50,7 @@ typedef otb::StreamingConnectedComponentSegmentationOBIAToVectorDataFilter typedef otb::MeanShiftSmoothingImageFilter<ImageType, ImageType> MeanShiftFilterType; -int otbMeanShiftStreamingConnectedComponentSegmentationOBIAToVectorDataFilter(int argc, char * argv[]) +int otbMeanShiftStreamingConnectedComponentSegmentationOBIAToVectorDataFilter(int itkNotUsed(argc), char * argv[]) { /* mean shift parameters */ diff --git a/Testing/Code/OBIA/otbMinMaxAttributesLabelMapFilter.cxx b/Testing/Code/OBIA/otbMinMaxAttributesLabelMapFilter.cxx index fbe636173a36f82880a21d0a16747a6fb82e1c05..e18b15e7beb90880e530e31c526bc61cbbd37de0 100644 --- a/Testing/Code/OBIA/otbMinMaxAttributesLabelMapFilter.cxx +++ b/Testing/Code/OBIA/otbMinMaxAttributesLabelMapFilter.cxx @@ -43,13 +43,13 @@ typedef otb::LabelImageToLabelMapWithAdjacencyFilter<LabeledImageType, LabelMapT typedef otb::ShapeAttributesLabelMapFilter<LabelMapType> ShapeFilterType; typedef otb::MinMaxAttributesLabelMapFilter<LabelMapType> MinMaxAttributesLabelMapFilterType; -int otbMinMaxAttributesLabelMapFilterNew(int argc, char * argv[]) +int otbMinMaxAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { MinMaxAttributesLabelMapFilterType::Pointer radiometricLabelMapFilter = MinMaxAttributesLabelMapFilterType::New(); return EXIT_SUCCESS; } -int otbMinMaxAttributesLabelMapFilter(int argc, char * argv[]) +int otbMinMaxAttributesLabelMapFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * lfname = argv[2]; diff --git a/Testing/Code/OBIA/otbNormalizeAttributesLabelMapFilter.cxx b/Testing/Code/OBIA/otbNormalizeAttributesLabelMapFilter.cxx index 62cb5a592a37a50cc86325180860d6624c62f3c1..7f9de29e6807fe98982c3be03fb8df4a92e368e8 100644 --- a/Testing/Code/OBIA/otbNormalizeAttributesLabelMapFilter.cxx +++ b/Testing/Code/OBIA/otbNormalizeAttributesLabelMapFilter.cxx @@ -45,13 +45,13 @@ typedef otb::ShapeAttributesLabelMapFilter<LabelMapType> typedef otb::MinMaxAttributesLabelMapFilter<LabelMapType> MinMaxAttributesLabelMapFilterType; typedef otb::NormalizeAttributesLabelMapFilter<LabelMapType> NormalizeAttributesLabelMapFilterType; -int otbNormalizeAttributesLabelMapFilterNew(int argc, char * argv[]) +int otbNormalizeAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { NormalizeAttributesLabelMapFilterType::Pointer normalizeLabelMapFilter = NormalizeAttributesLabelMapFilterType::New(); return EXIT_SUCCESS; } -int otbNormalizeAttributesLabelMapFilter(int argc, char * argv[]) +int otbNormalizeAttributesLabelMapFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * lfname = argv[2]; diff --git a/Testing/Code/OBIA/otbShapeAttributesLabelMapFilterNew.cxx b/Testing/Code/OBIA/otbShapeAttributesLabelMapFilterNew.cxx index 8245fd2dc516672aa557cd5e97f3d4f042da78b1..821d620d1e33896242d5e05578685617cac5e2b0 100644 --- a/Testing/Code/OBIA/otbShapeAttributesLabelMapFilterNew.cxx +++ b/Testing/Code/OBIA/otbShapeAttributesLabelMapFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkLabelMap.h" #include "otbShapeAttributesLabelMapFilter.h" -int otbShapeAttributesLabelMapFilterNew(int argc, char* argv[]) +int otbShapeAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType; typedef itk::LabelMap<LabelObjectType> LabelMapType; diff --git a/Testing/Code/OBIA/otbStatisticsAttributesLabelMapFilterNew.cxx b/Testing/Code/OBIA/otbStatisticsAttributesLabelMapFilterNew.cxx index 393f78ee4ab3be00a894c68d7df02e54a749663f..cb384d0777f3b9542310b9ac33c9a261b9403fb8 100644 --- a/Testing/Code/OBIA/otbStatisticsAttributesLabelMapFilterNew.cxx +++ b/Testing/Code/OBIA/otbStatisticsAttributesLabelMapFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbStatisticsAttributesLabelMapFilter.h" #include "otbImage.h" -int otbStatisticsAttributesLabelMapFilterNew(int argc, char* argv[]) +int otbStatisticsAttributesLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Image<double, 2> ImageType; typedef otb::AttributesMapLabelObject<unsigned short, 2, double> LabelObjectType; diff --git a/Testing/Code/OBIA/otbStreamingConnectedComponentOBIATest.cxx b/Testing/Code/OBIA/otbStreamingConnectedComponentOBIATest.cxx index 20756c9118a910eec9127335f81bc650fb5d1689..012cba1752e844005c86bee294a9757c7270a71a 100644 --- a/Testing/Code/OBIA/otbStreamingConnectedComponentOBIATest.cxx +++ b/Testing/Code/OBIA/otbStreamingConnectedComponentOBIATest.cxx @@ -40,7 +40,7 @@ typedef otb::StreamingConnectedComponentSegmentationOBIAToVectorDataFilter MaskImageType, VectorDataType > ConnectedComponentSegmentationOBIAToVectorDataFilterType; -int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilterNew(int argc, char * argv[]) +int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { ConnectedComponentSegmentationOBIAToVectorDataFilterType::FilterType::Pointer connected = ConnectedComponentSegmentationOBIAToVectorDataFilterType::FilterType::New(); @@ -49,7 +49,7 @@ int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilterNew(int argc return EXIT_SUCCESS; } -int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilter(int argc, char * argv[]) +int otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/OBIA/otbVectorDataToLabelMapFilterNew.cxx b/Testing/Code/OBIA/otbVectorDataToLabelMapFilterNew.cxx index 1408a46a9b4ad9ba72076222d2abd4feca293acb..81df72f2c03732c2b4500d38de78e74d44e3cd4d 100644 --- a/Testing/Code/OBIA/otbVectorDataToLabelMapFilterNew.cxx +++ b/Testing/Code/OBIA/otbVectorDataToLabelMapFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorDataToLabelMapFilter.h" #include "otbAttributesMapLabelObject.h" -int otbVectorDataToLabelMapFilterNew(int argc, char * argv[]) +int otbVectorDataToLabelMapFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef unsigned short LabelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.cxx b/Testing/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.cxx index 99472ab3aecfe09532d0a822438a7fc22ef7d3d0..57623921fc4bb1f272d43211bb2725633b9d5035 100644 --- a/Testing/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.cxx +++ b/Testing/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.cxx @@ -22,7 +22,7 @@ #include "otbVectorDataFileWriter.h" #include "otbLabeledSampleLocalizationGenerator.h" -int otbLabeledSampleLocalizationGeneratorNew(int argc, char* argv[]) +int otbLabeledSampleLocalizationGeneratorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::VectorData<> VectorDataType; typedef otb::LabeledSampleLocalizationGenerator<VectorDataType> GeneratorType; @@ -35,7 +35,7 @@ int otbLabeledSampleLocalizationGeneratorNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbLabeledSampleLocalizationGenerator(int argc, char* argv[]) +int otbLabeledSampleLocalizationGenerator(int itkNotUsed(argc), char* argv[]) { const char * inputVD1 = argv[1]; const char * inputVD2 = argv[2]; diff --git a/Testing/Code/ObjectDetection/otbStandardMetaImageFunctionBuilder.cxx b/Testing/Code/ObjectDetection/otbStandardMetaImageFunctionBuilder.cxx index 9de09c220ec6b5efc0f612344782ea05b02b2344..c33e4d5d688239f6e7c1b81955bac6a3da1a8598 100644 --- a/Testing/Code/ObjectDetection/otbStandardMetaImageFunctionBuilder.cxx +++ b/Testing/Code/ObjectDetection/otbStandardMetaImageFunctionBuilder.cxx @@ -30,7 +30,7 @@ #include "otbHaralickTexturesImageFunction.h" -int otbStandardMetaImageFunctionBuilderNew(int argc, char* argv[]) +int otbStandardMetaImageFunctionBuilderNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef double PrecisionType; typedef otb::StandardMetaImageFunctionBuilder<PrecisionType> BuilderType; @@ -43,7 +43,7 @@ int otbStandardMetaImageFunctionBuilderNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbStandardMetaImageFunctionBuilder(int argc, char* argv[]) +int otbStandardMetaImageFunctionBuilder(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; diff --git a/Testing/Code/Radiometry/otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx index 5e22b7e58177ead6f1d41d77d8aa3e135cf04f66..3f9a5cbe0834c293e50887d8bcbd58765bc4824e 100644 --- a/Testing/Code/Radiometry/otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbVegetationIndicesFunctor.h" -int otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int otbAVIMultiChannelRAndGAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbAVIRAndGAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbAVIRAndGAndNIRVegetationIndexImageFilter.cxx index bdf67d63c0806b665d94139c3b2feee09843c5f5..a45e8f21de1db6a41bff0abea7052a25bdf08703 100644 --- a/Testing/Code/Radiometry/otbAVIRAndGAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbAVIRAndGAndNIRVegetationIndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbVegetationIndicesFunctor.h" -int otbAVIRAndGAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int otbAVIRAndGAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbAeronetExtractData.cxx b/Testing/Code/Radiometry/otbAeronetExtractData.cxx index d3881b3d2481ad30ecd246f25f9bd53469697978..f62533e7e52666fd229f90ce11ce5e34c6a902d0 100644 --- a/Testing/Code/Radiometry/otbAeronetExtractData.cxx +++ b/Testing/Code/Radiometry/otbAeronetExtractData.cxx @@ -22,7 +22,7 @@ #include <fstream> #include <iomanip> -int otbAeronetExtractData(int argc, char * argv[]) +int otbAeronetExtractData(int itkNotUsed(argc), char * argv[]) { otb::AeronetFileReader::Pointer reader = otb::AeronetFileReader::New(); diff --git a/Testing/Code/Radiometry/otbAeronetExtractDataBadData.cxx b/Testing/Code/Radiometry/otbAeronetExtractDataBadData.cxx index 6974313ea687c94c3a36468d56a9d0d3c58a2e5a..0be0280e9daaacef2302c2d3d42faae51e995aac 100644 --- a/Testing/Code/Radiometry/otbAeronetExtractDataBadData.cxx +++ b/Testing/Code/Radiometry/otbAeronetExtractDataBadData.cxx @@ -19,7 +19,7 @@ #include "otbAeronetFileReader.h" #include "otbSystem.h" -int otbAeronetExtractDataBadData(int argc, char * argv[]) +int otbAeronetExtractDataBadData(int itkNotUsed(argc), char * argv[]) { otb::AeronetFileReader::Pointer reader = otb::AeronetFileReader::New(); diff --git a/Testing/Code/Radiometry/otbAeronetNew.cxx b/Testing/Code/Radiometry/otbAeronetNew.cxx index 025c9985ea9e5caad4a6ba07c407a7a2a8e93df5..934553f550ebaa53969337156db8155f4726171d 100644 --- a/Testing/Code/Radiometry/otbAeronetNew.cxx +++ b/Testing/Code/Radiometry/otbAeronetNew.cxx @@ -18,7 +18,7 @@ #include "otbAeronetData.h" #include "otbAeronetFileReader.h" -int otbAeronetNew(int argc, char * argv[]) +int otbAeronetNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { otb::AeronetData::Pointer data = otb::AeronetData::New(); otb::AeronetFileReader::Pointer reader = otb::AeronetFileReader::New(); diff --git a/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersNew.cxx b/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersNew.cxx index 7cf4a95fc76fa2d731689e5f08e646f36b7e369e..bb55df19c6f5ae7d58b4f22fcf48d245e2186408 100644 --- a/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersNew.cxx +++ b/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersNew.cxx @@ -22,7 +22,7 @@ #include <cstdlib> -int otbAtmosphericCorrectionParametersNew(int argc, char * argv[]) +int otbAtmosphericCorrectionParametersNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AtmosphericCorrectionParameters AtmosphericCorrectionParametersType; typedef otb::FilterFunctionValues FilterFunctionValuesType; diff --git a/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx b/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx index c8d12a6d5442687452349bf03cf5f41b822fbd9f..dab9fab651bd85c7cd63455c2ca6e76488984531 100644 --- a/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx +++ b/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx @@ -25,7 +25,7 @@ #include <iomanip> #include <cstdlib> -int otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms(int argc, char * argv[]) +int otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms(int itkNotUsed(argc), char * argv[]) { const char * wavelenghFile = argv[1]; const char * outputFile = argv[2]; diff --git a/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsNew.cxx b/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsNew.cxx index 34e58cc17baf63bff059d67640f4b0e29a38db11..30a6f0d9a97c9a039c8d1b15490724c94049729e 100644 --- a/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsNew.cxx +++ b/Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsNew.cxx @@ -19,7 +19,7 @@ #include "otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.h" #include <cstdlib> -int otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsNew(int argc, char * argv[]) +int otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsType; diff --git a/Testing/Code/Radiometry/otbAtmosphericRadiativeTermsTest.cxx b/Testing/Code/Radiometry/otbAtmosphericRadiativeTermsTest.cxx index 0c6aed485bdff64fc34ce8ddfed745ca8d7ef990..8fea0ba508abef15607f575005f5cb227bf1174c 100644 --- a/Testing/Code/Radiometry/otbAtmosphericRadiativeTermsTest.cxx +++ b/Testing/Code/Radiometry/otbAtmosphericRadiativeTermsTest.cxx @@ -23,7 +23,7 @@ #include "otbAtmosphericRadiativeTerms.h" #include <cstdlib> -int otbAtmosphericRadiativeTermsNew(int argc, char * argv[]) +int otbAtmosphericRadiativeTermsNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AtmosphericRadiativeTerms AtmosphericRadiativeTermsType; @@ -33,7 +33,7 @@ int otbAtmosphericRadiativeTermsNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbAtmosphericRadiativeTermsSingleChannelNew(int argc, char * argv[]) +int otbAtmosphericRadiativeTermsSingleChannelNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::AtmosphericRadiativeTermsSingleChannel AtmosphericRadiativeTermsType; @@ -60,7 +60,7 @@ std::ostream& operator<<(std::ostream& os, const otb::AtmosphericRadiativeTerms: return os; } -int otbAtmosphericRadiativeTermsTest(int argc, char * argv[]) +int otbAtmosphericRadiativeTermsTest(int itkNotUsed(argc), char * argv[]) { char * filename = argv[1]; std::ofstream file; diff --git a/Testing/Code/Radiometry/otbDEMCaracteristicsExtractor.cxx b/Testing/Code/Radiometry/otbDEMCaracteristicsExtractor.cxx index 18ca5583a0730f938a79239f002589fcdc029364..d790c5bd33c695078a2122dd5ef4f120be90602a 100644 --- a/Testing/Code/Radiometry/otbDEMCaracteristicsExtractor.cxx +++ b/Testing/Code/Radiometry/otbDEMCaracteristicsExtractor.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbImageFileReader.h" -int otbDEMCaracteristicsExtractor(int argc, char * argv[]) +int otbDEMCaracteristicsExtractor(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputSlotFileName = argv[6]; diff --git a/Testing/Code/Radiometry/otbDEMCaracteristicsExtractorNew.cxx b/Testing/Code/Radiometry/otbDEMCaracteristicsExtractorNew.cxx index 1e653f9a63bd75b3e7d9aa1acaea7b5292a11ace..efb70d53f15739a3fc4473f6c4ffcc6d4aa181d0 100644 --- a/Testing/Code/Radiometry/otbDEMCaracteristicsExtractorNew.cxx +++ b/Testing/Code/Radiometry/otbDEMCaracteristicsExtractorNew.cxx @@ -20,7 +20,7 @@ #include "otbDEMCaracteristicsExtractor.h" #include "otbImage.h" -int otbDEMCaracteristicsExtractorNew(int argc, char * argv[]) +int otbDEMCaracteristicsExtractorNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbEVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbEVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx index f8f65376bc068538e0bf188f5c30179fd9b87933..37445a18bfc2438697a8d2d69bcf308f63d4473b 100644 --- a/Testing/Code/Radiometry/otbEVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbEVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputImage, class TOutputImage, class TFunction> -int generic_EVIMultiChannelRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int generic_EVIMultiChannelRAndBAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputImage> ReaderType; typedef otb::ImageFileWriter<TOutputImage> WriterType; diff --git a/Testing/Code/Radiometry/otbEVIRAndBAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbEVIRAndBAndNIRVegetationIndexImageFilter.cxx index 1ec7d5e742e6e6f62e7d8b0d2a80de8d971a5ef4..a7817729e4d831d08a3796782576ca2d378c3e6c 100644 --- a/Testing/Code/Radiometry/otbEVIRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbEVIRAndBAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputRImage, class TInputBImage, class TInputNIRImage, class TOutputImage, class TFunction> -int generic_EVIRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int generic_EVIRAndBAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputRImage> RReaderType; typedef otb::ImageFileReader<TInputBImage> BReaderType; diff --git a/Testing/Code/Radiometry/otbFilterFunctionValues.cxx b/Testing/Code/Radiometry/otbFilterFunctionValues.cxx index 838045679c4ab5f2683180586703c958741856fa..2384f0aa0f7c17a010cdf3202a5dcb328c0d0ee2 100644 --- a/Testing/Code/Radiometry/otbFilterFunctionValues.cxx +++ b/Testing/Code/Radiometry/otbFilterFunctionValues.cxx @@ -26,8 +26,6 @@ #include "itksys/SystemTools.hxx" #include "otbSpectralResponse.h" - - int otbFilterFunctionValuesSpectralResponseTest(int argc, char * argv[]) { @@ -123,7 +121,7 @@ int otbFilterFunctionValuesTest(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbFilterFunctionValuesDigitalGlobeTest(int argc, char * argv[]) +int otbFilterFunctionValuesDigitalGlobeTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outname = argv[2]; diff --git a/Testing/Code/Radiometry/otbGAndRIndexImageFilter.cxx b/Testing/Code/Radiometry/otbGAndRIndexImageFilter.cxx index c4224c25c58253de28f343f7d47f245b6f8f93cd..4361f8dc29f57cd75cf011373072c313256cb457 100644 --- a/Testing/Code/Radiometry/otbGAndRIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbGAndRIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbSoilIndicesFunctor.h" template<class TInputGImage, class TInputRImage, class TOutputImage, class TFunction> -int generic_GAndRIndexImageFilter(int argc, char * argv[]) +int generic_GAndRIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputGImage> GReaderType; typedef otb::ImageFileReader<TInputRImage> RReaderType; diff --git a/Testing/Code/Radiometry/otbGAndRIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbGAndRIndexImageFilterNew.cxx index 2e5edcbecb6abbd39c377f20024fc000e1a934c9..f24c9a7ee2415c6aff40465a8fbcf8204231222f 100644 --- a/Testing/Code/Radiometry/otbGAndRIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbGAndRIndexImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbImage.h" #include "otbImage.h" -int otbGAndRIndexImageFilterNew(int argc, char * argv[]) +int otbGAndRIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Radiometry/otbIBGAndRAndNIRIndexImageFilter.cxx b/Testing/Code/Radiometry/otbIBGAndRAndNIRIndexImageFilter.cxx index d749cfce8cebc0bef6cb49843e2f3945285d2e77..52d42f177f15d7c1ed38b18a1846a4a57126aab7 100644 --- a/Testing/Code/Radiometry/otbIBGAndRAndNIRIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbIBGAndRAndNIRIndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbSoilIndicesFunctor.h" -int otbIBGAndRAndNIRIndexImageFilter(int argc, char * argv[]) +int otbIBGAndRAndNIRIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbIBMultiChannelGAndRAndNIRIndexImageFilter.cxx b/Testing/Code/Radiometry/otbIBMultiChannelGAndRAndNIRIndexImageFilter.cxx index 4376c264bfac81581d8728c314561af7dcddc8b8..ef5ff12a84ef431e207bfa68eb0cad6434ba11f7 100644 --- a/Testing/Code/Radiometry/otbIBMultiChannelGAndRAndNIRIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbIBMultiChannelGAndRAndNIRIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbSoilIndicesFunctor.h" -int otbIBMultiChannelGAndRAndNIRIndexImageFilter(int argc, char * argv[]) +int otbIBMultiChannelGAndRAndNIRIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbISUMultiChannelRAndNIRIndexImageFilter.cxx b/Testing/Code/Radiometry/otbISUMultiChannelRAndNIRIndexImageFilter.cxx index 3b54b59de2832d0bdf3f51fc417d23f14dad5f8e..82dcaa2a5bb7b99fcc19b9f08650d0152290492a 100644 --- a/Testing/Code/Radiometry/otbISUMultiChannelRAndNIRIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbISUMultiChannelRAndNIRIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbBuiltUpIndicesFunctor.h" -int otbISUMultiChannelRAndNIRIndexImageFilter(int argc, char * argv[]) +int otbISUMultiChannelRAndNIRIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbISURAndNIRIndexImageFilter.cxx b/Testing/Code/Radiometry/otbISURAndNIRIndexImageFilter.cxx index 89a66502daa08e697d1069740631f6653b2790c6..5e2e3e671b3480b7681993192cf1b3b409fa2c0c 100644 --- a/Testing/Code/Radiometry/otbISURAndNIRIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbISURAndNIRIndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbBuiltUpIndicesFunctor.h" -int otbISURAndNIRIndexImageFilter(int argc, char * argv[]) +int otbISURAndNIRIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbImageToLuminanceImageFilter.cxx b/Testing/Code/Radiometry/otbImageToLuminanceImageFilter.cxx index 0263b8bc6cd92d52d8d0785f11714223a514578d..43c1e604a36577d5ffb5e867b940cb0364997d8b 100644 --- a/Testing/Code/Radiometry/otbImageToLuminanceImageFilter.cxx +++ b/Testing/Code/Radiometry/otbImageToLuminanceImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "itkVariableLengthVector.h" -int otbImageToLuminanceImageFilter(int argc, char * argv[]) +int otbImageToLuminanceImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbImageToLuminanceImageFilterAuto.cxx b/Testing/Code/Radiometry/otbImageToLuminanceImageFilterAuto.cxx index 9751226bdff6b76f5db0bbe1d70dad9979b0adf0..1cd9d92d4955a5acb9159a655e83d7e0a9bfd3d7 100644 --- a/Testing/Code/Radiometry/otbImageToLuminanceImageFilterAuto.cxx +++ b/Testing/Code/Radiometry/otbImageToLuminanceImageFilterAuto.cxx @@ -25,7 +25,7 @@ #include "otbMultiChannelExtractROI.h" //Test the retrieval of parameters from the image metadata -int otbImageToLuminanceImageFilterAuto(int argc, char * argv[]) +int otbImageToLuminanceImageFilterAuto(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbImageToLuminanceImageFilterNew.cxx b/Testing/Code/Radiometry/otbImageToLuminanceImageFilterNew.cxx index bc274373df72961b4eb2a59e0dafe9a7a3750daf..902498a6184e43e4f31524c8e2b8aac6e2875346 100644 --- a/Testing/Code/Radiometry/otbImageToLuminanceImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbImageToLuminanceImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageToLuminanceImageFilter.h" #include "otbVectorImage.h" -int otbImageToLuminanceImageFilterNew(int argc, char * argv[]) +int otbImageToLuminanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbImageToReflectanceImageFilterAuto.cxx b/Testing/Code/Radiometry/otbImageToReflectanceImageFilterAuto.cxx index 41389d228434434e723365480efbab1ca3e2378c..f0590df6def3083cc421848f8cb1a17886030f30 100644 --- a/Testing/Code/Radiometry/otbImageToReflectanceImageFilterAuto.cxx +++ b/Testing/Code/Radiometry/otbImageToReflectanceImageFilterAuto.cxx @@ -24,7 +24,7 @@ #include "itkVariableLengthVector.h" #include "otbMultiChannelExtractROI.h" -int otbImageToReflectanceImageFilterAuto(int argc, char * argv[]) +int otbImageToReflectanceImageFilterAuto(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; @@ -36,7 +36,7 @@ int otbImageToReflectanceImageFilterAuto(int argc, char * argv[]) typedef otb::ImageFileReader<InputImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; typedef otb::ImageToReflectanceImageFilter<InputImageType, OutputImageType> ImageToReflectanceImageFilterType; - typedef ImageToReflectanceImageFilterType::VectorType VectorType; + typedef otb::MultiChannelExtractROI<PixelType, PixelType> RoiFilterType; ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Radiometry/otbImageToReflectanceImageFilterNew.cxx b/Testing/Code/Radiometry/otbImageToReflectanceImageFilterNew.cxx index 33f183faabc3171473caee07dfe35c6a9f2ffafd..7d816c988d3ac8ed32af482410d20eedd6c42ad4 100644 --- a/Testing/Code/Radiometry/otbImageToReflectanceImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbImageToReflectanceImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageToReflectanceImageFilter.h" #include "otbVectorImage.h" -int otbImageToReflectanceImageFilterNew(int argc, char * argv[]) +int otbImageToReflectanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbLAIFromNDVILogarithmicFunctorTest.cxx b/Testing/Code/Radiometry/otbLAIFromNDVILogarithmicFunctorTest.cxx index 1af1a59723250f543d46f570c887ac5dcbd8b074..b59361142a7e0cb6ca0a99732b40ac8adb8e4eb8 100644 --- a/Testing/Code/Radiometry/otbLAIFromNDVILogarithmicFunctorTest.cxx +++ b/Testing/Code/Radiometry/otbLAIFromNDVILogarithmicFunctorTest.cxx @@ -18,7 +18,7 @@ #include "itkMacro.h" #include "otbVegetationIndicesFunctor.h" -int otbLAIFromNDVILogarithmic(int argc, char * argv[]) +int otbLAIFromNDVILogarithmic(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbLAIFromReflectancesLinearFunctorTest.cxx b/Testing/Code/Radiometry/otbLAIFromReflectancesLinearFunctorTest.cxx index e9cefa8ed42b5129d8dc18523e718815b823bab3..0b00a3877c36cbe803acd58f1111986b01b2d4ab 100644 --- a/Testing/Code/Radiometry/otbLAIFromReflectancesLinearFunctorTest.cxx +++ b/Testing/Code/Radiometry/otbLAIFromReflectancesLinearFunctorTest.cxx @@ -18,7 +18,7 @@ #include "itkMacro.h" #include "otbVegetationIndicesFunctor.h" -int otbLAIFromReflectancesLinear(int argc, char * argv[]) +int otbLAIFromReflectancesLinear(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMBrightTest.cxx b/Testing/Code/Radiometry/otbLandsatTMBrightTest.cxx index 9a91e73de64a61e29e726734bddda896c12b7e1b..1932b8f4cd2d877b50533bcf9cdc8dfdaa50c567 100644 --- a/Testing/Code/Radiometry/otbLandsatTMBrightTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMBrightTest.cxx @@ -25,7 +25,7 @@ #include <vector> #include <algorithm> -int otbLandsatTMBrightTest(int argc, char * argv[]) +int otbLandsatTMBrightTest(int itkNotUsed(argc), char * argv[]) { typedef float InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexBIOTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexBIOTest.cxx index 5950589453e72989e91c99214cb7c551077fd517..7654496aef993af1db36fd3b9ca910f135379397 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexBIOTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexBIOTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexBIO(int argc, char * argv[]) +int otbLandsatTMIndexBIO(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexBrightTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexBrightTest.cxx index f80d519b31b460276dcd7ee42c7f468b39fb1541..b4789972768fbf7cc591aeac8d07fc87220bb3e9 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexBrightTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexBrightTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexBright(int argc, char * argv[]) +int otbLandsatTMIndexBright(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexMIR1Test.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexMIR1Test.cxx index ac5f4846f42f2b79f07c448caaa64001eaaf78b0..f98f91c475d6d9c11e62f29e90352650a976ede7 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexMIR1Test.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexMIR1Test.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexMIR1(int argc, char * argv[]) +int otbLandsatTMIndexMIR1(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexMIR2Test.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexMIR2Test.cxx index 2907e18e7b59c0a0eb533c9a25d1d7583f77aef1..83fa3454835e4523cb536072ca34d7e7ab98ef95 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexMIR2Test.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexMIR2Test.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexMIR2(int argc, char * argv[]) +int otbLandsatTMIndexMIR2(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexMIRTIRTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexMIRTIRTest.cxx index 6e665d1685092a719971fa8729b2d2ac9f12c617..1cd45af4a2efffae11f2d71506cf391cecb75ebb 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexMIRTIRTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexMIRTIRTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexMIRTIR(int argc, char * argv[]) +int otbLandsatTMIndexMIRTIR(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexNDBBBITest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexNDBBBITest.cxx index dbe37d2be28d86ae41ad02eb2e97d6e7b48bc8f7..5402c9471d4f414d40f1d989801e882884dfc501 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexNDBBBITest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexNDBBBITest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexNDBBBI(int argc, char * argv[]) +int otbLandsatTMIndexNDBBBI(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexNDBSITest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexNDBSITest.cxx index 07d0f7a9e9f5df2d58d9647612cf32fcf8ff0d42..4d4ffa3e93c7af70ea72a4ec260a3552405ec7e3 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexNDBSITest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexNDBSITest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexNDBSI(int argc, char * argv[]) +int otbLandsatTMIndexNDBSI(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexNDSITest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexNDSITest.cxx index 25918468f02574c29e9a303f33b473421d8abbd6..07bda88c829deda3537f9e8333b5a53e9ffbb81b 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexNDSITest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexNDSITest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexNDSI(int argc, char * argv[]) +int otbLandsatTMIndexNDSI(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexNDSIVisTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexNDSIVisTest.cxx index 2d2578b6c535748c4ad49e983f040565287c1f16..1a1b2de0e6cdd8f89119fdbecf5d8321bf88ee7a 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexNDSIVisTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexNDSIVisTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexNDSIVis(int argc, char * argv[]) +int otbLandsatTMIndexNDSIVis(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexNDVITest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexNDVITest.cxx index 7d07fecb38ccd14fd1caa31fb6a2c9f05285111b..0e36085eae39334af018cb016529e847272702fe 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexNDVITest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexNDVITest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexNDVI(int argc, char * argv[]) +int otbLandsatTMIndexNDVI(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexNIRTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexNIRTest.cxx index 190c0d5af8beae8ddac818b1eb5b3126b2600ac3..b1dc6f7f77b1ec3ad307d841c898aba16d45c9c9 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexNIRTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexNIRTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexNIR(int argc, char * argv[]) +int otbLandsatTMIndexNIR(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexTIRTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexTIRTest.cxx index cf6dbb989f97eace15101aa775f24d55eea9b1de..b2f95b139b74eb7113cf0c487277eaaf2d162432 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexTIRTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexTIRTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexTIR(int argc, char * argv[]) +int otbLandsatTMIndexTIR(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > L7InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMIndexVisTest.cxx b/Testing/Code/Radiometry/otbLandsatTMIndexVisTest.cxx index 4fa694a7defc11260976837f81bb630becbf1c73..0b10153bdd21057ded1898f0718b35db68e1ec0a 100644 --- a/Testing/Code/Radiometry/otbLandsatTMIndexVisTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMIndexVisTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMIndexVis(int argc, char * argv[]) +int otbLandsatTMIndexVis(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMKernelSpectralRules.cxx b/Testing/Code/Radiometry/otbLandsatTMKernelSpectralRules.cxx index 70176155df7c23b5b7666e1936cacb974d8d4e3e..75113c2678f1508a99096a37c2d3c80618f23fe7 100644 --- a/Testing/Code/Radiometry/otbLandsatTMKernelSpectralRules.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMKernelSpectralRules.cxx @@ -331,7 +331,7 @@ int computeRules(double TM1, double TM2, double TM3, double TM4, double TM5, dou } -int otbLandsatTMKernelSpectralRules(int argc, char * argv[]) +int otbLandsatTMKernelSpectralRules(int itkNotUsed(argc), char * argv[]) { double TM1 = (::atof(argv[1])); double TM2 = (::atof(argv[2])); @@ -347,7 +347,7 @@ int otbLandsatTMKernelSpectralRules(int argc, char * argv[]) } -int otbLandsatTMKernelSpectralRulesWithImage(int argc, char * argv[]) +int otbLandsatTMKernelSpectralRulesWithImage(int itkNotUsed(argc), char * argv[]) { typedef double InputPixelType; @@ -401,6 +401,3 @@ int otbLandsatTMKernelSpectralRulesWithImage(int argc, char * argv[]) return EXIT_SUCCESS; } - - - diff --git a/Testing/Code/Radiometry/otbLandsatTMLinguisticLabelsTest.cxx b/Testing/Code/Radiometry/otbLandsatTMLinguisticLabelsTest.cxx index 1b6a1a9433c00b64d9dc11743ea4a702e83cf93a..bf48745c59daf3894800f1f196427de940c55121 100644 --- a/Testing/Code/Radiometry/otbLandsatTMLinguisticLabelsTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMLinguisticLabelsTest.cxx @@ -19,7 +19,7 @@ #include "itkFixedArray.h" #include "otbLandsatTMIndices.h" -int otbLandsatTMLinguisticLabels(int argc, char * argv[]) +int otbLandsatTMLinguisticLabels(int itkNotUsed(argc), char * argv[]) { typedef double OutputPixelType; typedef itk::FixedArray< double, 8 > InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMSpectralRuleBasedClassifierTest.cxx b/Testing/Code/Radiometry/otbLandsatTMSpectralRuleBasedClassifierTest.cxx index a43f829669a73b49a5cb6ac8a2cd2f9a549213d0..4a769f2993297ba599f842360b914d07c4c2882b 100644 --- a/Testing/Code/Radiometry/otbLandsatTMSpectralRuleBasedClassifierTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMSpectralRuleBasedClassifierTest.cxx @@ -24,7 +24,7 @@ #include "itkUnaryFunctorImageFilter.h" #include <algorithm> -int otbLandsatTMSpectralRuleBasedClassifierTest(int argc, char * argv[]) +int otbLandsatTMSpectralRuleBasedClassifierTest(int itkNotUsed(argc), char * argv[]) { typedef double InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMThickCloudTest.cxx b/Testing/Code/Radiometry/otbLandsatTMThickCloudTest.cxx index 8f5f21276a32fe33df574d4e899ab7a13ebf9f36..17ec453c403435c0cc718f0d1e7f75179f488a0a 100644 --- a/Testing/Code/Radiometry/otbLandsatTMThickCloudTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMThickCloudTest.cxx @@ -25,7 +25,7 @@ #include <vector> #include <algorithm> -int otbLandsatTMThickCloudTest(int argc, char * argv[]) +int otbLandsatTMThickCloudTest(int itkNotUsed(argc), char * argv[]) { typedef double InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMThinCloudTest.cxx b/Testing/Code/Radiometry/otbLandsatTMThinCloudTest.cxx index 8aae68819f5526227e43887693c2e0e2f19bd4b1..feb76672c8436a36c849eea1c87f6b1dbec74c80 100644 --- a/Testing/Code/Radiometry/otbLandsatTMThinCloudTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMThinCloudTest.cxx @@ -26,7 +26,7 @@ #include <vector> #include <algorithm> -int otbLandsatTMThinCloudTest(int argc, char * argv[]) +int otbLandsatTMThinCloudTest(int itkNotUsed(argc), char * argv[]) { typedef double InputPixelType; diff --git a/Testing/Code/Radiometry/otbLandsatTMVegetationTest.cxx b/Testing/Code/Radiometry/otbLandsatTMVegetationTest.cxx index 1c1acd137632f2464d10c48b9cb0198081e3f620..139d74ddb8da42975f553f4d96c2fbdfa1f47092 100644 --- a/Testing/Code/Radiometry/otbLandsatTMVegetationTest.cxx +++ b/Testing/Code/Radiometry/otbLandsatTMVegetationTest.cxx @@ -26,7 +26,7 @@ #include <vector> #include <algorithm> -int otbLandsatTMVegetationTest(int argc, char * argv[]) +int otbLandsatTMVegetationTest(int itkNotUsed(argc), char * argv[]) { typedef double InputPixelType; diff --git a/Testing/Code/Radiometry/otbLuminanceToImageImageFilter.cxx b/Testing/Code/Radiometry/otbLuminanceToImageImageFilter.cxx index b2aaa9f04d834645b9418e1aa7abeed19636b7a3..7de16fb89cee0bab3cc5ae8fda593fe19609b57f 100644 --- a/Testing/Code/Radiometry/otbLuminanceToImageImageFilter.cxx +++ b/Testing/Code/Radiometry/otbLuminanceToImageImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "itkVariableLengthVector.h" -int otbLuminanceToImageImageFilter(int argc, char * argv[]) +int otbLuminanceToImageImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbLuminanceToImageImageFilterAuto.cxx b/Testing/Code/Radiometry/otbLuminanceToImageImageFilterAuto.cxx index c62d4d559e99777b1a2f45d3155972636722dac7..e1ebde3b260e140c8ef174260234b965959d33aa 100644 --- a/Testing/Code/Radiometry/otbLuminanceToImageImageFilterAuto.cxx +++ b/Testing/Code/Radiometry/otbLuminanceToImageImageFilterAuto.cxx @@ -25,7 +25,7 @@ #include "otbMultiChannelExtractROI.h" //Test the retrieval of parameters from the image metadata -int otbLuminanceToImageImageFilterAuto(int argc, char * argv[]) +int otbLuminanceToImageImageFilterAuto(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * inputFileName2 = argv[2]; @@ -39,7 +39,6 @@ int otbLuminanceToImageImageFilterAuto(int argc, char * argv[]) typedef otb::ImageFileReader<InputImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; typedef otb::LuminanceToImageImageFilter<InputImageType, OutputImageType> LuminanceToImageImageFilterType; - typedef LuminanceToImageImageFilterType::VectorType VectorType; typedef otb::MultiChannelExtractROI<PixelType, PixelType> RoiFilterType; ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Radiometry/otbLuminanceToImageImageFilterNew.cxx b/Testing/Code/Radiometry/otbLuminanceToImageImageFilterNew.cxx index d1509e5f25ba6bbed8c19bdaf1e76e5443685c35..8ae4877f151e5a8ad1d3663b32c90aed3f6e69f3 100644 --- a/Testing/Code/Radiometry/otbLuminanceToImageImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbLuminanceToImageImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbLuminanceToImageImageFilter.h" #include "otbVectorImage.h" -int otbLuminanceToImageImageFilterNew(int argc, char * argv[]) +int otbLuminanceToImageImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterAuto.cxx b/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterAuto.cxx index 3aace93732dd8066c8d62491028d5b8cf943a934..633dec116383f335192efabbc591d3fb9deed7b2 100644 --- a/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterAuto.cxx +++ b/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterAuto.cxx @@ -25,7 +25,7 @@ #include "itkVariableLengthVector.h" #include "otbMultiChannelExtractROI.h" -int otbLuminanceToReflectanceImageFilterAuto(int argc, char * argv[]) +int otbLuminanceToReflectanceImageFilterAuto(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; @@ -39,7 +39,6 @@ int otbLuminanceToReflectanceImageFilterAuto(int argc, char * argv[]) typedef otb::ImageToLuminanceImageFilter<InputImageType, OutputImageType> ImageToLuminanceImageFilterType; typedef otb::LuminanceToReflectanceImageFilter<OutputImageType, OutputImageType> LuminanceToReflectanceImageFilterType; - typedef ImageToLuminanceImageFilterType::VectorType VectorType; typedef otb::MultiChannelExtractROI<PixelType, PixelType> RoiFilterType; ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterNew.cxx b/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterNew.cxx index d656a888cab5638fc7222e5bbe08d9db161a5b33..7484ce716bfe7f4a734b03ac5dfa5801129ef485 100644 --- a/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbLuminanceToReflectanceImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbLuminanceToReflectanceImageFilter.h" #include "otbVectorImage.h" -int otbLuminanceToReflectanceImageFilterNew(int argc, char * argv[]) +int otbLuminanceToReflectanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilter.cxx b/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilter.cxx index 58ba9fd9e9689cd506ffa13aa2ffc482a29c3ad7..6062cfa02348a63990d08bf4156f08a2068ce407 100644 --- a/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputImage, class TOutputImage, class TFunction> -int generic_MultiChannelGAndRIndexImageFilter(int argc, char * argv[]) +int generic_MultiChannelGAndRIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputImage> ReaderType; typedef otb::ImageFileWriter<TOutputImage> WriterType; diff --git a/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilterNew.cxx index dea8cab37c1a9dcea91f4665dc5dd4beee8bf262..0d03e542848a7e8506c1b3d8408d550fb444e7fb 100644 --- a/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelGAndRIndexImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "otbVectorImage.h" -int otbMultiChannelGAndRIndexImageFilterNew(int argc, char * argv[]) +int otbMultiChannelGAndRIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<unsigned char, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx index 7fe4d30c26005cb8b2403f6bebe0e68351da312a..e6dfe71816e0edb3b142514454585d848991089d 100644 --- a/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputImage, class TOutputImage, class TFunction> -int generic_MultiChannelRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int generic_MultiChannelRAndBAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputImage> ReaderType; typedef otb::ImageFileWriter<TOutputImage> WriterType; diff --git a/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx index 11c3bf67d3e94c98391bb48949aa332510beec72..dd5bad8dfc5518696125c790553d1d5679db67f9 100644 --- a/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "otbVectorImage.h" -int otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew(int argc, char * argv[]) +int otbMultiChannelRAndBAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<unsigned char, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx index f1323d637268738e8f9e99fc20be354e7f215ab4..0da5eef7bb6ae42c5ebd8c1a3cefd8c630368c32 100644 --- a/Testing/Code/Radiometry/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelRAndGAndNIRIndexImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "otbVectorImage.h" -int otbMultiChannelRAndGAndNIRIndexImageFilterNew(int argc, char * argv[]) +int otbMultiChannelRAndGAndNIRIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<unsigned char, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilter.cxx index a2b5ffe374739387307de961965668e85615fb08..284cd0717d9b0795ad23f06ea0ad35d065aa4c86 100644 --- a/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputImage, class TOutputImage, class TFunction> -int generic_MultiChannelRAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int generic_MultiChannelRAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputImage> ReaderType; typedef otb::ImageFileWriter<TOutputImage> WriterType; diff --git a/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx index 87b076cd355e510c1d9b60b4aed2b9f28bff7211..cd3fe3a11a044a69f7a8e21508a4abb56669027e 100644 --- a/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbMultiChannelRAndNIRVegetationIndexImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "otbVectorImage.h" -int otbMultiChannelRAndNIRVegetationIndexImageFilterNew(int argc, char * argv[]) +int otbMultiChannelRAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<unsigned char, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbNDBIMultiChannelTM4AndTM5IndexImageFilter.cxx b/Testing/Code/Radiometry/otbNDBIMultiChannelTM4AndTM5IndexImageFilter.cxx index 997c670edc68ef82da35ea94a93a89e7acf5b5f9..53012a6ba55f464d6655a87805adf2ec485db30d 100644 --- a/Testing/Code/Radiometry/otbNDBIMultiChannelTM4AndTM5IndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbNDBIMultiChannelTM4AndTM5IndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbBuiltUpIndicesFunctor.h" -int otbNDBIMultiChannelTM4AndTM5IndexImageFilter(int argc, char * argv[]) +int otbNDBIMultiChannelTM4AndTM5IndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbNDBITM4AndTM5IndexImageFilter.cxx b/Testing/Code/Radiometry/otbNDBITM4AndTM5IndexImageFilter.cxx index d6abcaa44b9a6e00021a72eb3ec05cd29a0e46f4..356dda6956a7b4b0f3bfa7c7a553e18894508f9a 100644 --- a/Testing/Code/Radiometry/otbNDBITM4AndTM5IndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbNDBITM4AndTM5IndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbBuiltUpIndicesFunctor.h" -int otbNDBITM4AndTM5IndexImageFilter(int argc, char * argv[]) +int otbNDBITM4AndTM5IndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbNDWIMultiChannelWaterIndexImageFilter.cxx b/Testing/Code/Radiometry/otbNDWIMultiChannelWaterIndexImageFilter.cxx index 3471054510519d38517d47d07ad1f175de38ff5a..67087c44938f76c206dab97d30cdc9eeb3ac1ef2 100644 --- a/Testing/Code/Radiometry/otbNDWIMultiChannelWaterIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbNDWIMultiChannelWaterIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbWaterIndicesFunctor.h" -int otbNDWIMultiChannelWaterIndexImageFilter(int argc, char * argv[]) +int otbNDWIMultiChannelWaterIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbNDWIWaterIndexImageFilter.cxx b/Testing/Code/Radiometry/otbNDWIWaterIndexImageFilter.cxx index 005b3ad73d77e73d089e46cfbb2ac94f65647098..0d4a3e4fc69036f64a124d7f1d79c79db2928633 100644 --- a/Testing/Code/Radiometry/otbNDWIWaterIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbNDWIWaterIndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbWaterIndicesFunctor.h" -int otbNDWIWaterIndexImageFilter(int argc, char * argv[]) +int otbNDWIWaterIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilter.cxx index 3c1a5f050e3eb03d2a0f4a9c7005bdfa9b7c9396..0174ae6365222bacb873dd0f6fab62100ce2b2a5 100644 --- a/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputRImage, class TInputBImage, class TInputNIRImage, class TOutputImage, class TFunction> -int generic_RAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int generic_RAndBAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputRImage> RReaderType; typedef otb::ImageFileReader<TInputBImage> BReaderType; diff --git a/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx index 0ad2e68748041b7feca317584a2eb2345a5d486b..8ff6ce70b09105910d19a229cef41f50ed97b42e 100644 --- a/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbRAndBAndNIRVegetationIndexImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbRAndBAndNIRIndexImageFilter.h" #include "otbImage.h" -int otbRAndBAndNIRVegetationIndexImageFilterNew(int argc, char * argv[]) +int otbRAndBAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx index 0619baaff84667dd792c93d0e7d8faa35a54b77f..6a9dff34e15a106167524248012562262467fa38 100644 --- a/Testing/Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbRAndGAndNIRIndexImageFilter.h" #include "otbImage.h" -int otbRAndGAndNIRVegetationIndexImageFilterNew(int argc, char * argv[]) +int otbRAndGAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilter.cxx index e96e6ede0f08db885ff4d610956af3d3e3ffe071..7bfaa42127fe274980d540eb83dd5f3d9d05297b 100644 --- a/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputRImage, class TInputNIRImage, class TOutputImage, class TFunction> -int generic_RAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int generic_RAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputRImage> RReaderType; typedef otb::ImageFileReader<TInputNIRImage> NIRReaderType; diff --git a/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilterNew.cxx b/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilterNew.cxx index 0573323f66e7c092fad5c570304d123f6e878683..4895ed9066a56eb4c12ce599e27a930ab9c759ae 100644 --- a/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbRAndNIRVegetationIndexImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbImage.h" #include "otbImage.h" -int otbRAndNIRVegetationIndexImageFilterNew(int argc, char * argv[]) +int otbRAndNIRVegetationIndexImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Radiometry/otbReflectanceToImageImageFilterAuto.cxx b/Testing/Code/Radiometry/otbReflectanceToImageImageFilterAuto.cxx index a56588aff0a4d2105c9381d1ae00626621d51869..f6d143fe9bce0a5c124a4878c3b929be94548cc2 100644 --- a/Testing/Code/Radiometry/otbReflectanceToImageImageFilterAuto.cxx +++ b/Testing/Code/Radiometry/otbReflectanceToImageImageFilterAuto.cxx @@ -24,7 +24,7 @@ #include "itkVariableLengthVector.h" #include "otbMultiChannelExtractROI.h" -int otbReflectanceToImageImageFilterAuto(int argc, char * argv[]) +int otbReflectanceToImageImageFilterAuto(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * inputFileName2 = argv[2]; @@ -38,7 +38,6 @@ int otbReflectanceToImageImageFilterAuto(int argc, char * argv[]) typedef otb::ImageFileReader<InputImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; typedef otb::ReflectanceToImageImageFilter<InputImageType, OutputImageType> ReflectanceToImageImageFilterType; - typedef ReflectanceToImageImageFilterType::VectorType VectorType; typedef otb::MultiChannelExtractROI<PixelType, PixelType> RoiFilterType; ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Radiometry/otbReflectanceToImageImageFilterNew.cxx b/Testing/Code/Radiometry/otbReflectanceToImageImageFilterNew.cxx index ec14c72636d14f3686cc090cc60f4df26600271d..c2c0ddada0e0ca8bbc0f17d6c482940cbbd8a19c 100644 --- a/Testing/Code/Radiometry/otbReflectanceToImageImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbReflectanceToImageImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbReflectanceToImageImageFilter.h" #include "otbVectorImage.h" -int otbReflectanceToImageImageFilterNew(int argc, char * argv[]) +int otbReflectanceToImageImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterAuto.cxx b/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterAuto.cxx index 16f42fef0311265600c3ee10ea6dbc4662df85b9..a1c6b2ce8a82c3d70cb3c3953aa3f1eecb500ae5 100644 --- a/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterAuto.cxx +++ b/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterAuto.cxx @@ -24,7 +24,7 @@ #include "itkVariableLengthVector.h" #include "otbMultiChannelExtractROI.h" -int otbReflectanceToLuminanceImageFilterAuto(int argc, char * argv[]) +int otbReflectanceToLuminanceImageFilterAuto(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; @@ -38,7 +38,6 @@ const char * inputFileName = argv[1]; typedef otb::ImageFileWriter<OutputImageType> WriterType; typedef otb::ReflectanceToLuminanceImageFilter<OutputImageType, OutputImageType> ReflectanceToLuminanceImageFilterType; - typedef ReflectanceToLuminanceImageFilterType::VectorType VectorType; ReaderType::Pointer reader = ReaderType::New(); WriterType::Pointer writer = WriterType::New(); @@ -48,7 +47,7 @@ const char * inputFileName = argv[1]; // Instantiating object ReflectanceToLuminanceImageFilterType::Pointer filterToLuminance = ReflectanceToLuminanceImageFilterType::New(); - + filterToLuminance->SetInput(reader->GetOutput()); writer->SetInput(filterToLuminance->GetOutput()); writer->Update(); diff --git a/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterNew.cxx b/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterNew.cxx index 6e86cc9ba3e21b64ff21d8b00156b027d634499e..c5190f347d3b9eba8d1d90fbc778bb5b4330f166 100644 --- a/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbReflectanceToLuminanceImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbReflectanceToLuminanceImageFilter.h" #include "otbVectorImage.h" -int otbReflectanceToLuminanceImageFilterNew(int argc, char * argv[]) +int otbReflectanceToLuminanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx b/Testing/Code/Radiometry/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx index 46eee240f24fbc3aa17e334e931fc161de9ce584..ddfe0e18262f59bbb0eef9f85b88d5baeea635f9 100644 --- a/Testing/Code/Radiometry/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx +++ b/Testing/Code/Radiometry/otbReflectanceToSurfaceReflectanceImageFilterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbAtmosphericRadiativeTerms.h" -int otbReflectanceToSurfaceReflectanceImageFilterNew(int argc, char * argv[]) +int otbReflectanceToSurfaceReflectanceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; @@ -42,7 +42,7 @@ int otbReflectanceToSurfaceReflectanceImageFilterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbReflectanceToSurfaceReflectanceImageFilterTest(int argc, char * argv[]) +int otbReflectanceToSurfaceReflectanceImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; @@ -101,7 +101,7 @@ int otbReflectanceToSurfaceReflectanceImageFilterTest(int argc, char * argv[]) } //Check the correct generation of the atmospheric parameters -int otbReflectanceToSurfaceReflectanceImageFilterTest2(int argc, char * argv[]) +int otbReflectanceToSurfaceReflectanceImageFilterTest2(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx b/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx index e46ee7766a86986122c61786a0a749a2fac94e4f..90c442a2537da242c01cce63d2c00e28dfc7d6db 100644 --- a/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx +++ b/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx @@ -27,7 +27,7 @@ #include <fstream> #include <iostream> -int otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter(int argc, char * argv[]) +int otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbSIXSTraitsComputeAtmosphericParameters.cxx b/Testing/Code/Radiometry/otbSIXSTraitsComputeAtmosphericParameters.cxx index e5e0ce767f9ffe72b6ec2be68f2fc65a3c6ad472..a2e9d9ef586fbb5c765aa18b90e0167a046bc650 100644 --- a/Testing/Code/Radiometry/otbSIXSTraitsComputeAtmosphericParameters.cxx +++ b/Testing/Code/Radiometry/otbSIXSTraitsComputeAtmosphericParameters.cxx @@ -24,7 +24,7 @@ #include <iomanip> #include <cstdlib> -int otbSIXSTraitsComputeAtmosphericParametersTest(int argc, char * argv[]) +int otbSIXSTraitsComputeAtmosphericParametersTest(int itkNotUsed(argc), char * argv[]) { const char * inname = argv[1]; const char * outname = argv[2]; diff --git a/Testing/Code/Radiometry/otbSIXSTraitsTest.cxx b/Testing/Code/Radiometry/otbSIXSTraitsTest.cxx index 31d81e8c4ec2ed57ccd599948f7a88a263dc0b5b..1e45bbf7f0786d63a22901528ec01b0d9cf6182d 100644 --- a/Testing/Code/Radiometry/otbSIXSTraitsTest.cxx +++ b/Testing/Code/Radiometry/otbSIXSTraitsTest.cxx @@ -18,7 +18,7 @@ #include "otbSIXSTraits.h" -int otbSIXSTraitsTest(int argc, char * argv[]) +int otbSIXSTraitsTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { otb::SIXSTraits *var(NULL); var = new otb::SIXSTraits(); diff --git a/Testing/Code/Radiometry/otbSarBrightnessFunction.cxx b/Testing/Code/Radiometry/otbSarBrightnessFunction.cxx index 9b6d795af2adbf1465ca4ccc3e6cc656ca3d1d4b..51b6a7e48292c18e14d00ead851c7ce6bc5d5b69 100644 --- a/Testing/Code/Radiometry/otbSarBrightnessFunction.cxx +++ b/Testing/Code/Radiometry/otbSarBrightnessFunction.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include <iostream> -int otbSarBrightnessFunction(int argc, char* argv[]) +int otbSarBrightnessFunction(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/Radiometry/otbSarBrightnessFunctionWithoutNoise.cxx b/Testing/Code/Radiometry/otbSarBrightnessFunctionWithoutNoise.cxx index da89262f5af8dd64f8b204cec33f475b2f199e5d..8b0f967f18960baea1bfc6ed8bfb8183268a215a 100644 --- a/Testing/Code/Radiometry/otbSarBrightnessFunctionWithoutNoise.cxx +++ b/Testing/Code/Radiometry/otbSarBrightnessFunctionWithoutNoise.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include <iostream> -int otbSarBrightnessFunctionWithoutNoise(int argc, char* argv[]) +int otbSarBrightnessFunctionWithoutNoise(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/Radiometry/otbSarBrightnessFunctor.cxx b/Testing/Code/Radiometry/otbSarBrightnessFunctor.cxx index c230e71a64271ca4dab395242b9b0e54ef74b779..a407fd57b91f08ebb3a06741e6e73e30ccf999b9 100644 --- a/Testing/Code/Radiometry/otbSarBrightnessFunctor.cxx +++ b/Testing/Code/Radiometry/otbSarBrightnessFunctor.cxx @@ -19,7 +19,7 @@ #include "otbSarBrightnessFunctor.h" -int otbSarBrightnessFunctor(int argc, char * argv[]) +int otbSarBrightnessFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double ScalarType; diff --git a/Testing/Code/Radiometry/otbSarBrightnessFunctorWithoutNoise.cxx b/Testing/Code/Radiometry/otbSarBrightnessFunctorWithoutNoise.cxx index e393e074720ae2186baf5d543886e5f5a8b4a827..60f64452454e13bd3ab50229ba53b5a1ddcfa8b5 100644 --- a/Testing/Code/Radiometry/otbSarBrightnessFunctorWithoutNoise.cxx +++ b/Testing/Code/Radiometry/otbSarBrightnessFunctorWithoutNoise.cxx @@ -19,7 +19,7 @@ #include "otbSarBrightnessFunctor.h" -int otbSarBrightnessFunctorWithoutNoise(int argc, char * argv[]) +int otbSarBrightnessFunctorWithoutNoise(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double ScalarType; diff --git a/Testing/Code/Radiometry/otbSarParametricMapFunctionTest.cxx b/Testing/Code/Radiometry/otbSarParametricMapFunctionTest.cxx index e1a105063bead1cb80b595203b461897ee29f149..ee57f5b23180081ec0c66ef31acf1a764adf993b 100644 --- a/Testing/Code/Radiometry/otbSarParametricMapFunctionTest.cxx +++ b/Testing/Code/Radiometry/otbSarParametricMapFunctionTest.cxx @@ -23,7 +23,7 @@ #include "otbSarParametricMapFunction.h" #include "itkPointSet.h" -int otbSarParametricMapFunctionTest(int argc, char* argv[]) +int otbSarParametricMapFunctionTest(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/Radiometry/otbSarParametricMapFunctionToImageFilter.cxx b/Testing/Code/Radiometry/otbSarParametricMapFunctionToImageFilter.cxx index a7bfb9bb831ad88ce3daedd02340ba70c6148791..f79b92d95baaa5263986def61e04c07cf29e9d4e 100644 --- a/Testing/Code/Radiometry/otbSarParametricMapFunctionToImageFilter.cxx +++ b/Testing/Code/Radiometry/otbSarParametricMapFunctionToImageFilter.cxx @@ -24,7 +24,7 @@ #include "itkPointSet.h" -int otbSarParametricMapFunctionToImageFilter(int argc, char * argv[]) +int otbSarParametricMapFunctionToImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef float PixelType; diff --git a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunction.cxx b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunction.cxx index 42963b7143ddc6020924c0f50d5c1813ff781e2a..4c07289f95d30762c36c47fe72b7cbdf3e9bed9a 100644 --- a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunction.cxx +++ b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunction.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include <iostream> -int otbSarRadiometricCalibrationFunction(int argc, char* argv[]) +int otbSarRadiometricCalibrationFunction(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctionWithoutNoise.cxx b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctionWithoutNoise.cxx index 40cbc2ea1059e1e449c53f6bdd16047f07443067..995f75d0f2b223410d8be4ee56d86b8d92483ecf 100644 --- a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctionWithoutNoise.cxx +++ b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctionWithoutNoise.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include <iostream> -int otbSarRadiometricCalibrationFunctionWithoutNoise(int argc, char* argv[]) +int otbSarRadiometricCalibrationFunctionWithoutNoise(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctor.cxx b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctor.cxx index 65af375adc8cd7784545fbd87be0b08bccb3224b..0cb830797a24ab7e002c445a307f34330e5667e3 100644 --- a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctor.cxx +++ b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctor.cxx @@ -19,7 +19,7 @@ #include "otbSarRadiometricCalibrationFunctor.h" -int otbSarRadiometricCalibrationFunctor(int argc, char * argv[]) +int otbSarRadiometricCalibrationFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double ScalarType; diff --git a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctorWithoutNoise.cxx b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctorWithoutNoise.cxx index 6494cce1f732e373902c62f6fabedf08318f1758..6b713f13fc1af864574026b9f2e3ebaeff00e697 100644 --- a/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctorWithoutNoise.cxx +++ b/Testing/Code/Radiometry/otbSarRadiometricCalibrationFunctorWithoutNoise.cxx @@ -19,7 +19,7 @@ #include "otbSarRadiometricCalibrationFunctor.h" -int otbSarRadiometricCalibrationFunctorWithoutNoise(int argc, char * argv[]) +int otbSarRadiometricCalibrationFunctorWithoutNoise(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double ScalarType; diff --git a/Testing/Code/Radiometry/otbSetASetBMultiChannelRAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbSetASetBMultiChannelRAndNIRVegetationIndexImageFilter.cxx index e23717485f308d7093f95cb10e0564c4cfee599e..80dec5a791b942bec1240b24b774e303e8cabfbd 100644 --- a/Testing/Code/Radiometry/otbSetASetBMultiChannelRAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbSetASetBMultiChannelRAndNIRVegetationIndexImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputImage, class TOutputImage, class TFunction> -void generic_SetASetBMultiChannelRAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +void generic_SetASetBMultiChannelRAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputImage> ReaderType; typedef otb::ImageFileWriter<TOutputImage> WriterType; diff --git a/Testing/Code/Radiometry/otbSetASetBRAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbSetASetBRAndNIRVegetationIndexImageFilter.cxx index 872610ceb1238124765ad6a8216668f65fabd312..7e024e4c8dd11f7f3e4c1a24cc1f3f2c4aa2b0e6 100644 --- a/Testing/Code/Radiometry/otbSetASetBRAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbSetASetBRAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbVegetationIndicesFunctor.h" template<class TInputRImage, class TInputNIRImage, class TOutputImage, class TFunction> -void generic_SetASetBRAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +void generic_SetASetBRAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { typedef otb::ImageFileReader<TInputRImage> RReaderType; typedef otb::ImageFileReader<TInputNIRImage> NIRReaderType; diff --git a/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilter.cxx b/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilter.cxx index 75d0af97311f4badd4c026bb8ae0e698d668fad9..c9533acae84042f0d11c67f66cc5e18fa4eb4b9f 100644 --- a/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilter.cxx +++ b/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilter.cxx @@ -28,7 +28,7 @@ #include <fstream> #include <iostream> -int otbSurfaceAdjacencyEffect6SCorrectionSchemeFilter(int argc, char * argv[]) +int otbSurfaceAdjacencyEffect6SCorrectionSchemeFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilterNew.cxx b/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilterNew.cxx index 2a2d9acfc6a8d63117e3204db1f11b28e50a15e6..430f94a90544cafe5521a8fe70afe319ab1e9b96 100644 --- a/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilterNew.cxx +++ b/Testing/Code/Radiometry/otbSurfaceAdjacencyEffect6SCorrectionSchemeFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbSurfaceAdjacencyEffect6SCorrectionSchemeFilterNew(int argc, char * argv[]) +int otbSurfaceAdjacencyEffect6SCorrectionSchemeFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx index 7229d9b8cc0b8a8ba293d3c8aa27c1d706e6cae1..aa3a7bfdde1ed29d523fa0a8bbf11cfcecbc17ab 100644 --- a/Testing/Code/Radiometry/otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbVegetationIndicesFunctor.h" -int otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int otbTSARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbTSARVIRAndBAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbTSARVIRAndBAndNIRVegetationIndexImageFilter.cxx index 5feb8be13c04593cec60de315f4ae0ccace8cdc5..b6fa46d4c1ab85c9012af5ea075820c793cffbaf 100644 --- a/Testing/Code/Radiometry/otbTSARVIRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbTSARVIRAndBAndNIRVegetationIndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbVegetationIndicesFunctor.h" -int otbTSARVIRAndBAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int otbTSARVIRAndBAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbTerraSarBrightnessFunctor.cxx b/Testing/Code/Radiometry/otbTerraSarBrightnessFunctor.cxx index f313896c06bd68a80a68cb6341e6016eb79a5a29..7e79fdc98eb5c20c4bddbabfce89defa9d65f916 100644 --- a/Testing/Code/Radiometry/otbTerraSarBrightnessFunctor.cxx +++ b/Testing/Code/Radiometry/otbTerraSarBrightnessFunctor.cxx @@ -21,7 +21,7 @@ #include "otbTerraSarBrightnessFunctor.h" -int otbTerraSarBrightnessFunctor(int argc, char * argv[]) +int otbTerraSarBrightnessFunctor(int itkNotUsed(argc), char * argv[]) { char * outFilename = argv[5]; double calFact = atof(argv[4]); diff --git a/Testing/Code/Radiometry/otbTerraSarBrightnessImageComplexFilterTest.cxx b/Testing/Code/Radiometry/otbTerraSarBrightnessImageComplexFilterTest.cxx index 4d0d2d821edb845f21197be74e18f628a7fba79e..613d728ca788fc6ff51de196737487c30808d9e8 100644 --- a/Testing/Code/Radiometry/otbTerraSarBrightnessImageComplexFilterTest.cxx +++ b/Testing/Code/Radiometry/otbTerraSarBrightnessImageComplexFilterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbComplexToVectorImageCastFilter.h" -int otbTerraSarBrightnessImageComplexFilterTest(int argc, char * argv[]) +int otbTerraSarBrightnessImageComplexFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterNew.cxx b/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterNew.cxx index 4e7c658bebc42de468f6baeb0a7bc4e85cd7288c..abb7242dad428115310da01ba314b0900f3d0274 100644 --- a/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbTerraSarBrightnessImageFilter.h" #include "otbImage.h" -int otbTerraSarBrightnessImageFilterNew(int argc, char * argv[]) +int otbTerraSarBrightnessImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Image<double, 2> ImageType; typedef otb::Image<std::complex<double>, 2> ComplexImageType; diff --git a/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterTest.cxx b/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterTest.cxx index e230f43c9d381a1db121331a5c739e6fdbf14b5f..aaaa92d04a0e3b6254703fdffa41116f5e709409 100644 --- a/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterTest.cxx +++ b/Testing/Code/Radiometry/otbTerraSarBrightnessImageFilterTest.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbTerraSarBrightnessImageFilterTest(int argc, char * argv[]) +int otbTerraSarBrightnessImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Radiometry/otbTerraSarCalibrationImageFilterNew.cxx b/Testing/Code/Radiometry/otbTerraSarCalibrationImageFilterNew.cxx index 6ef4c953dd82bcd532368bd36cee8164a933fc75..2062139c12fbb80a9c0c3597cc4d29202eef8ef1 100644 --- a/Testing/Code/Radiometry/otbTerraSarCalibrationImageFilterNew.cxx +++ b/Testing/Code/Radiometry/otbTerraSarCalibrationImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbTerraSarCalibrationImageFilter.h" #include "otbImage.h" -int otbTerraSarCalibrationImageFilterNew(int argc, char * argv[]) +int otbTerraSarCalibrationImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::Image<double, 2> ImageType; typedef otb::Image<std::complex<double>, 2> ComplexImageType; diff --git a/Testing/Code/Radiometry/otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter.cxx index 18a41ebed8d30a68b75df4adeaa108288cec195b..7b1b2671d3b503fa968be1b339c7b920db6982ea 100644 --- a/Testing/Code/Radiometry/otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbVegetationIndicesFunctor.h" -int otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int otbWDVIMultiChannelRAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/Radiometry/otbWDVIRAndNIRVegetationIndexImageFilter.cxx b/Testing/Code/Radiometry/otbWDVIRAndNIRVegetationIndexImageFilter.cxx index 5a15543ad0f3dc618c619955174547c1900fcce8..10ad690fc42357c02b116b1ce6b1351f9023e170 100644 --- a/Testing/Code/Radiometry/otbWDVIRAndNIRVegetationIndexImageFilter.cxx +++ b/Testing/Code/Radiometry/otbWDVIRAndNIRVegetationIndexImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbVegetationIndicesFunctor.h" -int otbWDVIRAndNIRVegetationIndexImageFilter(int argc, char * argv[]) +int otbWDVIRAndNIRVegetationIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Radiometry/otbWaterSqrtSpectralAngleImageFilter.cxx b/Testing/Code/Radiometry/otbWaterSqrtSpectralAngleImageFilter.cxx index 41dc55d0dbbd8eee010e0cb0220b1ca4141a7ff0..314c0fcfde6a3c136f3266e5d69f778f595750df 100644 --- a/Testing/Code/Radiometry/otbWaterSqrtSpectralAngleImageFilter.cxx +++ b/Testing/Code/Radiometry/otbWaterSqrtSpectralAngleImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbWaterSqrtSpectralAngleImageFilter(int argc, char * argv[]) +int otbWaterSqrtSpectralAngleImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx index ac9ea60746c010f2deec55cfef8b1d63fbc9f097..117bd61ac7621305ffbcae9c06d6628fd09b03e9 100644 --- a/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx @@ -28,7 +28,7 @@ #include "otbSinclairToMuellerMatrixFunctor.h" -int otbMuellerToPolarisationDegreeAndPowerImageFilter(int argc, char * argv[]) +int otbMuellerToPolarisationDegreeAndPowerImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx index 8d3db8182d4cf464c358d9112cfed2637536b873..9dfcabbeaf63f498d536458c898931cef6dda93e 100644 --- a/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbMuellerToPolarisationDegreeAndPowerImageFilter.h" -int otbMuellerToPolarisationDegreeAndPowerImageFilterNew(int argc, char * argv[]) +int otbMuellerToPolarisationDegreeAndPowerImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceFunctor.cxx b/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceFunctor.cxx index 5812b144a054e46fdf663b21f54546a7574775c4..e52054bd84825297e2fc4ae96b0c31f18e06206e 100644 --- a/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceFunctor.cxx @@ -21,7 +21,7 @@ #include "itkVariableLengthVector.h" #include <complex> -int otbMuellerToReciprocalCovarianceFunctor(int argc, char * argv[]) +int otbMuellerToReciprocalCovarianceFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<double> VectorDoubleType; diff --git a/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilter.cxx index fb90acf4c55c550d479cd1e3e939c50e31fe5a3e..e3ace6ffffa86c6e0d7e2c6c58d26b9db2299f94 100644 --- a/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbMuellerToReciprocalCovarianceImageFilter.h" #include "otbExtractROI.h" -int otbMuellerToReciprocalCovarianceImageFilter(int argc, char * argv[]) +int otbMuellerToReciprocalCovarianceImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilterNew.cxx index 58951f291af35a002743702b05bed0a513a94b0e..7417784a70fb31b08f3c91f15cb6a1716ee80277 100644 --- a/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbMuellerToReciprocalCovarianceImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbMuellerToReciprocalCovarianceImageFilter.h" -int otbMuellerToReciprocalCovarianceImageFilterNew(int argc, char * argv[]) +int otbMuellerToReciprocalCovarianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.cxx index 0a072754670d2d3111e16089670a7d4469beb59e..dab9e4dd1ca5db03bd08444c750bec0a2c3cffcd 100644 --- a/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbMultiChannelsPolarimetricSynthesisFilter.h" -int otbMultiChannelsPolarimetricSynthesisFilter(int argc, char * argv[]) +int otbMultiChannelsPolarimetricSynthesisFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename1 = argv[1]; const char * inputFilename2 = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx index a665a9c0fb97c3f43328df19738a7058dca7d2ed..253c5856dcbde5c61d3d23fb92524522ef32e487 100644 --- a/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbVectorImage.h" #include "otbMultiChannelsPolarimetricSynthesisFilter.h" -int otbMultiChannelsPolarimetricSynthesisFilterNew(int argc, char * argv[]) +int otbMultiChannelsPolarimetricSynthesisFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef double InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/SARPolarimetry/otbPolarimetricData.cxx b/Testing/Code/SARPolarimetry/otbPolarimetricData.cxx index 4dccc4b65569884f5f0c2548e14ce77021967f1d..d3ad47c18e34a041c2c1dd447b19c5e6a4d565ee 100644 --- a/Testing/Code/SARPolarimetry/otbPolarimetricData.cxx +++ b/Testing/Code/SARPolarimetry/otbPolarimetricData.cxx @@ -21,7 +21,7 @@ #include "otbPolarimetricData.h" -int otbPolarimetricDataNew(int argc, char * argv[]) +int otbPolarimetricDataNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { otb::PolarimetricData::Pointer data = otb::PolarimetricData::New(); @@ -30,7 +30,7 @@ int otbPolarimetricDataNew(int argc, char * argv[]) -int otbPolarimetricDataTest(int argc, char * argv[]) +int otbPolarimetricDataTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { otb::PolarimetricData::Pointer data = otb::PolarimetricData::New(); diff --git a/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFunctor.cxx b/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFunctor.cxx index ba86bdb791162530ed00f316c1b719a9acbcd3a2..095021e840159fb50f5a697fe1b896468fc81ba1 100644 --- a/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFunctor.cxx @@ -19,7 +19,7 @@ #include "vcl_cmath.h" #include "otbPolarimetricSynthesisFunctor.h" -int otbPolarimetricSynthesisFunctor(int argc, char * argv[]) +int otbPolarimetricSynthesisFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilter.cxx index baee627c6d69b840cf64c6bd826b366c3fa2af95..f33011d06c99a9785a32f8e9d5556265b980816e 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbReciprocalCoherencyToReciprocalMuellerImageFilter.h" -int otbReciprocalCoherencyToReciprocalMuellerImageFilter(int argc, char * argv[]) +int otbReciprocalCoherencyToReciprocalMuellerImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx index 69db80cb863eacf0734e5cb6ef4c10224685e299..0cb329377d7d25c4d81ba34cd47cd3d07d8f40f9 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToReciprocalMuellerImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbReciprocalCoherencyToReciprocalMuellerImageFilter.h" -int otbReciprocalCoherencyToReciprocalMuellerImageFilterNew(int argc, char * argv[]) +int otbReciprocalCoherencyToReciprocalMuellerImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilter.cxx index 0d05dd332ec8bf5dde9c79903592625e8518385a..80d72bd12351ae96bed801c4a6ee6df2c7de42bf 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbReciprocalCovarianceToCoherencyDegreeImageFilter.h" -int otbReciprocalCovarianceToCoherencyDegreeImageFilter(int argc, char * argv[]) +int otbReciprocalCovarianceToCoherencyDegreeImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx index 2bfac7bf90f992a86d2c513108df7d5abe06bd95..3b5770d0f7707e95b1938348a49283f84a4e1db6 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToCoherencyDegreeImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbReciprocalCovarianceToCoherencyDegreeImageFilter.h" -int otbReciprocalCovarianceToCoherencyDegreeImageFilterNew(int argc, char * argv[]) +int otbReciprocalCovarianceToCoherencyDegreeImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilter.cxx index e20ada69e828bd6d0235379de14bd24e38e3b05c..bf4bea86cc2befdc69edc18c06110fc4bf95327a 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbReciprocalCovarianceToReciprocalCoherencyImageFilter.h" -int otbReciprocalCovarianceToReciprocalCoherencyImageFilter(int argc, char * argv[]) +int otbReciprocalCovarianceToReciprocalCoherencyImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx index c07c203ce23fb93c046c1bf325d69866d9f9aed5..13991bda3bda187d9c292d48272917e5c1e1b4c9 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbReciprocalCovarianceToReciprocalCoherencyImageFilter.h" -int otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew(int argc, char * argv[]) +int otbReciprocalCovarianceToReciprocalCoherencyImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.cxx index 7e05e3fb4c3cdd8e4a61c81e07ce8dfb806fe736..702a2dab4d74aab3d005d39f3f60996cf48e20d5 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbReciprocalHAlphaImageFilter.h" -int otbReciprocalHAlphaImageFilter(int argc, char * argv[]) +int otbReciprocalHAlphaImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilterNew.cxx index a311fbfa227c18500f1e6c7ce051d0182e051f67..8afdb91eb05b8ca1773eeb43cc501f654311afa4 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbReciprocalHAlphaImageFilter.h" -int otbReciprocalHAlphaImageFilterNew(int argc, char * argv[]) +int otbReciprocalHAlphaImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.cxx index 05759f6e78ba4dd0b2c5e0a0d028ca5e1a755584..2094d4514b89da048ab18a364a2f519673d134d2 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.h" -int otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter(int argc, char * argv[]) +int otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx index 3eb110be5d1c2409f576ab6bfcf624ed35b27468..80c372ca03ea684e5b035ec6c7cf894f7a7af403 100644 --- a/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx +++ b/Testing/Code/SARPolarimetry/otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbVectorImage.h" #include "otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter.h" -int otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew(int argc, char * argv[]) +int otbReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx b/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx index c8072da4a4b3be8142181ca475688694c1bc8cfb..d6810a9c0e3a6085943ad510c55e20eb786e2d0d 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx @@ -33,7 +33,7 @@ #include "otbMultiChannelExtractROI.h" -int otbSinclairImageFilterNew(int argc, char * argv[]) +int otbSinclairImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<float> ComplexType; typedef otb::Image<ComplexType, 2> CplxImageType; @@ -50,7 +50,7 @@ int otbSinclairImageFilterNew(int argc, char * argv[]) template<class TInputPixel, class TOutputPixel, class TFunction> -int generic_SinclairImageFilter(int argc, char * argv[]) +int generic_SinclairImageFilter(int itkNotUsed(argc), char * argv[]) { const char * outputFilename = argv[4]; diff --git a/Testing/Code/SARPolarimetry/otbSinclairReciprocalImageFilter.cxx b/Testing/Code/SARPolarimetry/otbSinclairReciprocalImageFilter.cxx index f336556c0e4f86881c14dfe1a57f6852bd2c0b17..66954b95ba585f645a5cc1fe22f2502ec850866e 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairReciprocalImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairReciprocalImageFilter.cxx @@ -31,7 +31,7 @@ #include "otbMultiChannelExtractROI.h" -int otbSinclairReciprocalImageFilterNew(int argc, char * argv[]) +int otbSinclairReciprocalImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<float> ComplexType; typedef otb::Image<ComplexType, 2> CplxImageType; @@ -48,7 +48,7 @@ int otbSinclairReciprocalImageFilterNew(int argc, char * argv[]) template<class TInputPixel, class TOutputPixel, class TFunction> -int generic_SinclairReciprocalImageFilter(int argc, char * argv[]) +int generic_SinclairReciprocalImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename1 = argv[1]; const char * inputFilename2 = argv[2]; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToCircularCovarianceMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToCircularCovarianceMatrixFunctor.cxx index e49511a970e0b103f21251aa6c41efdb318ec1d9..c883bdef933ac1ec90774d660e887c80d54bf66a 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToCircularCovarianceMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToCircularCovarianceMatrixFunctor.cxx @@ -19,7 +19,7 @@ #include "otbSinclairToCircularCovarianceMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToCircularCovarianceMatrixFunctor(int argc, char * argv[]) +int otbSinclairToCircularCovarianceMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<ComplexType> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToCoherencyMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToCoherencyMatrixFunctor.cxx index 64ac59c49376dd79be7173455a8ef34b83ecae88..f2dbe779dc53da802314b19a1f4dde87a2566e11 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToCoherencyMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToCoherencyMatrixFunctor.cxx @@ -19,7 +19,7 @@ #include "otbSinclairToCoherencyMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToCoherencyMatrixFunctor(int argc, char * argv[]) +int otbSinclairToCoherencyMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<ComplexType> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.cxx index 69504bda3bf571f2bc0acbc624e8465eb9401e30..cbbf392d20f8dd13ee95091f8a0a807f9dba26b0 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.cxx @@ -20,7 +20,7 @@ #include "otbSinclairToCovarianceMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToCovarianceMatrixFunctor(int argc, char * argv[]) +int otbSinclairToCovarianceMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<ComplexType> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.cxx index 9cb9331083f4c57367a5e540807a791ebe55f6d2..75406178f5e69038f604a9a9112a5fb9c62677a7 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.cxx @@ -20,7 +20,7 @@ #include "otbSinclairToMuellerMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToMuellerMatrixFunctor(int argc, char * argv[]) +int otbSinclairToMuellerMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<double> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCircularCovarianceMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCircularCovarianceMatrixFunctor.cxx index dec739294888d9bdcd883019f6b20d9fd17f36ee..18c8d486a0e19f3b05b6e44e1a370b20e31c1b7f 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCircularCovarianceMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCircularCovarianceMatrixFunctor.cxx @@ -19,7 +19,7 @@ #include "otbSinclairToReciprocalCircularCovarianceMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToReciprocalCircularCovarianceMatrixFunctor(int argc, char * argv[]) +int otbSinclairToReciprocalCircularCovarianceMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<ComplexType> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyMatrixFunctor.cxx index 9e6d11243868c2e618a5aed95cf3cc5e61eba5a1..5db7d73510497417b19464160d28b3c06c475c30 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyMatrixFunctor.cxx @@ -20,7 +20,7 @@ #include "otbSinclairToReciprocalCoherencyMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToReciprocalCoherencyMatrixFunctor(int argc, char * argv[]) +int otbSinclairToReciprocalCoherencyMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<ComplexType> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceMatrixFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceMatrixFunctor.cxx index c64d038f604abdee0797056b8b6264d884b324e6..36ee6b133758ed2d680afa01fe146a129352ee56 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceMatrixFunctor.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceMatrixFunctor.cxx @@ -20,7 +20,7 @@ #include "otbSinclairToReciprocalCovarianceMatrixFunctor.h" #include "itkVariableLengthVector.h" -int otbSinclairToReciprocalCovarianceMatrixFunctor(int argc, char * argv[]) +int otbSinclairToReciprocalCovarianceMatrixFunctor(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef std::complex<double> ComplexType; typedef itk::VariableLengthVector<ComplexType> OutputType; diff --git a/Testing/Code/SARPolarimetry/otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx index b966e782e2371fe37f14d721a2f404aec0df5640..66fa248109683e15d70562a0abe40e26c48b7d82 100644 --- a/Testing/Code/SARPolarimetry/otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbMultiChannelsPolarimetricSynthesisFilter.h" -int otbVectorMultiChannelsPolarimetricSynthesisFilter(int argc, char * argv[]) +int otbVectorMultiChannelsPolarimetricSynthesisFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Segmentation/otbHooverInstanceFilterNew.cxx b/Testing/Code/Segmentation/otbHooverInstanceFilterNew.cxx index de20138d5f0c08fac2ad3e668f1afcf6117940da..f5822880af25bedd40152a340be6ed4004f19f65 100644 --- a/Testing/Code/Segmentation/otbHooverInstanceFilterNew.cxx +++ b/Testing/Code/Segmentation/otbHooverInstanceFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkLabelMap.h" #include "otbAttributesMapLabelObject.h" -int otbHooverInstanceFilterNew(int argc, char* argv[]) +int otbHooverInstanceFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::AttributesMapLabelObject<unsigned int, 2, float> LabelObjectType; typedef itk::LabelMap<LabelObjectType> LabelMapType; diff --git a/Testing/Code/Segmentation/otbHooverMatrixFilterNew.cxx b/Testing/Code/Segmentation/otbHooverMatrixFilterNew.cxx index bfc82dc24d58fe90976dc874430c32ba054ecf4e..7150e9d3ed3cb9805dc2135a35ca67be1a64c582 100644 --- a/Testing/Code/Segmentation/otbHooverMatrixFilterNew.cxx +++ b/Testing/Code/Segmentation/otbHooverMatrixFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkLabelMap.h" #include "itkLabelObject.h" -int otbHooverMatrixFilterNew(int argc, char* argv[]) +int otbHooverMatrixFilterNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef itk::LabelObject<unsigned int, 2> LabelObjectType; typedef itk::LabelMap<LabelObjectType> LabelMapType; diff --git a/Testing/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.cxx b/Testing/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.cxx index 71a76b5a3bc104537a6696b0737622a6389c4502..2cbf316c11a0ef33e88b41c4652530ad9e8d62bd 100644 --- a/Testing/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.cxx +++ b/Testing/Code/Segmentation/otbStreamingImageToOGRLayerSegmentationFilter.cxx @@ -29,7 +29,7 @@ #include "otbOGRDataSourceWrapper.h" -int otbStreamingImageToOGRLayerSegmentationFilterNew(int argc, char * argv[]) +int otbStreamingImageToOGRLayerSegmentationFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef float InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Simulation/otbImageSimulationMethodKMeansClassif.cxx b/Testing/Code/Simulation/otbImageSimulationMethodKMeansClassif.cxx index 4374c1c93c7c5a5da9131db9a8527dbe0b979640..6d4efb31cdd137634598e144eb43257d7f9d864c 100644 --- a/Testing/Code/Simulation/otbImageSimulationMethodKMeansClassif.cxx +++ b/Testing/Code/Simulation/otbImageSimulationMethodKMeansClassif.cxx @@ -35,7 +35,7 @@ #include "otbKMeansImageClassificationFilter.h" #include "itkImageRegionIterator.h" -int otbImageSimulationMethodKMeansClassif(int argc, char * argv[]) +int otbImageSimulationMethodKMeansClassif(int itkNotUsed(argc), char * argv[]) { const char * satRSRFilename = argv[1]; unsigned int nbBands = static_cast<unsigned int>(atoi(argv[2])); diff --git a/Testing/Code/Simulation/otbImageSimulationMethodSVMClassif.cxx b/Testing/Code/Simulation/otbImageSimulationMethodSVMClassif.cxx index e025f03fb7f8955bba3b0a26d96aaf521db5e891..18a66ee45dee2066c4d118f12363fc38a573fc45 100644 --- a/Testing/Code/Simulation/otbImageSimulationMethodSVMClassif.cxx +++ b/Testing/Code/Simulation/otbImageSimulationMethodSVMClassif.cxx @@ -33,7 +33,7 @@ #include "otbSVMImageClassificationFilter.h" #include "otbImageFileReader.h" -int otbImageSimulationMethodSVMClassif(int argc, char * argv[]) +int otbImageSimulationMethodSVMClassif(int itkNotUsed(argc), char * argv[]) { const char * satRSRFilename = argv[1]; unsigned int nbBands = static_cast<unsigned int>(atoi(argv[2])); diff --git a/Testing/Code/Simulation/otbImageSimulationMethodWithSpatialisationTest.cxx b/Testing/Code/Simulation/otbImageSimulationMethodWithSpatialisationTest.cxx index 5270e88f1eec845167ed5f4c79aedaec4270cad8..fece1313b6ad040ddc101b8bc3d13e03bbba92cf 100644 --- a/Testing/Code/Simulation/otbImageSimulationMethodWithSpatialisationTest.cxx +++ b/Testing/Code/Simulation/otbImageSimulationMethodWithSpatialisationTest.cxx @@ -28,7 +28,7 @@ #include "otbAttributesMapLabelObject.h" #include "otbImageFileReader.h" -int otbImageSimulationMethodWithSpatialisationTest(int argc, char * argv[]) +int otbImageSimulationMethodWithSpatialisationTest(int itkNotUsed(argc), char * argv[]) { const char * satRSRFilename = argv[1]; unsigned int nbBands = static_cast<unsigned int>(atoi(argv[2])); diff --git a/Testing/Code/Simulation/otbImageSimulationMethodWithVectorDataTest.cxx b/Testing/Code/Simulation/otbImageSimulationMethodWithVectorDataTest.cxx index 291e223cd61c3b6e208aab60abd73f6958d27ced..cfe36f960df58b12d6fa0b6ffd958ff3bd39f2c5 100644 --- a/Testing/Code/Simulation/otbImageSimulationMethodWithVectorDataTest.cxx +++ b/Testing/Code/Simulation/otbImageSimulationMethodWithVectorDataTest.cxx @@ -28,7 +28,7 @@ #include "otbAttributesMapLabelObject.h" #include "otbImageFileReader.h" -int otbImageSimulationMethodWithVectorDataTest(int argc, char * argv[]) +int otbImageSimulationMethodWithVectorDataTest(int itkNotUsed(argc), char * argv[]) { const char * infilename = argv[1]; const char * satRSRFilename = argv[2]; diff --git a/Testing/Code/Simulation/otbLabelMapToSimulatedImageFilterTest.cxx b/Testing/Code/Simulation/otbLabelMapToSimulatedImageFilterTest.cxx index 6c09141d423cad342d78531a7bfee1d3ae179036..668fb2d80cd59f042422d6b69ee7fc84592f1926 100644 --- a/Testing/Code/Simulation/otbLabelMapToSimulatedImageFilterTest.cxx +++ b/Testing/Code/Simulation/otbLabelMapToSimulatedImageFilterTest.cxx @@ -25,7 +25,7 @@ #include "otbProspectModel.h" #include "otbSailModel.h" -int otbLabelMapToSimulatedImageFilterTest(int argc, char * argv[]) +int otbLabelMapToSimulatedImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * infilename = argv[1]; const char * satRSRFilename = argv[2]; diff --git a/Testing/Code/Simulation/otbReduceSpectralResponseNew.cxx b/Testing/Code/Simulation/otbReduceSpectralResponseNew.cxx index 3a64336aeac11a824ad24eb5daab46f3b0029b1f..8388c4e0c2f4404746bc6b873b181dc8053af656 100644 --- a/Testing/Code/Simulation/otbReduceSpectralResponseNew.cxx +++ b/Testing/Code/Simulation/otbReduceSpectralResponseNew.cxx @@ -22,7 +22,7 @@ #include "otbSatelliteRSR.h" #include "otbReduceSpectralResponse.h" -int otbReduceSpectralResponseNew(int argc, char * argv[]) +int otbReduceSpectralResponseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::SpectralResponse< double, double> ResponseType; //typedef ResponseType::Pointer ResponsePointerType; diff --git a/Testing/Code/Simulation/otbSatelliteRSRNew.cxx b/Testing/Code/Simulation/otbSatelliteRSRNew.cxx index 7168adfc441fbb512b31d2ce5786f001b1f825b9..0da7a608cc720108a451fea8385bb15c58d00cdd 100644 --- a/Testing/Code/Simulation/otbSatelliteRSRNew.cxx +++ b/Testing/Code/Simulation/otbSatelliteRSRNew.cxx @@ -20,7 +20,7 @@ #include "otbSatelliteRSR.h" -int otbSatelliteRSRNew(int argc, char * argv[]) +int otbSatelliteRSRNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::SatelliteRSR< double, double> ResponseType; typedef ResponseType::Pointer ResponsePointerType; diff --git a/Testing/Code/Simulation/otbSpatialisationTest.cxx b/Testing/Code/Simulation/otbSpatialisationTest.cxx index 109d748e1e2f286eb41e8da5d95368aa8bfe2a66..e32906c0b73c1c5acfd6fedf49a7e92ebd58b33a 100644 --- a/Testing/Code/Simulation/otbSpatialisationTest.cxx +++ b/Testing/Code/Simulation/otbSpatialisationTest.cxx @@ -23,7 +23,7 @@ #include "otbImage.h" #include "otbAttributesMapLabelObject.h" -int otbSpatialisationTest(int argc, char * argv[]) +int otbSpatialisationTest(int itkNotUsed(argc), char * argv[]) { const char * outfilename = argv[1]; diff --git a/Testing/Code/Simulation/otbSpatialisationTestNew.cxx b/Testing/Code/Simulation/otbSpatialisationTestNew.cxx index a4641099aa35396f0ad0d2d4330217845514bc64..dd39d1a547d21b7bd608a5d39a2744869945c0f3 100644 --- a/Testing/Code/Simulation/otbSpatialisationTestNew.cxx +++ b/Testing/Code/Simulation/otbSpatialisationTestNew.cxx @@ -23,7 +23,7 @@ #include "otbImage.h" #include "otbAttributesMapLabelObject.h" -int otbSpatialisationTestNew(int argc, char * argv[]) +int otbSpatialisationTestNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef unsigned short LabelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Simulation/otbSpectralResponseNew.cxx b/Testing/Code/Simulation/otbSpectralResponseNew.cxx index 657aa3e6e57d8271ebccee9f12b8393bdf4f2457..b16b208174cd1e46be34095ca0eb72c58e49f425 100644 --- a/Testing/Code/Simulation/otbSpectralResponseNew.cxx +++ b/Testing/Code/Simulation/otbSpectralResponseNew.cxx @@ -20,7 +20,7 @@ #include "otbSpectralResponse.h" -int otbSpectralResponseNew(int argc, char * argv[]) +int otbSpectralResponseNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { typedef otb::SpectralResponse< double, double> ResponseType; typedef ResponseType::Pointer ResponsePointerType; diff --git a/Testing/Code/Simulation/otbSurfaceReflectanceToReflectanceFilterNew.cxx b/Testing/Code/Simulation/otbSurfaceReflectanceToReflectanceFilterNew.cxx index 9df06cb807126d1ed8796cae5f6598eb99c1d3b8..da7f3c105b39b476c20a242d8a6195037e79889d 100644 --- a/Testing/Code/Simulation/otbSurfaceReflectanceToReflectanceFilterNew.cxx +++ b/Testing/Code/Simulation/otbSurfaceReflectanceToReflectanceFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbSurfaceReflectanceToReflectanceFilter.h" #include "otbAtmosphericRadiativeTerms.h" -int otbSurfaceReflectanceToReflectanceFilterNew(int argc, char * argv[]) +int otbSurfaceReflectanceToReflectanceFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/TestSystem/otbCompareAsciiTestsEpsilon3_WhiteSpace.cxx b/Testing/Code/TestSystem/otbCompareAsciiTestsEpsilon3_WhiteSpace.cxx index dfe47af2d04e9a5521cd5766c7a8e944a3b87fc1..5fe34509a9355b5f47452a386226ca0540ad6461 100644 --- a/Testing/Code/TestSystem/otbCompareAsciiTestsEpsilon3_WhiteSpace.cxx +++ b/Testing/Code/TestSystem/otbCompareAsciiTestsEpsilon3_WhiteSpace.cxx @@ -22,7 +22,7 @@ #include "otbMacro.h" -int otbCompareAsciiTestsEpsilon3_WhiteSpace(int argc, char * argv[]) +int otbCompareAsciiTestsEpsilon3_WhiteSpace(int itkNotUsed(argc), char * argv[]) { std::cout << "ASCII COMPARISON TEST: it will use directly the baseline and input files in OTB-Data " "to avoid problem with otb-bot." << std::endl; diff --git a/Testing/Code/UtilitiesAdapters/otbGeometricSarSensorModelAdapter.cxx b/Testing/Code/UtilitiesAdapters/otbGeometricSarSensorModelAdapter.cxx index c484da6abae84160f9bfa9082835d827030c7787..84f0dc9a1de87c519d1c93a40fdbb2b26b892bd2 100644 --- a/Testing/Code/UtilitiesAdapters/otbGeometricSarSensorModelAdapter.cxx +++ b/Testing/Code/UtilitiesAdapters/otbGeometricSarSensorModelAdapter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbGeometricSarSensorModelAdapter.h" -int otbGeometricSarSensorModelAdapterNewTest(int argc, char* argv[]) +int otbGeometricSarSensorModelAdapterNewTest(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::GeometricSarSensorModelAdapter SarSensorModelType; SarSensorModelType::Pointer masterPlatform = SarSensorModelType::New(); diff --git a/Testing/Code/UtilitiesAdapters/otbPlatformPositionAdapter.cxx b/Testing/Code/UtilitiesAdapters/otbPlatformPositionAdapter.cxx index 8597a7efe94d0430d97ae9850a7497f95100a234..b93984862cda503a82b22fc739db5c2602506e1d 100644 --- a/Testing/Code/UtilitiesAdapters/otbPlatformPositionAdapter.cxx +++ b/Testing/Code/UtilitiesAdapters/otbPlatformPositionAdapter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbPlatformPositionAdapter.h" -int otbPlatformPositionComputeBaselineNewTest(int argc, char* argv[]) +int otbPlatformPositionComputeBaselineNewTest(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::PlatformPositionAdapter PlatformType; PlatformType::Pointer masterPlatform = PlatformType::New(); diff --git a/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncherTests.cxx b/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncherTests.cxx index d1a43abb8091922fd98bb4cb4bc521acd9afd209..7b75586869ab48a22930ff1adf1f97e2a5025e74 100644 --- a/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncherTests.cxx +++ b/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncherTests.cxx @@ -22,7 +22,7 @@ #include "otbWrapperCommandLineLauncher.h" -int otbWrapperCommandLineLauncherNew(int argc, char* argv[]) +int otbWrapperCommandLineLauncherNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { typedef otb::Wrapper::CommandLineLauncher LauncherType; LauncherType::Pointer launcher = LauncherType::New(); @@ -62,5 +62,3 @@ int otbWrapperCommandLineLauncherTest(int argc, char* argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineParserTests.cxx b/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineParserTests.cxx index aa445e866b4d61395814bc74f62d624c819dff29..852a6b8376d389874f3cf0a09b91fcd8e58a6bad 100644 --- a/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineParserTests.cxx +++ b/Testing/Code/Wrappers/CommandLine/otbWrapperCommandLineParserTests.cxx @@ -23,7 +23,7 @@ typedef otb::Wrapper::CommandLineParser ParserType; -int otbWrapperCommandLineParserNew(int argc, char* argv[]) +int otbWrapperCommandLineParserNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { ParserType::Pointer parser = ParserType::New(); @@ -69,7 +69,7 @@ int CheckReturn(ParserType::ParseResultType res) } -int otbWrapperCommandLineParserTest1(int argc, char* argv[]) +int otbWrapperCommandLineParserTest1(int itkNotUsed(argc), char* argv[]) { ParserType::Pointer parser = ParserType::New(); @@ -123,7 +123,7 @@ int otbWrapperCommandLineParserTest2(int argc, char* argv[]) return CheckReturn(res); } -int otbWrapperCommandLineParserTest3(int argc, char* argv[]) +int otbWrapperCommandLineParserTest3(int itkNotUsed(argc), char* argv[]) { ParserType::Pointer parser = ParserType::New(); @@ -135,7 +135,7 @@ int otbWrapperCommandLineParserTest3(int argc, char* argv[]) } -int otbWrapperCommandLineParserTest4(int argc, char* argv[]) +int otbWrapperCommandLineParserTest4(int itkNotUsed(argc), char* argv[]) { ParserType::Pointer parser = ParserType::New(); @@ -145,4 +145,3 @@ int otbWrapperCommandLineParserTest4(int argc, char* argv[]) } return EXIT_FAILURE; } - diff --git a/Testing/Fa/0000307-ExtractROICompareRegionsImplementations.cxx b/Testing/Fa/0000307-ExtractROICompareRegionsImplementations.cxx index 10ac9755b5fe4133f8dff03b10679121ac7b12ec..7a253cb2633d0388ffc1bd4d2d00aecc6253e179 100644 --- a/Testing/Fa/0000307-ExtractROICompareRegionsImplementations.cxx +++ b/Testing/Fa/0000307-ExtractROICompareRegionsImplementations.cxx @@ -88,7 +88,7 @@ VectorImageType::Pointer makeVectorImage(IndexValueType startX, IndexValueType s return im; } -int otbITKExtractImageFilterROITestRegion(int argc, char * argv[]) +int otbITKExtractImageFilterROITestRegion(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { ImageType::Pointer in; RegionType extractionRegion; @@ -140,7 +140,7 @@ int otbITKExtractImageFilterROITestRegion(int argc, char * argv[]) } -int otbITKVectorIndexSelectionCastTestRegion(int argc, char * argv[]) +int otbITKVectorIndexSelectionCastTestRegion(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { VectorImageType::Pointer in; RegionType extractionRegion; @@ -180,7 +180,7 @@ int otbITKVectorIndexSelectionCastTestRegion(int argc, char * argv[]) } -int otbMultiToMonoChannelExtractROITestRegion(int argc, char * argv[]) +int otbMultiToMonoChannelExtractROITestRegion(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { VectorImageType::Pointer in; RegionType extractionRegion; @@ -233,7 +233,7 @@ int otbMultiToMonoChannelExtractROITestRegion(int argc, char * argv[]) -int otbMultiChannelExtractROITestRegion(int argc, char * argv[]) +int otbMultiChannelExtractROITestRegion(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { VectorImageType::Pointer in; RegionType extractionRegion; @@ -285,7 +285,7 @@ int otbMultiChannelExtractROITestRegion(int argc, char * argv[]) } -int otbExtractROITestRegion(int argc, char * argv[]) +int otbExtractROITestRegion(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { ImageType::Pointer in; RegionType extractionRegion; @@ -415,4 +415,3 @@ int main(int argc, char * argv[]) return finalResult; } - diff --git a/Testing/Fa/0000479-WriteInt8Image.cxx b/Testing/Fa/0000479-WriteInt8Image.cxx index 0431c5ba83d88fff7552f393fc30e61a57b7fbf1..332b2abca1d9155544ca2fbeaa9d137b5c66459f 100644 --- a/Testing/Fa/0000479-WriteInt8Image.cxx +++ b/Testing/Fa/0000479-WriteInt8Image.cxx @@ -25,7 +25,7 @@ #include "itkImageRegionIterator.h" -int main(int argc, char* argv[]) +int main(int itkNotUsed(argc), char* argv[]) { typedef char PixelType; diff --git a/Testing/Fa/000295-MeanShiftVectorImageFilterWithStreamingShrink.cxx b/Testing/Fa/000295-MeanShiftVectorImageFilterWithStreamingShrink.cxx index 58805b95f8103a75bd64469574847a3f1358e963..c04b322ddf24dfc06baa2847602150f4cac0af2e 100644 --- a/Testing/Fa/000295-MeanShiftVectorImageFilterWithStreamingShrink.cxx +++ b/Testing/Fa/000295-MeanShiftVectorImageFilterWithStreamingShrink.cxx @@ -23,7 +23,7 @@ #include "otbStreamingShrinkImageFilter.h" -int main(int argc, char * argv[]) +int main(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const unsigned int spatialRadius = atoi(argv[2]); diff --git a/Testing/Fa/00134-feature_extraction.cxx b/Testing/Fa/00134-feature_extraction.cxx index 5b2fd4f3491294b3c2578f081bacde651964910e..23fe1a0ca162a122efb1456e35cadf39d1a6772d 100644 --- a/Testing/Fa/00134-feature_extraction.cxx +++ b/Testing/Fa/00134-feature_extraction.cxx @@ -31,7 +31,7 @@ #include "otbMultiChannelRAndNIRIndexImageFilter.h" #include "otbVegetationIndicesFunctor.h" -int main(int argc, char* argv[]) +int main(int itkNotUsed(argc), char* argv[]) { const char * inputName = argv[1]; const char * outputName = argv[2]; diff --git a/Testing/Fa/StreamingStat.cxx b/Testing/Fa/StreamingStat.cxx index cff8fe83f522481e779b8a02ddbf3a54af9ac1a4..1ba59c44728e552e62b1f9f89b144982a09356b8 100644 --- a/Testing/Fa/StreamingStat.cxx +++ b/Testing/Fa/StreamingStat.cxx @@ -4,7 +4,7 @@ #include "otbStreamingStatisticsImageFilter.h" #include "otbVectorImageTo3DScalarImageFilter.h" -int main(int argc, char ** argv) +int main(int itkNotUsed(argc), char ** argv) { typedef otb::Image<double, 3> Image3DType; typedef otb::VectorImage<double, 2> VectorImageType; diff --git a/Testing/Fa/WriteUnsignedLong.cxx b/Testing/Fa/WriteUnsignedLong.cxx index b19e5c0213de5ce8c2682f92e4f8c4d93810bb77..9bb626f156b0d6b8a0fa3754f668d08fb3ba7b85 100644 --- a/Testing/Fa/WriteUnsignedLong.cxx +++ b/Testing/Fa/WriteUnsignedLong.cxx @@ -23,7 +23,7 @@ //TODO change the bug tracker url //http://bugs.orfeo-toolbox.org/view.php?id=406 -int main(int argc, char *argv[]) +int main(int itkNotUsed(argc), char *argv[]) { char * filename = argv[1]; diff --git a/Testing/Fa/otbVectorDataToLabelImageFilterWithoutReader.cxx b/Testing/Fa/otbVectorDataToLabelImageFilterWithoutReader.cxx index d3fcb3a1e6c81ce884ae51bfa8b7171e15981f7c..3293dcd4689547e8d0852067ff831b1cfa8225c2 100644 --- a/Testing/Fa/otbVectorDataToLabelImageFilterWithoutReader.cxx +++ b/Testing/Fa/otbVectorDataToLabelImageFilterWithoutReader.cxx @@ -40,7 +40,7 @@ typedef DataNodeType::LineType LineType; typedef DataNodeType::PolygonType PolygonType; typedef LineType::VertexType VertexType; -int main(int argc, char* argv[]) +int main(int itkNotUsed(argc), char* argv[]) { //OGRRegisterAll(); diff --git a/Testing/Utilities/6SFunctionMainTest.cxx b/Testing/Utilities/6SFunctionMainTest.cxx index b2631b92ffcb41e1c0303969b27c3eda80a88b89..540ad2fb6876df78d5ba3dab2da08663fd9d82c0 100644 --- a/Testing/Utilities/6SFunctionMainTest.cxx +++ b/Testing/Utilities/6SFunctionMainTest.cxx @@ -172,18 +172,3 @@ int SIXSFunctionMainOtbTest( int argc, char *argv[] ) return EXIT_SUCCESS; }; - - - - - - - - - - - - - - - diff --git a/Testing/Utilities/ossimElevManagerTest.cxx b/Testing/Utilities/ossimElevManagerTest.cxx index 81252c8b5c33e9fb8c8c325c92bd284d5d6c043f..f95eef1d67efc10d6b1bb3cfb3239a5d2bf1f44d 100644 --- a/Testing/Utilities/ossimElevManagerTest.cxx +++ b/Testing/Utilities/ossimElevManagerTest.cxx @@ -14,13 +14,14 @@ #include <fstream> #include <cstdlib> +#include "itkMacro.h" #include "ossim/elevation/ossimElevManager.h" // this is the most important class and is called as the first line of all applications. // without this alll the important factories are not created. #include "ossim/init/ossimInit.h" -int ossimElevManagerTest(int argc, char* argv[]) +int ossimElevManagerTest(int itkNotUsed(argc), char* itkNotUsed(argv)[]) { ossimElevManager * ElevManager(NULL); ElevManager=ossimElevManager::instance(); @@ -35,6 +36,3 @@ int ossimElevManagerTest(int argc, char* argv[]) } } - - - diff --git a/Testing/Utilities/ossimXmlDocumentTest.cxx b/Testing/Utilities/ossimXmlDocumentTest.cxx index 205228c920fa4828cffa310ef212573ec04b4dfb..98cc78860a1a9b4b8565a7864db79d91ba16ae7a 100644 --- a/Testing/Utilities/ossimXmlDocumentTest.cxx +++ b/Testing/Utilities/ossimXmlDocumentTest.cxx @@ -15,12 +15,12 @@ #include <cstdlib> #include "ossim/base/ossimXmlDocument.h" - +#include "itkMacro.h" // this is the most important class and is called as the first line of all applications. // without this alll the important factories are not created. #include "ossim/init/ossimInit.h" -int ossimXmlDocumentTest(int argc, char* argv[]) +int ossimXmlDocumentTest(int itkNotUsed(argc), char* argv[]) { ossimXmlDocument* xdoc = new ossimXmlDocument(); bool result = xdoc->openFile(argv[1]); @@ -36,6 +36,3 @@ int ossimXmlDocumentTest(int argc, char* argv[]) } } - - - diff --git a/Testing/Utilities/ossimpluginsHermiteInterpolation.cxx b/Testing/Utilities/ossimpluginsHermiteInterpolation.cxx index c81fa35ff8216e2e68b3c8fb8d4835a323a5f3aa..e74f6d74fc5759b19a4dab10c0f76667d3b82b47 100644 --- a/Testing/Utilities/ossimpluginsHermiteInterpolation.cxx +++ b/Testing/Utilities/ossimpluginsHermiteInterpolation.cxx @@ -25,8 +25,7 @@ #include "ossim/otb/HermiteInterpolator.h" #include "itkTimeProbe.h" - -int ossimpluginsHermiteInterpolationTest(int argc, char * argv[]) +int ossimpluginsHermiteInterpolationTest(int itkNotUsed(argc), char * itkNotUsed(argv)[]) { double epsilon = 0.0000001; diff --git a/Testing/Utilities/otbSVMComposedKernelFunctorTest.cxx b/Testing/Utilities/otbSVMComposedKernelFunctorTest.cxx index b67badbd4533cff7c4c88b5da46bf11cd40e4f86..e227f16435140eb86911a21352de3420377f3784 100644 --- a/Testing/Utilities/otbSVMComposedKernelFunctorTest.cxx +++ b/Testing/Utilities/otbSVMComposedKernelFunctorTest.cxx @@ -29,7 +29,7 @@ #define Malloc(type,n) new type[n] #endif -int otbSVMComposedKernelFunctorTest( int argc, char* argv[] ) +int otbSVMComposedKernelFunctorTest( int itkNotUsed(argc), char* argv[] ) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; @@ -161,7 +161,3 @@ int otbSVMComposedKernelFunctorTest( int argc, char* argv[] ) return EXIT_SUCCESS; } - - - - diff --git a/Testing/Utilities/svmGenericKernelBasicOperationsTest.cxx b/Testing/Utilities/svmGenericKernelBasicOperationsTest.cxx index cc8d0ad9c820dd75d481beb63c3794b34a966b64..be28812895ed42df94c1de4bd313155ee83c4a06 100644 --- a/Testing/Utilities/svmGenericKernelBasicOperationsTest.cxx +++ b/Testing/Utilities/svmGenericKernelBasicOperationsTest.cxx @@ -6,8 +6,7 @@ #include "svm.h" #include "otbSVMKernels.h" - -int svmGenericKernelBasicOperationsTest( int argc, char *argv[] ) +int svmGenericKernelBasicOperationsTest( int itkNotUsed(argc), char *argv[] ) { const char * outputFileName = argv[1]; @@ -84,5 +83,3 @@ int svmGenericKernelBasicOperationsTest( int argc, char *argv[] ) return EXIT_SUCCESS; } - - diff --git a/Testing/Utilities/svmGenericKernelFunctor.cxx b/Testing/Utilities/svmGenericKernelFunctor.cxx index 952468dcf76649bb324a609b16817dcf898debf5..074c53ff1252018840cd05d88fd3f57d23b7b423 100644 --- a/Testing/Utilities/svmGenericKernelFunctor.cxx +++ b/Testing/Utilities/svmGenericKernelFunctor.cxx @@ -52,7 +52,7 @@ protected: * image. We write the output to an image for * comparison. */ -int svmGenericKernelFunctor( int argc, char *argv[] ) +int svmGenericKernelFunctor( int itkNotUsed(argc), char *itkNotUsed(argv)[] ) { try @@ -92,18 +92,3 @@ int svmGenericKernelFunctor( int argc, char *argv[] ) return EXIT_SUCCESS; }; - - - - - - - - - - - - - - - diff --git a/Testing/Utilities/svmGenericKernelTest.cxx b/Testing/Utilities/svmGenericKernelTest.cxx index f032f36dc9511cd017b41f927344214858ef4b51..a51a41c4ac8ec1cca27d061f6b76c0ad5d65641a 100644 --- a/Testing/Utilities/svmGenericKernelTest.cxx +++ b/Testing/Utilities/svmGenericKernelTest.cxx @@ -52,12 +52,10 @@ protected: * image. We write the output to an image for * comparison. */ -int svmGenericKernelTest( int argc, char *argv[] ) +int svmGenericKernelTest( int itkNotUsed(argc), char *argv[] ) { - try { - const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; otb::LinearKernelFunctor lFunctor; @@ -93,18 +91,3 @@ int svmGenericKernelTest( int argc, char *argv[] ) return EXIT_SUCCESS; }; - - - - - - - - - - - - - - - diff --git a/Testing/Utilities/svmTest.cxx b/Testing/Utilities/svmTest.cxx index 3bb20740af3d6d8aaed36b879cff286920877692..ec18ad8f62af2c8800fdd2879f7b6069ee53015d 100644 --- a/Testing/Utilities/svmTest.cxx +++ b/Testing/Utilities/svmTest.cxx @@ -52,7 +52,7 @@ protected: * image. We write the output to an image for * comparison. */ -int svmTest( int argc, char *argv[] ) +int svmTest( int itkNotUsed(argc), char *argv[] ) { try @@ -91,18 +91,3 @@ int svmTest( int argc, char *argv[] ) return EXIT_SUCCESS; }; - - - - - - - - - - - - - - - diff --git a/Testing/Utilities/tinyXMLlibTest.cxx b/Testing/Utilities/tinyXMLlibTest.cxx index 5c7e8d421040d12c4e6db98ac0a8549c946312b3..ab542e7612a30ededc737930cfaaea51e55a8921 100644 --- a/Testing/Utilities/tinyXMLlibTest.cxx +++ b/Testing/Utilities/tinyXMLlibTest.cxx @@ -73,7 +73,7 @@ bool XmlTest( FILE* ptrfile, const char* testString, int expected, int found, bo // and show how to add and remove nodes. // -int tinyXMLlibTest(int argc, char *argv[] ) +int tinyXMLlibTest(int itkNotUsed(argc), char *argv[] ) { const char * inputUtf8TestFilename = argv[1]; const char * inputUtf8TestVerifyFilename = argv[2];