/home/oan/prosjekt/gotools/segmentation/gpl_distro/lsseg_1.0_gpl/src/level_set.C File Reference

Implements level_set.h. More...

#include <functional>
#include <stdexcept>
#include <time.h>
#include <vector>
#include <boost/lambda/lambda.hpp>
#include "Region.h"
#include "errormacros.h"
#include "Image.h"
#include "LevelSetFunction.h"
#include "level_set.h"
#include "simple_tools.h"
#include "cimg_dependent.h"
#include "Mask.h"
#include "Filters.h"
#include "DiscreteApproximations.h"

Go to the source code of this file.

Namespaces

namespace  lsseg

Functions

void visualize_multisets_impl (vector< const LevelSetFunction * > phi_pts, Image< double > &target, const int **const rgb_color)
void godunov_phi_2D (double a_term, double phi_xl, double phi_xr, double phi_yl, double phi_yr, double &phi_x, double &phi_y)
void godunov_phi_3D (double a_term, double phi_xl, double phi_xr, double phi_yl, double phi_yr, double phi_zl, double phi_zr, double &phi_x, double &phi_y, double &phi_z)
bool defined (int x, int y, int z, int X, int Y, int Z, const Mask *mask)
double neumann_curvature_at (int x, int y, int z, const Image< double > &phi, const Mask *mask)
double dirichlet_curvature_at (int x, int y, int z, const Image< double > &phi, const Mask *mask)
void neumann_d1_leftright_2D (int x, int y, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr)
void dirichlet_d1_leftright_2D (int x, int y, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr)
void neumann_d1_leftright_3D (int x, int y, int z, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr, double &dzl, double &dzr)
void dirichlet_d1_leftright_3D (int x, int y, int z, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr, double &dzl, double &dzr)
void lsseg::normal_direction_flow_2D (const LevelSetFunction &phi, LevelSetFunction &advect, BorderCondition bcond, double &H1, double &H2, const Mask *const changes_allowed_mask, const Mask *const defined_region_mask)
void lsseg::normal_direction_flow_3D (const LevelSetFunction &phi, LevelSetFunction &advect, BorderCondition bcond, double &H1, double &H2, double &H3, const Mask *const changes_allowed_mask, const Mask *const defined_region_mask)
void lsseg::visualize_multisets (const LevelSetFunction **const images, int num_images, Image< double > &target, const int **const rgb_color)
int lsseg::visualize_level_set (const LevelSetFunction &img, Image< double > &target, double threshold, double outside_intensity, double curve_intensity, double interior_intensity, const Mask *const mask, double mask_intensity)
void neumann_d1_leftright_2D (int x, int y, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr)
void dirichlet_d1_leftright_2D (int x, int y, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr)
void dirichlet_d1_leftright_3D (int x, int y, int z, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr, double &dzl, double &dzr)
void neumann_d1_leftright_3D (int x, int y, int z, const Image< double > &phi, const Mask *mask, double &dxl, double &dxr, double &dyl, double &dyr, double &dzl, double &dzr)
double dirichlet_curvature_at (int x, int y, int z, const Image< double > &phi, const Mask *mask)
double neumann_curvature_at (int x, int y, int z, const Image< double > &phi, const Mask *mask)
void visualize_multisets_impl (vector< const LevelSetFunction * > images, Image< double > &target, const int **const rgb_color)
void godunov_phi_2D (double a_term, double phi_xl, double phi_xr, double phi_yl, double phi_yr, double &phi_x, double &phi_y)
void godunov_phi_3D (double a_term, double phi_xl, double phi_xr, double phi_yl, double phi_yr, double phi_zl, double phi_zr, double &phi_x, double &phi_y, double &phi_z)


Detailed Description

Implements level_set.h.

Definition in file level_set.C.


Function Documentation

bool @5::defined ( int  x,
int  y,
int  z,
int  X,
int  Y,
int  Z,
const Mask mask 
) [inline, static]

Definition at line 97 of file level_set.C.

double @6::dirichlet_curvature_at ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask 
) [static]

Definition at line 569 of file level_set.C.

double @5::dirichlet_curvature_at ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask 
) [static]

void @6::dirichlet_d1_leftright_2D ( int  x,
int  y,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr 
) [static]

Definition at line 422 of file level_set.C.

void @5::dirichlet_d1_leftright_2D ( int  x,
int  y,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr 
) [static]

void @6::dirichlet_d1_leftright_3D ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr,
double &  dzl,
double &  dzr 
) [static]

Definition at line 463 of file level_set.C.

void @5::dirichlet_d1_leftright_3D ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr,
double &  dzl,
double &  dzr 
) [static]

void @6::godunov_phi_2D ( double  a_term,
double  phi_xl,
double  phi_xr,
double  phi_yl,
double  phi_yr,
double &  phi_x,
double &  phi_y 
) [static]

Definition at line 717 of file level_set.C.

void @5::godunov_phi_2D ( double  a_term,
double  phi_xl,
double  phi_xr,
double  phi_yl,
double  phi_yr,
double &  phi_x,
double &  phi_y 
) [inline, static]

void @6::godunov_phi_3D ( double  a_term,
double  phi_xl,
double  phi_xr,
double  phi_yl,
double  phi_yr,
double  phi_zl,
double  phi_zr,
double &  phi_x,
double &  phi_y,
double &  phi_z 
) [static]

Definition at line 746 of file level_set.C.

void @5::godunov_phi_3D ( double  a_term,
double  phi_xl,
double  phi_xr,
double  phi_yl,
double  phi_yr,
double  phi_zl,
double  phi_zr,
double &  phi_x,
double &  phi_y,
double &  phi_z 
) [inline, static]

double @6::neumann_curvature_at ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask 
) [static]

Definition at line 581 of file level_set.C.

double @5::neumann_curvature_at ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask 
) [static]

void @6::neumann_d1_leftright_2D ( int  x,
int  y,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr 
) [static]

Definition at line 380 of file level_set.C.

void @5::neumann_d1_leftright_2D ( int  x,
int  y,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr 
) [static]

void @6::neumann_d1_leftright_3D ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr,
double &  dzl,
double &  dzr 
) [static]

Definition at line 516 of file level_set.C.

void @5::neumann_d1_leftright_3D ( int  x,
int  y,
int  z,
const Image< double > &  phi,
const Mask mask,
double &  dxl,
double &  dxr,
double &  dyl,
double &  dyr,
double &  dzl,
double &  dzr 
) [static]

void @6::visualize_multisets_impl ( vector< const LevelSetFunction * >  images,
Image< double > &  target,
const int **const   rgb_color 
) [static]

Definition at line 676 of file level_set.C.

void @5::visualize_multisets_impl ( vector< const LevelSetFunction * >  phi_pts,
Image< double > &  target,
const int **const   rgb_color 
) [static]


Generated on Tue Nov 28 18:35:47 2006 for lsseg by  doxygen 1.4.7