Astra SDK  v2.1.3
函数

函数

ASTRA_API_EX astra_status_t astra_imagestream_get_mirroring (astra_imagestream_t imageStream, bool *mirroring)
 
ASTRA_API_EX astra_status_t astra_imagestream_set_mirroring (astra_imagestream_t imageStream, bool mirroring)
 
ASTRA_API_EX astra_status_t astra_imagestream_get_hfov (astra_imagestream_t imageStream, float *hFov)
 
ASTRA_API_EX astra_status_t astra_imagestream_get_vfov (astra_imagestream_t imageStream, float *vFov)
 
ASTRA_API_EX astra_status_t astra_imagestream_get_usb_info (astra_imagestream_t imageStream, astra_usb_info_t *usbInfo)
 
ASTRA_API_EX astra_status_t astra_imagestream_request_modes (astra_imagestream_t imageStream, astra_result_token_t *token, uint32_t *count)
 
ASTRA_API_EX astra_status_t astra_imagestream_get_modes_result (astra_imagestream_t imageStream, astra_result_token_t token, astra_imagestream_mode_t *modes, uint32_t count)
 
ASTRA_API_EX astra_status_t astra_imagestream_get_mode (astra_imagestream_t imageStream, astra_imagestream_mode_t *mode)
 
ASTRA_API_EX astra_status_t astra_imagestream_set_mode (astra_imagestream_t imageStream, const astra_imagestream_mode_t *mode)
 
ASTRA_API_EX astra_status_t astra_reader_get_imageframe (astra_reader_frame_t readerFrame, astra_stream_type_t type, astra_stream_subtype_t subtype, astra_imageframe_t *imageFrame)
 
ASTRA_API_EX astra_status_t astra_imageframe_get_stream (astra_imageframe_t imageFrame, astra_streamconnection_t *stream)
 
ASTRA_API_EX astra_status_t astra_imageframe_get_frameindex (astra_imageframe_t imageFrame, astra_frame_index_t *index)
 
ASTRA_API_EX astra_status_t astra_imageframe_get_data_byte_length (astra_imageframe_t imageFrame, uint32_t *byteLength)
 
ASTRA_API_EX astra_status_t astra_imageframe_get_data_ptr (astra_imageframe_t imageFrame, void **data, uint32_t *byteLength)
 
ASTRA_API_EX astra_status_t astra_imageframe_copy_data (astra_imageframe_t imageFrame, void *data)
 
ASTRA_API_EX astra_status_t astra_imageframe_get_metadata (astra_imageframe_t imageFrame, astra_image_metadata_t *metadata)
 
ASTRA_API_EX astra_status_t astra_imageframe_rotate (astra_imageframe_t imageFrame, int angle)
 
ASTRA_API_EX void astra_pixelformat_get_bytes_per_pixel (astra_pixel_format_t format, uint8_t *bpp)
 

详细描述

函数说明

◆ astra_imageframe_rotate()

ASTRA_API_EX astra_status_t astra_imageframe_rotate ( astra_imageframe_t  imageFrame,
int  angle 
)

rotate image frame, such as depth, color, masked color.

参数
anglethe angle of clockwise direction rotation, can be 90 and 270.