Introduction - If you have any usage issues, please Google them yourself
This script uses radon function of Matlab Image Processing Toolbox.
tetastep is resolution of angle of line.
threshold is a number between 0.5 to 1 that means a percent of the maximum value in Accumulator matrix.