Changeset 3946
- Timestamp:
- May 16, 2005, 11:04:30 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r3934 r3946 1 %%% $Id: psLibSDRS.tex,v 1.21 8 2005-05-13 23:31:59price Exp $1 %%% $Id: psLibSDRS.tex,v 1.219 2005-05-16 21:04:30 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1428 1428 psType type; ///< image data type and dimension 1429 1429 const int ncols, nrows; ///< size of image 1430 const int x0, y0; ///< data region relative to parent1430 int col0, row0; ///< offset of image (relative to parent) 1431 1431 union { 1432 1432 psS8 **S8; ///< Pointers to char data … … 1458 1458 the image is considered to be the child of that parent array. The 1459 1459 offset of the \code{(0,0)} pixel in this array relative to the parent 1460 array is given by the elements \code{( x0,y0)}: \code{x0} is the1461 starting column number in the parent image while \code{ y0} is the1460 array is given by the elements \code{(col0,row0)}: \code{col0} is the 1461 starting column number in the parent image while \code{row0} is the 1462 1462 starting row number. The structure may include references to 1463 1463 subrasters (\code{children, nChildren}) and/or to a containing array … … 1950 1950 functions: 1951 1951 \begin{verbatim} 1952 psF64 psLookupTableInterpolate(const psLookupTable *table, psF64 index, int column );1953 psVector *psLookupTableInterpolateAll(const psLookupTable *table, psF64 index );1952 psF64 psLookupTableInterpolate(const psLookupTable *table, psF64 index, int column, psLookupStatusType *status); 1953 psVector *psLookupTableInterpolateAll(const psLookupTable *table, psF64 index, psVector *stats); 1954 1954 \end{verbatim} 1955 1955 Both functions shall interpolate the \code{table} at the provided … … 1958 1958 \code{psLookupTableInterpolateAll}, all the values shall be calculated 1959 1959 and returned as a \code{psVector}, the type of which shall be 1960 \code{PS_TYPE_F64}. If the \code{index} is beyond the range of the 1961 \code{table}, \code{psLookupTableInterpolate} shall return \code{NaN}, 1962 and \code{psLookupTableInterpolateAll} shall return \code{NULL} --- 1963 that is, no attempt is made at extrapolation. 1960 \code{PS_TYPE_F64}. 1961 1962 If the \code{index} is beyond the range of the \code{table}, 1963 \code{psLookupTableInterpolate} shall return \code{NaN}, and 1964 \code{psLookupTableInterpolateAll} shall return \code{NULL} --- that 1965 is, no attempt is made at extrapolation. 1964 1966 1965 1967 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 2633 2635 2634 2636 \begin{verbatim} 2635 psPolynomial1D *psVectorFitPolynomial1D(psPolynomial1D *myPoly, 2636 const psVector *x, 2637 const psVector *y, 2637 psPolynomial1D *psVectorFitPolynomial1D(psPolynomial1D *myPoly, const psVector *x, const psVector *y, 2638 2638 const psVector *yErr); 2639 2639 \end{verbatim} … … 2649 2649 2650 2650 \begin{verbatim} 2651 psSpline1D *psVectorFitSpline1D(const psVector *x, 2652 const psVector *y 2653 int nKnots); 2651 psSpline1D *psVectorFitSpline1D(const psVector *x, const psVector *y, int nKnots); 2654 2652 \end{verbatim} 2655 2653 \code{psVectorFitSpline1D} shall return the spline that best fits the … … 2733 2731 result in the specified structure. The output image data must be 2734 2732 allocated as a single, contiguous block of memory. The output image 2735 may not be the input image. This function must be defined for the 2733 may not be the input image. The \code{col0,row0} of the \code{input} 2734 image shall be preserved. This function must be defined for the 2736 2735 following types: \code{psU8}, \code{psU16}, \code{psS8}, \code{psS16}, 2737 2736 \code{psF32}, \code{psF64}, \code{psC32}, \code{psC64}. … … 3370 3369 types \code{psF32, psF64}. Input and output data types should match. 3371 3370 \begin{verbatim} 3372 psVector *psMatrixEigenvectors(psImage *in); 3373 \end{verbatim} 3371 psImage *psMatrixEigenvectors(psImage *out, psImage *in); 3372 \end{verbatim} 3373 \tbd{Should this return an array of vectors? Specified here as 3374 currently implemented by MHPCC.} 3374 3375 3375 3376 Finally, we specify two functions to convert between matrices and … … 3779 3780 PS_META_LIST = 0x10000, ///< List data (Stored as item.data.list). 3780 3781 PS_META_STR, ///< String data (Stored as item.data.V). 3782 PS_META_META, ///< Metadata (Stored as item.data.md). 3781 3783 PS_META_VEC, ///< Vector data (Stored as item.data.V). 3782 3784 PS_META_IMG, ///< Image data (Stored as item.data.V).
Note:
See TracChangeset
for help on using the changeset viewer.
