Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
|
Go to the source code of this file.
Namespaces | |
scyl | |
Functions | |
void | scyl::generate_nurbs (const arma::fcube &I, const arma::fvec &wavelengths, arma::fvec &knot_vector, arma::fcube &control_points, arma::fvec &wavelength_cp, int degree=2, int knot_threshold=-1, float alpha=0.1f, int iterations=10, int debug=0) |
generate_nurbs() encodes an array of discrete data into a NURBS curve representation. More... | |
void | scyl::nurbs_global_interpolation (const arma::fcube &I, const arma::fvec &wavelengths, arma::fvec &knot_vector, arma::fvec ¶metric_points, arma::fcube &control_points, arma::fvec &wavelength_cp, int degree=2, int debug=0) |
nurbs_global_interpolation() gives an equivalent NURBS encoding for data based on the given image and wavelengths. More... | |
int | scyl::nurbs_find_span (const arma::fvec &knot_vector, int degree, float point) |
nurbs_find_span finds the span of 'point' in the vector 'knot_vector'. More... | |
arma::fvec | scyl::nurbs_get_basis (const arma::fvec &knot_vector, int span, int degree, float point) |
nurbs_get_basis() finds the basis of the sub-vector of 'knot_vector' for the given point and span. More... | |
arma::fvec | scyl::nurbs_minimal_knots (const arma::fcube &I, const arma::fvec &wavelengths, const arma::fvec &knot_vector, const arma::fcube &control_points, const arma::fvec &wavelength_cp, arma::fvec &min_knot_vector, arma::fcube &min_control_points, arma::fvec &min_wavelength_cp, float alpha, int degree, int target_knot_num, int debug) |
nurbs_minimal_knots() takes a set of NURBS curves, and returns a minimised NURBS representation of the original data, More... | |
int | scyl::nurbs_remove_curve_knot (const arma::fvec &knot_vector, const arma::fcube &control_points, const arma::fvec &wavelength_cp, arma::fvec &new_knot_vector, arma::fcube &new_control_points, arma::fvec &new_wavelength_cp, float tolerance, int degree, int index, int multiplicity, int num_removes) |
nurbs_remove_curve_knot() takes a NURBS encoded data set and a specified knot index, and attempts to remove the knot from the set. More... | |
arma::fvec | scyl::nurbs_find_parapoints (const arma::fvec &wavelengths, const arma::fvec &knot_vector, const arma::fvec &control_points, float error_tolerance, int degree) |
nurbs_find_parapoints() calculates the parametric points for the given NURBS set. More... | |
arma::fvec | scyl::nurbs_evaluate_univariate (const arma::fvec &knot_vector, const arma::fvec &control_points, const arma::fvec ¶meters, int degree) |
nurbs_evaluate_univariate() evaluates a B-Spline curve according to the given parameters. More... | |
arma::fcube | scyl::nurbs_reconstruct_curve (const arma::fvec &knot_vector, const arma::fvec &t, const arma::fcube &control_points, const arma::fvec &wavelength_cp, arma::fvec &wavelengths, int degree) |
nurbs_reconstruct_curve() takes a NURBS representation of a data set and a set of points to evaluate it at and reconstructs the original data. More... | |
arma::fcube | scyl::nurbs_reconstruct_image (const arma::fvec &knot_vector, const arma::fcube &control_points, const arma::fvec &wavelength_cp, const arma::fvec &wavelengths, arma::fvec &wavelengths_new, int degree) |
nurbs_reconstruct_image() takes a NURBS encoded image and returns the reconstructed image cube. More... | |