#include <map>
#include <set>
#include <vector>
#include <limits>
#include <stdexcept>
#include "Image.h"
#include "LevelSetFunction.h"
#include "Mask.h"
#include "cimg_dependent.h"
#include <iostream>
Go to the source code of this file.
Namespaces | |
namespace | lsseg |
Typedefs | |
typedef multimap< double, Coord2D > | dist_map_2D |
typedef multimap< double, Coord3D > | dist_map_3D |
typedef map< Coord2D, dist_map_2D::iterator > | coord_map_2D |
typedef map< Coord3D, dist_map_3D::iterator > | coord_map_3D |
Functions | |
bool | operator< (const Coord2D &c1, const Coord2D &c2) |
bool | operator== (const Coord2D &c1, const Coord2D &c2) |
bool | operator< (const Coord3D &c1, const Coord3D &c2) |
bool | operator== (const Coord3D &c1, const Coord3D &c2) |
void | init_zero_level_interface_2D (const LevelSetFunction &, LevelSetFunction &, const Mask *m) |
void | init_zero_level_interface_3D (const LevelSetFunction &, LevelSetFunction &, const Mask *m) |
void | init_tentative_values_2D (const LevelSetFunction &, dist_map_2D &, dist_map_2D &, const Mask *m) |
void | init_tentative_values_3D (const LevelSetFunction &, dist_map_3D &, dist_map_3D &, const Mask *m) |
double | compute_dist_estimate_2D (const double x1, const double x2, const double y1, const double y2) |
double | compute_dist_estimate_3D (const double x1, const double x2, const double y1, const double y2, const double z1, const double z2) |
void | march_out_2D (dist_map_2D &tentatives, coord_map_2D &inv_tent, LevelSetFunction &target, const Mask *m, bool negative) |
void | march_out_3D (dist_map_3D &tentatives, coord_map_3D &inv_tent, LevelSetFunction &target, const Mask *m, bool negative) |
double | distance_poly (double d1, double d2) |
double | distance_poly (double d1, double d2, double d3) |
void | init_zero_level_interface_2D (const lsseg::LevelSetFunction &src, lsseg::LevelSetFunction &trg, const Mask *m) |
void | init_zero_level_interface_3D (const lsseg::LevelSetFunction &src, lsseg::LevelSetFunction &trg, const Mask *m) |
void | init_tentative_values_2D (const lsseg::LevelSetFunction &phi, dist_map_2D &positive_map, dist_map_2D &negative_map, const Mask *m) |
void | init_tentative_values_3D (const lsseg::LevelSetFunction &phi, dist_map_3D &positive_map, dist_map_3D &negative_map, const Mask *m) |
double | compute_dist_estimate_2D (const double x1, const double x2, const double y1, const double y2) |
double | compute_dist_estimate_3D (const double x1, const double x2, const double y1, const double y2, const double z1, const double z2) |
double | distance_poly (double d1, double d2) |
double | distance_poly (double d1, double d2, double d3) |
void | march_out_2D (dist_map_2D &tentatives, coord_map_2D &inv_tent, lsseg::LevelSetFunction &target, const Mask *m, bool negative) |
void | march_out_3D (dist_map_3D &tentatives, coord_map_3D &inv_tent, LevelSetFunction &target, const Mask *m, bool negative) |
Variables | |
const double | UNDEF_VAL = 100000 |
int | x_ |
int | y_ |
int | x_ |
int | y_ |
int | z_ |
const size_t | MAX_ANTICIPATED_RES = 10000 |
Definition in file LevelSetFunction_reinitialize.C.
typedef map<Coord2D, dist_map_2D::iterator> coord_map_2D [static] |
Definition at line 137 of file LevelSetFunction_reinitialize.C.
typedef map<Coord3D, dist_map_3D::iterator> coord_map_3D [static] |
Definition at line 138 of file LevelSetFunction_reinitialize.C.
typedef multimap<double, Coord2D > dist_map_2D [static] |
Definition at line 135 of file LevelSetFunction_reinitialize.C.
typedef multimap<double, Coord3D > dist_map_3D [static] |
Definition at line 136 of file LevelSetFunction_reinitialize.C.
double @8::compute_dist_estimate_2D | ( | const double | x1, | |
const double | x2, | |||
const double | y1, | |||
const double | y2 | |||
) | [static] |
Definition at line 626 of file LevelSetFunction_reinitialize.C.
double @7::compute_dist_estimate_2D | ( | const double | x1, | |
const double | x2, | |||
const double | y1, | |||
const double | y2 | |||
) | [static] |
double @8::compute_dist_estimate_3D | ( | const double | x1, | |
const double | x2, | |||
const double | y1, | |||
const double | y2, | |||
const double | z1, | |||
const double | z2 | |||
) | [static] |
Definition at line 656 of file LevelSetFunction_reinitialize.C.
double @7::compute_dist_estimate_3D | ( | const double | x1, | |
const double | x2, | |||
const double | y1, | |||
const double | y2, | |||
const double | z1, | |||
const double | z2 | |||
) | [static] |
double @8::distance_poly | ( | double | d1, | |
double | d2, | |||
double | d3 | |||
) | [static] |
Definition at line 722 of file LevelSetFunction_reinitialize.C.
double @8::distance_poly | ( | double | d1, | |
double | d2 | |||
) | [static] |
Definition at line 702 of file LevelSetFunction_reinitialize.C.
double @7::distance_poly | ( | double | d1, | |
double | d2, | |||
double | d3 | |||
) | [inline, static] |
double @7::distance_poly | ( | double | d1, | |
double | d2 | |||
) | [inline, static] |
void @8::init_tentative_values_2D | ( | const lsseg::LevelSetFunction & | phi, | |
dist_map_2D & | positive_map, | |||
dist_map_2D & | negative_map, | |||
const Mask * | m | |||
) | [static] |
Definition at line 446 of file LevelSetFunction_reinitialize.C.
void @7::init_tentative_values_2D | ( | const LevelSetFunction & | , | |
dist_map_2D & | , | |||
dist_map_2D & | , | |||
const Mask * | m | |||
) | [static] |
void @8::init_tentative_values_3D | ( | const lsseg::LevelSetFunction & | phi, | |
dist_map_3D & | positive_map, | |||
dist_map_3D & | negative_map, | |||
const Mask * | m | |||
) | [static] |
Definition at line 526 of file LevelSetFunction_reinitialize.C.
void @7::init_tentative_values_3D | ( | const LevelSetFunction & | , | |
dist_map_3D & | , | |||
dist_map_3D & | , | |||
const Mask * | m | |||
) | [static] |
void @8::init_zero_level_interface_2D | ( | const lsseg::LevelSetFunction & | src, | |
lsseg::LevelSetFunction & | trg, | |||
const Mask * | m | |||
) | [static] |
Definition at line 302 of file LevelSetFunction_reinitialize.C.
void @7::init_zero_level_interface_2D | ( | const LevelSetFunction & | , | |
LevelSetFunction & | , | |||
const Mask * | m | |||
) | [static] |
void @8::init_zero_level_interface_3D | ( | const lsseg::LevelSetFunction & | src, | |
lsseg::LevelSetFunction & | trg, | |||
const Mask * | m | |||
) | [static] |
Definition at line 367 of file LevelSetFunction_reinitialize.C.
void @7::init_zero_level_interface_3D | ( | const LevelSetFunction & | , | |
LevelSetFunction & | , | |||
const Mask * | m | |||
) | [static] |
void @8::march_out_2D | ( | dist_map_2D & | tentatives, | |
coord_map_2D & | inv_tent, | |||
lsseg::LevelSetFunction & | target, | |||
const Mask * | m, | |||
bool | negative | |||
) | [static] |
Definition at line 751 of file LevelSetFunction_reinitialize.C.
void @7::march_out_2D | ( | dist_map_2D & | tentatives, | |
coord_map_2D & | inv_tent, | |||
LevelSetFunction & | target, | |||
const Mask * | m, | |||
bool | negative | |||
) | [static] |
void @8::march_out_3D | ( | dist_map_3D & | tentatives, | |
coord_map_3D & | inv_tent, | |||
LevelSetFunction & | target, | |||
const Mask * | m, | |||
bool | negative | |||
) | [static] |
Definition at line 845 of file LevelSetFunction_reinitialize.C.
void @7::march_out_3D | ( | dist_map_3D & | tentatives, | |
coord_map_3D & | inv_tent, | |||
LevelSetFunction & | target, | |||
const Mask * | m, | |||
bool | negative | |||
) | [static] |
bool @7::operator< | ( | const Coord3D & | c1, | |
const Coord3D & | c2 | |||
) | [inline, static] |
Definition at line 113 of file LevelSetFunction_reinitialize.C.
bool @7::operator< | ( | const Coord2D & | c1, | |
const Coord2D & | c2 | |||
) | [inline, static] |
Definition at line 86 of file LevelSetFunction_reinitialize.C.
bool @7::operator== | ( | const Coord3D & | c1, | |
const Coord3D & | c2 | |||
) | [inline, static] |
Definition at line 119 of file LevelSetFunction_reinitialize.C.
bool @7::operator== | ( | const Coord2D & | c1, | |
const Coord2D & | c2 | |||
) | [inline, static] |
Definition at line 91 of file LevelSetFunction_reinitialize.C.
const size_t MAX_ANTICIPATED_RES = 10000 [static] |
Definition at line 134 of file LevelSetFunction_reinitialize.C.
const double UNDEF_VAL = 100000 |
Definition at line 66 of file LevelSetFunction_reinitialize.C.
int x_ |
Definition at line 111 of file LevelSetFunction_reinitialize.C.
int x_ |
Definition at line 84 of file LevelSetFunction_reinitialize.C.
int y_ |
Definition at line 111 of file LevelSetFunction_reinitialize.C.
int y_ |
Definition at line 84 of file LevelSetFunction_reinitialize.C.
int z_ |
Definition at line 111 of file LevelSetFunction_reinitialize.C.