Changeset 24399 for trunk/psModules/src/camera/pmFPAMaskWeight.c
- Timestamp:
- Jun 14, 2009, 10:30:29 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.c
r23989 r24399 228 228 229 229 // a negative variance is non-sensical. if the image value drops below 1, the variance must be 1. 230 // XXX this calculation is wrong: limit is 1 e-, but this is in DN 230 231 readout->variance = (psImage*)psUnaryOp(readout->variance, readout->variance, "abs"); 231 232 readout->variance = (psImage*)psBinaryOp(readout->variance, readout->variance, "max", … … 239 240 } 240 241 242 // XXX if readnoise is based on an image map, we need to apply it here 241 243 readout->variance = (psImage*)psBinaryOp(readout->variance, readout->variance, "+", 242 244 psScalarAlloc(readnoise*readnoise/gain/gain, PS_TYPE_F32));
Note:
See TracChangeset
for help on using the changeset viewer.
