18 #ifndef __itkMovingHistogramMorphologicalGradientImageFilter_h
19 #define __itkMovingHistogramMorphologicalGradientImageFilter_h
28 template<
class TInputPixel >
42 typedef std::map< TInputPixel, SizeValueType >
MapType;
54 inline TInputPixel
GetValue(
const TInputPixel &)
62 typename MapType::iterator mapIt =
m_Map.begin();
63 while ( mapIt !=
m_Map.end() )
65 if ( mapIt->second == 0 )
71 TInputPixel toErase = mapIt->first;
84 return m_Map.rbegin()->first -
m_Map.begin()->first;
98 template<
class TInputPixel >
194 class MorphologicalGradientHistogram<signed char>:
195 public VectorMorphologicalGradientHistogram<signed char>
200 class MorphologicalGradientHistogram<bool>:
201 public VectorMorphologicalGradientHistogram<bool>
224 template<
class TInputImage,
class TOutputImage,
class TKernel >
227 typename Function::MorphologicalGradientHistogram< typename TInputImage::
260 itkStaticConstMacro(ImageDimension,
unsigned int,
261 TInputImage::ImageDimension);
265 static bool GetUseVectorBasedAlgorithm()
275 void operator=(
const Self &);