IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21134


Ignore:
Timestamp:
Jan 17, 2009, 10:35:16 AM (17 years ago)
Author:
eugene
Message:

change mask to image mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081230/psModules/src/objects/pmFootprintArrayGrow.c

    r20937 r21134  
    33 * @author RHL, Princeton & IfA; EAM, IfA
    44 *
    5  * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-12-08 02:51:14 $
     5 * @version $Revision: 1.11.4.1 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2009-01-17 20:35:16 $
    77 * Copyright 2006 Institute for Astronomy, University of Hawaii
    88 */
     
    4545    // Use a separable convolution: should be faster
    4646    idImage = (psImage*)psBinaryOp(idImage, idImage, "MIN", psScalarAlloc(1, PS_TYPE_S32));
    47     psImage *idImageMask = psImageCopy(NULL, idImage, PS_TYPE_MASK); // Image with 1 = object
     47    psImage *idImageMask = psImageCopy(NULL, idImage, PS_TYPE_IMAGE_MASK); // Image with 1 = object
    4848    psImage *grownIdImage = psImageConvolveMask(NULL, idImageMask, 0x01, 0x01, -r, r, -r, r); // Grown mask
    4949    if (!grownIdImage) {
Note: See TracChangeset for help on using the changeset viewer.