setLUT(self,
newLUT=None,
gammaCorrect=True,
LUTrange=1.0)
| source code
|
Sets the LUT to a specific range of values.
Note that, if you leave gammaCorrect=True then any LUT values you supply
will automatically be gamma corrected.
If BitsBox setMethod is 'fast' then the LUT will take effect on the next
Window.update() If the setMethod is 'slow' then the update will take
place over the next 1-4secs down the USB port.
- Examples:
- bitsBox.setLUT()
- builds a LUT using bitsBox.contrast and bitsBox.gamma
- bitsBox.setLUT(newLUT=some256x1array)
- (NB array should be float 0.0:1.0)
Builds a luminance LUT using newLUT for each gun
(actually array can be 256x1 or 1x256)
- bitsBox.setLUT(newLUT=some256x3array)
- (NB array should be float 0.0:1.0)
Allows you to use a different LUT on each gun
(NB by using BitsBox.setContr() and BitsBox.setGamma() users may not
need this function!?)
|