OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
Element-wise minimum or maximum

Detailed Description

Minimum: dst[i] = min(src1[i], src2[i])
Maximum: dst[i] = max(src1[i], src2[i])

Parameters
src1_datafirst source image data
src1_stepfirst source image step
src2_datasecond source image data
src2_stepsecond source image step
dst_datadestination image data
dst_stepdestination image step
widthwidth of the images
heightheight of the images

Functions

int hal_ni_max16bf (const cv_hal_bf16 *src1_data, size_t src1_step, const cv_hal_bf16 *src2_data, size_t src2_step, cv_hal_bf16 *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max16f (const cv_hal_f16 *src1_data, size_t src1_step, const cv_hal_f16 *src2_data, size_t src2_step, cv_hal_f16 *dst_data, size_t dst_step, int width, int 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_max32u (const unsigned *src1_data, size_t src1_step, const unsigned *src2_data, size_t src2_step, unsigned *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_max64s (const int64 *src1_data, size_t src1_step, const int64 *src2_data, size_t src2_step, int64 *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max64u (const uint64 *src1_data, size_t src1_step, const uint64 *src2_data, size_t src2_step, uint64 *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_min16bf (const cv_hal_bf16 *src1_data, size_t src1_step, const cv_hal_bf16 *src2_data, size_t src2_step, cv_hal_bf16 *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min16f (const cv_hal_f16 *src1_data, size_t src1_step, const cv_hal_f16 *src2_data, size_t src2_step, cv_hal_f16 *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_min32u (const unsigned *src1_data, size_t src1_step, const unsigned *src2_data, size_t src2_step, unsigned *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_min64s (const int64 *src1_data, size_t src1_step, const int64 *src2_data, size_t src2_step, int64 *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min64u (const uint64 *src1_data, size_t src1_step, const uint64 *src2_data, size_t src2_step, uint64 *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)
 

Function Documentation

◆ hal_ni_max16bf()

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

◆ hal_ni_max16f()

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

◆ 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_max32u()

int hal_ni_max32u ( const unsigned * src1_data,
size_t src1_step,
const unsigned * src2_data,
size_t src2_step,
unsigned * 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_max64s()

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

◆ hal_ni_max64u()

int hal_ni_max64u ( const uint64 * src1_data,
size_t src1_step,
const uint64 * src2_data,
size_t src2_step,
uint64 * 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_min16bf()

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

◆ hal_ni_min16f()

int hal_ni_min16f ( const cv_hal_f16 * src1_data,
size_t src1_step,
const cv_hal_f16 * src2_data,
size_t src2_step,
cv_hal_f16 * 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_min32u()

int hal_ni_min32u ( const unsigned * src1_data,
size_t src1_step,
const unsigned * src2_data,
size_t src2_step,
unsigned * 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_min64s()

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

◆ hal_ni_min64u()

int hal_ni_min64u ( const uint64 * src1_data,
size_t src1_step,
const uint64 * src2_data,
size_t src2_step,
uint64 * 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