Skip to content

Struct jsBrightnessCorrection_BETA

ClassList > jsBrightnessCorrection_BETA

Structure used to adjust and scale the brightness values returned with scan data. The brightness is corrected in the following manner: More...

  • #include <joescan_pinchot.h>

Public Attributes

Type Name
uint8_t offset
Value to offset brightness for all scan data columns.
float scale_factors
Value to scale brightness for a particular column of scan data.

Detailed Description

new_brightness[col] = original_brightness[col] * scale_factors[col] + offset

Public Attributes Documentation

variable offset

uint8_t offset;

variable scale_factors

Value to scale brightness for a particular column of scan data.

float scale_factors[JS_SCAN_HEAD_DATA_COLUMNS_MAX_LEN];

Note:

The array entries correspond to the same position of profile data points as ordered in the jsRawProfile struct.



The documentation for this class was generated from the following file C:/Users/michp/Documents/Projects/fawkes/client-cpp/api/src/joescan_pinchot.h

Comments