IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 17, 2005, 9:04:33 AM (21 years ago)
Author:
eugene
Message:

problems with psLib:psImageCountPixelMask, resort to internal version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/pmObjects_EAM.c

    r5350 r5351  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-10-17 18:07:54 $
     8 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-10-17 19:04:33 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    999999    int Ncr      = 0;
    10001000    int Nsatstar = 0;
    1001     psRegion allArray = {0, 0, 0, 0};
     1001    // psRegion allArray;
    10021002
    10031003    psVector *starsn = psVectorAlloc (sources->n, PS_TYPE_F32);
     
    10311031
    10321032        // XXX EAM : can we use the value of SATURATE if mask is NULL?
    1033         int Nsatpix = psImageCountPixelMask (tmpSrc->mask, allArray, PSPHOT_MASK_SATURATED);
     1033        // XXX EAM *** serious errors in psImageCountPixelMask: inconsistent with psRegion and subimage
     1034        // allArray = psRegionSet (1, tmpSrc->mask->numCols, 1, tmpSrc->mask->numRows);
     1035        // int Nsatpix = psImageCountPixelMask (tmpSrc->mask, allArray, PSPHOT_MASK_SATURATED);
     1036        int Nsatpix = psImageCountPixelMask_EAM (tmpSrc->mask, PSPHOT_MASK_SATURATED);
    10341037
    10351038        // saturated star (size consistent with PSF or larger)
Note: See TracChangeset for help on using the changeset viewer.