IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2006, 5:21:15 AM (20 years ago)
Author:
magnier
Message:

I added code to pmSourcePhotometryAper to shift the source so the
centroid fractional-pixel position matches the centroid of the growth
curve reference object. I make a temporary copy of the object pixels,
then use bilinear interpolation to shift the pixels by the desired
about. Bilinear interpolation is probably too coarse for this step: i
still see a few tenths of a mag error for a 2pixel radius aperture.
note that I added a temporary verion of psImageShift because the
existing code has an error (it seems to be confused about the 0.5
pixel center, or is inconsistent wrt psImageInterpolate).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourcePhotometry.h

    r9527 r9843  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-10-13 02:24:34 $
     5 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-11-03 15:21:15 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5151bool pmSourcePixelWeight (float *pixWeight, pmModel *model, psImage *image, psImage *mask);
    5252
     53psImage *tmp_psImageShift (psImage *in, float dx, float dy);
     54
    5355# endif /* PM_SOURCE_PHOTOMETRY_H */
Note: See TracChangeset for help on using the changeset viewer.