| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class ImageHistogram |
|
object --+
|
ImageHistogram
| 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. |
GetCountRGB(self, unsigned char r, unsigned char g, unsigned char b) -> unsigned long | |
MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long (Static method) | |
| 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 givenwx.Colour value.
|
GetCountRGB(*args, **kwargs)GetCountRGB(self, unsigned char r, unsigned char g, unsigned char b) -> unsigned long Returns the pixel count for the given RGB values. |
| Static Method Details |
|---|
MakeKey(*args, **kwargs)MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long Get the key in the histogram for the given RGB values |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20040428.rpd on Fri Apr 8 16:03:45 2005 | http://epydoc.sf.net |