Last active
November 23, 2016 08:17
-
-
Save maxbeutel/c19de559ad110976dce074535aba27b0 to your computer and use it in GitHub Desktop.
Hough Transform - create accumulator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let max_line_length = (img_width as f64).hypot(img_height as f64).ceil(); | |
let mut accumulator: na::DMatrix<u64> = na::DMatrix::new_zeros(180, max_line_length as usize); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment