From 00558c5064bcee538f24abf2abbfff93bc2a45f5 Mon Sep 17 00:00:00 2001 From: Luc Hermitte <luc.hermitte@c-s.fr> Date: Fri, 1 Jun 2012 15:16:22 +0200 Subject: [PATCH] WRG: OTB-148/MeanShift2 -> Init-list order fixed --- Code/BasicFilters/otbMeanShiftSmoothingImageFilter.txx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Code/BasicFilters/otbMeanShiftSmoothingImageFilter.txx b/Code/BasicFilters/otbMeanShiftSmoothingImageFilter.txx index 53b0a22259..142b1de710 100644 --- a/Code/BasicFilters/otbMeanShiftSmoothingImageFilter.txx +++ b/Code/BasicFilters/otbMeanShiftSmoothingImageFilter.txx @@ -33,10 +33,15 @@ namespace otb template <class TInputImage, class TOutputImage, class TKernel, class TOutputIterationImage> MeanShiftSmoothingImageFilter<TInputImage, TOutputImage, TKernel, TOutputIterationImage> ::MeanShiftSmoothingImageFilter() -: m_MaxIterationNumber( 10 ) +: m_RangeBandwidth( 16. ) , m_SpatialBandwidth( 3 ) - , m_RangeBandwidth( 16. ) + // , m_SpatialRadius(???) , m_Threshold( 1e-3 ) + , m_MaxIterationNumber( 10 ) + // , m_Kernel(...) + // , m_NumberOfComponentsPerPixel(...) + // , m_JointImage(0) + // , m_ModeTable(0) , m_ModeSearchOptimization( true ) , m_BucketOptimization( false ) { -- GitLab