Changeset 30984
- Timestamp:
- Mar 18, 2011, 6:46:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psModules/src/objects/pmFootprintCullPeaks.c
r30973 r30984 226 226 int y = peak->y - subImg->row0; 227 227 int myID = idImg->data.S32[y][x]; 228 229 // a peak in this threshold bin must be in a valid footprint, right?230 psAssert(myID > 0, "impossible");231 228 psAssert(myID < found->n, "impossible"); 229 230 // a peak in this threshold bin without a valid footprint comes from a region 231 // with only a handful of pixels (1 or more from the peak itself). It probably 232 // cannot be joined to a neighbor 233 if (myID == 0) { 234 psArrayAdd (brightPeaks, 128, peak); 235 continue; 236 } 232 237 233 238 // keep this peak if found->data.U8[myID] == false (no brighter peak in the footprint)
Note:
See TracChangeset
for help on using the changeset viewer.
