Changeset 4596
- Timestamp:
- Jul 22, 2005, 12:13:36 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r4595 r4596 1 %%% $Id: psLibSDRS.tex,v 1.3 19 2005-07-22 22:09:32price Exp $1 %%% $Id: psLibSDRS.tex,v 1.320 2005-07-22 22:13:36 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 4289 4289 typedef struct { 4290 4290 psPolynomialType type; ///< Polynomial type 4291 psElemType ctype; ///< Polynomial precision4292 4291 unsigned int n; ///< Number of terms 4293 union { 4294 psF32 *F32; ///< Coefficients 4295 psF64 *F64; ///< Coefficients 4296 } coeff; 4297 union { 4298 psF32 *F32; ///< Error in coefficients 4299 psF64 *F64; ///< Error in coefficients 4300 } coeffErr; 4292 psF64 *coeff; ///< Coefficients 4293 psF64 *coeffErr; ///< Error in coefficients 4301 4294 char *mask; ///< Coefficient mask 4302 4295 } psPolynomial1D; … … 4307 4300 typedef struct { 4308 4301 psPolynomialType type; ///< Polynomial type 4309 psElemType ctype; ///< Polynomial precision4310 4302 unsigned int nX, nY; ///< Number of terms in x and y 4311 union { 4312 psF32 **F32; ///< Coefficients 4313 psF64 **F64; ///< Coefficients 4314 } coeff; 4315 union { 4316 psF32 **F32; ///< Error in coefficients 4317 psF64 **F64; ///< Error in coefficients 4318 } coeffErr; 4303 psF64 *coeff; ///< Coefficients 4304 psF64 *coeffErr; ///< Error in coefficients 4319 4305 char **mask; ///< Coefficients mask 4320 4306 } psPolynomial2D; … … 4332 4318 \end{datatype} 4333 4319 4334 The element \code{ctype} defines the data type for the coefficients4335 (allowed values of \code{PS_TYPE_F32} and \code{PS_TYPE_F64}).4336 4337 4320 The constructors are: 4338 4321 \begin{prototype} 4339 4322 psPolynomial1D *psPolynomial1DAlloc(psPolynomialType type, 4340 psElemType ctype,4341 4323 unsigned int nX); 4342 4324 psPolynomial2D *psPolynomial2DAlloc(psPolynomialType type, 4343 psElemType ctype,4344 4325 unsigned int nX, unsigned int nY); 4345 4326 psPolynomial3D *psPolynomial3DAlloc(psPolynomialType type, 4346 psElemType ctype,4347 4327 unsigned int nX, unsigned int nY, unsigned int nZ); 4348 4328 psPolynomial4D *psPolynomial4DAlloc(psPolynomialType type, 4349 psElemType ctype,4350 4329 unsigned int nX, unsigned int nY, unsigned int nZ, unsigned int nT); 4351 4330 \end{prototype} … … 6122 6101 \begin{datatype} 6123 6102 typedef struct { 6124 ps DPolynomial2D *x;6125 ps DPolynomial2D *y;6103 psPolynomial2D *x; 6104 psPolynomial2D *y; 6126 6105 } psPlaneTransform; 6127 6106 \end{datatype} 6128 6107 6129 The \code{ps DPolynomial2D} structures represent polynomials of6108 The \code{psPolynomial2D} structures represent polynomials of 6130 6109 arbitrary order as a function of two dimensions. There is one of 6131 6110 these structures for each of the two output dimensions. As an … … 6149 6128 \begin{datatype} 6150 6129 typedef struct { 6151 ps DPolynomial4D *x;6152 ps DPolynomial4D *y;6130 psPolynomial4D *x; 6131 psPolynomial4D *y; 6153 6132 } psPlaneDistort; 6154 6133 \end{datatype} 6155 6134 6156 6135 Like \code{psPlaneTransform}, \code{psPlaneDistort} contains two 6157 \code{ps DPolynomial4D} structures representing polynomials of6136 \code{psPolynomial4D} structures representing polynomials of 6158 6137 arbitrary order as a function of four, rather than two dimensions. 6159 6138 There is one of these structures for each of the two output
Note:
See TracChangeset
for help on using the changeset viewer.
