not a milestone
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include "crapulator.h"
|
||||
|
||||
/* -------------------------------------------------------------- */
|
||||
/* support function for the crapulator */
|
||||
static int effect_3(FloatImg *image)
|
||||
{
|
||||
float value;
|
||||
@@ -76,7 +75,6 @@ if (666==count) {
|
||||
switch (idFx) {
|
||||
case 0: /* DO NOTHING */
|
||||
retval = 0; break;
|
||||
|
||||
case 1:
|
||||
fimg_cos_01(image, image,
|
||||
fimg_get_maxvalue(image));
|
||||
@@ -99,15 +97,12 @@ switch (idFx) {
|
||||
case 6:
|
||||
fimg_killcolors_a(image, 0.0);
|
||||
break;
|
||||
|
||||
case 7:
|
||||
retval = fimg_colors_mixer_a(image, 2.0);
|
||||
break;
|
||||
|
||||
case 8:
|
||||
retval = insitu_ctr2x2(image);
|
||||
break;
|
||||
|
||||
case 9:
|
||||
retval = fimg_classif_trial(image, image, 0.37, 0);
|
||||
if (retval) {
|
||||
@@ -115,11 +110,13 @@ switch (idFx) {
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
|
||||
case 10:
|
||||
retval = binarize(image, 0);
|
||||
break;
|
||||
|
||||
case 11:
|
||||
retval = trinarize(image, 0);
|
||||
break;
|
||||
/* --- WTF -- */
|
||||
default :
|
||||
fprintf(stderr, "%s : effect #%d invalid\n",
|
||||
__func__, idFx);
|
||||
|
||||
Reference in New Issue
Block a user