pub fn absdiff(src1: &dyn core::ToInputArray, src2: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src1);
	input_array_arg!(src2);
	output_array_arg!(dst);
	unsafe { sys::cv_absdiff_const__InputArrayX_const__InputArrayX_const__OutputArrayX(src1.as_raw__InputArray(), src2.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
/// Calculates the per-element absolute difference between two arrays or between an array and a scalar.
/// 
/// The function cv::absdiff calculates:
/// *   Absolute difference between two arrays when they have the same
///    size and type:
///    ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%28I%29%20%3D%20%20%5Ctexttt%7Bsaturate%7D%20%28%7C%20%5Ctexttt%7Bsrc1%7D%28I%29%20%2D%20%20%5Ctexttt%7Bsrc2%7D%28I%29%7C%29)
/// *   Absolute difference between an array and a scalar when the second
///    array is constructed from Scalar or has as many elements as the
///    number of channels in `src1`:
///    ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%28I%29%20%3D%20%20%5Ctexttt%7Bsaturate%7D%20%28%7C%20%5Ctexttt%7Bsrc1%7D%28I%29%20%2D%20%20%5Ctexttt%7Bsrc2%7D%20%7C%29)
/// *   Absolute difference between a scalar and an array when the first
///    array is constructed from Scalar or has as many elements as the
///    number of channels in `src2`:
///    ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%28I%29%20%3D%20%20%5Ctexttt%7Bsaturate%7D%20%28%7C%20%5Ctexttt%7Bsrc1%7D%20%2D%20%20%5Ctexttt%7Bsrc2%7D%28I%29%20%7C%29)
///    where I is a multi-dimensional index of array elements. In case of
///    multi-channel arrays, each channel is processed independently.
/// 
/// Note: Saturation is not applied when the arrays have the depth CV_32S.
/// You may even get a negative value in the case of overflow.
/// ## Parameters
/// * src1: first input array or a scalar.
/// * src2: second input array or a scalar.
/// * dst: output array that has the same size and type as input arrays.
/// ## See also
/// cv::abs(const Mat&)
Calculates the per-element absolute difference between two arrays or between an array and a scalar.

Saturation is not applied when the arrays have the depth CV_32S.
You may even get a negative value in the case of overflow.
Calculates the per - element absolute difference between two arrays or between an array and a scalar . Saturation is not applied when the arrays have the depth CV_32S . You may even get a negative value in the case of overflow .
pub fn absdiff(src1: &dyn core::ToInputArray, src2: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src1);
	input_array_arg!(src2);
	output_array_arg!(dst);
	unsafe { sys::cv_absdiff_const__InputArrayX_const__InputArrayX_const__OutputArrayX(src1.as_raw__InputArray(), src2.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
pub fn absdiff ( src1 : & dyn core :: ToInputArray , src2 : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray ) -> Result < ( ) > { input_array_arg ! ( src1 ) ; input_array_arg ! ( src2 ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_absdiff_const__InputArrayX_const__InputArrayX_const__OutputArrayX ( src1 . as_raw__InputArray ( ) , src2 . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) ) } . into_result ( ) }
Calculates the per-element absolute difference between two arrays or between an array and a scalar.
Calculates the per - element absolute difference between two arrays or between an array and a scalar .
src1
&dyn core::ToInputArray
src2
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray
see also
None