IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2026, 9:38:40 PM (7 weeks ago)
Author:
eugene
Message:

add code to mask bad cells based on their overscan values compared with a reference table

File:
1 edited

Legend:

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

    r42382 r43038  
    117117        if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.NEWNONLIN", "NEWNONLIN",
    118118                               PM_FPA_FILE_NEWNONLIN, PM_DETREND_TYPE_NEWNONLIN)) {
     119            psError(PS_ERR_IO, false, "Can't find a new non-linearity correction source");
     120            psFree(options);
     121            return NULL;
     122        }
     123    }
     124    if (options->doMaskBadOverscan) {
     125        // if the file has been specified on the command-line (-valid-overscan file), then the file
     126        // is identified by the VALID.OVERSCAN entry in config->arguments.  otherwise, load from the
     127        // detrend system as type VALID.OVERSCAN
     128        if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.VALID.OVERSCAN", "VALID.OVERSCAN",
     129                               PM_FPA_FILE_VALID_OVERSCAN, PM_DETREND_TYPE_VALID_OVERSCAN)) {
    119130            psError(PS_ERR_IO, false, "Can't find a new non-linearity correction source");
    120131            psFree(options);
Note: See TracChangeset for help on using the changeset viewer.