Astra SDK
v2.1.3
|
#include <Image.hpp>
Public 成员函数 | |
ImageFrame (astra_imageframe_t frame, astra_pixel_format_t expected_format) | |
Default constructs 更多... | |
const bool | is_valid () const |
get is vaild 更多... | |
const int | width () const |
get width 更多... | |
const int | height () const |
get height 更多... | |
const std::uint8_t | bytes_per_pixel () const |
get bytes per pixel 更多... | |
const astra_frame_index_t | frame_index () const |
get frame index 更多... | |
const astra_imageframe_t | handle () const |
get handle 更多... | |
const TDataType * | data () const |
get data pointer 更多... | |
const size_t | byte_length () const |
get byte length 更多... | |
const size_t | length () const |
get length 更多... | |
void | copy_to (TDataType *buffer) const |
copy to buffer 更多... | |
void | rotate (int angle) |
静态 Public 成员函数 | |
static astra_stream_type_t | stream_type () |
get stream type 更多... | |
template<typename TFrameType > | |
static TFrameType | acquire (astra_reader_frame_t readerFrame, astra_stream_subtype_t subtype) |
acquire frame 更多... | |
Basic Image Frame
|
inline |
Default constructs
[in] | frame | |
[in] | expected_format |
|
inlinestatic |
acquire frame
|
inline |
get byte length
|
inline |
get bytes per pixel
|
inline |
copy to buffer
[in/out] | buffer |
|
inline |
get data pointer
|
inline |
get frame index
|
inline |
get handle
|
inline |
get height
|
inline |
get is vaild
|
inline |
get length
|
inline |
rotate image frame, such as depth, color, masked color
angle | the angle of clockwise direction rotation, can be 90 and 270. |
|
inlinestatic |
get stream type
|
inline |
get width