|
Panda3D
|
Public Member Functions | |
| Histogram () | |
| int | getCount (PixelSpec const pixel) |
| Returns the number of occurrences in the image of the indicated pixel color. | |
| int | getCount (int n) |
| Returns the number of occurrences in the image of the nth unique pixel color in the histogram. | |
| int | getNumPixels () |
| Returns the number of unique pixel colors in the histogram. | |
| PixelSpec const | getPixel (int n) |
| Returns the nth unique pixel color in the histogram. | |
| list | getPixels () |
| write (ostream out) | |
| Histogram | ( | ) |
Returns the number of occurrences in the image of the indicated pixel color.
Returns the number of occurrences in the image of the nth unique pixel color in the histogram.
| int getNumPixels | ( | ) |
Returns the number of unique pixel colors in the histogram.
Returns the nth unique pixel color in the histogram.
These are ordered by default from most common to least common.
| list getPixels | ( | ) |
| write | ( | ostream | out | ) |
1.7.3