Visual perception illumination method and system for density map

By calculating the normal field and integrating the shadow intensity field into the brightness channel of the color density map, the problem of revealing the structure and outliers in the density map is solved, achieving a clear display of the detailed structure and outliers of the density map, and reducing color distortion. , supports the visualization of large-scale data sets.

CN118747722AActive Publication Date: 2024-10-08SHANDONG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410747103.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-08
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

Existing density map visualization techniques are difficult to effectively reveal the detailed structure of high-density areas and outliers in low-density areas, and commonly used lighting models cannot maintain the original appearance of color density maps, resulting in color distortion and ambiguity.

Method used

By calculating the normal field and applying diffuse shadows that optimize the lighting direction, highlight the ridges and valleys in the density field, enhance contrast, and integrate the shadow intensity field into the brightness channel of the color density map to reduce color distortion and ensure the accuracy of density values. accuracy.

Benefits of technology

It effectively reveals the detailed structure of high- and medium-density areas and outliers in low-density areas, reduces the interference of shadow images and color coding, supports visual analysis of large-scale data sets, and maintains the original appearance of color density maps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747722A_ABST
    Figure CN118747722A_ABST
Patent Text Reader

Abstract

According to the visual perception illumination method and system for the density map, ridges and valleys in a density field are highlighted by calculating a normal field, and diffusion shadows for optimizing the illumination direction are applied, so that the contrast ratio of the structures is improved to the maximum extent, and the visual perception illumination effect of the density map is improved. The detailed structure of the high-density and medium-density area and the abnormal value of the low-density area are effectively revealed, and meanwhile color distortion in the color density map is avoided. According to the method, color distortion generated when the shadow image and the color density map are combined is further considered and minimized, and the accuracy of density value estimation can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of visual perception lighting, and in particular relates to a visual perception lighting method and system for density maps. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Scatter plots are one of the most effective techniques for visualizing discrete data points in two dimensions. However, for large and dense data, scatter plots can be overplotted, where the data points overlap and obscure the data distribution. To overcome this problem, some alternatives have been proposed: for example, instead of visualizing each point as a single marker, a 2D density map (also called density map and heat map) is used to color-code the aggregate density of data points, and smoothing is usually performed using kernel density estimation (KDE).

[0004] Density maps can effectively reveal overall patterns (e.g., trends and clusters), especially in high-density areas. However, they often ignore local patterns with lower density, such as outliers in low-density areas. They also sometimes hide important visual structures (hereafter referred to as “structures”), i.e., meaningful local density variations. This is due to the limited color resolution of existing displays and our visual systems: assigning indistinguishable colors to medium- and low-density regions hinders several important analytical tasks, such as identifying outliers. Related work on density map generation, enhancement, evaluation, and lighting models is further described below.

[0005] Currently, two methods are commonly used to generate density maps: opacity adjustment and density estimation. Assigning appropriate opacity to each data point can produce a semi-transparent visualization in which high-density areas can be displayed. Matejka et al. (J. Matejka, F. Anderson, and G. Fitzmaurice. Dynamic Opacity Optimization for Scatter Plots. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp. 2707–2710. ACM, 2015) proposed a user-driven model to set opacity values ​​based on data distribution and crowdsourcing experiment results. Specifically, the authors proposed an opacity scaling model for over-drawn scatter plots. The crowdsourcing experiment set up required users to manually set the opacity level of a set of controlled charts to collect users' perceptual preferences, and then extended it to real-world datasets. Micallef et al. (L. Micallef, G. Palmas, A. Oulasvirta, and T. Weinkauf. Towards Perceptual Optimization of the Visual Design of Scatterplots. IEEE Transactions on Visualization and Computer Graphics, 22(6): 1588–1599, 2017) proposed optimizing opacity based on given dimensions, marker size, and other visual attribute data and analysis tasks. However, transparency blending is limited to a few layers, and it is difficult to distinguish different densities in the resulting density map. In contrast, density estimation explicitly computes a smoothed density field, which is usually displayed as a color-coded map. Typically, density is computed via kernel density estimation (KDE), which is achieved by calculating the contribution of discrete data samples around each screen pixel.

