IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6944


Ignore:
Timestamp:
Apr 21, 2006, 11:29:01 AM (20 years ago)
Author:
magnier
Message:

rationalize region before counting masked pixels

File:
1 edited

Legend:

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

    r6905 r6944  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-04-19 20:29:57 $
     8 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-04-21 21:29:01 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    355355        // inner = psRegionForSquare (tmpSrc->peak->x - tmpSrc->mask->col0, tmpSrc->peak->y - tmpSrc->mask->row0, 2);
    356356        inner = psRegionForSquare (tmpSrc->peak->x, tmpSrc->peak->y, 2);
     357        inner = psRegionForImage (tmpSrc->mask, inner);
    357358        int Nsatpix = psImageCountPixelMask (tmpSrc->mask, inner, PM_MASK_SAT);
    358359
Note: See TracChangeset for help on using the changeset viewer.