OTB  9.0.0
Orfeo Toolbox
Classes | Namespaces | Typedefs
otbSampleAugmentation.h File Reference
#include <vector>
#include <queue>
#include <iterator>
#include <algorithm>
#include <random>
#include <ctime>
#include <cassert>
+ Include dependency graph for otbSampleAugmentation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  otb::sampleAugmentation::NeighborSorter
 
struct  otb::sampleAugmentation::NeighborType
 

Namespaces

 otb
 
 otb::sampleAugmentation
 

Typedefs

using otb::sampleAugmentation::SampleType = std::vector< double >
 
using otb::sampleAugmentation::SampleVectorType = std::vector< SampleType >
 
double otb::sampleAugmentation::ComputeSquareDistance (const SampleType &x, const SampleType &y)
 
SampleType otb::sampleAugmentation::EstimateStds (const SampleVectorType &samples)
 
void otb::sampleAugmentation::FindKNNIndices (const SampleVectorType &inSamples, const vcl_size_t nbNeighbors, NNVectorType &nnVector)
 
void otb::sampleAugmentation::JitterSamples (const SampleVectorType &inSamples, const vcl_size_t nbSamples, SampleVectorType &newSamples, float stdFactor=10, const int seed=std::time(nullptr))
 
using otb::sampleAugmentation::NNIndicesType = std::vector< NeighborType >
 
using otb::sampleAugmentation::NNVectorType = std::vector< NNIndicesType >
 
void otb::sampleAugmentation::ReplicateSamples (const SampleVectorType &inSamples, const vcl_size_t nbSamples, SampleVectorType &newSamples)
 
void otb::sampleAugmentation::Smote (const SampleVectorType &inSamples, const vcl_size_t nbSamples, SampleVectorType &newSamples, const int nbNeighbors, const int seed=std::time(nullptr))
 
SampleType otb::sampleAugmentation::SmoteCombine (const SampleType &s1, const SampleType &s2, double position)