1) renommer quelques fonctions dans lib/operators.c
2) ajouter une fonction d'additin d'images (maybe ?) plus rapide 3) reparation d'un bug dans tools/fimgops.c
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* floatimg.h
|
||||
*/
|
||||
|
||||
#define FIMG_VERSION 86
|
||||
#define FIMG_VERSION 87
|
||||
|
||||
/*
|
||||
* in memory descriptor
|
||||
@@ -69,9 +69,10 @@ int fimg_images_compatible(FloatImg *a, FloatImg *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);
|
||||
int fimg_mul(FloatImg *a, FloatImg *b, FloatImg *d);
|
||||
int fimg_add_3(FloatImg *a, FloatImg *b, FloatImg *d);
|
||||
int fimg_add_2(FloatImg *a, FloatImg *b); /* B+=A */
|
||||
int fimg_sub_3(FloatImg *a, FloatImg *b, FloatImg *d);
|
||||
int fimg_mul_3(FloatImg *a, FloatImg *b, FloatImg *d);
|
||||
int fimg_minimum(FloatImg *a, FloatImg *b, FloatImg *d);
|
||||
int fimg_maximum(FloatImg *a, FloatImg *b, FloatImg *d);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user