Image

Retrive image data from a gather session.

gather_session_image_stream_count_get

uint gather_session_image_stream_count_get(GatherSession *session);

Description: Returns the number of image streams found in a session.

gather_session_image_stream_active

void gather_session_image_stream_active(GatherSession *session, uint stream_id, boolean active);

Description: activate or disable the stream so that its readable.

gather_session_image_stream_size

void gather_session_image_stream_size(GatherSession *session, uint stream_id, uint *x, uint *y);

Description: Writes out the X and Z resolution of the image stream

gather_session_image_stream_frame_rate

double gather_session_image_stream_frame_rate(GatherSession *session, uint stream_id);

Description: Returns the frame rate of the stream.

gather_session_image_stream_high_dynamic_range

boolean gather_session_image_stream_high_dynamic_range(GatherSession *session, uint stream_id);

Description: Returns TRUE if the image stream stores floats, and FALSE if the image stream stores uint8.

gather_session_image_stream_uint8_get

uint8 *gather_session_image_stream_uint8_get(GatherSession *session, uint stream_id);

Description: Returns a pointer to uint8 RGBA data containing the image.

gather_session_image_stream_float_get

float *gather_session_image_stream_float_get(GatherSession *session, uint stream_id);

Description: Returns a pointer to float RGBA data containing the image.

gather_session_image_stream_frame_advance

void gather_session_image_stream_frame_advance(GatherSession *session, uint stream_id);

Description: Reading the current frame has been completed, and requesting a new frame.

gather_session_image_stream_frame_start

double gather_session_image_stream_frame_start(GatherSession *session, uint stream_id);

Description: Time when the frame should first be displayed