enhanced verbosity message
This commit is contained in:
		
							parent
							
								
									3279d0dde8
								
							
						
					
					
						commit
						fe22b0561e
					
				| @ -240,7 +240,7 @@ else	{ | ||||
| 	} | ||||
| 
 | ||||
| fimg_clear(&cumul); | ||||
| cumul.fval = 255.0; | ||||
| cumul.fval = 255.0;		/* must be read from camera XXX */ | ||||
| cumul.count = 0; | ||||
| 
 | ||||
| to_save = &cumul; | ||||
| @ -347,6 +347,8 @@ if (verbosity) fprintf(stderr, "saving cumul to '%s'\n", outfile); | ||||
| maxvalue = cumul.fval * cumul.count; | ||||
| if (verbosity) { | ||||
| 	fprintf(stderr, "theorical maxvalue = %g\n", maxvalue); | ||||
| 	fprintf(stderr, "computed max value = %g\n", | ||||
| 					fimg_get_maxvalue(&cumul)); | ||||
| 	} | ||||
| switch (contrast) { | ||||
| 	case CONTRAST_NONE: | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user