components.colourspace.histogramequalisation
- class HistogramEqualisation(config={}, **kwds)[source]
Bases:
Transformer
Histogram equalisation.
Converts the RGB input to luminance and equalises it, then applies the same per-pixel gain to the RGB data.
The
function
output emits the transfer function data. It can be connected to thePlotData
component.Config
weight_R
float
RGB to Y matrix red weight.
weight_G
float
RGB to Y matrix green weight.
weight_B
float
RGB to Y matrix blue weight.
- outputs = ['output', 'function']
Comments or questions? Please email jim@jim-easterbrook.me.uk.