IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9864


Ignore:
Timestamp:
Nov 5, 2006, 4:00:40 PM (20 years ago)
Author:
magnier
Message:

added BICUBE interpolation, removed scrap code in BILINEAR interpolation

Location:
trunk/psLib/src/mathtypes
Files:
2 edited

Legend:

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

    r9863 r9864  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.116 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-11-06 01:58:10 $
     11 *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-11-06 02:00:40 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    901901}
    902902
    903 /*
    904     fprintf (stderr, "fX: %f, fY: %f\n", fracX,fracY); \
    905     fprintf (stderr, "iX: %d, iY: %d\n", floorX,floorY); \
    906     fprintf (stderr, "Vmm: %f, Vom: %f, Vpm: %f\n", Vmm, Vom, Vpm); \
    907     fprintf (stderr, "Vmo: %f, Voo: %f, Vpo: %f\n", Vmo, Voo, Vpo); \
    908     fprintf (stderr, "Vmp: %f, Vop: %f, Vpp: %f\n", Vmp, Vop, Vpp); \
    909     fprintf (stderr, "Vxm: %f, Vxp: %f\n", Vxm, Vxp); \
    910     fprintf (stderr, "Vym: %f, Vyp: %f\n", Vym, Vyp); \
    911     fprintf (stderr, "Vo: %f\n", Vo); \
    912     fprintf (stderr, "Z_00: %f, Z_10: %f, Z_01: %f\n", Z_00, Z_10, Z_01); \
    913     fprintf (stderr, "Z_20: %f, Z_11: %f, Z_02: %f\n", Z_20, Z_11, Z_02); \
    914 */
    915 
    916903PSIMAGE_PIXEL_INTERPOLATE_BILINEAR(U8,psF64,U8,)
    917904PSIMAGE_PIXEL_INTERPOLATE_BILINEAR(U16,psF64,U16,)
  • trunk/psLib/src/mathtypes/psImage.h

    r9863 r9864  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.81 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-11-06 01:58:10 $
     13 *  @version $Revision: 1.82 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-11-06 02:00:40 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3434    PS_INTERPOLATE_FLAT,               ///< 'flat' interpolation (nearest pixel)
    3535    PS_INTERPOLATE_BILINEAR,           ///< bi-linear interpolation
    36     PS_INTERPOLATE_BICUBE,             ///< bi-cubic interpolation with 3x3 region
     36    PS_INTERPOLATE_BICUBE,             ///< bi-cubic interpolation with 3x3 region (EAM)
    3737    PS_INTERPOLATE_LANCZOS2,           ///< Sinc interpolation with 4x4 pixel kernel
    3838    PS_INTERPOLATE_LANCZOS3,           ///< Sinc interpolation with 6x6 pixel kernel
Note: See TracChangeset for help on using the changeset viewer.