How to skew the line which is in the image?

3 views (last 30 days)
i have this slant line to appear straight!how do i achieve this? Please help me.Thank you

Accepted Answer

Image Analyst
Image Analyst on 19 Dec 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 Comments
Image Analyst
Image Analyst on 10 Apr 2017
Extract one line at a time and then do it.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!