CN109145728A - A kind of twilight sunset blanking method, device and computer readable storage medium - Google Patents
A kind of twilight sunset blanking method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109145728A CN109145728A CN201810765164.1A CN201810765164A CN109145728A CN 109145728 A CN109145728 A CN 109145728A CN 201810765164 A CN201810765164 A CN 201810765164A CN 109145728 A CN109145728 A CN 109145728A
- Authority
- CN
- China
- Prior art keywords
- pixel
- frame number
- brightness value
- frame
- data point
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention provides a kind of twilight sunset blanking methods, comprising: in a collection period, acquires several frame Wave datas;The corresponding frame number of each data point is stored in frame number storage unit corresponding to the pixel that the data point is mapped to, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;The corresponding frame number of each pixel is successively decreased according to predeterminated frequency;When the corresponding frame number of pixel is 0, the corresponding brightness value of the pixel is revised as 0.Any one frame history waveform can be realized while blanking during twilight sunset blanking, so that twilight sunset blanking sequence is consistent with the chronological order that waveform occurs according to above method.The embodiment of the invention also provides a kind of twilight sunset blanker and computer readable storage mediums.
Description
Technical field
The present invention relates to waveform processing technical fields, and in particular to a kind of twilight sunset blanking method, device and computer-readable
Storage medium.
Background technique
Twilight sunset display technology is a kind of technology for showing historical signal waveform or track, is widely used in oscillography
Device, spectrum analyzer etc. are tested in measuring device.In modern digital oscilloscopes, due to the promotion of its processing capacity, each second
The waveform frame number that can be captured easily thousands of frames, frame up to ten thousand even frames up to a million, in this way, will show simultaneously on the screen
The waveform of thousand frames frames up to ten thousand.As an example it is assumed that the refresh rate of screen is 50Hz, the waveform number of capture each second is 100,000 frames,
It is every so on screen to refresh once, there will be 2000 frame waveforms to be shown in above simultaneously.
In order to characterize the probability height of unlike signal appearance, the number of signal appearance, tool are usually distinguished with tonal gradation
It is exactly that its brightness of the high waveform of probability of occurrence is just brighter on each pixel for body, the low waveform of probability of occurrence its brightness is just
Darker, this processing technique is referred to as grey scale mapping and display technology, is a kind of very mature technology.
Under normal circumstances, the signal waveform that can only be observed in a bit of time in oscillograph, for example, nearest
All waveforms in the 20ms time.When needing to observe the history waveform in certain time, or observing all history waveforms,
Oscillograph needs work under twilight sunset display pattern.Existing oscillograph typically is provided with three kinds of twilight sunset display patterns, that is, normal mode
Formula has limit twilight sunset mode and without limit twilight sunset mode;Wherein, normal mode is exactly collection period of only showing over
It is interior that (collection period is generally set by the user, and the refresh cycle of screen display is not less than under default situations, in a collection period
Many frame waveforms may be acquired, it is also possible to only a frame waveform) capture waveform;Limited twilight sunset display pattern is exactly that display is used
Specify all waveforms in persistence in family;And the waveform that then all history occur under infinite persistence display pattern can all begin
Retain eventually and show on the screen, will not disappear.For there is limit twilight sunset mode, persistence is equivalent to a time window
Mouthful, for example, user set persistence as 10 seconds, then all waveforms acquired in 10 seconds in the past can all be shown in screen
On curtain, it can die away without the history waveform within the scope of this 10 seconds.This time window is as shown in Figure 1.
The formation basic theory of twilight sunset: being influenced by the factors such as signal self character and noise, clock jitter, triggering stability,
The signal acquired each time is unlikely to be completely duplicate, in this case, signal waveform when being mapped to screen and getting on, something like
The number that vegetarian refreshments is mapped to will be more, and some pixels then can be less;These mapping numbers number reflect
Probability that signal waveform occurs on different location height, display when, are converted to this number not of uniform size bright dark different
Color, be formed gray scale display effect, or perhaps twilight sunset display effect.Tonal gradation (bright dark degree) represents signal
The probability height of appearance, in general, observing time window is longer, and tonal gradation can be more obvious that (the signal wave figurate number of acquisition is got over
It is more).In the same screen refresh period, the waveform frame number shown on screen have have it is few, generally last frame acquisition and
The waveform of mapping is known as current form, and all waveforms before are referred to as history waveform, and history waveform is shown on the screen
Length of time be then persistence.For example, Fig. 2 show the sky of two-dimensional map when only acquiring a frame waveform
Between brightness value distribution map, brightness value be 1 pixel indicates that one Wave data is mapped on the pixel, without mapping
To pixel brightness value be then 0 (there is no its brightness value of the pixel of number to indicate 0 in figure).Fig. 3 is to acquire ten frames
Intensity map after waveform, at this time, the sum of brightness value of each pixel is 10 on each column, but each each pixel of column
The brightness Distribution value of point is different, depends on characteristics of signals, and in Fig. 3, the pixel of last frame waveform covering is indicated with grey.For
Differentiation current form (last frame waveform) and history waveform when being mapped can work as prewave by priority to distinguish
Shape and history waveform, for example, the priority of the pixel of current form covering is defined as 1, and other all history waveform institutes
The priority of covering pixel is defined as 2.
In the case where there is limit twilight sunset mode, (so-called twilight sunset blanking just refers to what history waveform disappeared for existing twilight sunset blanking
Process) there are two types of schemes for technology.
In the first scheme, in order to achieve the purpose that history waveform can be blanked simultaneously, the gray scale etc. of history waveform
Grade cannot retain, and before blanking, understand and the brightness value of all history waveforms be first changed to some unified value, and this
It is worth, such words proportional to persistence length, since the brightness of all data points is all the same, the ash of history waveform
Degree grade can not just retain, but carry out blanking in this manner, and persistence is controllable, and error range is a screen
Refresh cycle (waveform acquired in the same screen refresh period can be blanked simultaneously).For example, it is assumed that some history waveform
The brightness value of point is 100, and persistence is set as 10 seconds, screen refresh period 20ms, then being the equal of that screen is every
Refresh 5 times (the corresponding time is 5*20ms), brightness value subtracts 1, in this way, the brightness value of this point will be reduced to after 10 seconds
0, to realize the purpose of blanking.According to the method, the history waveform shown in Fig. 3 with tonal gradation can quilt before blanking
It is changed to result as shown in Figure 4, it is assumed that the brightness value of history data point is defined as 10, and in this case, history waveform will no longer have
There is tonal gradation.
In second scheme, before twilight sunset blanking, the brightness value of history waveform is not changed, but by the most light of history waveform
Angle value determines the step value that successively decreases when twilight sunset blanking.One of this method disadvantage is exactly need statistical history waveform most light
Angle value, secondly, the lesser waveform of brightness value can first be disappeared when blanking, it is inaccurate to will cause persistence in this way, together
When the waveform that occurs do not disappeared simultaneously.Since the formation of twilight sunset is identical to one by many frame waveform repeatedly stackings
Two-dimensional space in formed, in this case, even with the same frame waveform at a certain moment, final corresponding pixel points
On, the corresponding brightness value of the corresponding each pixel of the frame waveform is also not necessarily the same, in this case will lead to this
When method carries out blanking, the small point of brightness can first be disappeared, and point of high brightness disappears by after, in this case, twilight sunset blanking
Process can not embody the sequencing of signal appearance.Such as in Fig. 3, history data point maximum brightness value is 8, according to this
Blanking method, history data point of the brightness value less than 8, disappear time point just have first have after (every blanking is primary, and brightness value subtracts
1, until reducing to 0), cause in a certain frame history waveform sometime acquired, it is likely that be not to be blanked to finish simultaneously.
Above-mentioned first method and second method, the process cycle of twilight sunset blanking are the integral multiple of screen refresh period,
It is, screen is every to refresh primary or every refreshing n times, a blanking, therefore, twilight sunset will be done to the brightness value of history twilight sunset
The precision of duration most higher position can only accomplish the rank equal with screen refresh period, for example, being under normal circumstances 15~30
Millisecond.
From the foregoing, it will be observed that prior art the shortcomings that there are following several respects:
1, the prior art in twilight sunset concealment process or cannot keep the tonal gradation of history waveform or can not protect
The persistence of accurate history waveform is demonstrate,proved, that is, can not realize and be realized accurately while keeping tonal gradation
Persistence.
2, in the prior art, due to being to carry out blanking to history twilight sunset by screen refresh period, in a screen brush
Whole waveforms of (collection period defaulted under normal circumstances is just equal to a screen refresh period) acquisition can be same in the new period
When be blanked, and can not embody waveform appearance sequencing.
Summary of the invention
In order at least be partially solved problems of the prior art, an embodiment of the present invention is intended to provide a kind of twilight sunset to disappear
Hidden method, apparatus and computer readable storage medium.
According in a first aspect, providing a kind of twilight sunset blanking method in a kind of embodiment, which comprises
In a collection period, several frame Wave datas are acquired;
The corresponding frame number of each data point is stored in frame number corresponding to the pixel that the data point is mapped to deposit
In storage unit, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;
The corresponding frame number of each pixel is successively decreased according to predeterminated frequency;
When the corresponding frame number of pixel is 0, the corresponding brightness value of the pixel is revised as 0.
It is preferably, described that the corresponding frame number of each data point is stored in the pixel institute that the data point is mapped to is right
In the frame number storage unit answered, comprising:
When the data point on a frame Wave data is mapped to a pixel, in the corresponding storage unit of the pixel
The frame number of storage is the frame number of the frame Wave data;
When the data point on multiframe Wave data is mapped on a pixel simultaneously, deposited corresponding to the pixel
The frame number stored in storage unit is the frame number of last frame Wave data in the multiframe Wave data.
Preferably, the method also includes:
Determine that the corresponding brightness value of each pixel, the corresponding brightness value of each pixel are that data point is mapped to this
Number on pixel.
Preferably, described when the corresponding frame number of each pixel is successively decreased according to predeterminated frequency, the method is also wrapped
It includes:
Successively decrease to the corresponding brightness value of each pixel according to the predeterminated frequency.
Preferably, after the corresponding brightness value of pixel is decremented to 1, the method also includes:
Judge whether frame number corresponding to respective pixel point is 0, if so, the corresponding brightness value of respective pixel point is kept to
0;If it is not, the corresponding brightness value of the pixel is remained unchanged.
Preferably, before judging whether the corresponding frame number of pixel is 0, the method also includes:
Keep the corresponding brightness value of each pixel constant.
Preferably, the corresponding frame number of pixel carries out in decrementing procedure according to predeterminated frequency, and each decrement value is N1, and N1 is
Integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
Preferably, the corresponding brightness value of pixel carries out in decrementing procedure according to predeterminated frequency, and each decrement value is N2, N2
For the integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
Preferably, it is collected most to be equal to institute's energy in a Wave data collection period for the bit wide of the frame number storage unit
The corresponding bit wide of big frame number.
Preferably, it is collected to be equal to institute's energy in a Wave data collection period for the bit wide of the brightness value storage unit
The corresponding bit wide of maximum frame number.
According to second aspect, a kind of twilight sunset blanker is provided in a kind of embodiment, described device includes:
Acquisition module, for acquiring several frame Wave datas in a collection period;
Memory module, for the corresponding frame number of each data point to be stored in the pixel institute that the data point is mapped to
In corresponding frame number storage unit, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;
Processing module, for the corresponding frame number of each pixel to successively decrease according to predeterminated frequency;
First judgment module, for judging whether the corresponding frame number of pixel is 0;
Blanking module is when being, by the corresponding brightness value of the pixel for the judging result in first judgment module
It is revised as 0.
Preferably, the memory module, for the corresponding frame number of each data point to be stored in institute in the following manner
It states in frame number storage unit corresponding to the pixel that data point is mapped to:
When the data point on an only frame Wave data is mapped to a pixel, the corresponding storage unit of the pixel
The frame number of middle storage is the frame number of the frame Wave data;
When the data point on multiframe Wave data is mapped on a pixel simultaneously, deposited corresponding to the pixel
The frame number stored in storage unit is the frame number of last frame Wave data in the multiframe Wave data
When there is no data point to be mapped to a pixel, the frame number that is stored in storage unit corresponding to the pixel
It is 0.
Preferably, described device further include:
Brightness value determining module, for determining that the corresponding brightness value of each pixel, each pixel are corresponding bright
Angle value is that data point is mapped to the number on the pixel.
Preferably, the processing module is also used to successively decrease to the corresponding frame number of each pixel according to predeterminated frequency
When, successively decrease to the corresponding brightness value of each pixel according to the predeterminated frequency.
Preferably, described device further include: the second judgment module, for for being decremented in the corresponding brightness value of pixel
First judgment module 1004 is triggered after 1, judges whether frame number corresponding to respective pixel point is 0 as first judgment module;
The blanking module is that when being, respective pixel point is corresponded to for the judging result in the first judgment module
Brightness value be revised as 0;It is also used to when the judging result of the first judgment module is no, the pixel is corresponding bright
Angle value remains unchanged.
Preferably, the processing module is also used to before judging whether the corresponding frame number of pixel be 0, is kept each
The corresponding brightness value of pixel is constant.
Preferably, the corresponding frame number of pixel carries out in decrementing procedure according to predeterminated frequency, and each decrement value is N1, and N1 is
Integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
Preferably, the corresponding brightness value of pixel carries out in decrementing procedure according to predeterminated frequency, and each decrement value is N2, N2
For the integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
Preferably, it is collected most to be equal to institute's energy in a Wave data collection period for the bit wide of the frame number storage unit
The corresponding bit wide of big frame number.
Preferably, it is collected to be equal to institute's energy in a Wave data collection period for the bit wide of the brightness value storage unit
The corresponding bit wide of maximum frame number.
According to the third aspect, a kind of computer readable storage medium, including program, the journey are provided in a kind of embodiment
Sequence can be executed by processor to realize the method as described in above-mentioned first aspect.
Compared with prior art, the embodiment of the present invention at least has following advantages:
The twilight sunset blanking method provided according to embodiments of the present invention acquires several frame waveform numbers in a collection period
According to;The corresponding frame number of each data point is stored in frame number storage unit corresponding to the pixel that the data point is mapped to
In, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;By the corresponding frame of each pixel
Number successively decrease according to predeterminated frequency;When the corresponding frame number of pixel is 0, the corresponding brightness value of the pixel is revised as
0.It can be during twilight sunset blanking, so that the chronological order that twilight sunset blanking sequence occurs with waveform according to above method
Unanimously, any one frame history waveform can be realized while blanking;In this way, can precisely be controlled to the twilight sunset blanking time
System, each frame waveform acquired in the same collection period can be successively blanked according to the sequence respectively occurred, without picture
The prior art generally by the waveform acquired in the same collection period while carrying out blanking.
Detailed description of the invention
Fig. 1 is to have limit twilight sunset to show time window schematic diagram;
Fig. 2 is two-dimensional map spatial brightness Distribution value figure when acquiring a frame waveform;
Fig. 3 is intensity map when acquiring ten frame waveforms;
Fig. 4 is to carry out twilight sunset blanking schematic diagram by absolute time;
Fig. 5 is the process flow diagram of twilight sunset blanking method of the present invention in one embodiment;
Fig. 6 is that frame number storage unit storage value corresponding to each pixel is divided in display screen when the present invention only has a frame waveform
Cloth schematic diagram;
Fig. 7 is the brightness value distribution schematic diagram of each pixel in display screen after two frame waveforms of the invention map;
Fig. 8 is that frame number storage unit storage value corresponding to each pixel is divided in display screen after two frame waveforms of the invention map
Cloth schematic diagram;
Fig. 9 is that the present invention has mapped after ten frame waveforms frame number storage unit storage value corresponding to each pixel in display screen
Distribution schematic diagram;
Figure 10 is the basic block diagram of twilight sunset blanker of the present invention in one embodiment;
Figure 11 is the basic block diagram of twilight sunset blanker of the present invention in the second embodiment;
Figure 12 is basic block diagram of the twilight sunset blanker of the present invention in the third embodiment.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.
Embodiment one
Referring to Fig. 5, the embodiment of the present invention one provides a kind of twilight sunset blanking method, which comprises
Step 501, in a collection period, acquire several frame Wave datas;
The corresponding frame number of each data point is stored in corresponding to the pixel that the data point is mapped to by step 502
Frame number storage unit in, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;
In practical realization, the bit wide of frame number storage unit is determined according to the acquisition frame number of maximum possible in collection period,
Such as, it is assumed that the waveform frame number that maximum possible acquires in collection period is 1000 frames, then the bit wide of frame number register is defined as
10bit can meet needs, naturally it is also possible to be greater than 10bit.In a kind of optional embodiment of the invention, each pixel
It is right that the bit wide of corresponding frame number storage unit is equal to the collected maximum frame number institute of institute's energy in a Wave data collection period
The bit wide answered.
In a kind of optional embodiment of the invention, the bit wide of the frame number storage unit is equal to a Wave data and adopts
Collect the corresponding bit wide of the collected maximum frame number of institute's energy in the period.
Specifically, described, that the corresponding frame number of each data point is stored in the pixel institute that the data point is mapped to is right
In the frame number storage unit answered, comprising:
When the data point on a frame Wave data is mapped to a pixel, in the corresponding storage unit of the pixel
The frame number of storage is the frame number of the frame Wave data;
When the data point on multiframe Wave data is mapped on a pixel simultaneously, deposited corresponding to the pixel
The frame number stored in storage unit is the frame number of last frame Wave data in the multiframe Wave data.
In a kind of optional embodiment of the invention, the method also includes:
Determine that the corresponding brightness value of each pixel, the corresponding brightness value of each pixel are in a collection period
Data point is mapped to the number on the pixel.For example, thering is a data point to map to a certain pixel in a collection period
When on point, the brightness value of the pixel is 1;When mapping to the pixel there are two data point, the brightness value of the pixel is 2,
And so on.
The brightness value of each pixel is stored in brightness value storage unit corresponding to respective pixel point, and brightness value is deposited
The bit wide of storage unit is also the acquisition frame number of maximum possible in foundation collection period to determine, it is assumed that maximum in collection period
The waveform frame number that may be acquired is 1000 frames, then the bit wide of brightness value register, which is defined as 10bit, can meet needs, certainly
10bit can also be greater than.In a kind of optional embodiment of the invention, brightness value storage unit corresponding to each pixel
Bit wide be equal to the collected maximum frame number of institute in Wave data collection period.
As shown in fig. 6, frame number storage unit storage value corresponding to each pixel in display screen when for an only frame waveform
Distribution schematic diagram;Fig. 7 is the brightness value distribution schematic diagram of each pixel in display screen after the mapping of two frame waveforms, and Fig. 8 is and Fig. 7 phase
Frame number storage unit storage value distribution schematic diagram corresponding to each pixel in display screen after corresponding two frames waveform mapping;With reference to
Figure 3 above, Fig. 9 are corresponding with Fig. 3 to have mapped after ten frame waveforms that frame number storage unit corresponding to each pixel is deposited in display screen
Stored Value distribution schematic diagram.
Comparison diagram 3 and Fig. 9, Fig. 3 is the brightness value distribution situation after the completion of the mapping of ten frame waveforms, wherein the brightness of each column
Value, which adds up, is equal to 10;And the frame number value then stored in Fig. 9 for frame number storage unit corresponding with Fig. 3.In the two figures
The point that last frame waveform is mapped to is indicated with the pixel that grey is filled, and frame number is 10;Again with the first of the two figures
It is classified as example, in first row, is mapped to there are three pixel, brightness value is respectively 2,7 and 1, the corresponding frame of these three pixels
Number be respectively 10,8 and 3, that is to say, that brightness value be 2 the corresponding last frame waveform of this pixel be the 10th frame waveform
(first point of the 10th frame waveform is mapped on this pixel), brightness value be 7 this pixel it is corresponding last
Frame waveform is the 8th frame waveform (first point of the 8th frame waveform is mapped on this pixel), this picture that brightness value is 1
The corresponding waveform of vegetarian refreshments is the 3rd frame waveform (first point of third frame waveform is mapped on this pixel).Other are respectively arranged
In the corresponding relationship of frame number and so on of each pixel brightness value.In Fig. 3 and Fig. 9, picture that no data point is mapped to
The brightness value of vegetarian refreshments and corresponding frame number value are 0.
Step 503 successively decreases the corresponding frame number of each pixel according to predeterminated frequency;
Specifically, the predeterminated frequency can by persistence, collection period maximum possible acquisition frame number and
Screen refresh period determines.
Specifically, the corresponding frame number of pixel carries out in decrementing procedure according to predeterminated frequency, each decrement value is N1, and N1 is
Integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
Step 504, when the corresponding frame number of pixel be 0 when, the corresponding brightness value of the pixel is revised as 0.
When carrying out twilight sunset blanking in the manner described above, there can be following two implementation:
The first implementation: the corresponding frame number of each pixel is successively decreased according to predeterminated frequency, while to each
The corresponding brightness value of pixel also successively decreases according to the predeterminated frequency;After the corresponding brightness value of pixel is decremented to 1, sentence
Whether frame number corresponding to disconnected respective pixel point is 0, if so, the corresponding brightness value of respective pixel point is kept to 0;If no
It is to remain unchanged the corresponding brightness value of the pixel.
Specifically, the corresponding brightness value of pixel carries out in decrementing procedure according to predeterminated frequency, each decrement value is N2, N2
For the integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
For each pixel, before its corresponding frame number blanking to 0, brightness value is unable to blanking to 0, most
Small to reduce to 1, therefore, only after the corresponding frame number of pixel is decremented to 0, the brightness value of the pixel just allows to become
0.The twilight sunset blanking that this method is realized, while there is very accurate persistence, the gray scale etc. of history waveform
Grade can fade down (history twilight sunset can be gradually dimmed until disappearing).
Second of embodiment: the corresponding frame number of each pixel is successively decreased according to predeterminated frequency, meanwhile, keep each
The corresponding brightness value of a pixel is constant;When the corresponding frame number of pixel is 0, the corresponding brightness value of respective pixel point is repaired
It is changed to 0.
In this case, in concealment process, the tonal gradation of entire waveform will not change (the i.e. color of history twilight sunset
It will not change)
The method also includes: RGB converting unit is according to the brightness value stored in brightness value storage unit to each pixel
Point is shown.
To sum up, twilight sunset blanking method provided by the embodiment of the present invention one acquires several frame waves in a collection period
Graphic data;The corresponding frame number of each data point is stored in the storage of frame number corresponding to the pixel that the data point is mapped to
In unit, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;Each pixel is corresponding
Frame number successively decrease according to predeterminated frequency;When the corresponding frame number of pixel is 0, the corresponding brightness value of the pixel is repaired
It is changed to 0.It can be during twilight sunset blanking, so that the time order and function that twilight sunset blanking sequence occurs with waveform according to above method
Sequence consensus, can realize any one frame history waveform while blanking;In this way, can be carried out to the twilight sunset blanking time accurate
Control, each frame waveform acquired in the same collection period can be successively blanked according to the sequence respectively occurred, without
By the waveform acquired in the same collection period while blanking is carried out as the prior art.
Embodiment two
Referring to Fig.1 0, a kind of structural block diagram of twilight sunset blanker of the present invention is shown, it includes that frequency show which, which can be located at,
In waveform display apparatus including wave device, described device include: acquisition module 1001, memory module 1002, processing module 1003,
First judgment module 1004 and blanking module 1005;Wherein,
Acquisition module 1001, for acquiring several frame Wave datas in a collection period;
Memory module 1002, for the corresponding frame number of each data point to be stored in the pixel that the data point is mapped to
In the corresponding frame number storage unit of point, the frame number stored in the frame number storage unit is the corresponding frame of the pixel
Number;
Processing module 1003, for the corresponding frame number of each pixel to successively decrease according to predeterminated frequency;
First judgment module 1004, for judging whether the corresponding frame number of pixel is 0;
Blanking module 1005 is that when being, the pixel is corresponded to for the judging result in first judgment module 1004
Brightness value be revised as 0.
Correspondingly, being when the judging result of first judgment module 1004 is no, not to the corresponding brightness value of the pixel
It modifies.
Specifically, the memory module 1002, for the corresponding frame number of each data point to be stored in the following manner
In the frame number storage unit corresponding to the pixel that the data point is mapped to:
When the data point on an only frame Wave data is mapped to a pixel, the corresponding storage unit of the pixel
The frame number of middle storage is the frame number of the frame Wave data;
When the data point on multiframe Wave data is mapped on a pixel simultaneously, deposited corresponding to the pixel
The frame number stored in storage unit is the frame number of last frame Wave data in the multiframe Wave data
When there is no data point to be mapped to a pixel, the frame number that is stored in storage unit corresponding to the pixel
It is 0.
In a kind of optional embodiment of the invention, referring to Fig.1 1, described device further include:
Brightness value determining module 1006, for determining that the corresponding brightness value of each pixel, each pixel are corresponding
Brightness value be data point be mapped to the number on the pixel.
The memory module 1002 is deposited for the corresponding brightness value of each pixel to be stored in its corresponding brightness value
In storage unit.
In a kind of optional embodiment of the invention, the processing module 1003 is also used to corresponding to each pixel
Frame number when being successively decreased according to predeterminated frequency, meanwhile, to the corresponding brightness value of each pixel according to the predeterminated frequency into
Row successively decreases.
In a kind of optional embodiment of the invention, referring to Fig.1 2, described device further include: the second judgment module
1007, for triggering first judgment module 1004 after the corresponding brightness value of pixel is decremented to 1, by first judgment module 1004
Judge whether frame number corresponding to respective pixel point is 0;
The blanking module 1005 is when being, by corresponding picture for the judging result in the first judgment module 1004
The corresponding brightness value of vegetarian refreshments is revised as 0;It is also used to when the judging result of the first judgment module 1004 is no, by the picture
The corresponding brightness value of vegetarian refreshments remains unchanged.
In a kind of optional embodiment of the invention, the processing module 1003 is also used to judging that pixel is corresponding
Frame number whether be 0 before, keep the corresponding brightness value of each pixel constant.
Specifically, the corresponding frame number of pixel carries out in decrementing procedure according to predeterminated frequency, each decrement value is N1, and N1 is
Integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
Specifically, the corresponding brightness value of pixel carries out in decrementing procedure according to predeterminated frequency, each decrement value is N2, N2
For the integer less than M, the interior collected maximum frame number of for one Wave data collection period of M.
N1 can be equal to N2.
Specifically, institute's energy is collected most in equal to one Wave data collection period of the bit wide of the frame number storage unit
Bit wide corresponding to big frame number.
Specifically, the bit wide of the brightness value storage unit is equal in a Wave data collection period, institute can be collected
Bit wide corresponding to maximum frame number.
In the specific implementation process, above-mentioned acquisition module 1001, memory module 1002, processing module 1003, first judge
Module 1004, blanking module 1005, brightness value determining module 1006 and the second judgment module 1007 can be by including oscillograph
Central processing unit (CPU, Central Processing Unit), microprocessor in various test measuring devices inside
(MPU, Micro Processing Unit), digital signal processor (DSP, Digital Signal Processor) can
Programmed logic array (PLA) (FPGA, Field-Programmable Gate Array) is realized.
Embodiment three
The embodiment of the present invention three provides a kind of computer readable storage medium, including program, and described program can be located
Device is managed to execute to realize the twilight sunset blanking method as described in above-described embodiment one.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of twilight sunset blanking method provided by the present invention and device, it is described in detail, it is used herein
A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand
Method and its core concept of the invention;At the same time, for those skilled in the art, thought according to the present invention are having
There will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention
Limitation.
Claims (10)
1. a kind of twilight sunset blanking method, which is characterized in that the described method includes:
In a collection period, several frame Wave datas are acquired;
It is single that the corresponding frame number of each data point is stored in the storage of frame number corresponding to the pixel that the data point is mapped to
In member, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;
The corresponding frame number of each pixel is successively decreased according to predeterminated frequency;
When the corresponding frame number of pixel is 0, the corresponding brightness value of the pixel is revised as 0.
2. the method according to claim 1, wherein described be stored in institute for the corresponding frame number of each data point
It states in frame number storage unit corresponding to the pixel that data point is mapped to, comprising:
When the data point on a frame Wave data is mapped to a pixel, stored in the corresponding storage unit of the pixel
Frame number be the frame Wave data frame number;
When the data point on multiframe Wave data is mapped on a pixel simultaneously, storage list corresponding to the pixel
The frame number stored in member is the frame number of last frame Wave data in the multiframe Wave data.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Determine that the corresponding brightness value of each pixel, the corresponding brightness value of each pixel are that data point is mapped to the pixel
Number on point.
4. according to the method described in claim 3, it is characterized in that, it is described by the corresponding frame number of each pixel according to default frequency
When rate is successively decreased, the method also includes:
Successively decrease to the corresponding brightness value of each pixel according to the predeterminated frequency.
5. according to the method described in claim 4, it is characterized in that, after the corresponding brightness value of pixel is decremented to 1, the side
Method further include:
Judge whether frame number corresponding to respective pixel point is 0, if so, the corresponding brightness value of respective pixel point is kept to 0;Such as
Fruit is not to remain unchanged the corresponding brightness value of the pixel.
6. described according to the method described in claim 3, it is characterized in that, before judging whether the corresponding frame number of pixel is 0
Method further include:
Keep the corresponding brightness value of each pixel constant.
7. a kind of twilight sunset blanker, which is characterized in that described device includes:
Acquisition module, for acquiring several frame Wave datas in a collection period;
Memory module, for the corresponding frame number of each data point to be stored in corresponding to the pixel that the data point is mapped to
Frame number storage unit in, the frame number stored in the frame number storage unit is the corresponding frame number of the pixel;
Processing module, for the corresponding frame number of each pixel to successively decrease according to predeterminated frequency;
First judgment module, for judging whether the corresponding frame number of pixel is 0;
Blanking module is to modify the corresponding brightness value of the pixel when being for the judging result in first judgment module
It is 0.
8. device according to claim 7, which is characterized in that the memory module, being used in the following manner will be each
The corresponding frame number of a data point is stored in frame number storage unit corresponding to the pixel that the data point is mapped to:
When the data point on an only frame Wave data is mapped to a pixel, deposited in the corresponding storage unit of the pixel
The frame number of storage is the frame number of the frame Wave data;
When the data point on multiframe Wave data is mapped on a pixel simultaneously, storage list corresponding to the pixel
The frame number stored in member is the frame number of last frame Wave data in the multiframe Wave data;
When not having data point to be mapped to a pixel, the frame number stored in storage unit corresponding to the pixel is 0.
9. device according to claim 7 or 8, which is characterized in that described device further include:
Brightness value determining module, for determining the corresponding brightness value of each pixel, the corresponding brightness value of each pixel
The number on the pixel is mapped to for data point.
10. a kind of computer readable storage medium, which is characterized in that including program, described program can be executed by processor with
Realize such as method described in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810765164.1A CN109145728B (en) | 2018-07-12 | 2018-07-12 | Afterglow blanking method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810765164.1A CN109145728B (en) | 2018-07-12 | 2018-07-12 | Afterglow blanking method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109145728A true CN109145728A (en) | 2019-01-04 |
CN109145728B CN109145728B (en) | 2020-06-16 |
Family
ID=64800396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810765164.1A Active CN109145728B (en) | 2018-07-12 | 2018-07-12 | Afterglow blanking method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109145728B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112947871A (en) * | 2019-12-10 | 2021-06-11 | 天津光电通信技术有限公司 | Afterglow display method, device and equipment aiming at frequency spectrum detection and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030057839A1 (en) * | 2001-08-31 | 2003-03-27 | Allender Jeffrey Owen | Cathode ray tube phosphor protection |
CN1712972A (en) * | 2005-06-24 | 2005-12-28 | 东南大学 | Realizing method for digital fluorescent corrugated image sensor |
CN103399311A (en) * | 2013-08-19 | 2013-11-20 | 中国电子科技集团公司第三十八研究所 | Rendering method used for real-time echo of scene surveillance radar |
CN103869127A (en) * | 2012-12-12 | 2014-06-18 | 北京普源精电科技有限公司 | Digital oscilloscope with track display function |
-
2018
- 2018-07-12 CN CN201810765164.1A patent/CN109145728B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030057839A1 (en) * | 2001-08-31 | 2003-03-27 | Allender Jeffrey Owen | Cathode ray tube phosphor protection |
CN1712972A (en) * | 2005-06-24 | 2005-12-28 | 东南大学 | Realizing method for digital fluorescent corrugated image sensor |
CN103869127A (en) * | 2012-12-12 | 2014-06-18 | 北京普源精电科技有限公司 | Digital oscilloscope with track display function |
CN103399311A (en) * | 2013-08-19 | 2013-11-20 | 中国电子科技集团公司第三十八研究所 | Rendering method used for real-time echo of scene surveillance radar |
Non-Patent Citations (2)
Title |
---|
刘翠海: "光栅扫描显示器上实现PPI雷达长余辉仿真", 《计算机仿真》 * |
程玉荣等: "基于光栅扫描的高分辨率长余辉雷达显示仿真", 《计算机应用与软件》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112947871A (en) * | 2019-12-10 | 2021-06-11 | 天津光电通信技术有限公司 | Afterglow display method, device and equipment aiming at frequency spectrum detection and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109145728B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7519878B2 (en) | Obtaining test data for a device | |
CN101131401B (en) | Digital oscillograph and its display method | |
US8706435B2 (en) | Signal detection and triggering using a difference bitmap | |
CN105187608B (en) | The method and apparatus of application program power consumption on a kind of acquisition mobile terminal | |
EP1980865A1 (en) | Rapid MRI dynamic imaging using MACH | |
CN105354795B (en) | One kind being based on the relevant self study super-resolution image acquisition method of phase and system | |
EP1336852A2 (en) | Apparatus for and method of equalizing output pixel intensities of a histogram collected from rasterised image data | |
KR20000005945A (en) | Detection of unusual waveforms | |
CN108510440A (en) | Super-resolution image clarification method for minimizing image artifacts and device | |
CN102982508A (en) | Image processing apparatus and method, program, and recording medium | |
KR100720013B1 (en) | A method for providing persistence decay to contents of a raster memory in a raster display digital oscilloscope | |
CN109145728A (en) | A kind of twilight sunset blanking method, device and computer readable storage medium | |
US9071520B2 (en) | Spatial representation of temporal value distributions | |
CN109445882A (en) | A kind of frequency spectrum three-dimensional display apparatus, method and computer readable storage medium | |
CN106686371B (en) | A kind of frame per second test method, device, equipment and system | |
US9626415B2 (en) | Data reduction with specified constraints | |
CN106226574A (en) | A kind of method of four kinds of color displays of digital fluorescence oscilloscope | |
US10698004B2 (en) | Measurement device and method for measuring at least one signal | |
CN106873931A (en) | Raster data visualization device, method and computer system | |
US9541579B2 (en) | Methods and systems for generating displays of waveforms | |
US20070018985A1 (en) | Track of statistics | |
CN106841729B (en) | A kind of digital fluorescence oscilloscope waveform shows the conversion calculation method of data | |
US20150301085A1 (en) | Automatically Capturing Data Sets of Interest from a Data Acquisition Data Stream | |
CN106228577A (en) | A kind of dynamic background modeling method and device, foreground detection method and device | |
CN108122073A (en) | Controller switching equipment emergency repair method and device |
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 | ||
CB02 | Change of applicant information |
Address after: 518000 Guangdong Province, Baoan District, Baoan District, Xin'an Street, Xingdong Community, 68 District, Antongda Industrial Factory Area, 4 factories, 3 floors, 5 office buildings, 1-3 floors Applicant after: Shenzhen dingyang Technology Co., Ltd Address before: Shenzhen City, Guangdong province Baoan District 518000 District 68 road left three Antongda Industrial Park, 4 floor Applicant before: SHENZHEN CITY SIGLENT TECHNOLOGIES Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |