piuspatch  v0.1
USB addition to PIE backend
Data Fields
PIE_USB_Calibration Struct Reference

Hold data from the last calibration. More...

#include <pie_usb.h>

Data Fields

int brightness [3]
int * shades
unsigned char * sensors
int mean_shade [4]
int target_shade [4]
PIE_USB_Calibration_Set cal_hiqual
PIE_USB_Calibration_Set cal_normal

Detailed Description

Hold data from the last calibration.

Initially loaded with default sets for exposure and gain but not shading

Definition at line 249 of file pie_usb.h.


Field Documentation

int brightness[3]

at next calibration tune scanner to this illumination

Definition at line 251 of file pie_usb.h.

calculated set for quality mode

Definition at line 257 of file pie_usb.h.

calculated set for normal mode

Definition at line 258 of file pie_usb.h.

int mean_shade[4]

RGBI, mean brightness of calibration lines

Definition at line 254 of file pie_usb.h.

unsigned char* sensors

array of 0x00 or 0x70, 0x00 means sensor element active

Definition at line 253 of file pie_usb.h.

int* shades

RGBI, summed up calibration lines, dimension [4][pixels]

Definition at line 252 of file pie_usb.h.

int target_shade[4]

illumination targets, target_shade[2] always sent from scanner, ir ?? currently faked

Definition at line 256 of file pie_usb.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines