imaging/cv_mat/filters: magnitude filter implemented