IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 17, 2005, 4:35:15 PM (21 years ago)
Author:
desonia
Message:

added BILINEAR_VARIANCE interpolation mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageInterpolate.c

    r3264 r3446  
    55 * @author Eric Van Alst, MHPCC
    66 *
    7  * @version $Revision: 1.4 $
     7 * @version $Revision: 1.5 $
    88 *          $Name: not supported by cvs2svn $
    9  * @date $Date: 2005-02-17 19:26:25 $
     9 * @date $Date: 2005-03-18 02:35:15 $
    1010 *
    1111 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2828val = (psF32)psImagePixelInterpolate(img,x,y,mask,maskval,exposed,PS_INTERPOLATE_##TYPE); \
    2929printf("returned = %.2f    expected = %.2f\n",val,expected); \
    30 if(val != expected) { \
     30if(fabsf(val-expected)>FLT_EPSILON) { \
    3131    psError(PS_ERR_UNKNOWN,true,"Return value is not as expected."); \
    3232    return 1; \
Note: See TracChangeset for help on using the changeset viewer.