IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 19, 2007, 4:49:08 PM (19 years ago)
Author:
Paul Price
Message:

Adding chip and mask output for chip-mosaicked files. Was going to make this the default output, but we only have to have it selected in the recipe. Reduced the name of the filerule down, so that it's not excessively long (e.g., PPIMAGE.OUTPUT.CHIP.MASK --> PPIMAGE.CHIP.MASK).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageMosaic.c

    r12818 r13901  
    55#include "ppImage.h"
    66
    7 bool ppImageMosaicChip(pmConfig *config, const pmFPAview *view, char *outFile, char *inFile)
     7bool ppImageMosaicChip(pmConfig *config, const ppImageOptions *options, const pmFPAview *view,
     8                       const char *outFile, const char *inFile)
    89{
    910    bool status;                        // Status of MD lookup
     
    3132            in->name, out->name, in->xBin, in->yBin, out->xBin, out->yBin);
    3233
    33     // XXX mosaic the chip, making a deep copy.  this has the side effect of making the 
     34    // XXX mosaic the chip, making a deep copy.  this has the side effect of making the
    3435    // output image products pure trimmed images, but also increases the memory footprint.
    35     status = pmChipMosaic(outChip, inChip, true);
     36    status = pmChipMosaic(outChip, inChip, true, options->blankMask);
    3637    return status;
    3738}
    3839
    39 bool ppImageMosaicFPA (pmConfig *config, char *outFile, char *inFile)
     40bool ppImageMosaicFPA (pmConfig *config, const ppImageOptions *options, const char *outFile,
     41                       const char *inFile)
    4042{
    4143    bool status;                        // Status of MD lookup
     
    7274    psTrace ("pmFPAMosaic", 5, "mosaic fpa %s to %s (xbin,ybin: %d,%d to %d,%d)\n",
    7375             in->name, out->name, in->xBin, in->yBin, out->xBin, out->yBin);
    74     return pmFPAMosaic(out->fpa, in->fpa, false);
     76    return pmFPAMosaic(out->fpa, in->fpa, false, options->blankMask);
    7577}
Note: See TracChangeset for help on using the changeset viewer.