two new operators (mini & maxi)

This commit is contained in:
2019-11-20 11:12:16 +01:00
parent ca4bfcff05
commit b62b5a4805
6 changed files with 83 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
* floatimg.h
*/
#define FIMG_VERSION 76
#define FIMG_VERSION 77
/*
* in memory descriptor
@@ -68,6 +68,8 @@ int fimg_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef);
int fimg_add(FloatImg *a, FloatImg *b, FloatImg *d);
int fimg_sub(FloatImg *a, FloatImg *b, FloatImg *d);
int fimg_mul(FloatImg *a, FloatImg *b, FloatImg *d);
int fimg_minimum(FloatImg *a, FloatImg *b, FloatImg *d);
int fimg_maximum(FloatImg *a, FloatImg *b, FloatImg *d);
/* PNM files module */
int fimg_save_as_pnm(FloatImg *head, char *fname, int flags);