matting-A-
所属分类:图形图像处理
开发工具:matlab
文件大小:5028KB
下载次数:30
上传日期:2012-09-23 21:37:06
上 传 者:
jijiao5403
说明: 这个程序主要是用来数字抠图!方法是贝叶斯!
(This program is used digital matting! The method is Bayesian!)
文件列表:
matting-A Closed Form Solution to Natural Image Matting\dandelion_clipped.bmp (133866, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\dandelion_clipped_m.bmp (133868, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\dandelion_clipped_res_alpha.bmp (45682, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\downSmpIm.m (300, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\fire.bmp (720054, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\fire_m.bmp (720056, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\fire_res_alpha.bmp (241078, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\getGMatByMask.m (2146, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\getLaplacian1.m (1710, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\getLinearCoeff.m (1192, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\imIndexToVect.m (137, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\kid1.bmp (338266, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\kid1_m.bmp (338240, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\kid1_res_alpha.bmp (114254, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\kid2.bmp (272538, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\kid2_m.bmp (272540, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\kid2_res_alpha.bmp (91906, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\KNhair.bmp (278442, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\KNhair_m.bmp (278444, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\peacock.bmp (720054, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\peacock_m.bmp (720056, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\peacock_res_alpha.bmp (241078, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\rabbit.bmp (465974, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\rabbit_m.bmp (465974, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\rabbit_res_alpha.bmp (157598, 2006-04-21)
matting-A Closed Form Solution to Natural Image Matting\runMatting.m (750, 2009-02-25)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Dandelion.m (93, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Fire.m (98, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Hair.m (67, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Kid1.m (111, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Kid2.m (63, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Peacock.m (120, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Rabbit.m (127, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_Teddy.m (114, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\runMatting_TeddyEar.m (123, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\solveAlpha.m (308, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\solveAlphaC2F.m (1089, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\solveFB.m (1112, 2006-04-20)
matting-A Closed Form Solution to Natural Image Matting\teddy.bmp (607414, 2006-04-20)
... ...
This package contains an implementation of the matting algorithm described in
the CVPR2006 paper:
"A Closed Form Solution to Natural Image Matting"
by A.Levin D.Lischinski and Y.Weiss
Usage of this code is free for research purposes only.
Please refer to the above publication if you use this code.
Copyrights: The Hebrew University of Jerusalem, 2006.
All rights reserved.
Written by Anat Levin.
Please address comments/suggestions/bugs to alevin@cs.huji.ac.il
-------------------------------------------------------------------------------
To run the matting algorithm, use the runMatting script.
The scripts runMatting_*.m are example scripts, calling runMatting on the
images used in the paper.
simple examples to start with, could be:
runMatting_Kid2.m, runMatting_Hair.m, runMatting_Dandelion.m
The runMatting script uses the arguments described below.
Input arguments:
img_name - input image file
scribs_img_name - input image with black&white scribbles
Note that since the code uses a simple diff to find the
scribbled pixels, you should not place scribbles with fuzzy
boundaries. Photoshop users- use pencil tool, hard brushes.
Output arguments:
alpha, F,B - representing the alpha matte and the estimation of foreground
and background colors.
Additional (optional) input arguments: (if you don't define them a default
value will be used)
epsilon - regularization term (see eq 3 in the paper)
The default value is epsilon=0.1^7. For jpeg or noisy images use
epsilon=0.1^5.
win_size - size of the windows in which the linear model is used
(default is 3x3 windows)
For running matting using multi resolutions:
levels_num - number of levels to use
active_levels_num - use active_levels_num<=levels_num.
If active_levels_num
近期下载者:
相关文件:
收藏者: