登录
首页 » matlab » seam-carving

seam-carving

于 2013-04-30 发布 文件大小:4732KB
0 176
下载积分: 1 下载次数: 61

代码说明:

  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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Chirp_Pulse_Comp
    chirp信号脉冲压缩,用于雷达信号处理,产生chirp信号后进行压缩,以实现高距离分辨力(chirp signal pulse compression for radar signal processing to generate chirp signal is compressed in order to achieve high range resolution)
    2009-12-21 17:31:21下载
    积分:1
  • 54948739-Digital-Signal-Processing-With-Field-Pro
    I am in need of some codes of HDL
    2014-02-10 22:18:48下载
    积分:1
  • Gaussc
    选主元的高斯消元法,用于求解线性方程组。很方便!基于c++开发。(Selected principal component of the Gaussian elimination method for solving linear equations. Very convenient! Based on c++ development.)
    2010-03-03 10:41:17下载
    积分:1
  • L99line
    该程序代码为结构拓扑优化设计实例,是对飞机耳片结构的优化(The code for topology optimization of the design example, the optimization of the structure of the aircraft hanger)
    2012-05-11 19:50:58下载
    积分:1
  • pid10460_current
    磁悬浮小球Simulink仿真,PID控制,适合磁悬浮系统初级学习(Magnetic levitation ball Simulink simulation, PID control, suitable for the primary study of the magnetic levitation system)
    2012-06-17 16:27:25下载
    积分:1
  • adaptive3
    自适应有限元求解第一类和第二类边界条件的拉普拉斯方程的相关子程序(Adaptive finite element solution of the first and second boundary conditions related to the Laplace equation subroutine)
    2011-10-05 21:06:31下载
    积分:1
  • Q4
    说明:  Simulation of Alamouti’s Scheme over Rayleigh fading channel. Assume perfect channel state information at the receiver. Plot BER performance (use gray mapping) and compare it to MRC with 2RX antennas. Compare the performance with MRC.
    2011-10-14 17:03:39下载
    积分:1
  • 元胞自动机的TT模型
    元胞自动机的TT模型,用于仿真交通流,适用于开口边界(TT cellular automata model for traffic flow simulation for opening borders)
    2013-11-16 16:56:11下载
    积分:1
  • ga1
    使用matlab软件编程遗传算法在不规则自由空间中的路径规划(Matlab software programming using genetic algorithms in irregular free space path planning)
    2015-03-08 11:42:51下载
    积分:1
  • IMAREAD1
    This file is to read an image in C++.
    2011-01-27 00:40:49下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载