![]() |
OpenCV 4.10.0
开源计算机视觉
|
类 | |
| struct | cvhalFilter2D |
| 存储过滤上下文的虚拟结构。更多信息... | |
函数 | |
| int | hal_ni_adaptiveThreshold (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) |
| 计算自适应阈值。 | |
| int | hal_ni_bilateralFilter (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int d, double sigma_color, double sigma_space, int border_type) |
| 计算双边滤波器。见 https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html。 | |
| int | hal_ni_boxFilter (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, size_t ksize_width, size_t ksize_height, int anchor_x, int anchor_y, bool normalize, int border_type) |
| 计算箱型滤波器。 | |
| int | hal_ni_canny (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int cn, double lowThreshold, double highThreshold, int ksize, bool L2gradient) |
| Canny边缘检测器。 | |
| int | hal_ni_cvtBGR5x5toBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits) |
| hal_cvtBGR5x5toBGR | |
| int | hal_ni_cvtBGR5x5toGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits) |
| hal_cvtBGR5x5toGray | |
| int | hal_ni_cvtBGRtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue) |
| hal_cvtBGRtoBGR | |
| int | hal_ni_cvtBGRtoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits) |
| hal_cvtBGRtoBGR5x5 | |
| int | hal_ni_cvtBGRtoGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue) |
| hal_cvtBGRtoGray | |
| int | hal_ni_cvtBGRtoHSV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV) |
| hal_cvtBGRtoHSV | |
| int | hal_ni_cvtBGRtoLab(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb) |
| hal_cvtBGRtoLab | |
| int | hal_ni_cvtBGRtoThreePlaneYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx) |
| hal_cvtBGRtoThreePlaneYUV | |
| int | hal_ni_cvtBGRtoTwoPlaneYUV(const uchar *src_data, size_t src_step, uchar *y_data, size_t y_step, uchar *uv_data, size_t uv_step, int width, int height, int scn, bool swapBlue, int uIdx) |
| hal_cvtBGRtoTwoPlaneYUV | |
| int | hal_ni_cvtBGRtoXYZ(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue) |
| hal_cvtBGRtoXYZ | |
| int | hal_ni_cvtBGRtoYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr) |
| hal_cvtBGRtoYUV | |
| int | hal_ni_cvtGraytoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn) |
| hal_cvtGraytoBGR | |
| int | hal_ni_cvtGraytoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits) |
| hal_cvtGraytoBGR5x5 | |
| int | hal_ni_cvtHSVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV) |
| hal_cvtHSVtoBGR | |
| int | hal_ni_cvtLabtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb) |
| hal_cvtLabtoBGR | |
| int | hal_ni_cvtMultipliedRGBAtoRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| hal_cvtMultipliedRGBAtoRGBA | |
| int | hal_ni_cvtOnePlaneBGRtoYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx, int ycn) |
| hal_cvtOnePlaneBGRtoYUV | |
| int | hal_ni_cvtOnePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn) |
| hal_cvtOnePlaneYUVtoBGR | |
| int | hal_ni_cvtRGBAtoMultipliedRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| hal_cvtRGBAtoMultipliedRGBA | |
| int | hal_ni_cvtThreePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| hal_cvtThreePlaneYUVtoBGR | |
| int | hal_ni_cvtTwoPlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| hal_cvtTwoPlaneYUVtoBGR | |
| int | hal_ni_cvtTwoPlaneYUVtoBGREx (const uchar *y_data, size_t y_step, const uchar *uv_data, size_t uv_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| hal_cvtTwoPlaneYUVtoBGR的扩展版本。 | |
| int | hal_ni_cvtXYZtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue) |
| hal_cvtXYZtoBGR | |
| int | hal_ni_cvtYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr) |
| hal_cvtYUVtoBGR | |
| int | hal_ni_equalize_hist (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| 平衡灰度图像的直方图。 | |
| int | hal_ni_filter (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y) |
| hal_filter | |
| int | hal_ni_filterFree (cvhalFilter2D *context) |
| hal_filterFree | |
| int | hal_ni_filterInit (cvhalFilter2D **context, uchar *kernel_data, size_t kernel_step, int kernel_type, int kernel_width, int kernel_height, int max_width, int max_height, int src_type, int dst_type, int borderType, double delta, int anchor_x, int anchor_y, bool allowSubmatrix, bool allowInplace) |
| hal_filterInit | |
| int | hal_ni_gaussianBlur (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize_width, size_t ksize_height, double sigmaX, double sigmaY, int border_type) |
| 使用通用高斯滤波器对图像进行模糊处理。 | |
| int | hal_ni_gaussianBlurBinomial (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize, int border_type) |
| 使用具有平方核和sigma=0的对称高斯滤波器对图像进行模糊。 | |
| int | hal_ni_imageMoments (const uchar *src_data, size_t src_step, int src_type, int width, int height, bool binary, double m[10]) |
| 计算图像的多项式矩(直到三阶)。 | |
| int | hal_ni_integral (int depth, int sdepth, int sqdepth, const uchar *src_data, size_t src_step, < Austrum>uchar *sum_data, size_t sum_step, < Austrum>uchar *sqsum_data, size_t sqsum_step, < Austrum>uchar *tilted_data, size_t tilted_step, int width, int height, int cn) |
| 计算积分图像。 | |
| int | hal_ni_medianBlur (const uchar *src_data, size_t src_step, < Austrum>uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int ksize) |
| 计算中值模糊滤波器。 | |
| int | hal_ni_morph (cvhalFilter2D *context, < Austrum>uchar *src_data, size_t src_step, < Austrum>uchar *dst_data, size_t dst_step, int width, int height, int src_full_width, int src_full_height, int src_roi_x, int src_roi_y, int dst_full_width, int dst_full_height, int dst_roi_x, int dst_roi_y) |
| hal_morph | |
| int | hal_ni_morphFree (cvhalFilter2D *context) |
| hal_morphFree | |
| int | hal_ni_morphInit (cvhalFilter2D **context, int operation, int src_type, int dst_type, int max_width, int max_height, int kernel_type, < Austrum>uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool allowSubmatrix, bool allowInplace) |
| hal_morphInit | |
| int | hal_ni_polygonMoments (const < Austrum>uchar *src_data, size_t src_size, int src_type, double m[10]) |
| 计算二维点构成的多边形的各项矩(直到三阶)。 | |
| int | hal_ni_pyrdown (const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int border_type) |
| 对输入瓦片执行高斯模糊和降采样。 | |
| int | hal_ni_remap32f (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, float *mapx, size_t mapx_step, float *mapy, size_t mapy_step, int interpolation, int border_type, const double border_value[4]) |
| 使用浮点图进行hal_remap。 | |
| int | hal_ni_resize (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation) |
| hal_resize | |
| int | hal_ni_scharr (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, double scale, double delta, int border_type) |
| 计算Scharr滤波器。 | |
| int | hal_ni_sepFilter (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y) |
| hal_sepFilter | |
| int | hal_ni_sepFilterFree (cvhalFilter2D *context) |
| hal_sepFilterFree | |
| int | hal_ni_sepFilterInit (cvhalFilter2D **context, int src_type, int dst_type, int kernel_type, uchar *kernelx_data, int kernelx_length, uchar *kernely_data, int kernely_length, int anchor_x, int anchor_y, double delta, int borderType) |
| hal_sepFilterInit | |
| int | hal_ni_sobel (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, int ksize, double scale, double delta, int border_type) |
| 计算Sobel导数。 | |
| int | hal_ni_threshold (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, double thresh, double maxValue, int thresholdType) |
| 计算固定级别的阈值到每个数组元素。 | |
| int | hal_ni_threshold_otsu (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, double maxValue, int thresholdType, double *thresh) |
| 使用Otsu算法估计的阈值进行阈值滤波。 | |
| int | hal_ni_warpAffine (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4]) |
| hal_warpAffine | |
| int | hal_ni_warpPerspective (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4]) |
| hal_warpPerspective | |
插值模式 | |
| #define | CV_HAL_INTER_NEAREST 0 |
| #define | CV_HAL_INTER_LINEAR 1 |
| #define | CV_HAL_INTER_CUBIC 2 |
| #define | CV_HAL_INTER_AREA 3 |
| #define | CV_HAL_INTER_LANCZOS4 4 |
形态学操作 | |
| |
| #define | CV_HAL_MORPH_ERODE 0 |
| #define | CV_HAL_MORPH_DILATE 1 |
阈值类型 | |
| #define | CV_HAL_THRESH_BINARY 0 |
| #define | CV_HAL_THRESH_BINARY_INV 1 |
| #define | CV_HAL_THRESH_TRUNC 2 |
| #define | CV_HAL_THRESH_TOZERO 3 |
| #define | CV_HAL_THRESH_TOZERO_INV 4 |
| #define | CV_HAL_THRESH_MASK 7 |
| #define | CV_HAL_THRESH_OTSU 8 |
| #define | CV_HAL_THRESH_TRIANGLE 16 |
自适应阈值算法 | |
| #define | CV_HAL_ADAPTIVE_THRESH_MEAN_C 0 |
| #define | CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1 |
| #define CVHalAdaptiveThreshGaussianC 1 |
#include <opencv2/imgproc/hal/interface.h>
| #define CVHalAdaptiveThreshMeanC 0 |
#include <opencv2/imgproc/hal/interface.h>
| #define CVHalInterArea 3 |
#include <opencv2/imgproc/hal/interface.h>
| #define CVHalInterCubic 2 |
#include <opencv2/imgproc/hal/interface.h>
| #define CVHalInterLanczos4 4 |
#include <opencv2/imgproc/hal/interface.h>
| #define CVHalInterLinear 1 |
#include <opencv2/imgproc/hal/interface.h>
| #define CVHalInterNearest 0 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_MORPH_DILATE 1 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_MORPH_ERODE 0 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_BINARY 0 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_BINARY_INV 1 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_MASK 7 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_OTSU 8 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_TOZERO 3 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_TOZERO_INV 4 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_TRIANGLE 16 |
#include <opencv2/imgproc/hal/interface.h>
| 定义 CV_HAL_THRESH_TRUNC 2 |
#include <opencv2/imgproc/hal/interface.h>
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算自适应阈值。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| maxValue | 满足条件的像素赋值 |
| adaptiveMethod | 自适应阈值算法 |
| thresholdType | 阈值类型 |
| blockSize | 计算阈值值使用的像素邻域大小 |
| C | 从均值或加权均值中减去的一个常数 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算双边滤波器。见 https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| depth | 源图像和目标图像的深度。应支持 CV_8U 和 CV_32F |
| cn | 通道数量 |
| d | 过滤过程中使用的每个像素邻域的直径。如果为非正数,则从 sigmaSpace 计算得出 |
| sigma_color | 色彩空间中的过滤器 sigma |
| sigma_space | 坐标空间中的过滤器 sigma。当 d>0 时,指定了邻域大小,不管 sigmaSpace 如何。否则,d 与 sigmaSpace 成正比 |
| border_type | 用于外推图像外像素的边界模式 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算箱型滤波器。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| src_depth | 源图像深度 |
| dst_depth | 目标图像深度 |
| cn | 通道数量 |
| margin_left | 源图像的左边距 |
| margin_top | 源图像的上边距 |
| margin_right | 源图像的右边距 |
| margin_bottom | 源图像的下边距 |
| ksize_width | 核宽度 |
| ksize_height | 核高度 |
| anchor_x | 锚点 x 坐标 |
| anchor_y | 锚点 y 坐标 |
| normalize | 如果为真,则结果被归一化 |
| border_type | 边界类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Canny边缘检测器。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| cn | 通道数量 |
| lowThreshold | 低阈值值 |
| highThreshold | 高阈值值 |
| ksize | 用于 Sobel 运算的核大小。 |
| L2gradient | 标志,指示使用L2或L1规范。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGR5x5toBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| greenBits | 绿色通道的位数(5或6)将打包的BGR或RGB(每像素16位,555或565)转换为BGR,BGRA,RGB和RGBA。仅支持CV_8U图像(输入2通道,输出3或4通道)。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGR5x5toGray
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| greenBits | 绿色通道的位数(5或6)将打包的BGR(每像素16位,555或565)转换为1通道灰度。仅支持CV_8U图像。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U,CV_32F之一) |
| scn | 源图像通道(3或4) |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R通道将被交换(BGR->RGB或RGB->BGR)在BGR,BGRA,RGB和RGBA图像格式之间转换。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoBGR5x5
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
| greenBits | 绿色通道的位数(5或6)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoGray
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U或CV_32F之一) |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)从BGR,BGRA,RGB或RGBA转换为1通道灰度。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoHSV
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U或CV_32F之一) |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
| isFullRange | 如果设置为true,将色调写入0-255的范围(对于浮点数为0-360),否则在0-180范围内 |
| isHSV | 如果设置为true,写入HSV,否则HSL从BGR,RGB,BGRA或RGBA转换到HSV或HSL。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoLab
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U或CV_32F之一) |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
| isLab | 如果设置为true,写入Lab,否则Luv |
| srgb | 如果设置为true,使用sRGB伽玛校正从BGR,RGB,BGRA或RGBA转换到Lab或Luv。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoThreePlaneYUV
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
| uIdx | U通道平面索引(0或1)将BGR,RGB,BGRA或RGBA转换为YUV(YUV420p(或YV12/YV21)- Y平面后跟U和V平面)。仅对CV_8U。 Y : [16, 235]; Cb, Cr: [16, 240] 对齐在128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoTwoPlaneYUV
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| y_data | 目标图像数据(Y平面) |
| y_step | 目标图像步长(Y平面) |
| uv_data | 目标图像数据(UV平面) |
| uv_step | 目标图像步长(UV平面) |
| width | 图像宽度 |
| height | 图像高度 |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
| uIdx | U通道平面索引(0或1)将BGR,RGB,BGRA或RGBA转换为YUV(YUV420sp(或NV12/NV21)- Y平面后跟交错U/V平面)。仅对CV_8U。 Y : [16, 235]; Cb, Cr: [16, 240] 对齐在128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoXYZ
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U或CV_32F之一) |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)从BGR,RGB,BGRA或RGBA转换为XYZ。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoYUV
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U或CV_32F之一) |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R源通道将被交换(按RGB处理)将BGR,BGRA,RGB和RGBA转换为打包的BGR或RGB(每像素16位,555或565)。仅支持CV_8U图像(输入3或4通道,输出2通道)。 |
| isCbCr | 设置为true时,将输出以YCbCr格式写入。将BGR、RGB、BGRA或RGBA转换为YUV或YCbCr。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtGraytoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U或CV_32F之一) |
| dcn | 目标图像通道数(3或4)将1通道灰度转换为BGR、RGB、RGBA或BGRA。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtGraytoBGR5x5
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| greenBits | 绿色通道的位数(5或6)将1通道灰度转换为打包的BGR(每像素16位,555或565)。仅支持CV_8U图像。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtHSVtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U或CV_32F之一) |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| isFullRange | 如果设置为true,则以0-255(对于浮点为0-360)的范围内读取色相,否则在0-180的范围内 |
| isHSV | 如果设置为true,将源视作HSV否则视作HSL将HSV或HSL转换为BGR、RGB、BGRA或RGBA。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtLabtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U或CV_32F之一) |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| isLab | 如果设置为true,将输入视作Lab否则视作Luv |
| srgb | 如果设置为true,使用sRGB伽玛校正将Lab或Luv转换为BGR、RGB、BGRA或RGBA。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtMultipliedRGBAtoRGBA
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度将具有乘法alpha通道的格式转换为BGRA或RGBA。仅对CV_8U有效。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneBGRtoYUV
| src_data,src_step | 源图像数据和步长 |
| dst_data,dst_step | 目标图像数据和步长 |
| width,height | 图像大小 |
| scn | 源图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| uIdx | U通道索引(0或1) |
| ycn | Y通道索引(0或1)将BGR、RGB、BGRA或RGBA转换为交错YUV 4:2:2(UYVY、YUY2或YVYU)。仅对CV_8U有效。Y : [16, 235]; Cb, Cr: [16, 240] 以128为中心 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneYUVtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| uIdx | U通道索引(0或1) |
| ycn | Y通道索引(0或1)将交错YUV 4:2:2(UYVY、YUY2或YVYU)转换为BGR、RGB、BGRA或RGBA。仅对CV_8U有效。Y : [16, 235]; Cb, Cr: [16, 240] 以128为中心 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtRGBAtoMultipliedRGBA
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度将BGRA或RGBA转换为具有乘法alpha通道的格式。仅对CV_8U有效。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtThreePlaneYUVtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| uIdx | U通道平面索引(0或1)将YUV(YUV420p(或YV12/YV21)- Y平面后跟U和V平面)转换为BGR、RGB、BGRA或RGBA。仅对CV_8U有效。Y : [16, 235]; Cb, Cr: [16, 240] 以128为中心 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| uIdx | 在交错U/V平面中的U通道索引(0或1)将YUV(YUV420sp(或NV12/NV21)- Y平面后跟交错U/V平面)转换为BGR、RGB、BGRA或RGBA。仅对CV_8U有效。Y : [16, 235]; Cb, Cr: [16, 240] 以128为中心 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR的扩展版本。
| y_data | 源图像数据(Y平面) |
| y_step | 源图像步长(Y平面) |
| uv_data | 源图像数据(UV平面) |
| uv_step | 源图像步长(UV平面) |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| uIdx | 在交错U/V平面中的U通道索引(0或1)将YUV(YUV420sp(或NV12/NV21)- Y平面后跟交错U/V平面)转换为BGR、RGB、BGRA或RGBA。仅对CV_8U有效。Y : [16, 235]; Cb, Cr: [16, 240] 以128为中心 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtXYZtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U或CV_32F之一) |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,则将B和R目标通道互换(写入RGB)将XYZ转换为BGR、RGB、BGRA或RGBA。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtYUVtoBGR
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| depth | 图像深度(CV_8U,CV_16U或CV_32F之一) |
| dcn | 目标图像通道(3或4) |
| swapBlue | 如果设置为true,B和R目标通道将被交换(写入RGB) |
| isCbCr | 如果设置为true,将源视作YCbCr将YUV或YCbCr转换为BGR、RGB、BGRA或RGBA。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
平衡灰度图像的直方图。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filter
| context | 用户自定义上下文指针 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| full_width | 源图像的全宽度(在ROI外部) |
| full_height | 源图像的全高度(在ROI外部) |
| offset_x | 源图像ROI偏移X |
| offset_y | 源图像ROI偏移Y |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filterFree
| context | 用户自定义上下文指针 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filterInit
| context | 用户自定义上下文双指针 |
| kernel_data | 核数据指针 |
| kernel_step | 核步长 |
| kernel_type | 核类型 (CV_8U, ...) |
| kernel_width | 核宽度 |
| kernel_height | 核高度 |
| max_width | 最大可能的图像宽度,可用于分配工作缓冲区 |
| max_height | 最大可能的图像高度 |
| src_type | 源图像类型 |
| dst_type | 目标图像类型 |
| borderType | 边界处理模式(CV_HAL_BORDER_REFLECT, ...) |
| delta | 加到像素值上 |
| anchor_x | 核内部中心点的相对X位置 |
| anchor_y | 核内部中心点的相对Y位置 |
| allowSubmatrix | 指示是否允许子矩阵作为源图像 |
| allowInplace | 指示是否可能进行就地操作 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
使用通用高斯滤波器对图像进行模糊处理。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| depth | 源图像和目标图像的深度 |
| cn | 通道数量 |
| margin_left | 源图像的左边距 |
| margin_top | 源图像的上边距 |
| margin_right | 源图像的右边距 |
| margin_bottom | 源图像的下边距 |
| ksize_width | 核宽度 |
| ksize_height | 核高度 |
| sigmaX | 高斯核标准差。 |
| sigmaY | 高斯核标准差。 |
| border_type | 边界类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
使用具有平方核和sigma=0的对称高斯滤波器对图像进行模糊。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| depth | 源图像和目标图像的深度 |
| cn | 通道数量 |
| margin_left | 源图像的左边距 |
| margin_top | 源图像的上边距 |
| margin_right | 源图像的右边距 |
| margin_bottom | 源图像的下边距 |
| ksize | 核宽度 |
| border_type | 边界类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算图像的多项式矩(直到三阶)。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| src_type | 源点类型 |
| width | 源图像宽度 |
| height | 源图像高度 |
| binary | 如果是true,所有非零图像像素都被视为1 |
| m | 以下顺序输出偶数(10个值)的矩的输出数组:m00, m10, m01, m20, m11, m02, m30, m21, m12, m03. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算积分图像。
| depth | 源图像深度 |
| sdepth | 累加图像深度 |
| sqdepth | 平方和图像深度 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| sum_data | 累加图像数据 |
| sum_step | 累加图像步长 |
| sqsum_data | 平方和图像数据 |
| sqsum_step | 平方和图像步长 |
| tilted_data | 倾斜和图像数据 |
| tilted_step | 倾斜和图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| cn | 通道数量 |
| 源 | 和 | 平方和 |
|---|---|---|
| CV_8U | CV_32S | CV_64F |
| CV_8U | CV_32S | CV_32F |
| CV_8U | CV_32S | CV_32S |
| CV_8U | CV_32F | CV_64F |
| CV_8U | CV_32F | CV_32F |
| CV_8U | CV_64F | CV_64F |
| CV_16U | CV_64F | CV_64F |
| CV_16S | CV_64F | CV_64F |
| CV_32F | CV_32F | CV_64F |
| CV_32F | CV_32F | CV_32F |
| CV_32F | CV_64F | CV_64F |
| CV_64F | CV_64F | CV_64F |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算中值模糊滤波器。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| depth | 源图像和目标图像的深度 |
| cn | 通道数量 |
| ksize | 核大小 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morph
| context | 用户自定义上下文指针 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| src_full_width | 源图像的全宽度(在ROI外部) |
| src_full_height | 源图像的全高度(在ROI外部) |
| src_roi_x | 源图像ROI X偏移 |
| src_roi_y | 源图像ROI Y偏移 |
| dst_full_width | 目标图像全宽度 |
| dst_full_height | 目标图像全高度 |
| dst_roi_x | 目标图像ROI X偏移 |
| dst_roi_y | 目标图像ROI Y偏移 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morphFree
| context | 用户自定义上下文指针 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morphInit
| context | 用户自定义上下文双指针 |
| 操作 | morphology operation CV_HAL_MORPH_ERODE or CV_HAL_MORPH_DILATE |
| src_type | 源图像类型 |
| dst_type | 目标图像类型 |
| max_width | 最大可能的图像宽度,可用于分配工作缓冲区 |
| max_height | 最大可能的图像高度 |
| kernel_type | 核类型 (CV_8U, ...) |
| kernel_data | 核数据指针 |
| kernel_step | 核步长 |
| kernel_width | 核宽度 |
| kernel_height | 核高度 |
| anchor_x | 核内部中心点的相对X位置 |
| anchor_y | 核内部中心点的相对Y位置 |
| borderType | 边界处理模式(CV_HAL_BORDER_REFLECT, ...) |
| borderValue | values to use for CV_HAL_BORDER_CONSTANT mode |
| iterations | 迭代次数 |
| allowSubmatrix | 指示是否允许子矩阵作为源图像 |
| allowInplace | 指示是否可能进行就地操作 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算二维点构成的多边形的各项矩(直到三阶)。
| src_data | 源点(Point 2x32f 或 2x32s) |
| src_size | 源点数量 |
| src_type | 源点类型 |
| m | 以下顺序输出偶数(10个值)的矩的输出数组:m00, m10, m01, m20, m11, m02, m30, m21, m12, m03. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
对输入瓦片执行高斯模糊和降采样。
| depth | 源图像和目标图像的深度 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| src_width | 源图像宽度 |
| src_height | 源图像高度 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| cn | 通道数量 |
| border_type | 边界类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
使用浮点图进行hal_remap。
| src_type | source and destination image type |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| src_width | source image width |
| src_height | source image height |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| mapx | map for x values |
| mapx_step | mapx matrix step |
| mapy | map for y values |
| mapy_step | mapy matrix step |
| interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
| border_type | 边界处理模式(CV_HAL_BORDER_REFLECT, ...) |
| border_value | values to use for CV_HAL_BORDER_CONSTANT mode |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_resize
| src_type | source and destination image type |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| src_width | source image width |
| src_height | source image height |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| inv_scale_x | 逆尺度X系数 |
| inv_scale_y | 逆尺度Y系数 |
| interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算Scharr滤波器。
| src_depth | 源图像深度 |
| dst_depth | 目标图像深度 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| cn | 通道数量 |
| margin_left | 源图像的左边距 |
| margin_top | 源图像的上边距 |
| margin_right | 源图像的右边距 |
| margin_bottom | 源图像的下边距 |
| dx | 导数x的阶数 |
| dy | 导数y的阶数 |
| scale | 计算导数值的缩放因子 |
| delta | 添加到结果的Delta值,在存储到dst之前 |
| border_type | 边界类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilter
| context | 用户自定义上下文指针 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 图像宽度 |
| height | 图像高度 |
| full_width | 源图像的全宽度(在ROI外部) |
| full_height | 源图像的全高度(在ROI外部) |
| offset_x | 源图像ROI偏移X |
| offset_y | 源图像ROI偏移Y |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilterFree
| context | 用户自定义上下文指针 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilterInit
| context | 用户自定义上下文双指针 |
| src_type | 源图像类型 |
| dst_type | 目标图像类型 |
| kernel_type | 核类型 |
| kernelx_data | 指向x-核数据的指针 |
| kernelx_length | x-核向量长度 |
| kernely_data | 指向y-核数据的指针 |
| kernely_length | y-核向量长度 |
| anchor_x | 核内部中心点的相对X位置 |
| anchor_y | 核内部中心点的相对Y位置 |
| delta | 加到像素值上 |
| borderType | 边界处理模式(CV_HAL_BORDER_REFLECT, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算Sobel导数。
| src_depth | 源图像深度 |
| dst_depth | 目标图像深度 |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| cn | 通道数量 |
| margin_left | 源图像的左边距 |
| margin_top | 源图像的上边距 |
| margin_right | 源图像的右边距 |
| margin_bottom | 源图像的下边距 |
| dx | 导数x的阶数 |
| dy | 导数y的阶数 |
| ksize | 核大小 |
| scale | 计算导数值的缩放因子 |
| delta | 添加到结果的Delta值,在存储到dst之前 |
| border_type | 边界类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
计算固定级别的阈值到每个数组元素。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| depth | 源图像和目标图像的深度 |
| cn | 通道数量 |
| thresh | 阈值 |
| maxValue | 满足条件的像素赋值 |
| thresholdType | 阈值类型 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
使用Otsu算法估计的阈值进行阈值滤波。
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| width | 源图像宽度 |
| height | 源图像高度 |
| depth | 源图像和目标图像的深度 |
| maxValue | 满足条件的像素赋值 |
| thresholdType | 阈值类型 |
| thresh | 计算出的阈值 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffine
| src_type | source and destination image type |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| src_width | source image width |
| src_height | source image height |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| M | 2x3矩阵,包含变换系数 |
| interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
| borderType | 边界处理模式(CV_HAL_BORDER_REFLECT, ...) |
| borderValue | values to use for CV_HAL_BORDER_CONSTANT mode |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspective
| src_type | source and destination image type |
| src_data | 源图像数据 |
| src_step | 源图像步长 |
| src_width | source image width |
| src_height | source image height |
| dst_data | 目标图像数据 |
| dst_step | 目标图像步长 |
| dst_width | 目标图像宽度 |
| dst_height | 目标图像高度 |
| M | 3x3变换系数矩阵 |
| interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
| borderType | 边界处理模式(CV_HAL_BORDER_REFLECT, ...) |
| borderValue | values to use for CV_HAL_BORDER_CONSTANT mode |
1.9.8