Changeset 5905 for branches/SDRS-18-FIXES/doc/pslib/psLibSDRS.tex
- Timestamp:
- Jan 5, 2006, 1:55:02 PM (21 years ago)
- File:
-
- 1 edited
-
branches/SDRS-18-FIXES/doc/pslib/psLibSDRS.tex (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SDRS-18-FIXES/doc/pslib/psLibSDRS.tex
r5792 r5905 1 %%% $Id: psLibSDRS.tex,v 1.362.2. 2 2005-12-15 01:29:01jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.362.2.3 2006-01-05 23:55:02 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 926 926 PS_TYPE_F32, ///< Floating point 927 927 PS_TYPE_F64, ///< Double-precision floating point 928 PS_TYPE_C32, ///< Complex numbers consisting of floats929 PS_TYPE_C64, ///< Complex numbers consisting of doubles928 PS_TYPE_C32, ///< Float complex 929 PS_TYPE_C64, ///< Double complex 930 930 PS_TYPE_BOOL ///< Boolean value 931 931 } psElemType; … … 3302 3302 psS8 S8; ///< bye value entry 3303 3303 psS16 S16; ///< short int value entry 3304 psS32 S32; ///< int value entry3305 psS64 S64; ///< long int value entry3304 psS32 S32; ///< int value entry 3305 psS64 S64; ///< long int value entry 3306 3306 psU8 U8; ///< unsigned byte value entry 3307 3307 psU16 U16; ///< unsigned short int value entry 3308 psU32 U32; ///< unsigned int value entry3309 psU64 U64; ///< unsigned long int value entry3308 psU32 U32; ///< unsigned int value entry 3309 psU64 U64; ///< unsigned long int value entry 3310 3310 psF32 F32; ///< float value entry 3311 3311 psF64 F64; ///< double value entry 3312 psC32 C32; ///< complex value entry3312 psC32 C32; ///< float complex value entry 3313 3313 psC64 C64; ///< double complex value entry 3314 3314 } data; … … 3318 3318 In addition, we specify two functions for working with \code{psScalar} data: 3319 3319 \begin{prototype} 3320 psScalar *psScalarAlloc( complex value, psElemType type);3320 psScalar *psScalarAlloc(double complex value, psElemType type); 3321 3321 psScalar *psScalarCopy(const psScalar *value); 3322 3322 \end{prototype} … … 3334 3334 We require several related types of basic one-dimensional arrays: 3335 3335 arrays of values of type \code{int}, \code{float}, \code{double}, 3336 \code{ complex float}, and \code{complex}. We have defined a3336 \code{float complex}, and \code{double complex}. We have defined a 3337 3337 single structure, \code{psVector} to represent these concepts: 3338 3338 % … … 3354 3354 psF64 *F64; ///< Pointers to double-precision data 3355 3355 psC32 *C32; ///< Pointers to complex floating-point data 3356 psC64 *C64; ///< Pointers to complex floating-pointdata3356 psC64 *C64; ///< Pointers to complex double-precision data 3357 3357 } data; 3358 3358 void *lock; ///< Lock for thread safety … … 3444 3444 3445 3445 \begin{prototype} 3446 bool psVectorSet(const psVector *input, long position, complex value);3447 complex psVectorGet(const psVector *input, long position);3446 bool psVectorSet(const psVector *input, long position, double complex value); 3447 double complex psVectorGet(const psVector *input, long position); 3448 3448 \end{prototype} 3449 3449 … … 3493 3493 psF64 **F64; ///< Pointers to double-precision data 3494 3494 psC32 **C32; ///< Pointers to complex floating-point data 3495 psC64 **C64; ///< Pointers to complex floating-pointdata3495 psC64 **C64; ///< Pointers to complex double-precision data 3496 3496 psPtr V; ///< Pointers to untyped data 3497 3497 } data; … … 3566 3566 3567 3567 \begin{prototype} 3568 bool psImageSet(const psImage *image, int x, int y, complex value);3569 complex psImageGet(const psImage *image, int x, int y);3568 bool psImageSet(const psImage *image, int x, int y, double complex value); 3569 double complex psImageGet(const psImage *image, int x, int y); 3570 3570 \end{prototype} 3571 3571 … … 5258 5258 \begin{prototype} 5259 5259 psImage *psImageRotate(psImage *out, const psImage *input, float angle, 5260 complex exposed, psImageInterpolateMode mode);5260 double complex exposed, psImageInterpolateMode mode); 5261 5261 \end{prototype} 5262 5262 Rotate the input image by given angle, specified in radians. The … … 5272 5272 \begin{prototype} 5273 5273 psImage *psImageShift(psImage *out, const psImage *input, 5274 float dx, float dy, complex exposed, psImageInterpolateMode mode);5274 float dx, float dy, double complex exposed, psImageInterpolateMode mode); 5275 5275 \end{prototype} 5276 5276 Shift image by an arbitrary number of pixels (\code{dx,dy}) in either … … 5391 5391 5392 5392 \begin{prototype} 5393 complex psImagePixelInterpolate(const psImage *input, float x, float y,5393 double complex psImagePixelInterpolate(const psImage *input, float x, float y, 5394 5394 const psImage *mask, psMaskType maskVal, 5395 complex unexposedValue, psImageInterpolateMode mode);5395 double complex unexposedValue, psImageInterpolateMode mode); 5396 5396 \end{prototype} 5397 5397 Perform interpolation of image pixel values to the given fractional … … 5427 5427 5428 5428 \begin{prototype} 5429 int psImageClipComplexRegion(psImage *input, complex min, complex vmin, 5430 complex max, complex vmax); 5429 int psImageClipComplexRegion(psImage *input, double complex min, 5430 double complex vmin, double complex max, 5431 double complex vmax); 5431 5432 \end{prototype} 5432 5433 Clip image values outside of range to given values. All pixels with
Note:
See TracChangeset
for help on using the changeset viewer.
