IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2010, 1:27:33 PM (16 years ago)
Author:
bills
Message:

Don't set pixels that are SUSPECT to NAN

File:
1 edited

Legend:

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

    r27474 r28310  
    12941294        }
    12951295    }
    1296     sfiles->maskMask = ~convPoor;
     1296    // preserve pixels that are only suspect
     1297    psU32 suspect = (double) psMetadataLookupU32(&status, masks, "SUSPECT");
     1298    if (!status) {
     1299        psError(PM_ERR_CONFIG, false, "failed to lookup mask value for SUSPECT in recipes\n");
     1300        streaksExit("", PS_EXIT_CONFIG_ERROR);
     1301    }
     1302
     1303    sfiles->maskMask = ~(convPoor | suspect);
    12971304}
    12981305
Note: See TracChangeset for help on using the changeset viewer.