Changeset 11156 for trunk/psLib/src/imageops/psImageBackground.c
- Timestamp:
- Jan 18, 2007, 6:33:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageBackground.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageBackground.c
r10999 r11156 7 7 8 8 #include "psMemory.h" 9 #include "psTrace.h" 9 10 #include "psImage.h" 10 11 #include "psVector.h" … … 98 99 } 99 100 if (!psVectorStats (stats, values, NULL, NULL, 0)) { 101 if (psTraceGetLevel("psLib.imageops") >= 5) { 102 FILE *f = fopen ("vector.dat", "w"); 103 int fd = fileno(f); 104 p_psVectorPrint (fd, values, "values"); 105 fclose (f); 106 } 100 107 psError(PS_ERR_UNKNOWN, false, "Unable to measure statistics for image background " 101 108 "(%dx%d, (row0,col0) = (%d,%d)", … … 104 111 return false; 105 112 } 113 if (psTraceGetLevel("psLib.imageops") >= 6) { 114 FILE *f = fopen ("vector.dat", "w"); 115 int fd = fileno(f); 116 p_psVectorPrint (fd, values, "values"); 117 fclose (f); 118 } 106 119 } 107 120
Note:
See TracChangeset
for help on using the changeset viewer.
