IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 21, 2007, 1:29:55 PM (19 years ago)
Author:
eugene
Message:

working on skipping unused chips, ignoring skycell pixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpMatchRange.c

    r12523 r12526  
    88    psPlaneTransformApply (srcFP, fpaSrc->fromTPA, srcTP); \
    99    psPlaneTransformApply (srcPix, chipSrc->fromFPA, srcFP); \
    10     fprintf (stderr, "%6.1f,%6.1f -> ", srcPix->x, srcPix->y); \
    1110    *minX = PS_MIN (*minX, srcPix->x); \
    1211    *minY = PS_MIN (*minY, srcPix->y); \
    1312    *maxX = PS_MAX (*maxX, srcPix->x); \
    14     *maxY = PS_MAX (*maxY, srcPix->y); \
    15     fprintf (stderr, "%4d,%4d - %4d,%4d\n", *minX, *minY, *maxX, *maxY);
     13    *maxY = PS_MAX (*maxY, srcPix->y);
    1614
    1715// we are warping from src to dest.  find the max overlapping pixels in the INPUT (src)
     
    3735    *maxX = src->image->col0;
    3836    *maxY = src->image->row0;
    39     fprintf (stderr, "%4d,%4d - %4d,%4d\n", *minX, *minY, *maxX, *maxY);
    4037
    4138    // XXX save these as static for speed?
     
    8885
    8986    // demo forward and backward transformation
     87# if (0)
    9088    srcPix->x = *minX;
    9189    srcPix->y = *minY;
     
    9694    psPlaneTransformApply (destFP, fpaDest->fromTPA, destTP);
    9795    psPlaneTransformApply (destPix, chipDest->fromFPA, destFP);
    98 
    9996    fprintf (stderr, "%f,%f -> %f,%f ", srcPix->x, srcPix->y, destPix->x, destPix->y);
    10097
     
    105102    psPlaneTransformApply (srcFP, fpaSrc->fromTPA, srcTP);
    106103    psPlaneTransformApply (srcPix, chipSrc->fromFPA, srcFP);
    107 
    108104    fprintf (stderr, "-> %f,%f ", srcPix->x, srcPix->y);
     105# endif
    109106
    110107    psFree (srcPix);
Note: See TracChangeset for help on using the changeset viewer.