IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2009, 3:57:42 PM (17 years ago)
Author:
bills
Message:

set exciseValue when reading image from pmFPAfile

File:
1 edited

Legend:

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

    r21481 r23911  
    2828        streaksExit("", PS_EXIT_CONFIG_ERROR);
    2929    }
    30     double maskStreak = (double) psMetadataLookupU8(&status, masks, "STREAK");
     30    double maskStreak = (double) psMetadataLookupU16(&status, masks, "STREAK");
    3131    if (!status) {
    3232        psError(PM_ERR_CONFIG, false, "failed to lookup mask value for STREAK in recipes\n");
     
    3535
    3636    // optionally setting pixels with any mask bits execpt POOR.WARP to NAN
    37     psU8 poorWarp = (double) psMetadataLookupU8(&status, masks, "POOR.WARP");
     37    psU16 poorWarp = (double) psMetadataLookupU16(&status, masks, "CONV.POOR");
    3838    if (!status) {
    3939        psError(PM_ERR_CONFIG, false, "failed to lookup mask value for POOR.WARP in recipes\n");
    4040        streaksExit("", PS_EXIT_CONFIG_ERROR);
    4141    }
    42     psU8 maskMask = ~poorWarp;
     42    psU16 maskMask = ~poorWarp;
    4343
    4444    psString streaksFileName = psMetadataLookupStr(NULL, config->arguments, "STREAKS");
Note: See TracChangeset for help on using the changeset viewer.