|
sgsPy
structurally guided sampling
|
#include <iostream>#include <random>#include <boost/unordered/unordered_flat_set.hpp>#include <xoshiro.h>#include "utils/access.h"#include "utils/existing.h"#include "utils/helper.h"#include "utils/raster.h"#include "utils/vector.h"Go to the source code of this file.
Namespaces | |
| namespace | sgs |
| namespace | sgs::srs |
Functions | |
| template<typename T> | |
| bool | sgs::srs::getRandomIndices (helper::RasterBandMetaData &band, int width, int height, int numSamples, access::Access &access, existing::Existing &existing, std::vector< helper::Index > &indices, xso::xoshiro_4x64_plus rng) |
| template<typename T> | |
| void | sgs::srs::processBlock (helper::RasterBandMetaData &band, access::Access &access, existing::Existing &existing, std::vector< helper::Index > &indices, helper::RandValController &rand, int xBlock, int yBlock, int xValid, int yValid) |
| std::tuple< std::vector< std::vector< double > >, vector::GDALVectorWrapper *, size_t > | sgs::srs::srs (raster::GDALRasterWrapper *p_raster, size_t numSamples, double mindist, vector::GDALVectorWrapper *p_existing, vector::GDALVectorWrapper *p_access, std::string layerName, double buffInner, double buffOuter, bool plot, std::string tempFolder, std::string filename) |