IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 12, 2004, 10:53:02 AM (22 years ago)
Author:
gusciora
Message:

Added new members to psExposure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.c

    r1964 r2058  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-10-05 23:14:15 $
     11 *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-10-12 20:53:02 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    520520    XXX: use a static variable for gaussianCoefs[] and compute them once.
    521521 *****************************************************************************/
    522 psVector* p_psVectorsmoothHistGaussian(psHistogram* robustHistogram, float sigma)
     522psVector* p_psVectorsmoothHistGaussian(psHistogram* robustHistogram,
     523                                       float sigma)
    523524{
    524525    int i = 0;                  // Loop index variable
     
    543544            gaussianCoefs[i] = exp(expo / denom);
    544545
     546            //printf("p_psVectorsmoothHistGaussian(): gaussianCoefs[%d] is %f\n", i, gaussianCoefs[i]);
    545547            // NOTE: Gaussian smoothing just isn't working with low sigma
    546548            // values.  The problem is that the Gaussian coefficients are
     
    12001202    // Smooth the histogram.
    12011203    // XXX: is that the right stdev?
    1202     robustHistogramVector = p_psVectorsmoothHistGaussian(robustHistogram, tmpStats->clippedStdev / 4.0f);
     1204    robustHistogramVector = p_psVectorsmoothHistGaussian(robustHistogram,
     1205                            tmpStats->clippedStdev / 4.0f);
    12031206
    12041207    // The following was necessary to fit a gaussian to the data, since
Note: See TracChangeset for help on using the changeset viewer.