Changeset 12431 for trunk/psLib/src/imageops/psImageGeomManip.h
- Timestamp:
- Mar 13, 2007, 2:39:51 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageGeomManip.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageGeomManip.h
r11248 r12431 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-23 22:47:23$8 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-14 00:39:50 $ 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 11 11 */ … … 27 27 * specified the number of pixels used to define a new pixel in the output image. 28 28 * The output image is generated from all input image pixels. This function is 29 * defined for psU8, psS8, psS16, psF32, psF64 , psC32, and psC64.29 * defined for psU8, psS8, psS16, psF32, psF64. 30 30 * 31 31 * @return psImage new image formed by rebinning input image. … … 65 65 * center pixel of the image. The rotation is specified in the sense that a 66 66 * positive angle is an anti-clockwise rotation. This function must be 67 * defined for the following types: psU8, psU16, psS8, psS16, psF32, psF64, 68 * psC32, psC64. 67 * defined for the following types: psU8, psU16, psS8, psS16, psF32, psF64. 69 68 * 70 69 * @return psImage* the rotated image result. … … 74 73 const psImage* input, ///< input image 75 74 float angle, ///< the rotation angle in radians. 76 double complex exposed,///< the output image pixel values for non-imagery areas75 double exposed, ///< the output image pixel values for non-imagery areas 77 76 psImageInterpolateMode mode ///< the interpolation mode used 78 77 ); … … 85 84 * output image are lost. Newly exposed pixels are set to the value given by 86 85 * exposed. This function must be defined for the following types: psU8, 87 * psU16, psS8, psS16, psF32, psF64 , psC32, psC64.86 * psU16, psS8, psS16, psF32, psF64. 88 87 * 89 88 * @return psImage* the shifted image result. … … 94 93 float dx, ///< the shift in x direction. 95 94 float dy, ///< the shift in y direction. 96 double complex exposed,///< the output image pixel values for non-imagery areas95 double exposed, ///< the output image pixel values for non-imagery areas 97 96 psImageInterpolateMode mode ///< the interpolation mode to use 98 97 ); … … 105 104 * output image are lost. Newly exposed pixels are set to the value given by 106 105 * exposed. This function must be defined for the following types: psU8, 107 * psU16, psS8, psS16, psF32, psF64 , psC32, psC64.106 * psU16, psS8, psS16, psF32, psF64. 108 107 * 109 108 * This implementation uses a NxN kernel generated based on the interpolation method 110 109 * the image is first shifted by a fractional amount with the kernel, then 111 * shifted in place by an integer amount. 110 * shifted in place by an integer amount. 112 111 * 113 112 * XXX the integer shift portion is not implemented … … 136 135 * The output image is the same dimensions as the input image. Edge pixels 137 136 * wrap to the other side (no values are lost). This function is 138 * defined for psU8, psS8, psS16, psF32, psF64 , psC32, and psC64.137 * defined for psU8, psS8, psS16, psF32, psF64. 139 138 * 140 139 * @return psImage* the rolled version of the input image. … … 169 168 * return to the user. This function must be capable of handling the following 170 169 * types for the input (with corresponding types for the output): psF32, psF64. 171 170 172 171 * 173 172 * @return psImage* The transformed image.
Note:
See TracChangeset
for help on using the changeset viewer.
