pub fn squared_norm( grad_x: &DMatrix<i16>, grad_y: &DMatrix<i16>, ) -> DMatrix<u16>
Compute squared gradient norm from x and y gradient matrices.