IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2009, 12:24:27 PM (17 years ago)
Author:
Paul Price
Message:

Actually, don't transfer. Let the user do it, since he may (does, in
the case of ppStack) want to normalise the chi2 using the covariance
factor, which cannot be done if it's been taken out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r21469 r21470  
    13531353        out1->covariance = psImageCovarianceCalculate(kernel, ro1->covariance);
    13541354        psFree(kernel);
    1355         if (out1->variance) {
    1356             psImageCovarianceTransfer(out1->variance, out1->covariance);
    1357         }
    13581355    }
    13591356    if (kernels->mode == PM_SUBTRACTION_MODE_2 || kernels->mode == PM_SUBTRACTION_MODE_DUAL) {
     
    13621359        out2->covariance = psImageCovarianceCalculate(kernel, ro2->covariance);
    13631360        psFree(kernel);
    1364         if (out2->variance) {
    1365             psImageCovarianceTransfer(out2->variance, out2->covariance);
    1366         }
    13671361    }
    13681362
Note: See TracChangeset for help on using the changeset viewer.