[0006] Traditional continuous density plots cannot effectively describe local changes and outliers. In order to keep outliers, Mayorga and Gleicher (A. Mayorga and M. Gleicher. Splatterplots: Overcoming Overdraw in Scatter Plots. IEEE Transactions on Visualization and Computer Graphics, 19(9): 1526–1538, 2013) proposed Splatterplots (SPP) which explicitly displays sampled data points in sparse areas and uses closed smooth contours in dense areas. SPP is used to display clusters in multi-class scatter plots. They assign the same color to high-density areas surrounded by contours and sparse areas where similar discrete data points are located, hiding the changes in density and leading to ambiguity: the same color may correspond to different density values. On the other hand, Willems et al. (N. Willems, H. Van De Wetering, and JJ Van Wijk. Visualization of vessel movements. Computer Graphics Forum, 28(3): 959–966, 2009) used a realistic Phong illumination model to draw height maps, combined with two KDE density fields of different bandwidths, to reveal local structures on the color density map. However, such an illumination density map (IDP) cannot clearly show outliers, so the authors used a specific method to process trajectory data to highlight outliers, which is not suitable for general binary datasets. In addition, IDP distorts the original color of the density map, hindering users from finding and comparing density values ​​based on color mapping.

[0007] Trautner et al. (T. Trautner, F. Bolte, S. Stoppel, and S. Bruckner. Sunspot Plots: Model-based Structure Enhancement for Dense Scatter Plots. Computer Graphics Forum, 39(3): 551–563, 2020) introduced Sunspot Plots (SUP), which computes two density fields by performing KDE on the data with two different types of kernels. After rendering these density fields using different color maps, the two rendered density fields are adaptively combined together, and shading and shape cues are used to maintain the difference in relative density. However, the color blending of SUP may introduce colors that are outside the given color map, which hinders users from understanding the data pattern.

[0008] Sarikaya and Gleicher (A. Sarikaya and M. Gleicher. Scatterplots: Tasks, Data, and Designs. IEEE Transactions on Visualization and Computer Graphics, 24(1): 402–412, 2018) listed a set of tasks specific to scatter plots and discussed the effectiveness of scatter plots, contour plots, and SPP in supporting aggregation tasks. Recently, Trautner et al. compared five visual designs and two tasks (density estimation and comparison) in a user study of SUP and found that SUP performed similarly to continuous density maps based on KDE.

[0009] At the same time, various lighting models have been developed. Here, we will limit our discussion to non-realistic models that describe shape details and important structures rather than create realistic images. For example, Cignoni et al. (P. Cignoni, R. Scopigno, and M. Tarini. A simple normal enhancement technique for interactive non-photorealistic renderings. Computers & Graphics, 29 (1): 125–133, 2005) proposed sharpening the normal field for diffuse shading to increase the contrast in corners. Rusinkiewicz et al. (S. Rusinkiewicz, M. Burns, and D. DeCarlo. Exaggerated Shading for Depicting Shape and Detail. ACM Transactions on Graphics (TOG), 25 (3): 1199–1205, 2006) proposed a multi-scale shading model that conveys overall shape and fine-scale details by computing normal fields at different scales and changing the light source to maximize contrast. However, these existing models do not take into account the task requirements of density map visualization, which is to reveal the structure and outliers on the density map while maintaining the original appearance of the color density map that matches the color mapping.

[0010] In summary, the current technologies for processing density map lighting all have their own limitations, and there is no widely adopted standard solution. Summary of the invention

[0011] In order to solve the above problems, the present invention proposes a visualization perception lighting method and system for density maps. The present invention calculates a normal field to highlight the ridges and valleys in the density field, and applies diffuse shadows with optimized lighting directions to maximize the contrast of these structures, effectively revealing the detailed structures in high-density and medium-density areas and the outliers in low-density areas, while avoiding color distortion in color density maps. The present invention further considers minimizing the color distortion caused by the combination of shadow images and color density maps, which can ensure the accuracy of density value estimation.

[0012] According to some embodiments, the present invention adopts the following technical solutions:

[0013] A visualization-aware lighting method for a density map comprises the following steps:

[0014] Get the density map;

[0015] Based on the density map, images at different scales are generated using Gaussian smoothing, and the structure map is determined based on the density difference;

[0016] Render the content in the structure map using diffuse shadows and configure the lighting to provide an overall contrast greater than a set value to obtain a shadow intensity field;

[0017] The shadow intensity field is integrated into the brightness channel of the color density map to obtain the final enhanced density map.

[0018] As an optional implementation, the specific process of determining the structure map based on density difference using images at different scales generated by Gaussian smoothing includes:

