Changeset 5904 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Jan 5, 2006, 1:49:44 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r5877 r5904 1 %%% $Id: psLibSDRS.tex,v 1.3 69 2006-01-04 04:26:21jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.370 2006-01-05 23:49:44 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; … … 3306 3306 psS8 S8; ///< bye value entry 3307 3307 psS16 S16; ///< short int value entry 3308 psS32 S32; ///< int value entry3309 psS64 S64; ///< long int value entry3308 psS32 S32; ///< int value entry 3309 psS64 S64; ///< long int value entry 3310 3310 psU8 U8; ///< unsigned byte value entry 3311 3311 psU16 U16; ///< unsigned short int value entry 3312 psU32 U32; ///< unsigned int value entry3313 psU64 U64; ///< unsigned long int value entry3312 psU32 U32; ///< unsigned int value entry 3313 psU64 U64; ///< unsigned long int value entry 3314 3314 psF32 F32; ///< float value entry 3315 3315 psF64 F64; ///< double value entry 3316 psC32 C32; ///< complex value entry3316 psC32 C32; ///< float complex value entry 3317 3317 psC64 C64; ///< double complex value entry 3318 3318 } data; … … 3322 3322 In addition, we specify two functions for working with \code{psScalar} data: 3323 3323 \begin{prototype} 3324 psScalar *psScalarAlloc( complex value, psElemType type);3324 psScalar *psScalarAlloc(double complex value, psElemType type); 3325 3325 psScalar *psScalarCopy(const psScalar *value); 3326 3326 \end{prototype} … … 3338 3338 We require several related types of basic one-dimensional arrays: 3339 3339 arrays of values of type \code{int}, \code{float}, \code{double}, 3340 \code{ complex float}, and \code{complex}. We have defined a3340 \code{float complex}, and \code{double complex}. We have defined a 3341 3341 single structure, \code{psVector} to represent these concepts: 3342 3342 % … … 3358 3358 psF64 *F64; ///< Pointers to double-precision data 3359 3359 psC32 *C32; ///< Pointers to complex floating-point data 3360 psC64 *C64; ///< Pointers to complex floating-pointdata3360 psC64 *C64; ///< Pointers to complex double-precision data 3361 3361 } data; 3362 3362 void *lock; ///< Lock for thread safety … … 3448 3448 3449 3449 \begin{prototype} 3450 bool psVectorSet(const psVector *input, long position, complex value);3451 complex psVectorGet(const psVector *input, long position);3450 bool psVectorSet(const psVector *input, long position, double complex value); 3451 double complex psVectorGet(const psVector *input, long position); 3452 3452 \end{prototype} 3453 3453 … … 3497 3497 psF64 **F64; ///< Pointers to double-precision data 3498 3498 psC32 **C32; ///< Pointers to complex floating-point data 3499 psC64 **C64; ///< Pointers to complex floating-pointdata3499 psC64 **C64; ///< Pointers to complex double-precision data 3500 3500 psPtr *V; ///< Pointers to untyped data 3501 3501 } data; … … 3570 3570 3571 3571 \begin{prototype} 3572 bool psImageSet(const psImage *image, int x, int y, complex value);3573 complex psImageGet(const psImage *image, int x, int y);3572 bool psImageSet(const psImage *image, int x, int y, double complex value); 3573 double complex psImageGet(const psImage *image, int x, int y); 3574 3574 \end{prototype} 3575 3575 … … 5263 5263 \begin{prototype} 5264 5264 psImage *psImageRotate(psImage *out, const psImage *input, float angle, 5265 complex exposed, psImageInterpolateMode mode);5265 double complex exposed, psImageInterpolateMode mode); 5266 5266 \end{prototype} 5267 5267 Rotate the input image by given angle, specified in radians. The … … 5277 5277 \begin{prototype} 5278 5278 psImage *psImageShift(psImage *out, const psImage *input, 5279 float dx, float dy, complex exposed, psImageInterpolateMode mode);5279 float dx, float dy, double complex exposed, psImageInterpolateMode mode); 5280 5280 \end{prototype} 5281 5281 Shift image by an arbitrary number of pixels (\code{dx,dy}) in either … … 5396 5396 5397 5397 \begin{prototype} 5398 complex psImagePixelInterpolate(const psImage *input, float x, float y,5398 double complex psImagePixelInterpolate(const psImage *input, float x, float y, 5399 5399 const psImage *mask, psMaskType maskVal, 5400 complex unexposedValue, psImageInterpolateMode mode);5400 double complex unexposedValue, psImageInterpolateMode mode); 5401 5401 \end{prototype} 5402 5402 Perform interpolation of image pixel values to the given fractional … … 5432 5432 5433 5433 \begin{prototype} 5434 int psImageClipComplexRegion(psImage *input, complex min, complex vmin, 5435 complex max, complex vmax); 5434 int psImageClipComplexRegion(psImage *input, double complex min, 5435 double complex vmin, double complex max, 5436 double complex vmax); 5436 5437 \end{prototype} 5437 5438 Clip image values outside of range to given values. All pixels with
Note:
See TracChangeset
for help on using the changeset viewer.
