IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 27, 2004, 9:05:40 AM (22 years ago)
Author:
desonia
Message:

Change the prototype of psImagePixelInterpolate. See bug #147.

File:
1 edited

Legend:

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

    r1606 r1634  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-08-23 22:36:03 $
     12 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-08-27 19:05:40 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040/*****************************************************************************/
    4141
    42 psImage* psImageAlloc(unsigned int numCols, unsigned int numRows, const psElemType type)
     42psImage* psImageAlloc(unsigned int numCols,
     43                      unsigned int numRows,
     44                      const psElemType type)
    4345{
    4446    int area = 0;
     
    122124}
    123125
    124 psImage* psImageRecycle(psImage* old, unsigned int numCols, unsigned int numRows, const psElemType type)
     126psImage* psImageRecycle(psImage* old,
     127                        unsigned int numCols,
     128                        unsigned int numRows,
     129                        const psElemType type)
    125130{
    126131    int elementSize = PSELEMTYPE_SIZEOF(type);  // element
     
    215220linear interpolation is performed on the image.
    216221 *****************************************************************************/
    217 psF32 psImagePixelInterpolate(const psImage* input,
    218                               float x, float y, psF32 unexposedValue, psImageInterpolateMode mode)
     222psC64 psImagePixelInterpolate(const psImage* input,
     223                              float x,
     224                              float y,
     225                              psC64 unexposedValue,
     226                              psImageInterpolateMode mode)
    219227{
    220228
     
    311319PSIMAGE_PIXEL_INTERPOLATE_FLAT_COMPLEX(C32)
    312320PSIMAGE_PIXEL_INTERPOLATE_FLAT_COMPLEX(C64)
     321
    313322#define PSIMAGE_PIXEL_INTERPOLATE_BILINEAR(TYPE) \
    314323inline psF64 p_psImagePixelInterpolateBILINEAR_##TYPE(const psImage* input, \
Note: See TracChangeset for help on using the changeset viewer.