Changeset 1951 for trunk/psLib/src/imageops/psImageStats.c
- Timestamp:
- Oct 4, 2004, 3:03:11 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStats.c
r1939 r1951 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2004- 09-30 23:06:36$12 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-05 01:03:11 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 236 236 over all pixels (x,y) in the image. 237 237 *****************************************************************************/ 238 psPolynomial2D* psImageFitPolynomial( const psImage* input, psPolynomial2D* coeffs)238 psPolynomial2D* psImageFitPolynomial(psPolynomial2D* coeffs, const psImage* input) 239 239 { 240 240 int x = 0; … … 247 247 float *cScalingFactors = NULL; 248 248 float *rScalingFactors = NULL; 249 250 // Check for null inputs 251 if (input == NULL) { 252 psErrorMsg(PS_ERRORNAME_DOMAIN "psImageFitPolynomial", 253 PS_ERR_BAD_PARAMETER_NULL, true, 254 PS_ERRORTEXT_psImage_IMAGE_NULL); 255 return NULL; 256 } 257 258 if (coeffs == NULL) { 259 psErrorMsg(PS_ERRORNAME_DOMAIN "psImageFitPolynomial", 260 PS_ERR_BAD_PARAMETER_NULL, true, 261 PS_ERRORTEXT_psImage_COEFF_NULL); 262 return NULL; 263 } 249 264 250 265 // Create the sums[][] data structure. This
Note:
See TracChangeset
for help on using the changeset viewer.
