Commit bcc511ca authored by Cédric Traizet's avatar Cédric Traizet

STY: apply clang format

parent afde7ad7
Pipeline #2639 failed with stages
in 6 minutes and 36 seconds
......@@ -125,7 +125,7 @@ public:
typedef HooverMatrixFilterType::MatrixType MatrixType;
typedef otb::HooverInstanceFilter<LabelMapType> InstanceFilterType;
typedef otb::LabelMapToAttributeImageFilter<LabelMapType, FloatVectorImageType> AttributeImageFilterType;
typedef otb::LabelMapToAttributeImageFilter<LabelMapType, FloatVectorImageType> AttributeImageFilterType;
typedef otb::FunctorImageFilter<Functor::HooverColorMapping<FloatPixelType, Int16PixelType>> HooverColorFilterType;
private:
......
......@@ -50,8 +50,8 @@ public:
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
typedef typename TInputHistogram::MeasurementType MeasurementType;
typedef typename TInputHistogram::AbsoluteFrequencyType FrequencyType; // FIXME several possibilities in the new framework
typedef typename TInputHistogram::MeasurementType MeasurementType;
typedef typename TInputHistogram::AbsoluteFrequencyType FrequencyType; // FIXME several possibilities in the new framework
typedef typename itk::NumericTraits<MeasurementType>::RealType RealType;
/**Standard Macros */
......
......@@ -48,11 +48,11 @@ class LocalRxDetectionFunctor
public:
/** typedef */
typedef typename itk::Neighborhood<itk::VariableLengthVector<TInput>>::OffsetType OffsetType;
typedef typename itk::VariableLengthVector<TInput> VectorMeasurementType;
typedef itk::Statistics::ListSample<VectorMeasurementType> ListSampleType;
typedef itk::Statistics::CovarianceSampleFilter<ListSampleType> CovarianceCalculatorType;
typedef typename CovarianceCalculatorType::MeasurementVectorRealType MeasurementVectorRealType;
typedef typename CovarianceCalculatorType::MatrixType MatrixType;
typedef typename itk::VariableLengthVector<TInput> VectorMeasurementType;
typedef itk::Statistics::ListSample<VectorMeasurementType> ListSampleType;
typedef itk::Statistics::CovarianceSampleFilter<ListSampleType> CovarianceCalculatorType;
typedef typename CovarianceCalculatorType::MeasurementVectorRealType MeasurementVectorRealType;
typedef typename CovarianceCalculatorType::MatrixType MatrixType;
private:
// Internal radius along the X axis
......
......@@ -111,7 +111,7 @@ void JitterSamples(const SampleVectorType& inSamples, const size_t nbSamples, Sa
std::srand(seed);
// We use one gaussian distribution per component since they may
// have different stds
auto stds = EstimateStds(inSamples);
auto stds = EstimateStds(inSamples);
std::vector<std::normal_distribution<double>> gaussDis(nbComponents);
#ifdef _OPENMP
#pragma omp parallel for
......
......@@ -200,15 +200,15 @@ private:
int m_ActivateFunction;
std::vector<unsigned int> m_LayerSizes;
double m_Alpha;
double m_Beta;
double m_BackPropDWScale;
double m_BackPropMomentScale;
double m_RegPropDW0;
double m_RegPropDWMin;
int m_TermCriteriaType;
int m_MaxIter;
double m_Epsilon;
double m_Alpha;
double m_Beta;
double m_BackPropDWScale;
double m_BackPropMomentScale;
double m_RegPropDW0;
double m_RegPropDWMin;
int m_TermCriteriaType;
int m_MaxIter;
double m_Epsilon;
cv::Mat m_MatrixOfLabels;
MapOfLabelsType m_MapOfLabels;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment