Changeset 29595
- Timestamp:
- Oct 28, 2010, 5:42:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionAnalysis.c
r29594 r29595 105 105 int fullSize = 2 * size + 1; // Full size of kernel 106 106 107 /* in the CENTRAL_DELTA case, the final convolution kernel replaces the central delta108 function which was subtracted to force zero flux for each kernel. for other cases,109 we have to include the zero order component of the normalization here.110 */111 112 //# if (CENTRAL_DELTA)113 # if (1)114 107 float norm = 0.0; // Normalisation (kernel sum) 115 # else116 float norm = 1.0; // Normalisation (kernel sum)117 # endif118 108 for (int y = 0; y < fullSize; y++) { 119 109 for (int x = 0; x < fullSize; x++) {
Note:
See TracChangeset
for help on using the changeset viewer.
