- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psLib/src/imageops/psImageConvolve.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/psLib/src/imageops/psImageConvolve.h
r24272 r27840 138 138 ); 139 139 140 /// Truncate a kernel 141 /// 142 /// Truncates the outer parts of the kernel where the contribution is below the nominated fraction of the 143 /// total kernel. 144 bool psKernelTruncate( 145 psKernel *in, ///< Kernel to be truncated 146 float frac ///< Fraction for truncation threshold 147 ); 148 149 140 150 /// Convolve an image with a kernel, using a direct convolution 141 151 /// … … 222 232 ); 223 233 234 /// Smooth particular pixels on an image, allowing for masked pixels 235 /// 236 /// Applies a circularly symmetric Gaussian smoothing first in x and then in y 237 /// directions with just a vector. This process is 2N faster than 2D convolutions (in general). 238 psVector *psImageSmoothMaskPixels( 239 const psImage *image, ///< Input image (F32) 240 const psImage *mask, ///< Mask image 241 psImageMaskType maskVal, ///< Value to mask 242 const psVector *x, ///< x coordinates 243 const psVector *y, ///< y coordinates 244 float sigma, ///< Width of the smoothing kernel (pixels) 245 float numSigma, ///< Size of the smoothing box (sigma) 246 float minGauss ///< Minimum fraction of Gaussian to accept 247 ); 224 248 225 249 psImage *psImageSmoothMask_Threaded(psImage *output,
Note:
See TracChangeset
for help on using the changeset viewer.
