- Timestamp:
- Oct 7, 2012, 2:37:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/Ohana/src/opihi/cmd.data/spline_apply.c
r34088 r34523 2 2 3 3 // need to rename this as an image function 4 int spline_apply_cmd(int argc, char **argv) {4 int imspline_apply (int argc, char **argv) { 5 5 6 6 int i, j, I, J; … … 11 11 12 12 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"); 14 14 return (FALSE); 15 15 } … … 75 75 Ty2[j] = *V2; 76 76 } 77 Tx1[i] = spline_apply (Tyc, Ty1, Ty2, Ny, y);77 Tx1[i] = spline_apply_flt (Tyc, Ty1, Ty2, Ny, y); 78 78 } 79 spline_construct (Txc, Tx1, Nx, Tx2);79 spline_construct_flt (Txc, Tx1, Nx, Tx2); 80 80 81 81 /* apply x-dir spline to new image */ 82 82 for (I = 0; I < nx; I++, V++) { 83 83 x = I * rx; 84 *V = spline_apply (Txc, Tx1, Tx2, Nx, x);84 *V = spline_apply_flt (Txc, Tx1, Tx2, Nx, x); 85 85 } 86 86 }
Note:
See TracChangeset
for help on using the changeset viewer.
