Changeset 962
- Timestamp:
- Jun 9, 2004, 12:29:40 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/modules/include/phase2.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/modules/include/phase2.h
r926 r962 30 30 31 31 /** Returns an image that is the result of convolving the input image with the specified kernel. */ 32 ps Readout *psPhase2ConvolveWithKernel(psReadout*out, ///< Output image, or NULL33 const psReadout*in, ///< Input image to be convolved34 const psImage *kernel ///< Kernel by which to convolve35 );32 psImage *psPhase2ConvolveWithKernel(psImage *out, ///< Output image, or NULL 33 const psImage *in, ///< Input image to be convolved 34 const psImage *kernel ///< Kernel by which to convolve 35 ); 36 36 37 37 /************************************************************************************************************/ … … 55 55 ); 56 56 57 /** Array of image regions */58 typedef struct {59 int n; ///< Number of image regions60 psImageRegion *arr; ///< Array of image regions61 } psImageRegionArray;62 63 /** Constructor */64 psImageRegionArray *psImageRegionArrayAlloc(int n ///< Number of entries to allocate65 );66 67 /** Destructor */68 void psImageRegionArrayFree(psImageRegionArray *reg ///< Array of regions to destroy69 );70 71 57 /** Overscan axis */ 72 58 typedef enum { … … 82 68 psPolynomial1D *polySpec, ///< Polynomial specification to use for fit, 83 69 ///< outputed 84 const ps ImageRegionArray *regions, ///< Bias regions70 const psList *regions, ///< Linked list of psImageRegion types. 85 71 psOverscanAxis overscanAxis, ///< Overscan axis 86 72 const psStatsOptions *stat, ///< Statistic to use … … 102 88 */ 103 89 psReadout *psPhase2CorrectNonLinearity(psReadout *in, ///< Input image to be corrected, and output 104 psPolynomial1D *coeff ///< Polynomial with which to correct90 const psPolynomial1D *coeff ///< Polynomial with which to correct 105 91 ); 106 92 … … 110 96 ); 111 97 112 /** Subtracts the sky background. Needs work.*/98 /** Subtracts the sky background. */ 113 99 psReadout *psPhase2SubtractSky(psReadout *in, ///< Input image to be sky-subtracted, and output 114 100 psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients 115 const psImageArray *skyImages ///< Array of sky images 101 psVector *outNorms, ///< Normalisations of the template sky images: output 102 const psList *skyImages, ///< Template sky images: a list of type psImage, or 103 ///< NULL 104 const psList *catalog, ///< Sources nearby to mask when measuring the 105 ///< background: a list of type psObject, or NULL 106 float radiusMultiply, ///< Multiplying factor of object radius for mask 107 float radiusAdd, ///< Additive factor to grow the object masks 108 int binFactor ///< Binning factor to use on image before solving for polynomial 116 109 ); 117 110 … … 150 143 151 144 /** Find and measure objects on the input image. Fills in the "objects" member of the psReadout */ 152 psReadout *psPhase2 GetObjects(psReadout *in, ///< Input image on which to find objects, and output153 const psImage *psf, ///< PSF to use to find objects154 const psVector *levels ///< Threshold levels (std dev.s)155 );145 psReadout *psPhase2FindObjects(psReadout *in, ///< Input image on which to find objects, and output 146 const psImage *psf, ///< PSF to use to find objects 147 const psVector *levels ///< Threshold levels (std dev.s) 148 ); 156 149 157 150 /************************************************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
