A method for electromagnetic environment spectrum visualization based on colorimetry
By converting the frequency information of the electromagnetic spectrum into hue and the signal power into luminance, the electromagnetic environment spectrum is visualized using colorimetry, solving the problem of lack of frequency domain information and improving the visibility and understanding efficiency of the electromagnetic situation.
Patent Information
- Application Number
- CN202310370040.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-04-07
AI Technical Summary
Existing electromagnetic situation visualization methods lack frequency domain information display and cannot effectively visualize the frequency and signal power of the electromagnetic spectrum, making it difficult for commanders to understand the electromagnetic environment situation.
The frequency information of the electromagnetic spectrum is converted into hue, and the signal power is converted into luminance. The electromagnetic environment spectrum is visualized using colorimetry. The frequency information and signal power are converted into RGB values through mapping relationships, realizing an intuitive display of the frequency domain and energy domain.
It enables the visualization of frequency information and signal power in the electromagnetic environment spectrum, reduces the amount of spectrum data, improves spectrum visibility, and helps commanders quickly understand the electromagnetic environment situation.
Smart Images

Figure CN116338307B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of electromagnetic environment situation visualization, and mainly relates to an electromagnetic environment spectrum visualization method based on colorimetry. BACKGROUND
[0002] The electromagnetic situation is a characteristic quantity for objectively, accurately, intuitively and vividly representing the current state and future trend of the electromagnetic environment in time domain, frequency domain, space domain and energy domain, and is an important basis for spectrum management. How to systematically and intuitively describe the electromagnetic spectrum has always been a difficult problem of electromagnetic spectrum monitoring, and is also a bottleneck for commanders to correctly grasp the electromagnetic situation and accurately command. The development of visualization technology as the most intuitive and easy-to-understand form will bring a fundamental change in the thinking and cognitive modes of commanders.
[0003] Most of the currently used electromagnetic situation visualization methods only cover time domain, space domain and energy domain. The energy domain is visually mapped and converted into RGB values recognizable by the human eye, and is displayed in three-dimensional space with time changes. However, this situation visualization method lacks frequency domain information and cannot display or visualize the frequency domain. With the increase in the number of frequency devices, the frequencies of signals emitted by different devices are different, and the demand for electromagnetic situation display of frequency domain information is greatly improved.
[0004] The methods of frequency domain visualization mainly include spectrum diagram, waterfall diagram and three-dimensional space spectrum display. Although these methods directly display the electromagnetic spectrum, the data volume is large, the spectrum is simply presented, the visibility is weak, and it is not conducive for commanders to quickly understand the electromagnetic environment situation. Therefore, an effective electromagnetic environment spectrum visualization method is provided to visually convert the frequency information and signal power of the electromagnetic environment spectrum, and solve the problems that the current electromagnetic situation visualization method lacks frequency domain information, cannot display the frequency domain, and cannot be visualized. SUMMARY
[0005] In view of the above problems, the present application provides an electromagnetic environment spectrum visualization method based on colorimetry, which converts the frequency information of the electromagnetic spectrum into hue and the signal power into brightness, solving the problems that the current electromagnetic situation visualization method lacks frequency domain information, cannot display the frequency domain, and cannot be visualized.
[0006] In order to achieve the above purpose, the present application provides the following technical scheme: an electromagnetic environment spectrum visualization method based on colorimetry, comprising the following steps:
[0007] S1, obtaining the original xyz tristimulus values of the visible light spectrum and the frequency information of the electromagnetic environment spectrum to be measured;
[0008] S2, converting the frequency information of step S1 into spectrum XYZ tristimulus values
[0009] S3, establishing pre-processing values R'G'B' of spectrum XYZ tristimulus values;
[0010] S4, obtaining intermediate values R''G''B'' by data analysis on the pre-processing values of step S3;
[0011] S5, establishing a corresponding relationship between signal power of electromagnetic environment spectrum and color brightness, and obtaining color brightness of the electromagnetic environment spectrum to be measured based on the corresponding relationship between signal power and color brightness;
[0012] S6, amplifying the intermediate values obtained in step S4 by a preset ratio to obtain RGB values for final display of the electromagnetic environment spectrum to be measured.
[0013] Preferably, the wavelength of the visible light spectrum in step S1 covers 380-780 nm.
[0014] Preferably, the specific steps for obtaining the spectrum XYZ tristimulus values in step S2 include:
[0015] mapping the original xyz tristimulus values in step S1 to the frequency information to obtain the spectrum XYZ tristimulus values;
[0016] Further, the mapping relationship is one-way mapping.
[0017] Preferably, the specific steps for obtaining the pre-processing values in step S3 are:
[0018] obtaining spectrum parameters of the electromagnetic environment, characterized by the spectrum XYZ tristimulus values in step S2, to obtain a conversion relationship between the spectrum XYZ tristimulus values and the pre-processing values,
[0019] The conversion relationship formula is:
[0020]
[0021] Wherein, R', G', B' are the pre-processing values in step S3.
[0022] Preferably, the spectrum parameters of the electromagnetic environment include frequency information and power information of the electromagnetic environment spectrum.
[0023] Each spectrum XYZ tristimulus value of the technical scheme of the application has a corresponding pre-processing value, but not necessarily each pre-processing value has XYZ mapping. The visual spectrum corresponding to the visible light spectrum tristimulus value method is composed of monochromatic light, and the range covered by the line segment drawn between any two points on the CIE1931 RGB chromaticity diagram curve is the size of the "all colors visible to the human eye", which is the limit of the resolution ability of the human eye.
[0024] Preferably, the data analysis in step S4 is normalization of the pre-processing value to obtain the intermediate value.
[0025] Further, the specific steps include: obtaining a pre-processing value, the pre-processing value being R'G'B', selecting the maximum value in the R'G'B' for normalization to obtain the intermediate value R" G" B", the R", G" and B" being values of 0-1, the R", G" and B" values representing color hue, and color brightness being 0-1, so that the color hue represents the frequency information of the spectrum.
[0026] Preferably, the corresponding relationship in step S5 is a mapping relationship.
[0027] Further, the mapping relationship is a one-way mapping.
[0028] Preferably, the corresponding specific steps in step S5 include:
[0029] S51, obtaining a signal power data set of the electromagnetic environment spectrum;
[0030] S52, obtaining a color brightness set by corresponding the signal power in the signal power data set to the color brightness; and establishing a corresponding relationship between the signal power and the color brightness of the electromagnetic environment spectrum based on the signal power data set and the color brightness set;
[0031] S53, obtaining the signal power of the to-be-measured electromagnetic environment spectrum in step S1, and corresponding the signal power to the corresponding relationship between the signal power and the color brightness obtained in step S52 to obtain the color brightness of the to-be-measured electromagnetic environment spectrum.
[0032] Preferably, in step S6, the preset proportion is the color brightness proportion obtained in step S5.
[0033] Preferably, in step S6, the proportion is a brightness proportion, and the brightness corresponds to the signal power of the to-be-measured electromagnetic environment spectrum.
[0034] Further, in step S6, the preset proportion is an equal proportion.
[0035] Further, in step S6, the calculation formula of the preset proportion amplification is:
[0036] L=P, R=L*R", G=L*G", B=L*B"
[0037] Wherein, P is the signal power value of the spectrum, and L is the brightness of the color.
[0038] The present application enlarges the intermediate value R'G'B' value in proportion to brightness, maps the brightness of the color to the power of the electromagnetic environment spectrum signal to be measured, and obtains the final displayed RGB value. The brightness of the color has a uniform standard value: 0-255, at this time, the brightness L of the color is linearly corresponding to the signal power P of the spectrum, when the signal power P = 1-255, the brightness of the color is L, that is, L = P; when P > 255, the RGB value is (255, 255, 255) respectively, which presents bright white color and is considered to be beyond the definition; when P = 0, no color is displayed.
[0039] The present application processes the obtained R'G'B' value data, so that when the brightness is used to represent the signal power to be measured, the problem that the color brightness corresponding to the spectrum composed of different frequency signals in the same electromagnetic environment spectrum is inconsistent is solved, thereby the spectrum can be more easily and accurately intuitively perceived.
[0040] The present application corresponds the electromagnetic environment spectrum information to the color in colorimetry, wherein the color in colorimetry corresponds to the signal frequency to be measured, the brightness corresponds to the signal power to be measured, the spectrum of a single frequency signal is represented as a pure color, in the inside of the horseshoe-shaped edge in the color quality diagram, the spectrum of a multi-frequency signal is represented as a mixed color, in the inside of the horseshoe-shaped edge in the color quality diagram, the distribution of the frequency domain and the energy domain of the electromagnetic spectrum can be intuitively displayed, which is beneficial to the presentation of the electromagnetic environment situation, such as Figure 6 .
[0041] Compared with the prior art, the present application has at least the following beneficial effects:
[0042] (1) The present application exhibits the frequency information in the electromagnetic environment spectrum in a visualized method, and at the same time, the signal power of the spectrum is reserved by using the brightness, so that the signal power of the spectrum is not lost;
[0043] (2) The present application uses a pure color to represent the spectrum of a single frequency signal and uses a mixed color to represent the spectrum of a mixed signal according to the frequency information of the electromagnetic environment spectrum, so that the composition of the spectrum can be found from the vision;
[0044] (3) The present application reduces the data amount of the spectrum in the visualized process, converts the entire full-band spectrum into three RGB values which can represent the spectrum characteristics, and greatly reduces the spectrum data amount.
[0045] (4) The present application non-linearly maps the frequency information of the electromagnetic environment spectrum to the visible light spectrum XYZ stimulus value, the ratio distribution of which strictly conforms to the feeling of the human eye to the color, and then converts the spectrum RGB value and normalizes it; the signal power of the electromagnetic spectrum is converted into the brightness of the spectrum RGB, and the normalized spectrum RGB value is enlarged in proportion to obtain the final displayed RGB value. BRIEF DESCRIPTION OF DRAWINGS
[0046] The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application.
[0047] Figure 1 is a basic flow diagram of the electromagnetic environment spectrum visualization method based on colorimetry of the present application;
[0048] Figure 2 is a schematic diagram of the visible light xyz tristimulus value of the present application;
[0049] Figure 3 is a schematic diagram of the spectrum XYZ tristimulus value of the present application;
[0050] Figure 4 is a schematic diagram of the electromagnetic spectrum pure color chromaticity diagram of the present application;
[0051] Figure 5 is a schematic diagram of the RE102 test 1-10G test spectrum of the present application;
[0052] Figure 6 is a schematic diagram of the RE102 test spectrum of the present application Figure 5 processed to obtain visualized color. DETAILED DESCRIPTION
[0053] In order to enable a clearer understanding of the above-mentioned purposes, features and advantages of the present application, the present application will be further described in detail below in conjunction with the drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict. In addition, the present application can also be implemented in other ways different from those described herein, therefore, the protection scope of the present application is not limited by the specific embodiments disclosed below.
[0054] In order to illustrate the effectiveness of the method proposed in the present application, the above technical solutions of the present application will be described in detail below through a specific embodiment, such as Figure 1 , the specific implementation steps are as follows:
[0055] Embodiment 1
[0056] S1, obtain the original xyz tristimulus value of the visible light spectrum and the frequency information of the electromagnetic environment spectrum to be tested;
[0057] Preferably, as shown in Figure 1 is the xyz tristimulus value of the visible light spectrum, whose wavelength covers 380-780nm, which is linearly corresponding to the electromagnetic spectrum 0-6G frequency range, so as to construct Figure 2 the xyz tristimulus value of the electromagnetic spectrum.
[0058] Preferably, the frequency range of the electromagnetic spectrum is set to 0-10G.
[0059] S2, converting the frequency information in step S1 into spectral XYZ tristimulus values;
[0060] Preferably, the specific steps for obtaining the spectral XYZ tristimulus values in step S2 include:
[0061] mapping the original xyz tristimulus values in step S1 to the frequency information to obtain the spectral XYZ tristimulus values;
[0062] Further, the mapping relationship is a one-way mapping.
[0063] Preferably, the specific steps for obtaining the pre-processing values R'G'B' in step S3 include:
[0064] obtaining the spectral parameters of the electromagnetic environment, characterized by the spectral XYZ tristimulus values in step S2, to obtain the conversion relationship between the spectral XYZ tristimulus values and the pre-processing values:
[0065] Further, the conversion relationship formula is:
[0066]
[0067] wherein R', G' and B' are pre-processing values.
[0068] Optionally, the spectral parameters of the electromagnetic environment are frequency information of the electromagnetic environment spectrum and power information of the electromagnetic environment spectrum.
[0069] S4, performing data analysis on the pre-processing values in step S3 to obtain intermediate values R" G" B";
[0070] Preferably, the data analysis in step S4 is to normalize the pre-processing values to obtain the intermediate values.
[0071] Further, the specific steps include: obtaining the pre-processing values R'G'B', selecting the maximum value among R', G' and B' for normalization processing to obtain the intermediate values R" G" B", wherein R", G" and B" are values between 0 and 1, the values of R", G" and B" represent color hue, and the color brightness is between 0 and 1, realizing that the color hue represents the frequency information of the spectrum.
[0072] S5, establishing a corresponding relationship between the signal power of the electromagnetic environment spectrum and the color brightness, and obtaining the color brightness of the to-be-measured electromagnetic environment spectrum based on the corresponding relationship between the signal power and the color brightness;
[0073] Preferably, the corresponding relationship in step S5 is a mapping relationship.
[0074] Further, the mapping relationship is a one-way mapping.
[0075] Preferably, the corresponding specific steps in step S5 include:
[0076] S51, obtaining a signal power data set of the electromagnetic environment spectrum;
[0077] S52, obtaining a color brightness set by corresponding the signal power in the signal power data set with the color brightness; and establishing a corresponding relationship between the signal power and the color brightness of the electromagnetic environment spectrum based on the signal power data set and the color brightness set;
[0078] S53, obtaining the signal power of the to-be-measured electromagnetic environment spectrum in step S1, and corresponding to the corresponding relationship between the signal power and the color brightness obtained in step S52 to obtain the color brightness of the to-be-measured electromagnetic environment spectrum.
[0079] Preferably, in step S6, the preset ratio is the color brightness ratio obtained in step S5.
[0080] Preferably, in step S6, the ratio is a brightness ratio, and the brightness corresponds to the signal power of the electromagnetic environment spectrum.
[0081] Further, in step S6, the preset ratio is an equal ratio.
[0082] Further, in step S6, the preset ratio amplification calculation formula is:
[0083] L=P, R=L*R'', G=L*G'', B=L*B''
[0084] Wherein, P is the signal power value of the spectrum, and L is the brightness of the color.
[0085] The power of the electromagnetic environment spectrum of the application is P=1-255. When the signal power value of the spectrum is P, the brightness of the corresponding color is L, that is, L=P; when P>255, the RGB values are (255, 255, 255) respectively, which presents bright white color and is considered as exceeding the definition; when P=0, no color is displayed.
[0086] The application corresponds the to-be-measured electromagnetic environment spectrum information to the color in colorimetry, wherein the to-be-measured signal frequency represents the color in colorimetry, the to-be-measured signal power represents the brightness, the spectrum of the to-be-measured single-frequency signal represents a pure color, and the spectrum of the to-be-measured multi-frequency signal represents a mixed color, so that the distribution of the electromagnetic spectrum frequency domain and energy domain can be directly displayed, and the electromagnetic environment situation can be presented.
[0087] Preferably, the color corresponding to the spectrum of the single-frequency signal is a pure color, which is located at the edge of the hoof-shaped edge in the chromaticity diagram; the color corresponding to the spectrum of the multi-frequency mixed signal is a mixed color, which is located inside the hoof-shaped edge in the chromaticity diagram, and covers the range of the line segment drawn by any two points on the CIE1931RGB chromaticity diagram curve, such as Figure 6.
[0088] Embodiment 2
[0089] The electromagnetic environment spectrum single frequency of 10W, 0-6G; 20W, 0-6G is visually converted, and the conversion result is as shown in Figure 4 The left side is the R, G, B value of the 10W electromagnetic environment spectrum after visual conversion, and the right side is the R1, G1, B1 value of the 20W electromagnetic environment spectrum after visual conversion. The R, G, B value is converted by chroma conversion. Taking the brightness value 1 as an example, the spectrum of R before visual conversion is 3-3.6G, the spectrum of G is 2.1-2.7G, and the spectrum of B value is 0.6-1.2G. The spectrum of R1 after visual conversion is 2.7-3.9G, the spectrum of G1 is 1.8-3G, and the spectrum of B1 value is 0.6-1.5G. It can be seen that the brightness of the color corresponding to the spectrum gradually increases, and the color of the 0-6G spectrum corresponds to blue, pink, green, yellow and red in turn, and increases with the power.
[0090] Embodiment 3
[0091] The electromagnetic spectrum diagram is tested by using the RE102 frequency synthesis transmission module, and the RE102 test result diagram is as shown in Figure 5 The visual conversion result is as shown in Figure 6 It can be seen that the color is approximately at the A point (58, 88, 128) position in Figure 6 , which is not a pure color, indicating that the main component of the spectrum is near 5Ghz, and there are multiple signal mixtures.
[0092] The above only describes the preferred embodiments of the present application and does not limit the present application. Any modification, equivalent replacement or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for electromagnetic environment spectrum visualization based on colorimetry, characterized in that, The method comprises the following steps: S1, obtaining original xyz tristimulus values of a visible light spectrum covering a wavelength of 380-780 nm and frequency information of an electromagnetic environment spectrum to be measured; S2, unidirectionally mapping the original xyz tristimulus values in step S1 to the frequency information to obtain spectral XYZ tristimulus values; S3, obtaining spectral parameters of the electromagnetic environment, using the spectral XYZ tristimulus values in step S2 to characterize, and obtaining a conversion relationship between the spectral XYZ tristimulus values and preprocessed values, The conversion relationship formula is: Wherein, R', G' and B' are the preprocessed values; S4, performing normalization processing on the preprocessed values R'G'B' in step S3: selecting the maximum value among the R', G' and B', taking the maximum value as a reference to normalize the R', G' and B', to obtain intermediate values R''G''B'' with a value range of 0-1, and the R'', G'' and B'' values represent color hue; S5, establishing a corresponding relationship between signal power and color brightness of the electromagnetic environment spectrum, and obtaining color brightness of the electromagnetic environment spectrum to be measured based on the corresponding relationship between signal power and color brightness; When the signal power is P=1-255, L=P; When the signal power P>255, the final display RGB value corresponding to the color brightness L is (255, 255, 255); When the signal power P=0, no color is displayed; S6, magnifying the intermediate values obtained in step S4 by a preset ratio to obtain the final display RGB value of the electromagnetic environment spectrum to be measured; The spectral representation of a single frequency signal of the electromagnetic environment spectrum to be measured is a pure color, and the spectral representation of a multi-frequency signal of the electromagnetic environment spectrum to be measured is a mixed color.
2. The colorimetric-based electromagnetic environment frequency spectrum visualization method of claim 1, wherein, The corresponding relationship between the signal power and the color brightness in step S5 is a mapping relationship.
3. The colorimetric-based electromagnetic environment frequency spectrum visualization method of claim 1, wherein, The specific steps of the corresponding relationship include: S51, obtaining a signal power data set of the electromagnetic environment spectrum; S52, obtaining a color brightness set by corresponding the signal power in the signal power data set to the color brightness, and establishing a corresponding relationship between the signal power and the color brightness of the electromagnetic environment spectrum based on the signal power data set and the color brightness set; S53, obtaining the signal power of the electromagnetic environment spectrum to be measured, and corresponding to the corresponding relationship between the signal power and the color brightness obtained in step S52 to obtain the color brightness of the electromagnetic environment spectrum to be measured.
4. The colorimetric-based electromagnetic environment frequency spectrum visualization method of claim 1, wherein, In step S6, the preset ratio is the color brightness ratio obtained in step S5.
5. The colorimetric-based electromagnetic environment frequency spectrum visualization method of claim 1, wherein, In step S6, the preset ratio is an equal ratio.
6. The colorimetric-based electromagnetic environment frequency spectrum visualization method of claim 5, wherein, In step S6, the calculation formula of the preset ratio magnification is: L=P, R=L*R'', G=L*G'', B=L*B'' Wherein, P is the signal power value of the spectrum, and L is the brightness of the color.
Citation Information
Patent Citations
Method and apparatus for displaying frequency of electromagnetic device
CN107607781A