IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 7, 2012, 2:37:19 PM (14 years ago)
Author:
eugene
Message:

rename image spline functions to have im prepended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120905/Ohana/src/opihi/cmd.data/spline_apply.c

    r34088 r34523  
    22
    33// need to rename this as an image function
    4 int spline_apply_cmd (int argc, char **argv) {
     4int imspline_apply (int argc, char **argv) {
    55 
    66  int i, j, I, J;
     
    1111
    1212  if (argc != 7) {
    13     gprint (GP_ERR, "USAGE: spline_apply <Y> <Y2> <out> (x/y) Nx Ny\n");
     13    gprint (GP_ERR, "USAGE: imspline_apply <Y> <Y2> <out> (x/y) Nx Ny\n");
    1414    return (FALSE);
    1515  }
     
    7575        Ty2[j] = *V2;
    7676      }
    77       Tx1[i] = spline_apply (Tyc, Ty1, Ty2, Ny, y);
     77      Tx1[i] = spline_apply_flt (Tyc, Ty1, Ty2, Ny, y);
    7878    }
    79     spline_construct (Txc, Tx1, Nx, Tx2);
     79    spline_construct_flt (Txc, Tx1, Nx, Tx2);
    8080
    8181    /* apply x-dir spline to new image */
    8282    for (I = 0; I < nx; I++, V++) {
    8383      x = I * rx;
    84       *V = spline_apply (Txc, Tx1, Tx2, Nx, x);
     84      *V = spline_apply_flt (Txc, Tx1, Tx2, Nx, x);
    8585    }
    8686  }
Note: See TracChangeset for help on using the changeset viewer.