[0019] The images of different scales produced by Gaussian smoothing are analyzed by measuring the density difference of Gaussian estimates with different kernel sizes, namely the Gaussian difference function; its surface normal is derived from the gradient.

[0020] As an optional embodiment, the process of rendering the content in the structure map using diffuse shading includes using a Lambert shading model to generate visual cues that can perceive structural details;

[0021] Multiply the values ​​in the structure diagram by the specified factor η to exaggerate the height;

[0022] Interactively emphasize the details of the region of interest by brushing and adjusting the factor η.

[0023] As a further implementation, the specific process of multiplying the value in the structure diagram by a specified factor η to highly exaggerate includes:

[0024]

[0025] Among them, FDoG For the structure diagram, are the partial derivatives along the x and y directions, N ex is the highly exaggerated surface normal field, and η is a factor.

[0026] As an optional implementation, the specific process of configuring the lighting to provide an overall contrast greater than a set value includes: calculating the normal vector N DoG The mean and spatial variation of , to obtain the statistical information of the structure in the value of the structure graph;

[0027] Filter out the normal vectors in the empty areas of the scatter plot;

[0028] Perform principal component analysis on the x- and y-dimensions of the filtered normal vector N′ to obtain the principal vectors {v1, v2} and the corresponding variances {λ1, λ2};

[0029] Select a light direction with a negative y component coming from the top and set the pitch angle to a predetermined value.

[0030] As a further implementation, the illumination direction selected from the top with a negative y component is defined by the following formula:

[0031]

[0032] Among them, Combine() generates a three-dimensional unit vector, N′ mean is the mean of the filtered normal vector N′, and v1 is the direction of the principal vector corresponding to the maximum variance λ1.

[0033] As an optional implementation, the specific process of integrating the shadow intensity field into the brightness channel of the color density map includes:

[0034] Scale the intensity field to fit the brightness range in the target color space;

[0035] Add the scaled intensity field to the brightness channel of the density map.

[0036] As a further step, the intensity field is scaled using a linear mapping where:

[0037]

[0038] I min is the global minimum value in the intensity field I, I empty is the intensity of the empty area in the scatter plot, that is, [0, 0, 1]·L auto , φ is the brightness adjustment parameter, which controls the corresponding brightness change to I min 's mapping.

[0039] As a further step, the specific process of adding the scaled intensity field to the brightness channel of the density map includes:

[0040] LAB=RGBtoLAB(Colormap(F large ))

[0041] LAB.L=clamp(LAB.L+I′,0,100)

[0042] PLABtoRGB(LAB)

[0043] RGBtoLAB() and LABtoRGB() are conversions between RGB and CIELAB color spaces. The clamp function is used to ensure that any invalid values ​​outside the brightness range [0,100] are adjusted to values ​​suitable for the target color space. P is the final enhanced density map.

[0044] A visualization-aware lighting system for density maps, comprising:

[0045] An acquisition module is used to obtain a density map;

[0046] A Gaussian smoothing processing module is used to generate images at different scales based on the density map by using Gaussian smoothing, and to determine the structure map based on the density difference;

[0047] A shadow intensity field construction module is used to render the content in the structure map using diffuse shadows and configure the lighting to provide an overall contrast greater than a set value to obtain a shadow intensity field;

[0048] The shadow intensity field integration module is used to integrate the shadow intensity field into the brightness channel of the color density map to obtain the final enhanced density map.

[0049] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the steps in the above method are completed.

[0050] An electronic device comprises a memory and a processor, and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the steps in the above method are completed.

[0051] Compared with the prior art, the present invention has the following beneficial effects:

[0052] 1. This paper proposes a visualization-aware lighting model to support analysis tasks specific to density maps, and applies a data-driven approach to automatically set lighting to capture salient structures in density maps.

[0053] 2. The present invention proposes a new image synthesis technology, which can reduce the interference between the shadow image and the density value of the color code, and reduce the color distortion;

[0054] 3. The present invention can effectively reveal the detailed structure of high- and medium-density regions and outliers in low-density regions, while avoiding color distortion in color density maps and supporting the visualization of large-scale data sets.

[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0057] Figure 1 is a flow chart of this embodiment;

[0058] Figure 2 is a flow chart of running the method of this embodiment on an example data set;

[0059] Figure 3 is the normal vector N of the comparison density field large and N small and the normal vector N of the structure graph DoG The effect of revealing local features corresponds to Figure 2 (a)-(c) in which the x and y components of the normal vector are visualized using a bivariate color map;

