IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2010, 11:29:25 AM (16 years ago)
Author:
bills
Message:

renamed 'undiffed pixels' to nondiffed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksremove.c

    r27347 r27469  
    104104    long totalPixels = 0;
    105105    long totalStreakPixels = 0;
    106     long unDiffedPixels = 0;
     106    long nonDiffedPixels = 0;
    107107
    108108    // accumulators for the various timers
     
    154154                    // set non-diffed pixels and variance to NAN, mask to maskStreak (since the pixel
    155155                    // is excised as part of the destreaking process)
    156                     unDiffedPixels += exciseNonDiffedPixels(sfiles, sfiles->maskStreak);
     156                    nonDiffedPixels += exciseNonDiffedPixels(sfiles, sfiles->maskStreak);
    157157
    158158                    enw_t +=  psTimerClear("EXCISE_NON_DIFFED");
     
    220220    psMetadataAddF32(sfiles->stats, PS_LIST_TAIL, "STREAK_FRACTION", PS_META_REPLACE, "", streakFraction);
    221221
    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);
    225225
    226226    // check the weight and mask files for extra extensions that might be in files
Note: See TracChangeset for help on using the changeset viewer.