Abstract
Chroma keying is a widely used video editing technique, which finely separates the foreground objects from the background. Two major concerns are involved in chroma keying problems: alpha estimation and foreground color restoration. The alpha values reveal the opacity property of the foreground objects. The foreground color restoration removes the background color influence to the foreground appearance especially at transparent regions and objects’ boundaries. In this paper, the color range of the solid background is well analyzed to automatically separate foreground from background. Global sampling is utilized to robustly and reliably estimate the foreground color at boundaries and transparent regions. Furthermore, we propose to propagate the geometric shape of foreground boundaries between adjacent frames by using optical flow and thin plate splines interpolation. The trimap, which is an initial foreground/background/unknown segmentation of each frame can be automatically updated for each video frame by using our proposed propagation method. Compared to previous methods, our proposed matting method estimates high-quality alpha matte and reliable foreground color with least user interference.
Similar content being viewed by others
References
Wang, J., Cohen, M.F.: Optimized color sampling for robust matting. In: Proceedings of IEEE CVPR, pp. 1–8 (2007)
Rhemann, C., Rother, C., Gelautz, M.: Improving color modeling for alpha matting. In: Proceedings of the British machine vision conference (BMVC), pp. 115.1–115.10 (2008)
Gastal, E.S.L., Oliveira, M.M.: Shared sampling for real-time alpha matting. In: Proceedings of eurographics, pp. 575–584 (2010)
He, K., Rhemann, C., Rother, C., Tang, X., Sun, J.: A global sampling method for alpha matting. In: Proceedings of IEEE CVPR, pp. 2049–2056 (2011)
Apostoloff, N., Fitzgibbon, A.: Bayesian video matting using learnt image priors. In: Proceedings of IEEE conference on computer vision and pattern recognition (CVPR), pp. 407–414 (2004)
Choi, I., Lee, M., Tai, Y.-W.: Video matting using multi-frame nonlocal matting laplacian. In: Proceedings of European conference on computer vision (ECCV), pp. 540–553 (2012)
Chuang, Y.-Y., Agarwala, A., Curless, B., Salesin, D.H., Szeliski, R.: Video matting of complex scenes. ACM Trans. Gr. 21(3), 243–248 (2002)
Hu, W.-C., Hsu, J.-F.: Automatic spectral video matting. ACM Pattern Recognit. 46(4), 1183–1194 (2013)
Lee, S.-Y., Yoon, J.-C., Lee, I.-K.: Temporally coherent video matting. ACM Gr. Models 72(3), 25–33 (2010)
Li, D., Chen, Q., Tang, C.-K.: Motion-aware KNN laplacian for video matting. In: Proceedings of IEEE international conference on computer vision (ICCV), pp. 540–553 (2012)
Tang, Z., Miao, Z., Wan, Y., Zhang, D.: Video matting via opacity propagation. Vis. Comput. 28(1), 47–61 (2012)
Cho, J.-H., Yamasaki, T., Aizawa, K., Lee, K.H.: Depth video camera based temporal alpha matting for natural 3D scene generation. In: 3DTV conference: the true vision—capture, transmission and display of 3D video, pp. 1–4 (2011)
Porter, T., Duff, T.: Compositing digital images. In: Proceedings of ACM SIGGRAPH, pp. 253–259 (1984)
Lloyd, S.: Least squares quantization in pcm. IEEE Trans. Inf. Theory 28(2), 129–137 (1982)
Chuang, Y.-Y., Curless, B., Salesin, D.H., Szeliski, R.: A Bayesian approach to digital matting. In: Proceedings of IEEE conference on computer vision and pattern recognition (CVPR), pp. 264–271 (2001)
Lucas, B., Kanade, T.: An iterative image registration technique with an application to stereo vision. In: Proceedings of the 7th international joint conference on artificial intelligence, pp. 674–679 (1982)
Brox, T., Bruhn, A., Papenberg, N., Weickert, J.: High accuracy optical flow estimation based on a theory for warping. In: Proceedings of European conference on computer vision (ECCV), pp. 25–36 (2004)
Bai, X., Wang, J., Simons, D.: Towards temporally-coherent video matting. In: Proceedings of the 5th international conference on computer vision/computer graphics collaboration techniques, pp. 63–74 (2011)
Duchon, J.: Splines minimizing rotation-invariant semi-norms in Sobolev spaces. Constr. Theory Funct. Several Var. 571, 85–100 (1977)
Wahba, G.: Spline Models for Observational Data. Society for Industrial and Applied Mathematics, Philadelphia (1990)
Rhemann, C., Rother, C., Wang, J., Gelautz, M., Kohli, P., Rott, P.: Alpha matting evaluation website. http://www.alphamatting.com (last visited 4/20/2014)
Rhemann, C., Rother, C., Wang, J., Gelautz, M., Kohli, P., Rott, P.: A perceptually motivated online benchmark for image matting. In: Proceedings of IEEE CVPR, pp. 1826–1833 (2009)
Levin, A., Lischinski, D., Weiss, Y.: A closed-form solution to natural image matting. IEEE Trans. Pattern Anal. Mach. Intell. 30(2), 228–242 (2008)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Hao, C., Wang, W. & Zhao, J. Video chroma keying via global sampling and trimap propagation. Multimedia Systems 22, 693–707 (2016). https://doi.org/10.1007/s00530-015-0493-2
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00530-015-0493-2