Heatmap Rendering with Clustered Pixels for Clear Overlap Transitions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing heatmap generation methods result in poor display effects due to light colors and unclear color transitions at intersections, especially when circles are close to each other, and issues with scale changes affecting coverage and accuracy.
Innovation Solution
A method involving clustering pixel points into categories based on coordinate conversion and clustering factors, generating category attribute information, and using category-specific color and rendering range information to create heatmaps with improved color transitions and scalability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If transparent circles with linear gradient are used for heatmap rendering, then the rendering process is simple, but the display effect becomes poor with light colors and unclear color transitions
Solution Approach 1:
The patent changes the transparency calculation from a simple linear gradient to a formula-based non-linear calculation: transparency = 1 - (distance / max_distance) ^ power. By adjusting the power parameter, the color transition characteristics can be controlled to achieve better visual effects while maintaining clear color transitions at intersection points
Solution Approach 2:
The patent applies different transparency powers to different regions: when circles intersect, the transparency calculation creates stronger color changes at intersection points compared to non-intersecting areas. This local differentiation ensures that overlapping regions are clearly distinguishable while maintaining overall visual quality
2Ease of manufacture
If fixed color matching scheme is used, then the implementation is straightforward, but color change at intersection of close circles is not obvious and overall display effect is blurred
Solution Approach 1:
The patent introduces a power parameter in the transparency calculation formula that can be adjusted to control color transition intensity. When circles intersect, this parameter enhancement creates more obvious color changes at intersection points, preventing information loss and improving visual distinction between overlapping regions
Solution Approach 2:
The patent makes the color matching dynamic by calculating transparency based on distance and power parameters rather than using a fixed scheme. This allows the color transition intensity to adapt automatically based on the spatial relationship between circles, ensuring clear differentiation at intersections while maintaining implementation flexibility
3Ease of manufacture
If default pixel radius is used for circles, then the setup is simple, but scale changes affect coverage and accuracy of the heatmap
Solution Approach 1:
The patent makes the circle radius dynamic by calculating it based on the maximum value among all points and a configurable radius parameter: radius = max_value * radius_parameter. This dynamic scaling ensures that when the data range or display scale changes, the circle sizes automatically adjust to maintain appropriate coverage and accuracy without requiring manual reconfiguration
Solution Approach 2:
The patent introduces a radius parameter that scales with the data values. This parameter change mechanism allows the circle size to adapt proportionally to the data range, maintaining consistent visual representation and measurement precision across different scales and configurations
Data Source
AI summary
The present disclosure provides a heatmap generation method, a heatmap generation apparatus, a computer device and a storage medium, belongs to the field of heatmap generation technology, and the heatmap generation method includes: acquiring an actual coordinate in a scene coordinate system and a pre-stored base heatmap; converting the actual coordinate into a pixel coordinate to obtain a target pixel point; clustering the target pixel point to obtain a target cluster, and generating category attribute information of the target cluster; and generating a rendering image of the target pixel point on the base heatmap according to parameter information configured for respective categories in advance and the category attribute information of the target cluster to obtain the heatmap.


