diff --git a/.mailmap b/.mailmap index 646d37da8900afc1a51623aca02a5ae49b2a3ba0..ddb74cbf386ca0365db492ffc9f2739b8e155cca 100644 --- a/.mailmap +++ b/.mailmap @@ -48,6 +48,7 @@ Jonathan Guinet <jonathan.guinet@c-s.fr> Jordi Inglada <jordi.inglada@cesbio.eu> Jordi Inglada <jordi.inglada@cesbio.eu> Jordi Inglada <jordi.inglada@cesbio.cnes.fr> Jordi Inglada <jordi.inglada@cesbio.eu> Jordi Inglada <jordi.inglada@orfeo-toolbox.org> +Julie Brossard <julie.brossard@c-s.fr> Julien Malik <julien.malik@c-s.fr> Julien Malik <julien.malik@c-s.fr> Julien Malik <julien.malik@gmail.com> Julien Malik <julien.malik@c-s.fr> Julien Malik <julien.malik@orfeo-toolbox.org> diff --git a/Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h b/Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h index e170b7d92cc43dfcdb721d3371505da1a1574176..6fa3d81f69b390ad2bfc5ab35a1dd3a5ffb54524 100644 --- a/Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h +++ b/Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h @@ -158,7 +158,7 @@ private: void operator=(const ImageRegionAdaptativeSplitter&) = delete; // This reflects the input image tiling - SizeType m_TileHint; + SizeType m_TileHint{0,0}; // This contains the ImageRegion that is currently being split RegionType m_ImageRegion; diff --git a/Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h b/Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h index e1d73b7311b6eacabb19c77e4ddd6ee0d1797b1c..9a8ea947b0a7dca09aefa2bd2afa649ca3ee9d17 100644 --- a/Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h +++ b/Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h @@ -180,9 +180,9 @@ private: void EstimateOutputOrigin(); typename ImageType::ConstPointer m_Input; - PointType m_OutputOrigin; - SpacingType m_OutputSpacing; - SizeType m_OutputSize; + PointType m_OutputOrigin{0.0}; + SpacingType m_OutputSpacing{0.0}; + SizeType m_OutputSize{0,0}; OutputImageExtentType m_OutputExtent; GenericRSTransformPointerType m_Transform; diff --git a/Modules/Filtering/Contrast/include/otbApplyGainFilter.h b/Modules/Filtering/Contrast/include/otbApplyGainFilter.h index d50896bd2a3773d1c551a3989726e68ca1a80ae2..3f47473c721730c739a3b8d0701c7fe712e54c1f 100644 --- a/Modules/Filtering/Contrast/include/otbApplyGainFilter.h +++ b/Modules/Filtering/Contrast/include/otbApplyGainFilter.h @@ -127,8 +127,8 @@ private: bool m_NoDataFlag; bool m_ThumbSizeFromSpacing; double m_Step; - typename LutType::SizeType m_LutSize; - typename InputImageType::SizeType m_ThumbSize; + typename LutType::SizeType m_LutSize{0,0}; + typename InputImageType::SizeType m_ThumbSize{0,0}; }; } // End namespace otb diff --git a/Modules/Filtering/Contrast/include/otbCLHistogramEqualizationFilter.h b/Modules/Filtering/Contrast/include/otbCLHistogramEqualizationFilter.h index 828881b42fd643fbc841aa447b7d283235b09cce..de693340f5e882097fb0c76a9a48ca92c48c4510 100644 --- a/Modules/Filtering/Contrast/include/otbCLHistogramEqualizationFilter.h +++ b/Modules/Filtering/Contrast/include/otbCLHistogramEqualizationFilter.h @@ -167,7 +167,7 @@ private: typename BufferFilter::Pointer m_BufferFilter; InputPixelType m_Min, m_Max, m_NoData; unsigned long m_NbBin; - typename InputImageType::SizeType m_ThumbSize; + typename InputImageType::SizeType m_ThumbSize{0,0}; double m_Threshold; bool m_NoDataFlag; }; diff --git a/Modules/Filtering/Contrast/include/otbComputeHistoFilter.h b/Modules/Filtering/Contrast/include/otbComputeHistoFilter.h index bf871878134927e6f0b051f40317ce802809f476..2aad4da50c343edec48571b3c0dbd4c5ba7ff1c0 100644 --- a/Modules/Filtering/Contrast/include/otbComputeHistoFilter.h +++ b/Modules/Filtering/Contrast/include/otbComputeHistoFilter.h @@ -135,7 +135,7 @@ private: InputPixelType m_Min; InputPixelType m_Max; InputPixelType m_NoData; - SizeType m_ThumbSize; + SizeType m_ThumbSize{0,0}; bool m_NoDataFlag; double m_Step; float m_Threshold; diff --git a/Modules/Filtering/DEM/include/otbDEMToImageGenerator.h b/Modules/Filtering/DEM/include/otbDEMToImageGenerator.h index 695e25f14e6983bd15353f70bfa6590e0affa172..bf77133120454dbbe3d51723fa68fdcf3b2c2980 100644 --- a/Modules/Filtering/DEM/include/otbDEMToImageGenerator.h +++ b/Modules/Filtering/DEM/include/otbDEMToImageGenerator.h @@ -186,9 +186,9 @@ protected: void GenerateOutputInformation() override; DEMHandlerType::Pointer m_DEMHandler; - PointType m_OutputOrigin; - SpacingType m_OutputSpacing; - SizeType m_OutputSize; + PointType m_OutputOrigin{0.0}; + SpacingType m_OutputSpacing{0.0}; + SizeType m_OutputSize{0,0}; PixelType m_DefaultUnknownValue; bool m_AboveEllipsoid; diff --git a/Modules/Filtering/Smoothing/include/otbFastNLMeansImageFilter.h b/Modules/Filtering/Smoothing/include/otbFastNLMeansImageFilter.h index 09d5d1c2f8e503edfb94e65bac885e9245b81e1e..60b161d6f883aeff81078fb129643c7e5bde507d 100644 --- a/Modules/Filtering/Smoothing/include/otbFastNLMeansImageFilter.h +++ b/Modules/Filtering/Smoothing/include/otbFastNLMeansImageFilter.h @@ -146,8 +146,8 @@ private: ) const; // Define class attributes - InSizeType m_HalfSearchSize; - InSizeType m_HalfPatchSize; + InSizeType m_HalfSearchSize{0,0}; + InSizeType m_HalfPatchSize{0,0}; float m_Var; float m_CutoffDistance; float m_NormalizeDistance; // cutoff**2 * windowSize**2 diff --git a/Modules/Filtering/Statistics/include/otbListSampleToHistogramListGenerator.h b/Modules/Filtering/Statistics/include/otbListSampleToHistogramListGenerator.h index 7b388dbcdd44f9bf4bcd08514e310ab3404f728c..2d7adf2b06546f15b5fff18406e05d02eba07df4 100644 --- a/Modules/Filtering/Statistics/include/otbListSampleToHistogramListGenerator.h +++ b/Modules/Filtering/Statistics/include/otbListSampleToHistogramListGenerator.h @@ -158,7 +158,7 @@ protected: private: // ListSampleConstPointerType m_List; - HistogramSizeType m_Size; + HistogramSizeType m_Size{0,0}; float m_MarginalScale; MeasurementVectorType m_HistogramMin; MeasurementVectorType m_HistogramMax; diff --git a/Modules/Filtering/Statistics/include/otbListSampleToVariableDimensionHistogramGenerator.h b/Modules/Filtering/Statistics/include/otbListSampleToVariableDimensionHistogramGenerator.h index 7707e3dfdec0f78eaa2f213bc1cafa0ed26776c1..77c9d1f1885177b4cfe2ec141c4d1f4b180d7c36 100644 --- a/Modules/Filtering/Statistics/include/otbListSampleToVariableDimensionHistogramGenerator.h +++ b/Modules/Filtering/Statistics/include/otbListSampleToVariableDimensionHistogramGenerator.h @@ -120,7 +120,7 @@ protected: using Superclass::MakeOutput; private: - HistogramSizeType m_Sizes; + HistogramSizeType m_Sizes{0,0}; float m_MarginalScale; MeasurementVectorType m_HistogramMin; MeasurementVectorType m_HistogramMax; diff --git a/Modules/Learning/DimensionalityReductionLearning/include/otbSOMModel.h b/Modules/Learning/DimensionalityReductionLearning/include/otbSOMModel.h index 27d430829af8858160addfbbf6e078a64c468c59..86e7ed2ac2e628f4e6a90abf55fae7bf85e78359 100644 --- a/Modules/Learning/DimensionalityReductionLearning/include/otbSOMModel.h +++ b/Modules/Learning/DimensionalityReductionLearning/include/otbSOMModel.h @@ -112,7 +112,7 @@ private: virtual TargetSampleType DoPredict(const InputSampleType& input, ConfidenceValueType* quality = nullptr, ProbaSampleType* proba = nullptr) const override; /** Map size (width, height) */ - SizeType m_MapSize; + SizeType m_MapSize{0,0}; /** Number of iterations */ unsigned int m_NumberOfIterations; /** Initial learning coefficient */ @@ -120,7 +120,7 @@ private: /** Final learning coefficient */ double m_BetaEnd; /** Initial neighborhood size */ - SizeType m_NeighborhoodSizeInit; + SizeType m_NeighborhoodSizeInit{0,0}; /** Minimum initial neuron weights */ InputValueType m_MinWeight; /** Maximum initial neuron weights */ diff --git a/Modules/Registration/Stereo/include/otbMulti3DMapToDEMFilter.h b/Modules/Registration/Stereo/include/otbMulti3DMapToDEMFilter.h index fda4b4fb3834ed24c9f310772e2d59cad6b1819f..20844dfdcd6a5ba656221819ba272aa4d1ecbc86 100644 --- a/Modules/Registration/Stereo/include/otbMulti3DMapToDEMFilter.h +++ b/Modules/Registration/Stereo/include/otbMulti3DMapToDEMFilter.h @@ -296,10 +296,10 @@ private: double m_ElevationMax; - SizeType m_OutputSize; + SizeType m_OutputSize{0,0}; IndexType m_OutputStartIndex; - SpacingType m_OutputSpacing; - OriginType m_OutputOrigin; + SpacingType m_OutputSpacing{0.0}; + OriginType m_OutputOrigin{0.0}; SizeType m_Margin; diff --git a/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.h b/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.h index 88d79d6d2e2684e3f3483f9342d6195503b460bd..9f5dc502694fbeca1035f5ad5e56d4a9fa4f4613 100644 --- a/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.h +++ b/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.h @@ -152,7 +152,7 @@ private: std::string m_FieldName; std::string m_LayerName; OGRwkbGeometryType m_GeometryType; - SizeType m_StreamSize; + SizeType m_StreamSize{0,0}; std::vector<std::string> m_OGRLayerCreationOptions; OGRFieldType m_FieldType; diff --git a/Modules/Segmentation/Conversion/include/otbVectorDataToLabelImageFilter.h b/Modules/Segmentation/Conversion/include/otbVectorDataToLabelImageFilter.h index 2622b0d0e36aed8da92c9d05abd61ce912e31b57..1306c6102fdb4d88b2ccc46522b1f377570e59a9 100644 --- a/Modules/Segmentation/Conversion/include/otbVectorDataToLabelImageFilter.h +++ b/Modules/Segmentation/Conversion/include/otbVectorDataToLabelImageFilter.h @@ -185,9 +185,9 @@ private: // Output params std::string m_OutputProjectionRef; - OutputSpacingType m_OutputSpacing; - OutputOriginType m_OutputOrigin; - OutputSizeType m_OutputSize; + OutputSpacingType m_OutputSpacing{0.0}; + OutputOriginType m_OutputOrigin{0.0}; + OutputSizeType m_OutputSize{0,0}; OutputIndexType m_OutputStartIndex; }; // end of class VectorDataToLabelImageFilter diff --git a/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapFilter.h b/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapFilter.h index 2562896ad3d17be3715444a96df3d4d5d2cf22f2..7834cd8f09a83517cb915d8b8424474527eeb213 100644 --- a/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapFilter.h +++ b/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapFilter.h @@ -195,9 +195,9 @@ private: LabelType m_lab; // TODO donc need this attribute now compute with VectorDataProperties - SpacingType m_Spacing; - OriginType m_Origin; - SizeType m_Size; + SpacingType m_Spacing{0.0}; + OriginType m_Origin{0.0}; + SizeType m_Size{0,0}; IndexType m_StartIndex; DirectionType m_Direction; diff --git a/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapWithAttributesFilter.h b/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapWithAttributesFilter.h index 4f1a0d5ca49e4b977d074f5ba3be04d98ebcb79d..7b73c4a091ba723b2d0f10b7e92e07a08a527a74 100644 --- a/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapWithAttributesFilter.h +++ b/Modules/Segmentation/Conversion/include/otbVectorDataToLabelMapWithAttributesFilter.h @@ -228,9 +228,9 @@ private: // TODO don't need this attributes now compute with VectorDataProperties - SpacingType m_Spacing; - OriginType m_Origin; - SizeType m_Size; + SpacingType m_Spacing{0.0}; + OriginType m_Origin{0.0}; + SizeType m_Size{0,0}; IndexType m_StartIndex; DirectionType m_Direction; diff --git a/Modules/Segmentation/OGRProcessing/include/otbOGRLayerStreamStitchingFilter.h b/Modules/Segmentation/OGRProcessing/include/otbOGRLayerStreamStitchingFilter.h index 94e190241ff1d036fe8c4d6014e0cd83bb59f158..3ee702b7920d220b0728e76d2b30e92e7c0ebbdb 100644 --- a/Modules/Segmentation/OGRProcessing/include/otbOGRLayerStreamStitchingFilter.h +++ b/Modules/Segmentation/OGRProcessing/include/otbOGRLayerStreamStitchingFilter.h @@ -145,7 +145,7 @@ private: OGRLayerStreamStitchingFilter(const Self&) = delete; void operator=(const Self&) = delete; - SizeType m_StreamSize; + SizeType m_StreamSize{0,0}; unsigned int m_Radius; OGRLayerType m_OGRLayer; };