|
sgsPy
structurally guided sampling
|
Go to the source code of this file.
Namespaces | |
| namespace | sgs |
| namespace | sgs::dist |
Functions | |
| template<typename T> | |
| void | sgs::dist::findMinMax (helper::RasterBandMetaData &band, int width, int height, T &min, T &max) |
| template<typename T> | |
| void | sgs::dist::setBins (T min, T max, int nBins, GDALDataType type, std::vector< double > &dbins, std::vector< T > &tbins) |
| template<typename T> | |
| void | sgs::dist::populationDistribution (helper::RasterBandMetaData &band, int width, int height, int nBins, std::vector< T > &binVals, std::vector< int64_t > &counts) |
| template<typename T> | |
| std::vector< int64_t > | sgs::dist::sampleDistribution (helper::RasterBandMetaData &band, std::vector< helper::Index > &samples, std::vector< T > binVals, int nBins) |
| template<typename T> | |
| void | sgs::dist::calculateDist (helper::RasterBandMetaData &band, std::vector< helper::Index > &sampled, int height, int width, int nBins, std::unordered_map< std::string, std::pair< std::vector< double >, std::vector< int64_t > > > &retval) |
| std::unordered_map< std::string, std::pair< std::vector< double >, std::vector< int64_t > > > | sgs::dist::dist (raster::GDALRasterWrapper *p_raster, int index, vector::GDALVectorWrapper *p_vector, std::string layer, int nBins) |