/* Last edited on 2007-11-11 02:32:29 by stolfi */ " is called" \ " \"test-enc-{GGGG}-{BBBB}.pgm\", where" \ " \"{GGGG}\" and \"{BBBB}\" are the values of {GAMMA} and" \ " {BIAS} given to the program, times 1000 and rounded" \ " to the nearest integer.\n" \ "\n" \ " The image is called" \ " \"test-enc-{U0}={V0}-{U1}={V1}-{U2}={V2}.pgm\", where" \ " \"{U0}\", \"{V0}\", \"{U1}\", etc. are the values of {U[0..2]} and {V[0..2]}" \ " given to the program, times 1000 and rounded" \ " to the nearest integer" /* File name depends on gamma: */ int GGGG = (int)(o->gamma*1000 + 0.5); int BBBB = (int)(o->bias*1000 + 0.5); asprintf(&fname, "test-enc-%04d-%04d", GGGG, BBBB); OUTNAME := test-enc-${subst .,,${GAMMA}}-${subst .,,${BIAS}}