[0060] Figure 4 is to compare different exaggeration factors (a, c) η = 1 and (b, d) η = 5 for N ex The impact of

[0061] Figure 5 It is a comparison between two inappropriate lighting directions and two automatic lighting directions;

[0062] Figure 6 The conventional image synthesis under light and dark backgrounds is compared with the image synthesis method limited to brightness in this embodiment. DETAILED DESCRIPTION

[0063] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0064] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0065] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0066] In the absence of conflict, the embodiments in this application and the features in the embodiments may be combined with each other.

[0067] Embodiment 1

[0068] A visualization-aware lighting method for density maps, such as Figure 1 As shown, the specific steps are as follows:

[0069] (1) Create a shadow intensity field to capture prominent structures in the density map;

[0070] (2) Develop an image synthesis method that integrates the shadow intensity field into the brightness channel of the color density map.

[0071] In this embodiment, in step (1), creating a shadow intensity field to capture the prominent structure in the density map mainly includes the following steps: Figure 2 (a)-(d) are schematic diagrams of the process:

[0072] (1-1) First, we analyze the images at different scales generated by Gaussian smoothing, such as Figure 2 (a) and Figure 2 As shown in (b), by measuring the density difference of Gaussian estimates of different kernel sizes, and then deriving the structure graph F based on their differences DoG to capture important structures such as Figure 2 as shown in (c);

[0073] (1-2) Using highly exaggerated diffuse shadows to render the content in the structure map allows emphasizing local details in the area of ​​interest;

[0074] (1-3) A data-driven approach is used to automatically set the lighting to provide the maximum overall contrast. Combined with step (1-2), the intensity field I can be obtained, such as Figure 2 as shown in (d).

[0075] Among them, in step (1-1), constructing a structure diagram to capture important structures mainly includes the following steps:

[0076] (1-1-1) The images of different scales generated by Gaussian smoothing are analyzed by measuring the density difference of Gaussian estimates with different kernel sizes, namely the Gaussian difference function (DoG);

[0077] (1-1-2) Derive its surface normal from the gradient, Figure 3 They are shown separately Figure 2 (a) Figure 2 (b) Figure 2 The x and y components corresponding to the normal vector in (c).

[0078] The Difference of Gaussian function (DoG) in step (1-1-1) is defined by the following formula:

[0079]

[0080] Among them, KDE h () is the Gaussian kernel function, h large and h small They are bandwidths of large and small scales, which together determine the scale of the extracted structure.

[0081] The surface normal derived from the gradient in step (1-1-2) is defined by the following formula:

[0082]

[0083] Among them, F DoG For the structure diagram, are the partial derivatives along the x and y directions, N DoG is the surface normal field of the structure graph. And the density field F large or F small In comparison, the structure diagram F DoG The local structure can be better enhanced because the local relative high-density and low-density structures will be captured by the difference between density fields at different scales, rather than being affected by the absolute density, e.g. Figure 3 The blue and green boxes show

[0084] In step (1-2), using highly exaggerated diffuse shadows to render the content in the structure diagram mainly includes the following steps:

[0085] (1-2-1) The Lambert shadow model is used to generate visual clues that can perceive structural details. Usually, this model assumes that there is an ideal surface that reflects light uniformly in all directions on the upper hemisphere of the surface, and the reflection intensity I obeys the Lambert cosine theorem;

[0086] (1-2-2) Although Figure 5 The structure diagram N shown in (c) DoGApplying diffuse shading to the normals can reveal detailed structures in high and medium density areas, but visibility of low-density outliers is still a problem because the slope caused by outliers is often too small. For example, it is difficult to perceive Figure 3 In order to solve this problem, the value (F DoG ) is multiplied by a user-specified factor η for height exaggeration. Figure 4 shows the relationship between η and N ex An example of the effect of different components. By increasing η from 1 to 5, the z component of the unit normal vector is scaled down, while the x and y components are scaled up accordingly, so Figure 4 (b) A green dot appears in the red box, and Figure 4 (d) The outliers in the red box also become obvious;

[0087] (1-2-3) Provide users with an interactive system to interactively emphasize the details of the area of ​​interest through brushing operations and adjusting η.

[0088] Specifically, in this embodiment, the Lambert shadow model in step (1-2-1) is defined by the following formula:

[0089] I=N·L=|N||L|cosθ=cosθ

