- Timestamp:
- Sep 25, 2012, 5:33:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/pswarp/src/pswarpTransformReadout.c
r34442 r34470 60 60 // pswarpMapGridFromImage builds a set of locally-linear maps which convert the 61 61 // output coordinates to input coordinates 62 pswarpMapGrid *grid = pswarpMapGridFromImage(input, output, nGridX, nGridY); 63 62 pswarpMapGrid *grid; 63 if (psMetadataLookupBool(NULL,config->arguments,"BACKGROUND_WARPING")) { 64 grid = pswarpMapGridFromImageForBackground(input, output, nGridX, nGridY); 65 } 66 else { 67 grid = pswarpMapGridFromImage(input, output, nGridX, nGridY); 68 } 64 69 // XXX optionally modify the grid based on this result and force the maxError < XXX 65 70 double maxError = pswarpMapGridMaxError(grid); // Maximum (positional) error from using grid
Note:
See TracChangeset
for help on using the changeset viewer.
