pub fn convert_fp16(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src);
	output_array_arg!(dst);
	unsafe { sys::cv_convertFp16_const__InputArrayX_const__OutputArrayX(src.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
/// Converts an array to half precision floating number.
/// 
/// This function converts FP32 (single precision floating point) from/to FP16 (half precision floating point). CV_16S format is used to represent FP16 data.
/// There are two use modes (src -> dst): CV_32F -> CV_16S and CV_16S -> CV_32F. The input array has to have type of CV_32F or
/// CV_16S to represent the bit depth. If the input array is neither of them, the function will raise an error.
/// The format of half precision floating point is defined in IEEE 754-2008.
/// 
/// ## Parameters
/// * src: input array.
/// * dst: output array.
Converts an array to half precision floating number.
This function converts FP32 (single precision floating point) from/to FP16 (half precision floating point). CV_16S format is used to represent FP16 data.
There are two use modes (src -> dst): CV_32F -> CV_16S and CV_16S -> CV_32F. The input array has to have type of CV_32F or
CV_16S to represent the bit depth. If the input array is neither of them, the function will raise an error.
The format of half precision floating point is defined in IEEE 754-2008.
Converts an array to half precision floating number . This function converts FP32 ( single precision floating point ) from / to FP16 ( half precision floating point ) . CV_16S format is used to represent FP16 data . There are two use modes ( src - > dst ) : CV_32F - > CV_16S and CV_16S - > CV_32F . The input array has to have type of CV_32F or CV_16S to represent the bit depth . If the input array is neither of them the function will raise an error . The format of half precision floating point is defined in IEEE 754 - 2008 .
pub fn convert_fp16(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src);
	output_array_arg!(dst);
	unsafe { sys::cv_convertFp16_const__InputArrayX_const__OutputArrayX(src.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
pub fn convert_fp16 ( src : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray ) -> Result < ( ) > { input_array_arg ! ( src ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_convertFp16_const__InputArrayX_const__OutputArrayX ( src . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) ) } . into_result ( ) }
Converts an array to half precision floating number.
Converts an array to half precision floating number .
src
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray