Changeset 5543 for trunk/psModules/src/detrend
- Timestamp:
- Nov 18, 2005, 9:43:14 AM (21 years ago)
- Location:
- trunk/psModules/src/detrend
- Files:
-
- 3 edited
-
pmFlatField.c (modified) (2 diffs)
-
pmMaskBadPixels.c (modified) (3 diffs)
-
pmNonLinear.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmFlatField.c
r5516 r5543 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-11-1 5 20:09:03$20 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-11-18 19:43:14 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 38 38 #include "pmSubtractBias.h" 39 39 40 // XXX: This should be removed when the autoconf stuff handles psConstants.h correctly. 41 #define PS_WARN_PTR_NON_NULL(NAME) \ 42 if ((NAME) == NULL) { \ 43 psLogMsg(__func__, PS_LOG_WARN, "WARNING: %s is NULL.", #NAME); \ 44 } \ 40 45 41 46 bool pmFlatField( -
trunk/psModules/src/detrend/pmMaskBadPixels.c
r5516 r5543 19 19 * @author Ross Harman, MHPCC 20 20 * 21 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $22 * @date $Date: 2005-11-1 5 20:09:03$21 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2005-11-18 19:43:14 $ 23 23 * 24 24 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 #include "pmMaskBadPixelsErrors.h" 37 37 #include "pmSubtractBias.h" 38 39 //XXX: REmove, autoconf is broken. 40 #define PS_WARN_PTR_NON_NULL(NAME) \ 41 if ((NAME) == NULL) { \ 42 psLogMsg(__func__, PS_LOG_WARN, "WARNING: %s is NULL.", #NAME); \ 43 } \ 44 38 45 39 46 /****************************************************************************** … … 41 48 input image mask and a pixel location, then sets (logical or) all pixels with 42 49 parameter radius if that pixel to maskVal parameter. 43 *****************************************************************************/50 *****************************************************************************/ 44 51 psBool GrowPixel( 45 52 psImage *inMask, -
trunk/psModules/src/detrend/pmNonLinear.c
r5516 r5543 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-11-1 5 20:09:03$7 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-11-18 19:43:14 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 #include "pmSubtractBias.h" 25 25 26 // XXX: Remove, autoconf must be 27 #define PS_WARN_PTR_NON_NULL(NAME) \ 28 if ((NAME) == NULL) { \ 29 psLogMsg(__func__, PS_LOG_WARN, "WARNING: %s is NULL.", #NAME); \ 30 } \ 26 31 /****************************************************************************** 27 32 pmNonLinearityLookup(): This routine will take an pmReadout image as input 28 33 and a 1-D polynomial. For each pixel in the input image, the polynomial will 29 be evaluated at that pixels value, and the image pixel will then be set to 34 be evaluated at that pixels value, and the image pixel will then be set 35 to 30 36 that value. 31 *****************************************************************************/37 *****************************************************************************/ 32 38 33 39 pmReadout *pmNonLinearityPolynomial(pmReadout *inputReadout,
Note:
See TracChangeset
for help on using the changeset viewer.
