#include <ColorSpaceUsageCounter.h>
Public Member Functions | |
| ColorSpaceUsageCounter () | |
| Constructor. | |
| ~ColorSpaceUsageCounter () | |
| Destructor. | |
| int | getCount (const unsigned char y, const unsigned char u, const unsigned char v) const |
| Returns the count for the cube associated to the y,u,v values. | |
| virtual void | generateImage (const Image &image, Image &resultImage) const |
| Generates an image that visualizes the current ColorSpaceUsageCounter. | |
| void | reset () |
| Sets the count of every 16x16x16 cube to 0. | |
| void | addColor (unsigned char y, unsigned char u, unsigned char v) |
| void | addColor (unsigned char y, unsigned char u, unsigned char v, unsigned char range) |
| bool | isColorFrequent (unsigned char y, unsigned char u, unsigned char v, int threshold) |
Public Attributes | |
| unsigned short int | count [16][16][16] |
| Each element in the array contains the count for a 16x16x16 cube in the color space. | |
| int | maxCount |
Definition at line 22 of file ColorSpaceUsageCounter.h.
|
|
Constructor.
Definition at line 58 of file ColorSpaceUsageCounter.cpp. References reset(). |
Here is the call graph for this function:

|
|
Destructor.
Definition at line 54 of file ColorSpaceUsageCounter.cpp. |
|
||||||||||||||||
|
Returns the count for the cube associated to the y,u,v values.
Definition at line 38 of file ColorSpaceUsageCounter.h. |
|
||||||||||||
|
Generates an image that visualizes the current ColorSpaceUsageCounter.
Definition at line 12 of file ColorSpaceUsageCounter.cpp. |
|
|
Sets the count of every 16x16x16 cube to 0.
Definition at line 120 of file ColorSpaceUsageCounter.cpp. References maxCount. Referenced by ColorSpaceUsageCounter(). |
|
||||||||||||||||
|
Definition at line 64 of file ColorSpaceUsageCounter.cpp. |
|
||||||||||||||||||||
|
Definition at line 77 of file ColorSpaceUsageCounter.cpp. |
|
||||||||||||||||||||
|
Definition at line 108 of file ColorSpaceUsageCounter.cpp. |
|
|
Each element in the array contains the count for a 16x16x16 cube in the color space.
Definition at line 56 of file ColorSpaceUsageCounter.h. |
|
|
Definition at line 69 of file ColorSpaceUsageCounter.h. Referenced by reset(). |
1.3.6