how to rotate Image around its diameter?

2 次查看(过去 30 天)
i want to rotate image around its diameter (horizontal or vertical )not its center (clockwise ........)
with specific angel

回答(2 个)

Bjorn Gustavsson
Bjorn Gustavsson 2013-6-11
It sounds like you want to do something like:
ImOut1 = fliplr(ImIn);
ImOut2 = flipud(ImIn);
ImOut3 = flipdim(ImIn,dim);
HTH
  1 个评论
Isee You
Isee You 2013-6-11
no
i want to rotate image with specific angel to look like i change the angel of camera horizontal but i still have the same image just it look change a little bit

请先登录,再进行评论。


Image Analyst
Image Analyst 2013-6-11
I don't understand what you want. Please create something, say in Photoshop or whatever and upload somewhere, such as http://snag.gy. In the meantime, what is wrong with imrotate()?
  5 个评论
Bjorn Gustavsson
Bjorn Gustavsson 2013-6-12
That's right, from one ordinary image it is not possible to determine if the object is small and close to the camera, or a larger-scaled object further away. To make your 3-d scene, that is the information you need.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by