xfOpenCV Library API Reference

To facilitate local memory allocation on FPGA devices, the xfOpenCV library functions are provided in templates with compile-time parameters. Data is explicitly copied from cv::Mat to xF::Mat and is stored in physically contiguous memory to achieve the best possible performance. After processing, the output in xF::Mat is copied back to cv::Mat to write it into the memory.