Changeset 3476 for trunk/psLib/src/image/psImageManip.c
- Timestamp:
- Mar 22, 2005, 11:52:49 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageManip.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageManip.c
r3446 r3476 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.3 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-03- 18 02:35:14$12 * @version $Revision: 1.38 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-03-22 21:52:49 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 27 27 #include "psConstants.h" 28 28 #include "psImageErrors.h" 29 #include "psCoord.h" 29 30 30 31 psS32 psImageClip(psImage* input, … … 1034 1035 break; 1035 1036 1036 1037 1037 switch (mode) { 1038 1038 PSIMAGE_SHIFT_ARBITRARY_CASE(FLAT); … … 1049 1049 return out; 1050 1050 } 1051 1052 1053 // XXX: implementation is awaiting working psPlaneTransform functions like 1054 // invert. Also, the next SDRS should have a different signature. 1055 psImage* psImageTransform(psImage *output, 1056 const psImage *input, 1057 const psImage *inputMask, 1058 int inputMaskVal, 1059 const psPlaneTransform *outToIn, 1060 const psImage *combineMask, 1061 int combineMaskVal) 1062 { 1063 if (input == NULL) { 1064 psError(PS_ERR_BAD_PARAMETER_NULL, true, 1065 PS_ERRORTEXT_psImage_IMAGE_NULL); 1066 return NULL; 1067 } 1068 1069 if (outToIn == NULL) { 1070 psError(PS_ERR_BAD_PARAMETER_NULL, true, 1071 PS_ERRORTEXT_psImageManip_TRANSFORM_NULL); 1072 return NULL; 1073 } 1074 1075 // find the input image domain in the output image 1076 1077 // loop through the output image using the domain above and transform 1078 // each output pixel to input coordinates and use psImagePixelInterpolate 1079 // to determine the pixel value. 1080 1081 1082 return NULL; 1083 }
Note:
See TracChangeset
for help on using the changeset viewer.
