CN109035366A - A kind of spectral trends map generalization method - Google Patents

A kind of spectral trends map generalization method Download PDF

Info

Publication number
CN109035366A
CN109035366A CN201811024899.5A CN201811024899A CN109035366A CN 109035366 A CN109035366 A CN 109035366A CN 201811024899 A CN201811024899 A CN 201811024899A CN 109035366 A CN109035366 A CN 109035366A
Authority
CN
China
Prior art keywords
frequency
spectrum
signal strength
strength indication
color value
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.)
Pending
Application number
CN201811024899.5A
Other languages
Chinese (zh)
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.)
Zhuhai Gotech Intelligent Technology Co Ltd
Original Assignee
Zhuhai Gotech Intelligent Technology Co Ltd
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 Zhuhai Gotech Intelligent Technology Co Ltd filed Critical Zhuhai Gotech Intelligent Technology Co Ltd
Priority to CN201811024899.5A priority Critical patent/CN109035366A/en
Publication of CN109035366A publication Critical patent/CN109035366A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture

Abstract

The present invention relates to a kind of spectral trends map generalization methods, mainly comprise the steps that S1: the color display range of setting signal intensity value maps out corresponding color value according to each signal strength indication;S2: the spectrum information of current demand signal time domain is read within the scope of certain frequency, saves the signal strength indication of each frequency in the frequency range as parameter;S3: the corresponding color value of each frequency is mapped out according to the color display range of signal strength indication;S4: according to the corresponding color value of each frequency, the spectrogram of present frame is generated;S5: setting painting canvas width gives up the spectrum information more than painting canvas width, saves the subsequent spectrum information into painting canvas, record the spectral trends in a period of time after saving all spectrum informations of the interior spectrogram for a period of time.The intensity method of frequency spectrum is mainly indicated using color value, and records the spectrum information trend in a period of time, allows user that can more intuitively observe the variation tendency of frequency spectrum.

Description

