Changeset 1205 for trunk/psLib/src/image/psImage.h
- Timestamp:
- Jul 9, 2004, 11:48:07 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImage.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.h
r1073 r1205 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-0 6-23 23:00:15$13 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-07-09 21:48:07 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 137 137 ); 138 138 139 /** Clip image values outside of tange to given values140 *141 * All pixels with values less than min are set to the value vmin. all pixels142 * with values greater than max are set to the value vmax. This function is143 * defined for psU8, psU16, psS8, psS16, psF32, psF64, psC32, and psC64.144 *145 * @return int The number of clipped pixels146 */147 int psImageClip(148 psImage* input, ///< the image to clip149 psF32 min, ///< the minimum image value allowed150 psF32 vmin, ///< the value pixels < min are set to151 psF32 max, ///< the maximum image value allowed152 psF32 vmax ///< the value pixels > max are set to153 );154 155 /** Clip NaN image pixels to given value.156 *157 * Pixels with NaN, +Inf, or -Inf values are set to the specified value. This158 * function is defined for psF32, psF64, psC32, and psC64.159 *160 * @return int The number of clipped pixels161 */162 int psImageClipNaN(163 psImage* input, ///< the image to clip164 psF32 value ///< the value to set all NaN/Inf values to165 );166 167 /** Overlay subregion of image with another image168 *169 * Replace the pixels in the image which correspond to the pixels in OVERLAY170 * with values derived from the IMAGE and OVERLAY based on the given operator171 * OP. Valid operators are "=" (set image value to OVERLAY value), "+" (add172 * OVERLAY value to image value), "-" (subtract OVERLAY from image), "*"173 * (multiply OVERLAY times image), "/" (divide image by OVERLAY). This174 * function is defined for psU8, psS8, psS16, psF32, psF64, psC32, and psC64.175 *176 * @return int 0 if success, non-zero if failed.177 */178 int psImageOverlaySection(179 psImage* image, ///< target image180 const psImage* overlay, ///< the overlay image181 int col0, ///< the column to start overlay182 int row0, ///< the row to start overlay183 const char* op ///< the operation to perform for overlay184 );185 186 139 /// @} 187 140
Note:
See TracChangeset
for help on using the changeset viewer.
