Function lib3d::generateScaleImg
Defined in File visualization.hpp
Function Documentation
-
inline cv::Mat lib3d::generateScaleImg(const float iMinRange, const float iMaxRange, const EColorMaps iColorMap = COLORMAP_JET, const bool iInvert = false, const int iScaleHeight = 480)
Method to generate a scale image with a given colormap.
- Parameters:
iMinRange – [in] Minimum depth.
iMaxRange – [in] Maximum depth.
iColorMap – [in] Colormap to use. Default = COLORMAP_JET.
iInvert – [in] If true, invert range. Default = false.
iScaleHeight – [in] Height of scale image. Default = 480.
- Returns:
image showing a scale. This will hold a color scale/legend with markings of the minimum and maximum value.