Changeset 1897 for trunk/psLib/src/image/psImage.h
- Timestamp:
- Sep 24, 2004, 4:06:12 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImage.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.h
r1839 r1897 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-09-2 1 19:51:41$13 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-09-25 02:06:12 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 118 118 float x, ///< column location to derive value of 119 119 float y, ///< row location ot derive value of 120 const psImage* mask, ///< if not NULL, the mask of the input image 121 unsigned int maskVal, ///< the mask value 120 122 psC64 unexposedValue, ///< return value if x,y location is not in image. 121 123 psImageInterpolateMode mode ///< interpolation mode … … 124 126 #define p_psImagePixelInterpolateFcns(TYPE) \ 125 127 inline psF64 p_psImagePixelInterpolateFLAT_##TYPE( \ 126 const psImage* input, \ 127 float x, \ 128 float y, \ 129 psF64 unexposedValue \ 128 const psImage* input, /**< input image for interpolation */ \ 129 float x, /**< column location to derive value of */ \ 130 float y, /**< row location ot derive value of */ \ 131 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 132 unsigned int maskVal, /**< the mask value */ \ 133 psF64 unexposedValue /**< return value if x,y location is not in image. */ \ 130 134 ); \ 131 135 inline psF64 p_psImagePixelInterpolateBILINEAR_##TYPE( \ 132 const psImage* input, \ 133 float x, \ 134 float y, \ 135 psF64 unexposedValue \ 136 const psImage* input, /**< input image for interpolation */ \ 137 float x, /**< column location to derive value of */ \ 138 float y, /**< row location ot derive value of */ \ 139 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 140 unsigned int maskVal, /**< the mask value */ \ 141 psF64 unexposedValue /**< return value if x,y location is not in image. */ \ 136 142 ); 137 143 138 144 #define p_psImagePixelInterpolateComplexFcns(TYPE) \ 139 145 inline psC64 p_psImagePixelInterpolateFLAT_##TYPE( \ 140 const psImage* input, \ 141 float x, \ 142 float y, \ 143 psC64 unexposedValue \ 146 const psImage* input, /**< input image for interpolation */ \ 147 float x, /**< column location to derive value of */ \ 148 float y, /**< row location ot derive value of */ \ 149 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 150 unsigned int maskVal, /**< the mask value */ \ 151 psC64 unexposedValue /**< return value if x,y location is not in image. */ \ 144 152 ); \ 145 153 inline psC64 p_psImagePixelInterpolateBILINEAR_##TYPE( \ 146 const psImage* input, \ 147 float x, \ 148 float y, \ 149 psC64 unexposedValue \ 154 const psImage* input, /**< input image for interpolation */ \ 155 float x, /**< column location to derive value of */ \ 156 float y, /**< row location ot derive value of */ \ 157 const psImage* mask, /**< if not NULL, the mask of the input image */ \ 158 unsigned int maskVal, /**< the mask value */ \ 159 psC64 unexposedValue /**< return value if x,y location is not in image. */ \ 150 160 ); 151 161 … … 162 172 p_psImagePixelInterpolateComplexFcns(C32) 163 173 p_psImagePixelInterpolateComplexFcns(C64) 174 164 175 /// @} 176 165 177 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
