Changeset 21323 for trunk/pswarp/src/pswarp.h
- Timestamp:
- Feb 5, 2009, 10:44:04 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarp.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarp.h
r20307 r21323 1 /** @file pswarp.h 2 * 3 * @brief 4 * 5 * @ingroup pswarp 6 * 7 * @author IfA 8 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-05 20:44:04 $ 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 */ 12 1 13 #ifdef HAVE_CONFIG_H 2 14 #include <config.h> … … 14 26 15 27 #include "pswarpErrorCodes.h" 16 #define PSWARP_RECIPE "PSWARP" // Name of the recipe to use17 #define PSASTRO_RECIPE "PSASTRO" // Name of the recipe to use28 #define PSWARP_RECIPE "PSWARP" ///< Name of the recipe to use 29 #define PSASTRO_RECIPE "PSASTRO" ///< Name of the recipe to use 18 30 19 #define PSWARP_ANALYSIS_VARFACTOR "PSWARP.VARFACTOR" // Name for variance factor in analysis metadata20 #define PSWARP_ANALYSIS_GOODPIX "PSWARP.GOODPIX" // Name for number of good pixels in analysis metadata31 #define PSWARP_ANALYSIS_VARFACTOR "PSWARP.VARFACTOR" ///< Name for variance factor in analysis metadata 32 #define PSWARP_ANALYSIS_GOODPIX "PSWARP.GOODPIX" ///< Name for number of good pixels in analysis metadata 21 33 22 // a single pswarpMap converts coordinates from one image to a second image 23 // the linear model is only valid over a limited range of pixels 34 /** 35 * a single pswarpMap converts coordinates from one image to a second image 36 * the linear model is only valid over a limited range of pixels 37 */ 24 38 typedef struct { 25 39 double Xo, Xx, Xy; … … 29 43 } pswarpMap; 30 44 31 // the pswarpMapGrid carries a collection of pswarpMag structures representing the 32 // local value of the pswarpMap at different locations in the image. 45 /* the pswarpMapGrid carries a collection of pswarpMag structures representing 46 * the local value of the pswarpMap at different locations in the image. 47 */ 33 48 typedef struct { 34 49 pswarpMap ***maps; 35 int nXpts, nYpts; // number of x,y samples in the grid36 int nXpix, nYpix; // x,y spacing in src image pixels of grid samples37 double xMin, yMin; // coordinate of first grid sample50 int nXpts, nYpts; ///< number of x,y samples in the grid 51 int nXpix, nYpix; ///< x,y spacing in src image pixels of grid samples 52 double xMin, yMin; ///< coordinate of first grid sample 38 53 } pswarpMapGrid; 39 54 40 55 typedef struct { 41 / / values which are common to all tiles56 /** values which are common to all tilesa */ 42 57 pmReadout *input; 43 58 pmReadout *output; … … 46 61 psImage *region; 47 62 48 / / input values for this tile63 /** input values for this tile */ 49 64 int gridX; 50 65 int gridY; 51 66 52 / / output values for this tile53 long goodPixels; // Number of good pixels54 int xMin, xMax, yMin, yMax; // Bounds of tile67 /** output values for this tile */ 68 long goodPixels; //< Number of good pixels 69 int xMin, xMax, yMin, yMax; //< Bounds of tile 55 70 } pswarpTransformTileArgs; 56 71 … … 91 106 ); 92 107 93 // define threads for this program 108 /** 109 * define threads for this program 110 */ 94 111 bool pswarpSetThreads ();
Note:
See TracChangeset
for help on using the changeset viewer.
