Changeset 25967
- Timestamp:
- Oct 29, 2009, 10:53:35 AM (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
r25964 r25967 34 34 35 35 #define TESTING // Enable test output 36 #define TEST_X 1 748-1 // x coordinate to examine37 #define TEST_Y 1339-1 // y coordinate to examine36 #define TEST_X 1500-1 // x coordinate to examine 37 #define TEST_Y 4000-1 // y coordinate to examine 38 38 39 39 … … 934 934 for (int y = minInputRows; y < maxInputRows; y++) { 935 935 for (int x = minInputCols; x < maxInputCols; x++) { 936 #ifdef TESTING 937 if (x == TEST_X && y == TEST_Y) { 938 fprintf(stderr, "Combining pixel %d,%d: %x %x %d %f %f %f %d %d %d\n", 939 x, y, maskVal, bad, numIter, rej, sys, olympic, useVariance, safe, rejection); 940 } 941 #endif 936 942 psVector *reject = NULL; // Images to reject for this pixel 937 943 if (rejection) { 938 944 reject = pixelMapQuery(pixelMap, minInputCols, minInputRows, x, y); 945 #ifdef TESTING 946 if (x == TEST_X && y == TEST_Y) { 947 fprintf(stderr, "Rejected inputs: "); 948 for (int i = 0; i < reject->n; i++) { 949 fprintf(stderr, "%d ", reject->data.U16[i]); 950 } 951 fprintf(stderr, "\n"); 952 } 953 #endif 939 954 } 940 955 combinePixels(combinedImage, combinedMask, combinedVariance, input, weights,
Note:
See TracChangeset
for help on using the changeset viewer.
