IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2008, 1:03:42 PM (18 years ago)
Author:
Paul Price
Message:

Fixing API to psImageConvolveFFT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r17297 r17321  
    44 *  @author GLG, MHPCC
    55 *
    6  *  @version $Revision: 1.83 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2008-04-03 01:57:59 $
     6 *  @version $Revision: 1.84 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2008-04-04 23:03:42 $
    88 *
    99 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    210210    psImage *subImage = psImageSubset((psImage*)image, border); // Subimage to convolve
    211211    psImage *subMask = mask ? psImageSubset((psImage*)mask, border) : NULL; // Subimage mask
    212     psImage *convolved = psImageConvolveFFT(subImage, subMask, maskVal, kernel, 0.0); // Convolution
     212    psImage *convolved = psImageConvolveFFT(NULL, subImage, subMask, maskVal, kernel); // Convolution
    213213    psFree(subImage);
    214214    psFree(subMask);
     
    302302    PS_ASSERT_KERNEL_NON_NULL(kernel, NULL);
    303303
    304     psImage *conv = psImageConvolveFFT(image->image, NULL, 0, kernel, 0.0); // Convolved image
     304    psImage *conv = psImageConvolveFFT(NULL, image->image, NULL, 0, kernel); // Convolved image
    305305    int x0 = - image->xMin, y0 = - image->yMin; // Position of centre of convolved image
    306306    psKernel *convolved = psKernelAllocFromImage(conv, x0, y0); // Kernel version
Note: See TracChangeset for help on using the changeset viewer.