IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2008, 10:51:20 AM (18 years ago)
Author:
Paul Price
Message:

Adding support for multi-darks, instead of traditional darks.

File:
1 edited

Legend:

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

    r14000 r16844  
    1010    fprintf(stderr, "\t-stats STATS.mdc: Output statistics into STATS.mdc\n");
    1111    fprintf(stderr, "\t-isfringe: The input image contains fringe data.\n");
     12    fprintf(stderr, "\t-isdark: The input image contains dark data.\n");
    1213    fprintf(stderr, "\t-usemask MASKVAL: Use this mask value (override recipe).\n");
    1314    fprintf(stderr, "\t-chip CHIPNUM: Only process this chip number.\n");
     
    7172                          "Input is fringe image", true);
    7273    }
     74    if ((argnum = psArgumentGet(argc, argv, "-isdark"))) {
     75        psArgumentRemove(argnum, &argc, argv);
     76        psMetadataAddBool(config->arguments, PS_LIST_TAIL, "INPUT_IS_DARK", PS_META_REPLACE,
     77                          "Input is dark image", true);
     78    }
    7379
    7480    // the following options override the PPIMAGE recipe options
Note: See TracChangeset for help on using the changeset viewer.