on verra demain

This commit is contained in:
2020-12-29 00:54:15 +01:00
parent e7ad5188ca
commit b8e5bbf3cc
8 changed files with 53 additions and 9 deletions

View File

@@ -18,6 +18,37 @@
*/
extern int verbosity;
/* -------------------------------------------------------------- */
/* nouveau du 27 decembre 2020, un soir de grand froid... */
int octotree_classif(FloatImg *pimg, int notused)
{
int foo;
float mm[6], means[4];
fprintf(stderr, ">>> %s ( %p %d )\n", __func__, pimg, notused);
foo = fimg_meanvalues(pimg, means);
if (foo) {
fprintf(stderr, "oups %d in meanvalues\n", foo);
return foo;
}
fprintf(stderr, "means: %11f %11f %11f\n", means[0], means[1], means[2]);
foo = fimg_get_minmax_rgb(pimg, mm);
if (foo) {
fprintf(stderr, "oups %d in get minmax\n", foo);
return foo;
}
fimg_print_minmax(mm, __func__);
/*
* compute the height center points */
return -1;
}
/* -------------------------------------------------------------- */
/* nouveau du 19 decembre 2020, pour le grand ecran de da Scritch */