SecondordeTVbasedmodels

所属分类:matlab编程
开发工具:matlab
文件大小:12KB
下载次数:8
上传日期:2009-11-30 20:53:13
上 传 者f.zamani
说明:  A second-order cone programming based solver for MATLAB

文件列表:
rlp_tv_l1_relaxed.m (4475, 2006-05-09)
tv_l1_relaxed.m (936, 2006-05-23)
rlp_vo.m (6665, 2006-05-09)
vo.m (884, 2006-05-23)
mosekoutput.m (1048, 2006-05-10)
mosekparam.m (188, 2005-04-12)
meyer_constrained.m (981, 2006-05-23)
rlp_meyer_constrained.m (5413, 2006-05-09)
circle25.bmp (11078, 2005-02-26)
dotplus_org.bmp (11078, 2003-11-12)

============== List of Files ================= * Utility functions: mosekparam.m --- default parameter settings mosekoutput.m --- parse mosek output and print out on screen * Main model functions: meyer_constrained.m --- Meyer's model: min TV(u) s.t. ||u-f||_G <= \sigma vo.m --- The Vese-Osher model: min TV(u) + \mu || |\vec g| ||_{L^1}, s.t. div g=f-u tv_l1_relaxed.m --- The TV-L1 model: min TV(u) + \lambda ||f-u||_{L^1} * Coefficient generation functions: rlp_meyer_constrained.m --- Called by meyer_constrained.m rlp_vo.m --- Called by vo.m tv_l1_relaxed.m --- Called by tv_l1_relaxed.m * Sample grey-scale image file circle25.bmp --- A 256 level grey-scale (8-bit) bmp image file dotplus_org.bmp --- A 256 level grey-scale (8-bit) bmp image file ============== Obtain Mosek ================== Mosek is called by our Matlab codes to solve the second-cone programs. Mosek can be downloaded from mosek.com, and a license if free for academic research. When requesting a license, please indicate that you need to solve large-scale second-order cone programs proposed by Goldfarb & Yin for image processing. It only takes 1-2 business days to receive a license. Mosek should be properly installed and its Matlab executables (vary for Matlab versions) must be included in the search path of Matlab. ============== Related Matlab commands ======= Read the grey-scale image "circle25.bmp" to a double matrix "f": > f=double(imread('circle25.bmp','bmp')); Call the TV-L1 decomposition with lambda=0.1: > [u,v] = tv_l1_relaxed(f,0.1); Display "u" > image(u+1);colormap(gray(256)) Save "u" as an grey-scale image file "output.bmp" > imwrite(uint8(u),'output.bmp','bmp');

近期下载者

相关文件


收藏者