OpenVX基本视觉功能 1.输入输出表 OpenVX附带了一组标准的或基本的视觉功能。表2-1列出了支持的视觉功能集、输入类型(见表2-1)和输出类型(见表2-2),以及支持的OpenVX版本。
表2-1 OpenVX视觉功能输入参数
视觉功能 |
U1 |
S8 |
U8 |
U16 |
S16 |
U32 |
F32 |
颜色 |
其他 |
AbsDiff |
|
|
1.0 |
|
1.0.1 |
|
|
|
|
Add |
|
|
1.0 |
|
1.0 |
|
|
|
|
And |
1.3 |
|
1.0 |
|
|
|
|
|
|
BilateralFilter |
|
|
1.2 |
|
1.2 |
|
|
|
|
Box3x3 |
|
|
1.0 |
|
|
|
|
|
|
CannyEdgeDetector |
|
|
1.0 |
|
|
|
|
|
|
ChannelCombine |
|
|
1.0 |
|
|
|
|
|
|
ChannelExtract |
|
|
|
|
|
|
|
1.0 |
|
ColorConvert |
|
|
|
|
|
|
|
1.0 |
|
ConvertDepth |
1.3 |
|
1.0 |
|
1.0 |
|
|
|
|
Convolve |
|
|
1.0 |
|
|
|
|
|
|
Copy (image object) |
|
|
|
|
|
|
|
|
1.2 |
Dilate3x3 |
1.3 |
|
1.0 |
|
|
|
|
|
|
EqualizeHist |
|
|
1.0 |
|
|
|
|
|
|
Erode3x3 |
1.3 |
|
1.0 |
|
|
|
|
|
|
FastCorners |
|
|
1.0 |
|
|
|
|
|
|
Gaussian3x3 |
|
|
1.0 |
|
|
|
|
|
|
GaussianPyramid |
|
|
1.0 |
|
|
|
|
|
|
HarrisCorners |
|
|
1.0 |
|
|
|
|
|
|
HalfScaleGaussian |
|
|
1.0 |
|
|
|
|
|
|
HarrisCorners |
|
|
1.0 |
|
|
|
|
|
|
HOGCells |
|
|
1.2 |
|
|
|
|
|
|
HOGFeatures |
|
|
1.2 |
|
|
|
|
|
|
HoughLinesP |
1.3 |
|
1.2 |
|
|
|
|
|
|
IntegralImage |
|
|
1.0 |
|
|
|
|
|
|
LaplacianPyramid |
|
|
1.1 |
|
|
|
|
|
|
LaplacianReconstruct |
|
|
|
|
1.1 |
|
|
|
|
LBP |
|
|
1.2 |
|
|
|
|
|
|
Magnitude |
|
|
|
|
1.0 |
|
|
|
|
MatchTemplate |
|
|
1.2 |
|
|
|
|
|
|
MeanStdDev |
1.3 |
|
1.0 |
|
|
|
|
|
|
Median3x3 |
1.3 |
|
1.0 |
|
|
|
|
|
|
Max |
|
|
1.2 |
|
1.2 |
|
|
|
|
Min |
|
|
1.2 |
|
1.2 |
|
|
|
|
MinMaxLoc |
|
|
1.0 |
|
1.0 |
|
|
|
|
Multiply |
|
|
1.0 |
|
1.0 |
|
|
|
|
NonLinearFilter |
1.3 |
|
1.1 |
|
|
|
|
|
|
NonMaxSuppression |
1.3 |
|
1.2 |
|
1.2 |
|
|
|
|
Not |
1.3 |
|
1.0 |
|
|
|
|
|
|
OpticalFlowPyrLK |
|
|
1.0 |
|
|
|
|
|
|
Or |
1.3 |
|
1.0 |
|
|
|
|
|
|
Phase |
|
|
|
|
1.0 |
|
|
|
|
Remap |
|
|
1.0 |
|
|
|
|
|
|
ScaleImage |
1.3 |
|
1.0 |
|
|
|
|
|
|
Sobel3x3 |
|
|
1.0 |
|
|
|
|
|
|
Subtract |
|
|
1.0 |
|
1.0 |
|
|
|
|
TableLookup |
|
|
1.0 |
|
1.1 |
|
|
|
|
TensorMultiply |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorAdd |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorSubtract |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorMatrixMultiply |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorTableLookup |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorTranspose |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
Threshold |
|
|
1.0 |
|
1.1 |
|
|
|
|
WarpAffine |
1.3 |
|
1.0 |
|
|
|
|
|
|
WarpPerspective |
|
|
1.0 |
|
|
|
|
|
|
WeightedAverage |
|
|
1.3 |
|
|
|
|
|
|
Xor |
1.3 |
|
1.0 |
|
|
|
|
|
|
表2-2 OpenVX视觉功能输出参数
视觉功能 |
U1 |
S8 |
U8 |
U16 |
S16 |
U32 |
F32 |
颜色 |
其它 |
AbsDiff |
|
|
1.0 |
|
1.0.1 |
|
|
|
|
Add |
|
|
1.0 |
|
1.0 |
|
|
|
|
And |
1.3 |
|
1.0 |
|
|
|
|
|
|
BilateralFilter |
|
|
1.2 |
|
1.2 |
|
|
|
|
Box3x3 |
|
|
1.0 |
|
|
|
|
|
|
CannyEdgeDetector |
1.3 |
|
1.0 |
|
|
|
|
|
|
ChannelCombine |
|
|
|
|
|
|
|
1.0 |
|
ChannelExtract |
|
|
1.0 |
|
|
|
|
|
|
ColorConvert |
|
|
|
|
|
|
|
1.0 |
|
ConvertDepth |
1.3 |
|
1.0 |
|
1.0 |
|
|
|
|
Convolve |
|
|
1.0 |
|
1.0 |
|
|
|
|
Copy (图像目标) |
|
|
|
|
|
|
|
|
1.2 |
Dilate3x3 |
1.3 |
|
1.0 |
|
|
|
|
|
|
EqualizeHist |
|
|
1.0 |
|
|
|
|
|
|
Erode3x3 |
1.3 |
|
1.0 |
|
|
|
|
|
|
FastCorners |
|
|
1.0 |
|
|
|
|
|
|
Gaussian3x3 |
|
|
1.0 |
|
|
|
|
|
|
GaussianPyramid |
|
|
1.0 |
|
|
|
|
|
|
HarrisCorners |
|
|
1.0 |
|
|
|
|
|
|
HalfScaleGaussian |
|
|
1.0 |
|
|
|
|
|
|
HarrisCorners |
|
|
|
|
|
1.0 |
|
|
|
HOGCells |
|
1.2 |
|
|
1.2 |
|
|
|
|
HOGFeatures |
|
1.2 |
|
|
1.2 |
|
|
|
|
HoughLinesP |
|
|
|
|
|
|
|
|
1.2 |
IntegralImage |
|
|
|
|
|
1.0 |
|
|
|
LaplacianPyramid |
|
|
|
|
1.1 |
|
|
|
|
LaplacianReconstruct |
|
|
1.1 |
|
|
|
|
|
|
LBP |
|
|
1.2 |
|
|
|
|
|
|
Magnitude |
|
|
|
|
1.0 |
|
|
|
|
MatchTemplate |
|
|
1.2 |
|
|
|
|
|
|
MeanStdDev |
|
|
|
|
|
|
1.0 |
|
|
Median3x3 |
1.3 |
|
1.0 |
|
|
|
|
|
|
Max |
|
|
1.2 |
|
1.2 |
|
|
|
|
Min |
|
|
1.2 |
|
1.2 |
|
|
|
|
MinMaxLoc |
|
|
1.0 |
|
1.0 |
1.0 |
|
|
|
Multiply |
|
|
1.0 |
|
1.0 |
|
|
|
|
NonLinearFilter |
1.3 |
|
1.1 |
|
|
|
|
|
|
NonMaxSuppression |
|
|
1.2 |
|
1.2 |
|
|
|
|
Not |
1.3 |
|
1.0 |
|
|
|
|
|
|
OpticalFlowPyrLK |
|
|
|
|
|
|
|
|
|
Or |
1.3 |
|
1.0 |
|
|
|
|
|
|
Phase |
|
|
1.0 |
|
|
|
|
|
|
Remap |
|
|
1.0 |
|
|
|
|
|
|
ScaleImage |
1.3 |
|
1.0 |
|
|
|
|
|
|
Sobel3x3 |
|
|
|
|
1.0 |
|
|
|
|
Subtract |
|
|
1.0 |
|
1.0 |
|
|
|
|
TableLookup |
|
|
1.0 |
|
1.1 |
|
|
|
|
TensorMultiply |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorAdd |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorSubtract |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorMatrixMultiply |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorTableLookup |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
TensorTranspose |
|
1.2 |
1.2 |
|
1.2 |
|
|
|
|
Threshold |
1.3 |
|
1.0 |
|
|
|
|
|
|
WarpAffine |
1.3 |
|
1.0 |
|
|
|
|
|
|
WarpPerspective |
|
|
1.0 |
|
|
|
|
|
|
WeightedAverage |
|
|
1.3 |
|
|
|
|
|
|
Xor |
1.3 |
|
1.0 |
|
|
|
|
|
|
![](/i/l/?n=24&i=blog/1251718/202407/1251718-20240705182806927-738516041.png)
![](/i/l/?n=24&i=blog/1251718/202407/1251718-20240705182806957-1994304048.png)
![](/i/l/?n=24&i=blog/1251718/202407/1251718-20240705182806987-480883661.png)