|
SOLUTIONS
|
MATHEMATICA 内置符号
ImageRotate
ImageRotate[image]
逆时针旋转 image 90°.
ImageRotate[image, side]
旋转 image,使图像的顶部位于指定边的位置.
ImageRotate[image, side1->side2]
旋转 image,使
位于
的位置.
ImageRotate[image,
]
旋转 image,逆时针旋转
弧度.
ImageRotate[image, side, size]
给出具有指定尺寸的图像.
更多信息更多信息
- 可能的边指定是:Top、Bottom、Left、Right.
- ImageRotate[image, ...] 围绕图形的中心旋转 image.
- ImageRotate 产生一个 Image 对象,其像素值对应一个旋转图像.
- ImageRotate[image, side] 等价于 ImageRotate[image, Top->side].
- ImageRotate 采用 Background 选项,以指定图像外的像素所假定的颜色. 在 Background->Transparent 下,ImageRotate 用全透明黑色像素填充.
- 默认情况下,ImageRotate 自动选择最适合的重采样算法. 可以通过设置 Resampling 选项,指定一个明确的算法.
- 在 ImageRotate[image, side, size] 中,size 的可能说明包括:
-
w 输出图像的宽度 {w,h} 输出图像的宽度和高度 Automatic 容纳所有的旋转后的图像的最小矩形 All 容纳以任何角度旋转后的图像的最小正方形 Full 使用输入图像的维度
版本 7 的新功能 | 版本 8 修改功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »









