Index: /branches/eam_branches/ipp-20101205/psLib/src/imageops/psImageBackground.c
===================================================================
--- /branches/eam_branches/ipp-20101205/psLib/src/imageops/psImageBackground.c	(revision 30958)
+++ /branches/eam_branches/ipp-20101205/psLib/src/imageops/psImageBackground.c	(revision 30959)
@@ -113,6 +113,6 @@
         // Now sort the array so that we end up with a list of the pixels in random order
         psVector *frndSortedPixelOrder = psVectorSortIndex(NULL, frndPixelOrder);
-        // Now loop in our new sorted order
-        //  Paul Price suggests fixing this up so that it gets all Nsubset pixels, skipping over the masked ones.
+        // Now loop in our new sorted order; 
+        // Note that it's the number of good samples found, "n", that will generally terminate the loop
         for (long i = 0; n < Nsubset && i < Npixels; i++) {
             int pixel = frndSortedPixelOrder->data.S32[i];
