IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 15, 2009, 2:10:35 PM (16 years ago)
Author:
bills
Message:

Completion to previous fix. If component is completely excised set the STREAK
bit in all pixels in the mask image

File:
1 edited

Legend:

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

    r25082 r26408  
    1616        return PS_EXIT_CONFIG_ERROR;
    1717    }
    18 
    19     // Values to set for masked pixels
    20     psU32 maskStreak = 0;           // for the image and weight (usually NAN, MAXINT for integer images)
    21     psU32 maskMask = 0;             // value looked up for MASK.STREAK
    2218
    2319    // Does true work here?
     
    5046
    5147        // now that we've read the input files, lookup the mask values that we read
    52         if (maskStreak == 0) {
    53             strkGetMaskValues(sfiles, &maskStreak, &maskMask);
    54         }
    55 
    56         setMaskedToNAN(sfiles, maskMask, true);
     48        strkGetMaskValues(sfiles);
     49
     50        setMaskedToNAN(sfiles, sfiles->maskMask, true);
    5751
    5852        // write out the destreaked temporary images and the recovery images
Note: See TracChangeset for help on using the changeset viewer.