All Vitis vision library functions follow a common format. The following properties hold true for all the functions.
- All the functions are designed as templates and all arguments that
are images, must be provided as
xf::cv::Mat
. - All functions are defined in the
xf::cv
namespace. - Some of the major template arguments are:
- Maximum size of the image to be processed
- Datatype defining the properties of each pixel
- Number of pixels to be processed per clock cycle
- Depth of the hls::stream defined in
xf::cv::Mat
- Other compile-time arguments relevent to the functionality.
The Vitis vision library contains enumerated datatypes which enables you to
configure xf::cv::Mat
. For more details on xf::cv::Mat
, see the xf::cv::Mat
Image Container Class.