|
sgsPy
structurally guided sampling
|
Functions | |
| template<typename T> | |
| void | findMinMax (helper::RasterBandMetaData &band, int width, int height, T &min, T &max) |
| template<typename T> | |
| void | setBins (T min, T max, int nBins, GDALDataType type, std::vector< double > &dbins, std::vector< T > &tbins) |
| template<typename T> | |
| void | 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 > | sampleDistribution (helper::RasterBandMetaData &band, std::vector< helper::Index > &samples, std::vector< T > binVals, int nBins) |
| template<typename T> | |
| void | 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 > > > | dist (raster::GDALRasterWrapper *p_raster, int index, vector::GDALVectorWrapper *p_vector, std::string layer, int nBins) |