log

Function log 

Source
pub fn log(src: &impl ToInputArray, dst: &mut impl ToOutputArray) -> Result<()>
Expand description

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