MxVisionInfo
功能
Stream流中插件之间流转的视觉数据的形态信息。
结构定义
struct MxVisionInfo {
uint32_t format;
uint32_t width;
uint32_t height;
uint32_t widthAligned;
uint32_t heightAligned;
uint32_t resizeType;
float keepAspectRatioScaling;
}
参数说明
参数名 |
输入/输出 |
说明 |
|---|---|---|
format |
输入 |
视觉数据的类型,参考MxbasePixelFormat。 |
width |
输入 |
数据的宽。 |
height |
输入 |
数据的高。 |
widthAligned |
输入 |
数据对齐后的宽。 |
heightAligned |
输入 |
数据对齐后的高。 |
resizeType |
输入 |
缩放类型,参考ResizedImageInfo中的“resizeType”字段。 |
keeAspectRatioScaling |
输入 |
缩放比率。 |
父主题: 数据结构