Changeset 15118
- Timestamp:
- Sep 29, 2007, 12:19:19 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotImageMedian.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotImageMedian.c
r14942 r15118 201 201 psVector *sample = NULL; 202 202 203 // turn on stats tracing in desired cells 204 # if (1) 205 psMetadata *plots = psMetadataLookupPtr (&status, recipe, "DIAGNOSTIC.PLOTS"); 206 assert (plots); 207 208 int xPlot = psMetadataLookupS32 (&status, plots, "IMAGE.BACKGROUND.CELL.HISTOGRAM.X"); 209 assert (status); 210 int yPlot = psMetadataLookupS32 (&status, plots, "IMAGE.BACKGROUND.CELL.HISTOGRAM.Y"); 211 assert (status); 212 213 bool gotX = (xPlot < 0) || (xPlot == ix); 214 bool gotY = (yPlot < 0) || (yPlot == iy); 215 216 if (gotX && gotY) { 217 psTraceSetLevel ("psLib.math.vectorFittedStats_v4", 6); 218 psTraceSetLevel ("psLib.math.vectorRobustStats", 6); 219 } else { 220 psTraceSetLevel ("psLib.math.vectorFittedStats_v4", 0); 221 psTraceSetLevel ("psLib.math.vectorRobustStats", 0); 222 } 223 # endif 224 203 225 if (psImageBackground(stats, &sample, subset, submask, maskVal, rng)) { 204 226 if (stats->options & PS_STAT_ROBUST_QUARTILE) {
Note:
See TracChangeset
for help on using the changeset viewer.
