IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10245


Ignore:
Timestamp:
Nov 28, 2006, 2:35:18 PM (19 years ago)
Author:
Paul Price
Message:

If gain == 0, wasn't generating weight image.

File:
1 edited

Legend:

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

    r10240 r10245  
    218218    } else {
    219219        // Gain is negative or zero --- just use the read noise
     220        if (!readout->weight) {
     221            readout->weight = psImageAlloc(readout->image->numCols, readout->image->numRows, PS_TYPE_F32);
     222        }
    220223        psImageInit(readout->weight, 0.0);
    221224    }
Note: See TracChangeset for help on using the changeset viewer.