|
static AffineTransformation3d | talairach (const Graph &g) |
| Extract Talairach transformation (graph -> Talairach) More...
|
|
static void | storeTalairach (Graph &g, const AffineTransformation3d &m, bool force_old_attributes=false) |
| Store Talairach transformation in graph. More...
|
|
static bool | hasOldTalairachTransform (const Graph &g) |
| Test if a Graph has the old Talairach attributes. More...
|
|
static AffineTransformation3d | getICBMTransform (const Graph &g) |
| Extract the transformation to the MNI ICBM152 space. More...
|
|
static AffineTransformation3d | getICBM2009cTemplateTransform (const Graph &g) |
| Extract the transformation to the MNI ICBM152 space, shifted to the "most standard" field of view of the template image, the one from the ICBM2009c_nlin_asym template from the MNI. More...
|
|
static bool | buckets2Volume (Graph &g) |
| converts internal representations of graph nodes from buckets to volume More...
|
|
static bool | volume2Buckets (Graph &g, CreateBucketFunc f=0) |
| converts internal representations of graph nodes from volume to buckets. More...
|
|
static GraphElementCode & | graphElementCode (Graph &, const std::string &syntax, const std::string &id) |
|
static GraphElementCode & | graphElementCodeByAtt (Graph &, const std::string &syntax, const std::string &attrib) |
|
template<typename T > |
static void | storeAims (Graph &graph, GraphObject *vertex, const std::string &attribute, carto::rc_ptr< T > obj) |
| This template function stores the given object in the given Vertex / Edge of the graph and takes care of IO information to maintain in the graph. More...
|
|
template<typename T > |
static Graph * | graphFromVolume (const carto::rc_ptr< carto::Volume< T > > &vol, T background=0, std::map< T, std::string > *trans=0) |
| builds a ROI graph from a volume of labels More...
|
|
template<typename T > |
static void | graphFromVolume (const carto::rc_ptr< carto::Volume< T > > &vol, Graph &g, T background=0, std::map< T, std::string > *trans=0, bool automaticBackgroundSearch=true) |
| builds a ROI graph from a volume of labels More...
|
|
static void | setAttributeColor (Graph &graph, const std::string &att, const AimsRGB &) |
|
static void | setAttributeColor (Graph &graph, const std::string &att, const AimsRGBA &) |
|
static void | setAttributeColor (Graph &graph, const std::string &att, const std::vector< int > &) |
|
static void | completeGraph (Graph &) |
| Completes folds graph information. More...
|
|
static Graph * | mergeGraph (const std::string &, Graph &, Graph &, bool mergeMesh=true, bool invNormal=false) |
|
static void | printGraphElementTable (const Graph &, std::ostream &ostr=std::cout) |
|
static std::string | defaultExtensionForObjectType (const std::string &otype, const std::string &dtype) |
|
static std::list< Edge * > | getPath (const Vertex *from, const Vertex *to) |
| Get edges path from a vertex to another one. More...
|
|
Various manipulations on graphs.
Definition at line 125 of file graphmanip.h.
Extract the transformation to the MNI ICBM152 space, shifted to the "most standard" field of view of the template image, the one from the ICBM2009c_nlin_asym template from the MNI.
Actually we find various fields of view for the templates. The one we use here is (193, 229, 193). The transform to the "real" ICBM space (0 roughly at AC) is provided in the output transformation header. This space has a fixed transformation with our Aims Talairach, along with the template volume size and voxel size. Includes shifts and axes inversions.