aimsdata  5.0.5
Neuroimaging data handling
aims::RoiDiff Class Reference

Differences between two labelled graphs (sulci...). More...

#include <aims/roi/roi_diff.h>

Classes

struct  DiffStat
 

Public Member Functions

 RoiDiff ()
 
 ~RoiDiff ()
 
void diff (const Graph &g1, const Graph &g2)
 
void writeCSV (const std::string &name)
 
void writeCSV (std::ostream &s)
 
const std::map< std::string, DiffStat > & statsByLabel () const
 
const DiffStatglobalStats () const
 
carto::rc_ptr< BucketMap< Void > > mismatch_bucket () const
 
carto::rc_ptr< carto::Volume< int16_t > > graph2LabelVolume () const
 
const std::vector< std::string > & roiNames () const
 
const std::map< std::string, int > & roiNamesInv () const
 

Detailed Description

Differences between two labelled graphs (sulci...).

Both graphs are supposed to have the same voxels support, but graph nodes may be split differently in the two graphs. For each label differences are counted voxel-wise.

Definition at line 51 of file roi_diff.h.

Constructor & Destructor Documentation

◆ RoiDiff()

aims::RoiDiff::RoiDiff ( )

◆ ~RoiDiff()

aims::RoiDiff::~RoiDiff ( )

Member Function Documentation

◆ diff()

void aims::RoiDiff::diff ( const Graph g1,
const Graph g2 
)

◆ globalStats()

const DiffStat& aims::RoiDiff::globalStats ( ) const

◆ graph2LabelVolume()

carto::rc_ptr<carto::Volume<int16_t> > aims::RoiDiff::graph2LabelVolume ( ) const

◆ mismatch_bucket()

carto::rc_ptr<BucketMap<Void> > aims::RoiDiff::mismatch_bucket ( ) const

◆ roiNames()

const std::vector<std::string>& aims::RoiDiff::roiNames ( ) const

◆ roiNamesInv()

const std::map<std::string, int>& aims::RoiDiff::roiNamesInv ( ) const

◆ statsByLabel()

const std::map<std::string, DiffStat>& aims::RoiDiff::statsByLabel ( ) const

◆ writeCSV() [1/2]

void aims::RoiDiff::writeCSV ( const std::string &  name)

◆ writeCSV() [2/2]

void aims::RoiDiff::writeCSV ( std::ostream &  s)

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