IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 2, 2009, 12:04:51 PM (16 years ago)
Author:
Paul Price
Message:

Merging Gene's work on adding a window function to the stamps. I'd been thinking about something like this for a while, so glad someone's done it. It's got visualisation turned on though.

Location:
branches/pap/psModules/src/imcombine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/psModules/src/imcombine

  • branches/pap/psModules/src/imcombine/pmSubtractionMatch.c

    r26035 r26321  
    483483            }
    484484
     485
     486            // generate the window function from the set of stamps
     487            if (!pmSubtractionStampsGetWindow(stamps, size)) {
     488                goto MATCH_ERROR;
     489            }
    485490
    486491            // Define kernel basis functions
     
    550555                }
    551556
     557                // generate the window function from the set of stamps
     558                if (!pmSubtractionStampsGetWindow(stamps, size)) {
     559                    goto MATCH_ERROR;
     560                }
     561
    552562                psTrace("psModules.imcombine", 3, "Calculating equation...\n");
    553563                if (!pmSubtractionCalculateEquation(stamps, kernels)) {
     
    587597            }
    588598
     599            // if we hit the max number of iterations and we have rejected stamps, re-solve
    589600            if (numRejected > 0) {
    590601                psTrace("psModules.imcombine", 3, "Solving equation...\n");
Note: See TracChangeset for help on using the changeset viewer.