Function opencv::core::sqrt[][src]

pub fn sqrt(src: &dyn ToInputArray, dst: &mut dyn 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.