IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2007, 2:44:14 PM (19 years ago)
Author:
Paul Price
Message:

Adding ability to get stamps from sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackMatch.c

    r14764 r14811  
    1111//#define TESTING
    1212
    13 bool ppStackMatch(pmReadout *output, const pmReadout *input, const pmConfig *config)
     13bool ppStackMatch(pmReadout *output, const pmReadout *input, const pmReadout *sourcesRO,
     14                  const pmConfig *config)
    1415{
    1516    // Look up appropriate values from the ppSub recipe
     
    5152    }
    5253
     54    psArray *sources = psMetadataLookupPtr(&mdok, sourcesRO->analysis, "PSPHOT.SOURCES"); // Sources in image
     55
    5356    // Do the image matching
    54     if (!pmSubtractionMatch(output, input, NULL, footprint, regionSize, spacing, threshold, stampsName,
    55                             target, type, size, order, widths, orders, inner, ringsOrder, binning, optimum,
    56                             optWidths, optOrder, optThresh, iter, rej, maskBad, maskBlank)) {
     57    if (!pmSubtractionMatch(output, input, NULL, footprint, regionSize, spacing, threshold, sources,
     58                            stampsName, target, type, size, order, widths, orders, inner, ringsOrder,
     59                            binning, optimum, optWidths, optOrder, optThresh, iter, rej, maskBad,
     60                            maskBlank)) {
    5761        psError(PS_ERR_UNKNOWN, false, "Unable to match images.");
    5862        return false;
Note: See TracChangeset for help on using the changeset viewer.