IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2007, 12:42:02 PM (19 years ago)
Author:
Paul Price
Message:

Reworking image interpolation to work on mask and variance image
simultaneously with the proper image. Working in the idea of having
"good", "bad" and "poor" output mask pixels (taken from Andy Becker),
where "poor" pixels have at least one bad input pixel contributing to
the flux, but the contribution is small (where 'small' is defined by a
user option). To handle all the options, created a
psImageInterpolateOptions structure, which contains all the things
which are constant while looping over an image (including the input
image, variance and mask). Changed function name, and split code out
of psImage.[ch] into its own file. Function returns boolean error
status; output values for image, variance and mask come from pointers
to double. Added interpolation types (GAUSS, LANCZOS2, LANCZOS3,
LANCZOS4). Using a fairly general framework so that additional
interpolation methods might be easily added. Updated tests and other
dependent code. Tests pass (but only test BILINEAR and BICUBE), and
pswarp works (but currently only uses BILINEAR).

File:
1 edited

Legend:

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

    r12187 r12741  
    55 * @author Robert DeSonia, MHPCC
    66 *
    7  * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-03-02 22:19:21 $
     7 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-04-04 22:42:02 $
    99 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1010 */
     
    9898///
    9999psKernel *psKernelGenerate(
    100     const psVector *tShifts,           ///< list of time shifts (F32)
    101     const psVector *xShifts,           ///< list of x-axis shifts (S32)
    102     const psVector *yShifts,           ///< list of y-axis shifts (S32)
    103     bool tRelative,                    ///< Are times relative (durations) or absolute?
    104     bool xyRelative                    ///< Are x,y positions relative (shifts) or absolute?
     100    const psVector *tShifts,            ///< list of time shifts (F32)
     101    const psVector *xShifts,            ///< list of x-axis shifts (S32)
     102    const psVector *yShifts,            ///< list of y-axis shifts (S32)
     103    float totalTime,                    ///< Total time (relative times if negative)
     104    bool xyRelative                     ///< Are x,y positions relative (shifts) or absolute?
    105105);
    106106
Note: See TracChangeset for help on using the changeset viewer.