starting interpolate funcs

This commit is contained in:
2019-09-09 16:02:44 +02:00
parent f4001a1e13
commit 2f3a8870c4
4 changed files with 95 additions and 15 deletions

View File

@@ -46,6 +46,9 @@ int fimg_plot_rgb (FloatImg *head, int x, int y, float r, float g, float b);
int fimg_clear(FloatImg *fimg);
int fimg_add_rgb(FloatImg *head, int x, int y, float r, float g, float b);
int fimg_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef);
/* 'operats' module */
int fimg_add(FloatImg *a, FloatImg *b, FloatImg *d);
int fimg_sub(FloatImg *a, FloatImg *b, FloatImg *d);