how to detect lonGest Line and Find its slope to horizontal axis

4 views (last 30 days)
i have image
Scanned From Scanner
and Becouse Of humans Errors it May Be Rotatated
i Think i can detect this Rotation By this Line and Calculate its Slope to horizontal
First : how can detect this Line ( longest Line ) image
second : how Could i Calculate its slope and Correct it
thanks in advance ^_^ ^_^

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!