[][src]Function opencv::cudaarithm::pow

pub fn pow(
    src: &dyn ToInputArray,
    power: f64,
    dst: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>

Raises every matrix element to a power.

Parameters

  • src: Source matrix.
  • power: Exponent of power.
  • dst: Destination matrix with the same size and type as src .
  • stream: Stream for the asynchronous version.

The function pow raises every element of the input matrix to power :

block formula

See also

pow

C++ default parameters

  • stream: Stream::Null()