Changing Angle of a LINE in a image

2 views (last 30 days)
Tricky on 7 Nov 2011
Line in a image is inclined at an angle of 35 degrees. Is it possible to change the inclined angle to zero to make it a straight line.

Answers (1)

Image Analyst
Image Analyst on 7 Nov 2011
How about imrotate(), imtransform(), or maketform()?
Walter Roberson
Walter Roberson on 7 Nov 2011
Changing the pixel values cannot be helped when you are rotating from a discrete grid on to a discrete grid.

Sign in to comment.


Find more on Display Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!