- Timestamp:
- Aug 7, 2009, 12:45:24 PM (17 years ago)
- Location:
- branches/eam_branches/20090715
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/objects/pmSourceContour.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715
- Property svn:mergeinfo changed
/trunk (added) merged: 24801-24824,24827-24834,24836-24859,24861-24901,24903-24912,24914-24950,24953-24971,24973-24977,24986-24989,24993-25017
- Property svn:mergeinfo changed
-
branches/eam_branches/20090715/psModules/src/objects/pmSourceContour.c
r23187 r25022 273 273 x0 = findContourPos (image, threshold, xR, yR, RIGHT, x1); 274 274 if (x0 == x1) { 275 // fprintf (stderr, "top: %d (%d - %d)\n", yR, xR, x1);275 // fprintf (stderr, "top: %d (%d - %d)\n", yR, xR, x1); 276 276 goto pt1; 277 277 } … … 282 282 x1 = findContourNeg (image, threshold, xR, yR, RIGHT); 283 283 } 284 // fprintf (stderr, "pos: %d (%d - %d)\n", yR, x0, x1);284 // fprintf (stderr, "pos: %d (%d - %d)\n", yR, x0, x1); 285 285 286 286 xVec->data.F32[Npt + 0] = image->col0 + x0; … … 288 288 yVec->data.F32[Npt + 0] = image->row0 + yR; 289 289 yVec->data.F32[Npt + 1] = image->row0 + yR; 290 290 291 Npt += 2; 291 292 … … 307 308 x0 = findContourPos (image, threshold, xR, yR, RIGHT, x1); 308 309 if (x0 == x1) { 309 // fprintf (stderr, "top: %d (%d - %d)\n", yR, xR, x1);310 // fprintf (stderr, "top: %d (%d - %d)\n", yR, xR, x1); 310 311 goto pt2; 311 312 } … … 322 323 yVec->data.F32[Npt + 0] = image->row0 + yR; 323 324 yVec->data.F32[Npt + 1] = image->row0 + yR; 325 324 326 Npt += 2; 325 327 … … 334 336 yVec->n = Npt; 335 337 336 // fprintf (stderr, "done\n");337 338 psArray *tmpArray = psArrayAlloc(2); 338 339
Note:
See TracChangeset
for help on using the changeset viewer.
