IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2005, 4:36:42 PM (21 years ago)
Author:
desonia
Message:

prepared the config/data directories to be installed into standard areas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImageStats.c

    r3115 r3182  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-02-03 00:54:11 $
     11 *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-10 02:36:42 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    139139    for (i = 0; i < n; i++) {
    140140        tmp = (double)(n - i);
    141         tmp = (M_PI * (tmp - 0.5)) / ((double)n);
     141        tmp = (PS_PI * (tmp - 0.5)) / ((double)n);
    142142        scalingFactors[i] = cos(tmp);
    143143    }
     
    348348    // Chebyshev polynomials are 0.
    349349    for (x = 0; x < input->numRows; x++) {
    350         double xTmp = cos(M_PI * (0.5 + ((float) x)) / ((float) input->numRows));
     350        double xTmp = cos(PS_PI * (0.5 + ((float) x)) / ((float) input->numRows));
    351351        double xNode = - ((xTmp + bma + bpa) - 1.0);
    352352        double xOrig = ((float) input->numRows) * (xNode - min) / (max - min);
    353353
    354354        for (y = 0; y < input->numCols; y++) {
    355             double yTmp = cos(M_PI * (0.5 + ((float) y)) / ((float) input->numCols));
     355            double yTmp = cos(PS_PI * (0.5 + ((float) y)) / ((float) input->numCols));
    356356            double yNode = - ((yTmp + bma + bpa) - 1.0);
    357357            double yOrig = ((float) input->numCols) * (yNode - min) / (max - min);
Note: See TracChangeset for help on using the changeset viewer.