how to orientation of all the fragments or images according to the orientation of text.

1 次查看(过去 30 天)
I have a scanned image and i need to rotate it accordingly text.

采纳的回答

Salaheddin Hosseinzadeh
编辑:Salaheddin Hosseinzadeh 2015-5-30
Hi,
You can use radon transform to detect the rotation angle. I think you have to detect the minimum column or row of the radon transform, and based on what row number is this and how you configured radon you know how much it should be rotated.
To rotate the image you can use imrotate function. Have a look at MATLAB help for radon and imrotate.
Let us know if you have prob
Good Luck!

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by