|
| Dendrogram () |
| Default constructor.
|
|
| Dendrogram (const Dendrogram &dendrogramToCopy) |
| Copy constructor.
|
|
| Dendrogram (Graph< NodeT, ValGraphT > &mst) |
| Dendrogram constructor from a MST graph. More...
|
|
| Dendrogram (Graph< NodeT, ValGraphT > &mst, smil::Image< MarkerLabelT > &imLabels, smil::Image< MarkerLabelT > &imIn, const size_t nbOfMoments=5) |
| Constructor from a MST graph and labels/image to compute the moments. More...
|
|
virtual | ~Dendrogram () |
| Destructor.
|
|
Dendrogram | clone () |
| Clone Dendrogram.
|
|
void | sortNodes (bool reverse=false) |
| Reorganizes dendroNodes...
|
|
void | sortReverseNodes () |
| Reorganizes dendroNodes by decreasing valuationInitial.
|
|
void | addDendroNodes (DendroNodeType *dendroNode) |
|
DendroNodeType * | researchLabel (MarkerLabelT researchedLabel) const |
|
void | setMomentsContours (Image< MarkerLabelT > &imLabels, Image< MarkerLabelT > &imIn, const size_t nbOfMoments) |
|
void | reorganize () |
|
void | normalize (const std::string typeOfNormalization="reg") |
| Dendrogram ultrametric values normalization. More...
|
|
void | putValuationsFinalInInitial () |
| Put the internalNodeValuationFinal in internalNodeValuationInitial and then set internalNodeValuationFinal = 0.
|
|
void | setValuationsToZero () |
|
void | removeMSTEdgesDendrogram (Graph< NodeT, ValGraphT > &associated_mst, double lbd) |
| Given an internal node index lambda of the dendrogram, remove corresponding edge in the associated MST.
|
|
void | HierarchicalConstruction (const std::string typeOfHierarchy, const int nParam=50, const smil::Image< MarkerLabelT > &imMosa=smil::Image< MarkerLabelT >(), const std::string typeOfTransform="erode", const StrElt &se=DEFAULT_SE) |
| Computes a new hierarchy from a given dendrogram hierarchy. More...
|
|
void | EnergyConstruction (const std::string typeOfHierarchy) |
| Computes a new hierarchy from a given dendrogram hierarchy.
|
|
std::vector< DendroNodeType * > & | getDendroNodes () |
| Setters and Getters.
|
|
void | setNbrNodes (size_t nNbrNodes) |
|
size_t | getNbrNodes () |
|
void | setNbrMarkers (size_t nNbrMarkers) |
|
size_t | getNbrMarkers () |
|
double | getNodeValue (size_t nodeIndex, string nameOfValueWanted) |
| Access a value of a node in the dendrogram. More...
|
|
void | setNodeValue (size_t nodeIndex, string nameOfValueWanted, double value) |
| Manually modify a value of a node in the dendrogram. More...
|
|
std::vector< MarkerLabelT > | getLookupProgeny (size_t nodeIndex, string nameOfValueWanted) |
| Get the lookup of the progeny of a node. More...
|
|
std::vector< MarkerLabelT > | getThreshLookupProgeny (double thresh, string nameOfValueWanted) |
| Get the lookup of the progeny below a certain ultrametric threshold. More...
|
|
std::vector< std::vector< double > > | getPersistences (string typeOfMatrix="sparse", string momentOfLife="death") |
| Compute persistences matrix (persistence measures only the order of fusion) More...
|
|
std::vector< std::vector< double > > | getSaliences (string typeOfMatrix="sparse", string momentOfLife="death") |
| Compute saliences matrix (salience expresses ultrametric values) More...
|
|
double | computeDasguptaCF (Graph< NodeT, ValGraphT > completeGraph) |
| Compute dasgupta score (paper "A cost function for similarity-based
hierarchical clustering") More...
|
|
double | computeScoreInteractiveSeg () |
|