IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 28, 2010, 4:29:36 AM (16 years ago)
Author:
Paul Price
Message:

Use new function to speed up calculation of covariance factor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psphot/src/psphotEfficiency.c

    r26266 r26705  
    3333
    3434    psKernel *kernel = psImageSmoothKernel(smoothSigma, smoothNsigma); // Kernel used for smoothing
    35     psKernel *newCovar = psImageCovarianceCalculate(kernel, ro->covariance); // Covariance matrix
     35    *covarFactor = psImageCovarianceCalculateFactor(kernel, ro->covariance);
    3636    psFree(kernel);
    37     *covarFactor = psImageCovarianceFactor(newCovar); // Variance factor
    38     psFree(newCovar);
    3937
    4038    psStats *stats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN); // Statistics for variance
Note: See TracChangeset for help on using the changeset viewer.