A kind of spectral trends map generalization method
Technical field
The invention belongs to signal measurement technique fields, are related to a kind of method for indicating spectrum intensity with color value, specifically relate to And a kind of spectral trends map generalization method, record the spectral trends in a period of time.
Background technique
Frequency spectrum: referring to representation of the signal of a time domain under frequency domain, can carry out Fourier transformation for signal And obtain, in simple terms, frequency spectrum can indicate that a signal is made of the string wave of which frequency, it is also seen that each frequency The information such as the size and phase of string wave.Common digital spectrum method for drafting: abscissa: frequency, ordinate: power, such as Fig. 1 institute It is shown as common digital spectrum method for drafting, this method can only intuitively reflect the signal message of current time time domain, Bu Nengji The frequency spectrum for recording a period of time, cannot intuitively observe the variation tendency of frequency spectrum.
Summary of the invention
In view of the deficiencies of the prior art, the present invention proposes a kind of spectral trends map generalization methods, mainly utilize face Color value indicates the intensity method of frequency spectrum, and records the spectrum information trend in a period of time, allows user that can more intuitively observe frequency The variation tendency of spectrum.
In order to solve the above technical problems, the technical scheme adopted by the invention is as follows:
A kind of spectral trends map generalization method, comprising the following steps:
S1: the color display range of setting signal intensity value maps out corresponding color value according to each signal strength indication;
S2: the spectrum information of current demand signal time domain is read within the scope of certain frequency, saves each frequency in the frequency range Signal strength indication is as parameter;
S3: the corresponding color value of each frequency is mapped out according to the color display range of signal strength indication;
S4: according to the corresponding color value of each frequency, the spectrogram of present frame is generated;
S5: setting painting canvas width is given up after saving all spectrum informations of the interior spectrogram for a period of time more than painting canvas width Spectrum information saves the subsequent spectrum information into painting canvas, records the spectral trends in a period of time.
Further, the range of the signal strength indication are as follows: 55-70 dBuV, the color display range of setting are as follows: blue- Light blue-green-yellow-red.
Further, the frequency range is 950-2150MHz.
Further, the painting canvas width is confirmed according to the size of frame number frequency spectrum data.
Further, the frame number is 50 frames.
Beneficial effects of the present invention include at least: spectral trends map generalization method of the present invention, mainly utilize face Color value indicates the intensity method of frequency spectrum, and records the spectrum information trend in a period of time, allows user that can more intuitively observe frequency The variation tendency of spectrum.
Detailed description of the invention
Fig. 1 is prior art spectrogram.
Fig. 2 is the flow chart of spectral trends drawing generating method of the present invention.
Fig. 3 is the flow diagram of step S5 of the present invention.
Fig. 4 is that the spectral trends of one embodiment of the invention show figure.
Specific embodiment
In order to make those skilled in the art more fully understand technical solution of the present invention, combined with specific embodiments below to this Invention is described in further detail.The embodiments described below is exemplary, and for explaining only the invention, and cannot be understood For limitation of the present invention.Particular technique or condition are not specified in embodiment, according to the literature in the art described skill Art or condition are carried out according to product description.
Fig. 1 is prior art spectrogram, as shown in Figure 1, being existing common digital spectrum method for drafting, abscissa: frequency Rate (MHz), ordinate: power (dBm), this method can only intuitively reflect the signal message of current time time domain, can only reflect The spectrum information at current time cannot record the frequency spectrum of a period of time, i.e., cannot intuitively observe the variation tendency of frequency spectrum.
For this purpose, the present invention is in order to solve the above technical problems, take means in detail below, Fig. 2 is spectral trends of the present invention The flow chart of drawing generating method, referring to shown in Fig. 2, spectral trends map generalization method of the present invention specifically includes following step Suddenly.
S1: the color display range of setting signal intensity value maps out corresponding color value according to each signal strength indication; More specifically, Fig. 4 is that the spectral trends of one embodiment of the invention show figure, abscissa: frequency (MHz), ordinate: power (dBm), referring to shown in Fig. 4, signal strength indication of the present invention ranges preferably from: the color of 55-70 dBuV, setting are shown Range are as follows: blue-light blue-green-yellow-red, it is possible thereby to compare the corresponding color value of each signal strength.
S2: sampling out the spectrum information at current time, at this point, when frequency range is 950-2150MHz, in the frequency range The interior spectrum information for reading current demand signal time domain, saves the signal strength indication of each frequency in the frequency range as parameter;
S3: the corresponding color value of each frequency is mapped out according to the color display range of signal strength indication;This is mapped as this field Conventional means, such as: blue rgb value are as follows: 0000ff;Light blue rgb value is 00ffff, they distinguish corresponding signal strength indication Are as follows: 55 and 58.75, linear color section between the two are 55-58.75, similarly, light blue-green-yellow-red line Property color interval be 58.75-62.5-66.25-70.It thus can be by the signal strength of 55-58.75-62.5-66.25-70dBuV Value is mapped as the corresponding RGB color value of frequency.It should be noted that the color display range that the present invention is set is above-mentioned five kinds of face Color, and when signal changes, signal strength indication changes correspondingly.
S4: according to the corresponding color value of each frequency, the spectrogram of present frame is generated;More specifically, by map out come All colours value, it is from left to right, uniform to generate point-blank, as a frame frequency modal data.
S5: setting painting canvas width is given up wide more than painting canvas after saving all spectrum informations of the interior spectrogram for a period of time The spectrum information of degree saves the subsequent spectrum information into painting canvas, records the spectral trends in a period of time.
It is understood that the painting canvas width is confirmed according to the size of frame number frequency spectrum data, and such as: as shown in figure 4, drawing The setting of cloth width can only store 50 frame frequency modal datas, then accumulation draws 50 frame data on painting canvas, and save.
According to an embodiment of the invention, Fig. 3 is the flow diagram of step S5 of the present invention, and after more than 50 frame data, house That frame frequency modal data (i.e. the 51st frame frequency modal data in queue) for abandoning most start recording, is equivalent to queue, first in first out.
It is understood that signal strength indication range, frequency range and frame number of the present invention, these are not limited especially System, be not it is fixed, setting can be manually or automatically changed according to signal, nor characteristic.These are intended merely to more The specific setting for illustrating concrete scheme of the invention well and carrying out.
In conclusion spectral trends map generalization method of the present invention, mainly indicates the strong of frequency spectrum using color value Degree method, and the spectrum information trend in a period of time is recorded, allow user that can more intuitively observe the variation tendency of frequency spectrum.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant, at the same time, for those skilled in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range.

Claims (5)

