24 #include <Base/Image/Image.hh>
25 #include <Filter/FilterNToN.hh>
38 template<
class InputStorageType,
class OutputStorageType>
40 :
public FilterNToN<InputStorageType, OutputStorageType>
71 OutputStorageType>& dst)
const;
79 OutputStorageType>& dst,
const float& Threshold = 0.0f)
const;
87 OutputStorageType>& dst,
const float& Threshold = 0.0f)
const;
92 OutputStorageType>& dst,
const float& threshold)
const;
104 OutputStorageType>& dst,
const float &threshold,
105 const unsigned &min_support = 1)
const;
112 OutputStorageType>& dst,
const float &Threshold = 3.0f)
const;
116 OutputStorageType>& dst);
120 OutputStorageType>& dst,
unsigned int px,
unsigned int py,
125 OutputStorageType>& dst,
133 OutputStorageType>& dst);
137 OutputStorageType>& dst);
142 _MedianSize = newsize;
143 if (secondsize != -1)
144 _secondSize = secondsize;
146 _secondSize = _MedianSize;
165 virtual void GetBordersValid_(
int &border_x,
int &border_y)
const;
171 #endif // __Median_hh__
base class for simple n->n filter implementations