components.qt.showhistogram

class ShowHistogram(**config)[source]

Bases: Transformer, object

Display image hostograms in a Qt window.

The histogram display is normalised so each component uses the full Y-axis range. The X-axis covers the range [0, 256). Values outside this range are counted and the results displayed as raw numbers and percentage of pixels.

Config

title

str

Window title.

log

bool

Use logarithmic Y axis.

event_loop

alias of QtEventLoop


Comments or questions? Please email jim@jim-easterbrook.me.uk.