Describes a LUT file header.
More...
Describes a LUT file header.
◆ __init__()
def carputils.carpio.lut.LUTHeader.__init__ |
( |
|
self, |
|
|
|
rows, |
|
|
|
cols, |
|
|
|
big_endian |
|
) |
| |
- Parameters
-
rows | (int) The number of rows in the file |
cols | (int) The number of columns in the file |
big_endian | (bool) Whether the file is big endian or not |
◆ from_binary()
def carputils.carpio.lut.LUTHeader.from_binary |
( |
|
cls, |
|
|
|
binary |
|
) |
| |
Generate a LUT header from the binary header data.
- Parameters
-
binary | (bytes) The binary header from a LUT file |
- Returns
LUTHeader
class.
◆ big_endian
carputils.carpio.lut.LUTHeader.big_endian |
◆ cols
carputils.carpio.lut.LUTHeader.cols |
◆ rows
carputils.carpio.lut.LUTHeader.rows |
The documentation for this class was generated from the following file: