Changeset 6872 for trunk/psModules/src/detrend/pmMaskBadPixels.h
- Timestamp:
- Apr 17, 2006, 8:01:05 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmMaskBadPixels.h (modified) (5 diffs)
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 1 6 /** @file pmMaskBadPixels.h 2 7 * … … 19 24 * @author Ross Harman, MHPCC 20 25 * 21 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $22 * @date $Date: 200 5-11-15 20:09:03$26 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 27 * @date $Date: 2006-04-17 18:01:05 $ 23 28 * 24 29 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 26 31 27 32 #include "pslib.h" 28 #include "pm Astrometry.h"33 #include "pmFPA.h" 29 34 30 35 /** Mask values */ … … 33 38 PM_MASK_BADCOL = 0x0002, ///< The pixel is a bad column. 34 39 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. 36 42 } pmMaskValue; 37 43 38 // XXX: Use PS_MIN, PS_MAX39 44 /** Macro to find maximum of two numbers */ 40 45 #define MAX(A,B)((A)>=(B)?(A):(B)) … … 54 59 bool pmMaskBadPixels( 55 60 pmReadout *in, ///< Readout containing input image data. 56 const p mReadout *mask,///< Mask data to be added to readout mask data.61 const psImage *mask, ///< Mask data to be added to readout mask data. 57 62 unsigned int maskVal, ///< Mask value to determine what to add to input mask. 58 63 float sat, ///< Saturation limit to mask bad pixels.
Note:
See TracChangeset
for help on using the changeset viewer.
