Skip to content

Struct CameraData

ClassList > CameraData

Structure to hold metadata from camera such as type, family, etc. More...

  • #include <constants.h>

Public Attributes

Type Name
std::vector< int > bgrChannels
QString cameraFamily
QString cameraType
std::vector< int > mosaicShape

Public Static Functions

Type Name
CameraData fromJson (const QJsonObject & jsonObject)

Detailed Description

Structure to hold camera meta information such as type, family and mosaic shape. This can be initialized from a QJsonObject using CameraData.fromJson .

Public Attributes Documentation

variable bgrChannels

std::vector<int> CameraData::bgrChannels;

variable cameraFamily

QString CameraData::cameraFamily;

variable cameraType

QString CameraData::cameraType;

variable mosaicShape

std::vector<int> CameraData::mosaicShape;

Public Static Functions Documentation

function fromJson

static inline CameraData CameraData::fromJson (
    const QJsonObject & jsonObject
) 

Method to initialize camera metadata object from a QJsonObject.

Parameters:

  • jsonObject Object containing camera metadata: cameraType, cameraFamily, mosaicWidth, mosaicHeight, bgrChannels.

Returns:

structure containing the camera metadata.



The documentation for this class was generated from the following file src/constants.h