[go: up one dir, main page]

CN106529169A - Fuzzy set visualization method and application thereof to aspect of medical data visualization - Google Patents

Fuzzy set visualization method and application thereof to aspect of medical data visualization Download PDF

Info

Publication number
CN106529169A
CN106529169A CN201610982615.8A CN201610982615A CN106529169A CN 106529169 A CN106529169 A CN 106529169A CN 201610982615 A CN201610982615 A CN 201610982615A CN 106529169 A CN106529169 A CN 106529169A
Authority
CN
China
Prior art keywords
point
transparency
center
visualization
fuzzy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610982615.8A
Other languages
Chinese (zh)
Other versions
CN106529169B (en
Inventor
夏薇薇
朱利丰
贾占军
张爱华
黄松明
陈红兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Children's Hospital of Nanjing Medical University
Original Assignee
Nanjing Children's Hospital of Nanjing Medical University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Children's Hospital of Nanjing Medical University filed Critical Nanjing Children's Hospital of Nanjing Medical University
Priority to CN201610982615.8A priority Critical patent/CN106529169B/en
Publication of CN106529169A publication Critical patent/CN106529169A/en
Application granted granted Critical
Publication of CN106529169B publication Critical patent/CN106529169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/50ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for simulation or modelling of medical disorders
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/70ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for mining of medical data, e.g. analysing previous cases of other patients

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Data Mining & Analysis (AREA)
  • Biomedical Technology (AREA)
  • Databases & Information Systems (AREA)
  • Pathology (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Image Generation (AREA)

Abstract

本发明公开了一种模糊集合可视化方法。其包括:步骤1、将模糊集合中的各个元素及集合中心映射成含颜色和透明度的点,并将其几何位置进行初始化;步骤2、优化元素点及集合中心点的位置;步骤3、以优化后的元素点和集合中心点及展示媒介的边界为约束,使用Delaunay三角网格剖分,建立通过这些点的离散三角网格;步骤4、计算三角网格各顶点的颜色及透明度分布,并根据计算结果进行着色。本发明还公开了该方法在医学数据可视化方面的应用。相比现有技术,本发明可充分利用几何、颜色及透明度信息,以图解的形式对模糊集合中的信息进行更清楚直观地展现。

The invention discloses a fuzzy set visualization method. It includes: step 1, mapping each element in the fuzzy set and the center of the set to a point with color and transparency, and initializing its geometric position; step 2, optimizing the position of the element point and the center point of the set; step 3, using The optimized element points and the collection center point and the boundary of the display medium are constrained, and the Delaunay triangular mesh is used to divide the discrete triangular mesh through these points; step 4, calculate the color and transparency distribution of each vertex of the triangular mesh, And color it according to the calculation result. The invention also discloses the application of the method in medical data visualization. Compared with the prior art, the present invention can make full use of geometry, color and transparency information, and display the information in the fuzzy set more clearly and intuitively in the form of diagrams.

Description

模糊集合可视化方法及其在医学数据可视化方面的应用Fuzzy Set Visualization Method and Its Application in Medical Data Visualization

技术领域technical field

本发明涉及一种模糊集合可视化方法及其在医学数据可视化方面的应用。The invention relates to a fuzzy set visualization method and its application in medical data visualization.

背景技术Background technique

由于人体系统的复杂性和医学测试设备中无法避免的误差,医学数据常常含有一定的不确定性。传统的医学数据表示方式多关注于确定性的数据,在会诊、远程医疗、病患沟通中将不确定的医学数据以确定的图表形式表示容易引起误会,给诊断的客观性及就医中的沟通带来不必要的麻烦。因此有必要将这些包含不确定性的医学数据进行可视化处理。Due to the complexity of human body systems and unavoidable errors in medical testing equipment, medical data often contain certain uncertainties. The traditional medical data presentation methods focus more on deterministic data. In consultation, telemedicine, and patient communication, it is easy to cause misunderstanding to express uncertain medical data in the form of a definite chart, which hinders the objectivity of diagnosis and communication in medical treatment. cause unnecessary trouble. Therefore, it is necessary to visualize these uncertain medical data.

根据不确定性数据的特点,[A.M.MacEachren,R.E.Roth,J.F.O’Brien,B.Li,D.Swingley and M.Gahegan,Visual Semiotics&Uncertainty Visualization:AnEmpirical Study,IEEE Transactions on Visualization and Computer Graphics 18,12(2012),2496-2505]总结了一些对不确定性进行可视化的一些原则和思路。学者提出了可视化模糊数[M.Correll and M.Gleicher,Error Bars Considered Harmful:ExploringAlternate Encodings for Mean and Error,IEEE Transactions on Visualization andComputer Graphics,20,12(2014),2142-2151][A.R.Buck and J.M.Keller,VisualizingUncertainty with Fuzzy Rose Diagrams,Proceedings of IEEE Symposium onComputational Intelligence for Engineering Solutions(CIES),(2014),30-36.],模糊关系[B.Zier and A.Inoue,Fuzzy Relational Visualization for DecisionSupport,Proceedings of the Twenty-Second Midwest Artificial Intelligence andCognitive Science Conference,(2011),8-15]和模糊图[H.Guo,J.Huang andD.H.Laidlaw,Representing Uncertainty in Graph Edges:An Evaluation of PairedVisual Variables,IEEE Transactions on Visualization and Computer Graphics,21,10(2015),1173-1186]的一些方法。作为一类典型的含不确定性的数据,本专利将探讨模糊集合的可视化方法。According to the characteristics of uncertainty data, [A.M.MacEachren, R.E.Roth, J.F.O'Brien, B.Li, D.Swingley and M.Gahegan, Visual Semiotics & Uncertainty Visualization: An Empirical Study, IEEE Transactions on Visualization and Computer Graphics 18,12( 2012), 2496-2505] summarized some principles and ideas for visualizing uncertainty. Scholars proposed visual fuzzy numbers [M.Correll and M.Gleicher, Error Bars Considered Harmful: Exploring Alternate Encodings for Mean and Error, IEEE Transactions on Visualization and Computer Graphics, 20,12(2014), 2142-2151][A.R.Buck and J.M. Keller, Visualizing Uncertainty with Fuzzy Rose Diagrams, Proceedings of IEEE Symposium on Computational Intelligence for Engineering Solutions (CIES), (2014), 30-36.], Fuzzy Relations [B.Zier and A.Inoue, Fuzzy Relational Visualization for Decision Support, Proceedings of the Twenty-Second Midwest Artificial Intelligence and Cognitive Science Conference, (2011), 8-15] and fuzzy graphs [H.Guo, J.Huang and D.H.Laidlaw, Representing Uncertainty in Graph Edges: An Evaluation of PairedVisual Variables, IEEE Transactions on Visualization and Computer Graphics, 21, 10(2015), 1173-1186]. As a typical type of data with uncertainty, this patent will discuss the visualization method of fuzzy sets.

传统集合中元素对集合的归属关系是一种是非关系,模糊集合使用一个从0到1的连续变量来定义了元素对集合的归属程度,称之为归属函数。这样的简单推广让模糊集合蕴涵了更多的从属信息,从而给模糊集合带来了很多工程、管理、医学上的应用。由于模糊集合由元素及其归属函数组成的数对组成,传统的模糊集合存储及展示的方法也即是对这些数对的简单罗列或是列表,欠缺直观性。尤其是在数据量增加的情况下,用户不容易从满屏的数据中找到关键的信息,如任意两个元素哪个对集合的归属程度更大,对集合的归属程度大于0.5的元素是否多等等。The belonging relationship of the elements to the set in the traditional set is a right and wrong relationship, and the fuzzy set uses a continuous variable from 0 to 1 to define the degree of belonging of the elements to the set, which is called the belonging function. Such a simple generalization allows fuzzy sets to contain more subordinate information, thus bringing many applications in engineering, management, and medicine to fuzzy sets. Since fuzzy sets are composed of pairs of elements and their belonging functions, the traditional method of storing and displaying fuzzy sets is a simple list or list of these pairs, which lacks intuition. Especially when the amount of data increases, it is not easy for users to find key information from the full-screen data, such as which of any two elements has a greater degree of belonging to the set, and whether there are many elements with a degree of belonging to the set greater than 0.5, etc. Wait.

已有的模糊集合可视化方法[Y.Park,J.Park,Disk diagram:An interactivevisualization technique of fuzzy set operations for the analysis of fuzzydata,Information Visualization 9,3(2010),220-232]使用圆形图,这种可视化方式不适用于含多个归属函数为1的模糊集合,在元素数量增加且归属函数值相近的情况下容易出现遮挡。The existing fuzzy set visualization method [Y.Park, J.Park, Disk diagram: An interactive visualization technique of fuzzy set operations for the analysis of fuzzydata, Information Visualization 9,3(2010), 220-232] uses a circular diagram, This visualization method is not suitable for fuzzy sets with multiple membership functions of 1, and it is prone to occlusion when the number of elements increases and the membership function values are similar.

发明内容Contents of the invention

本发明所要解决的技术问题在于克服现有模糊集合可视化技术的不足,提供一种模糊集合可视化方法,可充分利用几何、颜色及透明度信息,以图解的形式对模糊集合中的信息进行更清楚直观地展现。The technical problem to be solved by the present invention is to overcome the deficiencies of the existing fuzzy set visualization technology, and provide a fuzzy set visualization method, which can make full use of geometry, color and transparency information, and make the information in the fuzzy set more clear and intuitive in the form of diagrams displayed.

本发明具体采用以下技术方案解决上述技术问题:The present invention specifically adopts the following technical solutions to solve the above technical problems:

一种模糊集合可视化方法,包括以下步骤:A fuzzy set visualization method, comprising the following steps:

步骤1、将模糊集合中的各个元素及集合中心映射成含颜色和透明度的点,并将其几何位置进行初始化:Step 1. Map each element in the fuzzy set and the center of the set to a point with color and transparency, and initialize its geometric position:

首先将各集合中心均匀分布在展示媒介上,并确定出集合中心之间的平均距离;以该平均距离为参考,将各集合中的元素围绕集合中心分布,使得元素点离集合中心点之间的距离负线性相关于该元素对该集合的归属函数;Firstly, the collection centers are evenly distributed on the display medium, and the average distance between the collection centers is determined; using the average distance as a reference, the elements in each collection are distributed around the collection center, so that the distance between the element point and the collection center point The distance of is negatively linearly related to the membership function of the element to the set;

步骤2、优化元素点及集合中心点的位置:Step 2. Optimize the position of the element point and the center point of the set:

定义两类理想距离:一类为元素点到集合中心点的距离,其理想距离为r(1-uA(x)),其中r为集合A半径,uA(x)为元素x对集合A的归属函数;一类为元素点之间的最小理想距离,根据展示媒介的几何尺寸由用户定出;建立弹簧-质点模型,将这两类距离建模为弹簧的理想长度,将元素点和集合中心建模为质点,固定靠近展示媒介中心的质点,使用弹簧-质点模型进行物理仿真来求出静态情况下质点的位置,作为优化后元素点和集合中心的位置;Define two types of ideal distances: one is the distance from the element point to the center point of the set, and its ideal distance is r(1-u A (x)), where r is the radius of set A, and u A (x) is the pair set of element x The membership function of A; one is the minimum ideal distance between element points, which is determined by the user according to the geometric size of the display medium; the spring-mass model is established, and the two types of distance are modeled as the ideal length of the spring, and the element points are Model the center of the mass as a mass point, fix the mass point close to the center of the display medium, and use the spring-mass model for physical simulation to find the position of the mass point under static conditions as the position of the optimized element point and the center of the set;

步骤3、以优化后的元素点和集合中心点及展示媒介的边界为约束,使用Delaunay三角网格剖分,建立通过这些点的离散三角网格;Step 3. Constraints on the optimized element points, set center points, and the boundaries of the display medium, using Delaunay triangular mesh division, to establish a discrete triangular mesh passing through these points;

步骤4、计算三角网格各顶点的颜色及透明度分布,并根据计算结果进行着色:对每个模糊集合绘制一个图层,同一图层的所有顶点设置为相同的颜色,不同图层设置不同颜色;对每一个图层,计算三角网格顶点的透明度并绘制该图层,最后叠加图层得到可视化方案;其中,三角网格顶点的透明度计算方法具体为:定义集合中心点c的透明度为0,元素点x的透明度为1-uA(x),其中uA(x)为元素x对集合A的归属函数,若uA(x)不等于1,外插c到x的连线找到点y=c+(c-x)/(1-uA(x)),并将y点处透明度设为1;最后,以集合中心点、元素点、外插点处的透明度为边界条件,在三角网格上求解二阶调和方程,以得到其余三角网格顶点的透明度。Step 4. Calculate the color and transparency distribution of each vertex of the triangular mesh, and color according to the calculation result: draw a layer for each fuzzy set, set all vertices of the same layer to the same color, and set different colors to different layers ; For each layer, calculate the transparency of the vertices of the triangular mesh and draw the layer, and finally superimpose the layers to obtain a visualization scheme; where the transparency calculation method of the vertices of the triangular mesh is specifically: define the transparency of the center point c of the set as 0 , the transparency of element point x is 1-u A (x), where u A (x) is the membership function of element x to set A, if u A (x) is not equal to 1, extrapolate the line from c to x to find Point y=c+(cx)/(1-u A (x)), and the transparency at point y is set to 1; finally, the transparency at the center point, element point, and extrapolation point of the set is used as the boundary condition, in the triangle Solve second-order harmonic equations on the mesh to obtain the transparency of the remaining triangular mesh vertices.

进一步地,在对集合中心点、元素点的几何位置进行初始化时,若一个元素从属于多个集合,将其从属于不同集合下的初始位置进行平均作为其初始位置。Further, when initializing the geometric positions of the center point of the set and the element point, if an element belongs to multiple sets, the initial positions of the different sets are averaged as its initial position.

为帮助用户更好感知具体的归属函数,进一步地,该方法还包括:In order to help users better perceive the specific belonging function, further, the method further includes:

步骤5、在所得到的可视化方案中添加透明度的等值线。Step 5. Add transparency contours to the obtained visualization scheme.

本发明模糊集合可视化方法可广泛应用于天文、气象、机器识别、遥感测量等诸多领域的包含不确定性的数据的可视化处理,例如:The fuzzy set visualization method of the present invention can be widely used in the visualization processing of data containing uncertainty in many fields such as astronomy, meteorology, machine identification, remote sensing measurement, etc., for example:

所述方法在医学数据可视化方面的应用,首先对含不确定性的医学数据进行抽象,根据误差或可能性将不确定性抽象成集合语言,并抽象出从属概率以量化不确定性,从而形成一个或者多个模糊集合;然后使用以上任一技术方案所述方法对所述一个或者多个模糊集合进行可视化处理。The application of the method in medical data visualization firstly abstracts the medical data containing uncertainty, abstracts the uncertainty into a set language according to the error or possibility, and abstracts the subordinate probability to quantify the uncertainty, thus forming One or more fuzzy sets; and then use the method described in any of the above technical solutions to perform visual processing on the one or more fuzzy sets.

相比现有技术,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

本发明有效提高了包含不确定性信息展示的简洁性、直观性、可辨识度和美观度,从而对用户更加友好;The present invention effectively improves the succinctness, intuition, recognizability and aesthetics of information display including uncertainty, thereby being more user-friendly;

相比现有基于圆形图的模糊集合可视化方法,本发明将圆形图的圆形边界推广到自由曲线边界,将圆形图的纯色推广到不同颜色及透明度的展示,充分利用了展示媒介的几何、颜色及透明度通道,对信息的表达更准确全面。Compared with the existing fuzzy set visualization method based on the circular graph, the present invention extends the circular boundary of the circular graph to the free curve boundary, and extends the pure color of the circular graph to the display of different colors and transparency, making full use of the display medium The geometry, color and transparency channels can express information more accurately and comprehensively.

附图说明Description of drawings

图1为本发明方法的基本原理示意图;Fig. 1 is the basic schematic diagram of the inventive method;

图2为利用本发明方法对简单模糊集合进行可视化处理的结果示例;Fig. 2 is the result example that utilizes the method of the present invention to carry out visual processing to simple fuzzy set;

图3为利用本发明方法对表1医学数据进行可视化处理的结果示例;Fig. 3 is the result example that utilizes the method of the present invention to carry out visual processing to table 1 medical data;

图4为三种可视化方案的用户调查结果。Figure 4 shows the user survey results of the three visualization schemes.

具体实施方式detailed description

下面结合附图对本发明的技术方案进行详细说明:The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:

如图1所示,本发明首先将含不确定性的医学数据(或者其它不确定性数据)抽象成模糊集合,其后将模糊集合中的集合、元素及归属函数分别使用背景颜色、顶点以及背景透明度来展示,其中所展示背景的透明度分布由透明度的等值线进行示意。As shown in Figure 1, the present invention firstly abstracts uncertain medical data (or other uncertain data) into a fuzzy set, and then uses the background color, vertex and The transparency of the background is displayed, where the transparency distribution of the displayed background is indicated by the isoline of transparency.

图2展示了一个用本发明方法可视化一个简单模糊集合的结果。该图里含三个元素的模糊集合中,集合使用红色来表示(图中未示出),集合中心使用+字型点表示,元素使用黑点表示,元素对集合的归属函数使用透明度来表示(图中以透明度等值线的形式来显示)。透明度高对应于归属函数低,完全不透明区域表示归属函数为1,完全透明区域表示归属函数为0。Fig. 2 shows a result of visualizing a simple fuzzy set with the method of the present invention. In the fuzzy set with three elements in this figure, the set is represented by red (not shown in the figure), the center of the set is represented by a + font point, the element is represented by a black point, and the belonging function of the element to the set is represented by transparency (shown in the form of transparency contours in the figure). A high transparency corresponds to a low membership function, a completely opaque area indicates a membership function of 1, and a completely transparent area indicates a membership function of 0.

为了便于公众理解,下面以一个具体实施例来对本发明技术方案进行详细说明。In order to facilitate the public's understanding, the technical solution of the present invention will be described in detail below with a specific embodiment.

本实施例中的处理对象为一组含不确定性的医学数据,本发明的可视化处理过程具体如下:The processing object in this embodiment is a group of medical data containing uncertainty, and the visualization processing process of the present invention is specifically as follows:

步骤1、对含不确定性的医学数据进行抽象,根据误差或可能性将不确定性抽象成集合语言,并抽象出从属概率以量化不确定性,从而形成一个或者多个模糊集合:Step 1. Abstract the medical data containing uncertainty, abstract the uncertainty into a set language according to the error or possibility, and abstract the subordinate probability to quantify the uncertainty, thus forming one or more fuzzy sets:

将该医学数据抽象为模糊集合,根据医学数据中的从属关系抽象为元素x和集合A,将表示不确定性的概率以归属函数uA(x)的形式给出。The medical data is abstracted as a fuzzy set, which is abstracted into element x and set A according to the subordination relationship in the medical data, and the probability of uncertainty is given in the form of the membership function u A (x).

步骤2、将模糊集合中的各个元素及集合中心映射成含颜色和透明度的点,并将其几何位置进行初始化:Step 2. Map each element in the fuzzy set and the center of the set to a point with color and transparency, and initialize its geometric position:

位置初始化中,首先将各集合中心均匀分布在屏幕或纸面等展示媒介上,确定出集合中心之间的平均距离,并将此距离的一半定为理想的集合半径r;以该平均距离为参考,将各集合中元素围绕集合中心分布,使得元素点离集合中心点之间的距离负线性相关于该元素对该集合的归属函数。例如,在初始化时以集合中心为原点,使用极坐标系,若集合A有n个元素,则第i个元素xi的位置对应于为长度为(1-uA(xi))r,角度为2πi/n的位置。若一个元素从属于多个集合,将其从属不同集合定下的初始位置进行平均作为其初始位置。In the position initialization, firstly, the collection centers are evenly distributed on the display media such as screen or paper, and the average distance between the collection centers is determined, and half of this distance is set as the ideal collection radius r; the average distance is For reference, the elements in each set are distributed around the center of the set, so that the distance between the element point and the center point of the set is negatively linearly related to the membership function of the element to the set. For example, at the time of initialization, the center of the collection is taken as the origin, and the polar coordinate system is used. If the collection A has n elements, the position of the i-th element x i corresponds to a length of (1-u A ( xi ))r, The position where the angle is 2πi/n. If an element belongs to multiple sets, the initial positions set by the different sets it belongs to are averaged as its initial position.

步骤3、优化元素点及集合中心点的位置:Step 3, optimize the position of element point and set center point:

定义两类理想距离:一类为元素点到集合中心点的距离,其理想距离为r(1-uA(x)),其中r为集合A的理想半径,uA(x)为元素x对集合A的归属函数;一类为元素点之间的最小理想距离,根据展示媒介的几何尺寸由用户定出,一般可以设为0.25r。建立弹簧-质点模型,将这两类距离建模为弹簧的理想长度,将元素点和集合中心建模为质点,将弹簧的刚度系数均设为1,固定靠近展示媒介中心的质点,使用弹簧-质点物理仿真(此为现有技术,详细内容可参见文献[T.Liu,A.W.Bargteil,J.F.O’Brien and L.Kavan,Fast simulationof mass-spring systems,ACM Transactions on Graphics 32,6(2013),209:1-209:7.])来求出静态情况下质点的位置,作为优化后元素点和集合中心的位置。在仿真中,我们还设定了元素点之间的最短距离,一般设为0.05r。当出现元素点之间的弹簧长度小于定义的最短距离时,将这些长度过短的弹簧刚度系数放大2倍重新运行弹簧-质点物理仿真,重复这个过程直至所有元素点之间的距离均大于指定的最短距离。Define two types of ideal distances: one is the distance from the element point to the center point of the set, and the ideal distance is r(1-u A (x)), where r is the ideal radius of the set A, and u A (x) is the element x The membership function for the set A; one is the minimum ideal distance between element points, which is determined by the user according to the geometric size of the display medium, and can generally be set to 0.25r. Establish a spring-mass model, model these two types of distances as the ideal length of the spring, model the element point and the center of the collection as a mass point, set the stiffness coefficient of the spring to 1, fix the mass point close to the center of the display medium, and use the spring -Mass point physics simulation (this is prior art, details can be found in literature [T.Liu, AWBargteil, JFO'Brien and L.Kavan, Fast simulation of mass-spring systems, ACM Transactions on Graphics 32,6(2013), 209 :1-209:7.]) to find the position of the mass point in the static situation, as the position of the element point and the center of the set after optimization. In the simulation, we also set the shortest distance between element points, generally set to 0.05r. When the spring length between element points is less than the defined shortest distance, the spring stiffness coefficients with too short length will be enlarged by 2 times to re-run the spring-mass physical simulation, and repeat this process until the distance between all element points is greater than the specified the shortest distance.

步骤4、以优化后的元素点和集合中心点及展示媒介的边界为约束,使用Delaunay三角网格剖分(详细内容可参见文献[J.R.Shewchuk,Triangle:Engineering a 2DQuality Mesh Generator and Delaunay Triangulator,Lecture Notes in ComputerScience,1148(1996),203-222]),建立通过这些点的离散三角网格,用于绘制数据的图解。Step 4. Constraints on the optimized element points, set center points, and display medium boundaries, use Delaunay triangular meshing (for details, please refer to the literature [J.R.Shewchuk, Triangle: Engineering a 2DQuality Mesh Generator and Delaunay Triangulator, Lecture Notes in ComputerScience, 1148(1996), 203-222]), a discrete triangular mesh through these points is constructed for plotting the data plots.

步骤5、计算三角网格各顶点的颜色及透明度分布,并根据计算结果进行着色:Step 5. Calculate the color and transparency distribution of each vertex of the triangular mesh, and perform coloring according to the calculation result:

定义集合中心点c的透明度为0,元素点x的透明度为1-uA(x),其中uA(x)为元素x对集合A的归属函数。同时,若uA(x)不等于1,外插c到x的连线找到点y=c+(c-x)/(1-uA(x)),并将y点处透明度设为1。最后,以集合中心点、元素点、外插点处的透明度为边界条件,在三角网格上求解二阶调和方程(参见文献[A.Jacobson,I.Baran,J.Popovi′c,O.Sorkine,Bounded biharmonic weights for real-time deformation,ACM Transactions onGraphics 30,4(2011),78:1-78:8]),以得到其余三角网格顶点的透明度。若同时展示多个模糊集合,对每个模糊集合绘制一个图层,同一图层的所有顶点设置为相同的颜色,不同图层设置不同颜色,最后叠加图层得到最终的可视化方案。Define the transparency of the center point c of the set as 0, and the transparency of the element point x as 1-u A (x), where u A (x) is the membership function of the element x to the set A. At the same time, if u A (x) is not equal to 1, extrapolate the line from c to x to find the point y=c+(cx)/(1-u A (x)), and set the transparency at point y to 1. Finally, the second-order harmonic equation is solved on the triangular grid with the transparency of the set center point, element point, and extrapolation point as boundary conditions (see literature [A.Jacobson, I.Baran, J.Popovi′c, O. Sorkine, Bounded biharmonic weights for real-time deformation, ACM Transactions on Graphics 30, 4(2011), 78:1-78:8]), to obtain the transparency of the vertices of the rest of the triangular mesh. If multiple fuzzy sets are displayed at the same time, a layer is drawn for each fuzzy set, all vertices of the same layer are set to the same color, different layers are set to different colors, and finally the layers are superimposed to obtain the final visualization scheme.

用户可以通过所绘制的可视化图解上的元素点的颜色及透明度信息迅速感知其所属的模糊集合以及归属程度,同时用户也可以快速的查知哪些元素点拥有相似的归属程度,哪些元素点的归属程度高,哪些元素的归属程度低等等。为帮助用户更好感知具体的归属函数,本发明还可以进一步计算出透明度的等值线,叠加在可视化图解上以帮助展示归属函数的值。等值线计算时,只需要遍及所有三角形,若遍历的三角形上有两个顶点的透明度分别高于和低于等值线的值,则使用线性插值添加等值线线段上的一个顶点。若一个三角形上有两个这样的线段顶点,则连接这两个顶点作为等值线中的一段。遍历所有三角形后获取所有的这些线段,叠加绘制在可视化图解上即可得到带等值线的可视化图解。Users can quickly perceive the fuzzy set and degree of belonging through the color and transparency information of the element points on the drawn visual diagram. At the same time, users can quickly find out which element points have similar degree of belonging and which element points belong to High degree, which elements have low degree of attribution, and so on. In order to help users better perceive the specific belonging function, the present invention can further calculate the isoline of transparency and superimpose it on the visual diagram to help display the value of the belonging function. When calculating the contour line, you only need to traverse all triangles. If the transparency of two vertices on the traversed triangle is higher and lower than the value of the contour line, use linear interpolation to add a vertex on the contour line segment. If there are two such line segment vertices on a triangle, connect these two vertices as a segment in the contour line. Obtain all these line segments after traversing all triangles, superimpose and draw on the visualization diagram to obtain a visualization diagram with isolines.

图3示例了一个同时可视化一组病人康复程度数据的例子。首先将表1给出的数据建模为给出的一组病人对已康复的病人这一集合的模糊从属关系,将康复程度建模为上述模糊集合的归属函数,然后按照之前所述的步骤生成可视化图解,如图3所示(图中的颜色信息未示出,透明度以等值线的形式来显示)。用户交互式地指定叠加uA(x)=0.5的等值线在图3中,可以便捷直观的看出病人的康复程度大于50%的群体。Figure 3 illustrates an example of simultaneously visualizing a set of patient recovery data. Firstly, the data given in Table 1 is modeled as the fuzzy membership of a given group of patients to the set of recovered patients, and the degree of recovery is modeled as the membership function of the above fuzzy set, and then the steps described above are followed Generate a visual diagram, as shown in Figure 3 (the color information in the figure is not shown, and the transparency is displayed in the form of contour lines). The user interactively specifies the superimposed contour of u A (x)=0.5. In FIG. 3 , it can be conveniently and intuitively seen the groups whose recovery degree of the patients is greater than 50%.

表1Table 1

为了验证本发明效果,以可视化模糊儿童疾病为例子,将本发明方法与现有技术进行对比。表2列出了模糊儿童疾病的数据,针对不同的症状给出了其对应不同疾病的概率。In order to verify the effect of the present invention, the method of the present invention is compared with the prior art by taking the visualization of fuzzy childhood diseases as an example. Table 2 lists the data of fuzzy childhood diseases, and gives the probabilities corresponding to different diseases for different symptoms.

表2Table 2

上呼吸道感染upper respiratory infection 肺炎pneumonia 手足口病hand, foot and mouth disease 发热fever 80%80% 15%15% 1%1% 咳嗽cough 50%50% 30%30% 0%0% 咽痛sore throat 20%20% 10%10% 10%10% 呕吐Vomit 30%30% 20%20% 5%5% 皮疹rash 20%20% 1%1% 20%20%

首先按照前述步骤,分别对三种疾病所对应的模糊集合,使用红、绿、蓝三种颜色表示这三个模糊集合,在完成布局优化后分别计算其可视化图层,最后叠加这三个图层得到本发明的可视化处理结果。通过该结果,用户可以比较直观地观察到一些蕴含在数据中的信息,如咳嗽症状可能对应于上呼吸道感染和肺炎而不会对应于手足口病这一现象,可以在其中通过观察到元素点“咳嗽”与绿色区域“上呼吸道感染”和蓝色区域“肺炎”相近而远离红色区域“手足口病”而得知;又如可以从其中直接观察到症状皮疹对应的元素点落在绿色的“上呼吸道感染”和红色的“手足口病”两个区域的邻近边界处而离蓝色的“上呼吸道感染”区域较远,用户可以从中感知到症状皮疹比起肺炎更可能对应于上呼吸道感染和手足口病这两个疾病,且从症状皮疹中确诊上呼吸道感染和手足口病的几率都不大。First, according to the previous steps, respectively, for the fuzzy sets corresponding to the three diseases, use red, green, and blue colors to represent the three fuzzy sets. After completing the layout optimization, calculate their visualization layers respectively, and finally superimpose the three images. layer to obtain the visualization processing result of the present invention. Through this result, users can intuitively observe some information contained in the data, such as the phenomenon that cough symptoms may correspond to upper respiratory tract infection and pneumonia but not to hand, foot and mouth disease. "Cough" is close to "upper respiratory infection" in the green area and "pneumonia" in the blue area, but far away from "hand, foot and mouth disease" in the red area; for example, it can be directly observed that the element point corresponding to the symptom rash falls in the green area "Upper Respiratory Tract Infection" and the red "Hand, Foot and Mouth Disease" area are adjacent to the border and farther away from the blue "Upper Respiratory Tract Infection" area, from which the user can perceive that symptoms Rash is more likely to correspond to the upper respiratory tract than pneumonia Infection and hand, foot and mouth disease are two diseases, and the probability of confirming upper respiratory tract infection and hand, foot and mouth disease from symptomatic rash is not high.

然后通过分别展示原始数据表格(表2)、用于可视化模糊集合的圆形图(利用文献[Y.Park,J.Park,Disk diagram:An interactive visualization technique of fuzzyset operations for the analysis of fuzzy data,Information Visualization 9,3(2010),220-232]对表2数据进行处理所得到)及本发明生成的可视化结果,统计了被调查用户对可视化方案在信息量、简洁性、可辨识度、直观性、美观度以及总体偏好这六个方面的打分,其结果如图4所示,其中分数0到10表示了很差到很好。从调查结果可以看出,本发明牺牲了少许信息量,提高了信息展示的简洁性、直观性、可辨识度和美观度,从而对用户更加友好。而所牺牲的信息量主要来源于人眼对透明度的量化能力有限,根据用户需要可以使用本发明中叠加等值线的方法来更准确地量化归属函数,从而缓解这一问题。另一方面,由于本发明相比圆形图,将圆形图的圆形边界推广到自由曲线边界,将圆形图的纯色推广到不同颜色及透明度的展示,充分利用了展示媒介的几何、颜色及透明度通道,在各方面都更受用户欢迎。Then by displaying the original data table (Table 2) and the circular diagram used to visualize the fuzzy set (using the literature [Y.Park, J.Park, Disk diagram: An interactive visualization technique of fuzzyset operations for the analysis of fuzzy data, Information Visualization 9,3(2010), 220-232] the data in Table 2 are processed and obtained) and the visualization results generated by the present invention, the statistics of the surveyed users on the visualization scheme in the amount of information, simplicity, recognizability, intuitive The results are shown in Figure 4, where scores from 0 to 10 represent poor to very good. It can be seen from the investigation results that the present invention sacrifices a small amount of information and improves the simplicity, intuitiveness, recognizability and aesthetics of information display, thereby being more user-friendly. The amount of information sacrificed mainly comes from the limited ability of human eyes to quantify transparency. According to user needs, the method of superimposing contours in the present invention can be used to more accurately quantify the belonging function, thereby alleviating this problem. On the other hand, compared with the circular graph, the present invention extends the circular boundary of the circular graph to the free curve boundary, and extends the pure color of the circular graph to the display of different colors and transparency, making full use of the geometry and transparency of the display medium. The color and transparency channels are more popular with users in all aspects.

Claims (4)

1.一种模糊集合可视化方法,其特征在于,包括以下步骤:1. A fuzzy set visualization method, comprising the following steps: 步骤1、将模糊集合中的各个元素及集合中心映射成含颜色和透明度的点,并将其几何位置进行初始化:Step 1. Map each element in the fuzzy set and the center of the set to a point with color and transparency, and initialize its geometric position: 首先将各集合中心均匀分布在展示媒介上,并确定出集合中心之间的平均距离;以该平均距离为参考,将各集合中的元素围绕集合中心分布,使得元素点离集合中心点之间的距离负线性相关于该元素对该集合的归属函数;Firstly, the collection centers are evenly distributed on the display medium, and the average distance between the collection centers is determined; using the average distance as a reference, the elements in each collection are distributed around the collection center, so that the distance between the element point and the collection center point The distance of is negatively linearly related to the membership function of the element to the set; 步骤2、优化元素点及集合中心点的位置:Step 2. Optimize the position of the element point and the center point of the set: 定义两类理想距离:一类为元素点到集合中心点的距离,其理想距离为 r(1-uA(x)),其中r为集合A半径,uA(x)为元素x对集合A的归属函数;一类为元素点之间的最小理想距离,根据展示媒介的几何尺寸由用户定出;建立弹簧-质点模型,将这两类距离建模为弹簧的理想长度,将元素点和集合中心建模为质点,固定靠近展示媒介中心的质点,使用弹簧-质点模型进行物理仿真来求出静态情况下质点的位置,作为优化后元素点和集合中心的位置;Define two types of ideal distances: one is the distance from the element point to the center point of the set, and its ideal distance is r(1-u A (x)), where r is the radius of set A, and u A (x) is the pair set of element x The membership function of A; one is the minimum ideal distance between element points, which is determined by the user according to the geometric size of the display medium; the spring-mass model is established, and the two types of distance are modeled as the ideal length of the spring, and the element points are Model the center of the mass as a mass point, fix the mass point close to the center of the display medium, and use the spring-mass model for physical simulation to find the position of the mass point under static conditions as the position of the optimized element point and the center of the set; 步骤3、以优化后的元素点和集合中心点及展示媒介的边界为约束,使用Delaunay三角网格剖分,建立通过这些点的离散三角网格;Step 3. Constraints on the optimized element points, set center points, and the boundaries of the display medium, using Delaunay triangular mesh division, to establish a discrete triangular mesh passing through these points; 步骤4、计算三角网格各顶点的颜色及透明度分布,并根据计算结果进行着色:Step 4. Calculate the color and transparency distribution of each vertex of the triangular mesh, and perform coloring according to the calculation result: 对每个模糊集合绘制一个图层,同一图层的所有顶点设置为相同的颜色,不同图层设置不同颜色;对每一个图层,计算三角网格顶点的透明度并绘制该图层,最后叠加图层得到可视化方案;其中,三角网格顶点的透明度计算方法具体为:定义集合中心点c的透明度为0,元素点x的透明度为1-uA(x),其中uA(x)为元素x对集合A的归属函数,若uA(x)不等于1,外插c到x的连线找到点y=c+(c-x)/(1-uA(x)),并将y点处透明度设为1;最后,以集合中心点、元素点、外插点处的透明度为边界条件,在三角网格上求解二阶调和方程,以得到其余三角网格顶点的透明度。Draw a layer for each fuzzy set, set all vertices of the same layer to the same color, and set different colors for different layers; for each layer, calculate the transparency of the vertices of the triangular mesh and draw the layer, and finally superimpose The layer obtains the visualization scheme; wherein, the transparency calculation method of the vertices of the triangular mesh is as follows: define the transparency of the set center point c as 0, and the transparency of the element point x as 1-u A (x), where u A (x) is The membership function of element x to set A, if u A (x) is not equal to 1, extrapolate the line from c to x to find point y=c+(cx)/(1-u A (x)), and point y Set the transparency at 1; finally, using the transparency at the set center point, element point, and extrapolation point as boundary conditions, solve the second-order harmonic equation on the triangular mesh to obtain the transparency of the other vertices of the triangular mesh. 2.如权利要求1所述方法,其特征在于,在对集合中心点、元素点的几何位置进行初始化时,若一个元素从属于多个集合,将其从属于不同集合下的初始位置进行平均作为其初始位置。2. The method according to claim 1, wherein, when initializing the geometric positions of the set central point and the element point, if an element belongs to multiple sets, the initial positions under different sets are averaged as its initial position. 3.如权利要求1所述方法,其特征在于,还包括:3. The method of claim 1, further comprising: 步骤5、在所得到的可视化方案中添加透明度的等值线。Step 5. Add transparency contours to the obtained visualization scheme. 4.如权利要求1~3任一项所述方法在医学数据可视化方面的应用,首先对含不确定性的医学数据进行抽象,根据误差或可能性将不确定性抽象成集合语言,并抽象出从属概率以量化不确定性,从而形成一个或者多个模糊集合;然后使用如权利要求1~3任一项所述方法对所述一个或者多个模糊集合进行可视化处理。4. The application of the method according to any one of claims 1 to 3 in the visualization of medical data, first abstract the medical data containing uncertainty, abstract the uncertainty into a set language according to the error or possibility, and abstract The membership probability is obtained to quantify the uncertainty, thereby forming one or more fuzzy sets; and then the one or more fuzzy sets are visualized using the method according to any one of claims 1-3.
CN201610982615.8A 2016-11-09 2016-11-09 Fuzzy set method for visualizing and its application process in terms of medical data visualization Active CN106529169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610982615.8A CN106529169B (en) 2016-11-09 2016-11-09 Fuzzy set method for visualizing and its application process in terms of medical data visualization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610982615.8A CN106529169B (en) 2016-11-09 2016-11-09 Fuzzy set method for visualizing and its application process in terms of medical data visualization

Publications (2)

Publication Number Publication Date
CN106529169A true CN106529169A (en) 2017-03-22
CN106529169B CN106529169B (en) 2018-02-27

Family

ID=58351349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610982615.8A Active CN106529169B (en) 2016-11-09 2016-11-09 Fuzzy set method for visualizing and its application process in terms of medical data visualization

Country Status (1)

Country Link
CN (1) CN106529169B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162567A (en) * 2019-05-21 2019-08-23 山东大学 Two-dimentional scalar field data visualization method and system based on color table optimization
CN112052057A (en) * 2020-08-12 2020-12-08 北京科技大学 Data visualization method and system for optimizing color chart based on spring model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873385A (en) * 2010-06-04 2010-10-27 北京播思软件技术有限公司 Device and method for entering power-saving mode of hand-held terminal rapidly
US20110175905A1 (en) * 2010-01-15 2011-07-21 American Propertunity, LLC. Infoshape: displaying multidimensional information
CN103631359A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
JP2014099799A (en) * 2012-11-15 2014-05-29 Canon Inc Electronic apparatus and control method of the same, and program
CN104615415A (en) * 2013-11-04 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110175905A1 (en) * 2010-01-15 2011-07-21 American Propertunity, LLC. Infoshape: displaying multidimensional information
CN101873385A (en) * 2010-06-04 2010-10-27 北京播思软件技术有限公司 Device and method for entering power-saving mode of hand-held terminal rapidly
JP2014099799A (en) * 2012-11-15 2014-05-29 Canon Inc Electronic apparatus and control method of the same, and program
CN104615415A (en) * 2013-11-04 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN103631359A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162567A (en) * 2019-05-21 2019-08-23 山东大学 Two-dimentional scalar field data visualization method and system based on color table optimization
CN112052057A (en) * 2020-08-12 2020-12-08 北京科技大学 Data visualization method and system for optimizing color chart based on spring model

Also Published As

Publication number Publication date
CN106529169B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
US20160350979A1 (en) Systems and methods for shape analysis using landmark-driven quasiconformal mapping
CN109753547B (en) Geographic space multi-dimensional data visual analysis method based on parallel coordinate axis arrangement
Siqueira et al. On Chinese and Western Family Trees: Mechanism and Performance
Ma et al. Learning signed distance functions from noisy 3d point clouds via noise to noise mapping
Bi et al. A survey on visualization of tensor field
CN113767401B (en) Network representation learning method across medical data sources
US20140320539A1 (en) Semantic zoom-in or drill-down in a visualization having cells with scale enlargement and cell position adjustment
CN106529169B (en) Fuzzy set method for visualizing and its application process in terms of medical data visualization
CN106933985A (en) A kind of analysis of core side finds method
Nousias et al. AVATREE: An open-source computational modelling framework modelling Anatomically Valid Airway TREE conformations
CN107507232A (en) Stereo Matching Algorithm based on multiple dimensioned iteration
Fetita et al. An image-based computational model of oscillatory flow in the proximal part of tracheobronchial trees
Guo et al. Interactive local clustering operations for high dimensional data in parallel coordinates
CN117077157A (en) Improved thin-plate spline vector data decryption method and system considering spatial distribution
CN107292865A (en) A kind of stereo display method based on two dimensional image processing
CN103247043A (en) Three-dimensional medical data segmentation method
CN109979572A (en) The section acquisition methods and device of pedicle of vertebral arch in a kind of three dimensional spine model
CN110211207B (en) A three-dimensional flow field visualization method based on the accumulation of streamline lengths
Zhang et al. Interpreting high-dimensional projections with capacity
Aichem et al. De-emphasise, aggregate, and hide: a study of interactive visual transformations for group structures in network visualisations
CN114529677B (en) Method and device for generating scene temperature cloud map, storage medium and electronic device
CN116719982A (en) A linear grid flow field visualization method based on the electromagnetic field
Jiang et al. The shape coordinates system in visualization space
Bhattacharya et al. Unsupervised anomaly detection of paranasal anomalies in the maxillary sinus
CN103984724A (en) Visualization interaction method based on space optimization tree layout

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant