Purchase options
You can buy the software by bank transfer. Bank transfer available only for companies. To buy software by bank transfer please send us request to info@constantrobotics.com. Also, you can buy technical support service for this product.
Downloads
Programmer’s manual: DOWNLOAD
Overview
FormatConverterOpenCv library intended to convert pixels formats of images between each others. FormatConverterOpenCv supports all uncompressed pixel formats (conversion between each other) listed in Fourcc enum (RGB24, BGR24, YUYV, UYVY, GRAY, YUV24, NV12, NV21, YU12, YV12) of Frame library (defines video frame object and pixel formats). FormatConverterOpenCv uses OpenCV library (version 4.5.0 and more) to convert particular pixel formats. Main file FormatConverterOpenCv.h contains declaration of FormatConverterOpenCv class. The motivation of the library is to provide conversion method between all pixel formats listed in Frame library even if it is not supported by OpenCV library. The library uses C++17 standard and compatible with Linux and Windows.
Simple interface
namespace cr
{
namespace video
{
/// Frame pixel format converter class.
class FormatConverterOpenCv
{
public:
/// Static method to obtain class version.
static std::string getVersion();
/// Convert pixel format.
bool convert(Frame& src, Frame& dst);
};
}
}