35 #ifndef AIMS_PRIMALSKETCH_COUPLEDDIFFUSION2DSMOOTHER_H
36 #define AIMS_PRIMALSKETCH_COUPLEDDIFFUSION2DSMOOTHER_H
56 float beta=1.0f,
float gamma=1.0f )
57 : _alpha(alpha), _beta(beta),
_gamma(gamma)
61 if (Delta_t<=0.25) _dt=Delta_t;
64 std::cerr <<
"Diffusion Smoother : dt must be <= 0.25" << std::endl;
68 float dt() {
return _dt;}
73 int maxiter,
bool verbose=
false );
std::pair< carto::VolumeRef< T >, carto::VolumeRef< T > > doSmoothing(const std::pair< carto::VolumeRef< T >, carto::VolumeRef< T > > &ima, const std::pair< carto::VolumeRef< T >, carto::VolumeRef< T > > &constraint, int maxiter, bool verbose=false)
CoupledDiffusion2DSmoother(float delta_t, float alpha=1.0f, float beta=1.0f, float gamma=1.0f)
void SetDt(float Delta_t)