42 Frame::Frame(uint16_t height, uint16_t width, uint16_t returns_size, uint16_t slices_size)
43 : height_(height), width_(width), returns_size_(returns_size), slices_size_(slices_size)
Pixel & atPixel(Col x, Row y)
uint16_t Col
Column number data type.
Frame(uint16_t height, uint16_t width, uint16_t returns_size, uint16_t slices_size)
Storages and handles the pixel data component.
This file defines the camera's Frame class.
size_t returns_size_
Number of returns per pixel.
size_t width_
Number of columns.
uint16_t Row
Row number data type.
std::vector< std::vector< Pixel > > pixels
Pixel data array.
size_t height_
Number of rows.
size_t slices_size_
Number of slices per pixel.