Changeset 1251 for trunk/psLib/src/image/psImageStats.h
- Timestamp:
- Jul 21, 2004, 1:39:48 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageStats.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageStats.h
r1079 r1251 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-0 6-24 02:39:34$12 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-07-21 23:39:48 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 20 20 21 #include "psType.h" 21 22 #include "psVector.h" 22 23 #include "psImage.h" 23 24 #include "psStats.h" 24 25 #include "psFunctions.h" 26 27 typedef enum { 28 PS_INTERPOLATE_FLAT, 29 PS_INTERPOLATE_BILINEAR 30 } psImageInterpolateMode; 25 31 26 32 /// This routine must determine the various statistics for the image. … … 48 54 ); 49 55 50 float psImagePixelInterpolation(psImage *input, 51 float x, 52 float y); 56 57 58 psF32 psImagePixelInterpolate( 59 const psImage *input, 60 float x, 61 float y, 62 psF32 unexposedValue, 63 psImageInterpolateMode mode 64 ); 65 66 #define p_psImagePixelInterpolateFcns(TYPE) \ 67 inline psF64 p_psImagePixelInterpolateFLAT_##TYPE( \ 68 const psImage *input, \ 69 float x, \ 70 float y, \ 71 psF64 unexposedValue \ 72 ); \ 73 inline psF64 p_psImagePixelInterpolateBILINEAR_##TYPE( \ 74 const psImage *input, \ 75 float x, \ 76 float y, \ 77 psF64 unexposedValue \ 78 ); \ 79 80 p_psImagePixelInterpolateFcns(U8) 81 p_psImagePixelInterpolateFcns(U16) 82 p_psImagePixelInterpolateFcns(U32) 83 p_psImagePixelInterpolateFcns(U64) 84 p_psImagePixelInterpolateFcns(S8) 85 p_psImagePixelInterpolateFcns(S16) 86 p_psImagePixelInterpolateFcns(S32) 87 p_psImagePixelInterpolateFcns(S64) 88 p_psImagePixelInterpolateFcns(F32) 89 p_psImagePixelInterpolateFcns(F64) 90 53 91 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
