IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2007, 10:49:51 AM (19 years ago)
Author:
Paul Price
Message:

Adding mask to psImageConvolveFFT, so that masked pixels may be set to the nominated value. This is especially important in removing NaNs in the image being convolved.

File:
1 edited

Legend:

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

    r14762 r14866  
    55 * @author Robert DeSonia, MHPCC
    66 *
    7  * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-09-05 23:52:11 $
     7 * @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-09-17 20:49:51 $
    99 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1010 */
     
    136136///
    137137psImage *psImageConvolveDirect(
    138     psImage *out,                       ///< return output to here
    139     const psImage *in,                  ///< the psImage to convolve
     138    psImage *out,                       ///< Output image, or NULL
     139    const psImage *in,                  ///< Image to convolve
    140140    const psKernel *kernel              ///< kernel to colvolve with
    141141);
     
    146146/// are suitably padded to avoid wrap-around effects.
    147147psImage *psImageConvolveFFT(
    148     const psImage *in,                  ///< the psImage to convolve
     148    const psImage *in,                  ///< Image to convolve
     149    const psImage *mask,                ///< Corresponding mask
     150    psMaskType maskVal,                 ///< Value to mask
    149151    const psKernel *kernel,             ///< kernel to colvolve with
    150152    float pad                           ///< Value to use to pad the input image
     
    155157/// Returns a mask, grown by the supplied kernel.  Only those pixels specified by the maskVal are grown; the
    156158/// rest are simply propagated.
    157 psImage *psImageConvolveMask(const psImage *mask, psMaskType maskVal, const psKernel *kernel);
     159psImage *psImageConvolveMask(const psImage *mask, ///< Mask to convolve
     160                             psMaskType maskVal, ///< Mask value to convolve
     161                             const psKernel *kernel ///< Kernel by which to convolve
     162    );
    158163
    159164
Note: See TracChangeset for help on using the changeset viewer.