AlphaMatting
AlphaMatting copied to clipboard
An OpenCV2 version for image matting algorithm described by papre - Shared Sample for Real-Time Alpha Matting
Hi, the eP function look a little strange to me. The test below is always true and only 1 pixel is tested. ``` if(abs(ci) >= abs(inci) || abs(cj) >= abs(incj))...
First of all, thank you for sharing this wonderful Lib. The matting result is perfect when a good trimap is provided. However, how can a good trimap be generated automatically...
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,...
Debug Assertion Failed! Program: ...phaMatting-master\shared matting\x64\Debug\shared matting.exe File: minkernel\crts\ucrt\src\appcrt\stdio\output.cpp Line: 277 Expression: ("Buffer too small", 0) My OS is WIN 10 + vs 2017 + opencv3.3.1
Hi all! I'm now using this repo to realize an automatic matting process. Now I'm confused about the noise appeared on the border of the Alpha Mat, which is the...
Hi, and thank you for making this code available. It works great, and the Mattes look good, but I am seeing a speed of around 2.5 seconds per image. (using...
Thanks!
It runs well.
内存泄露问题
https://github.com/np-csu/AlphaMatting/blob/a17ef819d408d9ddee915c37a38f0c5cd8248c99/sharedmatting.cpp#L783 shared_matting.cpp 第783行,new之后没有delete,会导致内存泄露。