36 #ifndef AIMS_DISTANCEMAP_MESHPARCELLATION_H
37 #define AIMS_DISTANCEMAP_MESHPARCELLATION_H
50 namespace meshdistance
60 const std::set<T> & setBack,
61 const std::set<T> & setFor);
68 const std::set<T> & setBack,
69 const std::set<T> & setFor,
70 const std::set<std::set<T> > & labelAllowed);
83 const std::set<T> & setBack,
84 const std::set<T> & setFor);
89 const Texture<std::set<short> > & inittex,
97 template<
class T,
class U>
100 const std::set<T> & setBack,
101 const std::set<T> & setFor);
119 std::set<std::pair<short,short> >
121 const std::map<std::string,short> & traduction );
123 std::set<std::set<short> >
130 std::set<std::set<short> >
132 std::set<std::string> >
134 const std::map<std::string,
136 std::set<std::string>
138 const std::set<std::string> &existingName );
140 std::set<std::string>
143 const std::set<std::string> &existingName );
145 std::map<std::string, std::set<std::string> >
Texture< std::set< T > > MeshBorderVoronoi(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, const std::set< T > &setBack, const std::set< T > &setFor)
Extract the boundarie of a voronoi diagram i.e.
Texture< std::set< short > > MeshVoronoi2Set(const AimsSurface< 3, Void > &mesh, const Texture< std::set< short > > &inittex, const Texture< short > &sulcitex, bool connexity)
std::map< std::string, std::set< std::string > > GyrusModel2GyriAndSulci(const std::string &model)
Texture< short > border2Texture(const Texture< std::set< T > > &tex, const AimsSurface< 3, Void > &mesh, const std::set< T > &setBack, const std::set< T > &setFor)
Convert a multidimensional boundary map to a texture of short.
const short MESHDISTANCE_UNREACHED
std::set< std::set< short > > gyrusHierarchy2setBoundaries(const std::map< std::string, short > &trans, const Graph &g)
std::set< std::pair< short, short > > ModelGraph2Boundaries(const Graph &g, const std::map< std::string, short > &traduction)
std::map< T, float > VolumeParcel(const carto::rc_ptr< carto::Volume< T > > &vol)
Give the surface of labelled parcels defined from volume.
std::set< std::string > GyrusModel2SetOfSulci(const char *model, const std::set< std::string > &existingName)
AimsSurfaceTriangle MakePlaneMesh(unsigned n, Point3df Xi, Point3df Xf)
Texture< short > Voronoi2toTexture(const Texture< std::set< T > > &vor, const AimsSurface< 3, Void > &mesh, const std::set< T > &setBack, const std::set< T > &setFor)
Texture< std::set< T > > gyrusSeedDefinition(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, const std::set< T > &setBack, const std::set< T > &setFor, const std::set< std::set< T > > &labelAllowed)
Define the gyrus seed from the SKIZ.
Texture< T > gyrusSeedDilationInSKIZ(const AimsSurface< 3, Void > &mesh, const Texture< T > &seed, const Texture< T > &skiz, const T &Back, const T &For)
const short MESHDISTANCE_FORBIDDEN
global variable...
std::set< std::set< short > > GyrusModel2SetOfSetOfSulci(const std::map< std::string, std::set< std::string > > &gyriAndSulci, const std::map< std::string, short > &trans)
std::map< T, float > SurfaceParcel(const Texture< T > &tex, const AimsSurface< 3, Void > &mesh)
Give the surface of labelled parcels defined from textures.
AIMSDATA_API AimsTimeSurface< 3, Void > AimsSurfaceTriangle