[][src]Function opencv::core::log

pub fn log(src: &dyn ToInputArray, dst: &mut dyn ToOutputArray) -> Result<()>

Calculates the natural logarithm of every array element.

The function cv::log calculates the natural logarithm of every element of the input array: block formula

Output on zero, negative and special (NaN, Inf) values is undefined.

Parameters

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

See also

exp, cartToPolar, polarToCart, phase, pow, sqrt, magnitude