Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Functions | |
Sample | Random (size_t subsamples, size_t total_samples) |
Generates a Vector with ids of random samples withing the giving range. More... | |
template<class D > | |
Sample | RandomDistinct (const Feature< D > &feats, size_t subsamples) |
Generates a vector with ids of random samples withing the giving range. Repeated samples are inserted into the same position. More... | |
template<class D > | |
Sample | Uniform (const Feature< D > &feats, size_t step=1) |
Generates a uniformly sampled Vector with ids. More... | |
Sample Bial::SampleType::Random | ( | size_t | subsamples, |
size_t | total_samples | ||
) |
Sample Bial::SampleType::RandomDistinct | ( | const Feature< D > & | feats, |
size_t | subsamples | ||
) |
Generates a vector with ids of random samples withing the giving range.
Repeated samples are inserted into the same position.
feats | feature vector. |
subsamples | Number of subsamples. |