1. a kind of spectral trends map generalization method, which comprises the following steps:
S1: the color display range of setting signal intensity value maps out corresponding color value according to each signal strength indication;
S2: the spectrum information of current demand signal time domain is read within the scope of certain frequency, saves each frequency in the frequency range Signal strength indication is as parameter;
S3: the corresponding color value of each frequency is mapped out according to the color display range of signal strength indication;
S4: according to the corresponding color value of each frequency, the spectrogram of present frame is generated;
S5: setting painting canvas width is given up after saving all spectrum informations of the interior spectrogram for a period of time more than painting canvas width Spectrum information saves the subsequent spectrum information into painting canvas, records the spectral trends in a period of time.
2. generation method according to claim 1, which is characterized in that the range of the signal strength indication are as follows: 55-70 DBuV, the color display range of setting are as follows: blue-light blue-green-yellow-red.
3. generation method according to claim 1, which is characterized in that the frequency range is 950-2150MHz.
4. generation method according to claim 1, which is characterized in that confirm the picture according to the size of frame number frequency spectrum data Cloth width.
5. generation method according to claim 4, which is characterized in that the frame number is 50 frames.
CN201811024899.5A 2018-09-04 2018-09-04 A kind of spectral trends map generalization method Pending CN109035366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811024899.5A CN109035366A (en) 2018-09-04 2018-09-04 A kind of spectral trends map generalization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811024899.5A CN109035366A (en) 2018-09-04 2018-09-04 A kind of spectral trends map generalization method

Publications (1)

Publication Number Publication Date
CN109035366A true CN109035366A (en) 2018-12-18

Family

ID=64623198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811024899.5A Pending CN109035366A (en) 2018-09-04 2018-09-04 A kind of spectral trends map generalization method

Country Status (1)

Country Link
CN (1) CN109035366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112562041A (en) * 2020-12-31 2021-03-26 江苏天瑞仪器股份有限公司 Method for drawing concentration trend graph of navigation laser monitoring factor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050080828A1 (en) * 2003-10-08 2005-04-14 Johnson Mark W. Method for displaying spectral trends in complex signals
CN102288936A (en) * 2011-07-26 2011-12-21 成都点阵科技有限公司 Radio direction finding method applying instantaneous frequency spectrum amplitude frequency distribution data
CN104655163A (en) * 2015-02-16 2015-05-27 广州丰谱信息技术有限公司 Color display method and device for measured sequence

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050080828A1 (en) * 2003-10-08 2005-04-14 Johnson Mark W. Method for displaying spectral trends in complex signals
CN102288936A (en) * 2011-07-26 2011-12-21 成都点阵科技有限公司 Radio direction finding method applying instantaneous frequency spectrum amplitude frequency distribution data
CN104655163A (en) * 2015-02-16 2015-05-27 广州丰谱信息技术有限公司 Color display method and device for measured sequence

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112562041A (en) * 2020-12-31 2021-03-26 江苏天瑞仪器股份有限公司 Method for drawing concentration trend graph of navigation laser monitoring factor

Similar Documents

Publication Publication Date Title
CN105047145B (en) Backlight brightness control method, backlight brightness control devices and display terminal
CN105161064B (en) Liquid crystal display brightness control method and device and liquid crystal display
CN102265707B (en) Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN104320642A (en) Picture processing method and device
CN104639923A (en) Method and device for processing image data, and terminal
CN108917921B (en) Ambient light intensity detection method
WO2019184660A1 (en) Screen brightness calibration method, device and system, and computer-readable storage medium
CN107145349A (en) Method for switching theme, device, computer installation and computer-readable recording medium
CN107193458B (en) One kind taking color method, device, equipment and storage medium
CN103474010A (en) Video analysis-based intelligent playing method and device of outdoor advertisement
CN109035366A (en) A kind of spectral trends map generalization method
TW201611579A (en) Method and device for processing images
CN107221273B (en) Display screen flicker test method
CN103559870A (en) Color displaying adjusting method and device of displaying terminal
CN108627695B (en) Abnormal signal display method, spectrum analysis system and digital spectrum analyzer
CN107682673B (en) A method of 4KHDR and HDSDR signal is supervised based on GPU and video IO card simultaneously
EP3223520A1 (en) Measurement method and apparatus for composite video broadcast signal quality and storage medium
CN110719382B (en) Color replacement method and device
Marsi et al. Using a recursive rational filter to enhance color images
CN102074202B (en) Method and device for processing backlight control signals
CN101527859A (en) Method for adjusting gray scale white balance of display
CN205812272U (en) A kind of audio collection frock and cloud server
CN106162006A (en) A kind of video camera automatically adjusts the method for mosaic screen chroma-luminance
CN105335935B (en) Image processing apparatus and method
CN101835052B (en) Image processing device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218