Azzera filtri
Azzera filtri

How to skew the line which is in the image?

1 visualizzazione (ultimi 30 giorni)
i have this slant line to appear straight!how do i achieve this? Please help me.Thank you

Risposta accettata

Image Analyst
Image Analyst il 19 Dic 2015
See my attached demo where I use the radon transform to find the mean angle of an image by looking for the maximum projection value and then use imrotate() to rotate the image.
  6 Commenti
oza san
oza san il 10 Apr 2017
Dear Sir it works fine when the number of the text line is only one but failed when the number of text lines is more than one!!!what can i do to handle it?
Image Analyst
Image Analyst il 10 Apr 2017
Extract one line at a time and then do it.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by