IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2008, 12:37:59 PM (18 years ago)
Author:
Paul Price
Message:

Fixed a bug in the tile transformation that was resulting in transformed data being overwritten with untransformed data (a single character bug --- 'y' instead of 'x'!). Attempted to make transformations a bit more efficient by only transforming the tiles that overlap the image; doesn't seem to make much difference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarp.h

    r18839 r19395  
    3535    int nXpts, nYpts;                   // number of x,y samples in the grid
    3636    int nXpix, nYpix;                   // x,y spacing in src image pixels of grid samples
    37     double xMin,  yMin;                 // coordinate of first grid sample
     37    double xMin,  yMin;                 // coordinate of first grid sample
    3838} pswarpMapGrid;
    3939
     
    5151
    5252    // output values for this tile
    53     long goodPixels;
     53    long goodPixels;                    // Number of good pixels
     54    int xMin, xMax, yMin, yMax;         // Bounds of tile
    5455} pswarpTransformTileArgs;
    5556
Note: See TracChangeset for help on using the changeset viewer.