lsst.afw g8cdfe0ae6a+66d966b544
|
Public Member Functions | |
__init__ (self, minimum, dataRange, Q=8) | |
mapIntensityToUint8 (self, intensity) | |
Protected Attributes | |
_slope | |
_soften | |
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.
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.
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.
|
protected |
Definition at line 307 of file _rgbContinued.py.
|
protected |
Definition at line 312 of file _rgbContinued.py.