how to rotate Image around its diameter?

1 view (last 30 days)
Isee You
Isee You on 11 Jun 2013
i want to rotate image around its diameter (horizontal or vertical )not its center (clockwise ........)
with specific angel
  1 Comment
Ahmed
Ahmed on 11 Jun 2013
Edited: Ahmed on 11 Jun 2013
I think you intend to change the perspective from which the image is seen. Right? http://www.mathworks.com/matlabcentral/fileexchange/28581-imsurf-3d-images

Sign in to comment.

Answers (2)

Bjorn Gustavsson
Bjorn Gustavsson on 11 Jun 2013
It sounds like you want to do something like:
ImOut1 = fliplr(ImIn);
ImOut2 = flipud(ImIn);
ImOut3 = flipdim(ImIn,dim);
HTH
  1 Comment
Isee You
Isee You on 11 Jun 2013
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

Sign in to comment.


Image Analyst
Image Analyst on 11 Jun 2013
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 Comments
Bjorn Gustavsson
Bjorn Gustavsson on 12 Jun 2013
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.

Sign in to comment.

Categories

Find more on MATLAB Support Package for USB Webcams 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!