OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Element-wise absolute difference

Absolute difference: dst[i] = | src1[i] - src2[i] | More...

Collaboration diagram for Element-wise absolute difference:

Functions

int hal_ni_absdiff16s (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_absdiff16u (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_absdiff32f (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_absdiff32s (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_absdiff64f (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_absdiff8s (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_absdiff8u (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)
 

Detailed Description

Absolute difference: dst[i] = | src1[i] - src2[i] |

Parameters
src1_data,src1_stepfirst source image data and step
src2_data,src2_stepsecond source image data and step
dst_data,dst_stepdestination image data and step
width,heightdimensions of the images
scaleadditional multiplier

Function Documentation

◆ hal_ni_absdiff16s()

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

#include <core/src/hal_replacement.hpp>

References CV_HAL_ERROR_NOT_IMPLEMENTED.

◆ hal_ni_absdiff16u()

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

#include <core/src/hal_replacement.hpp>

References CV_HAL_ERROR_NOT_IMPLEMENTED.

◆ hal_ni_absdiff32f()

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

#include <core/src/hal_replacement.hpp>

References CV_HAL_ERROR_NOT_IMPLEMENTED.

◆ hal_ni_absdiff32s()

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

#include <core/src/hal_replacement.hpp>

References CV_HAL_ERROR_NOT_IMPLEMENTED.

◆ hal_ni_absdiff64f()

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

#include <core/src/hal_replacement.hpp>

References CV_HAL_ERROR_NOT_IMPLEMENTED, and hal_ni_and8u().

Here is the call graph for this function:

◆ hal_ni_absdiff8s()

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

#include <core/src/hal_replacement.hpp>

References CV_HAL_ERROR_NOT_IMPLEMENTED.

◆ hal_ni_absdiff8u()

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

#include <core/src/hal_replacement.hpp>

Referenced by hal_ni_min64f().

Here is the caller graph for this function: