automatic colorization
play

Automatic Colorization Gustav Larsson TTI Chicago / University of - PowerPoint PPT Presentation

Automatic Colorization Gustav Larsson TTI Chicago / University of Chicago Joint work with Michael Maire and Greg Shakhnarovich NVIDIA @ SIGGRAPH 2016 Colorization Let us first define colorization Colorization Definition 1: The inverse


  1. Automatic Colorization Gustav Larsson TTI Chicago / University of Chicago Joint work with Michael Maire and Greg Shakhnarovich NVIDIA @ SIGGRAPH 2016

  2. Colorization Let us first define “colorization”

  3. Colorization Definition 1: The inverse of desaturation. Original

  4. Colorization Definition 1: The inverse of desaturation. Desaturate Original Grayscale

  5. Colorization Definition 1: The inverse of desaturation. Grayscale

  6. Colorization Definition 1: The inverse of desaturation. Colorize Original Grayscale

  7. Colorization Definition 1: The inverse of desaturation. ( Note: Impossible! ) Colorize Original Grayscale

  8. Colorization Definition 2: An inverse of desaturation, that... Grayscale

  9. Colorization Definition 2: An inverse of desaturation, that... Colorize Our Method Grayscale ... is plausible and pleasing to a human observer.

  10. Colorization Definition 2: An inverse of desaturation, that... Colorize Our Method Grayscale ... is plausible and pleasing to a human observer. • Def. 1: Training + Quantitative Evaluation • Def. 2: Qualitative Evaluation

  11. Manual colorization I thought I would give it a quick try...

  12. Manual colorization Grass is green (low-level: grass texture / mid-level: tree recognition / high-level: scene understanding)

  13. Manual colorization Sky is blue

  14. Manual colorization Mountains are... brown?

  15. Manual colorization Use the original luminosity

  16. Manual colorization Manual ( ≈ 15 s)

  17. Manual colorization Manual ( ≈ 15 s) Manual ( ≈ 3 min)

  18. Manual colorization Manual ( ≈ 15 s) Manual ( ≈ 3 min) Automatic ( < 1 s)

  19. A brief history The history of computer-aided colorization in 3 slides.

  20. Method 1: Scribbles Manual Automatic User-defined scribbles define colors. Algorithm fills it in. Input Output Levin et al. (2004) → Levin et al. (2004); Huang et al. (2005); Qu et al. (2006); Luan et al. (2007)

  21. Method 2: Transfer Manual Automatic Reference image(s) is provided. Scribbles are automatically created from correspondences. Reference Input Output Charpiat et al. (2008) → Welsh et al. (2002); Irony et al. (2005); Charpiat et al. (2008); Morimoto et al. (2009); Chia et al. (2011)

  22. Method 2: Transfer Manual Automatic Reference image(s) is provided. Scribbles are automatically created from correspondences. Reference Input Output Charpiat et al. (2008) → Welsh et al. (2002); Irony et al. (2005); Charpiat et al. (2008); Morimoto et al. (2009); Chia et al. (2011)

  23. Method 3: Prediction Manual Automatic Fully parametric prediction.             = colorize             Automatic colorization is gaining interest recently: → Deshpande et al., Cheng et al. ; Iizuka & Simo-Serra et al. Zhang et al., Larsson et al. � �� � � �� � � �� � SIGGRAPH 2016 (2pm, Ballroom E) ICCV 2015 ECCV 2016

  24. Method 3: Prediction Manual Automatic Fully parametric prediction.             = (60 , 87 , 44) colorize pixel             Automatic colorization is gaining interest recently: → Deshpande et al., Cheng et al. ; Iizuka & Simo-Serra et al. Zhang et al., Larsson et al. � �� � � �� � � �� � SIGGRAPH 2016 (2pm, Ballroom E) ICCV 2015 ECCV 2016

  25. Model Design principles: • Semantic knowledge

  26. Model Design principles: • Semantic knowledge → Leverage ImageNet-based classifier VGG-16-Gray (fc7) conv7 (fc6) conv6 conv5 3 conv1 1 p Input: Grayscale Image

  27. Model Design principles: • Semantic knowledge → Leverage ImageNet-based classifier • Low-level/high-level features VGG-16-Gray (fc7) conv7 (fc6) conv6 conv5 3 conv1 1 p Input: Grayscale Image

  28. Model Design principles: • Semantic knowledge → Leverage ImageNet-based classifier • Low-level/high-level features → Zoom-out/Hypercolumn architecture VGG-16-Gray Hypercolumn (fc7) conv7 (fc6) conv6 conv5 3 conv1 1 p Input: Grayscale Image

  29. Model Design principles: • Semantic knowledge → Leverage ImageNet-based classifier • Low-level/high-level features → Zoom-out/Hypercolumn architecture • Colorization not unique VGG-16-Gray Hypercolumn (fc7) conv7 (fc6) conv6 conv5 3 conv1 1 p Input: Grayscale Image

  30. Model Design principles: • Semantic knowledge → Leverage ImageNet-based classifier • Low-level/high-level features → Zoom-out/Hypercolumn architecture • Colorization not unique → Predict histograms VGG-16-Gray Hypercolumn Ground-truth Hue (fc7) conv7 (fc6) conv6 conv5 3 h fc1 conv1 1 Chroma p Lightness Input: Grayscale Image Output: Color Image

  31. Instantiation Going from histogram prediction to RGB: • Sample

  32. Instantiation Going from histogram prediction to RGB: • Sample • Mode

  33. Instantiation Going from histogram prediction to RGB: • Sample • Mode • Median

  34. Instantiation Going from histogram prediction to RGB: • Sample • Mode • Median • Expectation

  35. Instantiation Going from histogram prediction to RGB: • Sample • Mode • Median ← Chroma • Expectation ← Hue

  36. Instantiation Going from histogram prediction to RGB: • Sample • Mode • Median ← Chroma • Expectation ← Hue The histogram representation is rich and flexible:

  37. Instantiation Going from histogram prediction to RGB: • Sample • Mode • Median ← Chroma • Expectation ← Hue The histogram representation is rich and flexible:

  38. Results Significant improvement over state-of-the-art: 0.25 1.0 Cheng et al. Our method 0.20 0.8 Frequency 0.15 0.6 % Pixels No colorization Welsh et al. 0.4 0.10 Deshpande et al. Ours 0.2 0.05 Deshpande et al. (GTH) Ours (GTH) 0.0 0.00 0.0 0.2 0.4 0.6 0.8 1.0 10 15 20 25 30 35 RMSE ( αβ ) PSNR Cheng et al. (2015) Deshpande et al. (2015)

  39. Comparison AuC CMF VGG Top-1 Turk Model non-rebal rebal Classification Labeled Real (%) (%) (%) Accuracy (%) mean std Ground Truth 100.00 100.00 68.32 50.00 – Gray 89.14 58.01 52.69 – – Random 84.17 57.34 41.03 12.99 2.09 Dahl 90.42 58.92 48.72 18.31 2.01 Zhang et al. 91.57 65.12 56.56 25.16 2.26 Zhang et al. (rebal) 89.50 67.29 56.01 32.25 2.41 Ours 91.70 65.93 59.36 27.24 2.31 Table: Source: Zhang et al. (2016)

  40. Examples Input Our Method Ground-truth Input Our Method Ground-truth

  41. Figure: Failure modes. Figure: B&W photographs.

  42. Self-supervision (ongoing work) Colorization as a means to learn visual representations: 1. Train colorization from scratch

  43. Self-supervision (ongoing work) Colorization as a means to learn visual representations: 1. Train colorization from scratch 2. Use network for segmentation, detection, style transfer, texture generation, etc.

  44. Self-supervision (ongoing work) Colorization as a means to learn visual representations: 1. Train colorization from scratch 2. Use network for segmentation, detection, style transfer, texture generation, etc. Initialization Architecture Color mIU (%) X ImageNet Y ImageNet Classifier (ours) VGG-16 64.0 ✓ ✓ Random VGG-16 32.5 Classifier AlexNet ✓ ✓ ✓ 48.0 Random AlexNet 19.8 ✓ Table: VOC 2012 segmentation validation set.

  45. Self-supervision (ongoing work) Colorization as a means to learn visual representations: 1. Train colorization from scratch 2. Use network for segmentation, detection, style transfer, texture generation, etc. Initialization Architecture Color mIU (%) X ImageNet Y ImageNet Classifier (ours) VGG-16 64.0 ✓ ✓ Random VGG-16 32.5 Classifier AlexNet ✓ ✓ ✓ 48.0 BiGAN (Donahue et al.) AlexNet 34.9 ✓ ✓ Inpainter (Deepak et al.) AlexNet ✓ ✓ 29.7 Random AlexNet 19.8 ✓ Table: VOC 2012 segmentation validation set.

  46. Self-supervision (ongoing work) Colorization as a means to learn visual representations: 1. Train colorization from scratch 2. Use network for segmentation, detection, style transfer, texture generation, etc. Initialization Architecture Color mIU (%) X ImageNet Y ImageNet Classifier (ours) VGG-16 64.0 ✓ ✓ Colorizer VGG-16 ✓ 50.2 Random VGG-16 32.5 Classifier AlexNet ✓ ✓ ✓ 48.0 BiGAN (Donahue et al.) AlexNet 34.9 ✓ ✓ Inpainter (Deepak et al.) AlexNet ✓ ✓ 29.7 Random AlexNet 19.8 ✓ Table: VOC 2012 segmentation validation set.

  47. Questions? Try it out yourself: http://colorize.ttic.edu

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