sgsPy
structurally guided sampling
Loading...
Searching...
No Matches
pca.h
#include <iostream>
#include <numeric>
#include "utils/helper.h"
#include "utils/raster.h"
#include "oneapi/dal.hpp"

Go to the source code of this file.

Classes

struct  sgs::pca::PCAResult< T >

Namespaces

namespace  sgs
namespace  sgs::pca

Typedefs

typedef oneapi::dal::homogen_table sgs::pca::DALHomogenTable

Functions

template<typename T>
PCAResult< T > sgs::pca::calculatePCA (std::vector< helper::RasterBandMetaData > &bands, GDALDataType type, size_t size, int width, int height, int nComp)
template<typename T>
PCAResult< T > sgs::pca::calculatePCA (std::vector< helper::RasterBandMetaData > &bands, GDALDataType type, size_t size, int xBlockSize, int yBlockSize, int xBlocks, int yBlocks, int nComp)
template<typename T>
void sgs::pca::writePCA (std::vector< helper::RasterBandMetaData > &bands, std::vector< helper::RasterBandMetaData > &PCABands, PCAResult< T > &result, GDALDataType type, size_t size, int height, int width)
template<typename T>
void sgs::pca::writePCA (std::vector< helper::RasterBandMetaData > &bands, std::vector< helper::RasterBandMetaData > &PCABands, PCAResult< T > &result, GDALDataType type, size_t size, int xBlockSize, int yBlockSize, int xBlocks, int yBlocks)
std::tuple< raster::GDALRasterWrapper *, std::vector< std::vector< double > >, std::vector< double >, std::vector< double >, std::vector< double > > sgs::pca::pca (raster::GDALRasterWrapper *p_raster, int nComp, bool largeRaster, std::string tempFolder, std::string filename, std::map< std::string, std::string > driverOptions)