计算机科学 ›› 2020, Vol. 47 ›› Issue (11A): 236-240.doi: 10.11896/jsjkx.191100019

• 计算机图形学&多媒体 • 上一篇    下一篇

矢量场流线自适应颜色映射增强算法

秦绪佳, 陈国富, 单扬洋, 郑红波, 张美玉   

  1. 浙江工业大学计算机科学与技术学院 杭州 310023
  • 出版日期:2020-11-15 发布日期:2020-11-17
  • 通讯作者: 秦绪佳 (qxj@zjut.edu.cn)
  • 基金资助:
    国家自然科学基金(61702455,61672462,61672463);浙江省自然科学基金(LY20F020025,LY18F020035)

Streamline Adaptive Color Mapping Enhancement Algorithm for Vector Field Visualization

QIN Xu-jia, CHEN Guo-fu, SHAN Yang-yang, ZHENG Hong-bo, ZHANG Mei-yu   

  1. College of Computer Science and Technology,Zhejiang University of Technology,Hangzhou 310023,China
  • Online:2020-11-15 Published:2020-11-17
  • About author:QIN Xu-jia,born in 1968,Ph.D,professor,Ph.D candidate supervisor,is a member of China Computer Federation.His main research interests include computer graphics,image processing and data visualization.
  • Supported by:
    This work was supported the National Natural Science Foundation of China (61702455,61672462,61672463) and Natural Science Foundation of Zhejiang Province,China(LY20F020025,LY18F020035).

摘要: 流线可视化归属于几何可视化,以一种直观的方式把矢量场方向信息表现出来,是矢量场可视化的重要方法。文中提出了一种基于矢量场场强分布特征自适应选择颜色映射方式的流线着色方法,能更好地展示矢量场属性,显示矢量场场强信息;并推导了矢量场场强分布偏度系数计算公式。首先,利用Sobol序列来确定流线种子点位置,根据种子点生成流线。然后,对矢量场场强数据集进行偏度系数计算,并与阈值比较后选择合适的颜色映射方式对流线着色。实验结果表明,使用Sobol序列确定流线种子点位置,能使矢量场流线分布更为均匀;将矢量场数据分布量化为偏度系数,根据偏度系数选择更为恰当的颜色映射方式,让颜色映射的效果更好地描述矢量场场强大小分布的实际情况.

关键词: 流线, 偏度系数, 矢量场, 颜色映射

Abstract: Streamline visualization belongs to geometric visualization.It is an important method to present vector field direction information in an intuitive way.In order to display the vector field strength information on the streamline and better display the vector field attributes,a streamline coloring method which adaptively selects the mapping mode according to the characteristics of the vector field strength distribution is proposed.The formula for calculating the skewness coefficient of vector field strength distribution is derived.Firstly,Sobol sequence is used to determine the position of the seed points of the streamline,and the streamline is generated according to the seed points.Then,the skewness coefficient of vector field strength data set is calculated.Compared with the threshold values,the appropriate color mapping method is selected to color the streamline.Experimental results show that the Sobol sequence can be used to determine the location of streamline seed points,and the streamline distribution of vector field can be more uniform.The vector field data distribution can be quantized as the skewness coefficient,and a more appropriate color mapping method can be selected according to the skewness coefficient,so that the effect of color mapping can better describe the actual situation of the field strength distribution of vector field.

Key words: Color mapping, Skewness coefficient, Streamline, Vector field

中图分类号: 

  • TP391
[1] CHEN D F.Research on flow visualization technology based on GPU [D].Beijing:North China Electric Power University,2008.
[2] ZHANG W,DENG J.Topology-driven streamline seeding for2D vector field visualization[C]//IEEE International Conference on Systems,Man and Cybernetics.IEEE Press,2009:4901-4905.
[3] LI C,WU L,ZHAO B.Application of topology analysis in visualization of 2D dynamic vector fields[C]//IEEE International Conference on Software Engineering & Service Science.IEEE Press,2017:641-646.
[4] BA Z Y,SHAN G H.A multi-level streamline visualizationbased on feature information seed point selection [J].Journal of Computer Aided Design and Graphics,2016,28(1):32-40.
[5] YUSOFF A Y,MOHAMED F,et al.Magnitude-based seedpoint placement for streamlines generation[C]//IEEE Confe-rence on Big Data and Analytics (ICBDA).IEEE Press,2017:81-86.
[6] URNESS T,INTERRANTE V.Streamline visualization of mul-tiple 2D vector fields[C]//SPIE-IS and T Electronic Imaging-Visualization and Data Analysis.SPIE,2008:1-12.
[7] HAO J,WANG W,DUO Z.An Efficient Algorithm for Streamline Visualization in Unstructured Steady Vector Field[C]//Proceedings of the 2nd International Conference on Computer Science and Application Engineering (CSAE'18).ACM,2018:7.
[8] DU X.A New Texture Generating Algorithm:Random Increment Streamline Method[C]//37th Chinese Control Conference (CCC).IEEE Computer Society,2018:8537-8542.
[9] ZHAN F F,HU W,YUAN G D.Research and improvement of visualization algorithm of 2D LIC vector field [J].Computer Science,2013,40(9):257-261.
[10] SONG Y Y.Research on visualization method of line integral convolution vector field based on parallel coordinates [D].Qinhuangdao:Yanshan University,2016.
[11] TURK G,BANKS D.Image-Guided Streamline Placement[C]//The 23rd Annual Conference on Computer Graphics and Interactive Techniques(SIGGRAPH 1996),ACM,1996:453-460.
[12] LANE D A.UFAT:a particle tracer for time-dependent flowfields[C]//IEEE Visualization Conference.IEEE Computer Society,1994:257-264.
[13] SOBOL I M.On quasi-Monte Carlo integrations[J].Mathema-tics and Computers in Simulation,1998,47(2/3/4/5):103-112.
[14] GU Y L,JI X J.Research on the application of time delay based vector field visualization method [J].Computer Engineering,2007,33(2):286-287.
[15] SHI H X.Research on enhanced vector field visualization based on line integral convolution method [D].Harbin:Harbin Engineering University,2018.
[1] 张倩, 肖丽.
基于流线的流场可视化绘制方法综述
Review of Visualization Drawing Methods of Flow Field Based on Streamlines
计算机科学, 2021, 48(12): 1-7. https://doi.org/10.11896/jsjkx.201200108
[2] 詹芳芳,胡伟,袁国栋.
二维LIC矢量场可视化算法的研究及改进
Improvement of 2D LIC Algorithm for Vector Field Visualization
计算机科学, 2013, 40(9): 257-261.
[3] .
四元数与彩色图像边缘检测

计算机科学, 2007, 34(11): 212-216.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!