IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2007, 3:29:23 PM (19 years ago)
Author:
Paul Price
Message:

Mask bad pixels in the combined image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCombine.c

    r14007 r14356  
    286286                        data->stats = psMetadataAlloc();
    287287                    }
    288                     if (!ppStatsFPA(data->stats, data->out, view, options->combine->maskVal, config)) {
     288                    if (!ppStatsFPA(data->stats, data->out, view,
     289                                    options->combine->maskVal | pmConfigMask("BLANK", config),
     290                                    config)) {
    289291                        psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to generate stats for image.\n");
    290292                        return false;
     
    304306            for (int i = 0; i < filenames->n; i++) {
    305307                pmFPA *fpaIn = data->in->data[i]; // Input FPA
    306                 if (!fpaIn) { continue; } // was not a valid input file
     308                if (!fpaIn) { continue; } // was not a valid input file
    307309                pmChip *chipIn = fpaIn->chips->data[view->chip]; // Input chip
    308310                pmCell *cellIn = chipIn->cells->data[view->cell]; // Input cell
     
    325327        for (int i = 0; i < filenames->n; i++) {
    326328            pmFPA *fpaIn = data->in->data[i]; // Input FPA
    327             if (!fpaIn) { continue; } // was not a valid input file
     329            if (!fpaIn) { continue; } // was not a valid input file
    328330            pmChip *chipIn = fpaIn->chips->data[view->chip]; // Input chip
    329331            pmChipFreeData(chipIn);
     
    345347    for (int i = 0; i < filenames->n; i++) {
    346348        pmFPA *fpaIn = data->in->data[i]; // Input FPA
    347         if (!fpaIn) { continue; } // was not a valid input file
     349        if (!fpaIn) { continue; } // was not a valid input file
    348350        pmFPAFreeData(fpaIn);
    349351    }
Note: See TracChangeset for help on using the changeset viewer.