Changeset 18839 for trunk/pswarp/src/pswarp.h
- Timestamp:
- Jul 31, 2008, 2:13:59 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarp.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarp.h
r18558 r18839 10 10 #include <psmodules.h> 11 11 #include <psphot.h> 12 13 #define THREADED 1 12 14 13 15 #include "pswarpErrorCodes.h" … … 33 35 int nXpts, nYpts; // number of x,y samples in the grid 34 36 int nXpix, nYpix; // x,y spacing in src image pixels of grid samples 35 int xMin, yMin;// coordinate of first grid sample37 double xMin, yMin; // coordinate of first grid sample 36 38 } pswarpMapGrid; 39 40 typedef struct { 41 // values which are common to all tiles 42 pmReadout *input; 43 pmReadout *output; 44 pswarpMapGrid *grid; 45 psImageInterpolateOptions *interp; 46 psImage *region; 47 48 // input values for this tile 49 int gridX; 50 int gridY; 51 52 // output values for this tile 53 long goodPixels; 54 } pswarpTransformTileArgs; 55 56 pswarpTransformTileArgs *pswarpTransformTileArgsAlloc(); 57 bool pswarpTransformTile (pswarpTransformTileArgs *args); 37 58 38 59 pmConfig *pswarpArguments (int argc, char **argv); … … 44 65 void pswarpCleanup (pmConfig *config); 45 66 bool pswarpTransformReadout (pmReadout *output, pmReadout *input, pmConfig *config); 46 bool pswarpTransform Readout_Opt(pmReadout *output, pmReadout *input, pmConfig *config);67 bool pswarpTransformSources(pmReadout *output, pmReadout *input, pmConfig *config); 47 68 48 69 bool pswarpMatchRange (int *minX, int *minY, int *maxX, int *maxY, pmReadout *dest, pmReadout *src); … … 53 74 pswarpMapGrid *pswarpMapGridFromImage (pmReadout *dest, pmReadout *src, int nXpix, int nYpix); 54 75 bool pswarpMapGridSetGrid (pswarpMapGrid *grid, int ix, int iy, int *gridX, int *gridY); 76 bool pswarpMapGridCoordRange (pswarpMapGrid *grid, int gridX, int gridY, psPlane *min, psPlane *max); 55 77 int pswarpMapGridNextGrid_X (pswarpMapGrid *grid, int gridX); 56 78 int pswarpMapGridNextGrid_Y (pswarpMapGrid *grid, int gridY); … … 68 90 ); 69 91 92 // define threads for this program 93 bool pswarpSetThreads ();
Note:
See TracChangeset
for help on using the changeset viewer.
