diff --git a/Code/DisparityMap/otbDisparityMapTo3DFilter.txx b/Code/DisparityMap/otbDisparityMapTo3DFilter.txx index f72c295a52779b4fc101bd1d59e5610ac5319734..284e63b2cc030005127dc73a8b4a7123e5e2e90e 100644 --- a/Code/DisparityMap/otbDisparityMapTo3DFilter.txx +++ b/Code/DisparityMap/otbDisparityMapTo3DFilter.txx @@ -251,7 +251,7 @@ template <class TDisparityImage, class TOutputImage, class TEpipolarGridImage, class TMaskImage> void DisparityMapTo3DFilter<TDisparityImage,TOutputImage,TEpipolarGridImage,TMaskImage> -::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const RegionType & itkNotUsed(outputRegionForThread), itk::ThreadIdType itkNotUsed(threadId)) { const TDisparityImage * horizDisp = this->GetHorizontalDisparityMapInput(); const TDisparityImage * vertiDisp = this->GetVerticalDisparityMapInput(); diff --git a/Code/Learning/otbKMeansImageClassificationFilter.txx b/Code/Learning/otbKMeansImageClassificationFilter.txx index 58fd1a2b166bf02eef9934fb87ba4ed71ee8975e..258134e685d10cb6b9e5b10463d12496f2262142 100644 --- a/Code/Learning/otbKMeansImageClassificationFilter.txx +++ b/Code/Learning/otbKMeansImageClassificationFilter.txx @@ -82,7 +82,7 @@ KMeansImageClassificationFilter<TInputImage, TOutputImage, VMaxSampleDimension, template <class TInputImage, class TOutputImage, unsigned int VMaxSampleDimension, class TMaskImage> void KMeansImageClassificationFilter<TInputImage, TOutputImage, VMaxSampleDimension, TMaskImage> -::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { InputImageConstPointerType inputPtr = this->GetInput(); MaskImageConstPointerType inputMaskPtr = this->GetInputMask(); diff --git a/Code/MultiScale/otbSubsampleImageFilter.txx b/Code/MultiScale/otbSubsampleImageFilter.txx index b26c16142fe53d67d1df2e766ac07cf71c8969d4..16456528bda99a89854327f38632a660f30f8244 100644 --- a/Code/MultiScale/otbSubsampleImageFilter.txx +++ b/Code/MultiScale/otbSubsampleImageFilter.txx @@ -148,7 +148,7 @@ template <class TInputImage, class TOutputImage, void SubsampleImageFilter<TInputImage, TOutputImage, TDirectionOfTransformation> ::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, - itk::ThreadIdType threadId) + itk::ThreadIdType itkNotUsed(threadId)) { OutputImagePointerType output = this->GetOutput(); diff --git a/Code/MultiScale/otbWaveletPacketDecompositionCosts.h b/Code/MultiScale/otbWaveletPacketDecompositionCosts.h index 5b8832c89888de46674d959abdf471cc03904c74..838e93854fdf7ca911ce62ad86d59890ac903e7a 100644 --- a/Code/MultiScale/otbWaveletPacketDecompositionCosts.h +++ b/Code/MultiScale/otbWaveletPacketDecompositionCosts.h @@ -57,7 +57,7 @@ public: static unsigned int NumberOfAllowedDecompositions; /** Evaluate the cost */ - bool Evaluate(unsigned int decomposition, const ImageType * image) + bool Evaluate(unsigned int decomposition, const ImageType * itkNotUsed(image)) { return (decomposition < NumberOfAllowedDecompositions); } diff --git a/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx b/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx index ca37072dcb7ca684b3a64caede0d4ae4733f5419..46291d64d9d2da15f6b3145c9eafeb51235b743e 100644 --- a/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx +++ b/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx @@ -27,7 +27,7 @@ #include "otbVectorDataFileWriter.h" #include "itkPreOrderTreeIterator.h" -int otbSpectralAngleDataNodeFeatureFunctionNew(int itkNotUsed(argc), char* argv[]) +int otbSpectralAngleDataNodeFeatureFunctionNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double CoordRepType; typedef double PrecisionType; diff --git a/Testing/Code/DisparityMap/otbAdhesionCorrectionFilter.cxx b/Testing/Code/DisparityMap/otbAdhesionCorrectionFilter.cxx index f87452f46e16cba79a620fed6d215d505fbf7309..7c0819b9c7da120eae19075e9002988e7a6c864b 100644 --- a/Testing/Code/DisparityMap/otbAdhesionCorrectionFilter.cxx +++ b/Testing/Code/DisparityMap/otbAdhesionCorrectionFilter.cxx @@ -36,7 +36,7 @@ typedef otb::ImageFileWriter<MaskType> MaskWriterType; typedef otb::AdhesionCorrectionFilter<ImageType, MaskType> AdhesionCorrectionFilterType; -int otbAdhesionCorrectionFilterNew(int argc, char* argv[]) +int otbAdhesionCorrectionFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation @@ -131,5 +131,3 @@ int otbAdhesionCorrectionFilter(int argc, char* argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGenerator.cxx b/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGenerator.cxx index 2e658edf1c79fd9d710c74c8152625e4ab8c267c..75dd8a87f1043cc97aa00b9b707cde30ba285653 100644 --- a/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGenerator.cxx +++ b/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGenerator.cxx @@ -21,7 +21,7 @@ #include "otbBSplinesInterpolateDisplacementFieldGenerator.h" #include "otbImageFileWriter.h" -int otbBSplinesInterpolateDisplacementFieldGenerator(int argc, char * argv[]) +int otbBSplinesInterpolateDisplacementFieldGenerator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * outfname = argv[1]; diff --git a/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx index 021356b312876ed69e1b72c3ab68c025478fde8c..996507bcda678985044900561f4bd817a8521412 100644 --- a/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbBSplinesInterpolateDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbBSplinesInterpolateDisplacementFieldGenerator.h" -int otbBSplinesInterpolateDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbBSplinesInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGenerator.cxx b/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGenerator.cxx index cf8d3a03b1f56b675f2b5cdee6a70e10b4339b29..783d176004883564941c30415d91d3f04e2b3a97 100644 --- a/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGenerator.cxx +++ b/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGenerator.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "itkEuler2DTransform.h" -int otbBSplinesInterpolateTransformDisplacementFieldGenerator(int argc, char * argv[]) +int otbBSplinesInterpolateTransformDisplacementFieldGenerator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * outfname = argv[1]; diff --git a/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx index 5d639c6f3f6d2769eef33516ff6ac689b3bfd438..6c0f39cc41a6323a198f1165175422b0ea78aefa 100644 --- a/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbBSplinesInterpolateTransformDisplacementFieldGenerator.h" -int otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbBSplinesInterpolateTransformDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbBijectionCoherencyFilter.cxx b/Testing/Code/DisparityMap/otbBijectionCoherencyFilter.cxx index fb09695a6157fdbef7621714eec984e7a81c1447..b53859a608cc79468d4140be785dfe379ff8382e 100644 --- a/Testing/Code/DisparityMap/otbBijectionCoherencyFilter.cxx +++ b/Testing/Code/DisparityMap/otbBijectionCoherencyFilter.cxx @@ -32,7 +32,7 @@ typedef otb::BijectionCoherencyFilter FloatImageType> BijectionFilterType; -int otbBijectionCoherencyFilterNew(int argc, char* argv[]) +int otbBijectionCoherencyFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation BijectionFilterType::Pointer bijectFilter = BijectionFilterType::New(); diff --git a/Testing/Code/DisparityMap/otbDisparityMapEstimationMethod.cxx b/Testing/Code/DisparityMap/otbDisparityMapEstimationMethod.cxx index ae5f8b3038e287766ff1766cc3ae616553fb7c60..88a8d067b221a6f19d9ac3c67edb7511867f6a1a 100644 --- a/Testing/Code/DisparityMap/otbDisparityMapEstimationMethod.cxx +++ b/Testing/Code/DisparityMap/otbDisparityMapEstimationMethod.cxx @@ -25,7 +25,7 @@ #include "otbThresholdImageToPointSetFilter.h" #include "itkMinimumMaximumImageCalculator.h" -int otbDisparityMapEstimationMethod(int argc, char* argv[]) +int otbDisparityMapEstimationMethod(int itkNotUsed(argc), char* argv[]) { const char* fixedFileName = argv[1]; const char* movingFileName = argv[2]; diff --git a/Testing/Code/DisparityMap/otbDisparityMapEstimationMethodNew.cxx b/Testing/Code/DisparityMap/otbDisparityMapEstimationMethodNew.cxx index 217e93b0b8db83247e4baa41b3ac6a2a39d045a6..627241ba64fa9f7d30393baa6b3fa08f90986b60 100644 --- a/Testing/Code/DisparityMap/otbDisparityMapEstimationMethodNew.cxx +++ b/Testing/Code/DisparityMap/otbDisparityMapEstimationMethodNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "itkTranslationTransform.h" -int otbDisparityMapEstimationMethodNew(int argc, char* argv[]) +int otbDisparityMapEstimationMethodNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/DisparityMap/otbDisparityMapMedianFilter.cxx b/Testing/Code/DisparityMap/otbDisparityMapMedianFilter.cxx index 7815127b674716c96f8835b9e3b5ba5030a8c3fc..ae5a12cdb680cdbcc7d73174512bb89660944d7c 100644 --- a/Testing/Code/DisparityMap/otbDisparityMapMedianFilter.cxx +++ b/Testing/Code/DisparityMap/otbDisparityMapMedianFilter.cxx @@ -30,7 +30,7 @@ typedef otb::DisparityMapMedianFilter<FloatImageType,FloatImageType,FloatImageType> DisparityMapMedianFilterType; -int otbDisparityMapMedianFilterNew(int argc, char* argv[]) +int otbDisparityMapMedianFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation DisparityMapMedianFilterType::Pointer filter = DisparityMapMedianFilterType::New(); diff --git a/Testing/Code/DisparityMap/otbDisparityMapTo3DFilter.cxx b/Testing/Code/DisparityMap/otbDisparityMapTo3DFilter.cxx index 3d5aff9e67d9eb83417b7d904f7f88d812397fcd..2e9c793c7f22a4aa939d0ce68449ec855cb999cd 100644 --- a/Testing/Code/DisparityMap/otbDisparityMapTo3DFilter.cxx +++ b/Testing/Code/DisparityMap/otbDisparityMapTo3DFilter.cxx @@ -33,8 +33,7 @@ typedef otb::DisparityMapTo3DFilter FloatVectorImageType, FloatImageType> StereoFilterType; - -int otbDisparityMapTo3DFilterNew(int argc, char* argv[]) +int otbDisparityMapTo3DFilterNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { // Instantiation StereoFilterType::Pointer filter = StereoFilterType::New(); @@ -111,6 +110,3 @@ int otbDisparityMapTo3DFilter(int argc, char* argv[]) return EXIT_SUCCESS; } - - - diff --git a/Testing/Code/DisparityMap/otbDisparityMapToDEMFilter.cxx b/Testing/Code/DisparityMap/otbDisparityMapToDEMFilter.cxx index d4ec8ebad7c5072621cc15164f727b35365af553..d11505fa6fc1702b6d0bbf7e2ef0a78a5605c5d6 100644 --- a/Testing/Code/DisparityMap/otbDisparityMapToDEMFilter.cxx +++ b/Testing/Code/DisparityMap/otbDisparityMapToDEMFilter.cxx @@ -46,7 +46,7 @@ typedef otb::DisparityMapToDEMFilter <FloatImageType, FloatVectorImageType> DisparityToElevationFilterType; -int otbDisparityMapToDEMFilterNew(int argc, char* argv[]) +int otbDisparityMapToDEMFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation @@ -115,5 +115,3 @@ int otbDisparityMapToDEMFilter(int argc, char* argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/DisparityMap/otbDisparityTranslateFilter.cxx b/Testing/Code/DisparityMap/otbDisparityTranslateFilter.cxx index b9f8ce523ce850d275774fceac1252d494e33d3d..30727d5599de2efad45b5773bbf3ec6df06a5de7 100644 --- a/Testing/Code/DisparityMap/otbDisparityTranslateFilter.cxx +++ b/Testing/Code/DisparityMap/otbDisparityTranslateFilter.cxx @@ -55,7 +55,7 @@ typedef otb::DisparityTranslateFilter FloatImageType> TranslateFilter; -int otbDisparityTranslateFilterNew(int argc, char* argv[]) +int otbDisparityTranslateFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation TranslateFilter::Pointer filter = TranslateFilter::New(); diff --git a/Testing/Code/DisparityMap/otbFineRegistrationImageFilterNew.cxx b/Testing/Code/DisparityMap/otbFineRegistrationImageFilterNew.cxx index 022649e8f2e85905783258c051beb329e1c6881b..74586f512f40734a01102cd8faf359927389b694 100644 --- a/Testing/Code/DisparityMap/otbFineRegistrationImageFilterNew.cxx +++ b/Testing/Code/DisparityMap/otbFineRegistrationImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbFineRegistrationImageFilter.h" -int otbFineRegistrationImageFilterNew( int argc, char * argv[] ) +int otbFineRegistrationImageFilterNew( int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/DisparityMap/otbMulti3DMapToDEMFilter.cxx b/Testing/Code/DisparityMap/otbMulti3DMapToDEMFilter.cxx index 181b973919fbffe427da1d640b322a5f07c38123..6fcf1ab47b2b10f6052772ea666b88e77db08000 100644 --- a/Testing/Code/DisparityMap/otbMulti3DMapToDEMFilter.cxx +++ b/Testing/Code/DisparityMap/otbMulti3DMapToDEMFilter.cxx @@ -36,7 +36,7 @@ typedef otb::Multi3DMapToDEMFilter ImageType> Multi3DFilterType; -int otbMulti3DMapToDEMFilterNew(int argc, char* argv[]) +int otbMulti3DMapToDEMFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation Multi3DFilterType::Pointer multiFilter = Multi3DFilterType::New(); diff --git a/Testing/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.cxx b/Testing/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.cxx index 2f677e6f29c9fe16fbc1319c8573b5e159d508c7..a7edb7c4d420977fc705379a2136e0b01832ff68 100644 --- a/Testing/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.cxx +++ b/Testing/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.cxx @@ -33,7 +33,7 @@ typedef otb::MultiDisparityMapTo3DFilter FloatImageType> Multi3DFilterType; -int otbMultiDisparityMapTo3DFilterNew(int argc, char* argv[]) +int otbMultiDisparityMapTo3DFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation Multi3DFilterType::Pointer multiFilter = Multi3DFilterType::New(); diff --git a/Testing/Code/DisparityMap/otbNCCRegistrationFilterNew.cxx b/Testing/Code/DisparityMap/otbNCCRegistrationFilterNew.cxx index 1761fde1e119d5470e518801ea2dc632c5fb53e6..994046ad587ac09a68d5ca03847f7816d65bf838 100644 --- a/Testing/Code/DisparityMap/otbNCCRegistrationFilterNew.cxx +++ b/Testing/Code/DisparityMap/otbNCCRegistrationFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbNCCRegistrationFilter.h" #include "otbImage.h" -int otbNCCRegistrationFilterNew(int argc, char* argv[]) +int otbNCCRegistrationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int ImageDimension = 2; diff --git a/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.cxx b/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.cxx index 50765f8fe5798695846f486b57fc86440397fa96..fad75e2c708a2fa5db4e4ed3e5a9e55e8317a67a 100644 --- a/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.cxx +++ b/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.cxx @@ -21,7 +21,7 @@ #include "otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.h" #include "otbImageFileWriter.h" -int otbNNearestPointsLinearInterpolateDisplacementFieldGenerator(int argc, char * argv[]) +int otbNNearestPointsLinearInterpolateDisplacementFieldGenerator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * outfname = argv[1]; diff --git a/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx index 51238c2b84d53017acb9d433cf05f442aa06007e..0430f4bfee1d9c7f0b7bedaca158fc07e1eede1e 100644 --- a/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbNNearestPointsLinearInterpolateDisplacementFieldGenerator.h" -int otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbNNearestPointsLinearInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.cxx b/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.cxx index f121fddcb094c6ca24476c44a29a2db572d8ca5b..783944e8b3a183aa835712faeeaa02014408dfe0 100644 --- a/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.cxx +++ b/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "itkEuler2DTransform.h" -int otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator(int argc, char * argv[]) +int otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * outfname = argv[1]; diff --git a/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx index c5dcc2df47c72aafd4a68f014d2e3f93074d8cf9..0600f9fbfea29e9cb2e2e4a4a9a28a953be22c80 100644 --- a/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbNNearestTransformsLinearInterpolateDisplacementFieldGenerator.h" -int otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbNNearestTransformsLinearInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGenerator.cxx b/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGenerator.cxx index 05c7333c59bf76011b4b17e3e1f04afc26ba358d..aa56d4f2ff5ea6662b375108e33a88f2fd481598 100644 --- a/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGenerator.cxx +++ b/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGenerator.cxx @@ -21,7 +21,7 @@ #include "otbNearestPointDisplacementFieldGenerator.h" #include "otbImageFileWriter.h" -int otbNearestPointDisplacementFieldGenerator(int argc, char * argv[]) +int otbNearestPointDisplacementFieldGenerator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * outfname = argv[1]; diff --git a/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGeneratorNew.cxx index 6ef49086d038c71c39eb71591a0997a0a2a179cf..172aaab7a1351bebdfbbcaae496ee229a8cbccc4 100644 --- a/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbNearestPointDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbNearestPointDisplacementFieldGenerator.h" -int otbNearestPointDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbNearestPointDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGenerator.cxx b/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGenerator.cxx index 6967745038457ac74ce62589be0606db94ffe377..473723226ce73f2416e326797374cc33f651ed42 100644 --- a/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGenerator.cxx +++ b/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGenerator.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "itkEuler2DTransform.h" -int otbNearestTransformDisplacementFieldGenerator(int argc, char * argv[]) +int otbNearestTransformDisplacementFieldGenerator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * outfname = argv[1]; diff --git a/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGeneratorNew.cxx index fbcbea37747c5d6216ac19ee4c9999cdeab08232..6f197ea8a8d644aa87de2262d30b6748d1c77beb 100644 --- a/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbNearestTransformDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbNearestTransformDisplacementFieldGenerator.h" -int otbNearestTransformDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbNearestTransformDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.cxx b/Testing/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.cxx index 5ac3b06448e8dfdb0fca2f9af0ed1a52ee6e3600..2844195003aa61e6ecde7d52d3f8cc03ec4119f3 100644 --- a/Testing/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.cxx +++ b/Testing/Code/DisparityMap/otbPixelWiseBlockMatchingImageFilter.cxx @@ -33,7 +33,7 @@ typedef otb::Functor::NCCBlockMatching<ImageType,FloatImageType> NCCBlockMatchin typedef otb::PixelWiseBlockMatchingImageFilter<ImageType,FloatImageType,FloatImageType,ImageType, NCCBlockMatchingFunctorType> PixelWiseNCCBlockMatchingImageFilterType; -int otbPixelWiseBlockMatchingImageFilterNew(int argc, char * argv[]) +int otbPixelWiseBlockMatchingImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instanciation PixelWiseBlockMatchingImageFilterType::Pointer bmFilter = PixelWiseBlockMatchingImageFilterType::New(); @@ -79,11 +79,9 @@ int otbPixelWiseBlockMatchingImageFilter(int argc, char * argv[]) metricWriter->Update(); - return EXIT_SUCCESS; } - int otbPixelWiseBlockMatchingImageFilterNCC(int argc, char * argv[]) { ReaderType::Pointer leftReader = ReaderType::New(); diff --git a/Testing/Code/DisparityMap/otbPointSetToDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbPointSetToDisplacementFieldGeneratorNew.cxx index c79092766078633ca58da2eac51d7134faee9726..0d207efb58c11e0600eda8dd85cf5585cc5798f5 100644 --- a/Testing/Code/DisparityMap/otbPointSetToDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbPointSetToDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbPointSetToDisplacementFieldGenerator.h" -int otbPointSetToDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbPointSetToDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx b/Testing/Code/DisparityMap/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx index 3537a00a2ce8469a8f123f1430429950b70fc8bb..0cbd3371ab9dc54efb65c790835c19c2f6468a63 100644 --- a/Testing/Code/DisparityMap/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx +++ b/Testing/Code/DisparityMap/otbPointSetWithTransformToDisplacementFieldGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbPointSetWithTransformToDisplacementFieldGenerator.h" -int otbPointSetWithTransformToDisplacementFieldGeneratorNew(int argc, char * argv[]) +int otbPointSetWithTransformToDisplacementFieldGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/DisparityMap/otbStereoSensorModelToElevationMapFilter.cxx b/Testing/Code/DisparityMap/otbStereoSensorModelToElevationMapFilter.cxx index c9f554cb31c0aad3ae50a7fed9a2c17551397a78..b8949d8fe0c3575990c9a97a764570d48f2e5ab4 100644 --- a/Testing/Code/DisparityMap/otbStereoSensorModelToElevationMapFilter.cxx +++ b/Testing/Code/DisparityMap/otbStereoSensorModelToElevationMapFilter.cxx @@ -43,7 +43,7 @@ typedef itk::MedianImageFilter<HeightImageType, HeightImageType> MedianFilterTyp typedef otb::ImageFileWriter<HeightImageType> WriterType; -int otbStereoSensorModelToElevationMapFilterNew( int argc, char * argv[] ) +int otbStereoSensorModelToElevationMapFilterNew( int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation StereoFilterType::Pointer stereoFilter = StereoFilterType::New(); @@ -53,7 +53,7 @@ int otbStereoSensorModelToElevationMapFilterNew( int argc, char * argv[] ) } -int otbStereoSensorModelToElevationMapFilter( int argc, char * argv[] ) +int otbStereoSensorModelToElevationMapFilter( int itkNotUsed(argc), char * argv[] ) { ReaderType::Pointer masterReader = ReaderType::New(); masterReader->SetFileName(argv[1]); diff --git a/Testing/Code/DisparityMap/otbStereorectificationDisplacementFieldSource.cxx b/Testing/Code/DisparityMap/otbStereorectificationDisplacementFieldSource.cxx index e4a6606bd62ef9760450ef39f0be0452d2f611a1..d7cbc8c786cb87743fcf56e3af805dd72fd57939 100644 --- a/Testing/Code/DisparityMap/otbStereorectificationDisplacementFieldSource.cxx +++ b/Testing/Code/DisparityMap/otbStereorectificationDisplacementFieldSource.cxx @@ -29,7 +29,7 @@ typedef otb::StereorectificationDisplacementFieldSource typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::ImageFileWriter<DisplacementFieldType> WriterType; -int otbStereorectificationDisplacementFieldSourceNew(int argc, char * argv[]) +int otbStereorectificationDisplacementFieldSourceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation DisplacementFieldSourceType::Pointer dfSource = DisplacementFieldSourceType::New(); @@ -37,7 +37,7 @@ int otbStereorectificationDisplacementFieldSourceNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbStereorectificationDisplacementFieldSource(int argc, char * argv[]) +int otbStereorectificationDisplacementFieldSource(int itkNotUsed(argc), char * argv[]) { char * infname1 = argv[1]; char * infname2 = argv[2]; diff --git a/Testing/Code/DisparityMap/otbStreamingWarpImageFilterNew.cxx b/Testing/Code/DisparityMap/otbStreamingWarpImageFilterNew.cxx index 7e5093384457dcc6540a8c4c8e8d9ecc9e612c8c..71232cd6c4c07e2d588bf097d8151239ad3777e9 100644 --- a/Testing/Code/DisparityMap/otbStreamingWarpImageFilterNew.cxx +++ b/Testing/Code/DisparityMap/otbStreamingWarpImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "itkVector.h" #include "otbStreamingWarpImageFilter.h" -int otbStreamingWarpImageFilterNew(int argc, char* argv[]) +int otbStreamingWarpImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Images definition const unsigned int Dimension = 2; diff --git a/Testing/Code/DisparityMap/otbSubPixelDisparityImageFilter.cxx b/Testing/Code/DisparityMap/otbSubPixelDisparityImageFilter.cxx index 17e2646fe4d7c849662c02b448947e4dfd84b04e..b1a44085c35c85ace6b0d44bb5731bf215790e91 100644 --- a/Testing/Code/DisparityMap/otbSubPixelDisparityImageFilter.cxx +++ b/Testing/Code/DisparityMap/otbSubPixelDisparityImageFilter.cxx @@ -56,7 +56,7 @@ typedef otb::ImageFileReader<FloatImageType> ReaderType; typedef otb::ImageFileWriter<FloatImageType> WriterType; -int otbSubPixelDisparityImageFilterNew(int argc, char* argv[]) +int otbSubPixelDisparityImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiation @@ -201,12 +201,3 @@ int otbSubPixelDisparityImageFilter(int argc, char* argv[]) return EXIT_FAILURE; } - - - - - - - - - diff --git a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx index f45ec06db6c1bea21ea922ba30b1c31d0266ee50..2d8b9a9fcc4daa6398f9176a1973b58e322c7931 100644 --- a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbForwardFourierMellinTransformImageFilter.h" #include "itkLinearInterpolateImageFunction.h" -int otbFourierMellinImageFilterNew(int itkNotUsed(argc), char* argv[]) +int otbFourierMellinImageFilterNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx index 6d26828967f5d2874fc88d51a9368fc9a4f63db1..347ab007af7b0796f37e2449080804d3c0c55127 100644 --- a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx +++ b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx @@ -22,7 +22,7 @@ #include "otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.h" -int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator(int itkNotUsed(argc), char * argv[]) +int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator(int itkNotUsed(argc), char ** itkNotUsed(argv)) { try // the rest of the function is in the try block... diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx index 949ccb3bfc6a7275d990390e92115a95445f4470..2d996fa4d92677b9d3b6307bf502d7b4abfa3a6f 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx @@ -225,8 +225,8 @@ ImageType::Pointer contrast(ImageType::Pointer input, } OutputImageType::Pointer invContrast(OutputImageType::Pointer input, - const unsigned int contrastMin, - const unsigned int contrastMax) + const unsigned int itkNotUsed(contrastMin), + const unsigned int itkNotUsed(contrastMax)) { return input; } diff --git a/Testing/Code/FeatureExtraction/otbMultiplyByScalarImageTest.cxx b/Testing/Code/FeatureExtraction/otbMultiplyByScalarImageTest.cxx index 0f9f8ab109ce2fc5beeab8c916033b27b75d4552..147bb7216deb14631245a21e3e040c4d0e8c6cb4 100644 --- a/Testing/Code/FeatureExtraction/otbMultiplyByScalarImageTest.cxx +++ b/Testing/Code/FeatureExtraction/otbMultiplyByScalarImageTest.cxx @@ -23,7 +23,7 @@ #include "itkImageRegionIteratorWithIndex.h" #include "otbMultiplyByScalarImageFilter.h" -int otbMultiplyByScalarImageFilterTest(int itkNotUsed(argc), char * argv[]) +int otbMultiplyByScalarImageFilterTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Define the dimension of the images const unsigned int ImageDimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterTest.cxx b/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterTest.cxx index 7fff68bc534bdcf46349e0a77e67a5bde94e3c39..8db377f9446af1d3ad5a6a779b753d0be77749ed 100644 --- a/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterTest.cxx +++ b/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterTest.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbSFSTexturesImageFilterTest(int argc, char * argv[]) +int otbSFSTexturesImageFilterTest(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbScalarImageToAdvancedTexturesFilterNew.cxx b/Testing/Code/FeatureExtraction/otbScalarImageToAdvancedTexturesFilterNew.cxx index 3f6260aa65381e26fc6dcb69b1bc0cf11b258bd4..f0b6dfcde50e529ffcfd66ed0bd12a66c5f3566c 100644 --- a/Testing/Code/FeatureExtraction/otbScalarImageToAdvancedTexturesFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbScalarImageToAdvancedTexturesFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbScalarImageToAdvancedTexturesFilter.h" #include "otbImage.h" -int otbScalarImageToAdvancedTexturesFilterNew(int itkNotUsed(argc), char * argv[]) +int otbScalarImageToAdvancedTexturesFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbSimplePointCountStrategyTest.cxx b/Testing/Code/FeatureExtraction/otbSimplePointCountStrategyTest.cxx index b552b495504348897407ae253e28ad72888169f9..ed10593abde93245d7810f36a2c97595de04730a 100644 --- a/Testing/Code/FeatureExtraction/otbSimplePointCountStrategyTest.cxx +++ b/Testing/Code/FeatureExtraction/otbSimplePointCountStrategyTest.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "itkVariableLengthVector.h" -int otbSimplePointCountStrategyTest(int argc, char * argv[]) +int otbSimplePointCountStrategyTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/IO/otbExtendedFilenameTest.cxx b/Testing/Code/IO/otbExtendedFilenameTest.cxx index 39f97aec52e01faa6632170fd75f073353b52c90..35346d1157237e9b00d97cfec5aac839af4efc03 100644 --- a/Testing/Code/IO/otbExtendedFilenameTest.cxx +++ b/Testing/Code/IO/otbExtendedFilenameTest.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileReaderWithExtendedFilename(int argc, char* argv[]) +int otbImageFileReaderWithExtendedFilename(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; @@ -57,7 +57,7 @@ int otbImageFileReaderWithExtendedFilename(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbImageFileWriterWithExtendedFilename(int argc, char* argv[]) +int otbImageFileWriterWithExtendedFilename(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; @@ -81,4 +81,3 @@ int otbImageFileWriterWithExtendedFilename(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx b/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx index 126bdd531e21af6a9e39657c892b468f3435282e..156af3890da6be9d4b332956597e9c6b29e99a80 100644 --- a/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx +++ b/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx @@ -114,7 +114,7 @@ int otbImageScalarStreamingFileWriterTestWithoutInputDouble(int argc, char * arg * Write Image<scalar> with an ImageFileWriter<scalar> ***********/ template<class InternalType> -int otbImageComplexStreamingFileWriterTestWithoutInputGeneric(int argc, char* argv[]) +int otbImageComplexStreamingFileWriterTestWithoutInputGeneric(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * outputFilename = argv[1]; diff --git a/Testing/Code/Learning/otbConcatenateSampleListFilter.cxx b/Testing/Code/Learning/otbConcatenateSampleListFilter.cxx index 6cea5a63a62e09a867476f45b42ba25e766347b4..d7a44a0ba3906558aba7d1263c8b957a06b6d406 100644 --- a/Testing/Code/Learning/otbConcatenateSampleListFilter.cxx +++ b/Testing/Code/Learning/otbConcatenateSampleListFilter.cxx @@ -16,8 +16,6 @@ =========================================================================*/ - - #include "itkListSample.h" #include "itkVariableLengthVector.h" #include "otbConcatenateSampleListFilter.h" @@ -29,14 +27,14 @@ typedef itk::Statistics::ListSample<DoubleSampleType> DoubleSampleListType; typedef otb::Statistics::ConcatenateSampleListFilter<DoubleSampleListType> ConcatenateFilterType; -int otbConcatenateSampleListFilterNew(int argc, char * argv[]) +int otbConcatenateSampleListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { ConcatenateFilterType::Pointer instance = ConcatenateFilterType::New(); return EXIT_SUCCESS; } -int otbConcatenateSampleListFilter(int argc, char * argv[]) +int otbConcatenateSampleListFilter(int itkNotUsed(argc), char * argv[]) { // Compute the number of samples const char * outfname = argv[1]; @@ -106,5 +104,3 @@ int otbConcatenateSampleListFilter(int argc, char * argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Learning/otbConfusionMatrixCalculatorTest.cxx b/Testing/Code/Learning/otbConfusionMatrixCalculatorTest.cxx index df12f89a8cc3abca7782adb6e1b4022a8570ba8b..3ff8e08dde7c7a3cce718c622f822e6d4dcae5e3 100644 --- a/Testing/Code/Learning/otbConfusionMatrixCalculatorTest.cxx +++ b/Testing/Code/Learning/otbConfusionMatrixCalculatorTest.cxx @@ -19,7 +19,7 @@ #include "itkListSample.h" #include "otbConfusionMatrixCalculator.h" -int otbConfusionMatrixCalculatorNew(int argc, char* argv[]) +int otbConfusionMatrixCalculatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::VariableLengthVector<int> PLabelType; @@ -278,7 +278,7 @@ int otbConfusionMatrixCalculatorCompute(int argc, char* argv[]) } -int otbConfusionMatrixCalculatorComputeWithBaseline(int argc, char* argv[]) +int otbConfusionMatrixCalculatorComputeWithBaseline(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef char ClassLabelType; typedef itk::VariableLengthVector<ClassLabelType> PLabelType; diff --git a/Testing/Code/Learning/otbConfusionMatrixMeasurementsTest.cxx b/Testing/Code/Learning/otbConfusionMatrixMeasurementsTest.cxx index 0530ad678fc983c2bc4a2e6c4ddae610f9a5ab41..bcadefac945f937e09eaf6baee42e74d25194743 100644 --- a/Testing/Code/Learning/otbConfusionMatrixMeasurementsTest.cxx +++ b/Testing/Code/Learning/otbConfusionMatrixMeasurementsTest.cxx @@ -142,7 +142,7 @@ int CSVConfusionMatrixFileReader(const std::string fileName, MapOfClassesType &m -int otbConfusionMatrixMeasurementsNew(int argc, char* argv[]) +int otbConfusionMatrixMeasurementsNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { /*typedef unsigned long ConfusionMatrixEltType; typedef itk::VariableSizeMatrix<ConfusionMatrixEltType> ConfusionMatrixType; @@ -172,7 +172,7 @@ int otbConfusionMatrixMeasurementsNew(int argc, char* argv[]) } -int otbConfusionMatrixMeasurementsTest(int argc, char* argv[]) +int otbConfusionMatrixMeasurementsTest(int itkNotUsed(argc), char** itkNotUsed(argv)) { /*typedef unsigned long ConfusionMatrixEltType; typedef itk::VariableSizeMatrix<ConfusionMatrixEltType> ConfusionMatrixType; diff --git a/Testing/Code/Learning/otbDecisionTreeBuild.cxx b/Testing/Code/Learning/otbDecisionTreeBuild.cxx index 48aca4c0a863b8c5915f71f65f86896ebb53aad3..afffd704f7d405b5d8f3de18c89270f5c61debce 100644 --- a/Testing/Code/Learning/otbDecisionTreeBuild.cxx +++ b/Testing/Code/Learning/otbDecisionTreeBuild.cxx @@ -20,7 +20,7 @@ enum WheatTypes { WinterWheat, SummerWheat }; -int otbDecisionTreeBuild(int argc, char* argv[]) +int otbDecisionTreeBuild(int itkNotUsed(argc), char** itkNotUsed(argv)) { /** We build the following decision tree @@ -111,4 +111,3 @@ int otbDecisionTreeBuild(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/Learning/otbDecisionTreeNew.cxx b/Testing/Code/Learning/otbDecisionTreeNew.cxx index 468f548654e1ea676b316792b7a04b38670362d1..732eea21e0c4cc5466e54671c7c1798179e7054a 100644 --- a/Testing/Code/Learning/otbDecisionTreeNew.cxx +++ b/Testing/Code/Learning/otbDecisionTreeNew.cxx @@ -20,7 +20,7 @@ enum WheatTypes { WinterWheat, SummerWheat }; -int otbDecisionTreeNew(int argc, char* argv[]) +int otbDecisionTreeNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef bool AttributeValueType; diff --git a/Testing/Code/Learning/otbDecisionTreeWithRealValues.cxx b/Testing/Code/Learning/otbDecisionTreeWithRealValues.cxx index 33b461bac4972400e339702e609d3c2760fa4554..72690c75248177b758f73fc43de2f60199610fc6 100644 --- a/Testing/Code/Learning/otbDecisionTreeWithRealValues.cxx +++ b/Testing/Code/Learning/otbDecisionTreeWithRealValues.cxx @@ -20,7 +20,7 @@ enum WheatTypes { WinterWheat, SummerWheat }; -int otbDecisionTreeWithRealValues(int argc, char* argv[]) +int otbDecisionTreeWithRealValues(int itkNotUsed(argc), char** itkNotUsed(argv)) { /** We build the following decision tree @@ -111,4 +111,3 @@ int otbDecisionTreeWithRealValues(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/Learning/otbExhaustiveExponentialOptimizerNew.cxx b/Testing/Code/Learning/otbExhaustiveExponentialOptimizerNew.cxx index 6d65d87924517e5c7d9fe2598847cc23ca550c73..9d2f33bd2055b9366e83ec54fa62136b047ecb96 100644 --- a/Testing/Code/Learning/otbExhaustiveExponentialOptimizerNew.cxx +++ b/Testing/Code/Learning/otbExhaustiveExponentialOptimizerNew.cxx @@ -22,7 +22,7 @@ #include "otbExhaustiveExponentialOptimizer.h" -int otbExhaustiveExponentialOptimizerNew(int argc, char* argv[]) +int otbExhaustiveExponentialOptimizerNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::ExhaustiveExponentialOptimizer::Pointer opt = otb::ExhaustiveExponentialOptimizer::New(); diff --git a/Testing/Code/Learning/otbExhaustiveExponentialOptimizerTest.cxx b/Testing/Code/Learning/otbExhaustiveExponentialOptimizerTest.cxx index d83e05a82655d99c3ef623eba779eaacd6549da5..dbb718bf271d9a0fe67b50b7f68e49bbc6c9d52e 100644 --- a/Testing/Code/Learning/otbExhaustiveExponentialOptimizerTest.cxx +++ b/Testing/Code/Learning/otbExhaustiveExponentialOptimizerTest.cxx @@ -83,7 +83,7 @@ public: virtual unsigned int GetNumberOfParameters(void) const {return 2; }; /** \return The accuracy derivative corresponding to the parameters */ - virtual void GetDerivative(const ParametersType& parameters, DerivativeType& derivative) const {}; + virtual void GetDerivative(const ParametersType& itkNotUsed(parameters), DerivativeType& itkNotUsed(derivative)) const {}; /// Constructor Quadratic2DCostFunction() @@ -103,7 +103,7 @@ private: }; // class Quadratic2DCostFunction -int otbExhaustiveExponentialOptimizerTest(int argc, char* argv[]) +int otbExhaustiveExponentialOptimizerTest(int itkNotUsed(argc), char* argv[]) { Quadratic2DCostFunction::Pointer costFunction = Quadratic2DCostFunction::New(); diff --git a/Testing/Code/Learning/otbGaussianAdditiveNoiseSampleListFilter.cxx b/Testing/Code/Learning/otbGaussianAdditiveNoiseSampleListFilter.cxx index ada6eab867af05b36e22ce978d858b006502ca5d..a0321160d57d56eca6fba10418588932e4da23c0 100644 --- a/Testing/Code/Learning/otbGaussianAdditiveNoiseSampleListFilter.cxx +++ b/Testing/Code/Learning/otbGaussianAdditiveNoiseSampleListFilter.cxx @@ -31,7 +31,7 @@ typedef otb::Statistics::GaussianAdditiveNoiseSampleListFilter <FloatSampleListType, DoubleSampleListType> GaussianFilterType; -int otbGaussianAdditiveNoiseSampleListFilterNew(int argc, char * argv[]) +int otbGaussianAdditiveNoiseSampleListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { GaussianFilterType::Pointer filter = GaussianFilterType::New(); return EXIT_SUCCESS; @@ -88,5 +88,3 @@ int otbGaussianAdditiveNoiseSampleListFilter(int argc, char * argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Learning/otbGaussianModelComponent.cxx b/Testing/Code/Learning/otbGaussianModelComponent.cxx index 3491db0fe585dc29d0e912ca56d1c92c611134e0..1a721bd90cc7220fcb59c3f783d12fdde721bbd7 100644 --- a/Testing/Code/Learning/otbGaussianModelComponent.cxx +++ b/Testing/Code/Learning/otbGaussianModelComponent.cxx @@ -21,7 +21,7 @@ #include "otbGaussianModelComponent.h" #include "itkVariableLengthVector.h" -int otbGaussianModelComponentNew(int argc, char * argv[]) +int otbGaussianModelComponentNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::Statistics::ListSample<itk::VariableLengthVector<double> > SampleType; diff --git a/Testing/Code/Learning/otbImageClassificationFilter.cxx b/Testing/Code/Learning/otbImageClassificationFilter.cxx index 0558b9f694c2b4564a9b733224b2b0ebf62e5ad6..2e4ee1fcb2529a8a21de372bef2deaf1b3ebc772 100644 --- a/Testing/Code/Learning/otbImageClassificationFilter.cxx +++ b/Testing/Code/Learning/otbImageClassificationFilter.cxx @@ -36,7 +36,7 @@ typedef otb::MachineLearningModelFactory<ValueType, LabelType> MachineLearningMo typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::ImageFileWriter<LabeledImageType> WriterType; -int otbImageClassificationFilterNew(int argc, char * argv[]) +int otbImageClassificationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { ClassificationFilterType::Pointer filter = ClassificationFilterType::New(); return EXIT_SUCCESS; diff --git a/Testing/Code/Learning/otbKMeansImageClassificationFilter.cxx b/Testing/Code/Learning/otbKMeansImageClassificationFilter.cxx index 2b0ec4e02d1d9bc7e3161703a39cc2c7d0299d67..a6d259f72bb933b9a1a9164069fe2b0653a98db8 100644 --- a/Testing/Code/Learning/otbKMeansImageClassificationFilter.cxx +++ b/Testing/Code/Learning/otbKMeansImageClassificationFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbKMeansImageClassificationFilter(int argc, char * argv[]) +int otbKMeansImageClassificationFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/Learning/otbKMeansImageClassificationFilterNew.cxx b/Testing/Code/Learning/otbKMeansImageClassificationFilterNew.cxx index 0d3da70374c4a4dcf6bb0e3a9c825aead0904309..d958d32cecdd96b21c860b67f1ae74b7cb8193bd 100644 --- a/Testing/Code/Learning/otbKMeansImageClassificationFilterNew.cxx +++ b/Testing/Code/Learning/otbKMeansImageClassificationFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbKMeansImageClassificationFilterNew(int argc, char * argv[]) +int otbKMeansImageClassificationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Learning/otbListSampleGeneratorTest.cxx b/Testing/Code/Learning/otbListSampleGeneratorTest.cxx index 8c972d2eaae37ecfa0a8ba5a06a6a634b0ac7929..aa20d4ffb867803214931ac390ea14bcaa7e5806 100644 --- a/Testing/Code/Learning/otbListSampleGeneratorTest.cxx +++ b/Testing/Code/Learning/otbListSampleGeneratorTest.cxx @@ -24,7 +24,7 @@ #include "otbListSampleGenerator.h" -int otbListSampleGeneratorNew(int argc, char* argv[]) +int otbListSampleGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorImage<float, 2> ImageType; typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/Learning/otbListSampleToBalancedListSampleFilter.cxx b/Testing/Code/Learning/otbListSampleToBalancedListSampleFilter.cxx index 6913ac4022a1e5c373e8f27b8a351a0bb125a4d0..10157efa8f37cef1808ac11e73a1fef2d422dcad 100644 --- a/Testing/Code/Learning/otbListSampleToBalancedListSampleFilter.cxx +++ b/Testing/Code/Learning/otbListSampleToBalancedListSampleFilter.cxx @@ -35,7 +35,7 @@ typedef otb::Statistics::ListSampleToBalancedListSampleFilter <FloatSampleListType, IntegerSampleListType, DoubleSampleListType> BalancingFilterType; -int otbListSampleToBalancedListSampleFilterNew(int argc, char * argv[]) +int otbListSampleToBalancedListSampleFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { BalancingFilterType::Pointer filter = BalancingFilterType::New(); return EXIT_SUCCESS; diff --git a/Testing/Code/Learning/otbNeighborhoodMajorityVotingImageFilterNew.cxx b/Testing/Code/Learning/otbNeighborhoodMajorityVotingImageFilterNew.cxx index 19b181871626ba96542df15be84c4833a14ceca7..352a6661b60e9859364d26328fbfb10c7d233024 100644 --- a/Testing/Code/Learning/otbNeighborhoodMajorityVotingImageFilterNew.cxx +++ b/Testing/Code/Learning/otbNeighborhoodMajorityVotingImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "itkBinaryBallStructuringElement.h" #include "otbNeighborhoodMajorityVotingImageFilter.h" -int otbNeighborhoodMajorityVotingImageFilterNew(int argc, char* argv[]) +int otbNeighborhoodMajorityVotingImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputLabelPixelType; // 8 bits typedef unsigned short OutputLabelPixelType; // 16 bits diff --git a/Testing/Code/Learning/otbPeriodicSOM.cxx b/Testing/Code/Learning/otbPeriodicSOM.cxx index b22d02df892a00dbd3754a3814690bbba4f24ee5..deb2f90a0f54f6118072d0e12ddacb89b03a3a2d 100644 --- a/Testing/Code/Learning/otbPeriodicSOM.cxx +++ b/Testing/Code/Learning/otbPeriodicSOM.cxx @@ -26,7 +26,7 @@ #include "itkListSample.h" #include "itkImageRegionIterator.h" -int otbPeriodicSOMTest(int argc, char* argv[]) +int otbPeriodicSOMTest(int itkNotUsed(argc), char* argv[]) { const unsigned int Dimension = 2; char * inputFileName = argv[1]; diff --git a/Testing/Code/Learning/otbPeriodicSOMNew.cxx b/Testing/Code/Learning/otbPeriodicSOMNew.cxx index ba8b158162e423a0ef8e70ac635863d706be7037..f90b1d741835f1095ddfd5f6eda234ebcf87529a 100644 --- a/Testing/Code/Learning/otbPeriodicSOMNew.cxx +++ b/Testing/Code/Learning/otbPeriodicSOMNew.cxx @@ -22,7 +22,7 @@ #include "itkEuclideanDistanceMetric.h" #include "itkListSample.h" -int otbPeriodicSOMNew(int argc, char* argv[]) +int otbPeriodicSOMNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef float ComponentType; diff --git a/Testing/Code/Learning/otbROIdataConversion.cxx b/Testing/Code/Learning/otbROIdataConversion.cxx index edbdb61716e7cd74c629fd97c12c07bc59f0b6b1..b7bf481a3b42d29cecd65714611507a33149d082 100644 --- a/Testing/Code/Learning/otbROIdataConversion.cxx +++ b/Testing/Code/Learning/otbROIdataConversion.cxx @@ -23,7 +23,7 @@ #include "itkImageRegionIterator.h" #include <iostream> -int otbROIdataConversion(int argc, char* argv[]) +int otbROIdataConversion(int itkNotUsed(argc), char* argv[]) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Learning/otbROIdataConversionNew.cxx b/Testing/Code/Learning/otbROIdataConversionNew.cxx index 908e35110e5b2fd0b9e73e11a5ec8908ef9f4254..972380e3aeadc347cc3eaaf59de815f1bd8da710 100644 --- a/Testing/Code/Learning/otbROIdataConversionNew.cxx +++ b/Testing/Code/Learning/otbROIdataConversionNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "otbVectorImage.h" -int otbROIdataConversionNew(int argc, char* argv[]) +int otbROIdataConversionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Learning/otbSEMClassifierNew.cxx b/Testing/Code/Learning/otbSEMClassifierNew.cxx index 1ff102189d66160e1ac36ebb2dd1c9e5153431c1..1c7cfa3ca04dde15360b4039e60765541d10cc75 100644 --- a/Testing/Code/Learning/otbSEMClassifierNew.cxx +++ b/Testing/Code/Learning/otbSEMClassifierNew.cxx @@ -27,7 +27,7 @@ #include <iostream> -int otbSEMClassifierNew(int argc, char* argv[]) +int otbSEMClassifierNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; typedef otb::VectorImage<PixelType, 2> ImageType; diff --git a/Testing/Code/Learning/otbSOM.cxx b/Testing/Code/Learning/otbSOM.cxx index e4ec39f9f83374fcfa9529c460d1746bc4cb880a..9af697fc5fbb09047b3215f84d4c4af00427bdbb 100644 --- a/Testing/Code/Learning/otbSOM.cxx +++ b/Testing/Code/Learning/otbSOM.cxx @@ -26,7 +26,7 @@ #include "itkListSample.h" #include "itkImageRegionIterator.h" -int otbSOM(int argc, char* argv[]) +int otbSOM(int itkNotUsed(argc), char* argv[]) { const unsigned int Dimension = 2; char * inputFileName = argv[1]; diff --git a/Testing/Code/Learning/otbSOMActivationBuilder.cxx b/Testing/Code/Learning/otbSOMActivationBuilder.cxx index 006a530baa83b930b3f6302e923af1da2d17be85..7edb04527ecbf5d52aa3abd52356b4c5ae5501fc 100644 --- a/Testing/Code/Learning/otbSOMActivationBuilder.cxx +++ b/Testing/Code/Learning/otbSOMActivationBuilder.cxx @@ -27,7 +27,7 @@ #include "otbVectorImage.h" #include "itkImageRegionIterator.h" -int otbSOMActivationBuilder(int argc, char* argv[]) +int otbSOMActivationBuilder(int itkNotUsed(argc), char* argv[]) { const unsigned int Dimension = 2; char * vectorSetFileName = argv[1]; diff --git a/Testing/Code/Learning/otbSOMActivationBuilderNew.cxx b/Testing/Code/Learning/otbSOMActivationBuilderNew.cxx index 699b466f54a4a214fe98e52f841b3a6555d40abb..b7eda3f492d90319ce65c0411beb1d78c36b73d8 100644 --- a/Testing/Code/Learning/otbSOMActivationBuilderNew.cxx +++ b/Testing/Code/Learning/otbSOMActivationBuilderNew.cxx @@ -25,7 +25,7 @@ #include "otbImage.h" #include "otbVectorImage.h" -int otbSOMActivationBuilderNew(int argc, char* argv[]) +int otbSOMActivationBuilderNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef float ComponentType; diff --git a/Testing/Code/Learning/otbSOMClassifierNew.cxx b/Testing/Code/Learning/otbSOMClassifierNew.cxx index 8c5281106cafb6c494fa050be756baa91332b882..2e8fff02b32baf8040edbbb242efac307b758731 100644 --- a/Testing/Code/Learning/otbSOMClassifierNew.cxx +++ b/Testing/Code/Learning/otbSOMClassifierNew.cxx @@ -24,7 +24,7 @@ #include "itkListSample.h" #include "otbVectorImage.h" -int otbSOMClassifierNew(int argc, char* argv[]) +int otbSOMClassifierNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef int LabelPixelType; diff --git a/Testing/Code/Learning/otbSOMImageClassificationFilter.cxx b/Testing/Code/Learning/otbSOMImageClassificationFilter.cxx index e9de7a22925891c22bcc9bff64bf9f427be6c05d..f072d5ae72c3be9f11f2557cc8578cf3a526cdbe 100644 --- a/Testing/Code/Learning/otbSOMImageClassificationFilter.cxx +++ b/Testing/Code/Learning/otbSOMImageClassificationFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbSOMImageClassificationFilter(int argc, char * argv[]) +int otbSOMImageClassificationFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * somfname = argv[2]; diff --git a/Testing/Code/Learning/otbSOMImageClassificationFilterNew.cxx b/Testing/Code/Learning/otbSOMImageClassificationFilterNew.cxx index 27692f948b1f1fad012d8094fdbbd83a993bac24..5980985e5865feb73d6f12c91381abb7981ba168 100644 --- a/Testing/Code/Learning/otbSOMImageClassificationFilterNew.cxx +++ b/Testing/Code/Learning/otbSOMImageClassificationFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbSOMMap.h" -int otbSOMImageClassificationFilterNew(int argc, char * argv[]) +int otbSOMImageClassificationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Learning/otbSOMMap.cxx b/Testing/Code/Learning/otbSOMMap.cxx index 17092f4846f9464f92b7bbe5dc541efb8b334310..989c23f7240c896bae61336ddb1f2d2a881691ff 100644 --- a/Testing/Code/Learning/otbSOMMap.cxx +++ b/Testing/Code/Learning/otbSOMMap.cxx @@ -21,7 +21,7 @@ #include "itkEuclideanDistanceMetric.h" #include "itkVariableLengthVector.h" -int otbSOMMap(int argc, char* argv[]) +int otbSOMMap(int itkNotUsed(argc), char** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef float InternalPixelType; diff --git a/Testing/Code/Learning/otbSOMMapNew.cxx b/Testing/Code/Learning/otbSOMMapNew.cxx index d901c0e2a3806b97aa26b1e4693d13c646ef5760..bb6aa2512ca4021e222b347afbb6fd95dccfe7db 100644 --- a/Testing/Code/Learning/otbSOMMapNew.cxx +++ b/Testing/Code/Learning/otbSOMMapNew.cxx @@ -20,7 +20,7 @@ #include "itkRGBPixel.h" #include "itkEuclideanDistanceMetric.h" -int otbSOMMapNew(int argc, char* argv[]) +int otbSOMMapNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef float ComponentType; diff --git a/Testing/Code/Learning/otbSOMNew.cxx b/Testing/Code/Learning/otbSOMNew.cxx index 8e42b4e200f6e7d52e0e76f378bc0197d51de16f..4f4b5abe02644aec11279976a5c358ae3d75feaf 100644 --- a/Testing/Code/Learning/otbSOMNew.cxx +++ b/Testing/Code/Learning/otbSOMNew.cxx @@ -22,7 +22,7 @@ #include "itkEuclideanDistanceMetric.h" #include "itkListSample.h" -int otbSOMNew(int argc, char* argv[]) +int otbSOMNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef float ComponentType; diff --git a/Testing/Code/Learning/otbSOMWithMissingValue.cxx b/Testing/Code/Learning/otbSOMWithMissingValue.cxx index 53254ac97e326f686e1eaa79df49cded6834d4d2..646d6cbb19c3e896c613778c476f1b0b142685d9 100644 --- a/Testing/Code/Learning/otbSOMWithMissingValue.cxx +++ b/Testing/Code/Learning/otbSOMWithMissingValue.cxx @@ -30,7 +30,7 @@ -int otbSOMWithMissingValueTest(int argc, char* argv[]) +int otbSOMWithMissingValueTest(int itkNotUsed(argc), char* argv[]) { const unsigned int Dimension = 2; char * inputFileName = argv[1]; diff --git a/Testing/Code/Learning/otbSOMWithMissingValueNew.cxx b/Testing/Code/Learning/otbSOMWithMissingValueNew.cxx index 8ae4a25f107e5a614e1c3acc2d44d6fb92880eb9..db4789e73eef583d57671a986443e09694c9c47b 100644 --- a/Testing/Code/Learning/otbSOMWithMissingValueNew.cxx +++ b/Testing/Code/Learning/otbSOMWithMissingValueNew.cxx @@ -29,7 +29,7 @@ #include "otbFlexibleDistanceWithMissingValue.h" -int otbSOMWithMissingValueNew(int argc, char * argv[]) +int otbSOMWithMissingValueNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Learning/otbSOMbasedImageFilter.cxx b/Testing/Code/Learning/otbSOMbasedImageFilter.cxx index ead78bac3ee546c55d96fbd8030dd3362621ff39..5c5c6049573b79741dcbdf9e32a2b154db63e48a 100644 --- a/Testing/Code/Learning/otbSOMbasedImageFilter.cxx +++ b/Testing/Code/Learning/otbSOMbasedImageFilter.cxx @@ -24,7 +24,7 @@ #include "itkEuclideanDistanceMetric.h" -int otbSOMbasedImageFilterTest(int argc, char * argv[]) +int otbSOMbasedImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * somfname = argv[2]; diff --git a/Testing/Code/Learning/otbSOMbasedImageFilterNew.cxx b/Testing/Code/Learning/otbSOMbasedImageFilterNew.cxx index f7eeef162ad6ac6d6eef973cbcc350aa455fe0ad..31012e8a21222158fac1a736e8022cd8acd53990 100644 --- a/Testing/Code/Learning/otbSOMbasedImageFilterNew.cxx +++ b/Testing/Code/Learning/otbSOMbasedImageFilterNew.cxx @@ -25,7 +25,7 @@ #include "otbFlexibleDistanceWithMissingValue.h" #include "otbSOMbasedImageFilter.h" -int otbSOMbasedImageFilterNew(int argc, char * argv[]) +int otbSOMbasedImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Learning/otbSVMClassifierNew.cxx b/Testing/Code/Learning/otbSVMClassifierNew.cxx index 684dda616ba0d0ae2289bf5db7c4e1ec1aa794d9..a0de2dcea8c5b6f0e3e9385b5b831b238714da72 100644 --- a/Testing/Code/Learning/otbSVMClassifierNew.cxx +++ b/Testing/Code/Learning/otbSVMClassifierNew.cxx @@ -23,7 +23,7 @@ #include "itkSubsample.h" #include "otbSVMClassifier.h" -int otbSVMClassifierNew(int argc, char* argv[]) +int otbSVMClassifierNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef int LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMCrossValidationCostFunctionNew.cxx b/Testing/Code/Learning/otbSVMCrossValidationCostFunctionNew.cxx index c7f87d9f3abedacd7d3a43003d205a3003c9fb6b..82a126cc7c56d6eb912b1bc8a48ceb905a084966 100644 --- a/Testing/Code/Learning/otbSVMCrossValidationCostFunctionNew.cxx +++ b/Testing/Code/Learning/otbSVMCrossValidationCostFunctionNew.cxx @@ -25,7 +25,7 @@ #include "otbSVMModel.h" #include "otbSVMCrossValidationCostFunction.h" -int otbSVMCrossValidationCostFunctionNew(int argc, char* argv[]) +int otbSVMCrossValidationCostFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMImageClassificationFilter.cxx b/Testing/Code/Learning/otbSVMImageClassificationFilter.cxx index 96c03dae3f6574dc75e2526f388e1f2d9ab1e5dc..cd613e0de0ac98a3718c641da399dd3b3f66ce76 100644 --- a/Testing/Code/Learning/otbSVMImageClassificationFilter.cxx +++ b/Testing/Code/Learning/otbSVMImageClassificationFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbSVMImageClassificationFilter(int argc, char * argv[]) +int otbSVMImageClassificationFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * modelfname = argv[2]; diff --git a/Testing/Code/Learning/otbSVMImageClassificationFilterNew.cxx b/Testing/Code/Learning/otbSVMImageClassificationFilterNew.cxx index 4ff2d3025e9e8d7a4930f533e6dbacab52a4dc00..a7e50ef41f1e9bf9d9bc62c81193fd6050d85f24 100644 --- a/Testing/Code/Learning/otbSVMImageClassificationFilterNew.cxx +++ b/Testing/Code/Learning/otbSVMImageClassificationFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbSVMImageClassificationFilterNew(int argc, char * argv[]) +int otbSVMImageClassificationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilter.cxx b/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilter.cxx index f7f0126a0df823beb7e17f3191859dd3a662b486..3fe98dbe26f94e1b1c7c11102112b4529c0f966d 100644 --- a/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilter.cxx +++ b/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbSVMImageClassificationWithRuleFilter(int argc, char * argv[]) +int otbSVMImageClassificationWithRuleFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * modelfname = argv[2]; diff --git a/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilterNew.cxx b/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilterNew.cxx index 1c9fc67f078194037a1b5e2f780dd8234f95618e..863d123e80fcbc08a5cf448fd1a313320443759d 100644 --- a/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilterNew.cxx +++ b/Testing/Code/Learning/otbSVMImageClassificationWithRuleFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbSVMImageClassificationWithRuleFilterNew(int argc, char * argv[]) +int otbSVMImageClassificationWithRuleFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Learning/otbSVMImageModelEstimatorModelAccessor.cxx b/Testing/Code/Learning/otbSVMImageModelEstimatorModelAccessor.cxx index 534d84d9000f914a2b34bbfd3d4f27cd45d5de60..7bfa58be34b3ac8177bafebfdc4effe9c0c3812c 100644 --- a/Testing/Code/Learning/otbSVMImageModelEstimatorModelAccessor.cxx +++ b/Testing/Code/Learning/otbSVMImageModelEstimatorModelAccessor.cxx @@ -31,7 +31,7 @@ #include "otbImageFileReader.h" -int otbSVMImageModelEstimatorModelAccessor(int argc, char* argv[]) +int otbSVMImageModelEstimatorModelAccessor(int itkNotUsed(argc), char* argv[]) { const char* inputImageFileName = argv[1]; const char* trainingImageFileName = argv[2]; diff --git a/Testing/Code/Learning/otbSVMImageModelEstimatorNew.cxx b/Testing/Code/Learning/otbSVMImageModelEstimatorNew.cxx index 6d5cac53ae4bdc2c80f56bd1cba797b466f14fa4..992f7809ffa2f1765345ceed9c1cbd1d371b049e 100644 --- a/Testing/Code/Learning/otbSVMImageModelEstimatorNew.cxx +++ b/Testing/Code/Learning/otbSVMImageModelEstimatorNew.cxx @@ -25,7 +25,7 @@ #include "otbSVMImageModelEstimator.h" -int otbSVMImageModelEstimatorNew(int argc, char* argv[]) +int otbSVMImageModelEstimatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Learning/otbSVMImageModelEstimatorTrain.cxx b/Testing/Code/Learning/otbSVMImageModelEstimatorTrain.cxx index b19d82b091609f58fb69b2522ae9694fe6696296..0942ee5f500f64a9e48b820ae811b9ada5dbadd1 100644 --- a/Testing/Code/Learning/otbSVMImageModelEstimatorTrain.cxx +++ b/Testing/Code/Learning/otbSVMImageModelEstimatorTrain.cxx @@ -27,7 +27,7 @@ #include "otbImageFileReader.h" -int otbSVMImageModelEstimatorTrain(int argc, char* argv[]) +int otbSVMImageModelEstimatorTrain(int itkNotUsed(argc), char* argv[]) { // Force the pseudo-random number generator to always output // the same sequence of random numbers diff --git a/Testing/Code/Learning/otbSVMImageModelEstimatorTrainOneClass.cxx b/Testing/Code/Learning/otbSVMImageModelEstimatorTrainOneClass.cxx index d11b3d8d11c3489a905707f6978818ce95139f49..f262af8250ee3e29b3ba84eac7af1d647c327225 100644 --- a/Testing/Code/Learning/otbSVMImageModelEstimatorTrainOneClass.cxx +++ b/Testing/Code/Learning/otbSVMImageModelEstimatorTrainOneClass.cxx @@ -27,7 +27,7 @@ #include "otbImageFileReader.h" -int otbSVMImageModelEstimatorTrainOneClass(int argc, char* argv[]) +int otbSVMImageModelEstimatorTrainOneClass(int itkNotUsed(argc), char* argv[]) { const char* inputImageFileName = argv[1]; const char* trainingImageFileName = argv[2]; diff --git a/Testing/Code/Learning/otbSVMMarginSampler.cxx b/Testing/Code/Learning/otbSVMMarginSampler.cxx index 997438b589f7609dc1b3d46354eb20d64d64a7b3..5f461fa588079d43b6cbbda109a89bc0f7d39702 100644 --- a/Testing/Code/Learning/otbSVMMarginSampler.cxx +++ b/Testing/Code/Learning/otbSVMMarginSampler.cxx @@ -25,7 +25,7 @@ #include "otbSVMMarginSampler.h" #include "otbSVMModel.h" -int otbSVMMarginSamplerNew(int argc, char* argv[]) +int otbSVMMarginSamplerNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::VariableLengthVector<double> SampleType; typedef itk::Statistics::ListSample<SampleType> SampleListType; diff --git a/Testing/Code/Learning/otbSVMModelAccessor.cxx b/Testing/Code/Learning/otbSVMModelAccessor.cxx index d1392a801ced050beddf9cf75b0c9e91ec955708..4549a9c732ff60d59f2565b648da694d7f1e3d6e 100644 --- a/Testing/Code/Learning/otbSVMModelAccessor.cxx +++ b/Testing/Code/Learning/otbSVMModelAccessor.cxx @@ -25,7 +25,7 @@ #include "otbSVMModel.h" -int otbSVMModelAccessor(int argc, char* argv[]) +int otbSVMModelAccessor(int itkNotUsed(argc), char* argv[]) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMModelCopyTest.cxx b/Testing/Code/Learning/otbSVMModelCopyTest.cxx index 922a23d2e958c9ab227451fe0e6c18fd4987b5c2..f3a1be86d7688bff446a7e842932faa9ec3f93a8 100644 --- a/Testing/Code/Learning/otbSVMModelCopyTest.cxx +++ b/Testing/Code/Learning/otbSVMModelCopyTest.cxx @@ -16,15 +16,13 @@ =========================================================================*/ - - #include "itkMacro.h" #include "otbImage.h" #include <iostream> #include "otbSVMModel.h" -int otbSVMModelCopyTest(int argc, char* argv[]) +int otbSVMModelCopyTest(int itkNotUsed(argc), char* argv[]) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMModelGenericKernelLoadSave.cxx b/Testing/Code/Learning/otbSVMModelGenericKernelLoadSave.cxx index 4acf9de136caf37d8afd816eec72f19c6e7a5466..005b7d2f62096e0a5570815849e97dccd4284393 100644 --- a/Testing/Code/Learning/otbSVMModelGenericKernelLoadSave.cxx +++ b/Testing/Code/Learning/otbSVMModelGenericKernelLoadSave.cxx @@ -63,7 +63,7 @@ protected: } -int otbSVMModelGenericKernelLoadSave(int argc, char* argv[]) +int otbSVMModelGenericKernelLoadSave(int itkNotUsed(argc), char* argv[]) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMModelLoad.cxx b/Testing/Code/Learning/otbSVMModelLoad.cxx index f24aa3af9816da2efa218e45a3087b86db7a0a6c..cde5832740eb491f118320ed0991481c0f9edbd6 100644 --- a/Testing/Code/Learning/otbSVMModelLoad.cxx +++ b/Testing/Code/Learning/otbSVMModelLoad.cxx @@ -24,7 +24,7 @@ #include "otbSVMModel.h" -int otbSVMModelLoad(int argc, char* argv[]) +int otbSVMModelLoad(int itkNotUsed(argc), char* argv[]) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMModelLoadSave.cxx b/Testing/Code/Learning/otbSVMModelLoadSave.cxx index 37584c26412c876c6277ef15512ba80959bd6adc..a8ffb2c5cb63f075bcf2a33cee098d91f15a8c39 100644 --- a/Testing/Code/Learning/otbSVMModelLoadSave.cxx +++ b/Testing/Code/Learning/otbSVMModelLoadSave.cxx @@ -24,7 +24,7 @@ #include "otbSVMModel.h" -int otbSVMModelLoadSave(int argc, char* argv[]) +int otbSVMModelLoadSave(int itkNotUsed(argc), char* argv[]) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMModelNew.cxx b/Testing/Code/Learning/otbSVMModelNew.cxx index 28fd756dd0b4580cde6bffb11ea4b88e7eb32820..c2def586fb5caf664eb45b6c0f59650dbd6fb7b1 100644 --- a/Testing/Code/Learning/otbSVMModelNew.cxx +++ b/Testing/Code/Learning/otbSVMModelNew.cxx @@ -24,7 +24,7 @@ #include "otbSVMModel.h" -int otbSVMModelNew(int argc, char* argv[]) +int otbSVMModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef unsigned char LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMPointSetModelEstimatorNew.cxx b/Testing/Code/Learning/otbSVMPointSetModelEstimatorNew.cxx index a7c6715d88b78e715fed12dc772cf8f13a250f75..e318230db5b50c7f8617c8cd440a6fe5f7a43fc9 100644 --- a/Testing/Code/Learning/otbSVMPointSetModelEstimatorNew.cxx +++ b/Testing/Code/Learning/otbSVMPointSetModelEstimatorNew.cxx @@ -24,7 +24,7 @@ #include "otbSVMPointSetModelEstimator.h" -int otbSVMPointSetModelEstimatorNew(int argc, char* argv[]) +int otbSVMPointSetModelEstimatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef std::vector<double> InputPixelType; typedef double LabelPixelType; diff --git a/Testing/Code/Learning/otbSVMPointSetModelEstimatorTrain.cxx b/Testing/Code/Learning/otbSVMPointSetModelEstimatorTrain.cxx index 25c20a8fc82effd7edb25ac6839c2d31a7895ce8..a804541ca30ce7f2176b20917ff05680b5e0093d 100644 --- a/Testing/Code/Learning/otbSVMPointSetModelEstimatorTrain.cxx +++ b/Testing/Code/Learning/otbSVMPointSetModelEstimatorTrain.cxx @@ -24,7 +24,7 @@ #include "otbSVMPointSetModelEstimator.h" -int otbSVMPointSetModelEstimatorTrain(int argc, char* argv[]) +int otbSVMPointSetModelEstimatorTrain(int itkNotUsed(argc), char* argv[]) { const char* outputModelFileName = argv[1]; diff --git a/Testing/Code/Learning/otbSVMSampleListModelEstimatorTest.cxx b/Testing/Code/Learning/otbSVMSampleListModelEstimatorTest.cxx index d473c3f1aabbfe3f05c1f39fff3abcc8893dc4b5..f9207f78192f555ed9a2912518c55495cb4d14e7 100644 --- a/Testing/Code/Learning/otbSVMSampleListModelEstimatorTest.cxx +++ b/Testing/Code/Learning/otbSVMSampleListModelEstimatorTest.cxx @@ -33,7 +33,7 @@ #include "otbListSampleGenerator.h" -int otbSVMSampleListModelEstimatorNew(int itkNotUsed(argc), char* itkNotUsed(argv)[]) +int otbSVMSampleListModelEstimatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double LabelPixelType; diff --git a/Testing/Code/Learning/otbShiftScaleSampleListFilter.cxx b/Testing/Code/Learning/otbShiftScaleSampleListFilter.cxx index 99684a02989d8251259547dce3661f8fdc439f12..2ba19591584deba6e5649b566cb60189b6513f10 100644 --- a/Testing/Code/Learning/otbShiftScaleSampleListFilter.cxx +++ b/Testing/Code/Learning/otbShiftScaleSampleListFilter.cxx @@ -32,7 +32,7 @@ typedef itk::Statistics::ListSample<FloatSampleType> FloatSampleListType; typedef otb::Statistics::ShiftScaleSampleListFilter<FloatSampleListType, DoubleSampleListType> ShiftScaleFilterType; -int otbShiftScaleSampleListFilterNew(int argc, char * argv[]) +int otbShiftScaleSampleListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { ShiftScaleFilterType::Pointer instance = ShiftScaleFilterType::New(); @@ -110,5 +110,3 @@ int otbShiftScaleSampleListFilter(int argc, char * argv[]) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/Learning/otbTrainMachineLearningModel.cxx b/Testing/Code/Learning/otbTrainMachineLearningModel.cxx index a9f85f4ad7e81a92478e03d445e0a6b21597934c..c4bcb94981b140731ce6b696a5a83eef4198cdc1 100644 --- a/Testing/Code/Learning/otbTrainMachineLearningModel.cxx +++ b/Testing/Code/Learning/otbTrainMachineLearningModel.cxx @@ -112,7 +112,7 @@ bool ReadDataFile(const std::string & infname, InputListSampleType * samples, Ta return true; } -int otbLibSVMMachineLearningModelNew(int argc, char * argv[]) +int otbLibSVMMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::LibSVMMachineLearningModel<InputValueType, TargetValueType> SVMType; SVMType::Pointer svmclassifier = SVMType::New(); @@ -194,7 +194,7 @@ int otbLibSVMMachineLearningModel(int argc, char * argv[]) } } -int otbSVMMachineLearningModelNew(int argc, char * argv[]) +int otbSVMMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::SVMMachineLearningModel<InputValueType,TargetValueType> SVMType; SVMType::Pointer svmclassifier = SVMType::New(); @@ -276,7 +276,7 @@ int otbSVMMachineLearningModel(int argc, char * argv[]) } } -int otbKNearestNeighborsMachineLearningModelNew(int argc, char * argv[]) +int otbKNearestNeighborsMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::KNearestNeighborsMachineLearningModel<InputValueType,TargetValueType> KNearestNeighborsType; KNearestNeighborsType::Pointer knnclassifier = KNearestNeighborsType::New(); @@ -358,7 +358,7 @@ int otbKNearestNeighborsMachineLearningModel(int argc, char * argv[]) } } -int otbRandomForestsMachineLearningModelNew(int argc, char * argv[]) +int otbRandomForestsMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::RandomForestsMachineLearningModel<InputValueType,TargetValueType> RandomForestType; RandomForestType::Pointer rfclassifier = RandomForestType::New(); @@ -449,7 +449,7 @@ int otbRandomForestsMachineLearningModel(int argc, char * argv[]) } } -int otbBoostMachineLearningModelNew(int argc, char * argv[]) +int otbBoostMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::BoostMachineLearningModel<InputValueType,TargetValueType> BoostType; BoostType::Pointer classifier = BoostType::New(); @@ -540,7 +540,7 @@ int otbBoostMachineLearningModel(int argc, char * argv[]) } } -int otbANNMachineLearningModelNew(int argc, char * argv[]) +int otbANNMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::NeuralNetworkMachineLearningModel<InputValueType, TargetValueType> ANNType; ANNType::Pointer classifier = ANNType::New(); @@ -635,7 +635,7 @@ int otbANNMachineLearningModel(int argc, char * argv[]) } } -int otbNormalBayesMachineLearningModelNew(int argc, char * argv[]) +int otbNormalBayesMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::NormalBayesMachineLearningModel<InputValueType,TargetValueType> NormalBayesType; NormalBayesType::Pointer classifier = NormalBayesType::New(); @@ -717,7 +717,7 @@ int otbNormalBayesMachineLearningModel(int argc, char * argv[]) } } -int otbDecisionTreeMachineLearningModelNew(int argc, char * argv[]) +int otbDecisionTreeMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::DecisionTreeMachineLearningModel<InputValueType,TargetValueType> DecisionTreeType; DecisionTreeType::Pointer classifier = DecisionTreeType::New(); @@ -800,7 +800,7 @@ int otbDecisionTreeMachineLearningModel(int argc, char * argv[]) } -int otbGradientBoostedTreeMachineLearningModelNew(int argc, char * argv[]) +int otbGradientBoostedTreeMachineLearningModelNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::GradientBoostedTreeMachineLearningModel<InputValueType,TargetValueType> GBTreeType; GBTreeType::Pointer classifier = GBTreeType::New(); @@ -881,5 +881,3 @@ int otbGradientBoostedTreeMachineLearningModel(int argc, char * argv[]) return EXIT_FAILURE; } } - - diff --git a/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilter.cxx b/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilter.cxx index 439104c1aa3b5d0c6a18502cdb590c4e927430f1..eeee71d2d25fa5434e199e80e6058f08bd05dca3 100644 --- a/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilter.cxx +++ b/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilter.cxx @@ -20,7 +20,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbConvexOrConcaveClassificationFilter(int argc, char * argv[]) +int otbConvexOrConcaveClassificationFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * levelingfname = argv[2]; diff --git a/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilterNew.cxx b/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilterNew.cxx index 71fa39127855acc959cbf9a404d96cbea47a92ba..5e0e3cf609fec110bb37cfa1ef07d75b526dde25 100644 --- a/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilterNew.cxx +++ b/Testing/Code/MultiScale/otbConvexOrConcaveClassificationFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbConvexOrConcaveClassificationFilter.h" #include "otbImage.h" -int otbConvexOrConcaveClassificationFilterNew(int argc, char * argv[]) +int otbConvexOrConcaveClassificationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> InputImageType; typedef otb::Image<unsigned char, 2> OutputImageType; diff --git a/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilter.cxx b/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilter.cxx index ce4f405d4ecf4ecc31d9605ddf4cad83b40f8989..4830d71f12fd2fcb2eedcbe0edeb0f6ca9c43620 100644 --- a/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilter.cxx +++ b/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "itkBinaryBallStructuringElement.h" -int otbGeodesicMorphologyDecompositionImageFilter(int argc, char * argv[]) +int otbGeodesicMorphologyDecompositionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilterNew.cxx b/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilterNew.cxx index 611b76de40d283e20d1324077696799323b11b1d..b5a2b04d2494107e5807fc713e37669de911c1a1 100644 --- a/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilterNew.cxx +++ b/Testing/Code/MultiScale/otbGeodesicMorphologyDecompositionImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbImage.h" #include "itkBinaryBallStructuringElement.h" -int otbGeodesicMorphologyDecompositionImageFilterNew(int argc, char * argv[]) +int otbGeodesicMorphologyDecompositionImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef itk::BinaryBallStructuringElement<double, diff --git a/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilter.cxx b/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilter.cxx index 7e805802232d6a904a2d3e9656088f8fc4dc9cd3..35f00e1f10177c36dab6e16a312d67a10d20c0cf 100644 --- a/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilter.cxx +++ b/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbGeodesicMorphologyIterativeDecompositionImageFilter(int argc, char * argv[]) +int otbGeodesicMorphologyIterativeDecompositionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilenamePrefix = argv[2]; diff --git a/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx b/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx index 94a6171ee17ddb56e1abaab0b2bc6fe590cfd1ce..66e58e0098ab7be6bbf3a6cc8e9f6e22705e321b 100644 --- a/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx +++ b/Testing/Code/MultiScale/otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" -int otbGeodesicMorphologyIterativeDecompositionImageFilterNew(int argc, char * argv[]) +int otbGeodesicMorphologyIterativeDecompositionImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilter.cxx b/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilter.cxx index 7e0e28ce4e92200cf94b8236f698b16698b5950a..f56ece5ce43cf1bafcc179aed582b6e36385e033 100644 --- a/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilter.cxx +++ b/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilter.cxx @@ -20,7 +20,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbGeodesicMorphologyLevelingFilter(int argc, char * argv[]) +int otbGeodesicMorphologyLevelingFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * inconvfname = argv[2]; diff --git a/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilterNew.cxx b/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilterNew.cxx index d0acba1a66a8cff0d3bd32eee9dd9993594cc4e5..d264b28b2abd23927895698a5d2121f31c9ba05f 100644 --- a/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilterNew.cxx +++ b/Testing/Code/MultiScale/otbGeodesicMorphologyLevelingFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbGeodesicMorphologyLevelingFilter.h" #include "otbImage.h" -int otbGeodesicMorphologyLevelingFilterNew(int argc, char * argv[]) +int otbGeodesicMorphologyLevelingFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::GeodesicMorphologyLevelingFilter<ImageType, ImageType, ImageType> FilterType; diff --git a/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilter.cxx b/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilter.cxx index 945e1dd3aafe61ec2426b4711b7f8fb9801c55a2..f677de93f7685b6cf88a4777fe1d829643ec71f8 100644 --- a/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilter.cxx @@ -23,7 +23,7 @@ #include "itkMacro.h" -int otbMorphologicalClosingProfileFilter(int argc, char * argv[]) +int otbMorphologicalClosingProfileFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilenamePrefix = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilterNew.cxx index d8b624180ac87cc1715787f1164e12b24bbaaa91..80a3c4a561642bf0200b8571dc7abdb6ba65ec00 100644 --- a/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalClosingProfileFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" -int otbMorphologicalClosingProfileFilterNew(int argc, char * argv[]) +int otbMorphologicalClosingProfileFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilter.cxx b/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilter.cxx index 0f6bfa05ea7f614670ba458a37445dcb71e29f98..47a3d990e290af073d948d6f1a5ad07b73a141e7 100644 --- a/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilter.cxx @@ -23,7 +23,7 @@ #include "itkMacro.h" -int otbMorphologicalOpeningProfileFilter(int argc, char * argv[]) +int otbMorphologicalOpeningProfileFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilenamePrefix = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilterNew.cxx index b3fd55c7ca8f46f5a1213b07d8c2802c78d22c2e..ff58d795497a27e5d28e0ecb1b882ccd89465d4e 100644 --- a/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalOpeningProfileFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" -int otbMorphologicalOpeningProfileFilterNew(int argc, char * argv[]) +int otbMorphologicalOpeningProfileFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilter.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilter.cxx index 3f46fe123d75309dbce8ee99568bd5ef6a90735c..1f39cb236f97fd740737502df6b27660c60e9c6a 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilter.cxx @@ -24,9 +24,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -#include "itkMacro.h" - -int otbMorphologicalPyramidAnalysisFilter(int argc, char * argv[]) +int otbMorphologicalPyramidAnalysisFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilenamePrefix = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilterNew.cxx index 15d013c3e94181ba9172379b36248ed00cfe368a..5bfd086d68905bbc1ea3341b1c4eb3f6a26e3e2c 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidAnalysisFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkBinaryBallStructuringElement.h" #include "otbImage.h" -int otbMorphologicalPyramidAnalysisFilterNew(int argc, char * argv[]) +int otbMorphologicalPyramidAnalysisFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverter.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverter.cxx index d29555eb1360f85b525b05574861e2c387743a6e..8ce7ca92f0aaf9296c4a1da629dff7bb1f22ee18 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverter.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbMorphologicalPyramidMRToMSConverter(int argc, char * argv[]) +int otbMorphologicalPyramidMRToMSConverter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename1 = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverterNew.cxx index d3ddfa7527d6ab3fe8ff7aefdbe96e09cb93cd00..f3d9619b89136d226ec1709677a14982cad55732 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidMRToMSConverterNew.cxx @@ -20,7 +20,7 @@ #include "otbMorphologicalPyramidMRToMSConverter.h" #include "otbImage.h" -int otbMorphologicalPyramidMRToMSConverterNew(int argc, char * argv[]) +int otbMorphologicalPyramidMRToMSConverterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidResampler.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidResampler.cxx index c063d7a608391b3681d290f3e1ed0d5afe4ce56b..79e84bd4d88f0c3fec560b862de87efe3609f4d0 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidResampler.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidResampler.cxx @@ -21,7 +21,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbMorphologicalPyramidResampler(int argc, char * argv[]) +int otbMorphologicalPyramidResampler(int itkNotUsed(argc), char * argv[]) { const char* inputFilename = argv[1]; const char* outputFilename1 = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidResamplerNew.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidResamplerNew.cxx index 78212f464a4d6b252973da6d40c6fcde422048d6..7d7011b8e05b768b97664242ee261ffefe0f52ba 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidResamplerNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidResamplerNew.cxx @@ -19,7 +19,7 @@ #include "otbMorphologicalPyramidResampler.h" #include "otbImage.h" -int otbMorphologicalPyramidResamplerNew(int argc, char * argv[]) +int otbMorphologicalPyramidResamplerNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilter.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilter.cxx index 21752ff77b55aaf2622518f352c9f21360fcc7cd..3eaa699c400dddf9b6e035f258119f8537ff4099 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbMorphologicalPyramidSegmentationFilter(int argc, char * argv[]) +int otbMorphologicalPyramidSegmentationFilter(int itkNotUsed(argc), char * argv[]) { const char* inputFilename = argv[1]; const char* outputFilenamePrefix = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilterNew.cxx index af470af1ee9214ca9fdca9f483307485e6f116e5..4a878034e91e731bb345fa2affad85713c59c228 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmentationFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbMorphologicalPyramidSegmentationFilter.h" #include "otbImage.h" -int otbMorphologicalPyramidSegmentationFilterNew(int argc, char * argv[]) +int otbMorphologicalPyramidSegmentationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenter.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenter.cxx index bc816ed0158c1910b00d644e42ff3b925447a0a3..e0bb912a6c831df5bfba257ab0aa768161b9c48a 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbMorphologicalPyramidSegmenter(int argc, char * argv[]) +int otbMorphologicalPyramidSegmenter(int itkNotUsed(argc), char * argv[]) { const char* inputFilename = argv[1]; const char* originalFilename = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenterNew.cxx index eda3b5c6249675dc6b8e75473672d91171e45753..e4d705535419a4b530734d41f3e2a33be204c24c 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidSegmenterNew.cxx @@ -19,7 +19,7 @@ #include "otbMorphologicalPyramidSegmenter.h" #include "otbImage.h" -int otbMorphologicalPyramidSegmenterNew(int argc, char * argv[]) +int otbMorphologicalPyramidSegmenterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilter.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilter.cxx index ac92d22a044fbbbae3b389257d193cc75551d658..322dc88002c9085d155cc6a07882ec280a953696 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilter.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilter.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbMorphologicalPyramidSynthesisFilter(int argc, char * argv[]) +int otbMorphologicalPyramidSynthesisFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilterNew.cxx b/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilterNew.cxx index f28a48c1c8cb40dda2c21eace3689f2d3c12d22d..4e3c8c53e52d42ecc52317df0306c6f2c9bffcf5 100644 --- a/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilterNew.cxx +++ b/Testing/Code/MultiScale/otbMorphologicalPyramidSynthesisFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbMorphologicalPyramidSynthesisFilter.h" #include "otbImage.h" -int otbMorphologicalPyramidSynthesisFilterNew(int argc, char * argv[]) +int otbMorphologicalPyramidSynthesisFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilter.cxx b/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilter.cxx index c0e75ad17085fb7d20f134596bde6914d0a85d5a..e8a61e2f0c9bef281be1724a53337e9b5708941f 100644 --- a/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilter.cxx +++ b/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilter.cxx @@ -27,7 +27,7 @@ #include "itkMacro.h" -int otbMultiScaleConvexOrConcaveClassificationFilter(int argc, char * argv[]) +int otbMultiScaleConvexOrConcaveClassificationFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx b/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx index 7a7d657ea07d7e91573adc3dd11e1247585b32c0..9f0e2eee376bbcb1b5d9d3039a7df293f06da074 100644 --- a/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx +++ b/Testing/Code/MultiScale/otbMultiScaleConvexOrConcaveClassificationFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "itkMacro.h" -int otbMultiScaleConvexOrConcaveClassificationFilterNew(int argc, char * argv[]) +int otbMultiScaleConvexOrConcaveClassificationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilter.cxx b/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilter.cxx index 32c1ed3efbae7a3cd922158c5dbbcf01edff880c..c368c5baf9fc8368ba2f6e2412136bf377021394 100644 --- a/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilter.cxx +++ b/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilter.cxx @@ -25,7 +25,7 @@ #include "itkMacro.h" -int otbProfileDerivativeToMultiScaleCharacteristicsFilter(int argc, char * argv[]) +int otbProfileDerivativeToMultiScaleCharacteristicsFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename1 = argv[2]; diff --git a/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx b/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx index 854c17a64165abb0c1eef83e77ddf65a1afe9836..56eb0ff223b6790957fa6ec7767e0dac02ba53dc 100644 --- a/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx +++ b/Testing/Code/MultiScale/otbProfileDerivativeToMultiScaleCharacteristicsFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbImage.h" #include "itkMacro.h" -int otbProfileDerivativeToMultiScaleCharacteristicsFilterNew(int argc, char * argv[]) +int otbProfileDerivativeToMultiScaleCharacteristicsFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilter.cxx b/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilter.cxx index c7ae9207373e95a8099c372027d2c169a1f764cf..e4ce2af28698e383da78309c503a3b3215bbebf3 100644 --- a/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilter.cxx +++ b/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilter.cxx @@ -24,7 +24,7 @@ #include "itkMacro.h" -int otbProfileToProfileDerivativeFilter(int argc, char * argv[]) +int otbProfileToProfileDerivativeFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilenamePrefix = argv[2]; diff --git a/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilterNew.cxx b/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilterNew.cxx index 8fae72a39b3269aff70f52145d30f60478d92f36..87a21de64c83043b19b8d6c550b631adb3211107 100644 --- a/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilterNew.cxx +++ b/Testing/Code/MultiScale/otbProfileToProfileDerivativeFilterNew.cxx @@ -20,7 +20,7 @@ #include "itkMacro.h" -int otbProfileToProfileDerivativeFilterNew(int argc, char * argv[]) +int otbProfileToProfileDerivativeFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/MultiScale/otbSubsampleImageFilter.cxx b/Testing/Code/MultiScale/otbSubsampleImageFilter.cxx index 95e1d727de72c891e6fb2fd7381111509f0e18d6..a5f08b759b0697062a6d9265804d5fb4712ebc14 100644 --- a/Testing/Code/MultiScale/otbSubsampleImageFilter.cxx +++ b/Testing/Code/MultiScale/otbSubsampleImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbSubsampleImageFilter.h" -int otbSubsampleImageFilter(int argc, char * argv[]) +int otbSubsampleImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName1 = argv[2]; diff --git a/Testing/Code/MultiScale/otbSubsampleImageFilterNew.cxx b/Testing/Code/MultiScale/otbSubsampleImageFilterNew.cxx index c4fee001ae3dfc0dc86925897bb99928f6003af9..35d7c5cfcec8d029cb75da3ca337d6e967152cc2 100644 --- a/Testing/Code/MultiScale/otbSubsampleImageFilterNew.cxx +++ b/Testing/Code/MultiScale/otbSubsampleImageFilterNew.cxx @@ -25,7 +25,7 @@ #include "otbSubsampleImageFilter.h" -int otbSubsampleImageFilterNew(int argc, char * argv[]) +int otbSubsampleImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/MultiScale/otbWaveletFilterBank.cxx b/Testing/Code/MultiScale/otbWaveletFilterBank.cxx index dcdcbb17c8f4c38782ab7e80dd65734d003f4289..b90dfbd642ad090ea0303db82811e3efae51d7fd 100644 --- a/Testing/Code/MultiScale/otbWaveletFilterBank.cxx +++ b/Testing/Code/MultiScale/otbWaveletFilterBank.cxx @@ -26,7 +26,7 @@ #include "otbWaveletOperator.h" #include "otbWaveletFilterBank.h" -int otbWaveletFilterBank(int argc, char * argv[]) +int otbWaveletFilterBank(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const unsigned int decimFactor = atoi(argv[2]); // 1 for multiscale, 2 for multiresolution diff --git a/Testing/Code/MultiScale/otbWaveletFilterBankNew.cxx b/Testing/Code/MultiScale/otbWaveletFilterBankNew.cxx index 4553ba34ef0598ded268f6207b6d194d9c72c567..3343e2037a63a955f2d02107bf15307e5fb9a7e9 100644 --- a/Testing/Code/MultiScale/otbWaveletFilterBankNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletFilterBankNew.cxx @@ -20,7 +20,7 @@ #include "otbWaveletOperator.h" #include "otbWaveletFilterBank.h" -int otbWaveletFilterBankNew(int argc, char * argv[]) +int otbWaveletFilterBankNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/MultiScale/otbWaveletInverseFilterBankNew.cxx b/Testing/Code/MultiScale/otbWaveletInverseFilterBankNew.cxx index e6d41e094760cb9d64cd5b6128807593e0463fbe..b23a8a954a591c6fde42c06f2b8b18057ed871da 100644 --- a/Testing/Code/MultiScale/otbWaveletInverseFilterBankNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletInverseFilterBankNew.cxx @@ -20,7 +20,7 @@ #include "otbWaveletOperator.h" #include "otbWaveletFilterBank.h" -int otbWaveletInverseFilterBankNew(int argc, char * argv[]) +int otbWaveletInverseFilterBankNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/MultiScale/otbWaveletInverseTransformNew.cxx b/Testing/Code/MultiScale/otbWaveletInverseTransformNew.cxx index e92d03bbc151f7aeed8cd8c848ea9bf7100ae60c..f588e668306b12ac6b74fe005846b90294cd98e7 100644 --- a/Testing/Code/MultiScale/otbWaveletInverseTransformNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletInverseTransformNew.cxx @@ -23,7 +23,7 @@ #include "otbWaveletFilterBank.h" #include "otbWaveletTransform.h" -int otbWaveletInverseTransformNew(int argc, char * argv[]) +int otbWaveletInverseTransformNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/MultiScale/otbWaveletOperator.cxx b/Testing/Code/MultiScale/otbWaveletOperator.cxx index 79ac6caba99e760525de4e196e278f02ad316d38..2e548272ad51e6ba4aa853e14bd60612cf983bde 100644 --- a/Testing/Code/MultiScale/otbWaveletOperator.cxx +++ b/Testing/Code/MultiScale/otbWaveletOperator.cxx @@ -20,7 +20,7 @@ #include "otbWaveletOperator.h" -int otbWaveletOperator(int argc, char * argv[]) +int otbWaveletOperator(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const otb::Wavelet::WaveletDirection directionID = otb::Wavelet::FORWARD; const otb::Wavelet::Wavelet wvltID = otb::Wavelet::HAAR; diff --git a/Testing/Code/MultiScale/otbWaveletOperatorNew.cxx b/Testing/Code/MultiScale/otbWaveletOperatorNew.cxx index 44b102b2113b1cdf39248a0210633c781f85188c..e410915c528f57cbff5ab67a2fbf9706579c52ef 100644 --- a/Testing/Code/MultiScale/otbWaveletOperatorNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletOperatorNew.cxx @@ -20,7 +20,7 @@ #include "otbWaveletOperator.h" -int otbWaveletOperatorNew(int argc, char * argv[]) +int otbWaveletOperatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const otb::Wavelet::WaveletDirection directionID = otb::Wavelet::INVERSE; const otb::Wavelet::Wavelet wvltID = otb::Wavelet::SPLINE_BIORTHOGONAL_4_4; diff --git a/Testing/Code/MultiScale/otbWaveletPacketInverseTransformNew.cxx b/Testing/Code/MultiScale/otbWaveletPacketInverseTransformNew.cxx index f118a8846787d043977f468e665b613ac87c0182..d739977e2069a7a5d360fd95b3f9a5a3bae32be0 100644 --- a/Testing/Code/MultiScale/otbWaveletPacketInverseTransformNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletPacketInverseTransformNew.cxx @@ -24,7 +24,7 @@ #include "otbWaveletPacketTransform.h" #include "otbWaveletPacketDecompositionCosts.h" -int otbWaveletPacketInverseTransformNew(int argc, char * argv[]) +int otbWaveletPacketInverseTransformNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/MultiScale/otbWaveletPacketTransform.cxx b/Testing/Code/MultiScale/otbWaveletPacketTransform.cxx index ab7b8835e71358b86632b98ca4d395e862bc1346..87c69e6e727970b3e1e45940e455692b2c87e3fb 100644 --- a/Testing/Code/MultiScale/otbWaveletPacketTransform.cxx +++ b/Testing/Code/MultiScale/otbWaveletPacketTransform.cxx @@ -29,7 +29,7 @@ #include "otbWaveletPacketDecompositionCosts.h" template<otb::Wavelet::Wavelet TWavelet> -int otbWaveletPacketTransform_generic(int argc, char * argv[]) +int otbWaveletPacketTransform_generic(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/MultiScale/otbWaveletPacketTransformNew.cxx b/Testing/Code/MultiScale/otbWaveletPacketTransformNew.cxx index 40fcd884e0bd3fb8c139731a479c161c8d6ea594..6765f3c24a922b5ad018f7e65b0d42a13f364a9e 100644 --- a/Testing/Code/MultiScale/otbWaveletPacketTransformNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletPacketTransformNew.cxx @@ -22,7 +22,7 @@ #include "otbWaveletPacketTransform.h" #include "otbWaveletPacketDecompositionCosts.h" -int otbWaveletPacketTransformNew(int argc, char * argv[]) +int otbWaveletPacketTransformNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/MultiScale/otbWaveletTransformNew.cxx b/Testing/Code/MultiScale/otbWaveletTransformNew.cxx index 57dab99cb555e2559c8959a1bafaa6cde75f2f24..d0cfd5ec8ff7b7e7b98bf454c5c7eec943ac7d06 100644 --- a/Testing/Code/MultiScale/otbWaveletTransformNew.cxx +++ b/Testing/Code/MultiScale/otbWaveletTransformNew.cxx @@ -21,7 +21,7 @@ #include "otbWaveletFilterBank.h" #include "otbWaveletTransform.h" -int otbWaveletTransformNew(int argc, char * argv[]) +int otbWaveletTransformNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef double PixelType;