Go to the documentation of this file.
52 #ifndef __PCL_AdaptiveLocalFilter_h
53 #define __PCL_AdaptiveLocalFilter_h
58 #include <pcl/Diagnostics.h>
109 : m_size(
Max( 3, size|1 ) )
110 , m_sigma(
Max( 0.0, sigma ) )
140 PCL_PRECONDITION( size >= 3 )
141 PCL_PRECONDITION( (size & 1) != 0 )
142 m_size =
Max( 3, size|1 );
170 PCL_PRECONDITION( sigma >= 0 )
171 m_sigma =
Max( 0.0, sigma );
197 bool m_useMAD =
false;
213 #endif // __PCL_AdaptiveLocalFilter_h
AdaptiveLocalFilter(double sigma, int size=5, bool useMAD=false)
Adaptive, local noise reduction filter in the spatial domain.
constexpr const T & Max(const T &a, const T &b) noexcept
void UseMAD(bool useMAD=true)
A process using multiple concurrent execution threads.
void Apply(FI i, FI j, F f) noexcept(noexcept(f))
void SetSigma(double sigma)
~AdaptiveLocalFilter() override
Implements a generic, two-dimensional, shared or local image.