pub fn divide(scale: f64, src2: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, dtype: i32) -> Result<()> {
	input_array_arg!(src2);
	output_array_arg!(dst);
	unsafe { sys::cv_divide_double_const__InputArrayX_const__OutputArrayX_int(scale, src2.as_raw__InputArray(), dst.as_raw__OutputArray(), dtype) }.into_result()
}
/// Performs per-element division of two arrays or a scalar by an array.
/// 
/// The function cv::divide divides one array by another:
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%28I%29%20%3D%20saturate%28src1%28I%29%2Ascale%2Fsrc2%28I%29%29%7D)
/// or a scalar by an array when there is no src1 :
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%28I%29%20%3D%20saturate%28scale%2Fsrc2%28I%29%29%7D)
/// 
/// When src2(I) is zero, dst(I) will also be zero. Different channels of
/// multi-channel arrays are processed independently.
/// 
/// 
/// Note: Saturation is not applied when the output array has the depth CV_32S. You may even get
/// result of an incorrect sign in the case of overflow.
/// ## Parameters
/// * src1: first input array.
/// * src2: second input array of the same size and type as src1.
/// * scale: scalar factor.
/// * dst: output array of the same size and type as src2.
/// * dtype: optional depth of the output array; if -1, dst will have depth src2.depth(), but in
/// case of an array-by-array division, you can only pass -1 when src1.depth()==src2.depth().
/// ## See also
/// multiply, add, subtract
/// 
/// ## Overloaded parameters
/// 
/// ## C++ default parameters
/// * dtype: -1
Performs per-element division of two arrays or a scalar by an array.
The function cv::divide divides one array by another:
[block formula]
or a scalar by an array when there is no src1 :
[block formula]



Saturation is not applied when the output array has the depth CV_32S. You may even get
result of an incorrect sign in the case of overflow.
Performs per - element division of two arrays or a scalar by an array . The function cv :: divide divides one array by another : [ block formula ] or a scalar by an array when there is no src1 : [ block formula ] Saturation is not applied when the output array has the depth CV_32S . You may even get result of an incorrect sign in the case of overflow .
pub fn divide(scale: f64, src2: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, dtype: i32) -> Result<()> {
	input_array_arg!(src2);
	output_array_arg!(dst);
	unsafe { sys::cv_divide_double_const__InputArrayX_const__OutputArrayX_int(scale, src2.as_raw__InputArray(), dst.as_raw__OutputArray(), dtype) }.into_result()
}
pub fn divide ( scale : f64 , src2 : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray , dtype : i32 ) -> Result < ( ) > { input_array_arg ! ( src2 ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_divide_double_const__InputArrayX_const__OutputArrayX_int ( scale , src2 . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) , dtype ) } . into_result ( ) }
Performs per-element division of two arrays or a scalar by an array.
Performs per - element division of two arrays or a scalar by an array .
scale
f64
src2
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray
dtype
i32
see also
multiply, add, subtract
multiply add subtract
overloaded parameters
None
c++ default parameters
None