IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

added BICUBE, fixed sign error and 0.5 pixel error in psImageShift

File:
1 edited

Legend:

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

    r9863 r9865  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-11-06 01:58:09 $
     12 *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-11-06 02:02:59 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    636636        break; \
    637637    } \
    638     /* XXX output(i,j) = input(i+0.5-dx,j+0.5-dy) */ \
     638    /* note: output(i,j) = input(i+0.5-dx,j+0.5-dy) */ \
     639    /* positive dx,dy moves pixel i-dx,j-dy to i,y */ \
     640    /* also: pixel center is 0.5,0.5 */ \
    639641    for (psS32 row=0;row<outRows;row++) { \
    640642        ps##TYPE* outRow = out->data.TYPE[row]; \
     
    676678    break;
    677679
     680    // EAM: added BICUBE
    678681    switch (mode) {
    679682        PSIMAGE_SHIFT_ARBITRARY_CASE(FLAT);
Note: See TracChangeset for help on using the changeset viewer.