IRSOL
C++ code implementing socket server for interacting with Baumer camera.
opencv.hpp File Reference

OpenCV integration utilities for NeoAPI image handling. More...

#include <neoapi/neoapi.hpp>
#include <opencv2/opencv.hpp>

Go to the source code of this file.

Namespaces

namespace  irsol
 
namespace  opencv
 Provides utilities for interoperability between NeoAPI and OpenCV.
 
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.
 

Detailed Description

OpenCV integration utilities for NeoAPI image handling.

This header defines functions and types for converting Baumer NeoAPI image objects into OpenCV cv::Mat objects. These utilities are only available if OpenCV is detected by CMake at build time.

Definition in file opencv.hpp.