Changeset 2204 for trunk/psLib/src/image/psImage.h
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImage.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.h
r2105 r2204 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.4 1$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-10- 14 01:22:59$13 * @version $Revision: 1.42 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-27 00:57:31 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 47 47 { 48 48 const psType type; ///< Image data type and dimension. 49 const unsigned intnumCols; ///< Number of columns in image50 const unsigned intnumRows; ///< Number of rows in image.51 const intcol0; ///< Column position relative to parent.52 const introw0; ///< Row position relative to parent.49 const psU32 numCols; ///< Number of columns in image 50 const psU32 numRows; ///< Number of rows in image. 51 const psS32 col0; ///< Column position relative to parent. 52 const psS32 row0; ///< Row position relative to parent. 53 53 54 54 union { … … 65 65 psC32** C32; ///< Single-precision complex data. 66 66 psC64** C64; ///< Double-precision complex data. 67 psP TR** PTR; ///< Void pointers.68 psP TR* V; ///< Pointer to data.67 psPtr** PTR; ///< Void pointers. 68 psPtr* V; ///< Pointer to data. 69 69 } data; ///< Union for data types. 70 70 const struct psImage* parent; ///< Parent, if a subimage. 71 71 psArray* children; ///< Children of this region. 72 72 73 void*rawDataBuffer;73 psPtr rawDataBuffer; 74 74 } 75 75 psImage; … … 84 84 */ 85 85 psImage* psImageAlloc( 86 unsigned intnumCols, ///< Number of rows in image.87 unsigned intnumRows, ///< Number of columns in image.86 psU32 numCols, ///< Number of rows in image. 87 psU32 numRows, ///< Number of columns in image. 88 88 const psElemType type ///< Type of data for image. 89 89 ); … … 96 96 psImage* psImageRecycle( 97 97 psImage* old, ///< the psImage to recycle by resizing image buffer 98 unsigned intnumCols, ///< the desired number of columns in image99 unsigned intnumRows, ///< the desired number of rows in image98 psU32 numCols, ///< the desired number of columns in image 99 psU32 numRows, ///< the desired number of rows in image 100 100 const psElemType type ///< the desired datatype of the image 101 101 ); … … 115 115 /** Frees all children of a psImage. 116 116 * 117 * @return intNumber of children freed.117 * @return psS32 Number of children freed. 118 118 * 119 119 */ 120 intpsImageFreeChildren(120 psS32 psImageFreeChildren( 121 121 psImage* image ///< psImage in which all children shall be deallocated 122 122 ); … … 132 132 float y, ///< row location ot derive value of 133 133 const psImage* mask, ///< if not NULL, the mask of the input image 134 unsigned intmaskVal, ///< the mask value134 psU32 maskVal, ///< the mask value 135 135 psC64 unexposedValue, ///< return value if x,y location is not in image. 136 136 psImageInterpolateMode mode ///< interpolation mode … … 143 143 float y, /**< row location ot derive value of */ \ 144 144 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 145 unsigned intmaskVal, /**< the mask value */ \145 psU32 maskVal, /**< the mask value */ \ 146 146 psF64 unexposedValue /**< return value if x,y location is not in image. */ \ 147 147 ); \ … … 151 151 float y, /**< row location ot derive value of */ \ 152 152 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 153 unsigned intmaskVal, /**< the mask value */ \153 psU32 maskVal, /**< the mask value */ \ 154 154 psF64 unexposedValue /**< return value if x,y location is not in image. */ \ 155 155 ); … … 161 161 float y, /**< row location ot derive value of */ \ 162 162 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 163 unsigned intmaskVal, /**< the mask value */ \163 psU32 maskVal, /**< the mask value */ \ 164 164 psC64 unexposedValue /**< return value if x,y location is not in image. */ \ 165 165 ); \ … … 169 169 float y, /**< row location ot derive value of */ \ 170 170 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 171 unsigned intmaskVal, /**< the mask value */ \171 psU32 maskVal, /**< the mask value */ \ 172 172 psC64 unexposedValue /**< return value if x,y location is not in image. */ \ 173 173 );
Note:
See TracChangeset
for help on using the changeset viewer.
