IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2004, 4:06:12 PM (22 years ago)
Author:
desonia
Message:

added psImageRadialCut. Untested, but compiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImage.h

    r1839 r1897  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-09-21 19:51:41 $
     13 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-09-25 02:06:12 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    118118    float x,                           ///< column location to derive value of
    119119    float y,                           ///< row location ot derive value of
     120    const psImage* mask,               ///< if not NULL, the mask of the input image
     121    unsigned int maskVal,              ///< the mask value
    120122    psC64 unexposedValue,              ///< return value if x,y location is not in image.
    121123    psImageInterpolateMode mode        ///< interpolation mode
     
    124126#define p_psImagePixelInterpolateFcns(TYPE) \
    125127inline psF64 p_psImagePixelInterpolateFLAT_##TYPE( \
    126         const psImage* input, \
    127         float x, \
    128         float y, \
    129         psF64 unexposedValue \
     128        const psImage* input,          /**< input image for interpolation */ \
     129        float x,                       /**< column location to derive value of */ \
     130        float y,                       /**< row location ot derive value of */ \
     131        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
     132        unsigned int maskVal,          /**< the mask value */ \
     133        psF64 unexposedValue           /**< return value if x,y location is not in image. */ \
    130134                                                 ); \
    131135inline psF64 p_psImagePixelInterpolateBILINEAR_##TYPE( \
    132         const psImage* input, \
    133         float x, \
    134         float y, \
    135         psF64 unexposedValue \
     136        const psImage* input,          /**< input image for interpolation */ \
     137        float x,                       /**< column location to derive value of */ \
     138        float y,                       /**< row location ot derive value of */ \
     139        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
     140        unsigned int maskVal,          /**< the mask value */ \
     141        psF64 unexposedValue           /**< return value if x,y location is not in image. */ \
    136142                                                     );
    137143
    138144#define p_psImagePixelInterpolateComplexFcns(TYPE) \
    139145inline psC64 p_psImagePixelInterpolateFLAT_##TYPE( \
    140         const psImage* input, \
    141         float x, \
    142         float y, \
    143         psC64 unexposedValue \
     146        const psImage* input,          /**< input image for interpolation */ \
     147        float x,                       /**< column location to derive value of */ \
     148        float y,                       /**< row location ot derive value of */ \
     149        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
     150        unsigned int maskVal,          /**< the mask value */ \
     151        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    144152                                                 ); \
    145153inline psC64 p_psImagePixelInterpolateBILINEAR_##TYPE( \
    146         const psImage* input, \
    147         float x, \
    148         float y, \
    149         psC64 unexposedValue \
     154        const psImage* input,          /**< input image for interpolation */ \
     155        float x,                       /**< column location to derive value of */ \
     156        float y,                       /**< row location ot derive value of */ \
     157        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
     158        unsigned int maskVal,          /**< the mask value */ \
     159        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    150160                                                     );
    151161
     
    162172p_psImagePixelInterpolateComplexFcns(C32)
    163173p_psImagePixelInterpolateComplexFcns(C64)
     174
    164175/// @}
     176
    165177#endif
Note: See TracChangeset for help on using the changeset viewer.