IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2009, 4:18:37 PM (17 years ago)
Author:
Paul Price
Message:

Covariance should be averaged, not summed --- otherwise there is a weird factor of 2 in the covariance matrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadoutSubtract.c

    r22699 r23642  
    7474    covars->data[0] = psMemIncrRefCounter(minuend->covariance);
    7575    covars->data[1] = psMemIncrRefCounter(subtrahend->covariance);
    76     outRO->covariance = psImageCovarianceSum(covars);
     76    outRO->covariance = psImageCovarianceAverage(covars);
    7777    psFree(covars);
    7878
Note: See TracChangeset for help on using the changeset viewer.