IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 10, 2008, 2:41:30 PM (18 years ago)
Author:
Paul Price
Message:

Adding psImageShiftMask --- allows mask to follow the image when shifting. Used in pmSourcePhotometry.c

File:
1 edited

Legend:

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

    r12745 r16910  
    66 * @author Robert DeSonia, MHPCC
    77 *
    8  * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-04-05 00:17:29 $
     8 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2008-03-11 00:41:30 $
    1010 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    9898);
    9999
     100/// Apply a translation to an image
     101///
     102/// This function is very much like psImageShift, except that it applies the same shifts to the mask
     103bool psImageShiftMask(
     104    psImage **out,                      ///< Output shifted image
     105    psImage **outMask,                  ///< Output shifted mask, or NULL
     106    const psImage* in,                  ///< Input image
     107    const psImage *inMask,              ///< Input mask, or NULL
     108    psMaskType maskVal,                 ///< Value to mask
     109    float dx, float dy,                 ///< Shift to apply
     110    double exposed,                     ///< Value to give exposed pixels
     111    psMaskType blank,                   ///< Mask value for exposed pixels
     112    psImageInterpolateMode mode         ///< Interpolation mode
     113    );
     114
    100115/** Roll image by an integer number of pixels in either direction.
    101116 *
Note: See TracChangeset for help on using the changeset viewer.