IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2010, 1:12:33 PM (16 years ago)
Author:
Paul Price
Message:

Output isn't the same as input.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppBackground/src/ppBackgroundLoop.c

    r28293 r28296  
    125125            }
    126126            pmFPAfileActivate(config->files, true, NULL);
    127             pmFPAfileActivate(config->files, false, "PPBACKGROUND.PATTERN");
     127            //            pmFPAfileActivate(config->files, false, "PPBACKGROUND.PATTERN");
    128128        }
    129129
     130        pmChip *outChip = pmFPAfileThisChip(config->files, view, "PPBACKGROUND.OUTPUT"); // Chip for output
    130131        pmChip *patternChip = patternFile ? pmFPAviewThisChip(view, patternMosaic) : NULL; // Chip with pattern
    131132        pmChip *bgChip = bgFile ? pmFPAviewThisChip(view, bgFile->fpa) : NULL; // Chip with background model
    132         if (!ppBackgroundRestore(chip, bgChip, patternChip, view, config)) {
     133        if (!ppBackgroundRestore(outChip, chip, bgChip, patternChip, view, config)) {
    133134            psError(psErrorCodeLast(), false, "Unable to replace background");
    134135            return false;
Note: See TracChangeset for help on using the changeset viewer.