Deep-Image-Matting-PyTorch icon indicating copy to clipboard operation
Deep-Image-Matting-PyTorch copied to clipboard

Deep Image Matting implementation in PyTorch

Results 4 Deep-Image-Matting-PyTorch issues
Sort by recently updated
recently updated
newest added

Hi, may I know how you compute the foreground color, Fig.2(c) in the paper ![image](https://github.com/foamliu/Deep-Image-Matting-PyTorch/assets/52780840/82936cbb-9547-44ae-9335-76cacb6ef01b) and I found that the training images are not original images but foreground color for...

(wxt-env) [amax@localhost Test_set]$ python Composition_code_revised.py (wxt-env) [amax@localhost Test_set]$ python Composition_code_revised.py hello, Composition_code_revised.py statement cannot be executed, please tell me what to do. Thank you very much!

![image](https://user-images.githubusercontent.com/25433111/177942896-a216dd6a-4713-4a28-a4a3-bd39b65e4f7e.png) By this code, the number of alpha is 3, so we get 3 channel trimap, isn't it?

Hi! How can I can generate the trimaps for my own images? Any hints? Thank you.