ChimeraTK-DeviceAccess  03.18.00
ChimeraTK::ImgHeader Struct Reference

Image header. More...

#include <MappedImage.h>

+ Inheritance diagram for ChimeraTK::ImgHeader:
+ Collaboration diagram for ChimeraTK::ImgHeader:

Public Member Functions

 ImgHeader ()
 
- Public Member Functions inherited from ChimeraTK::OpaqueStructHeader
 OpaqueStructHeader (std::type_index dataTypeId_)
 

Public Attributes

uint32_t width = 0
 
uint32_t height = 0
 
int32_t x_start = 0
 start coordinates, in output More...
 
int32_t y_start = 0
 
float scale_x = 1
 can be used in output to provide scaled coordinates More...
 
float scale_y = 1
 
uint32_t channels = 0
 gray=1, rgb=3, rgba=4 More...
 
uint32_t bytesPerPixel = 0
 
uint32_t effBitsPerPixel = 0
 effective bits per pixel More...
 
ImgFormat image_format {ImgFormat::Unset}
 
ImgOptions options {ImgOptions::RowMajor}
 
uint64_t frame = 0
 frame number/counter More...
 
- Public Attributes inherited from ChimeraTK::OpaqueStructHeader
std::type_index dataTypeId
 
uint32_t totalLength = 0
 

Detailed Description

Image header.

Definition at line 86 of file MappedImage.h.

Constructor & Destructor Documentation

◆ ImgHeader()

ChimeraTK::ImgHeader::ImgHeader ( )
inline

Definition at line 87 of file MappedImage.h.

Member Data Documentation

◆ bytesPerPixel

uint32_t ChimeraTK::ImgHeader::bytesPerPixel = 0

Definition at line 99 of file MappedImage.h.

◆ channels

uint32_t ChimeraTK::ImgHeader::channels = 0

gray=1, rgb=3, rgba=4

Definition at line 98 of file MappedImage.h.

◆ effBitsPerPixel

uint32_t ChimeraTK::ImgHeader::effBitsPerPixel = 0

effective bits per pixel

Definition at line 101 of file MappedImage.h.

◆ frame

uint64_t ChimeraTK::ImgHeader::frame = 0

frame number/counter

Definition at line 105 of file MappedImage.h.

◆ height

uint32_t ChimeraTK::ImgHeader::height = 0

Definition at line 90 of file MappedImage.h.

◆ image_format

ImgFormat ChimeraTK::ImgHeader::image_format {ImgFormat::Unset}

Definition at line 102 of file MappedImage.h.

◆ options

ImgOptions ChimeraTK::ImgHeader::options {ImgOptions::RowMajor}

Definition at line 103 of file MappedImage.h.

◆ scale_x

float ChimeraTK::ImgHeader::scale_x = 1

can be used in output to provide scaled coordinates

Definition at line 95 of file MappedImage.h.

◆ scale_y

float ChimeraTK::ImgHeader::scale_y = 1

Definition at line 96 of file MappedImage.h.

◆ width

uint32_t ChimeraTK::ImgHeader::width = 0

Definition at line 89 of file MappedImage.h.

◆ x_start

int32_t ChimeraTK::ImgHeader::x_start = 0

start coordinates, in output

Definition at line 92 of file MappedImage.h.

◆ y_start

int32_t ChimeraTK::ImgHeader::y_start = 0

Definition at line 93 of file MappedImage.h.


The documentation for this struct was generated from the following file: