Changeset 26819
- Timestamp:
- Feb 8, 2010, 5:44:02 PM (16 years ago)
- Location:
- branches/eam_branches/20091201
- Files:
-
- 2 edited
-
ppImage/src/ppImageDetrendPattern.c (modified) (1 diff)
-
psModules/src/detrend/pmPattern.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ppImage/src/ppImageDetrendPattern.c
r26817 r26819 91 91 } 92 92 if (doPattern) { 93 const char *chipName = psMetadataLookupStr(NULL, chip->concepts, "CHIP.NAME");94 const char *cellName = psMetadataLookupStr(NULL, cell->concepts, "CELL.NAME");95 psLogMsg("ppImage", PS_LOG_INFO, "Performing cell pattern correction for %s, %s\n",96 chipName, cellName);97 93 tweak->data.U8[i] = 0xFF; 98 94 } -
branches/eam_branches/20091201/psModules/src/detrend/pmPattern.c
r26776 r26819 258 258 } 259 259 float correction = background - mean->data.F32[i]; // Correction to apply 260 psLogMsg("psModules.detrend", PS_LOG_DETAIL, "Correcting background of cell %d by %f", i, correction); 260 const char *cellName = psMetadataLookupStr(NULL, cell->concepts, "CELL.NAME"); // Name of cell 261 psLogMsg("psModules.detrend", PS_LOG_DETAIL, "Correcting background of cell %s by %f", 262 cellName, correction); 261 263 psBinaryOp(ro->image, ro->image, "+", psScalarAlloc(correction, PS_TYPE_F32)); 262 264 }
Note:
See TracChangeset
for help on using the changeset viewer.
