IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 8, 2010, 2:24:01 PM (17 years ago)
Author:
Paul Price
Message:

Dual convolution seems to be working again!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/imcombine/pmSubtraction.c

    r26539 r26547  
    117117    for (int i = 0; i < numKernels; i++) {
    118118        double value = p_pmSubtractionSolutionCoeff(kernels, polyValues, i, wantDual); // Polynomial value
     119        if (wantDual) {
     120            // The model is built with the dual convolution terms added, so to produce zero residual the
     121            // equation results in negative coefficients which we must undo.
     122            value *= -1.0;
     123        }
    119124
    120125        switch (kernels->type) {
Note: See TracChangeset for help on using the changeset viewer.