Changeset 2206 for trunk/psLib/src/image/psImageStats.c
- Timestamp:
- Oct 26, 2004, 3:15:47 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageStats.c
r2204 r2206 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.4 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10-27 0 0:57:31$11 * @version $Revision: 1.45 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-10-27 01:15:47 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 101 101 NOTE: We assume that the psHistogram structure out has already been 102 102 allocated and initialized. 103 NOTE: verify that image/mask have the , correct types andsizes.103 NOTE: verify that image/mask have the correct types and sizes. 104 104 *****************************************************************************/ 105 105 psHistogram* psImageHistogram(psHistogram* out, … … 112 112 113 113 // NOTE: Verify this action. 114 PS_CHECK_NULL_PTR _RETURN_NULL(out);115 PS_CHECK_NULL_PTR _RETURN_NULL(in);114 PS_CHECK_NULL_PTR(out, NULL); 115 PS_CHECK_NULL_PTR(in, NULL); 116 116 117 117 junkData = psAlloc(sizeof(psVector)); … … 171 171 p_psCalcScaleFactorsEval(n): The Chebyshev polynomials are defined over the 172 172 interval [-1.0 : 1.0]. Images typically have sizes of 512x512 or more. In 173 order to use Chebyshev polynomials, we must scale sthe coordinates from173 order to use Chebyshev polynomials, we must scale the coordinates from 174 174 0:512 to -1:1. This routine takes as input an integer N and produces as 175 175 output a vector of evenly spaced floating point values between -1.0:1.0.
Note:
See TracChangeset
for help on using the changeset viewer.
