Changeset 27469 for trunk/magic/remove/src/streaksremove.c
- Timestamp:
- Mar 26, 2010, 11:29:25 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksremove.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksremove.c
r27347 r27469 104 104 long totalPixels = 0; 105 105 long totalStreakPixels = 0; 106 long unDiffedPixels = 0;106 long nonDiffedPixels = 0; 107 107 108 108 // accumulators for the various timers … … 154 154 // set non-diffed pixels and variance to NAN, mask to maskStreak (since the pixel 155 155 // is excised as part of the destreaking process) 156 unDiffedPixels += exciseNonDiffedPixels(sfiles, sfiles->maskStreak);156 nonDiffedPixels += exciseNonDiffedPixels(sfiles, sfiles->maskStreak); 157 157 158 158 enw_t += psTimerClear("EXCISE_NON_DIFFED"); … … 220 220 psMetadataAddF32(sfiles->stats, PS_LIST_TAIL, "STREAK_FRACTION", PS_META_REPLACE, "", streakFraction); 221 221 222 psF64 unDiffedFraction = (double) unDiffedPixels / totalPixels;223 psLogMsg("streaksremove", PS_LOG_INFO, " undiffed pixels: %8ld %4.2f%%\n", unDiffedPixels, unDiffedFraction * 100);224 psMetadataAddF32(sfiles->stats, PS_LIST_TAIL, " UNDIFFED_FRACTION", PS_META_REPLACE, "", unDiffedFraction);222 psF64 nonDiffedFraction = (double) nonDiffedPixels / totalPixels; 223 psLogMsg("streaksremove", PS_LOG_INFO, "nondiffed pixels: %8ld %4.2f%%\n", nonDiffedPixels, nonDiffedFraction * 100); 224 psMetadataAddF32(sfiles->stats, PS_LIST_TAIL, "NONDIFFED_FRACTION", PS_META_REPLACE, "", nonDiffedFraction); 225 225 226 226 // check the weight and mask files for extra extensions that might be in files
Note:
See TracChangeset
for help on using the changeset viewer.
