Abstract
Image vectorization is one of the primary means of creating vector graphics. The quality of a vectorized image depends crucially on extracting accurate features from input raster images. However, correct object edges can be difficult to detect when color gradients are weak. We present an image vectorization technique that operates on a color image augmented with a depth map and uses both color and depth edges to define vectorized paths. We output a vectorized result as a diffusion curve image. The information extracted from the depth map allows us more flexibility in the manipulation of the diffusion curves, in particular permitting high-level object segmentation. Our experimental results demonstrate that this method achieves high reconstruction quality and provides greater control in the organization and editing of vectorized images than existing work based on diffusion curves.
Similar content being viewed by others
References
Barnes, C., Shechtman, E., Finkelstein, A., Goldman, D.B.: Patchmatch: a randomized correspondence algorithm for structural image editing. ACM Trans. Graph. (TOG) 28(3), 24 (2009)
Boyé, S., Barla, P., Guennebaud, G.: A vectorial solver for free-form vector gradients. ACM Trans. Graph. (TOG) 31(6), 173 (2012)
Cheng, M.M.: Curve structure extraction for cartoon images. In: 5th Joint Conference on Harmonious Human Machine Environment, 13–25 (2009)
Finch, M., Snyder, J., Hoppe, H.: Freeform vector graphics with controlled thin-plate splines. ACM Trans. Graph. (TOG) 30(6), 166 (2011)
Ge, L., Liang, H., Yuan, J., Thalmann, D.: Robust 3D hand pose estimation in single depth images: from single-view CNN to multi-view CNNs. In: IEEE Conference on Computer Vision and Pattern Recognition, 3593–3601 (2016)
Gupta, S., Arbelaez, P., Malik, J.: Perceptual organization and recognition of indoor scenes from RGB-D images. In: IEEE Conference on Computer Vision and Pattern Recognition, 564–571 (2013)
Hou, F., Sun, Q., Fang, Z., Liu, Y.J., Hu, S.M., Hao, A., Qin, H., He, Y.: Poisson vector graphics (pvg). In: IEEE Transactions on Visualization and Computer Graphics (2018)
Ilbery, P., Kendall, L., Concolato, C., McCosker, M.: Biharmonic diffusion curve images from boundary elements. ACM Trans. Graph. (TOG) 32(6), 219 (2013)
Jeschke, S.: Generalized diffusion curves: an improved vector representation for smooth-shaded images. Comput. Graph. Forum 35(2), 71–79 (2016)
Jeschke, S., Cline, D., Wonka, P.: A gpu laplacian solver for diffusion curves and poisson image editing. ACM Trans. Graph. (TOG) 28(5), 116 (2009)
Jeschke, S., Cline, D., Wonka, P.: Estimating color and texture parameters for vector graphics. Comput. Graph. Forum 30(2), 523–532 (2011)
Lai, Y.K., Hu, S.M., Martin, R.R.: Automatic and topology-preserving gradient mesh generation for image vectorization. ACM Trans. Graph. (TOG) 28(3), 85 (2009)
Liao, Z., Hoppe, H., Forsyth, D., Yu, Y.: A subdivision-based representation for vector image editing. IEEE Trans. Vis. Comput. Graph. 18(11), 1858–1867 (2012)
Lindeberg, T.: Edge detection and ridge detection with automatic scale selection. Int. J. Comput. Vis. 30(2), 117–156 (1998)
Newcombe, R.A., Izadi, S., Hilliges, O., Molyneaux, D., Kim, D., Davison, A.J., Kohi, P., Shotton, J., Hodges, S., Fitzgibbon, A.: Kinectfusion: Real-time dense surface mapping and tracking. In: 10th IEEE international symposium on Mixed and augmented reality, 127–136. IEEE (2011)
Orzan, A., Bousseau, A., Barla, P., Thollot, J.: Structure-preserving manipulation of photographs. In: 5th International Symposium on Non-photorealistic Animation and Rendering, 103–110. ACM (2007)
Orzan, A., Bousseau, A., Winnemöller, H., Barla, P., Thollot, J., Salesin, D.: Diffusion curves: a vector representation for smooth-shaded images. ACM Trans. Graph. (TOG) 27(3), 92 (2008)
Perona, P., Malik, J.: Scale-space and edge detection using anisotropic diffusion. IEEE Trans. Pattern Anal. Mach. Intell. 12(7), 629–639 (1990)
Price, B., Barrett, W.: Object-based vectorization for interactive image editing. Vis. Comput. 22(9–11), 661–670 (2006)
Rother, C., Kolmogorov, V., Blake, A.: Grabcut: interactive foreground extraction using iterated graph cuts. ACM Trans. Graph. (TOG) 23(3), 309–314 (2004)
Ruderman, D.L., Bialek, W.: Statistics of natural images: scaling in the woods. Phys. Rev. Lett. 73(6), 814–817 (1994)
Scharstein, D., Hirschmüller, H., Kitajima, Y., Krathwohl, G., Nešić, N., Wang, X., Westling, P.: High-resolution stereo datasets with subpixel-accurate ground truth. Ger. Conf. Pattern Recognit. 8753, 31–42 (2014)
Schneider, P.J.: An algorithm for automatically fitting digitized curves. In: Graphics Gems I, 1st edn., pp. 612–626. Academic Press Professional, Cambridge, Massachusetts, USA (1990)
Shen, J., Wang, D., Li, X.: Depth-aware image seam carving. IEEE Trans. Cybern. 43(5), 1453–1461 (2013)
Song, S., Xiao, J.: Sliding shapes for 3d object detection in depth images. In: European Conference on Computer Vision, 634–651. Springer (2014)
Song, S., Xiao, J.: Deep sliding shapes for amodal 3D object detection in RGB-D images. In: IEEE Conference on Computer Vision and Pattern Recognition, 808–816 (2016)
Sun, D., Sudderth, E.B., Pfister, H.: Layered RGBD scene flow estimation. In: IEEE Conference on Computer Vision and Pattern Recognition, 548–556 (2015)
Sun, T., Thamjaroenporn, P., Zheng, C.: Fast multipole representation of diffusion curves and points. ACM Trans. Graph. (TOG) 33(4), 53 (2014)
Wang, C., Zhu, J., Guo, Y., Wang, W.: Video vectorization via tetrahedral remeshing. IEEE Trans. Image Process. 26(4), 1833–1844 (2017)
Wang, T.C., Srikanth, M., Ramamoorthi, R.: Depth from semi-calibrated stereo and defocus. In: IEEE Conference on Computer Vision and Pattern Recognition, 3717–3726 (2016)
Xia, T., Liao, B., Yu, Y.: Patch-based image vectorization with automatic curvilinear feature alignment. ACM Trans. Graph. (TOG) 28(5), 115 (2009)
Xie, G., Sun, X., Tong, X., Nowrouzezahrai, D.: Hierarchical diffusion curves for accurate automatic image vectorization. ACM Trans. Graph. (TOG) 33(6), 230 (2014)
Yang, J., Ye, X., Li, K., Hou, C., Wang, Y.: Color-guided depth recovery from RGB-D data using an adaptive autoregressive model. IEEE Trans. Image Process. 23(8), 3443–3458 (2014)
Ye, X., Yang, J., Huang, H., Hou, C., Wang, Y.: Computational multi-view imaging with Kinect. IEEE Trans. Broadcast. 60(3), 540–554 (2014)
Zhao, S., Durand, F., Zheng, C.: Inverse diffusion curves using shape optimization. IEEE Trans. Visual. Comput. Graph. 24(7), 2153–2166 (2018)
Acknowledgements
This work is supported by Zhejiang Provincial Natural Science Foundation of China (No. LY19F020027), the National Natural Science Foundation of China (No. 61402410), the Key Research and Development Program of Zhejiang Province (No. 2018C03055), and the National Natural Science Foundation of China (No. 61732015).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Lu, S., Jiang, W., Ding, X. et al. Depth-aware image vectorization and editing. Vis Comput 35, 1027–1039 (2019). https://doi.org/10.1007/s00371-019-01671-0
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00371-019-01671-0