image rotation with equations?
显示 更早的评论
xrot = x*cos(θ) − y*sin(θ)
yrot = x*sin(θ) + y*cos(θ)
hold for images as well. can i rotate image with them?
采纳的回答
更多回答(1 个)
Matt J
2013-11-27
0 个投票
You could, when you incorporate them into imtransform(). But it would be easier just to use imrotate().
类别
在 帮助中心 和 File Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!