IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2008, 3:12:44 PM (18 years ago)
Author:
Paul Price
Message:

Adding option of allowing 'exact' shifts when doing interpolation. This cuts down on a bit of the work in the event that the shift is integral. This can be turned off via a new boolean in psImageInterpolateOptions, so that a real interpolation kernel (not just with 0 and 1, but a real sinc kernel, for example) is returned. Hopefully this allows the use of psImageInterpolate to interpolate over bad pixels.

File:
1 edited

Legend:

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

    r18162 r19140  
    77 * @author Paul Price, Institute for Astronomy
    88 *
    9  * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    10  * @date $Date: 2008-06-17 21:24:58 $
     9 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     10 * @date $Date: 2008-08-21 01:12:44 $
    1111 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii
    1212 */
     
    5353    psMaskType poorMask;                ///< Mask value to give poor pixels
    5454    float poorFrac;                     ///< Fraction of flux in bad pixels before output is marked bad
     55    bool shifting;                      ///< Shifting images? Don't interpolate if the shift is exact.
    5556} psImageInterpolateOptions;
    5657
Note: See TracChangeset for help on using the changeset viewer.