VimbaXBridge - Using Images from VimbaX Sources¶
VimbaXBridge and VimbaX¶
VimbaXBridge is a user-friendly namespace of conversion classes. These classes perform the direct conversion from a buffer originating from VimbaX to an eVision data container.
Prerequisites¶
Open eVision 23.12 (or newer)
VimbaX 1.0 (or newer)
Libraries¶
To use VimbaXBridge in C++, include the main VimbaX headers before the eVision header.
#include <VmbC/VmbC.h> // or #include <VmbCPP/VmbCPP.h> #include <VmbImageTransform/VmbTransform.h> #include "eVision.h" // or #include "Easy.h"
Data Containers¶
VimbaXBridge is part of the main eVision header.
The
VmbImageTransformheader is required only if you need to perform a pixel format conversion.Each VimbaXBridge class derives from a specific data container.
The following classes are implemented:
Base class
VimbaXBridge class
Corresponding GenAPI pixel format
Mono8, BayerGR8, BayerRG8, BayerGB8, BayerBG8Mono16, BayerGR16, BayerRG16, BayerGB16, BayerBG16BGR8These classes have 2 constructors:
1 that requires only a VimbaX C frame descriptor and an optional color transformation directive.
1 that requires only a VimbaX C++ frame descriptor and an optional color transformation directive.
Scope and copy of the buffer: eVision does not perform any copy of the buffer unless:
You require a pixel format conversion.
The color transformation directive is set to
Always, in which case a copy is always performed.
See Also¶
Easy to understand, ready to copy code snippets.
Python sample acquiring image using VimbaXBridge.