文件名称:imrotate_my
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.55kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个空间点P绕一个中心点C旋转可用接续的三个变换来实现:第1个变换平移点C到坐标系原点位置,第2个变换将点P绕原点旋转,第3个变换平移点C回到其相对于坐标系原点的原始位置。当原始图像点乘以变换矩阵,得到新的图像位置点时,其位置可能不是整数值,该位置的灰度值需要通过灰度插值获得。在不改变输出图像大小的情况下,超出原始图片范围的区域,MATLAB原有函数imrotate的处理方法为将其灰度值全部置零,本文通过取模操作对超出区域进行了另外一种控制方法imrotate_my函数,能够较好的显示出图像旋转的边界变化。
-A space around the center point P C available in three rotating to realize the transformation: the first one translation: C to coordinate transformation, the origin place of 2 transform point P around the rotation, the origin of the three points to the transformation of C translation relative to the original position of axis. When the original image point multiply the transformation matrix, a new image position, the position may not integer, this position gray value by gray interpolation gain needed. No change in the size of the image output circumstance, the area beyond the original image, the original function imrotate MATLAB treatment method for the grey value all zeros, based on beyond the area take mould operation on another control method imrotate_my function, to better show of image rotation boundaries.
-A space around the center point P C available in three rotating to realize the transformation: the first one translation: C to coordinate transformation, the origin place of 2 transform point P around the rotation, the origin of the three points to the transformation of C translation relative to the original position of axis. When the original image point multiply the transformation matrix, a new image position, the position may not integer, this position gray value by gray interpolation gain needed. No change in the size of the image output circumstance, the area beyond the original image, the original function imrotate MATLAB treatment method for the grey value all zeros, based on beyond the area take mould operation on another control method imrotate_my function, to better show of image rotation boundaries.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
imrotate_my.m
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
