***************** wx.ImageHistogram ***************** Inheritance diagram for `wx.ImageHistogram`: | .. inheritance-diagram:: wx.ImageHistogram | Description =========== Proxy of C++ ImageHistogram class. Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `FindFirstUnusedColour <#FindFirstUnusedColour>`_ * `GetCount <#GetCount>`_ * `GetCountColour <#GetCountColour>`_ * `GetCountRGB <#GetCountRGB>`_ * `MakeKey <#MakeKey>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__() `No docstrings available for this method.` -------- .. method:: FindFirstUnusedColour(startR=1, startG=0, startB=0) Find first colour that is not used in the image and has higher RGB values than `startR`, `startG`, `startB`. Returns a tuple consisting of a success flag and rgb values. **Parameters:** * `startR` (int) * `startG` (int) * `startB` (int) | **Returns:** `(success, r, g, b)` -------- .. method:: GetCount(key) Returns the pixel count for the given key. Use `MakeKey <#MakeKey>`_ to create a key value from a RGB triplet. **Parameters:** * `key` (int) | **Returns:** `int` -------- .. method:: GetCountColour(colour) Returns the pixel count for the given `wx.Colour `_ value. **Parameters:** * `colour` (`wx.Colour `_) | **Returns:** `int` -------- .. method:: GetCountRGB(r, g, b) Returns the pixel count for the given RGB values. **Parameters:** * `r` (byte) * `g` (byte) * `b` (byte) | **Returns:** `int` -------- .. method:: MakeKey(r, g, b) Get the key in the histogram for the given RGB values **Parameters:** * `r` (byte) * `g` (byte) * `b` (byte) | **Returns:** `int`