A.I.M.S algorithms


aims::FoldGraphAttributes Class Reference

Creation of cortical folds graph attributes. More...

#include <aims/foldgraph/foldgraphattributes.h>

Public Member Functions

 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 width. More...
 
void cleanup ()
 frees the depth map More...
 
void doAll ()
 creates all attributes (global + all nodes/relations types) More...
 
void makeMeshes ()
 
void makeGlobalAttributes ()
 
void makeSimpleSurfaceAttributes ()
 
void makeJunctionAttributes ()
 
void makePliDePassageAttributes ()
 
void makeCorticalRelationAttributes ()
 
void makeSummaryGlobalAttributes ()
 
AimsData< int16_t > & getDepth ()
 
const AimsData< int16_t > & getDepth () const
 
AimsData< int16_t > & getNDepth ()
 
const AimsData< int16_t > & getNDepth () const
 
AimsData< float > & getBrainDepth ()
 
AimsData< float > & getBrainDepthGradX ()
 
AimsData< float > & getBrainDepthGradY ()
 
AimsData< float > & getBrainDepthGradZ ()
 
const AimsData< float > & getBrainDepth () const
 
const AimsData< float > & getBrainDepthGradX () const
 
const AimsData< float > & getBrainDepthGradY () const
 
const AimsData< float > & getBrainDepthGradZ () const
 
AimsData< float > & getDilatedDepth ()
 
AimsData< float > & getDilatedDepthGradX ()
 
AimsData< float > & getDilatedDepthGradY ()
 
AimsData< float > & getDilatedDepthGradZ ()
 
const AimsData< float > & getDilatedDepth () const
 
const AimsData< float > & getDilatedDepthGradX () const
 
const AimsData< float > & getDilatedDepthGradY () const
 
const AimsData< float > & getDilatedDepthGradZ () const
 
float getDepthfactor () const
 
void prepareDepthMap ()
 
void prepareBrainDepthMap ()
 
AimsData< int16_t > rebuildCorticalRelations ()
 outputs the voronoi in brain hull from hull junctions More...
 
std::vector< int > graphVersion () const
 returns a vector value of 2 or more numbers from the target graph version, or the current cartograph library version More...
 
void thickness (const BucketMap< float > &midinterfaceDistances, const carto::VolumeRef< int16_t > voronoi)
 
void greyAndCSFVolumes (const carto::VolumeRef< int16_t > gw, const carto::VolumeRef< int16_t > voronoi)
 
void setMaxThreads (int mt)
 Sets the maxumum number of threads used in multithreaded-enabled parts. More...
 
int maxThreads () const
 
Meshermesher ()
 

Friends

class DistanceMapThreadContext
 

Detailed Description

Creation of cortical folds graph attributes.

Definition at line 49 of file foldgraphattributes.h.

Constructor & Destructor Documentation

aims::FoldGraphAttributes::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 width.

Member Function Documentation

void aims::FoldGraphAttributes::cleanup ( )

frees the depth map

void aims::FoldGraphAttributes::doAll ( )

creates all attributes (global + all nodes/relations types)

AimsData<float>& aims::FoldGraphAttributes::getBrainDepth ( )
const AimsData<float>& aims::FoldGraphAttributes::getBrainDepth ( ) const
AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradX ( )
const AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradX ( ) const
AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradY ( )
const AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradY ( ) const
AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradZ ( )
const AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradZ ( ) const
AimsData<int16_t>& aims::FoldGraphAttributes::getDepth ( )
const AimsData<int16_t>& aims::FoldGraphAttributes::getDepth ( ) const
float aims::FoldGraphAttributes::getDepthfactor ( ) const
AimsData<float>& aims::FoldGraphAttributes::getDilatedDepth ( )
const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepth ( ) const
AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradX ( )
const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradX ( ) const
AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradY ( )
const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradY ( ) const
AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradZ ( )
const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradZ ( ) const
AimsData<int16_t>& aims::FoldGraphAttributes::getNDepth ( )
const AimsData<int16_t>& aims::FoldGraphAttributes::getNDepth ( ) const
std::vector<int> aims::FoldGraphAttributes::graphVersion ( ) const

returns a vector value of 2 or more numbers from the target graph version, or the current cartograph library version

void aims::FoldGraphAttributes::greyAndCSFVolumes ( const carto::VolumeRef< int16_t >  gw,
const carto::VolumeRef< int16_t >  voronoi 
)
void aims::FoldGraphAttributes::makeCorticalRelationAttributes ( )
void aims::FoldGraphAttributes::makeGlobalAttributes ( )
void aims::FoldGraphAttributes::makeJunctionAttributes ( )
void aims::FoldGraphAttributes::makeMeshes ( )
void aims::FoldGraphAttributes::makePliDePassageAttributes ( )
void aims::FoldGraphAttributes::makeSimpleSurfaceAttributes ( )
void aims::FoldGraphAttributes::makeSummaryGlobalAttributes ( )
int aims::FoldGraphAttributes::maxThreads ( ) const
inline

Definition at line 112 of file foldgraphattributes.h.

Mesher& aims::FoldGraphAttributes::mesher ( )
inline

Definition at line 113 of file foldgraphattributes.h.

void aims::FoldGraphAttributes::prepareBrainDepthMap ( )
void aims::FoldGraphAttributes::prepareDepthMap ( )
AimsData<int16_t> aims::FoldGraphAttributes::rebuildCorticalRelations ( )

outputs the voronoi in brain hull from hull junctions

void aims::FoldGraphAttributes::setMaxThreads ( int  mt)

Sets the maxumum number of threads used in multithreaded-enabled parts.

1 means mono-threaded, 0 means une thread per CPU. A negative value means one thread per CPU, but never use more CPUs than the absolute value of the given number.

void aims::FoldGraphAttributes::thickness ( const BucketMap< float > &  midinterfaceDistances,
const carto::VolumeRef< int16_t >  voronoi 
)

Friends And Related Function Documentation

friend class DistanceMapThreadContext
friend

Definition at line 116 of file foldgraphattributes.h.


The documentation for this class was generated from the following file: