pub fn convert_scale_abs(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, alpha: f64, beta: f64) -> Result<()> {
	input_array_arg!(src);
	output_array_arg!(dst);
	unsafe { sys::cv_convertScaleAbs_const__InputArrayX_const__OutputArrayX_double_double(src.as_raw__InputArray(), dst.as_raw__OutputArray(), alpha, beta) }.into_result()
}
/// Scales, calculates absolute values, and converts the result to 8-bit.
/// 
/// On each element of the input array, the function convertScaleAbs
/// performs three operations sequentially: scaling, taking an absolute
/// value, conversion to an unsigned 8-bit type:
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%20%28I%29%3D%20%5Ctexttt%7Bsaturate%5C%5Fcast%3Cuchar%3E%7D%20%28%7C%20%5Ctexttt%7Bsrc%7D%20%28I%29%2A%20%5Ctexttt%7Balpha%7D%20%2B%20%20%5Ctexttt%7Bbeta%7D%20%7C%29)
/// In case of multi-channel arrays, the function processes each channel
/// independently. When the output is not 8-bit, the operation can be
/// emulated by calling the Mat::convertTo method (or by using matrix
/// expressions) and then by calculating an absolute value of the result.
/// For example:
/// ```ignore
///    Mat_<float> A(30,30);
///    randu(A, Scalar(-100), Scalar(100));
///    Mat_<float> B = A*5 + 3;
///    B = abs(B);
///    // Mat_<float> B = abs(A*5+3) will also do the job,
///    // but it will allocate a temporary matrix
/// ```
/// 
/// ## Parameters
/// * src: input array.
/// * dst: output array.
/// * alpha: optional scale factor.
/// * beta: optional delta added to the scaled values.
/// ## See also
/// Mat::convertTo, cv::abs(const Mat&)
/// 
/// ## C++ default parameters
/// * alpha: 1
/// * beta: 0
Scales, calculates absolute values, and converts the result to 8-bit.
On each element of the input array, the function convertScaleAbs
performs three operations sequentially: scaling, taking an absolute
value, conversion to an unsigned 8-bit type:
[block formula]
In case of multi-channel arrays, the function processes each channel
independently. When the output is not 8-bit, the operation can be
emulated by calling the Mat::convertTo method (or by using matrix
expressions) and then by calculating an absolute value of the result.
Scales calculates absolute values and converts the result to 8 - bit . On each element of the input array the function convertScaleAbs performs three operations sequentially : scaling taking an absolute value conversion to an unsigned 8 - bit type : [ block formula ] In case of multi - channel arrays the function processes each channel independently . When the output is not 8 - bit the operation can be emulated by calling the Mat :: convertTo method ( or by using matrix expressions ) and then by calculating an absolute value of the result .
pub fn convert_scale_abs(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, alpha: f64, beta: f64) -> Result<()> {
	input_array_arg!(src);
	output_array_arg!(dst);
	unsafe { sys::cv_convertScaleAbs_const__InputArrayX_const__OutputArrayX_double_double(src.as_raw__InputArray(), dst.as_raw__OutputArray(), alpha, beta) }.into_result()
}
pub fn convert_scale_abs ( src : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray , alpha : f64 , beta : f64 ) -> Result < ( ) > { input_array_arg ! ( src ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_convertScaleAbs_const__InputArrayX_const__OutputArrayX_double_double ( src . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) , alpha , beta ) } . into_result ( ) }
Scales, calculates absolute values, and converts the result to 8-bit.
Scales calculates absolute values and converts the result to 8 - bit .
src
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray
alpha
f64
beta
f64
see also
:convertTo, cv::abs(const Mat&)
: convertTo cv :: abs ( const Mat& )
c++ default parameters
None