Changeset 4945 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Sep 2, 2005, 12:29:08 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r4925 r4945 1 %%% $Id: psLibSDRS.tex,v 1.33 2 2005-08-31 02:33:37price Exp $1 %%% $Id: psLibSDRS.tex,v 1.333 2005-09-02 22:29:08 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1141 1141 % 1142 1142 where \code{level} specifies the current trace level for the facility 1143 named by \code{facil}. The currently defined trace level for a given 1143 named by \code{facil}. The function returns the previous trace level 1144 for that facility. The currently defined trace level for a given 1144 1145 facility may be determined by the function: 1145 1146 % … … 3286 3287 In addition, we specify two functions for working with \code{psScalar} data: 3287 3288 \begin{prototype} 3288 psScalar *psScalarAlloc(complex doublevalue, psElemType type);3289 psScalar *psScalarAlloc(complex value, psElemType type); 3289 3290 psScalar *psScalarCopy(const psScalar *value); 3290 3291 \end{prototype} … … 3302 3303 We require several related types of basic one-dimensional arrays: 3303 3304 arrays of values of type \code{int}, \code{float}, \code{double}, 3304 \code{complex float}, and \code{complex double}. We have defined a3305 \code{complex float}, and \code{complex}. We have defined a 3305 3306 single structure, \code{psVector} to represent these concepts: 3306 3307 % … … 3412 3413 3413 3414 \begin{prototype} 3414 bool psVectorSet(const psVector *input, long position, complex doublevalue);3415 complex doublepsVectorGet(const psVector *input, long position);3415 bool psVectorSet(const psVector *input, long position, complex value); 3416 complex psVectorGet(const psVector *input, long position); 3416 3417 \end{prototype} 3417 3418 … … 3522 3523 3523 3524 \begin{prototype} 3524 bool psImageSet(const psImage *image, int x, int y, complex doublevalue);3525 complex doublepsImageGet(const psImage *image, int x, int y);3525 bool psImageSet(const psImage *image, int x, int y, complex value); 3526 complex psImageGet(const psImage *image, int x, int y); 3526 3527 \end{prototype} 3527 3528 … … 5152 5153 \begin{prototype} 5153 5154 psImage *psImageRotate(psImage *out, const psImage *input, float angle, 5154 complex doubleexposed, psImageInterpolateMode mode);5155 complex exposed, psImageInterpolateMode mode); 5155 5156 \end{prototype} 5156 5157 Rotate the input image by given angle, specified in radians. The … … 5166 5167 \begin{prototype} 5167 5168 psImage *psImageShift(psImage *out, const psImage *input, 5168 float dx, float dy, complex doubleexposed, psImageInterpolateMode mode);5169 float dx, float dy, complex exposed, psImageInterpolateMode mode); 5169 5170 \end{prototype} 5170 5171 Shift image by an arbitrary number of pixels (\code{dx,dy}) in either … … 5274 5275 5275 5276 \begin{prototype} 5276 complex doublepsImagePixelInterpolate(const psImage *input, float x, float y,5277 complex psImagePixelInterpolate(const psImage *input, float x, float y, 5277 5278 const psImage *mask, psMaskType maskVal, 5278 complex doubleunexposedValue, psImageInterpolateMode mode);5279 complex unexposedValue, psImageInterpolateMode mode); 5279 5280 \end{prototype} 5280 5281 Perform interpolation of image pixel values to the given fractional … … 5310 5311 5311 5312 \begin{prototype} 5312 int psImageClipComplexRegion(psImage *input, complex double min, complex doublevmin,5313 complex double max, complex doublevmax);5313 int psImageClipComplexRegion(psImage *input, complex min, complex vmin, 5314 complex max, complex vmax); 5314 5315 \end{prototype} 5315 5316 Clip image values outside of range to given values. All pixels with
Note:
See TracChangeset
for help on using the changeset viewer.
