A Novel Approach to Transform Bitmap to Vector Image for Data Reliable Visualization considering the Image Triangulation and Color Selection

Vector image is a type of image composed of many geometric primitives. Compared with bitmaps, vector images have the ability to save memory as well as to enlarge without distortion. Meanwhile, it has been commonly adopted in data visualization (image data) because it can be scaled to multiple sizes to fit different scenes. For instance, it can be applied for the illustrations in newspapers and magazines, the logo on the web, the background for poster, the design of text, and traffic signs. However, transforming a bitmap to vector image is still a challenging problem because of the complicated content of a bitmap, which tends to consist of more than just simple geometry. Aiming at this issue, there is a new approach proposed to transform from bitmaps to vector images, which is based on triangle units and consists of three steps. In detail, firstly, there is an initial mesh constructed for one image in pixel level after detecting features. Then, the initial mesh will be simplified by collapsing two vertices as the initial mesh is too dense to represent one image. Specifically, there are two main parts in this step, which are collapse conditions and collapse influences. In the step of collapsing, issues such as overlap and sharp triangles can be conquered by a sort-edge method (which will be illustrated specifically later). The final step is to select one color for each triangle, since it is helpful to save the memory and speed up the process of this method. In addition, one color will represent one triangle; hence, in the final step, the four-triangle sample method will be applied in order to prevent a vector image from generating too large color discontinuity. Once the pretest proceeds without mistake, the method above is able to work for the general bitmaps. Note that our method can be applied to information security and privacy, since one image can be encoded to some triangles and colors.

[1]  William A. Barrett,et al.  Object-based vectorization for interactive image editing , 2006, The Visual Computer.

[2]  Daniele Panozzo,et al.  TriWild , 2019, ACM Trans. Graph..

[3]  Hongwei Lin,et al.  Diffusion curves with diffusion coefficients , 2018, Computational Visual Media.

[4]  Honghao Gao,et al.  V2VR: Reliable Hybrid-Network-Oriented V2V Data Transmission and Routing Considering RSUs and Connectivity Probability , 2020, IEEE Transactions on Intelligent Transportation Systems.

[5]  Kai Lawonn,et al.  Stylized Image Triangulation , 2018, Comput. Graph. Forum.

[6]  Craig S. Kaplan,et al.  Depth-aware image vectorization and editing , 2019, The Visual Computer.

[7]  Derek Nowrouzezahrai,et al.  Hierarchical diffusion curves for accurate automatic image vectorization , 2014, ACM Trans. Graph..

[8]  Tong Lu,et al.  Delaunay triangulation based text detection from multi-view images of natural scene , 2020, Pattern Recognit. Lett..

[9]  Gautam Srivastava,et al.  A Novel Auto-Focus Method for Image Processing Using Laser Triangulation , 2019, IEEE Access.

[10]  Michael Garland,et al.  Surface simplification using quadric error metrics , 1997, SIGGRAPH.

[11]  Frédo Durand,et al.  Inverse Diffusion Curves Using Shape Optimization , 2016, IEEE Transactions on Visualization and Computer Graphics.

[12]  John F. Canny,et al.  A Computational Approach to Edge Detection , 1986, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[13]  Stefan Jeschke,et al.  Generalized Diffusion Curves: An Improved Vector Representation for Smooth‐Shaded Images , 2016, Comput. Graph. Forum.

[14]  Rui Li,et al.  Context-Aware QoS Prediction With Neural Collaborative Filtering for Internet-of-Things Services , 2020, IEEE Internet of Things Journal.

[15]  Zhou Yu,et al.  Multimodal Transformer With Multi-View Visual Representation for Image Captioning , 2019, IEEE Transactions on Circuits and Systems for Video Technology.

[16]  Tong-Yee Lee,et al.  Image Vectorization With Real-Time Thin-Plate Spline , 2020, IEEE Transactions on Multimedia.

[17]  David A. Forsyth,et al.  A Subdivision-Based Representation for Vector Image Editing , 2012, IEEE Transactions on Visualization and Computer Graphics.

[18]  D. T. Lee,et al.  Two algorithms for constructing a Delaunay triangulation , 1980, International Journal of Computer & Information Sciences.

[19]  Andrew Chi-Sing Leung,et al.  Scribble-based gradient mesh recoloring , 2017, Multimedia Tools and Applications.

[20]  Jun Yu,et al.  Hierarchical Deep Click Feature Prediction for Fine-Grained Image Recognition , 2019, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[21]  Shumeet Baluja,et al.  Representing Images in 200 Bytes: Compression via Triangulation , 2018, 2018 25th IEEE International Conference on Image Processing (ICIP).

[22]  Weiwei Jiang,et al.  Research on Vectorization Method of Complex Linear Image Data , 2018, ADHIP.

[23]  Anxiang Zeng,et al.  Vectorization Based Color Transfer for Portrait Images , 2019, Comput. Aided Des..

[24]  Jian Sun,et al.  Image vectorization using optimized gradient meshes , 2007, SIGGRAPH 2007.

[25]  Ray-I Chang,et al.  Color gradient vectorization for SVG compression of comic image , 2015, J. Vis. Commun. Image Represent..

[26]  Yukiko Kenmochi,et al.  Greyscale Image Vectorization from Geometric Digital Contour Representations , 2017, DGCI.

[27]  Jiří Kosinka,et al.  Colour interpolants for polygonal gradient meshes , 2019, Comput. Aided Geom. Des..

[28]  Fred L. Bookstein,et al.  Principal Warps: Thin-Plate Splines and the Decomposition of Deformations , 1989, IEEE Trans. Pattern Anal. Mach. Intell..

[29]  Ming Yang,et al.  Effective Clipart Image Vectorization through Direct Optimization of Bezigons , 2016, IEEE Transactions on Visualization and Computer Graphics.

[30]  Bin Guo,et al.  Mining consuming Behaviors with Temporal Evolution for Personalized Recommendation in Mobile Marketing Apps , 2020, Mobile Networks and Applications.

[31]  Min Cao,et al.  An Approach to Alleviate the Sparsity Problem of Hybrid Collaborative Filtering Based Recommendations: The Product-Attribute Perspective from User Reviews , 2019, Mobile Networks and Applications.