Skip to content

算子分层详情

ACL Pack 算子按授权等级分为三个层级。高层级包含低层级的全部算子。

层级概览

层级算子族数适用套餐说明
核心 (Core)57试用版 (1个示例)、Starter、Pro、Business、Enterprise基础图像处理 — 滤波、色彩转换、几何变换、算术运算、分析、绘图
进阶 (Advanced)100Pro、Business、Enterprise新增 DFT/FFT、HSV/Lab 色彩、高级滤波、特征检测、直方图分析、轮廓分析
完整 (Full)113Business、Enterprise标准完整库 — Business YUV remap、距离分析、全部特征套件

Trial 仅包含 1 个示例算子:resize,输入固定 1920×1280,输出带水印。

标准图片像素类型为 uint8_tuint16_tfloat。精确类型支持按算子和后端而定;int16_tint64_tdouble 等辅助类型仅用于特定输出、累加器、几何或参数角色。


滤波 (Filter)

算子核心进阶完整NEON
gaussianBlur
boxFilter
medianFilter
morphology (腐蚀/膨胀/开/闭)
sobel3x3
canny
laplacian
stackBlur
filter2D
sepFilter2D
scharr
bilateralFilter
guidedFilter
unsharpMask
gaborFilter
nlMeansDenoising
edgePreservingFilter
detailEnhance
mergeMertens
tonemap

色彩转换 (Color Conversion)

算子核心进阶完整NEON
RGB2Gray
channelSwap
rgb2YUV_fixed
yuv2RGB_fixed
rgb2YUV_float
yuv2RGB_float
yuvSwing
gammaTransform
bayerCvtColor
rgb2HSV
rgb2Lab

几何变换 (Geometric)

算子核心进阶完整NEON
resize [trial]
rotate
pyrDown
pyrUp
buildPyramid
resizeYUV✓ (仅 NEON)
rotateYUV✓ (仅 NEON)
YUV_utilities(企业定制)✗ (CPP 融合管线)
YUV_utilities_float(企业定制)✗ (CPP 融合管线)

resizeYUV / rotateYUV 是 NEON-only 的原子 YUV 格式算子(NV21/NV12/YV12/YUV444)。YUV_utilities / YUV_utilities_float 是 CPP-only 融合管线(resize + rotate + YUV→RGB 一次完成),按企业定制交付,不计入标准 Core / Advanced / Full 套餐数量。

算术运算 (Arithmetic)

算子核心进阶完整NEON
addImg
absDiff
mul
bitwise (与/异或/非)
lut
threshold
addWeighted
convertScaleAbs
inRange
normalize
alphaImgFusion
adaptiveThreshold
phaseMagnitude
linearTransform2x2

图像分析 (Analysis)

算子核心进阶完整NEON
histogram
integral
copyMakeBorder
equalizeHist
minMaxLoc
blockAverage
mean
count
clahe
histMatch
matchTemplate
moments
findContours
extractBlockPixels
connectedComponent_8n_dfs
connectedComponentLabeling
distanceTransform
distanceTransformU8

特征检测 (Feature Detection)

算子核心进阶完整NEON
harris
shiTomasi
fast
shiTomasiDetect
orb
sift
surf
hog
houghLines
houghLinesP
houghCircles
opticalFlowLK
bfMatch
bfMatchBinary
bfKnnMatch
bfKnnMatchBinary

变换 (Transform)

算子核心进阶完整NEON
warpAffine
warpPerspective
remap
getAffineTransform
getRotationMatrix2D
getPerspectiveTransform
findHomography
dltHomography
homographyError
yuvRemap

数学运算 (Math)

算子核心进阶完整NEON
dft1d
dft2d
dftReal1d
idftReal1d
mulSpectrums

绘图 (Drawing)

算子核心进阶完整NEON
drawLine
drawRect
drawCircle
putText

轮廓分析 (Contour Analysis)

算子核心进阶完整NEON
contourArea
arcLength
boundingRect
convexHull
approxPolyDP
minAreaRect
fitEllipse

内存工具 (Memory)

算子核心进阶完整NEON
cropRect

各层级汇总

分类核心进阶完整
滤波111620
色彩转换91111
几何变换777
算术运算111314
图像分析81318
特征检测01416
变换6910
数学运算055
绘图444
轮廓分析077
内存工具111
小计57100113

计数约定: 以上 113 行按标准文档算子族计数(同一算子的 CPP 与 NEON 实现合并为 1 行)。企业定制的 YUV_utilities* 融合管线仅为可见性列出,不计入标准套餐数量。若按客户面可调用入口口径(含多图输入变体、核大小分派、独立交付的 CPP/NEON 对),Business 包暴露 163 个可调用入口。分层授权以算子族为单位 — Starter 层算子的所有变体均包含在 Starter 层中。[trial] 标记表示该算子是 Trial 版包含的示例算子。