执行filter2D核心滤波计算过程。
C interface:
int kml_execute_filter2d(cvhalFilter2D *context, unsigned char *src_data, size_t src_step, unsigned char *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y);
参数名 |
类型 |
描述 |
输入/输出 |
---|---|---|---|
context |
cvhalFilter2D* |
空结构体指针,完成资源初始化后,指向内部申请的资源结构体空间 |
输入/输出 |
src_data |
unsigned char* |
输入图像数据 |
输出 |
src_step |
size_t |
输入图像每行数据的字节数 |
输入 |
dst_data |
unsigned char* |
输出图像数据 |
输入 |
dst_step |
size_t |
输出图像每行数据的字节数 |
输入 |
width |
int |
输入图像感兴趣区域的宽度 |
输入 |
height |
int |
输入图像感兴趣区域的高度 |
输入 |
full_width |
int |
完整图像的宽度 |
输入 |
full_height |
int |
完整图像的高度 |
输入 |
offset_x |
int |
感兴趣区域起始点相对于完整图像起始点在宽度方向的偏移量 |
输入 |
offset_y |
int |
感兴趣区域起始点相对于完整图像起始点在高度方向的偏移量 |
输入 |
函数接口入参由OpenCV filter2D上层对入参处理传入,kml_init_filter不支持用户显式调用。
0