Function opencv::core::add_weighted [] [src]

pub fn add_weighted(src1: &Mat, alpha: f64, src2: &Mat, beta: f64, gamma: f64, dst: &Mat, dtype: i32) -> Result<(), String>

computes weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)

default value for arguments: - dtype: default -1