IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 3, 2008, 4:37:51 PM (18 years ago)
Author:
Paul Price
Message:

Adding psImageSmoothMask: a faster version of psImageSmoothMaskF32 (by about 30% when running optimised on ipp002).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageConvolve.h

    r19023 r19895  
    55 * @author Robert DeSonia, MHPCC
    66 *
    7  * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-08-12 03:32:56 $
     7 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-10-04 02:37:51 $
    99 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1010 */
     
    193193);
    194194
     195/// Smooth an image by parts using 1D Gaussian independently in x and y, allowing for masked pixels
     196///
     197/// Applies a circularly symmetric Gaussian smoothing first in x and then in y
     198/// directions with just a vector.  This process is 2N faster than 2D convolutions (in general).
     199psImage *psImageSmoothMask(
     200    psImage *output,                    ///< Output image, or NULL
     201    const psImage *image,               ///< Input image (F32 or F64)
     202    const psImage *mask,                ///< Mask image
     203    psMaskType maskVal,                 ///< Mask value
     204    double sigma,                       ///< Width of the smoothing kernel (pixels)
     205    double numSigma                     ///< Size of the smoothing box (sigma)
     206    );
     207
     208
    195209bool psImageSmoothMaskF32(
    196210    psImage *image,                    ///< the image to be smoothed
Note: See TracChangeset for help on using the changeset viewer.