IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24728


Ignore:
Timestamp:
Jul 8, 2009, 6:21:25 PM (17 years ago)
Author:
bills
Message:

all chip mask to be omitted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksio.c

    r24691 r24728  
    6666    // if we are passed a mask it is camera stage mask and we also
    6767    // need to destreak the chip level mask file as well
     68    // If it doesn't exist, we didn't have a camera mask
    6869    if (remove && sf->inMask && (stage == IPP_STAGE_CHIP)) {
    69         sf->inChMask = sFileOpen(config, stage, "INPUT.CHMASK", NULL, true);
    70         inputBasename = basename(sf->inChMask->name);
    71         sf->outChMask = sFileOpen(config, stage, "OUTPUT", inputBasename, true);
    72         sf->recChMask = sFileOpen(config, stage, "RECOVERY", inputBasename, false);
     70        sf->inChMask = sFileOpen(config, stage, "INPUT.CHMASK", NULL, false);
     71        if (sf->inChMask) {
     72            inputBasename = basename(sf->inChMask->name);
     73            sf->outChMask = sFileOpen(config, stage, "OUTPUT", inputBasename, true);
     74            sf->recChMask = sFileOpen(config, stage, "RECOVERY", inputBasename, false);
     75        }
    7376    }
    7477
Note: See TracChangeset for help on using the changeset viewer.