highres-cortex 6.0.4
yl::LaplaceSolver< Real > Class Template Reference

#include <highres-cortex/laplace_solver.hh>

Public Member Functions

 LaplaceSolver (const carto::VolumeRef< int16_t > &classif)
 
void initialize_solution ()
 Initialize the output volume to a reasonable value.
 
void SOR (Real absolute_precision, float typical_cortical_thickness)
 
void clamp_to_range (Real min, Real max)
 
void eliminate_extrema ()
 
carto::VolumeRef< Real > solution () const
 
void set_verbosity (const int verbosity)
 

Static Public Member Functions

static Real best_precision ()
 

Detailed Description

template<typename Real>
class yl::LaplaceSolver< Real >

Definition at line 50 of file laplace_solver.hh.

Constructor & Destructor Documentation

◆ LaplaceSolver()

template<typename Real>
yl::LaplaceSolver< Real >::LaplaceSolver ( const carto::VolumeRef< int16_t > & classif)
explicit

Member Function Documentation

◆ best_precision()

template<typename Real>
static Real yl::LaplaceSolver< Real >::best_precision ( )
inlinestatic

Definition at line 75 of file laplace_solver.hh.

References std::numeric_limits< typename _Tp >::epsilon().

◆ clamp_to_range()

template<typename Real>
void yl::LaplaceSolver< Real >::clamp_to_range ( Real min,
Real max )

◆ eliminate_extrema()

template<typename Real>
void yl::LaplaceSolver< Real >::eliminate_extrema ( )

◆ initialize_solution()

template<typename Real>
void yl::LaplaceSolver< Real >::initialize_solution ( )

Initialize the output volume to a reasonable value.

0 in CSF, 1 in white matter, 0.5 in the cortex

◆ set_verbosity()

template<typename Real>
void yl::LaplaceSolver< Real >::set_verbosity ( const int verbosity)
inline

Definition at line 79 of file laplace_solver.hh.

◆ solution()

template<typename Real>
carto::VolumeRef< Real > yl::LaplaceSolver< Real >::solution ( ) const

◆ SOR()

template<typename Real>
void yl::LaplaceSolver< Real >::SOR ( Real absolute_precision,
float typical_cortical_thickness )

The documentation for this class was generated from the following file: