xiumingzhang / grabcut Goto Github PK
View Code? Open in Web Editor NEWA MATLAB Implementation of GrabCut (Excluding Border Matting and User Editing)
A MATLAB Implementation of GrabCut (Excluding Border Matting and User Editing)
Pairwise terms computed in one shot
Computing unary terms...
函数或变量 'im_out' 无法识别。
It means function or variable 'im_out' is not recognized. It seems that already run well, but a bug at the end. Does anyone know why that is?
Hello,
I am trying to execute this code but it is giving error as below:
Iter 19 done, E drops by 0.045% (converged when < 0.010%)
Computing unary terms...
1/155 错误使用 mvnpdf (line 129)
SIGMA must be a square, symmetric, positive definite matrix.
出错 compute_unary (line 27)
val = -log(mvnpdf(rgb_pt, mu, sigma))-log(pi_coeff)-1.5log(2pi);
出错 cut_Tu (line 45)
unary(1, node) = compute_unary(color, gmm_U);
出错 grabcut (line 64)
[pix_U, E] = cut_Tu(pix_U, im_sub, alpha, gmm_U, gmm_B, pairwise);
Please help me to resolve this issue.
Thanks,
I download your code, and then mex bk_matlab.cpp graph.cpp maxflow.cpp,but it also shows these:
出错 cut_Tu (line 52)
mrf = BK_Create(no_nodes);
出错 grabcut (line 64)
[pix_U, E] = cut_Tu(pix_U, im_sub, alpha, gmm_U, gmm_B, pairwise);
出错 test (line 5)
im_out = grabcut(im_in, GAMMA);
need your help,thanks
Hello,
I am trying to execute this code but it is giving error as below:
Error in cut_Tu (line 52)
mrf = BK_Create(no_nodes);
Error in grabcut (line 64)
[pix_U, E] = cut_Tu(pix_U, im_sub, alpha, gmm_U, gmm_B, pairwise);
Error in main (line 5)
im_out = grabcut(im_in, GAMMA);
Please help me to resolve this issue.
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.