Changeset 6227 for trunk/psLib/src/mathtypes
- Timestamp:
- Jan 27, 2006, 3:12:17 PM (21 years ago)
- Location:
- trunk/psLib/src/mathtypes
- Files:
-
- 6 edited
-
psImage.c (modified) (4 diffs)
-
psImage.h (modified) (5 diffs)
-
psScalar.c (modified) (2 diffs)
-
psScalar.h (modified) (2 diffs)
-
psVector.c (modified) (3 diffs)
-
psVector.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.c
r5841 r6227 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.9 3$ $Name: not supported by cvs2svn $12 * @date $Date: 200 5-12-24 00:33:18$11 * @version $Revision: 1.94 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-01-28 01:12:14 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 289 289 int x, 290 290 int y, 291 complex value)291 double complex value) 292 292 { 293 293 if (image == NULL) { … … 359 359 } 360 360 361 complex psImageGet(const psImage *image,362 int x,363 int y)361 double complex psImageGet(const psImage *image, 362 int x, 363 int y) 364 364 { 365 365 if (image == NULL) { … … 668 668 } 669 669 670 complex psImagePixelInterpolate(const psImage* input,671 float x,672 float y,673 const psImage* mask,674 psMaskType maskVal,675 complex unexposedValue,676 psImageInterpolateMode mode)670 double complex psImagePixelInterpolate(const psImage* input, 671 float x, 672 float y, 673 const psImage* mask, 674 psMaskType maskVal, 675 double complex unexposedValue, 676 psImageInterpolateMode mode) 677 677 { 678 678 -
trunk/psLib/src/mathtypes/psImage.h
r5530 r6227 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.7 3$ $Name: not supported by cvs2svn $14 * @date $Date: 200 5-11-16 23:06:21$13 * @version $Revision: 1.74 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-01-28 01:12:14 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 206 206 int x, ///< x-position 207 207 int y, ///< y-position 208 complex value///< specified value to set208 double complex value ///< specified value to set 209 209 ); 210 210 … … 213 213 * A negative value for the x or y positions means index from the end. 214 214 * 215 * @return complex: The value at the specified x,y position.216 */ 217 complex psImageGet(215 * @return complex: The value at the specified x,y position. 216 */ 217 double complex psImageGet( 218 218 const psImage *image, ///< the image from which to get 219 219 int x, ///< x-position … … 272 272 /** Interpolate image pixel value given floating point coordinates. 273 273 * 274 * @return psF32Pixel value interpolated from image or unexposedValue if274 * @return complex Pixel value interpolated from image or unexposedValue if 275 275 * given x,y doesn't coorespond to a valid image location 276 276 */ 277 complex psImagePixelInterpolate(277 double complex psImagePixelInterpolate( 278 278 const psImage* input, ///< input image for interpolation 279 279 float x, ///< column location to derive value of … … 281 281 const psImage* mask, ///< if not NULL, the mask of the input image 282 282 psMaskType maskVal, ///< the mask value 283 complex unexposedValue, ///< return value if x,y location is not in image.283 double complex unexposedValue, ///< return value if x,y location is not in image. 284 284 psImageInterpolateMode mode ///< interpolation mode 285 285 ); -
trunk/psLib/src/mathtypes/psScalar.c
r4935 r6227 8 8 * @author Ross Harman, MHPCC 9 9 * 10 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $11 * @date $Date: 200 5-08-31 22:00:10$10 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-28 01:12:14 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 27 27 } 28 28 29 psScalar* psScalarAlloc( complex value, psElemType type)29 psScalar* psScalarAlloc(double complex value, psElemType type) 30 30 { 31 31 psScalar* scalar = NULL; -
trunk/psLib/src/mathtypes/psScalar.h
r5057 r6227 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 19$ $Name: not supported by cvs2svn $14 * @date $Date: 200 5-09-15 21:22:22$13 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-01-28 01:12:14 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 66 66 */ 67 67 psScalar* psScalarAlloc( 68 complex value,///< Data to be put into psScalar.68 double complex value, ///< Data to be put into psScalar. 69 69 psElemType type ///< Type of data to be held by psScalar. 70 70 ); -
trunk/psLib/src/mathtypes/psVector.c
r5841 r6227 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.6 3$ $Name: not supported by cvs2svn $12 * @date $Date: 200 5-12-24 00:33:18$11 * @version $Revision: 1.64 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-01-28 01:12:14 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 818 818 bool psVectorSet(const psVector *input, 819 819 long position, 820 complex value)820 double complex value) 821 821 { 822 822 if (input == NULL) { … … 890 890 } 891 891 892 complex psVectorGet(const psVector *input,893 long position)892 double complex psVectorGet(const psVector *input, 893 long position) 894 894 { 895 895 if (input == NULL) { -
trunk/psLib/src/mathtypes/psVector.h
r5530 r6227 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.5 0$ $Name: not supported by cvs2svn $14 * @date $Date: 200 5-11-16 23:06:21$13 * @version $Revision: 1.51 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-01-28 01:12:14 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 235 235 const psVector *input, ///< Input vector to set 236 236 long position, ///< vector position 237 complex value///< value to set237 double complex value ///< value to set 238 238 ); 239 239 … … 244 244 * @return complex: Value of the input vector at the specified position. 245 245 */ 246 complex psVectorGet(246 double complex psVectorGet( 247 247 const psVector *input, ///< Input vector from which to get value 248 248 long position ///< vector position
Note:
See TracChangeset
for help on using the changeset viewer.
