登录
首页 » matlab » seam-carving

seam-carving

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

  • fdtd_TM
    一个给予matlab编写的2维TM波的FDTD程序(Matlab prepared to give a two-dimensional TM wave FDTD program)
    2009-09-12 18:03:45下载
    积分:1
  • SimpleNN
    this demo on neural network creation
    2009-03-11 19:01:41下载
    积分:1
  • refdlg
    to reference a a dlg using Matlab code, this can realy help you.
    2009-06-16 19:31:45下载
    积分:1
  • chap3
    程序代码说明 P0301:数字图像矩阵数据的显示及其傅立叶变换 P0302:二维离散余弦变换的图像压缩 P0303:采用灰度变换的方法增强图像的对比度 P0304:直方图均匀化 P0305:模拟图像受高斯白噪声和椒盐噪声的影响 P0306:采用二维中值滤波函数medfilt2对受椒盐噪声干扰的图像滤波 P0307:采用MATLAB中的函数filter2对受噪声干扰的图像进行均值滤波 P0308:图像的自适应魏纳滤波 P0309:运用5种不同的梯度增强法进行图像锐化 P0310:图像的高通滤波和掩模处理 P0311:利用巴特沃斯(Butterworth)低通滤波器对受噪声干扰的图像进行平滑处理 P0312:利用巴特沃斯(Butterworth)高通滤波器对图像进行锐化处理(Code Description P0301: digital image data display matrix and Fourier transform P0302: Two-dimensional discrete cosine transform image compression P0303: gray-scale transformation method using the contrast enhanced image P0304: Histogram of homogenization P0305: simulated images by Gaussian white noise and salt and pepper noise of P0306: two-dimensional median filter function medfilt2 on the image noise by filtering salt and pepper P0307: using MATLAB in the function filter2 noise on the image by mean filter P0308: Image Adaptive Weiner Filter P0309: the use of 5 different gradient enhanced image sharpening method P0310: the image of the high-pass filter and mask treatment P0311: Using Butterworth (Butterworth) low pass filter the image noise by smoothing P0312: Using Butterworth (Butterworth) high pass filter sharpening the image)
    2010-05-17 18:20:35下载
    积分:1
  • BP神经网络负荷预测
    说明:  采用BP神经网络对电力系统负荷进行预测,预测结果与实际结果的误差较小,可作为电力公司进行优化调度的依据。(BP neural network is used to predict the load of power system. The error between the predicted result and the actual result is small, which can be used as the basis for optimal dispatching of power companies.)
    2019-12-16 10:00:30下载
    积分:1
  • Image_Power_Calc
    This matlab m-file computes the average image power of an image and displays a filtered image.
    2009-07-16 07:34:23下载
    积分:1
  • mod_demod_16QAM
    关于16QAM的调制与解调的MATLAB的函数文件,直接调用就可以使用(With regard to 16QAM modulation and demodulation of the MATLAB function files, you can use a direct call)
    2009-11-13 20:07:00下载
    积分:1
  • stft_ft
    Another way to do a stft but with fft from matlab
    2009-05-08 18:56:23下载
    积分:1
  • gaijinxingh_k_fenbuhaizabo
    说明:  改进型K分布还杂波程序,非常棒的MATLAB源码呵呵,谁用谁知道!(K distribution clutter also improved procedures for the MATLAB source Oh great, who is with who knows!)
    2010-04-27 11:16:40下载
    积分:1
  • disanci
    清音的对数幅度谱,短时过零率,平均能量,基音周期(Voiceless logarithmic amplitude spectrum, short-term zero crossing rate, average energy, pitch period)
    2010-05-14 20:15:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载