Changeset 4997 for trunk/psModules/src/pmSubtractBias.c
- Timestamp:
- Sep 12, 2005, 10:38:25 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmSubtractBias.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmSubtractBias.c
r4770 r4997 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 8-16 01:10:34$8 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-09-12 20:38:25 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 187 187 myPoly = (psPolynomial1D *) fitSpec; 188 188 PS_ASSERT_POLY_NON_NULL(myPoly, NULL); 189 myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);189 myPoly = psVectorFitPolynomial1D(myPoly, NULL, 0, overscanVector, NULL, NULL); 190 190 if (myPoly == NULL) { 191 psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector() : Could not fit a polynomial to the psVector.\n");191 psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector()(1): Could not fit a polynomial to the psVector.\n"); 192 192 return(NULL); 193 193 } … … 215 215 mySpline = psVectorFitSpline1D(mySpline, NULL, overscanVector, NULL); 216 216 if (mySpline == NULL) { 217 psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector() : Could not fit a spline to the psVector.\n");217 psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector()(2): Could not fit a spline to the psVector.\n"); 218 218 return(NULL); 219 219 } … … 550 550 if (fit == PM_FIT_POLYNOMIAL) { 551 551 myPoly = (psPolynomial1D *) fitSpec; 552 myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);552 myPoly = psVectorFitPolynomial1D(myPoly, NULL, 0, overscanVector, NULL, NULL); 553 553 if (myPoly == NULL) { 554 psError(PS_ERR_UNKNOWN, false, " Could not fit a polynomial to overscan vector. Returning in image.\n");554 psError(PS_ERR_UNKNOWN, false, "(3) Could not fit a polynomial to overscan vector. Returning in image.\n"); 555 555 psFree(overscanVector); 556 556 return(in);
Note:
See TracChangeset
for help on using the changeset viewer.
