IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 16, 2008, 3:38:20 PM (18 years ago)
Author:
Paul Price
Message:

Adding separable version of psImageConvolveMask. Mask convolution should go a lot faster than it currently is, and hopefully this will do it.

File:
1 edited

Legend:

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

    r17320 r17726  
    55 * @author Robert DeSonia, MHPCC
    66 *
    7  * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-04-04 22:44:56 $
     7 * @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-05-17 01:38:20 $
    99 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1010 */
     
    141141);
    142142
     143/// Convolve a mask image with a kernel
     144///
     145/// Returns a mask, grown by the supplied convolution bounds.  Only those pixels specified by the maskVal are
     146/// grown, being ORed with setVal; the rest are simply propagated.  If setVal is zero, uses maskVal; note that
     147/// the mode of growing individual bits in maskVal is NOT supported because this algorithm does not enable it.
     148psImage *psImageConvolveMask(psImage *out, ///< Output image, or NULL
     149                             const psImage *mask, ///< Mask to convolve
     150                             psMaskType maskVal, ///< Mask value to convolve
     151                             psMaskType setVal, ///< Mask value to set; 0 to propagate maskVal
     152                             int xMin, int xMax, int yMin, int yMax ///< Convolution bounds
     153    );
     154
    143155/// Convolve a mask image with a kernel, using direct convolution
    144156///
Note: See TracChangeset for help on using the changeset viewer.