Commit 21c66635 authored by Mickael Savinaud's avatar Mickael Savinaud

ENH: remove unused header from OTB files

modifications generated via the script FindRedundantHeaderIncludes.py
parent 37091ac9
......@@ -19,17 +19,14 @@
#include "otbVectorImage.h"
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbVectorData.h"
#include "otbVectorDataFileReader.h"
#include "otbVectorDataFileWriter.h"
#include "itkPreOrderTreeIterator.h"
#include "otbVectorDataIntoImageProjectionFilter.h"
#include "otbVectorDataProjectionFilter.h"
#include "otbVectorDataTransformFilter.h"
#include "itkAffineTransform.h"
......
......@@ -21,13 +21,10 @@
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperStringListParameter.h"
#include "otbVectorData.h"
#include "otbImageToEnvelopeVectorDataFilter.h"
#include "otbVectorDataToRandomLineGenerator.h"
#include "itkAmoebaOptimizer.h"
#include "otbVectorDataToDSValidatedVectorDataFilter.h"
#include "otbStandardDSCostFunction.h"
#include "otbFuzzyDescriptorsModelManager.h"
namespace otb
......
......@@ -21,7 +21,6 @@
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperStringListParameter.h"
#include "otbVectorData.h"
#include "otbFuzzyDescriptorsModelManager.h"
......
......@@ -21,12 +21,10 @@
#include "otbOGRDataSourceToLabelImageFilter.h"
#include "itkImageRegionConstIterator.h"
#include "otbOGRDataSourceWrapper.h"
#include "itkImageRegionSplitter.h"
#include "otbStreamingTraits.h"
#include "itkVariableSizeMatrix.h"
#include "otbConfusionMatrixMeasurements.h"
......
......@@ -27,7 +27,6 @@
#include <iostream>
#include <fstream>
#include "otbVectorImage.h"
#include "otbImage.h"
#include "otbImageList.h"
......
......@@ -18,7 +18,6 @@
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "itkVariableLengthVector.h"
#include "otbChangeLabelImageFilter.h"
#include "otbStandardWriterWatcher.h"
#include "otbStatisticsXMLFileReader.h"
......
......@@ -19,9 +19,7 @@
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "itkMersenneTwisterRandomVariateGenerator.h"
#include "otbVectorImage.h"
#include "otbImage.h"
#include "itkEuclideanDistanceMetric.h"
#include "otbStreamingTraits.h"
#include "itkImageRegionConstIterator.h"
......@@ -29,7 +27,6 @@
#include "itkWeightedCentroidKdTreeGenerator.h"
#include "itkKdTreeBasedKmeansEstimator.h"
#include "otbStreamingShrinkImageFilter.h"
#include "itkUnaryFunctorImageFilter.h"
#include "otbChangeLabelImageFilter.h"
#include "otbRAMDrivenStrippedStreamingManager.h"
......@@ -37,7 +34,6 @@
#include "itkLabelToRGBImageFilter.h"
#include "otbReliefColormapFunctor.h"
#include "itkScalarToRGBColormapImageFilter.h"
#include "otbWrapperTypes.h"
namespace otb
......
......@@ -21,7 +21,6 @@
#include "otbSOMMap.h"
#include "otbSOM.h"
#include "otbSOMImageClassificationFilter.h"
#include "itkEuclideanDistanceMetric.h"
#include "itkImageRegionSplitter.h"
#include "otbStreamingTraits.h"
#include "itkImageRegionConstIterator.h"
......
......@@ -15,22 +15,18 @@
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include <iostream>
#include "otbConfigurationFile.h"
//Image
#include "otbImage.h"
#include "otbVectorImage.h"
#include "otbVectorData.h"
#include "otbListSampleGenerator.h"
// ListSample
#include "itkListSample.h"
#include "itkVariableLengthVector.h"
#include "itkFixedArray.h"
//Estimator
#include "otbMachineLearningModelFactory.h"
......@@ -67,7 +63,6 @@
#include "otbListSampleToBalancedListSampleFilter.h"
// VectorData projection filter
#include "otbVectorDataProjectionFilter.h"
// Extract a ROI of the vectordata
#include "otbVectorDataIntoImageProjectionFilter.h"
......
......@@ -18,7 +18,6 @@
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbPixelWiseBlockMatchingImageFilter.h"
#include "otbVarianceImageFilter.h"
#include "otbBandMathImageFilter.h"
#include "otbImageList.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbDisparityMapToDEMFilter.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "itkImageRegionIteratorWithIndex.h"
......
......@@ -15,12 +15,10 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbStereorectificationDisplacementFieldSource.h"
#include "otbStreamingWarpImageFilter.h"
#include "otbPixelWiseBlockMatchingImageFilter.h"
#include "otbBandMathImageFilter.h"
#include "otbSubPixelDisparityImageFilter.h"
#include "otbDisparityMapMedianFilter.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbStereorectificationDisplacementFieldSource.h"
......
......@@ -19,15 +19,12 @@
#include "otbWrapperApplicationFactory.h"
#include "itkImageToImageFilter.h"
#include "otbMaximumAutocorrelationFactorImageFilter.h"
#include "otbPCAImageFilter.h"
#include "otbNAPCAImageFilter.h"
#include "otbLocalActivityVectorImageFilter.h"
#include "otbMaximumAutocorrelationFactorImageFilter.h"
#include "otbFastICAImageFilter.h"
#include "otbFastICAInternalOptimizerVectorImageFilter.h"
//#include "otbVirtualDimensionality.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
// Elevation handler
......@@ -31,7 +30,6 @@
#include "otbMultiToMonoChannelExtractROI.h"
#include "otbKeyPointSetsMatchingFilter.h"
#include "itkPointSet.h"
#include "itkEuclideanDistanceMetric.h"
#include "otbGenericRSTransform.h"
#include "otbOGRDataSourceWrapper.h"
......
......@@ -15,13 +15,11 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbStreamingLineSegmentDetector.h"
#include "otbVectorImageToAmplitudeImageFilter.h"
#include "otbVectorData.h"
#include "otbStreamingStatisticsImageFilter.h"
#include "itkShiftScaleImageFilter.h"
......
......@@ -24,7 +24,6 @@
#include "otbMultiChannelRAndBAndNIRIndexImageFilter.h"
#include "otbMultiChannelRAndGAndNIRIndexImageFilter.h"
#include "otbWaterIndicesFunctor.h"
#include "otbSoilIndicesFunctor.h"
#include "otbBuiltUpIndicesFunctor.h"
#include "otbImageList.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "itkVectorIndexSelectionCastImageFilter.h"
......
......@@ -25,7 +25,6 @@
//#include "otbFCLSUnmixingImageFilter.h"
#include "otbMDMDNMFImageFilter.h"
#include "otbVectorImageToMatrixImageFilter.h"
namespace otb
{
......
......@@ -19,7 +19,6 @@
#include "otbWrapperApplicationFactory.h"
#include "otbVcaImageFilter.h"
#include "otbVectorImageToMatrixImageFilter.h"
namespace otb
{
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbMultiToMonoChannelExtractROI.h"
......@@ -27,7 +26,6 @@
// Elevation handler
#include "otbWrapperElevationParametersHandler.h"
#include "otbStreamingResampleImageFilter.h"
#include "otbPleiadesPToXSAffineTransformCalculator.h"
namespace otb
......
......@@ -15,7 +15,6 @@
PURPOSE, See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include <iostream>
......@@ -25,7 +24,6 @@
#include "otbWrapperMapProjectionParametersHandler.h"
#include "otbImageToGenericRSOutputParameters.h"
#include "otbGenericRSTransform.h"
namespace otb
{
......
......@@ -20,7 +20,6 @@
#include "otbForwardSensorModel.h"
#include "otbCoordinateToName.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -16,14 +16,12 @@
=========================================================================*/
// Wrappers
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperChoiceParameter.h"
#include "otbWrapperElevationParametersHandler.h"
#include "otbWrapperMapProjectionParametersHandler.h"
#include "otbSensorModelAdapter.h"
#include "otbRPCSolverAdapter.h"
#include "itkPoint.h"
#include "itkEuclideanDistanceMetric.h"
#include "otbGenericRSTransform.h"
#include "otbOGRDataSourceWrapper.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbImageToEnvelopeVectorDataFilter.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperNumericalParameter.h"
......
......@@ -16,7 +16,6 @@
=========================================================================*/
// Wrappers
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperChoiceParameter.h"
#include "otbWrapperElevationParametersHandler.h"
......
......@@ -18,7 +18,6 @@
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "itkLinearInterpolateImageFunction.h"
#include "otbBCOInterpolateImageFunction.h"
#include "itkNearestNeighborInterpolateImageFunction.h"
......
......@@ -15,18 +15,15 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbGenericRSResampleImageFilter.h"
#include "itkLinearInterpolateImageFunction.h"
#include "otbBCOInterpolateImageFunction.h"
#include "itkNearestNeighborInterpolateImageFunction.h"
// Elevation handler
#include "otbWrapperElevationParametersHandler.h"
#include "otbStreamingResampleImageFilter.h"
#include "otbPleiadesPToXSAffineTransformCalculator.h"
namespace otb
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperNumericalParameter.h"
#include "otbGeometriesProjectionFilter.h"
......
......@@ -29,9 +29,7 @@
#include "otbGroundSpacingImageFunction.h"
#include "vnl/vnl_random.h"
#include "itkMetaDataDictionary.h"
#include "otbOpticalImageMetadataInterfaceFactory.h"
#include "otbOpticalImageMetadataInterface.h"
#include <fstream>
#include <sstream>
......
......@@ -20,7 +20,6 @@
#include "otbGeoInformationConversion.h"
#include "otbOGRDataSourceWrapper.h"
#include "otbOGRDataSourceToLabelImageFilter.h"
#include "otbGenericRSTransform.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbImage.h"
......
......@@ -22,7 +22,6 @@
#include "otbHooverInstanceFilter.h"
#include "otbLabelMapToAttributeImageFilter.h"
#include "itkLabelMap.h"
#include "otbAttributesMapLabelObject.h"
#include "itkLabelImageToLabelMapFilter.h"
#include "otbUnaryFunctorImageFilter.h"
......
......@@ -20,7 +20,6 @@
#include "otbMultiChannelExtractROI.h"
#include "otbExtractROI.h"
#include "otbConnectedComponentMuParserFunctor.h"
#include "itkConnectedComponentFunctorImageFilter.h"
#include "otbBandMathImageFilter.h"
#include "itkStatisticsImageFilter.h"
#include "itkChangeLabelImageFilter.h"
......
......@@ -23,7 +23,6 @@
#include "otbStreamingStatisticsImageFilter.h"
#include "otbLabelImageToOGRDataSourceFilter.h"
#include "otbOGRDataSourceWrapper.h"
#include "otbOGRFeatureWrapper.h"
#include <time.h>
......
......@@ -21,10 +21,8 @@
#include "otbWrapperChoiceParameter.h"
// Segmentation filters includes
#include "otbMeanShiftVectorImageFilter.h"
#include "otbMeanShiftSegmentationFilter.h"
#include "otbConnectedComponentMuParserFunctor.h"
#include "itkConnectedComponentFunctorImageFilter.h"
#include "otbMaskMuParserFilter.h"
#include "otbVectorImageToAmplitudeImageFilter.h"
#include "itkGradientMagnitudeImageFilter.h"
......@@ -33,7 +31,6 @@
// Large scale vectorization framework
#include "otbStreamingImageToOGRLayerSegmentationFilter.h"
#include "otbOGRDataSourceWrapper.h"
// Fusion filter
#include "otbOGRLayerStreamStitchingFilter.h"
......
......@@ -28,7 +28,6 @@
#include "itkScalarToRGBColormapImageFilter.h"
#include "otbReliefColormapFunctor.h"
#include "itkImageRegionSplitter.h"
#include "otbStreamingTraits.h"
#include "otbRAMDrivenStrippedStreamingManager.h"
......@@ -36,11 +35,8 @@
#include "itkListSample.h"
#include "otbListSampleToHistogramListGenerator.h"
#include "itkDenseFrequencyContainer2.h"
#include "itkVariableLengthVector.h"
#include "itkHistogram.h"
#include "otbObjectList.h"
#include "itkNumericTraitsVariableLengthVectorPixel.h"
#include "itkImageRegionConstIterator.h"
#include "otbUnaryFunctorImageFilter.h"
......
......@@ -20,7 +20,6 @@
#include "otbImageListToVectorImageFilter.h"
#include "otbMultiToMonoChannelExtractROI.h"
#include "otbObjectList.h"
#include "otbWrapperTypes.h"
#include "otbImageList.h"
......
......@@ -29,7 +29,6 @@
#include "otbListSampleToHistogramListGenerator.h"
#include "itkImageRegionConstIterator.h"
#include "otbWrapperTypes.h"
namespace otb
{
......
......@@ -20,7 +20,6 @@
#include "otbDEMConvertAdapter.h"
#include "itkImageIOBase.h"
#include "itkImageIOFactory.h"
namespace otb
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbKmzProductWriter.h"
......
......@@ -22,7 +22,6 @@
#include "itkDiscreteGaussianImageFilter.h"
#include "itkShrinkImageFilter.h"
#include "otbWrapperParameter.h"
#include "otbWrapperOutputImageParameter.h"
namespace otb
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbImageToEnvelopeVectorDataFilter.h"
......
......@@ -17,7 +17,6 @@
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperParameter.h"
#include "otbWrapperOutputImageParameter.h"
#include "otbMultiToMonoChannelExtractROI.h"
......
......@@ -15,7 +15,6 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperChoiceParameter.h"
#include "otbWrapperListViewParameter.h"
......@@ -27,16 +26,13 @@
#include "otbWrapperOutputProcessXMLParameter.h"
#include "otbWrapperInputVectorDataParameter.h"
#include "otbWrapperInputVectorDataListParameter.h"
#include "otbWrapperNumericalParameter.h"
#include "otbWrapperOutputVectorDataParameter.h"
#include "otbWrapperRadiusParameter.h"
#include "otbWrapperStringParameter.h"
#include "otbWrapperStringListParameter.h"
#include "otbWrapperInputImageListParameter.h"
#include "otbWrapperInputProcessXMLParameter.h"
#include "otbWrapperRAMParameter.h"
#include "otbWrapperParameterGroup.h"
#include "otbWrapperAddProcessToWatchEvent.h"
......
......@@ -20,7 +20,6 @@
#include <string>
#include "otbMacro.h"
#include "itkObject.h"
#include "itkObjectFactory.h"
#include "otbWrapperTypes.h"
#include "otbWrapperTags.h"
......
......@@ -18,7 +18,6 @@
#ifndef __otbWrapperApplicationFactory_h
#define __otbWrapperApplicationFactory_h
#include "itkObjectFactory.h"
#include "itkVersion.h"
namespace otb
......