Package wx :: Class ImageHistogram
[frames | no frames]

Type ImageHistogram

object --+
         |
        ImageHistogram


Method Summary
ImageHistogram __init__(self)
  __repr__(self)
(success, r, g, b) FindFirstUnusedColour(startR, startG, startB)
Find first colour that is not used in the image and has higher RGB values than startR, startG, startB.
  MakeKey(*args, **kwargs)
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.
Parameters:
startR
           (type=int)
startG
           (type=int)
startB
           (type=int)
Returns:
(success, r, g, b)

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


Generated by Epydoc 2.1.20040428.rpd on Tue Nov 9 17:03:18 2004 http://epydoc.sf.net