Changeset 20453 for trunk/psphot/src/psphotFindFootprints.c
- Timestamp:
- Oct 28, 2008, 3:05:05 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFindFootprints.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFindFootprints.c
r19869 r20453 5 5 bool status; 6 6 7 psTimerStart (" footprints");7 psTimerStart ("psphot.footprints"); 8 8 9 9 int npixMin = psMetadataLookupS32(&status, recipe, "FOOTPRINT_NPIXMIN"); … … 40 40 psFree (detections->peaks); 41 41 42 psLogMsg ("psphot", PS_LOG_ DETAIL, "found %ld footprints: %f sec\n", footprints->n, psTimerMark ("footprints"));42 psLogMsg ("psphot", PS_LOG_MINUTIA, "found %ld footprints: %f sec\n", footprints->n, psTimerMark ("psphot.footprints")); 43 43 44 44 // optionally grow footprints isotropically by growRadius pixels 45 45 if (growRadius > 0) { 46 46 psArray *tmp = pmFootprintArrayGrow(footprints, growRadius); 47 psLogMsg ("psphot", PS_LOG_ DETAIL, "grow footprint coverage by %d pixels, %ld footprints become %ld footprints: %f sec\n", growRadius, footprints->n, tmp->n, psTimerMark ("footprints"));47 psLogMsg ("psphot", PS_LOG_MINUTIA, "grow footprint coverage by %d pixels, %ld footprints become %ld footprints: %f sec\n", growRadius, footprints->n, tmp->n, psTimerMark ("psphot.footprints")); 48 48 psFree(footprints); 49 49 footprints = tmp; … … 57 57 58 58 psArray *mergedFootprints = pmFootprintArraysMerge(detections->footprints, footprints, includePeaks); 59 psLogMsg ("psphot", PS_LOG_ DETAIL, "merged %ld new footprints with %ld existing ones: %f sec\n", footprints->n, detections->footprints->n, psTimerMark ("footprints"));59 psLogMsg ("psphot", PS_LOG_MINUTIA, "merged %ld new footprints with %ld existing ones: %f sec\n", footprints->n, detections->footprints->n, psTimerMark ("psphot.footprints")); 60 60 61 61 psFree(footprints); … … 68 68 psphotCullPeaks(readout->image, readout->weight, recipe, detections->footprints); 69 69 detections->peaks = pmFootprintArrayToPeaks(detections->footprints); 70 psLogMsg ("psphot", PS_LOG_INFO, "%ld peaks, %ld total footprints: %f sec\n", detections->peaks->n, detections->footprints->n, psTimerMark (" footprints"));70 psLogMsg ("psphot", PS_LOG_INFO, "%ld peaks, %ld total footprints: %f sec\n", detections->peaks->n, detections->footprints->n, psTimerMark ("psphot.footprints")); 71 71 72 72 return detections;
Note:
See TracChangeset
for help on using the changeset viewer.
