Function opencv::core::trace [] [src]

pub fn trace(mtx: &Mat) -> Result<Scalar, String>

computes trace of a matrix