IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 20, 2007, 2:03:23 PM (19 years ago)
Author:
eugene
Message:

new API for psImageBackground

Location:
trunk/psModules/src/detrend
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.c

    r13591 r14935  
    112112    psStats *stats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
    113113    stats->nSubsample = frac * image->numCols * image->numRows;
    114     if (!psImageBackground(stats, image, mask, maskVal, rng) ||
     114    if (!psImageBackground(stats, NULL, image, mask, maskVal, rng) ||
    115115            !isfinite(stats->robustMedian) || !isfinite(stats->robustUQ) || !isfinite(stats->robustLQ)) {
    116116        psError(PS_ERR_UNKNOWN, false, "Unable to measure image statistics.\n");
  • trunk/psModules/src/detrend/pmShutterCorrection.c

    r13870 r14935  
    811811        psMemIncrRefCounter(rng);
    812812    }
    813     if (!psImageBackground(stats, readout->image, readout->mask, maskVal, rng)) {
     813    if (!psImageBackground(stats, NULL, readout->image, readout->mask, maskVal, rng)) {
    814814        psError(PS_ERR_UNKNOWN, false, "Unable to measure reference statistics.\n");
    815815        psFree(stats);
Note: See TracChangeset for help on using the changeset viewer.