GithubHelp home page GithubHelp logo

supitalp / comprehensive-sample-set-image-matting Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 21.0 6.67 MB

An implementation of "Improving image matting using comprehensive sample sets" by Shahrian & al.

License: GNU General Public License v2.0

C++ 97.91% Makefile 2.09%

comprehensive-sample-set-image-matting's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

comprehensive-sample-set-image-matting's Issues

‘EM’ has not been declared

g++ -c CSSMatting.cpp -o CSSMatting.o -O3 -Wall -I/usr/include/opencv -L/usr/local/lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_ml CSSMatting.cpp:26:18: error: ‘EM’ has not been declared int covMatType = EM::COV_MAT_SPHERICAL; // or EM::COV_MAT_DIAGONAL ^ CSSMatting.cpp: In function ‘std::vector<Region> cluster(int, const Region&, short int)’: CSSMatting.cpp:216:2: error: ‘EM’ was not declared in this scope EM model(nClusters,covMatType); ^ CSSMatting.cpp:216:2: note: suggested alternative: In file included from /usr/local/include/opencv2/ml/ml.hpp:48:0, from Region.h:15, from CSSMatting.h:11, from CSSMatting.cpp:7: /usr/local/include/opencv2/ml.hpp:732:20: note: ‘cv::ml::EM’ class CV_EXPORTS_W EM : public StatModel ^ CSSMatting.cpp:218:2: error: ‘model’ was not declared in this scope model.train(samples,log_likelihoods,labels,probs); ^ Makefile:16: recipe for target 'CSSMatting.o' failed make: *** [CSSMatting.o] Error 1
Thank you for your job. I just compile the project,but got these error.How can I fix it?

Comprehensive-Sample-Set-Image-Matting implemetation on Android

Hi,
Thanks for you work!
its looking awesome output.
I want to integrate your demo into android project. Is it possible to integrate model into android Project? If it possible, then How can i integrate this model into android project?
Can you please give some suggestions?
Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.