|
SOLUTIONS
|
MATHEMATICA 内置符号
ImageTransformation
ImageTransformation[image, function]
给出一个图像,其在位置
的每个像素对应于 image 中
的位置.
ImageTransformation[image, function, size]
给出指定大小的图像.
更多信息更多信息
- 默认情况下,图像的左下角对应于坐标
. 其它坐标系统可以通过设置 PlotRange 和 DataRange 选项来指定. - ImageTransformation 接受以下选项:
-
DataRange Automatic 原始图像中的坐标范围 PlotRange Automatic 所得图像中的坐标范围 Padding Black 填充方法 Resampling Automatic 重采样方法 - 输入图像的坐标系统范围被假设为
,其中 a 是宽高比. 其它坐标系统可以通过设置 DataRange 选项来指定. - DataRange 的典型设置包括:
-
Automatic 范围为
,其中 a 是宽高比{{left,right},{bottom,top}} 明确的坐标范围 Full 真的像素范围 
- 生成图像的坐标系统由 PlotRange 选项指定,其具有与 DataRange 一样的设置.
- 默认设置为 PlotRange->Automatic,PlotRange 与 DataRange 取的一样.
- PlotRange->All 试着找到包括输入图像中所有像素的图像的绘制范围.
- 在 ImageTransformation[image, function] 中,生成图像的像素维数是基于 image 的维数和 PlotRange 与 DataRange 的比例.
- 对于可能的 size 指标,请参见 ImageResize 参考页.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


