35 #ifndef AIMS_SIGNALFILTER_MINFILTER_H 36 #define AIMS_SIGNALFILTER_MINFILTER_H 99 _sx(sx), _sy(sy), _sz(sz)
102 template <
typename T>
106 template <
typename T>
117 template <
typename T>
120 std::vector<double> amplitude(3,0.);
121 amplitude[0] = .5 * (double)_sx;
122 amplitude[1] = .5 * (double)_sy;
123 amplitude[2] = .5 * (double)_sz;
124 aims::strel::Cube se( amplitude,
true );
carto::DataTypeTraits< T >::ChannelType ChannelType
virtual AimsData< T > doit(const AimsData< T > &in)
MinFilter< T > * clone() const
ImageAlgorithmInterface<T> Pure virtual method.
MinFilter(const MinFilter< T > &other)
virtual AimsData< T > doit(const AimsData< T > &in)
Convenience method that execute the algorithm on the input image.
MinFilter(const carto::Object &options)
MinSmoothing(int sx=3, int sy=3, int sz=3)
ElementFilteringImageAlgorithm & operator=(ElementFilteringImageAlgorithm &other)
MinFilter< T > & operator=(const MinFilter< T > &other)
MinFilter(const StructuringElement &se=strel::Cube(1.0), const carto::Object &options=carto::none())
virtual void execute(const carto::VolumeRef< T > &in, carto::VolumeRef< T > &out) const
ImageAlgorithmInterface<T> Pure virtual method.