Changeset 12431 for trunk/psLib/src/imageops/psImagePixelManip.h
- Timestamp:
- Mar 13, 2007, 2:39:51 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImagePixelManip.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImagePixelManip.h
r11248 r12431 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-23 22:47:23$7 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-14 00:39:50 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 * All pixels with values less than min are set to the value vmin. all pixels 27 27 * with values greater than max are set to the value vmax. This function is 28 * defined for psU8, psU16, psS8, psS16, psF32, psF64 , psC32, and psC64.28 * defined for psU8, psU16, psS8, psS16, psF32, psF64. 29 29 * 30 30 * @return int The number of clipped pixels … … 38 38 ); 39 39 40 /** Clip image values outside of a specified complex region41 *42 * All pixels outside of the rectangular region in complex space formed by43 * the min and max input parameters are set to the value vmax (if either44 * the real or imaginary portion exceeds the respective max values), or vmin.45 * This function is defined for psC32, and psC64 imagery only.46 *47 * @return int The number of clipped pixels48 */49 int psImageClipComplexRegion(50 psImage* input, ///< the image to clip51 double complex min, ///< the minimum image value allowed52 double complex vmin, ///< the value pixels < min are set to53 double complex max, ///< the maximum image value allowed54 double complex vmax ///< the value pixels > max are set to55 );56 57 40 /** Clip NaN image pixels to given value. 58 41 * 59 42 * Pixels with NaN, +Inf, or -Inf values are set to the specified value. This 60 * function is defined for psF32, psF64 , psC32, and psC64.43 * function is defined for psF32, psF64. 61 44 * 62 45 * @return int The number of clipped pixels … … 74 57 * OVERLAY value to image value), "-" (subtract OVERLAY from image), "*" 75 58 * (multiply OVERLAY times image), "/" (divide image by OVERLAY). This 76 * function is defined for psU8, psS8, psS16, psF32, psF64 , psC32, and psC64.59 * function is defined for psU8, psS8, psS16, psF32, psF64. 77 60 * 78 61 * @return int 0 if success, non-zero if failed.
Note:
See TracChangeset
for help on using the changeset viewer.
