Struct CameraParameters#

Struct Documentation#

struct CameraParameters

Public Functions

QJsonObject to_json() const

Public Members

QString serialNumber
QString friendlyName = "Camera"
int width = 1920
int height = 1080
int offsetX = 0
int offsetY = 0
bool reverseX = false
bool reverseY = false
QString pixelFormat = "BGR8"
bool specifyFps = true
double fps = 25.0
QString exposureAuto = "Once"
double exposureTimeUs = 10000.0
double exposureAutoLowerUs = 100.0
double exposureAutoUpperUs = 50000.0
QString gainAuto = "Once"
double gainDb = 0.0
double gainAutoLowerDb = 0.0
double gainAutoUpperDb = 24.0
double gamma = 1.0
double blackLevel = 0.0
QString balanceWhiteAuto = "Once"
double balanceRatioRed = 1.0
double balanceRatioBlue = 1.0
double saturation = 1.0
double contrast = 1.0
double brightness = 0.5
double autoTargetBrightness = 0.5
int digitalShift = 0
bool hwTriggerEnabled = true
QString hwTriggerSource = "Action1"
double hwTriggerDelayUs = 0.0
bool liveAnalysisEnabled = true
QString testPattern = "Off"
CalibrationData calibration

Public Static Functions

static std::optional<CameraParameters> from_json(const QJsonObject&)