Commit 030edff5 authored by Mickael Savinaud's avatar Mickael Savinaud

ENH: remove redundant header from OTB files

    modifications generated via the script FindRedundantHeaderIncludes.py
    2nd pass
parent b9591691
......@@ -21,7 +21,6 @@
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperStringListParameter.h"
#include "otbFuzzyDescriptorsModelManager.h"
namespace otb
......
......@@ -22,7 +22,6 @@
#include "otbOGRDataSourceToLabelImageFilter.h"
#include "itkImageRegionConstIterator.h"
#include "itkImageRegionSplitter.h"
#include "otbStreamingTraits.h"
......
......@@ -27,7 +27,6 @@
#include <iostream>
#include <fstream>
#include "otbImage.h"
#include "otbImageList.h"
......
......@@ -20,7 +20,6 @@
#include "otbWrapperApplicationFactory.h"
#include "otbVectorImage.h"
#include "itkEuclideanDistanceMetric.h"
#include "otbStreamingTraits.h"
#include "itkImageRegionConstIterator.h"
#include "itkListSample.h"
......
......@@ -21,7 +21,6 @@
#include "otbSOMMap.h"
#include "otbSOM.h"
#include "otbSOMImageClassificationFilter.h"
#include "itkImageRegionSplitter.h"
#include "otbStreamingTraits.h"
#include "itkImageRegionConstIterator.h"
#include "itkImageRandomNonRepeatingConstIteratorWithIndex.h"
......
......@@ -30,7 +30,6 @@
#include "otbMultiToMonoChannelExtractROI.h"
#include "otbKeyPointSetsMatchingFilter.h"
#include "itkEuclideanDistanceMetric.h"
#include "otbGenericRSTransform.h"
#include "otbOGRDataSourceWrapper.h"
#include "ogrsf_frmts.h"
......
......@@ -29,7 +29,6 @@
#include "otbGroundSpacingImageFunction.h"
#include "vnl/vnl_random.h"
#include "otbOpticalImageMetadataInterfaceFactory.h"
#include <fstream>
#include <sstream>
......
......@@ -22,7 +22,6 @@
#include "otbHooverInstanceFilter.h"
#include "otbLabelMapToAttributeImageFilter.h"
#include "otbAttributesMapLabelObject.h"
#include "itkLabelImageToLabelMapFilter.h"
#include "otbUnaryFunctorImageFilter.h"
......
......@@ -36,7 +36,6 @@
#include "otbListSampleToHistogramListGenerator.h"
#include "itkVariableLengthVector.h"
#include "otbObjectList.h"
#include "itkImageRegionConstIterator.h"
#include "otbUnaryFunctorImageFilter.h"
......
......@@ -20,7 +20,6 @@
#include "otbImageListToVectorImageFilter.h"
#include "otbMultiToMonoChannelExtractROI.h"
#include "otbWrapperTypes.h"
#include "otbImageList.h"
namespace otb
......
......@@ -22,7 +22,6 @@
#include "itkDiscreteGaussianImageFilter.h"
#include "itkShrinkImageFilter.h"
#include "otbWrapperOutputImageParameter.h"
namespace otb
{
......
......@@ -17,7 +17,6 @@
=========================================================================*/
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
#include "otbWrapperOutputImageParameter.h"
#include "otbMultiToMonoChannelExtractROI.h"
......
......@@ -20,7 +20,6 @@
#include <string>
#include "otbMacro.h"
#include "itkObjectFactory.h"
#include "otbWrapperTypes.h"
#include "otbWrapperTags.h"
#include "otbWrapperParameterGroup.h"
......
......@@ -20,7 +20,6 @@
#include "itkImageToImageFilter.h"
#include "otbPCAImageFilter.h"
#include "otbStreamingStatisticsVectorImageFilter.h"
#include "otbFastICAInternalOptimizerVectorImageFilter.h"
namespace otb
......
......@@ -29,7 +29,6 @@
#include "itkArray.h"
#include "otbMacro.h"
#include "itkInPlaceLabelMapFilter.h"
......
......@@ -24,7 +24,6 @@
#include "itkProcessObject.h"
#include "itkHistogram.h"
#include "itkStatisticsAlgorithm.h"
#include "itkNumericTraits.h"
namespace otb {
......
......@@ -18,7 +18,6 @@
#ifndef __otbMNFImageFilter_h
#define __otbMNFImageFilter_h
#include "itkImageToImageFilter.h"
#include "otbMatrixImageFilter.h"
#include "otbPCAImageFilter.h"
......
......@@ -30,7 +30,6 @@
#include "itkArray.h"
#include "otbMacro.h"
#include "otbMaskMuParserFunctor.h"
......
......@@ -26,7 +26,6 @@
#include "otbMacro.h"
#include "itkObjectFactory.h"
#include "otbBinarySpectralAngleFunctor.h"
......
......@@ -26,7 +26,6 @@
#include "otbMacro.h"
#include "itkObjectFactory.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbPCAImageFilter_h
#include "otbMacro.h"
#include "otbStreamingStatisticsVectorImageFilter.h"
#include "otbMatrixImageFilter.h"
#include "otbNormalizeVectorImageFilter.h"
......
......@@ -20,7 +20,6 @@
#include "otbStreamingCompareImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkNumericTraits.h"
#include "itkProgressReporter.h"
#include "otbMacro.h"
......
......@@ -23,7 +23,6 @@
#include "otbPersistentImageFilter.h"
#include "otbPersistentFilterStreamingDecorator.h"
#include "itkArray.h"
#include "itkSimpleDataObjectDecorator.h"
#include "itkImageRegionSplitter.h"
#include "itkVariableSizeMatrix.h"
......
......@@ -22,7 +22,6 @@
#define __otbStreamingMatrixTransposeMatrixImageFilter_h
#include "otbPersistentImageFilter.h"
#include "itkArray.h"
#include "itkSimpleDataObjectDecorator.h"
#include "otbStreamingTraits.h"
#include "itkVariableSizeMatrix.h"
......
......@@ -24,7 +24,6 @@ for details.
#include <algorithm>
#include "itkImageRegionIterator.h"
#include "itkNumericTraits.h"
#include "itkProgressReporter.h"
#include "otbMacro.h"
......
......@@ -23,7 +23,6 @@
#include "otbPersistentImageFilter.h"
#include "otbPersistentFilterStreamingDecorator.h"
#include "itkArray.h"
#include "itkSimpleDataObjectDecorator.h"
#include "itkImageRegionSplitter.h"
#include "itkVariableSizeMatrix.h"
......
......@@ -18,7 +18,6 @@
#ifndef __otbStreamingShrinkImageFilter_h
#define __otbStreamingShrinkImageFilter_h
#include "itkImageToImageFilter.h"
#include "otbPersistentImageFilter.h"
#include "otbPersistentFilterStreamingDecorator.h"
......
......@@ -23,7 +23,6 @@ for details.
#include "otbStreamingStatisticsImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkNumericTraits.h"
#include "itkProgressReporter.h"
#include "otbMacro.h"
......
......@@ -24,7 +24,6 @@ for details.
#include "itkInputDataObjectIterator.h"
#include "itkImageRegionIterator.h"
#include "itkNumericTraits.h"
#include "itkProgressReporter.h"
#include "otbMacro.h"
......
......@@ -23,7 +23,6 @@
#include "otbPersistentImageFilter.h"
#include "otbPersistentFilterStreamingDecorator.h"
#include "itkArray.h"
#include "itkSimpleDataObjectDecorator.h"
#include "itkImageRegionSplitter.h"
#include "itkVariableSizeMatrix.h"
......
......@@ -23,7 +23,6 @@
#include "otbPersistentImageFilter.h"
#include "otbPersistentFilterStreamingDecorator.h"
#include "itkArray.h"
#include "itkSimpleDataObjectDecorator.h"
#include "itkImageRegionSplitter.h"
#include "itkVariableSizeMatrix.h"
......
......@@ -19,7 +19,6 @@
#define __otbWindowedSincInterpolateImageBlackmanFunction_h
#include "otbWindowedSincInterpolateImageFunctionBase.h"
#include "otbMath.h"
#include "vnl/vnl_math.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbWindowedSincInterpolateImageCosineFunction_h
#include "otbWindowedSincInterpolateImageFunctionBase.h"
#include "otbMath.h"
#include "vnl/vnl_math.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbWindowedSincInterpolateImageGaussianFunction_h
#include "otbWindowedSincInterpolateImageFunctionBase.h"
#include "otbMath.h"
#include "vnl/vnl_math.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbWindowedSincInterpolateImageHammingFunction_h
#include "otbWindowedSincInterpolateImageFunctionBase.h"
#include "otbMath.h"
#include "vnl/vnl_math.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbWindowedSincInterpolateImageLanczosFunction_h
#include "otbWindowedSincInterpolateImageFunctionBase.h"
#include "otbMath.h"
#include "vnl/vnl_math.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbWindowedSincInterpolateImageWelchFunction_h
#include "otbWindowedSincInterpolateImageFunctionBase.h"
#include "otbMath.h"
#include "vnl/vnl_math.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#define __otbDataNodeVectorDataFunction_h
#include "otbDataNodeFunctionBase.h"
#include "otbVectorData.h"
#include "otbVectorDataProperties.h"
......
......@@ -19,7 +19,6 @@
#define __otbDrawLineSpatialObjectFilter_h
#include "itkSpatialObjectToImageFilter.h"
#include "otbLineSpatialObjectList.h"
#include "otbDrawLineSpatialObjectListFilter.h"
//#include <list>
......
......@@ -18,7 +18,6 @@
#ifndef __otbGISTable_h
#define __otbGISTable_h
#include "itkObjectFactory.h"
#include "itkPoint.h"
#include "otbPolygon.h"
#include "otbObjectList.h"
......
......@@ -19,7 +19,6 @@
#define __otbGISTableToLabelMapFilter_h
//#include "itkImageToImageFilter.h"
#include "otbLabelMapSource.h"
//include "otbLabelMap.h"
#include "otbVectorData.h"
#include "otbGISTableToVectorDataFilter.h"
......
......@@ -19,7 +19,6 @@
#define __otbGISTableToVectorDataFilter_h
//#include "itkImageToImageFilter.h"
#include "otbVectorDataSource.h"
#include "otbGISTable.h"
#include "otbVectorDataFileReader.h"
#include "otbOGRVectorDataIO.h"
......
......@@ -19,7 +19,6 @@
#define __otbPointSetAndValuesFunction_h
#include "itkFunctionBase.h"
#include "itkIndex.h"
#include "itkContinuousIndex.h"
#include "itkVectorContainer.h"
#include "itkPointSet.h"
......
......@@ -18,7 +18,6 @@
#ifndef __otbPolyLineImageIterator_h
#define __otbPolyLineImageIterator_h
#include "itkImage.h"
#include "otbPolyLineImageConstIterator.h"
namespace otb
......
......@@ -22,7 +22,6 @@
#include <iomanip>
#include "itkContinuousIndex.h"
#include "otbImageKeywordlist.h"
#include "itkImageRegion.h"
......
......@@ -20,7 +20,6 @@
#include "otbMacro.h"
#include "itkObject.h"
#include "itkDataObject.h"
#include "itkImageRegionSplitterBase.h"
#include "otbPipelineMemoryPrintCalculator.h"
......
......@@ -19,7 +19,6 @@
#define __otbStreamingManager_txx
#include "otbStreamingManager.h"
#include "otbConfigure.h"
#include "otbConfigurationFile.h"
#include "itkExtractImageFilter.h"
......
......@@ -20,7 +20,6 @@
#include "otbMacro.h"
#include "itkInterpolateImageFunction.h"
#include "itkBSplineInterpolateImageFunction.h"
#include "itkLinearInterpolateImageFunction.h"
#include "itkImageRegionSplitter.h"
......
......@@ -21,10 +21,8 @@
#include <boost/cstdint.hpp>
#include "otbStreamingTraits.h"
#include "otbConfigure.h"
#include "otbConfigurationFile.h"
#include "itkBSplineInterpolateImageFunction.h"
#include "itkNearestNeighborInterpolateImageFunction.h"
namespace otb
......
......@@ -20,7 +20,6 @@
#include "itkProcessObject.h"
#include "itkVariableLengthVector.h"
#include "itkMacro.h"
#include "itkFixedArray.h"
#include "itkHistogram.h"
#include "itkSmartPointer.h"
......
......@@ -21,7 +21,6 @@
#include "itkTreeContainer.h"
#include "itkDataObject.h"
#include "otbDataNode.h"
#include "itkPoint.h"
namespace otb
{
......
......@@ -23,7 +23,6 @@
#include "itkPDEDeformableRegistrationFunction.h"
#include "itkPoint.h"
#include "itkInterpolateImageFunction.h"
#include "itkLinearInterpolateImageFunction.h"
#include "itkCentralDifferenceImageFunction.h"
......
......@@ -19,7 +19,6 @@
#define __otbPixelWiseBlockMatchingImageFilter_txx
#include "otbPixelWiseBlockMatchingImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkProgressReporter.h"
#include "itkConstantBoundaryCondition.h"
......
......@@ -20,7 +20,6 @@
#define __otbForwardFourierMellinTransformImageFilter_h
#include "otbImage.h"
#include "itkImageToImageFilter.h"
#include "itkVnlForwardFFTImageFilter.h"
#include "otbLogPolarTransform.h"
#include "itkResampleImageFilter.h"
......
......@@ -21,7 +21,6 @@
#include "otbFourierMellinDescriptorsImageFunction.h"
#include "itkConstNeighborhoodIterator.h"
#include "itkNumericTraits.h"
#include "otbMath.h"
namespace otb
{
......
......@@ -18,7 +18,6 @@
#ifndef __otbLineCorrelationDetectorImageFilter_h
#define __otbLineCorrelationDetectorImageFilter_h
#include "itkLinearInterpolateImageFunction.h"
#include "otbLineDetectorImageFilterBase.h"
namespace otb
......
......@@ -18,7 +18,6 @@
#ifndef __otbLineRatioDetectorImageFilter_h
#define __otbLineRatioDetectorImageFilter_h
#include "itkLinearInterpolateImageFunction.h"
#include "otbLineDetectorImageFilterBase.h"
namespace otb
......
......@@ -20,7 +20,6 @@
#include "otbLocalHistogramImageFunction.h"
#include "itkConstNeighborhoodIterator.h"
#include "itkMacro.h"
#include "itkExtractImageFilter.h"
#include "otbMath.h"
......
......@@ -28,7 +28,6 @@
#include "itkImageRegionIteratorWithIndex.h"
#include "itkConstNeighborhoodIterator.h"
#include "itkPathIterator.h"
#include "itkNumericTraits.h"
#include "itkImageLinearIteratorWithIndex.h"
#include "otbMath.h"
#include "itkNeighborhoodBinaryThresholdImageFunction.h"
......
......@@ -18,7 +18,6 @@
#ifndef __otbRoadExtractionFilter_h
#define __otbRoadExtractionFilter_h
#include "itkGradientRecursiveGaussianImageFilter.h"
#include "otbVectorImage.h"
#include "otbSpectralAngleDistanceImageFilter.h"
......
......@@ -31,7 +31,6 @@
#include "otbLineSegmentDetector.h"
#include "otbPersistentImageFilter.h"
#include "otbPersistentFilterStreamingDecorator.h"
#include "otbPersistentImageToVectorDataFilter.h"
......
......@@ -21,7 +21,6 @@
#include "otbImage.h"
#include "otbWaterIndicesFunctor.h"
#include "otbMultiChannelRAndGAndNIRIndexImageFilter.h"
#include "itkImageToImageFilter.h"
#include "itkBinaryErodeImageFilter.h"
#include "itkBinaryDilateImageFilter.h"
#include "itkBinaryBallStructuringElement.h"
......
......@@ -19,7 +19,6 @@
#define __otbJointMassOfBeliefFilter_h
#include "itkProcessObject.h"
#include "itkNumericTraits.h"
namespace otb
{
......
......@@ -21,7 +21,6 @@
#include "itkSingleValuedCostFunction.h"
#include "otbVectorDataToDSValidatedVectorDataFilter.h"
#include "otbFuzzyDescriptorsModelManager.h"
namespace otb
{
......
......@@ -18,7 +18,6 @@
#ifndef __otbCoordinateToName_h
#define __otbCoordinateToName_h
#include "itkObjectFactory.h"
#include "itkPoint.h"
#include "itkMultiThreader.h"
#include "otbCurlHelperInterface.h"
......
......@@ -23,7 +23,6 @@
#include "otbImageSeriesFileReaderBase.h"
#include "otbVectorImage.h"
#include "otbObjectList.h"
#include "otbExtractROI.h"
......
......@@ -30,7 +30,6 @@
#include "otbImage.h"
#include "otbVectorImage.h"
#include "otbImageList.h"
#include "otbImageListSource.h"
#include "otbImageFileReader.h"
......
......@@ -20,7 +20,6 @@
#include <string>
#include "otbMetaDataKey.h"
#include "otbImageMetadataInterfaceBase.h"
#include "otbFilterFunctionValues.h"
#include "otbObjectList.h"
......
......@@ -18,7 +18,6 @@
#ifndef __otbPlaceNameToLonLat_h
#define __otbPlaceNameToLonLat_h
#include "itkObjectFactory.h"
#include "otbCurlHelperInterface.h"
namespace otb
......
......@@ -20,7 +20,6 @@
#include <string>
#include "otbMetaDataKey.h"
#include "otbImageMetadataInterfaceBase.h"
#include "itkPointSet.h"
......
......@@ -22,7 +22,6 @@
#include <string>
#include "otbSarImageMetadataInterface.h"
#include "otbMetaDataKey.h"
#include "itkImageBase.h"
namespace otb
......
......@@ -18,7 +18,6 @@
#ifndef __otbWavelengthSpectralBands_h
#define __otbWavelengthSpectralBands_h
#include "itkObjectFactory.h"
#include "otbMacro.h"
#include "otbObjectList.h"
#include "otbFilterFunctionValues.h"
......
......@@ -20,7 +20,6 @@
#define __otbConfusionMatrixCalculator_h
#include "otbMacro.h"
#include "itkObjectFactory.h"
#include "otbConfusionMatrixMeasurements.h"
namespace otb
......
......@@ -4,7 +4,6 @@
#include "itkListSample.h"
#include "itkSampleClassifierFilter.h"
#include "otbModelComponentBase.h"
#include "otbGaussianModelComponent.h"
......
......@@ -27,7 +27,6 @@
#include "itkImageToImageFilter.h"
#include "itkImageRegionIterator.h"