Changeset 1955
- Timestamp:
- Oct 4, 2004, 3:46:02 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
image/psImageStats.c (modified) (2 diffs)
-
imageops/psImageStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageStats.c
r1951 r1955 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 39$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-10-05 01: 03:11$12 * @version $Revision: 1.40 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-05 01:46:02 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 381 381 // } 382 382 383 384 // Check for null inputs 385 if (input == NULL) { 386 psErrorMsg(PS_ERRORNAME_DOMAIN "psImageEvalPolynomial", 387 PS_ERR_BAD_PARAMETER_NULL, true, 388 PS_ERRORTEXT_psImage_IMAGE_NULL); 389 return NULL; 390 } 391 392 if (coeffs == NULL) { 393 psErrorMsg(PS_ERRORNAME_DOMAIN "psImageEvalPolynomial", 394 PS_ERR_BAD_PARAMETER_NULL, true, 395 PS_ERRORTEXT_psImage_COEFF_NULL); 396 return NULL; 397 } 398 383 399 // We scale the pixel positions to values 384 400 // between -1.0 and 1.0 -
trunk/psLib/src/imageops/psImageStats.c
r1951 r1955 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 39$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-10-05 01: 03:11$12 * @version $Revision: 1.40 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-05 01:46:02 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 381 381 // } 382 382 383 384 // Check for null inputs 385 if (input == NULL) { 386 psErrorMsg(PS_ERRORNAME_DOMAIN "psImageEvalPolynomial", 387 PS_ERR_BAD_PARAMETER_NULL, true, 388 PS_ERRORTEXT_psImage_IMAGE_NULL); 389 return NULL; 390 } 391 392 if (coeffs == NULL) { 393 psErrorMsg(PS_ERRORNAME_DOMAIN "psImageEvalPolynomial", 394 PS_ERR_BAD_PARAMETER_NULL, true, 395 PS_ERRORTEXT_psImage_COEFF_NULL); 396 return NULL; 397 } 398 383 399 // We scale the pixel positions to values 384 400 // between -1.0 and 1.0
Note:
See TracChangeset
for help on using the changeset viewer.
