Clear Filters
Clear Filters

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

1 view (last 30 days)
I have a scanned image and i need to rotate it accordingly text.

Accepted Answer

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 30 May 2015
Edited: Salaheddin Hosseinzadeh on 30 May 2015
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!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!