|
sgsPy
structurally guided sampling
|
#include "utils/raster.h"#include "utils/helper.h"#include <condition_variable>#include <boost/asio/thread_pool.hpp>#include <boost/asio/post.hpp>#include <mkl.h>Go to the source code of this file.
Namespaces | |
| namespace | sgs |
| namespace | sgs::quantiles |
Functions | |
| void | sgs::quantiles::calcSPQuantiles (raster::GDALRasterWrapper *p_raster, helper::RasterBandMetaData &band, std::vector< double > &probabilities, std::vector< double > &quantiles) |
| void | sgs::quantiles::calcDPQuantiles (raster::GDALRasterWrapper *p_raster, helper::RasterBandMetaData &band, std::vector< double > &probabilities, std::vector< double > &quantiles) |
| void | sgs::quantiles::batchCalcSPQuantiles (raster::GDALRasterWrapper *p_raster, helper::RasterBandMetaData &band, std::vector< double > &probabilities, std::vector< double > &quantiles, std::mutex &mutex, std::condition_variable &cv, bool &calculated, double eps) |
| void | sgs::quantiles::batchCalcDPQuantiles (raster::GDALRasterWrapper *p_raster, helper::RasterBandMetaData &band, std::vector< double > &probabilities, std::vector< double > &quantiles, std::mutex &mutex, std::condition_variable &cv, bool &calculated, double eps) |
| void | sgs::quantiles::processMapPixel (size_t index, helper::RasterBandMetaData &dataBand, void *p_dataBuffer, helper::RasterBandMetaData &stratBand, void *p_stratBuffer, std::vector< double > &quantiles, size_t multiplier, bool &mapNan, size_t &mapStrat) |
| void | sgs::quantiles::processPixel (size_t index, void *p_data, helper::RasterBandMetaData *p_dataBand, void *p_strat, helper::RasterBandMetaData *p_stratBand, std::vector< double > &quantiles) |
| std::pair< raster::GDALRasterWrapper *, std::unordered_map< std::string, std::vector< double > > > | sgs::quantiles::quantiles (raster::GDALRasterWrapper *p_raster, std::map< int, std::vector< double > > userProbabilites, bool map, std::string filename, std::string tempFolder, bool largeRaster, int threadCount, std::map< std::string, std::string > driverOptions, double eps) |