Changeset 5844 for trunk/psModules/test/imsubtract/tst_pmSubtractBias.c
- Timestamp:
- Dec 23, 2005, 3:24:38 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/imsubtract/tst_pmSubtractBias.c
r5587 r5844 19 19 * test03: Calculate a row overscan vector and subtract it from each 20 20 * row in the input image. 21 * test05: 21 * test05: 22 22 * 23 23 * @author GLG, MHPCC … … 25 25 * XXX: Memory leaks are not being detected. 26 26 * 27 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $28 * @date $Date: 2005-1 1-23 23:54:30$27 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 28 * @date $Date: 2005-12-24 01:24:36 $ 29 29 * 30 30 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 326 326 rc = pmSubtractBias(myReadout, NULL, NULL, PM_OVERSCAN_NONE, stat, 327 327 0, PM_FIT_NONE, myBias); 328 328 329 329 for (i=0;i<numRows;i++) { 330 330 for (j=0;j<numCols;j++) { … … 335 335 testStatus = 1; 336 336 } 337 337 338 338 // Restore myReadout for next test. 339 339 myReadout->image->data.F32[i][j] = (float) (i + j); … … 627 627 // Set overscan axis in the metadata. 628 628 // 629 psBool rc ;629 psBool rc = false; 630 630 if (overscanaxis == PM_OVERSCAN_ROWS) { 631 631 rc = psMetadataAddS32(myReadout->parent->concepts, PS_LIST_HEAD, "CELL.READDIR", 0, NULL, 1);
Note:
See TracChangeset
for help on using the changeset viewer.
