OpenCV  4.10.0
开源计算机视觉
加载...
搜索...
无匹配项
功能
逐元素添加和减法

详细描述

加法:dst[i] = src1[i] + src2[i]
减法:dst[i] = src1[i] - src2[i]

参数
src1_data第一个源图像数据
src1_step第一个源图像步长
src2_data第二个源图像数据
src2_step第二个源图像步长
dst_data目标图像数据
dst_step目标图像步长
width图像宽度
height图像高度

函数

int hal_ni_add16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add8u(常量uchar*src1_data,大小src1_step,常量uchar*src2_data,大小src2_step,uchar*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub16s(常量short*src1_data,大小src1_step,常量short*src2_data,大小src2_step,short*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub16u(常量ushort*src1_data,大小src1_step,常量ushort*src2_data,大小src2_step,ushort*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub32f(常量float*src1_data,大小src1_step,常量float*src2_data,大小src2_step,float*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub32s(常量int*src1_data,大小src1_step,常量int*src2_data,大小src2_step,int*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub64f(常量double*src1_data,大小src1_step,常量double*src2_data,大小src2_step,double*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub8s(常量schar*src1_data,大小src1_step,常量schar*src2_data,大小src2_step,schar*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub8s32f(常量schar*src1_data,大小src1_step,常量schar*src2_data,大小src2_step,float*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub8u(常量uchar*src1_data,大小src1_step,常量uchar*src2_data,大小src2_step,uchar*dst_data,大小dst_step,int width,int height)
 
int hal_ni_sub8u32f(常量 

函数文档

◆ hal_ni_add16s()

int hal_ni_add16s ( const short *  src1_data,
size_t  src1_step,
const short *  src2_data,
size_t  src2_step,
short *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_add16u()

int hal_ni_add16u ( const ushort src1_data,
size_t  src1_step,
const ushort src2_data,
size_t  src2_step,
ushort dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_add32f()

int hal_ni_add32f ( const float *  src1_data,
size_t  src1_step,
const float *  src2_data,
size_t  src2_step,
float *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_add32s()

int hal_ni_add32s ( const int *  src1_data,
size_t  src1_step,
const int *  src2_data,
size_t  src2_step,
int *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_add64f()

int hal_ni_add64f ( const double *  src1_data,
size_t  src1_step,
const double *  src2_data,
size_t  src2_step,
double *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_add8s()

int hal_ni_add8s ( const schar src1_data,
size_t  src1_step,
const schar src2_data,
size_t  src2_step,
schar dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_add8u()

int hal_ni_add8u ( const uchar src1_data,
size_t  src1_step,
const uchar src2_data,
size_t  src2_step,
uchar dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub16s()

int hal_ni_sub16s ( const short *  src1_data,
size_t  src1_step,
const short *  src2_data,
size_t  src2_step,
short *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub16u()

int hal_ni_sub16u ( const ushort src1_data,
size_t  src1_step,
const ushort src2_data,
size_t  src2_step,
ushort dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub32f()

int hal_ni_sub32f ( const float *  src1_data,
size_t  src1_step,
const float *  src2_data,
size_t  src2_step,
float *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub32s()

int hal_ni_sub32s ( const int *  src1_data,
size_t  src1_step,
const int *  src2_data,
size_t  src2_step,
int *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub64f()

int hal_ni_sub64f ( const double *  src1_data,
size_t  src1_step,
const double *  src2_data,
size_t  src2_step,
double *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub8s()

int hal_ni_sub8s ( const schar src1_data,
size_t  src1_step,
const schar src2_data,
size_t  src2_step,
schar dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub8s32f()

int hal_ni_sub8s32f ( const schar src1_data,
size_t  src1_step,
const schar src2_data,
size_t  src2_step,
float *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub8u()

int hal_ni_sub8u ( const uchar src1_data,
size_t  src1_step,
const uchar src2_data,
size_t  src2_step,
uchar dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline

◆ hal_ni_sub8u32f()

int hal_ni_sub8u32f ( const uchar src1_data,
size_t  src1_step,
const uchar src2_data,
size_t  src2_step,
float *  dst_data,
size_t  dst_step,
int  width,
int  height 
)
inline