IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6267


Ignore:
Timestamp:
Jan 31, 2006, 10:09:52 AM (20 years ago)
Author:
magnier
Message:

mask was using F32 not U8 elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmFPA.c

    r6145 r6267  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.1.2.5 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-01-22 03:23:32 $
     14*  @version $Revision: 1.1.2.6 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-01-31 20:09:52 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    605605            for (int j = 0; j < image->numCols; j++) {
    606606                if (image->data.F32[i][j] > saturation) {
    607                     mask->data.F32[i][j] = PM_MASK_SAT;
     607                    mask->data.U8[i][j] = PM_MASK_SAT;
    608608                }
    609609                if (image->data.F32[i][j] < bad) {
    610                     mask->data.F32[i][j] = PM_MASK_BAD;
     610                    mask->data.U8[i][j] = PM_MASK_BAD;
    611611                }
    612612            }
Note: See TracChangeset for help on using the changeset viewer.