iRoCS Toolbox  1.1.0
Namespaces | Functions
gvf-inl.hh File Reference
#include <config.hh>
#include "gvf.hh"
#include <libArrayToolbox/TypeTraits.hh>
Include dependency graph for gvf-inl.hh:

Go to the source code of this file.

Namespaces

 segmentation
 

Functions

template<typename T >
void segmentation::gradientVectorFlowSOR (blitz::Array< blitz::TinyVector< T, 3 >, 3 > &gradient, blitz::TinyVector< T, 3 > const &el_size_um, T mu, T nu, int max_iter, iRoCS::ProgressReporter *progress)
 Solve Euler-Lagrange equation for gradient vector flow using successive over-relaxation

\[ 0 = \mu \Delta u_i - \|\nabla f\|^2 ( u_i - \frac{\partial f}{\partial i} ) \]

u : output gradient vector flow f : input vector field. More...

 
template<typename T >
void segmentation::msGradientVectorFlow (blitz::Array< blitz::TinyVector< T, 3 >, 3 > &gradient, blitz::TinyVector< T, 3 > const &el_size_um, T mu, T hs, T hr, int max_iter, iRoCS::ProgressReporter *progress)