Changeset 14540 for trunk/psModules/src/imcombine/pmSubtraction.c
- Timestamp:
- Aug 16, 2007, 3:50:50 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtraction.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtraction.c
r14528 r14540 4 4 * @author GLG, MHPCC 5 5 * 6 * @version $Revision: 1.4 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-08-1 6 03:58:29$6 * @version $Revision: 1.42 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-08-17 01:50:50 $ 8 8 * 9 9 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 202 202 kernel->kernel[v][u] += kernelWeighting(poly->data.F32[j], varianceWeighting) * value; 203 203 } 204 kernel->kernel[0][0] += kernelWeighting(num, varianceWeighting) * subValue;204 // Photometric scaling is built into the kernel --- no subtraction! 205 205 break; 206 206 } … … 301 301 sum += image->kernel[y + v][x + u] * poly->data.F32[j]; 302 302 } 303 // The (0,0) kernel is subtracted from other kernels to preserve photometric scaling304 return sum - num * image->kernel[y][x];303 // Photometric scaling is built into the kernel --- no subtraction! 304 return sum; 305 305 } 306 306 default:
Note:
See TracChangeset
for help on using the changeset viewer.
