IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24887


Ignore:
Timestamp:
Jul 21, 2009, 3:27:55 PM (17 years ago)
Author:
eugene
Message:

debug messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceContour.c

    r23187 r24887  
    273273            x0 = findContourPos (image, threshold, xR, yR, RIGHT, x1);
    274274            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);
    276276                goto pt1;
    277277            }
     
    282282            x1 = findContourNeg (image, threshold, xR, yR, RIGHT);
    283283        }
    284         // fprintf (stderr, "pos: %d (%d - %d)\n", yR, x0, x1);
     284        // fprintf (stderr, "pos: %d (%d - %d)\n", yR, x0, x1);
    285285
    286286        xVec->data.F32[Npt + 0] = image->col0 + x0;
     
    288288        yVec->data.F32[Npt + 0] = image->row0 + yR;
    289289        yVec->data.F32[Npt + 1] = image->row0 + yR;
     290
    290291        Npt += 2;
    291292
     
    307308            x0 = findContourPos (image, threshold, xR, yR, RIGHT, x1);
    308309            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);
    310311                goto pt2;
    311312            }
     
    322323        yVec->data.F32[Npt + 0] = image->row0 + yR;
    323324        yVec->data.F32[Npt + 1] = image->row0 + yR;
     325
    324326        Npt += 2;
    325327
     
    334336    yVec->n = Npt;
    335337
    336     // fprintf (stderr, "done\n");
    337338    psArray *tmpArray = psArrayAlloc(2);
    338339
Note: See TracChangeset for help on using the changeset viewer.