seam-carving

所属分类:matlab编程
开发工具:matlab
文件大小:4732KB
下载次数:62
上传日期:2013-04-30 15:31:15
上 传 者chushoudong
说明:  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.)

文件列表:
seam carving源程序\findEnergy.m (752, 2013-04-17)
seam carving源程序\findSeam.m (1050, 2013-04-19)
seam carving源程序\findSeamImg.m (1271, 2013-04-17)
seam carving源程序\Lotus2_50.jpg (16259, 2013-04-19)
seam carving源程序\matlab.mat (5129228, 2013-04-19)
seam carving源程序\removalMap.m (798, 2012-06-29)
seam carving源程序\SeamCut.m (1005, 2013-04-17)
seam carving源程序\SeamPlot.m (339, 2013-04-19)
seam carving源程序\Testseam.m (1040, 2013-04-19)
seam carving源程序 (0, 2013-04-19)

近期下载者

相关文件


收藏者