18 #ifndef __itkStatisticsAlgorithm_h
19 #define __itkStatisticsAlgorithm_h
29 #if !defined( _MSC_VER )
31 template<
class TSize >
34 template<
class TValue >
35 TValue
MedianOfThree(
const TValue a,
const TValue b,
const TValue c);
37 template<
class TSample >
39 typename TSample::ConstIterator begin,
40 typename TSample::ConstIterator end,
41 typename TSample::MeasurementVectorType & min,
42 typename TSample::MeasurementVectorType & max);
44 template<
class TSubsample >
48 typename TSubsample::MeasurementVectorType & min,
49 typename TSubsample::MeasurementVectorType & max,
50 typename TSubsample::MeasurementVectorType & mean);
64 template<
class TSubsample >
66 unsigned int activeDimension,
67 int beginIndex,
int endIndex,
68 const typename TSubsample::MeasurementType partitionValue);
78 template<
class TSubsample >
79 typename TSubsample::MeasurementType
81 unsigned int activeDimension,
82 int beginIndex,
int endIndex,
84 typename TSubsample::MeasurementType medianGuess);
92 template<
class TSubsample >
93 typename TSubsample::MeasurementType
95 unsigned int activeDimension,
96 int beginIndex,
int endIndex,
105 template<
class TSubsample >
106 typename TSubsample::MeasurementType
108 unsigned int activeDimension,
109 int beginIndex,
int endIndex,
112 template<
class TSubsample >
114 unsigned int activeDimension,
115 int beginIndex,
int endIndex);
117 template<
class TSubsample >
119 unsigned int activeDimension,
120 int beginIndex,
int endIndex,
int node);
122 template<
class TSubsample >
124 unsigned int activeDimension,
125 int beginIndex,
int endIndex);
127 template<
class TSubsample >
129 unsigned int activeDimension,
135 template<
class TSubsample >
137 unsigned int activeDimension,
138 int beginIndex,
int endIndex,
141 #endif // #if defined(_MSC_VER)
146 #ifndef ITK_MANUAL_INSTANTIATION
147 #include "itkStatisticsAlgorithm.hxx"
150 #endif // #ifndef __itkStatisticsAlgorithm_h