Changeset 13661
- Timestamp:
- Jun 5, 2007, 3:12:53 PM (19 years ago)
- Location:
- trunk/pswarp/src
- Files:
-
- 1 added
- 2 deleted
- 3 edited
-
Makefile.am (modified) (1 diff)
-
pswarp.c (modified) (1 diff)
-
pswarp.h (modified) (3 diffs)
-
pswarpDataLoad.c (deleted)
-
pswarpDataSave.c (deleted)
-
pswarpLoop.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/Makefile.am
r13315 r13661 7 7 pswarpArguments.c \ 8 8 pswarpCleanup.c \ 9 pswarpDataLoad.c \ 10 pswarpDataSave.c \ 9 pswarpLoop.c \ 11 10 pswarpDefine.c \ 12 11 pswarpDefineSkycell.c \ -
trunk/pswarp/src/pswarp.c
r12764 r13661 37 37 38 38 // load and warp 39 if (!pswarpDataLoad (config)) { 40 psErrorStackPrint(stderr, "error reading input data\n"); 41 exit (1); 42 } 43 44 // write out result image 45 if (!pswarpDataSave (config)) { 46 psErrorStackPrint(stderr, "error writing output data\n"); 39 if (!pswarpLoop(config)) { 40 psErrorStackPrint(stderr, "error warping data\n"); 47 41 exit (1); 48 42 } -
trunk/pswarp/src/pswarp.h
r12523 r13661 14 14 # define PSASTRO_RECIPE "PSASTRO" // Name of the recipe to use 15 15 16 // a single pswarpMap converts coordinates from one image to a second image 16 // a single pswarpMap converts coordinates from one image to a second image 17 17 // the linear model is only valid over a limited range of pixels 18 18 typedef struct { … … 27 27 typedef struct { 28 28 pswarpMap ***maps; 29 int nXpts, nYpts; // number of x,y samples in the grid30 int nXpix, nYpix; // x,y spacing in src image pixels of grid samples31 int xMin, yMin; // coordinate of first grid sample29 int nXpts, nYpts; // number of x,y samples in the grid 30 int nXpix, nYpix; // x,y spacing in src image pixels of grid samples 31 int xMin, yMin; // coordinate of first grid sample 32 32 } pswarpMapGrid; 33 33 … … 35 35 bool pswarpParseCamera (pmConfig *config); 36 36 bool pswarpDefine (pmConfig *config); 37 bool pswarpDataLoad (pmConfig *config); 38 bool pswarpDataSave (pmConfig *config); 37 bool pswarpLoop (pmConfig *config); 39 38 void pswarpCleanup (pmConfig *config); 40 39 bool pswarpTransformReadout (pmReadout *output, pmReadout *input, pmConfig *config);
Note:
See TracChangeset
for help on using the changeset viewer.
