|
lsst.afw g712618294e+4813a5392e
|
Public Member Functions | |
| def | __init__ (self, image, nSamples=1000, contrast=0.25) |
A mapping for a linear stretch chosen by the zscale algorithm
(preserving colours independent of brightness)
x = (I - minimum)/range
Parameters
----------
image
Image whose parameters are desired
nSamples : `int`
The number of samples to use to estimate the zscale parameters
contrast : `float`
Definition at line 259 of file _rgbContinued.py.
| def lsst.afw.display.rgb._rgbContinued.ZScaleMapping.__init__ | ( | self, | |
| image, | |||
nSamples = 1000, |
|||
contrast = 0.25 |
|||
| ) |
Reimplemented from lsst.afw.display.rgb._rgbContinued.LinearMapping.
Definition at line 274 of file _rgbContinued.py.