Home | Trees | Index | Help |
|
---|
Package wx :: Class ImageHistogram |
|
object
--+
|
ImageHistogram
Proxy of C++ ImageHistogram class
Method Summary | |
---|---|
ImageHistogram | __init__(self)
|
__repr__(self)
| |
(success, r, g, b) |
Find first colour that is not used in the image and has higher RGB values than startR, startG, startB. |
GetCount(self, unsigned long key) -> unsigned long | |
unsigned long |
Returns the pixel count for the given wx.Colour value. |
unsigned long |
Returns the pixel count for the given RGB values. |
unsigned long |
Get the key in the histogram for the given RGB values (Static method) |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Instance Method Details |
---|
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.
|
GetCount(*args, **kwargs)GetCount(self, unsigned long key) -> unsigned long Returns the pixel count for the given key. Use |
GetCountColour(self, colour)Returns the pixel count for the given
|
GetCountRGB(self, r, g, b)Returns the pixel count for the given RGB values.
|
Static Method Details |
---|
MakeKey(r, g, b)Get the key in the histogram for the given RGB values
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:54:27 2007 | http://epydoc.sf.net |