MarcoForte / FBA_Matting

Official repository for the paper F, B, Alpha Matting
MIT License
464 stars 95 forks source link

Foreground extension script doesn't work #31

Closed PeterL1n closed 3 years ago

PeterL1n commented 3 years ago

I ran the foreground extension script you pointed to, but it does not seem to extend the foreground to the entire image. The surrounding areas are still black. Can you explain how you extend the foreground? Did you use some other method to extend the foreground to the entire image?

MarcoForte commented 3 years ago

One hack is to try set the pixels where alpha=0 to alpha=0.00001. I think it should compute the foregrounds for all pixels then. Without affecting the result too much.

On Sun, Nov 29, 2020, 10:44 PM Peter Lin notifications@github.com wrote:

I ran the foreground extension script you pointed to, but it does not seem to extend the foreground. The surrounding areas are still black. Can you explain how you extend the foreground?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MarcoForte/FBA_Matting/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAED5MT5FVM7PJRJFUUI7PLSSLFDJANCNFSM4UG2FXLQ .