Function squared_norm

Source
pub fn squared_norm(
    grad_x: &DMatrix<i16>,
    grad_y: &DMatrix<i16>,
) -> DMatrix<u16>
Expand description

Compute squared gradient norm from x and y gradient matrices.