Sonoptic experiments day 4
This commit is contained in:
@@ -19,7 +19,7 @@ float global_fvalue;
|
||||
* nouveau 7 octobre 2020 pendant sonoptic
|
||||
*/
|
||||
|
||||
int fimg_qsort_rgb(FloatImg *psrc, FloatImg *pdst, int notused);
|
||||
//
|
||||
|
||||
int essai_qsort_rgb(char *infile)
|
||||
{
|
||||
@@ -41,13 +41,13 @@ else {
|
||||
|
||||
fimg_clone(&src, &dst, 1);
|
||||
|
||||
foo = fimg_qsort_rgb(&src, &dst, 0);
|
||||
foo = fimg_qsort_rgb_b(&src, &dst, 0);
|
||||
if (foo) {
|
||||
fprintf(stderr, "%s: err %d in qsort_rgb\n", __func__, foo);
|
||||
return foo;
|
||||
}
|
||||
|
||||
foo = fimg_save_as_pnm(&dst, "out.pnm", 0);
|
||||
foo = fimg_dump_to_file(&dst, "out.fimg", 0);
|
||||
if (foo) {
|
||||
fprintf(stderr, "%s : err %d saving result\n", __func__, foo);
|
||||
return foo;
|
||||
|
||||
Reference in New Issue
Block a user