From 080c607edde6d163f28c1bde9de15d4fc7a4976c Mon Sep 17 00:00:00 2001 From: Rashad Kanavath <mohammed.rashad-km@cnes.fr> Date: Thu, 10 Jul 2014 17:06:18 +0200 Subject: [PATCH] WRG: silence Wunsed parameter with itkNotUsed macro Testing/Code/FeatureExtraction --- Code/FeatureExtraction/otbFlusserPathFunction.txx | 2 +- Code/FeatureExtraction/otbHuPathFunction.txx | 2 +- Code/FeatureExtraction/otbLineDetectorImageFilterBase.txx | 2 +- Code/FeatureExtraction/otbParallelLinePathListFilter.txx | 2 +- .../Code/FeatureExtraction/otbAddCarvingPathFilterNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx | 2 +- .../FeatureExtraction/otbAssociativeSymmetricalSum.cxx | 2 +- .../FeatureExtraction/otbAssociativeSymmetricalSumNew.cxx | 2 +- .../otbAssymmetricFusionOfLineDetector.cxx | 2 +- .../otbAssymmetricFusionOfLineDetectorNew.cxx | 2 +- .../FeatureExtraction/otbBreakAngularPathListFilter.cxx | 2 +- .../otbBreakAngularPathListFilterNew.cxx | 2 +- .../Code/FeatureExtraction/otbCloudDetectionFilter.cxx | 2 +- .../Code/FeatureExtraction/otbCloudDetectionFilterNew.cxx | 2 +- .../FeatureExtraction/otbCloudEstimatorDefaultFilter.cxx | 2 +- .../Code/FeatureExtraction/otbCloudEstimatorFilter.cxx | 2 +- .../Code/FeatureExtraction/otbCloudEstimatorFilterNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbCompacityPathCircle.cxx | 2 +- Testing/Code/FeatureExtraction/otbCompacityPathNew.cxx | 2 +- .../Code/FeatureExtraction/otbCompacityPathRectangle.cxx | 2 +- Testing/Code/FeatureExtraction/otbCompacityPathSquare.cxx | 2 +- Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx | 2 +- .../Code/FeatureExtraction/otbComplexMomentPathFloat.cxx | 2 +- .../Code/FeatureExtraction/otbComplexMomentPathNew.cxx | 2 +- .../FeatureExtraction/otbComplexMomentsImageFunction.cxx | 6 +++--- Testing/Code/FeatureExtraction/otbDrawPath.cxx | 2 +- Testing/Code/FeatureExtraction/otbDrawPathAlign.cxx | 2 +- Testing/Code/FeatureExtraction/otbExtractSegments.cxx | 2 +- Testing/Code/FeatureExtraction/otbExtractSegmentsNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbFillGapsFilter.cxx | 2 +- Testing/Code/FeatureExtraction/otbFillGapsFilterNew.cxx | 2 +- .../FeatureExtraction/otbFlusserMomentsImageFunction.cxx | 8 ++++---- Testing/Code/FeatureExtraction/otbFlusserPath.cxx | 2 +- Testing/Code/FeatureExtraction/otbFlusserPathNew.cxx | 2 +- .../FeatureExtraction/otbFourierMellinDescriptors.cxx | 8 ++++---- .../FeatureExtraction/otbFourierMellinImageFilter.cxx | 2 +- .../FeatureExtraction/otbFourierMellinImageFilterNew.cxx | 2 +- .../otbFourierMellinImageFilterTestFFT.cxx | 2 +- .../otbGreyLevelCooccurrenceIndexedListNew.cxx | 2 +- ...urrenceMatrixAdvancedTextureCoefficientsCalculator.cxx | 2 +- ...enceMatrixAdvancedTextureCoefficientsCalculatorNew.cxx | 2 +- .../otbHaralickTexturesImageFunction.cxx | 4 ++-- Testing/Code/FeatureExtraction/otbHarrisImage.cxx | 2 +- Testing/Code/FeatureExtraction/otbHarrisToPointSet.cxx | 2 +- ...bHistogramOfOrientedGradientCovariantImageFunction.cxx | 5 ++--- .../otbHoughTransform2DLinesImageTest.cxx | 2 +- .../Code/FeatureExtraction/otbHuMomentsImageFunction.cxx | 8 ++++---- Testing/Code/FeatureExtraction/otbHuPath.cxx | 2 +- Testing/Code/FeatureExtraction/otbHuPathNew.cxx | 2 +- .../otbImageFittingPolygonListFilter.cxx | 2 +- .../otbImageFittingPolygonListFilterNew.cxx | 2 +- .../Code/FeatureExtraction/otbImageFunctionAdaptor.cxx | 5 ++--- .../FeatureExtraction/otbImageToCarvingPathFilterNew.cxx | 2 +- .../Code/FeatureExtraction/otbImageToEdgePathFilter.cxx | 2 +- .../FeatureExtraction/otbImageToEdgePathFilterNew.cxx | 2 +- .../otbImageToFastSIFTKeyPointSetFilterNew.cxx | 2 +- ...geToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx | 2 +- ...oFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx | 2 +- .../otbImageToHessianDeterminantImageFilter.cxx | 2 +- .../otbImageToHessianDeterminantImageFilterNew.cxx | 2 +- .../otbImageToSIFTKeyPointSetFilterNew.cxx | 2 +- .../otbImageToSIFTKeyPointSetFilterOutputAscii.cxx | 2 +- ...bImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx | 2 +- .../otbImageToSIFTKeyPointSetFilterOutputImage.cxx | 2 +- ...ageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx | 2 +- .../otbImageToSURFKeyPointSetFilterNew.cxx | 2 +- .../FeatureExtraction/otbKeyPointSetsMatchingFilter.cxx | 2 +- .../otbKeyPointSetsMatchingFilterNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbLandmarkNew.cxx | 2 +- .../FeatureExtraction/otbLikelihoodPathListFilter.cxx | 2 +- .../FeatureExtraction/otbLikelihoodPathListFilterNew.cxx | 2 +- .../Code/FeatureExtraction/otbLineCorrelationDetector.cxx | 2 +- .../otbLineCorrelationDetectorLinear.cxx | 2 +- .../FeatureExtraction/otbLineCorrelationDetectorNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbLineDetectorBaseNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx | 2 +- .../Code/FeatureExtraction/otbLineRatioDetectorLinear.cxx | 2 +- .../Code/FeatureExtraction/otbLineRatioDetectorNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbLineSegmentDetector.cxx | 4 ++-- ...otbLineSpatialObjectListToRightAnglePointSetFilter.cxx | 2 +- ...ctListToRightAnglePointSetFilterByStepsOutputAscii.cxx | 2 +- ...LineSpatialObjectListToRightAnglePointSetFilterNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbLinkPathListFilter.cxx | 2 +- .../Code/FeatureExtraction/otbLinkPathListFilterNew.cxx | 2 +- .../otbLocalHistogramImageFunctionNew.cxx | 2 +- .../otbLocalHistogramImageFunctionTest.cxx | 2 +- Testing/Code/FeatureExtraction/otbLocalHough.cxx | 2 +- Testing/Code/FeatureExtraction/otbLocalHoughDraw.cxx | 2 +- Testing/Code/FeatureExtraction/otbLocalHoughNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbMetaImageFunction.cxx | 4 ++-- .../otbModulusAndDirectionImageFiltersNew.cxx | 2 +- .../FeatureExtraction/otbMultiplyByScalarImageTest.cxx | 2 +- .../otbNeighborhoodScalarProductFilter.cxx | 2 +- .../otbNeighborhoodScalarProductFilterNew.cxx | 2 +- .../otbNonMaxRemovalByDirectionFilter.cxx | 2 +- .../otbNonMaxRemovalByDirectionFilterNew.cxx | 2 +- Testing/Code/FeatureExtraction/otbOrientationPath.cxx | 2 +- Testing/Code/FeatureExtraction/otbOrientationPathNew.cxx | 2 +- .../FeatureExtraction/otbParallelLinePathListFilter.cxx | 2 +- .../otbParallelLinePathListFilterNew.cxx | 2 +- .../FeatureExtraction/otbPixelSuppressionByDirection.cxx | 2 +- .../otbPixelSuppressionByDirectionNew.cxx | 2 +- .../otbRadiometricMomentsImageFilter.cxx | 5 ++--- .../otbRadiometricMomentsImageFunction.cxx | 4 ++-- .../FeatureExtraction/otbRealMomentsImageFunction.cxx | 4 ++-- .../otbRegionImageToRectangularPathListFilter.cxx | 2 +- .../otbRegionImageToRectangularPathListFilterNew.cxx | 2 +- .../FeatureExtraction/otbRemoveCarvingPathFilterNew.cxx | 2 +- .../otbRemoveIsolatedByDirectionFilter.cxx | 2 +- .../otbRemoveIsolatedByDirectionFilterNew.cxx | 2 +- .../FeatureExtraction/otbRemoveTortuousPathListFilter.cxx | 2 +- .../otbRemoveTortuousPathListFilterNew.cxx | 2 +- .../FeatureExtraction/otbRemoveWrongDirectionFilter.cxx | 2 +- .../otbRemoveWrongDirectionFilterNew.cxx | 2 +- .../Code/FeatureExtraction/otbRoadExtractionFilter.cxx | 2 +- .../Code/FeatureExtraction/otbRoadExtractionFilterNew.cxx | 2 +- .../FeatureExtraction/otbSFSTexturesImageFilterNew.cxx | 2 +- .../otbScalarImageToAdvancedTexturesFilterNew.cxx | 2 +- .../otbScalarImageToHigherOrderTexturesFilter.cxx | 2 +- .../otbScalarImageToPanTexTextureFilterNew.cxx | 2 +- .../otbScalarImageToTexturesFilterNew.cxx | 2 +- .../FeatureExtraction/otbSimplifyManyPathListFilter.cxx | 2 +- .../Code/FeatureExtraction/otbSimplifyPathListFilter.cxx | 2 +- .../FeatureExtraction/otbSimplifyPathListFilterNew.cxx | 2 +- .../FeatureExtraction/otbSqrtSpectralAngleImageFilter.cxx | 2 +- .../FeatureExtraction/otbStreamingLineSegmentDetector.cxx | 4 ++-- Testing/Code/FeatureExtraction/otbTextureFunctor.cxx | 2 +- .../Code/FeatureExtraction/otbTextureImageFunction.cxx | 2 +- .../otbThresholdImageToPointSetFilterNew.cxx | 2 +- .../FeatureExtraction/otbThresholdImageToPointSetTest.cxx | 2 +- Testing/Code/FeatureExtraction/otbTouziEdgeDetector.cxx | 2 +- .../FeatureExtraction/otbTouziEdgeDetectorDirection.cxx | 2 +- .../Code/FeatureExtraction/otbTouziEdgeDetectorNew.cxx | 2 +- .../otbUrbanAreaDetectionImageFilter.cxx | 2 +- .../otbUrbanAreaDetectionImageFilterNew.cxx | 2 +- .../otbVectorDataToRightAngleVectorDataFilter.cxx | 5 ++--- .../FeatureExtraction/otbVectorizationPathListFilter.cxx | 2 +- .../otbVectorizationPathListFilterNew.cxx | 2 +- 138 files changed, 159 insertions(+), 163 deletions(-) diff --git a/Code/FeatureExtraction/otbFlusserPathFunction.txx b/Code/FeatureExtraction/otbFlusserPathFunction.txx index 2c55546afd..328aef48db 100644 --- a/Code/FeatureExtraction/otbFlusserPathFunction.txx +++ b/Code/FeatureExtraction/otbFlusserPathFunction.txx @@ -51,7 +51,7 @@ FlusserPathFunction<TInputPath, TOutput, TPrecision> template <class TInputPath, class TOutput, class TPrecision> typename FlusserPathFunction<TInputPath, TOutput, TPrecision>::RealType FlusserPathFunction<TInputPath, TOutput, TPrecision> -::Evaluate(const PathType& path) const +::Evaluate(const PathType& itkNotUsed(path)) const { typedef ComplexMomentPathFunction<PathType> FunctionType; typedef typename FunctionType::ComplexType ComplexType; diff --git a/Code/FeatureExtraction/otbHuPathFunction.txx b/Code/FeatureExtraction/otbHuPathFunction.txx index 914d43f3ca..1d9d5856d1 100644 --- a/Code/FeatureExtraction/otbHuPathFunction.txx +++ b/Code/FeatureExtraction/otbHuPathFunction.txx @@ -52,7 +52,7 @@ HuPathFunction<TInputPath, TOutput, TPrecision> template <class TInputPath, class TOutput, class TPrecision> typename HuPathFunction<TInputPath, TOutput, TPrecision>::RealType HuPathFunction<TInputPath, TOutput, TPrecision> -::Evaluate(const PathType& path) const +::Evaluate(const PathType& itkNotUsed(path)) const { typedef ComplexMomentPathFunction<PathType> FunctionType; typedef typename FunctionType::ComplexType ComplexType; diff --git a/Code/FeatureExtraction/otbLineDetectorImageFilterBase.txx b/Code/FeatureExtraction/otbLineDetectorImageFilterBase.txx index da334bd589..52bdf76999 100644 --- a/Code/FeatureExtraction/otbLineDetectorImageFilterBase.txx +++ b/Code/FeatureExtraction/otbLineDetectorImageFilterBase.txx @@ -394,7 +394,7 @@ LineDetectorImageFilterBase<TInputImage, TOutputImage, TOutputImageDirection, In template <class TInputImage, class TOutputImage, class TOutputImageDirection, class InterpolatorType> double LineDetectorImageFilterBase<TInputImage, TOutputImage, TOutputImageDirection, InterpolatorType> -::ComputeMeasure(std::vector<double>* m1, std::vector<double>* m2, std::vector<double>* m3) +::ComputeMeasure(std::vector<double>* itkNotUsed(m1), std::vector<double>* itkNotUsed(m2), std::vector<double>* itkNotUsed(m3)) { return 0; } diff --git a/Code/FeatureExtraction/otbParallelLinePathListFilter.txx b/Code/FeatureExtraction/otbParallelLinePathListFilter.txx index d11525d56d..a59883455f 100644 --- a/Code/FeatureExtraction/otbParallelLinePathListFilter.txx +++ b/Code/FeatureExtraction/otbParallelLinePathListFilter.txx @@ -212,7 +212,7 @@ ParallelLinePathListFilter<TPath> template <class TPath> bool ParallelLinePathListFilter<TPath> -::VerifyMaxDistanceCondition(VertexType v1, VertexType v2, VertexType v3, VertexType v4) +::VerifyMaxDistanceCondition(VertexType v1, VertexType v2, VertexType v3, VertexType itkNotUsed(v4)) { // Compute the direction vector of the first line VertexType vectorDir12; diff --git a/Testing/Code/FeatureExtraction/otbAddCarvingPathFilterNew.cxx b/Testing/Code/FeatureExtraction/otbAddCarvingPathFilterNew.cxx index 6e617504b7..f165d7794f 100644 --- a/Testing/Code/FeatureExtraction/otbAddCarvingPathFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbAddCarvingPathFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbAddCarvingPathFilter.h" #include "itkPolyLineParametricPath.h" -int otbAddCarvingPathFilterNew(int argc, char* argv[]) +int otbAddCarvingPathFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx b/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx index c573cef793..741aeb7e1c 100644 --- a/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx +++ b/Testing/Code/FeatureExtraction/otbAlignImageToPath.cxx @@ -38,7 +38,7 @@ #include <stdio.h> -int otbAlignImageToPath(int argc, char * argv[]) +int otbAlignImageToPath(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSum.cxx b/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSum.cxx index dee9154045..3703640760 100644 --- a/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSum.cxx +++ b/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSum.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbAssociativeSymmetricalSumImageFilter.h" -int otbAssociativeSymmetricalSum(int argc, char* argv[]) +int otbAssociativeSymmetricalSum(int itkNotUsed(argc), char* argv[]) { const char * inputFilename1 = argv[1]; const char * inputFilename2 = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSumNew.cxx b/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSumNew.cxx index 1afa781d30..42d9d681c2 100644 --- a/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSumNew.cxx +++ b/Testing/Code/FeatureExtraction/otbAssociativeSymmetricalSumNew.cxx @@ -24,7 +24,7 @@ #include "otbAssociativeSymmetricalSumImageFilter.h" -int otbAssociativeSymmetricalSumNew(int argc, char* argv[]) +int otbAssociativeSymmetricalSumNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetector.cxx b/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetector.cxx index c3be818a25..4e2539016e 100644 --- a/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetector.cxx +++ b/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetector.cxx @@ -27,7 +27,7 @@ #include "otbImageFileWriter.h" #include "otbAssymmetricFusionOfLineDetectorImageFilter.h" -int otbAssymmetricFusionOfLineDetector(int argc, char * argv[]) +int otbAssymmetricFusionOfLineDetector(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetectorNew.cxx b/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetectorNew.cxx index 5d2433adb9..a071f9ff93 100644 --- a/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetectorNew.cxx +++ b/Testing/Code/FeatureExtraction/otbAssymmetricFusionOfLineDetectorNew.cxx @@ -29,7 +29,7 @@ #include "otbAssymmetricFusionOfLineDetectorImageFilter.h" -int otbAssymmetricFusionOfLineDetectorNew(int argc, char * argv[]) +int otbAssymmetricFusionOfLineDetectorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilter.cxx index 5922070988..f523961ba4 100644 --- a/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilter.cxx @@ -24,7 +24,7 @@ #include "otbMath.h" #include <cstdlib> -int otbBreakAngularPathListFilter(int argc, char * argv[]) +int otbBreakAngularPathListFilter(int itkNotUsed(argc), char * argv[]) { const char * outfname = argv[1]; diff --git a/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilterNew.cxx index 7313b69345..e458840699 100644 --- a/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbBreakAngularPathListFilterNew.cxx @@ -20,7 +20,7 @@ #include "itkPolyLineParametricPath.h" #include <cstdlib> -int otbBreakAngularPathListFilterNew(int argc, char * argv[]) +int otbBreakAngularPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbCloudDetectionFilter.cxx b/Testing/Code/FeatureExtraction/otbCloudDetectionFilter.cxx index 007e140b78..82d9bf4fb0 100644 --- a/Testing/Code/FeatureExtraction/otbCloudDetectionFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbCloudDetectionFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbCloudDetectionFilter(int argc, char * argv[]) +int otbCloudDetectionFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbCloudDetectionFilterNew.cxx b/Testing/Code/FeatureExtraction/otbCloudDetectionFilterNew.cxx index af8b4493e5..cfa21d1a1f 100644 --- a/Testing/Code/FeatureExtraction/otbCloudDetectionFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbCloudDetectionFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbCloudDetectionFilter.h" -int otbCloudDetectionFilterNew(int argc, char * argv[]) +int otbCloudDetectionFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbCloudEstimatorDefaultFilter.cxx b/Testing/Code/FeatureExtraction/otbCloudEstimatorDefaultFilter.cxx index 878780fffc..573017e0e4 100644 --- a/Testing/Code/FeatureExtraction/otbCloudEstimatorDefaultFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbCloudEstimatorDefaultFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbCloudEstimatorDefaultFilter(int argc, char * argv[]) +int otbCloudEstimatorDefaultFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbCloudEstimatorFilter.cxx b/Testing/Code/FeatureExtraction/otbCloudEstimatorFilter.cxx index 89c29f70e1..d121be90ba 100644 --- a/Testing/Code/FeatureExtraction/otbCloudEstimatorFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbCloudEstimatorFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbCloudEstimatorFilter(int argc, char * argv[]) +int otbCloudEstimatorFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbCloudEstimatorFilterNew.cxx b/Testing/Code/FeatureExtraction/otbCloudEstimatorFilterNew.cxx index cf82cea994..fa4103fbc1 100644 --- a/Testing/Code/FeatureExtraction/otbCloudEstimatorFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbCloudEstimatorFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbCloudEstimatorFilter.h" -int otbCloudEstimatorFilterNew(int argc, char * argv[]) +int otbCloudEstimatorFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbCompacityPathCircle.cxx b/Testing/Code/FeatureExtraction/otbCompacityPathCircle.cxx index 542149e2dc..5aaddfe332 100644 --- a/Testing/Code/FeatureExtraction/otbCompacityPathCircle.cxx +++ b/Testing/Code/FeatureExtraction/otbCompacityPathCircle.cxx @@ -23,7 +23,7 @@ #include "itkMacro.h" #include "otbMath.h" -int otbCompacityPathCircle(int argc, char * argv[]) +int otbCompacityPathCircle(int itkNotUsed(argc), char * argv[]) { unsigned int NbOfPoints((unsigned int) ::atoi(argv[1])); diff --git a/Testing/Code/FeatureExtraction/otbCompacityPathNew.cxx b/Testing/Code/FeatureExtraction/otbCompacityPathNew.cxx index 6d2597d602..d472ce30a5 100644 --- a/Testing/Code/FeatureExtraction/otbCompacityPathNew.cxx +++ b/Testing/Code/FeatureExtraction/otbCompacityPathNew.cxx @@ -24,7 +24,7 @@ #include "itkPolyLineParametricPath.h" #include "itkMacro.h" -int otbCompacityPathNew(int argc, char * argv[]) +int otbCompacityPathNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbCompacityPathRectangle.cxx b/Testing/Code/FeatureExtraction/otbCompacityPathRectangle.cxx index 829eb33469..5c842508ec 100644 --- a/Testing/Code/FeatureExtraction/otbCompacityPathRectangle.cxx +++ b/Testing/Code/FeatureExtraction/otbCompacityPathRectangle.cxx @@ -23,7 +23,7 @@ #include "itkMacro.h" #include "otbMath.h" -int otbCompacityPathRectangle(int argc, char * argv[]) +int otbCompacityPathRectangle(int itkNotUsed(argc), char * argv[]) { double A ((double) ::atof(argv[1])); double B ((double) ::atof(argv[2])); diff --git a/Testing/Code/FeatureExtraction/otbCompacityPathSquare.cxx b/Testing/Code/FeatureExtraction/otbCompacityPathSquare.cxx index ea4ce63e5b..abc66a2f3b 100644 --- a/Testing/Code/FeatureExtraction/otbCompacityPathSquare.cxx +++ b/Testing/Code/FeatureExtraction/otbCompacityPathSquare.cxx @@ -23,7 +23,7 @@ #include "itkMacro.h" #include "otbMath.h" -int otbCompacityPathSquare(int argc, char * argv[]) +int otbCompacityPathSquare(int itkNotUsed(argc), char * argv[]) { double A ((double) ::atof(argv[1])); diff --git a/Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx b/Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx index c101959495..2a5c302300 100644 --- a/Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx +++ b/Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx @@ -26,7 +26,7 @@ #include "itkMacro.h" #include "itkPolyLineParametricPath.h" -int otbComplexMomentPath(int argc, char * argv[]) +int otbComplexMomentPath(int itkNotUsed(argc), char * argv[]) { unsigned int p((unsigned int) ::atoi(argv[1])); unsigned int q((unsigned int) ::atoi(argv[2])); diff --git a/Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx b/Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx index a306b641bc..55d89fab58 100644 --- a/Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx +++ b/Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx @@ -26,7 +26,7 @@ #include "itkMacro.h" #include "itkPolyLineParametricPath.h" -int otbComplexMomentPathFloat(int argc, char * argv[]) +int otbComplexMomentPathFloat(int itkNotUsed(argc), char * argv[]) { unsigned int p((unsigned int) ::atoi(argv[1])); unsigned int q((unsigned int) ::atoi(argv[2])); diff --git a/Testing/Code/FeatureExtraction/otbComplexMomentPathNew.cxx b/Testing/Code/FeatureExtraction/otbComplexMomentPathNew.cxx index d2739a3405..4f307c1397 100644 --- a/Testing/Code/FeatureExtraction/otbComplexMomentPathNew.cxx +++ b/Testing/Code/FeatureExtraction/otbComplexMomentPathNew.cxx @@ -22,7 +22,7 @@ #include "otbComplexMomentPathFunction.h" #include "itkPolyLineParametricPath.h" -int otbComplexMomentPathNew(int argc, char * argv[]) +int otbComplexMomentPathNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbComplexMomentsImageFunction.cxx b/Testing/Code/FeatureExtraction/otbComplexMomentsImageFunction.cxx index 7e4c9faf1d..cff38c3767 100644 --- a/Testing/Code/FeatureExtraction/otbComplexMomentsImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbComplexMomentsImageFunction.cxx @@ -30,7 +30,7 @@ #include "otbStreamingResampleImageFilter.h" -int otbComplexMomentsImageFunctionNew(int argc, char * argv[]) +int otbComplexMomentsImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; @@ -46,7 +46,7 @@ int otbComplexMomentsImageFunctionNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbComplexMomentsImageFunction(int argc, char * argv[]) +int otbComplexMomentsImageFunction(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; unsigned int p((unsigned int) ::atoi(argv[2])); @@ -97,7 +97,7 @@ int otbComplexMomentsImageFunction(int argc, char * argv[]) } -int otbComplexMomentsImageFunctionScaleInvariant(int argc, char * argv[]) +int otbComplexMomentsImageFunctionScaleInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; unsigned int p((unsigned int) ::atoi(argv[2])); diff --git a/Testing/Code/FeatureExtraction/otbDrawPath.cxx b/Testing/Code/FeatureExtraction/otbDrawPath.cxx index c55ea53fae..57ad6c7a54 100644 --- a/Testing/Code/FeatureExtraction/otbDrawPath.cxx +++ b/Testing/Code/FeatureExtraction/otbDrawPath.cxx @@ -26,7 +26,7 @@ #include "otbDrawPathFilter.h" #include "otbImageFileWriter.h" -int otbDrawPathDessinCarre(int argc, char * argv[]) +int otbDrawPathDessinCarre(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbDrawPathAlign.cxx b/Testing/Code/FeatureExtraction/otbDrawPathAlign.cxx index 50abcb61bb..2687514dbe 100644 --- a/Testing/Code/FeatureExtraction/otbDrawPathAlign.cxx +++ b/Testing/Code/FeatureExtraction/otbDrawPathAlign.cxx @@ -28,7 +28,7 @@ #include "otbDrawPathListFilter.h" #include "otbImageFileWriter.h" -int otbDrawPathAlign(int argc, char * argv[]) +int otbDrawPathAlign(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbExtractSegments.cxx b/Testing/Code/FeatureExtraction/otbExtractSegments.cxx index ed473f4a37..a9af7ce46c 100644 --- a/Testing/Code/FeatureExtraction/otbExtractSegments.cxx +++ b/Testing/Code/FeatureExtraction/otbExtractSegments.cxx @@ -28,7 +28,7 @@ #include "otbExtractSegmentsImageFilter.h" #include "itkRescaleIntensityImageFilter.h" -int otbExtractSegments(int argc, char * argv[]) +int otbExtractSegments(int itkNotUsed(argc), char * argv[]) { const char * inputFilename1 = argv[1]; const char * inputFilename2 = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbExtractSegmentsNew.cxx b/Testing/Code/FeatureExtraction/otbExtractSegmentsNew.cxx index 8d5cea9f09..92ba622fee 100644 --- a/Testing/Code/FeatureExtraction/otbExtractSegmentsNew.cxx +++ b/Testing/Code/FeatureExtraction/otbExtractSegmentsNew.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbExtractSegmentsImageFilter.h" -int otbExtractSegmentsNew(int argc, char * argv[]) +int otbExtractSegmentsNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbFillGapsFilter.cxx b/Testing/Code/FeatureExtraction/otbFillGapsFilter.cxx index a5abd1df2a..c4f412651b 100644 --- a/Testing/Code/FeatureExtraction/otbFillGapsFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbFillGapsFilter.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbDrawLineSpatialObjectListFilter.h" -int otbFillGapsFilter(int argc, char * argv[]) +int otbFillGapsFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbFillGapsFilterNew.cxx b/Testing/Code/FeatureExtraction/otbFillGapsFilterNew.cxx index 2cfba1ee32..9dfb8efc3f 100644 --- a/Testing/Code/FeatureExtraction/otbFillGapsFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbFillGapsFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" #include "otbFillGapsFilter.h" -int otbFillGapsFilterNew(int argc, char * argv[]) +int otbFillGapsFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::FillGapsFilter FillGapsFilterType; FillGapsFilterType::Pointer filter = FillGapsFilterType::New(); diff --git a/Testing/Code/FeatureExtraction/otbFlusserMomentsImageFunction.cxx b/Testing/Code/FeatureExtraction/otbFlusserMomentsImageFunction.cxx index ff2ec6fa6e..2e99ec0348 100644 --- a/Testing/Code/FeatureExtraction/otbFlusserMomentsImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbFlusserMomentsImageFunction.cxx @@ -33,7 +33,7 @@ #include "itkAffineTransform.h" -int otbFlusserMomentsImageFunctionNew(int argc, char * argv[]) +int otbFlusserMomentsImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; @@ -49,7 +49,7 @@ int otbFlusserMomentsImageFunctionNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbFlusserMomentsImageFunction(int argc, char * argv[]) +int otbFlusserMomentsImageFunction(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; @@ -91,7 +91,7 @@ int otbFlusserMomentsImageFunction(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbFlusserMomentsImageFunctionScaleInvariant(int argc, char * argv[]) +int otbFlusserMomentsImageFunctionScaleInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; @@ -168,7 +168,7 @@ int otbFlusserMomentsImageFunctionScaleInvariant(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbFlusserMomentsImageFunctionRotationInvariant(int argc, char * argv[]) +int otbFlusserMomentsImageFunctionRotationInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const double angleInDegrees = atoi(argv[2]); diff --git a/Testing/Code/FeatureExtraction/otbFlusserPath.cxx b/Testing/Code/FeatureExtraction/otbFlusserPath.cxx index bd2769e658..666ab5cede 100644 --- a/Testing/Code/FeatureExtraction/otbFlusserPath.cxx +++ b/Testing/Code/FeatureExtraction/otbFlusserPath.cxx @@ -25,7 +25,7 @@ #include "itkPolyLineParametricPath.h" #include "itkMacro.h" -int otbFlusserPath(int argc, char * argv[]) +int otbFlusserPath(int itkNotUsed(argc), char * argv[]) { unsigned int Number; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbFlusserPathNew.cxx b/Testing/Code/FeatureExtraction/otbFlusserPathNew.cxx index 9e79bbb8e4..7ecabc19fc 100644 --- a/Testing/Code/FeatureExtraction/otbFlusserPathNew.cxx +++ b/Testing/Code/FeatureExtraction/otbFlusserPathNew.cxx @@ -22,7 +22,7 @@ #include "itkPolyLineParametricPath.h" #include "itkMacro.h" -int otbFlusserPathNew(int argc, char * argv[]) +int otbFlusserPathNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbFourierMellinDescriptors.cxx b/Testing/Code/FeatureExtraction/otbFourierMellinDescriptors.cxx index 6f426b2f08..b11e04a062 100644 --- a/Testing/Code/FeatureExtraction/otbFourierMellinDescriptors.cxx +++ b/Testing/Code/FeatureExtraction/otbFourierMellinDescriptors.cxx @@ -29,7 +29,7 @@ #include "itkAffineTransform.h" -int otbFourierMellinDescriptorsNew(int argc, char * argv[]) +int otbFourierMellinDescriptorsNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; @@ -45,7 +45,7 @@ int otbFourierMellinDescriptorsNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbFourierMellinDescriptors(int argc, char * argv[]) +int otbFourierMellinDescriptors(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; unsigned int p((unsigned int) ::atoi(argv[2])); @@ -93,7 +93,7 @@ int otbFourierMellinDescriptors(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbFourierMellinDescriptorsScaleInvariant(int argc, char * argv[]) +int otbFourierMellinDescriptorsScaleInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; unsigned int p((unsigned int) ::atoi(argv[2])); @@ -180,7 +180,7 @@ int otbFourierMellinDescriptorsScaleInvariant(int argc, char * argv[]) } -int otbFourierMellinDescriptorsRotationInvariant(int argc, char * argv[]) +int otbFourierMellinDescriptorsRotationInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; unsigned int p((unsigned int) ::atoi(argv[2])); diff --git a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilter.cxx b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilter.cxx index e15f78fd48..20121ca363 100644 --- a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilter.cxx @@ -29,7 +29,7 @@ #include "itkImageRegionIterator.h" #include "itkRescaleIntensityImageFilter.h" -int otbFourierMellinImageFilter(int argc, char* argv[]) +int otbFourierMellinImageFilter(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputRealFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx index 4ed34c1c7f..b86810de6f 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 argc, char* argv[]) +int otbFourierMellinImageFilterNew(int itkNotUsed(argc), char* argv[]) { typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx index 1c34e6a186..961828d4fc 100644 --- a/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx +++ b/Testing/Code/FeatureExtraction/otbFourierMellinImageFilterTestFFT.cxx @@ -24,7 +24,7 @@ #include "itkVnlFFTRealToComplexConjugateImageFilter.h" #include <complex> -int otbFourierMellinImageFilterTestFFT(int argc, char* argv[]) +int otbFourierMellinImageFilterTestFFT(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceIndexedListNew.cxx b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceIndexedListNew.cxx index 69cbaf3896..8d7a65171c 100644 --- a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceIndexedListNew.cxx +++ b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceIndexedListNew.cxx @@ -19,7 +19,7 @@ PURPOSE. See the above copyright notices for more information. #include "itkMacro.h" #include "otbGreyLevelCooccurrenceIndexedList.h" -int otbGreyLevelCooccurrenceIndexedListNew(int argc, char * argv[]) +int otbGreyLevelCooccurrenceIndexedListNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float PixelType; typedef otb::GreyLevelCooccurrenceIndexedList< PixelType > CooccurrenceIndexedListType; diff --git a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx index 57eb09425d..6d26828967 100644 --- a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx +++ b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.cxx @@ -22,7 +22,7 @@ #include "otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.h" -int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator(int argc, char * argv[]) +int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator(int itkNotUsed(argc), char * argv[]) { try // the rest of the function is in the try block... diff --git a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew.cxx b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew.cxx index d66ab4dbb2..2ef3ad7743 100644 --- a/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew.cxx +++ b/Testing/Code/FeatureExtraction/otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew.cxx @@ -19,7 +19,7 @@ #include "otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculator.h" -int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew(int argc, char * argv[]) +int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float MeasurementType; typedef itk::Statistics::Histogram<MeasurementType> HistogramType; diff --git a/Testing/Code/FeatureExtraction/otbHaralickTexturesImageFunction.cxx b/Testing/Code/FeatureExtraction/otbHaralickTexturesImageFunction.cxx index 6826a15791..b8de75504d 100644 --- a/Testing/Code/FeatureExtraction/otbHaralickTexturesImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbHaralickTexturesImageFunction.cxx @@ -32,14 +32,14 @@ typedef otb::HaralickTexturesImageFunction< typedef HaralickTexturesImageFunctionType::PointType PointType; typedef HaralickTexturesImageFunctionType::OutputType OutputType; -int otbHaralickTexturesImageFunctionNew(int argc, char * argv[]) +int otbHaralickTexturesImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { HaralickTexturesImageFunctionType::Pointer function = HaralickTexturesImageFunctionType::New(); return EXIT_SUCCESS; } -int otbHaralickTexturesImageFunction(int argc, char * argv[]) +int otbHaralickTexturesImageFunction(int itkNotUsed(argc), char * argv[]) { // Read the input image ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/FeatureExtraction/otbHarrisImage.cxx b/Testing/Code/FeatureExtraction/otbHarrisImage.cxx index 6b1e07f556..9a50c50276 100644 --- a/Testing/Code/FeatureExtraction/otbHarrisImage.cxx +++ b/Testing/Code/FeatureExtraction/otbHarrisImage.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbHarrisImageFilter.h" -int otbHarrisImage(int argc, char * argv[]) +int otbHarrisImage(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbHarrisToPointSet.cxx b/Testing/Code/FeatureExtraction/otbHarrisToPointSet.cxx index 631ef86817..bce0296425 100644 --- a/Testing/Code/FeatureExtraction/otbHarrisToPointSet.cxx +++ b/Testing/Code/FeatureExtraction/otbHarrisToPointSet.cxx @@ -26,7 +26,7 @@ #include "otbHarrisImageToPointSetFilter.h" #include <fstream> -int otbHarrisToPointSet(int argc, char * argv[]) +int otbHarrisToPointSet(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbHistogramOfOrientedGradientCovariantImageFunction.cxx b/Testing/Code/FeatureExtraction/otbHistogramOfOrientedGradientCovariantImageFunction.cxx index d9dde57528..e446e07e52 100644 --- a/Testing/Code/FeatureExtraction/otbHistogramOfOrientedGradientCovariantImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbHistogramOfOrientedGradientCovariantImageFunction.cxx @@ -38,7 +38,7 @@ typedef GradientFilterType::OutputImageType typedef otb::HistogramOfOrientedGradientCovariantImageFunction<CovariantImageType> FunctionType; -int otbHistogramOfOrientedGradientCovariantImageFunctionNew(int argc, char * argv[]) +int otbHistogramOfOrientedGradientCovariantImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiating object FunctionType::Pointer function = FunctionType::New(); @@ -49,7 +49,7 @@ int otbHistogramOfOrientedGradientCovariantImageFunctionNew(int argc, char * arg } -int otbHistogramOfOrientedGradientCovariantImageFunction(int argc, char * argv[]) +int otbHistogramOfOrientedGradientCovariantImageFunction(int itkNotUsed(argc), char * argv[]) { ReaderType::Pointer reader = ReaderType::New(); reader->SetFileName(argv[1]); @@ -88,4 +88,3 @@ int otbHistogramOfOrientedGradientCovariantImageFunction(int argc, char * argv[] return EXIT_SUCCESS; } - diff --git a/Testing/Code/FeatureExtraction/otbHoughTransform2DLinesImageTest.cxx b/Testing/Code/FeatureExtraction/otbHoughTransform2DLinesImageTest.cxx index abd18bf5df..b95318d682 100644 --- a/Testing/Code/FeatureExtraction/otbHoughTransform2DLinesImageTest.cxx +++ b/Testing/Code/FeatureExtraction/otbHoughTransform2DLinesImageTest.cxx @@ -47,7 +47,7 @@ struct houghPoint }; /** Main program */ -int otbHoughTransform2DLinesImageTest(int argc, char* argv[]) +int otbHoughTransform2DLinesImageTest(int itkNotUsed(argc), char* argv[]) { const char * outputFilename = argv[1]; diff --git a/Testing/Code/FeatureExtraction/otbHuMomentsImageFunction.cxx b/Testing/Code/FeatureExtraction/otbHuMomentsImageFunction.cxx index eeb13ecffe..d7c952e7d7 100644 --- a/Testing/Code/FeatureExtraction/otbHuMomentsImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbHuMomentsImageFunction.cxx @@ -32,7 +32,7 @@ #include "itkAffineTransform.h" -int otbHuMomentsImageFunctionNew(int argc, char * argv[]) +int otbHuMomentsImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; @@ -48,7 +48,7 @@ int otbHuMomentsImageFunctionNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbHuMomentsImageFunction(int argc, char * argv[]) +int otbHuMomentsImageFunction(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; @@ -89,7 +89,7 @@ int otbHuMomentsImageFunction(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbHuMomentsImageFunctionScaleInvariant(int argc, char * argv[]) +int otbHuMomentsImageFunctionScaleInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; @@ -166,7 +166,7 @@ int otbHuMomentsImageFunctionScaleInvariant(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbHuMomentsImageFunctionRotationInvariant(int argc, char * argv[]) +int otbHuMomentsImageFunctionRotationInvariant(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const double angleInDegrees = atoi(argv[2]); diff --git a/Testing/Code/FeatureExtraction/otbHuPath.cxx b/Testing/Code/FeatureExtraction/otbHuPath.cxx index f2d25a2aa1..a89fe26f80 100644 --- a/Testing/Code/FeatureExtraction/otbHuPath.cxx +++ b/Testing/Code/FeatureExtraction/otbHuPath.cxx @@ -26,7 +26,7 @@ #include "itkPolyLineParametricPath.h" #include "itkMacro.h" -int otbHuPath(int argc, char * argv[]) +int otbHuPath(int itkNotUsed(argc), char * argv[]) { unsigned int Number; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbHuPathNew.cxx b/Testing/Code/FeatureExtraction/otbHuPathNew.cxx index bed423f00e..ad72786513 100644 --- a/Testing/Code/FeatureExtraction/otbHuPathNew.cxx +++ b/Testing/Code/FeatureExtraction/otbHuPathNew.cxx @@ -22,7 +22,7 @@ #include "otbHuPathFunction.h" #include "itkPolyLineParametricPath.h" -int otbHuPathNew(int argc, char * argv[]) +int otbHuPathNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilter.cxx b/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilter.cxx index 2db98e528b..10604fdd2b 100644 --- a/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilter.cxx @@ -29,7 +29,7 @@ #include <fstream> #include <cstdlib> -int otbImageFittingPolygonListFilter(int argc, char * argv[]) +int otbImageFittingPolygonListFilter(int itkNotUsed(argc), char * argv[]) { const char * imageFileName = argv[1]; const char * polyFileName = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilterNew.cxx index 7a1469a953..2597ddbbf3 100644 --- a/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageFittingPolygonListFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include <cstdlib> -int otbImageFittingPolygonListFilterNew(int argc, char * argv[]) +int otbImageFittingPolygonListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef otb::Polygon<double> PolygonType; diff --git a/Testing/Code/FeatureExtraction/otbImageFunctionAdaptor.cxx b/Testing/Code/FeatureExtraction/otbImageFunctionAdaptor.cxx index 19f4d53780..b8f92bd5f0 100644 --- a/Testing/Code/FeatureExtraction/otbImageFunctionAdaptor.cxx +++ b/Testing/Code/FeatureExtraction/otbImageFunctionAdaptor.cxx @@ -33,7 +33,7 @@ #include "otbLocalHistogramImageFunction.h" -int otbImageFunctionAdaptorNew(int argc, char * argv[]) +int otbImageFunctionAdaptorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double PrecisionType; @@ -76,7 +76,7 @@ int otbImageFunctionAdaptorNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbImageFunctionAdaptor(int argc, char * argv[]) +int otbImageFunctionAdaptor(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; @@ -407,4 +407,3 @@ int otbImageFunctionAdaptor(int argc, char * argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/FeatureExtraction/otbImageToCarvingPathFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageToCarvingPathFilterNew.cxx index 1875962bd4..3d2099f5f6 100644 --- a/Testing/Code/FeatureExtraction/otbImageToCarvingPathFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToCarvingPathFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImageToCarvingPathFilter.h" #include "itkPolyLineParametricPath.h" -int otbImageToCarvingPathFilterNew(int argc, char* argv[]) +int otbImageToCarvingPathFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbImageToEdgePathFilter.cxx b/Testing/Code/FeatureExtraction/otbImageToEdgePathFilter.cxx index 7e9980a273..05943f4d75 100644 --- a/Testing/Code/FeatureExtraction/otbImageToEdgePathFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToEdgePathFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageToEdgePathFilter(int argc, char * argv[]) +int otbImageToEdgePathFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToEdgePathFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageToEdgePathFilterNew.cxx index 9e5cb948df..8bb03296c1 100644 --- a/Testing/Code/FeatureExtraction/otbImageToEdgePathFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToEdgePathFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageToEdgePathFilter.h" #include "otbImage.h" -int otbImageToEdgePathFilterNew(int argc, char * argv[]) +int otbImageToEdgePathFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterNew.cxx index 335bdda346..e6d33def49 100644 --- a/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterNew.cxx @@ -20,7 +20,7 @@ #include "itkPointSet.h" #include "itkVariableLengthVector.h" -int otbImageToFastSIFTKeyPointSetFilterNew(int argc, char * argv[]) +int otbImageToFastSIFTKeyPointSetFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float RealType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx index 4a7d326e88..d56a4b67ef 100644 --- a/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx @@ -34,7 +34,7 @@ bool CMPData(std::vector<float> a, std::vector<float> b) return lexicographical_compare(a.begin(), a.begin() + 2, b.begin(), b.begin() + 2); } -int otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii(int argc, char * argv[]) +int otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx index e05022dcfb..0576cb530f 100644 --- a/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx @@ -34,7 +34,7 @@ bool CMP(std::vector<float> a, std::vector<float> b) return lexicographical_compare(a.begin(), a.begin() + 2, b.begin(), b.begin() + 2); } -int otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii(int argc, char * argv[]) +int otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilter.cxx b/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilter.cxx index e5638b9bc8..ec7ee6d257 100644 --- a/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageToHessianDeterminantImageFilter(int argc, char * argv[]) +int otbImageToHessianDeterminantImageFilter(int itkNotUsed(argc), char * argv[]) { const char * ifname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilterNew.cxx index 535ffe8fe9..857fc88083 100644 --- a/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToHessianDeterminantImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageToHessianDeterminantImageFilter.h" #include "otbImage.h" -int otbImageToHessianDeterminantImageFilterNew(int argc, char * argv[]) +int otbImageToHessianDeterminantImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterNew.cxx index 55c9eb7e55..d48b6166fe 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterNew.cxx @@ -20,7 +20,7 @@ #include "itkPointSet.h" #include "itkVariableLengthVector.h" -int otbImageToSIFTKeyPointSetFilterNew(int argc, char * argv[]) +int otbImageToSIFTKeyPointSetFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float RealType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx index fbe6ea33b7..5747f57e4f 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx @@ -28,7 +28,7 @@ #include "itkRGBPixel.h" #include "itkImageRegionIterator.h" -int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[]) +int otbImageToSIFTKeyPointSetFilterOutputAscii(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx index b3cdef8805..5f01242a30 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx @@ -28,7 +28,7 @@ #include "itkRGBPixel.h" #include "itkImageRegionIterator.h" -int otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii(int argc, char * argv[]) +int otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx index b8fb991e62..d1ed1bbdf4 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx @@ -27,7 +27,7 @@ #include <iostream> #include <fstream> -int otbImageToSIFTKeyPointSetFilterOutputImage(int argc, char * argv[]) +int otbImageToSIFTKeyPointSetFilterOutputImage(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outputImageFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx index d10594c5a3..ae2054e482 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx @@ -28,7 +28,7 @@ #include "itkRGBPixel.h" #include "itkImageRegionIterator.h" -int otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii(int argc, char * argv[]) +int otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilterNew.cxx b/Testing/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilterNew.cxx index 39181a0399..89d5043f9d 100644 --- a/Testing/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilterNew.cxx @@ -22,7 +22,7 @@ #include "itkPointSet.h" #include "itkVariableLengthVector.h" -int otbImageToSURFKeyPointSetFilterNew(int argc, char * argv[]) +int otbImageToSURFKeyPointSetFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilter.cxx b/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilter.cxx index 7b45f4aa17..59468ed99f 100644 --- a/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilter.cxx @@ -25,7 +25,7 @@ #include <iostream> #include <fstream> -int otbKeyPointSetsMatchingFilter(int argc, char* argv[]) +int otbKeyPointSetsMatchingFilter(int itkNotUsed(argc), char* argv[]) { const char * outfname = argv[1]; diff --git a/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilterNew.cxx b/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilterNew.cxx index 2ead8fdde0..152cffd47a 100644 --- a/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbKeyPointSetsMatchingFilterNew.cxx @@ -19,7 +19,7 @@ #include "itkVariableLengthVector.h" #include "otbKeyPointSetsMatchingFilter.h" -int otbKeyPointSetsMatchingFilterNew(int argc, char * argv[]) +int otbKeyPointSetsMatchingFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float RealType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbLandmarkNew.cxx b/Testing/Code/FeatureExtraction/otbLandmarkNew.cxx index 96246af255..bdd8c34446 100644 --- a/Testing/Code/FeatureExtraction/otbLandmarkNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLandmarkNew.cxx @@ -22,7 +22,7 @@ #include "itkVariableLengthVector.h" #include "itkPoint.h" -int otbLandmarkNew(int argc, char* argv[]) +int otbLandmarkNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::Point<double, 2> PointType; typedef itk::VariableLengthVector<double> PointDataType; diff --git a/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilter.cxx index 6396f3007a..6a7334b1fb 100644 --- a/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include <fstream> -int otbLikelihoodPathListFilter(int argc, char * argv[]) +int otbLikelihoodPathListFilter(int itkNotUsed(argc), char * argv[]) { std::cout << std::endl; diff --git a/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilterNew.cxx index 66c41a4914..5c6687447f 100644 --- a/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLikelihoodPathListFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbPolyLineParametricPathWithValue.h" #include "otbImage.h" -int otbLikelihoodPathListFilterNew(int argc, char * argv[]) +int otbLikelihoodPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx b/Testing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx index b92e484616..84aba3ea33 100644 --- a/Testing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx +++ b/Testing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbLineCorrelationDetectorImageFilter.h" -int otbLineCorrelationDetector(int argc, char* argv[]) +int otbLineCorrelationDetector(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorLinear.cxx b/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorLinear.cxx index 404c2348ad..23861ab842 100644 --- a/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorLinear.cxx +++ b/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorLinear.cxx @@ -28,7 +28,7 @@ #include "itkLinearInterpolateImageFunction.h" -int otbLineCorrelationDetectorLinear(int argc, char* argv[]) +int otbLineCorrelationDetectorLinear(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename1 = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorNew.cxx b/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorNew.cxx index bbdaa2e2ed..26ba209072 100644 --- a/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLineCorrelationDetectorNew.cxx @@ -23,7 +23,7 @@ #include "otbLineCorrelationDetectorImageFilter.h" -int otbLineCorrelationDetectorNew(int argc, char* argv[]) +int otbLineCorrelationDetectorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbLineDetectorBaseNew.cxx b/Testing/Code/FeatureExtraction/otbLineDetectorBaseNew.cxx index 4a5768dbd7..48479a7f31 100644 --- a/Testing/Code/FeatureExtraction/otbLineDetectorBaseNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLineDetectorBaseNew.cxx @@ -23,7 +23,7 @@ #include "otbLineDetectorImageFilterBase.h" -int otbLineDetectorBaseNew(int argc, char* argv[]) +int otbLineDetectorBaseNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx b/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx index 8b4082a2a7..51a9e51f9d 100644 --- a/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx +++ b/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbLineRatioDetectorImageFilter.h" -int otbLineRatioDetector(int argc, char* argv[]) +int otbLineRatioDetector(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineRatioDetectorLinear.cxx b/Testing/Code/FeatureExtraction/otbLineRatioDetectorLinear.cxx index fbf5ebd821..a1f0ebf84b 100644 --- a/Testing/Code/FeatureExtraction/otbLineRatioDetectorLinear.cxx +++ b/Testing/Code/FeatureExtraction/otbLineRatioDetectorLinear.cxx @@ -28,7 +28,7 @@ #include "itkLinearInterpolateImageFunction.h" -int otbLineRatioDetectorLinear(int argc, char* argv[]) +int otbLineRatioDetectorLinear(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename1 = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx b/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx index 4b08092a77..c76f6fdbf9 100644 --- a/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx @@ -24,7 +24,7 @@ #include "otbImage.h" #include "otbLineRatioDetectorImageFilter.h" -int otbLineRatioDetectorNew(int argc, char* argv[]) +int otbLineRatioDetectorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbLineSegmentDetector.cxx b/Testing/Code/FeatureExtraction/otbLineSegmentDetector.cxx index bffcd468e5..3aed786052 100644 --- a/Testing/Code/FeatureExtraction/otbLineSegmentDetector.cxx +++ b/Testing/Code/FeatureExtraction/otbLineSegmentDetector.cxx @@ -23,7 +23,7 @@ #include "otbVectorDataFileWriter.h" #include "otbImageFileWriter.h" -int otbLineSegmentDetectorNew(int argc, char * argv[]) +int otbLineSegmentDetectorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float InputPixelType; @@ -98,7 +98,7 @@ int otbLineSegmentDetector(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbLineSegmentDetector_8b_16b_compare(int argc, char * argv[]) +int otbLineSegmentDetector_8b_16b_compare(int itkNotUsed(argc), char * argv[]) { const char * infname8 = argv[1]; const char * infname16 = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilter.cxx b/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilter.cxx index 8900379811..0104f9b65d 100644 --- a/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilter.cxx @@ -26,7 +26,7 @@ #include <iostream> #include <fstream> -int otbLineSpatialObjectListToRightAnglePointSetFilter(int argc, char * argv[]) +int otbLineSpatialObjectListToRightAnglePointSetFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii.cxx b/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii.cxx index 54903f226f..0ed4bc189f 100644 --- a/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii.cxx +++ b/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii.cxx @@ -27,7 +27,7 @@ #include <iostream> #include <fstream> -int otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii(int argc, char * argv[]) +int otbLineSpatialObjectListToRightAnglePointSetFilterByStepsOutputAscii(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx b/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx index 37f0ab7cba..de70b16ae0 100644 --- a/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLineSpatialObjectListToRightAnglePointSetFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbLineSpatialObjectList.h" #include "itkPointSet.h" -int otbLineSpatialObjectListToRightAnglePointSetFilterNew(int argc, char * argv[]) +int otbLineSpatialObjectListToRightAnglePointSetFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef float PixelType; diff --git a/Testing/Code/FeatureExtraction/otbLinkPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbLinkPathListFilter.cxx index c43ca29de9..d9d5719803 100644 --- a/Testing/Code/FeatureExtraction/otbLinkPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbLinkPathListFilter.cxx @@ -23,7 +23,7 @@ #include <fstream> #include <cstdlib> -int otbLinkPathListFilter(int argc, char * argv[]) +int otbLinkPathListFilter(int itkNotUsed(argc), char * argv[]) { std::cout << std::endl; diff --git a/Testing/Code/FeatureExtraction/otbLinkPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbLinkPathListFilterNew.cxx index 6b0c088d1d..a093b67674 100644 --- a/Testing/Code/FeatureExtraction/otbLinkPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLinkPathListFilterNew.cxx @@ -20,7 +20,7 @@ #include "itkPolyLineParametricPath.h" #include <cstdlib> -int otbLinkPathListFilterNew(int argc, char * argv[]) +int otbLinkPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionNew.cxx b/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionNew.cxx index 962db951df..672976bb91 100644 --- a/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionNew.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "otbLocalHistogramImageFunction.h" -int otbLocalHistogramImageFunctionNew(int argc, char * argv[]) +int otbLocalHistogramImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionTest.cxx b/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionTest.cxx index 747e96bf3e..6aa5727e01 100644 --- a/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionTest.cxx +++ b/Testing/Code/FeatureExtraction/otbLocalHistogramImageFunctionTest.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbLocalHistogramImageFunction.h" -int otbLocalHistogramImageFunctionTest(int argc, char * argv[]) +int otbLocalHistogramImageFunctionTest(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLocalHough.cxx b/Testing/Code/FeatureExtraction/otbLocalHough.cxx index 6492cc8903..0853af0feb 100644 --- a/Testing/Code/FeatureExtraction/otbLocalHough.cxx +++ b/Testing/Code/FeatureExtraction/otbLocalHough.cxx @@ -31,7 +31,7 @@ #include <iostream> #include <fstream> -int otbLocalHough(int argc, char* argv[]) +int otbLocalHough(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLocalHoughDraw.cxx b/Testing/Code/FeatureExtraction/otbLocalHoughDraw.cxx index a981b30e9f..d3b1387dba 100644 --- a/Testing/Code/FeatureExtraction/otbLocalHoughDraw.cxx +++ b/Testing/Code/FeatureExtraction/otbLocalHoughDraw.cxx @@ -36,7 +36,7 @@ #include "itkRescaleIntensityImageFilter.h" -int otbLocalHoughDraw(int argc, char* argv[]) +int otbLocalHoughDraw(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbLocalHoughNew.cxx b/Testing/Code/FeatureExtraction/otbLocalHoughNew.cxx index ef223286e0..92859aa304 100644 --- a/Testing/Code/FeatureExtraction/otbLocalHoughNew.cxx +++ b/Testing/Code/FeatureExtraction/otbLocalHoughNew.cxx @@ -25,7 +25,7 @@ #include "otbLocalHoughFilter.h" -int otbLocalHoughNew(int argc, char* argv[]) +int otbLocalHoughNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbMetaImageFunction.cxx b/Testing/Code/FeatureExtraction/otbMetaImageFunction.cxx index 6c30ead665..3ee5baa637 100644 --- a/Testing/Code/FeatureExtraction/otbMetaImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbMetaImageFunction.cxx @@ -36,14 +36,14 @@ typedef otb::MetaImageFunction<PrecisionType, double> MetaImageF typedef MetaImageFunctionType::PointType PointType; typedef MetaImageFunctionType::OutputType OutputType; -int otbMetaImageFunctionNew(int argc, char * argv[]) +int otbMetaImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { MetaImageFunctionType::Pointer function = MetaImageFunctionType::New(); return EXIT_SUCCESS; } -int otbMetaImageFunction(int argc, char * argv[]) +int otbMetaImageFunction(int itkNotUsed(argc), char * argv[]) { // Read the input image ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/FeatureExtraction/otbModulusAndDirectionImageFiltersNew.cxx b/Testing/Code/FeatureExtraction/otbModulusAndDirectionImageFiltersNew.cxx index 7e697ace40..8e32bac128 100644 --- a/Testing/Code/FeatureExtraction/otbModulusAndDirectionImageFiltersNew.cxx +++ b/Testing/Code/FeatureExtraction/otbModulusAndDirectionImageFiltersNew.cxx @@ -24,7 +24,7 @@ #include "otbImageToModulusAndDirectionImageFilter.h" #include "otbModulusAndDirectionImageToImageFilter.h" -int otbModulusAndDirectionImageFiltersNew(int argc, char* argv[]) +int otbModulusAndDirectionImageFiltersNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbMultiplyByScalarImageTest.cxx b/Testing/Code/FeatureExtraction/otbMultiplyByScalarImageTest.cxx index ff86bd4135..0f9f8ab109 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 argc, char * argv[]) +int otbMultiplyByScalarImageFilterTest(int itkNotUsed(argc), char * argv[]) { // Define the dimension of the images const unsigned int ImageDimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilter.cxx b/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilter.cxx index 06febfc5de..310a398a4a 100644 --- a/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "itkGradientRecursiveGaussianImageFilter.h" -int otbNeighborhoodScalarProductFilter(int argc, char * argv[]) +int otbNeighborhoodScalarProductFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilterNew.cxx b/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilterNew.cxx index aed222fa64..93751ab05b 100644 --- a/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbNeighborhoodScalarProductFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbNeighborhoodScalarProductFilter.h" #include "otbImage.h" -int otbNeighborhoodScalarProductFilterNew(int argc, char * argv[]) +int otbNeighborhoodScalarProductFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilter.cxx b/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilter.cxx index e840305b32..30e70dcc39 100644 --- a/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbNonMaxRemovalByDirectionFilter(int argc, char * argv[]) +int otbNonMaxRemovalByDirectionFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilterNew.cxx b/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilterNew.cxx index 21c3ae3c94..f4397cc862 100644 --- a/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbNonMaxRemovalByDirectionFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbNonMaxRemovalByDirectionFilter.h" #include "otbImage.h" -int otbNonMaxRemovalByDirectionFilterNew(int argc, char * argv[]) +int otbNonMaxRemovalByDirectionFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbOrientationPath.cxx b/Testing/Code/FeatureExtraction/otbOrientationPath.cxx index 5cf0e30168..80cb8d8104 100644 --- a/Testing/Code/FeatureExtraction/otbOrientationPath.cxx +++ b/Testing/Code/FeatureExtraction/otbOrientationPath.cxx @@ -24,7 +24,7 @@ #include "itkPolyLineParametricPath.h" #include "itkMacro.h" -int otbOrientationPath(int argc, char * argv[]) +int otbOrientationPath(int itkNotUsed(argc), char * argv[]) { double Theta((double) ::atof(argv[1])); diff --git a/Testing/Code/FeatureExtraction/otbOrientationPathNew.cxx b/Testing/Code/FeatureExtraction/otbOrientationPathNew.cxx index 32826ec433..2aa08e0c65 100644 --- a/Testing/Code/FeatureExtraction/otbOrientationPathNew.cxx +++ b/Testing/Code/FeatureExtraction/otbOrientationPathNew.cxx @@ -23,7 +23,7 @@ #include "itkPolyLineParametricPath.h" #include "itkMacro.h" -int otbOrientationPathNew(int argc, char * argv[]) +int otbOrientationPathNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbParallelLinePathListFilter.cxx b/Testing/Code/FeatureExtraction/otbParallelLinePathListFilter.cxx index 8e87eed145..1b962a0b16 100644 --- a/Testing/Code/FeatureExtraction/otbParallelLinePathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbParallelLinePathListFilter.cxx @@ -21,7 +21,7 @@ #include "itkPolyLineParametricPath.h" #include <cstdlib> -int otbParallelLinePathListFilter(int argc, char * argv[]) +int otbParallelLinePathListFilter(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // We create some lines diff --git a/Testing/Code/FeatureExtraction/otbParallelLinePathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbParallelLinePathListFilterNew.cxx index 49a796e5cc..fb41c82325 100644 --- a/Testing/Code/FeatureExtraction/otbParallelLinePathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbParallelLinePathListFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkPolyLineParametricPath.h" #include <cstdlib> -int otbParallelLinePathListFilterNew(int argc, char * argv[]) +int otbParallelLinePathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirection.cxx b/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirection.cxx index 9a86c7aa7a..db8bf2f521 100644 --- a/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirection.cxx +++ b/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirection.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbPixelSuppressionByDirectionImageFilter.h" -int otbPixelSuppressionByDirection(int argc, char* argv[]) +int otbPixelSuppressionByDirection(int itkNotUsed(argc), char* argv[]) { const char * inputFilename1 = argv[1]; const char * inputFilename2 = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirectionNew.cxx b/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirectionNew.cxx index 92e9e04f2c..ee358704b3 100644 --- a/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirectionNew.cxx +++ b/Testing/Code/FeatureExtraction/otbPixelSuppressionByDirectionNew.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbPixelSuppressionByDirectionImageFilter.h" -int otbPixelSuppressionByDirectionNew(int argc, char* argv[]) +int otbPixelSuppressionByDirectionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFilter.cxx b/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFilter.cxx index 0e381c1aed..6e51fb472a 100644 --- a/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbRadiometricMomentsImageFilter.h" -int otbRadiometricMomentsImageFilterNew(int argc, char * argv[]) +int otbRadiometricMomentsImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float InputPixelType; const unsigned int Dimension = 2; @@ -40,7 +40,7 @@ int otbRadiometricMomentsImageFilterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbRadiometricMomentsImageFilter(int argc, char * argv[]) +int otbRadiometricMomentsImageFilter(int itkNotUsed(argc), char * argv[]) { typedef float InputPixelType; const unsigned int Dimension = 2; @@ -69,4 +69,3 @@ int otbRadiometricMomentsImageFilter(int argc, char * argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFunction.cxx b/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFunction.cxx index 32afb1d190..a7393cbfbc 100644 --- a/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbRadiometricMomentsImageFunction.cxx @@ -27,7 +27,7 @@ #include "otbImageFileReader.h" #include "otbRadiometricMomentsImageFunction.h" -int otbRadiometricMomentsImageFunctionNew(int argc, char * argv[]) +int otbRadiometricMomentsImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; @@ -44,7 +44,7 @@ int otbRadiometricMomentsImageFunctionNew(int argc, char * argv[]) } -int otbRadiometricMomentsImageFunction(int argc, char * argv[]) +int otbRadiometricMomentsImageFunction(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbRealMomentsImageFunction.cxx b/Testing/Code/FeatureExtraction/otbRealMomentsImageFunction.cxx index 1abfaa4904..6db45c2050 100644 --- a/Testing/Code/FeatureExtraction/otbRealMomentsImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbRealMomentsImageFunction.cxx @@ -27,7 +27,7 @@ #include "otbImageFileReader.h" #include "otbRealMomentsImageFunction.h" -int otbRealMomentsImageFunctionNew(int argc, char * argv[]) +int otbRealMomentsImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; @@ -43,7 +43,7 @@ int otbRealMomentsImageFunctionNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbRealMomentsImageFunction(int argc, char * argv[]) +int otbRealMomentsImageFunction(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; unsigned int p((unsigned int) ::atoi(argv[2])); diff --git a/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilter.cxx index d944e665c3..b622f184fd 100644 --- a/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilter.cxx @@ -25,7 +25,7 @@ #include <stdio.h> #include <iostream> -int otbRegionImageToRectangularPathListFilter(int argc, char * argv[]) +int otbRegionImageToRectangularPathListFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; diff --git a/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilterNew.cxx index 0ceb82c8ff..a5968bdb99 100644 --- a/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbRegionImageToRectangularPathListFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "itkPolyLineParametricPath.h" -int otbRegionImageToRectangularPathListFilterNew(int argc, char * argv[]) +int otbRegionImageToRectangularPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned short InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbRemoveCarvingPathFilterNew.cxx b/Testing/Code/FeatureExtraction/otbRemoveCarvingPathFilterNew.cxx index fe15869770..f75ac55582 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveCarvingPathFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveCarvingPathFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbRemoveCarvingPathFilter.h" #include "itkPolyLineParametricPath.h" -int otbRemoveCarvingPathFilterNew(int argc, char* argv[]) +int otbRemoveCarvingPathFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilter.cxx b/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilter.cxx index 37afb88cff..049f3f2f75 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbRemoveIsolatedByDirectionFilter(int argc, char * argv[]) +int otbRemoveIsolatedByDirectionFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilterNew.cxx b/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilterNew.cxx index 5fa34d4d6f..38f1e059f3 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveIsolatedByDirectionFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbRemoveIsolatedByDirectionFilter.h" #include "otbImage.h" -int otbRemoveIsolatedByDirectionFilterNew(int argc, char * argv[]) +int otbRemoveIsolatedByDirectionFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilter.cxx index 53887382d3..0e9f47db6d 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilter.cxx @@ -22,7 +22,7 @@ #include <fstream> #include <cstdlib> -int otbRemoveTortuousPathListFilter(int argc, char * argv[]) +int otbRemoveTortuousPathListFilter(int itkNotUsed(argc), char * argv[]) { const char * outfname = argv[1]; const double threshold = atof(argv[2]); diff --git a/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilterNew.cxx index 4b46f8018a..13572de96a 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveTortuousPathListFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkPolyLineParametricPath.h" #include <cstdlib> -int otbRemoveTortuousPathListFilterNew(int argc, char * argv[]) +int otbRemoveTortuousPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilter.cxx b/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilter.cxx index 2f6156a3bc..969187ce11 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbRemoveWrongDirectionFilter(int argc, char * argv[]) +int otbRemoveWrongDirectionFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilterNew.cxx b/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilterNew.cxx index 04ceb9f03f..70b717379b 100644 --- a/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbRemoveWrongDirectionFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbRemoveWrongDirectionFilter.h" #include "otbImage.h" -int otbRemoveWrongDirectionFilterNew(int argc, char * argv[]) +int otbRemoveWrongDirectionFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx b/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx index dcbb98829b..7670e2b9da 100644 --- a/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx @@ -27,7 +27,7 @@ #include "otbPolyLineParametricPathWithValue.h" #include "otbMath.h" -int otbRoadExtractionFilter(int argc, char * argv[]) +int otbRoadExtractionFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/FeatureExtraction/otbRoadExtractionFilterNew.cxx b/Testing/Code/FeatureExtraction/otbRoadExtractionFilterNew.cxx index 02f4f13c0a..24b60f27f3 100644 --- a/Testing/Code/FeatureExtraction/otbRoadExtractionFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbRoadExtractionFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" #include "otbRoadExtractionFilter.h" -int otbRoadExtractionFilterNew(int argc, char * argv[]) +int otbRoadExtractionFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterNew.cxx b/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterNew.cxx index 89816988b9..a56973ca73 100644 --- a/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbSFSTexturesImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbSFSTexturesImageFilterNew(int argc, char * argv[]) +int otbSFSTexturesImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbScalarImageToAdvancedTexturesFilterNew.cxx b/Testing/Code/FeatureExtraction/otbScalarImageToAdvancedTexturesFilterNew.cxx index b3d05e27ac..3f6260aa65 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 argc, char * argv[]) +int otbScalarImageToAdvancedTexturesFilterNew(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbScalarImageToHigherOrderTexturesFilter.cxx b/Testing/Code/FeatureExtraction/otbScalarImageToHigherOrderTexturesFilter.cxx index 247985f284..cbd58bcea2 100644 --- a/Testing/Code/FeatureExtraction/otbScalarImageToHigherOrderTexturesFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbScalarImageToHigherOrderTexturesFilter.cxx @@ -35,7 +35,7 @@ typedef RunLengthFeaturesFilterType::OffsetType OffsetType; typedef RunLengthFeaturesFilterType::OffsetVector OffsetVector; typedef RunLengthFeaturesFilterType::OffsetVectorPointer OffsetVectorPointer; -int otbScalarImageToHigherOrderTexturesFilterNew(int argc, char * argv[]) +int otbScalarImageToHigherOrderTexturesFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { TexturesFilterType::Pointer filter = TexturesFilterType::New(); diff --git a/Testing/Code/FeatureExtraction/otbScalarImageToPanTexTextureFilterNew.cxx b/Testing/Code/FeatureExtraction/otbScalarImageToPanTexTextureFilterNew.cxx index 8d88ffce24..1da29ffc68 100644 --- a/Testing/Code/FeatureExtraction/otbScalarImageToPanTexTextureFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbScalarImageToPanTexTextureFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbScalarImageToPanTexTextureFilter.h" #include "otbImage.h" -int otbScalarImageToPanTexTextureFilterNew(int argc, char * argv[]) +int otbScalarImageToPanTexTextureFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilterNew.cxx b/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilterNew.cxx index 7770821645..ac94bde9b2 100644 --- a/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbScalarImageToTexturesFilter.h" #include "otbImage.h" -int otbScalarImageToTexturesFilterNew(int argc, char * argv[]) +int otbScalarImageToTexturesFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbSimplifyManyPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbSimplifyManyPathListFilter.cxx index aa8d289143..d4e6d15ada 100644 --- a/Testing/Code/FeatureExtraction/otbSimplifyManyPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbSimplifyManyPathListFilter.cxx @@ -27,7 +27,7 @@ * of the otb::UnaryFunctorObjectListFilter */ -int otbSimplifyManyPathListFilter(int argc, char * argv[]) +int otbSimplifyManyPathListFilter(int itkNotUsed(argc), char * argv[]) { const char * outfname = argv[1]; const double tolerance = atof(argv[2]); diff --git a/Testing/Code/FeatureExtraction/otbSimplifyPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbSimplifyPathListFilter.cxx index f16f72a29f..52db85ed5b 100644 --- a/Testing/Code/FeatureExtraction/otbSimplifyPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbSimplifyPathListFilter.cxx @@ -22,7 +22,7 @@ #include <fstream> #include <cstdlib> -int otbSimplifyPathListFilter(int argc, char * argv[]) +int otbSimplifyPathListFilter(int itkNotUsed(argc), char * argv[]) { const char * outfname = argv[1]; const double tolerance = atof(argv[2]); diff --git a/Testing/Code/FeatureExtraction/otbSimplifyPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbSimplifyPathListFilterNew.cxx index 3cbb6265f1..5685977d52 100644 --- a/Testing/Code/FeatureExtraction/otbSimplifyPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbSimplifyPathListFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkPolyLineParametricPath.h" #include <cstdlib> -int otbSimplifyPathListFilterNew(int argc, char * argv[]) +int otbSimplifyPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/FeatureExtraction/otbSqrtSpectralAngleImageFilter.cxx b/Testing/Code/FeatureExtraction/otbSqrtSpectralAngleImageFilter.cxx index be59cc0f51..f225efbe14 100644 --- a/Testing/Code/FeatureExtraction/otbSqrtSpectralAngleImageFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbSqrtSpectralAngleImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbSqrtSpectralAngleImageFilter(int argc, char * argv[]) +int otbSqrtSpectralAngleImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef otb::VectorImage<double, Dimension> InputImageType; diff --git a/Testing/Code/FeatureExtraction/otbStreamingLineSegmentDetector.cxx b/Testing/Code/FeatureExtraction/otbStreamingLineSegmentDetector.cxx index a0931cd635..1bb32bbb4c 100644 --- a/Testing/Code/FeatureExtraction/otbStreamingLineSegmentDetector.cxx +++ b/Testing/Code/FeatureExtraction/otbStreamingLineSegmentDetector.cxx @@ -24,7 +24,7 @@ #include "otbPersistentImageToVectorDataFilter.h" #include "otbPersistentFilterStreamingDecorator.h" -int otbStreamingLineSegmentDetectorNew(int argc, char * argv[]) +int otbStreamingLineSegmentDetectorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float InputPixelType; const unsigned int Dimension = 2; @@ -40,7 +40,7 @@ int otbStreamingLineSegmentDetectorNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbStreamingLineSegmentDetector(int argc, char * argv[]) +int otbStreamingLineSegmentDetector(int itkNotUsed(argc), char * argv[]) { typedef float InputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbTextureFunctor.cxx b/Testing/Code/FeatureExtraction/otbTextureFunctor.cxx index 4ee4785bb0..e81e62c9eb 100644 --- a/Testing/Code/FeatureExtraction/otbTextureFunctor.cxx +++ b/Testing/Code/FeatureExtraction/otbTextureFunctor.cxx @@ -25,7 +25,7 @@ #include "otbTextureFunctors.h" template<class TInputImage, class TOutputImage, class TFunctor> -int generic_TextureFunctor(int argc, char * argv[]) +int generic_TextureFunctor(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbTextureImageFunction.cxx b/Testing/Code/FeatureExtraction/otbTextureImageFunction.cxx index 7264a9fb8b..01ebb53eac 100644 --- a/Testing/Code/FeatureExtraction/otbTextureImageFunction.cxx +++ b/Testing/Code/FeatureExtraction/otbTextureImageFunction.cxx @@ -28,7 +28,7 @@ #include "otbTextureFunctors.h" template<class TInputImage, class TOutputImage, class TFunctor> -int generic_TextureImageFunction(int argc, char * argv[]) +int generic_TextureImageFunction(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetFilterNew.cxx b/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetFilterNew.cxx index 78d2b279a0..17951bf6d2 100644 --- a/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetFilterNew.cxx @@ -26,7 +26,7 @@ #include <iostream> -int otbThresholdImageToPointSetFilterNew(int argc, char* argv[]) +int otbThresholdImageToPointSetFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetTest.cxx b/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetTest.cxx index ca287f1d7b..9b00571afe 100644 --- a/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetTest.cxx +++ b/Testing/Code/FeatureExtraction/otbThresholdImageToPointSetTest.cxx @@ -25,7 +25,7 @@ #include "otbThresholdImageToPointSetFilter.h" #include "itkPointSet.h" -int otbThresholdImageToPointSetTest(int argc, char * argv[]) +int otbThresholdImageToPointSetTest(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbTouziEdgeDetector.cxx b/Testing/Code/FeatureExtraction/otbTouziEdgeDetector.cxx index 4fafdcb641..7d357e5bef 100644 --- a/Testing/Code/FeatureExtraction/otbTouziEdgeDetector.cxx +++ b/Testing/Code/FeatureExtraction/otbTouziEdgeDetector.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbTouziEdgeDetectorImageFilter.h" -int otbTouziEdgeDetector(int argc, char* argv[]) +int otbTouziEdgeDetector(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorDirection.cxx b/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorDirection.cxx index 4d56435eed..581e9bc3fd 100644 --- a/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorDirection.cxx +++ b/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorDirection.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbTouziEdgeDetectorImageFilter.h" -int otbTouziEdgeDetectorDirection(int argc, char* argv[]) +int otbTouziEdgeDetectorDirection(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorNew.cxx b/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorNew.cxx index ae4c747d7e..254f733fc6 100644 --- a/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorNew.cxx +++ b/Testing/Code/FeatureExtraction/otbTouziEdgeDetectorNew.cxx @@ -24,7 +24,7 @@ #include "otbTouziEdgeDetectorImageFilter.h" -int otbTouziEdgeDetectorNew(int argc, char* argv[]) +int otbTouziEdgeDetectorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilter.cxx b/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilter.cxx index e38972c0ee..f2cb97439c 100644 --- a/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbUrbanAreaDetectionImageFilter.h" -int otbUrbanAreaDetectionImageFilter(int argc, char * argv[]) +int otbUrbanAreaDetectionImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilterNew.cxx b/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilterNew.cxx index caee318d4a..bf5cbcc6fd 100644 --- a/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbUrbanAreaDetectionImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbUrbanAreaDetectionImageFilter.h" -int otbUrbanAreaDetectionImageFilterNew(int argc, char * argv[]) +int otbUrbanAreaDetectionImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/FeatureExtraction/otbVectorDataToRightAngleVectorDataFilter.cxx b/Testing/Code/FeatureExtraction/otbVectorDataToRightAngleVectorDataFilter.cxx index 74b77028e1..d4032d5a2a 100644 --- a/Testing/Code/FeatureExtraction/otbVectorDataToRightAngleVectorDataFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbVectorDataToRightAngleVectorDataFilter.cxx @@ -27,7 +27,7 @@ #include "otbMath.h" -int otbVectorDataToRightAngleVectorDataFilterNew(int argc, char * argv[]) +int otbVectorDataToRightAngleVectorDataFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { /** Typedefs */ typedef otb::VectorData< > VectorDataType; @@ -42,7 +42,7 @@ int otbVectorDataToRightAngleVectorDataFilterNew(int argc, char * argv[]) } -int otbVectorDataToRightAngleVectorDataFilter(int argc, char * argv[]) +int otbVectorDataToRightAngleVectorDataFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; @@ -71,4 +71,3 @@ int otbVectorDataToRightAngleVectorDataFilter(int argc, char * argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/FeatureExtraction/otbVectorizationPathListFilter.cxx b/Testing/Code/FeatureExtraction/otbVectorizationPathListFilter.cxx index b9b92135d7..5fbfe6a453 100644 --- a/Testing/Code/FeatureExtraction/otbVectorizationPathListFilter.cxx +++ b/Testing/Code/FeatureExtraction/otbVectorizationPathListFilter.cxx @@ -25,7 +25,7 @@ #include "otbDrawPathListFilter.h" #include "otbImageFileWriter.h" -int otbVectorizationPathListFilter(int argc, char * argv[]) +int otbVectorizationPathListFilter(int itkNotUsed(argc), char * argv[]) { const char * modfname = argv[1]; const char * dirfname = argv[2]; diff --git a/Testing/Code/FeatureExtraction/otbVectorizationPathListFilterNew.cxx b/Testing/Code/FeatureExtraction/otbVectorizationPathListFilterNew.cxx index 1e022d63de..5b34aae925 100644 --- a/Testing/Code/FeatureExtraction/otbVectorizationPathListFilterNew.cxx +++ b/Testing/Code/FeatureExtraction/otbVectorizationPathListFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "itkPolyLineParametricPath.h" -int otbVectorizationPathListFilterNew(int argc, char * argv[]) +int otbVectorizationPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; -- GitLab