lsst.afw g4d73512994+c357e897d2
|
Public Member Functions | |
def | __init__ (self, minimum, dataRange, Q=8) |
def | mapIntensityToUint8 (self, intensity) |
A mapping for an asinh stretch (preserving colours independent of brightness) x = asinh(Q (I - minimum)/range)/Q Notes ----- This reduces to a linear stretch if Q == 0 See http://adsabs.harvard.edu/abs/2004PASP..116..133L
Definition at line 282 of file _rgbContinued.py.
def lsst.afw.display.rgb._rgbContinued.AsinhMapping.__init__ | ( | self, | |
minimum, | |||
dataRange, | |||
Q = 8 |
|||
) |
Reimplemented from lsst.afw.display.rgb._rgbContinued.Mapping.
Reimplemented in lsst.afw.display.rgb._rgbContinued.AsinhZScaleMapping.
Definition at line 294 of file _rgbContinued.py.
def lsst.afw.display.rgb._rgbContinued.AsinhMapping.mapIntensityToUint8 | ( | self, | |
intensity | |||
) |
Return an array which, when multiplied by an image, returns that image mapped to the range of a uint8, [0, 255] (but not converted to uint8) The intensity is assumed to have had minimum subtracted (as that can be done per-band)
Reimplemented from lsst.afw.display.rgb._rgbContinued.Mapping.
Definition at line 314 of file _rgbContinued.py.