segmentation and matting
play

Segmentation and Matting Xiaoyong Shen The Chinese University of - PowerPoint PPT Presentation

Automatic Portrait Segmentation and Matting Xiaoyong Shen The Chinese University of Hong Kong goodshenxy@gmail.com Research on CV Pixel based (low level/ early vision) Filtering, restoration, denoise, enhancement, deblur, editing,


  1. Learning Data Collection • 2000 portraits from Flickr with large variation • Keywords… • Different Age, gender, pose, hairstyle, background… • Different camera type… • Data example 88

  2. 89 89

  3. Data Labeling • Apply closed-form matting and robust matting • Gradually refine the input trimap • Choose the best one from closed-form or robust matting • User interface • Ground truth example 90

  4. 91 91

  5. Learn Automatic Matting 92

  6. Our Method Trimap labeling • Input: RGB image • Output: trimap • Network: Fine tuned from FCN 93

  7. Our Method Image Matting Layer • Input: trimap • Output: alpha matte • Novel-designed structure 94

  8. Our Method Image Matting Layer • Feed-Forward: 𝑛𝑗𝑜 𝜇𝐵 𝑈 𝐶𝐵 + 𝜇 𝐵 − 1 𝑈 𝐺(𝐵 − 1) + 𝐵 𝑈 𝑀𝐵 • Back-Forward: 𝜖𝑔 𝜖𝐶 = −𝜇𝐸 −1 𝑒𝑗𝑏𝑕(𝐸 −1 𝐺) 𝜖𝐺 = 𝜖𝑔 𝜖𝑔 𝜖𝐶 + 𝐸 −1 𝜖𝑔 𝜖𝜇 = −𝜇𝐸 −1 𝑒𝑗𝑏𝑕 𝐺 + 𝐶 𝐸 −1 𝐺 95

  9. Our Method Image Matting Layer • Loss function: 𝑕𝑢 | 𝐵 𝑗 − 𝐵 𝑗 𝑕𝑢 |, 𝑀(𝐵, 𝐵 𝑕𝑢 ) = ෍ 𝑥 𝐵 𝑗 𝑗 𝑕𝑢 = −𝑚𝑝𝑕(𝑞(𝐵 = 𝐵 𝑗 𝑕𝑢 )) 𝑥 𝐵 𝑗 96

  10. Model Training • Data augmentation • 4 scales {0.6,0.8,1.2,1.5} • 4 rotations {-45,-22,22,45} degree • Gamma value {0.5,0.8,1.2,1.5} • Network initialization • Fine tuned from FCN-8s Model [J. Long, 2015] 97

  11. Experiments • Running Time • Training time: 20k iterations, one day on Titan X GPU • Testing Time: 0.6s for 600×800 color image. • Comparisons • Graph-cut • FCN Baseline: direct FCN segmentation followed by closed-form matting 98

  12. Results Input Graph-cut FCN Ours 99

  13. Results Input Graph-cut FCN Ours 100

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend