Changeset 30959
- Timestamp:
- Mar 18, 2011, 8:29:25 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/psLib/src/imageops/psImageBackground.c
r30957 r30959 113 113 // Now sort the array so that we end up with a list of the pixels in random order 114 114 psVector *frndSortedPixelOrder = psVectorSortIndex(NULL, frndPixelOrder); 115 // Now loop in our new sorted order 116 // Paul Price suggests fixing this up so that it gets all Nsubset pixels, skipping over the masked ones.115 // Now loop in our new sorted order; 116 // Note that it's the number of good samples found, "n", that will generally terminate the loop 117 117 for (long i = 0; n < Nsubset && i < Npixels; i++) { 118 118 int pixel = frndSortedPixelOrder->data.S32[i];
Note:
See TracChangeset
for help on using the changeset viewer.
