IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 24, 2011, 12:47:58 PM (15 years ago)
Author:
eugene
Message:

culling was looking at the full list, not the bright peaks; nan pix values relative to threshold were ambiguous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/objects/pmFootprintCullPeaks.c

    r30748 r30752  
    7070    // XXX test point
    7171    // pmPeak *myPeak = fp->peaks->data[0];
    72     // if ((fabs(myPeak->x - 320) < 30) && (fabs(myPeak->y - 430) < 30)) {
     72    // if ((fabs(myPeak->x - 205) < 100) && (fabs(myPeak->y - 806) < 100)) {
    7373    //  fprintf (stderr, "test peak\n");
    7474    // }
     
    138138        bool keep = true;
    139139        for (int j = 0; keep && !peak->assigned && (j < brightPeaks->n); j++) {
    140             const pmPeak *peak2 = fp->peaks->data[j];
     140            // const pmPeak *peak2 = fp->peaks->data[j]; XXX isn't this an error?  we only care about the kept brighter peak, right?
     141            const pmPeak *peak2 = brightPeaks->data[j];
    141142            int x2 = peak2->x - subImg->col0;
    142143            int y2 = peak2->y - subImg->row0;
     
    150151            continue;
    151152        }
    152 
    153153        psArrayAdd (brightPeaks, 128, fp->peaks->data[i]);
    154154    }
Note: See TracChangeset for help on using the changeset viewer.