OpenCV  4.10.0
开源计算机视觉
正在加载...
正在搜索...
无匹配项
函数
逐元素最小值或最大值

详细描述

最小值:dst[i] = min(src1[i], src2[i])
最大值:dst[i] = max(src1[i], src2[i])

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

函数

int hal_ni_max16s (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_max16u (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_max32f (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_max32s (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_max64f (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_max8s (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_max8u (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)
 
int hal_ni_min16s (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_min16u (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_min32f (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_min32s (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_min64f (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_min8s (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_min8u (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)
 

函数文档

◆ hal_ni_max16s()

int hal_ni_max16s ( 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_max16u()

int hal_ni_max16u ( 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_max32f()

int hal_ni_max32f ( 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_max32s()

int hal_ni_max32s ( 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_max64f()

int hal_ni_max64f ( 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_max8s()

int hal_ni_max8s ( 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_max8u()

int hal_ni_max8u ( 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_min16s()

int hal_ni_min16s ( 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_min16u()

int hal_ni_min16u ( 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_min32f()

int hal_ni_min32f ( 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_min32s()

int hal_ni_min32s ( 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_min64f()

int hal_ni_min64f ( 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_min8s()

int hal_ni_min8s ( 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_min8u()

int hal_ni_min8u ( 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