adding fimg_get_minmax_rgb function

This commit is contained in:
2020-03-02 01:19:57 +01:00
parent 248061f46b
commit 20da2de7fb
5 changed files with 101 additions and 12 deletions

View File

@@ -127,8 +127,9 @@ int fimg_dump_to_file(FloatImg *head, char *fname, int notused);
int fimg_load_from_dump(char *fname, FloatImg *where);
int fimg_create_from_dump(char *fname, FloatImg *head);
/* mathematics operations */
/* mathematics operations */
float fimg_get_maxvalue(FloatImg *head);
int fimg_get_minmax_rgb(FloatImg *head, float mmvals[6]);
int fimg_meanvalues(FloatImg *head, float means[4]);
int fimg_to_gray(FloatImg *head);
void fimg_add_cste(FloatImg *fi, float value);