[0090] Wherein, N is the unit normal vector of the surface, L is the light direction vector pointing from the surface to the light source, and θ is the angle between N and L.

[0091] In step (1-2-2), the value (F DoG ) multiplied by a user-specified factor η for height exaggeration is defined by the following formula:

[0092]

[0093] Among them, F DoG For the structure diagram, are the partial derivatives along the x and y directions, N ex is the highly exaggerated surface normal field, and η is a factor.

[0094] In steps (1-3), a data-driven approach is used to automatically set the lighting to provide the maximum overall contrast, which mainly includes the following steps:

[0095] (1-3-1) Calculate the normal vector N DoG The mean and spatial variation of F DoG Statistics of the structure in the

[0096] (1-3-2) Filter out the normal vectors in the empty areas of the scatter plot (normal vectors [0,0,1]) because they do not contain valuable structures;

[0097] (1-3-3) Perform principal component analysis (PCA) on the x- and y-dimensions of the filtered normal vector N′ to obtain the principal vectors {v1, v2} and the corresponding variances {λ1, λ2};

[0098] (1-3-4) Select a lighting direction with a negative y component from the top and set the pitch angle to 60°. Figure 5 (c) shows the shadow generated by our automatic lighting setting algorithm (azimuth = 41.44°), where the lighting direction maximizes the overall contrast and clearly shows the ridges and valleys within the blue and green boxes. Figure 5 (d) also shows the structure, but the lighting from below does not allow the user to make the most accurate estimate of the structure.

[0099] In this embodiment, the automatic light direction in step (1-3-4) is defined by the following formula:

[0100]

[0101] Among them, Combine() generates a three-dimensional unit vector, N′ mean is the mean of the filtered normal vector N′, and v1 is the direction of the principal vector corresponding to the maximum variance λ1.

[0102] In this embodiment, in step (2), developing an image synthesis method to integrate the shadow intensity field into the brightness channel of the color density map mainly includes the following steps:

[0103] (2-1) Figure 6 (a) shows the image processed by traditional image synthesis method Figure 2 (d) and Figure 2 (a) Results. Although the structures and outliers in the blue and red boxes are clearly shown, the original colors of the green box and background are significantly changed. In addition, this synthesis method is not suitable for dark backgrounds because it always darkens the colors, such as Figure 6 To solve this problem, we first need to scale the intensity field to fit the brightness range in the CIELAB color space and keep the color of the empty area in the scatter plot unchanged;

[0104] (2-2) Add the scaled intensity field to the brightness channel of the density map. Figure 6As shown in (b) and (d), the brightness-only image synthesis method of this embodiment maintains the appearance of the original color by maintaining the hue and saturation, and works in different backgrounds by flexibly changing φ: negative values ​​are used to darken the structure in a light background, while positive values ​​are used to brighten the structure in a dark background.

[0105] In step (2-1), scaling can be performed using a linear mapping, defined by the following formula:

[0106]

[0107] Among them I min is the global minimum value in the intensity field I, I em p ty is the intensity of the empty area in the scatter plot, that is, [0, 0, 1]·L auto , φ is the brightness adjustment parameter, which controls the corresponding brightness change to I min 's mapping.

[0108] In step (2-2), adding the scaled intensity field to the brightness channel of the density map mainly includes the following formula:

[0109] LAB=RGBtoLAB(Colormap(F large ))

[0110] LAB.L=clamp(LAB.L+I′,0,100)

[0111] P=LABtoRGB(LAB)

[0112] Among them, RGBtoLAB() and LABtoRGB() are conversions between RGB and CIELAB color spaces. The clamp function ensures that any invalid values ​​outside the brightness range [0, 100] are adjusted to values ​​suitable for the CIELAB color space. P is the final enhanced density map, such as Figure 2 As shown in (e).

[0113] Embodiment 2

[0114] A visualization-aware lighting system for density maps, comprising:

[0115] An acquisition module is used to obtain a density map;

[0116] A Gaussian smoothing processing module is used to generate images at different scales based on the density map by using Gaussian smoothing, and to determine the structure map based on the density difference;

[0117] A shadow intensity field construction module is used to render the content in the structure map using diffuse shadows and configure the lighting to provide an overall contrast greater than a set value to obtain a shadow intensity field;

[0118] The shadow intensity field integration module is used to integrate the shadow intensity field into the brightness channel of the color density map to obtain the final enhanced density map.

[0119] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0123] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principle of the present invention without creative labor shall be included in the protection scope of the present invention.

