#include <ImLib3D/MorphologicalOperators.hpp>
#include <ImLib3D/Threshold.hpp>
Include dependency graph for VoxelCoding.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | IP3D |
namespace | IP3D::ShortestPathExtractionHelpers |
Typedefs | |
typedef bool(* | StopFctType )(void *dat, const Vect3Di &p) |
argh, call fct. FIXME, this would be prettier with libsigc++ | |
typedef pair< StopFctType, void * > | StopCBType |
argh, call fct + data. FIXME, this would be prettier with libsigc++ | |
Functions | |
void | VoxelCode (const Mask3D &shape, const Mask3D &seeds, int m0, int m1, int m2, LabelImage3D &res, const Vect3Di *stopPoint=NULL) |
void | SSCode (const Mask3D &shape, const Vect3Di &sourcePoint, int m0, int m1, int m2, LabelImage3D &res, const Vect3Di *stopPoint=NULL) |
void | BSCode (const Mask3D &shape, int m0, int m1, int m2, LabelImage3D &res) |
void | ShortestPathExtraction (const Mask3D &shape, const Vect3Di &start, const Vect3Di &end, vector< Vect3Di > &path, Mask3D *pres=NULL, StructureElement *psel=NULL, const LabelImage3D *pssCode0=NULL, ShortestPathExtractionHelpers::StopCBType stopCB=ShortestPathExtractionHelpers::StopCBType(NULL, NULL)) |
void | Skeleton (const Mask3D &shape, Mask3D &res) |
Definition in file VoxelCoding.hpp.
|
#&VoxelCode&# Sort of distance transform of a shape, starting from seed points, and using an integer metric m0 is the "distance" associated with F-Neighbors (Cross7). m1 is the "distance" associated with e-Neighbors (Planar19). m2 is the "distance" associated with v-Neighbors (Cubic27). Example values are m0=1,m1=2,m2=3, or m0=3,m1=4,m2=5. Referenced by IP3D::BSCode(), and IP3D::SSCode(). |
|
#&SSCode&# VoxelCode starting from a single seed point For example, this is usefull for shortest path extraction Definition at line 61 of file VoxelCoding.hpp. References Container3D< Im3DValue >::Fill(), Image3D::Size(), and IP3D::VoxelCode(). Referenced by IP3D::ShortestPathExtraction(). |
|
#&BSCode&# VoxelCode starting from boundary points of shape This is pretty much like a distance transform Definition at line 82 of file VoxelCoding.hpp. References IP3D::Erosion(), MORPHO_Cross7, and IP3D::VoxelCode(). |
|
#&ShortestPathExtraction&# Shortest path between two points using VoxelCoding |
|
#&Skeleton&# Centerline (1-D Skeleton) of a 3D shape The algorithm is described in Zhou and Toga 99. WARNING: this implementation is still a bit buggy, and the algo doesn't seem to be very good anyways. Definition at line 349 of file VoxelCoding.hpp. References Container3D< Im3DValue >::Fill(), Container3D< Im3DValue >::Resize(), and Image3D::Size(). |