![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
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 DiffStat & | globalStats () 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 |
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.
aims::RoiDiff::RoiDiff | ( | ) |
aims::RoiDiff::~RoiDiff | ( | ) |
const DiffStat& aims::RoiDiff::globalStats | ( | ) | const |
carto::rc_ptr<carto::Volume<int16_t> > aims::RoiDiff::graph2LabelVolume | ( | ) | const |
carto::rc_ptr<BucketMap<Void> > aims::RoiDiff::mismatch_bucket | ( | ) | const |
const std::vector<std::string>& aims::RoiDiff::roiNames | ( | ) | const |
const std::map<std::string, int>& aims::RoiDiff::roiNamesInv | ( | ) | const |
const std::map<std::string, DiffStat>& aims::RoiDiff::statsByLabel | ( | ) | const |
void aims::RoiDiff::writeCSV | ( | const std::string & | name | ) |
void aims::RoiDiff::writeCSV | ( | std::ostream & | s | ) |