Function opencv::core::sqrt

source ·
pub fn sqrt(src: &impl ToInputArray, dst: &mut impl ToOutputArray) -> Result<()>
Expand description

Calculates a square root of array elements.

The function cv::sqrt calculates a square root of each input array element. In case of multi-channel arrays, each channel is processed independently. The accuracy is approximately the same as of the built-in std::sqrt .

Parameters

  • src: input floating-point array.
  • dst: output array of the same size and type as src.