登录
首页 » matlab » seam-carving

seam-carving

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

  • cooperative
    cooperative diversity
    2011-05-16 22:15:22下载
    积分:1
  • matlabgui
    一个简单实例教会如何开发gui,一学就会。(a simple example to show how to code with matlab gui)
    2014-06-28 21:38:55下载
    积分:1
  • matlab
    精通matlab辅导与指南,一本学习matlab的好书,代码多,轻松学习掌握matlab。(Proficient in matlab counseling and guidance of a good book to learn matlab, code and more easily learn to master matlab.)
    2008-12-30 10:00:47下载
    积分:1
  • behangxiaobojianyi
    这是一本关于小波分析的书籍,可以直接使用的,提供给需要的朋友们(this is study on wavelet)
    2010-12-12 17:26:46下载
    积分:1
  • Sol
    通过用MATLAB软件解决七参数转换转换的编程代码(Seven parameter transformation)
    2013-10-21 12:38:04下载
    积分:1
  • lms-time-delay
    lms time delay estimation matlab cod for digital signal processing
    2013-05-07 13:44:41下载
    积分:1
  • matlab
    matlab about BA model
    2015-03-23 15:42:22下载
    积分:1
  • ddt2
    模糊控制三相异步交流电动机的建模及其仿真(Fuzzy control modeling and simulation of three-phase asynchronous AC motor)
    2012-06-05 13:34:41下载
    积分:1
  • Buck
    Design for buck converter
    2014-08-08 10:47:09下载
    积分:1
  • Matlab.m
    共振解调法诊断轴承损伤类故障的原理概述如下:当轴承某一元件表面出现局部损伤时,在受载运行过程中要撞击与之相互作用的其它元件表面,产生冲击脉冲力,由于冲击脉冲力的频带很宽,必然包含轴承外圈、传感器甚至附加的谐振器等的固有频率而激起这个测振系统的高频固有振动。根据实际情况可以选择某一高频固有振动作为研究对象,通过中心频率等于该固有频率的带通滤波器把该固有振动分离出来。然后进行包络解调,去除高频衰减振动的频率成分,得到只包含故障特征信息的低频包络信号,对这一包络信号进行频谱分析便可以容易地诊断出轴承的故障来。(The principle of resonance demodulation method in the diagnosis of bearing damage such failure overview is as follows: when the bearing surface of a local damage, in the process of loading operation to hit with other elements of the interaction of surface, impact pulse power, due to the impact pulse frequency band is very wide, inevitably contains the bearing outer ring, sensors and even additional resonator and stir up the natural frequency of the vibration system of the high frequency vibration mode.A high frequency vibration mode can be selected according to actual situation as the research object, through the center frequency is equal to the natural frequency of the bandpass filter to separate the natural vibration.Then envelope demodulation, frequency components to remove the high frequency vibration attenuation, get only includes fault feature information of low frequency envelope signal, the envelope signal spectrum analysis can be easily diagnosed bearing failure.)
    2015-05-20 15:41:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载