Patent ID: 11790484

Abstract:
A two-dimensional scalar field data visualization method and system based on colormap optimization including: receiving initial colormap and two-dimensional scalar field input data; calculating key colors in the initial colormap, and setting the key colors as control points; calculating a linear interpolation between pairwise control points using a piecewise linear function, generating and mapping a colormap to the two-dimensional scalar field data; establishing an energy optimization equation for control point coordinate positions and the mapped two-dimensional scalar field data, where the coordinate positions are numerical values between 0 and 1 obtained by normalizing index values in the colormap corresponding to the control points; and solving the energy optimization equation to obtain a control point coordinate position, generating a new colormap using the piecewise linear function and optimized control point coordinate position, and mapping the new colormap to the two-dimensional scalar field data, to obtain a final visualization result.