24 #ifndef _FIREVISIONE_FVUTILS_STATISTICAL_HISTOGRAM_BLOCK_H_
25 #define _FIREVISIONE_FVUTILS_STATISTICAL_HISTOGRAM_BLOCK_H_
27 #include <fvutils/base/roi.h>
28 #include <fvutils/fileformat/fvfile_block.h>
32 namespace firevision {
35 typedef struct _histogram_block_header_t
44 typedef enum _histogram_block_type_t {
45 FIREVISION_HISTOGRAM_TYPE_16 = 0,
46 FIREVISION_HISTOGRAM_TYPE_32 = 1
47 } histogram_block_type_t;
61 uint16_t
width()
const;
63 uint16_t
depth()
const;
70 void set_value(uint16_t x, uint16_t y, uint32_t val);
71 void set_value(uint16_t x, uint16_t y, uint16_t z, uint32_t val);
73 uint32_t
get_value(uint16_t x, uint16_t y);
74 uint32_t
get_value(uint16_t x, uint16_t y, uint16_t z);
80 uint32_t * _histogram_data;