IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10417


Ignore:
Timestamp:
Dec 1, 2006, 6:24:48 PM (20 years ago)
Author:
Paul Price
Message:

Fixing propagation of API change to psImageBackground

Location:
trunk/psModules/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPA_JPEG.c

    r10406 r10417  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-12-02 00:51:55 $
     7 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-12-02 04:24:48 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    131131    // XXX we need to decide where the scale will come from in the long term
    132132    psRandom *rng = psRandomAlloc(PS_RANDOM_TAUS, 0);
    133     psStats *stats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_QUARTILE);
     133    psStats *stats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN);
    134134    stats->nSubsample = 10000;
    135135    if (!psImageBackground(stats, readout->image, NULL, 0, rng)) {
  • trunk/psModules/src/detrend/pmMaskBadPixels.c

    r10406 r10417  
    120120
    121121    // XXX note that this now will accept any of several stats options
    122     psStats *stats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_QUARTILE);
     122    psStats *stats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
    123123    stats->nSubsample = frac * image->numCols * image->numRows;
    124124    if (!psImageBackground(stats, image, mask, maskVal, rng) ||
     
    132132
    133133    float median = stats->robustMedian; // Median value
    134     float stdev = 0.74*(stats->robustUQ - stats->robustLQ); // Estimate of the standard deviation
     134    float stdev = stats->robustStdev; // Estimate of the standard deviation
    135135    psFree(stats);
    136136
Note: See TracChangeset for help on using the changeset viewer.