ColormapFileYuvBlock Class Reference
YUV block for colormap file. More...
#include <fvutils/colormap/cmfile_yuvblock.h>

Public Member Functions | |
| ColormapFileYuvBlock (YuvColormap *cm, unsigned int level=0) | |
| Constructor. | |
| ColormapFileYuvBlock (FireVisionDataFileBlock *block) | |
| Copy Constructor. | |
| unsigned int | range_from () const |
| Range from value. | |
| unsigned int | range_to () const |
| Range to value. | |
Detailed Description
YUV block for colormap file.
Definition at line 40 of file cmfile_yuvblock.h.
Constructor & Destructor Documentation
| ColormapFileYuvBlock::ColormapFileYuvBlock | ( | YuvColormap * | cm, | |
| unsigned int | level = 0 | |||
| ) |
Constructor.
- Parameters:
-
cm YUV colormap that this block shall represent. level Y level
Definition at line 40 of file cmfile_yuvblock.cpp.
References FireVisionDataFileBlock::_data, FireVisionDataFileBlock::_data_size, FireVisionDataFileBlock::_spec_header, YuvColormap::deepness(), YuvColormap::depth(), YuvColormap::get_buffer(), YuvColormap::plane_size(), cmfile_yuvblock_header_t::range_from, and cmfile_yuvblock_header_t::range_to.
| ColormapFileYuvBlock::ColormapFileYuvBlock | ( | FireVisionDataFileBlock * | block | ) |
Copy Constructor.
It is assumed that the block actually is a rectification LUT info block. Check that before calling this method.
- Parameters:
-
block block to copy
Definition at line 63 of file cmfile_yuvblock.cpp.
References FireVisionDataFileBlock::_spec_header.
Member Function Documentation
| unsigned int ColormapFileYuvBlock::range_from | ( | ) | const |
Range from value.
- Returns:
- range from value
Definition at line 74 of file cmfile_yuvblock.cpp.
References cmfile_yuvblock_header_t::range_from.
| unsigned int ColormapFileYuvBlock::range_to | ( | ) | const |
Range to value.
- Returns:
- range to value
Definition at line 84 of file cmfile_yuvblock.cpp.
References cmfile_yuvblock_header_t::range_to.
The documentation for this class was generated from the following files:
- src/firevision/fvutils/colormap/cmfile_yuvblock.h
- src/firevision/fvutils/colormap/cmfile_yuvblock.cpp

