- Timestamp:
- Feb 21, 2008, 4:27:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080214/psModules/src/imcombine/pmSubtraction.c
r16585 r16586 4 4 * @author GLG, MHPCC 5 5 * 6 * @version $Revision: 1.79.2. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2008-02-22 02: 00:30 $6 * @version $Revision: 1.79.2.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2008-02-22 02:27:40 $ 8 8 * 9 9 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 636 636 bool pmSubtractionConvolve(pmReadout *out1, pmReadout *out2, const pmReadout *ro1, const pmReadout *ro2, 637 637 const psImage *subMask, psMaskType blank, const psRegion *region, 638 const pmSubtractionKernels *kernels, bool useFFT)638 const pmSubtractionKernels *kernels, bool doBG, bool useFFT) 639 639 { 640 640 PS_ASSERT_PTR_NON_NULL(out1, false); … … 802 802 // (with the stamps) that it does not vary rapidly on this scale. 803 803 polyValues = p_pmSubtractionPolynomial(polyValues, kernels->spatialOrder, xNorm, yNorm); 804 float background = p_pmSubtractionSolutionBackground(kernels, polyValues); // Background term805 background = 0.0;804 float background = doBG ? p_pmSubtractionSolutionBackground(kernels, polyValues) : 805 0.0; // Background term 806 806 psRegion subRegion = psRegionSet(i, xSubMax, j, ySubMax); // Sub-region to convolve 807 807
Note:
See TracChangeset
for help on using the changeset viewer.
