forked from tTh/FloatImg
nice try ?
This commit is contained in:
parent
4e32daa448
commit
be7ea3e0ff
@ -105,7 +105,7 @@ FimgFilter3x3 diagonal = {
|
|||||||
1.0, 0.0, -1.0,
|
1.0, 0.0, -1.0,
|
||||||
0.0, -1.0, -2.0,
|
0.0, -1.0, -2.0,
|
||||||
},
|
},
|
||||||
1.0, 4.0
|
1.0, 0.0
|
||||||
};
|
};
|
||||||
|
|
||||||
switch (typef) {
|
switch (typef) {
|
||||||
@ -126,6 +126,7 @@ if (retval) {
|
|||||||
fprintf(stderr, "%s error %d on filter\n", __func__, retval);
|
fprintf(stderr, "%s error %d on filter\n", __func__, retval);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
(void)fimg_killborders(&img); /* nice try ? */
|
||||||
|
|
||||||
foo = fimg_auto_shift_to_zero(&img, &img);
|
foo = fimg_auto_shift_to_zero(&img, &img);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user