Abstract
There is a significant flaw in today's painting software: the colors do not mix like actual paints. E.g., blue and yellow make gray instead of green. This is because the software is built around the RGB representation, which models the mixing of colored lights. Paints, however, get their color from pigments, whose mixing behavior is predicted by the Kubelka-Munk model (K-M). Although it was introduced to computer graphics almost 30 years ago, the K-M model has never been adopted by painting software in practice as it would require giving up the RGB representation, growing the number of per-pixel channels substantially, and depriving the users of painting with arbitrary RGB colors. In this paper, we introduce a practical approach that enables mixing colors with K-M while keeping everything in RGB. We achieve this by establishing a latent color space, where RGB colors are represented as mixtures ofprimary pigments together with additive residuals. The latents can be manipulated with linear operations, leading to expected, plausible results. We describe the conversion between RGB and our latent representation, and show how to implement it efficiently.
Supplemental Material
- Elad Aharoni-Mack, Yakov Shambik, and Dani Lischinski. 2017. Pigment-Based Recoloring of Watercolor Paintings. In Proceedings of NPAR '17. Article 1. Google ScholarDigital Library
- William Baxter, Jeremy Wendt, and Ming C. Lin. 2004. IMPaSTo: A Realistic, Interactive Model for Paint. In Proceedings of NPAR '04. 45--56. Google ScholarDigital Library
- Roy S. Berns. 2016. Artist Paint Spectral Database. In Proceedings of CIC24.Google Scholar
- Peter Blaškovič. 2016. Rebelle: Real Watercolor and Acrylic Painting Software. In Proceedings of SIGGRAPH '16: ACM SIGGRAPH 2016 Appy Hour. Article 3. Google ScholarDigital Library
- David Briggs. 2007. The Dimensions of Colour. http://www.huevaluechroma.comGoogle Scholar
- Richard H. Byrd, Peihuang Lu, Jorge Nocedal, and Ciyou Zhu. 1995. A Limited Memory Algorithm for Bound Constrained Optimization. SIAM Journal on Scientific Computing 16, 5 (1995), 1190--1208. Google ScholarDigital Library
- Zhili Chen, Byungmoon Kim, Daichi Ito, and Huamin Wang. 2015. Wetbrush: GPU-based 3D Painting Simulation at the Bristle Level. ACM Transactions on Graphics 34, 6, Article 200 (2015). Google ScholarDigital Library
- Nelson S.-H. Chu and Chiew-Lan Tai. 2005. MoXi: Real-Time Ink Dispersion in Absorbent Paper. ACM Transactions on Graphics 24, 3 (2005), 504--511. Google ScholarDigital Library
- CIE. 2001. Improvement to industrial colour-difference evaluation. Central Bureau of the CIE, Vienna, Austria.Google Scholar
- Cassidy J. Curtis, Sean E. Anderson, Joshua E. Seims, Kurt W. Fleischer, and David H. Salesin. 1997. Computer-Generated Watercolor. In Proceedings of SIGGRAPH '97. 421--430. Google ScholarDigital Library
- D. R. Duncan. 1940. The colour of pigment mixtures. Proceedings of the Physical Society 52 (1940), 390--400.Google ScholarCross Ref
- Nathan Gossett and Baoquan Chen. 2004. Paint Inspired Color Mixing and Compositing for Visualization. In Proceedings of InfoVis '04. 113--118. Google ScholarDigital Library
- Andreas Griewank and Andrea Walther. 2008. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. SIAM, Philadelphia, PA, USA. Google ScholarDigital Library
- Chet S. Haase and Gary W. Meyer. 1992. Modeling Pigmented Materials for Realistic Image Synthesis. ACM Transactions on Graphics 11, 4 (1992), 305--335. Google ScholarDigital Library
- William Van Haevre, Tom Van Laerhoven, Fabian Di Fiore, and Frank Van Reeth. 2007. From Dust Till Drawn. The Visual Computer 23, 9--11 (2007), 925--934. Google ScholarDigital Library
- Georg A. Klein. 2010. Industrial Color Physics. Springer, New York, NY, USA.Google Scholar
- Paul Kubelka and Franz Munk. 1931. Ein Beitrag zur Optik der Farbanstriche. Zeitschrift für Technishen Physik 12 (1931), 593--601.Google Scholar
- Jingwan Lu, Stephen DiVerdi, Willa Chen, Connelly Barnes, and Adam Finkelstein. 2014. RealPigment: Paint Compositing by Example. In Proceedings of NPAR. 21--30. Google ScholarDigital Library
- Ján Morovič. 2008. Color Gamut Mapping. Wiley, Chichester, West Sussex, UK. Google ScholarDigital Library
- Yoshio Okumura. 2005. Developing a Spectral and Colorimetric Database of Artist Paint Materials. Master's thesis. Rochester Institute of Technology.Google Scholar
- Björn Ottosson. 2020. A perceptual color space for image processing. https://bottosson.github.io/posts/oklabGoogle Scholar
- Michael R. Pointer. 1980. The Gamut of Real Surface Colours. Color Research and Application 5, 3 (1980), 145--155.Google ScholarCross Ref
- J. L. Saunderson. 1942. Calculation of the color of pigmented plastics. Journal of the Optical Society of America 32 (1942), 727--736.Google ScholarCross Ref
- Maria Shugrina, Amlan Kar, Sanja Fidler, and Karan Singh. 2020. Nonlinear Color Triads for Approximation, Learning and Direct Manipulation of Color Distributions. ACM Transactions on Graphics 39, 4, Article 97 (2020).Google ScholarDigital Library
- Lionel Simonot and Methieu Hébert. 2014. Between additive and subtractive color mixings: intermediate mixing models. Journal of the Optical Society of America A 31, 1 (2014), 58--66.Google ScholarCross Ref
- Junichi Sugita and Tokiichiro Takahashi. 2017. Computational RYB Color Model and its Applications. IIEEJ Transactions on Image Electronics and Visual Computing 5, 2 (2017), 110--122.Google Scholar
- Jianchao Tan, Stephen DiVerdi, Jingwan Lu, and Yotam Gingold. 2019. Pigmento: Pigment-Based Image Analysis and Editing. IEEE Transactions on Visualization and Computer Graphics 25, 9 (2019).Google ScholarCross Ref
Index Terms
- Practical pigment mixing for digital painting
Recommendations
Playful palette: an interactive parametric color mixer for artists
We present Playful Palette, a color picker interface for digital paint programs that derives intuition from oil paint and watercolor palettes, but extends them with digital features. A Playful Palette is a set of blobs of color that blend together to ...
Pigment-based recoloring of watercolor paintings
NPAR '17: Proceedings of the Symposium on Non-Photorealistic Animation and RenderingThe color palette used by an artist when creating a painting is an important tool for expressing emotion, directing attention, and more. However, choosing a palette is an intricate task that requires considerable skill and experience. In this work, we ...
Modeling pigmented materials for realistic image synthesis
This article discusses and applies the Kubelka-Munk theory of pigment mixing to computer graphics in order to facilitate improved image synthesis. The theories of additive and subtractive color mixing are discussed and are shown to be insufficient for ...
Comments