Piecewise Smooth Mumford-Shah Functional 使用方法

来源:互联网 发布:无线键盘软件下载 编辑:程序博客网 时间:2024/05/23 11:32

Piecewise Smooth Mumford-Shah Functional 使用方法


呵呵...国内的web没看到一篇关于这种平滑算法的介绍, 我也是"理解"


不废话,直接笔记.

什么是Piecewise smooth mumford-shah functinal ?

看这个:

http://en.wikipedia.org/wiki/Mumford%E2%80%93Shah_functional

下面是 TUM Computer Vision Group 的Mumford-shah 图像平滑滤波的实现. 

https://github.com/tum-vision/fastms


下面是在matlab里面调用这个库得到的效果.  能用...




配置方法: 

环境: Linux/Ubuntu

第一步, 用git把tum-vision/fastms的文件clone到本地

第二部, 查看你的matlab安装路径. 在linux下, 你不知道安装路径就用locate 命令去查.

比方说我的. 这里我的安装路径就在/usr/local/MATLAB/R2014a里面. 



于是我们编译刚刚下载好的库,即得带上Matlab的路径变量.


Ok啦~


然后去matlab里面打开相应的demo程序就可以了.


这个库是C++实现的, 有机会看看源码...



0 0