#ifndef SERIALCALC_HPP #define SERIALCALC_HPP void run_serial(const unsigned char* image, const float* PCA, const float* PCA_mean, const float* SVM, const float* SVM_intercept, const float* WB, //White balance vector const float* savgol_coef, //Savitzky-Golay filter unsigned char* labels, //Output SVM labels const int Nx, //Dimension of the image in x const int Ny, //Dimension of the image in y const int Nc, //Number of channels in the image const int Npca, //Number of PCA components const int Nk, //Number of classes const int Wl_min, //Minimum wavelength const int Wl_max, //Maximum wavelength const int savgol, //Toggle Savitzky-Golay filter (0 = off, 1 = on) const int white_balance, //Toggle white balance (0 = off, 1 = on) const int savgol_window, //Savitzky-Golay window size bool print_time ); void run_serial_minimal(const unsigned char* image, const float* PCA, const float* PCA_mean, const float* SVM, const float* SVM_intercept, unsigned char* labels, //Output SVM labels const int Nx, //Dimension of the image in x const int Ny, //Dimension of the image in y const int Nc, //Number of channels in the image const int Npca, //Number of PCA components const int Nk, //Number of SVM clusters const int Wl_min, //Minimum wavelength const int Wl_max, //Maximum wavelength bool print_time ); #endif // SERIALCALC_HPP