Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Image Processing & Analysis > Basic Image Manipulation >

ImageRotate

ImageRotate[image]
rotates image counterclockwise by 90°.
ImageRotate[image, side]
rotates image to make the top of the image be on the specified side.
ImageRotate[image, side1->side2]
rotates image to make side1 be on side2.
ImageRotate[image, Theta]
rotates image counterclockwise by Theta radians.
  • ImageRotate[image, ...] rotates image about its center.
  • ImageRotate yields an Image object with pixel values corresponding to a rotated image.
Rotate an image counterclockwise by 90 degrees:
Rotate an image counterclockwise by 20 degrees:
Turn a photo to the right:
Turn the previous result so that the left side goes to the top:
Rotate an image counterclockwise by 90 degrees:
In[1]:=
Click for copyable input
Out[1]=
 
Rotate an image counterclockwise by 20 degrees:
In[1]:=
Click for copyable input
Out[1]=
 
Turn a photo to the right:
In[1]:=
Click for copyable input
Out[1]=
Turn the previous result so that the left side goes to the top:
In[2]:=
Click for copyable input
Out[2]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team