【发布时间】:2015-03-24 05:18:58
【问题描述】:
默认情况下,MATLAB 函数 imrotate 旋转图像,旋转部分填充黑色。看到这个,http://in.mathworks.com/help/examples/images_product/RotationFitgeotransExample_02.png
我们也可以使用white background 旋转图像。
问题是,我们可以旋转一个填充了原始图像背景的图像(使用或不使用 imrotate)吗?
针对我的问题:旋转角度非常小的彩色图像(
【问题讨论】:
-
那么你会如何定义这张图片的背景颜色?
-
@knedlsepp:我想用原始图像的背景填充它。
-
你应该重新表述你的问题。 “填充原始图像的背景颜色。”不等于:“背景应该是原图。”
-
@knedlsepp:已经指定了。请检查。
标签: matlab rotation image-rotation