IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16906


Ignore:
Timestamp:
Mar 10, 2008, 9:11:17 AM (18 years ago)
Author:
Paul Price
Message:

Output mask image has to be updated --- it was being set to all masked (by pmReadoutUpdateSize), so need to unmask good pixels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmReadoutCombine.c

    r16604 r16906  
    313313            } else {
    314314                outputImage[yOut][xOut] = psStatsGetValue(stats, params->combine);
    315                 if (!isfinite(outputImage[yOut][xOut])) {
    316                     outputMask[yOut][xOut] = params->blank;
    317                 }
     315                outputMask[yOut][xOut] = isfinite(outputImage[yOut][xOut]) ? 0 : params->blank;
    318316                if (params->weights) {
    319317                    float stdev = psStatsGetValue(stats, combineStdev);
Note: See TracChangeset for help on using the changeset viewer.