.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc



.. _wx.ImageHistogram:

==========================================================================================================================================
|phoenix_title|  **wx.ImageHistogram**
==========================================================================================================================================





|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>ImageHistogram</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.ImageHistogram_inheritance.svg" alt="Inheritance diagram of ImageHistogram" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.ImageHistogram.html" title="wx.ImageHistogram" alt="" coords="43,101,213,130"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.ImageHistogram.__init__`                                              
:meth:`~wx.ImageHistogram.FindFirstUnusedColour`                                 
:meth:`~wx.ImageHistogram.MakeKey`                                               
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: wx.ImageHistogram(object)

   **Possible constructors**::

       ImageHistogram() -> None
       



   .. method:: __init__(self)



      :rtype: `None`     








   .. method:: FindFirstUnusedColour(self, startR=1, startG=0, startB=0)




      :param `startR`: 
      :type `startR`: int
      :param `startG`: 
      :type `startG`: int
      :param `startB`: 
      :type `startB`: int




      :rtype: :ref:`Tuple[int, int, int]`








   .. staticmethod:: MakeKey(r, g, b)




      :param `r`: 
      :type `r`: int
      :param `g`: 
      :type `g`: int
      :param `b`: 
      :type `b`: int




      :rtype: `int`







