Index: /branches/eam_branches/ipp-20211108/psModules/src/imcombine/pmStack.c
===================================================================
--- /branches/eam_branches/ipp-20211108/psModules/src/imcombine/pmStack.c	(revision 41953)
+++ /branches/eam_branches/ipp-20211108/psModules/src/imcombine/pmStack.c	(revision 41954)
@@ -1617,5 +1617,4 @@
 		// skip obviously bad input data
 		if (!isfinite(image->data.F32[yIn][xIn])) continue;
-		if (fabs(image->data.F32[yIn][xIn]) > 1e5) continue; // XXX this cut is a bit arbitrary..
 		if (mask->data.PS_TYPE_IMAGE_MASK_DATA[yIn][xIn] & badMaskBits) continue;
 		if (mask->data.PS_TYPE_IMAGE_MASK_DATA[yIn][xIn] & suspectMaskBits) continue;
@@ -1657,8 +1656,4 @@
 	    int Nhi = nGood; 
 
-	    if ((x == 3161) && (y == 450)) {
-	      fprintf (stderr, "test point\n");
-	    }
-
 	    if (nGood >= 5) {
 	      int midPoint = nGood / 2;
@@ -1682,4 +1677,20 @@
 	    int nGoodClip = Nhi - Nlo;
 
+	    int isTest = false;
+	    isTest = isTest || ((x == 4743) && (y == 2903));
+	    isTest = isTest || ((x == 4953) && (y == 2919));
+	    isTest = isTest || ((x == 4751) && (y == 2725));
+	    isTest = false;
+
+	    if (isTest) {
+	      char testname[256];
+	      snprintf (testname, 256, "testpix.%04d.%04d.txt", (int) x, (int) y);
+	      FILE *f = fopen (testname, "w");
+	      int fd = fileno (f);
+
+	      fprintf (f, "# nGood: %d, Nlo: %d, Nhi: %d, nGoodClip: %d\n", nGood, Nlo, Nhi, nGoodClip);
+	      p_psVectorPrint (fd, pixelData, "pixelData");
+	      fclose (f);
+	    }
 	    // rather than define a min and max value,
 	    // what we really want is a symmetric selection about the middle,
