Using VimbaXBridge¶
This code snippet shows how to go from an VimbaX frame to an EVimbaXImageBW8, compatible with eVision processing.
C++¶
#include <eVision/VimbaXBridge.h>
#include <eVision/EasyImage/EasyImage.h>
// Get a EVimbaXImage from a C (VmbFrame_t) or C++ (VmbCPP::FramePtr)
// frame pointer. If vmbTransform has been included, an automatic
// pixel format conversion will be performed if needed.
VimbaXBridge::EVimbaXImageBW8 image(frame);
// Use the EVimbaXImageBW8 as an eVision EImage Object
// Here an inversion of the image is performed EImageBW8
EImageBW8 invertedImage(image.GetWidth(), image.GetHeight());
EasyImage::Oper(EArithmeticLogicOperation_Invert, &image, &invertedImage);
C#¶
Warning
This snippet is not available in this language.
Python¶
Warning
This snippet is not available in this language.