Skip to content

Struct jsCameraImage

ClassList > jsCameraImage

This structure is used to return a grayscale image capture from the scan head.

  • #include <joescan_pinchot.h>

Public Attributes

Type Name
jsCamera camera
The camera used to capture the image.
uint32_t camera_exposure_time_us
Time in microseconds for the camera's exposure.
uint8_t data
An array of pixel data representing the image.
uint64_t encoder_values
Array holding current encoder values.
uint32_t image_height
The overall height of the image in pixels.
uint32_t image_width
The overall width of the image in pixels.
jsLaser laser
The laser used during the image capture.
uint32_t laser_on_time_us
Time in microseconds the laser is emitting.
uint32_t num_encoder_values
Number of encoder values in this profile.
uint32_t scan_head_id
The Id of the scan head that the image originates from.
uint64_t timestamp_ns
Time of the scan head in nanoseconds when image was taken.

Public Attributes Documentation

camera

The camera used to capture the image.

jsCamera camera;


camera_exposure_time_us

Time in microseconds for the camera's exposure.

uint32_t camera_exposure_time_us;


data

An array of pixel data representing the image.

uint8_t data[JS_CAMERA_IMAGE_DATA_LEN];


encoder_values

Array holding current encoder values.

uint64_t encoder_values[JS_ENCODER_MAX];


image_height

The overall height of the image in pixels.

uint32_t image_height;


image_width

The overall width of the image in pixels.

uint32_t image_width;


laser

The laser used during the image capture.

jsLaser laser;


laser_on_time_us

Time in microseconds the laser is emitting.

uint32_t laser_on_time_us;


num_encoder_values

Number of encoder values in this profile.

uint32_t num_encoder_values;


scan_head_id

The Id of the scan head that the image originates from.

uint32_t scan_head_id;


timestamp_ns

Time of the scan head in nanoseconds when image was taken.

uint64_t timestamp_ns;