24 #ifndef _FIREVISION_FVUTILS_RECTIFICATION_RECTINFO_LUT_BLOCK_H_ 25 #define _FIREVISION_FVUTILS_RECTIFICATION_RECTINFO_LUT_BLOCK_H_ 27 #include <fvutils/rectification/rectinfo_block.h> 29 namespace firevision {
37 void set_mapping(uint16_t x, uint16_t y, uint16_t to_x, uint16_t to_y);
38 virtual void mapping(uint16_t x, uint16_t y, uint16_t *to_x, uint16_t *to_y);
uint16_t pixel_width()
Get width of the LUT.
Recitification Lookup Table Block.
FireVision File Format data block.
RectificationLutInfoBlock(uint16_t width, uint16_t height, uint8_t camera)
Constructor.
Data type used to build a rectification LUT.
virtual void mapping(uint16_t x, uint16_t y, uint16_t *to_x, uint16_t *to_y)
Get mapping (to_x, to_y) for (x, y).
uint16_t pixel_height()
Get height the LUT.
Rectification info block.
void set_mapping(uint16_t x, uint16_t y, uint16_t to_x, uint16_t to_y)
Set mapping.
rectinfo_lut_16x16_entry_t * lut_data()
Get raw LUT data.
uint8_t camera() const
Get block camera identifier.