Skew detection and correction
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I hane a binary image that contains a headerline. I want to skew image so that header line will be in horozontal direction.
2 Kommentare
oza san
am 28 Mär. 2017
i have an image like below and i want to detect and correct the skew can you help me sir?
Antworten (2)
Image Analyst
am 5 Dez. 2013
So find the line, then call imtransform to remove the shear (skew).
1 Kommentar
Alex Taylor
am 6 Dez. 2013
Bearbeitet: Alex Taylor
am 6 Dez. 2013
Image Analyst's answer is on the money. However, I would use imwarp and affine2d instead of imtransform/maketform. The use of imtransform is no longer recommended.
Alex Taylor
am 6 Dez. 2013
Bearbeitet: John Kelly
am 27 Feb. 2015
I do actually have one clarification from the tags. Do you really mean skew/shear, or do you actually mean rotation?
If you only need to rotate the header line out of view, it will be easier to just use the imrotate function (assuming you have the Image Processing Toolbox).
0 Kommentare
Siehe auch
Kategorien
Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!