![]() |
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
#include <LSHGraphAdjacency.hpp>


Public Member Functions | |
| ~LSHGraphAdjacency () | |
| Destructor. Just to free LSH. More... | |
| template<class D > | |
| void | Initialize (const Feature< D > &feature, const Sample &sample, float scl_min, float scl_max) |
| Initializes the object. More... | |
| size_t | Scales () const |
| Returns the number of different scales. More... | |
| double | Sigma (size_t scl) const |
| Returns sigma value, that is, the variance of the gaussian of the nodes PDF. More... | |
| size_t | Arcs (size_t src, size_t scl) const |
| Returns the number of adjacents to src with scale scl. More... | |
| size_t | Arc (size_t src, size_t adj) const |
| Returns the 'adj'-th adjacent index from src. More... | |
| double | ArcWeight (size_t src, size_t adj) const |
| Returns the weight of arc from src to its 'arc'-th adjacent. More... | |
| template<class D > | |
| void | EstimateRadius (const Feature< D > &feature, float scl_min, float scl_max) |
| Computes the radii to be used by LSH algorithm. More... | |
| Vector< Vector< size_t > > & | HeterogeneousAdjacency (const Vector< double > &density, size_t scl, double delta) |
| The adjacent samples within the given scale. More... | |
| const Matrix< size_t > & | HomogeneousAdjacency () const |
| Returns an empty matrix for this adjacency. More... | |
| size_t | HomogeneousSize (size_t scl) const |
| Returns the number of elements in homogeneous adjacency. More... | |
| const Vector< size_t > & | HeterogeneousSize (size_t scl) const |
| Returns the number of elements in homogeneous adjacency. More... | |
| bool | ValidNeighbor (size_t src, size_t scl, double distance) const |
| Verifies if distance lays inside src region of influence. More... | |
Public Member Functions inherited from Bial::GraphAdjacency< LSHGraphAdjacency > | |
| virtual | ~GraphAdjacency () |
| Virutal destructor. More... | |
| void | Initialize (const Feature< D > &feature, const Sample &sample, float scl_min, float scl_max) |
| Initializes the object. More... | |
Static Public Attributes | |
| static const size_t | MAX_SAMPLES |
Additional Inherited Members | |
Static Public Member Functions inherited from Bial::GraphAdjacency< LSHGraphAdjacency > | |
| static size_t | MaxSamples () |
| Returns the maximum number of samples of the derived class. More... | |
Definition at line 28 of file LSHGraphAdjacency.hpp.
| Bial::LSHGraphAdjacency::~LSHGraphAdjacency | ( | ) |
Destructor. Just to free LSH.
| none. |
|
virtual |
Returns the 'adj'-th adjacent index from src.
| src | sample index. |
| adj | Number of adjacent element. |
Implements Bial::GraphAdjacency< LSHGraphAdjacency >.
|
virtual |
Returns the number of adjacents to src with scale scl.
| src | sample index. |
| scl | Number of scale element. |
Implements Bial::GraphAdjacency< LSHGraphAdjacency >.
|
virtual |
Returns the weight of arc from src to its 'arc'-th adjacent.
| src | sample index. |
| adj | Number of adjacent element. |
Implements Bial::GraphAdjacency< LSHGraphAdjacency >.
| void Bial::LSHGraphAdjacency::EstimateRadius | ( | const Feature< D > & | feature, |
| float | scl_min, | ||
| float | scl_max | ||
| ) |
Computes the radii to be used by LSH algorithm.
| feature | Feature vector. |
| scl_min,scl_max | minimum and maximum scale fractions utilized for clustering. (0.0 - 1.0) |
| Vector< Vector< size_t > >& Bial::LSHGraphAdjacency::HeterogeneousAdjacency | ( | const Vector< double > & | density, |
| size_t | scl, | ||
| double | delta | ||
| ) |
The adjacent samples within the given scale.
| density | density vector. |
| scl | Required scale. |
| delta | Maximum density distance in a plateau. |
Returns the number of elements in homogeneous adjacency.
| scl | Required scale. |
Returns an empty matrix for this adjacency.
| none. |
| size_t Bial::LSHGraphAdjacency::HomogeneousSize | ( | size_t | scl | ) | const |
Returns the number of elements in homogeneous adjacency.
| scl | Required scale. |
| void Bial::LSHGraphAdjacency::Initialize | ( | const Feature< D > & | feature, |
| const Sample & | sample, | ||
| float | scl_min, | ||
| float | scl_max | ||
| ) |
Initializes the object.
| feature | feature vector containing only the subsamples. |
| sample | sample vector. |
| scl_min,scl_max | minimum and maximum scale fractions utilized for clustering. (0.0 - 1.0) |
|
virtual |
Returns the number of different scales.
| none. |
Implements Bial::GraphAdjacency< LSHGraphAdjacency >.
|
virtual |
Returns sigma value, that is, the variance of the gaussian of the nodes PDF.
| scl | Number of scale element. |
Implements Bial::GraphAdjacency< LSHGraphAdjacency >.
|
virtual |
Verifies if distance lays inside src region of influence.
| src | sample index. |
| scl | Number of scale element. |
| weight | Weight to be checked. |
Implements Bial::GraphAdjacency< LSHGraphAdjacency >.
|
static |
Definition at line 43 of file LSHGraphAdjacency.hpp.