sgsPy
structurally guided sampling
Loading...
Searching...
No Matches
sgs::clhs

Classes

class  CLHSDataManager
struct  Point

Functions

template<typename T>
size_t getQuantile (T val, std::vector< T > &quantiles)
template<typename T>
void readRaster (std::vector< helper::RasterBandMetaData > &bands, CLHSDataManager< T > &clhs, access::Access &access, existing::Existing &existing, helper::RandValController &rand, GDALDataType type, std::vector< std::vector< T > > &quantiles, size_t size, int width, int height, int count, int nSamp)
template<typename T>
void selectSamples (std::vector< std::vector< T > > &quantiles, CLHSDataManager< T > &clhs, xso::xoshiro_4x64_plus &rng, existing::Existing &existing, size_t replace, size_t iterations, size_t nSamp, size_t nFeat, OGRLayer *p_layer, double *GT, bool plot, std::vector< double > &xCoords, std::vector< double > &yCoords)
std::tuple< std::vector< std::vector< double > >, vector::GDALVectorWrapper * > clhs (raster::GDALRasterWrapper *p_raster, int nSamp, int iterations, vector::GDALVectorWrapper *p_access, std::string layerName, double buffInner, double buffOuter, vector::GDALVectorWrapper *p_existing, size_t replace, bool plot, std::string tempFolder, std::string filename)