Changeset 1870 for trunk/psModules/src/tst_pmFlatField.c
- Timestamp:
- Sep 23, 2004, 1:33:54 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/tst_pmFlatField.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/tst_pmFlatField.c
r1849 r1870 3 3 * @brief Contains the tests for pmFlatField.c: 4 4 * 5 * Test A - Divide input image by flat image 6 * Test B - Mask flat image data 7 * Test C - Mask flat image data starting with non-null mask 8 * Test E - Attempt to use null input image 9 * Test F - Attempt tp use null flat image 10 * Test G - Attempt to use input image bigger than flat image 11 * Test H - Attempt to use input image mask bigger than flat image 12 * Test I - Attempt to use offset greater than input image 13 * Test J - Attempt to use complex input image 14 * Test K - Attempt to use complex flat image 15 * Test L - Attempt to use non-equal input and flat image types 16 * Test M - Attempt to use non-mask type mask image 17 * 5 18 * @author Ross Harman, MHPCC 6 19 * 7 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-09-2 2 19:58:57$20 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2004-09-23 23:33:54 $ 9 22 * 10 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 11 24 */ 12 25 13 #include<stdlib.h>14 26 15 27 #include "psTest.h" … … 64 76 // Test A - Divide input image by flat image 65 77 printPositiveTestHeader(stdout, "pmFlatField", "Test A - Divide input image by flat image"); 66 printf("Divide input image by flat image\n\n");67 78 CREATE_AND_SET_IMAGE(inImage,F64,6.0,3,3) 68 79 psReadout *inReadout = psReadoutAlloc(0, 0, inImage); … … 90 101 91 102 // Test C - Mask flat image data starting with non-null mask 92 printf("Mask flat image data starting with non-null mask\n\n");93 103 printPositiveTestHeader(stdout, "pmFlatField", "Test C - Mask flat image data starting with non-null mask"); 94 104 PRINT_MATRIX(inImage, F64, "Input image:");
Note:
See TracChangeset
for help on using the changeset viewer.
