Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
I have a scanned image and i need to rotate it accordingly text.

Akzeptierte Antwort

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh am 30 Mai 2015
Bearbeitet: Salaheddin Hosseinzadeh am 30 Mai 2015
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!

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by