文件名称:seam-carving
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2013-04-30
- 文件大小:
- 4.62mb
- 下载次数:
- 0次
- 提 供 者:
- 楚**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
findEnergy.m 计算出图像的梯度图
findSeamImg.m 计算出所有可能的竖直缝
findSeam.m找出能量最小的一条竖直缝
removalMap.m将需要删除的N条竖直缝存储起来并按照索引逐条删除
SeamCut.m将选中的缝一条条的删除
SeamPlot.m在图中画出要删除的缝
Testseam.m调用以上函数的主程序-FINDENERGY creates an gradient img from a given RGB or grayscale image.
FINDSEAMIMG finds the seam map from which the optimal (vertical running)
seam can be calculated.
FINDSEAM returns a column vector of coordinates for the pixels to be removed (the seam).
SEAMPLOT takes as input an image and the SeamVector array and produces an image with the seam line superimposed upon the input image, x, for display purposes.
SEAMCUT takes as input a RGB or grayscale image and SeamVector array to find the pixels contained in the seam, and to remove them from the image.
REMOVALMAP takes a given image and finds the ordered set of (vertical) seams that are removed from an image and returns them in an array, where the Nth column in the array corresponds to the Nth seam to be removed.
findSeamImg.m 计算出所有可能的竖直缝
findSeam.m找出能量最小的一条竖直缝
removalMap.m将需要删除的N条竖直缝存储起来并按照索引逐条删除
SeamCut.m将选中的缝一条条的删除
SeamPlot.m在图中画出要删除的缝
Testseam.m调用以上函数的主程序-FINDENERGY creates an gradient img from a given RGB or grayscale image.
FINDSEAMIMG finds the seam map from which the optimal (vertical running)
seam can be calculated.
FINDSEAM returns a column vector of coordinates for the pixels to be removed (the seam).
SEAMPLOT takes as input an image and the SeamVector array and produces an image with the seam line superimposed upon the input image, x, for display purposes.
SEAMCUT takes as input a RGB or grayscale image and SeamVector array to find the pixels contained in the seam, and to remove them from the image.
REMOVALMAP takes a given image and finds the ordered set of (vertical) seams that are removed from an image and returns them in an array, where the Nth column in the array corresponds to the Nth seam to be removed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
seam carving源程序\findEnergy.m
..................\findSeam.m
..................\findSeamImg.m
..................\Lotus2_50.jpg
..................\matlab.mat
..................\removalMap.m
..................\SeamCut.m
..................\SeamPlot.m
..................\Testseam.m
seam carving源程序