Changeset 1832 for trunk/psModules/src/pmFlatField.c
- Timestamp:
- Sep 20, 2004, 10:36:46 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmFlatField.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmFlatField.c
r1822 r1832 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $21 * @date $Date: 2004-09- 17 00:49:04$20 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2004-09-20 20:36:46 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 58 58 59 59 inImage = in->image; 60 inMask = in->mask;61 60 flatImage = flat->image; 62 61 if (inImage == NULL) { 63 62 psError(__func__, " : Line %d - Null not allowed for input image", __LINE__); 64 63 return false; 65 } else if(flatImage ) {64 } else if(flatImage == NULL) { 66 65 psError(__func__, " : Line %d - Null not allowed for flat image", __LINE__); 67 66 return false; 68 } else if(in Mask == NULL) {69 in Mask = psImageAlloc(inImage->numCols, inImage->numRows, PS_TYPE_MASK);67 } else if(in->mask == NULL) { 68 in->mask = psImageAlloc(inImage->numCols, inImage->numRows, PS_TYPE_MASK); 70 69 } 70 inMask = in->mask; 71 71 72 72 // Check input image and its mask are not larger than flat image … … 178 178 } 179 179 180 printf(""); 180 181 return true; 181 182 }
Note:
See TracChangeset
for help on using the changeset viewer.
