35 #ifndef AIMS_SIGNALFILTER_MEANFILTER_H 36 #define AIMS_SIGNALFILTER_MEANFILTER_H 105 template <
typename T>
123 template <
typename T>
125 _sx(sx), _sy(sy), _sz(sz)
128 template <
typename T>
132 template <
typename T>
143 template <
typename T>
146 std::vector<double> amplitude(3,0.);
147 amplitude[0] = .5 * (double)_sx;
148 amplitude[1] = .5 * (double)_sy;
149 amplitude[2] = .5 * (double)_sz;
150 aims::strel::Cube se( amplitude,
true );
MeanFilter< T > & operator=(const MeanFilter< T > &other)
NotNullMeanFilter(const carto::Object &options)
virtual AimsData< T > doit(const AimsData< T > &in)
carto::DataTypeTraits< T >::ChannelType ChannelType
NotNullMeanFilter< T > & operator=(const NotNullMeanFilter< T > &other)
MeanSmoothing(int sx=3, int sy=3, int sz=3)
MeanFilter< T > * clone() const
ImageAlgorithmInterface<T> Pure virtual method.
virtual AimsData< T > doit(const AimsData< T > &in)
Convenience method that execute the algorithm on the input image.
MeanFilter(const StructuringElement &se=strel::Cube(1.0), const carto::Object &options=carto::none())
carto::DataTypeTraits< T >::ChannelType ChannelType
ElementFilteringImageAlgorithm & operator=(ElementFilteringImageAlgorithm &other)
NotNullMeanFilter(const StructuringElement &se=strel::Cube(1.0), const carto::Object &options=carto::none())
MeanFilter(const carto::Object &options)
NotNullMeanFilter(const NotNullMeanFilter< T > &other)
MeanFilter(const MeanFilter< T > &other)
NotNullMeanFilter< T > * clone() const
ImageAlgorithmInterface<T> Pure virtual method.
virtual void execute(const carto::VolumeRef< T > &in, carto::VolumeRef< T > &out) const
ImageAlgorithmInterface<T> Pure virtual method.