-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsplines.h
34 lines (23 loc) · 1.03 KB
/
splines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Authors: Unknown. Please, if you are the author of this file, or if you
// know who are the authors of this file, let us know, so we can give the
// adequate credits and/or get the adequate authorizations.
#ifndef _SPLINES_H_
#define _SPLINES_H_
#include "numerics1.h"
#include "library.h"
#include "string.h"
#include <vector>
using namespace std;
//float v(float *in,int x,int y,float bg, int width, int height);
// Guoshen Yu, 2010.09.21, Windows version
float v(vector<float>& in,int x,int y,float bg, int width, int height);
//float v(float *in, int x,int y,float bg, int width, int height);
void keys(float *c,float t,float a);
void spline3(float *c,float t);
void init_splinen(float *a,int n);
void splinen(float *c,float t,float *a,int n);
//void finvspline(float *in,int order,float *out, int width, int height);
// Guoshen Yu, 2010.09.22, Windows versions
void finvspline(vector<float>& in,int order,vector<float>& out, int width, int height);
// void finvspline(float *in,int order,float *out, int width, int height);
#endif