IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 3, 2009, 2:30:10 AM (17 years ago)
Author:
eugene
Message:

initial mods to calculate normalization and kernel coeffs independently (how about background?)

File:
1 edited

Legend:

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

    r26318 r26330  
    560560                }
    561561
     562                // XXX step 1: calculate normalization
     563                psTrace("psModules.imcombine", 3, "Calculating equation...\n");
     564                if (!pmSubtractionCalculateEquation(stamps, kernels, true)) {
     565                    psError(PS_ERR_UNKNOWN, false, "Unable to calculate least-squares equation.");
     566                    goto MATCH_ERROR;
     567                }
     568
     569                // XXX step 2: calculate only other parameters
     570# if (0)
    562571                psTrace("psModules.imcombine", 3, "Calculating equation...\n");
    563572                if (!pmSubtractionCalculateEquation(stamps, kernels)) {
     
    565574                    goto MATCH_ERROR;
    566575                }
     576# endif
    567577
    568578                memCheck("  calculate equation");
Note: See TracChangeset for help on using the changeset viewer.