- Timestamp:
- Jan 17, 2009, 10:35:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psModules/src/objects/pmFootprintArrayGrow.c
r20937 r21134 3 3 * @author RHL, Princeton & IfA; EAM, IfA 4 4 * 5 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $6 * @date $Date: 200 8-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 $ 7 7 * Copyright 2006 Institute for Astronomy, University of Hawaii 8 8 */ … … 45 45 // Use a separable convolution: should be faster 46 46 idImage = (psImage*)psBinaryOp(idImage, idImage, "MIN", psScalarAlloc(1, PS_TYPE_S32)); 47 psImage *idImageMask = psImageCopy(NULL, idImage, PS_TYPE_ MASK); // Image with 1 = object47 psImage *idImageMask = psImageCopy(NULL, idImage, PS_TYPE_IMAGE_MASK); // Image with 1 = object 48 48 psImage *grownIdImage = psImageConvolveMask(NULL, idImageMask, 0x01, 0x01, -r, r, -r, r); // Grown mask 49 49 if (!grownIdImage) {
Note:
See TracChangeset
for help on using the changeset viewer.
