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/ppImageParseCamera.c

    r16357 r16844  
    5959    }
    6060    if (options->doDark) {
    61         if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.DARK", "DARK", PM_FPA_FILE_IMAGE, PM_DETREND_TYPE_DARK)) {
     61        if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.DARK", "DARK", PM_FPA_FILE_DARK, PM_DETREND_TYPE_DARK)) {
    6262            psError (PS_ERR_IO, false, "Can't find a dark image source");
    6363            psFree (options);
     
    393393        outImage->type = PM_FPA_FILE_FRINGE;
    394394    }
     395    if (psMetadataLookupBool(NULL, config->arguments, "INPUT_IS_DARK")) {
     396        // It's a dark file, so change the file type
     397        input->type = PM_FPA_FILE_DARK;
     398        outImage->type = PM_FPA_FILE_DARK;
     399    }
    395400
    396401    // Turn off mask and weight output if we're not doing anything interesting
Note: See TracChangeset for help on using the changeset viewer.