|
SOLUTIONS
|
MATHEMATICA 内置符号
ImagePerspectiveTransformation
ImagePerspectiveTransformation[image, m]
将一个由矩阵 m 指定的线性分式变换应用到 image 中每个像素的坐标处.
ImagePerspectiveTransformation[image, m, size]
给出一个具有指定尺寸的图像.
更多信息更多信息
- 对于一个 2×2 矩阵 m,ImagePerspectiveTransformation[image, m] 把 AffineTransform[m] 应用于 image.
- ImagePerspectiveTransformation[image, {m, v}] 把 AffineTransform[{m, v}] 应用于 image.
- 对于一个 3×3 矩阵 m,ImagePerspectiveTransformation[image, m] 把LinearFractionalTransform[m] 应用于 image.
- 在 ImagePerspectiveTransformation[image, {a, b, c, d}] 中,其中 a 是一个 2×2 矩阵,b 和 c 是长度为 2 的向量,而 d 是一个标量,对 image 应用 LinearFractionalTransform[{a, b, c, d}].
- ImagePerspectiveTransformation 也可用于 TransformationFunction 对象.
- ImagePerspectiveTransformation 可以采用下列选项:
-
AspectRatio Automatic 输出图像的高宽比 DataRange Automatic 原始图像中的坐标范围 PlotRange Automatic 所得图像中的坐标范围 Padding Black 填充方法 Resampling Automatic 重采样方法 - DataRange->Full 和 PlotRange->Full 假定范围为
. - DataRange->Automatic 等价于设置
,其中
表示原始图像的高宽比. - PlotRange->All 试图包含所有目标像素.
- PlotRange->Automatic 令 PlotRange 等于 DataRange.
- 当 PlotRange 不为 Automatic 时,基于原始图像的尺寸以及 PlotRange 和 DataRange 的比率选择 size.
- 对于可能的 size 规范,参见 ImageResize 的参考页面.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


