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

File:
1 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");
Note: See TracChangeset for help on using the changeset viewer.