pub fn psnr(src1: &dyn core::ToInputArray, src2: &dyn core::ToInputArray) -> Result<f64> {
	input_array_arg!(src1);
	input_array_arg!(src2);
	unsafe { sys::cv_PSNR_const__InputArrayX_const__InputArrayX(src1.as_raw__InputArray(), src2.as_raw__InputArray()) }.into_result()
}
/// Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric.
/// 
/// This function calculates the Peak Signal-to-Noise Ratio (PSNR) image quality metric in decibels (dB), between two input arrays src1 and src2. Arrays must have depth CV_8U.
/// 
/// The PSNR is calculated as follows:
/// 
/// ![block formula](https://latex.codecogs.com/png.latex?%0A%5Ctexttt%7BPSNR%7D%20%3D%2010%20%5Ccdot%20%5Clog%5F%7B10%7D%7B%5Cleft%28%20%5Cfrac%7BR%5E2%7D%7BMSE%7D%20%5Cright%29%20%7D%0A)
/// 
/// where R is the maximum integer value of depth CV_8U (255) and MSE is the mean squared error between the two arrays.
/// 
/// ## Parameters
/// * src1: first input array.
/// * src2: second input array of the same size as src1.
Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric.
This function calculates the Peak Signal-to-Noise Ratio (PSNR) image quality metric in decibels (dB), between two input arrays src1 and src2. Arrays must have depth CV_8U.

The PSNR is calculated as follows.

[block formula]


Computes the Peak Signal - to - Noise Ratio ( PSNR ) image quality metric . This function calculates the Peak Signal - to - Noise Ratio ( PSNR ) image quality metric in decibels ( dB ) between two input arrays src1 and src2 . Arrays must have depth CV_8U . The PSNR is calculated as follows . [ block formula ]
pub fn psnr(src1: &dyn core::ToInputArray, src2: &dyn core::ToInputArray) -> Result<f64> {
	input_array_arg!(src1);
	input_array_arg!(src2);
	unsafe { sys::cv_PSNR_const__InputArrayX_const__InputArrayX(src1.as_raw__InputArray(), src2.as_raw__InputArray()) }.into_result()
}
pub fn psnr ( src1 : & dyn core :: ToInputArray , src2 : & dyn core :: ToInputArray ) -> Result < f64 > { input_array_arg ! ( src1 ) ; input_array_arg ! ( src2 ) ; unsafe { sys :: cv_PSNR_const__InputArrayX_const__InputArrayX ( src1 . as_raw__InputArray ( ) , src2 . as_raw__InputArray ( ) ) } . into_result ( ) }
Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric.
Computes the Peak Signal - to - Noise Ratio ( PSNR ) image quality metric .
src1
&dyn core::ToInputArray
src2
&dyn core::ToInputArray