Changeset 6193 for trunk/psLib/src/imageops/psImageStats.c
- Timestamp:
- Jan 25, 2006, 2:31:19 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStats.c
r6186 r6193 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.8 7$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-01-2 3 22:25:31$11 * @version $Revision: 1.88 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-01-26 00:31:19 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 432 432 for (y = 0; y < input->numCols; y++) { 433 433 double pixel; 434 /*435 if (input->type.type == PS_TYPE_S8) {436 pixel = (double) input->data.S8[x][y];437 } else if (input->type.type == PS_TYPE_U16) {438 pixel = (double) input->data.U16[x][y];439 } else if (input->type.type == PS_TYPE_F32) {440 pixel = (double) input->data.F32[x][y];441 } else if (input->type.type == PS_TYPE_F64) {442 pixel = input->data.F64[x][y];443 }444 */434 if (0) { 435 if (input->type.type == PS_TYPE_S8) { 436 pixel = (double) input->data.S8[x][y]; 437 } else if (input->type.type == PS_TYPE_U16) { 438 pixel = (double) input->data.U16[x][y]; 439 } else if (input->type.type == PS_TYPE_F32) { 440 pixel = (double) input->data.F32[x][y]; 441 } else if (input->type.type == PS_TYPE_F64) { 442 pixel = input->data.F64[x][y]; 443 } 444 } 445 445 pixel = nodes->data.F64[x][y]; 446 446 sums[i][j] += pixel * psPolynomial1DEval(chebPolys[i], rScalingFactors[x]) *
Note:
See TracChangeset
for help on using the changeset viewer.
