aimsalgo  5.0.5
Neuroimaging image processing
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

◆ FoldGraphAttributes()

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

◆ cleanup()

void aims::FoldGraphAttributes::cleanup ( )

frees the depth map

◆ doAll()

void aims::FoldGraphAttributes::doAll ( )

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

◆ getBrainDepth() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getBrainDepth ( )

◆ getBrainDepth() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getBrainDepth ( ) const

◆ getBrainDepthGradX() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradX ( )

◆ getBrainDepthGradX() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradX ( ) const

◆ getBrainDepthGradY() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradY ( )

◆ getBrainDepthGradY() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradY ( ) const

◆ getBrainDepthGradZ() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradZ ( )

◆ getBrainDepthGradZ() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getBrainDepthGradZ ( ) const

◆ getDepth() [1/2]

AimsData<int16_t>& aims::FoldGraphAttributes::getDepth ( )

◆ getDepth() [2/2]

const AimsData<int16_t>& aims::FoldGraphAttributes::getDepth ( ) const

◆ getDepthfactor()

float aims::FoldGraphAttributes::getDepthfactor ( ) const

◆ getDilatedDepth() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getDilatedDepth ( )

◆ getDilatedDepth() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepth ( ) const

◆ getDilatedDepthGradX() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradX ( )

◆ getDilatedDepthGradX() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradX ( ) const

◆ getDilatedDepthGradY() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradY ( )

◆ getDilatedDepthGradY() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradY ( ) const

◆ getDilatedDepthGradZ() [1/2]

AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradZ ( )

◆ getDilatedDepthGradZ() [2/2]

const AimsData<float>& aims::FoldGraphAttributes::getDilatedDepthGradZ ( ) const

◆ getNDepth() [1/2]

AimsData<int16_t>& aims::FoldGraphAttributes::getNDepth ( )

◆ getNDepth() [2/2]

const AimsData<int16_t>& aims::FoldGraphAttributes::getNDepth ( ) const

◆ graphVersion()

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

◆ greyAndCSFVolumes()

void aims::FoldGraphAttributes::greyAndCSFVolumes ( const carto::VolumeRef< int16_t >  gw,
const carto::VolumeRef< int16_t >  voronoi 
)

◆ makeCorticalRelationAttributes()

void aims::FoldGraphAttributes::makeCorticalRelationAttributes ( )

◆ makeGlobalAttributes()

void aims::FoldGraphAttributes::makeGlobalAttributes ( )

◆ makeJunctionAttributes()

void aims::FoldGraphAttributes::makeJunctionAttributes ( )

◆ makeMeshes()

void aims::FoldGraphAttributes::makeMeshes ( )

◆ makePliDePassageAttributes()

void aims::FoldGraphAttributes::makePliDePassageAttributes ( )

◆ makeSimpleSurfaceAttributes()

void aims::FoldGraphAttributes::makeSimpleSurfaceAttributes ( )

◆ makeSummaryGlobalAttributes()

void aims::FoldGraphAttributes::makeSummaryGlobalAttributes ( )

◆ maxThreads()

int aims::FoldGraphAttributes::maxThreads ( ) const
inline

Definition at line 112 of file foldgraphattributes.h.

◆ mesher()

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

Definition at line 113 of file foldgraphattributes.h.

◆ prepareBrainDepthMap()

void aims::FoldGraphAttributes::prepareBrainDepthMap ( )

◆ prepareDepthMap()

void aims::FoldGraphAttributes::prepareDepthMap ( )

◆ rebuildCorticalRelations()

AimsData<int16_t> aims::FoldGraphAttributes::rebuildCorticalRelations ( )

outputs the voronoi in brain hull from hull junctions

◆ setMaxThreads()

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.

◆ thickness()

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

Friends And Related Function Documentation

◆ DistanceMapThreadContext

friend class DistanceMapThreadContext
friend

Definition at line 116 of file foldgraphattributes.h.


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