IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 3, 2009, 4:55:27 PM (17 years ago)
Author:
Paul Price
Message:

Adding function to return an interpolation kernel. Intend to use this for calculating the covariance (pseudo-)matrix.

File:
1 edited

Legend:

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

    r21183 r21280  
    77 * @author Paul Price, Institute for Astronomy
    88 *
    9  * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    10  * @date $Date: 2009-01-27 06:39:37 $
     9 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     10 * @date $Date: 2009-02-04 02:55:27 $
    1111 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii
    1212 */
     
    5050    const psImage *variance;            ///< Variance image for interpolation
    5151    const psImage *mask;                ///< Mask image for interpolation
    52     psImageMaskType maskVal;            ///< Value to mask
     52    psImageMaskType maskVal;            ///< Value to mask
    5353    double badImage;                    ///< Image value if x,y location is not good
    5454    double badVariance;                 ///< Variance value if x,y location is not good
    55     psImageMaskType badMask;            ///< Mask value to give bad pixels
    56     psImageMaskType poorMask;           ///< Mask value to give poor pixels
     55    psImageMaskType badMask;            ///< Mask value to give bad pixels
     56    psImageMaskType poorMask;           ///< Mask value to give poor pixels
    5757    float poorFrac;                     ///< Fraction of flux in bad pixels before output is marked bad
    5858    bool shifting;                      ///< Shifting images? Don't interpolate if the shift is exact.
     
    101101    );
    102102
     103/// Generate the appropriate interpolation kernel
     104psKernel *psImageInterpolationKernel(float x, float y, ///< Position of interest
     105                                     psImageInterpolateMode mode ///< Interpolation mode
     106    );
     107
    103108#endif
Note: See TracChangeset for help on using the changeset viewer.