Jerome Piovano

Research in Medical Imaging and Computer Vision

Schemes Class Template Reference

Compute several mathematical operations using finite differences numerical schemes. More...

#include <Schemes.h>

List of all members.


Public Types

typedef BaseImage< DIM, Pixel > ImageType
typedef ImageType::Index Index

Static Public Member Functions

static functions


static void find_neighbours (const ImageType &phi, const Index &ind, int inf_coords[], int sup_coords[])
 Fill the array 'sup_coords' and 'inf_coords' with the neighborings coords of 'ind'.
static Pixel laplacian (const ImageType &phi, const Index &ind)
 Compute the laplacian $\Delta(\phi)$ by finite differences.
static Pixel mean_curvature (const ImageType &phi, const Index &ind)
 Compute the mean curvature $\nabla\left(\frac{\nabla \phi}{\|\nabla \phi\|}\right)$ by finite differences.
static void normal (const ImageType &phi, const Index &ind, Pixel norm[])
 Compute the normal $\frac{\nabla \phi}{\|\nabla \phi\|}$ by finite differences.
static void gradient (const ImageType &phi, const Index &ind, Pixel grad[])
 Compute the gradient $\nabla \phi$ by finite differences.
static float sq_norm_gradient (const ImageType &phi, const Index &ind)
 Compute the squared norm of the gradient $\|\nabla \phi\|^2$ by finite differences.
static float norm_gradient (const ImageType &phi, const Index &ind)
 Compute the norm of the gradient $\|\nabla \phi\|$ by finite differences.
static Pixel other_mean_curvature (const ImageType &phi, const Index &ind)
 Compute the same mean curvature as the previous one, using another kind of discretization.

Detailed Description

template<unsigned DIM, typename Pixel = float>
class levelset::Schemes< DIM, Pixel >

Compute several mathematical operations using finite differences numerical schemes.

Author:
Jean Philippe Pons, Mikael Rousson
Examples:

2D_FastMarching.C, and 2D_MinimalPath.C.

Definition at line 24 of file Schemes.h.


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

For further information, please contact Jerome Piovano - Last update 2008-02-08