IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34523


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

rename image spline functions to have im prepended

Location:
branches/eam_branches/ipp-20120905/Ohana/src/opihi/cmd.data
Files:
2 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  }
  • branches/eam_branches/ipp-20120905/Ohana/src/opihi/cmd.data/spline_construct.c

    r34088 r34523  
    22
    33// need to rename this as an image function
    4 int spline_construct_cmd (int argc, char **argv) {
     4int imspline_construct (int argc, char **argv) {
    55 
    66  int i, j, Nx, Ny;
     
    99
    1010  if (argc != 4) {
    11     gprint (GP_ERR, "USAGE: spline_construct <in> <out> (x/y)\n");
     11    gprint (GP_ERR, "USAGE: imspline_construct <in> <out> (x/y)\n");
    1212    return (FALSE);
    1313  }
     
    5555    }
    5656 
    57     spline_construct (Tx, Ty, Ny, Ty2);
     57    spline_construct_flt (Tx, Ty, Ny, Ty2);
    5858 
    5959    /* copy derivatives to output buffer */
Note: See TracChangeset for help on using the changeset viewer.