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


Public Member Functions | |
| Image () | |
| constructs an image | |
| ~Image () | |
| deconstructs an image | |
| bool | hasColorTable (void) |
| void | setColorTable (const ColorTable *ct) |
| char | getClassifiedColor (int x, int y) const |
| char | getClassifiedColor (unsigned long index) const |
| void | convertFromYCbCrToRGB (const Image &ycbcrImage) |
| Converts an YCbCr image into an RGB image. | |
| void | convertFromRGBToYCbCr (const Image &rgbImage) |
| Converts an RGB image into an YCbCr image. | |
| void | convertFromYCbCrToHSI (const Image &ycrcbImage) |
| Converts an YCbCr image into a HSI image. | |
| void | convertFromHSIToYCbCr (const Image &hsiImage) |
| Converts a HSI image into an YCbCr image. | |
| void | convertFromYCbCrToTSL (const Image &ycbcrImage) |
| Converts an YCbCr image into a TSL image. | |
| unsigned char | getHighResY (int x, int y) const |
| Returns the high resolution y value of a pixel. | |
| void | setHighResY (int x, int y, unsigned char tl, unsigned char bl, unsigned char tr, unsigned char br) |
| Sets the high resolution y values for one pixel in low resolution. | |
| Image & | operator= (const Image &other) |
| Assignment operator. | |
| void | setCameraInfo () |
| set values in CameraInfo according to image size | |
Public Attributes | |
| unsigned char | image [cameraResolutionHeight_ERS7][6][cameraResolutionWidth_ERS7] |
| representation for an image height color width point of origin is the upper left corner, height is positive downwards and width positive to the right the color values are in the order Y,U,V, 3xY in a higher resolution | |
| CameraInfo | cameraInfo |
| unsigned long | frameNumber |
| the frame number of that image | |
| const ColorTable * | colorTable |
| associated color table | |
Definition at line 24 of file Image.h.
|
|
constructs an image
Definition at line 13 of file Image.cpp. References CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
|
|
deconstructs an image
|
|
|
Definition at line 31 of file Image.cpp. References colorTable. |
|
|
Definition at line 41 of file Image.cpp. References colorTable. |
|
||||||||||||
|
Definition at line 47 of file Image.cpp. References colorTable, and ColorTable::getColorClass(). |
Here is the call graph for this function:

|
|
|
|
|
Converts an YCbCr image into an RGB image.
Definition at line 54 of file Image.cpp. References cameraInfo, ColorModelConversions::fromYCbCrToRGB(), image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. Referenced by LogPlayer::saveImages(). |
Here is the call graph for this function:

|
|
Converts an RGB image into an YCbCr image.
Definition at line 67 of file Image.cpp. References cameraInfo, ColorModelConversions::fromRGBToYCbCr(), image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
Here is the call graph for this function:

|
|
Converts an YCbCr image into a HSI image.
Definition at line 80 of file Image.cpp. References cameraInfo, ColorModelConversions::fromYCbCrToHSI(), image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
Here is the call graph for this function:

|
|
Converts a HSI image into an YCbCr image.
Definition at line 93 of file Image.cpp. References cameraInfo, ColorModelConversions::fromHSIToYCbCr(), image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
Here is the call graph for this function:

|
|
Converts an YCbCr image into a TSL image.
Definition at line 106 of file Image.cpp. References cameraInfo, ColorModelConversions::fromYCbCrToTSL(), image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
Here is the call graph for this function:

|
||||||||||||
|
Returns the high resolution y value of a pixel.
Definition at line 119 of file Image.cpp. Referenced by VLCColorCorrector::generateCorrectedImage(), SlamColorCorrector::generateCorrectedImage(), GT2005ColorCorrector::generateCorrectedImage(), ColorTable64::generateHighResColorClassImage(), and ColorTable32K::generateHighResColorClassImage(). |
|
||||||||||||||||||||||||||||
|
Sets the high resolution y values for one pixel in low resolution.
Definition at line 149 of file Image.cpp. Referenced by VLCColorCorrector::generateCorrectedImage(), SlamColorCorrector::generateCorrectedImage(), and GT2005ColorCorrector::generateCorrectedImage(). |
|
|
Assignment operator.
Reimplemented in JPEGImage, and JPEGImage2. |
|
|
|
|
|
|
associated color table
Definition at line 104 of file Image.h. Referenced by VLCColorCorrector::generateCorrectedImage(), SlamColorCorrector::generateCorrectedImage(), GT2005ColorCorrector::generateCorrectedImage(), getClassifiedColor(), FastSUSANNoiseReduction::getFilteredImage(), hasColorTable(), JPEGImage2::operator=(), and setColorTable(). |
1.3.6