IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2006, 8:01:05 AM (20 years ago)
Author:
magnier
Message:

updates relative to rel10_ifa_1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.h

    r5516 r6872  
     1//////////////////////////////////////////////////////////////////////////////////////////////////////////////
     2// XXX WARNING: I have completely replaced this file with an OLD VERSION (that works) instead of the
     3// one that was being worked on.
     4//////////////////////////////////////////////////////////////////////////////////////////////////////////////
     5
    16/** @file  pmMaskBadPixels.h
    27 *
     
    1924 *  @author Ross Harman, MHPCC
    2025 *
    21  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    22  *  @date $Date: 2005-11-15 20:09:03 $
     26 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     27 *  @date $Date: 2006-04-17 18:01:05 $
    2328 *
    2429 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2631
    2732#include "pslib.h"
    28 #include "pmAstrometry.h"
     33#include "pmFPA.h"
    2934
    3035/** Mask values */
     
    3338    PM_MASK_BADCOL  = 0x0002,   ///< The pixel is a bad column.
    3439    PM_MASK_SAT     = 0x0004,   ///< The pixel is saturated.
    35     PM_MASK_FLAT    = 0x0008    ///< The pixel is non-positive in the flat-field.
     40    PM_MASK_BAD     = 0x0008,   ///< The pixel is low
     41    PM_MASK_FLAT    = 0x0010    ///< The pixel is non-positive in the flat-field.
    3642} pmMaskValue;
    3743
    38 // XXX: Use PS_MIN, PS_MAX
    3944/** Macro to find maximum of two numbers */
    4045#define MAX(A,B)((A)>=(B)?(A):(B))
     
    5459bool pmMaskBadPixels(
    5560    pmReadout *in,          ///< Readout containing input image data.
    56     const pmReadout *mask,   ///< Mask data to be added to readout mask data.
     61    const psImage *mask,    ///< Mask data to be added to readout mask data.
    5762    unsigned int maskVal,   ///< Mask value to determine what to add to input mask.
    5863    float sat,              ///< Saturation limit to mask bad pixels.
Note: See TracChangeset for help on using the changeset viewer.