Changeset 3813 for trunk/pois/src/pois.c
- Timestamp:
- Apr 29, 2005, 10:53:49 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/pois/src/pois.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pois/src/pois.c
r3797 r3813 114 114 115 115 // Iterate for a good solution 116 bool badStamps = true; // Do we have bad stamps, such that we need to continue to iterate?116 psList *badStamps = NULL; // Do we have bad stamps, such that we need to continue to iterate? 117 117 for (int iterNum = 0; iterNum < config->numIter && badStamps; iterNum++) { 118 118 psTrace("pois", 1, "Iteration %d...\n", iterNum); 119 119 120 psFree(badStamps); // left over from last iteration 121 120 122 // Find stamps 121 123 stamps = poisFindStamps(stamps, refImage, mask, config); … … 175 177 // If there was rejection on the last round, re-solve the equation using only the good stamps 176 178 if (badStamps) { 179 psFree(badStamps); 177 180 solution = poisSolveEquation(solution, stamps, config); 178 181 }
Note:
See TracChangeset
for help on using the changeset viewer.
