Closed wchstrife closed 3 years ago
Hi I did not write the code for the multilevel solver so I can't provide you with it. But luckily someone else wrote a very similar solver and it is open source, https://pymatting.github.io/pymatting.foreground.html#module-pymatting.foreground.estimate_foreground_ml
Thanks for your reply! this code solved my problem very well.
Sorry, I rewrote the documentation tool and the URL changed. This is the new URL for the foreground estimation function:
https://pymatting.github.io/foreground.html#estimate_foreground_ml
I use Code for foreground extension for foreground prediction on adobe dataset. But when processing some pictures, there will be insufficient memory.
I noticed that you mentioned that a custom multi-level solver written in C. Could you please provide this code?