Changeset 18508
- Timestamp:
- Jul 14, 2008, 11:28:46 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ppStack/src/ppStackLoop.c (modified) (3 diffs)
-
psModules/src/imcombine/pmStackReject.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r18507 r18508 15 15 16 16 #define WCS_TOLERANCE 0.001 // Tolerance for WCS 17 #define PIXELS_BUFFER 1024 // Initial size of pixel lists 17 18 18 19 // Here follows lists of files for activation/deactivation at various stages. Each must be NULL-terminated. … … 576 577 continue; 577 578 } 578 psPixels *inspect = NULL;// Inspection list for this readout579 psPixels *inspect = psPixelsAllocEmpty(PIXELS_BUFFER); // Inspection list for this readout 579 580 psMetadataIterator *iter = psMetadataIteratorAlloc(ro->analysis, PS_LIST_HEAD, 580 581 "^" PPSTACK_INSPECT_PIXELS "$"); // Iterator … … 592 593 pmReadoutFreeData(ro); 593 594 594 psLogMsg("ppStack", PS_LOG_INFO, "%ld total pixels to inspect from image %d", 595 inspect ? inspect->n : 0, i); 595 psLogMsg("ppStack", PS_LOG_INFO, "%ld total pixels to inspect from image %d", inspect->n, i); 596 596 597 597 psPixels *reject = pmStackReject(inspect, NULL, threshold, subRegions->data[i], -
trunk/psModules/src/imcombine/pmStackReject.c
r17299 r18508 23 23 PS_ASSERT_ARRAY_NON_NULL(kernels, NULL); 24 24 PS_ASSERT_ARRAYS_SIZE_EQUAL(subRegions, kernels, NULL); 25 26 // Trivial case 27 if (in->n == 0) { 28 return psPixelsAllocEmpty(0); 29 } 25 30 26 31 // Get the original image size
Note:
See TracChangeset
for help on using the changeset viewer.
