- Timestamp:
- Mar 20, 2011, 9:40:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psModules/src/objects/pmFootprintCullPeaks.c
r30984 r30988 87 87 // if we have many peaks in a large footprint, we waste a lot of time generating nearly identical footprints 88 88 // here we attempt to cull peaks drawing a single footprint for all peaks in some threshold range 89 fprintf (stderr, "footprint: %d x %d : %d pix, %d peaks\n", subImg->numCols, subImg->numRows, fp->npix, (int) fp->peaks->n);89 // fprintf (stderr, "footprint: %d x %d : %d pix, %d peaks\n", subImg->numCols, subImg->numRows, fp->npix, (int) fp->peaks->n); 90 90 if ((fp->npix > 30000) && (fp->peaks->n > 10)) { 91 91 … … 286 286 287 287 pmFootprintsFindAtPoint(peakFootprint, peakFPSpans, subImg, subMask, threshold, brightPeaks, peak->y, peak->x); 288 if (peakFPSpans->nStartSpans > 2000) {289 // dumpfootprints(peakFootprint, peakFPSpans);290 // fprintf (stderr, "big footprint %d : %d\n", peakFootprint->nspans, peakFPSpans->nStartSpans);291 fprintf (stderr, "big test footprint: %f %f to %f %f (%d pix)\n", peakFootprint->bbox.x0, peakFootprint->bbox.y0, peakFootprint->bbox.x1, peakFootprint->bbox.y1, peakFootprint->npix);292 }288 // if (peakFPSpans->nStartSpans > 2000) { 289 // // dumpfootprints(peakFootprint, peakFPSpans); 290 // // fprintf (stderr, "big footprint %d : %d\n", peakFootprint->nspans, peakFPSpans->nStartSpans); 291 // // fprintf (stderr, "big test footprint: %f %f to %f %f (%d pix)\n", peakFootprint->bbox.x0, peakFootprint->bbox.y0, peakFootprint->bbox.x1, peakFootprint->bbox.y1, peakFootprint->npix); 292 // } 293 293 294 294 // at this point brightPeaks only has the peaks brighter than the current
Note:
See TracChangeset
for help on using the changeset viewer.