Claims

1. A visualization-aware lighting method for density maps, Its characteristics are: The following steps are involved: Get the density map; Based on the density map, images at different scales are generated using Gaussian smoothing, and the structure map is determined based on the density difference; Render the content in the structure map using diffuse shadows and configure the lighting to provide an overall contrast greater than a set value to obtain a shadow intensity field; The shadow intensity field is integrated into the brightness channel of the color density map to obtain the final enhanced density map.

2. A method for visualizing and perceiving a density map according to claim 1, Its characteristics are: The specific process of determining the structure map based on the density difference using images at different scales generated by Gaussian smoothing includes: The images of different scales produced by Gaussian smoothing are analyzed by measuring the density difference of Gaussian estimates with different kernel sizes, namely the Gaussian difference function; its surface normal is derived from the gradient.

3. A method for visualizing and perceiving a density map according to claim 1, Its characteristics are: The process of rendering content in a structure map using diffuse shading includes using a Lambert shading model to produce visual cues that can perceive structural details; Multiply the values ​​in the structure diagram by the specified factor η to exaggerate the height; Interactively emphasize the details of the region of interest by brushing and adjusting the factor η.

4. A method for visualizing and perceiving a density map according to claim 3, Its characteristics are: The specific process of multiplying the values ​​in the structure diagram by the specified factor η to make a high exaggeration includes: Among them, F DoG For the structure diagram, are the partial derivatives along the x and y directions, N ex is the highly exaggerated surface normal field, and η is a factor.

5. The method for visualizing and perceiving a density map according to claim 1, Its characteristics are: The specific process of configuring lighting to provide an overall contrast greater than the set value includes: calculating the normal vector N DoG The mean and spatial variation of , to obtain the statistical information of the structure in the value of the structure graph; Filter out the normal vectors in the empty areas of the scatter plot; For the filtered normal vector N ′ The x- and y-dimensions of the computer are subjected to principal component analysis to obtain the principal vector {v 1 ,2} and the corresponding variance {λ 1 ,2}; Select a light direction with a negative y component coming from the top and set the pitch angle to a predetermined value.

6. A method for visualizing and perceiving a density map according to claim 5, Its characteristics are: The light direction selected to be emitted from the top and having a negative y component is defined by the following formula: Among them, Combine() generates a three-dimensional unit vector, N ′ mean is the filtered normal vector N ′ The mean value, v 1 is the maximum variance λ 1 The corresponding principal vector direction.

7. A visual perception lighting method for density map according to claim 1, Its characteristics are: The specific process of integrating the shadow intensity field into the brightness channel of the color density map includes: Scale the intensity field to fit the brightness range in the target color space; Add the scaled intensity field to the brightness channel of the density map.

8. A visual perception lighting method for density map according to claim 7, Its characteristics are: Scale the intensity field using a linear mapping where: I min is the global minimum value in the intensity field I, I empty is the intensity of the empty area in the scatter plot, that is, [0,0,1]·L auto , φ is the brightness adjustment parameter, which controls the corresponding brightness change to I min 's mapping.

9. A method for visualizing and perceiving a density map according to claim 7, Its characteristics are: The specific process of adding the scaled intensity field to the brightness channel of the density map is: LAB=RGBtoLAB(Colormap(F large )) LAB.L=clamp(LAB.L+I ′ ,0,100) P=LABtoRGB(LAB) RGBtoLAB() and LABtoRGB() are conversions between RGB and CIELAB color spaces. The clamp function is used to ensure that any invalid values ​​outside the brightness range [0,100] are adjusted to values ​​suitable for the target color space. P is the final enhanced density map.

10. A visualization-aware lighting system for density maps. Its characteristics are: include: An acquisition module is used to obtain a density map; A Gaussian smoothing processing module is used to generate images at different scales based on the density map by using Gaussian smoothing, and to determine the structure map based on the density difference; A shadow intensity field construction module is used to render the content in the structure map using diffuse shadows and configure the lighting to provide an overall contrast greater than a set value to obtain a shadow intensity field; The shadow intensity field integration module is used to integrate the shadow intensity field into the brightness channel of the color density map to obtain the final enhanced density map.

Citation Information

Patent Citations

  • Improved HSI space information low-illumination color image enhancement algorithm

    CN106504212A

  • Visualization method for supersonic two-dimensional flow field data

    CN107871337A

  • Crowd density estimation method and system

    CN111626184A