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/pstamp/src/ppstampMakeStamp.c

    r27989 r28310  
    688688        }
    689689    }
    690     psU32 maskMask = ~convPoor;
     690    psU32 suspect = psMetadataLookupU32(&status, masks, "SUSPECT");
     691    if (!status) {
     692        psError(PM_ERR_CONFIG, false, "failed to lookup mask value for SUSPECT in recipes\n");
     693        return false;
     694    }
     695    psU32 maskMask = ~(convPoor | suspect);
    691696
    692697    double exciseValue;
Note: See TracChangeset for help on using the changeset viewer.