24 #ifndef __FIREVISION_FVUTILS_COLORMAP_CMFILE_H_ 25 #define __FIREVISION_FVUTILS_COLORMAP_CMFILE_H_ 27 #include <fvutils/fileformat/fvfile.h> 28 #include <fvutils/colormap/cmfile_block.h> 40 #define CMFILE_MAGIC_TOKEN 0xFF01 41 #define CMFILE_CUR_VERSION 2 43 #define CMFILE_TYPE_YUV 1 67 void add_colormap(
Colormap *colormap);
73 uint16_t get_height();
75 static bool is_colormap_file(
const char *filename);
76 static std::string compose_filename(
const std::string format);
81 inline void assert_header();
virtual unsigned int depth() const =0
Get depth of colormap.
virtual unsigned int height() const =0
Get height of colormap.
Vector of colormap blocks.
FireVision File Format for data files.
virtual unsigned int width() const =0
Get width of colormap.