Using the xfOpenCV Library Functions on Hardware

The following table lists the xfOpenCV library functions and their usage on hardware:

Table 1. Using the xfOpenCV Library Function on Hardware
Example Function Name Usage on Hardware
Accumulate xFaccumulate ./<executable name>.elf <path to input image 1> <path to input image 2>
accumulatesquared xFaccumulateSquare ./<executable name>.elf <path to input image 1> <path to input image 2>
accumulateweighted xFaccumulateWeighted ./<executable name>.elf <path to input image 1> <path to input image 2>
Arithm xFabsdiff, xFadd, xFsubtract, xFbitwise_and, xFbitwise_or, xFbitwise_not, xFbitwise_xor ./<executable name>.elf <path to input image 1> <path to input image 2>
Bilateralfilter xFBilateralFilter ./<executable name>.elf <path to input image>
Boxfilter xFboxfilter ./<executable name>.elf <path to input image>
Canny xFcanny ./<executable name>.elf <path to input image>
channelcombine xFmerge ./<executable name>.elf <path to input image 1> <path to input image 2> <path to input image 3> <path to input image 4>
Channelextract xFextractChannel ./<executable name>.elf <path to input image>
Convertbitdepth xFconvertTo ./<executable name>.elf <path to input image>
Customconv xFfilter2D ./<executable name>.elf <path to input image>
cvtcolor IYUV2NV12 xFiyuv2nv12 ./<executable name>.elf <path to input image 1> <path to input image 2> <path to input image 3>
cvtcolor IYUV2RGBA xFiyuv2rgba ./<executable name>.elf <path to input image 1> <path to input image 2> <path to input image 3>
cvtcolor IYUV2YUV4 xFiyuv2yuv4 ./<executable name>.elf <path to input image 1> <path to input image 2> <path to input image 3> <path to input image 4> <path to input image 5> <path to input image 6>
cvtcolor NV122IYUV xFnv122iyuv ./<executable name>.elf <path to input image 1> <path to input image 2>
cvtcolor NV122RGBA xFnv122rgba ./<executable name>.elf <path to input image 1> <path to input image 2>
cvtcolor NV122YUV4 xFnv122yuv4 ./<executable name>.elf <path to input image 1> <path to input image 2>
cvtcolor NV212IYUV xFnv212iyuv ./<executable name>.elf <path to input image 1> <path to input image 2>
cvtcolor NV212RGBA xFnv212rgba ./<executable name>.elf <path to input image 1> <path to input image 2>
cvtcolor NV212YUV4 xFnv212yuv4 ./<executable name>.elf <path to input image 1> <path to input image 2>
cvtcolor RGBA2YUV4 xFrgba2yuv4 ./<executable name>.elf <path to input image>
cvtcolor RGBA2IYUV xFrgba2iyuv ./<executable name>.elf <path to input image>
cvtcolor RGBA2NV12 xFrgba2nv12 ./<executable name>.elf <path to input image>
cvtcolor RGBA2NV21 xFrgba2nv21 ./<executable name>.elf <path to input image>
cvtcolor UYVY2IYUV xFuyvy2iyuv ./<executable name>.elf <path to input image>
cvtcolor UYVY2NV12 xFuyvy2nv12 ./<executable name>.elf <path to input image>
cvtcolor UYVY2RGBA xFuyvy2rgba ./<executable name>.elf <path to input image>
cvtcolor YUYV2IYUV xFyuyv2iyuv ./<executable name>.elf <path to input image>
cvtcolor YUYV2NV12 xFyuyv2nv12 ./<executable name>.elf <path to input image>
cvtcolor YUYV2RGBA xFyuyv2rgba ./<executable name>.elf <path to input image>
Dilation xFdilate ./<executable name>.elf <path to input image>
Erosion xFerode ./<executable name>.elf <path to input image>
Fast xFFAST ./<executable name>.elf <path to input image>
Gaussianfilter xFGaussianBlur ./<executable name>.elf <path to input image>
Harris xFCornerHarris ./<executable name>.elf <path to input image>
Histogram xFcalcHist ./<executable name>.elf <path to input image>
Histequialize xFequalizeHist ./<executable name>.elf <path to input image>
Hog xFHOGDescriptor ./<executable name>.elf <path to input image>
Integralimg xFIntegralImage ./<executable name>.elf <path to input image>
Lkdensepyrof xFDensePyrOpticalFlow ./<executable name>.elf <path to input image 1> <path to input image 2>
Lknpyroflow xFDenseNonPyrLKOpticalFlow ./<executable name>.elf <path to input image 1> <path to input image 2>
Lut xFLUT ./<executable name>.elf <path to input image>
Magnitude xFmagnitude ./<executable name>.elf <path to input image>
meanshifttracking xFMeanShift ./<executable name>.elf <path to input input video/input image files> <Number of objects to track>
meanstddev xFmeanstd ./<executable name>.elf <path to input image>
medianblur xFMedianBlur ./<executable name>.elf <path to input image>
Minmaxloc xFminMaxLoc ./<executable name>.elf <path to input image>
otsuthreshold xFOtsuThreshold ./<executable name>.elf <path to input image>
Phase xFphase ./<executable name>.elf <path to input image>
Pyrdown xFPyrDown ./<executable name>.elf <path to input image>
Pyrup xFPyrUp ./<executable name>.elf <path to input image>
remap xFRemap ./<executable name>.elf <path to input image> <path to mapx data> <path to mapy data>
Resize xFResize ./<executable name>.elf <path to input image>
scharrfilter xFScharr ./<executable name>.elf <path to input image>
sobelfilter xFSobel ./<executable name>.elf <path to input image>
stereopipeline xFStereoPipeline ./<executable name>.elf <path to left image> <path to right image>
stereolbm xFStereoBM ./<executable name>.elf <path to left image> <path to right image>
Svm xFSVM ./<executable name>.elf
threshold xFThreshold ./<executable name>.elf <path to input image>
warpaffine xFwarpAffine ./<executable name>.elf <path to input image>
warpperspective xFperspective ./<executable name>.elf <path to input image>
warptransform xFWarpTransform ./<executable name>.elf <path to input image>