35 #ifndef AIMS_FOLDGRAPH_FOLDGRAPHATTRIBUTES
36 #define AIMS_FOLDGRAPH_FOLDGRAPHATTRIBUTES
45 class AffineTransformation3d;
46 template <
typename T>
class BucketMap;
57 talairachAffineTransformation3d = 0,
58 int16_t inside = 0, int16_t outside = 11,
59 bool withmeshes =
true,
60 const std::vector<int> & graphversion
61 = std::vector<int>() );
121 void prepareNativeDepthMap();
122 void prepareNormalizedDepthMap(
124 void prepareDilatedDepthMap(
126 void prepareGradientX();
127 void prepareGradientY();
128 void prepareGradientZ();
129 void prepareBrainGradientX();
130 void prepareBrainGradientY();
131 void prepareBrainGradientZ();
158 std::vector<int> _graphversion;
Creation of cortical folds graph attributes.
void cleanup()
frees the depth map
void makeSummaryGlobalAttributes()
const carto::VolumeRef< float > & getBrainDepthGradX() const
void makeSimpleSurfaceAttributes()
const carto::VolumeRef< float > & getDilatedDepthGradZ() const
FoldGraphAttributes(const carto::rc_ptr< carto::Volume< 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 ...
carto::VolumeRef< float > & getDilatedDepth()
const carto::VolumeRef< float > & getDilatedDepth() const
const carto::VolumeRef< float > & getDilatedDepthGradY() const
void setMaxThreads(int mt)
Sets the maxumum number of threads used in multithreaded-enabled parts.
float getDepthfactor() const
void thickness(const BucketMap< float > &midinterfaceDistances, const carto::VolumeRef< int16_t > voronoi)
void makeJunctionAttributes()
carto::VolumeRef< float > & getDilatedDepthGradZ()
void doAll()
creates all attributes (global + all nodes/relations types)
std::vector< int > graphVersion() const
returns a vector value of 2 or more numbers from the target graph version, or the current cartograph ...
carto::VolumeRef< float > & getBrainDepthGradZ()
const carto::VolumeRef< float > & getBrainDepth() const
const carto::VolumeRef< float > & getBrainDepthGradY() const
carto::VolumeRef< float > & getBrainDepthGradY()
carto::VolumeRef< float > & getDilatedDepthGradX()
const carto::VolumeRef< int16_t > & getNDepth() const
carto::VolumeRef< float > & getBrainDepth()
carto::VolumeRef< int16_t > rebuildCorticalRelations()
outputs the voronoi in brain hull from hull junctions
void prepareBrainDepthMap()
void makePliDePassageAttributes()
void greyAndCSFVolumes(const carto::VolumeRef< int16_t > gw, const carto::VolumeRef< int16_t > voronoi)
const carto::VolumeRef< float > & getBrainDepthGradZ() const
friend class DistanceMapThreadContext
carto::VolumeRef< int16_t > & getNDepth()
const carto::VolumeRef< int16_t > & getDepth() const
void makeGlobalAttributes()
carto::VolumeRef< int16_t > & getDepth()
const carto::VolumeRef< float > & getDilatedDepthGradX() const
carto::VolumeRef< float > & getDilatedDepthGradY()
void makeCorticalRelationAttributes()
carto::VolumeRef< float > & getBrainDepthGradX()