IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2008, 6:16:53 PM (18 years ago)
Author:
Paul Price
Message:

Whoops, wrong one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmFootprintArrayGrow.c

    r20139 r20140  
    33 * @author RHL, Princeton & IfA; EAM, IfA
    44 *
    5  * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-10-14 04:16:12 $
     5 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2008-10-14 04:16:53 $
    77 * Copyright 2006 Institute for Astronomy, University of Hawaii
    88 */
     
    4646    psImage *idImageMask = psImageCopy(NULL, idImage, PS_TYPE_MASK); // Image with 1 = object
    4747    psFree(idImage);
    48     psImage *grownIdImage = psImageConvolveMask(NULL, grownIdImage, 0x01, 0x01, -r, r, -r, r); // Grown mask
     48    psImage *grownIdImage = psImageConvolveMask(NULL, idImageMask, 0x01, 0x01, -r, r, -r, r); // Grown mask
    4949    if (!grownIdImage) {
    5050        psError(PS_ERR_UNKNOWN, false, "Unable to grow mask.");
     
    5353        return NULL;
    5454    }
    55     psFree(idImage);
     55    psFree(idImageMask);
    5656#else
    5757    if (r <= 0) {
Note: See TracChangeset for help on using the changeset viewer.