IRSOL
C++ code implementing socket server for interacting with Baumer camera.
opencv.cpp File Reference
#include "irsol/opencv.hpp"
#include "irsol/assert.hpp"
#include "irsol/camera/pixel_format.hpp"
#include <neoapi/neoapi.hpp>
#include <opencv2/opencv.hpp>

Go to the source code of this file.

Namespaces

namespace  irsol
 
namespace  irsol::opencv
 

Functions

cv::Mat irsol::opencv::convertNeoImageToCvMat (const NeoAPI::Image &image)
 Converts a NeoAPI::Image (Mono12, non-packed) into an OpenCV cv::Mat.
 
cv::Mat irsol::opencv::createCvMatFromIrsolServerBuffer (unsigned char *data, size_t rows, size_t cols)
 Creates an OpenCV cv::Mat from a raw buffer received from the IRSOL server.