Changeset 27086 for trunk/psModules/src/imcombine/pmSubtraction.c
- Timestamp:
- Feb 25, 2010, 12:33:42 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtraction.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtraction.c
r26893 r27086 17 17 #include <pslib.h> 18 18 19 #include "pmErrorCodes.h" 19 20 #include "pmHDU.h" // Required for pmFPA.h 20 21 #include "pmFPA.h" … … 752 753 753 754 if (stamp->status != PM_SUBTRACTION_STAMP_CALCULATE) { 754 psError(P S_ERR_BAD_PARAMETER_VALUE, true, "Stamp not marked for calculation.");755 psError(PM_ERR_PROG, true, "Stamp not marked for calculation."); 755 756 return false; 756 757 } … … 808 809 809 810 if (numStamps == 0) { 810 psError(P S_ERR_UNKNOWN, true, "No good stamps found.");811 psError(PM_ERR_STAMPS, true, "No good stamps found."); 811 812 psFree(mask); 812 813 return -1; … … 816 817 PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_QUARTILE); // Statistics for deviatns 817 818 if (!psVectorStats(stats, deviations, NULL, mask, 0xff)) { 818 psError(P S_ERR_UNKNOWN, false, "Unable to measure statistics for deviations.");819 psError(PM_ERR_DATA, false, "Unable to measure statistics for deviations."); 819 820 psFree(stats); 820 821 psFree(mask); … … 1199 1200 if (region && psRegionIsNaN(*region)) { 1200 1201 psString string = psRegionToString(*region); 1201 psError(P S_ERR_BAD_PARAMETER_VALUE, true, "Input region (%s) contains NAN values", string);1202 psError(PM_ERR_PROG, true, "Input region (%s) contains NAN values", string); 1202 1203 psFree(string); 1203 1204 return false; … … 1303 1304 1304 1305 if (!psThreadPoolWait(false)) { 1305 psError( PS_ERR_UNKNOWN, false, "Error waiting for threads.");1306 psError(psErrorCodeLast(), false, "Error waiting for threads."); 1306 1307 return false; 1307 1308 }
Note:
See TracChangeset
for help on using the changeset viewer.
