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/psImageGeomManip.h

    r12431 r12741  
    66 * @author Robert DeSonia, MHPCC
    77 *
    8  * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-03-14 00:39:50 $
     8 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2007-04-04 22:42:02 $
    1010 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    1717
    1818#include "psImage.h"
     19#include "psImageInterpolate.h"
    1920#include "psCoord.h"
    2021#include "psStats.h"
     
    158159 *  coordinates in the input image of a pixel in the output image — note that
    159160 *  this is the reverse of what might be naively expected, but it is what is
    160  *  required in order to use psImagePixelInterpolate. If the pixels array is
     161 *  required in order to use psImageInterpolate. If the pixels array is
    161162 *  non-NULL, it shall consist of psPixelCoords, and only those pixels in the
    162163 *  output image shall be transformed; otherwise, the entire image is
Note: See TracChangeset for help on using the changeset viewer.