IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2008, 3:47:14 PM (18 years ago)
Author:
Paul Price
Message:

Wasn't normalising separable interpolations by the square of the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageInterpolate.c

    r18162 r18297  
    77 *  @author Paul Price, IfA
    88 *
    9  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-06-17 21:24:58 $
     9 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-06-24 01:47:14 $
    1111 *
    1212 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    586586                *varianceValue += xInterpValue * kernel2; /* Interpolating in y */ \
    587587            } \
     588            *varianceValue /= ySumKernel2; \
    588589            break; \
    589590          }
Note: See TracChangeset for help on using the changeset viewer.