Changeset 2132 for trunk/psModules/test/tst_pmSubtractBias.c
- Timestamp:
- Oct 14, 2004, 12:33:28 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/tst_pmSubtractBias.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/tst_pmSubtractBias.c
r2131 r2132 7 7 * @author GLG, MHPCC 8 8 * 9 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-10-14 2 1:49:58 $9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-10-14 22:33:28 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 37 37 float expect; 38 38 int testStatus = 0; 39 psImage *myImage = psImageAlloc(numCols, numRows, PS_TYPE_F32);40 ps Readout *myReadout = psReadoutAlloc(numCols, numRows, myImage);41 ps Image *myImage = psImageAlloc(numCols, numRows, PS_TYPE_F32);42 psReadout *myBias = psReadoutAlloc(numCols, numRows, myImage );39 psImage *myImage1 = psImageAlloc(numCols, numRows, PS_TYPE_F32); 40 psImage *myImage2 = psImageAlloc(numCols, numRows, PS_TYPE_F32); 41 psReadout *myReadout = psReadoutAlloc(numCols, numRows, myImage1); 42 psReadout *myBias = psReadoutAlloc(numCols, numRows, myImage2); 43 43 44 44 for (i=0;i<numRows;i++) { … … 52 52 53 53 myReadout = pmSubtractBias(myReadout, NULL, NULL, PM_OVERSCAN_NONE, NULL, 54 0, NULL, myBias);54 0, PM_FIT_NONE, myBias); 55 55 56 56 for (i=0;i<numRows;i++) { … … 76 76 int testStatus = 0; 77 77 78 // testStatus |= doNonLinearityPolynomialTest(1, 1); 79 // testStatus |= doNonLinearityPolynomialTest(NUM_COLS, 1); 80 // testStatus |= doNonLinearityPolynomialTest(1, NUM_ROWS); 81 testStatus |= doNonLinearityPolynomialTest(NUM_COLS, NUM_ROWS); 78 testStatus |= doSubtractBiasFullFrame(NUM_COLS, NUM_ROWS); 82 79 83 80 return(testStatus);
Note:
See TracChangeset
for help on using the changeset viewer.
