|
ddt
0.1
|
#include <imageColor.hpp>
Public Member Functions | |
| ImageColor () | |
| virtual | ~ImageColor () |
| void | set_logger (ddt::DdtLogger *logger) |
| void | LoadColorMaps (std::string color_map_folder) |
| std::list< std::string > | get_ColorMapsList () |
| ddt::colorMap_t * | get_ColorMap (std::string color_map_name) |
| ddt::colorMapARGB_t * | get_ColorMapARGB (std::string color_map_name) |
| ddt::colorMap_t * | get_GrayScaleColorMap () |
| ddt::colorMapARGB_t * | get_GrayScaleColorMapARGB () |
| ddt::scalingLut_t * | get_LinearScalingLut (const double cut_level_min, const double cut_level_max) |
| ddt::scalingLut_t * | get_LogarithmicScalingLut (const double cut_level_min, const double cut_level_max) |
| ddt::scalingLut_t * | get_SqrtScalingLut (const double cut_level_min, const double cut_level_max) |
Protected Attributes | |
| ddt::DdtLogger * | logger |
This class is part of the DDT Image Handling Library and provides functions for color map purposes.
It offers functions to create colormaps from colormap files.
| ImageColor::ImageColor | ( | ) |
Constructor
This class is part of the DDT Image Handling Library and provides functions for coordinate conversion purposes.
It offers functions to to create colormaps from colormap files.
|
virtualdefault |
Destructor
| ddt::colorMap_t * ImageColor::get_ColorMap | ( | std::string | color_map_name | ) |
Get a color map array, identified by the color map name
| color_map_name | the name of the color map (taken from the color map file name) |
| ddt::colorMapARGB_t * ImageColor::get_ColorMapARGB | ( | std::string | color_map_name | ) |
Get a color map array, identified by the color map name
| color_map_name | the name of the color map (taken from the color map file name) |
| std::list< std::string > ImageColor::get_ColorMapsList | ( | ) |
Returns a list of all loaded colormaps
| ddt::colorMap_t * ImageColor::get_GrayScaleColorMap | ( | ) |
Get a default gray scale color map array
| ddt::colorMapARGB_t * ImageColor::get_GrayScaleColorMapARGB | ( | ) |
Get a default gray scale color map array
| ddt::scalingLut_t * ImageColor::get_LinearScalingLut | ( | const double | cut_level_min, |
| const double | cut_level_max | ||
| ) |
Get the LUT for linear color scaling
| cut_level_min | the minimum cut level to be applied for the LUT creation |
| cut_level_max | the minimum cut level to be applied for the LUT creation |
| ddt::scalingLut_t * ImageColor::get_LogarithmicScalingLut | ( | const double | cut_level_min, |
| const double | cut_level_max | ||
| ) |
Get the LUT for logarithmic color scaling
| cut_level_min | the minimum cut level to be applied for the LUT creation |
| cut_level_max | the minimum cut level to be applied for the LUT creation |
| ddt::scalingLut_t * ImageColor::get_SqrtScalingLut | ( | const double | cut_level_min, |
| const double | cut_level_max | ||
| ) |
Get the LUT for square root color scaling
| cut_level_min | the minimum cut level to be applied for the LUT creation |
| cut_level_max | the minimum cut level to be applied for the LUT creation |
| void ImageColor::LoadColorMaps | ( | std::string | color_map_folder | ) |
Load the colormaps.
| color_map_folder | folder containing color map files |
| void ImageColor::set_logger | ( | ddt::DdtLogger * | logger | ) |
Set logger
| logger | The logger object |
|
protected |
The logger object