IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 13, 2006, 12:26:09 PM (19 years ago)
Author:
Paul Price
Message:

Doing fringe processing using the pmFPAfile framework, with FRINGE type for the reference fringes.

File:
1 edited

Legend:

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

    r9857 r9952  
    1212    // the input image defines the camera, and all recipes and options the follow
    1313    pmFPAfile *input = pmFPAfileDefineFromArgs (&status, config, "PPIMAGE.INPUT", "INPUT");
    14     if (!status) {
     14    if (!status || !input) {
    1515        psError(PS_ERR_IO, false, "Failed to build FPA from PPIMAGE.INPUT");
    1616        return NULL;
     
    177177    psFree (chips);
    178178
     179    if (psMetadataLookupBool(NULL, recipe, "INPUT_IS_FRINGE")) {
     180        // It's a fringe file, so change the file type
     181        input->type = PM_FPA_FILE_FRINGE;
     182        output->type = PM_FPA_FILE_FRINGE;
     183    }
     184
    179185    return (options);
    180186}
Note: See TracChangeset for help on using the changeset viewer.