DigitalZoom C++ lib. Digital zoom implementation based on OpenCV
The DigitalZoom C++ library implements digital zoom based on OpenCV.
LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.
The DigitalZoom C++ library implements digital zoom based on OpenCV.
LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.
The DigitalZoom C++ library implements digital zoom based on OpenCV.
LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.
Purchase options
You can by this software online by card or 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
The DigitalZoom C++ library implements digital zoom based on OpenCV. The library supports different interpolation algorithms: bicubic interpolation, resampling using pixel area relation, Lanczos 8x8, bilinear interpolation, bit exact bilinear interpolation, nearest neighbor interpolation and bit exact nearest neighbor interpolation. The library supports digital zoom level from x1 to x20. The library depends on VFilter library (provides interface for video filter, source code included, Apache 2.0 license) and OpenCV library (version >= 4.5, linked, Apache 2.0 license). The library uses C++17 standard.
VFilter compatible interface
class DigitalZoom : public VFilter
{
public:
/// Get the version of the DigitalZoom class.
static std::string getVersion();
/// Initialize digital zoom.
bool initVFilter(VFilterParams& params) override;
/// Set VFilter parameter.
bool setParam(VFilterParam id, float value) override;
/// Get the value of a specific VFilter parameter.
float getParam(VFilterParam id) override;
/// Get the structure containing all VFilter parameters.
void getParams(VFilterParams& params) override;
/// Execute a VFilter action command.
bool executeCommand(VFilterCommand id) override;
/// Process frame.
bool processFrame(cr::video::Frame& frame) override;
/// Set mask for filter.
bool setMask(cr::video::Frame mask) override;
/// Decode and execute command.
bool decodeAndExecuteCommand(uint8_t* data, int size) override;
};