35 #ifndef AIMS_FOLDGRAPH_FOLDGRAPHATTRIBUTES 36 #define AIMS_FOLDGRAPH_FOLDGRAPHATTRIBUTES 45 class AffineTransformation3d;
46 template <
typename T>
class BucketMap;
56 int16_t inside = 0, int16_t outside = 11,
57 bool withmeshes =
true,
58 const std::vector<int> & graphversion
59 = std::vector<int>() );
119 void prepareNativeDepthMap();
122 void prepareGradientX();
123 void prepareGradientY();
124 void prepareGradientZ();
125 void prepareBrainGradientX();
126 void prepareBrainGradientY();
127 void prepareBrainGradientZ();
154 std::vector<int> _graphversion;
std::vector< int > graphVersion() const
returns a vector value of 2 or more numbers from the target graph version, or the current cartograph ...
AimsData< float > & getBrainDepthGradY()
void makeGlobalAttributes()
void makePliDePassageAttributes()
Creation of cortical folds graph attributes.
FoldGraphAttributes(const AimsData< int16_t > &skel, Graph &graph, const AffineTransformation3d *talairachAffineTransformation3d=0, int16_t inside=0, int16_t outside=11, bool withmeshes=true, const std::vector< int > &graphversion=std::vector< int >())
skel is the skeleton image of the hemisphere, It must be allocated with a border of at least 1 voxel ...
AimsData< int16_t > & getDepth()
AimsData< float > & getDilatedDepthGradY()
float getDepthfactor() const
void setMaxThreads(int mt)
Sets the maxumum number of threads used in multithreaded-enabled parts.
AimsData< int16_t > rebuildCorticalRelations()
outputs the voronoi in brain hull from hull junctions
void makeSummaryGlobalAttributes()
void makeSimpleSurfaceAttributes()
AimsData< float > & getBrainDepthGradZ()
AimsData< float > & getDilatedDepth()
AimsData< float > & getDilatedDepthGradZ()
void greyAndCSFVolumes(const carto::VolumeRef< int16_t > gw, const carto::VolumeRef< int16_t > voronoi)
void thickness(const BucketMap< float > &midinterfaceDistances, const carto::VolumeRef< int16_t > voronoi)
void makeCorticalRelationAttributes()
AimsData< float > & getBrainDepth()
void prepareBrainDepthMap()
void makeJunctionAttributes()
AimsData< float > & getBrainDepthGradX()
void doAll()
creates all attributes (global + all nodes/relations types)
void cleanup()
frees the depth map
AimsData< float > & getDilatedDepthGradX()
friend class DistanceMapThreadContext
AimsData< int16_t > & getNDepth()