Changeset 27004 for trunk/psModules/src/imcombine/pmStackReject.c
- Timestamp:
- Feb 18, 2010, 6:42:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmStackReject.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmStackReject.c
r26893 r27004 158 158 if (!pmSubtractionConvolve(NULL, convRO, NULL, inRO, NULL, stride, 0, 0, 1.0, 0.0, 0.0, 159 159 region, kernels, false, true)) { 160 psError( PS_ERR_UNKNOWN, false, "Unable to convolve mask image in region %d.", i);160 psError(psErrorCodeLast(), false, "Unable to convolve mask image in region %d.", i); 161 161 psFree(convRO); 162 162 psFree(inRO); … … 170 170 psImage *kernel = pmSubtractionKernelImage(kernels, 0.5, 0.5, false); 171 171 if (!kernel) { 172 psError( PS_ERR_UNKNOWN, false, "Unable to generate kernel image.");172 psError(psErrorCodeLast(), false, "Unable to generate kernel image."); 173 173 psFree(convRO); 174 174 psFree(inRO); … … 283 283 } else if (!stackRejectGrow(target, source, kernels, numCols, numRows, 284 284 i, xSubMax, j, ySubMax, poorFrac)) { 285 psError( PS_ERR_UNKNOWN, false, "Unable to grow bad pixels.");285 psError(psErrorCodeLast(), false, "Unable to grow bad pixels."); 286 286 psFree(source); 287 287 psFree(target); … … 293 293 294 294 if (!psThreadPoolWait(false)) { 295 psError( PS_ERR_UNKNOWN, false, "Unable to grow bad pixels.");295 psError(psErrorCodeLast(), false, "Unable to grow bad pixels."); 296 296 psFree(source); 297 297 psFree(target);
Note:
See TracChangeset
for help on using the changeset viewer.
