IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9830


Ignore:
Timestamp:
Nov 2, 2006, 11:55:55 AM (20 years ago)
Author:
Paul Price
Message:

Was neglecting to zero the mask before using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMaskWeight.c

    r9730 r9830  
    3838        }
    3939        masks->data[i] = psImageAlloc(image->numCols, image->numRows, PS_TYPE_U8);
     40        psImageInit(masks->data[i], 0);
    4041    }
    4142
     
    119120        // Generate a (throwaway) mask image, if required
    120121        readout->mask = psImageAlloc(image->numCols, image->numRows, PS_TYPE_U8);
     122        psImageInit(readout->mask, 0);
    121123    }
    122124    psImage *mask = readout->mask;      // The mask pixels
Note: See TracChangeset for help on using the changeset viewer.