登录
首页 » matlab » seam-carving

seam-carving

于 2013-04-30 发布 文件大小:4732KB
0 196
下载积分: 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 个回复

  • matlab
    Matlab各编程应用实例,并包含正交函数、曲线拟合、回归分析等。(Application of the Matlab programming, and includes orthogonal function, curve fitting, regression analysis.)
    2010-11-16 17:20:14下载
    积分:1
  • Poisson-distribution-WSNs_matlab
    说明:  泊松均匀分布的WSNs的网络拓扑Matlab程序(Poisson network structure for WSN)
    2011-03-17 22:39:13下载
    积分:1
  • PSO
    这是基本的粒子群算法,里面还附有一个常用的测试函数。(This is the basic particle swarm algorithm, which is also accompanied by a commonly used test functions.)
    2014-09-20 22:47:43下载
    积分:1
  • Lfnewton
    load flow solution with newton-Raphson method
    2012-10-04 14:46:50下载
    积分:1
  • DSPview2
    secdond version pf DSPview code on matlab
    2013-10-31 18:31:33下载
    积分:1
  • MUSIC
    MUSIC DOA simulation with matlab
    2010-06-12 18:22:52下载
    积分:1
  • xiangguanhanshu
    相关函数和互相关函数,广泛应用于工程测量技术中。 (Correlation function and cross-correlation function is widely used in engineering surveying technology.)
    2009-02-08 11:23:43下载
    积分:1
  • filter2_floating
    MATLAB code filter2 floating coefficients
    2009-02-10 19:29:03下载
    积分:1
  • OFDM_4QAM_R14
    OFDM/Simulink matlab procedure, at different signal to noise ratio, the system compares the SER and BER. The use of Rayleigh fading channel.
    2010-08-02 15:25:13下载
    积分:1
  • AP_ML
    采用最大似然交替投影迭代的方法对信号进行DoA估计,很实用(Alternating projection iterative maximum likelihood method the signal DoA estimation, it is practical)
    2021-04-12 16:58:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载