Changeset 25948 for branches/pap/psModules/src/imcombine/pmStack.c
- Timestamp:
- Oct 26, 2009, 5:59:14 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/psModules/src/imcombine/pmStack.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psModules/src/imcombine/pmStack.c
r25938 r25948 30 30 #define PIXEL_LIST_BUFFER 100 // Number of entries to add to pixel list at a time 31 31 #define PIXEL_MAP_BUFFER 2 // Number of entries to add to pixel map at a time 32 //#define ADD_VARIANCE // Allow additional variance (besides variance factor)?32 #define ADD_VARIANCE // Allow additional variance (besides variance factor)? 33 33 #define NUM_DIRECT_STDEV 5 // For less than this number of values, measure stdev directly 34 34 35 #define TESTING // Enable test output36 #define TEST_X-1 // x coordinate to examine37 #define TEST_Y-1 // y coordinate to examine35 //#define TESTING // Enable test output 36 //#define TEST_X 3349-1 // x coordinate to examine 37 //#define TEST_Y 2278-1 // y coordinate to examine 38 38 39 39 … … 641 641 mask->data.PS_TYPE_IMAGE_MASK_DATA[y][x] = num; 642 642 if (variance) { 643 variance->data.F32[y][x] = 1.0 - (float)numRejected / (float)num;643 variance->data.F32[y][x] = num > 0 ? 1.0 - (float)numRejected / (float)num : 0.0; 644 644 } 645 645 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
