- Timestamp:
- Feb 24, 2011, 12:47:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psModules/src/objects/pmFootprintCullPeaks.c
r30748 r30752 70 70 // XXX test point 71 71 // 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)) { 73 73 // fprintf (stderr, "test peak\n"); 74 74 // } … … 138 138 bool keep = true; 139 139 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]; 141 142 int x2 = peak2->x - subImg->col0; 142 143 int y2 = peak2->y - subImg->row0; … … 150 151 continue; 151 152 } 152 153 153 psArrayAdd (brightPeaks, 128, fp->peaks->data[i]); 154 154 }
Note:
See TracChangeset
for help on using the changeset viewer.
