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);
118 std::set<std::pair<short,short> >
120 const std::map<std::string,short> & traduction );
122 std::set<std::set<short> >
129 std::set<std::set<short> >
131 std::set<std::string> >
133 const std::map<std::string,
135 std::set<std::string>
137 const std::set<std::string> &existingName );
139 std::set<std::string>
142 const std::set<std::string> &existingName );
144 std::map<std::string, std::set<std::string> >
Texture< short > Voronoi2toTexture(const Texture< std::set< T > > &vor, const AimsSurface< 3, Void > &mesh, const std::set< T > &setBack, const std::set< T > &setFor)
const short MESHDISTANCE_FORBIDDEN
global variable...
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< 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.
AIMSDATA_API AimsTimeSurface< 3, Void > AimsSurfaceTriangle
std::map< std::string, std::set< std::string > > GyrusModel2GyriAndSulci(const std::string &model)
std::map< T, float > VolumeParcel(const AimsData< 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)
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.
std::set< std::pair< short, short > > ModelGraph2Boundaries(const Graph &g, const std::map< std::string, short > &traduction)
std::map< T, float > SurfaceParcel(const Texture< T > &tex, const AimsSurface< 3, Void > &mesh)
Give the surface of labelled parcels defined from textures.
Texture< T > gyrusSeedDilationInSKIZ(const AimsSurface< 3, Void > &mesh, const Texture< T > &seed, const Texture< T > &skiz, const T &Back, const T &For)
AimsSurfaceTriangle MakePlaneMesh(unsigned n, Point3df Xi, Point3df Xf)
std::set< std::set< short > > GyrusModel2SetOfSetOfSulci(const std::map< std::string, std::set< std::string > > &gyriAndSulci, const std::map< std::string, short > &trans)
std::set< std::set< short > > gyrusHierarchy2setBoundaries(const std::map< std::string, short > &trans, const Graph &g)
const short MESHDISTANCE_UNREACHED
Texture< std::set< short > > MeshVoronoi2Set(const AimsSurface< 3, Void > &mesh, const Texture< std::set< short > > &inittex, const Texture< short > &sulcitex, bool connexity)