Struct sc_pipe_dld_image_3d_params_t

Struct Documentation

struct sc_pipe_dld_image_3d_params_t

Parameters for DLD_IMAGE_3D pipe type.

The size of one histogram in memory is roi.x * roi.y * roi.t * element_size, where element_size depends on the choice of depth. Please note, that modulo, binning and roi settings are applied in the same order like set in the structure. e.g. first modulo is applied, then binning and then roi.

Public Members

enum bitsize_t depth

Data type of histogram elements.

int channel

Filter by channel if >= 0 (-1 for normal detector)

unsigned long long modulo

if > 0, apply modulo operation to time value before inserting it into the histogram.

struct sc3du_t binning

x,y,time are divided by the respective binnings before adding into the histogram.

struct roi_t roi

Region of interest from which image will be built.

unsigned int accumulation_ms

Accumulation time.

void *allocator_owner

A pointer chosen by the user that gets passed back into the allocator_cb

int (*allocator_cb)(void*, void**)

User-provided allocator function, that the library calls to allocate memory for data. If set to NULL, the library uses internal memory allocation. The allocator_owner pointer is passed into the allocator_cb as the first argument during the call.