Changeset 25027 for branches/pap/psModules/src/objects/pmSourceContour.c
- Timestamp:
- Aug 7, 2009, 4:08:25 PM (17 years ago)
- Location:
- branches/pap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/psModules
- Property svn:mergeinfo deleted
-
branches/pap/psModules/src/objects/pmSourceContour.c
r23187 r25027 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.
