Distorting an image on an arbitrary grid
显示 更早的评论
I have an image with several lines cutting across it. The lines are almost parallel (but not quite), and fitting for them is straightforward. Now, I'd like to distort the image so that all the lines are parallel and equally spaced apart, interpolating between them as necessary. What's a good way to do this?
Thanks!
回答(1 个)
Image Analyst
2017-7-26
1 个投票
Try imwarp(). See Steve's blog: http://blogs.mathworks.com/steve/2006/08/04/spatial-transformations-defining-and-applying-custom-transforms/
类别
在 帮助中心 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!