OpenCV 4.11.0
开源计算机视觉库
加载中…
搜索中…
未找到匹配项
逐元素倒数

详细描述

计算倒数:dst[i] = scale / src[i]

参数
src_data源图像数据
src_step源图像步长
dst_data目标图像数据
dst_step目标图像步长
width图像宽度
height图像高度
scale附加乘数

函数

int hal_ni_recip16s (const short *src_data, size_t src_step, short *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip16u (const ushort *src_data, size_t src_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip32f (const float *src_data, size_t src_step, float *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip32s (const int *src_data, size_t src_step, int *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip64f (const double *src_data, size_t src_step, double *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip8s (const schar *src_data, size_t src_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip8u (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
 

函数文档

◆ hal_ni_recip16s()

int hal_ni_recip16s ( const short * src_data,
size_t src_step,
short * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联

◆ hal_ni_recip16u()

int hal_ni_recip16u ( const ushort * src_data,
size_t src_step,
ushort * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联

◆ hal_ni_recip32f()

int hal_ni_recip32f ( const float * src_data,
size_t src_step,
float * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联

◆ hal_ni_recip32s()

int hal_ni_recip32s ( const int * src_data,
size_t src_step,
int * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联

◆ hal_ni_recip64f()

int hal_ni_recip64f ( const double * src_data,
size_t src_step,
double * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联

◆ hal_ni_recip8s()

int hal_ni_recip8s ( const schar * src_data,
size_t src_step,
schar * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联

◆ hal_ni_recip8u()

int hal_ni_recip8u ( const uchar * src_data,
size_t src_step,
uchar * dst_data,
size_t dst_step,
int width,
int height,
double scale )
内联