#include <ColorTableCuboids.h>
Inheritance diagram for ColorTableCuboids:


Public Member Functions | |
| ColorTableCuboids () | |
| Constructor. | |
| ~ColorTableCuboids () | |
| Destructor. | |
| virtual colorClass | getColorClass (const unsigned char y, const unsigned char u, const unsigned char v) const |
| Calculates the color classes of a point in the yuv color space. | |
| virtual void | generateColorClassImage (const Image &image, ColorClassImage &colorClassImage) const |
| Segments an image to a color class image. | |
| void | clear () |
| Sets the color class of every 4x4x4 to noColor. | |
| void | setThresholds (colorClass color, int minY, int minU, int minV, int maxY, int maxU, int maxV) |
| int | getThresholdMin (colorClass color, int channel) const |
| int | getThresholdMax (colorClass color, int channel) const |
Private Attributes | |
| int | thresholdMin [numOfColors][3] |
| int | thresholdMax [numOfColors][3] |
| unsigned long int | lastTimeWhenThresholdWasSet [numOfColors] |
Definition at line 19 of file ColorTableCuboids.h.
|
|
Constructor.
Definition at line 12 of file ColorTableCuboids.cpp. References setThresholds(). |
Here is the call graph for this function:

|
|
Destructor.
Definition at line 17 of file ColorTableCuboids.cpp. |
|
||||||||||||||||
|
Calculates the color classes of a point in the yuv color space.
Reimplemented from ColorTable. Definition at line 52 of file ColorTableCuboids.cpp. References SystemCall::getTimeSince(), and noColor. |
Here is the call graph for this function:

|
||||||||||||
|
Segments an image to a color class image. This doesn't need to used in the image processor, but is needed for visualisation of color tables.
Reimplemented from ColorTable. Definition at line 117 of file ColorTableCuboids.cpp. |
|
|
Sets the color class of every 4x4x4 to noColor.
Reimplemented from ColorTable. Definition at line 38 of file ColorTableCuboids.cpp. References numOfColors, thresholdMax, and thresholdMin. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 31 of file ColorTableCuboids.cpp. References SystemCall::getCurrentSystemTime(), lastTimeWhenThresholdWasSet, thresholdMax, and thresholdMin. Referenced by ColorTableCuboids(), and operator>>(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 21 of file ColorTableCuboids.cpp. References thresholdMin. Referenced by operator<<(). |
|
||||||||||||
|
Definition at line 26 of file ColorTableCuboids.cpp. References thresholdMax. Referenced by operator<<(). |
|
|
Definition at line 66 of file ColorTableCuboids.h. Referenced by clear(), getThresholdMin(), and setThresholds(). |
|
|
Definition at line 67 of file ColorTableCuboids.h. Referenced by clear(), getThresholdMax(), and setThresholds(). |
|
|
Definition at line 68 of file ColorTableCuboids.h. Referenced by setThresholds(). |
1.3.6